PageSourceSearch

https://www.santander.com.co/Empresas/1308-es2015.cc93bc8ba364703154f8.js

js santander.com.co collected 2026-10-05 03:00:35 UTC 295,218 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkInfocorp_Framework_UI=self.webpackChunkInfocorp_Framework_UI||[]).push([[1308],{51308:function(e,t,n){n.r(t),n.d(t,{AddUserIn:function(){return Fn.Nv},AddUserOut:function(){return Fn.JQ},AdministrationSitesModule:function(){return qn},AdministrationSitesModuleForRoot:function(){return Un},AdministrationSitesProviders:function(){return Fn.$y},AliasEditor:function(){return Nt},AliasEditorLogic:function(){return Ut},AliasEditorLogicExtended:function(){return Rt},CertDownload:function(){return Qt},CertDownloadLogic:function(){return Dt},ChannelItem:function(){return Zn},ChannelPermissionOption:function(){return An},ConfirmPermissionsStep:function(){return we},ConfirmPermissionsStepLogic:function(){return le},ConfirmPermissionsStepLogicExtended:function(){return re},DeleteSiteFeaturesIn:function(){return Fn.Al},DeleteSiteFeaturesOut:function(){return Fn.qg},DeleteThirdPartyProductPermissionsIn:function(){return Fn.tk},DeleteThirdPartyProductPermissionsOut:function(){return Fn.TB},DualApprovalsOperationResult:function(){return Tn.an},GetSiteClientsIn:function(){return Fn.pZ},GetSiteClientsOut:function(){return Fn.o9},GetSiteFeaturesByProductTypesIn:function(){return Fn.qS},GetSiteFeaturesByProductTypesOut:function(){return Fn.WV},GetSiteFeaturesIn:function(){return Fn.$u},GetSiteFeaturesOut:function(){return Fn.Zf},GetSiteFeaturesWithChannelsIn:function(){return Fn.E4},GetSiteFeaturesWithChannelsOut:function(){return Fn.kn},GetSiteProductTypesForPermissionConfigurationIn:function(){return Fn.om},GetSiteProductTypesForPermissionConfigurationOut:function(){return Fn.a2},GetSiteProductsForPermissionConfigurationIn:function(){return Fn.XC},GetSiteProductsForPermissionConfigurationOut:function(){return Fn.mw},GetSiteProductsIn:function(){return Fn.X2},GetSiteProductsOut:function(){return Fn.DS},GetSiteSecurityDevicesIn:function(){return Fn.uR},GetSiteSecurityDevicesOut:function(){return Fn.Vg},GetSiteTransactionsAmountsByFeatureIn:function(){return Fn.VC},GetSiteTransactionsAmountsByFeatureOut:function(){return Fn.FL},GetThirdPartyProductsPermissionsIn:function(){return Fn.Pc},GetThirdPartyProductsPermissionsOut:function(){return Fn.ce},GetUsersFeaturesFromEnumsIn:function(){return Fn.rw},GetUsersFeaturesFromEnumsOut:function(){return Fn.nq},PermissionsConfigurationPage:function(){return u},PermissionsConfigurationPageLogic:function(){return d},PermissionsConfigurationPageLogicExtended:function(){return p},ProductSelectionStep:function(){return ot},ProductSelectionStepLogic:function(){return Ve},ProductSelectionStepLogicExtended:function(){return $e},ProductTypeSitePermissionsInformation:function(){return Tn.XV},SigningLevelAmount:function(){return Tn._8},SigningLevelGroupInformation:function(){return Tn.eO},SigningLevelGroupUsersInformation:function(){return Tn.nr},SigningLevelOperationResult:function(){return Tn.uF},SigningLevelUserInformation:function(){return Tn.kv},Site:function(){return Tn.Tt},SiteFeature:function(){return Tn.si},SiteFeatureWithAvailableChannels:function(){return Tn.wM},SitePermissionsEditContent:function(){return rt},SitePermissionsEditContentLogic:function(){return it},SitePermissionsEditContentLogicExtended:function(){return st},SitePermissionsFeaturesHeader:function(){return N},SitePermissionsFeaturesHeaderLogic:function(){return q},SitePermissionsFeaturesHeaderLogicExtended:function(){return U},SitePermissionsRow:function(){return wt},SitePermissionsRowItem:function(){return zn},SitePermissionsRowLogic:function(){return dt},SitePermissionsRowLogicExtended:function(){return pt},SitePermissionsWizardState:function(){return yn},SiteStatus:function(){return Tn.x9},SiteTransactionsAmounts:function(){return Tn.FQ},SiteType:function(){return Tn.NM},SiteUsersFeature:function(){return Tn.R},SitesProxy:function(){return Fn.tn},SitesService:function(){return Fn.fM},SynchronizeSiteProductsIn:function(){return Fn.f3},SynchronizeSiteProductsOut:function(){return Fn.lN},TransactionAmountListItem:function(){return vn},TransactionAmountsDisplay:function(){return Kt},TransactionAmountsDisplayLogic:function(){return Gt},TransactionAmountsDisplayLogicExtended:function(){return Vt},TransactionAmountsEdit:function(){return nn},TransactionAmountsEditLogic:function(){return Xt},TransactionAmountsEditLogicExtended:function(){return en},TransactionAmountsPage:function(){return K},TransactionAmountsPageLogic:function(){return H},TransactionAmountsPageLogicExtended:function(){return Q},TransactionAmountsWizardState:function(){return In},UpdateProductAliasIn:function(){return Fn.jO},UpdateProductAliasOut:function(){return Fn.UH},UpdateSiteSecurityDevicesOperationResult:function(){return Tn.Rr},UpdateSiteTransactionsAmountsByFeatureIn:function(){return Fn.$9},UpdateSiteTransactionsAmountsByFeatureOut:function(){return Fn.kY},UpdateThirdPartyProductPermissionsIn:function(){return Fn.qQ},UpdateThirdPartyProductPermissionsOut:function(){return Fn.D2},UserAdministrationOperationResult:function(){return Tn.Ux},UserSelectionStep:function(){return zt},UserSelectionStepLogic:function(){return At},UserSelectionStepLogicExtended:function(){return vt},ValidMaxAdminUsersBySiteIn:function(){return Fn._D},ValidMaxAdminUsersBySiteOut:function(){return Fn.WE}});var o=n(12057),i=n(5297),s=n(97582),a=n(69065),c=n(292),l=n(8961
17),r=n(43397);let d=class extends a.ci{constructor(){super(),this.sliderRenderMode=l.vA7.slider,this.authorizationService=this.getDependency("Authorization.Services.Authorization"),this.fetchFeatureProfiles(),this.initializeWizardState()}initializeWizardState(){this.wizardState=(0,a.Fs)("Administration.UI.Sites.Classes.SitePermissionsWizardState")}fetchFeatureProfiles(){const e=(0,a.Fs)("Authorization.MethodParameters.GetFeatureProfilesIn");this.addSubscription("getFeatureProfiles",this.authorizationService.featureProfiles(e).subscribe(this.processFeatureProfiles.bind(this)))}processFeatureProfiles(e){this.featureProfiles=e.featureProfiles}featureProfileChanged(e){this.featureSelectionStepContent.componentLogic.featureProfileChanged(e.newValue)}componentOnInit(){super.componentOnInit(),this.contextInfo.user||this.addSubscription("_onUserLoad",this._onUserLoad.subscribe((()=>{this.userSelectionStepContent.componentLogic.userLoaded()}).bind(this)))}cancelWizard(){this.routerHelper.navigateTo(r.YE.sitePermissions)}};d=(0,s.gn)([(0,a.Jq)("Administration.UI.Sites.Components.PermissionsConfigurationPageLogic")],d),d.retain={};let p=class extends d{constructor(){super()}};p=(0,s.gn)([(0,a.Jq)("Administration.UI.Sites.Components.PermissionsConfigurationPageLogic")],p),p.retain={};const g=["userSelectionStepContent"],m=["featureSelectionStepContent"];let u=class extends a.T2{constructor(){super(),this.componentLogic=(0,a.Fs)("Administration.UI.Sites.Components.PermissionsConfigurationPageLogic"),this.componentLogic.componentReference=this}set displayMode(e){this.componentLogic.displayMode=e}get displayMode(){return this.componentLogic.displayMode}set genericInput(e){this.componentLogic.genericInput=e}get genericInput(){return this.componentLogic.genericInput}set genericOutput(e){this.componentLogic&&this.componentLogic.genericOutput&&(this.componentLogic.genericOutput=e)}get genericOutput(){return this.componentLogic.genericOutput}set userSelectionStepContent(e){this.componentLogic.userSelectionStepContent=e}set featureSelectionStepContent(e){this.componentLogic.featureSelectionStepContent=e}};u.\u0275fac=function(e){return new(e||u)},u.\u0275cmp=c.Xpm({type:u,selectors:[["icb-site-permissions-page"]],viewQuery:function(e,t){if(1&e&&(c.Gf(g,7),c.Gf(m,7)),2&e){let e;c.iGM(e=c.CRH())&&(t.userSelectionStepContent=e.first),c.iGM(e=c.CRH())&&(t.featureSelectionStepContent=e.first)}},inputs:{displayMode:"displayMode",genericInput:"genericInput"},outputs:{genericOutput:"genericOutput"},features:[c.qOj],decls:81,vars:87,consts:[[1,"amman"],[1,"amman-header","amman-hasTitle"],[1,"amman-content"],[3,"initialStep","stepsMode","stepsContentWidth","fullHeight","onCancelling"],["permissionsWizard",""],[3,"contentStatus","properties","fullHeight","onWizardStepChanging","onStepForward"],["userSelectionStep",""],[1,"tala"],[1,"tala-title"],[1,"tala-toggle"],[1,"tala-toggle-control"],["propertyName","replaceExistingPermissions",3,"renderingMode","value"],[1,"tala-toggle-text"],[3,"sitePermissionsWizardState","onSuccessLogicExecute"],["userSelectionStepContent",""],[3,"type","textResourceKey","onClick"],["productSelectionStep",""],[1,"tala-title","step2"],["productSelectionStepContent",""],[3,"type","textResourceKey","displayMode","onClick"],["featureSelectionStep",""],[1,"tala-title","step3"],[1,"tala-toggle","fr","tala-catalog-content"],[3,"displayArrow","panelHeader","itemIdName","catalogMode","mode","panelWidth","pointerLocation","preventSelection","useCustomLabel","displayMode","list","labelSelection","onChange"],[1,"tala-title-item"],["featureSelectionStepContent",""],["confirmStep",""],[1,"tala-title","step4"],["confirmPermissionsStepContent",""],["size","small",3,"showHeader","heightAuto","title","confirmText","showConfirmButton","cancelText","showCancelButton","onConfirm","onCancel"],["cancelWizardModal",""],[1,"mumbai-dialog"]],template:function(e,t){if(1&e){const e=c.EpF();c.TgZ(0,"div",0),c.TgZ(1,"div",1),c.TgZ(2,"h2"),c._uU(3),c.ALo(4,"translate"),c.qZA(),c.qZA(),c.TgZ(5,"div",2),c.TgZ(6,"icb-wizard",3,4),c.NdJ("onCancelling",function(){c.CHM(e);const t=c.MAs(7);
1return c.MAs(72).show(t)}),c.TgZ(8,"icb-wizard-step-one-by-one",5,6),c.NdJ("onWizardStepChanging",function(t){return c.CHM(e),c.MAs(23).init(t)})("onStepForward",function(){return c.CHM(e),c.MAs(23).executeLogic()}),c.TgZ(10,"wizard-step-title"),c.TgZ(11,"div",7),c.TgZ(12,"span",8),c._uU(13),c.ALo(14,"translate"),c.qZA(),c.TgZ(15,"div",9),c.TgZ(16,"div",10),c._UZ(17,"icb-toggle",11),c.qZA(),c.TgZ(18,"span",12),c._uU(19),c.ALo(20,"translate"),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.TgZ(21,"wizard-step-content"),c.TgZ(22,"icb-user-selection-step",13,14),c.NdJ("onSuccessLogicExecute",function(){return c.CHM(e),c.MAs(7).moveNext()}),c.qZA(),c.qZA(),c.TgZ(24,"wizard-step-additional-buttons"),c.TgZ(25,"icb-button",15),c.NdJ("onClick",function(){c.CHM(e);const t=c.MAs(23);return null==t.componentLogic?null:t.componentLogic.clean()}),c.qZA(),c.qZA(),c.qZA(),c.TgZ(26,"icb-wizard-step-one-by-one",5,16),c.NdJ("onWizardStepChanging",function(t){return c.CHM(e),c.MAs(35).init(t)})("onStepForward",function(){return c.CHM(e),c.MAs(35).executeLogic()}),c.TgZ(28,"wizard-step-title"),c.TgZ(29,"div",7),c.TgZ(30,"span",17),c._uU(31),c.ALo(32,"translate"),c.qZA(),c.qZA(),c.qZA(),c.TgZ(33,"wizard-step-content"),c.TgZ(34,"icb-product-selection-step",13,18),c.NdJ("onSuccessLogicExecute",function(){return c.CHM(e),c.MAs(7).moveNext()}),c.qZA(),c.qZA(),c.TgZ(36,"wizard-step-additional-buttons"),c.TgZ(37,"icb-button",19),c.NdJ("onClick",function(){return c.CHM(e),c.MAs(7).movePrevious()}),c.qZA(),c.TgZ(38,"icb-button",15),c.NdJ("onClick",function(){return c.CHM(e),c.MAs(35).componentLogic.clean()}),c.qZA(),c.qZA(),c.qZA(),c.TgZ(39,"icb-wizard-step-one-by-one",5,20),c.NdJ("onWizardStepChanging",function(t){return c.CHM(e),c.MAs(55).init(t)})("onStepForward",function(){return c.CHM(e),c.MAs(55).executeLogic()}),c.TgZ(41,"wizard-step-title"),c.TgZ(42,"div",7),c.TgZ(43,"span",21),c._uU(44),c.ALo(45,"translate"),c.qZA(),c.TgZ(46,"div",22),c.TgZ(47,"icb-catalog-selector",23),c.NdJ("onChange",function(e){return null==t.componentLogic?null:t.componentLogic.featureProfileChanged(e)}),c.ALo(48,"translate"),c.TgZ(49,"selected-item-display"),c.TgZ(50,"span",24),c._uU(51),c.ALo(52,"translate"),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.TgZ(53,"wizard-step-content"),c.TgZ(54,"icb-feature-selection-step",13,25),c.NdJ("onSuccessLogicExecute",function(){return c.CHM(e),c.MAs(7).moveNext()}),c.qZA(),c.qZA(),c.TgZ(56,"wizard-step-additional-buttons"),c.TgZ(57,"icb-button",19),c.NdJ("onClick",function(){return c.CHM(e),c.MAs(7).movePrevious()}),c.qZA(),c.TgZ(58,"icb-button",15),c.NdJ("onClick",function(){c.CHM(e);const t=c.MAs(55);return null==t.componentLogic?null:t.componentLogic.clean()}),c.qZA(),c.qZA(),c.qZA(),c.TgZ(59,"icb-wizard-step-one-by-one",5,26),c.NdJ("onWizardStepChanging",function(t){return c.CHM(e),c.MAs(68).init(t)})("onStepForward",function(){c.CHM(e);const t=c.MAs(68),n=c.MAs(7);return t.executeLogic(),n.shutdownLoadingSteps()}),c.TgZ(61,"wizard-step-title"),c.TgZ(62,"div",7),c.TgZ(63,"span",27),c._uU(64),c.ALo(65,"translate"),c.qZA(),c.qZA(),c.qZA(),c.TgZ(66,"wizard-step-content"),c.TgZ(67,"icb-confirm-permissions-step",13,28),c.NdJ("onSuccessLogicExecute",function(){return c.CHM(e),c.MAs(7).moveNext()}),c.qZA(),c.qZA(),c.TgZ(69,"wizard-step-additional-buttons"),c.TgZ(70,"icb-button",15),c.NdJ("onClick",function(){return c.CHM(e),c.MAs(7).movePrevious()}),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.TgZ(71,"icb-modalPopup",29,30),c.NdJ("onConfirm",function(){return null==t.componentLogic?null:t.componentLogic.cancelWizard()})("onCancel",function(){return c.CHM(e),c.MAs(72).close(!0)}),c.ALo(73,"translate"),c.ALo(74,"translate"),c.ALo(75,"translate"),c.TgZ(76,"modal-content"),c.TgZ(77,"div",31),c.TgZ(78,"span"),c._uU(79),c.ALo(80,"translate"),c.qZA(),c.qZA(),c.qZA(),c.qZA()}if(2&e){const e=c.MAs(23),n=c.MAs(35),o=c.MAs(55),i=c.MAs(68);c.xp6(3),c.Oqu(c.lcZ(4,63,"administration.sites.components.permissionsConfigurationPage.wizardTitle")),c.xp6(3),c.Q6J("initialStep",1)("stepsMode","oneByOne")("stepsContentWidth",1e3)("fullHeight",!0),c.xp6(2),c.Q6J("contentStatus",e.contentStatus)("properties",e.stepProperties)("fullHeight",!0),c.xp6(5),c.Oqu(c.lcZ(14,65,"administration.sites.components.permissionsConfigurationPage.userSelectionStepTitle")),c.xp6(4),c.Q6J("renderingMode",null==t.componentLogic?null:t.componentLogic.sliderRenderMode)("value",null==t.componentLogic?null:t.componentLogic.wizardState),c.xp6(2),c.Oqu(c.lcZ(20,67,"administration.sites.components.permissionsConfigurationPage.replaceExistingPermissions")),c.xp6(3),c.Q6J("sitePermissionsWizardState",null==t.componentLogic?null:t.componentLogic.wizardState),c.xp6(3),c.Q6J("type","unfilled")("textResourceKey","common.components.singleTransfer.cleanButtonText"),c.xp6(1),c.Q6J("contentStatus",n.contentStatus)("properties",n.stepProperties)("fullHeight",!0),c.xp6(5),c.hij(" ",c.lcZ(32,69,"administration.sites.components.permissionsConfigurationPage.productSelectionStepTitle")," "),c.xp6(3),c.Q6J("sitePermissionsWizardState",null==t.componentLogic?null:t.componentLogic.wizardState),c.xp6(3),c.Q6J("type","unfilled")("textResourceKey","common.components.wizard.backButtonText")("displayMode","responsiveHide640Mode"),c.xp6(1),c.Q6J("type","unfilled")("textResourceKey","common.components.singleTransfer.cleanButtonText"),c.xp6(1),c.Q6J("contentStatus",o.contentStatus)("properties",o.stepProperties)("fullHeight",!0),c.xp6(5),c.Oqu(c.lcZ(45,71,"administration.sites.components.permissionsConfigurationPage.featureSelectionStepTitle")),c.xp6(3),c.Q6J("displayArrow",!0)("panelHeader",c.lcZ(48,73,"administration.sites.components.permissionsConfigurationPage.featureProfilesHeader"))("itemIdName","key")("catalogMode","panel")("mode","edit")("panelWidth",300)("pointerLocation","topRight")("preventSelection",!0)("useCustomLabel",!0)("displayMode","permissionsConfigurationContextualMode specialCatalogMode")("list",null==t.componentLogic?null:t.componentLogic.featureProfiles)("labelSelection","authorization.entities.featureProfile.{profileName}"),c.xp6(4),c.Oqu(c.lcZ(52,75,"administration.sites.components.permissionsConfigurationPage.chooseAProfile")),c.xp6(3),c.Q6J("sitePermissionsWizardState",null==t.componentLogic?null:t.componentLogic.wizardState),c.xp6(3),c.Q6J("type","unfilled")("textResourceKey","common.components.wizard.backButtonText")("displayMode","responsiveHide640Mode"),c.xp6(1),c.Q6J("type","unfilled")("textResourceKey","common.components.singleTransfer.cleanButtonText"),c.xp6(1),c.Q6J("contentStatus",i.contentStatus)("properties",i.stepProperties)("fullHeight",!0),c.xp6(5),c.hij(" ",c.lcZ(65,77,"administration.sites.components.permissionsConfigurationPage.confirmStepTitle")," "),c.xp6(3),c.Q6J("sitePermissionsWizardState",null==t.componentLogic?null:t.componentLogic.wizardState),c.xp6(3),c.Q6J("type","unfilled")("textResourceKey","common.components.wizard.backButtonText"),c.xp6(1),c.s9C("title",c.lcZ(73,79,"administration.sites.components.permissionsConfigurationPage.cancelWizardModal.title")),c.s9C("confirmText",c.lcZ(74,81,"administration.sites.components.permissionsConfigurationPage.cancelWizardModal.confirmButton")),c.s9C("cancelText",c.lcZ(75,83,"administration.sites.components.permissionsConfigurationPage.cancelWizardModal.cancelButton")),c.Q6J("showHeader",!1)("heightAuto",!0)("showConfirmButton",!0)("showCancelButton",!0),c.xp6(8),c.Oqu(c.lcZ(80,85,"administration.sites.components.permissionsConfigurationPage.cancelWizardModal.body"))}},styles:['.mumbai-dialog[_ngcontent-%COMP%]{font-size:14px;color:#666}.mumbai-dialog.mumbai-form[_ngcontent-%COMP%]{padding:20px 0 10px}.mumbai-dialog.mumbai-padding[_ngcontent-%COMP%]{padding-bottom:10px}.mumbai-dialog.mumbai-form-padding-top[_ngcontent-%COMP%]{padding-top:10px}.mumbai-dialog[_ngcontent-%COMP%]   .mumbai-dialog-title[_ngcontent-%COMP%]{font-size:16px;color:#333;font-family:"dinMedium";display:block}.mumbai-dialog[_ngcontent-%COMP%]   .mumbai-dialog-title.notificationChannelsTitleMode[_ngcontent-%COMP%]{padding-left:7px;padding-bottom:10px}.mumbai-dialog[_ngcontent-%COMP%]   .mumbai-dialog-title[_ngcontent-%COMP%]   .mumbai-dialog-subtitle[_ngcontent-%COMP%]{display:block;padding-bottom:10px}.mumbai-dialog[_ngcontent-%COMP%]   .mumbai-dialog-title.mumbai-transactions[_ngcontent-%COMP%]{padding-bottom:10px}.mumbai-dialog[_ngcontent-%COMP%]   .mumbai-dialog-title.mumbai-transactions.withoutTitle[_ngcontent-%COMP%]{padding-top:10px}.mumbai-dialog[_ngcontent-%COMP%]   .mumbai-dialog-title.mumbai-transactions[_ngcontent-%COMP%]   .mumbai-dialog-text[_ngcontent-%COMP%]{padding:0 0 20px}.mumbai-dialog[_ngcontent-%COMP%]   .mumbai-dialog-title[_ngcontent-%COMP%]   .mumbai-link-container[_ngcontent-%COMP%]{display:block}.mumbai-dialog[_ngcontent-%COMP%]   .mumbai-dialog-title[_ngcontent-%COMP%]   .mumbai-link-container[_ngcontent-%COMP%]   .mumbai-link[_ngcontent-%COMP%]{cursor:pointer;color:#e2061c}.mumbai-dialog[_ngcontent-%COMP%]   .mumbai-dialog-subtitle[_ngcontent-%COMP%]{display:inline-block}.mumbai-dialog[_ngcontent-%COMP%]   .mumbai-dialog-title[_ngcontent-%COMP%]{font-family:"Santander Text SemiBold"}.tala[_ngcontent-%COMP%]{width:100%;height:100%}.tala[_ngcontent-%COMP%]   .tala-title[_ngcontent-%COMP%], .tala[_ngcontent-%COMP%]   .tala-title-item[_ngcontent-%COMP%]{font-size:14px;color:#333;display:inline-block;vertical-align:top;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tala[_ngcontent-%COMP%]   .tala-toggle[_ngcontent-%COMP%]{position:absolute;top:0;right:14px}.tala[_ngcontent-%COMP%]   .tala-toggle.tala-catalog-content[_ngcontent-%COMP%]{top:6px}.tala[_ngcontent-%COMP%]   .tala-toggle[_ngcontent-%COMP%]   .tala-toggle-control[_ngcontent-%COMP%]{display:inline-block;vertical-align:top;min-height:40px}.tala[_ngcontent-%COMP%]   .tala-toggle[_ngcontent-%COMP%]   .tala-toggle-text[_ngcontent-%COMP%]{font-size:12px;color:#333;display:inline-block;vertical-align:top;padding:12px 0 0 5px}@media screen and (max-width: 639px) and (min-width: 320px){.tala[_ngcontent-%COMP%]   .tala-title.step3[_ngcontent-%COMP%]{display:none}}@media screen and (max-width: 479px) and (min-width: 320px){.tala[_ngcontent-%COMP%]   .tala-title-item[_ngcontent-%COMP%]{font-size:12px}}']}),u=(0,s.gn)([(0,a.Jq)("Administration.UI.Sites.Components.PermissionsConfigurationPage")],u),u.retain={};var h=n(93559),C=(()=>{return(e=C||(C={}))[e.sites=1]="sites",e[e.users=2]="users",e[e.custom=3]="custom",C;var e})(),_=n(35758),f=n(80172),M=n(49683);let P=class extends a.ci{constructor(){super(),this.toggleRenderingMode=l.vA7.checkBox,this.showList=!1,this.filtersCreated=!1,this.lodingInProgress=!1,this.isShowingDetail=!1,this.requestChannelsIds=[],this.filters=[],this.filterDisplayMode="filterForDetails",this.permissions=[],this.selectedPermissions=[],this.selectedChannels=[],this.userIdFilter=null,this.productIdFilter=null,this.productIdsFilter=[],this.onProductsSource=new c.vpe,this.channels=[l.$Wj.bankingWeb,l.$Wj.bankingMobile,l.$Wj.applications,l.$Wj.mobileAp
1plications,l.$Wj.facebook,l.$Wj.messenger,l.$Wj.sMS],this.visibleChannels=[l.$Wj.bankingWeb,l.$Wj.mobileApplications,l.$Wj.messenger,l.$Wj.sMS],this.requestData=this.whenPagingIsReady(this.requestData.bind(this),"this.requestData"),this.sitesService=this.getDependency("Administration.UI.Sites.Services.SitesService"),this.siteProductsFilterProvider=this.getDependency("Common.Services.SiteProductsFilterProvider"),this.approvalSchemeService=this.getDependency("ApprovalScheme.UI.ApprovalScheme.Services.ApprovalScheme"),this.siteProductsFilterProvider.subscriptionManager=this.subscriptionManager,this.requestChannelsIds=this.visibleChannels.map(e=>e.key),this.pageParams=this.routerHelper.params,this.setupListActionConfiguration()}setupListActionConfiguration(){this.listActionConfiguration=(0,a.Fs)("Common.Components.List.Classes.ListActionConfiguration",""),this.listActionConfiguration.showItemsSelectionCheck=!0,this.listActionConfiguration.showMessageGeneric=!0,this.listActionConfiguration.messageGenericOptions=(0,a.Fs)("Common.Components.MessageGeneric.Classes.MessageGenericOptions",""),this.listActionConfiguration.messageGenericOptions.messageType="Disclaimer",this.listActionConfiguration.messageGenericOptions.messageMode="Information",this.listActionConfiguration.messageGenericOptions.size="small",this.listActionConfiguration.messageGenericOptions.showBorder=!0,this.listActionConfiguration.messageGenericOptions.showIcon=!0;const e=this.localization.translate("administration.sites.permissions.administrativeDisclaimerMessage",null);this.listActionConfiguration.messageGenericOptions.title=e,this.listActionConfiguration.messageGenericOptions.messageResourceKey=e}componentAfterViewInit(){super.componentAfterViewInit(),this.processRouteParams()}componentAfterContentInit(){this.contextInfo.user?this.userLoaded():this.addSubscription("_onUserLoad",this._onUserLoad.subscribe((()=>{this.userLoaded()}).bind(this)));const e=(0,a.Fs)("ApprovalScheme.UI.ApprovalScheme.MethodParameters.GetPendingApprovalsBySiteIn");e.feature=this.featureForPermissions,this.addSubscription("_pendingApprovalsBySite",this.approvalSchemeService.pendingApprovalsBySite(e).subscribe((e=>{a.io.isNotNullOrEmpty(e.pendingApprovals)&&(this.pendingApprovalOperationId=e.pendingApprovals[0].operationId.toString())}).bind(this)))}userLoaded(){this.createNewListItem(),this.requestFiltersData(),this.createTitlesItem()}processRouteParams(){}createNewListItem(){this.newPermissionListItem=(0,a.Fs)("Common.Components.ListItem"),this.newPermissionListItem.listItemId="newPermissionListItem",this.newPermissionListItem.detailActions.push((0,a.Fs)("Common.Entities.ActionItem","","detailItem","",null,!0,null,[],null,void 0))}createTitlesItem(){this.titleRowItem=(0,a.Fs)("Administration.UI.Sites.SitePermissionsRow.Classes.SitePermissionsRowItem"),this.titleRowItem.isSelected={selected:!1}}requestFiltersData(){this.addSubscription("_joinedFilters",(0,_.D)([this.sitesService.getSiteProductTypesForPermissionConfiguration(this.createSiteProductTypes())]).subscribe(e=>{this.siteProductTypes=e[0].productTypesInformation.map(e=>e.productType),this.initializeFilters()}))}createSiteProductTypes(){const e=(0,a.Fs)("Administration.UI.Sites.MethodParameters.GetSiteProductTypesForPermissionConfigurationIn","");return e.siteId=this.contextInfo.user.site.siteId,e}get featureForPermissions(){return f.L0.administrationSitesPermissionsConfiguration}initializeChannelsFilters(){const e=[],t=this.visibleChannels.map(e=>e.key);e.push((0,a.Fs)("Common.Entities.ActionItem","","statusFilterAction_all","administration.sites.permissions.allchannels",null,!0,null,[],t)),this.visibleChannels.forEach(t=>{e.push((0,a.Fs)("Common.Entities.ActionItem","",`statusFilterAction_${t.value}`,`common.entities.channel.${t.value}`,null,!0,null,[],[t.key]))});const n=(0,a.Fs)("Common.Components.Filter.Classes.FilterLevelDefinition","",l.sis.Toggle,e,!1,!1);n.defaultSelection="statusFilterAction_all";const o=(0,a.Fs)("Common.Components.Filter.Classes.FilterLevel","","administration.sites.permissions.channelsFilterTitle",n,!1,!1);this.filterChannelsGuid=o.id,this.filters.push(o)}initializeTypesFilter(){const e=[];e.push((0,a.Fs)("Common.Entities.ActionItem","","productTypesFilterAction_all","administration.sites.permissions.allTypesTitle","",!0,null,[(0,a.Fs)("Common.Entities.Icon","",{className:l.Whk.FILTER_ALL_PRODUCTS},{}
1)],[])),this.siteProductTypes.forEach(t=>{e.push((0,a.Fs)("Common.Entities.ActionItem","",`productTypesFilterAction_${t.value}`,`common.entities.productType.${t.value}`,"",!0,null,[(0,a.Fs)("Common.Entities.Icon","",{className:l.Whk.getProductIconByType(t.value)},{})],[t]))});const t=(0,a.Fs)("Common.Components.Filter.Classes.FilterLevelDefinition","",l.sis.OneColumn,e,{},"productTypesFilterAction_all"),n=(0,a.Fs)("Common.Components.Filter.Classes.FilterLevel","","administration.sites.permissions.allTypesTitle",t,!1,!1);this.filterTypeGuid=n.id,this.filters.push(n)}initializeUsersFilter(){const e=(0,a.Fs)("Common.Entities.ActionItem","","usersFilterAction_all","administration.sites.permissions.allUsersTitle","","",null,[(0,a.Fs)("Common.Entities.Icon","",{className:l.Whk.FILTER_ALL_PRODUCTS},{})],[]),t=(0,a.Fs)("Common.Components.Filter.Classes.FilterLevelDefinition","",l.sis.Custom,[e],null,"usersFilterAction_all",null,{bodyModule:"Administration.UI.Users.Components.UsersCustomFilter",bodyFeature:this.featureForPermissions.value,options:{displayMode:"sitePermissions",showAllOption:!0,onlyApprovers:!1}});t.searchDefinition={delay:300,enabled:!0};const n=(0,a.Fs)("Common.Components.Filter.Classes.FilterLevel","","administration.sites.permissions.usersCustomFilter",t,!1,!1);this.filterUsers=n,this.filters.push(n)}initializeFeaturesFilter(){const e=(0,a.Fs)("Common.Components.Filter.Classes.FilterLevelDefinition","",l.sis.Custom,[],null,null,null,{bodyModule:"Authorization.Components.FeatureFilter",bodyFeature:"",headerModule:"Administration.UI.Sites.Components.SitePermissionsFeaturesHeader",headerFeature:""}),t=(0,a.Fs)("Common.Components.Filter.Classes.FilterLevel","","administration.sites.permissions.featuresFilterTitle",e,!0,!1);this.filterFeatures=t,this.filters.push(t)}initializeProductsFilter(){const e=l.sis.Custom,t=(0,a.Fs)("Common.Entities.ActionItem","","productsFilterAction_all","administration.sites.permissions.allTypesTitle","",!0,null,[(0,a.Fs)("Common.Entities.Icon","",{className:l.Whk.FILTER_ALL_PRODUCTS},{})],null),n={bodyModule:"Common.Components.ProductsCustomFilter",bodyFeature:this.featureForPermissions.value,headerModule:"Common.Components.ProductsCustomFilterHeader",headerFeature:""};n.options={productsSource:C.sites};const o=(0,a.Fs)("Common.Components.Filter.Classes.FilterLevelDefinition","",e,[t],null,"productsFilterAction_all",null,n),i=(0,a.Fs)("Common.Components.Filter.Classes.FilterLevel","","administration.sites.permissions.productsCustomFilter",o,!0,!0);this.filterProducts=i,this.filters.push(i)}initializeProductsFromServiceFilter(){const e=(0,a.Fs)("Common.Components.Filter.Classes.FilterLevelDefinition","",l.sis.FromService,[],null,"productsFilterAction_all",{enabled:!0},null,{filterProvider:this.siteProductsFilterProvider,rowModule:"Common.Components.ProductRow.ProductSelectorRow",rowFeature:""}),t=(0,a.Fs)("Common.Components.Filter.Classes.FilterLevel","","administration.sites.permissions.productsCustomFilter",e,!0,!1);this.filterProducts=t,this.filters.push(t)}requestData(e=!1){this.resetAllSelected(),this.lodingInProgress=!0;const t=(0,a.Fs)("Administration.UI.Sites.MethodParameters.GetUsersFeaturesFromEnumsIn");if(t.pagingFilter=this.generatePagingFilter(e?this.siteUsersFeatures.length:0,this.pagingHelper.getLargePageSize()),t.channels=this.requestChannelsIds,t.productTypes=this.filterTypes&&this.filterTypes.length>0?this.filterTypes:null,t.userId=this.userIdFilter,a.iX.isNotNull(this.productIdsFilter)&&this.productIdsFilter.length>0){const e=(0,a.Fs)("PagingAndFiltering.Entities.FilterPredicate");e.field="productIds",e.filterValue=this.productIdsFilter.join(","),e.name="productIds",t.pagingFilter.predicates.filters.push(e)}if(!!this.featuresFilter&&this.featuresFilter.length>0&&!!this.featuresFilter[0]&&(t.features=this.featuresFilter),!a.iX.isNull(this.searchTerm)&&this.searchTerm.length>0){const e=(0,a.Fs)("PagingAndFiltering.Entities.FilterPredicate");e.field="IntelliSearchPredicate",e.filterValue=this.searchTerm,e.name="IntelliSearchPredicate",t.pagingFilter.predicates.filters.push(e)}this.addSubscription("_getUserProductFeatures",this.sitesService.getUsersFeaturesFromEnums(t).subscribe(this.processUsersFeatures.bind(this,e)))}processUsersFeatures(e,t){if(e){const e=t.siteUsersFeatures?t.siteUsersFeatures.map(e=>this.mapUserProductFeatureToItem(e)):[];this.siteUsersFeatures=this.siteUsersFeatures.concat(t.siteUsersFeatures),this.permissions=this.permissions.concat(e)}else this.siteUsersFeatures=t.siteUsersFeatures||[],this.permissions=this.siteUsersFeatures.map(e=>this.mapUserProductFeatureToItem(e)),this.lastServiceCount=t.countFeatures;this.lodingInProgress=!1}processFilterSearchChanged(e){if(e.filterFired.id===this.filterProducts.id){const t=e.filterFired.definition.customDefinition.options.productsFilterSearchEvent;this.requestSitesProducts(t.searchTerm,t.pageStartIndex,t.pageSize)}}initializeFilters(){this.initializeFeaturesFilter(),this.initializeUsersFilter(),this.initializeProductsFilter(),this.initializeChannelsFilters(),this.filtersCreated=!0,this.showList=!0,this.requestData()}generatePagingFilter(e,t){const n=(0,a.Fs)("PagingAndFiltering.Entities.PagingFilter");return n.predicates=(0,a.Fs)("PagingAndFiltering.Entities.FilterPredicates"),n.predicates.filters=[],n.pagingData=(0,a.Fs)("PagingAndFiltering.Entities.PagingInfo"),n.pagingData.pageStartIndex=e,n.pagingData.pageSize=t,n.orderingData=(0,a.Fs)("PagingAndFiltering.Entities.OrderingInfo"),n}processActionClick(e,t){}processSearchChanged(e){this.searchTerm=e.searchTerm,this.requestData()}processFilterChanged(e){if(e)if(e.filterFired)switch(e.filterFired.id){case this.filterChannelsGuid:this.requestChannelsIds=this.getFilterValue(e);break;case this.filterTypeGuid:this.filterTypes=this.getFilterValue(e);break;case this.filterProducts.id:this.productIdsFilter=this.getFilterValues(e).map(e=>e.productId);break;case this.filterFeatures.id:this.featuresFilter=this.getFilterValues(e);break;case this.filterUsers.id:this.userIdFilter=this.getFilterValue(e).userId}else e.action&&"Advanced"!==e.action.value?this.productIdsFilter=e.filterFired.selectedChildrenActions.map(e=>e.value&&e.value.productId):e.advancedFilters.length>0&&e.advancedFilters[0].selectedChildrenActions&&(this.productIdsFilter=e.advancedFilters[0].selectedChildrenActions.map(e=>e.value&&e.value.productId));this.requestData()}getFilterValue(e){let t;return t=e.filterFired.selectedChildrenActions[0]?e.filterFired.selectedChildrenActions[0].value:e.filters[0].selectedChildrenActions,t}getFilterValues(e){let t;return t=e.filterFired.selectedChildrenActions.map(e=>e.value),t}processShowMoreRows(e){this.requestData(!0)}resetAllSelected(){this.titleRow&&(this.titleRowItem.isSelected={selected:!1},this.titleRow.permissionItem=this.titleRowItem)}allSelectedChange(e){this.permissions.filter(e=>!e.isDefault).forEach(t=>{t.selected=e.newValue,t.isSelected={selected:e.newValue}})}get selectedPermissionsCount(){return this.permissions&&this.permissions.filter(e=>e.isSelected&&e.isSelected.selected).length}rowSelectedChange(e,t){this.titleRowItem.isSelected.selected&&this.resetAllSelected()}mapUserProductFeatureToItem(e){const t=(0,a.Fs)("Administration.UI.Sites.SitePermissionsRow.Classes.SitePermissionsRowItem");
1return t.channels=[],e.channels.forEach(e=>{t.channels.push(this.channels.find(t=>t.key===e))}),t.channelsItems=t.channels&&t.channels.map(e=>this.mapChannelToChannelItem(e)),t.user=e.user,e.productId&&(t.product=e.product),t.feature=e.feature,t.siteUsersFeature=e,t}mapChannelToChannelItem(e){const t=(0,a.Fs)("Administration.UI.Sites.SitePermissions.Classes.ChannelItem");return t.label=e.value,t.listItemId=e.key.toString(),t.channel=e,t}modalChannelChange(e){const t=this.selectedChannels.find(t=>t.channel&&e.item.channel&&t.channel.key===e.item.channel.key);t.isSelected=t.isSelected={selected:e.newValue},this.channelsToDelete=this.selectedChannels&&this.selectedChannels.filter(e=>e.isSelected.selected).map(e=>e.channel)}modalConfirm(){this.channelsToDelete&&this.channelsToDelete.length>0&&this.completeDeleteProcess(this.selectedPermissions,this.channelsToDelete)}loadSelectedRowsToCache(){this.selectedPermissions=this.permissions.filter(e=>e.isSelected&&e.isSelected.selected);const e=[];this.selectedPermissions.forEach(t=>{t.channels.forEach(t=>{!e.find(e=>e.channel.key===t.key)&&this.visibleChannels.find(e=>e.key===t.key)&&e.push({channel:t,isSelected:{selected:!1},selected:!1})})}),this.selectedChannels=e,this.channelsToDelete=[]}changeWizard(e){this.list&&(this.list.processCloseDetail(e),this.isShowingDetail=!1)}newPermissionClick(e){this.pendingApprovalOperationId||this.routerHelper.navigateTo(r.YE.sitePermissionsConfigurationPage)}get showMoreRows(){return this.siteUsersFeatures&&this.siteUsersFeatures.length<this.lastServiceCount}startDeleteProcess(){this.selectedPermissionsCount&&(this.loadSelectedRowsToCache(),this.modifyModal.componentLogic.show())}completeDeleteProcess(e,t){const n=[],o=[];this.modifyModal.componentLogic.enableLoading(),t.forEach(t=>{e.filter(e=>void 0!==e.user).forEach(e=>{if(e.channels.some(e=>e.key===t.key))if(e.product){const o=h(e.siteUsersFeature);o.channelId=t.key,o.userId=o.user.userId,n.push(o)}else{const n=(0,a.Fs)("Administration.UI.Users.Entities.UserFeature");n.featureId=e.feature.key,n.channelId=t.key,n.userId=e.user.userId,o.push(n)}})});const i=(0,a.Fs)("Administration.UI.Users.MethodParameters.DeleteUsersPermissionsIn");i.userProductFeatures=n,i.userFeatures=o,this.addSubscription("_deleteUsersPermissions",this.usersService.deleteUsersPermissions(i).subscribe(this.processDeleteResponse.bind(this)))}processDeleteResponse(e){this.modifyModal.setActionCompleted(),e&&e.operationResult===l.J_Q.success?this.modifyModal.componentLogic.setSuccesMessage("administration.sites.permissions.deleteSuccesMessage"):this.modifyModal.setErrorMessage("administration.sites.permissions.deleteErrorMessage",!1),this.requestData()}requestSitesProducts(e,t,n){const o=(0,a.Fs)("Administration.UI.Sites.MethodParameters.GetSiteProductsForPermissionConfigurationIn");if(o.siteid=this.contextInfo.user.site.siteId,o.pagingfilter=(0,a.Fs)("PagingAndFiltering.Entities.PagingFilter"),o.pagingfilter.pagingData=(0,a.Fs)("PagingAndFiltering.Entities.PagingInfo"),o.pagingfilter.pagingData.pageStartIndex=t,o.pagingfilter.pagingData.pageSize=this.pagingHelper.getLargePageSize(),o.pagingfilter.predicates=(0,a.Fs)("PagingAndFiltering.Entities.FilterPredicates"),o.pagingfilter.predicates.filters=[],a.iX.isNotNull(e)){const e=(0,a.Fs)("PagingAndFiltering.Entities.FilterPredicate");e.field="IntelliSearchPredicate",e.filterValue=this.searchTerm,e.name="IntelliSearchPredicate",e.filterOperator=M.pg.doesContain,o.pagingfilter.predicates.filters.push(e)}this.addSubscription("_getSiteProductsForPermissionConfiguration",this.sitesService.getSiteProductsForPermissionConfiguration(o).subscribe(this.processSiteData.bind(this)))}processSiteData(e){const t=(0,a.Fs)("Common.Components.ProductsCustomFilter.Classes.ProductsFilterSourceChangeEvent");t.products=e&&e.siteProductsForPermissionConfiguration,t.lastCount=e&&e._ProductsCount,this.onProductsSource.emit(t)}operationApprovalDisclaimerLoaded(e){const t=e.component;t.feature=this.featureForPermissions,t.operationId=+this.pendingApprovalOperationId,t.messageGenericTitle=this.localization.translate("administration.sites.permissions.operationPendingApprovalDisclaimerTitle",null)}};P.RES_ROOT="administration.sites.permissionsConfiguration",P=(0,s.gn)([(0,a.Jq)("Administration.UI.Sites.Components.SitePermissionsLogic")],P),P.retain={};let b=class extends P{constructor(){super(),this.visibleChannels=[l.$Wj.bankingWeb]}};b=(0,s.gn)([(0,a.Jq)("Administration.UI.Sites.Components.SitePermissionsLogic")],b),b.retain={};const O=["list"],k=["modifyModal"],S=["titleRow"];function x(e,t){if(1&e){const e=c.EpF();c.TgZ(0,"icb-dynamic-loader",16),c.NdJ("onComponentLoaded",function(t){c.CHM(e);const n=c.oxw();return null==n.componentLogic?null:n.componentLogic.operationApprovalDisclaimerLoaded(t)}),c.qZA()}2&e&&c.Q6J("module","ApprovalScheme.UI.ApprovalScheme.Components.OperationApprovalDisclaimer")("moduleUrlSegment","___operationApprovalDisclaimer")}function w(e,t){1&e&&(c.TgZ(0,"div"),c._UZ(1,"icb-loader"),c.qZA())}function L(e,t){if(1&e){const e=c.EpF();c.TgZ(0,"div"),c.TgZ(1,"icb-user-permissions-row",26,27),c.NdJ("onSelectedChange",function(t){const n=c.CHM(e).index,o=c.oxw(2);return null==o.componentLogic?null:o.componentLogic.rowSelectedChange(t,n)}),c.qZA(),c.qZA()}if(2&e){const e=t.$implicit,n=t.index,o=c.oxw(2);c.xp6(1),c.Q6J("index",n)("mode","row")("permissionItem",e)("channels",null==o.componentLogic?null:o.componentLogic.visibleChannels)}}function y(e,t){if(1&e){const e=c.EpF();c.TgZ(0,"icb-list",17,18),c.NdJ("onActionSelected",function(t){c.CHM(e);const n=c.MAs(1),o=c.oxw();return null==o.componentLogic?null:o.componentLogic.processActionClick(t,null==n?null:n.selectedListItem)})("onSearchChanged",function(t){c.CHM(e);const n=c.oxw();return null==n.componentLogic?null:n.componentLogic.processSearchChanged(t)})("onFilterChanged",function(t){c.CHM(e);const n=c.oxw();return null==n.componentLogic?null:n.componentLogic.processFilterChanged(t)})("onFilterSearchChanged",function(t){c.CHM(e);const n=c.oxw();return null==n.componentLogic?null:n.componentLogic.processFilterSearchChanged(t)})("onShowMoreRows",function(t){c.CHM(e);const n=c.oxw();return null==n.componentLogic?null:n.componentLogic.processShowMoreRows(t)}),c.TgZ(2,"list-header"),c.TgZ(3,"icb-user-permissions-row",19,20),c.NdJ("onSelectedChange",function(t){c.CHM(e);const n=c.oxw();return null==n.componentLogic?null:n.componentLogic.allSelectedChange(t,-1)}),c.qZA(),c.qZA(),c.YNc(5,L,3,4,"ng-template"),c.TgZ(6,"list-row-detail"),c.TgZ(7,"icb-listDetail",21,22),c.NdJ("onClickNavigationButton",function(t){c.CHM(e);const n=c.oxw();return null==n.componentLogic?null:n.componentLogic.changeWizard(t)}),c.TgZ(9,"list-detail-header"),c.TgZ(10,"div",23),c.TgZ(11,"span",24),c._uU(12),c.qZA(),c.qZA(),c.qZA(),c._UZ(13,"list-detail-body"),c.qZA(),c.qZA(),c.TgZ(14,"list-empty-placeholder"),c._UZ(15,"icb-empty-message",25),c.qZA(),c._UZ(16,"list-footer"),c.qZA()}if(2&e){const e=c.oxw();c.Q6J("listActionConfig",null==e.componentLogic?null:e.componentLogic.listActionConfiguration)("mode","Compact")("showHeader",!0)("showFilter",!0)("showMoreRows",!(null!=e.componentLogic&&e.componentLogic.lodingInProgress||null==e.componentLogic||!e.componentLogic.showMoreRows))("showFooter",!0)("displayMode","sitePermissionsMode")("headerLinePosition","header")("listItems",null==e.componentLogic?null:e.componentLogic.permissions)("loading",null==e.componentLogic?null:e.componentLogic.lodingInProgress)("filterDisplayMode","filterForDetails")("filters",null==e.componentLogic?null:e.componentLogic.filters),c.xp6(3),c.Q6J("channels",null==e.componentLogic?null:e.componentLogic.visibleChannels)("mode","title")("permissionItem",null==e.componentLogic?null:e.componentLogic.titleRowItem),c.xp6(4),c.Q6J("showHeaderSeparator",!0)("listItem",null==e.componentLogic?null:e.componentLogic.newPermissionListItem),c.xp6(5),c.Oqu("administration.sites.permissions.detailTitle")}}const A=function(e){return{"action-hidden":e}};function v(e,t){if(1&e){const e=c.EpF();c.TgZ(0,"div",28),c.TgZ(1,"div",29),c.NdJ("tap",function(){c.CHM(e);const t=c.oxw();return null==t.componentLogic?null:t.componentLogic.startDeleteProcess()}),c.TgZ(2,"span"),c._uU(3),c.ALo(4,"translate"),c.qZA(),c.qZA(),c.qZA()}if(2&e){const e=c.oxw();c.xp6(1),c.Q6J("ngClass",c.VKq(4,A,0===(null==e.componentLogic?null:e.componentLogic.selectedPermissionsCount))),c.xp6(2),c.Oqu(c.lcZ(4,2,"administration.sites.permissions.deleteButtonLabel"))}}const I=function(e){return{split_sessionEnd:e}},T=function(e){return[e]},F=function(e){return{"tavira-disabled":e}};let Z=class extends a.T2{constructor(){super(),this.componentLogic=(0,a.Fs)("Administration.UI.Sites.Components.SitePermissionsLogic"),this.componentLogic.componentReference=this}set displayMode(e){this.componentLogic.displayMode=e}get displayMode(){return this.componentLogic.displayMode}set genericInput(e){this.componentLogic.genericInput=e}get genericInput(){return this.componentLogic.genericInput}set genericOutput(e){this.componentLogic&&this.componentLogic.genericOutput&&(this.componentLogic.genericOutput=e)}get genericOutput(){return this.componentLogic.genericOutput}set list(e){this.componentLogic.list=e}set modifyModal(e){this.componentLogic.modifyModal=e}set titleRow(e){this.componentLogic.titleRow=e}};
1Z.\u0275fac=function(e){return new(e||Z)},Z.\u0275cmp=c.Xpm({type:Z,selectors:[["icb-users-permissions-configuration-page"]],viewQuery:function(e,t){if(1&e&&(c.Gf(O,5),c.Gf(k,7),c.Gf(S,5)),2&e){let e;c.iGM(e=c.CRH())&&(t.list=e.first),c.iGM(e=c.CRH())&&(t.modifyModal=e.first),c.iGM(e=c.CRH())&&(t.titleRow=e.first)}},inputs:{displayMode:"displayMode",genericInput:"genericInput"},outputs:{genericOutput:"genericOutput"},features:[c.qOj],decls:24,vars:42,consts:[[1,"amman",3,"ngClass"],[1,"amman_title"],[3,"ngClass"],[1,"tavira-heading",3,"hidden"],[1,"tavira-heading-actions",3,"ngClass","tap"],[1,"stream-add-circle-1"],[1,"tavira-content"],[3,"module","moduleUrlSegment","onComponentLoaded",4,"ngIf"],[4,"ngIf"],[3,"listActionConfig","mode","showHeader","showFilter","showMoreRows","showFooter","displayMode","headerLinePosition","listItems","loading","filterDisplayMode","filters","onActionSelected","onSearchChanged","onFilterChanged","onFilterSearchChanged","onShowMoreRows",4,"ngIf"],["class","XXXdavao-footer-detail tavira-footer",4,"ngIf"],[3,"showHeader","showCloseButton","title","size","heightAuto","showConfirmButton","displayMode","cancelText","closeOnConfirm","confirmEnabled","showCancelButton","onCancel","onConfirm"],["modifyModal",""],[1,"mumbai-dialog","mumbai-padding"],[3,"deleteAll","selectedChannels","toggleChanged"],["modalEditContent",""],[3,"module","moduleUrlSegment","onComponentLoaded"],[3,"listActionConfig","mode","showHeader","showFilter","showMoreRows","showFooter","displayMode","headerLinePosition","listItems","loading","filterDisplayMode","filters","onActionSelected","onSearchChanged","onFilterChanged","onFilterSearchChanged","onShowMoreRows"],["list",""],[3,"channels","mode","permissionItem","onSelectedChange"],["titleRow",""],[3,"showHeaderSeparator","listItem","viewMode","onClickNavigationButton"],["listDetail",""],[1,"rovinj"],[1,"rovinj-text"],["message","administration.sites.permissions.emptyMessage"],[3,"index","mode","permissionItem","channels","onSelectedChange"],["row",""],[1,"XXXdavao-footer-detail","tavira-footer"],[1,"tavira-footer-actions",3,"ngClass","tap"]],template:function(e,t){1&e&&(c.TgZ(0,"div",0),c.TgZ(1,"div"),c.TgZ(2,"h2",1),c._uU(3),c.ALo(4,"translate"),c.qZA(),c.qZA(),c.TgZ(5,"div",2),c.TgZ(6,"div",3),c.TgZ(7,"div",4),c.NdJ("tap",function(e){return null==t.componentLogic?null:t.componentLogic.newPermissionClick(e)}),c._UZ(8,"i",5),c.TgZ(9,"span"),c._uU(10),c.ALo(11,"translate"),c.qZA(),c.qZA(),c.qZA(),c.TgZ(12,"div",6),c.YNc(13,x,1,2,"icb-dynamic-loader",7),c.YNc(14,w,2,0,"div",8),c.YNc(15,y,17,18,"icb-list",9),c.qZA(),c.YNc(16,v,5,6,"div",10),c.qZA(),c.qZA(),c.TgZ(17,"div",2),c.TgZ(18,"icb-modalPopup",11,12),c.NdJ("onCancel",function(){return null==t.componentLogic?null:t.componentLogic.modifyModal.close(!0)})("onConfirm",function(){return null==t.componentLogic?null:t.componentLogic.modalConfirm()}),c.TgZ(20,"modal-content"),c.TgZ(21,"div",13),c.TgZ(22,"icb-permissions-edit-content",14,15),c.NdJ("toggleChanged",function(e){return null==t.componentLogic?null:t.componentLogic.modalChannelChange(e)}),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.qZA()),2&e&&(c.Q6J("ngClass",c.VKq(34,I,null==t.componentLogic?null:t.componentLogic._isLeavingPage)),c.xp6(1),c.Gre("amman-header ",null!=t.componentLogic&&t.componentLogic.isShowingDetail?"":"amman-hasTitle",""),c.xp6(2),c.Oqu(c.lcZ(4,30,"administration.sites.permissions.title")),c.xp6(2),c.Gre("amman-content ",null!=t.componentLogic&&t.componentLogic.isShowingDetail?"tavira-detail":"tavira-list",""),c.Q6J("ngClass",c.VKq(36,T,null!=t.componentLogic&&t.componentLogic.isShowingDetail?"":"seattle-content")),c.xp6(1),c.Q6J("hidden",null==t.componentLogic?null:t.componentLogic.isShowingDetail),c.xp6(1),c.Q6J("ngClass",c.VKq(38,F,null==t.componentLogic?null:t.componentLogic.pendingApprovalOperationId)),c.xp6(3),c.Oqu(c.lcZ(11,32,"administration.sites.permissions.newButtonLabel")),c.xp6(3),c.Q6J("ngIf",null==t.componentLogic?null:t.componentLogic.pendingApprovalOperationId),c.xp6(1),c.Q6J("ngIf",!(null!=t.componentLogic&&t.componentLogic.filtersCreated)),c.xp6(1),c.Q6J("ngIf",(null==t.componentLogic?null:t.componentLogic.showList)&&!(null==t.componentLogic||!t.componentLogic.filtersCreated)),c.xp6(1),c.Q6J("ngIf",!(null!=t.componentLogic&&t.componentLogic.isShowingDetail)),c.xp6(1),c.Q6J("ngClass",c.VKq(40,I,null==t.componentLogic?null:t.componentLogic._isLeavingPage)),c.xp6(1),c.Q6J("showHeader",!1)("showCloseButton",!0)("title","administration.sites.permissions.deleteModalTitle")("size","small")("heightAuto",!0)("showConfirmButton",!0)("displayMode","sitePermissionsMode")("cancelText","administration.general.logout.cancel")("closeOnConfirm",!1)("confirmEnabled",(null==t.componentLogic||null==t.componentLogic.channelsToDelete?null:t.componentLogic.channelsToDelete.length)>0)("showCancelButton",!0),c.xp6(4),c.Q6J("deleteAll",!1)("selectedChannels",null==t.componentLogic?null:t.componentLogic.selectedChannels))},styles:['.action-hidden[_ngcontent-%COMP%]{opacity:.5}.amman-content[_ngcontent-%COMP%]{position:relative}.amman-content[_ngcontent-%COMP%]   .tavira-content[_ngcontent-%COMP%]{padding:0;height:calc(100% - 85px)}.amman-content[_ngcontent-%COMP%]   .tavira-heading[_ngcontent-%COMP%]{display:block;width:100%;padding:6px 12px;background:#f8f8f8;border-bottom:1px solid #d7d7d7;text-align:right;overflow:hidden}.amman-content[_ngcontent-%COMP%]   .tavira-heading[_ngcontent-%COMP%]   .tavira-heading-actions[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle;line-height:28px;font-size:14px;cursor:pointer;color:#ec0000}.amman-content[_ngcontent-%COMP%]   .tavira-heading[_ngcontent-%COMP%]   .tavira-heading-actions[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle;font-size:16px;font-weight:bold!important;padding-right:3px;opacity:.6}.amman-content[_ngcontent-%COMP%]   .tavira-heading[_ngcontent-%COMP%]   .tavira-heading-actions[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle}.amman-content[_ngcontent-%COMP%]   .tavira-heading[_ngcontent-%COMP%]   .tavira-heading-actions[_ngcontent-%COMP%]:hover:not(.tavira-disabled){color:#a00000;animation:pasigIconHoverIn .35s ease}.amman-content[_ngcontent-%COMP%]   .tavira-heading[_ngcontent-%COMP%]   .tavira-heading-actions.tavira-disabled[_ngcontent-%COMP%]{opacity:.5;cursor:default}.amman-content[_ngcontent-%COMP%]   .tavira-footer[_ngcontent-%COMP%]{position:relative;width:100%;height:42px;bottom:0;padding:7px 14px;text-align:right;background:#f8f8f8;border-top:1px solid #d7d7d7}.amman-content[_ngcontent-%COMP%]   .tavira-footer[_ngcontent-%COMP%]   .tavira-footer-actions[_ngcontent-%COMP%]{display:inline-block;line-height:28px;font-size:14px;cursor:pointer;color:#ec0000;font-family:"dinMedium"}.amman-content.tavira-detail[_ngcontent-%COMP%]   .tavira-content[_ngcontent-%COMP%]{height:100%}.amman-content.tavira-list[_ngcontent-%COMP%]   .tavira-content[_ngcontent-%COMP%]{overflow:auto}.mumbai-dialog[_ngcontent-%COMP%]{font-size:14px;color:#666}.mumbai-dialog.mumbai-form[_ngcontent-%COMP%]{padding:20px 0 10px}.mumbai-dialog.mumbai-padding[_ngcontent-%COMP%]{padding-bottom:10px}.mumbai-dialog.mumbai-form-padding-top[_ngcontent-%COMP%]{padding-top:10px}.mumbai-dialog[_ngcontent-%COMP%]   .mumbai-dialog-title[_ngcontent-%COMP%]{font-size:16px;color:#333;font-family:"dinMedium";display:block}.mumbai-dialog[_ngcontent-%COMP%]   .mumbai-dialog-title.notificationChannelsTitleMode[_ngcontent-%COMP%]{padding-left:7px;padding-bottom:10px}.mumbai-dialog[_ngcontent-%COMP%]   .mumbai-dialog-title[_ngcontent-%COMP%]   .mumbai-dialog-subtitle[_ngcontent-%COMP%]{display:block;padding-bottom:10px}.mumbai-dialog[_ngcontent-%COMP%]   .mumbai-dialog-title.mumbai-transactions[_ngcontent-%COMP%]{padding-bottom:10px}.mumbai-dialog[_ngcontent-%COMP%]   .mumbai-dialog-title.mumbai-transactions.withoutTitle[_ngcontent-%COMP%]{padding-top:10px}.mumbai-dialog[_ngcontent-%COMP%]   .mumbai-dialog-title.mumbai-transactions[_ngcontent-%COMP%]   .mumbai-dialog-text[_ngcontent-%COMP%]{padding:0 0 20px}.mumbai-dialog[_ngcontent-%COMP%]   .mumbai-dialog-title[_ngcontent-%COMP%]   .mumbai-link-container[_ngcontent-%COMP%]{display:block}.mumbai-dialog[_ngcontent-%COMP%]   .mumbai-dialog-title[_ngcontent-%COMP%]   .mumbai-link-container[_ngcontent-%COMP%]   .mumbai-link[_ngcontent-%COMP%]{cursor:pointer;color:#e2061c}.mumbai-dialog[_ngcontent-%COMP%]   .mumbai-dialog-subtitle[_ngcontent-%COMP%]{display:inline-block}.mumbai-dialog[_ngcontent-%COMP%]   .mumbai-dialog-title[_ngcontent-%COMP%]{font-family:"Santander Text SemiBold"}.split_sessionEnd[_ngcontent-%COMP%]{display:none}.amman-content[_ngcontent-%COMP%]   .tavira-footer[_ngcontent-%COMP%]   .tavira-footer-actions[_ngcontent-%COMP%]{font-family:"Santander Text SemiBold"}']}),Z=(0,s.gn)([(0,a.Jq)("Administration.UI.Sites.Components.SitePermissions")],Z),Z.retain={};var z=n(15397);let q=class extends z.b{constructor(){super(),this.hidden=!1}filterInitializing(){super.filterInitializing();const e=this.filter.definition.customDefinition.options;e&&(a.iX.isNotNull(e.hidden)&&(this.hidden=e.hidden),e.clicklisten&&this.addSubscription("_options_clicklisten",e.clicklisten.subscribe(this.processExternClick.bind(this))))}processTap(e){this.openFilter(e)}processExternClick(e){this.processTap(e)}get selectedFeatures(){return this.filter&&this.filter.selectedChildrenActions&&this.filter.selectedChildrenActions.map(e=>e.value)}cleanSelection(){this.filter.reset(),this.filterChanged({})}onlyFirstSelected(){return!!this.filter&&!!this.filter.selectedChildrenActions&&1===this.filter.selectedChildrenActions.length&&"feature_filter_all"===this.filter.selectedChildrenActions[0].id}};q=(0,s.gn)([(0,a.Jq)("Administration.UI.Sites.Components.SitePermissionsFeaturesHeaderLogic")],q),q.retain={};let U=class extends q{constructor(){super()}};function R(e,t){if(1&e){const e=c.EpF();c.TgZ(0,"a",6),c.NdJ("tap",function(){c.CHM(e);const t=c.oxw(),n=c.MAs(5);return null==t.componentLogic?null:t.componentLogic.processTap(n)}),c._UZ(1,"i",7),c.qZA()}}function E(e,t){1&e&&(c.TgZ(0,"span",10),c._uU(1," | "),c.qZA())}function B(e,t){if(1&e){const e=c.EpF();c.TgZ(0,"span",8),c.NdJ("tap",function(){c.CHM(e);const t=c.oxw(),n=c.MAs(5);return null==t.componentLogic?null:t.componentLogic.processTap(n)}),c._uU(1),c.ALo(2,"translate"),c.YNc(3,E,2,0,"span",9),c.qZA()}if(2&e){const e=t.$implicit,n=t.index,o=c.oxw();c.xp6(1),c.hij(" ",c.lcZ(2,2,e.text)," "),c.xp6(2),c.Q6J("ngIf",n!=(null==o.componentLogic||null==o.componentLogic.filter||null==o.componentLogic.filter.selectedChildrenActions?null:o.componentLogic.filter.selectedChildrenActions.length)-1)}}U=(0,s.gn)([(0,a.Jq)("Administration.UI.Sites.Components.SitePermissionsFeaturesHeaderLogic")],U),U.retain={};let N=class extends z.E{constructor(){super(),this.componentLogic=(0,a.Fs)("Administration.UI.Sites.Components.SitePermissionsFeaturesHeaderLogic"),this.componentLogic.componentReference=this}set displayMode(e){this.componentLogic.displayMode=e}get displayMode(){return this.componentLogic.displayMode}set genericInput(e){this.componentLogic.genericInput=e}get genericInput(){return this.componentLogic.genericInput}set genericOutput(e){this.componentLogic&&this.componentLogic.genericOutput&&(this.componentLogic.genericOutput=e)}get genericOutput(){return this.componentLogic.genericOutput}};N.\u0275fac=function(e){return new(e||N)},N.\u0275cmp=c.Xpm({type:N,selectors:[["icb-site-permissions-features-filter-header"]],inputs:{displayMode:"displayMode",genericInput:"genericInput"},outputs:{genericOutput:"genericOutput"},features:[c.qOj],decls:6,vars:3,consts:[[1,"dresden_container","dresden-header-container",3,"hidden"],[1,"dresden_label"],["class","dresden_icon",3,"tap",4,"ngIf"],["class","dresden_title",3,"tap",4,"ngFor","ngForOf"],[1,"dresden_arrow-down","stream-arrow_down_1",3,"tap"],["filterAction",""],[1,"dresden_icon",3,"tap"],[1,"stream-filter-3"],[1,"dresden_title",3,"tap"],["class","dresden_divider separator",4,"ngIf"],[1,"dresden_divider","separator"]],template:function(e,t){if(1&e){const e=c.EpF();c.TgZ(0,"div",0),c.TgZ(1,"div",1),c.YNc(2,R,2,0,"a",2),c.YNc(3,B,4,4,"span",3),c.TgZ(4,"i",4,5),c.NdJ("tap",function(){c.CHM(e);const n=c.MAs(5);return null==t.componentLogic?null:t.componentLogic.processTap(n)}),c.qZA(),c.qZA(),c.qZA()}2&e&&(c.Q6J("hidden",null==t.componentLogic?null:t.componentLogic.hidden),c.xp6(2),c.Q6J("ngIf",t.isFirstFilter&&t.showFilterIcon),c.xp6(1),c.Q6J("ngForOf",null==t.componentLogic||null==t.componentLogic.filter?null:t.componentLogic.filter.selectedChildrenActions))},styles:['@keyframes fromSharktoHumming-bird{0%{color:#ec0000}to{color:#a00000}}@keyframes fromHumming-birdtoShark{0%{color:#a00000}to{color:#ec0000}}
1@keyframes fromSharktoHumming-birdBackground{0%{background:#ec0000}to{background:#a00000}}@keyframes fromHumming-birdtoSharkBackground{0%{background:#a00000}to{background:#ec0000}}@keyframes fromDevilfishtoHummingbirdBackground{0%{background:#ec0000}to{background:#a00000}}@keyframes fromSharktoDevilfishBackground{0%{background:#ec0000}to{background:#ec0000}}@keyframes fromDevilfishtoSharkBackground{0%{background:#ec0000}to{background:#ec0000}}@keyframes fromBettafightertoCrabBackgroundAndSize{0%{background:transparent;transform:scale(.7)}to{background:rgba(0,0,0,.05);transform:scale(.7)}}@keyframes ListDetailBkgfromBettafightertoCrab{0%{width:7px;top:8px;left:19px;height:16px;background:transparent}to{width:30px;top:2px;left:8px;height:28px;background:rgba(0,0,0,.05)}}@keyframes ListDetailBkgfromCrabtoBettafighter{0%{width:30px;top:2px;left:8px;height:28px;background:rgba(0,0,0,.05)}to{width:7px;top:8px;left:19px;height:16px;background:transparent}}@keyframes ListRowHoverInLineAndBackground{0%{border:1px solid transparent;background:#fff}to{border:1px solid #ec0000;background:#f8f8f8}}@keyframes ListRowHoverInLineAndBackgroundWarning{0%{border:1px solid transparent;background:#fef6d1}to{border:1px solid #ec0000;background:#fef6d1}}@keyframes ListRowHoverInLineAndBackgroundAlert{0%{border:1px solid transparent;background:#fffbeb}to{border:1px solid #ec0000;background:#fffbeb}}@keyframes TabsColorHoverIn{0%{color:#666}to{color:#ec0000}}@keyframes TabsColorHoverOut{0%{color:#ec0000}to{color:#666}}@keyframes InboxHoverIn{0%{width:50%;top:20%;left:20%;height:50%}to{width:100%;top:0;left:0;height:100%;background:rgba(0,0,0,.2)}}@keyframes UserUtilitiesHoverIn{0%{width:80%;top:10%;left:10%;height:80%}to{width:100%;top:0;left:0;height:100%;background:rgba(0,0,0,.2)}}@keyframes LogoutHoverIn{0%{width:80%;top:10%;left:10%;height:80%}to{width:100%;top:0;left:0;height:100%;background:rgba(0,0,0,.2)}}@keyframes ContactUsHoverIn{0%{width:80%;top:10%;left:10%;height:80%}to{width:100%;top:0;left:0;height:100%;background:rgba(0,0,0,.2)}}@keyframes LanguageOptionsHoverIn{0%{width:80%;top:10%;left:10%;height:80%}to{width:100%;top:0;left:0;height:100%;background:rgba(0,0,0,.2)}}@keyframes fromZebratoZebraBackground{0%{background:#ffe2e2}to{background:#ffe2e2}}@keyframes fromSharktoSharkBackground{0%{background:#ec0000}to{background:#ec0000}}@keyframes frombettafightertobettafighterBorder{0%{border:1px solid transparent}to{border:1px solid transparent}}@keyframes fromSharktobettafighterBorder{0%{border:1px solid #ec0000}to{border:1px solid transparent}}@keyframes frombettafightertoSharkBorder{0%{border:1px solid transparent}to{border:1px solid #ec0000}}@keyframes from0to360Rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes fromCatdarktoCatBackground{0%{background:#00743c}to{background:#00A756}}@keyframes fromCattoCatdarkBackground{0%{background:#00A756}to{background:#00743c}}
1@keyframes fromCatLighttoCatLightBackground{0%{background:#9dffcf}to{background:#9dffcf}}@keyframes fromBettafightertoSharkBorderBottom{0%{border-bottom:1px solid transparent}to{border-bottom:1px solid #ec0000}}@keyframes fromSharktoBettafighterBorderBottom{0%{border-bottom:1px solid #ec0000}to{border-bottom:1px solid transparent}}@keyframes fromBettafightertoCrabBackground{0%{background:transparent}to{background:rgba(0,0,0,.05)}}@keyframes fromCrabtoBettafighterBackground{0%{background:rgba(0,0,0,.05)}to{background:transparent}}@keyframes from0to100Height{0%{height:0}to{height:auto}}@keyframes fromAutoto0Height{0%{height:auto}to{height:0}}@keyframes from0to90Rotate3D{0%{transform:rotate(0)}to{transform:rotate(90deg)}}@keyframes from90to0Rotate3D{0%{transform:rotate(90deg)}to{transform:rotate(0)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeOutTableCell{0%{visibility:visible;opacity:1;display:table-cell}99%{visibility:visible;opacity:0;display:table-cell}to{visibility:hidden;display:none}}@keyframes MonitorFadeIn{0%{width:80px}40%{width:100%}to{width:100%}}@keyframes MonitorFadeOut{0%{width:100%}50%{width:100%}to{width:80px}}@keyframes BatchMonitorFadeIn{0%{max-height:0}40%{max-height:0}to{max-height:calc(100vh - 100px)}}@keyframes BatchMonitorFadeOut{0%{max-height:calc(100vh - 100px)}50%{max-height:0}to{max-height:0}}.ohio_text.show[_ngcontent-%COMP%]{display:inline!important}.ohio_text.hide[_ngcontent-%COMP%]{display:none!important}.ohio[_ngcontent-%COMP%]{width:100%;height:100%}.ohio.ohio_container.categoryButtonMode[_ngcontent-%COMP%]   .ohio_text[_ngcontent-%COMP%]{float:none;display:inline-block;vertical-align:top;padding:0;line-height:1.42}.ohio.ohio_container.categoryButtonMode[_ngcontent-%COMP%]   .ohio_first-filter_arrow-down[_ngcontent-%COMP%]{vertical-align:top;line-height:1.42;padding-top:4px}.ohio.on[_ngcontent-%COMP%]{width:100%;height:100%}.ohio.on.ohio_container.categorySelectorMode[_ngcontent-%COMP%]   .ohio_text[_ngcontent-%COMP%]{max-width:calc(100% - 30px);font-size:12px;color:#333;padding-top:1px}.ohio.on.ohio_container.categorySelectorMode[_ngcontent-%COMP%]   .ohio_text[_ngcontent-%COMP%]:hover{animation:none}.ohio.on[_ngcontent-%COMP%] > .ohio_icon[_ngcontent-%COMP%]{width:25px;height:30px;line-height:30px;font-size:16px;text-align:center;color:#ec0000;display:inline-block;position:static;top:1px;cursor:pointer;margin-left:8px;padding-top:0}.ohio.on[_ngcontent-%COMP%] > .ohio_text[_ngcontent-%COMP%]{color:#ccc;float:right;height:30px;line-height:33px;margin-top:0;font-size:14px;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block;float:none;color:#ec0000;padding-top:0;line-height:24px;vertical-align:middle}.ohio.on[_ngcontent-%COMP%] > .ohio_text[_ngcontent-%COMP%]:hover{color:#a00000;animation:fromSharktoHumming-bird .25s ease}.ohio.on[_ngcontent-%COMP%] > .ohio_icon[_ngcontent-%COMP%]:hover{cursor:pointer;color:#a00000;animation:fromSharktoHumming-bird .25s ease}.ohio_icon[_ngcontent-%COMP%]{width:25px;height:30px;line-height:30px;font-size:16px;text-align:center;color:#ec0000;display:inline-block;position:static;top:1px;padding-top:9px;cursor:pointer;margin-left:8px}.ohio_icon[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:16px}.ohio_icon[_ngcontent-%COMP%]:hover{cursor:pointer;color:#a00000;animation:fromSharktoHumming-bird .25s ease}.ohio_text[_ngcontent-%COMP%]{color:#ccc;float:right;height:30px;line-height:33px;margin-top:0;color:#ec0000;padding-top:6px;font-size:14px;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ohio_content[_ngcontent-%COMP%]{padding:5px 0 10px}.ohio_content.double[_ngcontent-%COMP%]{width:420px}.ohio_content_menu[_ngcontent-%COMP%]{padding:0 10px;min-height:165px}.ohio_content_menu.left[_ngcontent-%COMP%]{width:50%;display:inline-block;float:left}.ohio_content_menu.right[_ngcontent-%COMP%]{border-left:1px solid #ccc;display:inline-block}.ohio_content_menu_item[_ngcontent-%COMP%]{width:100%;text-align:left;margin-bottom:3px}.ohio_content_menu_item[_ngcontent-%COMP%]:hover{cursor:pointer}.ohio_content_menu_item_value[_ngcontent-%COMP%]{font-size:14px;vertical-align:middle}.ohio_content_menu_item_icon[_ngcontent-%COMP%]{display:none;margin-right:10px;color:#ec0000;font-size:16px;line-height:24px;vertical-align:middle}.ohio_content_menu_item_active_icon[_ngcontent-%COMP%]{display:none;float:right;font-size:12px;font-weight:bold;line-height:24px;vertical-align:middle}.ohio_content_menu_item_legend[_ngcontent-%COMP%]{display:none}.ohio_content_menu_item_chevron_right[_ngcontent-%COMP%]{display:none}.ohio_content_menu.product[_ngcontent-%COMP%]{padding:5px 15px}.ohio_content_menu_item.product[_ngcontent-%COMP%]{margin-bottom:14px}.ohio_content_menu_item.product[_ngcontent-%COMP%]:last-child{margin-bottom:5px}.ohio_content_menu_item.product[_ngcontent-%COMP%]   .ohio_content_menu_item_icon[_ngcontent-%COMP%]{display:inline-block}.ohio_content_menu_item.product.active[_ngcontent-%COMP%]   .ohio_content_menu_item_value[_ngcontent-%COMP%]{color:#ec0000}.ohio_content_menu_item.product.active[_ngcontent-%COMP%]   .ohio_content_menu_item_active_icon[_ngcontent-%COMP%]{display:inline-block}.ohio_content_menu_item.product.active[_ngcontent-%COMP%]   .ohio_content_menu_item_icon[_ngcontent-%COMP%]{color:#ec0000;font-weight:bold}.ohio_content_menu.date[_ngcontent-%COMP%]{padding:2px 0 5px;margin-top:5px}.ohio_content_menu_item.date[_ngcontent-%COMP%]{line-height:24px;vertical-align:middle;padding:1px 15px}.ohio_content_menu_item.date.active[_ngcontent-%COMP%]   .ohio_content_menu_item_value[_ngcontent-%COMP%]{color:#ec0000}.ohio_content_menu_item.date.active[_ngcontent-%COMP%]   .ohio_content_menu_item_active_icon[_ngcontent-%COMP%]{display:inline-block}.ohio_content_menu.date.right[_ngcontent-%COMP%]{width:205px}.ohio_content_menu.date.right[_ngcontent-%COMP%]   .ohio_content_menu_item.date[_ngcontent-%COMP%]:hover{color:#ec0000;background-color:#ebebec}.ohio_content_menu.transfer[_ngcontent-%COMP%]{padding:5px 15px}.ohio_content_menu_item.transfer[_ngcontent-%COMP%]{margin-bottom:20px}.ohio_content_menu_item.transfer[_ngcontent-%COMP%]:last-child{margin-bottom:5px}.ohio_content_menu_item.transfer[_ngcontent-%COMP%]   .ohio_content_menu_item_icon[_ngcontent-%COMP%]{display:inline-block}.ohio_content_menu_item.transfer.active[_ngcontent-%COMP%]   .ohio_content_menu_item_value[_ngcontent-%COMP%]{color:#ec0000}.ohio_content_menu_item.transfer.active[_ngcontent-%COMP%]   .ohio_content_menu_item_active_icon[_ngcontent-%COMP%]{display:inline-block}.ohio_content_menu.range[_ngcontent-%COMP%]{padding:5px 15px}.ohio_content_menu_item.range[_ngcontent-%COMP%]{margin-bottom:20px;cursor:default}.ohio_content_menu_item.range[_ngcontent-%COMP%]:last-child{margin-bottom:5px}.ohio_content_menu_item.range[_ngcontent-%COMP%]   .ohio_content_menu_item_value[_ngcontent-%COMP%]{font-size:14px;vertical-align:middle;line-height:30px}.ohio_content_menu_item.range[_ngcontent-%COMP%]   .ohio_content_menu_item_text[_ngcontent-%COMP%]{display:inline-block;width:140px;float:right;height:30px;padding:5px;text-align:right;font-size:16px}.ohio_content_menu_item.range[_ngcontent-%COMP%]   .ohio_content_menu_item_range[_ngcontent-%COMP%]{-webkit-appearance:none;width:100%;margin:18px 0}.ohio_content_menu_item.range[_ngcontent-%COMP%]   .ohio_content_menu_item_range[_ngcontent-%COMP%]:focus{outline:none}.ohio_content_menu_item.range[_ngcontent-%COMP%]   .ohio_content_menu_item_range[_ngcontent-%COMP%]::-webkit-slider-runnable-track{width:100%;height:2px;cursor:pointer;animate:.2s;box-shadow:0 0 #222,0 0 #2f2f2f;background:#C61212;border-radius:5px;border:0px solid #FFF}.ohio_content_menu_item.range[_ngcontent-%COMP%]   .ohio_content_menu_item_range[_ngcontent-%COMP%]::-webkit-slider-runnable-track:after{background:#CCC}
1.ohio_content_menu_item.range[_ngcontent-%COMP%]   .ohio_content_menu_item_range[_ngcontent-%COMP%]::-webkit-slider-thumb{box-shadow:2px 2px 4px #ccc,0 0 2px #d9d9d9;border:0px solid white;height:25px;width:25px;border-radius:12.5px;background:#FFF;cursor:pointer;-webkit-appearance:none;margin-top:-11.5px}.ohio_content_menu_item.range[_ngcontent-%COMP%]   .ohio_content_menu_item_range[_ngcontent-%COMP%]:focus::-webkit-slider-runnable-track{background:#dd1414}.ohio_content_menu_item.range[_ngcontent-%COMP%]   .ohio_content_menu_item_range[_ngcontent-%COMP%]::-moz-range-track{width:100%;height:2px;cursor:pointer;animate:.2s;box-shadow:0 0 #222,0 0 #2f2f2f;background:#C61212;border-radius:5px;border:0px solid #FFF}.ohio_content_menu_item.range[_ngcontent-%COMP%]   .ohio_content_menu_item_range[_ngcontent-%COMP%]::-moz-range-thumb{box-shadow:2px 2px 4px #ccc,0 0 2px #d9d9d9;border:0px solid white;height:25px;width:25px;border-radius:12.5px;background:#FFF;cursor:pointer}.ohio_content_menu_item.range[_ngcontent-%COMP%]   .ohio_content_menu_item_range[_ngcontent-%COMP%]::-ms-track{width:100%;height:2px;cursor:pointer;animate:.2s;background:transparent;border-color:transparent;border-width:25px 0;color:transparent}.ohio_content_menu_item.range[_ngcontent-%COMP%]   .ohio_content_menu_item_range[_ngcontent-%COMP%]::-ms-fill-lower{background:#af1010;border:0px solid #FFF;border-radius:10px;box-shadow:0 0 #222,0 0 #2f2f2f}.ohio_content_menu_item.range[_ngcontent-%COMP%]   .ohio_content_menu_item_range[_ngcontent-%COMP%]::-ms-fill-upper{background:#C61212;border:0px solid #FFF;border-radius:10px;box-shadow:0 0 #222,0 0 #2f2f2f}.ohio_content_menu_item.range[_ngcontent-%COMP%]   .ohio_content_menu_item_range[_ngcontent-%COMP%]::-ms-thumb{box-shadow:2px 2px 4px #ccc,0 0 2px #d9d9d9;border:0px solid white;height:25px;width:25px;border-radius:12.5px;background:#FFF;cursor:pointer}.ohio_content_menu_item.range[_ngcontent-%COMP%]   .ohio_content_menu_item_range[_ngcontent-%COMP%]:focus::-ms-fill-lower{background:#C61212}.ohio_content_menu_item.range[_ngcontent-%COMP%]   .ohio_content_menu_item_range[_ngcontent-%COMP%]:focus::-ms-fill-upper{background:#dd1414}.ohio_content_header_title[_ngcontent-%COMP%]{display:inline-block!important}.ohio_content_header_button[_ngcontent-%COMP%]{float:right;color:#fff;font-size:14px;margin:0;padding:0 10px;font-weight:normal;display:inline-block}.ohio_content_header_button[_ngcontent-%COMP%]:hover{cursor:pointer}.ohio_content_header_button_back[_ngcontent-%COMP%]{color:#ec0000;font-size:18px;line-height:18px;vertical-align:middle;margin-right:5px}.ohio_content_header_button_back[_ngcontent-%COMP%]:hover{cursor:pointer}.ohio_content_menu_item.advanced[_ngcontent-%COMP%]   .ohio_content_menu_item_wrapper[_ngcontent-%COMP%]{display:inline-block}.ohio_content_menu_item.advanced[_ngcontent-%COMP%]   .ohio_content_menu_item_navigate[_ngcontent-%COMP%]{font-size:12px;display:inline-block;vertical-align:middle;line-height:39px;float:right;font-weight:bold}.ohio_content_menu_item.advanced[_ngcontent-%COMP%]   .ohio_content_menu_item_wrapper_legend[_ngcontent-%COMP%]{display:block;font-size:12px;color:#666}.ohio_content_menu_item.advanced[_ngcontent-%COMP%]   .ohio_content_menu_item_wrapper_value[_ngcontent-%COMP%]{display:block;font-size:15px}.ohio_slider[_ngcontent-%COMP%]{overflow:hidden;width:200%;transition:.5s;-webkit-transition:.5s;-moz-transition:.5s}.ohio_content.slide[_ngcontent-%COMP%]{vertical-align:top;padding-bottom:0;width:50%;float:left;display:none}.ohio_content.slide.master[_ngcontent-%COMP%]{display:inline-block}.ohio_content.slide.active[_ngcontent-%COMP%]{display:inline-block}.ohio_content.advanced[_ngcontent-%COMP%]{padding:5px 10px}.ohio_footer[_ngcontent-%COMP%]{margin-top:15px;text-align:right}.ohio_footer_button[_ngcontent-%COMP%]{color:#ec0000;padding:0 10px;font-size:14px}.ohio_footer_button[_ngcontent-%COMP%]:hover{cursor:pointer}.ohio_main_footer[_ngcontent-%COMP%]{text-align:right;display:block;padding:5px 8px 0;height:40px;background:#f8f8f8;border-top:1px solid #d1d1d1}.ohio_main_footer_button[_ngcontent-%COMP%]{float:right}.ohio_main_footer_button.clear[_ngcontent-%COMP%]{float:left}.ohio_toggle_text[_ngcontent-%COMP%]{color:#666;margin-right:5px;display:inline-block}.ohio_container[_ngcontent-%COMP%]{display:block;position:relative;padding-bottom:4px}.ohio_label[_ngcontent-%COMP%]{display:inline-block;vertical-align:top;color:#ec0000;font-size:12px;padding:3px 0;animation:fromHumming-birdtoShark .3s ease}.ohio_arrow-down[_ngcontent-%COMP%]{display:inline-block;height:16px;width:16px;line-height:16px;text-align:center;font-size:10px;color:#ec0000;vertical-align:top;margin-left:1px;padding-top:4px;animation:fromHumming-birdtoShark .3s ease}.ohio_divider[_ngcontent-%COMP%]{margin:0 3px;font-size:12px}.ohio_range_divider[_ngcontent-%COMP%]{margin:0 3px;font-size:12px}.ohio_range_divider[_ngcontent-%COMP%]:after{content:"-"}.ohio_label[_ngcontent-%COMP%]:hover{color:#a00000;animation:fromSharktoHumming-bird .3s ease;cursor:pointer}.ohio_arrow-down[_ngcontent-%COMP%]:hover{color:#a00000;animation:fromSharktoHumming-bird .3s ease;cursor:pointer}.ohio_first-filter_arrow-down[_ngcontent-%COMP%]{display:inline-block;height:16px;width:16px;line-height:14px;vertical-align:middle;text-align:center;font-size:10px;color:#ec0000;margin-left:1px;animation:fromHumming-birdtoShark .3s ease}.ohio_first-filter_arrow-down[_ngcontent-%COMP%]:hover{color:#a00000;animation:fromSharktoHumming-bird .3s ease;cursor:pointer}@keyframes ohio-color-dark-animated{0%{color:#ec0000}to{color:#a00000}}@keyframes ohio-color-dark-animated-reverse{0%{color:#a00000}to{color:#ec0000}}.ohio_header_content[_ngcontent-%COMP%]{display:inline-block;vertical-align:top}.ohio_header_content_text[_ngcontent-%COMP%]{height:30px;line-height:33px;margin-top:0;display:inline-block}.ohio_header_btn[_ngcontent-%COMP%]{color:#ec0000}.ohio_header_btn[_ngcontent-%COMP%]:hover{cursor:pointer}.ohio_label_date[_ngcontent-%COMP%]{vertical-align:middle;font-size:14px;line-height:20px;padding-top:4px}
1.ohio_header_content_text_separator[_ngcontent-%COMP%]{color:#8a8a8a;display:inline-block;margin:0 10px;vertical-align:middle}.ohio_content_text_separator[_ngcontent-%COMP%]{color:#8a8a8a;display:inline-block;margin:0 5px}.oneColumnContainer[_ngcontent-%COMP%]{padding:0 0 0 12px;clear:both}icb-range-date-filter[_ngcontent-%COMP%]{width:100%;display:block;min-width:415px}icb-two-columns-filter[_ngcontent-%COMP%]{width:100%;display:block;min-width:415px}icb-one-column-filter[_ngcontent-%COMP%]{width:100%;display:block;min-width:280px}icb-range-number-filter[_ngcontent-%COMP%]{width:100%;display:block;min-width:280px;padding:5px}.filterForDetails.pfmHomeMode[_ngcontent-%COMP%]{margin-bottom:4px;padding-bottom:0}.filterForDetails.pfmHomeMode[_ngcontent-%COMP%]:last-child{margin-bottom:4px;padding-bottom:0}.filterForDetails[_ngcontent-%COMP%]:first-child{margin-top:12px}.filterForDetails[_ngcontent-%COMP%]:nth-child(2).horizontal{display:inline-block;margin-top:15px;margin-right:8px}.filterForDetails[_ngcontent-%COMP%]:last-child.horizontal{display:inline-block;margin-top:15px;margin-right:8px}@media screen and (max-width: 767px) and (min-width: 320px){.ohio_text_on[_ngcontent-%COMP%]{float:none}icb-range-date-filter[_ngcontent-%COMP%]{min-width:none}.filterForDetails[_ngcontent-%COMP%]:first-child.horizontal{display:block}.filterForDetails[_ngcontent-%COMP%]:nth-child(2).horizontal{display:block;margin-top:10px;margin-bottom:0}.filterForDetails[_ngcontent-%COMP%]:last-child.horizontal{display:block;margin-top:10px}}.ohio_label_range-date[_ngcontent-%COMP%]{font-size:14px;padding:4px 0}.ohio_header_content_range-date[_ngcontent-%COMP%]{margin-left:15px}@media screen and (max-width: 767px) and (min-width: 320px){.filterForDetails.pfmHomeMode.ohio.on[_ngcontent-%COMP%] > .ohio_icon[_ngcontent-%COMP%]{margin-left:-3px;margin-right:-3px}}@media screen and (max-width: 479px) and (min-width: 320px){.ohio.ohio_container.accountDetailsMode[_ngcontent-%COMP%]   .ohio_header_content.ohio_header_content_range-date[_ngcontent-%COMP%]{display:block}.ohio.ohio_container.on[_ngcontent-%COMP%]   .ohio_header_content.ohio_header_content_range-date[_ngcontent-%COMP%]{display:block}}.backoffice   [_nghost-%COMP%]   .ohio.on[_ngcontent-%COMP%]   .ohio_icon[_ngcontent-%COMP%]{color:#ff4800}.backoffice   [_nghost-%COMP%]   .ohio.on[_ngcontent-%COMP%]   .ohio_icon[_ngcontent-%COMP%]:hover{animation:none;color:#ff4800}.backoffice   [_nghost-%COMP%]   .ohio.on[_ngcontent-%COMP%]   .ohio_text[_ngcontent-%COMP%]{color:#666}.backoffice   [_nghost-%COMP%]   .ohio.on[_ngcontent-%COMP%]   .ohio_text[_ngcontent-%COMP%]:hover{animation:none;color:#ff4800}.backoffice   [_nghost-%COMP%]   .ohio_first-filter_arrow-down[_ngcontent-%COMP%]{color:#666}.backoffice   [_nghost-%COMP%]   .ohio_first-filter_arrow-down[_ngcontent-%COMP%]:hover{animation:none;color:#ff4800}.backoffice   [_nghost-%COMP%]   .ohio_label[_ngcontent-%COMP%]{animation:none;color:#ff4800}.backoffice   [_nghost-%COMP%]   .ohio_arrow-down[_ngcontent-%COMP%]{animation:none;color:#ff4800}.filterForDetails[_ngcontent-%COMP%]:first-child{margin-top:12px;padding-bottom:7px}.filterForDetails[_ngcontent-%COMP%]:first-child.horizontal{display:inline-block;margin-top:0;margin-right:22px}.filter_search[_ngcontent-%COMP%]{background-color:#ebebec;border-bottom:1px solid #ccc}.florida_wrapper_top_placeholder_large-search.searchCategoryMode[_ngcontent-%COMP%]{padding:5px 0;background-color:#ebebec;border-bottom:1px solid #ccc}.dresden[_ngcontent-%COMP%]{width:100%;height:100%}.dresden.on[_ngcontent-%COMP%]{width:100%;height:100%}.dresden.on[_ngcontent-%COMP%] > .dresden_icon[_ngcontent-%COMP%]{width:25px;height:30px;line-height:30px;font-size:16px;text-align:center;color:#ec0000;display:inline-block;position:static;top:1px;cursor:pointer;margin-left:8px;padding-top:0}.dresden.on[_ngcontent-%COMP%] > .dresden_text[_ngcontent-%COMP%]{color:#ccc;float:right;height:30px;line-height:33px;margin-top:0;font-size:14px;cursor:pointer;display:inline-block;float:none;color:#ec0000;padding-top:0;line-height:24px;vertical-align:middle;animation:dresden-color-dark-animated-reverse .3s ease}.dresden.on[_ngcontent-%COMP%] > .dresden_text[_ngcontent-%COMP%]:hover{color:#a00000;animation:dresden_icon-animated .25s ease}.dresden.on[_ngcontent-%COMP%] > .dresden_icon[_ngcontent-%COMP%]:hover{cursor:pointer;color:#a00000;animation:dresden_icon-animated .25s ease}.dresden_icon[_ngcontent-%COMP%]{width:25px;height:30px;line-height:30px;font-size:16px;text-align:center;color:#ec0000;display:inline-block;position:static;top:1px;padding-top:9px;
1cursor:pointer;margin-left:8px;animation:dresden_icon-animated-reverse .25s ease}.dresden_icon[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:16px}@keyframes dresden_icon-animated-reverse{0%{color:#a00000}to{color:#ec0000}}.dresden_icon[_ngcontent-%COMP%]:hover{cursor:pointer;color:#a00000;animation:dresden_icon-animated .25s ease}@keyframes dresden_icon-animated{0%{color:#ec0000}to{color:#a00000}}.dresden_text[_ngcontent-%COMP%]{color:#ccc;float:right;height:30px;line-height:33px;margin-top:0;color:#ec0000;padding-top:6px;font-size:14px;cursor:pointer}.dresden_content_menu_item[_ngcontent-%COMP%]{width:100%;text-align:left;margin-bottom:3px}.dresden_content_menu_item[_ngcontent-%COMP%]:hover{cursor:pointer;background:rgba(0,0,0,.05);animation:menu-item-hover .2s ease}.dresden_content_menu_item[_ngcontent-%COMP%]:hover   .dresden_content_menu_item_wrapper[_ngcontent-%COMP%]   .dresden_content_menu_item_wrapper_legend[_ngcontent-%COMP%]{color:#ec0000}.dresden_content_menu_item[_ngcontent-%COMP%]:hover   .dresden_content_menu_item_navigate[_ngcontent-%COMP%]{color:#ec0000}.dresden_content_menu_item_legend[_ngcontent-%COMP%]{display:none}.dresden_content_menu_item_chevron_right[_ngcontent-%COMP%]{display:none}.dresden_content_menu_item_value[_ngcontent-%COMP%]{font-size:14px;vertical-align:middle}.dresden_content_menu_item_icon[_ngcontent-%COMP%]{display:none;margin-right:10px;color:#ec0000;font-size:16px;line-height:24px;vertical-align:middle}.dresden_content_menu_item_active_icon[_ngcontent-%COMP%]{display:none;float:right;font-size:12px;font-weight:bold;line-height:24px;vertical-align:middle}.dresden_content_menu_item.advanced[_ngcontent-%COMP%]{padding:5px 10px;width:100%;display:table}.dresden_content_menu_item.advanced[_ngcontent-%COMP%]   .dresden_content_menu_item_wrapper[_ngcontent-%COMP%]{display:table-cell}.dresden_content_menu_item.advanced[_ngcontent-%COMP%]   .dresden_content_menu_item_navigate[_ngcontent-%COMP%]{font-size:12px;display:table-cell;vertical-align:middle;text-align:right;font-weight:bold}.dresden_content_menu_item.advanced[_ngcontent-%COMP%]   .dresden_content_menu_item_navigate[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{vertical-align:middle}.dresden_content_menu_item.advanced[_ngcontent-%COMP%]   .dresden_content_menu_item_wrapper_legend[_ngcontent-%COMP%]{display:block;font-size:11px;color:#666}.dresden_content_menu_item.advanced[_ngcontent-%COMP%]   .dresden_content_menu_item_wrapper_value[_ngcontent-%COMP%]{display:block;font-size:14px;line-height:1;color:#119ead}.dresden_content_menu_item.advanced[_ngcontent-%COMP%]   .dresden_content_menu_item_wrapper_value.placeholder[_ngcontent-%COMP%]{color:#444}.dresden_content_menu_item.advanced[_ngcontent-%COMP%]   .dresden_content_menu_item_wrapper_value.separator[_ng
1content-%COMP%]{display:inline;color:#444}.dresden_selection_container[_ngcontent-%COMP%]{display:block}.dresden_selection_container_button[_ngcontent-%COMP%]{color:#ec0000;padding:0 0 0 10px;font-size:12px}.dresden_selection_container_button[_ngcontent-%COMP%]:hover{cursor:pointer}.dresden_selection_container_item[_ngcontent-%COMP%]{display:inline-block;background:#e1e1e1}.dresden_selection_container_item.on[_ngcontent-%COMP%]{margin-right:5px;margin-bottom:5px}.dresden_selection_container_wrapper[_ngcontent-%COMP%]{padding:0 5px}.dresden_selection_container_item_title[_ngcontent-%COMP%]{display:inline-block;font-size:12px;padding:3px 0}.dresden_selection_container_item_title[_ngcontent-%COMP%]:after{content:":"}.dresden_selection_container_item_value[_ngcontent-%COMP%]{display:inline-block;font-size:12px;padding:3px 0;color:#119ead;margin-left:2px}.dresden_selection_container_item_value.separator[_ngcontent-%COMP%]{display:inline;color:#444}.dresden_selection_container_item_button[_ngcontent-%COMP%]{font-size:10px;display:inline-block;padding:4px;margin:2px 2px 2px 5px}.dresden_selection_container_item_button[_ngcontent-%COMP%]:hover{color:#ec0000;cursor:pointer}.dresden_content_header_title[_ngcontent-%COMP%]{display:inline-block!important}.dresden_content_header_button[_ngcontent-%COMP%]{float:right;color:#fff;font-size:14px;margin:0;padding:0 10px;font-weight:normal;display:inline-block}.dresden_content_header_button[_ngcontent-%COMP%]:hover{cursor:pointer}.dresden_content_header_button_back[_ngcontent-%COMP%]{color:#ec0000;font-size:18px;line-height:18px;vertical-align:middle;margin-right:5px}.dresden_content_header_button_back[_ngcontent-%COMP%]:hover{cursor:pointer}.dresden_toggle_text[_ngcontent-%COMP%]{color:#666;margin-right:5px;display:inline-block}.dresden_container[_ngcontent-%COMP%]{display:block;position:relative;padding-bottom:4px}.dresden_label[_ngcontent-%COMP%]{display:inline-block;vertical-align:top;color:#ec0000;font-size:12px;padding:3px 0;animation:dresden-color-dark-animated-reverse .3s ease}.dresden_arrow-down[_ngcontent-%COMP%]{display:inline-block;height:16px;width:16px;line-height:16px;text-align:center;font-size:10px;color:#ec0000;vertical-align:top;margin-left:1px;padding-top:4px;animation:dresden-color-dark-animated-reverse .3s ease}.dresden_container[_ngcontent-%COMP%]:hover   .dresden_label[_ngcontent-%COMP%]{color:#a00000;animation:dresden-color-dar-animated .3s ease;cursor:pointer}.dresden_arrow-down[_ngcontent-%COMP%]:hover{color:#a00000;animation:dresden-color-dark-animated .3s ease;cursor:pointer}.dresden_first-filter_arrow-down[_ngcontent-%COMP%]{display:inline-block;height:16px;width:16px;line-height:14px;vertical-align:middle;text-align:center;font-size:10px;color:#ec0000;margin-left:1px;animation:dresden-color-dark-animated-reverse .3s ease}.dresden_first-filter_arrow-down[_ngcontent-%COMP%]:hover{color:#a00000;animation:dresden-color-dark-animated .3s ease;cursor:pointer}@keyframes dresden-color-dark-animated{0%{color:#ec0000}to{color:#a00000}}@keyframes dresden-color-dark-animated-reverse{0%{color:#a00000}to{color:#ec0000}}.dresden_header_content[_ngcontent-%COMP%]{display:inline-block;vertical-align:top}.dresden_header_content_text[_ngcontent-%COMP%]{height:30px;line-height:33px;margin-top:0;display:inline-block}.dresden_header_btn[_ngcontent-%COMP%]{color:#ec0000}.dresden_header_btn[_ngcontent-%COMP%]:hover{cursor:pointer}
1.dresden_header_content_text_separator[_ngcontent-%COMP%]{color:#8a8a8a;display:inline-block;margin:0 10px;vertical-align:middle}.dresden_content_text_separator[_ngcontent-%COMP%]{color:#8a8a8a;display:inline-block;margin:0 5px}@media screen and (max-width: 767px) and (min-width: 320px){.dresden_text_on[_ngcontent-%COMP%]{float:none}}.dresden-header-container[_ngcontent-%COMP%]{padding:0 0 0 12px;clear:both}.dresden_divider[_ngcontent-%COMP%]{color:#333;margin-right:3px}.backoffice   [_nghost-%COMP%]   .dresden_label[_ngcontent-%COMP%]{color:#666;animation:none}.backoffice   [_nghost-%COMP%]   .dresden_arrow-down[_ngcontent-%COMP%]{color:#666}.backoffice   [_nghost-%COMP%]   .dresden_container[_ngcontent-%COMP%]{cursor:pointer;display:inline-block}.backoffice   [_nghost-%COMP%]   .dresden_container[_ngcontent-%COMP%]:hover   .dresden_label[_ngcontent-%COMP%]{color:#ff4800}.backoffice   [_nghost-%COMP%]   .dresden_container[_ngcontent-%COMP%]:hover   .dresden_arrow-down[_ngcontent-%COMP%]{color:#ff4800}.backoffice   [_nghost-%COMP%]   .dresden.on[_ngcontent-%COMP%] > .dresden_icon[_ngcontent-%COMP%]{color:#ff4800}.backoffice   [_nghost-%COMP%]   .dresden.on[_ngcontent-%COMP%] > .dresden_icon[_ngcontent-%COMP%]:hover{color:#ff4800;animation:none}.backoffice   [_nghost-%COMP%]   .dresden.on[_ngcontent-%COMP%] > .dresden_text[_ngcontent-%COMP%]{color:#666;animation:none}.backoffice   [_nghost-%COMP%]   .dresden.on[_ngcontent-%COMP%] > .dresden_text[_ngcontent-%COMP%]:hover{color:#ff4800;animation:none}.backoffice   [_nghost-%COMP%]   .dresden_first-filter_arrow-down[_ngcontent-%COMP%]{color:#666;animation:none}.backoffice   [_nghost-%COMP%]   .dresden_first-filter_arrow-down[_ngcontent-%COMP%]:hover{color:#ff4800}.backoffice   [_nghost-%COMP%]   .dresden_icon[_ngcontent-%COMP%]{animation:none}
1.separator[_ngcontent-%COMP%]{font-family:"dinmedium";color:#000}.dresden_icon[_ngcontent-%COMP%]{margin-top:0;padding-top:0;margin-left:0;vertical-align:middle}.dresden_title[_ngcontent-%COMP%]{vertical-align:middle}.dresden_arrow-down[_ngcontent-%COMP%]{vertical-align:middle;padding-top:2px}.dresden_label[_ngcontent-%COMP%]{display:inline-block;vertical-align:top;color:#ec0000;font-size:12px;padding:3px 0;animation:dresden-color-dark-animated-reverse .3s ease;line-height:30px}']}),N=(0,s.gn)([(0,a.Jq)("Administration.UI.Sites.Components.SitePermissionsFeaturesHeader",f.L0.administrationSitesPermissionsConfiguration.value),(0,a.Jq)("Administration.UI.Sites.Components.SitePermissionsFeaturesHeader")],N),N.retain={};var D=n(28432),J=n(88085);let H=class extends a.ci{constructor(e){super(),this.listItems=[],this.zone=e,this.commonService=this.getDependency("Common.Services.Common"),this.initializeAttributes(),this.initializeCurrency(),this.initializeFeatures()}initializeAttributes(){this.wizardState=(0,a.Fs)("Administration.UI.Sites.Classes.TransactionAmountsWizardState"),this.sitesServices=this.getDependency("Administration.UI.Sites.Services.SitesService")}initializeCurrency(){const e=this.configurationItemsService.configurationItemByKey(J.lL.frameworkValidationCurrencyId);this.addSubscription("getValidationCurrencyId",e.subscribe(this.processValidationCurrencyIdRetrieved.bind(this)))}processValidationCurrencyIdRetrieved(e){const t=this.commonService.getCurrencyById(e.configurationItems[0].configurationItemValue);this.addSubscription("getInternationalCurrency",t.subscribe(this.processCurrencyRetrieved.bind(this)))}processCurrencyRetrieved(e){this.wizardState.validationCurrency=e.currency}reset(){this.initializeFeatures(),this.wizard.componentLogic.moveToStep(1),this.transactionAmountsEditStep.componentLogic.stepProperties=this.transactionAmountsEditStep.componentLogic.initializeStepProperties(),this.transactionAmountsDisplayStep.componentLogic.getPendingApprovals()}removeFiltersFromListItems(){this.listItems=h(this.wizardState.listItems)}initializeFeatures(){const e=(0,a.Fs)("Administration.UI.Sites.MethodParameters.GetSiteTransactionsAmountsByFeatureIn");this.addSubscription("getSiteFeatures",this.sitesServices.siteTransactionsAmountsByFeature(e).subscribe(this.processTransactionsAmountsResult.bind(this)))}processTransactionsAmountsResult(e){this.wizardState.listItems=[],e.siteTransactionsAmounts.forEach(e=>{const t=(0,a.Fs)("Administration.UI.Site.Classes.TransactionAmountListItem");e.maxDailyAmountSite<0&&(e.maxDailyAmountSite=e.maxDailyAmount),t.amount=e.maxDailyAmountSite,t.maxAmount=e.maxDailyAmount,t.originalAmount=e.maxDailyAmountSite,t.subTransactionType=D.Eo.getEnumByKey(e.subTransactionTypeId),t.label=this.localization.translate(`transactions.entities.subTransactionTypeEnum.${t.subTransactionType.value}`,[]),this.wizardState.listItems.push(t)},this),this.wizardState.listItems.sort((e,t)=>e.label.localeCompare(t.label,void 0,{sensitivity:"base"})),this.listItems=h(this.wizardState.listItems)}processSearchTermChanged(e){this.zone.runOutsideAngular(()=>{this.listItems=h(this.wizardState.listItems),this.listItems=this.listItems.filter(t=>t.label.containsIgnoreCase(e.searchTerm))})}showPageTitle(){return this.wizard&&0==this.wizard.activeStepIndex}};H=(0,s.gn)([(0,a.Jq)("Administration.UI.Sites.Components.TransactionAmountsPageLogic")],H),H.retain={};let Q=class extends H{constructor(e){super(e)}processTransactionsAmountsResult(e){this.wizardState.listItems=[],e.siteTransactionsAmounts.forEach(e=>{const t=(0,a.Fs)("Administration.UI.Site.Classes.TransactionAmountListItem");e.maxDailyAmountSite<0&&(e.maxDailyAmountSite=e.maxDailyAmount),t.amount=e.maxDailyAmountSite,t.maxAmount=e.maxDailyAmount,t.originalAmount=e.maxDailyAmountSite,t.subTransactionType=D.yN.getEnumByKey(e.subTransactionTypeId),t.label=this.localization.translate(`transactions.entities.subTransactionTypeEnum.${t.subTransactionType.value}`,[]),this.wizardState.listItems.push(t)},this),this.wizardState.listItems.sort((e,t)=>e.label.localeCompare(t.label,void 0,{sensitivity:"base"})),this.listItems=h(this.wizardState.listItems)}};Q=(0,s.gn)([(0,a.Jq)("Administration.UI.Sites.Components.TransactionAmountsPageLogic")],Q),Q.retain={};const W=["amountsWizard"],G=["transactionAmountsEditStepContent"],V=["displayStepContent"];function $(e,t){1&e&&(c.TgZ(0,"h2"),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&e&&(c.xp6(1),c.Oqu(c.lcZ(2,1,"administration.sites.components.transactionAmountsPage.wizardTitle")))}const j=function(e){return{split_sessionEnd:e}},Y=function(){return{showWizardTitle:!1,showFixedButtons:!1,showProgress:!1,showAdditionalButtons:!0,showStepTitle:!1}};let K=class extends a.T2{constructor(e){super(),this.componentLogic=(0,a.Fs)("Administration.UI.Sites.Components.TransactionAmountsPageLogic","",e),this.componentLogic.componentReference=this}set wizard(e){this.componentLogic.wizard=e}set transactionAmountsEditStep(e){this.componentLogic.transactionAmountsEditStep=e}set transactionAmountsDisplayStep(e){this.componentLogic.transactionAmountsDisplayStep=e}set genericInput(e){this.componentLogic.genericInput=e}get genericInput(){return this.componentLogic.genericInput}set genericOutput(e){this.componentLogic&&this.componentLogic.genericOutput&&(this.componentLogic.genericOutput=e)}get genericOutput(){return this.componentLogic.genericOutput}};K.\u0275fac=function(e){return new(e||K)(c.Y36(c.R0b))},K.\u0275cmp=c.Xpm({type:K,selectors:[["icb-transaction-amounts-page"]],viewQuery:function(e,t){if(1&e&&(c.Gf(W,7),c.Gf(G,7),c.Gf(V,7)),2&e){let e;c.iGM(e=c.CRH())&&(t.wizard=e.first),c.iGM(e=c.CRH())&&(t.transactionAmountsEditStep=e.first),c.iGM(e=c.CRH())&&(t.transactionAmountsDisplayStep=e.first)}},inputs:{genericInput:"genericInput"},outputs:{genericOutput:"genericOutput"},features:[c.qOj],decls:23,vars:29,consts:[[1,"amman",3,"ngClass"],[4,"ngIf"],[1,"amman-content"],[3,"initialStep","stepsMode","stepsContentWidth","fullHeight"],["amountsWizard",""],[3,"contentStatus","properties","fullHeight","onWizardStepChanging","onStepForward"],["userSelectionStep",""],[3,"wizardState","listItems","onSuccessLogicExecute","onSearchChanged"],["displayStepContent",""],[3,"type","enabled","textResourceKey","onClick"],["productSelectionStep",""],[3,"wizardState","onSuccessLogicExecute"],["transactionAmountsEditStepContent",""],[3,"type","textResourceKey","onClick"]],template:function(e,t){if(1&e){const e=c.EpF();c.TgZ(0,"div",0),c.TgZ(1,"div"),c.YNc(2,$,3,3,"h2",1),c.qZA(),c.TgZ(3,"div",2),c.TgZ(4,"icb-wizard",3,4),c.TgZ(6,"icb-wizard-step-one-by-one",5,6),c.NdJ("onWizardStepChanging",function(t){return c.CHM(e),c.MAs(10).componentLogic.init(t)})("onStepForward",function(){return c.CHM(e),c.MAs(10).componentLogic.executeLogic()}),c.TgZ(8,"wizard-step-content"),c.TgZ(9,"icb-transaction-amounts-display",7,8),c.NdJ("onSuccessLogicExecute",function(){return c.CHM(e),c.MAs(5).moveNext()})("onSearchChanged",function(e){return t.componentLogic.processSearchTermChanged(e)}),c.qZA(),c.qZA(),c.TgZ(11,"wizard-step-additional-buttons"),c.TgZ(12,"icb-button",9),c.NdJ("onClick",function(){return c.CHM(e),c.MAs(10).componentLogic.executeLogic()}),c.qZA(),c.qZA(),c.qZA(),c.TgZ(13,"icb-wizard-step-one-by-one",5,10),c.NdJ("onWizardStepChanging",function(n){return c.CHM(e),c.MAs(20).componentLogic.init(n),t.componentLogic.removeFiltersFromListItems()})("onStepForward",function(){c.CHM(e);const t=c.MAs(20),n=c.MAs(5);return t.componentLogic.executeLogic(),n.shutdownLoadingSteps()}),c.TgZ(15,"wizard-step-title"),c._uU(16),c.ALo(17,"translate"),c.qZA(),c.TgZ(18,"wizard-step-content"),c.TgZ(19,"icb-transaction-amounts-edit",11,12),c.NdJ("onSuccessLogicExecute",function(){return t.componentLogic.reset()}),c.qZA(),c.qZA(),c.TgZ(21,"wizard-step-additional-buttons"),c.TgZ(22,"icb-button",13),c.NdJ("onClick",function(){return t.componentLogic.reset()}),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.qZA()}if(2&e){const e=c.MAs(10),n=c.MAs(20);c.Q6J("ngClass",c.VKq(26,j,t.componentLogic._isLeavingPage)),c.xp6(1),c.Gre("amman-header ",t.componentLogic.showPageTitle()?"amman-hasTitle":"",""),c.xp6(1),c.Q6J("ngIf",t.componentLogic.showPageTitle()),c.xp6(2),c.Q6J("initialStep",1)("stepsMode","oneByOne")("stepsContentWidth",1e3)("fullHeight",!0),c.xp6(2),c.Q6J("contentStatus",e.componentLogic.contentStatus)("properties",c.DdM(28,Y))("fullHeight",!0),c.xp6(3),c.Q6J("wizardState",t.componentLogic.wizardState)("listItems",t.componentLogic.listItems),c.xp6(3),c.Q6J("type","filled")("enabled",e.componentLogic.contentStatus.isValid)("textResourceKey","administration.sites.components.transactionAmountsPage.editButtonText"),c.xp6(1),c.Q6J("contentStatus",n.componentLogic.contentStatus)("properties",n.componentLogic.stepProperties)("fullHeight",!0),c.xp6(3),c.hij(" ",c.lcZ(17,24,"administration.sites.components.transactionAmountsPage.editStepTitle")," "),c.xp6(3),c.Q6J("wizardState",t.componentLogic.wizardState),c.xp6(3),c.Q6J("type","unfilled")("textResourceKey","common.components.singleTransfer.cancelButtonText")}},styles:['.split_sessionEnd[_ngcontent-%COMP%]{display:none}.gonda[_ngcontent-%COMP%]   .gonda-row[_ngcontent-%COMP%]{font-size:14px;width:100%;display:table;padding:10px 0;border-bottom:1px solid #e1e1e1}.gonda[_ngcontent-%COMP%]   .gonda-row.gonda-list-header[_ngcontent-%COMP%]{font-size:12px;border:none;color:#666;padding:0;min-height:28px}.gonda[_ngcontent-%COMP%]   .gonda-row.gonda-list-header[_ngcontent-%COMP%]   .gonda-column[_ngcontent-%COMP%]{vertical-align:middle}.gonda[_ngcontent-%COMP%]   .gonda-row[_ngcontent-%COMP%]   .gonda-column[_ngcontent-%COMP%]{display:table-cell}.gonda[_ngcontent-%COMP%]   .gonda-row[_ngcontent-%COMP%]   .gonda-label-column-text[_ngcontent-%COMP%]{display:none;color:#8a8a8a;font-size:12px}.gonda[_ngcontent-%COMP%]   .gonda-row[_ngcontent-%COMP%]   .gonda-label-column-text[_ngcontent-%COMP%]:after{content:": ";padding-right:6px}.gonda[_ngcontent-%COMP%]   .gonda-row[_ngcontent-%COMP%]   .gonda-label-column-value[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle;color:#333}.gonda[_ngcontent-%COMP%]   .gonda-row[_ngcontent-%COMP%]   .gonda-label-column[_ngcontent-%COMP%]{width:30%;padding-left:16px}.gonda[_ngcontent-%COMP%]   .gonda-row[_ngcontent-%COMP%]   .gonda-amount-column[_ngcontent-%COMP%]{width:30%;text-align:right}@media screen and (max-width: 1023px) and (min-width: 768px){.gonda[_ngcontent-%COMP%]   .gonda-row[_ngcontent-%COMP%]   .gonda-amount-column[_ngcontent-%COMP%]{width:40%}}@media screen and (max-width: 767px) and (min-width: 641px){.gonda[_ngcontent-%COMP%]   .gonda-row[_ngcontent-%COMP%]{display:block}.gonda[_ngcontent-%COMP%]   .gonda-row.gonda-list-header[_ngcontent-%COMP%]{min-height:0}.gonda[_ngcontent-%COMP%]   .gonda-row.gonda-list-header[_ngcontent-%COMP%]   .gonda-column[_ngcontent-%COMP%]{display:none}.gonda[_ngcontent-%COMP%]   .gonda-row[_ngcontent-%COMP%]   .gonda-column[_ngcontent-%COMP%]{display:block;width:auto;text-align:left;padding-left:16px}.gonda[_ngcontent-%COMP%]   .gonda-row[_ngcontent-%COMP%]   .gonda-column.gonda-description-column[_ngcontent-%COMP%]{display:none}.gonda[_ngcontent-%COMP%]   .gonda-row[_ngcontent-%COMP%]   .gonda-column[_ngcontent-%COMP%]   .gonda-label-column-text[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle}.gonda[_ngcontent-%COMP%]   .gonda-row[_ngcontent-%COMP%]   .gonda-amount-column[_ngcontent-%COMP%]{width:auto}}@media screen and (max-width: 640px) and (min-width: 320px){.gonda[_ngcontent-%COMP%]   .gonda-row[_ngcontent-%COMP%]{display:block}.gonda[_ngcontent-%COMP%]   .gonda-row.gonda-list-header[_ngcontent-%COMP%]{min-height:0}.gonda[_ngcontent-%COMP%]   .gonda-row.gonda-list-header[_ngcontent-%COMP%]   .gonda-column[_ngcontent-%COMP%]{display:none}.gonda[_ngcontent-%COMP%]   .gonda-row[_ngcontent-%COMP%]   .gonda-column[_ngcontent-%COMP%]{display:block;width:auto;text-align:left;padding-left:16px}.gonda[_ngcontent-%COMP%]   .gonda-row[_ngcontent-%COMP%]   .gonda-column.gonda-description-column[_ngcontent-%COMP%]{display:none}.gonda[_ngcontent-%COMP%]   .gonda-row[_ngcontent-%COMP%]   .gonda-column[_ngcontent-%COMP%]   .gonda-label-column-text[_ngcontent-%COMP%]{display:block}.gonda[_ngcontent-%COMP%]   .gonda-row[_ngcontent-%COMP%]   .gonda-amount-column[_ngcontent-%COMP%]{width:auto;padding-top:8px}}']}),K=(0,s.gn)([(0,a.Jq)("Administration.UI.Sites.Components.TransactionAmountsPage")],K),K.retain={};const X=[{path:"___empty",component:l.HYy,pathMatch:"full"},{path:"sitePermissionsConfigurationPage",component:u,children:[...l.xrV,{path:"___userUtilities",loadChildren:()=>Promise.all([n.e(898),n.e(7949),n.e(6152),n.e(2594),n.e(5857),n.e(8592),n.e(770)]).then(n.bind(n,85857)).then(e=>e.AdministrationUsersModule)},{path:"___inbox",loadChildren:()=>Promise.all([n.e(3294),n.e(8592)]).then(n.bind(n,43294)).then(e=>e.MessagingModule)},{path:"___administrationSitesPermissionsConfiguration___customFilter",loadChildren:()=>Promise.all([n.e(898),n.e(7949),n.e(6152),n.e(2594),n.e(5857),n.e(8592),n.e(770)]).then(n.bind(n,85857)).then(e=>e.AdministrationUsersModule)},{path:"___customFilter",loadChildren:()=>Promise.resolve().then(n.bind(n,77797)).then(e=>e.AuthorizationModule)},{path:"___customFilterHeader",component:N},{path:"___filterHeader",component:l.HYy},{path:"___approvalProcessor",loadChildren:()=>Promise.all([n.e(898),n.e(8675),n.e(7900),n.e(1097),n.e(7417),n.e(4598),n.e(5451),n.e(1040),n.e(7312),n.e(268),n.e(7949),n.e(3567),n.e(6152),n.e(1662),n.e(2594),n.e(928),n.e(9548),n.e(281),n.e(1042),n.e(4105),n.e(3061),n.e(6837),n.e(3703),n.e(8522),n.e(5554),n.e(8373),n.e(4426),n.e(1938),n.e(5283),n.e(8118),n.e(5145),n.e(8829),n.e(4682),n.e(771),n.e(8592),n.e(1362)]).then(n.bind(n,40771)).then(e=>e.ApprovalSchemeModule)}]},{path:"siteTransactionAmounts",component:K,canActivate:[a._n],children:[...l.xrV,{path:"___userUtilities",loadChildren:()=>Promise.all([n.e(898),n.e(7949),n.e(6152),n.e(2594),n.e(5857),n.e(8592),n.e(770)]).then(n.bind(n,85857)).then(e=>e.AdministrationUsersModule)},{path:"___inbox",loadChildren:()=>Promise.all([n.e(3294),n.e(8592)]).then(n.bind(n,43294)).then(e=>e.MessagingModule)},{path:"___approvalProcessor",loadChildren:()=>Promise.all([n.e(898),n.e(8675),n.e(7900),n.e(1097),n.e(7417),n.e(4598),n.e(5451),n.e(1040),n.e(7312),n.e(268),n.e(7949),n.e(3567),n.e(6152),n.e(1662),n.e(2594),n.e(928),n.e(9548),n.e(281),n.e(1042),n.e(4105),n.e(3061),n.e(6837),n.e(3703),n.e(8522),n.e(5554),n.e(8373),n.e(4426),n.e(1938),n.e(5283),n.e(8118),n.e(5145),n.e(8829),n.e(4682),n.e(771),n.e(8592),n.e(1362)]).then(n.bind(n,40771)).then(e=>e.ApprovalSchemeModule)},{path:"___operationApprovalDisclaimer",loadChildren:()=>Promise.all([n.e(898),n.e(8675),n.e(7900),n.e(1097),n.e(7417),n.e(4598),n.e(5451),n.e(1040),n.e(7312),n.e(268),n.e(7949),n.e(3567),n.e(6152),n.e(1662),n.e(2594),n.e(928),n.e(9548),n.e(281),n.e(1042),n.e(4105),n.e(3061),n.e(6837),n.e(3703),n.e(8522),n.e(5554),n.e(8373),n.e(4426),n.e(1938),n.e(5283),n.e(8118),n.e(5145),n.e(8829),n.e(4682),n.e(771),n.e(8592),n.e(1362)]).then(n.bind(n,40771)).then(e=>e.ApprovalSchemeModule)}]},{path:"sitePermissions",component:Z,canActivate:[a._n],children:[...l.xrV,{path:"___userUtilities",loadChildren:()=>Promise.all([n.e(898),n.e(7949),n.e(6152),n.e(2594),n.e(5857),n.e(8592),n.e(770)]).then(n.bind(n,85857)).then(e=>e.AdministrationUsersModule)},{path:"___inbox",loadChildren:()=>Promise.all([n.e(3294),n.e(8592)]).then(n.bind(n,43294)).then(e=>e.MessagingModule)},{path:"___administrationSitesPermissionsConfiguration___customFilter",loadChildren:()=>Promise.all([n.e(898),n.e(7949),n.e(6152),n.e(2594),n.e(5857),n.e(8592),n.e(770)]).then(n.bind(n,85857)).then(e=>e.AdministrationUsersModule)},{path:"___customFilter",loadChildren:()=>Promise.resolve().then(n.bind(n,77797)).then(e=>e.AuthorizationModule)},{path:"___customFilterHeader",component:N},{path:"___operationApprovalDisclaimer",loadChildren:()=>Promise.all([n.e(898),n.e(8675),n.e(7900),n.e(1097),n.e(7417),n.e(4598),n.e(5451),n.e(1040),n.e(7312),n.e(268),n.e(7949),n.e(3567),n.e(6152),n.e(1662),n.e(2594),n.e(928),n.e(9548),n.e(281),n.e(1042),n.e(4105),n.e(3061),n.e(6837),n.e(3703),n.e(8522),n.e(5554),n.e(8373),n.e(4426),n.e(1938),n.e(5283),n.e(8118),n.e(5145),n.e(8829),n.e(4682),n.e(771),n.e(8592),n.e(1362)]).then(n.bind(n,40771)).then(e=>e.A
1pprovalSchemeModule)},{path:"___filterHeader",component:l.HYy}]}],ee=i.Bz.forChild([{path:"___empty",component:l.HYy,pathMatch:"full"}]),te=i.Bz.forChild(X);let ne=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=c.oAB({type:e}),e.\u0275inj=c.cJS({imports:[[ee],i.Bz]}),e})(),oe=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=c.oAB({type:e}),e.\u0275inj=c.cJS({imports:[[te],i.Bz]}),e})();ne.retain={},oe.retain={};var ie=n(62482);let se=class extends a.C1{constructor(){super(),this.contentStatus=(0,a.Fs)("Common.Components.Wizard.Classes.StepContentStatus"),this.onSuccessLogicExecute=new c.vpe,this.stepProperties=this.initializeStepProperties()}executeLogic(){}init(e){}initializeStepProperties(){const e=(0,a.Fs)("Common.Components.Wizard.Classes.WizardStepProperties");return e.showRealHeader=!0,e.showBack=!0,e.showAdditionalButtons=!0,e.backPosition="stepTitle",e.showProgress=!0,e.showWizardTitle=!1,e.headerDisplayMode="transferMode",e.showCancelButton=!0,e}};se=(0,s.gn)([(0,a.Jq)("Administration.UI.Sites.Components.BasePermissionsConfigurationStepLogic")],se),se.retain={};var ae=n(57970);let ce=class{};ce.UserSelectionStep=0,ce.ProductSelectionStep=1,ce.FeatureSelectionStep=2,ce.ConfirmPermissionsStep=3,ce.SelectionStateFilter_All_Id="selectionStateFilter_all",ce.SelectionStateFilter_NotSelected_Id="selectionStateFilter_unselected",ce.SelectionStateFilter_Selected_Id="selectionStateFilter_selected",ce.UserSelectionUserTypeFilter_All_Id="userSelectionUserTypeFilter_all",ce.UserSelectionUserTypeFilter_Generic_Id="userSelectionUserTypeFilter_{0}",ce.ProductSelectionProductTypeFilter_All_Id="productSelectionProductTypeFilter_all",ce.ProductSelectionProductTypeFilter_Generic_Id="productSelectionProductTypeFilter_{0}",ce=(0,s.gn)([(0,ae.Jq)("Administration.UI.Sites.Classes.PermissionConfigurationConstants")],ce),ce.retain={};let le=class extends se{constructor(){super(),this.redirectDelay=a.XL.AppSettings.modalPopup.closeDelay,this.usersService=this.getDependency("Administration.UI.Users.Services.Users"),this.contentStatus=(0,a.Fs)("Common.Components.Wizard.Classes.StepContentStatus"),this.contentStatus.isValid=!0,this.onSuccessLogicExecute=new c.vpe,this.stepProperties=this.initializeStepProperties(),this.setupListActionConfiguration()}setupListActionConfiguration(){this.listActionConfiguration=(0,a.Fs)("Common.Components.List.Classes.ListActionConfiguration",""),this.listActionConfiguration.showMessageGeneric=!0,this.listActionConfiguration.messageGenericOptions=(0,a.Fs)("Common.Components.MessageGeneric.Classes.MessageGenericOptions",""),this.listActionConfiguration.messageGenericOptions.messageType="Disclaimer",this.listActionConfiguration.messageGenericOptions.messageMode="Information",this.listActionConfiguration.messageGenericOptions.size="small",this.listActionConfiguration.messageGenericOptions.showBorder=!0,this.listActionConfiguration.messageGenericOptions.showIcon=!0;const e=this.localization.translate("administration.sites.components.featureSelectionStep.administrativeFeaturesInfo",[this.localization.translate("administration.sites.components.permissionsConfigurationPage.replaceExistingPermissions",[])]);this.listActionConfiguration.messageGenericOptions.title=e,this.listActionConfiguration.messageGenericOptions.messageResourceKey=e}executeLogic(){if(this.serviceCalled)this.routerHelper.navigateByUrl("/sitePermissions");else{this.contentStatus.nextButtonState=l.BNj.loading;const e=this.generateServiceInput();this.approvalProcessor.componentLogic.executeMethod(this.executeBatchUpdateUsersPermissions.bind(this),e),this.serviceCalled=!0}}executeBatchUpdateUsersPermissions(e){return this.usersService.batchUpdateUsersPermissions(e)}init(e){e.targetStepIndex===ce.ConfirmPermissionsStep?(this.wizardRef||(this.wizardRef=e.sender.wizard),this.wizardRef.shutdownLoadingSteps(),this.stepProperties=this.initializeStepProperties(),this.channelColumnWidth=100/this.sitePermissionsWizardState.availableChannels.length,this.sitePermissionsWizardState.selectedFeatures.sort((e,t)=>e.featureName.localeCompare(t.featureName,void 0,{sensitivity:"base"})),this.sitePermissionsWizardState.selectedUsers.sort((e,t)=>
1e.userName.localeCompare(t.userName,void 0,{sensitivity:"base"})),this.sitePermissionsWizardState.selectedProducts.sort((e,t)=>e.productTypeName.localeCompare(t.productTypeName,void 0,{sensitivity:"base"})),this.userListItems=this.sitePermissionsWizardState.selectedUsers.map(e=>e.clone(!1)),this.featureListItems=this.sitePermissionsWizardState.selectedFeatures.map(e=>e.clone(!1)),this.productTypeListItems=this.sitePermissionsWizardState.selectedFeatures.some(e=>e.appliesToProducts)?this.sitePermissionsWizardState.selectedProducts.map(e=>e.clone(!1)):[],this.stepIsActive=!0):this.stepIsActive=!1}permissionsUpdated(e){this.contentStatus.isLoading=!1,this.wizardRef.shutdownLoadingSteps(),this.updateStepProperties(e),(e.operationResult===l.J_Q.success||e.operationResult===ie.X5.operationPending)&&this.addTimeout("permissionUpdate",setTimeout(()=>{this.routerHelper.navigateTo(r.YE.sitePermissions)},this.redirectDelay))}approvalCancel(){this.contentStatus.nextButtonState=l.BNj.idle,this.wizardRef.shutdownLoadingSteps(),this.serviceCalled=!1}onValidatingDevices(e){this.wizardRef.shutdownLoadingSteps()}updateStepProperties(e){switch(this.stepProperties=this.initializeStepProperties(),this.contentStatus.nextButtonState=l.BNj.actionCompleted,this.stepProperties.showBack=!1,this.stepProperties.showAdditionalButtons=!1,this.stepProperties.showCancelButton=!1,this.stepProperties.showBottomMessage=!0,this.stepProperties.bottomMessageOptions=(0,a.Fs)("Common.Components.MessageGeneric.Classes.MessageGenericOptions"),this.stepProperties.bottomMessageOptions.title=`administration.sites.components.confirmPermissionsStep.resultMessage.${e.operationResult.value}`,this.stepProperties.bottomMessageOptions.messageResourceKey=`administration.sites.components.confirmPermissionsStep.resultMessage.${e.operationResult.value}`,this.stepProperties.bottomMessageOptions.messageType="Disclaimer",e.operationResult){case l.J_Q.success:this.stepProperties.bottomMessageOptions.messageMode="Success";break;case ie.X5.operationPending:this.stepProperties.bottomMessageOptions.messageMode="Warning";break;default:this.stepProperties.bottomMessageOptions.messageMode="Error",this.stepProperties.showCancelButton=!0,this.contentStatus.nextButtonState=l.BNj.idle}this.stepProperties.bottomMessageOptions.showBorder=!0,this.stepProperties.bottomMessageOptions.showIcon=!0}generateServiceInput(){const e=(0,a.Fs)("Administration.UI.Users.MethodParameters.BatchUpdateUsersPermissionsIn");return e.replaceExistingPermissions=this.sitePermissionsWizardState.replaceExistingPermissions,e.userIds=this.sitePermissionsWizardState.getSelectedUsersIds(),e.productIds=this.sitePermissionsWizardState.getSelectedProductIds(),e.featuresWithChannels=this.sitePermissionsWizardState.getSelectedFeaturesWithChannels(),e}getProductTypeIcon(e){return l.Whk.getProductIconByType(e.value)}approvalProcessorLoaded(e){this.approvalProcessor=e.component,this.addSubscription("_processScheduleSelectorOnMethodExecutedCompleted",this.approvalProcessor.onMethodExecutedCompleted.subscribe(e=>{this.permissionsUpdated(e)})),this.addSubscription("_processScheduleSelectorOnValidatingDevices",this.approvalProcessor.onValidatingDevices.subscribe(e=>{this.onValidatingDevices(e)})),this.addSubscription("_processScheduleSelectorOnMethodExecutedCancel",this.approvalProcessor.onMethodExecutedCancel.subscribe(()=>{this.approvalCancel()}))}};le=(0,s.gn)([(0,a.Jq)("Administration.UI.Sites.Components.ConfirmPermissionsStepLogic")],le),le.retain={};let re=class extends le{constructor(){super()}};function de(e,t){1&e&&c._UZ(0,"icb-message-generic",18),2&e&&c.Q6J("messageMode","Warning")("showBorder",!0)("showIcon",!0)}function pe(e,t){1&e&&c._UZ(0,"icb-message-generic",19),2&e&&c.Q6J("messageMode","Information")("showBorder",!0)("showIcon",!0)}function ge(e,t){if(1&e&&(c.TgZ(0,"icb-listRow",20),c.TgZ(1,"icb-gridRow",21),c.TgZ(2,"grid-title-1"),c._uU(3),c.ALo(4,"translate"),c.qZA(),c.TgZ(5,"grid-title-2"),c._uU(6),c.ALo(7,"translate"),c.qZA(),c.TgZ(8,"grid-title-3"),c._uU(9),c.ALo(10,"translate"),c.qZA(),c.TgZ(11,"grid-title-4"),c._uU(12),c.ALo(13,"translate"),c.qZA(),c.TgZ(14,"grid-content-1"),c._uU(1
15),c.qZA(),c.TgZ(16,"grid-content-2"),c._uU(17),c.qZA(),c.TgZ(18,"grid-content-3"),c._uU(19),c.qZA(),c.TgZ(20,"grid-content-4"),c._uU(21),c.ALo(22,"translate"),c.qZA(),c.qZA(),c.qZA()),2&e){const e=t.$implicit;c.Q6J("selectable",!1)("listItem",e)("hideActions",!0)("rowBehavior","simple")("responsiveBreak",768)("displayMode","sizeSmallMode"),c.xp6(1),c.Q6J("columnsCount",4)("responsiveBreak",768)("showRowLines",!1),c.xp6(2),c.hij(" ",c.lcZ(4,17,"administration.sites.components.userSelectionStep.rowHeaders.userName")," "),c.xp6(3),c.hij(" ",c.lcZ(7,19,"administration.sites.components.userSelectionStep.rowHeaders.name")," "),c.xp6(3),c.hij(" ",c.lcZ(10,21,"administration.sites.components.userSelectionStep.rowHeaders.lastName")," "),c.xp6(3),c.hij(" ",c.lcZ(13,23,"administration.sites.components.userSelectionStep.rowHeaders.userType")," "),c.xp6(3),c.hij(" ",e.userName," "),c.xp6(2),c.hij(" ",e.name," "),c.xp6(2),c.hij(" ",e.lastName," "),c.xp6(2),c.hij(" ",c.lcZ(22,25,"common.entities.userType."+e.userTypeString)," ")}}function me(e,t){if(1&e&&(c.TgZ(0,"icb-listRow",20,28),c.TgZ(2,"div",29),c.TgZ(3,"div"),c._uU(4),c.qZA(),c.TgZ(5,"div",30),c._uU(6),c.qZA(),c.qZA(),c.qZA()),2&e){const e=t.$implicit;c.Q6J("selectable",!1)("listItem",e)("hideActions",!0)("rowBehavior","simple")("responsiveBreak",768)("displayMode","cleanMode"),c.xp6(4),c.Oqu(e.productAlias),c.xp6(2),c.Oqu(e.productNumber)}}function ue(e,t){if(1&e&&(c.TgZ(0,"div",23),c.TgZ(1,"icb-list",24,6),c.YNc(3,me,7,8,"ng-template"),c.TgZ(4,"list-header"),c.TgZ(5,"div",25),c.TgZ(6,"span",26),c._UZ(7,"i"),c.qZA(),c.TgZ(8,"span",27),c._uU(9),c.ALo(10,"translate"),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.qZA()),2&e){const e=c.oxw().$implicit;c.xp6(1),c.Q6J("listItems",e.selectedItems)("showViewSelector",!1)("showRowActions",!1)("showHeader",!0)("mode","Compact"),c.xp6(6),c.Tol(e.iconClass),c.xp6(2),c.Oqu(c.lcZ(10,9,e.productTypeName))}}function he(e,t){if(1&e&&(c.TgZ(0,"icb-listRow",20),c.YNc(1,ue,11,11,"div",22),c.qZA()),2&e){const e=t.$implicit;c.Q6J("selectable",!1)("listItem",e)("hideActions",!0)("rowBehavior","simple")("responsiveBreak",768)("displayMode","cleanMode"),c.xp6(1),c.Q6J("ngIf",!e.shouldHide)}}function Ce(e,t){if(1&e&&(c.TgZ(0,"div",39),c._UZ(1,"icb-value-parser",40),c.ALo(2,"translate"),c.qZA()),2&e){const e=t.$implicit,n=c.oxw(3);c.Udp("width",(null==n.componentLogic?null:n.componentLogic.channelColumnWidth)+"%"),c.xp6(1),c.Q6J("valueToParse",c.lcZ(2,3,"common.entities.channel."+e.value))}}function _e(e,t){1&e&&(c.TgZ(0,"span",41),c._uU(1,"(*)"),c.qZA())}function fe(e,t){1&e&&c._UZ(0,"i",43)}function Me(e,t){if(1&e&&(c.TgZ(0,"div",39),c.YNc(1,fe,1,0,"i",42),c.qZA()),2&e){const e=t.$implicit,n=c.oxw(3);c.Udp("width",(null==n.componentLogic?null:n.componentLogic.channelColumnWidth)+"%"),c.xp6(1),c.Q6J("ngIf",e.isSelected)}}function Pe(e,t){if(1&e&&(c.TgZ(0,"div",45),c.TgZ(1,"span",46),c._UZ(2,"i"),c.qZA(),c.TgZ(3,"span",47),c._uU(4),c.ALo(5,"translate"),c.qZA(),c.qZA()),2&e){const e=t.$implicit,n=c.oxw(4);c.xp6(2),c.Tol(null==n.componentLogic?null:n.componentLogic.getProductTypeIcon(e)),c.xp6(2),c.Oqu(c.lcZ(5,4,"common.entities.productType."+e.value))}}function be(e,t){if(1&e&&(c.TgZ(0,"div"),c.YNc(1,Pe,6,6,"div",44),c.qZA()),2&e){const e=c.oxw().$implicit;c.xp6(1),c.Q6J("ngForOf",e.confirmStepInfoProductTypes)}}function Oe(e,t){1&e&&(c.TgZ(0,"div",45),c.TgZ(1,"span",46),c._UZ(2,"i",48),c.qZA(),c.TgZ(3,"span",47),c._uU(4),c.ALo(5,"translate"),c.qZA(),c.qZA()),2&e&&(c.xp6(4),c.Oqu(c.lcZ(5,1,"administration.sites.components.confirmPermissionsStep.featureInfo.appliesToUsers")))}function ke(e,t){if(1&e&&(c.TgZ(0,"icb-listRow",31),c.TgZ(1,"icb-gridRow",32),c.TgZ(2,"grid-title-1"),c.TgZ(3,"span"),c._uU(4),c.ALo(5,"translate"),c.qZA(),c.qZA(),c.TgZ(6,"grid-title-2"),c.YNc(7,Ce,3,5,"div",17),c.qZA(),c.TgZ(8,"grid-content-1"),c.TgZ(9,"span"),c._uU(10),c.qZA(),c.YNc(11,_e,2,0,"span",33),c.qZA(),c.TgZ(12,"grid-content-2",16),c.YNc(13,Me,2,3,"div",17),c.qZA(),c.TgZ(14,"grid-content-3"),c.TgZ(15,"icb-contextual-info",34),c.TgZ(16,"div",35),c._uU(17),c.ALo(18,"translate"),c.qZA(),c.TgZ(19,"content"),c.TgZ(20,"div",36),c.YNc(21,be,2,1,"div",37),c.YNc(22,Oe,6,3,"div",38),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.qZA()),2&e){const e=t.$implicit,n=c.oxw(2);c.Q6J("listItem",e)("hideActions",!0)("rowBehavior","simple")("responsiveBreak",768)("displayMode","sizeMediumMode"),c.xp6(1),c.Q6J("columnsCount",3)("responsiveBreak",768)("showRowLines",!1)("alignContent3","superRight")("displayMode","confirmPermissionsStepMode"),c.xp6(3),c.Oqu(c.lcZ(5,27,"administration.sites.components.featureSelectionStep.feature")),c.xp6(3),c.Q6J("ngForOf",n.sitePermissionsWizardState.availableChannels),c.xp6(3),c.Oqu(e.featureName),c.xp6(1),c.Q6J("ngIf",e.isAdministrative()),c.xp6(2),c.Q6J("ngForOf",e.channels),c.xp6(2),c.Q6J("trackSelectedIndicator",!0)("loading",!1)("useMode","contextualPanel")("useTransparentBackgroun
1d",!0)("displayMode","preregisteredMode")("closeOnBlur",!0)("showTitle",!1)("theme","dark")("pointerRightOffset",24),c.xp6(2),c.hij(" ",c.lcZ(18,29,"administration.sites.components.confirmPermissionsStep.featureInfo.title")," "),c.xp6(4),c.Q6J("ngIf",e.appliesToProducts),c.xp6(1),c.Q6J("ngIf",e.appliesToUsers)}}function Se(e,t){if(1&e&&(c.TgZ(0,"div",39),c._UZ(1,"icb-value-parser",40),c.ALo(2,"translate"),c.qZA()),2&e){const e=t.$implicit,n=c.oxw(2);c.Udp("width",(null==n.componentLogic?null:n.componentLogic.channelColumnWidth)+"%"),c.xp6(1),c.Q6J("valueToParse",c.lcZ(2,3,"common.entities.channel."+e.value))}}function xe(e,t){if(1&e&&(c.TgZ(0,"div",2),c.YNc(1,de,1,3,"icb-message-generic",3),c.YNc(2,pe,1,3,"icb-message-generic",4),c.TgZ(3,"icb-list",5,6),c.YNc(5,ge,23,27,"ng-template"),c.TgZ(6,"list-header"),c.TgZ(7,"div",7),c._uU(8),c.ALo(9,"translate"),c.qZA(),c.TgZ(10,"div",8),c.TgZ(11,"icb-gridRow",9),c.TgZ(12,"grid-content-1"),c._uU(13),c.ALo(14,"translate"),c.qZA(),c.TgZ(15,"grid-content-2"),c._uU(16),c.ALo(17,"translate"),c.qZA(),c.TgZ(18,"grid-content-3"),c._uU(19),c.ALo(20,"translate"),c.qZA(),c.TgZ(21,"grid-content-4"),c._uU(22),c.ALo(23,"translate"),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.TgZ(24,"icb-list",10,6),c.YNc(26,he,2,7,"ng-template"),c.TgZ(27,"list-empty-placeholder"),c._UZ(28,"icb-empty-message",11),c.qZA(),c.TgZ(29,"list-header"),c.TgZ(30,"div",12),c._uU(31),c.ALo(32,"translate"),c.qZA(),c.qZA(),c.qZA(),c.TgZ(33,"icb-list",13,6),c.YNc(35,ke,23,31,"ng-template"),c.TgZ(36,"list-empty-placeholder",14),c._UZ(37,"icb-empty-message",15),c.qZA(),c.TgZ(38,"list-header"),c.TgZ(39,"div",7),c._uU(40),c.ALo(41,"translate"),c.qZA(),c.TgZ(42,"icb-gridRow",9),c.TgZ(43,"grid-content-1"),c._uU(44),c.ALo(45,"translate"),c.qZA(),c.TgZ(46,"grid-content-2",16),c.YNc(47,Se,3,5,"div",17),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.qZA()),2&e){const e=c.oxw();c.xp6(1),c.Q6J("ngIf",null==e.sitePermissionsWizardState?null:e.sitePermissionsWizardState.replaceExistingPermissions),c.xp6(1),c.Q6J("ngIf",!(null!=e.sitePermissionsWizardState&&e.sitePermissionsWizardState.replaceExistingPermissions)),c.xp6(1),c.Q6J("listItems",null==e.componentLogic?null:e.componentLogic.userListItems)("showHeader",!0)("showColumns",!0)("showRowActions",!1)("mode","Compact")("headerLinePosition","header")("displayMode","confirmPermissionsStepMode firstList"),c.xp6(5),c.hij(" ",c.lcZ(9,37,"administration.sites.components.confirmPermissionsStep.userListTitle")," "),c.xp6(3),c.Q6J("isHeaderRow",!0)("columnsCount",4)("responsiveBreak",768),c.xp6(2),c.hij(" ",c.lcZ(14,39,"administration.sites.components.userSelectionStep.rowHeaders.userName")," "),c.xp6(3),c.hij(" ",c.lcZ(17,41,"administration.sites.components.userSelectionStep.rowHeaders.name")," "),c.xp6(3),c.hij(" ",c.lcZ(20,43,"administration.sites.components.userSelectionStep.rowHeaders.lastName")," "),c.xp6(3),c.hij(" ",c.lcZ(23,45,"administration.sites.components.userSelectionStep.rowHeaders.userType")," "),c.xp6(2),c.Q6J("listItems",null==e.componentLogic?null:e.componentLogic.productTypeListItems)("showHeader",!0)("showRowActions",!1)("mode","Compact")("headerLinePosition","header")("displayMode","confirmPermissionsStepMode secondList"),c.xp6(7),c.hij(" ",c.lcZ(32,47,"administration.sites.components.confirmPermissionsStep.productsListTitle")," "),c.xp6(2),c.Q6J("listItems",null==e.componentLogic?null:e.componentLogic.featureListItems)("listActionConfig",null==e.componentLogic?null:e.componentLogic.listActionConfiguration)("showHeader",!0)("showColumns",!0)("mode","Compact")("headerLinePosition","header")("displayMode","confirmPermissionsStepMode thirdList"),c.xp6(7),c.Oqu(c.lcZ(41,49,"administration.sites.components.confirmPermissionsStep.featuresListTitle")),c.xp6(2),c.Q6J("isHeaderRow",!0)("columnsCount",3)("responsiveBreak",768),c.xp6(2),c.hij(" ",c.lcZ(45,51,"administration.sites.components.featureSelectionStep.feature")," "),c.xp6(3),c.Q6J("ngForOf",e.sitePermissionsWizardState.availableChannels)}}re=(0,s.gn)([(0,a.Jq)("Administration.UI.Sites.Components.ConfirmPermissionsStepLogic")],re),re.retain={};let we=class extends a.H6{constructor(){super(),this.componentLogic=(0,a.Fs)("Administration.UI.Sites.Components.ConfirmPermissionsStepLogic"),this.componentLogic.componentReference=this}set contentStatus(e){this.componentLogic.contentStatus=e}get contentStatus(){return this.componentLogic.contentStatus}set stepIsActive(e){this.componentLogic.stepIsActive=e}get stepIsActive(){return this.componentLogic.stepIsActive}set stepProperties(e){this.componentLogic.stepProperties=e}get stepProperties(){return this.componentLogic.stepProperties}executeLogic(){this.componentLogic.executeLogic()}init(e){this.componentLogic.init(e)}set sitePermissionsWizardState(e){this.componentLogic.sitePermissionsWizardState=e}get sitePermissionsWizardState(){return this.componentLogic.sitePermissionsWizardState}set displayMode(e){this.componentLogic.displayMode=e}get displayMode(){return this.componentLogic.displayMode}set genericInput(e){this.componentLogic.genericInput=e}get genericInput(){return this.componentLogic.genericInput}set onSuccessLogicExecute(e){this.componentLogic.onSuccessLogicExecute=e}get onSuccessLogicExecute(){return this.componentLogic.onSuccessLogicExecute}set genericOutput(e){this.componentLogic&&this.componentLogic.genericOutput&&(this.componentLogic.genericOutput=e)}get genericOutput(){return this.componentLogic.genericOutput}};we.\u0275fac=function(e){return new(e||we)},we.\u0275cmp=c.Xpm({type:we,selectors:[["icb-confirm-permissions-step"]],inputs:{sitePermissionsWizardState:"sitePermissionsWizardState",displayMode:"displayMode",genericInput:"genericInput"},outputs:{onSuccessLogicExecute:"onSuccessLogicExecute",genericOutput:"genericOutput"},features:[c.qOj],decls:2,vars:3,consts:[["class","tala",4,"ngIf"],[3,"module","moduleUrlSegment","onComponentLoaded"],[1,"tala"],["messageType","Disclaimer","size","small","title","administration.sites.components.permissionsConfigurationPage.permissionsReplace","messageResourceKey","administration.sites.components.permissionsConfigurationPage.permissionsReplace",3,"messageMode","showBorder","showIcon",4,"ngIf"],["messageType","Disclaimer","size","small","title","administration.sites.components.permissionsConfigurationPage.permissionsMerge","messageResourceKey","administration.sites.components.permissionsConfigurationPage.permissionsMerge",3,"messageMode","showBorder","showIcon",4,"ngIf"],["searchMode","None",3,"listItems","showHeader","showColumns","showRowActions","mode","headerLinePosition","displayMode"],["list",""],[1,"tala-main-title"],[1,"tala-row","tala-row-header","tala-no-border"],[3,"isHeaderRow","columnsCount","responsiveBreak"],[3,"listItems","showHeader","showRowActions","mode","headerLinePosition","displayMode"],["message","administration.sites.components.c
1onfirmPermissionsStep.noProductsSelected"],[1,"tala-main-title","tala-extra-bottom"],[3,"listItems","listActionConfig","showHeader","showColumns","mode","headerLinePosition","displayMode"],[1,"florida_wrapper_loader_default"],["message","administration.sites.components.userSelectionStep.noDataInList"],[1,"padua-grid-td-content-group"],["class","tala-checkbox-column",3,"width",4,"ngFor","ngForOf"],["messageType","Disclaimer","size","small","title","administration.sites.components.permissionsConfigurationPage.permissionsReplace","messageResourceKey","administration.sites.components.permissionsConfigurationPage.permissionsReplace",3,"messageMode","showBorder","showIcon"],["messageType","Disclaimer","size","small","title","administration.sites.components.permissionsConfigurationPage.permissionsMerge","messageResourceKey","administration.sites.components.permissionsConfigurationPage.permissionsMerge",3,"messageMode","showBorder","showIcon"],[3,"selectable","listItem","hideActions","rowBehavior","responsiveBreak","displayMode"],[3,"columnsCount","responsiveBreak","showRowLines"],["class","list-row",4,"ngIf"],[1,"list-row"],[3,"listItems","showViewSelector","showRowActions","showHeader","mode"],[1,"tala-row","tala-product-header"],[1,"blackpool-link-icon-left","fl"],[1,"blackpool-link-text","fl"],["listRow",""],[1,"tala-row","tala-product-content"],[1,"tala-cell-subtitle"],[3,"listItem","hideActions","rowBehavior","responsiveBreak","displayMode"],[3,"columnsCount","responsiveBreak","showRowLines","alignContent3","displayMode"],["class","tala-administrative-feature",4,"ngIf"],["width","200","height","150","pointerLocation","topRight",3,"trackSelectedIndicator","loading","useMode","useTransparentBackground","displayMode","closeOnBlur","showTitle","theme","pointerRightOffset"],["header","",1,"tala-contextual-info-title"],[1,"tala-contextual-info-rows"],[4,"ngIf"],["class","tala-row-slim",4,"ngIf"],[1,"tala-checkbox-column"],[3,"valueToParse"],[1,"tala-administrative-feature"],["class","stream-check-12 enabled-icon",4,"ngIf"],[1,"stream-check-12","enabled-icon"],["class","tala-row-slim",4,"ngFor","ngForOf"],[1,"tala-row-slim"],[1,"tala-product-type-icon-slim"],[1,"tala-product-type-text-slim"],[1,"stream-person-2"]],template:function(e,t){1&e&&(c.YNc(0,xe,48,53,"div",0),c.TgZ(1,"icb-dynamic-loader",1),c.NdJ("onComponentLoaded",function(e){return null==t.componentLogic?null:t.componentLogic.approvalProcessorLoaded(e)}),c.qZA()),2&e&&(c.Q6J("ngIf",null==t.componentLogic?null:t.componentLogic.stepIsActive),c.xp6(1),c.Q6J("module","ApprovalScheme.UI.ApprovalScheme.Components.ApprovalProcessor")("moduleUrlSegment","___approvalProcessor"))},styles:['.blackpool[_ngcontent-%COMP%]{padding:0}.blackpool.withoutShadow[_ngcontent-%COMP%]   .blackpool-panel[_ngcontent-%COMP%]{box-shadow:none!important}.blackpool[_ngcontent-%COMP%]   .blackpool-panel[_ngcontent-%COMP%]{border-radius:0;border:0;box-shadow:0 0 4px 1px rgba(0,0,0,.05)!important}.blackpool-link[_ngcontent-%COMP%]{display:inline-block;text-decoration:none!important;padding:14px 45px 7px 10px;width:100%;cursor:pointer}.blackpool-link[_ngcontent-%COMP%]:link, .blackpool-link[_ngcontent-%COMP%]:visited, .blackpool-link[_ngcontent-%COMP%]:hover, .blackpool-link[_ngcontent-%COMP%]:active{text-decoration:none!important}.blackpool-link[_ngcontent-%COMP%]:hover   i[_ngcontent-%COMP%]{text-decoration:none!important}.blackpool-link[_ngcontent-%COMP%]:hover   span[_ngcontent-%COMP%]{text-decoration:none!important}.blackpool-link-text[_ngcontent-%COMP%]{font-family:"dinMedium";color:#333;font-size:16px;margin-top:3px}.blackpool-link-count[_ngcontent-%COMP%]{color:#999;font-size:14px;margin-top:5px;margin-left:5px;font-family:"dinRegular"}.blackpool-link-count[_ngcontent-%COMP%]:after{content:")";margin-left:-2px}.blackpool-link-count[_ngcontent-%COMP%]:before{content:"(";margin-right:-2px}.blackpool-link-icon-left[_ngcontent-%COMP%]{margin-right:10px}.blackpool-link-icon-left[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{color:#ec0000;font-size:24px}.blackpool-link-data[_ngcontent-%COMP%]{text-align:right;overflow:hidden;width:16%;padding-right:10px;display:inline-block}.blackpool-link-data-title[_ngcontent-%COMP%]{display:inline-block;vertical-align:top;color:#8a8a8a;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:"dinRegular"}.blackpool-link-data-value[_ngcontent-%COMP%]{display:inline-block;vertical-align:top;font-family:"dinMedium";color:#ec0000;font-size:14px;line-height:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.blackpool-link-data-break[_ngcontent-%COMP%]{display:block}.blackpool-link-data-value.value[_ngcontent-%COMP%]{color:#333}.blackpool-panel-heading[_ngcontent-%COMP%]{padding:0;border-radius:0;background:#f8f8f8;border-bottom:1px solid #d1d1d1;animation:blackpool-panel-reverse .25s ease}.blackpool-panel-heading.darkMode[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-link-left-text[_ngcontent-%COMP%], .blackpool-panel-heading.darkMode[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-link-left-value[_ngcontent-%COMP%]{font-family:"dinMedium"}.blackpool-panel-heading[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]{display:table}.blackpool-panel-heading[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-item-header-left[_ngcontent-%COMP%]{width:40%;display:table-cell;vertical-align:top}.blackpool-panel-heading[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-item-header-right[_ngcontent-%COMP%]{width:60%;display:table-cell;vertical-align:top}.blackpool-panel-heading[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-link-selector[_ngcontent-%COMP%]{display:inline}.blackpool-panel-heading[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-link-selector[_ngcontent-%COMP%] + .blackpool-link-icon[_ngcontent-%COMP%]{margin-left:0}.blackpool-panel-heading[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-link-icon[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle;margin-left:10px;margin-right:6px}.blackpool-panel-heading[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-link-icon[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{color:#ec0000;font-size:24px}.blackpool-panel-heading[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-link-icon.asset[_ngcontent-%COMP%], .blackpool-panel-heading[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-link-icon.passive[_ngcontent-%COMP%]{vertical-align:top}.blackpool-panel-heading[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-link-icon.asset[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{color:#00a756;font-size:16px}.blackpool-panel-heading[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-link-icon.passive[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{color:#ec0000;font-size:16px}.blackpool-panel-heading[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-link-left-text[_ngcontent-%COMP%], .blackpool-panel-heading[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-link-left-value[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle;font-family:"dinRegular";color:#333;font-size:16px;margin-top:-2px;margin-left:0}.blackpool-panel-heading[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link.asset[_ngcontent-%COMP%]   .blackpool-link-left-value[_ngcontent-%COMP%]{color:#00a756}.blackpool-panel-heading[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link.passive[_ngcontent-%COMP%]   .blackpool-link-left-value[_ngcontent-%COMP%]{color:#ec0000}.blackpool-panel-heading[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-link-right-text[_ngcontent-%COMP%], .blackpool-panel-heading[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-link-right-value[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle;font-family:"dinRegular";font-size:14px;color:#999;margin-top:0;margin-left:0}.blackpool-panel-heading[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-link-right-text[_ngcontent-%COMP%]:after, .blackpool-panel-heading[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-link-right-value[_ngcontent-%COMP%]:after{content:")";margin-left:-2px}.blackpool-panel-heading[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-link-right-text[_ngcontent-%COMP%]:before, .blackpool-panel-heading[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-link-right-value[_ngcontent-%COMP%]:before{content:"(";margin-right:-2px}.blackpool-panel-heading[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link.asset[_ngcontent-%COMP%]   .blackpool-link-right-value[_ngcontent-%COMP%]{color:#00a756}.blackpool-panel-heading[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link.passive[_ngcontent-%COMP%]   .blackpool-link-right-value[_ngcontent-%COMP%]{color:#ec0000}.blackpool-panel-heading[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-panel-title-indicator[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle;margin-top:0;margin-left:3px}.blackpool-panel-heading.success[_ngcontent-%COMP%]{background:#e6fff3}.blackpool-panel-heading.warning[_ngcontent-%COMP%]{background:#fef6d1}.blackpool-panel-heading.error[_ngcontent-%COMP%]{background:#fce3e4}.blackpool-panel-heading.info[_ngcontent-%COMP%]{background:#edf8f9}.blackpool-panel-heading.configurationByScopeMode[_ngcontent-%COMP%]{padding-left:45px;padding-bottom:2px;background:#fff;animation:none}.blackpool-panel-heading.configurationByScopeMode.configurationRowAccordionHeaderMode[_ngcontent-%COMP%]:hover{background:#f2f2f2!important}.blackpool-panel-heading.configurationByScopeMode.configurationRowAccordionHeaderMode.warning[_ngcontent-%COMP%]:hover{background:#fdec9f!important}.blackpool-panel-heading.configurationByScopeMode.configurationRowAccordionHeaderMode.success[_ngcontent-%COMP%]:hover{background:#b3ffdb!important}.blackpool-panel-heading.configurationByScopeMode.configurationRowAccordionHeaderMode.error[_ngcontent-%COMP%]:hover{background:#f7b5b8!important}.blackpool-panel-heading.configurationByScopeMode.configurationRowAccordionHeaderMode.info[_ngcontent-%COMP%]:hover{background:#c7e9ec!important}.blackpool-panel-heading.configurationByScopeMode[_ngcontent-%COMP%]:not(.active){border-bottom:none}.blackpool-panel-heading.configurationByScopeMode[_ngcontent-%COMP%]:hover{background:#fff!important;animation:none}.blackpool-panel-heading.configurationByScopeMode.withMessage[_ngcontent-%COMP%]{background:#fef6d1!important}.blackpool-panel-heading.configurationByScopeMode.withMessage[_ngcontent-%COMP%]   .blackpool-link[_ngcontent-%COMP%]{position:relative}.blackpool-panel-heading.configurationByScopeMode[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link[_ngcontent-%COMP%]{padding-top:10px;padding-bottom:12px}.blackpool-panel-heading.configurationByScopeMode[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link[_ngcontent-%COMP%]   .blackpool-link-left-text[_ngcontent-%COMP%]{font-size:14px}.blackpool-panel-heading.configurationByScopeMode[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link[_ngcontent-%COMP%]   .blackpool-panel-title-indicator[_ngcontent-%COMP%]{font-size:10px}.blackpool-panel-heading.amountConfigurationMode[_ngcontent-%COMP%]{padding-left:14px;padding-bottom:2px;border-bottom:1px solid #e1e1e1;background:#fff;animation:none}.blackpool-panel-heading.amountConfigurationMode[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link[_ngcontent-%COMP%]{padding-bottom:10px}.blackpool-panel-heading.amountConfigurationMode[_ngcontent-%COMP%]:hover{background:#fff!important;animation:none}.blackpool-panel-heading.amountConfigurationMode.withMessage[_ngcontent-%COMP%]{background:#fef6d1!important}.blackpool-panel-heading.amountConfigurationMode.withMessage[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link[_ngcontent-%COMP%]{position:relative;padding-top:8px;padding-bottom:6px;padding-right:6px}.blackpool-panel-heading.amountConfigurationMode.withMessage[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link[_ngcontent-%COMP%]   .blackpool-item-header-left[_ngcontent-%COMP%], .blackpool-panel-heading.amountConfigurationMode.withMessage[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link[_ngcontent-%COMP%]   .blackpool-item-header-right[_ngcontent-%COMP%]{vertical-align:middle!important}.blackpool-panel-heading.amountConfigurationMode.withMessage.withActions[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link[_ngcontent-%COMP%]{padding-right:90px}.blackpool-panel-heading.amountConfigurationMode[_ngcontent-%COMP%]:not(.withMessage)   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link[_ngcontent-%COMP%]   .blackpool-item-header-left[_ngcontent-%COMP%]{width:auto}.blackpool-panel-heading.amountConfigurationMode[_ngcontent-%COMP%]:not(.withMessage)   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link[_ngcontent-%COMP%]   .blackpool-item-header-right[_ngcontent-%COMP%]{display:none}.blackpool-panel-heading.amountConfigurationMode[_ngcontent-%COMP%]:not(.withMessage).withActions   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link[_ngcontent-%COMP%]   .blackpool-item-header-left[_ngcontent-%COMP%]{padding-right:90px}.blackpool-panel-heading[_ngcontent-%COMP%]:hover{background:#f2f2f2!important;animation:blackpool-panel-animated .25s ease}.blackpool-body[_ngcontent-%COMP%]{padding:0!important;background:#fff}.blackpool-panel-title[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0;line-height:1}.blackpool-panel-title-indicator[_ngcontent-%COMP%]{color:#ec0000!important;text-decoration:none;font-size:11px;margin-left:6px;font-weight:bold;margin-top:7px}.blackpool-link-data.no-show[_ngcontent-%COMP%]{opacity:1;animation:blackpool-link-data-reverse .2s ease}.blackpool-link-data.no-show[_ngcontent-%COMP%]{opacity:0;animation:blackpool-link-data-animated .2s ease}.blackpool-panel-collapse[_ngcontent-%COMP%]{max-height:0;overflow:hidden;transition:max-height .6s ease}.blackpool-panel-collapse.amountConfigurationMode[_ngcontent-%COMP%]   .panel-body[_ngcontent-%COMP%]{background:#f8f8f8;padding-top:10px!important;border-top:none!important}.blackpool-panel-collapse.collapse-show[_ngcontent-%COMP%]{max-height:900px;overflow:hidden;transition:max-height .6s ease-in}.blackpool-panel-title-indicator[_ngcontent-%COMP%]{t
1ransform:rotate(0);animation:blackpool-indicator-reverse .1s ease}.blackpool-link.active[_ngcontent-%COMP%]   .blackpool-panel-title-indicator[_ngcontent-%COMP%]{transform:rotate(90deg);animation:blackpool-indicator-animation .1s ease}.blackpool-title-clearboth[_ngcontent-%COMP%]{clear:both;display:block;display:none}@keyframes blackpool-panel-animated{0%{background:#f8f8f8!important}to{background:#f2f2f2!important}}@keyframes blackpool-panel-reverse{0%{background:#f2f2f2!important}to{background:#f8f8f8!important}}@keyframes blackpool-link-data-animated{0%{opacity:1}to{opacity:0}}@keyframes blackpool-link-data-reverse{0%{opacity:0}to{opacity:1}}@keyframes blackpool-indicator-reverse{0%{transform:rotate(90deg)}to{transform:rotate(0)}}@keyframes blackpool-indicator-animation{0%{transform:rotate(0)}to{transform:rotate(90deg)}}@media screen and (max-width: 1365px) and (min-width: 1024px){.blackpool-panel-heading.myProductsGroupedMode.active[_ngcontent-%COMP%]{border-bottom:none}}@media screen and (max-width: 1200px) and (min-width: 1024px){.blackpool-link-data[_ngcontent-%COMP%]{overflow:hidden;max-width:20%}.blackpool-link-data-title[_ngcontent-%COMP%]{max-width:110px}.blackpool-link[_ngcontent-%COMP%]{padding-right:5%}}@media screen and (max-width: 1365px) and (min-width: 320px){.blackpool-panel-heading.myProductsGroupedMode[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-item-header-left[_ngcontent-%COMP%], .blackpool-panel-heading.myProductsGroupedMode[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-item-header-right[_ngcontent-%COMP%]{width:auto;display:block}.blackpool-item-header-after[_ngcontent-%COMP%]{clear:both;display:block}.blackpool-link-data[_ngcontent-%COMP%]{margin-top:8px;margin-bottom:4px}}@media screen and (max-width: 1023px) and (min-width: 768px){.blackpool-title-clearboth[_ngcontent-%COMP%]{margin-bottom:20px}.blackpool-link-data[_ngcontent-%COMP%]{margin-left:2%;overflow:hidden}.blackpool-title-clearboth.clear-2item[_ngcontent-%COMP%]{margin-bottom:12px}.blackpool-link-data-title[_ngcontent-%COMP%]{width:100%}}@media screen and (max-width: 767px) and (min-width: 320px){.blackpool-link[_ngcontent-%COMP%]{padding-right:10px}.blackpool-title-clearboth[_ngcontent-%COMP%]{margin-bottom:0}.blackpool-link-data[_ngcontent-%COMP%]{margin-left:4%;overflow:hidden}.blackpool-title-clearboth.clear-2item[_ngcontent-%COMP%]{margin-bottom:10px}.blackpool-link-data-title[_ngcontent-%COMP%]{width:100%}.blackpool[_ngcontent-%COMP%]{padding-left:0;padding-right:0}.blackpool[_ngcontent-%COMP%]   .blackpool-panel[_ngcontent-%COMP%]{box-shadow:none!important}.blackpool-panel-heading.amountConfigurationMode.withMessage[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link[_ngcontent-%COMP%]   .blackpool-item-header-left[_ngcontent-%COMP%], .blackpool-panel-heading.amountConfigurationMode.withMessage[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link[_ngcontent-%COMP%]   .blackpool-item-header-right[_ngcontent-%COMP%]{display:block;width:auto}.blackpool-panel-heading.amountConfigurationMode.withMessage[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link[_ngcontent-%COMP%]   .blackpool-item-header-right[_ngcontent-%COMP%]{margin-top:3px;margin-left:-6px}.blackpool-panel-collapse.amountConfigurationMode[_ngcontent-%COMP%]   .panel-body[_ngcontent-%COMP%]{padding-top:0!important}.blackpool-panel-collapse.myProductsGroupedMode.collapse-show[_ngcontent-%COMP%]{border-bottom:1px solid #ccc}}.blackpool-link[_ngcontent-%COMP%]{padding-left:0}.blackpool-link-icon-left[_ngcontent-%COMP%]{margin-right:10px;margin-left:10px}.blackpool-link-data[_ngcontent-%COMP%]:nth-child(5), .blackpool-link-data[_ngcontent-%COMP%]:nth-child(6){display:none}.blackpool-link-data[_ngcontent-%COMP%]:nth-child(4){width:25%;text-align:right;margin-left:0;padding-right:10px}.blackpool-link-data[_ngcontent-%COMP%]:nth-child(3){width:25%;text-align:right;margin-left:0;padding-right:25px}.blackpool-link-data[_ngcontent-%COMP%]:nth-child(2){width:25%;text-align:right;margin-left:0;padding-right:10px}.blackpool-link-data[_ngcontent-%COMP%]:nth-child(1){width:25%;text-align:right;margin-left:0;padding-right:25px}@media screen and (max-width: 1365px) and (min-width: 768px){.blackpool-link-data[_ngcontent-%COMP%]:nth-child(4){padding-right:10px}.blackpool-link-data[_ngcontent-%COMP%]:nth-child(3){padding-right:15px}.blackpool-link-data[_ngcontent-%COMP%]:nth-child(2){padding-right:10px}.blackpool-link-data[_ngcontent-%COMP%]:nth-child(1){padding-right:15px}}@media screen and (max-width: 767px) and (min-width: 320px){.blackpool-link[_ngcontent-%COMP%]{padding-right:0}.blackpool-link-data[_ngcontent-%COMP%]:nth-child(4){width:50%;padding-right:0}.blackpool-link-data[_ngcontent-%COMP%]:nth-child(3){width:50%;padding-right:10px}.blackpool-link-data[_ngcontent-%COMP%]:nth-child(2){width:50%;padding-right:0}.blackpool-link-data[_ngcontent-%COMP%]:nth-child(1){width:50%;padding-right:10px}.blackpool-link-data-title[_ngcontent-%COMP%]{color:#333}}.backoffice   [_nghost-%COMP%]   .blackpool-panel-title-indicator[_ngcontent-%COMP%]{color:#666!important}.backoffice   [_nghost-%COMP%]   .blackpool-panel-heading.configurationByScopeMode[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-item-header-left[_ngcontent-%COMP%]   .blackpool-link-left-text[_ngcontent-%COMP%]{font-size:13px}.backoffice   [_nghost-%COMP%]   .requestDefinitions[_ngcontent-%COMP%] + .blackpool-panel-collapse.collapse-show[_ngcontent-%COMP%]{max-height:3000px!important}.backoffice   [_nghost-%COMP%]   .blackpool-panel-heading.configurationByScopeMode[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-item-header-left[_ngcontent-%COMP%]   .blackpool-link-left-text[_ngcontent-%COMP%]{font-family:Verdana,Arial,Helvetica,sans-serif}.backoffice   [_nghost-%COMP%]   .blackpool-panel-heading[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-link-left-text[_ngcontent-%COMP%]{font-family:Verdana,Arial,Helvetica,sans-serif!important;font-size:14px!important}.backoffice   [_nghost-%COMP%]   .blackpool-panel-collapse.amountConfigurationMode[_ngcontent-%COMP%]   .panel-body[_ngcontent-%COMP%]{padding-top:0!important}.backoffice   [_nghost-%COMP%]   .blackpool.recordGeneratorAccordionCurrencyMode[_ngcontent-%COMP%]{margin:0 -30px}.blackpool-link-count[_ngcontent-%COMP%]{font-family:"Santander Text"}.blackpool-link-data-title[_ngcontent-%COMP%]{font-family:"Santander Text"}.blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-link-left-text[_ngcontent-%COMP%], .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-link-left-value[_ngcontent-%COMP%]{font-family:"Santander Text"}.blackpool-panel-heading.darkMode[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-link-left-text[_ngcontent-%COMP%], .blackpool-panel-heading.darkMode[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-link-left-value[_ngcontent-%COMP%]{font-family:"Santander Text SemiBold"}.blackpool-panel-heading[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-link-right-text[_ngcontent-%COMP%], .blackpool-panel-heading[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-link-right-value[_ngcontent-%COMP%]{font-family:"Santander Text"}.blackpool-link-text[_ngcontent-%COMP%]{font-family:"Santander Text SemiBold"}.tala[_ngcontent-%COMP%]{width:100%;height:100%}.tala[_ngcontent-%COMP%]   .tala-main-title[_ngcontent-%COMP%]{padding:20px 14px 10px;font-size:16px;color:#ec0000}.tala[_ngcontent-%COMP%]   .tala-main-title.tala-extra-bottom[_ngcontent-%COMP%]{padding-bottom:10px}.tala[_ngcontent-%COMP%]   .tala-checkbox-column[_ngcontent-%COMP%]{display:inline-block;text-align:center;min-width:3%}.tala[_ngcontent-%COMP%]   .tala-row[_ngcontent-%COMP%]{font-size:14px;border:1px solid transparent;border-bottom:1px solid #e1e1e1;display:table;padding:10px 0;vertical-align:middle;width:100%;table-layout:fixed}.tala[_ngcontent-%COMP%]   .tala-row.tala-row-header[_ngcontent-%COMP%]{table-layout:fixed;padding:0;font-size:12px;min-height:30px;border-bottom:none}.tala[_ngcontent-%COMP%]   .tala-row.tala-product-content[_ngcontent-%COMP%]{padding:3px 14px}.tala[_ngcontent-%COMP%]   .tala-row[_ngcontent-%COMP%]   .tala-cell-subtitle[_ngcontent-%COMP%]{font-size:12px}.tala[_ngcontent-%COMP%]   .tala-administrative-feature[_ngcontent-%COMP%]{padding-left:10px;font-weight:bold;color:#e2061c}.tala[_ngcontent-%COMP%]   .tala-row-slim[_ngcontent-%COMP%]{font-size:12px;vertical-align:middle;text-align:left}.tala-row-title[_ngcontent-%COMP%]{display:none;color:#666;font-size:12px}.tala-row-title[_ngcontent-%COMP%]:after{content:":";padding-right:3px}.tala-product-type-icon-slim[_ngcontent-%COMP%]{padding-right:3px}@media only screen and (max-width: 767px) and (min-width: 320px){.tala[_ngcontent-%COMP%]   .tala-row.tala-row-header[_ngcontent-%COMP%]:not(.important-tr){min-height:0!important}.tala[_ngcontent-%COMP%]   .tala-row.tala-row-header[_ngcontent-%COMP%]   .tala-column-25[_ngcontent-%COMP%], .tala[_ngcontent-%COMP%]   .tala-row.tala-row-header[_ngcontent-%COMP%]   .tala-row-selector-column[_ngcontent-%COMP%]{display:none}.tala[_ngcontent-%COMP%]   .tala-row[_ngcontent-%COMP%]:not(.tala-row-header)   .tala-column-25[_ngcontent-%COMP%]{display:block;width:auto;padding:0 14px}.tala[_ngcontent-%COMP%]   .tala-row[_ngcontent-%COMP%]:not(.tala-row-header)   .tala-column-25[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle}.tala[_ngcontent-%COMP%]   .tala-row[_ngcontent-%COMP%]:not(.tala-row-header)   .tala-row-selector-column[_ngcontent-%COMP%]{position:absolute}.tala[_ngcontent-%COMP%]   .tala-checkbox-column[_ngcontent-%COMP%]{display:block;width:auto!important;text-align:left;padding-bottom:3px}.tala[_ngcontent-%COMP%]   .padua-grid-td-content-group[_ngcontent-%COMP%]{display:inline-block;vertical-align:top}}']}
1),we=(0,s.gn)([(0,a.Jq)("Administration.UI.Sites.Components.ConfirmPermissionsStep")],we),we.retain={};var Le=n(94021),ye=n(91007);let Ae=class extends ye.H{constructor(){super(),this._channels=[],this._productTypes=[]}static mapFromSiteFeature(e,t,n){const o=(0,a.Fs)("Administration.UI.Sites.Classes.FeatureListItem");return o.featureName=n.translate(`authorization.entities.feature.${e.siteFeature.feature.value}`,[]),o.siteFeature=e.siteFeature,o.channels=t.map(t=>{const n=(0,a.Fs)("Administration.UI.Sites.Classes.ChannelPermissionOption");return n.channel=t,n.isAvailable=e.availableChannels.indexOf(t)>=0,n.isSelected=!1,n}),o.showItemSelectionCheck=!0,o.selectable=!0,o.itemSelectionEnabled=!0,o.listItemId=e.siteFeature.feature.value,o}get siteFeature(){return this._siteFeature}set siteFeature(e){this._siteFeature=e}get feature(){if(this.siteFeature)return this.siteFeature.feature}get channels(){return this._channels}set channels(e){this._channels=e}get featureName(){return this._featureName}set featureName(e){this._featureName=e}get productTypes(){return this._productTypes}set productTypes(e){this._productTypes=e}get appliesToUsers(){return this._appliesToUsers}set appliesToUsers(e){this._appliesToUsers=e}get appliesToProducts(){return this._appliesToProducts}set appliesToProducts(e){this._appliesToProducts=e}get isDisabled(){return this._isDisabled}set isDisabled(e){this._isDisabled=e,this.itemSelectionEnabled=!e}get confirmStepInfoProductTypes(){return this._confirmStepInfoProductTypes}set confirmStepInfoProductTypes(e){this._confirmStepInfoProductTypes=e}checkChannel(e,t){this.isDisabled||t.isAvailable&&(t.isSelected=e)}hasSomeChannelsSelected(){return this.channels.some(e=>e.isSelected)}hasAllChannelsSelected(){return this.channels.every(e=>e.isSelected||!e.isAvailable)}checkAllChannels(e){this.isDisabled||this.channels.forEach(t=>{t.isAvailable&&(t.isSelected=e)})}uncheckAllChannels(){this.channels.forEach(e=>{e.isSelected=!1})}checkedChannels(){return this.channels.filter(e=>e.isSelected)}isAdministrative(){return this.siteFeature.isAdministration}setAppliesToProductTypes(e){this.confirmStepInfoProductTypes=this.productTypes.intersectWith(e)}clone(e){const t=(0,a.Fs)("Administration.UI.Sites.Classes.FeatureListItem");return t.featureName=this.featureName,t.siteFeature=this.siteFeature,t.channels=this.channels,t.listItemId=this.listItemId,t.productTypes=this.productTypes,t.confirmStepInfoProductTypes=this.confirmStepInfoProductTypes,t.appliesToProducts=this.appliesToProducts,t.appliesToUsers=this.appliesToUsers,t.isDisabled=this.isDisabled,t.showItemSelectionCheck=e,t.selectable=e,t.itemSelectionEnabled=e,t}};Ae=(0,s.gn)([(0,a.Jq)("Administration.UI.Sites.Classes.FeatureListItem")],Ae),Ae.retain={};let ve=class extends se{constructor(){super(),this.baseResourcePath="administration.sites.components.featureSelectionStep",this.checkboxRenderMode=l.vA7.checkBox,this.featureTemplatesOverwriteSelection=a.XL.AppSettings.featureTemplatesOverwriteSelection,this.selectedFilterId=ce.SelectionStateFilter_All_Id,this.sitesServices=this.getDependency("Administration.UI.Sites.Services.SitesService"),this.visibleItems=[],this.featureItems=[],this.availableChannels=[],this.listFilters=[],this.stepProperties.headerDisplayMode="transferMode",this.setupListActionConfiguration()}setupListActionConfiguration(){this.listActionConfiguration=(0,a.Fs)("Common.Components.List.Classes.ListActionConfiguration",""),this.listActionConfiguration.showItemsSelectionCheck=!0,this.listActionConfiguration.showMessageGeneric=!0,this.listActionConfiguration.messageGenericOptions=(0,a.Fs)("Common.Components.MessageGeneric.Classes.MessageGenericOptions",""),this.listActionConfiguration.messageGenericOptions.messageType="Disclaimer",this.listActionConfiguration.messageGenericOptions.messageMode="Information",this.listActionConfiguration.messageGenericOptions.size="small",this.listActionConfiguration.messageGenericOptions.showBorder=!0,this.listActionConfiguration.messageGenericOptions.showIcon=!0;const e=this.localization.translate("administration.sites.components.featureSelectionStep.administrativeFeaturesInfo",[this.localization.translate("administration.sites.components.permissionsConfigurationPage.replaceExistingPermissions",[])]);this.listActionConfiguration.messageGenericOptions.title=e,this.listActionConfiguration.messageGenericOptions.messageResourceKey=e}executeLogic(){this.sitePermissionsWizardState.availableChannels=this.availableChannels,this.sitePermissionsWizardState.selectedFeatures=this.list.componentLogic.getSelectedItems(),this.sitePermissionsWizardState.selectedFeatures.forEac
1h(e=>{e.appliesToProducts&&e.setAppliesToProductTypes(this.sitePermissionsWizardState.getSelectedProductTypes())}),this.onSuccessLogicExecute.emit({})}init(e){if(e.targetStepIndex===ce.FeatureSelectionStep){if(e.sender.wizard.shutdownLoadingSteps(),this.isInitialized)this.searchTerm="",this.selectionStateFilter.reset(),this.selectedFilterId=ce.SelectionStateFilter_All_Id,this.refreshFeatureDisabledStatus(),this.updateVisibleItems();else{const e=(0,a.Fs)("Administration.UI.Sites.MethodParameters.GetSiteFeaturesWithChannelsIn");e.siteId=this.contextInfo.user.site.siteId;const t=this.sitesServices.getSiteFeaturesWithChannels(e);this.addSubscription("fetchAvailableFeatures",t.subscribe(this.processFeaturesResponse.bind(this))),this.initializeListFilters(),this.isInitialized=!0}this.featureStepActive=!0}else this.featureStepActive=!1}clean(){this.featureItems.forEach(e=>e.checkAllChannels(!1)),this.list.componentLogic.changeSelectionAllItems(!1),this.contentStatus.isValid=!1}processFeaturesResponse(e){e.features.forEach(e=>{a.io.isNotNullOrEmpty(e.availableChannels)&&e.availableChannels.forEach(e=>{this.availableChannels.indexOf(e)<0&&this.availableChannels.push(e)},this)},this),this.availableChannels.sort((e,t)=>t.key-e.key),this.channelColumnWidth=100/this.availableChannels.length,this.featureItems=e.features.map(e=>Ae.mapFromSiteFeature(e,this.availableChannels,this.localization),this),this.visibleItems=[].concat(this.featureItems);const t=(0,a.Fs)("Administration.UI.Sites.MethodParameters.GetSiteFeaturesByProductTypesIn"),n=this.sitesServices.siteFeaturesByProductType(t);this.addSubscription("getFeaturesByProductType",n.subscribe(this.processFeaturesByProductType.bind(this)))}processFeaturesByProductType(e){const t=new Le.X;e.siteFeaturesByProductType.keys().forEach(n=>{const o=e.siteFeaturesByProductType.get(n);a.io.isNotNullOrEmpty(o)&&o.forEach(e=>{t.hasKey(e)||t.add(e,[]),t.get(e).find(e=>e===n)||t.get(e).push(n)})}),this.featureItems.forEach(e=>{const n=t.keys().find(t=>t.feature===e.feature);n?(e.productTypes=t.get(n),e.appliesToProducts=!0):(e.productTypes=[],e.appliesToUsers=!0)}),this.refreshFeatureDisabledStatus()}processSearchTermChanged(e){this.searchTerm=e.searchTerm,this.updateVisibleItems()}initializeListFilters(){this.listFilters=[],this.initializeFilterBySelectionState(),this.listFilters.push(this.selectionStateFilter)}initializeFilterBySelectionState(){const e=(0,a.Fs)("Common.Entities.ActionItem");e.id=ce.SelectionStateFilter_All_Id,e.text=`${this.baseResourcePath}.filters.showAll`,e.isEnabled=!0,e.callback=this.showAllFeatures.bind(this);const t=(0,a.Fs)("Common.Entities.ActionItem");t.id=ce.SelectionStateFilter_NotSelected_Id,t.text=`${this.baseResourcePath}.filters.showNotSelected`,t.isEnabled=!0,t.callback=this.showNotSelectedFeatures.bind(this);const n=(0,a.Fs)("Common.Entities.ActionItem");n.id=ce.SelectionStateFilter_Selected_Id,n.text=`${this.baseResourcePath}.filters.showSelected`,n.isEnabled=!0,n.callback=this.showSelectedFeatures.bind(this);const o=(0,a.Fs)("Common.Components.Filter.Classes.FilterLevelDefinition","",l.sis.Toggle,[e,t,n],{},ce.SelectionStateFilter_All_Id);this.selectionStateFilter=(0,a.Fs)("Common.Components.Filter.Classes.FilterLevel","",`${this.baseResourcePath}.filters.show`,o)}processFilterChanged(e){e.filterFired.id===this.selectionStateFilter.id&&e.filterFired.selectedChildrenActions[0].callback()}processFeatureChecked(e,t){t&&t.checkAllChannels(e===l.AO2.RowSelected),this.updateContentStatus()}processChannelChecked(e,t,n){const o=t.listItem,i=e.newValue;o.checkChannel(e.newValue,n),!o.selected&&i?(o.selected=!0,this.list.componentLogic.selectItem(o)):!i&&0===o.checkedChannels().length&&(o.selected=!1,this.list.componentLogic.deselectItem(o)),this.updateContentStatus()}selectAllChanged(e){this.visibleItems.forEach(t=>{t.isDisabled||(t.checkAllChannels(e.newValue),t.selected=e.newValue,e.newValue?this.list.componentLogic.selectItem(t):this.list.componentLogic.deselectItem(t))}),this.updateContentStatus()}showAllFeatures(){this.selectedFilterId=ce.SelectionStateFilter_All_Id,this.visibleItems=[].concat(this.featureItems),this.updateSelectAllToggle()}
1showNotSelectedFeatures(){this.selectedFilterId=ce.SelectionStateFilter_Selected_Id,this.updateVisibleItems()}showSelectedFeatures(){this.selectedFilterId=ce.SelectionStateFilter_NotSelected_Id,this.updateVisibleItems()}updateVisibleItems(){switch(this.visibleItems=[].concat(this.featureItems),a.io.isNotNullOrEmpty(this.searchTerm)&&(this.visibleItems=this.visibleItems.filter(e=>e.featureName.containsIgnoreCase(this.searchTerm))),this.selectedFilterId){case ce.SelectionStateFilter_Selected_Id:this.visibleItems=this.featureItems.filter(e=>!e.hasSomeChannelsSelected());break;case ce.SelectionStateFilter_NotSelected_Id:this.visibleItems=this.visibleItems.filter(e=>e.hasSomeChannelsSelected())}this.updateSelectAllToggle()}updateSelectAllToggle(){this.allSelected=a.io.isNotNullOrEmpty(this.visibleItems)&&this.visibleItems.every(e=>e.isDisabled||e.hasSomeChannelsSelected())}featureProfileChanged(e){e!==this.currentFeatureProfile&&(this.currentFeatureProfile=e,this.featureItems.some(e=>e.hasSomeChannelsSelected())&&this.featureTemplatesOverwriteSelection?this.confirmApplyProfileModal.componentLogic.show():this.applyFeatureProfile(e))}applyFeatureProfile(e){this.featureItems.forEach(t=>{if(!t.isDisabled){this.featureTemplatesOverwriteSelection&&(t.selected=!1,t.checkAllChannels(!1),this.list.componentLogic.deselectItem(t));const n=e.channelsByFeature.get(t.feature);a.io.isNotNullOrEmpty(n)&&t.channels.forEach(e=>{n.indexOf(e.channel)>=0&&e.isAvailable&&(t.checkChannel(!0,e),t.selected=!0,this.list.componentLogic.selectItem(t))},this)}},this),this.confirmApplyProfileModal.componentLogic.visible&&(this.confirmApplyProfileModal.componentLogic.enableLoading(),this.confirmApplyProfileModal.setActionCompleted(!0)),this.updateContentStatus()}featureRowTapped(e,t){if(e.target&&"LABEL"!==e.target.tagName){const e=t.listItem;e.checkAllChannels(!e.selected),t.componentLogic.processRowSelected()}}updateContentStatus(){this.contentStatus.isValid=this.list.componentLogic.getSelectedItems().length>0}refreshFeatureDisabledStatus(){const e=this.sitePermissionsWizardState.getSelectedProductTypes();this.featureItems.filter(e=>e.appliesToProducts).forEach(t=>{e.containsAny(t.productTypes)?t.isDisabled=!1:(t.isDisabled=!0,t.selected=!1,t.uncheckAllChannels(),this.sitePermissionsWizardState.selectedFeatures&&this.sitePermissionsWizardState.selectedFeatures.remove(this.sitePermissionsWizardState.selectedFeatures.find(e=>e.feature===t.feature)))})}};ve=(0,s.gn)([(0,a.Jq)("Administration.UI.Sites.Components.FeatureSelectionStepLogic")],ve),ve.retain={};let Ie=class extends ve{constructor(){super()}};Ie=(0,s.gn)([(0,a.Jq)("Administration.UI.Sites.Components.FeatureSelectionStepLogic")],Ie),Ie.retain={};const Te=["confirmApplyProfileModal"],Fe=["list"];function Ze(e,t){1&e&&c._UZ(0,"icb-message-generic",4),2&e&&c.Q6J("messageMode","Warning")("showBorder",!0)("showIcon",!0)}function ze(e,t){if(1&e&&(c.TgZ(0,"div",24),c._UZ(1,"icb-value-parser",25),c.ALo(2,"translate"),c.qZA()),2&e){const e=t.$implicit,n=c.oxw(3);c.Udp("width",(null==n.componentLogic?null:n.componentLogic.channelColumnWidth)+"%"),c.xp6(1),c.Q6J("valueToParse",c.lcZ(2,3,"common.entities.channel."+e.value))}}function qe(e,t){1&e&&(c.TgZ(0,"span",26),c._uU(1,"(*)"),c.qZA())}function Ue(e,t){if(1&e){const e=c.EpF();c.TgZ(0,"icb-toggle",29),c.NdJ("onChange",function(t){c.CHM(e);const n=c.oxw().$implicit;c.oxw();const o=c.MAs(1),i=c.oxw(2);return null==i.componentLogic?null:i.componentLogic.processChannelChecked(t,o,n)}),c.qZA()}if(2&e){const e=c.oxw().$implicit,t=c.oxw(3);c.Q6J("renderingMode",null==t.componentLogic?null:t.componentLogic.checkboxRenderMode)("value",e)("displayMode","toggleCleanMode")}}function Re(e,t){if(1&e&&(c.TgZ(0,"div",24),c.TgZ(1,"div",27),c.YNc(2,Ue,1,3,"icb-toggle",28),c.qZA(),c.qZA()),2&e){const e=t.$implicit,n=c.oxw(3);c.Udp("width",(null==n.componentLogic?null:n.componentLogic.channelColumnWidth)+"%"),c.xp6(2),c.Q6J("ngIf",e.isAvailable)}}const Ee=function(e){return{"tala-disabled":e}};function Be(e,t){if(1&e){const e=c.EpF();c.TgZ(0,"icb-listRow",17,18),c.TgZ(2,"div",19),c.NdJ("tap",function(t){c.CHM(e);const n=c.MAs(1),o=c.oxw(2);return null==o.componentLogic?null:o.componentLogic.featureRowTapped(t,n)}),c.TgZ(3,"icb-gridRow",20),c.TgZ(4,"grid-title-1"),c.TgZ(5,"span"),c._uU(6),c.ALo(7,"translate"),c.qZA(),c.qZA(),c.TgZ(8,"grid-title-2"),c.TgZ(9,"div",21),c.TgZ(10,"div",15),c.YNc(11,ze,3,5,"div",16),c.qZA(),c.qZA(),c.qZA(),c.TgZ(12,"grid-content-1"),c.TgZ(13,"span"),c._uU(14),c.qZA(),c.YNc(15,qe,2,0,"span",22),c.qZA(),c.TgZ(16,"grid-content-2"),c.TgZ(17,"div",23),c.TgZ(18,"div",15),c.YNc(19,Re,3,3,"div",16),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.qZA()}if(2&e){const e=t.$implicit,n=c.oxw(2);c.Q6J("showRowActions",!1)("listItem",e)("selectable",!0)("hideActions",!0)("rowBehavior","select")("responsiveBreak",1024)("displayMode","sizeMediumMode"),c.xp6(2),c.Q6J("ngClass",c.VKq(21,Ee,e.isDisabled)),c.uIk("title",e.isDisabled?"No aplica. ningun producto seleccionado.":""),c.xp6(1),c.Q6J("displayMode","grid2Columns featureSelectionStepMode")("isSelectableRow",!0)("columnsCount",2)("responsiveBreak",1024)("showRowLines",!1),c.xp6(3),c.Oqu(c.lcZ(7,19,"administration.sites.components.featureSelectionStep.feature")),c.xp6(5),c.Q6J("ngForOf",null==n.componentLogic?null:n.componentLogic.availableChannels),c.xp6(3),c.Oqu(e.featureName),c.xp6(1),c.Q6J("ngIf",e.isAdministrative()),c.xp6(4),c.Q6J("ngForOf",e.channels)}}function Ne(e,t){if(1&e&&(c.TgZ(0,"div",24),c._UZ(1,"icb-value-parser",25),c.ALo(2,"translate"),c.qZA()),2&e){const e=t.$implicit,n=c.oxw(2);c.Udp("width",(null==n.componentLogic?null:n.componentLogic.channelColumnWidth)+"%"),c.xp6(1),c.Q6J("valueToParse",c.lcZ(2,3,"common.entities.channel."+e.value))}}function De(e,t){if(1&e){const e=c.EpF();c.TgZ(0,"div",5),c.TgZ(1,"icb-list",6,7),c.NdJ("onInit",function(){c.CHM(e);const t=c.oxw();return null==t.componentLogic?null:t.componentLogic.updateVisibleItems()})("onSearchChanged",function(t){c.CHM(e);const n=c.oxw();return null==n.componentLogic?null:n.componentLogic.processSearchTermChanged(t)})("onFilterChanged",function(t){c.CHM(e);const n=c.oxw();return null==n.componentLogic?null:n.componentLogic.processFilterChanged(t)})("onRowSelected",function(t){c.CHM(e);const n=c.oxw();return null==n.componentLogic?null:n.componentLogic.processFeatureChecked(t.action,t.listItem)}),c.YNc(3,Be,20,23,"ng-template"),c.TgZ(4,"list-empty-placeholder",8),c._UZ(5,"icb-empty-message",9),c.ALo(6,"translate"),c.qZA(),c.TgZ(7,"list-header"),c.TgZ(8,"icb-gridRow",10),c.TgZ(9,"grid-content-1"),c.TgZ(10,"div",11),c.TgZ(11,"icb-toggle",12),c.NdJ("onChange",function(t){c.CHM(e);const n=c.oxw();return null==n.componentLogic?null:n.componentLogic.selectAllChanged(t)}),c.qZA(),c.qZA(),c.TgZ(12,"span",13),c._uU(13),c.ALo(14,"translate"),c.qZA(),c.qZA(),c.TgZ(15,"grid-content-2"),c.TgZ(16,"div",14),c.TgZ(17,"div",15),c.YNc(18,Ne,3,5,"div",16),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.qZA()}if(2&e){const e=c.oxw();c.xp6(1),c.Q6J("listItems",null==e.componentLogic?null:e.componentLogic.visibleItems)("loading",e.loadingList)("listActionConfig",null==e.componentLogic?null:e.componentLogic.listActionConfiguration)("showHeader",!0)("showFilter",!0)("showColumns",!0)("defaultSelectedItems",null==e.sitePermissionsWizardState?null:e.sitePermissionsWizardState.selectedFeatures)("filters",null==e.componentLogic?null:e.componentLogic.listFilters)("mode","Compact")("headerLinePosition","header")("displayMode","featureSelectionStepMode"),c.xp6(4),c.s9C("message",c.lcZ(6,21,"administration.sites.components.featureSelectionStep.noDataInList")),c.xp6(3),c.Q6J("displayMode","grid2Columns featureSelectionStepMode")("isHeaderRow",!0)("columnsCount",2)("responsiveBreak",1024),c.xp6(3),c.Q6J("renderingMode",null==e.componentLogic?null:e.componentLogic.checkboxRenderMode)("value",null==e.componentLogic?null:e.componentLogic.allSelected)("displayMode","toggleCleanMode featureSelectionStepMode"),c.xp6(2),c.Oqu(c.lcZ(14,23,"administration.sites.components.featureSelectionStep.feature")),c.xp6(5),c.Q6J("ngForOf",null==e.componentLogic?null:e.componentLogic.availableChannels)}}let Je=class extends a.H6{constructor(){super(),this.componentLogic=(0,a.Fs)("Administration.UI.Sites.Components.FeatureSelectionStepLogic"),this.componentLogic.componentReference=this}set contentStatus(e){this.componentLogic.contentStatus=e}get contentStatus(){return this.componentLogic.contentStatus}set stepIsActive(e){this.componentLogic.stepIsActive=e}get stepIsActive(){return this.componentLogic.stepIsActive}set stepProperties(e){this.componentLogic.stepProperties=e}get stepProperties(){return this.componentLogic.stepProperties}executeLogic(){this.componentLogic.executeLogic()}init(e){this.componentLogic.init(e)}set sitePermissionsWizardState(e){this.componentLogic.sitePermissionsWizardState=e}get sitePermissionsWizardState(){return this.componentLogic.sitePermissionsWizardState}set displayMode(e){this.componentLogic.displayMode=e}get displayMode(){return this.componentLogic.displayMode}set genericInput(e){this.componentLogic.genericInput=e}get genericInput(){return this.componentLogic.genericInput}set onSuccessLogicExecute(e){this.componentLogic.onSuccessLogicExecute=e}get onSuccessLogicExecute(){return this.componentLogic.onSuccessLogicExecute}set genericOutput(e){this.componentLogic&&this.componentLogic.genericOutput&&(this.componentLogic.genericOutput=e)}get genericOutput(){return this.componentLogic.genericOutput}set confirmApplyProfileModal(e){this.componentLogic.confirmApplyProfileModal=e}set list(e){this.componentLogic.list=e}};Je.\u0275fac=function(e){return new(e||Je)},Je.\u0275cmp=c.Xpm({type:Je,selectors:[["icb-feature-selection-step"]],viewQuery:function(e,t){if(1&e&&(c.Gf(Te,7),c.Gf(Fe,5)),2&e){let e;c.iGM(e=c.CRH())&&(t.confirmApplyProfileModal=e.first),c.iGM(e=c.CRH())&&(t.list=e.first)}},inputs:{sitePermissionsWizardState:"sitePermissionsWizardState",displayMode:"displayMode",genericInput:"genericInput"},outputs:{onSuccessLogicExecute:"onSuccessLogicExecute",genericOutput:"genericOutput"},features:[c.qOj],decls:11,vars:18,consts:[["messageType","Disclaimer","size","small","title","administration.sites.components.permissionsConfigurationPage.permissionsReplace","messageResourceKey","administration.sites.components.permissionsConfigurationPage.permissionsReplace",3,"messageMode","showBorder","showIcon",4,"ngIf"],["class","tala",4,"ngIf"],["size","small",3,"showHeader","heightAuto","title","confirmText","showConfirmButton","cancelText","showCancelButton","onConfirm","onCancel"],["confirmApplyProfileModal",""],["messageType","Disclaimer","size","small","title","administration.sites.components.permissionsConfigurationPage.permissionsReplace","messageResourceKey","administration.sites.components.permissionsConfigurationPage.permissionsReplace",3,"messageMode","showBorder","showIcon"],[1,"tala"],["searchMode","right",3,"listItems","loading","listActionConfig","showHeader","showFilter","showColumns","defaultSelectedItems","filters","mode","headerLinePosition","displayMode","onInit","onSearchChanged","onFilterChanged","onRowSelected"],["list",""],[1,"florida_wrapper_loader_default"],[3,"message"],[3,"displayMode","isHeaderRow","columnsCount","responsiveBreak"],[1,"florida_header_check"],[3,"renderingMode","value","displayMode","onChange"],[1,"florida_header-offset-left"],[1,"tala-column-group","tala-header-group"],[1,"tala-table"],["class","tala-checkbox-column",3,"width",4,"ngFor","ngForOf"],[3,"showRowActions","listItem","selectable","hideActions","rowBehavior","responsiveBreak","displayMode"],["row",""],[3,"ngClass","tap"],[3,"displayMode","isSelectableRow","columnsCount","responsiveBreak","showRowLines"],[1,"tala-responsive-column-group"],["class","tala-administrative-feature",4,"ngIf"],[1,"tala-column-group","tala-content-group"],[1,"tala-checkbox-column"],[3,"valueToParse"],[1,"tala-administrative-feature"],[1,"tala-center-toggle"],["id","channelCheckSelected","name","channelCheckSelected","propertyName","isSelected",3,"renderingMode","enabled","value","displayMode","onChange",4,"ngIf"],["id","channelCheckSelected","name","channelCheckSelected","propertyName","isSelected",3,"renderingMode","enabled","value","displayMode","onChange"]],template:function(e,t){if(1&e){const e=c.EpF();c.YNc(0,Ze,1,3,"icb-message-generic",0),c.YNc(1,De,19,25,"div",1),c.TgZ(2,"icb-modalPopup",2,3),c.NdJ("onConfirm",function(){return null==t.componentLogic?null:t.componentLogic.applyFeatureProfile(null==t.componentLogic?null:t.componentLogic.currentFeatureProfile)})("onCancel",function(){return c.CHM(e),c.MAs(3).close(!0)}),c.ALo(4,"translate"),c.ALo(5,"translate"),c.ALo(6,"translate"),c.TgZ(7,"modal-content"),c.TgZ(8,"span"),c._uU(9),c.ALo(10,"translate"),c.qZA(),c.qZA(),c.qZA()}2&e&&(c.Q6J("ngIf",null==t.sitePermissionsWizardState?null:t.sitePermissionsWizardState.replaceExistingPermissions),c.xp6(1),c.Q6J("ngIf",null==t.componentLogic?null:t.componentLogic.featureStepActive),c.xp6(1),c.s9C("title",c.lcZ(4,10,"administration.sites.components.featureSelectionStep.confirmApplyProfileModal.title")),c.s9C("confirmText",c.lcZ(5,12,"administration.sites.components.featureSelectionStep.confirmApplyProfileModal.confirmButton")),c.s9C("cancelText",c.lcZ(6,14,"administration.sites.components.featureSelectionStep.confirmApplyProfileModal.cancelButton")),c.Q6J("showHeader",!1)("heightAuto",!0)("showConfirmButton",!0)("showCancelButton",!0),c.xp6(7),c.Oqu(c.lcZ(10,16,"administration.sites.components.featureSelectionStep.confirmApplyProfileModal.body")))},styles:[".tala[_ngcontent-%COMP%]{width:100%;height:100%}.tala[_ngcontent-%COMP%]   .tala-checkbox-column[_ngcontent-%COMP%]{text-align:center;min-width:3%}.tala[_ngcontent-%COMP%]   .tala-administrative-feature[_ngcontent-%COMP%]{padding-left:10px;font-weight:bold;color:#e2061c}.tala[_ngcontent-%COMP%]   .tala-disabled[_ngcontent-%COMP%]{cursor:default;pointer-events:none;opacity:.5}.tala[_ngcontent-%COMP%]   .tala-disabled[_ngcontent-%COMP%]:hover{cursor:default;background:#fff;border:1px solid transparent;border-bottom:1px solid #e1e1e1}.tala[_ngcontent-%COMP%]   .tala-column-group[_ngcontent-%COMP%]{display:block;width:100%;text-align:center}.tala[_ngcontent-%COMP%]   .tala-column-group.tala-header-group[_ngcontent-%COMP%]{width:calc(100% - 20px);margin-left:20px}.tala[_ngcontent-%COMP%]   .tala-column-group[_ngcontent-%COMP%]   .tala-table[_ngcontent-%COMP%]{display:inline-block;width:30%}.tala[_ngcontent-%COMP%]   .tala-column-group[_ngcontent-%COMP%]   .tala-table[_ngcontent-%COMP%]   .tala-checkbox-column[_ngcontent-%COMP%]{display:inline-block}.tala-center-toggle[_ngcontent-%COMP%]{display:inline-block;padding-left:10px}.florida_header_check[_ngcontent-%COMP%]{vertical-align:bottom;display:inline-block}.florida_header-offset-left[_ngcontent-%COMP%]{padding-left:6px;vertical-align:bottom;display:inline-block}@media only screen and (max-width: 1023px) and (min-width: 320px){.tala[_ngcontent-%COMP%]   .tala-responsive-column-group[_ngcontent-%COMP%]   .tala-table[_ngcontent-%COMP%]   .tala-checkbox-column[_ngcontent-%COMP%]{width:auto!important;padding-top:3px;text-align:left}.tala[_ngcontent-%COMP%]   .tala-content-group[_ngcontent-%COMP%]{display:inline-block;width:auto;vertical-align:top}.tala[_ngcontent-%COMP%]   .tala-content-group[_ngcontent-%COMP%]   .tala-table[_ngcontent-%COMP%]{width:auto}.tala[_ngcontent-%COMP%]   .tala-content-group[_ngcontent-%COMP%]   .tala-table[_ngcontent-%COMP%]   .tala-checkbox-column[_ngcontent-%COMP%]{width:auto!important;display:block}}"]}),Je=(0,s.gn)([(0,a.Jq)("Administration.UI.Sites.Components.FeatureSelectionStep")],Je),Je.retain={};let He=class extends ye.H{static mapFromProduct(e,t){const n=(0,a.Fs)("Administration.UI.Sites.Classes.SimpleProductListItem");return n.productId=e.productId,n.productNumber=e.productNumber,n.productAlias=e.productAlias,n.product=e,n.selected=t,n.showItemSelectionCheck=!0,n.selectable=!0,n.itemSelectionEnabled=!0,n.listItemId=e.productId.toString(),n}clone(e){const t=(0,a.Fs)("Administration.UI.Sites.Classes.SimpleProductListItem");return t.productId=this.productId,t.productNumber=this.productNumber,t.productAlias=this.productAlias,t.product=this.product,t.selected=this.selected,t.listItemId=this.listItemId,t.showItemSelectionCheck=e
1,t.selectable=e,t.itemSelectionEnabled=e,t}};He=(0,s.gn)([(0,a.Jq)("Administration.UI.Sites.Classes.SimpleProductListItem")],He),He.retain={};var Qe,We=n(7797);let Ge=Qe=class extends ye.H{constructor(e){super(),this.sitesService=e,this.flagVisibleListItemsLoadedFirstTime=!1,this._visibleListItems=[],this._selectedItems=[],this._isExpanded=!1,this._currentSelectionStateFilterId=ce.SelectionStateFilter_All_Id,this._subscriptionManager=(0,a.Fs)("General.Classes.SubscriptionManager"),this.pagingHelper=(0,a.aw)("General.Services.PagingHelper"),this.onVisibleListItemsLoaded=new c.vpe}static mapFromProductTypeSiteInformation(e,t,n,o=!1){const i=new Qe(n);return i.productType=t.productType,i.productTypeName=`common.entities.productType.${t.productType.value}`,i.productCount=t.productCount,i.visibleListItems=[],i.selectedItems=[],i.iconClass=l.Whk.getProductIconByType(t.productType.value),i.siteId=e,a.io.isNotNullOrEmpty(t.products)&&t.products.forEach(e=>{i.visibleListItems.push(He.mapFromProduct(e,!1))}),i.selected=o,i}clone(e){const t=new Qe(this.sitesService);return t.productType=this.productType,t.productTypeName=this.productTypeName,t.productCount=this.productCount,t.visibleListItems=this.visibleListItems.map(t=>t.clone(e)),t.iconClass=this.iconClass,t.siteId=this.siteId,t.selectedItems=this.selectedItems.map(t=>t.clone(e)),t.listItemId=this.listItemId,t}get productType(){return this._productType}set productType(e){this._productType=e}get productTypeName(){return this._productTypeName}set productTypeName(e){this._productTypeName=e}get productCount(){return this._productCount}set productCount(e){this._productCount=e}get visibleListItems(){return this._visibleListItems}set visibleListItems(e){this._visibleListItems=e}get iconClass(){return this._iconClass}set iconClass(e){this._iconClass=e}get shouldShowMoreRows(){return this._shouldShowMoreRows}set shouldShowMoreRows(e){this._shouldShowMoreRows=e}get isExpanded(){return this._isExpanded}set isExpanded(e){this._isExpanded=e}get selectedItems(){return this._selectedItems}set selectedItems(e){this._selectedItems=e}get siteId(){return this._siteId}set siteId(e){this._siteId=e}get searchTerm(){return this._searchTerm}set searchTerm(e){this._searchTerm=e}get currentSelectionStateFilterId(){return this._currentSelectionStateFilterId}set currentSelectionStateFilterId(e){this._currentSelectionStateFilterId=e}get subscriptionManager(){return this._subscriptionManager}set subscriptionManager(e){this._subscriptionManager=e}get loadingList(){return this._loadingList}set loadingList(e){this._loadingList=e}selectAllChanged(e,t){this.selected=e,this.visibleListItems.forEach(n=>{n.selected=e,e?t.componentLogic.selectItem(n):t.componentLogic.deselectItem(n)}),this._hasSelectedProducts=t.componentLogic.getSelectedItems().length>0}resetSelection(){this.selected=!1,this.selectedItems.forEach(e=>e.selected=!1),this.visibleListItems.forEach(e=>e.selected=!1),this._hasSelectedProducts=!1,this.selectedItems=[]}showAllProducts(){this.currentSelectionStateFilterId=ce.SelectionStateFilter_All_Id,this.visibleListItems=[],this.isExpanded?this.getNextItemsPage():this.updateAllSelectedStatus()}showNotSelectedProducts(){this.currentSelectionStateFilterId=ce.SelectionStateFilter_NotSelected_Id,this.visibleListItems=[],this.isExpanded?this.getNextItemsPage():this.updateAllSelectedStatus()}showSelectedProducts(){this.currentSelectionStateFilterId=ce.SelectionStateFilter_Selected_Id,this.visibleListItems=[],this.isExpanded?this.getNextItemsPage():this.updateAllSelectedStatus()}updateSearchTerm(e){this.searchTerm=e,this.isExpanded&&(this.visibleListItems=[],this.getNextItemsPage())}collapsedStatusChanged(e){e.active?(this.isExpanded=!0,a.io.isNullOrEmpty(this.visibleListItems)&&this.getNextItemsPage()):this.isExpanded=!1}processShowMoreRowsClicked(){this.getNextItemsPage()}hasSelectedProducts(){return this._hasSelectedProducts}processRowSelected(e){this.updateAllSelectedStatus(),this._hasSelectedProducts=e.componentLogic.getSelectedItems().length>0,this.selected=!this.visibleListItems.some(e=>!e.selected)}getNextItemsPage(){const e=(0,a.Fs)("Administration.UI.Sites.MethodParameters.GetSiteProductsForPermissionConfigurationIn");
1e.siteid=this.siteId,e.pagingfilter=(0,a.Fs)("PagingAndFiltering.Entities.PagingFilter"),e.pagingfilter.pagingData=(0,a.Fs)("PagingAndFiltering.Entities.PagingInfo"),e.pagingfilter.pagingData.pageSize=this.pagingHelper.getLargePageSize(),e.pagingfilter.pagingData.pageStartIndex=this.visibleListItems.length,e.pagingfilter.predicates=(0,a.Fs)("PagingAndFiltering.Entities.FilterPredicates"),e.pagingfilter.predicates.filters=[];const t=(0,a.Fs)("PagingAndFiltering.Entities.FilterPredicate");if(t.field="productTypesId",t.filterValue=this.productType.key,t.name="productTypesId",t.filterOperator=M.pg.doesContain,e.pagingfilter.predicates.filters.push(t),!a.io.isNullOrEmpty(this._searchTerm)){const t=(0,a.Fs)("PagingAndFiltering.Entities.FilterPredicate");t.field="IntelliSearchPredicate",t.filterValue=this._searchTerm,t.name="IntelliSearchPredicate",t.filterOperator=M.pg.doesContain,e.pagingfilter.predicates.filters.push(t)}if(this.currentSelectionStateFilterId===ce.SelectionStateFilter_NotSelected_Id){const t=(0,a.Fs)("PagingAndFiltering.Entities.FilterPredicate");t.field="excludedIds",t.filterValue=this.selectedItems.map(e=>e.productId).join(","),t.name="excludedIds",t.filterOperator=M.pg.doesContain,e.pagingfilter.predicates.filters.push(t)}if(this.currentSelectionStateFilterId===ce.SelectionStateFilter_Selected_Id){const t=(0,a.Fs)("PagingAndFiltering.Entities.FilterPredicate");t.field="includedIds",t.filterValue=this.selectedItems.map(e=>e.productId).join(","),t.name="includedIds",t.filterOperator=M.pg.doesContain,e.pagingfilter.predicates.filters.push(t)}this.loadingList=!0;const n=this.sitesService.getSiteProductsForPermissionConfiguration(e);this.subscriptionManager.addSubscription("fetchProducts",n.subscribe(this.processGetSiteProductsForPermissionConfiguration.bind(this)))}processGetSiteProductsForPermissionConfiguration(e){this.visibleListItems=this.visibleListItems.concat(e.siteProductsForPermissionConfiguration.map(e=>this.isSelected(e)?this.selectedItems.find(t=>t.productId===e.productId):He.mapFromProduct(e,this.isSelected(e)),this)),this.shouldShowMoreRows=this.visibleListItems.length!==e._ProductsCount,this.updateAllSelectedStatus(),this.loadingList=!1,this.flagVisibleListItemsLoadedFirstTime||(this.flagVisibleListItemsLoadedFirstTime=!0,this.onVisibleListItemsLoaded.emit({}))}isSelected(e){return this.selectedItems.some(t=>t.productId===e.productId)}updateAllSelectedStatus(){this.selected=a.io.isNotNullOrEmpty(this.visibleListItems)&&this.visibleListItems.every(e=>e.selected)}getSelectedProducts(){return this.selectedItems.map(e=>e.product)}deselectProduct(e){this.selectedItems=this.selectedItems.filter(t=>t.productId!==e.productId)}};Ge.\u0275fac=function(e){return new(e||Ge)(c.Y36(We.f))},Ge.\u0275dir=c.lG2({type:Ge,outputs:{onVisibleListItemsLoaded:"onVisibleListItemsLoaded"},features:[c.qOj]}),Ge=Qe=(0,s.gn)([(0,a.Jq)("Administration.UI.Sites.Classes.ProductTypeListItem")],Ge),Ge.retain={};let Ve=class extends se{constructor(){super(),this.baseResourcePath="administration.sites.components.productSelectionStep",this.checkboxRenderMode=l.vA7.checkBox,this.sitesServices=this.getDependency("Administration.UI.Sites.Services.SitesService"),this.productTypeListItems=[],this.visibleListItems=[],this.listFilters=[],this.stepInitialized=!1,this.contentStatus.isValid=!0,this.onSuccessLogicExecute=new c.vpe,this.stepProperties.headerDisplayMode="transferMode"}init(e){if(e.targetStepIndex===ce.ProductSelectionStep){if(this.contentStatus.isLoading=!1,e.sender.wizard.shutdownLoadingSteps(),this.stepInitialized)this.productSelectionStateFilter.reset(),this.productTypeFilter.reset(),this.searchTerm="",this.filterAllProductTypes(),this.showAllProducts(),this.productTypeListItems.forEach(e=>{e.updateSearchTerm("")});else{const e=(0,a.Fs)("Administration.UI.Sites.MethodParameters.GetSiteProductTypesForPermissionConfigurationIn","");e.siteId=this.contextInfo.user.site.siteId;const t=this.sitesServices.getSiteProductTypesForPermissionConfiguration(e);this.addSubscription("getAvailableProductTypes",t.subscribe(this.processGetProductTypesResponse.bind(this))),this.stepInitialized=!0}this.stepIsActive=!0}else this.stepIsActive=!1}processGetProductTypesResponse(e){e.operationResult===l.J_Q.success&&(this.productTypeListItems=[],this.sitePermissionsWizardState.availableProductTypes=[],e.productTypesInformation.forEach((e,t)=>{this.sitePermissionsWizardState.availableProductTypes.push(e.productType),this.productTypeListItems.push(Ge.mapFromProductTypeSiteInformation(this.contextInfo.user.site.siteId,e,this.sitesServices))},this),this.visibleListItems=this.visibleListItems.concat(this.productTypeListItems),this.initializeListFilters())}processFilterChanged(e){(e.filterFired.id===this.productSelectionStateFilter.id||e.filterFired.id===this.productTypeFilter.id)&&e.filterFired.selectedChildrenActions[0].callback()}initializeListFilters(){this.listFilters=[],this.initializeFilterByProductTypes(),this.initializeFilterBySelectionState(),this.listFilters.push(this.productTypeFilter,this.productSelectionStateFilter)}initializeFilterByProductTypes(){const e=[],t=(0,a.Fs)("Common.Entities.ActionItem");t.id=ce.ProductSelectionProductTypeFilter_All_Id,t.text=`${this.baseResourcePath}.filters.productTypeAll`,t.isEnabled=!0,t.icon=[(0,a.Fs)("Common.Entities.Icon","",{className:l.Whk.FILTER_ALL_PRODUCTS},{})],t.callback=(()=>{this.filterAllProductTypes()}
1).bind(this),e.push(t),this.productTypeListItems.forEach(t=>{const n=t.productType,o=(0,a.Fs)("Common.Entities.ActionItem");o.id=ce.ProductSelectionProductTypeFilter_Generic_Id.format([n.key]),o.text=`myProducts.filters.productType.${n.value}`,o.isEnabled=!0,o.icon=[(0,a.Fs)("Common.Entities.Icon","",{className:l.Whk.getProductFilterIconByType(n.value)},{})],o.callback=(()=>{this.filterByProductType(n)}).bind(this),e.push(o)});const n=(0,a.Fs)("Common.Components.Filter.Classes.FilterLevelDefinition","",l.sis.OneColumn,e);n.defaultSelection=ce.ProductSelectionProductTypeFilter_All_Id,this.productTypeFilter=(0,a.Fs)("Common.Components.Filter.Classes.FilterLevel","",`${this.baseResourcePath}.filters.productTypeTitle`,n,!1,!1)}initializeFilterBySelectionState(){const e=(0,a.Fs)("Common.Entities.ActionItem");e.id=ce.SelectionStateFilter_All_Id,e.text=`${this.baseResourcePath}.filters.showAll`,e.isEnabled=!0,e.callback=this.showAllProducts.bind(this);const t=(0,a.Fs)("Common.Entities.ActionItem");t.id=ce.SelectionStateFilter_NotSelected_Id,t.text=`${this.baseResourcePath}.filters.showNotSelected`,t.isEnabled=!0,t.callback=this.showNotSelectedProducts.bind(this);const n=(0,a.Fs)("Common.Entities.ActionItem");n.id=ce.SelectionStateFilter_Selected_Id,n.text=`${this.baseResourcePath}.filters.showSelected`,n.isEnabled=!0,n.callback=this.showSelectedProducts.bind(this);const o=(0,a.Fs)("Common.Components.Filter.Classes.FilterLevelDefinition","",l.sis.Toggle,[e,t,n],{},ce.SelectionStateFilter_All_Id);this.productSelectionStateFilter=(0,a.Fs)("Common.Components.Filter.Classes.FilterLevel","",`${this.baseResourcePath}.filters.show`,o)}showAllProducts(){this.productTypeListItems.forEach(e=>{e.showAllProducts()},this)}showNotSelectedProducts(){this.productTypeListItems.forEach(e=>{e.showNotSelectedProducts()},this)}showSelectedProducts(){this.productTypeListItems.forEach(e=>{e.showSelectedProducts()},this)}filterByProductType(e){this.visibleListItems=this.productTypeListItems.filter(t=>t.productType===e)}filterAllProductTypes(){this.visibleListItems=[],this.visibleListItems=this.visibleListItems.concat(this.productTypeListItems)}executeLogic(){this.sitePermissionsWizardState.selectedProducts=this.productTypeListItems.filter(e=>e.hasSelectedProducts()),this.onSuccessLogicExecute.emit({})}productTypeSelectAllStateChanged(e,t,n){t.visibleListItems&&0!==t.visibleListItems.length?t.selectAllChanged(e.newValue,n):this.addSubscription("selectAllChanged",t.onVisibleListItemsLoaded.subscribe(t.selectAllChanged.bind(t,e.newValue,n)))}processSearchTermChanged(e){this.searchTerm=e.searchTerm,this.productTypeListItems.forEach(t=>{t.updateSearchTerm(e.searchTerm)})}processRowTapped(e,t){e.target&&"checkSelected"!==e.target.htmlFor&&t.componentLogic.processRowSelected()}clean(){this.productTypeListItems.forEach(e=>{e.selectedItems=[],e.resetSelection(),e.selected=!1})}};Ve=(0,s.gn)([(0,a.Jq)("Administration.UI.Sites.Components.ProductSelectionStepLogic")],Ve),Ve.retain={};let $e=class extends Ve{constructor(){super()}processFilterChanged(e){if(e.filterFired.id===this.productSelectionStateFilter.id){const t=e.filterFired.selectedChildrenActions[0];this.accordionGrouped.forEach(e=>e.items.forEach(e=>e.loaded=!1)),t.callback()}else e.filterFired.id===this.productTypeFilter.id&&e.filterFired.selectedChildrenActions[0].callback()}};$e=(0,s.gn)([(0,a.Jq)("Administration.UI.Sites.Components.ProductSelectionStepLogic")],$e),$e.retain={};const je=["productList"],Ye=["accordionGrouped"];function Ke(e,t){1&e&&c._UZ(0,"icb-message-generic",2),2&e&&c.Q6J("messageMode","Warning")("showBorder",!0)("showIcon",!0)}function Xe(e,t){if(1&e){const e=c.EpF();c.TgZ(0,"icb-listRow",20,21),c.TgZ(2,"div",22),c.NdJ("tap",function(t){c.CHM(e);const n=c.MAs(1),o=c.oxw(4);return null==o.componentLogic?null:o.componentLogic.processRowTapped(t,n)}),c.TgZ(3,"div"),c._uU(4),c.qZA(),c.TgZ(5,"div",23),c._uU(6),c.qZA(),c.qZA(),c.qZA()}if(2&e){const e=t.$implicit;c.Q6J("listItem",e)("rowBehavior","select")("responsiveBreak",768)("displayMode","sizeSmallMode"),c.xp6(4),c.Oqu(e.productAlias),c.xp6(2),c.Oqu(e.productNumber)}}function et(e,t){if(1&e){const e=c.EpF();c.TgZ(0,"div",8),c.TgZ(1,"icb-accordion",9,10),c.NdJ("refreshItemValue",function(t){c.CHM(e);const n=c.oxw().$implicit;return n.collapsedStatusChanged(t,n)}),c.TgZ(3,"icb-accordion-item",11,12),c.ALo(5,"translate"),c.TgZ(6,"accordion-item-header-selector",13),c.TgZ(7,"div",14),c.TgZ(8,"icb-toggle",15),c.NdJ("onChange",function(t){c.CHM(e);const n=c.MAs(11),o=c.oxw().$implicit,i=c.oxw(2);return null==i.componentLogic?null:i.componentLogic.productTypeSelectAllStateChanged(t,o,n)}),c.qZA(),c.qZA(),c.qZA(),c.TgZ(9,"accordion-item-body"),c.TgZ(10,"icb-list",16,17),c.NdJ("onRowSelected",function(){c.CHM(e);const t=c.MAs(11);return c.oxw().$implicit.processRowSelected(t)})("onShowMoreRows",function(){return c.CHM(e),c.oxw().$implicit.processShowMoreRowsClicked()}),c.YNc(12,Xe,7,6,"ng-template"),c.TgZ(13,"list-empty-placeholder",18),c._UZ(14,"icb-empty-message",19),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.qZA()}if(2&e){const e=c.oxw().$implicit,t=c.oxw(2);c.xp6(1),c.Q6J("displayMode","withoutShadow")("independent",!0)("collapsible",!0),c.xp6(2),c.Q6J("hasCustomHeader",!1)("hasHeaderContentRight",!1)("hasHeaderSelector",!0)("hasHeaderIcon",!0)("headerIcon",null==e?null:e.iconClass)("hasHeaderLeftText",!0)("headerLeftText",c.lcZ(5,23,e.productTypeName))("hasHeaderRightValue",!0)("headerRightValue",e.productC
1ount)("headerMode","darkMode permissionsConfigurationMode"),c.xp6(5),c.Q6J("renderingMode",null==t.componentLogic?null:t.componentLogic.checkboxRenderMode)("value",e)("displayMode","productSelectionStepMode"),c.xp6(2),c.Q6J("listItems",e.visibleListItems)("showMoreRows",e.shouldShowMoreRows)("loading",e.loadingList)("showViewSelector",!1)("defaultSelectedItems",e.selectedItems)("showRowActions",!1)("mode","Compact")}}function tt(e,t){if(1&e&&(c.TgZ(0,"icb-listRow",6),c.YNc(1,et,15,25,"div",7),c.qZA()),2&e){const e=t.$implicit;c.Q6J("hideActions",!0)("selectable",!1)("listItem",e)("rowBehavior","simple")("responsiveBreak",768)("displayMode","cleanMode"),c.xp6(1),c.Q6J("ngIf",!e.shouldHide)}}function nt(e,t){if(1&e){const e=c.EpF();c.TgZ(0,"div",3),c.TgZ(1,"icb-list",4,5),c.NdJ("onSearchChanged",function(t){c.CHM(e);const n=c.oxw();return null==n.componentLogic?null:n.componentLogic.processSearchTermChanged(t)})("onFilterChanged",function(t){c.CHM(e);const n=c.oxw();return null==n.componentLogic?null:n.componentLogic.processFilterChanged(t)}),c.YNc(3,tt,2,7,"ng-template"),c.qZA(),c.qZA()}if(2&e){const e=c.oxw();c.xp6(1),c.Q6J("listItems",null==e.componentLogic?null:e.componentLogic.visibleListItems)("showHeader",!0)("showFilter",!0)("showColumns",!0)("filters",null==e.componentLogic?null:e.componentLogic.listFilters)("showRowActions",!1)("mode","Compact")("headerLinePosition","header")("displayMode","withoutShadow")}}let ot=class extends a.H6{constructor(){super(),this.componentLogic=(0,a.Fs)("Administration.UI.Sites.Components.ProductSelectionStepLogic"),this.componentLogic.componentReference=this}set contentStatus(e){this.componentLogic.contentStatus=e}get contentStatus(){return this.componentLogic.contentStatus}set stepIsActive(e){this.componentLogic.stepIsActive=e}get stepIsActive(){return this.componentLogic.stepIsActive}set stepProperties(e){this.componentLogic.stepProperties=e}get stepProperties(){return this.componentLogic.stepProperties}executeLogic(){this.componentLogic.executeLogic()}init(e){this.componentLogic.init(e)}set sitePermissionsWizardState(e){this.componentLogic.sitePermissionsWizardState=e}get sitePermissionsWizardState(){return this.componentLogic.sitePermissionsWizardState}set displayMode(e){this.componentLogic.displayMode=e}get displayMode(){return this.componentLogic.displayMode}set genericInput(e){this.componentLogic.genericInput=e}get genericInput(){return this.componentLogic.genericInput}set onSuccessLogicExecute(e){this.componentLogic.onSuccessLogicExecute=e}get onSuccessLogicExecute(){return this.componentLogic.onSuccessLogicExecute}set genericOutput(e){this.componentLogic&&this.componentLogic.genericOutput&&(this.componentLogic.genericOutput=e)}get genericOutput(){return this.componentLogic.genericOutput}set productList(e){this.componentLogic.productList=e}set accordionGrouped(e){this.componentLogic.accordionGrouped=e}};ot.\u0275fac=function(e){return new(e||ot)},ot.\u0275cmp=c.Xpm({type:ot,selectors:[["icb-product-selection-step"]],viewQuery:function(e,t){if(1&e&&(c.Gf(je,5),c.Gf(Ye,5)),2&e){let e;c.iGM(e=c.CRH())&&(t.productList=e),c.iGM(e=c.CRH())&&(t.accordionGrouped=e)}},inputs:{sitePermissionsWizardState:"sitePermissionsWizardState",displayMode:"displayMode",genericInput:"genericInput"},outputs:{onSuccessLogicExecute:"onSuccessLogicExecute",genericOutput:"genericOutput"},features:[c.qOj],decls:2,vars:2,consts:[["messageType","Disclaimer","size","small","title","administration.sites.components.permissionsConfigurationPage.permissionsReplace","messageResourceKey","administration.sites.components.permissionsConfigurationPage.permissionsReplace",3,"messageMode","showBorder","showIcon",4,"ngIf"],["class","tala",4,"ngIf"],["messageType","Disclaimer","size","small","title","administration.sites.components.permissionsConfigurationPage.permissionsReplace","messageResourceKey","administration.sites.components.permissionsConfigurationPage.permissionsReplace",3,"messageMode","showBorder","showIcon"],[1,"tala"],["searchMode","right",3,"listItems","showHeader","showFilter","showColumns","filters","showRowActions","mode","headerLinePosition","displayMode","onSearchChanged","onFilterChanged"],["productTypeList",""],[3,"hideActions","selectable","listItem","rowBehavior","responsiveBreak","displayMode"],["class","list-row",4,"ngIf"],[1,"list-row"],[3,"displayMode","independent","collapsible","activeElement","refreshItemValue"],["accordionGrouped",""],[3,"hasCustomHeader","hasHeaderContentRight","hasHeaderSelector","hasHeaderIcon","headerIcon","hasHeaderLeftText","headerLeftText","hasHeaderRightValue","headerRightValue","headerMode"],["accordionItem",""],[1,"blackpool-link-selector-content"],[1,"tala-row-selector-column"],["propertyName","selected",3,"renderingMode","value","displayMode","onChange"],[3,"listItems","showMoreRows","loading","showViewSelector","defaultSelectedItems","showRowActions","mode","onRowSelected","onShowMoreRows"],["productList",""],[1,"florida_wrapper_loader_default"],["message","administration.sites.components.productSelectionStep.noProductsWithCurrentFilters"],[3,"listItem","rowBehavior","responsiveBreak","displayMode"],["listRow",""],[1,"tala-row",3,"tap"],[1,"tala-cell-subtitle"]],template:function(e,t){1&e&&(c.YNc(0,Ke,1,3,"icb-message-generic",0),c.YNc(1,nt,4,9,"div",1)),2&e&&(c.Q6J("ngIf",null==t.sitePermissionsWizardState?null:t.sitePermissionsWizardState.replaceExistingPermissions),c.xp6(1),c.Q6J("ngIf",null==t.componentLogic?null:t.componentLogic.stepIsActive))},styles:['.blackpool[_ngcontent-%COMP%]{padding:0}.blackpool.withoutShadow[_ngcontent-%COMP%]   .blackpool-panel[_ngcontent-%COMP%]{box-shadow:none!important}.blackpool[_ngcontent-%COMP%]   .blackpool-panel[_ngcontent-%COMP%]{border-radius:0;border:0;box-shadow:0 0 4px 1px rgba(0,0,0,.05)!important}.blackpool-link[_ngcontent-%COMP%]{display:inline-block;text-decoration:none!important;padding:14px 45px 7px 10px;width:100%;cursor:pointer}.blackpool-link[_ngcontent-%COMP%]:link, .blackpool-link[_ngcontent-%COMP%]:visited, .blackpool-link[_ngcontent-%COMP%]:hover, .blackpool-link[_ngcontent-%COMP%]:active{text-decoration:none!important}.blackpool-link[_ngcontent-%COMP%]:hover   i[_ngcontent-%COMP%]{text-decoration:none!important}.blackpool-link[_ngcontent-%COMP%]:hover   span[_ngcontent-%COMP%]{text-decoration:none!important}.blackpool-link-text[_ngcontent-%COMP%]{font-family:"dinMedium";color:#333;font-size:16px;margin-top:3px}.blackpool-link-count[_ngcontent-%COMP%]{color:#999;font-size:14px;margin-top:5px;margin-left:5px;font-family:"dinRegular"}.blackpool-link-count[_ngcontent-%COMP%]:after{content:")";margin-left:-2px}.blackpool-link-count[_ngcontent-%COMP%]:before{content:"(";margin-right:-2px}.blackpool-link-icon-left[_ngcontent-%COMP%]{margin-right:10px}.blackpool-link-icon-left[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{color:#ec0000;font-size:24px}.blackpool-link-data[_ngcontent-%COMP%]{text-align:right;overflow:hidden;width:16%;padding-right:10px;display:inline-block}.blackpool-link-data-title[_ngcontent-%COMP%]{display:inline-block;vertical-align:top;color:#8a8a8a;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:"dinRegular"}.blackpool-link-data-value[_ngcontent-%COMP%]{display:inline-block;vertical-align:top;font-family:"dinMedium";color:#ec0000;font-size:14px;line-height:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.blackpool-link-data-break[_ngcontent-%COMP%]{display:block}.blackpool-link-data-value.value[_ngcontent-%COMP%]{color:#333}.blackpool-panel-heading[_ngcontent-%COMP%]{padding:0;border-radius:0;background:#f8f8f8;border-bottom:1px solid #d1d1d1;animation:blackpool-panel-reverse .25s ease}.blackpool-panel-heading.darkMode[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-link-left-text[_ngcontent-%COMP%], .blackpool-panel-heading.darkMode[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-link-left-value[_ngcontent-%COMP%]{font-family:"dinMedium"}.blackpool-panel-heading[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]{display:table}.blackpool-panel-heading[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-item-header-left[_ngcontent-%COMP%]{width:40%;display:table-cell;vertical-align:top}.blackpool-panel-heading[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-item-header-right[_ngcontent-%COMP%]{width:60%;display:table-cell;vertical-align:top}.blackpool-panel-heading[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-link-selector[_ngcontent-%COMP%]{display:inline}.blackpool-panel-heading[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-link-selector[_ngcontent-%COMP%] + .blackpool-link-icon[_ngcontent-%COMP%]{margin-left:0}.blackpool-panel-heading[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-link-icon[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle;margin-left:10px;margin-right:6px}.blackpool-panel-heading[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-link-icon[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{color:#ec0000;font-size:24px}.blackpool-panel-heading[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-link-icon.asset[_ngcontent-%COMP%], .blackpool-panel-heading[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-link-icon.passive[_ngcontent-%COMP%]{vertical-align:top}.blackpool-panel-heading[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-link-icon.asset[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{color:#00a756;font-size:16px}.blackpool-panel-heading[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-link-icon.passive[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{color:#ec0000;font-size:16px}.blackpool-panel-heading[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-link-left-text[_ngcontent-%COMP%], .blackpool-panel-heading[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-link-left-value[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle;font-family:"dinRegular";color:#333;font-size:16px;margin-top:-2px;margin-left:0}.blackpool-panel-heading[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link.asset[_ngcontent-%COMP%]   .blackpool-link-left-value[_ngcontent-%COMP%]{color:#00a756}.blackpool-panel-heading[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link.passive[_ngcontent-%COMP%]   .blackpool-link-left-value[_ngcontent-%COMP%]{color:#ec0000}.blackpool-panel-heading[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-link-right-text[_ngcontent-%COMP%], .blackpool-panel-heading[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-link-right-value[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle;font-family:"dinRegular";font-size:14px;color:#999;margin-top:0;margin-left:0}.blackpool-panel-heading[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-link-right-text[_ngcontent-%COMP%]:after, .blackpool-panel-heading[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-link-right-value[_ngcontent-%COMP%]:after{content:")";margin-left:-2px}.blackpool-panel-heading[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-link-right-text[_ngcontent-%COMP%]:before, .blackpool-panel-heading[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-link-right-value[_ngcontent-%COMP%]:before{content:"(";margin-right:-2px}.blackpool-panel-heading[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link.asset[_ngcontent-%COMP%]   .blackpool-link-right-value[_ngcontent-%COMP%]{color:#00a756}.blackpool-panel-heading[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link.passive[_ngcontent-%COMP%]   .blackpool-link-right-value[_ngcontent-%COMP%]{color:#ec0000}.blackpool-panel-heading[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-panel-title-indicator[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle;margin-top:0;margin-left:3px}.blackpool-panel-heading.success[_ngcontent-%COMP%]{background:#e6fff3}.blackpool-panel-heading.warning[_ngcontent-%COMP%]{background:#fef6d1}.blackpool-panel-heading.error[_ngcontent-%COMP%]{background:#fce3e4}.blackpool-panel-heading.info[_ngcontent-%COMP%]{background:#edf8f9}.blackpool-panel-heading.configurationByScopeMode[_ngcontent-%COMP%]{padding-left:45px;padding-bottom:2px;background:#fff;animation:none}.blackpool-panel-heading.configurationByScopeMode.configurationRowAccordionHeaderMode[_ngcontent-%COMP%]:hover{background:#f2f2f2!important}.blackpool-panel-heading.configurationByScopeMode.configurationRowAccordionHeaderMode.warning[_ngcontent-%COMP%]:hover{background:#fdec9f!important}.blackpool-panel-heading.configurationByScopeMode.configurationRowAccordionHeaderMode.success[_ngcontent-%COMP%]:hover{background:#b3ffdb!important}.blackpool-panel-heading.configurationByScopeMode.configurationRowAccordionHeaderMode.error[_ngcontent-%COMP%]:hover{background:#f7b5b8!important}.blackpool-panel-heading.configurationByScopeMode.configurationRowAccordionHeaderMode.info[_ngcontent-%COMP%]:hover{background:#c7e9ec!important}.blackpool-panel-heading.configurationByScopeMode[_ngcontent-%COMP%]:not(.active){border-bottom:none}.blackpool-panel-heading.configurationByScopeMode[_ngcontent-%COMP%]:hover{background:#fff!important;animation:none}.blackpool-panel-heading.configurationByScopeMode.withMessage[_ngcontent-%COMP%]{background:#fef6d1!important}.blackpool-panel-heading.configurationByScopeMode.withMessage[_ngcontent-%COMP%]   .blackpool-link[_ngcontent-%COMP%]{position:relative}.blackpool-panel-heading.configurationByScopeMode[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link[_ngcontent-%COMP%]{padding-top:10px;padding-bottom:12px}.blackpool-panel-heading.configurationByScopeMode[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link[_ngcontent-%COMP%]   .blackpool-link-left-text[_ngcontent-%COMP%]{font-size:14px}.blackpool-panel-heading.configurationByScopeMode[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link[_ngcontent-%COMP%]   .blackpool-panel-title-indicator[_ngcontent-%COMP%]{font-size:10px}.blackpool-panel-heading.amountConfigurationMode[_ngcontent-%COMP%]{padding-left:14px;padding-bottom:2px;border-bottom:1px solid #e1e1e1;background:#fff;animation:none}.blackpool-panel-heading.amountConfigurationMode[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link[_ngcontent-%COMP%]{padding-bottom:10px}.blackpool-panel-heading.amountConfigurationMode[_ngcontent-%COMP%]:hov
1er{background:#fff!important;animation:none}.blackpool-panel-heading.amountConfigurationMode.withMessage[_ngcontent-%COMP%]{background:#fef6d1!important}.blackpool-panel-heading.amountConfigurationMode.withMessage[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link[_ngcontent-%COMP%]{position:relative;padding-top:8px;padding-bottom:6px;padding-right:6px}.blackpool-panel-heading.amountConfigurationMode.withMessage[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link[_ngcontent-%COMP%]   .blackpool-item-header-left[_ngcontent-%COMP%], .blackpool-panel-heading.amountConfigurationMode.withMessage[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link[_ngcontent-%COMP%]   .blackpool-item-header-right[_ngcontent-%COMP%]{vertical-align:middle!important}.blackpool-panel-heading.amountConfigurationMode.withMessage.withActions[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link[_ngcontent-%COMP%]{padding-right:90px}.blackpool-panel-heading.amountConfigurationMode[_ngcontent-%COMP%]:not(.withMessage)   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link[_ngcontent-%COMP%]   .blackpool-item-header-left[_ngcontent-%COMP%]{width:auto}.blackpool-panel-heading.amountConfigurationMode[_ngcontent-%COMP%]:not(.withMessage)   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link[_ngcontent-%COMP%]   .blackpool-item-header-right[_ngcontent-%COMP%]{display:none}.blackpool-panel-heading.amountConfigurationMode[_ngcontent-%COMP%]:not(.withMessage).withActions   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link[_ngcontent-%COMP%]   .blackpool-item-header-left[_ngcontent-%COMP%]{padding-right:90px}.blackpool-panel-heading[_ngcontent-%COMP%]:hover{background:#f2f2f2!important;animation:blackpool-panel-animated .25s ease}.blackpool-body[_ngcontent-%COMP%]{padding:0!important;background:#fff}.blackpool-panel-title[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0;line-height:1}.blackpool-panel-title-indicator[_ngcontent-%COMP%]{color:#ec0000!important;text-decoration:none;font-size:11px;margin-left:6px;font-weight:bold;margin-top:7px}.blackpool-link-data.no-show[_ngcontent-%COMP%]{opacity:1;animation:blackpool-link-data-reverse .2s ease}.blackpool-link-data.no-show[_ngcontent-%COMP%]{opacity:0;animation:blackpool-link-data-animated .2s ease}.blackpool-panel-collapse[_ngcontent-%COMP%]{max-height:0;overflow:hidden;transition:max-height .6s ease}.blackpool-panel-collapse.amountConfigurationMode[_ngcontent-%COMP%]   .panel-body[_ngcontent-%COMP%]{background:#f8f8f8;padding-top:10px!important;border-top:none!important}.blackpool-panel-collapse.collapse-show[_ngcontent-%COMP%]{max-height:900px;overflow:hidden;transition:max-height .6s ease-in}.blackpool-panel-title-indicator[_ngcontent-%COMP%]{transform:rotate(0);animation:blackpool-indicator-reverse .1s ease}.blackpool-link.active[_ngcontent-%COMP%]   .blackpool-panel-title-indicator[_ngcontent-%COMP%]{transform:rotate(90deg);animation:blackpool-indicator-animation .1s ease}.blackpool-title-clearboth[_ngcontent-%COMP%]{clear:both;display:block;display:none}@keyframes blackpool-panel-animated{0%{background:#f8f8f8!important}to{background:#f2f2f2!important}}@keyframes blackpool-panel-reverse{0%{background:#f2f2f2!important}to{background:#f8f8f8!important}}@keyframes blackpool-link-data-animated{0%{opacity:1}to{opacity:0}}@keyframes blackpool-link-data-reverse{0%{opacity:0}to{opacity:1}}@keyframes blackpool-indicator-reverse{0%{transform:rotate(90deg)}to{transform:rotate(0)}}@keyframes blackpool-indicator-animation{0%{transform:rotate(0)}to{transform:rotate(90deg)}}@media screen and (max-width: 1365px) and (min-width: 1024px){.blackpool-panel-heading.myProductsGroupedMode.active[_ngcontent-%COMP%]{border-bottom:none}}@media screen and (max-width: 1200px) and (min-width: 1024px){.blackpool-link-data[_ngcontent-%COMP%]{overflow:hidden;max-width:20%}.blackpool-link-data-title[_ngcontent-%COMP%]{max-width:110px}.blackpool-link[_ngcontent-%COMP%]{padding-right:5%}}@media screen and (max-width: 1365px) and (min-width: 320px){.blackpool-panel-heading.myProductsGroupedMode[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-item-header-left[_ngcontent-%COMP%], .blackpool-panel-heading.myProductsGroupedMode[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-item-header-right[_ngcontent-%COMP%]{width:auto;display:block}.blackpool-item-header-after[_ngcontent-%COMP%]{clear:both;display:block}.blackpool-link-data[_ngcontent-%COMP%]{margin-top:8px;margin-bottom:4px}}@media screen and (max-width: 1023px) and (min-width: 768px){.blackpool-title-clearboth[_ngcontent-%COMP%]{margin-bottom:20px}.blackpool-link-data[_ngcontent-%COMP%]{margin-left:2%;overflow:hidden}.blackpool-title-clearboth.clear-2item[_ngcontent-%COMP%]{margin-bottom:12px}.blackpool-link-data-title[_ngcontent-%COMP%]{width:100%}}@media screen and (max-width: 767px) and (min-width: 320px){.blackpool-link[_ngcontent-%COMP%]{padding-right:10px}.blackpool-title-clearboth[_ngcontent-%COMP%]{margin-bottom:0}.blackpool-link-data[_ngcontent-%COMP%]{margin-left:4%;overflow:hidden}.blackpool-title-clearboth.clear-2item[_ngcontent-%COMP%]{margin-bottom:10px}.blackpool-link-data-title[_ngcontent-%COMP%]{width:100%}.blackpool[_ngcontent-%COMP%]{padding-left:0;padding-right:0}.blackpool[_ngcontent-%COMP%]   .blackpool-panel[_ngcontent-%COMP%]{box-shadow:none!important}.blackpool-panel-heading.amountConfigurationMode.withMessage[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link[_ngcontent-%COMP%]   .blackpool-item-header-left[_ngcontent-%COMP%], .blackpool-panel-heading.amountConfigurationMode.withMessage[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link[_ngcontent-%COMP%]   .blackpool-item-header-right[_ngcontent-%COMP%]{display:block;width:auto}.blackpool-panel-heading.amountConfigurationMode.withMessage[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link[_ngcontent-%COMP%]   .blackpool-item-header-right[_ngcontent-%COMP%]{margin-top:3px;margin-left:-6px}.blackpool-panel-collapse.amountConfigurationMode[_ngcontent-%COMP%]   .panel-body[_ngcontent-%COMP%]{padding-top:0!important}.blackpool-panel-collapse.myProductsGroupedMode.collapse-show[_ngcontent-%COMP%]{border-bottom:1px solid #ccc}}.blackpool-link[_ngcontent-%COMP%]{padding-left:0}.blackpool-link-icon-left[_ngcontent-%COMP%]{margin-right:10px;margin-left:10px}.blackpool-link-data[_ngcontent-%COMP%]:nth-child(5), .blackpool-link-data[_ngcontent-%COMP%]:nth-child(6){display:none}.blackpool-link-data[_ngcontent-%COMP%]:nth-child(4){width:25%;text-align:right;margin-left:0;padding-right:10px}.blackpool-link-data[_ngcontent-%COMP%]:nth-child(3){width:25%;text-align:right;margin-left:0;padding-right:25px}.blackpool-link-data[_ngcontent-%COMP%]:nth-child(2){width:25%;text-align:right;margin-left:0;padding-right:10px}.blackpool-link-data[_ngcontent-%COMP%]:nth-child(1){width:25%;text-align:right;margin-left:0;padding-right:25px}@media screen and (max-width: 1365px) and (min-width: 768px){.blackpool-link-data[_ngcontent-%COMP%]:nth-child(4){padding-right:10px}.blackpool-link-data[_ngcontent-%COMP%]:nth-child(3){padding-right:15px}.blackpool-link-data[_ngcontent-%COMP%]:nth-child(2){padding-right:10px}.blackpool-link-data[_ngcontent-%COMP%]:nth-child(1){padding-right:15px}}@media screen and (max-width: 767px) and (min-width: 320px){.blackpool-link[_ngcontent-%COMP%]{padding-right:0}.blackpool-link-data[_ngcontent-%COMP%]:nth-child(4){width:50%;padding-right:0}.blackpool-link-data[_ngcontent-%COMP%]:nth-child(3){width:50%;padding-right:10px}.blackpool-link-data[_ngcontent-%COMP%]:nth-child(2){width:50%;padding-right:0}.blackpool-link-data[_ngcontent-%COMP%]:nth-child(1){width:50%;padding-right:10px}.blackpool-link-data-title[_ngcontent-%COMP%]{color:#333}}.backoffice   [_nghost-%COMP%]   .blackpool-panel-title-indicator[_ngcontent-%COMP%]{color:#666!important}.backoffice   [_nghost-%COMP%]   .blackpool-panel-heading.configurationByScopeMode[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-item-header-left[_ngcontent-%COMP%]   .blackpool-link-left-text[_ngcontent-%COMP%]{font-size:13px}.backoffice   [_nghost-%COMP%]   .requestDefinitions[_ngcontent-%COMP%] + .blackpool-panel-collapse.collapse-show[_ngcontent-%COMP%]{max-height:3000px!important}.backoffice   [_nghost-%COMP%]   .blackpool-panel-heading.configurationByScopeMode[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-item-header-left[_ngcontent-%COMP%]   .blackpool-link-left-text[_ngcontent-%COMP%]{font-family:Verdana,Arial,Helvetica,sans-serif}.backoffice   [_nghost-%COMP%]   .blackpool-panel-heading[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-link-left-text[_ngcontent-%COMP%]{font-family:Verdana,Arial,Helvetica,sans-serif!important;font-size:14px!important}.backoffice   [_nghost-%COMP%]   .blackpool-panel-collapse.amountConfigurationMode[_ngcontent-%COMP%]   .panel-body[_ngcontent-%COMP%]{padding-top:0!important}.backoffice   [_nghost-%COMP%]   .blackpool.recordGeneratorAccordionCurrencyMode[_ngcontent-%COMP%]{margin:0 -30px}.blackpool-link-count[_ngcontent-%COMP%]{font-family:"Santander Text"}.blackpool-link-data-title[_ngcontent-%COMP%]{font-family:"Santander Text"}.blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-link-left-text[_ngcontent-%COMP%], .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-link-left-value[_ngcontent-%COMP%]{font-family:"Santander Text"}.blackpool-panel-heading.darkMode[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-link-left-text[_ngcontent-%COMP%], .blackpool-panel-heading.darkMode[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-link-left-value[_ngcontent-%COMP%]{font-family:"Santander Text SemiBold"}.blackpool-panel-heading[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-link-right-text[_ngcontent-%COMP%], .blackpool-panel-heading[_ngcontent-%COMP%]   .blackpool-panel-title[_ngcontent-%COMP%]   .blackpool-link.blackpool-standard-link[_ngcontent-%COMP%]   .blackpool-link-right-value[_ngcontent-%COMP%]{font-family:"Santander Text"}.blackpool-link-text[_ngcontent-%COMP%]{font-family:"Santander Text SemiBold"}.tala[_ngcontent-%COMP%]{width:100%;height:100%;padding-top:14px}.tala[_ngcontent-%COMP%]   .tala-row[_ngcontent-%COMP%]{font-size:14px;display:table;vertical-align:middle;width:100%;table-layout:fixed;padding:3px 0;border:none}.tala[_ngcontent-%COMP%]   .tala-row[_ngcontent-%COMP%]   .tala-cell-subtitle[_ngcontent-%COMP%]{font-size:12px}.tala[_ngcontent-%COMP%]   .tala-row-selector-column[_ngcontent-%COMP%]{display:table-cell;vertical-align:middle;width:40px;padding-left:14px}']}),ot=(0,s.gn)([(0,a.Jq)("Administration.UI.Sites.Components.ProductSelectionStep")],ot),ot.retain={};let it=class extends a.C1{constructor(){super(),this.deleteAll=!1,this.toggleChanged=new c.vpe,this.toggleRenderingMode=l.vA7.checkBox}get unSelectedChannels(){return this.selectedChannels&&this.selectedChannels.filter(e=>!e.isSelected.selected)}toggleChange(e,t){const n=e;n.item=t,this.toggleChanged.emit(n)}};it=(0,s.gn)([(0,a.Jq)("Administration.UI.Sites.SitePermissionsEditContentLogic")],it),it.retain={};let st=class extends it{constructor(){super()}};function at(e,t){if(1&e){const e=c.EpF();c.TgZ(0,"icb-toggle",2),c.NdJ("onChange",function(t){const n=c.CHM(e).$implicit,o=c.oxw(2);return null==o.componentLogic?null:o.componentLogic.toggleChange(t,n)}),c.ALo(1,"translate"),c.qZA()}if(2&e){const e=t.$implicit,n=c.oxw(2);c.s9C("formLabel",c.lcZ(1,3,"common.entities.channel."+(null==e||null==e.channel?null:e.channel.value))),c.Q6J("renderingMode",null==n.componentLogic?null:n.componentLogic.toggleRenderingMode)("value",!1)}}function ct(e,t){if(1&e&&(c.TgZ(0,"div"),c.TgZ(1,"div"),c._uU(2),c.ALo(3,"translate"),c.qZA(),c.YNc(4,at,2,5,"icb-toggle",1),c.qZA()),2&e){const e=c.oxw();c.xp6(2),c.Oqu(c.lcZ(3,2,"administration.sites.permissions.deleteModalMessage")),c.xp6(2),c.Q6J("ngForOf",null==e.componentLogic?null:e.componentLogic.selectedChannels)}}function lt(e,t){1&e&&(c.TgZ(0,"div"),c._UZ(1,"icb-empty-message",3),c.qZA())}st=(0,s.gn)([(0,a.Jq)("Administration.UI.Sites.SitePermissionsEditContentLogic")],st),st.retain={};let rt=class extends a.H6{constructor(){super(),this.componentLogic=(0,ae.Fs)("Administration.UI.Sites.SitePermissionsEditContentLogic"),this.componentLogic.componentReference=this}set selectedChannels(e){this.componentLogic.selectedChannels=e}get selectedChannels(){return this.componentLogic.selectedChannels}set deleteAll(e){this.componentLogic.deleteAll=e}get deleteAll(){return this.componentLogic.deleteAll}set displayMode(e){this.componentLogic.displayMode=e}get displayMode(){return this.componentLogic.displayMode}set genericInput(e){this.componentLogic.genericInput=e}get genericInput(){return this.componentLogic.genericInput}set toggleChanged(e){this.componentLogic&&this.componentLogic.toggleChanged&&(this.componentLogic.toggleChanged=e)}get toggleChanged(){return this.componentLogic.toggleChanged}set genericOutput(e){this.componentLogic&&this.componentLogic.genericOutput&&(this.componentLogic.genericOutput=e)}get genericOutput(){return this.componentLogic.genericOutput}};rt.\u0275fac=function(e){return new(e||rt)},rt.\u0275cmp=c.Xpm({type:rt,selectors:[["icb-permissions-edit-content"]],inputs:{selectedChannels:"selectedChannels",deleteAll:"deleteAll",displayMode:"displayMode",genericInput:"genericInput"},outputs:{toggleChanged:"toggleChanged",genericOutput:"genericOutput"},features:[c.qOj],decls:2,vars:2,consts:[[4,"ngIf"],[3,"renderingMode","formLabel","value","onChange",4,"ngFor","ngForOf"],[3,"renderingMode","formLabel","value","onChange"],["message","administration.sites.permissions.noPermissionSelected"]],template:function(e,t){1&e&&(c.YNc(0,ct,5,4,"div",0),c.YNc(1,lt,2,0,"div",0)),2&e&&(c.Q6J("ngIf",!(null==t.componentLogic||!t.componentLogic.selectedChannels)&&(null==t.componentLogic?null:t.componentLogic.selectedChannels.length)>0&&!(null!=t.componentLogic&&t.componentLogic.deleteAll)),c.xp6(1),c.Q6J("ngIf",!(null!=t.componentLogic&&t.componentLogic.selectedChannels)||0===(null==t.componentLogic?null:t.componentLogic.selectedChannels.length)))},styles:[""]}),rt=(0,s.gn)([(0,a.Jq)("Administration.UI.Sites.SitePermissionsEditContent")],rt),rt.retain={};let dt=class extends a.C1{constructor(){super(),this.onSelectedChange=new c.vpe,this.toggleRenderingMode=l.vA7.checkBox,this.productDisplayOptions={showOnlyAliasAndNumber:!0},this.viewMode=l.glA.Simple}get icon(){return this.product.productType&&l.Whk.getProductIconByType(this.product.productType.value)}get showProduct(){return this.permissionItem&&!!this.permissionItem.product}get product(){return this.permissionItem&&this.permissionItem.product}get user(){return this.permissionItem&&this.permissionItem.user}get feature(){return this.permissionItem&&this.permissionItem.feature}get disabledChannels(){return this.permissionItem&&this.permissionItem.disabledChannels}get disabledChannelsItems(){return this.permissionItem&&this.permissionItem.disabledChannelsItems}get permissionChannels(){return this.permissionItem&&this.permissionItem.channelsItems}get channelRowContentStyle(){return this.channels?{display:"inline-block",width:(100/this.channels.length).toString()+"%","font-size":"9pt"}:{}}hasChannelEnabled(e){return this.permissionChannels&&this.permissionChannels.some(t=>t.channel.key===e.key)}
1isDisabledChannel(e){return this.disabledChannelsItems&&this.disabledChannelsItems.some(t=>t.channel.key===e.key)}selectAllToggle(e){this.onSelectedChange.emit({newValue:e.newValue})}channelStatus(e){return this.hasChannelEnabled(e)?"enabled":this.isDisabledChannel(e)?"disabled":null}selectRow(e){this.selected=e.newValue,this.permissionItem.isSelected.selected=this.selected,this.onSelectedChange.emit({newValue:this.selected})}toggleState(){this.toggle&&(this.toggle.componentLogic.checked=!this.toggle.componentLogic.checked)}onRowSelected(){this.selectRow({newValue:!this.permissionItem.isSelected.selected})}featureRowTapped(e,t){e.target&&"checkSelected"!==e.target.htmlFor&&t.componentLogic.processRowSelected()}showHover(e){return!this.isDefault||(e&&e.hasHover()&&(e.hasHover=()=>!1),!1)}get isDefault(){return!!this.permissionItem&&this.permissionItem.isDefault}get isAdministrative(){return!!this.permissionItem.siteUsersFeature&&this.permissionItem.siteUsersFeature.isAdministrative&&this.permissionItem.siteUsersFeature.userIsAdministrator}get styleClasses(){return this.isDefault?"default-feature":""}};dt=(0,s.gn)([(0,a.Jq)("Administration.UI.Sites.SitePermissionsRowLogic")],dt),dt.retain={};let pt=class extends dt{constructor(){super()}};pt=(0,s.gn)([(0,a.Jq)("Administration.UI.Sites.SitePermissionsRowLogic")],pt),pt.retain={};const gt=["toggle"],mt=["listRow"];function ut(e,t){if(1&e&&(c.TgZ(0,"div"),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&e){const e=t.$implicit;c.xp6(1),c.Oqu(c.lcZ(2,1,"common.entities.channel."+(null==e?null:e.value)))}}function ht(e,t){if(1&e&&(c.TgZ(0,"div",10),c.TgZ(1,"div"),c._uU(2),c.qZA(),c.TgZ(3,"div"),c._uU(4),c.qZA(),c.qZA()),2&e){const e=c.oxw(2);c.xp6(1),c.Gre("label-username ",null==e.componentLogic?null:e.componentLogic.styleClasses,""),c.xp6(1),c.Oqu(null==e.componentLogic||null==e.componentLogic.user?null:e.componentLogic.user.userName),c.xp6(1),c.Gre("label-user-info ",null==e.componentLogic?null:e.componentLogic.styleClasses,""),c.xp6(1),c.Oqu((null==e.componentLogic||null==e.componentLogic.user?null:e.componentLogic.user.name)+" "+(null==e.componentLogic||null==e.componentLogic.user?null:e.componentLogic.user.lastName))}}function Ct(e,t){if(1&e&&(c.TgZ(0,"div",10),c.TgZ(1,"div"),c._uU(2),c.ALo(3,"translate"),c.qZA(),c.qZA()),2&e){const e=c.oxw(2);c.xp6(1),c.Gre("label-feature ",null==e.componentLogic?null:e.componentLogic.styleClasses,""),c.xp6(1),c.Oqu(c.lcZ(3,4,"authorization.entities.feature."+(null==e.componentLogic||null==e.componentLogic.feature?null:e.componentLogic.feature.value)))}}function _t(e,t){if(1&e&&(c.TgZ(0,"div",10),c.TgZ(1,"div",11),c._UZ(2,"i"),c.TgZ(3,"span"),c._uU(4),c.qZA(),c.qZA(),c.TgZ(5,"div"),c._uU(6),c.qZA(),c.qZA()),2&e){const e=c.oxw(2);c.xp6(2),c.Gre("icon ",(null==e.componentLogic?null:e.componentLogic.icon)+" "+(null==e.componentLogic?null:e.componentLogic.styleClasses),""),c.xp6(1),c.Gre("label-productAlias ",null==e.componentLogic?null:e.componentLogic.styleClasses,""),c.xp6(1),c.Oqu(null==e.componentLogic||null==e.componentLogic.product?null:e.componentLogic.product.productAlias),c.xp6(1),c.Gre("label-productNumber ",null==e.componentLogic?null:e.componentLogic.styleClasses,""),c.xp6(1),c.Oqu(null==e.componentLogic||null==e.componentLogic.product?null:e.componentLogic.product.productNumber)}}function ft(e,t){if(1&e&&c._UZ(0,"i"),2&e){const e=c.oxw(3);c.Gre("stream-check-12 enabled-icon ",null==e.componentLogic?null:e.componentLogic.styleClasses,"")}}function Mt(e,t){if(1&e&&c._UZ(0,"i"),2&e){const e=c.oxw(3);c.Gre("stream-subtract-12 disabled-icon ",null==e.componentLogic?null:e.componentLogic.styleClasses,"")}}function Pt(e,t){if(1&e&&(c.TgZ(0,"div",12),c.TgZ(1,"div",13),c.YNc(2,ft,1,3,"i",14),c.YNc(3,Mt,1,3,"i",14),c.qZA(),c.qZA()),2&e){const e=t.$implicit,n=c.oxw(2);c.Q6J("ngStyle",null==n.componentLogic?null:n.componentLogic.channelRowContentStyle),c.xp6(1),c.Q6J("ngSwitch",null==n.componentLogic?null:n.componentLogic.channelStatus(e)),c.xp6(1),c.Q6J("ngSwitchCase","enabled"),c.xp6(1),c.Q6J("ngSwitchCase","disabled")}}const bt=function(e,t,n){return{"row-inactive":e,"row-selected":t,"toggle-inactive":n}};function Ot(e,t){if(1&e){const e=c.EpF();c.TgZ(0,"icb-listRow",2,3),c.NdJ("onRowSelected",function(t){c.CHM(e);const n=c.oxw();return null==n.componentLogic?null:n.componentLogic.onRowSelected(t)}),c.TgZ(2,"div",4),c.NdJ("tap",function(t){c.CHM(e);const n=c.MAs(1),o=c.oxw();return null==o.componentLogic?null:o.componentLogic.featureRowTapped(t,n)}),c.TgZ(3,"icb-gridRow",5),c.TgZ(4,"grid-title-2"),c._uU(5),c.ALo(6,"translate"),c.qZA(),c.TgZ(7,"grid-title-3"),c._uU(8),c.ALo(9,"translate"),c.qZA(),c.TgZ(10,"grid-title-4"),c._uU(11),c.ALo(12,"translate"),c.qZA(),c.TgZ(13,"grid-title-5"),c.YNc(14,ut,3,3,"div",6),c.qZA(),c.TgZ(15,"grid-content-2"),c.YNc(16,ht,5,8,"div",7),c.qZA(),c.TgZ(17,"grid-content-3"),c.YNc(18,Ct,4,6,"div",7),c.qZA(),c.TgZ(19,"grid-content-4"),c.YNc(20,_t,7,11,"div",7),c.qZA(),c.TgZ(21,"grid-content-5",8),c.YNc(22,Pt,4,4,"div",9),c.qZA(),c.qZA(),c.qZA(),c.qZA()}if(2&e){const e=c.MAs(1),t=c.oxw();c.Q6J("listItem",null==t.componentLogic?null:t.componentLogic.permissionItem)("selectable",null==t.componentLogic?null:t.componentLogic.showHover(e))("viewMode",null==t.componentLogic?null:t.componentLogic.viewMode)("selected",!1)("hideActions",!0)("rowBehavior","select")("responsiveBreak",1024)("displayMode","sizeMediumMode")("ngClass",c.kEZ(29,bt,!t.isActive,t.selected,null==t.componentLogic?null:t.componentLogic.isAdministrative)),c.xp6(3),c.Q6J("showQuickInfoIcon",!1)("alignContent5","center")("columnsCount",5)("responsiveBreak",1024)("displayMode","sitePermissionsRowContentMode")("showRowLines",!1),c.xp6(2),c.Oqu(c.lcZ(6,23,"administration.sites.permissions.userColumnTitle")),c.xp6(3),c.Oqu(c.lcZ(9,25,"administration.sites.permissions.featureColumnTitle")),c.xp6(3),c.Oqu(c.lcZ(12,27,"administration.sites.permissions.productC
1olumnTitle")),c.xp6(3),c.Q6J("ngForOf",null==t.componentLogic?null:t.componentLogic.channels),c.xp6(2),c.Q6J("ngIf",!(null==t.componentLogic||!t.componentLogic.user)),c.xp6(2),c.Q6J("ngIf",!(null==t.componentLogic||!t.componentLogic.feature)),c.xp6(2),c.Q6J("ngIf",!(null==t.componentLogic||!t.componentLogic.showProduct)),c.xp6(2),c.Q6J("ngForOf",null==t.componentLogic?null:t.componentLogic.channels)}}function kt(e,t){if(1&e&&(c.TgZ(0,"div",19),c._uU(1),c.ALo(2,"translate"),c.qZA()),2&e){const e=t.$implicit,n=c.oxw(2);c.Q6J("ngStyle",null==n.componentLogic?null:n.componentLogic.channelRowContentStyle),c.xp6(1),c.Oqu(c.lcZ(2,2,"common.entities.channel."+(null==e?null:e.value)))}}const St=function(e){return{"toggle-inactive":e}};function xt(e,t){if(1&e){const e=c.EpF();c.TgZ(0,"div"),c.TgZ(1,"icb-gridRow",15),c.TgZ(2,"grid-content-1"),c.TgZ(3,"div",16),c.TgZ(4,"icb-toggle",17),c.NdJ("onChange",function(t){c.CHM(e);const n=c.oxw();return null==n.componentLogic?null:n.componentLogic.selectAllToggle(t)}),c.qZA(),c.qZA(),c.qZA(),c.TgZ(5,"grid-content-2"),c.TgZ(6,"span"),c._uU(7),c.ALo(8,"translate"),c.qZA(),c.qZA(),c.TgZ(9,"grid-content-3"),c.TgZ(10,"span"),c._uU(11),c.ALo(12,"translate"),c.qZA(),c.qZA(),c.TgZ(13,"grid-content-4"),c.TgZ(14,"span"),c._uU(15),c.ALo(16,"translate"),c.qZA(),c.qZA(),c.TgZ(17,"grid-content-5"),c.YNc(18,kt,3,4,"div",18),c.qZA(),c.qZA(),c.qZA()}if(2&e){const e=c.oxw();c.xp6(1),c.Q6J("showQuickInfoIcon",!1)("alignContent5","center")("columnsCount",5)("responsiveBreak",1024)("isHeaderRow",!0)("displayMode","sitePermissionsRowHeaderMode"),c.xp6(2),c.Q6J("ngClass",c.VKq(21,St,null==e.componentLogic?null:e.componentLogic.isAdministrative)),c.xp6(1),c.Q6J("displayMode","toggleCleanMode sitePermissionsRowHeaderMode")("renderingMode",null==e.componentLogic?null:e.componentLogic.toggleRenderingMode)("propertyName","isSelected.selected")("value",null==e.componentLogic?null:e.componentLogic.permissionItem),c.xp6(3),c.Oqu(c.lcZ(8,15,"administration.sites.permissions.userColumnTitle")),c.xp6(4),c.Oqu(c.lcZ(12,17,"administration.sites.permissions.featureColumnTitle")),c.xp6(4),c.Oqu(c.lcZ(16,19,"administration.sites.permissions.productColumnTitle")),c.xp6(3),c.Q6J("ngForOf",null==e.componentLogic?null:e.componentLogic.channels)}}let wt=class extends a.H6{constructor(){super(),this.componentLogic=(0,a.Fs)("Administration.UI.Sites.SitePermissionsRowLogic"),this.componentLogic.componentReference=this}set permissionItem(e){this.componentLogic.permissionItem=e}get permissionItem(){return this.componentLogic.permissionItem}set index(e){this.componentLogic.index=e}get index(){return this.componentLogic.index}set channels(e){this.componentLogic.channels=e}get channels(){return this.componentLogic.channels}set displayMode(e){this.componentLogic.displayMode=e}get displayMode(){return this.componentLogic.displayMode}set viewMode(e){this.componentLogic.viewMode=e}get viewMode(){return this.componentLogic.viewMode}set mode(e){this.componentLogic.mode=e}get mode(){return this.componentLogic.mode}set genericInput(e){this.componentLogic.genericInput=e}get genericInput(){return this.componentLogic.genericInput}set onSelectedChange(e){this.componentLogic&&this.componentLogic.onSelectedChange&&(this.componentLogic.onSelectedChange=e)}get onSelectedChange(){return this.componentLogic.onSelectedChange}set genericOutput(e){this.componentLogic&&this.componentLogic.genericOutput&&(this.componentLogic.genericOutput=e)}get genericOutput(){return this.componentLogic.genericOutput}set toggle(e){this.componentLogic.toggle=e}set listRow(e){this.componentLogic.listRow=e}processRowClick(e){this.viewMode!==l.glA.Combined&&!this.componentLogic.isDefault&&e.target&&"checkSelected"!==e.target.htmlFor&&this.componentLogic.toggleState()}};var Lt;wt.\u0275fac=function(e){return new(e||wt)},wt.\u0275cmp=c.Xpm({type:wt,selectors:[["icb-user-permissions-row"]],viewQuery:function(e,t){if(1&e&&(c.Gf(gt,5),c.Gf(mt,5)),2&e){let e;c.iGM(e=c.CRH())&&(t.toggle=e.first),c.iGM(e=c.CRH())&&(t.listRow=e.first)}},hostBindings:function(e,t){1&e&&c.NdJ("tap",function(e){return t.processRowClick(e)})},inputs:{permissionItem:"permissionItem",index:"index",channels:"channels",displayMode:"displayMode",viewMode:"viewMode",mode:"mode",genericInput:"genericInput"},outputs:{onSelectedChange:"onSelectedChange",genericOutput:"genericOutput"},features:[c.qOj],decls:2,vars:2,consts:[[3,"listItem","selectable","viewMode","selected","hideActions","rowBehavior","responsiveBreak","displayMode","ngClass","onRowSelected",4,"ngIf"],[4,"ngIf"],[3,"listItem","selectable","viewMode","selected","hideActions","rowBehavior","responsiveBreak","displayMode","ngClass","onRowSelected"],["listRow",""],[3,"tap"],[3,"showQuickInfoIcon","alignContent5","columnsCount","responsiveBreak","displayMode","showRowLines"],[4,"ngFor","ngForOf"],["class","padua-grid-td-content",4,"ngIf"],[1,"padua-grid-td-content-group"],["class","padua-grid-td-content",3,"ngStyle",4,"ngFor","ngForOf"],[1,"padua-grid-td-content"],[1,"padua-wrapper-product-icon-alias"],[1,"padua-grid-td-content",3,"ngStyle"],[3,"ngSwitch"],[3,"class",4,"ngSwitchCase"],[3,"showQuickInfoIcon","alignContent5","columnsCount","responsiveBreak","isHeaderRow","displayMode"],[3,"ngClass"],["
1id","checkSelected","name","checkSelected",3,"displayMode","renderingMode","propertyName","value","onChange"],[3,"ngStyle",4,"ngFor","ngForOf"],[3,"ngStyle"]],template:function(e,t){1&e&&(c.YNc(0,Ot,23,33,"icb-listRow",0),c.YNc(1,xt,19,23,"div",1)),2&e&&(c.Q6J("ngIf",!(null==t.componentLogic||!t.componentLogic.mode)&&"title"!==(null==t.componentLogic?null:t.componentLogic.mode)),c.xp6(1),c.Q6J("ngIf",(null==t.componentLogic?null:t.componentLogic.mode)&&"title"===(null==t.componentLogic?null:t.componentLogic.mode)))},styles:[".enabled-icon[_ngcontent-%COMP%]{font-size:18px;color:#ec0000}.icon[_ngcontent-%COMP%]{color:#ec0000;display:inline-block;margin-right:6px}.label-username[_ngcontent-%COMP%]{color:#ec0000}.label-user-info[_ngcontent-%COMP%]{font-size:12px}.label-feature[_ngcontent-%COMP%]{font-size:14px}.label-productNumber[_ngcontent-%COMP%]{font-size:10px;padding-top:3px}.disabled-icon[_ngcontent-%COMP%]{font-size:20px;color:#8a8a8a}.site-permission-row[_ngcontent-%COMP%]{border:1px solid transparent;border-bottom:1px solid #ccc}.default-feature[_ngcontent-%COMP%]{opacity:.5}.padua-grid-td-content[_ngcontent-%COMP%]{display:inline-block;vertical-align:text-top}.toggle-inactive[_ngcontent-%COMP%]{pointer-events:none;opacity:.4}.padua-wrapper-product-icon-alias[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center}@media only screen and (max-width: 1023px) and (min-width: 320px){.padua-grid-td-content-group[_ngcontent-%COMP%]{display:inline-block;vertical-align:text-top}.padua-grid-td-content-group[_ngcontent-%COMP%]   .padua-grid-td-content[_ngcontent-%COMP%]{display:block!important;width:auto!important;height:15px}.padua-grid-td-content-group[_ngcontent-%COMP%]   .padua-grid-td-content[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:12px}}"]}),wt=(0,s.gn)([(0,a.Jq)("Administration.UI.Sites.SitePermissionsRow")],wt),wt.retain={};let yt=Lt=class extends ye.H{constructor(){super()}static mapFromUser(e,t=!1){const n=new Lt;return n.userId=e.userId,n.name=e.name,n.lastName=e.lastName,n.userName=e.userName,n.userTypeString=e.userType.value,n.user=e,n.selected=t,n.itemSelectionEnabled=!0,n.showItemSelectionCheck=!0,n.selectable=!0,n.listItemId=e.userId.toString(),n}clone(e){const t=(0,a.Fs)("Administration.UI.Sites.Classes.SimpleUserListItem");return t.userId=this.userId,t.name=this.name,t.lastName=this.lastName,t.userName=this.userName,t.userTypeString=this.userTypeString,t.user=this.user,t.listItemId=this.listItemId,t.itemSelectionEnabled=e,t.showItemSelectionCheck=e,t.selectable=e,t}};yt=Lt=(0,s.gn)([(0,a.Jq)("Administration.UI.Sites.Classes.SimpleUserListItem")],yt),yt.retain={};let At=class extends se{constructor(){super(),this.baseResourcePath="administration.sites.components.userSelectionStep",this.checkboxRenderMode=l.vA7.checkBox,this.findUsers=this.whenPagingIsReady(this.findUsers.bind(this),"findUsers"),this.usersService=this.getDependency("Administration.UI.Users.Services.Users"),this.loadingList=!0,this.showListLoadMore=!0,this.visibleListItems=[],this.sortCriteria="UserName",this.sortOrder=M.$g.ascending,this.initializeUserFilters(),this.stepProperties.headerDisplayMode="permissionsConfigurationMode"}componentOnInit(){this.stepIsActive=!0,this.sitePermissionsWizardState.selectedUsers=[],this.contextInfo.user&&this.findUsers()}init(e){e.targetStepIndex===ce.UserSelectionStep?(this.stepIsActive=!0,this.contentStatus.isLoading=!1,this.contextInfo.user&&(this.visibleListItems=[],this.initializing=!0,this.findUsers())):(this.stepIsActive=!1,this.searchTerm="",this.selectedFilterId=ce.SelectionStateFilter_All_Id,this.selectedUserTypeFilter=ce.UserSelectionUserTypeFilter_All_Id,this.userSelectionFilter.reset(),this.userTypeFilter.reset())}clean(){this.sitePermissionsWizardState.selectedUsers=[],this.list.componentLogic.changeSelectionAllItems(!1),this.contentStatus.isValid=!1}findUsers(){let e=!0;const t=(0,a.Fs)("Administration.UI.Users.MethodParameters.GetUsersBySiteIdIn");if(t.siteId=this.contextInfo.user.site.siteId,t.userId=this.contextInfo.user.userId,t.pagingFilter=new M.me,t.pagingFilter.pagingData=new M.BI,t.pagingFilter.pagingData.pageSize=this.pagingHelper.getSmallPageSize(),t.pagingFilter.pagingData.pageStartIndex=this.visibleListItems.length,t.pagingFilter.orderingData=(0,a.Fs)("PagingAndFiltering.Entities.OrderingInfo"),t.pagingFilter.orderingData.orderByField=this.sortCriteria,t.pagingFilter.orderingData.orderByOptions=this.sortOrder,t.pagingFilter.predicates=(0,a.Fs)("PagingAndFiltering.Entities.FilterPredicates"),t.pagingFilter.predicates.filters=[],!a.io.isNullOrEmpty(this.searchTerm)){const e=(0,a.Fs)("PagingAndFiltering.Entities.FilterPredicate");e.field="globalFilter",e.filterValue=this.searchTerm,e.name="globalFilter",e.filterOperator=M.pg.doesContain,t.pagingFilter.predicates.filters.push(e)}if(this.selectedFilterId===ce.SelectionStateFilter_NotSelected_Id){const e=(0,a.Fs)("PagingAndFiltering.Entities.FilterPredicate");e.field="ExcludedIds",e.filterValue=this.sitePermissionsWizardState.selectedUsers.map(e=>e.userId).join(","),e.name="ExcludedIds",e.filterOperator=M.pg.doesContain,t.pagingFilter.predicates.filters.push(e)}if(this.selectedFilterId===ce.SelectionStateFilter_Selected_Id)if(this.list.componentLogic.getSelectedItems().length>0){const e=(0,a.Fs)("PagingAndFiltering.Entities.FilterPredicate");e.field="IncludedIds",e.filterValue=this.list.componentLogic.getSelectedItems().map(e=>e.userId).join(","),e.name="IncludedIds",e.filterOperator=M.pg.doesContain,t.pagingFilter.predicates.filters.push(e)}else e=!1;if(this.selectedUserTypeFilter&&this.selectedUserTypeFilter!==ce.UserSelectionUserTypeFilter_All_Id){const e=(0,a.Fs)("PagingAndFiltering.Entities.FilterPredicate");e.field="UserType",e.filterValue=this.selectedUserTypeFilter,e.name="UserType",e.filterOperator=M.pg.doesContain,t.pagingFilter.predicates.filters.push(e)}e&&(this.loadingList=!0,this.addSubscription("fetchUsers",this.usersService.usersBySiteId(t).subscribe(this.processGetUsersBySiteIdResponse.bind(this))))}showAllUsers(){this.selectedFilterId=ce.SelectionStateFilter_All_Id,this.showListLoadMore=!1,this.visibleListItems=[],this.findUsers()}showNonSelectedUsers(){this.selectedFilterId=ce.SelectionStateFilter_NotSelected_Id,this.showListLoadMore=!1,this.visibleListItems=[],this.findUsers()}showSelectedUsers(){this.selectedFilterId=ce.SelectionStateFilter_Selected_Id,this.showListLoadMore=!1,this.visibleListItems=[],this.findUsers()}processSearchTermChanged(e){this.searchTerm=e.searchTerm,this.visibleListItems=[],this.findUsers()}userIsSelected(e){return this.sitePermissionsWizardState.selectedUsers.some(t=>t.userId===e.userId)}processGetUsersBySiteIdResponse(e){this.endSubscription("fetchUsers");let t=e.users;const n=this.initializing&&a.io.isNotNullOrEmpty(this.sitePermissionsWizardState.selectedUsers);t.length>0&&(n&&(t=t.filter(e=>!this.sitePermissionsWizardState.selectedUsers.some(t=>
1t.userId===e.userId))),this.visibleListItems=this.visibleListItems.concat(t.map(e=>yt.mapFromUser(e,this.userIsSelected(e)),this)),n&&(this.visibleListItems=this.visibleListItems.concat(this.sitePermissionsWizardState.selectedUsers))),this.showListLoadMore=e.usersCount>this.visibleListItems.length,this.visibleListItems.sort((e,t)=>e.userName.localeCompare(t.userName,void 0,{sensitivity:"base"})),this.updateSelectAllCheckbox(),this.initializing&&(this.initializing=!1),this.loadingList=!1}processFilterChanged(e){e.filterFired.selectedChildrenActions[0].callback()}userLoaded(){this.findUsers()}userSelectionStateChanged(){this.updateSelectAllCheckbox(),this.sitePermissionsWizardState.selectedUsers=this.list.componentLogic.getSelectedItems(),this.contentStatus.isValid=!!a.io.isNotNullOrEmpty(this.list.componentLogic.getSelectedItems())}selectAllChanged(e){this.list.componentLogic.changeSelectionAllItems(e.newValue)}executeLogic(){this.sitePermissionsWizardState.selectedUsers=this.list.componentLogic.getSelectedItems(),this.onSuccessLogicExecute.emit({})}initializeUserFilters(){this.userTypeFilter=this.createUserTypeFilter(),this.userSelectionFilter=this.createUserSelectionFilter(),this.userFilters=[this.userTypeFilter,this.userSelectionFilter]}createUserSelectionFilter(){const e=(0,a.Fs)("Common.Entities.ActionItem","",ce.SelectionStateFilter_All_Id,`${this.baseResourcePath}.filters.showAll`,"",!0,null,[],null,this.showAllUsers.bind(this)),t=(0,a.Fs)("Common.Entities.ActionItem","",ce.SelectionStateFilter_NotSelected_Id,`${this.baseResourcePath}.filters.showNotSelected`,"",!0,null,[],null,this.showNonSelectedUsers.bind(this)),n=(0,a.Fs)("Common.Entities.ActionItem","",ce.SelectionStateFilter_Selected_Id,`${this.baseResourcePath}.filters.showSelected`,"",!0,null,[],null,this.showSelectedUsers.bind(this)),o=(0,a.Fs)("Common.Components.Filter.Classes.FilterLevelDefinition","",l.sis.Toggle,[e,t,n],{},ce.SelectionStateFilter_All_Id);return(0,a.Fs)("Common.Components.Filter.Classes.FilterLevel","",`${this.baseResourcePath}.filters.show`,o)}createUserTypeFilter(){const e=[],t=(0,a.Fs)("Common.Entities.ActionItem");t.id=ce.UserSelectionUserTypeFilter_All_Id,t.text=`${this.baseResourcePath}.filters.userTypeAll`,t.isEnabled=!0,t.icon=[(0,a.Fs)("Common.Entities.Icon","",{className:l.Whk.FILTER_ALL_PRODUCTS},{})],t.callback=(()=>{this.filterAllUserTypes()}).bind(this),e.push(t);const n=a.Ak.getMembersForEnumType("Administration.UI.Users.Entities.UserType");n.splice(0,1),n.forEach(t=>{const n=(0,a.Fs)("Common.Entities.ActionItem");n.id=ce.UserSelectionUserTypeFilter_Generic_Id.format([t.key]),n.text=`common.entities.userType.${t.value}`,n.isEnabled=!0,n.callback=(()=>{this.filterByUserType(t)}).bind(this),e.push(n)});const o=(0,a.Fs)("Common.Components.Filter.Classes.FilterLevelDefinition","",l.sis.OneColumn,e);return o.defaultSelection=ce.UserSelectionUserTypeFilter_All_Id,(0,a.Fs)("Common.Components.Filter.Classes.FilterLevel","",`${this.baseResourcePath}.filters.userTypeTitle`,o,!1,!1)}filterAllUserTypes(){this.selectedUserTypeFilter=ce.UserSelectionUserTypeFilter_All_Id,this.visibleListItems=[],this.showListLoadMore=!1,this.findUsers()}filterByUserType(e){this.selectedUserTypeFilter=e.key.toString(),this.visibleListItems=[],this.showListLoadMore=!1,this.findUsers()}showMoreClicked(){this.showListLoadMore=!1,this.findUsers()}updateSelectAllCheckbox(){this.allSelected=a.io.isNotNullOrEmpty(this.visibleListItems)&&this.visibleListItems.every(e=>e.selected)&&this.visibleListItems.length>0}userRowTapped(e,t){e.target&&"checkSelected"!==e.target.htmlFor&&t.componentLogic.processRowSelected()}};At=(0,s.gn)([(0,a.Jq)("Administration.UI.Sites.Components.UserSelectionStepLogic")],At),At.retain={};let vt=class extends At{constructor(){super()}};vt=(0,s.gn)([(0,a.Jq)("Administration.UI.Sites.Components.UserSelectionStepLogic")],vt),vt.retain={};const It=["list"];function Tt(e,t){1&e&&c._UZ(0,"icb-message-generic",14),2&e&&c.Q6J("messageMode","Warning")("showBorder",!0)("showIcon",!0)("displayMode","permissionsConfigurationPageMode widthFull")}function Ft(e,t){if(1&e){const e=c.EpF();c.TgZ(0,"icb-listRow",15,16),c.TgZ(2,"div",17),c.NdJ("tap",function(t){c.CHM(e);const n=c.MAs(1),o=c.oxw(2);return null==o.componentLogic?null:o.componentLogic.userRowTapped(t,n)}),c.TgZ(3,"icb-gridRow",18),c.TgZ(4,"grid-title-1"),c._uU(5),c.ALo(6,"translate"),c.qZA(),c.TgZ(7,"grid-title-2"),c._uU(8),c.ALo(9,"translate"),c.qZA(),c.TgZ(10,"grid-title-3"),c._uU(11),c.ALo(12,"translate"),c.qZA(),c.TgZ(13,"grid-title-4"),c._uU(14),c.ALo(15,"translate"),c.qZA(),c.TgZ(16,"grid-content-1"),c._uU(17),c.qZA(),c.TgZ(18,"grid-content-2"),c._uU(19),c.qZA(),c.TgZ(20,"grid-content-3"),c._uU(21),c.qZA(),c.TgZ(22,"grid-content-4"),c._uU(23),c.ALo(24,"translate"),c.qZA(),c.qZA(),c.qZA(),c.qZA()}if(2&e){const e=t.$implicit;c.Q6J("showRowActions",!1)("listItem",e)("selectable",!0)("hideActions",!0)("rowBehavior","select")("responsiveBreak",768)("displayMode","sizeMediumMode"),c.xp6(3),c.Q6J("displayMode","userSelectionStepMode")("isSelectableRow",!0)("columnsCount",4)("responsiveBreak",768)("showRowLines",!1),c.xp6(2),c.hij(" ",c.lcZ(6,20,"administration.sites.components.userSelectionStep.rowHeaders.userName")," "),c.xp6(3),c.hij(" ",c.lcZ(9,22,"administration.sites.components.userSelectionStep.rowHeaders.name")," "),c.xp6(3),c.hij(" ",c.lcZ(12,24,"administration.sites.components.userSelectionStep.rowHeaders.lastName")," "),c.xp6(3),c.hij(" ",c.lcZ(15,26,"administration.sites.components.userSelectionStep.rowHeaders.userType")," "),c.xp6(3),c.hij(" ",e.userName," "),c.xp6(2),c.hij(" ",e.name," "),c.xp6(2),c.hij(" ",e.lastName," "),c.xp6(2),c.hij(" ",c.lcZ(24,28,"common.entities.userType."+e.userTypeString)," ")}}function Zt(e,t){if(1&e){const e=c.EpF();c.TgZ(0,"div",1),c.YNc(1,Tt,1,4,"icb-message-generic",2),c.TgZ(2,"div",3),c.TgZ(3,"icb-list",4,5),c.NdJ("onShowMoreRows",function(){c.CHM(e);const t=c.oxw();return null==t.componentLogic?null:t.componentLogic.showMoreClicked()})("onRowSelected",function(t){c.CHM(e);const n=c.oxw();return null==n.componentLogic?null:n.componentLogic.userSelectionStateChanged(t.action,t.listItem)})("onSearchChanged",function(t){c.CHM(e);const n=c.oxw();return null==n.componentLogic?null:n.componentLogic.processSearchTermChanged(t)})("onFilterChanged",function(t){c.CHM(e);const n=c.oxw();return null==n.componentLogic?null:n.componentLogic.processFilterChanged(t)}),c.YNc(5,Ft,25,30,"ng-template"),c.TgZ(6,"list-empty-placeholder",6),c._UZ(7,"icb-empty-message",7),c.qZA(),c.TgZ(8,"list-header"),c.TgZ(9,"div",8),c.TgZ(10,"div",9),c.TgZ(11,"icb-toggle",10,11),c.NdJ("onChange",function(t){c.CHM(e);const n=c.oxw();return null==n.componentLogic?null:n.componentLogic.selectAllChanged(t)}),c.qZA(),c.qZA(),c.TgZ(13,"div",12),c.TgZ(14,"icb-gridRow",13),c.TgZ(15,"grid-content-1"),c._uU(16),c.ALo(17,"translate"),c.qZA(),c.TgZ(18,"grid-content-2"),c._uU(19),c.ALo(20,"translate"),c.qZA(),c.TgZ(21,"grid-content-3"),c._uU(22),c.ALo(23,"translate"),c.qZA(),c.TgZ(24,"grid-content-4"),c._uU(25),c.ALo(26,"translate"),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.qZA()}if(2&e){const e=c.oxw();c.xp6(1),c.Q6J("ngIf",null==e.sitePermissionsWizardState?null:e.sitePermissionsWizardState.replaceExistingPermissions),c.xp6(2),c.Q6J("listItems",null==e.componentLogic?null:e.componentLogic.visibleListItems)("loading",null==e.componentLogic?null:e.componentLogic.loadingList)("showMoreRows",null==e.componentLogic?null:e.componentLogic.showListLoadMore)("showHeader",!0)("showFilter",!0)("selectFirst",!1)("defaultSelectedItems",null==e.componentLogic||null==e.componentLogic.sitePermissionsWizardState?null:e.componentLogic.sitePermissionsWizardState.selectedUsers)("filters",null==e.componentLogic?null:e.componentLogic.userFilters)("mode","Compact")("headerLinePosition","header")("displayMode","userSelectionStepMode"),c.xp6(8),c.Q6J("renderingMode",null==e.componentLogic?null:e.componentLogic.checkboxRenderMode)("value",null==e.componentLogic?null:e.componentLogic.allSelected)("displayMode","toggleCleanMode")("disabled",0==(null==e.componentLogic?null:e.componentLogic.visibleListItems.length)),c.xp6(3),c.Q6J("displayMode","userSelectionStepMode")("isHeaderRow",!0)("isSelectableRow",!0)("columnsCount",4)("responsiveBreak",768)("showRowLines",!1),c.xp6(2),c.hij(" ",c.lcZ(17,26,"administration.sites.components.userSelectionStep.rowHeaders.userName")," "),c.xp6(3),c.hij(" ",c.lcZ(20,28,"administration.sites.components.userSelectionStep.rowHeaders.name")," "),c.xp6(3),c.hij(" ",c.lcZ(23,30,"administration.sites.components.userSelectionStep.rowHeaders.lastName")," "),c.xp6(3),c.hij(" ",c.lcZ(26,32,"administration.sites.components.userSelectionStep.rowHeaders.userType")," ")}}let zt=class extends a.H6{constructor(){super(),this.componentLogic=(0,a.Fs)("Administration.UI.Sites.Components.UserSelectionStepLogic"),this.componentLogic.componentReference=this}executeLogic(){this.componentLogic.executeLogic()}init(e){this.componentLogic.init(e)}set contentStatus(e){this.componentLogic.contentStatus=e}get contentStatus(){return this.componentLogic.contentStatus}set stepIsActive(e){this.componentLogic.stepIsActive=e}get stepIsActive(){return this.componentLogic.stepIsActive}set stepProperties(e){this.componentLogic.stepProperties=e}get stepProperties(){return this.componentLogic.stepProperties}set sitePermissionsWizardState(e){this.componentLogic.sitePermissionsWizardState=e}get sitePermissionsWizardState(){return this.componentLogic.sitePermissionsWizardState}set displayMode(e){this.componentLogic.displayMode=e}get displayMode(){return this.componentLogic.displayMode}set genericInput(e){this.componentLogic.genericInput=e}get genericInput(){return this.componentLogic.genericInput}set onSuccessLogicExecute(e){this.componentLogic.onSuccessLogicExecute=e}get onSuccessLogicExecute(){return this.componentLogic.onSuccessLogicExecute}set genericOutput(e){this.componentLogic&&this.componentLogic.genericOutput&&(this.componentLogic.genericOutput=e)}get genericOutput(){return this.componentLogic.genericOutput}set list(e){this.componentLogic.list=e}};zt.\u0275fac=function(e){return new(e||zt)},zt.\u0275cmp=c.Xpm({type:zt,selectors:[["icb-user-selection-step"]],viewQuery:function(e,t){if(1&e&&c.Gf(It,5),2&e){let e;c.iGM(e=c.CRH())&&(t.list=e.first)}},inputs:{sitePermissionsWizardState:"sitePermissionsWizardState",displayMode:"displayMode",genericInput:"genericInput"},outputs:{onSuccessLogicExecute:"onSuccessLogicExecute",genericOutput:"genericOutput"},features:[c.qOj],decls:1,vars:1,consts:[["class","tala",4,"ngIf"],[1,"tala"],["messageType","Disclaimer","size","medium","title","administration.sites.components.permissionsConfigurationPage.permissionsReplace","messageResourceKey","administration.sites.components.permissionsConfigurationPage.permissionsReplace",3,"messageMode","showBorder","showIcon","displayMode",4,"ngIf"],[1,"tala-content-list","clearboth"],["searchMode","right",3,"listItems","loading","showMoreRows","showHeader","showFilter","selectFirst","defaultSelectedItems","filters","mode","headerLinePosition","displayMode","onShowMoreRows","onRowSelected","onSearchChanged","onFilterChanged"],["list",""],[1,"florida_wrapper_loader_default"],["message","administration.sites.components.userSelectionStep.noDataInList"],[1,"tala-row","tala-row-header"],[1,"tala-row-selector-column"],[3,"renderingMode","value","displayMode","disabled","onChange"],["selectAllUsers",""],[1,"tala-row-second-column"],[3,"displayMode","isHeaderRow","isSelectableRow","columnsCount","responsiveBreak","showRowLines"],["messageType","Disclaimer","size","medium","title","administration.sites.components.permissionsConfigurationPage.permissionsReplace","messageResourceKey","administration.sites.components.permissionsConfigurationPage.permissionsReplace",3,"messageMode","showBorder","showIcon","displayMode"],[3,"showRowActions","listItem","selectable","hideActions","rowBehavior","responsiveBreak","displayMode"],["row",""],[3,"tap"],[3,"displayMode","isSelectableRow","columnsCount","responsiveBreak","showRowLines"]],template:function(e,t){1&e&&c.YNc(0,Zt,27,34,"div",0),2&e&&c.Q6J("ngIf",null==t.componentLogic?null:t.componentLogic.stepIsActive)},styles:['.tala[_ngcontent-%COMP%]{width:100%;height:100%}.tala[_ngcontent-%COMP%]   .tala-row[_ngcontent-%COMP%]{font-size:14px;border:1px solid transparent;border-bottom:1px solid #e1e1e1;display:table;padding:10px 0;vertical-align:middle;width:100%;table-layout:fixed}.tala[_ngcontent-%COMP%]   .tala-row.tala-row-header[_ngcontent-%COMP%]{table-layout:fixed;padding:0;font-size:12px;min-height:30px;border-bottom:2px solid #ec0000}.tala[_ngcontent-%COMP%]   .tala-row.tala-row-header[_ngcontent-%COMP%]   .tala-row-second-column[_ngcontent-%COMP%]{display:table-cell;vertical-align:top;padding-top:9px}.tala[_ngcontent-%COMP%]   .tala-row-selector-column[_ngcontent-%COMP%]{display:table-cell;vertical-align:middle;width:40px;padding-left:14px}.tala[_ngcontent-%COMP%]   .tala-content-list[_ngcontent-%COMP%]{padding-top:14px}.tala-row-title[_ngcontent-%COMP%]{display:none;color:#666;font-size:12px}.tala-row-title[_ngcontent-%COMP%]:after{content:":";padding-left:3px;padding-right:3px}@-moz-document url-prefix(){.tala-row.tala-row-header{height:36px!important}.tala-row.tala-row-header .tala-row-selector-column{vertical-align:top!important;padding-top:4px!important}}@media only screen and (max-width: 767px) and (min-width: 320px){.tala[_ngcontent-%COMP%]   .tala-row.tala-row-header[_ngcontent-%COMP%]{min-height:0!important}.tala[_ngcontent-%COMP%]   .tala-row.tala-row-header[_ngcontent-%COMP%]   .tala-column-25[_ngcontent-%COMP%], .tala[_ngcontent-%COMP%]   .tala-row.tala-row-header[_ngcontent-%COMP%]   .tala-row-selector-column[_ngcontent-%COMP%]{display:none}.tala[_ngcontent-%COMP%]   .tala-row[_ngcontent-%COMP%]:not(.tala-row-header)   .tala-column-25[_ngcontent-%COMP%]{display:block;width:auto;padding:0 14px 0 50px}.tala[_ngcontent-%COMP%]   .tala-row[_ngcontent-%COMP%]:not(.tala-row-header)   .tala-column-25[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle}.tala[_ngcontent-%COMP%]   .tala-row[_ngcontent-%COMP%]:not(.tala-row-header)   .tala-row-selector-column[_ngcontent-%COMP%]{position:absolute}}']}),zt=(0,s.gn)([(0,a.Jq)("Administration.UI.Sites.Components.UserSelectionStep")],zt),zt.retain={};var qt=n(1905);let Ut=class extends a.C1{constructor(){super(),this.resourcePath="administration.sites.components.aliasEditor.",this.onChange=new c.vpe,this.sitesService=(0,a.aw)("Administration.UI.Sites.Services.SitesService")}componentOnInit(){this.data={productAlias:void 0},this.generateSchema()}validateForm(){this.isDataValid=!!this.aliasEditorForm&&this.aliasEditorForm.isValid&&a.iX.isNotNull(this.data.productAlias)}closeModal(){this.aliasEditorModal.componentLogic.close(!0),this.aliasEditorForm.cleanForm(),this.aliasEditorModal.cleanErrorMessages()}confirmModal(){this.aliasEditorModal.enableLoading();const e=(0,a.Fs)("Administration.UI.Sites.MethodParameters.UpdateProductAliasIn");e.productId=this.productItem.product.productId,e.productAlias=this.data.productAlias,this.addSubscription("updateProductAlias",this.sitesService.updateProductAlias(e).subscribe(e=>{e.operationResult===l.J_Q.success&&(this.aliasEditorModal.setActionCompleted(),this.onChange.emit((0,a.Fs)("Common.Classes.OnChangeEvent","",this.componentReference,this.data.productAlias)))},e=>{throw new Error(e)}))}generateSchema(){this.schema=(0,a.Fs)("Common.Entities.Record"),this.schema.name="Edit alias",this.schema.members=[];const e=(0,a.Fs)("Common.Entities.Field");let t;e.name="productAlias",e.fieldType=l.fSu.string,e.readOnly=!1,e.labelResourceKey=`${this.resourcePath}aliasEditorModalText`,e.restrictions=[],t=(0,a.Fs)("Common.Entities.DataFieldRestriction"),t.isRequired=!0,e.restrictions.push(t),this.schema.members.push(e)}show(){this.data.productAlias=this.productItem.product?this.productItem.product.productAlias:"",this.generateSchema(),this.aliasEditorModal.componentLogic.show(),window.setTimeout(()=>{this.aliasEditorForm.componentLogic.setFocus()},50)}};Ut=(0,s.gn)([(0,a.Jq)("Administration.UI.Sites.Components.AliasEditorLogic")],Ut),Ut.retain={};let Rt=class extends Ut{constructor(){super()}};Rt=(0,s.gn)([(0,a.Jq)("Administration.UI.Sites.Compone
1nts.AliasEditorLogic")],Rt),Rt.retain={};const Et=["aliasEditorModal"],Bt=["aliasEditorForm"];let Nt=class extends a.H6{constructor(){super(),this.componentLogic=(0,a.Fs)("Administration.UI.Sites.Components.AliasEditorLogic"),this.componentLogic.componentReference=this}set aliasEditorModal(e){this.componentLogic.aliasEditorModal=e}get aliasEditorModal(){return this.componentLogic.aliasEditorModal}set aliasEditorForm(e){this.componentLogic.aliasEditorForm=e}get aliasEditorForm(){return this.componentLogic.aliasEditorForm}set productItem(e){this.componentLogic.productItem=e}get productItem(){return this.componentLogic.productItem}set data(e){this.componentLogic.data=e}get data(){return this.componentLogic.data}set schema(e){this.componentLogic.schema=e}get schema(){return this.componentLogic.schema}set isDataValid(e){this.componentLogic.isDataValid=e}get isDataValid(){return this.componentLogic.isDataValid}set onChange(e){this.componentLogic&&(this.componentLogic.onChange=e)}get onChange(){return this.componentLogic.onChange}set displayMode(e){this.componentLogic.displayMode=e}get displayMode(){return this.componentLogic.displayMode}set genericInput(e){this.componentLogic.genericInput=e}get genericInput(){return this.componentLogic.genericInput}set genericOutput(e){this.componentLogic&&(this.componentLogic.genericOutput=e)}get genericOutput(){return this.componentLogic.genericOutput}closeModal(){this.componentLogic.closeModal()}confirmModal(){this.componentLogic.confirmModal()}show(){this.componentLogic.show()}};Nt.\u0275fac=function(e){return new(e||Nt)},Nt.\u0275cmp=c.Xpm({type:Nt,selectors:[["icb-alias-editor"]],viewQuery:function(e,t){if(1&e&&(c.Gf(Et,7),c.Gf(Bt,7)),2&e){let e;c.iGM(e=c.CRH())&&(t.aliasEditorModal=e.first),c.iGM(e=c.CRH())&&(t.aliasEditorForm=e.first)}},inputs:{productItem:"productItem",displayMode:"displayMode",genericInput:"genericInput"},outputs:{onChange:"onChange",genericOutput:"genericOutput"},features:[c.qOj],decls:19,vars:26,consts:[[3,"showHeader","heightAuto","noPadding","size","title","confirmText","showConfirmButton","closeOnConfirm","cancelText","confirmEnabled","showCancelButton","onConfirm","onCancel"],["aliasEditorModal",""],[1,"comoras"],[1,"comoras-product"],[1,"comoras-product-info"],[1,"comoras-product-info-title"],[3,"field"],[1,"comoras-product-info-separator"],[1,"comoras-product-info-subtitle"],[1,"comoras-product-alias"],[3,"data","schema","hideRequiredIndicator","formControlsSize","onChange"],["aliasEditorForm",""]],template:function(e,t){1&e&&(c.TgZ(0,"icb-modalPopup",0,1),c.NdJ("onConfirm",function(){return null==t.componentLogic?null:t.componentLogic.confirmModal()})("onCancel",function(){return null==t.componentLogic?null:t.componentLogic.closeModal()}),c.ALo(2,"translate"),c.ALo(3,"translate"),c.ALo(4,"translate"),c.TgZ(5,"modal-content"),c.TgZ(6,"div",2),c.TgZ(7,"div",3),c.TgZ(8,"div",4),c._UZ(9,"i"),c.TgZ(10,"span",5),c._UZ(11,"icb-field-formatter",6),c.qZA(),c.TgZ(12,"span",7),c._uU(13,"|"),c.qZA(),c.TgZ(14,"span",8),c._UZ(15,"icb-field-formatter",6),c.qZA(),c.qZA(),c.TgZ(16,"div",9),c.TgZ(17,"icb-form",10,11),c.NdJ("onChange",function(){return null==t.componentLogic?null:t.componentLogic.validateForm()}),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.qZA()),2&e&&(c.s9C("title",c.lcZ(2,20,"administration.sites.components.aliasEditor.aliasEditorModalTitle")),c.s9C("confirmText",c.lcZ(3,22,"administration.sites.components.aliasEditor.aliasEditorModalConfirmButtonText")),c.s9C("cancelText",c.lcZ(4,24,"administration.sites.components.aliasEditor.aliasEditorModalCancelButtonText")),c.Q6J("showHeader",!1)("heightAuto",!0)("noPadding",!0)("size","small")("showConfirmButton",!0)("closeOnConfirm",!1)("confirmEnabled",t.isDataValid)("showCancelButton",!0),c.xp6(9),c.Gre("comoras-product-info-icon ",null==t.productItem?null:t.productItem.icon,""),c.xp6(2),c.Q6J("field",null==t.productItem?null:t.productItem.title),c.xp6(4),c.Q6J("field",null==t.productItem?null:t.productItem.subtitle2),c.xp6(2),c.Q6J("data",t.data)("schema",t.schema)("hideRequiredIndicator",!0)("formControlsSize","medium"))},styles:[".comoras[_ngcontent-%COMP%]   .comoras-product[_ngcontent-%COMP%]   .comoras-product-info[_ngcontent-%COMP%]{background-color:#f8f8f8;padding:10px;border-bottom:1px solid #d7d7d7}.comoras[_ngcontent-%COMP%]   .comoras-product[_ngcontent-%COMP%]   .comoras-product-info[_ngcontent-%COMP%]   .comoras-product-info-icon[_ngcontent-%COMP%]{display:inline-block;vertical-align:top;font-size:24px;text-align:center;color:#ec0000}.comoras[_ngcontent-%COMP%]   .comoras-product[_ngcontent-%COMP%]   .comoras-product-info[_ngcontent-%COMP%]   .comoras-product-info-title[_ngcontent-%COMP%]{display:inline-block;margin:0 2px}.comoras[_ngcontent-%COMP%]   .comoras-product[_ngcontent-%COMP%]   .comoras-product-info[_ngcontent-%COMP%]   .comoras-product-info-separator[_ng
1content-%COMP%]{display:inline-block;font-size:11px;margin:0 2px}.comoras[_ngcontent-%COMP%]   .comoras-product[_ngcontent-%COMP%]   .comoras-product-info[_ngcontent-%COMP%]   .comoras-product-info-subtitle[_ngcontent-%COMP%]{display:inline-block;font-size:11px;margin:0 2px}.comoras[_ngcontent-%COMP%]   .comoras-product[_ngcontent-%COMP%]   .comoras-product-alias[_ngcontent-%COMP%]{padding:10px 0 35px 11px}"]}),Nt=(0,s.gn)([(0,a.Jq)("Administration.UI.Sites.Components.AliasEditor")],Nt),Nt.retain={};let Dt=class extends a.C1{constructor(){super(),this.resourcePath="administration.sites.components.certDownload.",this.onChange=new c.vpe,this.sitesServiceCustom=(0,a.aw)("Administration.UI.SitesCustom.Services.SitesCustomProxy")}componentOnInit(){this.data={receptorName:void 0,includeBalance:!1},this.generateSchema()}validateForm(){var e,t,n,o;this.isDataValid=!!this.certDownloadForm&&this.certDownloadForm.isValid&&((null===(t=null===(e=this.productItem)||void 0===e?void 0:e.product)||void 0===t?void 0:t.productType)==l.kvN.currentAccount||(null===(o=null===(n=this.productItem)||void 0===n?void 0:n.product)||void 0===o?void 0:o.productType)==l.kvN.savingsAccount||a.iX.isNotNull(this.data.receptorName))}closeModal(){this.certDownloadModal.componentLogic.close(!0),this.certDownloadForm.cleanForm(),this.certDownloadModal.cleanErrorMessages()}confirmModal(){this.certDownloadModal.enableLoading();const e=(0,a.Fs)("Administration.UI.Administration.MethodParameters.DownloadProductCertificateIn");e.productId=this.productItem.product.productId,e.clientId=this.productItem.product.clientId,e.includeBalance=this.data.includeBalance,e.receptorName=this.data.receptorName,e.selectedLanguage=this.localization.getCurrentLanguage(),this.addSubscription("_downloadCertPdf",this.sitesServiceCustom.downloadProductCertificate(e).subscribe(this.mapReportPdf.bind(this)))}mapReportPdf(e){204===e.status&&this.certDownloadModal.setErrorMessage("administration.sites.components.certDownload.serverError",!1);const t=a.dg.buildBlob(e.body,"pdf");let n=(0,a.pg)().format("DD_MM_YYYY_HH_mm_ss"),o=this.generateFilename(this.productItem.product.productType,n);a.dg.downloadBlob(t,o,"application/pdf","pdf"),this.certDownloadModal.setActionCompleted(),this.onChange.emit((0,a.Fs)("Common.Classes.OnChangeEvent","",this.componentReference,this.data.productAlias)),this.certDownloadForm.cleanForm()}generateFilename(e,t){switch(e){case l.kvN.currentAccount:case l.kvN.savingsAccount:return this.localization.translate("myProducts.reportName.accountCertificate",[t]);case l.kvN.loan:return this.localization.translate("myProducts.reportName.loanCertificate",[t]);case l.kvN.fixedTermDeposit:return this.localization.translate("myProducts.reportName.fixedTermCertificate",[t]);default:return this.localization.translate("myProducts.reportName.accountCertificate",[t])}}generateSchema(){var e,t,n,o;let i;this.schema=(0,a.Fs)("Common.Entities.Record"),this.schema.name="Descargar certificado de cuenta",this.schema.members=[],i=(0,a.Fs)("Common.Entities.Field"),i.name="includeBalance",i.disabled=!1,i.fieldType=l.fSu.boolean,i.restrictions=[],i.labelResourceKey=`${this.resourcePath}${this.productItem?this.productItem.product.productType==l.kvN.fixedTermDeposit?"includeValue":this.productItem.product.productType==l.kvN.loan?"includeRate":"includeBalance":"includeBalance"}`;const s=(0,a.Fs)("Common.Entities.DataFieldRestriction");s.isRequired=!0,i.restrictions.push(s),this.schema.members.push(i);const c=(0,a.Fs)("Common.Entities.Field");let r;c.name="receptorName",c.fieldType=l.fSu.string,c.readOnly=!1,c.labelResourceKey=`${this.resourcePath}certDownloadModalText`,c.restrictions=[],r=(0,a.Fs)("Common.Entities.DataFieldRestriction"),r.isRequired=(null===(t=null===(e=this.productItem)||void 0===e?void 0:e.product)||void 0===t?void 0:t.productType)!=l.kvN.currentAccount&&(null===(o=null===(n=this.productItem)||void 0===n?void 0:n.product)||void 0===o?void 0:o.productType)!=l.kvN.savingsAccount,c.restrictions.push(r),this.schema.members.push(c)}show(){this.generateSchema(),this.certDownloadModal.componentLogic.show(),window.setTimeout(()=>{this.certDownloadForm.componentLogic.setFocus()},50)}};Dt=(0,s.gn)([(0,a.Jq)("Administration.UI.Sites.Components.CertDownloadLogic")],Dt),Dt.retain={};const Jt=["certDownloadModal"],Ht=["certDownloadForm"];let Qt=class extends a.H6{constructor(){super(),this.componentLogic=(0,a.Fs)("Administration.UI.Sites.Components.CertDownloadLogic"),this.componentLogic.componentReference=this}set certDownloadModal(e){this.componentLogic.certDownloadModal=e}get certDownloadModal(){return this.componentLogic.certDownloadModal}set certDownloadForm(e){this.componentLogic.certDownloadForm=e}get certDownloadForm(){return this.componentLogic.certDownloadForm}set productItem(e){this.componentLogic.productItem=e}get productItem(){return this.componentLogic.productItem}set data(e){this.componentLogic.data=e}get data(){return this.componentLogic.data}set schema(e){this.componentLogic.schema=e}get schema(){return this.componentLogic.schema}set isDataValid(e){this.componentLogic.isDataValid=e}get isDataValid(){return this.componentLogic.isDataValid}set onChange(e){this.componentLogic&&(this.componentLogic.onChange=e)}get onChange(){return this.componentLogic.onChange}set displayMode(e){this.componentLogic.displayMode=e}get displayMode(){return this.componentLogic.displayMode}set genericInput(e){this.componentLogic.genericInput=e}get genericInput(){return this.componentLogic.genericInput}set genericOutput(e){this.componentLogic&&(this.componentLogic.genericOutput=e)}get genericOutput(){return this.componentLogic.genericOutput}closeModal(){this.componentLogic.closeModal()}confirmModal(){this.componentLogic.confirmModal()}show(){this.componentLogic.show()}};Qt.\u0275fac=function(e){return new(e||Qt)},Qt.\u0275cmp=c.Xpm({type:Qt,selectors:[["icb-cert-download"]],viewQuery:function(e,t){if(1&e&&(c.Gf(Jt,7),c.Gf(Ht,7)),2&e){let e;c.iGM(e=c.CRH())&&(t.certDownloadModal=e.first),c.iGM(e=c.CRH())&&(t.certDownloadForm=e.first)}},inputs:{productItem:"productItem",displayMode:"displayMode",genericInput:"genericInput"},outputs:{onChange:"onChange",genericOutput:"genericOutput"},features:[c.qOj],decls:15,vars:24,consts:[[3,"showHeader","heightAuto","noPadding","size","title","confirmText","showConfirmButton","closeOnConfirm","cancelText","confirmEnabled","showCancelButton","onConfirm","onCancel"],["certDownloadModal",""],[1,"comoras"],[1,"comoras-product"],[1,"comoras-product-info"],[1,"comoras-product-info-title"],[1,"comoras-product-alias"],[3,"data","schema","hideRequiredIndicator","formControlsSize","onChange"],["certDownloadForm",""]],template:function(e,t){1&e&&(c.TgZ(0,"icb-modalPopup",0,1),c.NdJ("onConfirm",function(){return null==t.componentLogic?null:t.componentLogic.confirmModal()})("onCancel",function(){return null==t.componentLogic?null:t.componentLogic.closeModal()}),c.ALo(2,"translate"),c.ALo(3,"translate"),c.ALo(4,"translate"),c.TgZ(5,"modal-content"),c.TgZ(6,"div",2),c.TgZ(7,"div",3),c.TgZ(8,"div",4),c.TgZ(9,"span",5),c._uU(10),c.ALo(11,"translate"),c.qZA(),c.qZA(),c.TgZ(12,"div",6),c.TgZ(13,"icb-form",7,8),c.NdJ("onChange",function(){return null==t.componentLogic?null:t.componentLogic.validateForm()}),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.qZA()),2&e&&(c.s9C("title",c.lcZ(2,16,"administration.sites.components.certDownload.certDownloadModalTitle")),c.s9C("confirmText",c.lcZ(3,18,"administration.sites.components.certDownload.certDownloadModalConfirmButtonText")),c.s9C("cancelText",c.lcZ(4,20,"administration.sites.components.certDownload.certDownloadModalCancelButtonText")),c.Q6J("showHeader",!1)("heightAuto",!0)("noPadding",!0)("size","small")("showConfirmButton",!0)("closeOnConfirm",!1)("confirmEnabled",t.isDataValid)("showCancelButton",!0),c.xp6(10),c.Oqu(c.lcZ(11,22,"administration.sites.components.certDownload.certDownloadModalSubTitle")),c.xp6(3),c.Q6J("data",t.data)("schema",t.schema)("hideRequiredIndicator",!0)("formControlsSize","medium"))},styles:[".comoras[_ngcontent-%COMP%]   .comoras-product[_ngcontent-%COMP%]   .comoras-product-info[_ngcontent-%COMP%]{background-color:#f8f8f8;padding:10px;border-bottom:1px solid #d7d7d7}.comoras[_ngcontent-%COMP%]   .comoras-product[_ngcontent-%COMP%]   .comoras-product-info[_ngcontent-%COMP%]   .comoras-product-info-icon[_ngcontent-%COMP%]{display:inline-block;vertical-align:top;font-size:24px;text-align:center;color:#ec0000}.comoras[_ngcontent-%COMP%]   .comoras-product[_ngcontent-%COMP%]   .comoras-product-info[_ngcontent-%COMP%]   .comoras-product-info-title[_ngcontent-%COMP%]{display:inline-block;margin:0 2px}.comoras[_ngcontent-%COMP%]   .comoras-product[_ngcontent-%COMP%]   .comoras-product-info[_ngcontent-%COMP%]   .comoras-product-info-separator[_ng
1content-%COMP%]{display:inline-block;font-size:11px;margin:0 2px}.comoras[_ngcontent-%COMP%]   .comoras-product[_ngcontent-%COMP%]   .comoras-product-info[_ngcontent-%COMP%]   .comoras-product-info-subtitle[_ngcontent-%COMP%]{display:inline-block;font-size:11px;margin:0 2px}.comoras[_ngcontent-%COMP%]   .comoras-product[_ngcontent-%COMP%]   .comoras-product-alias[_ngcontent-%COMP%]{padding:10px 0 35px 11px}"]}),Qt=(0,s.gn)([(0,a.Jq)("Administration.UI.Sites.Components.CertDownload")],Qt),Qt.retain={};var Wt=n(77797);let Gt=class extends a.C1{constructor(){super(),this.maxAmountFeature=Wt.Feature.administrationSitesTransactionAmounts,this.listItems=[],this.approvalSchemeService=this.getDependency("ApprovalScheme.UI.ApprovalScheme.Services.ApprovalScheme"),this.contentStatus=(0,a.Fs)("Common.Components.Wizard.Classes.StepContentStatus"),this.contentStatus.isValid=!1,this.onSuccessLogicExecute=new c.vpe,this.onSearchChanged=new c.vpe}componentOnInit(){this.isActive=!0,this.getPendingApprovals()}getPendingApprovals(){const e=(0,a.Fs)("ApprovalScheme.UI.ApprovalScheme.MethodParameters.GetPendingApprovalsBySiteIn");e.feature=this.maxAmountFeature,this.addSubscription("_pendingApprovalsBySite",this.approvalSchemeService.pendingApprovalsBySite(e).subscribe((e=>{a.io.isNotNullOrEmpty(e.pendingApprovals)&&(this.pendingApprovalOperationId=e.pendingApprovals[0].operationId.toString()),this.contentStatus.isValid=!this.pendingApprovalOperationId}).bind(this)))}executeLogic(){this.onSuccessLogicExecute.emit({})}init(e){0===e.targetStepIndex?(e.sender.wizard.shutdownLoadingSteps(),this.isActive=!0):this.isActive=!1}processSearchTermChanged(e){this.onSearchChanged.emit(e)}operationApprovalDisclaimerLoaded(e){const t=e.component;t.feature=this.maxAmountFeature,t.operationId=+this.pendingApprovalOperationId,t.messageGenericTitle=this.localization.translate("administration.sites.components.transactionAmountsDisplay.operationApprovalDisclaimerTitle",null)}};Gt=(0,s.gn)([(0,a.Jq)("Administration.UI.Sites.Components.TransactionAmountsDisplayLogic")],Gt),Gt.retain={};let Vt=class extends Gt{constructor(){super()}};function $t(e,t){if(1&e){const e=c.EpF();c.TgZ(0,"icb-dynamic-loader",9),c.NdJ("onComponentLoaded",function(t){c.CHM(e);const n=c.oxw(2);return null==n.componentLogic?null:n.componentLogic.operationApprovalDisclaimerLoaded(t)}),c.qZA()}2&e&&c.Q6J("module","ApprovalScheme.UI.ApprovalScheme.Components.OperationApprovalDisclaimer")("moduleUrlSegment","___operationApprovalDisclaimer")}function jt(e,t){if(1&e&&(c.TgZ(0,"icb-listRow",10),c.TgZ(1,"icb-gridRow",11),c.TgZ(2,"grid-title-1",12),c._uU(3),c.ALo(4,"translate"),c.qZA(),c.TgZ(5,"grid-title-2",12),c._uU(6),c.ALo(7,"translate"),c.qZA(),c.TgZ(8,"grid-content-1",13),c._uU(9),c.qZA(),c.TgZ(10,"grid-content-2",13),c._uU(11),c.ALo(12,"number"),c.qZA(),c.qZA(),c.qZA()),2&e){const e=t.$implicit,n=c.oxw(2);c.Q6J("showRowActions",!1)("listItem",e)("rowBehavior","simple")("responsiveBreak",768),c.xp6(1),c.Q6J("columnsCount",2)("responsiveBreak",768)("showRowLines",!1)("alignContent2","right"),c.xp6(2),c.hij(" ",c.lcZ(4,12,"administration.sites.components.transactionAmountsDisplay.subTransactionType")," "),c.xp6(3),c.hij(" ",c.lcZ(7,14,"administration.sites.components.transactionAmountsDisplay.maxAmountPerDayWithCurrency#"+(null==n.wizardState.validationCurrency?null:n.wizardState.validationCurrency.currencyAlpha3Code))," "),c.xp6(3),c.Oqu(e.label),c.xp6(2),c.Oqu(c.lcZ(12,16,e.amount))}}function Yt(e,t){if(1&e){const e=c.EpF();c.TgZ(0,"div",1),c.YNc(1,$t,1,2,"icb-dynamic-loader",2),c._UZ(2,"div",3),c.TgZ(3,"icb-list",4,5),c.NdJ("onSearchChanged",function(t){return c.CHM(e),c.oxw().componentLogic.processSearchTermChanged(t)}),c.YNc(5,jt,13,18,"ng-template"),c.TgZ(6,"list-header"),c.TgZ(7,"icb-gridRow",6),c.TgZ(8,"grid-content-1"),c.TgZ(9,"span"),c._uU(10),c.ALo(11,"translate"),c.qZA(),c.qZA(),c.TgZ(12,"grid-content-2"),c.TgZ(13,"span"),c._uU(14),c.ALo(15,"translate"),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.TgZ(16,"list-empty-placeholder",7),c._UZ(17,"icb-empty-message",8),c.qZA(),c.qZA(),c.qZA()}if(2&e){const e=c.oxw();c.xp6(1),c.Q6J("ngIf",null==e.componentLogic?null:e.componentLogic.pendingApprovalOperationId),c.xp6(2),c.Q6J("listItems",e.listItems)("showExport",!1)("showHeader",!0)("mode","Compact")("headerLinePosition","header")("displayMode","transactionAmountsDisplayMode")("showRowActions",!1),c.xp6(4),c.Q6J("isHeaderRow",!0)("columnsCount",2)("responsiveBreak",768)("alignContent2","right")("displayMode","transactionAmountsDisplayHeaderMode"),c.xp6(3),c.Oqu(c.lcZ(11,15,"administration.sites.components.transactionAmountsDisplay.subTransactionType")),c.xp6(4),c.Oqu(c.lcZ(15,17,"administration.sites.components.transactionAmountsDisplay.maxAmountPerDayWithCurrency#"+(null==e.wizardState.validationCurrency?null:e.wizardState.validationCurrency.currencyAlpha3Code)))}}Vt=(0,s.gn)([(0,a.Jq)("Administration.UI.Sites.Components.TransactionAmountsDisplayLogic")],Vt),Vt.retain={};let Kt=class extends a.H6{constructor(){super(),this.componentLogic=(0,a.Fs)("Administration.UI.Sites.Components.TransactionAmountsDisplayLogic"),this.componentLogic.componentReference=this}set wizardState(e){this.componentLogic.wizardState=e}get wizardState(){return this.componentLogic.wizardState}set listItems(e){this.componentLogic.listItems=e}get listItems(){return this.componentLogic.listItems}set onSuccessLogicExecute(e){this.componentLogic&&this.componentLogic.onSuccessLogicExecute&&(this.componentLogic.onSuccessLogicExecute=e)}get onSuccessLogicExecute(){return this.componentLogic.onSuccessLogicExecute}set onSearchChanged(e){this.componentLogic&&this.componentLogic.onSearchChanged&&(this.componentLogic.onSearchChanged=e)}get onSearchChanged(){return this.componentLogic.onSearchChanged}set genericInput(e){this.componentLogic.genericInput=e}get genericInput(){return this.componentLogic.genericInput}set displayMode(e){this.componentLogic.displayMode=e}get displayMode(){return this.componentLogic.displayMode}set genericOutput(e){this.componentLogic&&this.componentLogic.genericOutput&&(this.componentLogic.genericOutput=e)}get genericOutput(){return this.componentLogic.genericOutput}};Kt.\u0275fac=function(e){return new(e||Kt)},Kt.\u0275cmp=c.Xpm({type:Kt,selectors:[["icb-transaction-amounts-display"]],inputs:{wizardState:"wizardState",listItems:"listItems",genericInput:"genericInput",displayMode:"displayMode"},outputs:{onSuccessLogicExecute:"onSuccessLogicExecute",onSearchChanged:"onSearchChanged",genericOutput:"genericOutput"},features:[c.qOj],decls:1,vars:1,consts:[["class","gonda",4,"ngIf"],[1,"gonda"],[3,"module","moduleUrlSegment","onComponentLoaded",4,"ngIf"],[1,"clear"],["searchMode","right",3,"listItems","showExport","showHeader","mode","headerLinePosition","displayMode","showRowActions","onSearchChanged"],["list",""],[3,"isHeaderRow","columnsCount","responsiveBreak","alignContent2","displayMode"],[1,"florida_wrapper_loader_default"],["message","administration.sites.components.userSelectionStep.noDataInList"],[3,"module","moduleUrlSegment","onComponentLoaded"],[3,"showRowActions","listItem","rowBehavior","responsiveBreak"],[3,"columnsCount","responsiveBreak","showRowLines","alignContent2"],[1,"rowTitle"],[1,"rowContent"]],template:function(e,t){1&e&&c.YNc(0,Yt,18,19,"div",0),2&e&&c.Q6J("ngIf",t.componentLogic.isActive)},styles:['.split_sessionEnd[_ngcontent-%COMP%]{display:none}.gonda[_ngcontent-%COMP%]   .gonda-row[_ngcontent-%COMP%]{font-size:14px;width:100%;display:table;padding:10px 0;border-bottom:1px solid #e1e1e1}.gonda[_ngcontent-%COMP%]   .gonda-row.gonda-list-header[_ngcontent-%COMP%]{font-size:12px;border:none;color:#666;padding:0;min-height:28px}.gonda[_ngcontent-%COMP%]   .gonda-row.gonda-list-header[_ngcontent-%COMP%]   .gonda-column[_ngcontent-%COMP%]{vertical-align:middle}.gonda[_ngcontent-%COMP%]   .gonda-row[_ngcontent-%COMP%]   .gonda-column[_ngcontent-%COMP%]{display:table-cell}.gonda[_ngcontent-%COMP%]   .gonda-row[_ngcontent-%COMP%]   .gonda-label-column-text[_ngcontent-%COMP%]{display:none;color:#8a8a8a;font-size:12px}.gonda[_ngcontent-%COMP%]   .gonda-row[_ngcontent-%COMP%]   .gonda-label-column-text[_ngcontent-%COMP%]:after{content:": ";padding-right:6px}.gonda[_ngcontent-%COMP%]   .gonda-row[_ngcontent-%COMP%]   .gonda-label-column-value[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle;color:#333}.gonda[_ngcontent-%COMP%]   .gonda-row[_ngcontent-%COMP%]   .gonda-label-column[_ngcontent-%COMP%]{width:30%;padding-left:16px}.gonda[_ngcontent-%COMP%]   .gonda-row[_ngcontent-%COMP%]   .gonda-amount-column[_ngcontent-%COMP%]{width:30%;text-align:right}@media screen and (max-width: 1023px) and (min-width: 768px){.gonda[_ngcontent-%COMP%]   .gonda-row[_ngcontent-%COMP%]   .gonda-amount-column[_ngcontent-%COMP%]{width:40%}}@media screen and (max-width: 767px) and (min-width: 641px){.gonda[_ngcontent-%COMP%]   .gonda-row[_ngcontent-%COMP%]{display:block}.gonda[_ngcontent-%COMP%]   .gonda-row.gonda-list-header[_ngcontent-%COMP%]{min-height:0}.gonda[_ngcontent-%COMP%]   .gonda-row.gonda-list-header[_ngcontent-%COMP%]   .gonda-column[_ngcontent-%COMP%]{display:none}.gonda[_ngcontent-%COMP%]   .gonda-row[_ngcontent-%COMP%]   .gonda-column[_ngcontent-%COMP%]{display:block;width:auto;text-align:left;padding-left:16px}.gonda[_ngcontent-%COMP%]   .gonda-row[_ngcontent-%COMP%]   .gonda-column.gonda-description-column[_ngcontent-%COMP%]{display:none}.gonda[_ngcontent-%COMP%]   .gonda-row[_ngcontent-%COMP%]   .gonda-column[_ngcontent-%COMP%]   .gonda-label-column-text[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle}.gonda[_ngcontent-%COMP%]   .gonda-row[_ngcontent-%COMP%]   .gonda-amount-column[_ngcontent-%COMP%]{width:auto}}@media screen and (max-width: 640px) and (min-width: 320px){.gonda[_ngcontent-%COMP%]   .gonda-row[_ngcontent-%COMP%]{display:block}.gonda[_ngcontent-%COMP%]   .gonda-row.gonda-list-header[_ngcontent-%COMP%]{min-height:0}.gonda[_ngcontent-%COMP%]   .gonda-row.gonda-list-header[_ngcontent-%COMP%]   .gonda-column[_ngcontent-%COMP%]{display:none}.gonda[_ngcontent-%COMP%]   .gonda-row[_ngcontent-%COMP%]   .gonda-column[_ngcontent-%COMP%]{display:block;width:auto;text-align:left;padding-left:16px}.gonda[_ngcontent-%COMP%]   .gonda-row[_ngcontent-%COMP%]   .gonda-column.gonda-description-column[_ngcontent-%COMP%]{display:none}.gonda[_ngcontent-%COMP%]   .gonda-row[_ngcontent-%COMP%]   .gonda-column[_ngcontent-%COMP%]   .gonda-label-column-text[_ngcontent-%COMP%]{display:block}.gonda[_ngcontent-%COMP%]   .gonda-row[_ngcontent-%COMP%]   .gonda-amount-column[_ngcontent-%COMP%]{width:auto;padding-top:8px}}.clear[_ngcontent-%COMP%]{clear:both}']}),Kt=(0,s.gn)([(0,a.Jq)("Administration.UI.Sites.Components.TransactionAmountsDisplay")],Kt),Kt.retain={};let Xt=class extends a.C1{constructor(){super(),this.returnDelayMilliseconds=a.XL.AppSettings.modalPopup.closeDelay,this.contentStatus=(0,a.Fs)("Common.Components.Wizard.Classes.StepContentStatus"),this.onSuccessLogicExecute=new c.vpe,this.sitesService=this.getDependency("Administration.UI.Sites.Services.SitesService"),this.stepProperties=this.initializeStepProperties()}executeLogic(){if(this.serviceCalled)this.completeStep();else{this.contentStatus.nextButtonState=l.BNj.loading;const e=this.generateServiceInput();this.approvalProcessor.componentLogic.executeMethod(this.executeUpdateTransactionAmounts.bind(this),e),this.serviceCalled=!0}}completeStep(){this.onSuccessLogicExecute.emit({}),this.serviceCalled=!1}executeUpdateTransactionAmounts(e){return this.sitesService.updateSiteTransactionsAmountsByFeature(e)}processUpdateResult(e){switch(this.stepProperties=this.initializeStepProperties(),this.stepProperties.showBottomMessage=!0,this.stepProperties.showBack=!1,this.stepProperties.showAdditionalButtons=!1,this.stepProperties.bottomMessageOptions=(0,a.Fs)("Common.Components.MessageGeneric.Classes.MessageGenericOptions"),this.stepProperties.bottomMessageOptions.title=`administration.sites.components.transactionAmountsEdit.resultMessage.${e.operationResult.value}`,this.stepProperties.bottomMessageOptions.messageResourceKey=`administration.sites.components.transactionAmountsEdit.resultMessage.${e.operationResult.value}`,this.stepProperties.bottomMessageOptions.messageType="Disclaimer",this.stepProperties.bottomMessageOptions.showIcon=!0,this.stepProperties.bottomMessageOptions.showBorder=!0,e.operationResult){case l.J_Q.success:this.stepProperties.bottomMessageOptions.messageMode="Success";break;case ie.X5.operationPending:this.stepProperties.bottomMessageOptions.messageMode="Warning";break;case ie.X5.errorNoFeatureProductAmountCombinationFound:case ie.X5.errorActiveInstanceFound:this.stepProperties.bottomMessageOptions.messageMode="Error";break;default:this.stepProperties.bottomMessageOptions.messageMode="Error",this.stepProperties.bottomMessageOptions.messageResourceKey="administration.sites.components.c
1onfirmPermissionsStep.permissionsNotUpdatedErrorOrOther"}e.operationResult===l.J_Q.success||e.operationResult===ie.X5.operationPending?(this.contentStatus.nextButtonState=l.BNj.actionCompleted,this.addTimeout("processUpdateResult",setTimeout(()=>{this.completeStep()},this.returnDelayMilliseconds))):(this.stepProperties.showBottomMessage=!1,this.stepProperties.showBack=!0,this.stepProperties.showAdditionalButtons=!0,this.contentStatus.nextButtonState=l.BNj.idle,this.cancel())}generateServiceInput(){const e=(0,a.Fs)("Administration.UI.Sites.MethodParameters.UpdateSiteTransactionsAmountsByFeatureIn");return e.siteTransactionsAmounts=[],this.wizardState.listItems.forEach(t=>{const n=(0,a.Fs)("Administration.UI.Sites.Entities.SiteTransactionsAmounts");n.maxDailyAmountSite=this.data[t.subTransactionType.value],n.subTransactionTypeId=t.subTransactionType.key,e.siteTransactionsAmounts.push(n)}),e}init(e){1===e.targetStepIndex?(e.sender.wizard.shutdownLoadingSteps(),this.initializeForm(),this.isActive=!0):this.isActive=!1,this.addSubscription("configurationItemByKeyFrameworkInputAmountMaxLength",this.configurationItemsService.configurationItemByKey(J.lL.frameworkInputAmountMaxLength).subscribe(e=>{this.amountMaxLength=parseInt(e.configurationItems[0].configurationItemValue)}))}initializeForm(){this.schema=(0,a.Fs)("Common.Entities.Record"),this.schema.name="TransactionAmounts",this.schema.labelResourceKey=`administration.sites.components.transactionAmountsEdit.formTitle#${this.wizardState.validationCurrency.currencyAlpha3Code}`,this.schema.members=[],this.data={};const e=(0,a.Fs)("Common.Pipes.DecimalPipe");this.wizardState.listItems.forEach(t=>{const n=(0,a.Fs)("Common.Entities.Field");let o;n.name=t.subTransactionType.value,n.helpTextResourceKey=`administration.sites.components.transactionAmountsEdit.fieldDescription#${e.transform(t.maxAmount)}`,n.labelResourceKey=this.localization.translate(`transactions.entities.subTransactionTypeEnum.${t.subTransactionType.value}`,[]),n.fieldType=l.fSu.decimal,o=(0,a.Fs)("Common.Entities.DataFieldRestriction"),o.minValue="0",o.length=this.amountMaxLength,o.maxValue=t.maxAmount.toString(),o.minValueIncluded=!0,o.maxValueIncluded=!0,o.isRequired=!0,n.restrictions=[o],this.schema.members.push(n),this.data[t.subTransactionType.value]=t.originalAmount},this),this.schema.members.sort((e,t)=>e.labelResourceKey.localeCompare(t.labelResourceKey,void 0,{sensitivity:"base"}))}initializeStepProperties(){const e=(0,a.Fs)("Common.Components.Wizard.Classes.WizardStepProperties");return e.showRealHeader=!0,e.backPosition="stepTitle",e.showCancelButton=!1,e.showAdditionalButtons=!0,e.showFixedButtons=!0,e.showProgress=!1,e.showWizardTitle=!1,e.bottomMessageOptions=void 0,e.showCancelButton=!1,e.showBottomMessage=!1,e.headerDisplayMode="transactionAmountsEditMode",e.nextButtonText="administration.sites.components.transactionAmountsEdit.saveButtonText",this.contentStatus.nextButtonState=l.BNj.idle,e}formDataUpdated(e){this.contentStatus.isValid=e.sender.isValid&&this.wizardState.someValuesChanged(this.data)}cancel(){this.serviceCalled=void 0,this.contentStatus.nextButtonState=l.BNj.idle}approvalProcessorLoaded(e){this.approvalProcessor=e.component,this.addSubscription("_processScheduleSelectorOnMethodExecutedCompleted",this.approvalProcessor.onMethodExecutedCompleted.subscribe(e=>{this.processUpdateResult(e)})),this.addSubscription("_processScheduleSelectorOnMethodExecutedCancel",this.approvalProcessor.onMethodExecutedCancel.subscribe(()=>{this.cancel()}))}};Xt=(0,s.gn)([(0,a.Jq)("Administration.UI.Sites.Components.TransactionAmountsEditLogic")],Xt),Xt.retain={};let en=class extends Xt{constructor(){super()}};function tn(e,t){if(1&e){const e=c.EpF();c.TgZ(0,"div",2),c.TgZ(1,"icb-form",3),c.NdJ("onChange",function(t){return c.CHM(e),c.oxw().componentLogic.formDataUpdated(t)}),c.qZA(),c.qZA()}if(2&e){const e=c.oxw();c.xp6(1),c.Q6J("data",e.componentLogic.data)("schema",e.componentLogic.schema)("formModeView","edit")("formControlsSize","medium")("displayMode","mediumTopRightMode")("contentDisplayMode","fullHorizontalMode")}}en=(0,s.gn)([(0,a.Jq)("Administration.UI.Sites.Components.TransactionAmountsEditLogic")],en),en.retain={};let nn=class extends a.H6{constructor(){super(),this.componentLogic=(0,a.Fs)("Administration.UI.Sites.Components.TransactionAmountsEditLogic"),this.componentLogic.componentReference=this}set wizardState(e){this.componentLogic.wizardState=e}get wizardState(){return this.componentLogic.wizardState}set onSuccessLogicExecute(e){this.componentLogic&&this.onSuccessLogicExecute&&(this.componentLogic.onSuccessLogicExecute=e)}get onSuccessLogicExecute(){return this.componentLogic.onSuccessLogicExecute}set genericInput(e){this.componentLogic.genericInput=e}get genericInput(){return this.componentLogic.genericInput}set displayMode(e){this.componentLogic.displayMode=e}get displayMode(){return this.componentLogic.displayMode}set genericOutput(e){this.componentLogic&&this.componentLogic.genericOutput&&(this.componentLogic.genericOutput=e)}get genericOutput(){return this.componentLogic.genericOutput}};nn.\u0275fac=function(e){return new(e||nn)},nn.\u0275cmp=c.Xpm({type:nn,selectors:[["icb-transaction-amounts-edit"]],inputs:{wizardState:"wizardState",genericInput:"genericInput",displayMode:"displayMode"},outputs:{onSuccessLogicExecute:"onSuccessLogicExecute",genericOutput:"genericOutput"},features:[c.qOj],decls:2,vars:3,consts:[["class","transaction-amounts-edit-content",4,"ngIf"],[3,"module","moduleUrlSegment","onComponentLoaded"],[1,"transaction-amounts-edit-content"],["helpStyle","rightLabel",3,"data","schema","formModeView","formControlsSize","displayMode","contentDisplayMode","onChange"]],template:function(e,t){1&e&&(c.YNc(0,tn,2,6,"div",0),c.TgZ(1,"icb-dynamic-loader",1),c.NdJ("onComponentLoaded",function(e){return null==t.componentLogic?null:t.componentLogic.approvalProcessorLoaded(e)}),c.qZA()),2&e&&(c.Q6J("ngIf",t.componentLogic.data&&t.componentLogic.isActive),c.xp6(1),c.Q6J("module","ApprovalScheme.UI.ApprovalScheme.Components.ApprovalProcessor")("moduleUrlSegment","___approvalProcessor"))},styles:['.split_sessionEnd[_ngcontent-%COMP%]{display:none}.gonda[_ngcontent-%COMP%]   .gonda-row[_ngcontent-%COMP%]{font-size:14px;width:100%;display:table;padding:10px 0;border-bottom:1px solid #e1e1e1}.gonda[_ngcontent-%COMP%]   .gonda-row.gonda-list-header[_ngcontent-%COMP%]{font-size:12px;border:none;color:#666;padding:0;min-height:28px}.gonda[_ngcontent-%COMP%]   .gonda-row.gonda-list-header[_ngcontent-%COMP%]   .gonda-column[_ngcontent-%COMP%]{vertical-align:middle}.gonda[_ngcontent-%COMP%]   .gonda-row[_ngcontent-%COMP%]   .gonda-column[_ngcontent-%COMP%]{display:table-cell}.gonda[_ngcontent-%COMP%]   .gonda-row[_ngcontent-%COMP%]   .gonda-label-column-text[_ngcontent-%COMP%]{display:none;color:#8a8a8a;font-size:12px}.gonda[_ngcontent-%COMP%]   .gonda-row[_ngcontent-%COMP%]   .gonda-label-column-text[_ngcontent-%COMP%]:after{content:": ";padding-right:6px}.gonda[_ngcontent-%COMP%]   .gonda-row[_ngcontent-%COMP%]   .gonda-label-column-value[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle;color:#333}.gonda[_ngcontent-%COMP%]   .gonda-row[_ngcontent-%COMP%]   .gonda-label-column[_ngcontent-%COMP%]{width:30%;padding-left:16px}.gonda[_ngcontent-%COMP%]   .gonda-row[_ngcontent-%COMP%]   .gonda-amount-column[_ngcontent-%COMP%]{width:30%;text-align:right}@media screen and (max-width: 1023px) and (min-width: 768px){.gonda[_ngcontent-%COMP%]   .gonda-row[_ngcontent-%COMP%]   .gonda-amount-column[_ngcontent-%COMP%]{width:40%}}@media screen and (max-width: 767px) and (min-width: 641px){.gonda[_ngcontent-%COMP%]   .gonda-row[_ngcontent-%COMP%]{display:block}.gonda[_ngcontent-%COMP%]   .gonda-row.gonda-list-header[_ngcontent-%COMP%]{min-height:0}.gonda[_ngcontent-%COMP%]   .gonda-row.gonda-list-header[_ngcontent-%COMP%]   .gonda-column[_ngcontent-%COMP%]{display:none}.gonda[_ngcontent-%COMP%]   .gonda-row[_ngcontent-%COMP%]   .gonda-column[_ngcontent-%COMP%]{display:block;width:auto;text-align:left;padding-left:16px}.gonda[_ngcontent-%COMP%]   .gonda-row[_ngcontent-%COMP%]   .gonda-column.gonda-description-column[_ngcontent-%COMP%]{display:none}.gonda[_ngcontent-%COMP%]   .gonda-row[_ngcontent-%COMP%]   .gonda-column[_ngcontent-%COMP%]   .gonda-label-column-text[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle}.gonda[_ngcontent-%COMP%]   .gonda-row[_ngcontent-%COMP%]   .gonda-amount-column[_ngcontent-%COMP%]{width:auto}}@media screen and (max-width: 640px) and (min-width: 320px){.gonda[_ngcontent-%COMP%]   .gonda-row[_ngcontent-%COMP%]{display:block}.gonda[_ngcontent-%COMP%]   .gonda-row.gonda-list-header[_ngcontent-%COMP%]{min-height:0}.gonda[_ngcontent-%COMP%]   .gonda-row.gonda-list-header[_ngcontent-%COMP%]   .gonda-column[_ngcontent-%COMP%]{display:none}.gonda[_ngcontent-%COMP%]   .gonda-row[_ngcontent-%COMP%]   .gonda-column[_ngcontent-%COMP%]{display:block;width:auto;text-align:left;padding-left:16px}.gonda[_ngcontent-%COMP%]   .gonda-row[_ngcontent-%COMP%]   .gonda-column.gonda-description-column[_ngcontent-%COMP%]{display:none}.gonda[_ngcontent-%COMP%]   .gonda-row[_ngcontent-%COMP%]   .gonda-column[_ngcontent-%COMP%]   .gonda-label-column-text[_ngcontent-%COMP%]{display:block}.gonda[_ngcontent-%COMP%]   .gonda-row[_ngcontent-%COMP%]   .gonda-amount-column[_ngcontent-%COMP%]{width:auto;padding-top:8px}}.transaction-amounts-edit-content[_ngcontent-%COMP%]{padding:28px}']}),nn=(0,s.gn)([(0,a.Jq)("Administration.UI.Sites.Components.TransactionAmountsEdit")],nn),nn.retain={};var on=n(39155),sn=n(1646),an=n(40690),cn=n(76565),ln=n(58311),rn=n(60317),dn=n(64236),pn=n(30963),gn=n(40534),mn=n(32966),un=n(34196),hn=n(67020),Cn=n(77195),_n=n(34920),fn=n(89960),Mn=n(89045),Pn=n(27791),bn=n(78076),On=n(21296),kn=n(89558),Sn=n(84697),xn=n(43377),wn=n(53001),Ln=n(75958);let yn=class{constructor(){this.selectedUsers=[]}
1featureHasChannel(e,t){return e.availableChannels.some(e=>e===t)}getSelectedUsersIds(){return this.selectedUsers.filter(e=>e.selected).map(e=>e.userId)}getSelectedProductTypes(){return this.selectedProducts.map(e=>e.productType)}getSelectedProductIds(){return this.selectedProducts.reduce((e,t)=>e.concat(t.getSelectedProducts()),[]).map(e=>e.productId)}getSelectedFeaturesWithChannels(){return this.selectedFeatures.map(e=>{const t=(0,a.Fs)("Administration.UI.Sites.Entities.SiteFeatureWithAvailableChannels");return t.siteFeature=e.siteFeature,t.availableChannels=e.channels.filter(e=>e.isAvailable&&e.isSelected).map(e=>e.channel),t})}};yn=(0,s.gn)([(0,a.Jq)("Administration.UI.Sites.Classes.SitePermissionsWizardState")],yn),yn.retain={};let An=class{};An=(0,s.gn)([(0,ae.Jq)("Administration.UI.Sites.Classes.ChannelPermissionOption")],An),An.retain={};let vn=class extends l.HCh{get subTransactionType(){return this._subTransactionType}set subTransactionType(e){this._subTransactionType=e}get originalAmount(){return this._originalAmount}set originalAmount(e){this._originalAmount=e}get amount(){return this._amount}set amount(e){this._amount=e}get maxAmount(){return this._maxAmount}set maxAmount(e){this._maxAmount=e}get label(){return this._label}set label(e){this._label=e}get edited(){return this._edited}set edited(e){this._edited=e}};vn=(0,s.gn)([(0,ae.Jq)("Administration.UI.Site.Classes.TransactionAmountListItem")],vn),vn.retain={};let In=class{constructor(){this._listItems=[]}get validationCurrency(){return this._validationCurrency}set validationCurrency(e){this._validationCurrency=e}get listItems(){return this._listItems}set listItems(e){this._listItems=e}someValuesChanged(e){return this.listItems.some(t=>e[t.subTransactionType.value]!=t.originalAmount)}};In=(0,s.gn)([(0,ae.Jq)("Administration.UI.Sites.Classes.TransactionAmountsWizardState")],In),In.retain={};var Tn=n(70650),Fn=n(79194);let Zn=class extends ye.H{constructor(){super(),this.isSelected={selected:!1}}};Zn=(0,s.gn)([(0,a.Jq)("Administration.UI.Sites.SitePermissions.Classes.ChannelItem")],Zn),Zn.retain={};let zn=class extends ye.H{constructor(){super(),this.isSelected={selected:!1}}get isDefault(){return!!this.siteUsersFeature&&this.siteUsersFeature.isAdministrative&&this.siteUsersFeature.userIsAdministrator}};zn=(0,s.gn)([(0,a.Jq)("Administration.UI.Sites.SitePermissionsRow.Classes.SitePermissionsRowItem")],zn),zn.retain={};let qn=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=c.oAB({type:e}),e.\u0275inj=c.cJS({providers:[],imports:[[o.ez,l.ezu,a.Vy,ne,qt.dg]]}),e})();c.B6R(Nt,[on.ah,sn.s5,an.l0],[cn.k]),c.B6R(Qt,[on.ah,an.l0],[cn.k]),c.B6R(wt,[o.O5,ln.wc,o.mk,rn.Jn,o.sg,o.PC,o.RF,o.n9,dn.ZD],[cn.k]),c.B6R(N,[pn._,o.O5,o.sg],[cn.k]),c.B6R(rt,[o.O5,o.sg,dn.ZD,gn.Mg],[cn.k]),c.B6R(zt,[o.O5,mn.F_,un.aV,ln.wc,rn.Jn,gn.Mg,dn.ZD,hn.x],[cn.k]),c.B6R(we,[o.O5,mn.F_,un.aV,ln.wc,rn.Jn,gn.Mg,o.sg,Cn.YU,_n.Ae,fn.RU],[cn.k]),c.B6R(Je,[o.O5,mn.F_,un.aV,ln.wc,o.mk,rn.Jn,o.sg,Cn.YU,dn.ZD,gn.Mg,on.ah],[cn.k]),c.B6R(ot,[o.O5,mn.F_,un.aV,ln.wc,Mn.UQ,Pn.Qd,dn.ZD,gn.Mg],[cn.k]),c.B6R(Kt,[o.O5,fn.RU,un.aV,ln.wc,rn.Jn,gn.Mg],[cn.k,bn.J]),c.B6R(nn,[o.O5,an.l0,fn.RU],[]);let Un=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=c.oAB({type:e}),e.\u0275inj=c.cJS({providers:[],imports:[[o.ez,l.ezu,a.Vy,qn,oe]]}),e})();c.B6R(Z,[o.mk,pn._,o.O5,fn.RU,On.aN,un.aV,wt,kn.yk,gn.Mg,on.ah,rt],[cn.k]),c.B6R(u,[Sn.en,xn.KM,dn.ZD,zt,wn.zx,ot,Ln.A5,Je,we,on.ah],[cn.k]),c.B6R(K,[o.mk,o.O5,Sn.en,xn.KM,Kt,wn.zx,nn],[cn.k])}}]);

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.