'use strict';
var __defProp=Object['defineProperty'],__name=(_0x20544f,_0x23fbbe)=>__defProp(_0x20544f,'name',{'value':_0x23fbbe,'configurable':!![]});function addQueryParamsToPath(_0x8dc046,_0xc7ee1){let _0x2864c7=_0x8dc046;if(_0xc7ee1&&Array['isArray'](_0xc7ee1))_0x2864c7+=convertQueryParamsArrayToString(_0xc7ee1);else _0xc7ee1&&!Array['isArray'](_0xc7ee1)&&(_0x2864c7+=convertQueryParamsObjectToString(_0xc7ee1));return _0x2864c7;}__name(addQueryParamsToPath,'addQueryParamsToPath');function convertQueryParamsArrayToString(_0x343815){const _0x371c3a=_0x343815['map'](_0x583a3c=>_0x583a3c['name']+'='+_0x583a3c['value'])['join']('&');return _0x371c3a?'?'+_0x371c3a:'';}__name(convertQueryParamsArrayToString,'convertQueryParamsArrayToString');function convertQueryParamsObjectToString(_0x2c7012){const _0x1a40dd=Object['entries'](_0x2c7012)['map'](([_0x127730,_0x24b54a])=>_0x127730+'='+_0x24b54a)['join']('&');return _0x1a40dd?'?'+_0x1a40dd:'';}__name(convertQueryParamsObjectToString,'convertQueryParamsObjectToString');

export { addQueryParamsToPath };
