PageSourceSearch

https://sympti.com/user-profiles-provider-user-provider-module-es2015.8f8595a416d943286bf0.js

js sympti.com collected 2026-10-07 13:38:44 UTC 49,671 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[40],{"7gyT":function(t,e,n){"use strict";n.d(e,"a",(function(){return g}));var i=n("ofXK"),o=n("tyNb"),c=n("1kSV"),a=n("pxUr"),r=n("3Pt+"),s=n("ZOsW"),l=n("/8eE"),b=n("M47h"),d=n("fXoL");let g=(()=>{class t{}return t.\u0275mod=d.Lb({type:t}),t.\u0275inj=d.Kb({factory:function(e){return new(e||t)},imports:[[i.c,o.h,c.o,a.a,l.b,r.i,r.s,s.b,b.a]]}),t})()},"9KCH":function(t,e,n){"use strict";n.r(e),n.d(e,"UserProviderModule",(function(){return mt}));var i=n("ofXK"),o=n("3Pt+"),c=n("k4pO"),a=n("tyNb"),r=n("BuRe"),s=n("ZF+8"),l=n("fXoL"),b=n("48y2"),d=n("mMUt"),g=n("sYmb");function f(t,e){1&t&&(l.Tb(0,"li"),l.Tb(1,"a",23),l.Nc(2),l.ic(3,"translate"),l.Sb(),l.Sb()),2&t&&(l.zb(2),l.Oc(l.jc(3,1,"Dashboard")))}function u(t,e){if(1&t){const t=l.Ub();l.Tb(0,"div",24),l.dc("click",(function(){return l.Dc(t),l.hc().toggleSidebar()})),l.gc(),l.Tb(1,"svg",7),l.Ob(2,"path",8),l.Sb(),l.Nc(3),l.ic(4,"translate"),l.Sb()}2&t&&(l.zb(3),l.Pc(" ",l.jc(4,1,"Close")," "))}function p(t,e){if(1&t){const t=l.Ub();l.Tb(0,"div",25),l.dc("click",(function(){return l.Dc(t),l.hc().toggleSidebar()})),l.gc(),l.Tb(1,"svg",7),l.Ob(2,"path",26),l.Sb(),l.Sb()}}const h=function(t){return{"closed-menu":t}};let m=(()=>{class t{constructor(t,e,n){this.ngZone=t,this.router=e,this.userService=n,this.openedMenu=!1,this.menuCurrentLayer="Home",this.currentId=null,this.dockShow=!0,this.router.events.subscribe(t=>{if(t instanceof a.b){const e=t.url.split("/").find(t=>Object(r.a)(t));if(this.currentId=e,t.url.includes("/provider/doctor/")&&!t.url.includes("/provider/doctor/add"))return this.menuCurrentLayer="DoctorSelected",null;if(t.url.includes("/provider/facility/"))return this.menuCurrentLayer="FacilitySelected",null}})}ngOnInit(){this.ngZone.run(()=>{this.dockShow=window.innerWidth>992,this.openedMenu=window.innerWidth>992,this.userService.userDetail2.subscribe(t=>{this.userData=t})})}onResize(t){this.ngZone.run(()=>{this.dockShow=t.target.innerWidth>992})}getSideMenuMode(){return window.innerWidth>992?"push":"slide"}toggleSidebar(){this.openedMenu=!this.openedMenu}menuClass(t){return this.menuCurrentLayer===t?"menu-show":"Home"===t?"hide-first-layer":"Home"!==t?"hide-second-layer":void 0}changeLayer(t){this.menuCurrentLayer=t}closeSidebar(){this.openedMenu=!1}}return t.\u0275fac=function(e){return new(e||t)(l.Nb(l.z),l.Nb(a.d),l.Nb(s.f))},t.\u0275cmp=l.Hb({type:t,selectors:[["app-layout"]],hostBindings:function(t,e){1&t&&l.dc("resize",(function(t){return e.onResize(t)}),!1,l.Cc)},decls:82,vars:70,consts:[[3,"open","togglemenu"],[3,"opened","mode","dock","dockedSize","openedChange","onClosed"],[1,"sidebar-wraper"],[1,"menu-headers"],[1,"menu-title",3,"ngClass"],[1,"menu-title","d-flex","menu-action",3,"ngClass","click"],[1,"menu-icon","d-flex","justify-content-center","align-items-center"],["width","14","height","14","aria-hidden","true","focusable","false","viewBox","0 0 320 512"],["fill","currentColor","d","M34.52 239.03L228.87 44.69c9.37-9.37 24.57-9.37 33.94 0l22.67 22.67c9.36 9.36 9.37 24.52.04 33.9L131.49 256l154.02 154.75c9.34 9.38 9.32 24.54-.04 33.9l-22.67 22.67c-9.37 9.37-24.57 9.37-33.94 0L34.52 272.97c-9.37-9.37-9.37-24.57 0-33.94z"],[1,"text"],[1,"menu-wraper",3,"ngClass"],[1,"list",3,"ngClass"],[4,"ngIf"],["routerLink","/provider/list-of-doctors","routerLinkActive","active"],["routerLink","/provider/list-of-facilities","routerLinkActive","active"],["routerLink","/provider/list-of-reservations","routerLinkActive","active"],["routerLink","/authentication/logout",1,"item-pink"],["routerLinkActive","active",3,"routerLink"],["class","sidebar-close",3,"click",4,"ngIf"],["class","sidebar-open",3,"click",4,"ngIf"],["ng-sidebar-content","",1,"sidebar-content-wraper","d-flex","align-items-end","flex-column"],[1,"content"],[1,"footer","mt-auto"],["routerLink","/provider/dashboard","routerLinkActive","active"],[1,"sidebar-close",3,"click"],[1,"sidebar-open",3,"click"],["fill","currentColor","d","M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z"]],template:function(t,e){1&t&&(l.Tb(0,"app-header",0),l.dc("togglemenu",(function(){return e.toggleSidebar()})),l.Sb(),l.Tb(1,"ng-sidebar-container"),l.Tb(2,"ng-sidebar",1),l.dc("openedChange",(function(t){return e.openedMenu=t}))("onClosed",(function(){return e.closeSidebar()})),l.Tb(3,"div",2),l.Tb(4,"div",3),l.Tb(5,"div",4),l.Nc(6),l.ic(7,"translate"),l.Sb(),l.Tb(8,"div",5),l.dc("click",(function(){return e.changeLayer("Home")})),l.Tb(9,"div",6),l.gc(),l.Tb(10,"svg",7),l.Ob(11,"path",8),l.Sb(),l.Sb(),l.fc(),l.Tb(12,"div",9),l.Nc(13),l.ic(14,"translate"),l.Sb(),l.Sb(),l.Tb(15,"div",5),l.dc("click",(function(){return e.changeLayer("Home")})),l.Tb(16,"div",6),l.gc(),l.Tb(17,"svg",7),l.Ob(18,"path",8),l.Sb(),l.Sb(),l.fc(),l.Tb(19,"div",9),l.Nc(20
1),l.ic(21,"translate"),l.Sb(),l.Sb(),l.Sb(),l.Tb(22,"div",10),l.Tb(23,"ul",11),l.Lc(24,f,4,3,"li",12),l.Tb(25,"li"),l.Tb(26,"a",13),l.Nc(27),l.ic(28,"translate"),l.Sb(),l.Sb(),l.Tb(29,"li"),l.Tb(30,"a",14),l.Nc(31),l.ic(32,"translate"),l.Sb(),l.Sb(),l.Tb(33,"li"),l.Tb(34,"a",15),l.Nc(35),l.ic(36,"translate"),l.Sb(),l.Sb(),l.Tb(37,"li"),l.Tb(38,"a",16),l.Nc(39),l.ic(40,"translate"),l.Sb(),l.Sb(),l.Sb(),l.Tb(41,"ul",11),l.Tb(42,"li"),l.Tb(43,"a",17),l.Nc(44),l.ic(45,"translate"),l.Sb(),l.Sb(),l.Tb(46,"li"),l.Tb(47,"a",17),l.Nc(48),l.ic(49,"translate"),l.Sb(),l.Sb(),l.Tb(50,"li"),l.Tb(51,"a",17),l.Nc(52),l.ic(53,"translate"),l.Sb(),l.Sb(),l.Sb(),l.Tb(54,"ul",11),l.Tb(55,"li"),l.Tb(56,"a",17),l.Nc(57),l.ic(58,"translate"),l.Sb(),l.Sb(),l.Tb(59,"li"),l.Tb(60,"a",17),l.Nc(61),l.ic(62,"translate"),l.Sb(),l.Sb(),l.Tb(63,"li"),l.Tb(64,"a",17),l.Nc(65),l.ic(66,"translate"),l.Sb(),l.Sb(),l.Tb(67,"li"),l.Tb(68,"a",17),l.Nc(69),l.ic(70,"translate"),l.Sb(),l.Sb(),l.Tb(71,"li"),l.Tb(72,"a",17),l.Nc(73),l.ic(74,"translate"),l.Sb(),l.Sb(),l.Sb(),l.Sb(),l.Sb(),l.Lc(75,u,5,3,"div",18),l.Lc(76,p,3,0,"div",19),l.Sb(),l.Tb(77,"div",20),l.Tb(78,"div",21),l.Ob(79,"router-outlet"),l.Sb(),l.Tb(80,"div",22),l.Ob(81,"app-footer"),l.Sb(),l.Sb(),l.Sb()),2&t&&(l.oc("open",e.openedMenu),l.zb(2),l.oc("opened",e.openedMenu)("mode",e.getSideMenuMode())("dock",e.dockShow)("dockedSize","50px"),l.zb(3),l.oc("ngClass",e.menuClass("Home")),l.zb(1),l.Pc(" ",l.jc(7,38,"Main Menu")," "),l.zb(2),l.oc("ngClass",e.menuClass("DoctorSelected")),l.zb(5),l.Oc(l.jc(14,40,"Doctor Management")),l.zb(2),l.oc("ngClass",e.menuClass("FacilitySelected")),l.zb(5),l.Oc(l.jc(21,42,"Facility Management")),l.zb(2),l.oc("ngClass",l.tc(68,h,!e.openedMenu)),l.zb(1),l.oc("ngClass",e.menuClass("Home")),l.zb(1),l.oc("ngIf",e.userData.showDashboard),l.zb(3),l.Oc(l.jc(28,44,"List Of Doctors")),l.zb(4),l.Oc(l.jc(32,46,"List Of Facilities")),l.zb(4),l.Oc(l.jc(36,48,"List Of Reservations")),l.zb(4),l.Oc(l.jc(40,50,"Logout")),l.zb(2),l.oc("ngClass",e.menuClass("DoctorSelected")),l.zb(2),l.qc("routerLink","/provider/doctor/",e.currentId,"/settings"),l.zb(1),l.Oc(l.jc(45,52,"Settings")),l.zb(3),l.qc("routerLink","/provider/doctor/",e.currentId,"/schedule"),l.zb(1),l.Oc(l.jc(49,54,"Schedule")),l.zb(3),l.qc("routerLink","/provider/doctor/",e.currentId,"/facilities"),l.zb(1),l.Oc(l.jc(53,56,"Facilities")),l.zb(2),l.oc("ngClass",e.menuClass("FacilitySelected")),l.zb(2),l.qc("routerLink","/provider/facility/",e.currentId,"/settings"),l.zb(1),l.Oc(l.jc(58,58,"Settings")),l.zb(3),l.qc("routerLink","/provider/facility/",e.currentId,"/symptoms"),l.zb(1),l.Oc(l.jc(62,60,"Symptoms")),l.zb(3),l.qc("routerLink","/provider/facility/",e.currentId,"/insurances"),l.zb(1),l.Oc(l.jc(66,62,"Insurances")),l.zb(3),l.qc("routerLink","/provider/facility/",e.currentId,"/embedded-widgets"),l.zb(1),l.Oc(l.jc(70,64,"Embedded Widgets")),l.zb(3),l.qc("routerLink","/provider/facility/",e.currentId,"/reviews"),l.zb(1),l.Oc(l.jc(74,66,"Reviews")),l.zb(2),l.oc("ngIf",e.openedMenu),l.zb(1),l.oc("ngIf",!e.openedMenu))},directives:[b.a,c.b,c.a,i.l,i.n,a.g,a.f,a.i,d.a],pipes:[g.c],styles:["ng-sidebar-container[_ngcontent-%COMP%]{height:calc(100% - 64px)}[_nghost-%COMP%]     ng-sidebar .ng-sidebar{background-color:#fff;padding:0;width:220px;border-color:#e5e5e5}.sidebar-wraper[_ngcontent-%COMP%]{height:calc(100vh - 105px);overflow-x:hidden;overflow-y:auto;border-right:1px solid;border-color:#e5e5e5}.sidebar-wraper[_ngcontent-%COMP%]   .menu-headers[_ngcontent-%COMP%]{height:45px}.sidebar-wraper[_ngcontent-%COMP%]   .menu-headers[_ngcontent-%COMP%]   .menu-title[_ngcontent-%COMP%]{height:45px;line-height:45px;font-weight:500;font-size:.95rem;border-bottom:1px solid #e5e5e5}.sidebar-wraper[_ngcontent-%COMP%]   .menu-headers[_ngcontent-%COMP%]   .menu-title[_ngcontent-%COMP%]   .menu-icon[_ngcontent-%COMP%]{height:45px}.sidebar-wraper[_ngcontent-%COMP%]   .menu-wraper.closed-menu[_ngcontent-%COMP%]{transform:translateX(-50px)}.sidebar-wraper[_ngcontent-%COMP%]   .menu-wraper[_ngcontent-%COMP%]   .item-pink[_ngcontent-%COMP%]{font-weight:500;color:#e74e84}.sidebar-content-wraper[_ngcontent-%COMP%]{height:100%}.sidebar-content-wraper[_ngcontent-%COMP%] > .content[_ngcontent-%COMP%]{width:100%;padding:45px 0}@media only screen and (max-width:991px){.sidebar-content-wraper[_ngcontent-%COMP%] > .content[_ngcontent-%COMP%]{padding:25px 0}}.sidebar-content-wraper[_ngcontent-%COMP%] > .footer[_ngcontent-%COMP%]{width:100%}"]}),t})(),S=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=l.Hb({type:t,selectors:[["app-dashboard"]],decls:2,vars:0,template:function(t,e){1&t&&(l.Tb(0,"p"),l.Nc(1,"dashboard works!"),l.Sb())},styles:[""]}),t})();var v=n("Wgwc"),O=n("Ds8A"),T=n("GVN3"),C=n("+QaA"),M=n("AytR"),y=n("tk/3");let P=(()=>{class t{constructor(t){this.http=t,this.apiUrl=M.a.serviceUrl}getList(t){return this.http.post(this.apiUrl+"/api/v3/providers/doctors/list",t)}}return t.\u0275fac=function(e){return new(e||t)(l.bc(y.b))},t.\u0275prov=l.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),z=(()=>{class t{constructor(t){this.http=t,this.apiUrl=M.a.serviceUrl}getFacilityList(t){return this.http.post(this.apiUrl+"/api/v3/providers/facilities/list",t)}
1changeFacilityStatus(t){return this.http.post(this.apiUrl+"/api/v3/providers/facilities/hide-facility",t)}}return t.\u0275fac=function(e){return new(e||t)(l.bc(y.b))},t.\u0275prov=l.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),w=(()=>{class t{constructor(t){this.http=t,this.apiUrl=M.a.serviceUrl}getList(t){return this.http.post(this.apiUrl+"/api/v3/providers/reservations/list",t)}}return t.\u0275fac=function(e){return new(e||t)(l.bc(y.b))},t.\u0275prov=l.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var _=n("dJ3e"),x=n("w0Hg"),L=n("62fz"),N=n("ZTSp");function D(t,e){if(1&t&&(l.Tb(0,"div",29),l.Tb(1,"a",30),l.Nc(2),l.Sb(),l.Sb()),2&t){const t=e.$implicit;l.zb(2),l.Pc(" ",t.name," ")}}const j=function(t){return{selected:t}};function I(t,e){if(1&t&&(l.Tb(0,"div",31),l.Tb(1,"div"),l.Tb(2,"strong",32),l.Nc(3),l.ic(4,"translate"),l.Sb(),l.Sb(),l.Ob(5,"div",33),l.Sb()),2&t){const t=e.$implicit,n=l.hc(3);l.oc("ngClass",l.tc(5,j,n.isThisWeekDay(t))),l.zb(3),l.Oc(l.jc(4,3,t.title)),l.zb(2),l.oc("innerHtml",n.getWeekTime(t),l.Ec)}}function k(t,e){if(1&t&&(l.Tb(0,"tr"),l.Tb(1,"td",21),l.Tb(2,"div",22),l.Tb(3,"div",23),l.Tb(4,"span",24),l.Nc(5),l.ic(6,"translate"),l.Sb(),l.Tb(7,"div",25),l.Lc(8,D,3,1,"div",26),l.Sb(),l.Sb(),l.Tb(9,"div",27),l.Tb(10,"span",24),l.Nc(11),l.ic(12,"translate"),l.Sb(),l.Lc(13,I,6,7,"div",28),l.Sb(),l.Sb(),l.Sb(),l.Sb()),2&t){const t=l.hc().$implicit;l.zb(5),l.Pc(" ",l.jc(6,4,"List of facilities where the Doctor works"),": "),l.zb(3),l.oc("ngForOf",t.facilities),l.zb(3),l.Pc(" ",l.jc(12,6,"Schedule"),": "),l.zb(2),l.oc("ngForOf",t.schedule)}}function $(t,e){if(1&t&&(l.Tb(0,"tbody"),l.Tb(1,"tr",17),l.dc("click",(function(){const t=e.$implicit;return t.showInfo=!t.showInfo})),l.Tb(2,"td"),l.Nc(3),l.Sb(),l.Tb(4,"td"),l.Nc(5),l.Sb(),l.Tb(6,"td"),l.Nc(7),l.Sb(),l.Tb(8,"td"),l.Nc(9),l.Sb(),l.Tb(10,"tb",18),l.Tb(11,"a",19),l.Nc(12),l.ic(13,"translate"),l.Sb(),l.Sb(),l.Sb(),l.Lc(14,k,14,8,"tr",20),l.Sb()),2&t){const t=e.$implicit,n=e.index;l.zb(3),l.Oc(n+1),l.zb(2),l.Oc(t.doctorName),l.zb(2),l.Pc("+1 ",t.doctorPhone,""),l.zb(2),l.Oc(t.doctorEmail),l.zb(2),l.qc("routerLink","/provider/doctor/",t.id,"/settings"),l.zb(1),l.Pc(" ",l.jc(13,7,"Settings")," "),l.zb(2),l.oc("ngIf",!1)}}function F(t,e){if(1&t){const t=l.Ub();l.Tb(0,"app-pagination",34),l.dc("selected",(function(e){return l.Dc(t),l.hc().onPaginate(e)})),l.Sb()}if(2&t){const t=l.hc();l.oc("total",t.pagination.total)}}let H=(()=>{class t{constructor(t,e,n,i){this.listOfDoctorsService=t,this.translate=e,this.emitLayoutService=n,this.route=i,this.itemList=[],this.filtering={doctorName:"",doctorPhone:"",doctorEmail:""},this.sort={column:"doctorName",direction:"desc"},this.pagination={total:0,page:1,size:30},v.extend(O),v.extend(T),v.extend(C)}ngOnInit(){this.getTableData()}getTableData(){this.listOfDoctorsService.getList({filters:this.filtering,sort:this.sort,pagination:this.pagination}).subscribe(t=>{this.pagination.total=t.total,this.itemList=t.list})}onSort({column:t,direction:e}){this.headers.forEach(e=>{e.sortable!==t&&(e.direction="")}),this.sort.column=t,this.sort.direction=e,this.getTableData()}isShowPagination(){return this.pagination.total>this.itemList.length}onPaginate(t){this.pagination.page=t.page,this.pagination.size=t.size,this.getTableData()}getWeekTime(t){return t.dayOff?`<span class="close-time">${this.translate.instant("Day Off")}</span>`:t.day}isThisWeekDay(t){return v().tz("America/Chicago").format("dddd").toLowerCase()===t.title}}return t.\u0275fac=function(e){return new(e||t)(l.Nb(P),l.Nb(g.d),l.Nb(_.b),l.Nb(a.d))},t.\u0275cmp=l.Hb({type:t,selectors:[["app-list-of-doctors"]],viewQuery:function(t,e){var n;1&t&&l.Sc(x.a,!0),2&t&&l.yc(n=l.ec())&&(e.headers=n)},decls:43,vars:32,consts:[[1,"list-of-doctors"],[1,"container-fluid"],[1,"profile","box"],[1,"profile","box-header","d-flex","justify-content-between","align-items-center"],["routerLink","/provider/doctor/add",1,"btn","btn-sm","btn-success"],[1,"profile","box-body"],[1,"table","table-hover","table-bordered"],["scope","col","width","30"],["scope","col","appSortTable","","sortable","doctorName",3,"sort"],["scope","col","a
1ppSortTable","","sortable","doctorPhone",3,"sort"],["scope","col","appSortTable","","sortable","doctorEmail",3,"sort"],["scope","col","width","135",1,"text-center"],[1,"filtering-block"],["scope","col"],["type","text","ng-model-options","{debounce: 500}",1,"form-control","form-filtering",3,"ngModel","placeholder","ngModelChange"],[4,"ngFor","ngForOf"],[3,"total","selected",4,"ngIf"],[1,"select-item",3,"click"],[1,"actions-column"],[1,"btn","btn-outline-success",3,"routerLink"],[4,"ngIf"],["colspan","5",1,"show-more-info"],[1,"doctor-additional-info"],[1,"facilities"],[1,"title"],[1,"list-wraper"],["class","mb-1",4,"ngFor","ngForOf"],[1,"schedule"],["class","d-flex justify-content-between align-items-center week-day mb-1",3,"ngClass",4,"ngFor","ngForOf"],[1,"mb-1"],["routerLink","/provider/facilities","target","_blank"],[1,"d-flex","justify-content-between","align-items-center","week-day","mb-1",3,"ngClass"],[1,"text-capitalize"],[3,"innerHtml"],[3,"total","selected"]],template:function(t,e){1&t&&(l.Tb(0,"section",0),l.Tb(1,"div",1),l.Tb(2,"div",2),l.Tb(3,"div",3),l.Tb(4,"h2"),l.Nc(5),l.ic(6,"translate"),l.Sb(),l.Tb(7,"div"),l.Tb(8,"a",4),l.Nc(9),l.ic(10,"translate"),l.Sb(),l.Sb(),l.Sb(),l.Tb(11,"div",5),l.Tb(12,"table",6),l.Tb(13,"thead"),l.Tb(14,"tr"),l.Tb(15,"th",7),l.Nc(16,"#"),l.Sb(),l.Tb(17,"th",8),l.dc("sort",(function(t){return e.onSort(t)})),l.Nc(18),l.ic(19,"translate"),l.Sb(),l.Tb(20,"th",9),l.dc("sort",(function(t){return e.onSort(t)})),l.Nc(21),l.ic(22,"translate"),l.Sb(),l.Tb(23,"th",10),l.dc("sort",(function(t){return e.onSort(t)})),l.Nc(24),l.ic(25,"translate"),l.Sb(),l.Tb(26,"th",11),l.Nc(27),l.ic(28,"translate"),l.Sb(),l.Sb(),l.Tb(29,"tr",12),l.Ob(30,"th",13),l.Tb(31,"th",13),l.Tb(32,"input",14),l.dc("ngModelChange",(function(t){return e.filtering.doctorName=t}))("ngModelChange",(function(){return e.getTableData()})),l.ic(33,"translate"),l.Sb(),l.Sb(),l.Tb(34,"th",13),l.Tb(35,"input",14),l.dc("ngModelChange",(function(t){return e.filtering.doctorPhone=t}))("ngModelChange",(function(){return e.getTableData()})),l.ic(36,"translate"),l.Sb(),l.Sb(),l.Tb(37,"th",13),l.Tb(38,"input",14),l.dc("ngModelChange",(function(t){return e.filtering.doctorEmail=t}))("ngModelChange",(function(){return e.getTableData()})),l.ic(39,"translate"),l.Sb(),l.Sb(),l.Ob(40,"th",13),l.Sb(),l.Sb(),l.Lc(41,$,15,9,"tbody",15),l.Sb(),l.Lc(42,F,1,1,"app-pagination",16),l.Sb(),l.Sb(),l.Sb(),l.Sb()),2&t&&(l.zb(5),l.Pc(" ",l.jc(6,14,"List of doctors")," "),l.zb(4),l.Pc(" ",l.jc(10,16,"Add Doctor")," "),l.zb(9),l.Oc(l.jc(19,18,"Doctor Name")),l.zb(3),l.Oc(l.jc(22,20,"Phone")),l.zb(3),l.Oc(l.jc(25,22,"Email")),l.zb(3),l.Oc(l.jc(28,24,"Actions")),l.zb(5),l.qc("placeholder","",l.jc(33,26,"Search"),"..."),l.oc("ngModel",e.filtering.doctorName),l.zb(3),l.qc("placeholder","",l.jc(36,28,"Search"),"..."),l.oc("ngModel",e.filtering.doctorPhone),l.zb(3),l.qc("placeholder","",l.jc(39,30,"Search"),"..."),l.oc("ngModel",e.filtering.doctorEmail),l.zb(3),l.oc("ngForOf",e.itemList),l.zb(1),l.oc("ngIf",e.isShowPagination()))},directives:[a.g,L.a,o.b,o.m,o.o,i.m,i.n,i.l,N.a],pipes:[g.c],styles:[".list-of-doctors[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   .select-item[_ngcontent-%COMP%]{cursor:pointer}.list-of-doctors[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   .actions-column[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{border-radius:0;width:100%;height:44px;line-height:1.8}.list-of-doctors[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   .actions-column[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:#676060}.list-of-doctors[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   .show-more-info[_ngcontent-%COMP%]{padding:0}.list-of-doctors[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   .show-more-info[_ngcontent-%COMP%]   .doctor-additional-info[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;align-content:flex-start;justify-content:space-between;align-items:flex-start}.list-of-doctors[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   .show-more-info[_ngcontent-%COMP%]   .doctor-additional-info[_ngcontent-%COMP%]   .facilities[_ngcontent-%COMP%], .list-of-doctors[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   .show-more-info[_ngcontent-%COMP%]   .doctor-additional-info[_ngcontent-%COMP%]   .schedule[_ngcontent-%COMP%]{flex:0.5}"]}),t})();var U=n("PdH4"),A=n.n(U),q=n("sKXY"),E=n("HBgp");function K(t,e){1&t&&(l.Tb(0,"div",10),l.Ob(1,"img",11),l.ic(2,"translate"),l.Sb()),2&t&&(l.zb(1),l.pc("alt",l.jc(2,1,"L
1oading")))}function R(t,e){1&t&&(l.Tb(0,"a",18),l.Nc(1),l.ic(2,"translate"),l.Sb()),2&t&&(l.zb(1),l.Pc(" ",l.jc(2,1,"Add Facility")," "))}function Y(t,e){if(1&t&&(l.Tb(0,"option",28),l.Nc(1),l.ic(2,"translate"),l.Sb()),2&t){const t=e.$implicit;l.pc("value",t.value),l.zb(1),l.Oc(l.jc(2,2,t.title))}}function Z(t,e){if(1&t){const t=l.Ub();l.Tb(0,"div",19),l.Tb(1,"div",20),l.Tb(2,"div",21),l.Tb(3,"input",22),l.dc("ngModelChange",(function(e){return l.Dc(t),l.hc(2).filtering.name=e}))("ngModelChange",(function(){return l.Dc(t),l.hc(2).getTableData()})),l.ic(4,"translate"),l.Sb(),l.Sb(),l.Tb(5,"div",21),l.Tb(6,"select",23),l.dc("ngModelChange",(function(e){return l.Dc(t),l.hc(2).filtering.type=e}))("ngModelChange",(function(){return l.Dc(t),l.hc(2).getTableData()})),l.Tb(7,"option",24),l.Nc(8),l.ic(9,"translate"),l.Sb(),l.Ob(10,"option",25),l.Lc(11,Y,3,4,"option",26),l.Sb(),l.Sb(),l.Tb(12,"div",27),l.Tb(13,"input",22),l.dc("ngModelChange",(function(e){return l.Dc(t),l.hc(2).filtering.address=e}))("ngModelChange",(function(){return l.Dc(t),l.hc(2).getTableData()})),l.ic(14,"translate"),l.Sb(),l.Sb(),l.Sb(),l.Sb()}if(2&t){const t=l.hc(2);l.zb(3),l.pc("placeholder",l.jc(4,7,"Search by name")),l.oc("ngModel",t.filtering.name),l.zb(3),l.oc("ngModel",t.filtering.type),l.zb(2),l.Oc(l.jc(9,9,"Search by type")),l.zb(3),l.oc("ngForOf",t.facilityTypes),l.zb(2),l.pc("placeholder",l.jc(14,11,"Search by address")),l.oc("ngModel",t.filtering.address)}}function W(t,e){if(1&t){const t=l.Ub();l.Tb(0,"div",12),l.Tb(1,"div",13),l.Tb(2,"h2",14),l.dc("click",(function(){l.Dc(t);const e=l.hc();return e.collapsFilters=!e.collapsFilters})),l.Nc(3),l.ic(4,"translate"),l.Ob(5,"i",15),l.Sb(),l.Tb(6,"div"),l.Lc(7,R,3,3,"a",16),l.Sb(),l.Sb(),l.Lc(8,Z,15,13,"div",17),l.Sb()}if(2&t){const t=l.hc();l.zb(3),l.Pc(" ",l.jc(4,4,"List of Facilities")," "),l.zb(2),l.oc("ngClass",t.getArrowDirection(t.collapsFilters)),l.zb(2),l.oc("ngIf",t.userData&&t.userData.canAdd),l.zb(1),l.oc("ngIf",t.collapsFilters)}}function X(t,e){if(1&t&&(l.Tb(0,"div"),l.Tb(1,"div",29),l.Tb(2,"div"),l.Nc(3),l.ic(4,"translate"),l.Sb(),l.Tb(5,"div"),l.Nc(6),l.Sb(),l.Sb(),l.Sb()),2&t){const t=l.hc();l.zb(3),l.Oc(l.jc(4,3,"Facilities")),l.zb(3),l.Qc("",t.itemList.length*t.pagination.page," / ",t.pagination.total,"")}}function V(t,e){1&t&&(l.Tb(0,"span",47),l.Nc(1),l.ic(2,"translate"),l.Sb()),2&t&&(l.zb(1),l.Oc(l.jc(2,1,"is shown")))}function J(t,e){1&t&&(l.Tb(0,"span",48),l.Nc(1),l.ic(2,"translate"),l.Sb()),2&t&&(l.zb(1),l.Oc(l.jc(2,1,"is blocked")))}function B(t,e){1&t&&(l.Tb(0,"span",49),l.Nc(1),l.ic(2,"translate"),l.Sb()),2&t&&(l.zb(1),l.Oc(l.jc(2,1,"is hidden")))}function Q(t,e){if(1&t){const t=l.Ub();l.Tb(0,"div",30),l.Tb(1,"div",31),l.Tb(2,"div",32),l.Ob(3,"app-facility-photo",33),l.Sb(),l.Tb(4,"div",34),l.Tb(5,"h4"),l.Nc(6),l.Sb(),l.Tb(7,"div",35),l.Tb(8,"div",36),l.Tb(9,"strong"),l.Nc(10),l.ic(11,"translate"),l.Sb(),l.Sb(),l.Tb(12,"div"),l.Lc(13,V,3,3,"span",37),l.Lc(14,J,3,3,"span",38),l.Lc(15,B,3,3,"span",39),l.Sb(),l.Sb(),l.Tb(16,"div",35),l.Tb(17,"div",36),l.Tb(18,"strong"),l.Nc(19),l.ic(20,"translate"),l.Sb(),l.Sb(),l.Tb(21,"div"),l.Nc(22),l.Sb(),l.Sb(),l.Tb(23,"div",35),l.Tb(24,"div",36),l.Tb(25,"strong"),l.Nc(26),l.ic(27,"translate"),l.Sb(),l.Sb(),l.Tb(28,"div"),l.Nc(29),l.Sb(),l.Sb(),l.Sb(),l.Sb(),l.Tb(30,"div",40),l.Tb(31,"div",41),l.Tb(32,"div",42),l.Tb(33,"input",43),l.dc("ngModelChange",(function(n){return l.Dc(t),e.$implicit.isHidden=n}))("ngModelChange",(function(){l.Dc(t);const n=e.$implicit;return l.hc().changeFacilityStatus(n)})),l.Sb(),l.Tb(34,"label",44),l.Nc(35),l.ic(36,"translate"),l.Sb(),l.Sb(),l.Sb(),l.Tb(37,"div",45),l.Tb(38,"a",46),l.Nc(39),l.ic(40,"translate"),l.Sb(),l.Sb(),l.Sb(),l.Sb()}if(2&t){const t=e.$implicit,n=e.index;l.zb(3),l.oc("image",null==t.images[0]?null:t.images[0].link)("title",t.name)("type",t.type),l.zb(3),l.Oc(t.name),l.zb(4),l.Oc(l.jc(11,18,"Status")),l.zb(3),l.oc("ngIf","is shown"===t.status),l.zb(1),l.oc("ngIf","is blocked"===t.status),l.zb(1),l.oc("ngIf","is hidden"===t.status),l.zb(4),l.Oc(l.jc(20,20,"Type")),l.zb(3),l.Oc(t.type),l.zb(4),l.Oc(l.jc(27,22,"Address")),l.zb(3),l.Oc(t.address),l.zb(4),l.qc("id","switchHidden",n,""),l.oc("ngModel",t.isHidden),l.zb(1),l.qc("for","switchHidden",n,""),l.zb(1),l.Oc(l.jc(36,24,"Hide Facility")),l.zb(3),l.qc("routerLink","/provider/facility/",t.id,"/settings"),l.zb(1),l.Pc(" ",l.jc(40,26,"Select")," ")}}const G=function(){return[10,25,50]};function tt(t,e){if(1&t){const t=l.Ub();l.Tb(0,"app-pagination",50),l.dc("selected",(function(e){return l.Dc(t),l.hc().onPaginatePersonal(e)})),l.Sb()}if(2&t){const t=l.hc();l.oc("total",t.pagination.total)("pageSize",t.pagination.size)("sizes",l.sc(3,G))}}function et(t,e){1&t&&(l.Tb(0,"div",51),l.Nc(1),l.ic(2,"translate"),l.Sb()),2&t&&(l.zb(1),l.Pc(" ",l.jc(2,1,"You do not have a facility."),"... "))}function nt(t,e){1&t&&(l.Tb(0,"div",51),l.Nc(1),l.ic(2,"translate"),l.Sb()),2&t&&(l.zb(1),l.Pc(" ",l.jc(2,1,"If you want to add more than one facility, please contact site administrator.")," "))}let it=(()=>{class t{constructor(t,e){this.userService=t,this.listOfFacilitiesService=e,this.collapsFilters=!1,this.isLoading=!0,this.facilityTypes=q.f,this.itemList=[],this.filtering={name:"",type:"",address:""},this.sort={column:"name",direction:"asc"},this.pagination={total:0,page:1,size:30}}ngOnInit(){this.checkProfessionalData(),this.getTableData()}checkProfessionalData(){this.userService.userDetail2.subscribe(t=>
1{t.id&&(this.userData=t,this.isLoading=!1)})}getTableData(){this.listOfFacilitiesService.getFacilityList({sort:this.sort,filters:this.filtering,pagination:this.pagination}).subscribe(t=>{this.itemList=t.list,this.pagination.total=t.total})}onPaginate(t){this.pagination.page=t.page,this.pagination.size=t.size,this.getTableData()}onPageSize(t){this.getTableData()}getArrowDirection(t){return t?"fa-arrow-circle-o-left":"fa-arrow-circle-o-right"}changeFacilityStatus(t){this.listOfFacilitiesService.changeFacilityStatus({id:t.id,hidden:t.isHidden}).subscribe(t=>{A.a.fire({text:t.message,icon:t.status?"success":"warning",showConfirmButton:!0}).then(()=>{this.getTableData()})})}}return t.\u0275fac=function(e){return new(e||t)(l.Nb(s.f),l.Nb(z))},t.\u0275cmp=l.Hb({type:t,selectors:[["app-list-of-facilities"]],decls:11,vars:7,consts:[[1,"professional-facility-list"],[1,"container-fluid"],["class","d-flex justify-content-center align-items-center loading-section",4,"ngIf"],["class","profile box",4,"ngIf"],[4,"ngIf"],[1,"profile","box","pt-0","pb-0"],[1,"profile","box-body"],["class","facility-item",4,"ngFor","ngForOf"],[3,"total","pageSize","sizes","selected",4,"ngIf"],["class","info-message mb-3",4,"ngIf"],[1,"d-flex","justify-content-center","align-items-center","loading-section"],["src","/assets/images/loading.gif",3,"alt"],[1,"profile","box"],[1,"profile","box-header","pb-0","mb-0","d-flex","justify-content-between","align-items-center"],[3,"click"],["aria-hidden","true",1,"fa",3,"ngClass"],["class","btn btn-sm btn-success","routerLink","/provider/facility/create",4,"ngIf"],["class","profile box-body pt-3",4,"ngIf"],["routerLink","/provider/facility/create",1,"btn","btn-sm","btn-success"],[1,"profile","box-body","pt-3"],[1,"row"],[1,"col-md-3","col-sm-6","col-12","mb-2"],["type","text","ng-model-options","{debounce: 500}",1,"form-control","form-control-sm","form-filtering",3,"ngModel","placeholder","ngModelChange"],[1,"form-control","form-control-sm",3,"ngModel","ngModelChange"],["value","","selected","","disabled",""],["value",""],[3,"value",4,"ngFor","ngForOf"],[1,"col-md-3","col-sm-6","col-12"],[3,"value"],[1,"divider","divider-custom","d-flex","align-items-center","justify-content-between"],[1,"facility-item"],[1,"information"],[1,"image"],[1,"facility-image",3,"image","title","type"],[1,"info-wrap"],[1,"d-flex","justify-content-start","mb-2"],[1,"desc"],["class","badge badge-pill badge-success",4,"ngIf"],["class","badge badge-pill badge-danger",4,"ngIf"],["class","badge badge-pill badge-secondary",4,"ngIf"],[1,"controls"],[1,"actions-wrap"],[1,"custom-control","custom-switch","off-switch","m-0"],["type","checkbox",1,"custom-control-input",3,"id","ngModel","ngModelChange"],[1,"custom-control-label",3,"for"],[1,"select-facility"],[1,"btn","btn-outline-success",3,"routerLink"],[1,"badge","badge-pill","badge-success"],[1,"badge","badge-pill","badge-danger"],[1,"badge","badge-pill","badge-secondary"],[3,"total","pageSize","sizes","selected"],[1,"info-message","mb-3"]],template:function(t,e){1&t&&(l.Tb(0,"section",0),l.Tb(1,"div",1),l.Lc(2,K,3,3,"div",2),l.Lc(3,W,9,6,"div",3),l.Lc(4,X,7,5,"div",4),l.Tb(5,"div",5),l.Tb(6,"div",6),l.Lc(7,Q,41,28,"div",7),l.Sb(),l.Sb(),l.Lc(8,tt,1,4,"app-pagination",8),l.Lc(9,et,3,3,"div",9),l.Lc(10,nt,3,3,"div",9),l.Sb(),l.Sb()),2&t&&(l.zb(2),l.oc("ngIf",e.isLoading),l.zb(1),l.oc("ngIf",!e.isLoading),l.zb(1),l.oc("ngIf",e.pagination.total>0),l.zb(3),l.oc("ngForOf",e.itemList),l.zb(1),l.oc("ngIf",e.pagination.total>e.itemList.length),l.zb(1),l.oc("ngIf",0===e.pagination.total),l.zb(1),l.oc("ngIf",e.userData&&!e.userData.canAdd))},directives:[i.n,i.m,i.l,a.g,o.b,o.m,o.o,o.t,o.p,o.v,E.a,o.a,N.a],pipes:[g.c],styles:[".professional-facility-list[_ngcontent-%COMP%]   .box-header[_ngcontent-%COMP%]{border:none}.professional-facility-list[_ngcontent-%COMP%]   .box-header[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{cursor:pointer}.professional-facility-list[_ngcontent-%COMP%]   .box-header[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{color:#e74e84}.professional-facility-list[_ngcontent-%COMP%]   .facility-item[_ngcontent-%COMP%]{margin:0 -20px;position:relative;padding:10px 20px;border-top:1px solid #ededed;display:flex;flex-direction:row;flex-wrap:wrap;align-content:center;justify-content:flex-start;align-items:center}@media only screen and (max-width:991px){.professional-facility-list[_ngcontent-%COMP%]   .facility-item[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-content:flex-start;flex-wrap:nowrap;justify-content:center;align-items:flex-start}}@media only screen and (max-width:768px){.professional-facility-list[_ngcontent-%COMP%]   .facility-item[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex-wrap:nowrap;align-content:center;justify-content:center;align-items:center;width:100%}}.professional-facility-list[_ngcontent-%COMP%]   .facility-item[_ngcontent-%COMP%]   .information[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;align-content:center;justify-content:flex-start;align-items:flex-start}@media only screen and (max-width:768px){.professional-facility-list[_ngcontent-%COMP%]   .facility-item[_ngcontent-%COMP%]   .information[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex-wrap:nowrap;align-content:center;justify-content:center;align-items:center;width:100%}}.professional-facility-list[_ngcontent-%COMP%]   .facility-item[_ngcontent-%COMP%]   .information[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]{width:150px;height:150px}.professional-facility-list[_ngcontent-%COMP%]   .facility-item[_ngcontent-%COMP%]   .information[_ngcontent-%COMP%]   .info-wrap[_ngcontent-%COMP%]{padding:0 15px}@media only screen and (max-width:768px){.professional-facility-list[_ngcontent-%COMP%]   .facility-item[_ngcontent-%COMP%]   .information[_ngcontent-%COMP%]   .info-wrap[_ngcontent-%COMP%]{padding:0;text-align:left;width:100%;margin-top:20px}}.professional-facility-list[_ngcontent-%COMP%]   .facility-item[_ngcontent-%COMP%]   .information[_ngcontent-%COMP%]   .info-wrap[_ngcontent-%COMP%]   h4[_ng
1content-%COMP%]{font-size:18px;font-size:1.15rem;margin-bottom:15px}@media only screen and (max-width:768px){.professional-facility-list[_ngcontent-%COMP%]   .facility-item[_ngcontent-%COMP%]   .information[_ngcontent-%COMP%]   .info-wrap[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{text-align:center}}.professional-facility-list[_ngcontent-%COMP%]   .facility-item[_ngcontent-%COMP%]   .information[_ngcontent-%COMP%]   .info-wrap[_ngcontent-%COMP%]   .desc[_ngcontent-%COMP%]{width:120px}.professional-facility-list[_ngcontent-%COMP%]   .facility-item[_ngcontent-%COMP%]   .controls[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;justify-content:flex-end;align-items:center;flex:1}@media only screen and (max-width:991px){.professional-facility-list[_ngcontent-%COMP%]   .facility-item[_ngcontent-%COMP%]   .controls[_ngcontent-%COMP%]{width:100%;margin-top:20px}}.professional-facility-list[_ngcontent-%COMP%]   .facility-item[_ngcontent-%COMP%]   .controls[_ngcontent-%COMP%]   .actions-wrap[_ngcontent-%COMP%]{margin-right:50px}.professional-facility-list[_ngcontent-%COMP%]   .facility-item[_ngcontent-%COMP%]   .controls[_ngcontent-%COMP%]   .actions-wrap[_ngcontent-%COMP%], .professional-facility-list[_ngcontent-%COMP%]   .facility-item[_ngcontent-%COMP%]   .controls[_ngcontent-%COMP%]   .select-facility[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:center}.professional-facility-list[_ngcontent-%COMP%]   .info-message[_ngcontent-%COMP%]{font-size:21px;font-size:1.35rem;font-weight:500;color:#999;text-align:center}.professional-facility-list[_ngcontent-%COMP%]   .divider-custom[_ngcontent-%COMP%]{text-align:left}.professional-facility-list[_ngcontent-%COMP%]   .divider-custom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{font-size:1rem;font-weight:400;color:#425486;background-color:#f8f9fa;position:relative;padding:10px;font-style:italic}[_nghost-%COMP%]     .facility-item .image .image-wrap img{height:100%}[_nghost-%COMP%]     .pagination{margin-bottom:0}"]}),t})();var ot=n("rYH0");function ct(t,e){if(1&t&&(l.Tb(0,"tr"),l.Tb(1,"td",22),l.Tb(2,"ul",23),l.Tb(3,"li",24),l.Tb(4,"span",25),l.Nc(5),l.ic(6,"translate"),l.Sb(),l.Nc(7),l.Sb(),l.Tb(8,"li",24),l.Tb(9,"span",25),l.Nc(10),l.ic(11,"translate"),l.Sb(),l.Tb(12,"a",26),l.Nc(13),l.Sb(),l.Sb(),l.Tb(14,"li",24),l.Tb(15,"span",25),l.Nc(16),l.ic(17,"translate"),l.Sb(),l.Tb(18,"a",26),l.Nc(19),l.Sb(),l.Sb(),l.Tb(20,"li",24),l.Tb(21,"span",25),l.Nc(22),l.ic(23,"translate"),l.Sb(),l.Nc(24),l.Sb(),l.Ob(25,"li",24),l.Tb(26,"li",24),l.Tb(27,"span",25),l.Nc(28),l.ic(29,"translate"),l.Sb(),l.Nc(30),l.Sb(),l.Tb(31,"li",24),l.Tb(32,"span",25),l.Nc(33),l.ic(34,"translate"),l.Sb(),l.Nc(35),l.Sb(),l.Tb(36,"li",24),l.Tb(37,"span",25),l.Nc(38),l.ic(39,"translate"),l.Sb(),l.Nc(40),l.Sb(),l.Tb(41,"li",24),l.Tb(42,"span",25),l.Nc(43),l.ic(44,"translate"),l.Sb(),l.Nc(45),l.Sb(),l.Ob(46,"li",24),l.Tb(47,"li",24),l.Tb(48,"span",25),l.Nc(49),l.ic(50,"translate"),l.Sb(),l.Nc(51),l.Sb(),l.Sb(),l.Sb(),l.Sb()),2&t){const t=l.hc().$implicit;l.zb(5),l.Pc("",l.jc(6,20,"Appointment time"),": "),l.zb(2),l.Pc("",t.date," "),l.zb(3),l.Pc(" ",l.jc(11,22,"Doctor"),": "),l.zb(2),l.qc("routerLink","/provider/doctor/",t.doctorId,"/settings"),l.zb(1),l.Pc(" ",t.doctorName," "),l.zb(3),l.Pc(" ",l.jc(17,24,"Facility"),": "),l.zb(2),l.qc("routerLink","/provider/facility/",t.facilityId,"/settings"),l.zb(1),l.Pc(" ",t.facilityName," "),l.zb(3),l.Pc("",l.jc(23,26,"Created")," (UTC): "),l.zb(2),l.Pc("",t.created," "),l.zb(4),l.Pc("",l.jc(29,28,"Patient Name"),": "),l.zb(2),l.Pc("",t.patientName," "),l.zb(3),l.Pc("",l.jc(34,3
10,"Patient Phone"),": "),l.zb(2),l.Pc("+1 ",t.patientNumber," "),l.zb(3),l.Pc("",l.jc(39,32,"Patient Email"),": "),l.zb(2),l.Pc("",t.patientEmail," "),l.zb(3),l.Pc("",l.jc(44,34,"Patient Language"),": "),l.zb(2),l.Pc("",t.patientLanguage," "),l.zb(4),l.Pc("",l.jc(50,36,"Reason for Visit"),": "),l.zb(2),l.Pc("",t.symptom," ")}}function at(t,e){if(1&t&&(l.Tb(0,"tbody"),l.Tb(1,"tr",20),l.dc("click",(function(){const t=e.$implicit;return t.showInfo=!t.showInfo})),l.Tb(2,"td"),l.Nc(3),l.Sb(),l.Tb(4,"td"),l.Nc(5),l.Sb(),l.Tb(6,"td"),l.Nc(7),l.Sb(),l.Tb(8,"td"),l.Nc(9),l.Sb(),l.Tb(10,"td"),l.Nc(11),l.Sb(),l.Sb(),l.Lc(12,ct,52,38,"tr",21),l.Sb()),2&t){const t=e.$implicit,n=e.index;l.zb(3),l.Oc(n+1),l.zb(2),l.Oc(t.facilityName),l.zb(2),l.Oc(t.doctorName),l.zb(2),l.Oc(t.patientName),l.zb(2),l.Oc(t.date),l.zb(1),l.oc("ngIf",t.showInfo)}}function rt(t,e){if(1&t){const t=l.Ub();l.Tb(0,"app-pagination",27),l.dc("selected",(function(e){return l.Dc(t),l.hc().onPaginate(e)})),l.Sb()}if(2&t){const t=l.hc();l.oc("total",t.pagination.total)}}let st=(()=>{class t{constructor(t){this.listOfReservationsService=t,this.itemList=[],this.filtering={facilityName:"",doctorName:"",patientName:"",date:null},this.sort={column:"date",direction:"desc"},this.pagination={total:0,page:1,size:30}}ngOnInit(){this.getTableData()}getTableData(){this.listOfReservationsService.getList({sort:this.sort,filters:this.filtering,pagination:this.pagination}).subscribe(t=>{this.itemList=t.list,this.pagination.total=t.total})}onSort({column:t,direction:e}){this.headers.forEach(e=>{e.sortable!==t&&(e.direction="")}),this.sort.column=t,this.sort.direction=e,this.getTableData()}selectedDateRange(t,e){t&&e||(this.filtering.date=null),t&&e&&(this.filtering.date={start:t,end:e}),this.getTableData()}isShowPagination(){return this.pagination.total>this.itemList.length}onPaginate(t){this.pagination.page=t.page,this.pagination.size=t.size,this.getTableData()}}return t.\u0275fac=function(e){return new(e||t)(l.Nb(w))},t.\u0275cmp=l.Hb({type:t,selectors:[["app-list-of-reservations"]],viewQuery:function(t,e){var n;1&t&&l.Sc(x.a,!0),2&t&&l.yc(n=l.ec())&&(e.headers=n)},decls:44,vars:31,consts:[[1,"provider-reservations-list"],[1,"container-fluid"],[1,"profile","box"],[1,"profile","box-header","d-flex","justify-content-between","align-items-center"],[1,"d-flex","justify-content-start","align-items-center"],[1,"text-muted","mr-3"],[1,"profile","box-body"],[1,"table-wraper"],[1,"table","table-hover","table-bordered"],["scope","col","width","30"],["scope","col","appSortTable","","sortable","facilityName",3,"sort"],["scope","col","appSortTable","","sortable","doctorName",3,"sort"],["scope","col","appSortTable","","sortable","patientName",3,"sort"],["scope","col","width","170","appSortTable","","sortable","date",3,"sort"],[1,"filtering-block"],["scope","col"],["type","text","ng-model-options","{debounce: 500}",1,"form-control","form-filtering",3,"ngModel","placeholder","ngModelChange"],[3,"selected"],[4,"ngFor","ngForOf"],[3,"total","selected",4,"ngIf"],[1,"select-item",3,"click"],[4,"ngIf"],["colspan","7",1,"show-more-info"],[1,"list-group","list-group-flush","list-group-booking"],[1,"list-group-item"],[1,"title"],["target","_blank",3,"routerLink"],[3,"total","selected"]],template:function(t,e){1&t&&(l.Tb(0,"section",0),l.Tb(1,"div",1),l.Tb(2,"div",2),l.Tb(3,"div",3),l.Tb(4,"h2"),l.Nc(5),l.ic(6,"translate"),l.Sb(),l.Tb(7,"div",4),l.Tb(8,"div",5),l.Nc(9),l.Sb(),l.Sb(),l.Sb(),l.Tb(10,"div",6),l.Tb(11,"div",7),l.Tb(12,"table",8),l.Tb(13,"thead"),l.Tb(14,"tr"),l.Tb(15,"th",9),l.Nc(16,"#"),l.Sb(),l.Tb(17,"th",10),l.dc("sort",(function(t){return e.onSort(t)})),l.Nc(18),l.ic(19,"translate"),l.Sb(),l.Tb(20,"th",11),l.dc("sort",(function(t){return e.onSort(t)})),l.Nc(21),l.ic(22,"translate"),l.Sb(),l.Tb(23,"th",12),l.dc("sort",(function(t){return e.onSort(t)})),l.Nc(24),l.ic(25,"translate"),l.Sb(),l.Tb(26,"th",13),l.dc("sort",(function(t){return e.onSort(t)})),l.Nc(27),l.ic(28,"translate"),l.Sb(),l.Sb(),l.Tb(29,"tr",14),l.Ob(30,"th",15),l.Tb(31,"th",15),l.Tb(32,"input",16),l.dc("ngModelChange",(function(t){return e.filtering.facilityName=t}))("ngModelChange",(function(){return e.getTableData()}
1)),l.ic(33,"translate"),l.Sb(),l.Sb(),l.Tb(34,"th",15),l.Tb(35,"input",16),l.dc("ngModelChange",(function(t){return e.filtering.doctorName=t}))("ngModelChange",(function(){return e.getTableData()})),l.ic(36,"translate"),l.Sb(),l.Sb(),l.Tb(37,"th",15),l.Tb(38,"input",16),l.dc("ngModelChange",(function(t){return e.filtering.patientName=t}))("ngModelChange",(function(){return e.getTableData()})),l.ic(39,"translate"),l.Sb(),l.Sb(),l.Tb(40,"th",15),l.Tb(41,"app-calendar-range-table",17),l.dc("selected",(function(t){return e.selectedDateRange(t.dateStart,t.dateEnd)})),l.Sb(),l.Sb(),l.Sb(),l.Sb(),l.Lc(42,at,13,6,"tbody",18),l.Sb(),l.Sb(),l.Lc(43,rt,1,1,"app-pagination",19),l.Sb(),l.Sb(),l.Sb(),l.Sb()),2&t&&(l.zb(5),l.Pc(" ",l.jc(6,15,"Reservations")," "),l.zb(4),l.Qc(" ",e.itemList.length*e.pagination.page," / ",e.pagination.total," "),l.zb(9),l.Oc(l.jc(19,17,"Facility Name")),l.zb(3),l.Oc(l.jc(22,19,"Doctor Name")),l.zb(3),l.Oc(l.jc(25,21,"Patient Name")),l.zb(3),l.Oc(l.jc(28,23,"Appointment Time")),l.zb(5),l.qc("placeholder","",l.jc(33,25,"Search"),"..."),l.oc("ngModel",e.filtering.facilityName),l.zb(3),l.qc("placeholder","",l.jc(36,27,"Search"),"..."),l.oc("ngModel",e.filtering.doctorName),l.zb(3),l.qc("placeholder","",l.jc(39,29,"Search"),"..."),l.oc("ngModel",e.filtering.patientName),l.zb(4),l.oc("ngForOf",e.itemList),l.zb(1),l.oc("ngIf",e.isShowPagination()))},directives:[L.a,o.b,o.m,o.o,ot.a,i.m,i.n,a.g,N.a],pipes:[g.c],styles:[".provider-reservations-list[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   .select-item[_ngcontent-%COMP%]{cursor:pointer}.provider-reservations-list[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   .show-more-info[_ngcontent-%COMP%]{padding:0}.provider-reservations-list[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   .list-group[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{color:#777;font-weight:500}.provider-reservations-list[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   .list-group[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], .provider-reservations-list[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]   .list-group[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{color:#faa26b}.provider-reservations-list[_ngcontent-%COMP%]   pre[_ngcontent-%COMP%]{white-space:break-spaces;margin-bottom:0}"]}),t})();var lt=n("yK//");const bt=a.h.forChild([{path:"",redirectTo:"list-of-reservations",pathMatch:"full"},{path:"",component:m,canActivate:[lt.b],children:[{path:"dashboard",component:S},{path:"list-of-doctors",component:H},{path:"list-of-facilities",component:it},{path:"list-of-reservations",component:st},{path:"doctor",loadChildren:()=>Promise.all([n.e(4),n.e(6),n.e(0),n.e(25)]).then(n.bind(null,"u6Vz")).then(t=>t.DoctorModule)},{path:"facility",loadChildren:()=>Promise.all([n.e(3),n.e(4),n.e(6),n.e(9),n.e(0),n.e(26)]).then(n.bind(null,"zaon")).then(t=>t.FacilityModule)}]}]);var dt=n("I70P"),gt=n("vKWE"),ft=n("/8eE"),ut=n("dP64"),pt=n("JaTj"),ht=n("KSvZ");let mt=(()=>{class t{}return t.\u0275mod=l.Lb({type:t}),t.\u0275inj=l.Kb({factory:function(e){return new(e||t)},imports:[[i.c,c.c,o.i,o.s,bt,dt.a,gt.a,ut.a,pt.a,ht.a,ft.b]]}),t})()},BuRe:function(t,e,n){"use strict";var i=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;e.a=function(t){return"string"==typeof t&&i.test(t)}},Ds8A:function(t,e,n){t.exports=function(){"use strict";var t="minute",e=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(i,o,c){var a=o.prototype;c.utc=function(t){return new o({date:t,utc:!0,args:arguments})},a.utc=function(e){var n=c(this.toDate(),{locale:this.$L,utc:!0});return e?n.add(this.utcOffset(),t):n},a.local=function(){return c(this.toDate(),{locale:this.$L,utc:!1})};var r=a.parse;a.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),r.call(this,t)};var s=a.init;a.init=function(){if(this.$u){var t=this.$d;this.$y=t.getUTCFullYear(),this.$M=t.getUTCMonth(),this.$D=t.getUTCDate(),this.$W=t.getUTCDay(),this.$H=t.getUTCHours(),this.$m=t.getUTCMinutes(),this.$s=t.getUTCSeconds(),this.$ms=t.getUTCMilliseconds()}else s.call(this)};var l=a.utcOffset;a.utcOffset=function(i,o){var c=this.$utils().u;if(c(i))return this.$u?0:c(this.$offset)?l.call(this):this.$offset;if("string"==typeof i&&null===(i=function(t){void 0===t&&(t="");var i=t.match(e);if(!i)return null;var o=(""+i[0]).match(n)||["-",0,0],c=60*+o[1]+ +o[2];return 0===c?0:"+"===o[0]?c:-c}(i)))return this;var a=Math.abs(i)<=16?60*i:i,r=this;if(o)return r.$offset=a,r.$u=0===i,r;if(0!==i){var s=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(r=this.local().add(a+s,t)).$offset=a,r.$x.$localOffset=s}else r=this.utc();return r};var b=a.format;a.format=function(t){return b.call(this,t||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":""))},a.valueOf=function(){var t=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||(new Date).getTimezoneOffset());return this.$d.valueOf()-6e4*t},a.isUTC=function(){return!!this.$u},a.toISOString=function(){return this.toDate().toISOString()},a.toString=function(){return this.toDate().toUTCString()};var d=a.toDate;a.toDate=function(t){return"s"===t&&this.$offset?c(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():d.call(this)};var g=a.diff;a.diff=function(t,e,n){if(t&&this.$u===t.$u)return g.call(this,t,e,n);var i=this.local(),o=c(t).local();return g.call(i,o,e,n)}}}()},GVN3:function(t,e,n){t.exports=function(){"use strict";var t={year:0,month:1,day:2,hour:3,minute:4,second:5},e={};return function(n,i,o){var c,a=function(t,n,i){void 0===i&&(i={});var o=new Date(t);return function(t,n){void 0===n&&(n={});var i=n.timeZoneName||"short",o=t+"|"+i,c=e[o];return c||(c=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:i}
1),e[o]=c),c}(n,i).formatToParts(o)},r=function(e,n){for(var i=a(e,n),c=[],r=0;r<i.length;r+=1){var s=i[r],l=t[s.type];l>=0&&(c[l]=parseInt(s.value,10))}var b=c[3],d=+e;return(o.utc(c[0]+"-"+c[1]+"-"+c[2]+" "+(24===b?0:b)+":"+c[4]+":"+c[5]+":000").valueOf()-(d-=d%1e3))/6e4},s=i.prototype;s.tz=function(t,e){void 0===t&&(t=c);var n=this.utcOffset(),i=this.toDate(),a=i.toLocaleString("en-US",{timeZone:t}),r=Math.round((i-new Date(a))/1e3/60),s=o(a).$set("millisecond",this.$ms).utcOffset(15*-Math.round(i.getTimezoneOffset()/15)-r,!0);if(e){var l=s.utcOffset();s=s.add(n-l,"minute")}return s.$x.$timezone=t,s},s.offsetName=function(t){var e=this.$x.$timezone||o.tz.guess(),n=a(this.valueOf(),e,{timeZoneName:t}).find((function(t){return"timezonename"===t.type.toLowerCase()}));return n&&n.value};var l=s.startOf;s.startOf=function(t,e){if(!this.$x||!this.$x.$timezone)return l.call(this,t,e);var n=o(this.format("YYYY-MM-DD HH:mm:ss:SSS"));return l.call(n,t,e).tz(this.$x.$timezone,!0)},o.tz=function(t,e,n){var i=n&&e,a=n||e||c,s=r(+o(),a);if("string"!=typeof t)return o(t).tz(a);var l=function(t,e,n){var i=t-60*e*1e3,o=r(i,n);if(e===o)return[i,e];var c=r(i-=60*(o-e)*1e3,n);return o===c?[i,o]:[t-60*Math.min(o,c)*1e3,Math.max(o,c)]}(o.utc(t,i).valueOf(),s,a),b=l[1],d=o(l[0]).utcOffset(b);return d.$x.$timezone=a,d},o.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},o.tz.setDefault=function(t){c=t}}}()},HBgp:function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var i=n("fXoL"),o=n("ofXK"),c=n("sYmb");function a(t,e){if(1&t&&(i.Tb(0,"div",3),i.Ob(1,"img",4),i.Sb()),2&t){const t=i.hc();i.zb(1),i.oc("src",t.image,i.Gc)("alt",t.title)}}function r(t,e){if(1&t&&i.Ob(0,"img",8),2&t){const t=i.hc(2);i.oc("alt",t.title)}}function s(t,e){if(1&t&&i.Ob(0,"img",8),2&t){const t=i.hc(2);i.oc("alt",t.title)}}function l(t,e){if(1&t&&i.Ob(0,"img",8),2&t){const t=i.hc(2);i.oc("alt",t.title)}}function b(t,e){if(1&t&&i.Ob(0,"img",8),2&t){const t=i.hc(2);i.oc("alt",t.title)}}function d(t,e){if(1&t&&i.Ob(0,"img",9),2&t){const t=i.hc(2);i.oc("alt",t.title)}}function g(t,e){if(1&t&&(i.Tb(0,"div",5),i.Lc(1,r,1,1,"img",6),i.Lc(2,s,1,1,"img",6),i.Lc(3,l,1,1,"img",6),i.Lc(4,b,1,1,"img",6),i.Lc(5,d,1,1,"img",7),i.Sb()),2&t){const t=i.hc();i.zb(1),i.oc("ngIf","Urgent Care"===t.type),i.zb(1),i.oc("ngIf","Emergency Room"===t.type),i.zb(1),i.oc("ngIf","Convenient Care"===t.type),i.zb(1),i.oc("ngIf","CoronaVirus Vaccine"===t.type),i.zb(1),i.oc("ngIf","No Image"===t.type)}}function f(t,e){1&t&&(i.Tb(0,"div",10),i.Ob(1,"img",11),i.ic(2,"translate"),i.Sb()),2&t&&(i.zb(1),i.pc("alt",i.jc(2,1,"Loading")))}let u=(()=>{class t{constructor(){this.showImg=!1,this.showLoading=!0}ngOnInit(){this.image&&this.checkImageLoading(),!this.image&&this.type&&(this.showImg=!1,this.showLoading=!1)}checkImageLoading(){const t=document.createElement("img");t.src=this.image,t.onload=t=>{this.showImg=!0,this.showLoading=!1},t.onerror=t=>{this.showImg=!1,this.showLoading=!1}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=i.Hb({type:t,selectors:[["app-facility-photo"]],inputs:{image:"image",title:"title",type:"type"},decls:3,vars:3,consts:[["class","d-flex justify-content-center align-items-center image-wrap",4,"ngIf"],["class","baner-wrap",4,"ngIf"],["class","loading-wrap",4,"ngIf"],[1,"d-flex","justify-content-center","align-items-center","image-wrap"],[3,"src","alt"],[1,"baner-wrap"],["src","/assets/images/banners/uc_256x256.png",3,"alt",4,"ngIf"],["src","/assets/images/banners/vv_256x256.png",3,"alt",4,"ngIf"],["src","/assets/images/banners/uc_256x256.png",3,"alt"],["src","/assets/images/banners/vv_256x256.png",3,"alt"],[1,"loading-wrap"],["src","/assets/images/loading.gif",3,"alt"]],template:function(t,e){1&t&&(i.Lc(0,a,2,2,"div",0),i.Lc(1,g,6,5,"div",1),i.Lc(2,f,3,3,"div",2)),2&t&&(i.oc("ngIf",!e.showLoading&&e.showImg),i.zb(1),i.oc("ngIf",!e.showLoading&&!e.showImg),i.zb(1),i.oc("ngIf",e.showLoading))},directives:[o.n],pipes:[c.c],styles:[".image-wrap[_ngcontent-%COMP%]{height:100%;width:100%}.image-wrap[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%;height:auto;border-radius:5px}.baner-wrap[_ngcontent-%COMP%]{height:100%;width:100%}.baner-wrap[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%;height:auto;border-radius:5px}.loading-wrap[_ngcontent-%COMP%]{position:relative;height:100%;width:100%}.loading-wrap[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:90px;width:90px;position:absolute;top:calc(50% - 45px);left:calc(50% - 45px)}"]}),t})()},M47h:function(t,e,n){"use strict";n.d(e,"a",(function(){return b}));var i=n("ofXK"),o=n("tyNb"),c=n("3Pt+"),a=n("1kSV"),r=n("tmjD"),s=n("/8eE"),l=n("fXoL");let b=(()=>{class t{}return t.\u0275mod=l.Lb({type:t}),t.\u0275inj=l.Kb({factory:function(e){return new(e||t)},imports:[[i.c,o.h,c.i,c.s,a.o,r.b.forRoot(),s.b]]}),t})()},dP64:function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var i=n("ofXK"),o=n("tyNb"),c=n("3Pt+"),a=n("1kSV"),r=n("tmjD"),s=n("bhfF"),l=n("jCJ1"),b=n("AytR"),d=n("/8eE"),g=n("fXoL");let f=(()=>{class t{}return t.\u0275mod=g.Lb({type:t}),t.\u0275inj=g.Kb({factory:function(e){return new(e||t)},imports:[[i.c,o.h,c.i,a.o]]}),t})();var u=n("7gyT"),p=n("RKgm");let h=(()=>{class t{}return t.\u0275mod=g.Lb({type:t}),t.\u0275inj=g.Kb({factory:function(e){return new(e||t)},providers:[{provide:l.a,useValue:{siteKey:b.a.captchaKey}}],imports:[[i.c,o.h,c.i,c.s,a.o,r.b.forRoot(),s.b,p.a,d.b,f,l.d,l.c,u.a]]}),t})()}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.