PageSourceSearch

https://portal.reachfertility.com/12253.f6542ad42260272e.js

js reachfertility.com collected 2026-10-10 02:41:50 UTC 29,203 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkabp_zero_template=self.webpackChunkabp_zero_template||[]).push([[12253],{52626:(y,f,l)=>{l.d(f,{X:()=>s1});var p=l(73308),g=l(81801),_=l(76340),u=l(66989),c=l(98341),t=l(23279),I=l(66447),v=l(86802),d=l(56610),h=l(37222),m=l(18497),M=l(17438),j=l(48218),k=l(96053),C=l(7448),R=l(48534);const b=["ultrasoundImagesModal"],x=()=>({backdrop:"static",keyboard:!1});function D(n,s){if(1&n&&t.nrm(0,"img",13),2&n){const e=t.XpG();t.Y8G("src","data:image/jpeg;base64,"+(null==e.ultrasoundImages[e.currentImageIndex]?null:e.ultrasoundImages[e.currentImageIndex].imageBlob),t.B4B)}}function F(n,s){if(1&n&&(t.j41(0,"div",14),t.EFF(1),t.k0s()),2&n){const e=t.XpG();t.R7$(),t.SpI(" ",null==e.ultrasoundImages[e.currentImageIndex]?null:e.ultrasoundImages[e.currentImageIndex].comment," ")}}let E=(()=>{class n extends u.q{constructor(e,o){super(e),this.patientServiceProxy=o,this.loading=!1,this.ultrasoundImages=[],this.currentImageIndex=0,this.mainTitle="",this.isPractitioner=this.appSession.user.roles.some(a=>a.roleName.toLowerCase()===c.M.roles.practitioner.toLowerCase())}close(){this.modal.hide()}show(e,o,a){this.ultrasoundImages=[],this.mainTitle=a,this.currentImageIndex=0,this.modal.show(),this.loading=!0,this.patientServiceProxy.getUltrasoundImages(e,o).pipe((0,_.Q)(this.destroy$)).subscribe({next:r=>{this.ultrasoundImages=r.items,this.currentImageIndex=0},error:()=>{this.loading=!1},complete:()=>{this.loading=!1}})}nextImage(){this.currentImageIndex<this.ultrasoundImages.length-1&&this.currentImageIndex++}previousImage(){this.currentImageIndex>0&&this.currentImageIndex--}getTitle(){const e=(this.currentImageIndex+1).toString().padStart(2,"0");return`${this.mainTitle} (${e})`}static{this.\u0275fac=function(o){return new(o||n)(t.rXU(t.zZn),t.rXU(g.cx6))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-patient-ultrasound-images-modal"]],viewQuery:function(o,a){if(1&o&&t.GBs(b,7),2&o){let r;t.mGM(r=t.lsd())&&(a.modal=r.first)}},features:[t.Vt3],decls:20,vars:13,consts:[["ultrasoundImagesModal","bs-modal"],["appBsModal","","aria-hidden","true","aria-labelledby","editModal","role","dialog","tabindex","-1",1,"modal","fade",3,"config"],[1,"modal-dialog","modal
1-lg"],[1,"modal-content"],[1,"modal-header"],[1,"modal-title","text-center","w-100"],["type","button",1,"btn-close",3,"click"],[1,"modal-body",2,"min-height","200px",3,"busyIf"],[1,"mt-4","text-center"],["alt","Ultrasound Image","class","img-fluid","style","max-width: 100%; max-height: 500px; object-fit: contain;",3,"src",4,"ngIf"],["class","comment-section mt-3",4,"ngIf"],[1,"modal-footer","d-flex","justify-content-between"],[1,"btn","btn-primary","force-hover-color",3,"click","disabled"],["alt","Ultrasound Image",1,"img-fluid",2,"max-width","100%","max-height","500px","object-fit","contain",3,"src"],[1,"comment-section","mt-3"]],template:function(o,a){if(1&o){const r=t.RV6();t.j41(0,"div",1,0)(2,"div",2)(3,"div",3)(4,"div",4)(5,"h4",5)(6,"span"),t.EFF(7),t.k0s()(),t.j41(8,"button",6),t.bIt("click",function(){return t.eBV(r),t.Njj(a.close())}),t.k0s()(),t.j41(9,"div",7)(10,"div",8),t.DNE(11,D,1,1,"img",9),t.k0s(),t.DNE(12,F,2,1,"div",10),t.k0s(),t.j41(13,"div",11)(14,"button",12),t.bIt("click",function(){return t.eBV(r),t.Njj(a.previousImage())}),t.EFF(15),t.k0s(),t.j41(16,"span"),t.EFF(17),t.k0s(),t.j41(18,"button",12),t.bIt("click",function(){return t.eBV(r),t.Njj(a.nextImage())}),t.EFF(19),t.k0s()()()()()}2&o&&(t.Y8G("config",t.lJ4(12,x)),t.R7$(7),t.JRh(a.getTitle()),t.R7$(),t.BMQ("aria-label",a.l("Close")),t.R7$(),t.Y8G("busyIf",a.loading),t.R7$(2),t.Y8G("ngIf",a.ultrasoundImages.length),t.R7$(),t.Y8G("ngIf",a.isPractitioner&&(null==a.ultrasoundImages[a.currentImageIndex]?null:a.ultrasoundImages[a.currentImageIndex].comment)),t.R7$(2),t.Y8G("disabled",0===a.currentImageIndex),t.R7$(),t.SpI(" < ",a.l("Previous")," "),t.R7$(2),t.Lme("",a.currentImageIndex+1," of ",a.ultrasoundImages.length,""),t.R7$(),t.Y8G("disabled",a.currentImageIndex===a.ultrasoundImages.length-1),t.R7$(),t.SpI(" ",a.l("Next")," > "))},dependencies:[d.bT,C._,R.b],encapsulation:2})}}return n})();const T=["ultrasoundImagesModal"],$=()=>({width:"100%"});function G(n,s){if(1&n&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"date"),t.k0s()),2&n){const e=t.XpG(2).$implicit;t.R7$(),t.SpI(" (",t.bMT(2,1,e.treatmentCycleDate),") ")}}function U(n,s){if(1&n&&(t.j41(0,"span"),t.EFF(1),t.k0s()),2&n){const e=t.XpG(3).$implicit;t.R7$(),t.SpI(" (",e.treatmentCycle,") ")}}function S(n,s){if(1&n&&t.DNE(0,U,2,1,"span",8),2&n){const e=t.XpG(2).$implicit;t.Y8G("ngIf",e.treatmentCycle)}}function w(n,s){if(1&n&&(t.j41(0,"div"),t.EFF(1),t.DNE(2,G,3,3,"span",13)(3,S,1,1,"ng-template",null,1,t.C5r),t.k0s()),2&n){const e=t.sdS(4),o=t.XpG().$implicit,a=t.XpG(2);t.R7$(),t.SpI(" ",o.treatmentCycleTypeName," "),t.R7$(),t.Y8G("ngIf",o.treatmentCycleDate&&!a.isIdeasDefaultDate(o.treatmentCycleDate))("ngIfElse",e)}}function L(n,s){if(1&n&&t.DNE(0,w,5,3,"div",8),2&n){const e=s.$implicit;t.Y8G("ngIf",e&&e.treatmentCycleTypeName)}}function z(n,s){if(1&n&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"date"),t.k0s()),2&n){const e=t.XpG(2).$implicit;t.R7$(),t.SpI(" (",t.bMT(2,1,e.treatmentCycleDate),") ")}}function P(n,s){if(1&n&&(t.j41(0,"span"),t.EFF(1),t.k0s()),2&n){const e=t.XpG(3).$implicit;t.R7$(),t.SpI("(",e.treatmentCycle,")")}}function N(n,s){if(1&n&&t.DNE(0,P,2,1,"span",8),2&n){const e=t.XpG(2).$implicit;t.Y8G("ngIf",e.treatmentCycle)}}function X(n,s){if(1&n&&(t.j41(0,"div"),t.EFF(1),t.DNE(2,z,3,3,"span",13)(3,N,1,1,"ng-template",null,1,t.C5r),t.k0s()),2&n){const e=t.sdS(4),o=t.XpG().$implicit,a=t.XpG(2);t.R7$(),t.SpI(" ",o.treatmentCycleTypeName," "),t.R7$(),t.Y8G("ngIf",o.treatmentCycleDate&&!a.isIdeasDefaultDate(o.treatmentCycleDate))("ngIfElse",e)}}function O(n,s){if(1&n&&t.DNE(0,X,5,3,"div",8),2&n){const e=s.$implicit;t.Y8G("ngIf",e&&e.treatmentCycleTypeName)}}function Y(n,s){if(1&n){const e=t.RV6();t.j41(0,"p-dropdown",10),t.bIt("onChange",function(a){t.eBV(e);const r=t.XpG();return t.Njj(r.onFilter(a))}),t.mxI("ngModelChange",function(a){t.eBV(e);const r=t.XpG();return t.DH7(r.selectedTreatmentCycle,a)||(r.selectedTreatmentCycle=a),t.Njj(a)}),t.DNE(1,L,1,1,"ng-template",11)(2,O,1,1,"ng-template",12),t.k0s()}if(2&n){const e=t.XpG();t.Aen(t.lJ4(6,$)),t.R50("ngModel",e.selectedTreatmentCycle),t.Y8G("disabled",e.primengTableHelper.isLoading)("options",e.treatmentCycleSelectItems)("showClear",!1)}}function B(n,s){if(1&n&&(t.j41(0,"th",22),t.EFF(1),t.k0s()),2&n){const e=t.XpG(3);t.R7$(),t.SpI(" ",e.l("Remark")," ")}}function V(n,s){if(1&n&&(t.j41(0,"tr",21)(1,"th",22),t.EFF(2),t.k0s(),t.j41(3,"th",22),t.EFF(4),t.k0s(),t.j41(5,"th",22),t.EFF(6),t.k0s(),t.j41(7,"th",22),t.EFF(8),t.k0s(),t.DNE(9,B,2,1,"th",23),t.j41(10,"th",22),t.EFF(11),t.k0s(),t.j41(12,"th",24),t.EFF(13),t.k0s()()),2&n){const e=t.XpG(2);t.R7$(2),t.SpI(" ",e.l("Days")," "),t.R7$(2),t.SpI(" ",e.l("ScanDate")," "),t.R7$(2),t.SpI(" ",e.l("ScanType")," "),t.R7$(2),t.SpI(" ",e.l("TreatmentCycle")," "),t.R7$(),t.Y8G("ngIf",e.showRemarks),t.R7$(2),t.SpI(" ",e.l("Results")," "),t.R7$(2),t.SpI(" ",e.l("View")," ")}}
1function J(n,s){if(1&n&&(t.j41(0,"td",25),t.EFF(1),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.SpI(" ",e.remark," ")}}function A(n,s){1&n&&t.nrm(0,"i",30)}function H(n,s){if(1&n){const e=t.RV6();t.j41(0,"tr")(1,"td",25),t.EFF(2),t.k0s(),t.j41(3,"td",25),t.EFF(4),t.nI1(5,"date"),t.k0s(),t.j41(6,"td",26),t.EFF(7),t.k0s(),t.j41(8,"td",25),t.EFF(9),t.k0s(),t.DNE(10,J,2,1,"td",27),t.j41(11,"td",25),t.EFF(12),t.k0s(),t.j41(13,"td",25)(14,"a",28),t.bIt("click",function(){const a=t.eBV(e).$implicit,r=t.XpG(2);return t.Njj(r.showImages(a.scanPk,a.scanType,a.relday))}),t.DNE(15,A,1,0,"i",29),t.k0s()()()}if(2&n){const e=s.$implicit,o=t.XpG(2);t.R7$(2),t.SpI(" ",e.relday," "),t.R7$(2),t.SpI(" ",t.i5U(5,7,e.scanDate,o.ideasDateFormat)," "),t.R7$(3),t.SpI(" ",e.scanType," "),t.R7$(2),t.SpI(" ",e.treatmentCycle," "),t.R7$(),t.Y8G("ngIf",o.showRemarks),t.R7$(2),t.SpI(" ",e.results," "),t.R7$(3),t.Y8G("ngIf",e.hasImages)}}function K(n,s){if(1&n&&(t.j41(0,"div",31)(1,"div",32)(2,"div",33)(3,"div",34),t.qSk(),t.j41(4,"svg",35),t.nrm(5,"g",36)(6,"g",37),t.j41(7,"g",38)(8,"g")(9,"g"),t.nrm(10,"path",39),t.k0s()(),t.j41(11,"g")(12,"g"),t.nrm(13,"path",40),t.k0s()(),t.j41(14,"g")(15,"g"),t.nrm(16,"path",41),t.k0s()(),t.j41(17,"g")(18,"g"),t.nrm(19,"path",42),t.k0s()(),t.j41(20,"g")(21,"g"),t.nrm(22,"path",43),t.k0s()(),t.j41(23,"g")(24,"g"),t.nrm(25,"path",44),t.k0s()(),t.j41(26,"g")(27,"g"),t.nrm(28,"path",45),t.k0s()(),t.j41(29,"g")(30,"g"),t.nrm(31,"path",46),t.k0s()(),t.j41(32,"g")(33,"g"),t.nrm(34,"path",47),t.k0s()(),t.j41(35,"g")(36,"g"),t.nrm(37,"path",48),t.k0s()(),t.j41(38,"g")(39,"g"),t.nrm(40,"path",49),t.k0s()(),t.j41(41,"g")(42,"g"),t.nrm(43,"path",50),t.k0s()(),t.j41(44,"g")(45,"g"),t.nrm(46,"path",51),t.k0s()(),t.j41(47,"g")(48,"g"),t.nrm(49,"path",52),t.k0s()(),t.j41(50,"g")(51,"g"),t.nrm(52,"path",53),t.k0s()(),t.j41(53,"g")(54,"g"),t.nrm(55,"path",54),t.k0s()(),t.j41(56,"g")(57,"g"),t.nrm(58,"path",55),t.k0s()(),t.j41(59,"g")(60,"g"),t.nrm(61,"path",56),t.k0s()(),t.j41(62,"g")(63,"g"),t.nrm(64,"path",57),t.k0s()(),t.j41(65,"g")(66,"g"),t.nrm(67,"path",58),t.k0s()(),t.j41(68,"g")(69,"g"),t.nrm(70,"path",59),t.k0s()(),t.j41(71,"g")(72,"g"),t.nrm(73,"path",60),t.k0s()(),t.j41(74,"g")(75,"g"),t.nrm(76,"path",61),t.k0s()(),t.j41(77,"g")(78,"g"),t.nrm(79,"path",62),t.k0s()(),t.j41(80,"g")(81,"g"),t.nrm(82,"path",63),t.k0s()(),t.j41(83,"g")(84,"g"),t.nrm(85,"path",64),t.k0s()(),t.j41(86,"g")(87,"g"),t.nrm(88,"path",65),t.k0s()(),t.j41(89,"g")(90,"g"),t.nrm(91,"path",66),t.k0s()(),t.j41(92,"g")(93,"g"),t.nrm(94,"path",67),t.k0s()(),t.j41(95,"g")(96,"g"),t.nrm(97,"path",68),t.k0s()(),t.j41(98,"g")(99,"g"),t.nrm(100,"path",69),t.k0s()(),t.j41(101,"g")(102,"g"),t.nrm(103,"path",70),t.k0s()(),t.j41(104,"g")(105,"g"),t.nrm(106,"path",71),t.k0s()(),t.j41(107,"g")(108,"g"),t.nrm(109,"path",72),t.k0s()(),t.j41(110,"g")(111,"g"),t.nrm(112,"path",73),t.k0s()(),t.j41(113,"g")(114,"g"),t.nrm(115,"path",74),t.k0s()(),t.j41(116,"g")(117,"g"),t.nrm(118,"path",75),t.k0s()(),t.j41(119,"g")(120,"g"),t.nrm(121,"path",76),t.k0s()(),t.j41(122,"g")(123,"g"),t.nrm(124,"path",77),t.k0s()(),t.j41(125,"g")(126,"g"),t.nrm(127,"path",78),t.k0s()(),t.j41(128,"g")(129,"g"),t.nrm(130,"path",79),t.k0s()(),t.j41(131,"g")(132,"g"),t.nrm(133,"path",80),t.k0s()(),t.j41(134,"g")(135,"g"),t.nrm(136,"path",81),t.k0s()(),t.j41(137,"g")(138,"g"),t.nrm(139,"path",82),t.k0s()()()()(),t.joV(),t.j41(140,"div",83)(141,"span",84),t.EFF(142),t.k0s()()()()()),2&n){const e=t.XpG(2);t.R7$(142),t.JRh(e.l("NoData"))}}function W(n,s){if(1&n&&(t.j41(0,"div",85)(1,"p",86),t.EFF(2),t.k0s()()),2&n){const e=t.XpG(2);t.R7$(2),t.JRh(e.l("NoMoreRecords"))}}function Q(n,s){if(1&n){const e=t.RV6();t.j41(0,"div")(1,"div",14)(2,"div",15)(3,"p-table",16,2),t.bIt("onLazyLoad",function(a){t.eBV(e);const r=t.XpG();return t.Njj(r.getUltrasoundData(a))}),t.DNE(5,V,14,7,"ng-template",17)(6,H,16,10,"ng-template",18),t.k0s(),t.DNE(7,K,143,1,"div",19)(8,W,3,1,"div",20),t.k0s()()()}if(2&n){const e=t.XpG();t.R7$(),t.Y8G("busyIf",!e.isLoaded),t.R7$(2),t.Y8G("lazy",!0)("responsiveLayout","stack")("paginator",!1)("value",e.primengTableHelper.records),t.R7$(4),t.Y8G("ngIf",e.isLoaded&&0==e.primengTableHelper.totalRecordsCount),t.R7$(),t.Y8G("ngIf",e.primengTableHelper.totalRecordsCount>0)}}function Z(n,s){if(1&n&&(t.j41(0,"div",104)(1,"div",33),t.EFF(2),t.nI1(3,"date"),t.k0s()()),2&n){const e=t.XpG().$implicit,o=t.XpG(2);t.R7$(2),t.SpI(" ",t.i5U(3,1,e.scanDate,o.ideasDateFormat)," ")}}
1function q(n,s){if(1&n&&(t.j41(0,"div",100)(1,"div",101),t.EFF(2),t.k0s(),t.j41(3,"div",102),t.EFF(4),t.k0s()()),2&n){const e=t.XpG().$implicit,o=t.XpG(2);t.R7$(2),t.JRh(o.l("Remark")),t.R7$(2),t.JRh(e.remark)}}function t1(n,s){1&n&&t.nrm(0,"i",30)}function e1(n,s){if(1&n){const e=t.RV6();t.j41(0,"div")(1,"accordion-group",91,3)(3,"div",92)(4,"div",32)(5,"div",93),t.EFF(6),t.k0s(),t.j41(7,"div",94)(8,"div",95),t.EFF(9),t.k0s(),t.j41(10,"div",96),t.EFF(11),t.k0s()()(),t.DNE(12,Z,4,4,"div",97),t.nrm(13,"div",98),t.k0s(),t.j41(14,"div",99)(15,"div",100)(16,"div",101),t.EFF(17),t.k0s(),t.j41(18,"div",33),t.EFF(19),t.nI1(20,"date"),t.k0s()(),t.j41(21,"div",100)(22,"div",101),t.EFF(23),t.k0s(),t.j41(24,"div",102),t.EFF(25),t.k0s()(),t.j41(26,"div",100)(27,"div",101),t.EFF(28),t.k0s(),t.j41(29,"div",102),t.EFF(30),t.k0s()(),t.DNE(31,q,5,2,"div",103),t.j41(32,"div",100)(33,"div",101),t.EFF(34),t.k0s(),t.j41(35,"div",102),t.EFF(36),t.k0s()(),t.j41(37,"div",100)(38,"div",101),t.EFF(39),t.k0s(),t.j41(40,"div",102)(41,"a",28),t.bIt("click",function(){const a=t.eBV(e).$implicit,r=t.XpG
1(2);return t.Njj(r.showImages(a.scanPk,a.scanType,a.relday))}),t.DNE(42,t1,1,0,"i",29),t.k0s()()()()()()}if(2&n){const e=s.$implicit,o=t.sdS(2),a=t.XpG(2);t.R7$(),t.Y8G("isOpen",!1),t.R7$(5),t.SpI(" ",e.scanType," "),t.R7$(3),t.JRh(a.l("Showmore")),t.R7$(2),t.JRh(a.l("Showless")),t.R7$(),t.Y8G("ngIf",!o.isOpen),t.R7$(5),t.JRh(a.l("ScanDate")),t.R7$(2),t.SpI(" ",t.i5U(20,16,e.scanDate,a.ideasDateFormat)," "),t.R7$(4),t.JRh(a.l("Days")),t.R7$(2),t.JRh(e.relday),t.R7$(3),t.JRh(a.l("TreatmentCycle")),t.R7$(2),t.JRh(e.treatmentCycle),t.R7$(),t.Y8G("ngIf",a.showRemarks),t.R7$(3),t.JRh(a.l("Results")),t.R7$(2),t.JRh(e.results),t.R7$(3),t.JRh(a.l("View")),t.R7$(3),t.Y8G("ngIf",e.hasImages)}}function n1(n,s){if(1&n&&(t.j41(0,"div",31)(1,"div",32)(2,"div",33)(3,"div",34),t.qSk(),t.j41(4,"svg",35),t.nrm(5,"g",36)(6,"g",37),t.j41(7,"g",38)(8,"g")(9,"g"),t.nrm(10,"path",39),t.k0s()(),t.j41(11,"g")(12,"g"),t.nrm(13,"path",40),t.k0s()(),t.j41(14,"g")(15,"g"),t.nrm(16,"path",41),t.k0s()(),t.j41(17,"g")(18,"g"),t.nrm(19,"path",42),t.k0s()(),t.j41(20,"g")(21,"g"),t.nrm(22,"path",43),t.k0s()(),t.j41(23,"g")(24,"g"),t.nrm(25,"path",44),t.k0s()(),t.j41(26,"g")(27,"g"),t.nrm(28,"path",45),t.k0s()(),t.j41(29,"g")(30,"g"),t.nrm(31,"path",46),t.k0s()(),t.j41(32,"g")(33,"g"),t.nrm(34,"path",47),t.k0s()(),t.j41(35,"g")(36,"g"),t.nrm(37,"path",48),t.k0s()(),t.j41(38,"g")(39,"g"),t.nrm(40,"path",49),t.k0s()(),t.j41(41,"g")(42,"g"),t.nrm(43,"path",50),t.k0s()(),t.j41(44,"g")(45,"g"),t.nrm(46,"path",51),t.k0s()(),t.j41(47,"g")(48,"g"),t.nrm(49,"path",52),t.k0s()(),t.j41(50,"g")(51,"g"),t.nrm(52,"path",53),t.k0s()(),t.j41(53,"g")(54,"g"),t.nrm(55,"path",54),t.k0s()(),t.j41(56,"g")(57,"g"),t.nrm(58,"path",55),t.k0s()(),t.j41(59,"g")(60,"g"),t.nrm(61,"path",56),t.k0s()(),t.j41(62,"g")(63,"g"),t.nrm(64,"path",57),t.k0s()(),t.j41(65,"g")(66,"g"),t.nrm(67,"path",58),t.k0s()(),t.j41(68,"g")(69,"g"),t.nrm(70,"path",59),t.k0s()(),t.j41(71,"g")(72,"g"),t.nrm(73,"path",60),t.k0s()(),t.j41(74,"g")(75,"g"),t.nrm(76,"path",61),t.k0s()(),t.j41(77,"g")(78,"g"),t.nrm(79,"path",62),t.k0s()(),t.j41(80,"g")(81,"g"),t.nrm(82,"path",63),t.k0s()(),t.j41(83,"g")(84,"g"),t.nrm(85,"path",64),t.k0s()(),t.j41(86,"g")(87,"g"),t.nrm(88,"path",65),t.k0s()(),t.j41(89,"g")(90,"g"),t.nrm(91,"path",66),t.k0s()(),t.j41(92,"g")(93,"g"),t.nrm(94,"path",67),t.k0s()(),t.j41(95,"g")(96,"g"),t.nrm(97,"path",68),t.k0s()(),t.j41(98,"g")(99,"g"),t.nrm(100,"path",69),t.k0s()(),t.j41(101,"g")(102,"g"),t.nrm(103,"path",70),t.k0s()(),t.j41(104,"g")(105,"g"),t.nrm(106,"path",71),t.k0s()(),t.j41(107,"g")(108,"g"),t.nrm(109,"path",72),t.k0s()(),t.j41(110,"g")(111,"g"),t.nrm(112,"path",73),t.k0s()(),t.j41(113,"g")(114,"g"),t.nrm(115,"path",74),t.k0s()(),t.j41(116,"g")(117,"g"),t.nrm(118,"path",75),t.k0s()(),t.j41(119,"g")(120,"g"),t.nrm(121,"path",76),t.k0s()(),t.j41(122,"g")(123,"g"),t.nrm(124,"path",77),t.k0s()(),t.j41(125,"g")(126,"g"),t.nrm(127,"path",78),t.k0s()(),t.j41(128,"g")(129,"g"),t.nrm(130,"path",79),t.k0s()(),t.j41(131,"g")(132,"g"),t.nrm(133,"path",80),t.k0s()(),t.j41(134,"g")(135,"g"),t.nrm(136,"path",81),t.k0s()(),t.j41(137,"g")(138,"g"),t.nrm(139,"path",82),t.k0s()()()()(),t.joV(),t.j41(140,"div",83)(141,"span",84),t.EFF(142),t.k0s()()()()()),2&n){const e=t.XpG(2);t.R7$(142),t.JRh(e.l("NoData"))}}function a1(n,s){if(1&n&&(t.j41(0,"div",85)(1,"p",86),t.EFF(2),t.k0s()()),2&n){const e=t.XpG(2);t.R7$(2),t.JRh(e.l("NoMoreRecords"))}}function o1(n,s){if(1&n&&(t.j41(0,"div",87)(1,"div",88)(2,"accordion",89),t.DNE(3,e1,43,19,"div",90),t.k0s()(),t.DNE(4,n1,143,1,"div",19)(5,a1,3,1,"div",20),t.k0s()),2&n){const e=t.XpG();t.R7$(2),t.Y8G("closeOthers",!1),t.R7$(),t.Y8G("ngForOf",e.primengTableHelper.records),t.R7$(),t.Y8G("ngIf",e.isLoaded&&0==e.primengTableHelper.totalRecordsCount),t.R7$(),t.Y8G("ngIf",e.primengTableHelper.totalRecordsCount>0)}}let s1=(()=>{class n extends u.q{get acuId(){return this._acuId}set acuId(e){this._acuId=e,e&&this.isMobile&&this.getUltrasoundData()}constructor(e,o,a,r){super(e),this.patientServiceProxy=o,this.deviceService=a,this.appComponent=r,this.isMobile=!1,this.treatmentCycleSelectItems=[],this.showRemarks=this.appSession.user.roles.some(i=>i.roleName.toLowerCase()===c.M.roles.practitioner.toLowerCase())||abp.auth.isGranted("PatientPortal.Ultrasound.ShowRemarks")&&this.appSession.user.roles.some(i=>i.roleName.toLowerCase()===c.M.roles.patient.toLowerCase()),this.isLoaded=!0,this.isMobile=this.deviceService.isMobile()}onFilter(e){var o=this;return(0,p.A)(function*(){o.selectedTreatmentCycle=e.value,yield o.getUltrasoundData()})()}init(){var e=this;return(0,p.A)(function*(){e.ideasDateFormat=e.appComponent?.dateFormat??c.M.defaultDateFormat,yield e.getTreatmentCycles()})()}getTreatmentCycles(){var e=this;return(0,p.A)(function*(){e.patientServiceProxy.getPatientUltrasoundTreatmentCycles(e.acuId).pipe((0,_.Q)(e.destroy$)).subscribe({next:o=>{e.treatmentCycleSelectItems=o.items;let a=new g.sV5;a.treatmentCycleTypeName=e.l("All"),a.treatmentCycleNo=void 0,e.treatmentCycleSelectItems.unshift(a),e.selectedTreatmentCycle=a},error:()=>{},complete:()=>{}})})()}getUltrasoundData(e){var o=this;return(0,p.A)(function*(){o.isLoaded=!1,o.patientServiceProxy.getUltrasound(o.acuId,o.selectedTreatmentCycle?.treatmentCycleNo?o.selectedTreatmentCycle.treatmentCycleNo:void 0).pipe((0,_.Q)(o.destroy$)).subscribe({next:r=>{o.primengTableHelper.records=r.items,o.primengTableHelper.totalRecordsCount=r.items.length},error:()=>{o.isLoaded=!0},complete:()=>{o.isLoaded=!0}})})()}isIdeasDefaultDate(e){return!!e&&1900===e.year&&0===e.month&&1===e.day}showImages(e,o,a){const r=o?o.charAt(0).toUpperCase():"";this.ultrasoundImagesModal.show(this.acuId,e,r?`${r} - Day - ${a}`:`Day - ${a}`)}isMidnight(e){const o=new Date(e);return 0===o.getHours()&&0===o.getMinutes()}static{this.\u0275fac=function(o){return new(o||n)(t.rXU(t.zZn),t.rXU(g.cx6),t.rXU(I.Kg),t.rXU(v.Z))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-ultrasound-desktop"]],viewQuery:function(o,a){if(1&o&&t.GBs(T,7),2&o){let r;t.mGM(r=t.lsd())&&(a.ultrasoundImagesModal=r.first)}},inputs:{acuId:"acuId"},features:[t.Vt3],decls:9,vars:4,consts:[["ultrasoundImagesModal",""],["noDate",""],["dataTable",""],["panel",""],[1,"row","m-0"],[1,"col-12","col-sm-4","p-0"],[1,"filter-text","mb-2"],[3,"ngModel","disabled","options","showClear","style","onChange","ngModelChange",4,"ngIf"],[4,"ngIf"],["class","mt-3 mb-5","style","padding-bottom: 100px",4,"ngIf"],[3,"onChange","ngModelChange","ngModel","disabled","options","showClear"],["pTemplate","selectedItem"],["pTemplate","item"],[4,"ngIf","ngIfElse"],[1,"m_content","mt-4",2,"min-height","200px",3,"busyIf"],[1,"table-responsive"],["sortMode","multiple","
1id","custom_table",1,"table","borderless",3,"onLazyLoad","lazy","responsiveLayout","paginator","value"],["pTemplate","header"],["pTemplate","body"],["class","container","style","padding-top: 100px",4,"ngIf"],["class","end-text inf-load-default-theme-style",4,"ngIf"],[1,"table-header"],[1,"text-center","table-head-cell"],["class","text-center table-head-cell",4,"ngIf"],[1,"align-middle","text-center","table-head-cell"],[1,"align-middle","text-center"],[1,"align-middle","text-center","whitespace-nowrap"],["class","align-middle text-center",4,"ngIf"],[1,"hand-cursor",3,"click"],["class","fa fa-eye",4,"ngIf"],[1,"fa","fa-eye"],[1,"container",2,"padding-top","100px"],[1,"row"],[1,"col-12"],[1,"d-flex","justify-content-center"],["fill","#B2B7D1","height","116px","width","116px","version","1.1","id","Layer_1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","viewBox","0 0 512 512",0,"xml","space","preserve"],["id","SVGRepo_bgCarrier","stroke-width","0"],["id","SVGRepo_tracerCarrier","stroke-linecap","round","stroke-linejoin","round"],["id","SVGRepo_iconCarrier"],["d","M334.306,64.29c-2.541-3.554-7.285-4.736-11.204-2.79c-42.016,21.012-92.197,21.012-134.204,0 c-3.918-1.964-8.663-0.773-11.204,2.781L0,313.053l14.455,10.324L187.841,80.647c43.189,19.173,93.112,19.173,136.31,0 l173.394,242.74L512,313.062L334.306,64.29z"],["d","M494.675,333.586c-4.096,4.114-8.272,8.112-12.519,11.977l11.959,13.141c4.469-4.06,8.858-8.263,13.158-12.572 L494.675,333.586z"],["d","M469.051,356.9c-4.478,3.687-9.036,7.241-13.647,10.671l10.599,14.26c4.842-3.598,9.622-7.33,14.34-11.213L469.051,356.9z "],["d","M38.888,353.506l-11.497,13.558c4.656,3.945,9.382,7.756,14.189,11.426l10.786-14.109 C47.8,360.88,43.304,357.264,38.888,353.506z"],["d","M95.857,392.714l-8.538,15.593c5.357,2.932,10.75,5.713,16.206,8.334l7.721-16.001 C106.066,398.134,100.93,395.495,95.857,392.714z"],["d","M411.505,395.21c-5.126,2.692-10.306,5.26-15.531,7.676l7.481,16.117c5.482-2.541,10.919-5.233,16.312-8.058 L411.505,395.21z"],["d","M66.378,374.571l-10.084,14.624c5.029,3.465,10.12,6.788,15.264,9.951l9.32-15.131 C75.991,381.004,71.149,377.859,66.378,374.571z"],["d","M441.242,377.53c-4.816,3.207-9.702,6.29-14.633,9.222l9.071,15.273c5.198-3.092,10.342-6.326,15.415-9.711 L441.242,377.53z"],["d","M347.366,420.941c-5.562,1.581-11.15,3.021-16.766,4.309l3.998,17.325c5.908-1.359,11.79-2.87,17.627-4.54 L347.366,420.941z"],["d","M313.649,428.688c-5.686,0.995-11.39,1.857-17.121,2.559l2.177,17.636c6.024-0.737,12.03-1.635,18.018-2.683 L313.649,428.688z"],["d","M127.034,407.747l-6.895,16.383c5.624,2.363,11.284,4.567,16.97,6.619l6.042-16.712 C137.74,412.083,132.356,409.986,127.034,407.747z"],["d","M159.579,419.466l-5.144,17.005c5.828,1.759,11.683,3.376,17.583,4.824l4.256-17.245 C170.676,422.673,165.114,421.145,159.579,419.466z"],["d","M13.611,329.819L0.835,342.178c4.256,4.389,8.583,8.654,12.972,12.767l12.145-12.963 C21.776,338.046,17.654,333.995,13.611,329.819z"],["d","M380.089,409.737c-5.366,2.15-10.777,4.167-16.215,6.033l5.757,16.81c5.74-1.972,11.426-4.087,17.085-6.361 L380.089,409.737z"],["d","M279.3,432.917c-5.748,0.4-11.515,0.649-17.272,0.755l0.311,17.769c6.077-0.107,12.145-0.373,18.214-0.809L279.3,432.917z "],["d","M193.163,427.746l-3.341,17.45c5.971,1.146,11.968,2.132,17.974,2.967l2.443-17.592 C204.535,429.772,198.84,428.839,193.163,427.746z"],["d","M227.458,432.5l-1.546,17.698c6.059,0.533,12.128,0.897,18.196,1.093l0.604-17.752 C238.964,433.344,233.197,432.988,227.458,432.5z"],["d","M442.957,287.945c-4.736,3.332-9.542,6.513-14.393,9.551l9.427,15.06c5.126-3.207,10.191-6.566,15.193-10.075 L442.957,287.945z"],["d","M382.594,321.272c-5.34,2.212-10.706,4.282-16.108,6.184l5.899,16.766c5.722-2.026,11.399-4.202,17.032-6.548 L382.594,321.272z"],["d","M350.049,332.733c-5.535,1.608-11.106,3.056-16.703,4.345l3.989,17.316c5.926-1.368,11.826-2.896,17.672-4.611 L350.049,332.733z"],["d","M316.412,340.489c-5.677,0.977-11.364,1.786-17.076,2.434l2.017,17.645c6.042-0.684,12.074-1.546,18.08-2.577 L316.412,340.489z"],["d","M282.126,344.39c-5.748,0.329-11.497,0.489-17.245,0.489v17.769c6.086,0,12.172-0.178,18.258-0.524L282.126,344.39z"],["d","M413.664,306.257c-5.047,2.799-10.164,5.437-15.326,7.934l7.721,16.001c5.455-2.63,10.866-5.42,16.206-8.378 L413.664,306.257z"],["d","M122.911,317.149l-7.072,16.286c5.58,2.426,11.213,4.7,16.872,6.841l6.264-16.623 C133.591,321.618,128.233,319.45,122.911,317.149z"],["d","M62.708,283.156l-10.253,14.509c4.975,3.518,10.013,6.895,15.104,10.146l9.542-14.997 C72.251,289.722,67.453,286.506,62.708,283.156z"],["d","M91.957,301.699l-8.734,15.477c5.313,2.994,10.671,5.837,16.081,8.547l7.952-15.895 C102.112,307.261,97.012,304.551,91.957,301.699z"],["d","M104.902,219.799l-8.05,15.841c5.18,2.63,10.413,5.135,15.69,7.499l7.25-16.224 C114.799,224.677,109.824,222.305,104.902,219.799z"],["d","M345.616,243.744c-5.304,1.475-10.635,2.825-16.001,4.043l3.936,17.334c5.642-1.288,11.257-2.71,16.837-4.265 L345.616,243.744z"],["d","M407.018,219.835c-4.922,2.505-9.88,4.869-14.882,7.108l7.25,16.224c5.278-2.363,10.502-4.86,15.682-7.49L407.018,219.835 z"],["d","M313.435,251.038c-5.411,0.951-10.848,1.759-16.295,2.434l2.186,17.636c5.74-0.711,11.488-1.573,17.201-2.577 L313.435,251.038z"],["d","M280.722,255.116c-5.482,0.409-10.973,0.675-16.472,0.809l0.426,17.769c5.793-0.151,11.586-0.435,17.361-0.862 L280.722,255.116z"],["d","M231.243,255.116l-1.324,17.716c5.775,0.426,11.559,0.711,17.343,0.871l0.471-17.769 C242.224,255.791,236.725,255.525,231.243,255.116z"],["d","M135.021,233.295l-6.459,16.552c5.411,2.106,10.857,4.078,16.339,5.908l5.642-16.845 C145.336,237.169,140.157,235.303,135.021,233.295z"],["d","M166.322,243.735l-4.78,17.112c5.597,1.573,11.221,2.994,16.863,4.265l3.9-17.334 C176.948,246.569,171.626,245.219,166.322,243.735z"],["d","M376.908,233.313c-5.135,2.008-10.306,3.874-15.504,5.597l5.606,16.863c5.491-1.83,10.937-3.803,16.357-5.908 L376.908,233.313z"],["d","M198.503,251.038l-3.056,17.503c5.713,0.995,11.435,1.848,17.165,2.568l2.221-17.627 C209.386,252.797,203.931,251.98,198.503,251.038z"],["d","M297.043,164.643c-5.446,0.675-10.91,1.217-16.401,1.617l1.315,17.716c5.757-0.426,11.523-0.995,17.272-1.706 L297.043,164.643z"],["d","M264.169,167.068c-5.482,0.142-10.982,0.142-16.49,0l-0.435,17.769c2.905,0.071,5.828,0.107,8.743,0.107 c2.87,0,5.748-0.036,8.618-0.107L264.169,167.068z"],["d","M329.534,158.948c-5.375,1.226-10.768,2.301-16.179,3.243l3.074,17.512c5.695-0.995,11.372-2.141,17.023-3.421 L329.534,158.948z"],["d","M361.262,150.116c-5.215,1.724-10.466,3.332-15.753,4.807l4.771,17.112c5.562-1.546,11.106-3.234,16.606-5.073 L361.262,150.116z"],["d","M214.797,164.607l-2.177,17.636c5.74,0.711,11.506,1.288,17.263,1.715l1.333-17.716 C225.734,165.825,220.27,
1165.292,214.797,164.607z"],["d","M182.35,158.921l-3.927,17.334c5.651,1.279,11.328,2.417,17.014,3.421l3.074-17.512 C193.109,161.222,187.716,160.138,182.35,158.921z"],["d","M150.596,150.063l-5.624,16.854c5.5,1.839,11.026,3.518,16.579,5.091l4.824-17.112 C161.08,153.413,155.82,151.796,150.596,150.063z"],["d","M202.687,291.57c-29.4,0-53.308,23.909-53.308,53.308s23.909,53.308,53.308,53.308c29.4,0,53.308-23.909,53.308-53.308 S232.087,291.57,202.687,291.57z M202.687,380.417c-19.6,0-35.539-15.939-35.539-35.539s15.939-35.539,35.539-35.539 c19.6,0,35.539,15.939,35.539,35.539S222.287,380.417,202.687,380.417z"],[1,"d-flex","justify-content-center","pt-4"],[1,"noDataText"],[1,"end-text","inf-load-default-theme-style"],[1,"text-center","pt-3","pb-3","m-0"],[1,"mt-3","mb-5",2,"padding-bottom","100px"],[1,"mobile-ui"],[3,"closeOthers"],[4,"ngFor","ngForOf"],[3,"isOpen"],["accordion-heading",""],[1,"col-8","mr-title"],[1,"col-4","right-aligned"],[1,"show-more"],[1,"show-less"],["class","row mr-date",4,"ngIf"],[1,"divider-line","my-2"],[1,"mt-3"],[1,"row","mb-1"],[1,"col-5","mr-data-label"],[1,"col-7","mr-data-value"],["class","row mb-1",4,"ngIf"],[1,"row","mr-date"]],template:function(o,a){1&o&&(t.j41(0,"div",4)(1,"div",5)(2,"p",6),t.EFF(3),t.k0s(),t.DNE(4,Y,3,7,"p-dropdown",7),t.k0s()(),t.DNE(5,Q,9,7,"div",8)(6,o1,6,4,"div",9),t.nrm(7,"app-patient-ultrasound-images-modal",null,0)),2&o&&(t.R
17$(3),t.SpI(" ",a.l("TreatmentCycle")," "),t.R7$(),t.Y8G("ngIf",a.treatmentCycleSelectItems),t.R7$(),t.Y8G("ngIf",!a.isMobile),t.R7$(),t.Y8G("ngIf",a.isMobile))},dependencies:[d.Sq,d.bT,h.BC,h.vS,m.XI,M.Ei,j.ms,k.Mj,k.kt,C._,E,d.vh],styles:[".filter-text[_ngcontent-%COMP%]{font-weight:700;font-size:12px;line-height:15px;letter-spacing:1.125px;color:#a9b0be}.overflow-x-scroll.round-border.mb-3[_ngcontent-%COMP%]{min-height:300px;position:relative}.p-dropdown-panel[_ngcontent-%COMP%]{position:absolute!important;z-index:1000}.end-text[_ngcontent-%COMP%]{color:#a9b0be!important;font-family:Mulish;font-weight:600}#table-head-cell[_ngcontent-%COMP%]{background-color:#fff;text-transform:uppercase;font-size:12px;color:var(--primary-color, #636fb8);padding:1.5rem;border-top:1px solid!important;border-bottom:1px solid!important;border-color:var(--primary-color, #636fb8)!important;border-width:1px}.table-head-cell[_ngcontent-%COMP%]{border:none!important;border-width:0!important;border-top:0!important;border-bottom:0!important}[_nghost-%COMP%]     .p-datatable .p-datatable-thead>tr>th{border:none!important;border-width:0!important}.table.borderless[_ngcontent-%COMP%]   th[_ngcontent-%COMP%], .table-responsive[_ngcontent-%COMP%]   .table.borderless[_ngcontent-%COMP%]   .table-header[_ngcontent-%COMP%]   th.table-head-cell[_ngcontent-%COMP%]{border:none!important}"]})}}return n})()},41828:(y,f,l)=>{l.d(f,{j:()=>h});var p=l(56610),g=l(37222),_=l(18497),u=l(48218),c=l(92780),t=l(96053),I=l(51887),v=l(11679),d=l(23279);let h=(()=>{class m{static{this.\u0275fac=function(k){return new(k||m)}}static{this.\u0275mod=d.$C({type:m})}static{this.\u0275inj=d.G2t({imports:[p.MD,g.YN,_.bG,u.kr,c.Q_,t.h6,I.u,v.W]})}}return m})()}}]);

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.