/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
function s(n,r){return Object.keys(n).reduce(function(i,t){return i[t]=r(n[t],t,n),i},{})}function o(n,r,e){if(e=e||"",Array.isArray(n))return n.map(u);return n&&c(n)&&!a(n)&&!x(n)&&!p(n)?Object.assign({},n,s(n,u)):r(n,e);function u(i,t){let f=""+(e?e+"."+t:t);return o(i,r,f)}}function l(n){return typeof n=="string"||n instanceof String}function a(n){return n instanceof Date}function p(n){return typeof n=="function"}function c(n){return typeof n=="object"}function x(n){return n instanceof RegExp}export{o as a,l as b,c,x as d};
