(()=>{vare,r,i,s={16952:(e,r,i)=>{"use strict";vars={};i.r(s),i.d(s,{exclude:()=>Vt,extract:()=>Mt,parse:()=>Dt,parseUrl:()=>zt,pick:()=>qt,stringify:()=>$t,stringifyUrl:()=>Ht});varo=i(85471),a=i(61338),l=i(4523),u=i(74692),c=i.n(u),d=i(85168),h=i(96763);constf={updatableNotification:null,getDefaultNotificationFunction:null,setDefault(t){this.getDefaultNotificationFunction=t},hide(t,e){l.default.isFunction(t)&&(e=t,t=void0),t?(t.each((function(){c()(this)[0].toastify?c()(this)[0].toastify.hideToast():h.error("cannot hide toast because object is not set"),this===this.updatableNotification&&(this.updatableNotification=null)})),e&&e.call(),this.getDefaultNotificationFunction&&this.getDefaultNotificationFunction()):h.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,c()(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,c()(n.toastElement)},showUpdate(t){returnthis.updatableNotification&&this.updatableNotification.hideToast(),this.updatableNotification=(0,d.rG)(t,{timeout:d.DH}),this.updatableNotification.toastElement.toastify=this.updatableNotification,c()(this.updatableNotification.toastElement)},showTemporary(t,e){(e=e||{}).timeout=e.timeout||d.aR;constn=(0,d.rG)(t,e);returnn.toastElement.toastify=n,c()(n.toastElement)},isHidden:()=>!c()("#content").find(".toastify").length},p=l.default.throttle((()=>{f.showTemporary(t("core","Connection to server lost"))}),7e3,{trailing:!1});letm=!1;constg={enableDynamicSlideToggle(){m=!0},showAppSidebar:function(t){(t||c()("#app-sidebar")).removeClass("disappear").show(),c()("#app-content").trigger(new(c().Event)("appresized"))},hideAppSidebar:function(t){(t||c()("#app-sidebar")).hide().addClass("disappear"),c()("#app-content").trigger(new(c().Event)("appresized"))}};varv=i(99498);functiony(t,e,n){"post"!==t&&"delete"!==t||!wt.PasswordConfirmation.requiresPasswordConfirmation()?(n=n||{},c().ajax({type:t.toUpperCase(),url:(0,v.KT)("apps/provisioning_api/api/v1/config/apps")+e,data:n.data||{},success:n.success,error:n.error})):wt.PasswordConfirmation.requirePasswordConfirmation(_.bind(y,this,t,e,n))}constb=window.oc_appconfig||{},w={getValue:function(t,e,n,r){!function(t,e,n,r){(r=r||{}).data={defaultValue:n},y("get","/"+t+"/"+e,r)}(t,e,n,{success:r})},setValue:function(t,e,n){!function(t,e,n,r){(r=r||{}).data={value:n},y("post","/"+t+"/"+e,r)}(t,e,n)},getApps:function(t){!function(t){y("get","",t)}({success:t})},getKeys:function(t,e){!function(t,e){y("get","/"+t,e)}(t,{success:e})},deleteKey:function(t,e){!function(t,e,n){y("delete","/"+t+"/"+e,void0)}(t,e)}},A=void0!==window._oc_appswebroots&&window._oc_appswebroots;varx=i(21391),C=i.n(x),k=i(78112),N=i(96763);constE={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(varrint.properties){vari=r;rine&&(i=e[r]),n[i]=t.properties[r]}})),n.id||(n.id=j(n.href)),n}functionj(t){vare=t.indexOf("?");e>0&&(t=t.substr(0,e));varn,r=t.split("/");do{n=r[r.length-1],r.pop()}while(!n&&r.length>0);returnn}functionS(t){returnt>=200&&t<=299}functionO(t,e,n,r){returnt.propPatch(e.url,function(t,e){varn,r={};for(nint){vari=e[n],s=t[n];i||(N.warn('No matching DAV property for property "'+n),i=n),(l.default.isBoolean(s)||l.default.isNumber(s))&&(s=""+s),r[i]=s}returnr}(n.changed,e.davProperties),r).then((function(t){S(t.status)?l.default.isFunction(e.success)&&e.success(n.toJSON()):l.default.isFunction(e.error)&&e.error(t)}))}constT=C().noConflict();Object.assign(T,{dav