"use strict";var o=Object.defineProperty;var v=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var n=(r,e)=>o(r,"name",{value:e,configurable:true});var p=(r,e)=>{for(var t in e)o(r,t,{get:e[t],enumerable:true})};var y=(r,e,t,a)=>{if(e&&typeof e==="object"||typeof e==="function"){for(let i of f(e))if(!P.call(r,i)&&i!==t)o(r,i,{get:()=>e[i],enumerable:!(a=v(e,i))||a.enumerable})}return r};var S=r=>y(o({},"__esModule",{value:true}),r);var u={};p(u,{getServiceIdsFromPartitions:()=>l,getServicePartitionsDirectory:()=>c,removeServicePartitionDirectory:()=>d});module.exports=S(u);var s=require("fs-extra");var m=require("../environment-remote");const c=n((...r)=>{return(0,m.userDataPath)("Partitions",...[r].flat())},"getServicePartitionsDirectory");const d=n((r="",e=false)=>{const t=c(`${e?"service-":""}${r}`);(0,s.removeSync)(t)},"removeServicePartitionDirectory");async function l(){const r=(0,s.readdirSync)(c());return r.filter(e=>e!=="__chrome_extension")}n(l,"getServiceIdsFromPartitions");
