"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[35180],{35180:(n,e,t)=>{t.r(e),t.d(e,{AddonTinyMceSettingComponent:()=>s});var o=t(10467),i=t(86654),a=t(85190),d=t(36607),l=t(54438),c=t(89417),g=t(2910),r=t(73955);let s=(()=>{var n;class AddonTinyMceSettingComponent{constructor(){this.enabled=!1}ngOnInit(){var n=this;return(0,o.A)((function*(){n.enabled=yield a.CoreConfig.get(d.I,!1)}))()}enabledChanged(){a.CoreConfig.set(d.I,this.enabled?1:0)}}return(n=AddonTinyMceSettingComponent).ɵfac=function AddonTinyMceSettingComponent_Factory(e){return new(e||n)},n.ɵcmp=l.VBU({type:n,selectors:[["addon-tinymce-setting"]],standalone:!0,features:[l.aNF],decls:8,vars:7,consts:[[3,"ngModelChange","ionChange","ngModel"],[1,"item-heading","ion-text-wrap"],[1,"ion-text-wrap"]],template:function AddonTinyMceSettingComponent_Template(n,e){1&n&&(l.j41(0,"ion-item")(1,"ion-toggle",0),l.mxI("ngModelChange",(function AddonTinyMceSettingComponent_Template_ion_toggle_ngModelChange_1_listener(n){return l.DH7(e.enabled,n)||(e.enabled=n),n})),l.bIt("ionChange",(function AddonTinyMceSettingComponent_Template_ion_toggle_ionChange_1_listener(){return e.enabledChanged()})),l.j41(2,"p",1),l.EFF(3),l.nI1(4,"translate"),l.k0s(),l.j41(5,"p",2),l.EFF(6),l.nI1(7,"translate"),l.k0s()()()),2&n&&(l.R7$(),l.R50("ngModel",e.enabled),l.R7$(2),l.JRh(l.bMT(4,3,"addon.tinymce.enabletinymceeditor")),l.R7$(3),l.JRh(l.bMT(7,5,"addon.tinymce.enabletinymceeditordescription")))},dependencies:[i.n,c.BC,c.vS,g.uz,g.BY,g.hB,r.D9],encapsulation:2}),AddonTinyMceSettingComponent})()}}]);