1"use strict";(self.webpackChunkangular_edusharing=self.webpackChunkangular_edusharing||[]).push([[85],{97085:(L,l,n)=>{n.r(l),n.d(l,{ThirdPartyLicensesDialogComponent:()=>f,ThirdPartyLicensesDialogModule:()=>y});var d=n(56208),e=n(65879),g=n(91486),h=n(5295),p=n(81771),u=n(96814);function m(s,a){if(1&s&&(e.ynx(0),e.TgZ(1,"h5",1),e._uU(2),e.qZA(),e._UZ(3,"div",2),e.BQk()),2&s){const o=a.$implicit;e.xp6(2),e.AsE("",o.component," / ",o.plugin,""),e.xp6(1),e.Q6J("innerHTML",o.details,e.oJD)}}let f=(()=>{var s;class a{constructor(t,r,i){this.dialogRef=t,this.toast=r,this.connector=i,this.licenseDetails=[],this.dialogRef.patchState({isLoading:!0})}ngOnInit(){this.connector.getLicenses().subscribe(t=>{const r=(i,c,D)=>({component:i,plugin:c.replace(".txt",""),details:D});this.licenseDetails=Object.keys(t.repository).map(i=>r("Repository",i,t.repository[i])),Object.keys(t.services).forEach(i=>this.licenseDetails=this.licenseDetails.concat(Object.keys(t.services[i]).map(c=>r(i,c,t.services[i][c])))),this.dialogRef.patchState({isLoading:!1})},t=>{this.dialogRef.close(),this.toast.error(t),console.error(t)})}}return(s=a).\u0275fac=function(t){return new(t||s)(e.Y36(g.Y),e.Y36(h.F),e.Y36(p.xD))},s.\u0275cmp=e.Xpm({type:s,selectors:[["es-third-party-licenses-dialog"]],decls:1,vars:1,consts:[[4,"ngFor","ngForOf"],[1,"mat-heading-5"],[1,"license-group",3,"innerHTML"]],template:function(t,r){1&t&&e.YNc(0,m,4,3,"ng-container",0),2&t&&e.Q6J("ngForOf",r.licenseDetails)},dependencies:[u.sg],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}.license-group[_ngcontent-%COMP%]{white-space:pre;font-family:monospace;overflow-x:auto;flex-shrink:0}"]}),a})(),y=(()=>{var s;class a{}return(s=a).\u0275fac=function(t){return new(t||s)},s.\u0275mod=e.oAB({type:s}),s.\u0275inj=e.cJS({imports:[d.m]}),a})()}}]);
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.