"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[98598],{98598:(e,o,t)=>{t.r(o),t.d(o,{AddonUserProfileFieldSocialComponent:()=>f});var n=t(25266),r=t(86654),l=t(54438),i=t(60177),d=t(89417),c=t(2910),a=t(25880),s=t(17778),m=t(58197);function AddonUserProfileFieldSocialComponent_ion_item_0_Template(e,o){if(1&e&&(l.j41(0,"ion-item")(1,"ion-label")(2,"p",2),l.nrm(3,"core-format-text",3),l.k0s(),l.j41(4,"p"),l.nrm(5,"core-format-text",3),l.k0s()()()),2&e){const e=l.XpG();l.R7$(3),l.Y8G("text",e.field.name)("contextLevel",e.contextLevel)("contextInstanceId",e.contextInstanceId)("courseId",e.courseId)("wsNotFiltered",!0),l.R7$(2),l.Y8G("text",e.value)("contextLevel",e.contextLevel)("contextInstanceId",e.contextInstanceId)("courseId",e.courseId)("wsNotFiltered",e.valueNotFiltered)}}function AddonUserProfileFieldSocialComponent_ion_item_1_Template(e,o){if(1&e&&(l.j41(0,"ion-item",4)(1,"ion-input",5)(2,"div",6),l.nrm(3,"core-format-text",3),l.k0s()(),l.nrm(4,"core-input-errors",7),l.k0s()),2&e){const e=l.XpG();l.Y8G("formGroup",e.form),l.R7$(),l.Y8G("formControlName",e.modelName)("placeholder",e.field.name),l.R7$(),l.Y8G("core-mark-required",e.required),l.R7$(),l.Y8G("text",e.field.name)("contextLevel",e.contextLevel)("contextInstanceId",e.contextInstanceId)("courseId",e.courseId)("wsNotFiltered",!0),l.R7$(),l.Y8G("control",e.form.controls[e.modelName])}}let f=(()=>{var e;class AddonUserProfileFieldSocialComponent extends n.k{}return(e=AddonUserProfileFieldSocialComponent).ɵfac=(()=>{let o;return function AddonUserProfileFieldSocialComponent_Factory(t){return(o||(o=l.xGo(e)))(t||e)}})(),e.ɵcmp=l.VBU({type:e,selectors:[["addon-user-profile-field-social"]],standalone:!0,features:[l.Vt3,l.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"],["labelPlacement","stacked","type","text",3,"formControlName","placeholder"],["slot","label",3,"core-mark-required"],[3,"control"]],template:function AddonUserProfileFieldSocialComponent_Template(e,o){1&e&&l.DNE(0,AddonUserProfileFieldSocialComponent_ion_item_0_Template,6,10,"ion-item",0)(1,AddonUserProfileFieldSocialComponent_ion_item_1_Template,5,10,"ion-item",1),2&e&&(l.Y8G("ngIf",!o.edit&&o.field&&o.field.name),l.R7$(),l.Y8G("ngIf",o.edit&&o.field&&o.field.shortname&&o.form))},dependencies:[r.n,i.bT,d.BC,d.cb,c.$w,c.uz,c.he,c.Gw,d.j4,d.JD,a.q,s.j,m.B],encapsulation:2}),AddonUserProfileFieldSocialComponent})()}}]);