!function(e){"object"==typeof module&&"object"==typeof module.exports?e(require,exports):"function"==typeof define&&define.amd&&define(["require","exports","../execution/ModuleLoader"],e)}(function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var a=e("../execution/ModuleLoader");o.mapDependencies=function(e,o,r){var t=o="/"===(o=o)[o.length-1]?o.substring(0,o.length-1):o;if(!(n=a.global.require.map[o=r?o+"/"+r:o])){var i,n={},u=a.global.require.map["@geocortex/workflow"];for(i in u)n[i]=u[i]}for(i in e){var s=e[i];"string"==typeof s&&("./"===s.substring(0,2)?s=""+t+s.substring(1):"/"===s.substring(0,1)?s=""+t+s:"@"!==s.substring(0,1)&&(s=t+"/"+s),n[i]=s)}(r={map:{}}).map[o]=n,a.global.require(r)}});