"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[54619],{54619:(o,e,i)=>{i.r(e),i.d(e,{CorePolicyViewPolicyModalComponent:()=>_});var n=i(86654),t=i(79555),l=i(54438),c=i(60177),a=i(2910),p=i(86198),r=i(58197),s=i(88246),m=i(43570),y=i(73955);function CorePolicyViewPolicyModalComponent_ion_title_2_Template(o,e){if(1&o&&(l.j41(0,"ion-title")(1,"h1"),l.EFF(2),l.k0s()()),2&o){const o=l.XpG();l.R7$(2),l.JRh(o.policy.name)}}function CorePolicyViewPolicyModalComponent_ion_item_8_Template(o,e){if(1&o&&(l.j41(0,"ion-item",5)(1,"ion-label"),l.nrm(2,"core-format-text",6),l.k0s()()),2&o){const o=l.XpG();l.R7$(2),l.Y8G("text",o.policy.summary)("contextInstanceId",0)}}function CorePolicyViewPolicyModalComponent_ion_item_9_Template(o,e){if(1&o&&(l.j41(0,"ion-item",5)(1,"ion-label"),l.nrm(2,"core-format-text",6),l.k0s()()),2&o){const o=l.XpG();l.R7$(2),l.Y8G("text",o.policy.content)("contextInstanceId",0)}}let _=(()=>{var o;class CorePolicyViewPolicyModalComponent{closeModal(){t.W3.dismiss()}}return(o=CorePolicyViewPolicyModalComponent).ɵfac=function CorePolicyViewPolicyModalComponent_Factory(e){return new(e||o)},o.ɵcmp=l.VBU({type:o,selectors:[["core-policy-view-policy-modal"]],inputs:{policy:"policy"},standalone:!0,features:[l.aNF],decls:10,vars:6,consts:[[4,"ngIf"],["slot","end"],["fill","clear",3,"click","ariaLabel"],["name","fas-xmark","slot","icon-only","aria-hidden","true"],["class","ion-text-wrap",4,"ngIf"],[1,"ion-text-wrap"],["contextLevel","system",3,"text","contextInstanceId"]],template:function CorePolicyViewPolicyModalComponent_Template(o,e){1&o&&(l.j41(0,"ion-header")(1,"ion-toolbar"),l.DNE(2,CorePolicyViewPolicyModalComponent_ion_title_2_Template,3,1,"ion-title",0),l.j41(3,"ion-buttons",1)(4,"ion-button",2),l.nI1(5,"translate"),l.bIt("click",(function CorePolicyViewPolicyModalComponent_Template_ion_button_click_4_listener(){return e.closeModal()})),l.nrm(6,"ion-icon",3),l.k0s()()()(),l.j41(7,"ion-content"),l.DNE(8,CorePolicyViewPolicyModalComponent_ion_item_8_Template,3,2,"ion-item",4)(9,CorePolicyViewPolicyModalComponent_ion_item_9_Template,3,2,"ion-item",4),l.k0s()),2&o&&(l.R7$(2),l.Y8G("ngIf",e.policy),l.R7$(2),l.Y8G("ariaLabel",l.bMT(5,4,"core.close")),l.R7$(4),l.Y8G("ngIf",e.policy),l.R7$(),l.Y8G("ngIf",e.policy))},dependencies:[n.n,c.bT,a.Jm,a.QW,a.W9,a.eU,a.iq,a.uz,a.he,a.BC,a.ai,p.t,r.B,s.i,m.T,y.D9],encapsulation:2}),CorePolicyViewPolicyModalComponent})()}}]);