(()=>{"use strict";vare,t={2430:(e,t,n)=>{vari=n(21777),o=n(53334),a=n(85471),r=n(35947);consts=null===(c=(0,i.HW)())?(0,r.YK)().setApp("core").build():(0,r.YK)().setApp("core").setUid(c.uid).build();varc;(0,r.YK)().setApp("unified-search").detectUser().build();varp=n(81222),l=n(63814),d=n(65043);functionu(e,t,n){(function(e,t){if(t.has(e))thrownewTypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,n)}functionh(e,t,n){returne.set(A(e,t),n),n}functionm(e,t){returne.get(A(e,t))}functionA(e,t,n){if("function"==typeofe?e===t:e.has(t))returnarguments.length<3?t:n;thrownewTypeError("Private element is not present on this object")}functiong(e,t,n){return(t=function(e){vart=function(e){if("object"!=typeofe||!e)returne;vart=e[Symbol.toPrimitive];if(void0!==t){varn=t.call(e,"string");if("object"!=typeofn)returnn;thrownewTypeError("@@toPrimitive must return a primitive value.")}returnString(e)}(e);return"symbol"==typeoft?t:t+""}(t))ine?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}classv{constructor(e){g(this,"value",void0),g(this,"next",void0),this.value=e}}varf=newWeakMap,C=newWeakMap,b=newWeakMap;classy{constructor(){u(this,f,void0),u(this,C,void0),u(this,b,void0),this.clear()}enqueue(e){vart;constn=newv(e);m(f,this)?(m(C,this).next=n,h(C,this,n)):(h(f,this,n),h(C,this,n)),h(b,this,(t=m(b,this),++t))}dequeue(){vare;constt=m(f,this);if(t)returnh(f,this,m(f,this).next),h(b,this,(e=m(b,this),--e)),t.value}peek(){if(m(f,this))returnm(f,this).value}clear(){h(f,this,void0),h(C,this,void0),h(b,this,0)}getsize(){returnm(b,this)}*[Symbol.iterator](){lete=m(f,this);for(;e;)yielde.value,e=e.next}*drain(){for(;m(f,this);)yieldthis.dequeue()}}functionw(e){x(e);constt=newy;letn=0;consti=()=>{n<e&&t.size>0&&(n++,t.dequeue()())},o=async(e,t,o)=>{consta=(async()=>e(...o))();t(a);try{awaita}catch{}n--,i()},a=function(a){for(varr=arguments.length,s=newArray(r>1?r-1:0),c=1;c<r;c++)s[c-1]=arguments[c];returnnewPromise(r=>{((a,r,s)=>{newPromise(e=>{t.enqueue(e)}).then(o.bind(void0,a,r,s)),n<e&&i()})(a,r,s)})};returnObject.defineProperties(a,{activeCount:{get:()=>n},pendingCount:{get:()=>t.size},clearQueue:{value(){t.clear()}},concurrency:{get:()=>e,set(o){x(o),e=o,queueMicrotask(()=>{for(;n<e&&t.size>0;)i()})}},map:{asyncvalue(e,t){constn=e.map((e,n)=>this(t,e,n));returnPromise.all(n)}}}),a}functionx(e){if(!Number.isInteger(e)&&e!==Number.POSITIVE_INFINITY||!(e>0))thrownewTypeError("Expected `concurrency` to be a number from 1 and up")}var_=n(21376),k=n(32073);constS={calendar:{description:(0,o.t)("core","Schedule work & meetings, synced with all your devices."),icon:(0,l.d0)("core","places/calendar.svg")},contacts:{description:(0,o.t)("core","Keep your colleagues and friends in one place without leaking their private info."),icon:(0,l.d0)("core","places/contacts.svg")},mail:{description:(0,o.t)("core","Simple email app nicely integrated with Files, Contacts and Calendar."),icon:(0,l.d0)("core","actions/mail.svg")},spreed:{description:(0,o.t)("core","Chatting, video calls, screen sharing, online meetings and web conferencing – in your browser and with mobile apps."),icon:(0,l.d0)("core","apps/spreed.svg")},richdocuments:{name:"Nextcloud Office",description:(0,o.t)("core","Collaborative documents, spreadsheets and presentations, built on Collabora Online."),icon:(0,l.d0)("core","apps/richdocuments.svg")},notes:{description:(0,o.t)("core","Distraction free note taking app."),icon:(0,l.d0)("core","apps/notes.svg")},richdocumentscode:{hidden:!0}},I=Object.keys(S),P={name:"RecommendedApps",components:{NcCheckboxRadioSwitch:k.A,NcButton:_.A},data:()=>({showInstallButton:!1,installingApps:!1,loadingApps:!0,loadingAppsError:!1,apps:[],defaultPageUrl:(0,p.C)("core","defaultPageUrl")}),computed:{recommendedApps(){returnthis.apps.filter(e=>I.includes(e.id))},isAnyAppSelected(){returnthis.recommendedApps.some(e=>e.isSelected)}},asyncmounted(){try{const{data:e}=awaitd.Ay.get((0,l.Jv)("settings/apps/l