/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.24/esri/copyright.txt for details.
*/
define(["exports","./utils"],(function(t,e){"use strict";function r(t,r){const n="?"===t[t.length-1]?t.slice(0,-1):t;if(null!=r.getItemAt||Array.isArray(r)){const t=parseInt(n,10);if(!isNaN(t))return Array.isArray(r)?r[t]:r.getItemAt(t)}const i=e.getProperties(r);return e.isPropertyDeclared(i,n)?i.get(n):r[n]}function n(t,e,i){if(null==t)return t;const u=r(e[i],t);return!u&&i<e.length-1?void 0:i===e.length-1?u:n(u,e,i+1)}function i(t,i,u=0){return"string"!=typeof i||i.includes(".")?n(t,e.pathToArray(i),u):r(i,t)}function u(t,e){return i(t,e)}function o(t,e){return void 0!==i(e,t)}t.exists=o,t.get=u,t.valueOf=i,Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
