'use strict';
var __defProp=Object['defineProperty'],__name=(_0x4408b8,_0x3076fa)=>__defProp(_0x4408b8,'name',{'value':_0x3076fa,'configurable':!![]});class UrlBuilder{static{__name(this,'UrlBuilder');}#queryParams=new Map();#baseUrl='';['setQueryParam'](_0x53dd98,_0x4448b7){return this.#queryParams['set'](_0x53dd98,_0x4448b7),this;}['setBaseUrl'](_0x555aa3){return this.#baseUrl=_0x555aa3,this;}['build'](){let _0x475e34=this.#baseUrl;return _0x475e34+=this.#buildQueryParams(),_0x475e34;}#buildQueryParams(){if(!this.#hasQueryParams())return '';let _0x5b1eb6='?',_0x32a8e8=Array['from'](this.#queryParams);for(let [_0x2e276d,_0x3d04bf]of _0x32a8e8){_0x5b1eb6+=_0x2e276d+'='+_0x3d04bf+'&';}return _0x5b1eb6=_0x5b1eb6['substring'](-0x2615*-0x1+-0xb47+-0x1ace,_0x5b1eb6['length']-(0xb7a+0x259a+-0x1*0x3113)),_0x5b1eb6;}#hasQueryParams(){return this.#queryParams['size']>-0x1b7a+0x117b+0x9ff;}}

export { UrlBuilder };
