(()=>{"use strict";vare,t={45919:(e,t,n)=>{vari=n(21777),o=n(53334),a=n(85471),r=n(65043),s=n(81222),c=n(63814);functiond(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)}functionp(e,t,n){returne.set(u(e,t),n),n}functionl(e,t){returne.get(u(e,t))}functionu(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")}functionh(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}classm{constructor(e){h(this,"value",void0),h(this,"next",void0),this.value=e}}varA=newWeakMap,g=newWeakMap,v=newWeakMap;classf{constructor(){d(this,A,void0),d(this,g,void0),d(this,v,void0),this.clear()}enqueue(e){vart;constn=newm(e);l(A,this)?(l(g,this).next=n,p(g,this,n)):(p(A,this,n),p(g,this,n)),p(v,this,(t=l(v,this),++t))}dequeue(){vare;constt=l(A,this);if(t)returnp(A,this,l(A,this).next),p(v,this,(e=l(v,this),--e)),t.value}peek(){if(l(A,this))returnl(A,this).value}clear(){p(A,this,void0),p(g,this,void0),p(v,this,0)}getsize(){returnl(v,this)}*[Symbol.iterator](){lete=l(A,this);for(;e;)yielde.value,e=e.next}*drain(){for(;l(A,this);)yieldthis.dequeue()}}functionC(e){b(e);constt=newf;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){b(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}functionb(e){if(!Number.isInteger(e)&&e!==Number.POSITIVE_INFINITY||!(e>0))thrownewTypeError("Expected `concurrency` to be a number from 1 and up")}vary=n(74095),w=n(32073),x=n(35947);const_=null===(k=(0,i.HW)())?(0,x.YK)().setApp("core").build():(0,x.YK)().setApp("core").setUid(k.uid).build();vark;(0,x.YK)().setApp("unified-search").detectUser().build();constS={calendar:{description:(0,o.t)("core","Schedule work & meetings, synced with all your devices."),icon:(0,c.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,c.d0)("core","places/contacts.svg")},mail:{description:(0,o.t)("core","Simple email app nicely integrated with Files, Contacts and Calendar."),icon:(0,c.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,c.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,c.d0)("core","apps/richdocuments.svg")},notes:{description:(0,o.t)("core","Distraction free note taking app."),icon:(0,c.d0)("core","apps/notes.svg")},richdocumentscode:{hidden:!0}},I=Object.keys(S),P={name:"RecommendedApps",components:{NcCheckboxRadioSwitch:w.A,NcButton:y.A},data:()=>({showInstallButton:!1,installingApps:!1,loadingApps:!0,loadingAppsError:!1,apps:[],defaultPageUrl:(0,s.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}=awaitr.Ay.get((0,c.Jv)("settings/apps/list