"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[55584],{55584:(e,t,o)=>{o.r(t),o.d(t,{AddonUserProfileFieldTextareaComponent:()=>p});var n=o(25266),r=o(41450),d=o(86654),a=o(54438),l=o(60177),i=o(89417),c=o(2910),s=o(25880),m=o(17778),x=o(58197);function AddonUserProfileFieldTextareaComponent_ion_item_0_Template(e,t){if(1&e&&(a.j41(0,"ion-item")(1,"ion-label")(2,"p",2),a.nrm(3,"core-format-text",3),a.k0s(),a.j41(4,"p"),a.nrm(5,"core-format-text",3),a.k0s()()()),2&e){const e=a.XpG();a.R7$(3),a.Y8G("text",e.field.name)("contextLevel",e.contextLevel)("contextInstanceId",e.contextInstanceId)("courseId",e.courseId)("wsNotFiltered",!0),a.R7$(2),a.Y8G("text",e.value)("contextLevel",e.contextLevel)("contextInstanceId",e.contextInstanceId)("courseId",e.courseId)("wsNotFiltered",e.valueNotFiltered)}}function AddonUserProfileFieldTextareaComponent_ion_item_1_Template(e,t){if(1&e&&(a.j41(0,"ion-item",4)(1,"ion-label",5)(2,"span",6),a.nrm(3,"core-format-text",3),a.k0s()(),a.nrm(4,"core-rich-text-editor",7)(5,"core-input-errors",8),a.k0s()),2&e){const e=a.XpG();a.Y8G("formGroup",e.form),a.R7$(2),a.Y8G("core-mark-required",e.required),a.R7$(),a.Y8G("text",e.field.name)("contextLevel",e.contextLevel)("contextInstanceId",e.contextInstanceId)("courseId",e.courseId)("wsNotFiltered",!0),a.R7$(),a.Y8G("control",e.control)("placeholder",e.field.name)("autoSave",!0)("contextLevel",e.contextLevel)("contextInstanceId",e.contextInstanceId)("elementId",e.modelName),a.R7$(),a.Y8G("control",e.control)}}let p=(()=>{var e;class AddonUserProfileFieldTextareaComponent extends n.k{}return(e=AddonUserProfileFieldTextareaComponent).ɵfac=(()=>{let t;return function AddonUserProfileFieldTextareaComponent_Factory(o){return(t||(t=a.xGo(e)))(o||e)}})(),e.ɵcmp=a.VBU({type:e,selectors:[["addon-user-profile-field-textarea"]],standalone:!0,features:[a.Vt3,a.aNF],decls:2,vars:2,consts:[[4,"ngIf"],["class","ion-text-wrap",3,"formGroup",4,"ngIf"],[1,"item-heading"],[3,"text","contextLevel","contextInstanceId","courseId","wsNotFiltered"],[1,"ion-text-wrap",3,"formGroup"],["position","stacked"],[3,"core-mark-required"],[3,"control","placeholder","autoSave","contextLevel","contextInstanceId","elementId"],[3,"control"]],template:function AddonUserProfileFieldTextareaComponent_Template(e,t){1&e&&a.DNE(0,AddonUserProfileFieldTextareaComponent_ion_item_0_Template,6,10,"ion-item",0)(1,AddonUserProfileFieldTextareaComponent_ion_item_1_Template,6,14,"ion-item",1),2&e&&(a.Y8G("ngIf",!t.edit&&t.field&&t.field.name),a.R7$(),a.Y8G("ngIf",t.edit&&t.field&&t.field.shortname))},dependencies:[d.n,l.bT,i.cb,c.uz,c.he,i.j4,s.q,m.j,x.B,r.CoreEditorRichTextEditorComponent],encapsulation:2}),AddonUserProfileFieldTextareaComponent})()}}]);