import {J,eo as f,eq as r}from'./main-WUGO6e7n.js';var l,u=J(()=>{f();l=class n{toQueryString(){let e=[];if(this.filter!==null&&this.filter.toString()&&e.push("filter="+encodeURIComponent(this.filter.toString())),this.includeExpired!==null&&this.includeExpired.toString()&&e.push("includeExpired="+encodeURIComponent(this.includeExpired.toString())),this.includeManuallyExpired!==null&&this.includeManuallyExpired.toString()&&e.push("includeManuallyExpired="+encodeURIComponent(this.includeManuallyExpired.toString())),this.numberOfDaysTillExpired!==null&&this.numberOfDaysTillExpired.toString()&&e.push("numberOfDaysTillExpired="+encodeURIComponent(this.numberOfDaysTillExpired.toString())),this.vaultIds)for(let t=0;t<this.vaultIds.length;t++)this.vaultIds[t]!==null&&e.push("vaultIds="+encodeURIComponent(this.vaultIds[t].toString()));return this.key!==null&&this.key.toString()&&e.push("key="+encodeURIComponent(this.key.toString())),this.pageNumber!==null&&this.pageNumber.toString()&&e.push("pageNumber="+encodeURIComponent(this.pageNumber.toString())),this.pageSize!==null&&this.pageSize.toString()&&e.push("pageSize="+encodeURIComponent(this.pageSize.toString())),this.sortField!==null&&this.sortField.toString()&&e.push("sortField="+encodeURIComponent(this.sortField.toString())),this.sortOrder!==null&&this.sortOrder.toString()&&e.push("sortOrder="+encodeURIComponent(this.sortOrder.toString())),e.join("&")}constructor(e=null){this.clone=()=>new n(this),this.filter=r.manageDefaultValue(e,"filter",""),this.includeExpired=r.manageDefaultValue(e,"includeExpired",!1),this.includeManuallyExpired=r.manageDefaultValue(e,"includeManuallyExpired",!1),this.numberOfDaysTillExpired=r.manageDefaultValue(e,"numberOfDaysTillExpired",0),this.vaultIds=r.manageDefaultArrayValue(e,"vaultIds",void 0),this.key=r.manageDefaultValue(e,"key",""),this.pageNumber=r.manageDefaultValue(e,"pageNumber",0),this.pageSize=r.manageDefaultValue(e,"pageSize",0),this.sortField=r.manageDefaultValue(e,"sortField",""),this.sortOrder=r.manageDefaultValue(e,"sortOrder",1);}};});export{l,u};