(()=>{vare,i,o,r={35975:(e,i,o)=>{"use strict";varr={};o.r(r),o.d(r,{deleteKey:()=>k,getApps:()=>C,getKeys:()=>x,getValue:()=>w,setValue:()=>y});vars={};o.r(s),o.d(s,{formatLinksPlain:()=>yn,formatLinksRich:()=>wn,plainToRich:()=>Cn,richToPlain:()=>xn});vara={};o.r(a),o.d(a,{dismiss:()=>Bn,query:()=>kn}),o(84315),o(7452);varc=o(61338),l=o(4523),u=o(74692),h=o.n(u),d=o(85168);constp={updatableNotification:null,getDefaultNotificationFunction:null,setDefault(t){this.getDefaultNotificationFunction=t},hide(t,e){l.default.isFunction(t)&&(e=t,t=void0),t?(t.each((function(){h()(this)[0].toastify?h()(this)[0].toastify.hideToast():console.error("cannot hide toast because object is not set"),this===this.updatableNotification&&(this.updatableNotification=null)})),e&&e.call(),this.getDefaultNotificationFunction&&this.getDefaultNotificationFunction()):console.error("Missing argument $row in OC.Notification.hide() call, caller needs to be adjusted to only dismiss its own notification")},showHtml(t,e){(e=e||{}).isHTML=!0,e.timeout=e.timeout?e.timeout:d.DH;constn=(0,d.rG)(t,e);returnn.toastElement.toastify=n,h()(n.toastElement)},show(t,e){(e=e||{}).timeout=e.timeout?e.timeout:d.DH;constn=(0,d.rG)(function(t){returnt.toString().split("&").join("&").split("<").join("<").split(">").join(">").split('"').join(""").split("'").join("'")}(t),e);returnn.toastElement.toastify=n,h()(n.toastElement)},showUpdate(t){returnthis.updatableNotification&&this.updatableNotification.hideToast(),this.updatableNotification=(0,d.rG)(t,{timeout:d.DH}),this.updatableNotification.toastElement.toastify=this.updatableNotification,h()(this.updatableNotification.toastElement)},showTemporary(t,e){(e=e||{}).timeout=e.timeout||d.Jt;constn=(0,d.rG)(t,e);returnn.toastElement.toastify=n,h()(n.toastElement)},isHidden:()=>!h()("#content").find(".toastify").length};varA=o(21777);constf=l.default.throttle((()=>{(0,d.I9)(t("core","Connection to server lost"))}),7e3,{trailing:!1});letg=!1;constm={enableDynamicSlideToggle(){g=!0},showAppSidebar:function(t){(t||h()("#app-sidebar")).removeClass("disappear").show(),h()("#app-content").trigger(new(h().Event)("appresized"))},hideAppSidebar:function(t){(t||h()("#app-sidebar")).hide().addClass("disappear"),h()("#app-content").trigger(new(h().Event)("appresized"))}};varb=o(63814);functionv(t,e,n){"post"!==t&&"delete"!==t||!yt.PasswordConfirmation.requiresPasswordConfirmation()?(n=n||{},h().ajax({type:t.toUpperCase(),url:(0,b.KT)("apps/provisioning_api/api/v1/config/apps")+e,data:n.data||{},success:n.success,error:n.error})):yt.PasswordConfirmation.requirePasswordConfirmation(_.bind(v,this,t,e,n))}functionC(t){v("get","",t)}functionx(t,e){v("get","/"+t,e)}functionw(t,e,n,i){(i=i||{}).data={defaultValue:n},v("get","/"+t+"/"+e,i)}functiony(t,e,n,i){(i=i||{}).data={value:n},v("post","/"+t+"/"+e,i)}functionk(t,e,n){v("delete","/"+t+"/"+e,n)}constB=window.oc_appconfig||{},E={getValue:function(t,e,n,i){w(t,e,n,{success:i})},setValue:function(t,e,n){y(t,e,n)},getApps:function(t){C({success:t})},getKeys:function(t,e){x(t,{success:e})},deleteKey:function(t,e){k(t,e)}},I=void0!==window._oc_appswebroots&&window._oc_appswebroots;varD=o(21391),S=o.n(D),T=o(78112);constO={create:"POST",update:"PROPPATCH",patch:"PROPPATCH",delete:"DELETE",read:"PROPFIND"};functionP(t,e){if(l.default.isArray(t))returnl.default.map(t,(function(t){returnP(t,e)}));varn={href:t.href};returnl.default.each(t.propStat,(function(t){if("HTTP/1.1 200 OK"===t.status)for(variint.properties){varo=i;iine&&(o=e[i]),n[o]=t.properties[i]}})),n.id||(n.id=M(n.href)),n}functionM(t){vare=t.indexOf("?");e>0&&(t=t.substr(0,e));varn,i=t.split("/");do{n=i[i.length-1],i.pop()}while(!n&&i.length>0);returnn}functionN(t){returnt>=200&&t<=299}functionR(t,e,n,i){returnt.propPatch(e.url,function(t,e){varn,i={};for(nint){varo=e[n],r=t[n];o||(console.warn('No matching DAV property for property "'+n),o=n),(l.default.isBoolean(r)||l.default.isNumber(r))&&(r=""+r),i[o]=r}returni}(n.changed,e.davProperties),i).then((function(t){N(t.sta