"use strict";(self.webpackChunkwebadmin=self.webpackChunkwebadmin||[]).push([["libs_features_server-documentation_server-documentation_module_ts"],{21415:(E,p,e)=>{e.d(p,{p:()=>O});var f=e(60272),m=e(4020),v=e(91397);let O=(()=>{class c extends f.D{constructor(t,l){super(t,l)}transform(t){return"string"==typeof t?super.transform(t):t.params&&Object.keys(t.params).length?function h(c){return!Object.values(c.params).some(g=>!!g&&"object"==typeof g)}(t)?super.transform(t.value,t.params):super.transform(t.value,Object.entries(t.params).reduce((l,[x,D])=>({...l,[x]:this.transform(D)}),{})):super.transform(t.value)}static{this.\u0275fac=function(l){return new(l||c)(m.rXU(v.c$,16),m.rXU(m.gRc,16))}}static{this.\u0275pipe=m.EJ8({name:"nxTranslate",type:c,pure:!1})}}return c})()},90253:(E,p,e)=>{e.r(p),e.d(p,{NxServerDocumentationModule:()=>G});var f=e(60177),m=e(51188),v=e(60802),h=e(36121),O=e(10467),c=e(49894),g=e(48233),t=e(4020),l=e(62460),x=e(96189),D=e(13395),R=e(64147),N=e(21415);function j(n,s){if(1&n&&(t.j41(0,"th"),t.EFF(1),t.k0s()),2&n){const r=s.$implicit;t.R7$(),t.JRh(r)}}function T(n,s){if(1&n&&(t.j41(0,"tr")(1,"td"),t.EFF(2),t.k0s(),t.j41(3,"td"),t.EFF(4),t.k0s(),t.j41(5,"td"),t.EFF(6),t.k0s()()),2&n){const r=s.$implicit;t.R7$(2),t.JRh(r.name),t.R7$(2),t.JRh(r.description),t.R7$(2),t.JRh(r.defaultValue)}}let y=(()=>{let n=class P{constructor(r,o,a,i){var d=this;this.LANG=g,this.CONFIG=r.getConfig(),this.accessibleAt={value:this.LANG.serverDocumentation.accessibleAt,params:{windowsPath:this.CONFIG.serverDocumentation.windowsPath,defaultPath:this.CONFIG.serverDocumentation.defaultPath}};const u=a.getCurrentSystem();u?.mediaserver?u.mediaserver.getSettingsDocumentation().then(M=>{this.serverDocumentation=M.reply.settings}):o.get().then(function(){var M=(0,O.A)(function*(C){C||i.navigate(["/"]);const F=a.createLocalSystem(o.mediaServerApi,C.id,C.email);yield F.update().catch(()=>{}),F.mediaserver.getSettingsDocumentation().then($=>{d.serverDocumentation=$.reply.settings})});return function(C){return M.apply(this,arguments)}}())}static{this.\u0275fac=function(o){return new(o||P)(t.rXU(l.C),t.rXU(x.T),t.rXU(D.f),t.rXU(m.Ix))}}static{this.\u0275cmp=t.VBU({type:P,selectors:[["nx-server-documentation-component"]],decls:18,vars:5,consts:[[1,"container"],["translate","",1,"h1","title"],["translate",""],[3,"innerHTML"],["translate","",1,"h2"],[4,"ngFor","ngForOf"]],template:function(o,a){1&o&&(t.j41(0,"div",0)(1,"div",1),t.EFF(2," Server Documentation "),t.k0s(),t.j41(3,"table")(4,"thead")(5,"tr")(6,"th",2),t.EFF(7,"These settings are accessible at:"),t.k0s()()(),t.j41(8,"tr"),t.nrm(9,"td",3),t.nI1(10,"nxTranslate"),t.k0s()(),t.j41(11,"div",4),t.EFF(12," Server Settings "),t.k0s(),t.j41(13,"table")(14,"thead")(15,"tr"),t.DNE(16,j,2,1,"th",5),t.k0s()(),t.DNE(17,T,7,3,"tr",5),t.k0s()()),2&o&&(t.R7$(9),t.Y8G("innerHTML",t.bMT(10,3,a.accessibleAt),t.npT),t.R7$(7),t.Y8G("ngForOf",a.CONFIG.serverDocumentation.tableHeaders),t.R7$(),t.Y8G("ngForOf",a.serverDocumentation))},dependencies:[f.MD,f.Sq,v.h,R.M,h.Y,N.p],styles:[".container[_ngcontent-%COMP%]{margin-top:30px}.h1[_ngcontent-%COMP%], .h2[_ngcontent-%COMP%]{margin-top:20px}table[_ngcontent-%COMP%]{padding:0 10px;border-collapse:collapse;width:100%;border:1px solid var(--border-color)!important}table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]:first-of-type{min-width:6em}table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]{height:34px;font-family:var(--font-family-medium);font-size:var(--font-size-base)!important;color:var(--dark10)!important}table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{background-color:var(--card-header-bg);border:1px solid var(--border-color);font-family:var(--font-family-medium);font-size:var(--h5-font-size)!important;font-weight:500!important;color:var(--swagger-table-header-color);padding-left:20px}table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{background-color:var(--card-body-bg);height:25px!important;border:1px solid var(--border-color);padding:15px 8px 8px 24px}"]})}};return n=function(n,s,r,o){var d,a=arguments.length,i=a<3?s:null===o?o=Object.getOwnPropertyDescriptor(s,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(n,s,r,o);else for(var u=n.length-1;u>=0;u--)(d=n[u])&&(i=(a<3?d(i):a>3?d(s,r,i):d(s,r))||i);return a>3&&i&&Object.defineProperty(s,r,i),i}([(0,c.d)()],n),n})();const b=[{path:"",component:y,pathMatch:"full"}];let G=(()=>{class n{static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275mod=t.$C({type:n})}static{this.\u0275inj=t.G2t({imports:[f.MD,m.iI.forChild(b),v.h,h.Y,y]})}}return n})()}}]);