"use strict";Liferay.Loader.define("liferay!analytics-settings-web$pretty-format@27.5.1/build/collections",["module","exports","require"],(function(e,t,n){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.printIteratorEntries=function printIteratorEntries(e,t,n,r,i,o,s=": "){let c="",a=e.next();if(!a.done){c+=t.spacingOuter;const p=n+t.indent;for(;!a.done;){const n=o(a.value[0],t,p,r,i),u=o(a.value[1],t,p,r,i);c+=p+n+s+u,a=e.next(),a.done?t.min||(c+=","):c+=","+t.spacingInner}c+=t.spacingOuter+n}return c},t.printIteratorValues=function printIteratorValues(e,t,n,r,i,o){let s="",c=e.next();if(!c.done){s+=t.spacingOuter;const a=n+t.indent;for(;!c.done;)s+=a+o(c.value,t,a,r,i),c=e.next(),c.done?t.min||(s+=","):s+=","+t.spacingInner;s+=t.spacingOuter+n}return s},t.printListItems=function printListItems(e,t,n,r,i,o){let s="";if(e.length){s+=t.spacingOuter;const c=n+t.indent;for(let n=0;n<e.length;n++)s+=c,n in e&&(s+=o(e[n],t,c,r,i)),n<e.length-1?s+=","+t.spacingInner:t.min||(s+=",");s+=t.spacingOuter+n}return s},t.printObjectProperties=function printObjectProperties(e,t,n,r,i,o){let s="";const c=getKeysOfEnumerableProperties(e,t.compareKeys);if(c.length){s+=t.spacingOuter;const a=n+t.indent;for(let n=0;n<c.length;n++){const p=c[n],u=o(p,t,a,r,i),l=o(e[p],t,a,r,i);s+=a+u+": "+l,n<c.length-1?s+=","+t.spacingInner:t.min||(s+=",")}s+=t.spacingOuter+n}return s};const getKeysOfEnumerableProperties=(e,t)=>{const n=Object.keys(e).sort(t);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach((t=>{Object.getOwnPropertyDescriptor(e,t).enumerable&&n.push(t)})),n}}}));
//# sourceMappingURL=collections.js.map