PageSourceSearch

https://portal.privacypillar.com/src_app_pagesettings_organization…zationdetails_module_ts.fe30f7db9aa43e85.js

js privacypillar.com collected 2026-09-24 09:09:40 UTC 136,060 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkprivacypillar_sfo3=self.webpackChunkprivacypillar_sfo3||[]).push([["src_app_pagesettings_organizationdetails_organizationdetails_module_ts"],{32984:(K,F,p)=>{p.r(F),p.d(F,{OrganizationdetailsModule:()=>Wi});var s=p(36895),c=p(24006),U=p(19119),Z=p(51692),k=p(15861),u=p(3940),A=p(68078),v=p(8929),M=p(80013),_=p(75778),h=p(7625),z=p(12553),q=p(12225),O=p(92340),I=p(36286),t=p(94650),E=p(31496),Y=p(43265),D=p(75902),J=p(55089),R=p(59922),g=p(20388),b=p(37407),d=p(59129),m=p(11481),y=p(24613),T=p(41277),j=p(32320),$=p(4358),W=p(14239),Q=p(96923),X=p(42111),V=p(548),L=p(28255),G=p(36718),tt=p(2854),et=p(48625);const it=["propertyModal"],nt=["confirmTemplate"],ot=["deletePropertyAlert"],rt=["PingpropertyModal"],at=["cannotdeleteorganizationAlert"],st=["pinviteMemberTable"],lt=["porgpropertyTable"],ct=["template"],dt=["deleteSmtpModal"];function pt(n,a){if(1&n){const e=t.EpF();t.TgZ(0,"button",39),t.NdJ("click",function(){t.CHM(e);const o=t.oxw();return o.disableOrganization("organization"),t.KtG(o.checkForQsTooltip())}),t._UZ(1,"i",40),t.TgZ(2,"span",41),t._uU(3," Delete"),t.qZA()()}}function mt(n,a){if(1&n&&(t.TgZ(0,"div",42)(1,"label",21),t._uU(2,"Assigned Plan name"),t.qZA(),t.TgZ(3,"p",22),t._uU(4),t.qZA()()),2&n){const e=t.oxw();
1t.xp6(4),t.Oqu(e.orgLicensedPlanName)}}function gt(n,a){if(1&n){const e=t.EpF();t.TgZ(0,"div",49)(1,"div",50)(2,"input",51),t.NdJ("input",function(o){t.CHM(e),t.oxw();const r=t.MAs(3);return t.KtG(r.filterGlobal(o.target.value,"contains"))})("ngModelChange",function(o){t.CHM(e);const r=t.oxw(2);return t.KtG(r.searchPropertyText=o)})("ngModelChange",function(o){t.CHM(e);const r=t.oxw(2);return t.KtG(r.inputValueChanged(o))}),t.qZA(),t.TgZ(3,"span",52)(4,"div",53),t._UZ(5,"i",54),t.qZA()()(),t.TgZ(6,"span",55)(7,"button",56),t.NdJ("click",function(){t.CHM(e);const o=t.oxw(2),r=t.MAs(66);return t.KtG(o.open(r,"property"))}),t._UZ(8,"i",57),t._uU(9," Add Property"),t.qZA()()()}if(2&n){const e=t.oxw(2);t.xp6(2),t.Q6J("ngModel",e.searchPropertyText),t.xp6(5),t.Q6J("ngClass",3!=e.quickDivID||e.quickDivID!=e.currentLinkID||e.iswindowclicked?"":"btn-qs-hightlight")("disabled",e.isViewOnlyAccess)}}function ut(n,a){1&n&&(t.TgZ(0,"tr")(1,"th",58),t._uU(2,"ID"),t.qZA(),t.TgZ(3,"th",59),t._uU(4,"Logo"),t.qZA(),t.TgZ(5,"th",60),t._uU(6,"Name "),t._UZ(7,"p-sortIcon",61),t.qZA(),t.TgZ(8,"th",62),t._uU(9,"Domain "),t._UZ(10,"p-sortIcon",63),t.qZA(),t.TgZ(11,"th",64),t._uU(12,"Subdomain"),t.qZA(),t.TgZ(13,"th",65),t._uU(14,"Plan Assigned "),t.qZA(),t.TgZ(15,"th",66),t._uU(16,"Action "),t.qZA(),t.TgZ(17,"th",67),t._uU(18,"Status "),t._UZ(19,"p-sortIcon",68),t.qZA()())}function _t(n,a){if(1&n&&(t.TgZ(0,"li"),t._uU(1),t.qZA()),2&n){const e=a.$implicit;t.xp6(1),t.Oqu(e)}}function ht(n,a){if(1&n&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&n){const e=a.$implicit;t.xp6(1),t.hij(" ",e.subscription.product.name," ")}}function ft(n,a){if(1&n){const e=t.EpF();t.TgZ(0,"span")(1,"button",78),t.NdJ("click",function(){t.CHM(e);const o=t.oxw(3);return t.KtG(o.redirectToManageLicense())}),t._uU(2,"Assign to Subscription"),t.qZA()()}if(2&n){const e=t.oxw().$implicit,i=t.oxw(2);t.xp6(1),t.Q6J("disabled",!e.active||i.isViewOnlyAccess)}}function vt(n,a){if(1&n){const e=t.EpF();t.TgZ(0,"a",79),t.NdJ("click",function(){t.CHM(e);const o=t.oxw().$implicit,r=t.oxw(2),l=t.MAs(66);return r.editModalPopup(l,o),t.KtG(r.checkForQsTooltip())}),t.TgZ(1,"span",80),t._UZ(2,"i",81),t.qZA()()}}function bt(n,a){if(1&n){const e=t.EpF();t.TgZ(0,"a",82),t.NdJ("click",function(){t.CHM(e);const o=t.oxw().$implicit,r=t.oxw(2);return r.disableProperty(o,"property"),t.KtG(r.checkForQsTooltip())}),t.TgZ(1,"span",80),t._UZ(2,"i",83),t.qZA()()}}const yt=function(n,a){return{"badge-success":n,"badge-secondary":a}};function xt(n,a){if(1&n&&(t.TgZ(0,"tr",69)(1,"td"),t._uU(2),t.qZA(),t.TgZ(3,"td")(4,"div",70),t._UZ(5,"img",71),t.qZA()(),t.TgZ(6,"td"),t._uU(7),t.qZA(),t.TgZ(8,"td")(9,"span"),t._uU(10),t.qZA()(),t.TgZ(11,"td")(12,"ul",72),t.YNc(13,_t,2,1,"li",73),t.qZA()(),t.TgZ(14,"td"),t.YNc(15,ht,2,1,"span",73),t.YNc(16,ft,3,1,"span",74),t.qZA(),t.TgZ(17,"td"),t.YNc(18,vt,3,0,"a",75),t.YNc(19,bt,3,0,"a",76),t.qZA(),t.TgZ(20,"td")(21,"span",77)(22,"span"),t._uU(23),t.qZA()()()()),2&n){const e=a.rowIndex,i=a.$implicit,o=t.oxw(2);t.xp6(2),t.hij(" ",e+1," "),t.xp6(3),t.Q6J("src",o.loadLogoURL(i.logo_url),t.LSH),t.xp6(2),t.hij(" ",i.name," "),t.xp6(3),t.hij(" ",i.website,""),t.xp6(3),t.Q6J("ngForOf",null==i?null:i.sub_domain),t.xp6(2),t.Q6J("ngForOf",i.property_licenses),t.xp6(1),t.Q6J("ngIf",0==i.property_licenses.length),t.xp6(2),t.Q6J("ngIf",i.active&&!o.isViewOnlyAccess),t.xp6(1),t.Q6J("ngIf",i.active&&!o.isViewOnlyAccess),t.xp6(2),t.Q6J("ngClass",t.WLB(11,yt,i.active,!i.active)),t.xp6(2),t.Oqu(i.active?"Active":"Disabled")}}function Ct(n,a){1&n&&(t.TgZ(0,"tr")(1,"td",84),t._uU(2,"No record found."),t.qZA()())}const N=function(){return[5,10,15,20,25,30]},Tt=function(){return["name","website"]};function Ot(n,a){if(1&n){const e=t.EpF();t.TgZ(0,"div",10)(1,"div",18)(2,"p-table",43,44),t.NdJ("onLazyLoad",function(o){t.CHM(e);const r=t.oxw();return t.KtG(r.loadPropertylist(o))}),t.YNc(4,gt,10,3,"ng-template",45),t.YNc(5,ut,20,0,"ng-template",46),t.YNc(6,xt,24,14,"ng-template",47),t.YNc(7,Ct,3,0,"ng-template",48),t.qZA()()()}if(2&n){const e=t.oxw();
1t.xp6(2),t.Q6J("value",e.properties)("lazy",!0)("rowHover",!1)("rows",5)("showCurrentPageReport",!0)("rowsPerPageOptions",t.DdM(13,N))("loading",!1)("rowHover",!0)("paginator",!0)("totalRecords",e.totalPropertyCount)("filterDelay",0)("customSort",!0)("globalFilterFields",t.DdM(14,Tt))}}function Zt(n,a){1&n&&(t.TgZ(0,"tr")(1,"th",58),t._uU(2,"ID"),t.qZA(),t.TgZ(3,"th",93),t._uU(4,"Name "),t._UZ(5,"p-sortIcon",94),t.qZA(),t.TgZ(6,"th",95),t._uU(7,"Email "),t._UZ(8,"p-sortIcon",96),t.qZA(),t.TgZ(9,"th",97),t._uU(10,"Role "),t._UZ(11,"p-sortIcon",98),t.qZA(),t.TgZ(12,"th",99),t._uU(13,"2FA Status"),t.qZA(),t.TgZ(14,"th",100),t._uU(15,"Last Login"),t.qZA(),t.TgZ(16,"th",66),t._uU(17,"Action"),t.qZA()())}function At(n,a){if(1&n){const e=t.EpF();t.TgZ(0,"p-inputSwitch",110),t.NdJ("ngModelChange",function(o){t.CHM(e);const r=t.oxw().$implicit;return t.KtG(r.two_fa_active=o)})("onChange",function(){t.CHM(e);const o=t.oxw().$implicit,r=t.oxw(2);return t.KtG(r.onUpdateTFAUser(o.approver_id))}),t.qZA()}if(2&n){const e=t.oxw().$implicit,i=t.oxw(2);t.Q6J("disabled",i.enableTwoFA&&e.two_fa_active)("ngModel",e.two_fa_active)}}function Mt(n,a){if(1&n){const e=t.EpF();t.O4$(),t.TgZ(0,"svg",111),t.NdJ("click",function(){t.CHM(e);const o=t.oxw().$implicit,r=t.oxw(2);return t.KtG(r.onResetTFAUser(o.approver_id))}),t._UZ(1,"path",112),t.qZA()}}function Ut(n,a){if(1&n){const e=t.EpF();t.TgZ(0,"button",113),t.NdJ("click",function(){t.CHM(e);const o=t.oxw().$implicit,r=t.oxw(2);return t.KtG(r.onResendInvitation(o.approver_id))}),t._UZ(1,"i",114),t._uU(2," Resend Invitation"),t.qZA()}if(2&n){const e=t.oxw(3);t.Q6J("disabled",e.isViewOnlyAccess)}}function wt(n,a){if(1&n&&(t._uU(0),t.ALo(1,"timeago")),2&n){const e=t.oxw().$implicit;t.hij(" ",t.lcZ(1,1,e.user_last_login)," ")}}function Pt(n,a){1&n&&(t.TgZ(0,"span",115),t._UZ(1,"i",116)(2,"i",117),t.qZA()),2&n&&t.Q6J("adaptivePosition",!0)}function zt(n,a){if(1&n){const e=t.EpF();t.TgZ(0,"a",118),t.NdJ("click",function(){t.CHM(e);const o=t.oxw().$implicit,r=t.oxw(2),l=t.MAs(70);return r.editUserInvitation(l,o),t.KtG(r.checkForQsTooltip())}),t.TgZ(1,"span",119),t._UZ(2,"i",120),t.qZA()()}}function qt(n,a){if(1&n){const e=t.EpF();t.TgZ(0,"a",121),t.NdJ("click",function(){t.CHM(e);const o=t.oxw().$implicit,r=t.oxw(2);return t.KtG(r.removeTeamMember(o,"team member"))}),t._UZ(1,"i",83),t.qZA()}}function Ft(n,a){if(1&n&&(t.TgZ(0,"tr",69)(1,"td"),t._uU(2),t.qZA(),t.TgZ(3,"td"),t._uU(4),t.qZA(),t.TgZ(5,"td"),t._uU(6),t.qZA(),t.TgZ(7,"td")(8,"span"),t._uU(9),t.qZA()(),t.TgZ(10,"td"),t.YNc(11,At,1,2,"p-inputSwitch",101),t.YNc(12,Mt,2,0,"svg",102),t.qZA(),t.TgZ(13,"td",103),t.YNc(14,Ut,3,1,"button",104),t.YNc(15,wt,2,3,"ng-template",null,105,t.W1O),t.qZA(),t.TgZ(17,"td",106),t.YNc(18,Pt,3,1,"span",107),t.YNc(19,zt,3,0,"a",108),t.YNc(20,qt,2,0,"a",109),t.qZA()()),2&n){const e=a.rowIndex,i=a.$implicit,o=t.MAs(16),r=t.oxw(2);t.xp6(2),t.hij(" ",e+1," "),t.xp6(2),t.hij(" ",i.user_name," "),t.xp6(2),t.hij(" ",i.user_email," "),t.xp6(3),t.hij(" ",i.role_name,""),t.xp6(2),t.Q6J("ngIf","Super Administrator(Owner)"===r.userRole||"Super Administrator"===r.userRole||"Administrator"===r.userRole),t.xp6(1),t.Q6J("ngIf",i.two_fa_active&&("Super Administrator(Owner)"===r.userRole||"Super Administrator"===r.userRole||"Administrator"===r.userRole)),t.xp6(1),t.Q6J("ngClass",""),t.xp6(1),t.Q6J("ngIf","Invitation Pending"===i.user_last_login||"Invitation sent"===i.user_last_login||""===i.user_last_login)("ngIfElse",o),t.xp6(3),t.Q6J("ngClass",""),t.xp6(1),t.Q6J("ngIf",0==e&&"Super Administrator"==i.role_name),t.xp6(1),t.Q6J("ngIf","Super Administrator"!==i.role_name&&!r.isViewOnlyAccess),t.xp6(1),t.Q6J("ngIf","Super Administrator"!==i.role_name&&!r.isViewOnlyAccess)}}function It(n,a){1&n&&(t.TgZ(0,"tr")(1,"td",122),t._uU(2,"No record found."),t.qZA()())}function St(n,a){if(1&n){const e=t.EpF();t.TgZ(0,"div",10)(1,"div",85)(2,"div",86)(3,"div",87)(4,"input",88),t.NdJ("ngModelChange",function(o){t.CHM(e);const r=t.oxw();return t.KtG(r.searchText=o)})("ngModelChange",function(o){t.CHM(e);const r=t.oxw();return t.KtG(r.inputValueChangedForOrgUser(r.searchText,o))}),t.qZA(),t.TgZ(5,"span",52)(6,"div",53),t._UZ(7,"i",54),t.qZA()()(),t.TgZ(8,"div",89)(9,"button",90),t.NdJ("click",function(){t.CHM(e);const o=t.oxw(),r=t.MAs(70);return o.open(r,"invite"),t.KtG(o.checkForQsTooltip())}),t._UZ(10,"i",57),t._uU(11," Invite User"),t.qZA()()()(),t.TgZ(12,"div",18)(13,"p-table",91,92),t.NdJ("firstChange",function(o){t.CHM(e);const r=t.oxw();return t.KtG(r.first=o)})("onLazyLoad",function(o){t.CHM(e);const r=t.oxw();
1return t.KtG(r.loadTeamMemberlist(o))}),t.YNc(15,Zt,18,0,"ng-template",46),t.YNc(16,Ft,21,13,"ng-template",47),t.YNc(17,It,3,0,"ng-template",48),t.qZA()()()}if(2&n){const e=t.oxw();t.xp6(4),t.Q6J("ngModel",e.searchText),t.xp6(5),t.Q6J("disabled",e.isViewOnlyAccess),t.xp6(4),t.Q6J("value",e.teamlist)("lazy",!0)("first",e.first)("rowHover",!1)("rows",5)("showCurrentPageReport",!0)("rowsPerPageOptions",t.DdM(13,N))("loading",e.loadingteamlist)("paginator",!0)("customSort",!0)("totalRecords",e.totalTeamMemberCount)}}function kt(n,a){if(1&n){const e=t.EpF();t.TgZ(0,"button",130),t.NdJ("click",function(){const r=t.CHM(e).$implicit,l=t.oxw(2);return t.KtG(l.onDropdownChange(r.name))}),t._uU(1),t.qZA()}if(2&n){const e=a.$implicit;t.xp6(1),t.Oqu(e.label)}}function Nt(n,a){1&n&&(t.TgZ(0,"tr")(1,"th",59),t._uU(2,"ID"),t.qZA(),t.TgZ(3,"th",59),t._uU(4,"Name "),t.qZA(),t.TgZ(5,"th",59),t._uU(6,"From Email "),t.qZA(),t.TgZ(7,"th",59),t._uU(8,"From Name "),t.qZA(),t.TgZ(9,"th",59),t._uU(10,"Reply Email"),t.qZA(),t.TgZ(11,"th",59),t._uU(12,"Verified"),t.qZA(),t.TgZ(13,"th",59),t._uU(14,"Action"),t.qZA()())}function Dt(n,a){1&n&&(t.ynx(0),t._UZ(1,"i",138),t.BQk())}function Jt(n,a){1&n&&t._UZ(0,"i",139)}function Qt(n,a){if(1&n){const e=t.EpF();t.TgZ(0,"tr",69)(1,"td"),t._uU(2),t.qZA(),t.TgZ(3,"td"),t._uU(4),t.qZA(),t.TgZ(5,"td"),t._uU(6),t.qZA(),t.TgZ(7,"td"),t._uU(8),t.qZA(),t.TgZ(9,"td"),t._uU(10),t.qZA(),t.TgZ(11,"td"),t.YNc(12,Dt,2,0,"ng-container",131),t.YNc(13,Jt,1,0,"ng-template",null,132,t.W1O),t.qZA(),t.TgZ(15,"td")(16,"button",133),t.NdJ("click",function(){const r=t.CHM(e).$implicit,l=t.oxw(2);return t.KtG(l.onRefresh(r))}),t.O4$(),t.TgZ(17,"svg",134),t._UZ(18,"path",135),t.qZA()(),t.kcU(),t.TgZ(19,"button",136),t.NdJ("click",function(){const r=t.CHM(e).$implicit,l=t.oxw(2);return t.KtG(l.onResendEmail(r))}),t._UZ(20,"i",137),t._uU(21,"Resend"),t.qZA()()()}if(2&n){const e=a.$implicit,i=t.MAs(14);t.xp6(2),t.hij(" ",e.id," "),t.xp6(2),t.hij(" ",e.name," "),t.xp6(2),t.hij(" ",e.from_email," "),t.xp6(2),t.hij(" ",e.from_name," "),t.xp6(2),t.hij(" ",e.reply_email," "),t.xp6(2),t.Q6J("ngIf",e.verified)("ngIfElse",i),t.xp6(7),t.Q6J("title",e.verified?"Email already verified":"")("disabled",1==e.verified)}}function Lt(n,a){1&n&&(t.TgZ(0,"tr")(1,"td",140),t._uU(2,"No record found."),t.qZA()())}function Et(n,a){1&n&&(t.TgZ(0,"tr")(1,"th",59),t._uU(2,"ID"),t.qZA(),t.TgZ(3,"th",59),t._uU(4,"SMTP Name "),t.qZA(),t.TgZ(5,"th",59),t._uU(6,"From Email "),t.qZA(),t.TgZ(7,"th",59),t._uU(8,"From Name "),t.qZA(),t.TgZ(9,"th",59),t._uU(10,"SMTP Server"),t.qZA(),t.TgZ(11,"th",59),t._uU(12,"SMTP Port"),t.qZA(),t.TgZ(13,"th",59),t._uU(14,"Security Protocol"),t.qZA(),t.TgZ(15,"th",59),t._uU(16," Actions"),t.qZA()())}function Yt(n,a){if(1&n){const e=t.EpF();t.TgZ(0,"tr",69)(1,"td"),t._uU(2),t.qZA(),t.TgZ(3,"td"),t._uU(4),t.qZA(),t.TgZ(5,"td"),t._uU(6),t.qZA(),t.TgZ(7,"td"),t._uU(8),t.qZA(),t.TgZ(9,"td"),t._uU(10),t.qZA(),t.TgZ(11,"td"),t._uU(12),t.qZA(),t.TgZ(13,"td"),t._uU(14),t.qZA(),t.TgZ(15,"td")(16,"a",141),t.NdJ("click",function(){const r=t.CHM(e).$implicit,l=t.oxw(2);return t.KtG(l.editSmtpModal(r))}),t.TgZ(17,"span",119),t._UZ(18,"i",120),t.qZA()(),t.TgZ(19,"a",142),t.NdJ("click",function(){const r=t.CHM(e).$implicit,l=t.oxw(2);return t.KtG(l.deleteSmtp(r.id))}),t._UZ(20,"i",83),t.qZA()()()}if(2&n){const e=a.$implicit;t.xp6(2),t.hij(" ",e.id," "),t.xp6(2),t.hij(" ",e.smtp_name," "),t.xp6(2),t.hij(" ",e.sender_email," "),t.xp6(2),t.hij(" ",e.sender_name," "),t.xp6(2),t.hij(" ",e.smtp_server," "),t.xp6(2),t.hij(" ",e.smtp_port," "),t.xp6(2),t.hij(" ",e.security_protocol," ")}}function Rt(n,a){1&n&&(t.TgZ(0,"tr")(1,"td",140),t._uU(2,"No record found."),t.qZA()())}function Vt(n,a){if(1&n){const e=t.EpF();t.TgZ(0,"div",10)(1,"div",85)(2,"div",86),t._UZ(3,"div",87),t.TgZ(4,"div",89)(5,"mat-menu",null,123),t.YNc(7,kt,2,1,"button",124),t.qZA(),t.TgZ(8,"button",125),t._uU(9," Configure Sender"),t.qZA()()()(),t.TgZ(10,"div",18)(11,"p-accordion")(12,"p-accordionTab",126)(13,"p-table",127,128),t.NdJ("firstChange",function(o){t.CHM(e);const r=t.oxw();return t.KtG(r.first=o)}),t.YNc(15,Nt,15,0,"ng-template",46),t.YNc(16,Qt,22,9,"ng-template",47),t.YNc(17,Lt,3,0,"ng-template",48),t.qZA()(),t.TgZ(18,"p-accordionTab",129)(19,"p-table",127,128),t.NdJ("firstChange",function(o){t.CHM(e);const r=t.oxw();return t.KtG(r.first=o)}),t.YNc(21,Et,17,0,"ng-template",46),t.YNc(22,Yt,21,7,"ng-template",47),t.YNc(23,Rt,3,0,"ng-template",48),t.qZA()()()()()}if(2&n){const e=t.MAs(6),i=t.oxw();
1t.xp6(7),t.Q6J("ngForOf",i.configureSenderList),t.xp6(1),t.Q6J("disabled",i.isViewOnlyAccess)("matMenuTriggerFor",e),t.xp6(5),t.Q6J("value",i.senderList)("lazy",!0)("first",i.first)("rowHover",!1)("rows",5)("showCurrentPageReport",!0)("rowsPerPageOptions",t.DdM(17,N)),t.xp6(6),t.Q6J("value",i.senderSmtpList)("lazy",!0)("first",i.first)("rowHover",!1)("rows",5)("showCurrentPageReport",!0)("rowsPerPageOptions",t.DdM(18,N))}}function Kt(n,a){1&n&&(t.TgZ(0,"div"),t._uU(1,"Organization name is required"),t.qZA())}function Gt(n,a){1&n&&(t.TgZ(0,"div"),t._uU(1,"Organization allow only Alphanumeric "),t.qZA())}function Ht(n,a){1&n&&(t.TgZ(0,"div"),t._uU(1,"Organization must be at least 2 characters long."),t.qZA())}function Bt(n,a){1&n&&(t.TgZ(0,"div"),t._uU(1,"Organization should not be greater than 20 characters."),t.qZA())}function jt(n,a){if(1&n&&(t.TgZ(0,"div",177),t.YNc(1,Kt,2,0,"div",74),t.YNc(2,Gt,2,0,"div",74),t.YNc(3,Ht,2,0,"div",74),t.YNc(4,Bt,2,0,"div",74),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.Q6J("ngIf",e.editOrganisationForm.controls.organizationName.errors.required),t.xp6(1),t.Q6J("ngIf",e.editOrganisationForm.controls.organizationName.errors.pattern),t.xp6(1),t.Q6J("ngIf",null==e.editOrganisationForm.controls.organizationName?null:e.editOrganisationForm.controls.organizationName.errors.minlength),t.xp6(1),t.Q6J("ngIf",null==e.editOrganisationForm.controls.organizationName?null:e.editOrganisationForm.controls.organizationName.errors.maxlength)}}function $t(n,a){1&n&&(t.TgZ(0,"div"),t._uU(1,"Address 1 is required"),t.qZA())}function Wt(n,a){1&n&&(t.TgZ(0,"div"),t._uU(1,"Address 1 must be at least 6 characters long."),t.qZA())}function Xt(n,a){1&n&&(t.TgZ(0,"div"),t._uU(1,"Address 1 should not be greater than 200 characters."),t.qZA())}function te(n,a){if(1&n&&(t.TgZ(0,"div",177),t.YNc(1,$t,2,0,"div",74),t.YNc(2,Wt,2,0,"div",74),t.YNc(3,Xt,2,0,"div",74),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.Q6J("ngIf",e.editOrganisationForm.controls.addressOne.errors.required),t.xp6(1),t.Q6J("ngIf",null==e.editOrganisationForm.controls.addressOne.errors?null:e.editOrganisationForm.controls.addressOne.errors.minlength),t.xp6(1),t.Q6J("ngIf",null==e.editOrganisationForm.controls.addressOne.errors?null:e.editOrganisationForm.controls.addressOne.errors.maxlength)}}function ee(n,a){1&n&&(t.TgZ(0,"div"),t._uU(1,"City is required"),t.qZA())}function ie(n,a){1&n&&(t.TgZ(0,"div"),t._uU(1,"City allow only Alphabets"),t.qZA())}function ne(n,a){1&n&&(t.TgZ(0,"div"),t._uU(1,"City must be at least 2 characters long."),t.qZA())}function oe(n,a){1&n&&(t.TgZ(0,"div"),t._uU(1,"City should not be greater than 250 characters. "),t.qZA())}function re(n,a){if(1&n&&(t.TgZ(0,"div",177),t.YNc(1,ee,2,0,"div",74),t.YNc(2,ie,2,0,"div",74),t.YNc(3,ne,2,0,"div",74),t.YNc(4,oe,2,0,"div",74),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.Q6J("ngIf",e.editOrganisationForm.controls.city.errors.required),t.xp6(1),t.Q6J("ngIf",e.editOrganisationForm.controls.city.errors.pattern),t.xp6(1),t.Q6J("ngIf",e.editOrganisationForm.controls.city.errors.minlength),t.xp6(1),t.Q6J("ngIf",e.editOrganisationForm.controls.city.errors.maxlength)}}function ae(n,a){1&n&&(t.TgZ(0,"div"),t._uU(1,"State is required"),t.qZA())}function se(n,a){1&n&&(t.TgZ(0,"div"),t._uU(1,"State allow only Alphabets"),t.qZA())}function le(n,a){1&n&&(t.TgZ(0,"div"),t._uU(1,"State must be at least 2 characters long."),t.qZA())}function ce(n,a){1&n&&(t.TgZ(0,"div"),t._uU(1,"State should not be greater than 250 characters. "),t.qZA())}function de(n,a){if(1&n&&(t.TgZ(0,"div",177),t.YNc(1,ae,2,0,"div",74),t.YNc(2,se,2,0,"div",74),t.YNc(3,le,2,0,"div",74),t.YNc(4,ce,2,0,"div",74),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.Q6J("ngIf",e.editOrganisationForm.controls.state.errors.required),t.xp6(1),t.Q6J("ngIf",e.editOrganisationForm.controls.state.errors.pattern),t.xp6(1),t.Q6J("ngIf",e.editOrganisationForm.controls.state.errors.minlength),t.xp6(1),t.Q6J("ngIf",e.editOrganisationForm.controls.state.errors.maxlength)}}function pe(n,a){1&n&&(t.TgZ(0,"div"),t._uU(1,"Zip code is required"),t.qZA())}function me(n,a){1&n&&(t.TgZ(0,"div"),t._uU(1,"Zip code allow only Numeric & Alphanumeric values"),t.qZA())}function ge(n,a){if(1&n&&(t.TgZ(0,"div",177),t.YNc(1,pe,2,0,"div",74),t.YNc(2,me,2,0,"div",74),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.Q6J("ngIf",e.editOrganisationForm.controls.zipcode.errors.required),t.xp6(1),t.Q6J("ngIf",e.editOrganisationForm.controls.zipcode.errors.pattern)}}function ue(n,a){1&n&&(t.TgZ(0,"div"),t._uU(1,"Email is required"),t.qZA())}function _e(n,a){1&n&&(t.TgZ(0,"div"),t._uU(1,"Please enter valid email address"),t.qZA())}function he(n,a){if(1&n&&(t.TgZ(0,"div",177),t.YNc(1,ue,2,0,"div",74),t.YNc(2,_e,2,0,"div",74),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.Q6J("ngIf",e.editOrganisationForm.controls.email.errors.required),t.xp6(1),t.Q6J("ngIf",e.editOrganisationForm.controls.email.errors.email)}}function fe(n,a){1&n&&(t.TgZ(0,"div",178)(1,"div"),t._uU(2,"Enter valid phone number"),t.qZA()())}const f=function(n){return{"is-invalid":n}},ve=function(n){return{"is-invalid-intphone-textbox":n}};function be(n,a){if(1&n){const e=t.EpF();t.TgZ(0,"div",143)(1,"h4",144),t._uU(2,"Edit Organization Details"),t.qZA(),t.TgZ(3,"button",145),t.NdJ("click",function(){const r=t.CHM(e).$implicit,l=t.oxw();return r.dismiss("Close Clicked"),t.KtG(l.checkForQsTooltip())}),t.TgZ(4,"span",146),t._uU(5,"\xd7"),t.qZA()()(),t.TgZ(6,"div",147)(7,"form",148),t.NdJ("ngSubmit",function(){t.CHM(e);const o=t.oxw();return o.updateOrganisationData(),t.KtG(o.checkForQsTooltip())}),t.TgZ(8,"div",8)(9,"div",149)(10,"div",150)(11,"label",151),t._uU(12,"Organization Name"),t._UZ(13,"i",152),t.qZA(),t._UZ(14,"input",153),t.YNc(15,jt,5,4,"div",154),t.qZA()()(),t.TgZ(16,"div",8)(17,"div",155)(18,"div",150)(19,"label",156),t._uU(20,"Tax ID"),t.qZA(),t._UZ(21,"input",157),t.qZA()(),t.TgZ(22,"div",155)(23,"div",150)(24,"label",158),t._uU(25,"Address: Line 1"),t._UZ(26,"i",152),t.qZA(),t._UZ(27,"input",159),t.YNc(28,te,4,3,"div",154),t.qZA()()(),t.TgZ(29,"div",8)(30,"div",155)(31,"div",150)(32,"label",160),t._uU(33,"Address: Line 2"),t.qZA(),t._UZ(34,"input",161),t.qZA()(),t.TgZ(35,"div",155)(36,"div",150)(37,"label",162),t._uU(38,"City"),t._UZ(39,"i",152),t.qZA(),t._UZ(40,"input",163),t.YNc(41,re,5,4,"div",154),t.qZA()()(),t.TgZ(42,"div",8)(43,"div",155)(44,"div",150)(45,"label",164),t._uU(46,"State"),t._UZ(47,"i",152),t.qZA(),t._UZ(48,"input",165),t.YNc(49,de,5,4,"div",154),t.qZA()(),t.TgZ(50,"div",155)(51,"div",150)(52,"label",164),t._uU(53,"ZIP Code"),t._UZ(54,"i",152),t.qZA(),t._UZ(55,"input",166),t.YNc(56,ge,3,2,"div",154),t.qZA()()(),t.TgZ(57,"div",8)(58,"div",155)(59,"div",150)(60,"label",167),t._uU(61,"Email"),t._UZ(62,"i",152),t.qZA(),t._UZ(63,"input",168),t.YNc(64,he,3,2,"div",154),t.qZA()(),t.TgZ(65,"div",155)(66,"div",169)(67,"label",170),t._uU(68,"Phone"),t.qZA(),t._UZ(69,"ngx-intl-tel-input",171),t.qZA(),t.YNc(70,fe,3,0,"div",172),t.qZA()(),t.TgZ(71,"div",173)(72,"div",174)(73,"button",175),t.NdJ("click",function(){const r=t.CHM(e).$implicit,l=t.oxw();return r.dismiss("Close Clicked"),t.KtG(l.checkForQsTooltip())}),t._uU(74,"Cancel"),t.qZA(),t.TgZ(75,"button",176),t._uU(76,"Save"),t.qZA()()()()()}if(2&n){const e=t.oxw();
1t.xp6(7),t.Q6J("formGroup",e.editOrganisationForm),t.xp6(7),t.Q6J("ngClass",t.VKq(24,f,e.editOrganisationForm.controls.organizationName.invalid&&(e.editOrganisationForm.controls.organizationName.dirty||e.editOrganisationForm.controls.organizationName.touched)||e.submitted&&e.editOrg.organizationName.errors)),t.xp6(1),t.Q6J("ngIf",e.editOrganisationForm.controls.organizationName.invalid&&(e.editOrganisationForm.controls.organizationName.dirty||e.editOrganisationForm.controls.organizationName.touched)||e.submitted&&e.editOrg.organizationName.errors),t.xp6(12),t.Q6J("ngClass",t.VKq(26,f,e.editOrganisationForm.controls.addressOne.invalid&&(e.editOrganisationForm.controls.addressOne.dirty||e.editOrganisationForm.controls.addressOne.touched)||e.submitted&&e.editOrg.addressOne.errors)),t.xp6(1),t.Q6J("ngIf",e.editOrganisationForm.controls.addressOne.invalid&&(e.editOrganisationForm.controls.addressOne.dirty||e.editOrganisationForm.controls.addressOne.touched)||e.submitted&&e.editOrg.addressOne.errors),t.xp6(12),t.Q6J("ngClass",t.VKq(28,f,e.editOrganisationForm.controls.city.invalid&&(e.editOrganisationForm.controls.city.dirty||e.editOrganisationForm.controls.city.touched)||e.submitted&&e.editOrg.city.errors)),t.xp6(1),t.Q6J("ngIf",e.editOrganisationForm.controls.city.invalid&&(e.editOrganisationForm.controls.city.dirty||e.editOrganisationForm.controls.city.touched)||e.submitted&&e.editOrg.city.errors),t.xp6(7),t.Q6J("ngClass",t.VKq(30,f,e.editOrganisationForm.controls.state.invalid&&(e.editOrganisationForm.controls.state.dirty||e.editOrganisationForm.controls.state.touched)||e.submitted&&e.editOrg.state.errors)),t.xp6(1),t.Q6J("ngIf",e.editOrganisationForm.controls.state.invalid&&(e.editOrganisationForm.controls.state.dirty||e.editOrganisationForm.controls.state.touched)||e.submitted&&e.editOrg.state.errors),t.xp6(6),t.Q6J("ngClass",t.VKq(32,f,e.editOrganisationForm.controls.zipcode.invalid&&(e.editOrganisationForm.controls.zipcode.dirty||e.editOrganisationForm.controls.zipcode.touched)||e.submitted&&e.editOrg.zipcode.errors)),t.xp6(1),t.Q6J("ngIf",e.editOrganisationForm.controls.zipcode.invalid&&(e.editOrganisationForm.controls.zipcode.dirty||e.editOrganisationForm.controls.zipcode.touched)||e.submitted&&e.editOrg.zipcode.errors),t.xp6(7),t.Q6J("ngClass",t.VKq(34,f,e.editOrganisationForm.controls.email.invalid&&(e.editOrganisationForm.controls.email.dirty||e.editOrganisationForm.controls.email.touched)||e.submitted&&e.editOrg.email.errors)),t.xp6(1),t.Q6J("ngIf",e.editOrganisationForm.controls.email.invalid&&(e.editOrganisationForm.controls.email.dirty||e.editOrganisationForm.controls.email.touched)||e.submitted&&e.editOrg.email.errors),t.xp6(5),t.Q6J("cssClass","int-phone-custom")("enableAutoCountrySelect",!0)("preferredCountries",e.preferredCountries)("enablePlaceholder",!0)("searchCountryFlag",!0)("selectFirstCountry",!0)("maxLength",15)("phoneValidation",!0)("separateDialCode",!0)("ngClass",t.VKq(36,ve,e.editOrganisationForm.controls.phone.touched&&(null==e.editOrganisationForm.controls.phone?null:e.editOrganisationForm.controls.phone.invalid)||(null==e.editOrganisationForm.controls.phone?null:e.editOrganisationForm.controls.phone.invalid)&&e.submitted)),t.xp6(1),t.Q6J("ngIf",e.editOrganisationForm.controls.phone.touched&&(null==e.editOrganisationForm.controls.phone?null:e.editOrganisationForm.controls.phone.invalid)||(null==e.editOrganisationForm.controls.phone?null:e.editOrganisationForm.controls.phone.invalid)&&e.submitted||e.submitted&&(null==e.editOrganisationForm.controls.phone||null==e.editOrganisationForm.controls.phone.errors?null:e.editOrganisationForm.controls.phone.errors.required))}}function ye(n,a){if(1&n){const e=t.EpF();t.TgZ(0,"app-smtp-configuration-modal",179),t.NdJ("closeModal",function(o){t.CHM(e);const r=t.oxw();return t.KtG(r.closeModal(o))})("connectionSuccessStatus",function(o){t.CHM(e);const r=t.oxw();return t.KtG(r.connectionSuccessStatus(o))})("refreshSmtpList",function(){t.CHM(e);const o=t.oxw();return t.KtG(o.onGetSmtpList())}),t.qZA()}if(2&n){const e=t.oxw();
1t.Q6J("smtpModalType",e.smtpModalType)("smtpConnectionDetails",e.smtpDetails)}}function xe(n,a){if(1&n){const e=t.EpF();t.TgZ(0,"div",143)(1,"h4",144),t._uU(2,"Alert!"),t.qZA(),t.TgZ(3,"button",145),t.NdJ("click",function(){t.CHM(e);const o=t.oxw();return t.KtG(o.modalRef.hide())}),t.TgZ(4,"span",146),t._uU(5,"\xd7"),t.qZA()()(),t.TgZ(6,"div",147)(7,"h6"),t._uU(8),t.qZA(),t.TgZ(9,"div",180)(10,"div",174)(11,"button",181),t.NdJ("click",function(){t.CHM(e);const o=t.oxw();return t.KtG(o.cancelpingmodal())}),t._uU(12,"Cancel"),t.qZA(),t.TgZ(13,"button",182),t.NdJ("click",function(){t.CHM(e);const o=t.oxw();return t.KtG(o.onForceSubmit())}),t._uU(14,"Save"),t.qZA()()()()}if(2&n){const e=t.oxw();t.xp6(8),t.hij(" ",e.pingerrormessage," ")}}function Ce(n,a){if(1&n&&(t.TgZ(0,"h4",144),t._uU(1,"Add Property "),t.TgZ(2,"span",199),t._uU(3),t.qZA()()),2&n){const e=t.oxw(2);t.xp6(3),t.hij("for ",e.organizationName,"")}}function Te(n,a){1&n&&(t.TgZ(0,"h4",144),t._uU(1,"Edit Property"),t.qZA())}function Oe(n,a){1&n&&(t.TgZ(0,"div"),t._uU(1,"Property name is required"),t.qZA())}function Ze(n,a){1&n&&(t.TgZ(0,"div"),t._uU(1,"Property name allow only Alphanumeric and should not contain more than 1 space at the start & end also cannot contain numeric values at start"),t.qZA())}function Ae(n,a){if(1&n&&(t.TgZ(0,"div",177),t.YNc(1,Oe,2,0,"div",74),t.YNc(2,Ze,2,0,"div",74),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.Q6J("ngIf",e.organisationPropertyForm.controls.propertyname.errors.required),t.xp6(1),t.Q6J("ngIf",e.organisationPropertyForm.controls.propertyname.errors.pattern)}}function Me(n,a){if(1&n&&(t.ynx(0),t.TgZ(1,"option",200),t._uU(2),t.qZA(),t.BQk()),2&n){const e=a.$implicit;t.xp6(1),t.Q6J("value",e),t.xp6(1),t.Oqu(e)}}function Ue(n,a){1&n&&(t.TgZ(0,"div"),t._uU(1,"Website address is required"),t.qZA())}function we(n,a){1&n&&(t.TgZ(0,"div"),t._uU(1,"Website address should be in lower case and should not contain protocol like 'http:// , https://'"),t.qZA())}function Pe(n,a){if(1&n&&(t.TgZ(0,"div",177),t.YNc(1,Ue,2,0,"div",74),t.YNc(2,we,2,0,"div",74),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.Q6J("ngIf",e.organisationPropertyForm.controls.website.errors.required),t.xp6(1),t.Q6J("ngIf",e.organisationPropertyForm.controls.website.errors.pattern)}}function ze(n,a){if(1&n){const e=t.EpF();t.TgZ(0,"button",201),t.NdJ("click",function(){t.CHM(e);const o=t.oxw(2);return t.KtG(o.addSubDomain())}),t._uU(1,"Add Subdomain"),t.qZA()}}function qe(n,a){1&n&&(t.TgZ(0,"label",202),t._uU(1,"Sub Domains"),t._UZ(2,"i",152),t.qZA())}function Fe(n,a){if(1&n){const e=t.EpF();t.TgZ(0,"div",216),t.NdJ("click",function(){t.CHM(e);const o=t.oxw(3);return t.KtG(o.addSubDomain())}),t.TgZ(1,"button",217),t._UZ(2,"i",218),t.qZA()()}}function Ie(n,a){1&n&&(t.TgZ(0,"div",219),t._uU(1," Sub-Domain is required "),t.qZA())}function Se(n,a){if(1&n){const e=t.EpF();t.TgZ(0,"div",203)(1,"div",204)(2,"p",205),t._uU(3),t.qZA()(),t.TgZ(4,"div",206),t._UZ(5,"input",207),t.qZA(),t.TgZ(6,"div",208)(7,"p",209),t._uU(8),t.qZA(),t.YNc(9,Fe,3,0,"div",210),t.TgZ(10,"div",211),t.NdJ("click",function(){const r=t.CHM(e).index,l=t.oxw(2);return t.KtG(l.removeSubDomain(r))}),t.TgZ(11,"button",212),t._UZ(12,"i",213),t.qZA()()(),t.TgZ(13,"div",214),t.YNc(14,Ie,2,0,"div",215),t.qZA()()}if(2&n){const e=a.index,i=a.last,o=t.oxw(2);t.xp6(3),t.Oqu(o.organisationPropertyForm.value.protocol),t.xp6(2),t.Q6J("formControlName",e)("ngClass",t.VKq(7,f,o.subDomain.controls[e].errors)),t.xp6(3),t.hij(".",o.onFilterWebsite(o.organisationPropertyForm.value.website),""),t.xp6(1),t.Q6J("ngIf",i),t.xp6(1),t.Q6J("ngClass",i?"":"ml-1"),t.xp6(4),t.Q6J("ngIf",null==o.subDomain.controls[e].errors?null:o.subDomain.controls[e].errors.required)}}function ke(n,a){if(1&n){const e=t.EpF();t.TgZ(0,"div",143),t.YNc(1,Ce,4,1,"h4",183),t.YNc(2,Te,2,0,"ng-template",null,184,t.W1O),t.TgZ(4,"button",145),t.NdJ("click",function(){t.CHM(e);const o=t.oxw();return t.KtG(o.onCancelClickProperty())}),t.TgZ(5,"span",146),t._uU(6,"\xd7"),t.qZA()()(),t.TgZ(7,"div",147)(8,"form",148),t.NdJ("ngSubmit",function(){t.CHM(e);const o=t.oxw();return t.KtG(o.onSubmit())}),t.TgZ(9,"div",150)(10,"label",185),t._uU(11,"Property Name"),t._UZ(12,"i",152),t.qZA(),t._UZ(13,"input",186),t.YNc(14,Ae,3,2,"div",154),t.qZA(),t.TgZ(15,"div",187)(16,"label",188),t._uU(17,"Website"),t._UZ(18,"i",152),t.qZA(),t.TgZ(19,"div",189)(20,"select",190),t.YNc(21,Me,3,2,"ng-container",73),t.qZA(),t.TgZ(22,"div",191),t._UZ(23,"input",192),t.YNc(24,Pe,3,2,"div",154),t.qZA()(),t.TgZ(25,"div",8),t.YNc(26,ze,2,0,"button",193),t.qZA()(),t.TgZ(27,"div",194),t.YNc(28,qe,3,0,"label",195),t.YNc(29,Se,15,9,"div",196),t.qZA(),t.TgZ(30,"div",150)(31,"label",197),t._uU(32,"Logo URL"),t.qZA(),t._UZ(33,"input",198),t.qZA(),t.TgZ(34,"div",180)(35,"div",174)(36,"button",181),t.NdJ("click",function(){t.CHM(e);const o=t.oxw();return t.KtG(o.onCancelClickProperty())}),t._uU(37,"Cancel"),t.qZA(),t.TgZ(38,"button",176),t._uU(39,"Save"),t.qZA()()()()()}if(2&n){const e=t.MAs(3),i=t.oxw();
1t.xp6(1),t.Q6J("ngIf",!i.isEditProperty)("ngIfElse",e),t.xp6(7),t.Q6J("formGroup",i.organisationPropertyForm),t.xp6(5),t.Q6J("ngClass",t.VKq(12,f,i.organisationPropertyForm.controls.propertyname.invalid&&(i.organisationPropertyForm.controls.propertyname.dirty||i.organisationPropertyForm.controls.propertyname.touched)||i.submitted&&i.orgProp.propertyname.errors)),t.xp6(1),t.Q6J("ngIf",i.organisationPropertyForm.controls.propertyname.invalid&&(i.organisationPropertyForm.controls.propertyname.dirty||i.organisationPropertyForm.controls.propertyname.touched)||i.submitted&&i.orgProp.propertyname.errors),t.xp6(6),t.Q6J("ngClass",t.VKq(14,f,i.submitted&&i.orgProp.protocol.errors)),t.xp6(1),t.Q6J("ngForOf",i.protocolList),t.xp6(2),t.Q6J("ngClass",t.VKq(16,f,i.organisationPropertyForm.controls.website.invalid&&(i.organisationPropertyForm.controls.website.dirty||i.organisationPropertyForm.controls.website.touched)||i.submitted&&i.orgProp.website.errors)),t.xp6(1),t.Q6J("ngIf",i.organisationPropertyForm.controls.website.invalid&&(i.organisationPropertyForm.controls.website.dirty||i.organisationPropertyForm.controls.website.touched)||i.submitted&&i.orgProp.website.errors),t.xp6(2),t.Q6J("ngIf",i.organisationPropertyForm.value.website&&0===i.subDomain.controls.length),t.xp6(2),t.Q6J("ngIf",i.subDomain.controls.length>0),t.xp6(1),t.Q6J("ngForOf",i.subDomain.controls)}}function Ne(n,a){if(1&n&&(t.TgZ(0,"li",238)(1,"b"),t._uU(2),t.qZA(),t._uU(3," - "),t.TgZ(4,"span",239),t._uU(5),t.qZA()()),2&n){const e=a.$implicit;t.xp6(2),t.hij("",e.field," "),t.xp6(3),t.Oqu(e.message)}}function De(n,a){1&n&&(t.TgZ(0,"div"),t._uU(1,"Nick name is required"),t.qZA())}function Je(n,a){if(1&n&&(t.TgZ(0,"div",177),t.YNc(1,De,2,0,"div",74),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.Q6J("ngIf",e.s.name.errors.required)}}function Qe(n,a){1&n&&(t.TgZ(0,"div"),t._uU(1,"From Email is required"),t.qZA())}function Le(n,a){1&n&&(t.TgZ(0,"div"),t._uU(1,"Please enter valid email"),t.qZA())}function Ee(n,a){if(1&n&&(t.TgZ(0,"div",177),t.YNc(1,Qe,2,0,"div",74),t.YNc(2,Le,2,0,"div",74),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.Q6J("ngIf",e.s.from_email.errors.required),t.xp6(1),t.Q6J("ngIf",e.s.from_email.errors.pattern)}}function Ye(n,a){1&n&&(t.TgZ(0,"div"),t._uU(1,"From Name is required"),t.qZA())}function Re(n,a){if(1&n&&(t.TgZ(0,"div",177),t.YNc(1,Ye,2,0,"div",74),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.Q6J("ngIf",e.s.from_name.errors.required)}}function Ve(n,a){1&n&&(t.TgZ(0,"div"),t._uU(1,"Reply Email is required"),t.qZA())}function Ke(n,a){1&n&&(t.TgZ(0,"div"),t._uU(1,"Please enter valid email"),t.qZA())}function Ge(n,a){if(1&n&&(t.TgZ(0,"div",177),t.YNc(1,Ve,2,0,"div",74),t.YNc(2,Ke,2,0,"div",74),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.Q6J("ngIf",e.s.reply_email.errors.required),t.xp6(1),t.Q6J("ngIf",e.s.reply_email.errors.pattern)}}function He(n,a){1&n&&(t.TgZ(0,"div"),t._uU(1,"Address is required"),t.qZA())}function Be(n,a){if(1&n&&(t.TgZ(0,"div",177),t.YNc(1,He,2,0,"div",74),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.Q6J("ngIf",e.s.address.errors.required)}}function je(n,a){1&n&&(t.TgZ(0,"div"),t._uU(1,"City is required"),t.qZA())}function $e(n,a){1&n&&(t.TgZ(0,"div"),t._uU(1,"Only characters are allowed"),t.qZA())}function We(n,a){if(1&n&&(t.TgZ(0,"div",177),t.YNc(1,je,2,0,"div",74),t.YNc(2,$e,2,0,"div",74),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.Q6J("ngIf",e.s.city.errors.required),t.xp6(1),t.Q6J("ngIf",e.s.city.errors.pattern)}}function Xe(n,a){1&n&&(t.TgZ(0,"div"),t._uU(1,"Country is required"),t.qZA())}function ti(n,a){1&n&&(t.TgZ(0,"div"),t._uU(1,"Only characters are allowed"),t.qZA())}function ei(n,a){if(1&n&&(t.TgZ(0,"div",177),t.YNc(1,Xe,2,0,"div",74),t.YNc(2,ti,2,0,"div",74),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.Q6J("ngIf",e.s.country.errors.required),t.xp6(1),t.Q6J("ngIf",e.s.country.errors.pattern)}}function ii(n,a){if(1&n){const e=t.EpF();t.TgZ(0,"div",143)(1,"h4",220),t._uU(2,"Create a new Sender"),t.qZA(),t.TgZ(3,"button",221),t.NdJ("click",function(){t.CHM(e);const o=t.oxw();return t.KtG(o.oncancel())}),t.TgZ(4,"span",222),t._uU(5,"\xd7"),t.qZA()()(),t.TgZ(6,"div",147)(7,"form",148),t.NdJ("ngSubmit",function(){t.CHM(e);const o=t.oxw();return t.KtG(o.onCreateSender())}),t.TgZ(8,"ul",223),t.YNc(9,Ne,6,2,"li",224),t.qZA(),t.TgZ(10,"div",150)(11,"label",185),t._uU(12,"Nick Name"),t._UZ(13,"i",152),t.qZA(),t._UZ(14,"input",225),t.YNc(15,Je,2,1,"div",154),t.qZA(),t.TgZ(16,"div",150)(17,"label",226),t._uU(18,"From Email"),t._UZ(19,"i",152),t.qZA(),t._UZ(20,"input",227),t.YNc(21,Ee,3,2,"div",154),t.qZA(),t.TgZ(22,"div",150)(23,"label",228),t._uU(24,"From Name"),t._UZ(25,"i",152),t.qZA(),t._UZ(26,"input",229),t.YNc(27,Re,2,1,"div",154),t.qZA(),t.TgZ(28,"div",150)(29,"label",230),t._uU(30,"Reply Email"),t._UZ(31,"i",152),t.qZA(),t._UZ(32,"input",231),t.YNc(33,Ge,3,2,"div",154),t.qZA(),t.TgZ(34,"div",150)(35,"label",232),t._uU(36,"Address"),t._UZ(37,"i",152),t.qZA(),t._UZ(38,"input",233),t.YNc(39,Be,2,1,"div",154),t.qZA(),t.TgZ(40,"div",150)(41,"label",162),t._uU(42,"City"),t._UZ(43,"i",152),t.qZA(),t._UZ(44,"input",234),t.YNc(45,We,3,2,"div",154),t.qZA(),t.TgZ(46,"div",150)(47,"label",235),t._uU(48,"Country"),t._UZ(49,"i",152),t.qZA(),t._UZ(50,"input",236),t.YNc(51,ei,3,2,"div",154),t.qZA(),t.TgZ(52,"button",237),t._uU(53,"Submit"),t.qZA()()()}if(2&n){const e=t.oxw();
1t.xp6(7),t.Q6J("formGroup",e.SenderForm),t.xp6(2),t.Q6J("ngForOf",e.senderErrorBody),t.xp6(5),t.Q6J("ngClass",t.VKq(16,f,e.SenderForm.controls.name.invalid&&(e.SenderForm.controls.name.dirty||e.SenderForm.controls.name.touched)||e.submitted&&e.s.name.errors)),t.xp6(1),t.Q6J("ngIf",e.SenderForm.controls.name.invalid&&(e.SenderForm.controls.name.dirty||e.SenderForm.controls.name.touched)||e.submitted&&e.s.name.errors),t.xp6(5),t.Q6J("ngClass",t.VKq(18,f,e.SenderForm.controls.from_email.invalid&&(e.SenderForm.controls.from_email.dirty||e.SenderForm.controls.from_email.touched)||e.submitted&&e.s.from_email.errors)),t.xp6(1),t.Q6J("ngIf",e.SenderForm.controls.from_email.invalid&&(e.SenderForm.controls.from_email.dirty||e.SenderForm.controls.from_email.touched)||e.submitted&&e.s.from_email.errors),t.xp6(5),t.Q6J("ngClass",t.VKq(20,f,e.SenderForm.controls.from_name.invalid&&(e.SenderForm.controls.from_name.dirty||e.SenderForm.controls.from_name.touched)||e.submitted&&e.s.from_name.errors)),t.xp6(1),t.Q6J("ngIf",e.SenderForm.controls.from_name.invalid&&(e.SenderForm.controls.from_name.dirty||e.SenderForm.controls.from_name.touched)||e.submitted&&e.s.from_name.errors),t.xp6(5),t.Q6J("ngClass",t.VKq(22,f,e.SenderForm.controls.reply_email.invalid&&(e.SenderForm.controls.reply_email.dirty||e.SenderForm.controls.reply_email.touched)||e.submitted&&e.s.reply_email.errors)),t.xp6(1),t.Q6J("ngIf",e.SenderForm.controls.reply_email.invalid&&(e.SenderForm.controls.reply_email.dirty||e.SenderForm.controls.reply_email.touched)||e.submitted&&e.s.reply_email.errors),t.xp6(5),t.Q6J("ngClass",t.VKq(24,f,e.SenderForm.controls.address.invalid&&(e.SenderForm.controls.address.dirty||e.SenderForm.controls.address.touched)||e.submitted&&e.s.address.errors)),t.xp6(1),t.Q6J("ngIf",e.SenderForm.controls.address.invalid&&(e.SenderForm.controls.address.dirty||e.SenderForm.controls.address.touched)||e.submitted&&e.s.address.errors),t.xp6(5),t.Q6J("ngClass",t.VKq(26,f,e.SenderForm.controls.city.invalid&&(e.SenderForm.controls.city.dirty||e.SenderForm.controls.city.touched)||e.submitted&&e.s.city.errors)),t.xp6(1),t.Q6J("ngIf",e.SenderForm.controls.city.invalid&&(e.SenderForm.controls.city.dirty||e.SenderForm.controls.city.touched)||e.submitted&&e.s.city.errors),t.xp6(5),t.Q6J("ngClass",t.VKq(28,f,e.SenderForm.controls.country.invalid&&(e.SenderForm.controls.country.dirty||e.SenderForm.controls.country.touched)||e.submitted&&e.s.country.errors)),t.xp6(1),t.Q6J("ngIf",e.SenderForm.controls.country.invalid&&(e.SenderForm.controls.country.dirty||e.SenderForm.controls.country.touched)||e.submitted&&e.s.country.errors)}}function ni(n,a){if(1&n&&(t.TgZ(0,"h4",144),t._uU(1,"Invite New User "),t.TgZ(2,"span",199),t._uU(3),t.qZA()()),2&n){const e=t.oxw(2);t.xp6(3),t.hij("for ",e.organizationName,"")}}function oi(n,a){if(1&n&&(t.TgZ(0,"h4",144),t._uU(1,"Update user for "),t.TgZ(2,"span",199),t._uU(3),t.qZA()()),2&n){const e=t.oxw(2);t.xp6(3),t.Oqu(e.organizationName)}}function ri(n,a){if(1&n){const e=t.EpF();t.TgZ(0,"div",255)(1,"div",256)(2,"input",257),t.NdJ("ngModelChange",function(o){t.CHM(e);const r=t.oxw(2);return t.KtG(r.selectusertype=o)})("ngModelChange",function(o){t.CHM(e);const r=t.oxw(2);return t.KtG(r.onInviteUserTypeChange(o))}),t.qZA(),t.TgZ(3,"label",258),t._uU(4,"New User"),t.qZA()(),t.TgZ(5,"div",256)(6,"input",257),t.NdJ("ngModelChange",function(o){t.CHM(e);const r=t.oxw(2);return t.KtG(r.selectusertype=o)})("ngModelChange",function(o){t.CHM(e);const r=t.oxw(2);return t.KtG(r.onInviteUserTypeChange(o))}),t.qZA(),t.TgZ(7,"label"),t._uU(8,"Existing User"),t.qZA()()()}if(2&n){const e=t.oxw(2);t.xp6(2),t.Q6J("ngModel",e.selectusertype)("value",!0),t.xp6(4),t.Q6J("ngModel",e.selectusertype)("value",!1)}}function ai(n,a){1&n&&(t.TgZ(0,"div"),t._uU(1,"Enter the email addresses of the users you'd like to invite, and choose the role they should have."),t.qZA())}function si(n,a){1&n&&(t.TgZ(0,"div"),t._uU(1,"First name is required"),t.qZA())}function li(n,a){if(1&n&&(t.TgZ(0,"div",177),t.YNc(1,si,2,0,"div",74),t.qZA()),2&n){const e=t.oxw(3);t.xp6(1),t.Q6J("ngIf",e.inviteUserOrgForm.controls.firstname.errors.required)}}function ci(n,a){1&n&&(t.TgZ(0,"div"),t._uU(1,"Last name is required"),t.qZA())}function di(n,a){if(1&n&&(t.TgZ(0,"div",177),t.YNc(1,ci,2,0,"div",74),t.qZA()),2&n){const e=t.oxw(3);t.xp6(1),t.Q6J("ngIf",e.inviteUserOrgForm.controls.lastname.errors.required)}}function pi(n,a){if(1&n&&(t.TgZ(0,"div",259)(1,"div",260)(2,"div",150)(3,"label",261),t._uU(4,"First name"),t._UZ(5,"i",152),t.qZA(),t.TgZ(6,"input",262),t.NdJ("keydown.space",function(i){return i.preventDefault()}),t.qZA(),t.YNc(7,li,2,1,"div",154),t.qZA()(),t.TgZ(8,"div",263)(9,"div",150)(10,"label",264),t._uU(11,"Last name"),t._UZ(12,"i",152),t.qZA(),t.TgZ(13,"input",265),t.NdJ("keydown.space",function(i){return i.preventDefault()}),t.qZA(),t.YNc(14,di,2,1,"div",154),t.qZA()()()),2&n){const e=t.oxw(2);t.xp6(6),t.Q6J("ngClass",t.VKq(4,f,e.inviteUserOrgForm.controls.firstname.invali
1d&&(e.inviteUserOrgForm.controls.firstname.dirty||e.inviteUserOrgForm.controls.firstname.touched)||e.isInviteFormSubmitted&&e.f.firstname.errors)),t.xp6(1),t.Q6J("ngIf",e.inviteUserOrgForm.controls.firstname.invalid&&(e.inviteUserOrgForm.controls.firstname.dirty||e.inviteUserOrgForm.controls.firstname.touched)||e.isInviteFormSubmitted&&e.f.firstname.errors),t.xp6(6),t.Q6J("ngClass",t.VKq(6,f,e.inviteUserOrgForm.controls.lastname.invalid&&(e.inviteUserOrgForm.controls.lastname.dirty||e.inviteUserOrgForm.controls.lastname.touched)||e.isInviteFormSubmitted&&e.f.lastname.errors)),t.xp6(1),t.Q6J("ngIf",e.inviteUserOrgForm.controls.lastname.invalid&&(e.inviteUserOrgForm.controls.lastname.dirty||e.inviteUserOrgForm.controls.lastname.touched)||e.isInviteFormSubmitted&&e.f.lastname.errors)}}function mi(n,a){1&n&&(t.TgZ(0,"div"),t._uU(1,"SSO provider is required"),t.qZA())}function gi(n,a){if(1&n&&(t.TgZ(0,"div",177),t.YNc(1,mi,2,0,"div",74),t.qZA()),2&n){const e=t.oxw(4);t.xp6(1),t.Q6J("ngIf",e.inviteUserOrgForm.controls.sso_provider.errors.required)}}function ui(n,a){if(1&n&&(t.TgZ(0,"div",271)(1,"select",272)(2,"option",273),t._uU(3,"Select SSO provider"),t.qZA(),t.TgZ(4,"option",274),t._uU(5,"Google"),t.qZA(),t.TgZ(6,"option",275),t._uU(7,"Microsoft"),t.qZA()(),t.YNc(8,gi,2,1,"div",154),t.qZA()),2&n){const e=t.oxw(3);t.xp6(1),t.Q6J("ngClass",t.VKq(2,f,e.inviteUserOrgForm.controls.sso_provider.invalid&&(e.inviteUserOrgForm.controls.sso_provider.dirty||e.inviteUserOrgForm.controls.sso_provider.touched)||e.isInviteFormSubmitted&&e.f.sso_provider.errors)),t.xp6(7),t.Q6J("ngIf",e.inviteUserOrgForm.controls.sso_provider.invalid&&(e.inviteUserOrgForm.controls.sso_provider.dirty||e.inviteUserOrgForm.controls.sso_provider.touched)||e.isInviteFormSubmitted&&e.f.sso_provider.errors)}}function _i(n,a){if(1&n&&(t.TgZ(0,"div",266)(1,"div",267),t._UZ(2,"input",268),t.TgZ(3,"label",269),t._uU(4,"Inviting a SSO user?"),t.qZA()(),t.YNc(5,ui,9,4,"div",270),t.qZA()),2&n){const e=t.oxw(2);t.xp6(5),t.Q6J("ngIf",e.inviteUserOrgForm.value.invite_sso)}}function hi(n,a){1&n&&(t.TgZ(0,"div"),t._uU(1,"User email address is required"),t.qZA())}function fi(n,a){1&n&&(t.TgZ(0,"div"),t._uU(1,"Please enter valid email address"),t.qZA())}function vi(n,a){if(1&n&&(t.TgZ(0,"div",177),t.YNc(1,hi,2,0,"div",74),t.YNc(2,fi,2,0,"div",74),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.Q6J("ngIf",e.inviteUserOrgForm.controls.emailid.errors.required),t.xp6(1),t.Q6J("ngIf",e.inviteUserOrgForm.controls.emailid.errors.email)}}function bi(n,a){if(1&n&&(t.TgZ(0,"div",276),t._UZ(1,"input",277),t.TgZ(2,"label",278),t._uU(3),t.qZA()()),2&n){const e=a.$implicit;t.xp6(1),t.s9C("id",e.role_name),t.Q6J("value",e.id),t.xp6(1),t.s9C("for",e.role_name),t.xp6(1),t.Oqu(e.role_name)}}function yi(n,a){1&n&&(t.TgZ(0,"div",279),t._uU(1," Roles is required "),t.qZA())}function xi(n,a){1&n&&(t.TgZ(0,"div",276),t._UZ(1,"input",285),t._uU(2," \xa0 "),t.TgZ(3,"label",286),t._uU(4,"Not Required"),t.qZA()()),2&n&&(t.xp6(1),t.Q6J("value","none"))}function Ci(n,a){1&n&&(t.TgZ(0,"div",279),t._uU(1," AuthType is required "),t.qZA())}function Ti(n,a){if(1&n&&(t.TgZ(0,"div",280)(1,"label",281),t._uU(2,"Enable 2FA"),t._UZ(3,"i",152),t.qZA(),t.YNc(4,xi,5,1,"div",282),t.TgZ(5,"div",276),t._UZ(6,"input",283),t._uU(7,"\xa0 "),t.TgZ(8,"label",284),t._uU(9,"App Authentication"),t.qZA()(),t.YNc(10,Ci,2,0,"div",252),t.qZA()),2&n){const e=t.oxw(2);t.xp6(4),t.Q6J("ngIf",!e.enableTwoFA),t.xp6(2),t.Q6J("value","app_auth"),t.xp6(4),t.Q6J("ngIf",e.isInviteFormSubmitted&&e.f.authType.invalid)}}function Oi(n,a){if(1&n){const e=t.EpF();t.TgZ(0,"div",240),t.YNc(1,ni,4,1,"h4",183),t.YNc(2,oi,4,1,"ng-template",null,241,t.W1O),t.TgZ(4,"button",242),t.NdJ("click",function(){t.CHM(e);const o=t.oxw();return t.KtG(o.onCancelClick())}),t.TgZ(5,"span",146),t._uU(6,"\xd7"),t.qZA()()(),t.TgZ(7,"div",147),t.YNc(8,ri,9,4,"div",243),t.YNc(9,ai,2,0,"div",74),t.TgZ(10,"form",244),t.NdJ("ngSubmit",function(){t.CHM(e);const o=t.oxw();return t.KtG(o.onSubmitInviteUserOrganization())}),t.TgZ(11,"div",8),t.YNc(12,pi,15,8,"div",245),t.YNc(13,_i,6,1,"div",246),t.TgZ(14,"div",149)(15,"div",150)(16,"label",247),t._uU(17,"Email Id"),t._UZ(18,"i",152),t.qZA(),t.TgZ(19,"input",248),t.NdJ("typeaheadNoResults",function(o){t.CHM(e);const r=t.oxw();return t.KtG(r.typeaheadNoResults(o))})("keypress",function(o){t.CHM(e);const r=t.oxw();return t.KtG(r.onSearchEmailId(o.target.value))}),t.qZA(),t.YNc(20,vi,3,2,"div",154),t.qZA()(),t.TgZ(21,"div",249)(22,"label",250),t._uU(23,"Select roles"),t._UZ(24,"i",152),t.qZA(),t.YNc(25,bi,4,4,"div",251),t.YNc(26,yi,2,0,"div",252),t.qZA(),t.YNc(27,Ti,11,3,"div",253),t.qZA(),t.TgZ(28,"div",180)(29,"div",174)(30,"button",181),t.NdJ("click",function(){t.CHM(e);const o=t.oxw();return t.KtG(o.onCancelClick())}),t._uU(31,"Cancel"),t.qZA(),t.TgZ(32,"button",254),t._uU(33,"Submit"),t.qZA()()()()()}if(2&n){const e=t.MAs(3),i=t.oxw();
1t.xp6(1),t.Q6J("ngIf",!i.isUpdateUserinvitation)("ngIfElse",e),t.xp6(7),t.Q6J("ngIf",!i.isUpdateUserinvitation),t.xp6(1),t.Q6J("ngIf",!i.isUpdateUserinvitation),t.xp6(1),t.Q6J("formGroup",i.inviteUserOrgForm),t.xp6(2),t.Q6J("ngIf",i.selectusertype),t.xp6(1),t.Q6J("ngIf",!i.isUpdateUserinvitation&&i.selectusertype),t.xp6(6),t.Q6J("typeahead",i.userList)("typeaheadMinLength",0)("typeaheadOptionsLimit",7)("typeaheadSingleWords",!1)("typeaheadScrollable",!0)("typeaheadOptionsInScrollableView",5)("ngClass",t.VKq(18,f,i.inviteUserOrgForm.controls.emailid.invalid&&(i.inviteUserOrgForm.controls.emailid.dirty||i.inviteUserOrgForm.controls.emailid.touched)||i.isInviteFormSubmitted&&i.f.emailid.errors)),t.xp6(1),t.Q6J("ngIf",i.inviteUserOrgForm.controls.emailid.invalid&&(i.inviteUserOrgForm.controls.emailid.dirty||i.inviteUserOrgForm.controls.emailid.touched)||i.isInviteFormSubmitted&&i.f.emailid.errors),t.xp6(5),t.Q6J("ngForOf",i.roleList),t.xp6(1),t.Q6J("ngIf",i.isInviteFormSubmitted&&i.f.permissions.invalid),t.xp6(1),t.Q6J("ngIf",!i.isUpdateUserinvitation)}}function Zi(n,a){if(1&n&&(t.TgZ(0,"div",291),t._uU(1),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.Oqu(e.activityError)}}function Ai(n,a){1&n&&(t.TgZ(0,"colgroup"),t._UZ(1,"col",294)(2,"col",294)(3,"col",294)(4,"col",295)(5,"col",296)(6,"col",297)(7,"col",297)(8,"col",298)(9,"col",296)(10,"col",299)(11,"col",300)(12,"col",301),t.qZA())}function Mi(n,a){1&n&&(t.TgZ(0,"tr")(1,"th"),t._uU(2,"ID"),t.qZA(),t.TgZ(3,"th"),t._uU(4,"User ID"),t.qZA(),t.TgZ(5,"th"),t._uU(6,"Company ID"),t.qZA(),t.TgZ(7,"th"),t._uU(8,"User Email"),t.qZA(),t.TgZ(9,"th"),t._uU(10,"Action"),t.qZA(),t.TgZ(11,"th"),t._uU(12,"Method"),t.qZA(),t.TgZ(13,"th"),t._uU(14,"Path"),t.qZA(),t.TgZ(15,"th"),t._uU(16,"Status"),t.qZA(),t.TgZ(17,"th"),t._uU(18,"IP Address"),t.qZA(),t.TgZ(19,"th"),t._uU(20,"User Agent"),t.qZA(),t.TgZ(21,"th"),t._uU(22,"Error"),t.qZA(),t.TgZ(23,"th"),t._uU(24,"Created At"),t.qZA()())}function Ui(n,a){if(1&n&&(t.TgZ(0,"tr")(1,"td"),t._uU(2),t.qZA(),t.TgZ(3,"td"),t._uU(4),t.qZA(),t.TgZ(5,"td"),t._uU(6),t.qZA(),t.TgZ(7,"td"),t._uU(8),t.qZA(),t.TgZ(9,"td"),t._uU(10),t.qZA(),t.TgZ(11,"td"),t._uU(12),t.qZA(),t.TgZ(13,"td"),t._uU(14),t.qZA(),t.TgZ(15,"td"),t._uU(16),t.qZA(),t.TgZ(17,"td"),t._uU(18),t.qZA(),t.TgZ(19,"td"),t._uU(20),t.qZA(),t.TgZ(21,"td"),t._uU(22),t.qZA(),t.TgZ(23,"td"),t._uU(24),t.ALo(25,"date"),t.qZA()()),2&n){const e=a.$implicit;t.xp6(2),t.Oqu(e.ID),t.xp6(2),t.Oqu(e.UserID),t.xp6(2),t.Oqu(e.CompanyID),t.xp6(2),t.Oqu(e.UserEmail),t.xp6(2),t.Oqu(e.Action),t.xp6(2),t.Oqu(e.Method),t.xp6(2),t.Oqu(e.Path),t.xp6(2),t.Oqu(e.StatusCode),t.xp6(2),t.Oqu(e.IPAddress),t.xp6(2),t.Oqu(e.UserAgent),t.xp6(2),t.Oqu(e.Error||"-"),t.xp6(2),t.Oqu(t.xi3(25,12,e.CreatedAt,"medium"))}}function wi(n,a){1&n&&(t.TgZ(0,"tr")(1,"td",302)(2,"div",303),t._uU(3,"No activity found."),t.qZA()()())}function Pi(n,a){if(1&n){const e=t.EpF();t.TgZ(0,"p-table",292),t.NdJ("onLazyLoad",function(o){t.CHM(e);const r=t.oxw(2);return t.KtG(r.onActivityPage(o))}),t.YNc(1,Ai,13,0,"ng-template",293),t.YNc(2,Mi,25,0,"ng-template",46),t.YNc(3,Ui,26,15,"ng-template",47),t.YNc(4,wi,4,0,"ng-template",48),t.qZA()}if(2&n){const e=t.oxw(2);t.Q6J("value",e.activityRows)("lazy",!0)("loading",e.activityLoading)("scrollable",!0)("paginator",!0)("first",e.activityFirst)("rows",e.activityRowsPerPage)("showCurrentPageReport",!0)("rowsPerPageOptions",t.DdM(10,N))("totalRecords",e.activityCount)}}function zi(n,a){if(1&n&&(t.TgZ(0,"div",10)(1,"div",287)(2,"h6",12),t._uU(3,"Activity"),t.qZA(),t.TgZ(4,"span",288),t._uU(5),t.qZA()(),t.TgZ(6,"div",18),t.YNc(7,Zi,2,1,"div",289),t.YNc(8,Pi,5,11,"p-table",290),t.qZA()()),2&n){const e=t.oxw();
1t.xp6(5),t.hij("Total: ",e.activityCount,""),t.xp6(2),t.Q6J("ngIf",e.activityError),t.xp6(1),t.Q6J("ngIf",!e.activityError)}}function qi(n,a){if(1&n){const e=t.EpF();t.TgZ(0,"alert",304),t.NdJ("onClosed",function(){t.CHM(e);const o=t.oxw();return t.KtG(o.onClosed(o.alertType))}),t._uU(1),t.qZA()}if(2&n){const e=t.oxw();t.Q6J("type",e.alertType)("dismissible",e.dismissible),t.xp6(1),t.Oqu(e.alertMsg)}}function Fi(n,a){1&n&&(t.TgZ(0,"div",313),t._uU(1," Enter appropriate text "),t.qZA())}function Ii(n,a){if(1&n&&(t.TgZ(0,"button",314),t._uU(1),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.hij("I understand the consequences, delete this ",e.controlname,"")}}function Si(n,a){if(1&n&&(t.TgZ(0,"button",314),t._uU(1),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.hij("I understand the consequences, delete this ",e.controlname,"")}}function ki(n,a){if(1&n&&(t.TgZ(0,"button",314),t._uU(1),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.hij("I understand the consequences, delete this ",e.controlname,"")}}function Ni(n,a){if(1&n){const e=t.EpF();t.TgZ(0,"div",143)(1,"h5",305),t._uU(2,"Are you absolutely sure?"),t.qZA(),t.TgZ(3,"button",306),t.NdJ("click",function(){t.CHM(e);const o=t.oxw();return t.KtG(o.cancelModal())}),t.TgZ(4,"span",146),t._uU(5,"\xd7"),t.qZA()()(),t.TgZ(6,"div",307)(7,"p"),t._uU(8," This will delete selected "),t.TgZ(9,"span",308),t._uU(10),t.qZA(),t._uU(11),t.qZA(),t.TgZ(12,"p"),t._uU(13,"Please type "),t.TgZ(14,"strong"),t._uU(15,"'Delete'"),t.qZA(),t._uU(16," to confirm"),t.qZA(),t.TgZ(17,"form",148),t.NdJ("ngSubmit",function(){t.CHM(e);const o=t.oxw();return t.KtG(o.onSubmitConfirmation(o.controlname))}),t._UZ(18,"input",309),t.YNc(19,Fi,2,0,"div",310),t.TgZ(20,"div",311),t.YNc(21,Ii,2,1,"button",312),t.YNc(22,Si,2,1,"button",312),t.YNc(23,ki,2,1,"button",312),t.qZA()()()}if(2&n){const e=t.oxw();
1t.xp6(10),t.hij(" ",e.showControlContent(),""),t.xp6(1),t.hij(" ",e.controlname,""),t.xp6(6),t.Q6J("formGroup",e.confirmationForm),t.xp6(1),t.Q6J("ngClass",t.VKq(8,f,e.isconfirmationsubmitted&&"Delete"!==e.confirmDelete.userInput.value)),t.xp6(1),t.Q6J("ngIf",e.isconfirmationsubmitted&&"Delete"!==e.confirmDelete.userInput.value),t.xp6(2),t.Q6J("ngIf","organization"==e.controlname),t.xp6(1),t.Q6J("ngIf","property"==e.controlname),t.xp6(1),t.Q6J("ngIf","team member"==e.controlname)}}function Di(n,a){if(1&n){const e=t.EpF();t.TgZ(0,"div",307)(1,"button",306),t.NdJ("click",function(){t.CHM(e);const o=t.oxw();return t.KtG(o.cancelModal())}),t.TgZ(2,"span",146),t._uU(3,"\xd7"),t.qZA()(),t.TgZ(4,"p"),t._uU(5,"Currently you are managing this property so you cannot delete, In order to delete this property manage other property"),t.qZA(),t.TgZ(6,"button",315),t.NdJ("click",function(){t.CHM(e);const o=t.oxw();return t.KtG(o.cancelModal())}),t._uU(7," OK "),t.qZA()()}}function Ji(n,a){if(1&n){const e=t.EpF();t.TgZ(0,"div",307)(1,"button",306),t.NdJ("click",function(){t.CHM(e);const o=t.oxw();return t.KtG(o.cancelModal())}),t.TgZ(2,"span",146),t._uU(3,"\xd7"),t.qZA()(),t.TgZ(4,"p"),t._uU(5,"You can't disable this organization. Some properties associated with this organization have been assigned to some subscriptions. If you still want to disable, remove those properties from the subscriptions first. "),t.qZA(),t.TgZ(6,"button",315),t.NdJ("click",function(){t.CHM(e);const o=t.oxw();return t.KtG(o.cancelModal())}),t._uU(7," OK "),t.qZA()()}}function Qi(n,a){if(1&n){const e=t.EpF();t.TgZ(0,"div",307)(1,"p"),t._uU(2,"Are you sure you want to delete SMTP configuration? "),t.qZA(),t.TgZ(3,"div",316)(4,"button",317),t.NdJ("click",function(){t.CHM(e);const o=t.oxw();return t.KtG(o.cancelModal())}),t._uU(5," No "),t.qZA(),t.TgZ(6,"button",315),t.NdJ("click",function(){t.CHM(e);const o=t.oxw();return t.KtG(o.deleteSmtpConfiguration())}),t._uU(7," Yes "),t.qZA()()()}}const H=function(n,a){return{oid:n,pid:a}},Li=function(n){return{hide:n}};let Ei=(()=>{const a=class{constructor(i,o,r,l,C,P,S,x,w,Xi,tn,en,nn,on,rn){this.activatedRoute=i,this.orgService=o,this.modalService=r,this.formBuilder=l,this.companyService=C,this.userService=P,this.router=S,this.dataService=x,this.bsmodalService=w,this.loading=Xi,this.location=tn,this.quickmenuService=en,this.cdref=nn,this.titleService=on,this.userActivityService=rn,this.unauthorizedActionMessage="You are not authorized to access this functionality. Please contact your Administrator",this.activeTab="properties",this.unsubscribeAfterUserAction$=new v.xQ,this.p=1,this.pageSize=5,this.p2=1,this.propertyPgSize=5,this.protocolList=["http://","https://"],this.selectedProperty=[],this.dismissible=!0,this.isOpen=!1,this.isUpdateUserinvitation=!1,this.userList=[],this.showpingpopup=!0,this.noResult=!1,this.selectusertype=!0,this.show=!0,this.enableTwoFA=!1,this.isViewOnlyAccess=!1,this.CountryISO=z.HT,this.preferredCountries=[],this.countryList=q.k,this.teamlist=[],this.customInputProperties=new v.xQ,this.customInputOrgUser=new v.xQ,this.isResultbysearchtext=!1,this.first=0,this.canShowModal=!1,this.activityLoading=!1,this.activityError="",this.activityCount=0,this.activityRows=[],this.activityFirst=0,this.activityRowsPerPage=5,this.configureSenderList=[{label:"SendGrid",name:"sendgrid"},{label:"SMTP",name:"smtp"}],this.clearFormArray=B=>{for(;0!==B.length;)B.removeAt(0)},this.paginationConfig={itemsPerPage:this.pageSize,currentPage:this.p,totalItems:this.totalCount,id:"userPagination"},this.propertyPageConfig={itemsPerPage:this.propertyPgSize,currentPage:this.p2,totalItems:this.propertyTotalCount,id:"propertyPagination"},this.titleService.setTitle("Organization details - "+O.N.portalPrefix)}ngOnInit(){this.showQuickstartTooltip(),this.userService.isRevisitedQSMenuLink.subscribe(x=>{this.isRevistedLink=x.reclickqslink,this.currentLinkID=x.quickstartid}),this.orgService.currentProperty.subscribe(x=>{if(""!==x)this.currentManagedOrgID=x.organization_id||x.response.oid,this.currrentManagedPropID=x.property_id||x.response.id;else{const w=this.orgService.getCurrentOrgWithProperty();void 0!==w&&(this.currentManagedOrgID=w.organization_id,this.currrentManagedPropID=w.property_id)}}),this.loadRoleList(),this.activatedRoute.paramMap.subscribe(x=>{this.organizationID=x.get("id");let w=(0,A.Dq)(this.location.path());void 0!==this.organizationID&&-1!==this.organizationID.indexOf("oid")?(this.loadOrganizationByID(w[0]),this.getPropertyList(w[0]),this.ongetsender(w[0]),this.onGetSmtpList(w[0])):(this.loadOrganizationByID(this.organizationID),this.getPropertyList(this.organizationID),this.ongetsender(this.organizationID),this.onGetSmtpList(this.organizationID))}),this.isEditProperty=!1;const l="^[a-zA-Z -']+";this.organisationPropertyForm=this.formBuilder.group({propertyname:["",[c.kI.required,
1c.kI.pattern("^[^0-9][a-zA-Z0-9_]+( [a-zA-Z0-9_]+)*$")]],protocol:["",c.kI.required],website:["",[c.kI.required,c.kI.pattern("(?:)?([\\da-z.-]+)\\.([a-z.]{2,6})[/\\w .-]*/?")]],subDomain:new c.Oe([]),logourl:[""]}),this.inviteUserOrgForm=this.formBuilder.group({emailid:["",[c.kI.required,c.kI.email]],firstname:["",[this.selectusertype?c.kI.required:""]],lastname:["",[this.selectusertype?c.kI.required:""]],permissions:["",[c.kI.required]],authType:["",[c.kI.required]],invite_sso:[!1],sso_provider:[""]}),this.inviteUserOrgForm.get("invite_sso").valueChanges.subscribe(x=>{this.updateInviteSsoProviderValidation(!!x)}),this.updateInviteSsoProviderValidation(!1),this.inviteUserOrgForm.get("emailid").valueChanges.subscribe(x=>{this.changeValidators()}),this.editOrganisationForm=this.formBuilder.group({organizationName:["",[c.kI.required,c.kI.pattern("^(?![0-9]*$)[a-zA-Z0-9 ]+$")]],taxID:[""],addressOne:["",[c.kI.required]],addressTwo:[""],city:["",[c.kI.required,c.kI.pattern(l)]],state:["",[c.kI.required,c.kI.pattern(l)]],zipcode:["",[c.kI.required,c.kI.pattern("^[a-zA-Z0-9 ]+$")]],email:["",[c.kI.required,c.kI.email]],phone:new c.NI("")}),this.confirmationForm=this.formBuilder.group({userInput:["",[c.kI.required]]}),this.onGetOrgPlan(),this.protocol="https://",this.organisationPropertyForm.patchValue({protocol:this.protocol}),this.activatedRoute.queryParamMap.subscribe(x=>{this.queryOID=x.get("oid"),this.queryPID=x.get("pid")}),this.onCreateSendForm()}setActiveTab(i){this.activeTab=i}get f(){return this.inviteUserOrgForm.controls}get orgProp(){return this.organisationPropertyForm.controls}get editOrg(){return this.editOrganisationForm.controls}get confirmDelete(){return this.confirmationForm.controls}get s(){return this.SenderForm.controls}loadOrganizationByID(i){this.orgService.getOrganizationByID(i,this.constructor.name,u.e.consentSolutionModule).subscribe(o=>{this.organizationName=o.response.orgname,this.addressOne=o.response.address1,this.addressTwo=o.response.address2,this.city=o.response.city,this.state=o.response.state,this.taxID=o.response.tax_id,this.zipcode=o.response.zipcode,this.email=o.response.email,this.phone=o.response.phone,this.userID=o.response.uid,o.response.license_id&&this.loadOrganizationLicenseNameByID(this.organizationID,o.response.license_id)}),this.loadCompanyDetails(),this.userService.getLoggedInUserDetails(this.constructor.name,u.e.manageSubscriptionsModule).subscribe(o=>{200===o.status&&(this.userRole=o.response.role,this.isViewOnlyAccess=this.isViewOnlyUser())})}onCreateSendForm(){const i="^[a-zA-Z]+$";this.SenderForm=this.formBuilder.group({name:["",c.kI.required],from_email:["",[c.kI.required,c.kI.email]],from_name:["",c.kI.required],reply_email:["",[c.kI.required,c.kI.email]],address:["",c.kI.required],city:["",[c.kI.required,c.kI.pattern(i)]],country:["",[c.kI.required,c.kI.pattern(i)]]})}
1onCreateSender(){this.submitted=!0,!this.SenderForm.invalid&&(this.loading.start(),this.orgService.CreateSender(this.constructor.name,u.e.consentSolutionModule,this.SenderForm.value,this.senderId).subscribe(i=>{this.loading.stop(),i.hasOwnProperty("error")?this.senderErrorBody=JSON.parse(i.error.Body).errors:(this.modalRef.hide(),this.isOpen=!0,this.alertMsg="Sender Created Successfully",this.alertType="success",this.submitted=!1,this.SenderForm.reset(),this.onGetSenders())},i=>{this.modalRef.hide(),this.loading.stop(),this.submitted=!1,this.isOpen=!0,this.alertMsg=i,this.alertType="danger"}))}openSmtp(i){this.smtpModalType=I.n.ADD,this.canShowModal=i}closeModal(i){this.canShowModal=i}connectionSuccessStatus(i){this.isOpen=!0,this.alertMsg=i.msg,this.alertType=i.status}ongetsender(i){this.senderId=i,this.onGetSenders()}onGetSenders(){this.loading.start(),this.orgService.GetSenders(this.constructor.name,u.e.consentSolutionModule,this.senderId).subscribe(i=>{this.loading.stop(),this.senderList=i.response},i=>{this.loading.stop()})}onGetSmtpList(i){this.canShowModal=!1,this.loading.start(),this.orgService.getSmtpList(this.constructor.name,u.e.consentSolutionModule,i||this.senderId).subscribe(o=>{this.loading.stop(),this.senderSmtpList=o.response},o=>{this.loading.stop()})}
1editSmtpModal(i){this.smtpDetails=i,this.smtpModalType=I.n.EDIT,this.canShowModal=!0}deleteSmtp(i){this.smtpId=i,this.openModal(this.deleteSmtpTemplate)}deleteSmtpConfiguration(){this.loading.start(),this.orgService.deleteSmtpConfiguration(this.constructor.name,u.e.consentSolutionModule,this.smtpId).subscribe({next:i=>{this.loading.stop(),this.cancelModal(),this.isOpen=!0,this.alertMsg="SMTP Configuration has been Deleted Successfully",this.alertType="success",this.onGetSmtpList()},error:()=>{this.cancelModal(),this.loading.stop(),this.isOpen=!0,this.alertMsg="Error in Deleting SMTP Configuration",this.alertType="danger"}})}onDropdownChange(i){"sendgrid"===i?this.openModal(this.sendgridTemplate):"smtp"===i&&this.openSmtp(!0)}onResendEmail(i){this.loading.start(),this.orgService.ResendSenderemail(this.constructor.name,u.e.consentSolutionModule,i.send_grid_id,this.senderId).subscribe(o=>{this.loading.stop(),this.isOpen=!0,this.alertMsg=o.response,this.alertType="success"},o=>{this.loading.stop(),this.isOpen=!0,this.alertMsg="The Sender Identity is already verified.",this.alertType="danger"})}onRefresh(i){this.loading.start(),this.orgService.RefreshSenders(this.constructor.name,u.e.consentSolutionModule,i.id,this.senderId).subscribe(o=>{this.loading.stop(),this.isOpen=!0,this.alertMsg="Refreshed record",this.alertType="success",this.onGetSenders()},o=>{this.loading.stop(),this.isOpen=!0,this.alertMsg=o.response,this.alertType="danger"})}oncancel(){this.SenderForm.reset(),this.modalRef?.hide()}addSubDomain(){const i=new c.NI("",c.kI.required);this.subDomain.push(i)}removeSubDomain(i){this.subDomain.removeAt(i)}get subDomain(){return this.organisationPropertyForm.get("subDomain")}loadCompanyDetails(){this.loading.start(),this.companyService.getCompanyDetails(this.constructor.name,u.e.companyModule).subscribe(i=>{this.loading.stop(),this.enableTwoFA=!!i.response.hasOwnProperty("two_fa_enable")&&i.response.two_fa_enable},i=>{this.loading.stop(),this.alertMsg=i,this.isOpen=!0,this.alertType="danger"})}onGetOrgPlan(){this.loading.start("2"),this.dataService.getOrgAvailability(this.constructor.name,u.e.cookieConsentModule,this.organizationID).subscribe(i=>{this.orgPlanDetails=i.response,this.loading.stop("2")},i=>{this.loading.stop("2")})}getPropertyList(i){this.orgService.getPropertyList(i,this.constructor.name,u.e.consentSolutionModule).subscribe(o=>(this.orgService.emitUpdatedOrgList.emit(o.response),0===o.response.length&&(this.alertMsg="Adding property is mandatory. Add Property first.",this.isOpen=!0,this.alertType="info",this.modalService.hasOpenModals()||this.modalService.open(this.propertyModal)),this.totalPropertyCount=o.count,this.propertyList=o.response,this.properties=this.propertyList.slice(this.eventfirst,this.eventfirst+this.eventRows),this.properties))}inputValueChanged(i){this.customInputProperties.next(i)}onTeamMembersearch(){this.customInputOrgUser.pipe((0,M.b)(1e3),(0,_.x)()).subscribe(i=>{if(""!==i){this.loadingteamlist=!0,this.searchvalueTeamMember=i,this.isResultbysearchtext=!0,this.eventfirstforteam=0,this.firstoneforteam=1,this.lazyevent.first=0,this.lazyevent.rows=5,this.first=0;let o=null!==this.searchvalueTeamMember&&""!==this.searchvalueTeamMember&&void 0!==this.searchvalueTeamMember?this.searchvalueTeamMember.toLowerCase():"",r="&limit="+this.eventRowsforteam+"&page="+this.firstoneforteam+"&searchtext="+o.toLowerCase();this.orgService.getOrgTeamMembers(this.organizationID,this.constructor.name,u.e.consentSolutionModule,r).subscribe(l=>{this.totalTeamMemberCount=l.count,this.organizationTeamMemberList=l.response,this.loadingteamlist=!1,this.isResultbysearchtext=!0,this.teamlist=(0,A.cn)(this.lazyevent,this.organizationTeamMemberList)})}else this.pinviteMemberTable.reset()})}loadPropertylist(i){let o;this.eventRows=i.rows,0===i.first?(this.firstone=1,i.first=0,this.eventfirst=i.first):(this.eventfirst=i.first,this.firstone=i.first/i.rows+1),this.customInputProperties.pipe((0,M.b)(300),(0,_.x)()).subscribe(r=>{""!==r?(this.searchvalueProperty=r,o=this.propertyList.filter(l=>l.name.toLowerCase().includes(r.toLowerCase())||l.website.toLowerCase().includes(r.toLowerCase())),this.totalPropertyCount=o.length):this.properties=this.propertyList.slice(i.first,i.first+i.rows)}),this.propertyList&&(null!==i.globalFilter?(o=this.propertyList.filter(r=>r.name.toLowerCase().includes(i.globalFilter.toLowerCase())||r.website.toLowerCase().includes(i.globalFilter.toLowerCase())),this.properties=o.slice(i.first,i.first+i.rows),this.properties=(0,A.cn)(i,this.properties),this.totalPropertyCount=o.length):(this.properties=this.propertyList.slice(i.first,i.first+i.rows),this.properties=(0,A.cn)(i,this.properties),this.totalPropertyCount=this.propertyList.length))}inputValueChangedForOrgUser(i,o){this.customInputOrgUser.next(o)}loadTeamMemberlist(i){if((null==this.searchText||""==this.searchText)&&(this.loadingteamlist=!0,this.isResultbysearchtext=!1),this.eventRowsforteam=i.rows,0===i.first?(this.firstoneforteam=1,i.first=0,this.eventfirstforteam=i.first):(this.eventfirstforteam=i.first,this.firstoneforteam=i.first/i.rows+1),i.rows>=5&&null==this.searchText||""==this.searchText)this.eventRowsforteam=i.rows,0===i.first?(this.firstoneforteam=1,i.first=0,this.eventfirstforteam=i.first):(this.eventfirstforteam=i.first,this.firstoneforteam=i.first/i.rows+1),this.lazyevent=i,this.orgService.getOrgTeamMembers(this.organizationID,this.constructor.name,u.e.consentSolutionModule,"&limit="+this.eventRowsforteam+"&page="+this.firstoneforteam).subscribe(l=>{this.organizationTeamMemberList=l.response,this.totalTeamMemberCount=l.count,this.loadingteamlist=!1,this.teamlist=(0,A.cn)(this.lazyevent,this.organizationTeamMemberList)});else{this.loadingteamlist=!0;let r=null!==this.searchvalueTeamMember&&""!==this.searchvalueTeamMember&&void 0!==this.searchvalueTeamMember?this.searchvalueTeamMember.toLowerCase():"",l="&limit="+this.eventRowsforteam+"&page="+this.firstoneforteam+"&searchtext="+r.toLowerCase();this.orgService.getOrgTeamMembers(this.organizationID,this.constructor.name,u.e.consentSolutionModule,l).subscribe(C=>{this.totalTeamMemberCount=C.count,this.organizationTeamMemberList=C.response,this.loadingteamlist=!1,this.isResultbysearchtext=!0,this.teamlist=(0,A.cn)(this.lazyevent,this.organizationTeamMemberList)})}}open(i,o){var r=this;
1return(0,k.Z)(function*(){if(r.isViewOnlyUser())return r.blockUnauthorizedAction();let l={linkid:r.quickDivID,indexid:1,isactualbtnclicked:!0,islinkclicked:!0};if(r.quickmenuService.onClickEmitQSLinkobj.next(l),r.quickmenuService.updateQuerymenulist(l),"invite"===o){if(!(yield r.onCheckSubscription()))return!1;r.isUpdateUserinvitation=!1}r.propertyname="",r.website="",r.logourl="",r.isInviteFormSubmitted=!1,r.inviteUserOrgForm.patchValue({invite_sso:!1}),r.inviteUserOrgForm.get("emailid")[r.isUpdateUserinvitation?"disable":"enable"](),r.isEditProperty=!1,r.subDomain.clear(),r.modalService.open(i,{ariaLabelledBy:"modal-basic-title"}).result.then(C=>{},C=>{})})()}editModalPopup(i,o){if(this.isViewOnlyUser())return this.blockUnauthorizedAction();let r,l;this.isEditProperty=!0,this.organisationPropertyForm.reset(),-1!==o.website.indexOf("//")?(r=o.website.split("//"),this.protocol=r[0]+"//"):l=o.website;const C=void 0!==r?r[1]:l;this.propertyname=o.name.replace(/&/g,"&"),this.website=o.website,this.logourl=o.logo_url,this.myContext={oid:o.oid,pid:o.id},this.organisationPropertyForm.controls.protocol.setValue(this.protocol),this.organisationPropertyForm.controls.propertyname.setValue(this.propertyname),this.organisationPropertyForm.controls.website.setValue(C),this.organisationPropertyForm.controls.logourl.setValue(o.logo_url),Array.isArray(o.sub_domain_keys)&&(this.subDomain.clear(),o.sub_domain_keys.forEach(P=>{const S=new c.NI(P,c.kI.required);this.subDomain.push(S)})),this.modalService.open(i,{ariaLabelledBy:"modal-basic-title"}).result.then(P=>{this.organisationPropertyForm.reset()},P=>{this.organisationPropertyForm.reset(),this.organisationPropertyForm.patchValue({protocol:"https://"})})}editOrganizationModalPopup(i){if(this.isViewOnlyUser())return this.blockUnauthorizedAction();let o;this.checkCountryFromPhoneNumber(this.phone),void 0!==this.phone&&(o=this.phone.indexOf(" "),this.editOrganisationForm.controls.phone.setValue(this.phone.substring(o))),this.editOrganisationForm.controls.organizationName.setValue(this.organizationName),this.editOrganisationForm.controls.addressOne.setValue(this.addressOne),this.editOrganisationForm.controls.addressTwo.setValue(this.addressTwo),this.editOrganisationForm.controls.city.setValue(this.city),this.editOrganisationForm.controls.state.setValue(this.state),this.editOrganisationForm.controls.taxID.setValue(this.taxID),this.editOrganisationForm.controls.zipcode.setValue(this.zipcode),this.editOrganisationForm.controls.email.setValue(this.email),this.modalService.open(i,{ariaLabelledBy:"modal-basic-title"}).result.then(r=>{},r=>{})}updateOrganisationData(){return this.isViewOnlyUser()?this.blockUnauthorizedAction():(this.submitted=!0,!this.editOrganisationForm.invalid&&void this.orgService.updateOrganization(this.organizationID,{orgname:this.editOrganisationForm.value.organizationName,tax_id:this.editOrganisationForm.value.taxID,address1:this.editOrganisationForm.value.addressOne,address2:this.editOrganisationForm.value.addressTwo,city:this.editOrganisationForm.value.city,state:this.editOrganisationForm.value.state,zipcode:this.editOrganisationForm.value.zipcode,email:this.editOrganisationForm.value.email,phone:null!==this.editOrganisationForm.value.phone?this.editOrganisationForm.value.phone.internationalNumber:""},this.constructor.name,u.e.consentSolutionModule).subscribe(o=>{o&&(this.alertMsg="Organization has been updated!",this.isOpen=!0,this.alertType="success",this.loadOrganizationByID(this.organizationID),o.response.id===this.currentManagedOrgID&&this.orgService.updateEditedOrganization(o),this.orgService.isOrganizationUpdated.next(!0),this.modalService.dismissAll("Data Saved!"))},o=>{this.alertMsg=o?.error?.error,this.modalService.dismissAll("Data Saved!"),this.isOpen=!0,this.alertType="danger"}))}checkCountryFromPhoneNumber(i){if(void 0!==i){let o=this.countryList.findIndex(r=>r.code==Number(i.split(" ")[0]));if(-1!==o){let r=this.countryList[o].iso.toLowerCase();void 0!==r&&(this.preferredCountries=[r])}else this.preferredCountries=[z.HT.UnitedStates]}}
1disableProperty(i,o){return this.isViewOnlyUser()?this.blockUnauthorizedAction():(this.controlname=o,this.selectedPropID=i.id,this.selectedOrgID=i.oid,this.confirmProperty=i.name,this.selectedPropID===this.currrentManagedPropID?(this.openModal(this.deleteAlertModal),!1):void this.openModal(this.confirmModal))}confirmPropertyDelete(){this.modalRef.hide(),this.orgService.disableProperty(this.selectedOrgID,this.selectedPropID,this.constructor.name,u.e.consentSolutionModule).subscribe(i=>{i&&(this.userInput="",this.alertMsg=i.response,this.isOpen=!0,this.alertType="success",this.getPropertyList(this.organizationID),this.orgService.isOrganizationUpdated.next(!0),this.onCancelClick())},i=>{this.alertMsg=i.error,this.isOpen=!0,this.alertType="danger"})}pathValues(){this.orgService.getOrganizationByID(this.organizationID,this.constructor.name,u.e.consentSolutionModule).subscribe(i=>{this.organizationName=i.response.orgname,this.addressOne=i.response.address1,this.addressTwo=i.response.address2,this.city=i.response.city,this.state=i.response.state,this.taxID=i.response.tax_id,this.zipcode=i.response.zipcode})}cancelpingmodal(){this.modalRef.hide(),this.isEditProperty||(this.organisationPropertyForm.reset(),this.organisationPropertyForm.patchValue({protocol:this.protocol}))}onForceSubmit(){if(this.isViewOnlyUser())return this.blockUnauthorizedAction();let i=[];if(this.organisationPropertyForm.value.subDomain.length>0&&(i=this.organisationPropertyForm.value.subDomain.map(o=>this.organisationPropertyForm.value.protocol+o+"."+this.onFilterWebsite(this.organisationPropertyForm.value.website))),this.submitted=!0,this.isEditProperty){const o={name:this.organisationPropertyForm.value.propertyname,website:this.organisationPropertyForm.value.protocol+this.organisationPropertyForm.value.website,logo_url:this.organisationPropertyForm.value.logourl,force_save:"true",sub_domain:i,sub_domain_keys:this.organisationPropertyForm.value?.subDomain};this.loading.start(),this.orgService.editProperties(this.myContext.oid,this.myContext.pid,o,this.constructor.name,u.e.consentSolutionModule).subscribe(r=>{this.loading.stop(),r&&(this.modalRef.hide(),this.alertMsg="Property has been updated!",this.isOpen=!0,this.alertType="success",this.getPropertyList(r.response.oid),this.orgService.isPropertyUpdated.next(!0),r.response.id===this.currrentManagedPropID&&(this.orgService.changeCurrentSelectedProperty(r),r.user_id=this.userID,r.organization_name=this.organizationName,this.orgService.isPropertyUpdated.next(!0),this.orgService.updateEditedProperty(r))),this.organisationPropertyForm.reset(),this.modalService.dismissAll(),this.submitted=!1,this.checkForQsTooltip()},r=>{this.loading.stop(),this.alertMsg=r,this.isOpen=!0,this.alertType="danger",this.onCancelClickProperty()}),this.checkForQsTooltip()}else{const o={name:this.organisationPropertyForm.value.propertyname,website:this.organisationPropertyForm.value.protocol+this.organisationPropertyForm.value.website,logo_url:this.organisationPropertyForm.value.logourl,force_save:"true",sub_domain:i,sub_domain_keys:this.organisationPropertyForm.value?.subDomain};this.loading.start(),this.orgService.addProperties(this.organizationID,o,this.constructor.name,u.e.consentSolutionModule).subscribe(r=>{this.loading.stop(),r&&(this.modalRef.hide(),this.alertMsg="New property has been added!",this.isOpen=!0,this.alertType="success",this.getPropertyList(this.organizationID),this.orgService.isOrganizationUpdated.next(!0),this.organisationPropertyForm.patchValue({protocol:this.protocol}))},r=>{this.loading.stop(),this.alertMsg=r,this.isOpen=!0,this.alertType="danger"}),this.submitted=!1,this.organisationPropertyForm.reset(),this.modalService.dismissAll("Data Saved!"),this.checkForQsTooltip()}}onSubmit(){if(this.isViewOnlyUser())return this.blockUnauthorizedAction();let i=[];if(this.organisationPropertyForm.value.subDomain.length>0&&(i=this.organisationPropertyForm.value.subDomain.map(o=>this.organisationPropertyForm.value.protocol+o+"."+this.onFilterWebsite(this.organisationPropertyForm.value.website))),this.submitted=!0,this.organisationPropertyForm.invali
1d)return!1;if(this.isEditProperty){const o={name:this.organisationPropertyForm.value.propertyname,website:this.organisationPropertyForm.value.protocol+this.organisationPropertyForm.value.website,logo_url:this.organisationPropertyForm.value.logourl,force_save:"false",sub_domain:i,sub_domain_keys:this.organisationPropertyForm.value?.subDomain};this.loading.start(),this.orgService.editProperties(this.myContext.oid,this.myContext.pid,o,this.constructor.name,u.e.consentSolutionModule).subscribe(r=>{this.loading.stop(),r&&(this.alertMsg="Property has been updated!",this.isOpen=!0,this.alertType="success",this.getPropertyList(r.response.oid),this.orgService.isPropertyUpdated.next(!0),r.response.id===this.currrentManagedPropID&&(this.orgService.changeCurrentSelectedProperty(r),r.user_id=this.userID,r.organization_name=this.organizationName,this.orgService.isPropertyUpdated.next(!0),this.orgService.updateEditedProperty(r))),this.organisationPropertyForm.reset(),this.modalService.dismissAll(),this.submitted=!1,this.checkForQsTooltip()},r=>{this.loading.stop(),r.error.Error?(r.hasOwnProperty("sub_domain")?(this.alertMsg="Our servers unable to reach your sub domain "+r.sub_domain+" Do you wanna continue with same.",this.pingerrormessage="We were unable to reach "+r.sub_domain+" subdomain kindly check the URL once . Do you still want to continue with same Subdomain URL?"):(this.alertMsg=r.error?.Error,this.pingerrormessage="We were unable to reach your Main website kindly check the URL once . Do you still want to continue with same Website URL?"),this.openModalsecond(this.PingpropertyModal),this.isOpen=!0,this.alertType="danger"):(this.alertMsg=r,this.isOpen=!0,this.alertType="danger",this.onCancelClickProperty())}),this.checkForQsTooltip()}else{const o={name:this.organisationPropertyForm.value.propertyname,website:this.organisationPropertyForm.value.protocol+this.organisationPropertyForm.value.website,logo_url:this.organisationPropertyForm.value.logourl,force_save:"false",sub_domain:i,sub_domain_keys:this.organisationPropertyForm.value?.subDomain};this.loading.start(),this.orgService.addProperties(this.organizationID,o,this.constructor.name,u.e.consentSolutionModule).subscribe(r=>{this.loading.stop(),r&&(this.alertMsg="New property has been added!",this.isOpen=!0,this.alertType="success",this.organisationPropertyForm.reset(),this.getPropertyList(this.organizationID),this.orgService.isOrganizationUpdated.next(!0),this.organisationPropertyForm.patchValue({protocol:this.protocol}))},r=>{this.loading.stop(),r.error.Error?(r.hasOwnProperty("sub_domain")?(this.alertMsg="Our servers unable to reach your sub domain "+r.sub_domain+" Do you wanna continue with same.",this.pingerrormessage="We were unable to reach "+r.sub_domain+" subdomain kindly check the URL once . Do you still want to continue with same Subdomain URL?"):(this.alertMsg=r.error?.Error,this.pingerrormessage="We were unable to reach your Main website kindly check the URL once . Do you still want to continue with same Website URL?"),this.openModalsecond(this.PingpropertyModal),this.isOpen=!0,this.alertType="danger"):(this.alertMsg=r,this.isOpen=!0,this.alertType="danger")}),this.submitted=!1,this.modalService.dismissAll("Data Saved!"),this.checkForQsTooltip()}}onChangeEvent(i){this.paginationConfig.itemsPerPage=Number(i.target.value),this.paginationConfig.currentPage=1,this.loadTeamMemberlist(this.lazyevent)}propertyPageChangeEvent(i){this.propertyPageConfig.currentPage=i,this.orgService.getPropertyList(this.organizationID,this.constructor.name,u.e.consentSolutionModule,"?limit="+this.propertyPageConfig.itemsPerPage+"&page="+this.propertyPageConfig.currentPage).subscribe(r=>(this.propertyPageConfig.totalItems=r.count,this.propertyList=r.response,this.propertyList))}onPagesizeChangeEvent(i){this.propertyPageConfig.itemsPerPage=Number(i.target.value),this.propertyPageConfig.currentPage=1}onCheckSubscription(){return this.loading.start("2"),new Promise(i=>{this.dataService.getOrgAvailability(this.constructor.name,u.e.cookieConsentModule,this.organizationID).subscribe(o=>{this.loading.stop("2"),!1===this.dataService.checkUserForOrg(o.response,this.paginationConfig.totalItems,o.response?.plan_details)&&i(!1),i(!0)},o=>{this.loading.stop("2"),i(!1)})})}onInviteUserTypeChange(i){i||this.inviteUserOrgForm.patchValue({invite_sso:!1,sso_provider:""})}updateInviteSsoProviderValidation(i){const o=this.inviteUserOrgForm.get("sso_provider");i?o.setValidators([c.kI.required]):(o.clearValidators(),o.setValue("",{emitEvent:!1}
1)),o.updateValueAndValidity({emitEvent:!1})}onSubmitInviteUserOrganization(){if(this.isViewOnlyUser())return this.blockUnauthorizedAction();let i;if(this.isInviteFormSubmitted=!0,this.inviteUserOrgForm.invalid)return!1;if(this.isUpdateUserinvitation){let o=this.inviteUserOrgForm.getRawValue().emailid;this.companyService.updateUserRole(this.constructor.name,u.e.organizationDetailsModule,{id:this.recordID,user_id:this.approverID,email:o,role_id:this.inviteUserOrgForm.value.permissions,firstname:this.inviteUserOrgForm.value.firstname,lastname:this.inviteUserOrgForm.value.lastname,orgid:this.organizationID,user_level:"organization",action:"edit"}).subscribe(l=>{l&&(this.alertMsg=l.response,this.isOpen=!0,this.alertType="success",this.loadTeamMemberlist(this.lazyevent),this.onCancelClick())},l=>{this.alertMsg=JSON.stringify(l?.error?.error),this.isOpen=!0,this.alertType="danger",this.onCancelClick()})}else{if(!this.onCheckSubscription())return!1;const o=!!this.inviteUserOrgForm.value.invite_sso&&this.selectusertype;i=this.selectusertype?{firstname:this.inviteUserOrgForm.value.firstname.trim(),lastname:this.inviteUserOrgForm.value.lastname.trim(),email:this.inviteUserOrgForm.value.emailid.trim(),role_id:this.inviteUserOrgForm.value.permissions.trim(),orgid:this.organizationID,user_level:"organization",invite_sso:o,...o?{sso_provider:this.inviteUserOrgForm.value.sso_provider}:{}}:{email:this.inviteUserOrgForm.value.emailid.trim(),role_id:this.inviteUserOrgForm.value.permissions.trim(),orgid:this.organizationID,user_level:"organization",invite_sso:o,...o?{sso_provider:this.inviteUserOrgForm.value.sso_provider}:{}},this.loading.start(),this.companyService.inviteUser(this.constructor.name,u.e.organizationDetailsModule,i,{twoF2Type:this.inviteUserOrgForm.value.authType}).subscribe(l=>{this.loading.stop(),l&&(this.alertMsg=l.response||l.error,this.isOpen=!0,this.alertType="success",this.loadTeamMemberlist(this.lazyevent),this.onCancelClick(),this.onGetOrgPlan())},l=>{this.loading.stop(),this.alertMsg=JSON.stringify(l?.error?.error),this.isOpen=!0,this.alertType="danger",this.onCancelClick()})}}loadRoleList(){this.userService.getRoleList(this.constructor.name,u.e.organizationDetailsModule).subscribe(i=>{i&&(this.roleList=i.response.filter(r=>{const l=(r.role_name||"").toLowerCase();return!(l.includes("super administrator")||"administrator"===l||"view only"===l)}))})}loadOrgTeamMembers(i){this.orgService.getOrgTeamMembers(i,this.constructor.name,u.e.consentSolutionModule,"&limit="+this.paginationConfig.itemsPerPage+"&page="+this.paginationConfig.currentPage).subscribe(l=>(this.organizationTeamMemberList=l.response,this.totalTeamMemberCount=l.count,this.paginationConfig.totalItems=l.count,this.teamlist=this.organizationTeamMemberList,this.teamlist))}loadUserListForInvitation(i){this.companyService.getUserList(i,this.constructor.name,u.e.companyModule).subscribe(o=>{this.userList=o.response})}typeaheadNoResults(i){this.noResult=i}onSearchEmailId(i){this.loadUserListForInvitation(i)}viewOrganizationTeam(){this.router.navigate(["settings/organizations/organizationteam",this.organizationID])}checkstatus(){for(let i of this.propertyList){if(0!=i?.property_licenses.length){this.show=!1;break}this.show=!0}}disableOrganization(i){if(this.isViewOnlyUser())return this.blockUnauthorizedAction();this.controlname=i,this.checkstatus(),1==this.show?this.openModal(this.confirmModal):0==this.show&&this.openModal(this.cannotdeleteAlertModal)}confirmDeleteTeamMember(){this.modalRef.hide(),this.companyService.removeTeamMember(this.constructor.name,u.e.organizationDetailsModule,this.confirmTeammember,this.organizationID).subscribe(i=>{i&&(this.alertMsg=i.response,this.isOpen=!0,this.alertType="success",this.loadTeamMemberlist(this.lazyevent),this.onCancelClick(),this.onGetOrgPlan())},i=>{this.alertMsg=i,this.isOpen=!0,this.alertType="danger"})}removeTeamMember(i,o){if(this.isViewOnlyUser())return this.blockUnauthorizedAction();i.user_level="organization",this.confirmTeammember=i,this.controlname=o,this.selectedTeamMember=i.user_email,this.openModal(this.confirmModal)}isDateOrString(i){const o=Date.parse(i);return!isNaN(o)}onResendInvitation(i){this.companyService.resendInvitation(this.constructor.name,u.e.organizationDetail
1sModule,i,this.organizationID).subscribe(o=>{o&&(this.alertMsg=o.response,this.isOpen=!0,this.alertType="info",this.loadTeamMemberlist(this.lazyevent),this.inviteUserOrgForm.reset(),this.modalService.dismissAll("Data Saved!"))},o=>{this.alertMsg=o,this.isOpen=!0,this.alertType="danger",this.modalService.dismissAll("Error!")})}editUserInvitation(i,o){if(this.isViewOnlyUser())return this.blockUnauthorizedAction();this.isUpdateUserinvitation=!0,this.recordID=o.id,this.approverID=o.approver_id,this.inviteUserOrgForm.patchValue({invite_sso:!1,sso_provider:""}),this.inviteUserOrgForm.controls.emailid.setValue(o.user_email),this.inviteUserOrgForm.get("emailid")[this.isUpdateUserinvitation?"disable":"enable"](),this.inviteUserOrgForm.controls.permissions.setValue(o.role_id),this.inviteUserOrgForm.controls.firstname.setValue(this.separateUsername(o.user_name)[0]),this.inviteUserOrgForm.controls.lastname.setValue(this.separateUsername(o.user_name)[1]),this.inviteUserOrgForm.get("authType").clearValidators(),this.inviteUserOrgForm.get("authType").updateValueAndValidity(),this.modalService.open(i,{ariaLabelledBy:"modal-basic-title"}).result.then(r=>{this.inviteUserOrgForm.reset()},r=>{this.inviteUserOrgForm.reset()})}onCancelClick(){this.modalService.dismissAll("Canceled"),this.isInviteFormSubmitted=!1,this.isUpdateUserinvitation=!1,this.selectusertype=!0,this.isconfirmationsubmitted=!1,this.inviteUserOrgForm.reset(),this.inviteUserOrgForm.patchValue({invite_sso:!1,sso_provider:""}),this.confirmationForm.reset()}onClosed(i){this.alertMsg=!i,this.isOpen=!1}onCancelClickProperty(){this.userService.onRevistQuickStartmenulink.next({quickstartid:this.quickDivID,reclickqslink:!0,urlchanged:!1}),this.quickDivID="",this.submitted=!1,this.modalService.dismissAll("Canceled"),this.organisationPropertyForm.patchValue({protocol:"https://"})}loadLogoURL(i){return null!==i&&-1!==i.indexOf("http")?i:i="assets/imgs/no_image.png"}confirmOrganizationDelete(){this.modalRef.hide(),this.orgService.disableOrganization(this.organizationID,{active:!1},this.constructor.name,u.e.consentSolutionModule).subscribe(o=>{o&&(this.userInput="",this.alertMsg=o.error,this.isOpen=!0,this.alertType="success",this.orgService.isOrganizationUpdated.next(!0),this.router.navigate(["settings/organizations"]))},o=>{this.alertMsg=o?.error?.error,this.isOpen=!0,this.alertType="danger",this.onCanceled()})}onCanceled(){this.isconfirmationsubmitted=!1,this.modalService.dismissAll("Canceled"),this.confirmationForm.reset()}onSubmitConfirmation(i){return this.isconfirmationsubmitted=!0,!this.confirmationForm.invalid&&"Delete"===this.confirmationForm.value.userInput&&void("organization"===i?this.confirmOrganizationDelete():"property"===i?this.confirmPropertyDelete():"team member"===i&&this.confirmDeleteTeamMember())}cancelModal(){return this.modalRef.hide(),this.confirmationForm.reset(),this.isconfirmationsubmitted=!1,!1}openModal(i){this.modalRef=this.bsmodalService.show(i,{class:""})}openModalsecond(i){this.modalRef=this.bsmodalService.show(i,{class:"modal-lg"})}showControlContent(){return"team member"===this.controlname?this.selectedTeamMember:"organization"===this.controlname?this.organizationName:"property"===this.controlname?this.confirmProperty:void 0}separateUsername(i){return i.split(" ")}loadOrganizationLicenseNameByID(i,o){this.orgService.getOrganizationLicenseNameByID(i,o,this.constructor.name,u.e.consentSolutionModule).subscribe(r=>{void 0!==r.response[0]&&void 0!==r.response[0].name&&void 0!==r.response[0].cycle&&(this.orgLicensedPlanName=r.response[0].name+" "+r.response[0].cycle)})}isViewOnlyUser(){return(this.userRole||"").toString().toLowerCase().includes("view only")}blockUnauthorizedAction(){return this.alertMsg=this.unauthorizedActionMessage,this.isOpen=!0,this.alertType="danger",!1}redirectToManageLicense(){this.router.navigate(["/settings/billing/manage"],{queryParams:{oid:this.queryOID,pid:this.queryPID},queryParamsHandling:"merge",skipLocationChange:!1})}changeValidators(){this.selectusertype?(this.inviteUserOrgForm.controls.firstname.setValidators([c.kI.required]),this.inviteUserOrgForm.controls.lastname.setValidators([c.kI.required])):(this.inviteUserOrgForm.controls.firstname.clearValidators(),this.inviteUserOrgForm.controls.lastname.clearValidators()),this.inviteUserOrgForm.get("firstname").updateV
1alueAndValidity(),this.inviteUserOrgForm.get("lastname").updateValueAndValidity()}showQuickstartTooltip(){const i=this.quickmenuService.getQuerymenulist();this.quickmenuService.onClickEmitQSLinkobj.pipe((0,h.R)(this.unsubscribeAfterUserAction$)).subscribe(o=>{if(null!=i&&0!==i.length){const r=i.findIndex(l=>1==l.index);(i[r].quicklinks.some(l=>l.linkid==o.linkid&&l.isactualbtnclicked)||i[r].quicklinks.some(l=>l.linkid==o.linkid&&!l.isactualbtnclicked))&&(this.quickDivID=o.linkid)}}),this.unsubscribeAfterUserAction$.next(),this.unsubscribeAfterUserAction$.complete()}checkForQsTooltip(){this.userService.onRevistQuickStartmenulink.next({quickstartid:this.quickDivID,reclickqslink:!0,urlchanged:!0}),this.quickDivID=""}ngAfterViewInit(){this.showQuickstartTooltip(),this.userService.isRevisitedQSMenuLink.subscribe(i=>{this.isRevistedLink=i.reclickqslink,this.currentLinkID=i.quickstartid,this.iswindowclicked=i.urlchanged}),this.cdref.detectChanges(),void 0!==this.pinviteMemberTable&&this.pinviteMemberTable.el.nativeElement.getElementsByTagName("table")[0].setAttribute("data-name","userTbl"),void 0!==this.porgpropertyTable&&this.porgpropertyTable.el.nativeElement.getElementsByTagName("table")[0].setAttribute("data-name","propertyTbl"),this.onTeamMembersearch()}ngOnDestroy(){this.quickDivID="",this.unsubscribeAfterUserAction$.unsubscribe()}onUpdateTFAUser(i){this.loading.start(),this.companyService.updateTwoFactorUserDetails(this.constructor.name,u.e.companyModule,i).subscribe(o=>{this.loading.stop(),this.loadTeamMemberlist(this.lazyevent),this.alertMsg=o.response,this.isOpen=!0,this.alertType="success"},o=>{this.loading.stop(),this.alertMsg=o,this.isOpen=!0,this.alertType="danger"})}onFilterWebsite(i){if(i){const o=i.split(".");return o[o.length-2]+"."+o[o.length-1]}}onResetTFAUser(i){this.loading.start(),this.companyService.resetTwoFactorUserDetails(this.constructor.name,u.e.companyModule,i).subscribe(o=>{this.loading.stop(),this.loadTeamMemberlist(this.lazyevent),this.alertMsg=o.response,this.isOpen=!0,this.alertType="success"},o=>{this.loading.stop(),this.alertMsg=o,this.isOpen=!0,this.alertType="danger"})}onActivityPage(i){this.activityFirst=i?.first??0,this.activityRowsPerPage=i?.rows??this.activityRowsPerPage,this.loadOrganizationActivity(this.getCurrentActivityOrganizationId())}getCurrentActivityOrganizationId(){return void 0!==this.organizationID&&-1!==this.organizationID.indexOf("oid")?(0,A.Dq)(this.location.path())[0]:this.organizationID}loadOrganizationActivity(i){if(!i)return this.activityRows=[],this.activityCount=0,void(this.activityError="");this.activityLoading=!0,this.activityError="",this.userActivityService.getOrganizationActivity(i,this.activityRowsPerPage,this.activityFirst).subscribe({next:o=>{this.activityRows=o?.response??[],this.activityCount=o?.count??this.activityRows.length,this.activityLoading=!1},error:()=>{this.activityRows=[],this.activityCount=0,this.activityError="Failed to load activity data.",this.activityLoading=!1}})}};let n=a;return a.\u0275fac=function(o){return new(o||a)(t.Y36(Z.gz),t.Y36(E.M),t.Y36(Y.FF),t.Y36(c.QS),t.Y36(D.J),t.Y36(J.KD),t.Y36(Z.F0),t.Y36(R.D),t.Y36(g.tT),t.Y36(b.LA),t.Y36(s.Ye),t.Y36(d.K),t.Y36(t.sBO),t.Y36(m.Dx),t.Y36(y.K))},a.\u0275cmp=t.Xpm({type:a,selectors:[["app-organizationdetails"]],viewQuery:function(o,r){if(1&o&&(t.Gf(it,7),t.Gf(nt,5),t.Gf(ot,5),t.Gf(rt,7),t.Gf(at,5),t.Gf(st,5),t.Gf(lt,5),t.Gf(ct,5),t.Gf(dt,5)),2&o){let l;t.iGM(l=t.CRH())&&(r.propertyModal=l.first),t.iGM(l=t.CRH())&&(r.confirmModal=l.first),t.iGM(l=t.CRH())&&(r.deleteAlertModal=l.first),t.iGM(l=t.CRH())&&(r.PingpropertyModal=l.first),t.iGM(l=t.CRH())&&(r.cannotdeleteAlertModal=l.first),t.iGM(l=t.CRH())&&(r.pinviteMemberTable=l.first),t.iGM(l=t.CRH())&&(r.porgpropertyTable=l.first),t.iGM(l=t.CRH())&&(r.sendgridTemplate=l.first),t.iGM(l=t.CRH())&&(r.deleteSmtpTemplate=l.first)}},decls:82,vars:36,consts:[["appTheme",""],[1,"mb-3"],["aria-label","breadcrumb"],[1,"breadcrumb","breadcrumb-style1","mg-b-0"],[1,"breadcrumb-item"],["routerLink","/settings",3,"queryParams","click"],["aria-current","page",1,"breadcrumb-item","active"],["routerLink","/settings/organizations",3,"queryParams","click"],[1,"row"],[1,"col-12"],[1,"card"],[1,"card-header","d-flex","align-items-center","justify-content-between","pd-15"],[1,"mg-b-0","tx-color-03"],["role","group","aria-label","Basic example",1,"row","row-sm","mr-0"],[1,"btn","btn-sm","btn-secondary","btn-uppercase","mr-2",3,"disabled","click"],[1,"d-none","d-sm-inline","cursorpointer","mg-l-0",2,"text-transform","none","font-size","12px"],["aria-hidden","true",1,"fa","fa-pen","mr-1"],["class","btn btn-xs btn-danger float-right","style","text-transform: none;font-size: 12px;",3,"click",4,"ngIf"],[1,"card-body"],[1,"row","row-sm"],[1,"col-sm-2","mg-t-5","mg-sm-t-5"],[1,"tx-11","tx-medium","tx-spacing-1","tx-color-03","tx-sans","mg-b-10"],[1,"mg-b-0"],["class","col-sm-4 mg-t-5 mg-sm-t-5",4,"ngIf"],[1,"settings-tabs"],["type","button",1,"settings-tab",3,"click"],["class","card",4,"ngIf"],["editOrgModal",""],[3,"smtpModalType","smtpConnectionDetail
1s","closeModal","connectionSuccessStatus","refreshSmtpList",4,"ngIf"],["PingpropertyModal",""],["propertyModal",""],["template",""],["inviteuserModal",""],[1,"col-sm-5","mr-0","float-right","flotingdiv",3,"ngClass"],["class","mr-1","dismissOnTimeout","5000",3,"type","dismissible","onClosed",4,"ngIf"],["confirmTemplate",""],["deletePropertyAlert",""],["cannotdeleteorganizationAlert",""],["deleteSmtpModal",""],[1,"btn","btn-xs","btn-danger","float-right",2,"text-transform","none","font-size","12px",3,"click"],[1,"far","fa-trash-alt","fa-sm"],[1,"d-none","d-sm-inline","mg-l-0","ml-2"],[1,"col-sm-4","mg-t-5","mg-sm-t-5"],["dataKey","id","styleClass","p-datatable-customers","currentPageReportTemplate","Showing {first} to {last} of {totalRecords} entries",1,"org-property-table",3,"value","lazy","rowHover","rows","showCurrentPageReport","rowsPerPageOptions","loading","paginator","totalRecords","filterDelay","customSort","globalFilterFields","onLazyLoad"],["porgpropertyTable",""],["pTemplate","caption"],["pTemplate","header"],["pTemplate","body"],["pTemplate","emptymessage"],[1,"d-flex"],[1,"row","col-3","input-group"],["placeholder","Search by property name","type","search","value","search","id","example-search-input",1,"form-control","py-2","border-right-0","border",3,"ngModel","input","ngModelChange"],[1,"input-group-append"],[1,"input-group-text","bg-transparent"],[1,"fa","fa-search"],[1,"ml-auto"],["type","button","data-toggle","modal",1,"btn","btn-sm","btn-primary","btn-uppercase","ml-2",2,"text-transform","none","font-size","12px",3,"ngClass","disabled","click"],[1,"fas","fa-plus"],["scope","col",2,"width","3rem"],["scope","col"],["scope","col","pSortableColumn","name",2,"width","150px"],["field","name"],["scope","col","pSortableColumn","website"],["field","website"],["scope","col",2,"width","250px"],["scope","col",2,"width","300px"],["scope","col",2,"width","100px"],["scope","col","pSortableColumn","active",2,"width","100px"],["field","active"],[1,"p-selectable-row"],[1,"img-wrapper"],[1,"img-fluid","property-logo",3,"src"],[1,"subdomain-list"],[4,"ngFor","ngForOf"],[4,"ngIf"],["tooltip","Edit property details","class","pd-r-5",3,"click",4,"ngIf"],["tooltip","Delete property","class","pd-r-5",3,"click",4,"ngIf"],[1,"badge",3,"ngClass"],[1,"btn","btn-primary","btn-xs",3,"disabled","click"],["tooltip","Edit property details",1,"pd-r-5",3,"click"],[1,"cursorpointer"],[1,"far","fa-edit","fa-1x","redirect-text"],["tooltip","Delete property",1,"pd-r-5",3,"click"],[1,"far","fa-trash-alt","tx-danger","fa-sm"],["colspan","8"],[1,"card-header","tx-semibold"],[1,"searchfield","row"],[1,"col-3","input-group"],["placeholder","Search by member's name or email","type","search","value","search","id","example-search-input",1,"form-control","py-2","border-right-0","border",3,"ngModel","ngModelChange"],[1,"ml-auto","mr-3"],["type","button","data-toggle","modal",1,"invite-user-btn","btn","btn-sm","btn-primary","btn-uppercase","mr-",2,"text-transform","none","font-size","12px",3,"disabled","click"],["dataKey","id","styleClass","p-datatable-customers","currentPageReportTemplate","Showing {first} to {last} of {totalRecords} entries",1,"org-property-table",3,"value","lazy","first","rowHover","rows","showCurrentPageReport","rowsPerPageOptions","loading","paginator","customSort","totalRecords","firstChange","onLazyLoad"],["pinviteMemberTable",""],["scope","col","pSortableColumn","user_name"],["field","user_name"],["scope","col","pSortableColumn","user_email",2,"width","250px"],["field","user_email"],["scope","col","pSortableColumn","role_name",2,"width","200px"],["field","role_name"],["scope","col",2,"width","200px"],["scope","col",2,"width","150px"],[3,"disabled","ngModel","ngModelChange","onChange",4,"ngIf"],["class","mt-1","style","height: 20px; float: right; cursor: pointer;","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 512 512",3,"click",4,"ngIf"],[1,"text-center",3,"ngClass"],["type","button","class","btn btn-xs btn-primary",3,"disabled","click",4,"ngIf","ngIfElse"],["LoginDate",""],[3,"ngClass"],["class","mg-l-0","tooltip","Edit or delete not applicable for super administrator at organization level, if want to change role visit company page","placement","top","container","body",3,"adaptivePosition",4,"ngIf"],["tooltip","Edit user details","class","pd-r-5",3,"click",4,"ngIf"],["tooltip","Delete user details","class","pd-r-5 cursorpointer",3,"click",4,"ngIf"],[3,"disabled","ngModel","ngModelChange","onChange"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 512 512",1,"mt-1",2,"height","20px","float","right","cursor","pointer",3,"click"],["d","M496 48V192c0 17.69-14.31 32-32 32H320c-17.69 0-32-14.31-32-32s14.31-32 32-32h63.39c-29.97-39.7-77.25-63.78-127.6-63.78C167.7 96.22 96 167.9 96 256s71.69 159.8 159.8 159.8c34.88 0 68.03-11.03 95.88-31.94c14.22-10.53 34.22-7.75 44.81 6.375c10.59 14.16 7.75 34.22-6.375 44.81c-39.03 29.28-85.36 44.86-134.2 44.86C132.5 479.9 32 379.4 32 256s100.5-223.9 223.9-223.9c69.15 0 134 32.47 176.1 86.12V48c0-17.69 14.31-32 32-32S496 30.31 496 48z"],["type","button",1,"btn","btn-xs","btn-primary",3,"disabled","click"],[1,"fas","fa-envelope"],["tooltip","Edit or delete not applicable for super administrator at organization level, if want to change role visit company page","placement","top","container","body",1,"mg-l-0",3,"adaptivePosition"],[1,"fa","fa-pen","mr-2","tx-gray-400"],[1,"far","fa-tras
1h-alt","tx-gray-400","fa-sm"],["tooltip","Edit user details",1,"pd-r-5",3,"click"],[1,"d-none","d-sm-inline","mg-l-0","cursorpointer"],["aria-hidden","true",1,"fa","fa-pen","mr-1","redirect-text"],["tooltip","Delete user details",1,"pd-r-5","cursorpointer",3,"click"],["colspan","7"],["appMenu","matMenu"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["type","button","data-toggle","modal",1,"btn","btn-sm","btn-primary","btn-uppercase","ml-2",2,"text-transform","none","font-size","12px",3,"disabled","matMenuTriggerFor"],["header","SendGrid List"],["dataKey","id","styleClass","p-datatable-customers",1,"org-property-table",3,"value","lazy","first","rowHover","rows","showCurrentPageReport","rowsPerPageOptions","firstChange"],["psenderTable",""],["header","SMTP List"],["mat-menu-item","",3,"click"],[4,"ngIf","ngIfElse"],["elseBlock",""],["tooltip","Refresh",1,"btn","btn-sm","btn-primary",3,"click"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 512 512","fill","white"],["d","M89.1 202.6c7.7-21.8 20.2-42.3 37.8-59.8c62.5-62.5 163.8-62.5 226.3 0L370.3 160H320c-17.7 0-32 14.3-32 32s14.3 32 32 32H447.5c0 0 0 0 0 0h.4c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32s-32 14.3-32 32v51.2L398.4 97.6c-87.5-87.5-229.3-87.5-316.8 0C57.2 122 39.6 150.7 28.8 181.4c-5.9 16.7 2.9 34.9 19.5 40.8s34.9-2.9 40.8-19.5zM23 289.3c-5 1.5-9.8 4.2-13.7 8.2c-4 4-6.7 8.8-8.1 14c-.3 1.2-.6 2.5-.8 3.8c-.3 1.7-.4 3.4-.4 5.1V448c0 17.7 14.3 32 32 32s32-14.3 32-32V396.9l17.6 17.5 0 0c87.5 87.4 229.3 87.4 316.7 0c24.4-24.4 42.1-53.1 52.9-83.7c5.9-16.7-2.9-34.9-19.5-40.8s-34.9 2.9-40.8 19.5c-7.7 21.8-20.2 42.3-37.8 59.8c-62.5 62.5-163.8 62.5-226.3 0l-.1-.1L109.6 352H160c17.7 0 32-14.3 32-32s-14.3-32-32-32H32.4c-1.6 0-3.2 .1-4.8 .3s-3.1 .5-4.6 1z"],["tooltip","Resend Verification email",1,"btn","btn-sm","btn-primary","ml-3",3,"title","disabled","click"],[1,"fas","fa-envelope","mr-1"],[1,"pi","pi-check",2,"font-size","1.0rem","color","#5cb85c"],[1,"pi","pi-times",2,"font-size","1.0rem","color","#d9534f"],["colspan","6"],["tooltip","Edit SMTP Configuration",1,"pd-r-5",2,"font-size","large",3,"click"],["tooltip","Delete SMTP Configuration",1,"pd-r-5","cursorpointer",2,"font-size","large",3,"click"],[1,"modal-header"],["id","modal-basic-title",1,"modal-title"],["type","button","aria-label","Close",1,"close",3,"click"],["aria-hidden","true"],["appTheme","",1,"modal-body"],[3,"formGroup","ngSubmit"],[1,"col-sm-12"],[1,"form-group"],["for","organizationName"],["aria-hidden","true",1,"tx-8","fa","fa-asterisk","tx-danger","ml-1",2,"vertical-align","super"],["type","text","minlength","2","maxlength","55","formControlName","organizationName","name","organizationName","placeholder","Enter Organization name",1,"form-control",3,"ngClass"],["class","invalid-feedback",4,"ngIf"],[1,"col-sm-6"],["for","taxID"],["type","text","formControlName","taxID","name","taxID","placeholder","Enter your Tax ID",1,"form-control"],["for","addressOne"],["type","text","minlength","6","maxlength","200","formControlName","addressOne","name","addressOne","placeholder","Enter Flat, House number, and so on",1,"form-control",3,"ngClass"],["for","addressTwo"],["type","text","formControlName","addressTwo","name","addressTwo","placeholder","Enter Street, Area, Village, and so on",1,"form-control"],["for","city"],["type","text","minlength","2","maxlength","250","formControlName","city","name","city","placeholder","Enter your city",1,"form-control",3,"ngClass"],["for","state"],["type","text","minlength","2","maxlength","250","formControlName","state","name","state","placeholder","Enter your state",1,"form-control",3,"ngClass"],["type","text","formControlName","zipcode","name","zipcode","placeholder","Enter your ZIP code",1,"form-control",3,"ngClass"],["for","email"],["type","text","formControlName","email","name","email","placeholder","Enter your email",1,"form-control",3,"ngClass"],[1,"form-group","mb-1"],["for","phone"],["name","phone","formControlName","phone",3,"cssClass","enableAutoCountrySelect","preferredCountries","enablePlaceholder","searchCountryFlag","selectFirstCountry","maxLength","phoneValidation","separateDialCode","ngClass"],["class","is-invalid-intphone",4,"ngIf"],[1,"row","pull-right-btn"],[1,"text-right"],["type","reset",1,"btn","btn-link","tx-decoration-underline",3,"click"],["type","submit",1,"btn","btn-primary"],[1,"invalid-feedback"],[1,"is-invalid-intphone"],[3,"smtpModalType","smtpConnectionDetail
1s","closeModal","connectionSuccessStatus","refreshSmtpList"],[1,"pull-right-btn"],["type","button",1,"btn","btn-link","tx-decoration-underline",3,"click"],["type","button",1,"btn","btn-primary",3,"click"],["class","modal-title","id","modal-basic-title",4,"ngIf","ngIfElse"],["editHeading",""],["for","name"],["type","text","name","propertyname","formControlName","propertyname","placeholder","Enter property name",1,"form-control",3,"ngClass"],[1,"form-group","mb-0"],["for","website"],[1,"input-group"],["name","protocol","formControlName","protocol",1,"custom-select",3,"ngClass"],[1,"col-sm-9","p-0","input-group-append","flex-column"],["type","text","name","website","formControlName","website","placeholder","Enter your domain",1,"form-control",3,"ngClass"],["class","btn btn-link float-right","type","button",3,"click",4,"ngIf"],["formArrayName","subDomain",1,"mt-2"],["for","subdomain",4,"ngIf"],["class","pl-3 pr-2 pb-1  subdomains row",4,"ngFor","ngForOf"],["for","logourl"],["type","text","name","logourl","formControlName","logourl","placeholder","Enter Logo URL",1,"form-control"],[1,"heading-span-withcolor"],[3,"value"],["type","button",1,"btn","btn-link","float-right",3,"click"],["for","subdomain"],[1,"pl-3","pr-2","pb-1","subdomains","row"],[1,"col-sm-3","subdomain-div","p-0","input-group-append"],[1,"mb-0","pl-2"],[1,"col-sm-4","p-0","input-group-append"],["type","text","name","subwebsite","placeholder","Enter your Sub-domain",1,"form-control",3,"formControlName","ngClass"],[1,"col-md-5","add-minus-btnwrapper"],[1,"pt-2","text-ellipsis"],["class","ml-2 mb-1",3,"click",4,"ngIf"],[1,"ml-2","mb-1",3,"ngClass","click"],[1,"btn","btn-sm","btn-danger","minusbtn"],["aria-hidden","true",1,"fa","fa-minus"],[1,"plus-minus-btnwrapper"],["class","mr-1 tx-12 text-danger",4,"ngIf"],[1,"ml-2","mb-1",3,"click"],[1,"btn","btn-xs","btn-primary","addbtn"],["aria-hidden","true",1,"fa","fa-plus"],[1,"mr-1","tx-12","text-danger"],[1,"modal-title","pull-left"],["type","button","aria-label","Close",1,"btn-close","close","pull-right",3,"click"],["aria-hidden","true",1,"visually-hidden"],[1,"list-style-none"],["class","alert-danger alert",4,"ngFor","ngForOf"],["type","text","id","name","formControlName","name","placeholder","Enter nick name Ex: John",1,"form-control",3,"ngClass"],["for","form_email"],["type","email","id","form_email","formControlName","from_email","pattern","[a-z0-9._%+-]+@[a-z0-9.-]+\\.[a-z]{2,3}$","placeholder","Enter sender email Ex: [email protected]",1,"form-control",3,"ngClass"],["for","from_name"],["type","text","id","from_name","formControlName","from_name","placeholder","Enter sender name Ex: Johnson",1,"form-control",3,"ngClass"],["for","reply_email"],["type","email","id","reply_email","formControlName","reply_email","pattern","[a-z0-9._%+-]+@[a-z0-9.-]+\\.[a-z]{2,3}$","placeholder","Enter reply email Ex: [email protected]",1,"form-control",3,"ngClass"],["for","address"],["type","text","id","address","formControlName","address","placeholder","Enter your address",1,"form-control",3,"ngClass"],["type","text","id","city","formControlName","city","placeholder","Enter your city",1,"form-control",3,"ngClass"],["for","country"],["type","text","id","country","formControlName","country","placeholder","Enter your country",1,"form-control",3,"ngClass"],["type","submit",1,"btn","float-right","btn-primary"],[1,"alert-danger","alert"],[1,"pl-3"],["appTheme","",1,"modal-header","invite-user-header"],["editInviteUserHeading",""],["type","button","aria-label","Close",1,"invite-close-btn",3,"click"],["class","tabs",4,"ngIf"],["autocomplete","off",3,"formGroup","ngSubmit"],["class","col-sm-12 d-flex",4,"ngIf"],["class","col-sm-12 mt-2 form-group",4,"ngIf"],["for","emailid",1,"d-block"],["type","text","formControlName","emailid","name","emailid","typeaheadWaitMs","1000","typeaheadOptionField","email","placeholder","type and search country","container","body","placeholder","Enter email id",1,"form-control",3,"typeahead","typeaheadMinLength","typeaheadOptionsLimit","typeaheadSingleWords","typeaheadScrollable","typeaheadOptionsInScrollableView","ngClass","typeaheadNoResults","keypress"],[1,"col-sm-12","user-roles"],["for","permissions",1,"d-block"],["class","form-check-inline",4,"ngFor","ngForOf"],["class","invali
1d-radio",4,"ngIf"],["class","col-sm-12 mt-2",4,"ngIf"],["type","submit",1,"btn","btn-xs","btn-primary"],[1,"tabs"],[1,"tab"],["type","radio","name","selectusertype",1,"form-check-input",3,"ngModel","value","ngModelChange"],[1,"mr-3"],[1,"col-sm-12","d-flex"],[1,"col-sm-6","pl-0"],["for","firstname",1,"d-block"],["type","text","formControlName","firstname","name","firstname","placeholder","Enter first name",1,"form-control",3,"ngClass","keydown.space"],[1,"col-sm-6","pr-0"],["for","lastname",1,"d-block"],["type","text","formControlName","lastname","name","lastname","placeholder","Enter last name",1,"form-control",3,"ngClass","keydown.space"],[1,"col-sm-12","mt-2","form-group"],[1,"form-check-inline","pl-0"],["type","checkbox","id","org_invite_sso","formControlName","invite_sso",1,"form-check-input"],["for","org_invite_sso",1,"mb-0","pb-0"],["class","mt-2",4,"ngIf"],[1,"mt-2"],["formControlName","sso_provider",1,"form-control",3,"ngClass"],["value","","disabled",""],["value","google"],["value","microsoft"],[1,"form-check-inline"],["type","radio","name","permissions","formControlName","permissions",3,"id","value"],[1,"mb-0","pb-0",3,"for"],[1,"invalid-radio"],[1,"col-sm-12","mt-2"],["for","tfa",1,"d-block"],["class","form-check-inline",4,"ngIf"],["type","radio","name","authType","formControlName","authType","id","tfa",3,"value"],["for","tfa",1,"mb-0","pb-0"],["type","radio","name","authType","formControlName","authType","id","authType",3,"value"],["for","authType",1,"mb-0","pb-0"],[1,"card-header","d-flex","align-items-center","justify-content-between","pd-y-10"],[1,"tx-12","tx-color-03"],["class","alert alert-danger mb-0",4,"ngIf"],["class","org-property-table activity-table","dataKey","ID","styleClass","p-datatable-sm p-datatable-gridlines","currentPageReportTemplate","Showing {first} to {last} of {totalRecords} entries",3,"value","lazy","loading","scrollable","paginator","first","rows","showCurrentPageReport","rowsPerPageOptions","totalRecords","onLazyLoad",4,"ngIf"],[1,"alert","alert-danger","mb-0"],["dataKey","ID","styleClass","p-datatable-sm p-datatable-gridlines","currentPageReportTemplate","Showing {first} to {last} of {totalRecords} entries",1,"org-property-table","activity-table",3,"value","lazy","loading","scrollable","paginator","first","rows","showCurrentPageReport","rowsPerPageOptions","totalRecords","onLazyLoad"],["pTemplate","colgroup"],[2,"width","180px"],[2,"width","220px"],[2,"width","260px"],[2,"width","140px"],[2,"width","100px"],[2,"width","110px"],[2,"width","170px"],[2,"width","320px"],["colspan","14",1,"text-center"],[1,"activity-empty-message"],["dismissOnTimeout","5000",1,"mr-1",3,"type","dismissible","onClosed"],[1,"modal-title"],["type","button","data-dismiss","modal","aria-label","Close",1,"close",3,"click"],["appTheme","",1,"modal-body","text-center"],[1,"font-weight-bold"],["type","text","formControlName","userInput","name","userInput","required","",1,"form-control",3,"ngClass"],["class","invalid-feedback text-left",4,"ngIf"],[1,"mt-2","d-flex"],["class","btn btn-xs btn-primary btn-block",4,"ngIf"],[1,"invalid-feedback","text-left"],[1,"btn","btn-xs","btn-primary","btn-block"],["type","button","data-dismiss","modal","aria-label","Close",1,"btn","btn-xs","btn-primary",3,"click"],[2,"display","flex","justify-content","center","gap","0.5rem"],["type","button","data-dismiss","modal","aria-label","Close",1,"btn","btn-xs","btn-secondary",3,"click"]],template:function(o,r){if(1&o){const l=t.EpF();t.TgZ(0,"div",0)(1,"div",1)(2,"nav",2)(3,"ol",3)(4,"li",4)(5,"a",5),t.NdJ("click",function(){return r.checkForQsTooltip()}),t._uU(6,"Settings"),t.qZA()(),t.TgZ(7,"li",6)(8,"a",7),t.NdJ("click",function(){return r.checkForQsTooltip()}),t._uU(9,"Organizations"),t.qZA()(),t.TgZ(10,"li",6),t._uU(11,"Details"),t.qZA()()()(),t.TgZ(12,"div",8)(13,"div",9)(14,"div",10)(15,"div",11)(16,"h6",12),t._uU(17," Organization Details "),t.qZA(),t.TgZ(18,"div",13)(19,"button",14),t.NdJ("click",function(){t.CHM(l);const P=t.MAs(61);return t.KtG(r.editOrganizationModalPopup(P))}),t.TgZ(20,"span",15),t._UZ(21,"i",16),t._uU(22," Edit"),t.qZA()(),t.YNc(23,pt,4,0,"button",17),t.qZA()(),t.TgZ(24,"div",18)(25,"div",19)(26,"div",20)(27,"label",21),t._uU(28," Organization"),t.qZA(),t.TgZ(29,"p",22),t._uU(30),t.qZA()(),t.TgZ(31,"div",20)(32,"label",21),t._uU(33,"Address"),t.qZA(),t.TgZ(34,"p",22),t._uU(35),t.qZA()(),t.TgZ(36,"div",20)(37,"label",21),t._uU(38,"Email"),t.qZA(),t.TgZ(39,"p",22),t._uU(40),t.qZA()(),t.TgZ(41,"div",20)(42,"label",21),t._uU(43,"Phone"),t.qZA(),t.TgZ(44,"p",22),t._uU(45),t.qZA()(),t.YNc(46,mt,5,1,"div",23),t._UZ(47,"div",20),t.qZA()()()()(),t.TgZ(48,"div",24)(49,"button",25),t.NdJ("click",function(){return r.setActiveTab("properties")}),t._uU(50," Properties "),t.qZA(),t.TgZ(51,"button",25),t.NdJ("click",function(){return r.setActiveTab("members")}),t._uU(52," Members "),t.qZA(),t.TgZ(53,"button",25),t.NdJ("click",function(){return r.setActiveTab("sender")}),t._uU(54," Sender "),t.qZA(),t.TgZ(55,"button",25),t.NdJ("click",function(){return r.setActiveTab("activity")}),t._uU(56," Activity "),t.qZA()(),t.YNc(57,Ot,8,15,"div",26),t.YNc(58,St,18,14,"div",26),t.YNc(59,Vt,24,19,"div",26),t.YNc(60,be,77,38,"ng-template",null,27,t.W1O),t.YNc(62,ye,1,2,"app-smtp-configuration-modal",28),t.YNc(63,xe,15,1,"ng-template",null,29,t.W1O),t.YNc(65,ke,40,18,"ng-template",null,30,t.W1O),t.YNc(67,ii,54,30,"ng-template",null,31,t.W1O),t.YNc(69,Oi,34,20,"ng-template",null,32,t.W1O),t.YNc(71,zi,9,3,"div",26),t.TgZ(72,"div",33),t.YNc(73,qi,2,3,"alert",34),t.qZA(),t.YNc(74,Ni,24,10,"ng-template",null,35,t.W1O),t.YNc(76,Di,8,0,"ng-template",null,36,t.W1O),t.YNc(78,Ji,8,0,"ng-template",null,37,t.W1O),t.YNc(80,Qi,8,0,"ng-template",null,38,t.W1O),t.qZA()}2&o&&(t.xp6(5),t.Q6J("queryParams",t.WLB(28,H,r.queryOID,r.queryPID)),t.xp6(3),t.Q6J("queryParams",t.WLB(31,H,r.queryOID,r.queryPID)),t.xp6(11),t.Q6J("disabled",r.isViewOnl
1yAccess),t.xp6(4),t.Q6J("ngIf",!r.isViewOnlyAccess),t.xp6(7),t.Oqu(r.organizationName),t.xp6(5),t.xDo("",r.addressOne," ",r.addressTwo," ",r.city," ",r.state," ",r.zipcode," "),t.xp6(5),t.Oqu(r.email),t.xp6(5),t.Oqu(r.phone),t.xp6(1),t.Q6J("ngIf",r.orgLicensedPlanName),t.xp6(3),t.ekj("settings-tab--active","properties"===r.activeTab),t.xp6(2),t.ekj("settings-tab--active","members"===r.activeTab),t.xp6(2),t.ekj("settings-tab--active","sender"===r.activeTab),t.xp6(2),t.ekj("settings-tab--active","activity"===r.activeTab),t.xp6(2),t.Q6J("ngIf","properties"===r.activeTab),t.xp6(1),t.Q6J("ngIf","members"===r.activeTab),t.xp6(1),t.Q6J("ngIf","sender"===r.activeTab),t.xp6(3),t.Q6J("ngIf",r.canShowModal),t.xp6(9),t.Q6J("ngIf","activity"===r.activeTab),t.xp6(1),t.Q6J("ngClass",t.VKq(34,Li,!r.isOpen)),t.xp6(1),t.Q6J("ngIf",r.isOpen))},dependencies:[s.mk,s.sg,s.O5,T.Ql,c._Y,c.YN,c.Kr,c.Fj,c.Wl,c.EJ,c._,c.JJ,c.JL,c.Q7,c.wO,c.nD,c.c5,c.On,c.sg,c.u,c.CE,j.i9,$.wx,W.Bp,z.FV,z.mh,Q.iA,X.jx,Q.lQ,Q.fz,V.UQ,V.US,L.VK,L.OP,L.p6,Z.rH,G.Z,tt.E,s.uU,et.wr],styles:['.subdomain-div[_ngcontent-%COMP%]{border:1px solid lightgray;height:38px;border-radius:3px 0 0 3px;display:flex;align-items:center}.settings-tabs[_ngcontent-%COMP%]{display:flex;justify-content:center;gap:28px;margin:24px 0;border-bottom:1px solid #dbe4f0}.settings-tab[_ngcontent-%COMP%]{border:0;background:transparent;padding:0 4px 12px;color:#7a8ca8;font-size:14px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;cursor:pointer}.settings-tab--active[_ngcontent-%COMP%]{color:#10b759;border-bottom:2px solid #10b759}.table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%]:hover{background-color:#e9ecf1}.container[_ngcontent-%COMP%]{margin-bottom:50px}.alink[_ngcontent-%COMP%]{color:#0168fa!important;cursor:pointer}.alink[_ngcontent-%COMP%]:hover{color:#0168fa!important}.nav-link[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{color:#ffffffb3!important}.fa-edit[_ngcontent-%COMP%]{color:#0168fa}.fa-edit[_ngcontent-%COMP%]:hover{color:#0148ae}.cursor[_ngcontent-%COMP%]{cursor:pointer}.invalid-radio[_ngcontent-%COMP%]{width:100%;margin-top:.25rem;font-size:80%;color:#dc3545}.user-roles[_ngcontent-%COMP%]   .form-check-inline[_ngcontent-%COMP%] > input[type=radio][_ngcontent-%COMP%]{margin:0 5px 0 0;opacity:1;display:block}.modal-body[_ngcontent-%COMP%]   .form-check-inline[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:6px}.modal-body[_ngcontent-%COMP%]   .form-check-inline[_ngcontent-%COMP%] > input[type=radio][_ngcontent-%COMP%]{margin:0}.modal-body[_ngcontent-%COMP%]   .form-check-inline[_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{margin-bottom:0}.searchfield[_ngcontent-%COMP%]{display:flex}.table-responsive.property-div[_ngcontent-%COMP%] > .card[_ngcontent-%COMP%] > .card-body[_ngcontent-%COMP%], .table-responsive.member-div[_ngcontent-%COMP%] > .card[_ngcontent-%COMP%] > .card-body[_ngcontent-%COMP%]{padding:15px!important}.table-responsive.property-div[_ngcontent-%COMP%] > .card[_ngcontent-%COMP%] > .card-header[_ngcontent-%COMP%], .table-responsive.member-div[_ngcontent-%COMP%] > .card[_ngcontent-%COMP%] > .card-header[_ngcontent-%COMP%]{padding-top:0;padding-right:0;padding-left:0}.searchfield[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]{align-items:center}.searchfield[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.input-group-append[_ngcontent-%COMP%]{height:38px;display:flex}.searchfield[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%] > div.input-group-text[_ngcontent-%COMP%]{align-items:center}.searchfield.mt-3[_ngcontent-%COMP%]   .form-inline[_ngcontent-%COMP%]{font-weight:400}.alert-info[_ngcontent-%COMP%]{color:#0c5460;background-color:#d1ecf1;border-color:#bee5eb}.alert-success[_ngcontent-%COMP%]{background-color:#10b759;border-color:#10b759;color:#fff}.alert-danger[_ngcontent-%COMP%]{color:#721c24;background-color:#f8d7da;border-color:#f5c6cb}.flotingdiv[_ngcontent-%COMP%]{position:fixed;bottom:0;top:84%;right:0;overflow-x:hidden;overflow-y:auto}.cursorpointer[_ngcontent-%COMP%]{cursor:pointer}.redirect-text[_ngcontent-%COMP%]{color:#0168fa}
1.input-switch[_ngcontent-%COMP%]{fill:var(--side-nav-org)!important}  .p-inputswitch.p-inputswitch-checked .p-inputswitch-slider{color:var(--side-nav-org)!important;background:var(--side-nav-org)!important}  .p-inputswitch.p-inputswitch-checked .p-inputswitch-slider:hover{color:var(--side-nav-org)!important;background:var(--side-nav-org)!important}.colorblue[_ngcontent-%COMP%]{color:#00f}.hide[_ngcontent-%COMP%]{display:none}.showdiv[_ngcontent-%COMP%]{display:flex}.tabs[_ngcontent-%COMP%]{display:flex;border-bottom:1px solid #ccc;margin-bottom:15px;align-content:center;align-items:center;margin-left:10px}.tab[_ngcontent-%COMP%]   [type=radio][_ngcontent-%COMP%]{opacity:0;width:120px;height:40px;margin:0;cursor:pointer;font-size:14px}.tab[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{font-weight:500;background:white;border-bottom:0px!important;z-index:2;text-transform:uppercase;margin:0 0 0 -10px;padding:10px}.tab[_ngcontent-%COMP%]   [type=radio][_ngcontent-%COMP%]:checked ~ label[_ngcontent-%COMP%]{border-bottom:0px!important;z-index:2;text-transform:uppercase;margin-bottom:-1px;padding:10px;border:1px solid #ccc}table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > td[_ngcontent-%COMP%]:nth-child(2)>div > img.img-fluid[_ngcontent-%COMP%]{max-width:100px;max-height:50px;display:block}.img-wrapper[_ngcontent-%COMP%]{float:left}.borderzero[_ngcontent-%COMP%]{border:0}.property-logo[_ngcontent-%COMP%]{max-width:100px;max-height:50px;display:block}.card-body[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%] > .tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > td[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{cursor:pointer}  .modal-dialog .modal-sm{width:380px!important}.pagination-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between;align-items:normal;align-items:center}.height28[_ngcontent-%COMP%]{height:28px}.input-group-append[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]{border-radius:0 5px 5px 0}.flex-column[_ngcontent-%COMP%]{flex-direction:column!important}.invite-user-btn[_ngcontent-%COMP%]{margin-left:28px}.btn-border-radius[_ngcontent-%COMP%]{border-radius:8px}.pull-right-btn[_ngcontent-%COMP%]{float:right;margin-right:1px}.tx-decoration-underline[_ngcontent-%COMP%]:hover{text-decoration:underline}span[_ngcontent-%COMP%]:not(:last-of-type):after{content:","}.pagination-wrapper[_ngcontent-%COMP%]   .form-inline[_ngcontent-%COMP%]   .form-group[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{width:50%;background:url(down-arrow.268f09fa8fa3d951.svg) no-repeat;background-position:85% 50%;appearance:none}.heading-span-withcolor[_ngcontent-%COMP%]{font-size:16px;color:var(--nav-links-hover)}.tr-graybg[_ngcontent-%COMP%]{background:#f3f3f3}.plus-minus-btnwrapper[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;flex-wrap:nowrap;width:270px;align-items:center}.addbtn[_ngcontent-%COMP%], .minusbtn[_ngcontent-%COMP%]{border-radius:10px;line-height:20px;height:19px;padding:0 3px}.add-minus-btnwrapper[_ngcontent-%COMP%]{display:flex;flex-wrap:nowrap;align-items:center}.text-ellipsis[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}.is-invalid-intphone[_ngcontent-%COMP%]{color:#dc3545;font-size:80%}.is-invalid-intphone-textbox[_ngcontent-%COMP%]{border:1px solid #dc3545}  .dropdown.open.bottom{z-index:1200}.org-property-table[_ngcontent-%COMP%]     .p-datatable.p-datatable-sm .p-datatable-header{display:flex;width:100%;border-radius:0;border-top:1px solid #1856b8}.org-property-table[_ngcontent-%COMP%]     .p-datatable{position:relative;border-top:0;margin:0;border-radius:0 0 5px 5px}.org-property-table[_ngcontent-%COMP%]     .p-datatable .p-datatable-wrapper{border:1px solid #ccc}.org-property-table[_ngcontent-%COMP%]     .p-datatable .p-datatable-header{border-bottom:1px solid #ccc;border-top:0!important;margin:0 -20px 20px;padding:0 20px 18px;background:transparent}.org-property-table[_ngcontent-%COMP%]     .p-datatable .p-datatable-thead>tr>th{font-size:13px;font-weight:500;padding:8px 0;text-align:left}.org-property-table[_ngcontent-%COMP%]     .p-datatable .p-datatable-tbody>tr>td{font-size:12px;padding:2px 0;text-align:left}.org-property-table[_ngcontent-%COMP%]     .p-datatable .p-datatable-thead>tr>th:first-child{width:60px}
1.org-property-table[_ngcontent-%COMP%]     .p-datatable.p-datatable-sm .p-datatable-tbody>tr>td>a:hover{text-decoration:underline}.org-property-table[_ngcontent-%COMP%]     .p-datatable .p-datatable-tbody>tr>td:nth-child(6){word-wrap:break-word}.org-property-table[_ngcontent-%COMP%]     .p-datatable .p-datatable-tbody>tr>td:nth-child(7){text-align:center;font-size:14px;padding-left:10px}.org-property-table[_ngcontent-%COMP%]     .p-datatable .p-datatable-thead>tr>th:first-child{padding-left:10px;text-align:left}.org-property-table[_ngcontent-%COMP%]     .p-datatable .p-datatable-thead>tr>th:nth-child(7){padding-left:10px;text-align:center}.org-property-table[_ngcontent-%COMP%]     .p-datatable .p-sortable-column:focus{box-shadow:none;outline:0 none}.org-property-table[_ngcontent-%COMP%]     .p-datatable .p-datatable-tbody>tr>td:first-child{cursor:auto!important;color:#000!important;padding-left:10px;text-align:left}.org-property-table[_ngcontent-%COMP%]     .p-datatable .p-sortable-column .p-sortable-column-icon{margin-left:0;font-size:.6rem}.org-property-table[_ngcontent-%COMP%]     .p-datatable.p-datatable-sm .p-datatable-thead>tr>th{padding:.8rem .3rem}.org-property-table[_ngcontent-%COMP%]     .p-datatable.p-datatable-sm .p-datatable-thead>tr>th:first-child{padding:.8rem .5rem}.org-property-table[_ngcontent-%COMP%]     .p-multiselect .p-multiselect-label{padding:.3rem}.subdomain-list[_ngcontent-%COMP%]{margin:0;padding:0 0 0 3px;list-style-type:none}.org-property-table[_ngcontent-%COMP%]     .p-datatable .p-paginator-bottom{border-radius:0 0 5px 5px;border:1px solid #ccc;border-top:0;position:relative;justify-content:center}.org-property-table[_ngcontent-%COMP%]     .p-datatable .p-paginator .p-paginator-current{right:0!important;position:absolute!important}.org-property-table[_ngcontent-%COMP%]     .p-paginator-bottom .p-paginator{display:flex;position:relative}.org-property-table[_ngcontent-%COMP%]     .p-paginator .p-dropdown{position:absolute;left:0;top:12px;align-items:center}.org-property-table.activity-table[_ngcontent-%COMP%]     .p-datatable .p-datatable-wrapper{overflow:auto}.org-property-table.activity-table[_ngcontent-%COMP%]     .p-datatable table{min-width:2630px;table-layout:fixed}.org-property-table.activity-table[_ngcontent-%COMP%]     .p-datatable .p-datatable-thead>tr>th, .org-property-table.activity-table[_ngcontent-%COMP%]     .p-datatable .p-datatable-tbody>tr>td{text-align:left;vertical-align:top;white-space:normal;word-break:break-word;padding-left:.75rem!important;padding-right:.75rem!important}.org-property-table.activity-table[_ngcontent-%COMP%]     .p-datatable .p-datatable-thead>tr>th:nth-child(7), .org-property-table.activity-table[_ngcontent-%COMP%]     .p-datatable .p-datatable-tbody>tr>td:nth-child(7){text-align:left;font-size:12px}.org-property-table.activity-table[_ngcontent-%COMP%]     .activity-empty-message{position:sticky;left:50%;transform:translate(-50%);width:max-content;max-width:calc(100vw - 160px);margin:0 auto;padding:.8rem 0;text-align:center;white-space:nowrap}.btm-borderzero[_ngcontent-%COMP%]{border-bottom:0}.font-size-14[_ngcontent-%COMP%]{font-size:14px}.invite-user-header[_ngcontent-%COMP%]{position:relative}.invite-user-header[_ngcontent-%COMP%]   .invite-close-btn[_ngcontent-%COMP%]{position:absolute;top:50%;right:1rem;transform:translateY(-50%);display:inline-flex!important;align-items:center;justify-content:center;width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;max-width:24px!important;max-height:24px!important;padding:0!important;margin:0!important;border:0;background:transparent;line-height:1;flex:0 0 24px;cursor:pointer;font-size:1.75rem;color:#6c757d;opacity:.75}.invite-user-header[_ngcontent-%COMP%]   .invite-close-btn[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:block;line-height:1}.invite-user-header[_ngcontent-%COMP%]   .invite-close-btn[_ngcontent-%COMP%]:hover{opacity:1}']}),n})();var Yi=p(85493),Ri=p(31456);const Vi=[{path:"",component:Ei,canActivate:[Yi.a1,Ri.p]}];let Ki=(()=>{const a=class{};let n=a;return a.\u0275fac=function(o){return new(o||a)},a.\u0275mod=t.oAB({type:a}),a.\u0275inj=t.cJS({imports:[Z.Bz.forChild(Vi),Z.Bz]}),n})();var Gi=p(86789),Hi=p(23501),Bi=p(55466),ji=p(91742),$i=p(18178);let Wi=(()=>{const a=class{};let n=a;return a.\u0275fac=function(o){return new(o||a)},a.\u0275mod=t.oAB({type:a}),a.\u0275inj=t.cJS({imports:[s.ez,T.Iu,c.u5,c.UX,Gi.$,U.J,Q.U$,V.fx,$i.kW,L.Tx,Ki,G.Z,Hi.O.forRoot({themes:[Bi.W,ji.$],active:O.N.theme})]}),n})()},548:(K,F,p)=>{p.d(F,{UQ:()=>J,US:()=>D,fx:()=>R});var s=p(94650),c=p(37340),U=p(36895),Z=p(42111);function k(g,b){if(1&g&&(s.TgZ(0,"span",9),s._uU(1),s.qZA()),2&g){const d=s.oxw();s.xp6(1),s.hij(" ",d.header," ")}}function u(g,b){1&g&&s.GkF(0)}function A(g,b){1&g&&s.Hsn(0,1,["*ngIf","hasHeaderFacet"])}function v(g,b){1&g&&s.GkF(0)}function M(g,b){if(1&g&&(s.ynx(0),s.YNc(1,v,1,0,"ng-container",5),s.B
1Qk()),2&g){const d=s.oxw();s.xp6(1),s.Q6J("ngTemplateOutlet",d.contentTemplate)}}const _=["*",[["p-header"]]],h=function(g){return{"p-accordion-tab-active":g}},z=function(g,b){return{"p-highlight":g,"p-disabled":b}},q=function(g){return{transitionParams:g}},O=function(g){return{value:"visible",params:g}},I=function(g){return{value:"hidden",params:g}},t=["*","p-header"],E=["*"];let Y=0,D=(()=>{class g{constructor(d,m){this.changeDetector=m,this.cache=!0,this.selectedChange=new s.vpe,this.transitionOptions="400ms cubic-bezier(0.86, 0, 0.07, 1)",this.id="p-accordiontab-"+Y++,this.accordion=d}get selected(){return this._selected}set selected(d){this._selected=d,this.loaded||(this._selected&&this.cache&&(this.loaded=!0),this.changeDetector.detectChanges())}ngAfterContentInit(){this.templates.forEach(d=>{switch(d.getType()){case"content":default:this.contentTemplate=d.template;break;case"header":this.headerTemplate=d.template}})}toggle(d){if(this.disabled)return!1;let m=this.findTabIndex();if(this.selected)this.selected=!1,this.accordion.onClose.emit({originalEvent:d,index:m});else{if(!this.accordion.multiple)for(var y=0;y<this.accordion.tabs.length;y++)this.accordion.tabs[y].selected=!1,this.accordion.tabs[y].selectedChange.emit(!1),this.accordion.tabs[y].changeDetector.markForCheck();this.selected=!0,this.loaded=!0,this.accordion.onOpen.emit({originalEvent:d,index:m})}this.selectedChange.emit(this.selected),this.accordion.updateActiveIndex(),this.changeDetector.markForCheck(),d.preventDefault()}findTabIndex(){let d=-1;for(var m=0;m<this.accordion.tabs.length;m++)if(this.accordion.tabs[m]==this){d=m;break}return d}get hasHeaderFacet(){return this.headerFacet&&this.headerFacet.length>0}onKeydown(d){(32===d.which||13===d.which)&&(this.toggle(d),d.preventDefault())}ngOnDestroy(){this.accordion.tabs.splice(this.findTabIndex(),1)}}return g.\u0275fac=function(d){return new(d||g)(s.Y36((0,s.Gpc)(()=>J)),s.Y36(s.sBO))},g.\u0275cmp=s.Xpm({type:g,selectors:[["p-accordionTab"]],contentQueries:function(d,m,y){if(1&d&&(s.Suo(y,Z.h4,4),s.Suo(y,Z.jx,4)),2&d){let T;s.iGM(T=s.CRH())&&(m.headerFacet=T),s.iGM(T=s.CRH())&&(m.templates=T)}},inputs:{cache:"cache",transitionOptions:"transitionOptions",selected:"selected",header:"header",disabled:"disabled"},outputs:{selectedChange:"selectedChange"},ngContentSelectors:t,decls:11,vars:28,consts:[[1,"p-accordion-tab",3,"ngClass"],[1,"p-accordion-header",3,"ngClass"],["role","tab",1,"p-accordion-header-link",3,"click","keydown"],[1,"p-accordion-toggle-icon",3,"ngClass"],["class","p-accordion-header-text",4,"ngIf"],[4,"ngTemplateOutlet"],[4,"ngIf"],["role","region",1,"p-toggleable-content"],[1,"p-accordion-content"],[1,"p-accordion-header-text"]],template:function(d,m){1&d&&(s.F$t(_),s.TgZ(0,"div",0)(1,"div",1)(2,"a",2),s.NdJ("click",function(T){return m.toggle(T)})("keydown",function(T){return m.onKeydown(T)}),s._UZ(3,"span",3),s.YNc(4,k,2,1,"span",4),s.YNc(5,u,1,0,"ng-container",5),s.YNc(6,A,1,0,"ng-content",6),s.qZA()(),s.TgZ(7,"div",7)(8,"div",8),s.Hsn(9),s.YNc(10,M,2,1,"ng-container",6),s.qZA()()()),2&d&&(s.Q6J("ngClass",s.VKq(15,h,m.selected)),s.xp6(1),s.Q6J("ngClass",s.WLB(17,z,m.selected,m.disabled)),s.xp6(1),s.uIk("tabindex",m.disabled?null:0)("id",m.id)("aria-controls",m.id+"-content")("aria-expanded",m.selected),s.xp6(1),s.Q6J("ngClass",m.selected?m.accordion.collapseIcon:m.accordion.expandIcon),s.xp6(1),s.Q6J("ngIf",!m.hasHeaderFacet),s.xp6(1),s.Q6J("ngTemplateOutlet",m.headerTemplate),s.xp6(1),s.Q6J("ngIf",m.hasHeaderFacet),s.xp6(1),s.Q6J("@tabContent",m.selected?s.VKq(22,O,s.VKq(20,q,m.transitionOptions)):s.VKq(26,I,s.VKq(24,q,m.transitionOptions))),s.uIk("id",m.id+"-content")("aria-hidden",!m.selected)("aria-labelledby",m.id),s.xp6(3),s.Q6J("ngIf",m.contentTemplate&&(m.cache?m.loaded:m.selected)))},dependencies:[U.mk,U.O5,U.tP],styles:[".p-accordion-header-link{-ms-user-select:none;-webkit-user-select:none;align-items:center;cursor:pointer;display:flex;position:relative;text-decoration:none;user-select:none}.p-accordion-header-link:focus{z-index:1}.p-accordion-header-text{line-height:1}"],encapsulation:2,data:{animation:[(0,c.X$)("tabContent",[(0,c.SB)("hidden",(0,c.oB)({height:"0",overflow:"hidden"})),(0,c.SB)("visible",(0,c.oB)({height:"*"})),(0,c.eR)("visible <=> hidden",[(0,c.oB)({overflow:"hidden"}),(0,c.jt)("{{transitionParams}}")]),(0,c.eR)("void => *",(0,c.jt)(0))])]},changeDetection:0}),g})(),J=(()=>{class g{constructor(d,m){this.el=d,this.changeDetector=m,this.onClose=new s.vpe,this.onOpen=new s.vpe,this.expandIcon="pi pi-fw pi-chevron-right",this.collapseIcon="pi pi-fw pi-chevron-down",this.activeIndexChange=new s.vpe,this.tabs=[]}ngAfterContentInit(){this.initTabs(),this.tabListSubscription=this.tabList.changes.subscribe(d=>{this.initTabs()})}initTabs(){this.tabs=this.tabList.toArray(),this.updateSelectionState(),this.changeDetector.markForCheck()}getBlockableElement(){return this.el.nativeElement.children[0]}get activeIndex(){return this._activeIndex}set activeIndex(d){this._activeIndex=d,this.preventActiveIndexPropagation?this.preventActiveIndexPropagation=!1:this.updateSelectionState()}updateSelectionState(){if(this.tabs&&this.tabs.length&&null!=this._activeIndex)for(let d=0;d<this.tabs.length;d++){let m=this.multiple?this._activeIndex.includes(d):d===this._activeIndex;m!==this.tabs[d].selected&&(this.tabs[d].selected=m,this.tabs[d].selectedChange.emit(m),this.tabs[d].changeDetector.markForCheck())}}updateActiveIndex(){let d=this.multiple?[]:null;
1this.tabs.forEach((m,y)=>{if(m.selected){if(!this.multiple)return void(d=y);d.push(y)}}),this.preventActiveIndexPropagation=!0,this.activeIndexChange.emit(d)}ngOnDestroy(){this.tabListSubscription&&this.tabListSubscription.unsubscribe()}}return g.\u0275fac=function(d){return new(d||g)(s.Y36(s.SBq),s.Y36(s.sBO))},g.\u0275cmp=s.Xpm({type:g,selectors:[["p-accordion"]],contentQueries:function(d,m,y){if(1&d&&s.Suo(y,D,4),2&d){let T;s.iGM(T=s.CRH())&&(m.tabList=T)}},inputs:{expandIcon:"expandIcon",collapseIcon:"collapseIcon",activeIndex:"activeIndex",multiple:"multiple",style:"style",styleClass:"styleClass"},outputs:{onClose:"onClose",onOpen:"onOpen",activeIndexChange:"activeIndexChange"},ngContentSelectors:E,decls:2,vars:4,consts:[["role","tablist",3,"ngClass","ngStyle"]],template:function(d,m){1&d&&(s.F$t(),s.TgZ(0,"div",0),s.Hsn(1),s.qZA()),2&d&&(s.Tol(m.styleClass),s.Q6J("ngClass","p-accordion p-component")("ngStyle",m.style))},dependencies:[U.mk,U.PC],encapsulation:2,changeDetection:0}),g})(),R=(()=>{class g{}return g.\u0275fac=function(d){return new(d||g)},g.\u0275mod=s.oAB({type:g}),g.\u0275inj=s.cJS({imports:[U.ez,Z.m8]}),g})()},41277:(K,F,p)=>{p.d(F,{Iu:()=>A,Ql:()=>u});var s=p(94650),c=p(36895),U=p(24006);const Z=function(v,M,_){return{"p-inputswitch p-component":!0,"p-inputswitch-checked":v,"p-disabled":M,"p-focus":_}},k={provide:U.JU,useExisting:(0,s.Gpc)(()=>u),multi:!0};let u=(()=>{class v{constructor(_){this.cd=_,this.onChange=new s.vpe,this.checked=!1,this.focused=!1,this.onModelChange=()=>{},this.onModelTouched=()=>{}}onClick(_,h){!this.disabled&&!this.readonly&&(_.preventDefault(),this.toggle(_),h.focus())}onInputChange(_){this.readonly||this.updateModel(_,_.target.checked)}toggle(_){this.updateModel(_,!this.checked)}updateModel(_,h){this.checked=h,this.onModelChange(this.checked),this.onChange.emit({originalEvent:_,checked:this.checked})}onFocus(_){this.focused=!0}onBlur(_){this.focused=!1,this.onModelTouched()}writeValue(_){this.checked=_,this.cd.markForCheck()}registerOnChange(_){this.onModelChange=_}registerOnTouched(_){this.onModelTouched=_}setDisabledState(_){this.disabled=_,this.cd.markForCheck()}}return v.\u0275fac=function(_){return new(_||v)(s.Y36(s.sBO))},v.\u0275cmp=s.Xpm({type:v,selectors:[["p-inputSwitch"]],inputs:{disabled:"disabled",style:"style",styleClass:"styleClass",tabindex:"tabindex",inputId:"inputId",name:"name",readonly:"readonly",ariaLabelledBy:"ariaLabelledBy"},outputs:{onChange:"onChange"},features:[s._Bn([k])],decls:5,vars:15,consts:[[3,"ngClass","ngStyle","click"],[1,"p-hidden-accessible"],["type","checkbox","role","switch",3,"checked","disabled","change","focus","blur"],["cb",""],[1,"p-inputswitch-slider"]],template:function(_,h){if(1&_){const z=s.EpF();s.TgZ(0,"div",0),s.NdJ("click",function(O){s.CHM(z);const I=s.MAs(3);return s.KtG(h.onClick(O,I))}),s.TgZ(1,"div",1)(2,"input",2,3),s.NdJ("change",function(O){return h.onInputChange(O)})("focus",function(O){return h.onFocus(O)})("blur",function(O){return h.onBlur(O)}),s.qZA()(),s._UZ(4,"span",4),s.qZA()}2&_&&(s.Tol(h.styleClass),s.Q6J("ngClass",s.kEZ(11,Z,h.checked,h.disabled,h.focused))("ngStyle",h.style),s.xp6(2),s.Q6J("checked",h.checked)("disabled",h.disabled),s.uIk("id",h.inputId)("name",h.name)("tabindex",h.tabindex)("aria-checked",h.checked)("aria-labelledby",h.ariaLabelledBy))},dependencies:[c.mk,c.PC],styles:['.p-inputswitch{-ms-user-select:none;-webkit-user-select:none;display:inline-block;position:relative;user-select:none}.p-inputswitch-slider{bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0}.p-inputswitch-slider:before{content:"";position:absolute;top:50%}'],encapsulation:2,changeDetection:0}),v})(),A=(()=>{class v{}return v.\u0275fac=function(_){return new(_||v)},v.\u0275mod=s.oAB({type:v}),v.\u0275inj=s.cJS({imports:[c.ez]}),v})()}}]);

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.