pprof

unknown wall
Type: wall
Time: Aug 2, 2022 at 3:02pm (UTC)
Duration: 8.48s, Total samples = 7.67s (90.46%)
Save options as
Delete config

read

.

  Total:       987ms      2.12s (flat, cum) 27.68%
      0        987ms      2.12s           <instructions with unknown line numbers> 

(anonymous)

.

  Total:         2ms        2ms (flat, cum) 0.026%
      1          2ms        2ms           ??? 

validate78

.

  Total:       3.71s     76.65s (flat, cum) 999.30%
      3        3.71s     76.65s           ??? 

ZWrapper

/srv/function-orchestrator/src/ZWrapper.js

  Total:        12ms       12ms (flat, cum)  0.16%
     24            .          .            * the results of resolving subobjects for future use. 
     25            .          .            */ 
     26            .          .           class ZWrapper { 
     27            .          .            
     28            .          .           	// Private. Use {@link ZWrapper#create} instead. 
     29         12ms       12ms           	constructor() { 
     30            .          .           		// Each value in original_ (and eventually in resolved_) points to another ZWrapper 
     31            .          .           		// representing the corresponding subobject with its own scope. Initially they all point 
     32            .          .           		// to the same scope, but they diverge as subobjects get resolved. 
     33            .          .           		this.original_ = new Map(); 
     34            .          .           		this.resolved_ = new Map(); 

create

/srv/function-orchestrator/src/ZWrapper.js

  Total:       243ms      1.76s (flat, cum) 23.00%
     37            .          .           	} 
     38            .          .            
     39            .          .           	// Creates an equivalent ZWrapper representation for the given ZObject and its subobjects. 
     40            .          .           	// The resulting ZWrapper has the same fields as the ZObject, each of which is itself a 
     41            .          .           	// ZWrapper, and so on. 
     42        243ms      1.76s           	static create( zobjectJSON, scope ) { 
     43            .          .           		if ( scope === null ) { 
     44            .          .           			throw new Error( 'Missing scope argument' ); 
     45            .          .           		} 
     46            .          .           		if ( isString( zobjectJSON ) || zobjectJSON instanceof ZWrapper ) { 
     47            .          .           			return zobjectJSON; 

get

/srv/function-orchestrator/src/ZWrapper.js

  Total:         1ms        2ms (flat, cum) 0.026%
     51            .          .           		for ( const key of Object.keys( zobjectJSON ) ) { 
     52            .          .           			const value = ZWrapper.create( zobjectJSON[ key ], scope ); 
     53            .          .           			result.original_.set( key, value ); 
     54            .          .           			result.keys_.add( key ); 
     55            .          .           			Object.defineProperty( result, key, { 
     56          1ms        2ms           				get: function () { 
     57            .          .           					return this.getName( key ); 
     58            .          .            
     59            .          .           				} 
     60            .          .           			} ); 

getName

/srv/function-orchestrator/src/ZWrapper.js

  Total:        56ms       56ms (flat, cum)  0.73%
     61            .          .           		} 
     62            .          .           		return result; 
     63            .          .           	} 
     64            .          .            
     65         56ms       56ms           	getName( key ) { 
     66            .          .           		if ( this.resolved_.has( key ) ) { 
     67            .          .           			return this.resolved_.get( key ); 
     68            .          .           		} 
     69            .          .           		return this.original_.get( key ); 
     70            .          .           	} 

resolveInternal_

/srv/function-orchestrator/src/ZWrapper.js

  Total:        17ms      313ms (flat, cum)  4.08%
     72            .          .           	setName( key, value ) { 
     73            .          .           		this.resolved_.set( key, value ); 
     74            .          .           	} 
     75            .          .            
     76            .          .           	// private 
     77         17ms      313ms           	async resolveInternal_( invariants, ignoreList, resolveInternals, doValidate ) { 
     78            .          .           		if ( ignoreList === null ) { 
     79            .          .           			ignoreList = new Set(); 
     80            .          .           		} 
     81            .          .           		let nextObject = this; 
     82            .          .           		while ( true ) { 

resolveKeyInternal_

/srv/function-orchestrator/src/ZWrapper.js

  Total:         3ms       71ms (flat, cum)  0.93%
    145            .          .           		} 
    146            .          .           		return makeWrappedResultEnvelope( nextObject, null ); 
    147            .          .           	} 
    148            .          .            
    149            .          .           	// private 
    150          3ms       71ms           	async resolveKeyInternal_( 
    151            .          .           		key, invariants, ignoreList, resolveInternals, doValidate ) { 
    152            .          .           		let newValue, resultPair; 
    153            .          .           		const currentValue = this.getName( key ); 
    154            .          .           		if ( currentValue instanceof ZWrapper ) { 
    155            .          .           			resultPair = await ( currentValue.resolveInternal_( 

resolve

/srv/function-orchestrator/src/ZWrapper.js

  Total:         1ms       45ms (flat, cum)  0.59%
    210            .          .           	 * @param {Set(MutationType)} ignoreList 
    211            .          .           	 * @param {boolean} resolveInternals 
    212            .          .           	 * @param {boolean} doValidate 
    213            .          .           	 * @return {ZWrapper} A result envelope zobject representing the result. 
    214            .          .           	 */ 
    215          1ms       45ms           	async resolve( 
    216            .          .           		invariants, ignoreList = null, resolveInternals = true, doValidate = true 
    217            .          .           	) { 
    218            .          .           		// TODO: Remove this intermediate call? 
    219            .          .           		return this.resolveInternal_( 
    220            .          .           			invariants, ignoreList, resolveInternals, doValidate ); 

resolveKey

/srv/function-orchestrator/src/ZWrapper.js

  Total:         6ms       57ms (flat, cum)  0.74%
    234            .          .           	 * @param {Set(MutationType)} ignoreList 
    235            .          .           	 * @param {booleanl} resolveInternals 
    236            .          .           	 * @param {boolean} doValidate 
    237            .          .           	 * @return {ZWrapper} A result envelope zobject representing the result. 
    238            .          .           	 */ 
    239          6ms       57ms           	async resolveKey( 
    240            .          .           		keys, invariants, ignoreList = null, 
    241            .          .           		resolveInternals = true, doValidate = true ) { 
    242            .          .           		let result; 
    243            .          .           		if ( keys.length <= 0 ) { 
    244            .          .           			return makeWrappedResultEnvelope( this, null ); 

asJSON

/srv/function-orchestrator/src/ZWrapper.js

  Total:       295ms      2.44s (flat, cum) 31.83%
    270            .          .           	// have unbound argument references. In particular, if subobjects have already been resolved 
    271            .          .           	// with `resolveKey()`, their scope might have diverged. This means that `zwrapper.asJSON()` may 
    272            .          .           	// have argument references that are not captured even in `zwrapper.getScope()`. Using this 
    273            .          .           	// method should hence only be used judiciously where such effects can be taken into account. 
    274            .          .           	// You have been warned. 
    275        295ms      2.44s           	asJSON() { 
    276            .          .           		const result = {}; 
    277            .          .           		for ( const key of this.keys() ) { 
    278            .          .           			let value = this.getName( key ); 
    279            .          .           			if ( value instanceof ZWrapper ) { 
    280            .          .           				value = value.asJSON(); 

(anonymous)

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:         1ms        2ms (flat, cum) 0.026%
      1          1ms        2ms           "use strict"; 
      2            .          .           Object.defineProperty(exports, "__esModule", { value: true }); 
      3            .          .           exports.or = exports.and = exports.not = exports.CodeGen = exports.operators = exports.varKinds = exports.ValueScopeName = exports.ValueScope = exports.Scope = exports.Name = exports.regexpCode = exports.stringify = exports.getProperty = exports.nil = exports.strConcat = exports.str = exports._ = void 0; 

get

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:         3ms        3ms (flat, cum) 0.039%
      5            .          .           const scope_1 = require("./scope"); 
      6            .          .           var code_2 = require("./code"); 
      7          2ms        2ms           Object.defineProperty(exports, "_", { enumerable: true, get: function () { return code_2._; } }); 
      8            .          .           Object.defineProperty(exports, "str", { enumerable: true, get: function () { return code_2.str; } }); 
      9            .          .           Object.defineProperty(exports, "strConcat", { enumerable: true, get: function () { return code_2.strConcat; } }); 
     10            .          .           Object.defineProperty(exports, "nil", { enumerable: true, get: function () { return code_2.nil; } }); 
     11          1ms        1ms           Object.defineProperty(exports, "getProperty", { enumerable: true, get: function () { return code_2.getProperty; } }); 
     12            .          .           Object.defineProperty(exports, "stringify", { enumerable: true, get: function () { return code_2.stringify; } }); 
     13            .          .           Object.defineProperty(exports, "regexpCode", { enumerable: true, get: function () { return code_2.regexpCode; } }); 
     14            .          .           Object.defineProperty(exports, "Name", { enumerable: true, get: function () { return code_2.Name; } }); 
     15            .          .           var scope_2 = require("./scope"); 
     16            .          .           Object.defineProperty(exports, "Scope", { enumerable: true, get: function () { return scope_2.Scope; } }); 

Def

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:         1ms        1ms (flat, cum) 0.013%
     36            .          .               optimizeNames(_names, _constants) { 
     37            .          .                   return this; 
     38            .          .               } 
     39            .          .           } 
     40            .          .           class Def extends Node { 
     41          1ms        1ms               constructor(varKind, name, rhs) { 
     42            .          .                   super(); 
     43            .          .                   this.varKind = varKind; 

render

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:         4ms        8ms (flat, cum)   0.1%
     45            .          .                   this.rhs = rhs; 
     46            .          .               } 
     47          4ms        8ms               render({ es5, _n }) { 
     48            .          .                   const varKind = es5 ? scope_1.varKinds.var : this.varKind; 
     49            .          .                   const rhs = this.rhs === undefined ? "" : ` = ${this.rhs}`; 

optimizeNames

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:         2ms        4ms (flat, cum) 0.052%
     50            .          .                   return `${varKind} ${this.name}${rhs};` + _n; 
     51            .          .               } 
     52          2ms        4ms               optimizeNames(names, constants) { 
     53            .          .                   if (!names[this.name.str]) 
     54            .          .                       return; 
     55            .          .                   if (this.rhs) 

get names

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:         4ms       15ms (flat, cum)   0.2%
     56            .          .                       this.rhs = optimizeExpr(this.rhs, names, constants); 
     57            .          .                   return this; 
     58            .          .               } 
     59          4ms       15ms               get names() { 
     60            .          .                   return this.rhs instanceof code_1._CodeOrName ? this.rhs.names : {}; 
     61            .          .               } 

Assign

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:         1ms        1ms (flat, cum) 0.013%
     62            .          .           } 
     63            .          .           class Assign extends Node { 
     64          1ms        1ms               constructor(lhs, rhs, sideEffects) { 
     65            .          .                   super(); 
     66            .          .                   this.lhs = lhs; 

render

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:         3ms        7ms (flat, cum) 0.091%
     68            .          .                   this.sideEffects = sideEffects; 
     69            .          .               } 
     70          3ms        7ms               render({ _n }) { 
     71            .          .                   return `${this.lhs} = ${this.rhs};` + _n; 

optimizeNames

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:         3ms       10ms (flat, cum)  0.13%
     72            .          .               } 
     73          3ms       10ms               optimizeNames(names, constants) { 
     74            .          .                   if (this.lhs instanceof code_1.Name && !names[this.lhs.str] && !this.sideEffects) 
     75            .          .                       return; 

get names

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:         7ms       52ms (flat, cum)  0.68%
     77            .          .                   return this; 
     78            .          .               } 
     79          7ms       52ms               get names() { 
     80            .          .                   const names = this.lhs instanceof code_1.Name ? {} : { ...this.lhs.names }; 
     81            .          .                   return addExprNames(names, this.rhs); 
     82            .          .               } 
     83            .          .           } 
     84            .          .           class AssignOp extends Assign { 

optimizeNodes

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:         1ms        2ms (flat, cum) 0.026%
    129            .          .                   this.code = code; 
    130            .          .               } 
    131            .          .               render({ _n }) { 
    132            .          .                   return `${this.code};` + _n; 
    133            .          .               } 
    134          1ms        2ms               optimizeNodes() { 
    135            .          .                   return `${this.code}` ? this : undefined; 
    136            .          .               } 
    137            .          .               optimizeNames(names, constants) { 

get names

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:         1ms        1ms (flat, cum) 0.013%
    138            .          .                   this.code = optimizeExpr(this.code, names, constants); 
    139            .          .                   return this; 
    140            .          .               } 
    141          1ms        1ms               get names() { 
    142            .          .                   return this.code instanceof code_1._CodeOrName ? this.code.names : {}; 
    143            .          .               } 

ParentNode

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:         1ms        1ms (flat, cum) 0.013%
    144            .          .           } 
    145            .          .           class ParentNode extends Node { 
    146          1ms        1ms               constructor(nodes = []) { 
    147            .          .                   super(); 

render

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:         2ms      259ms (flat, cum)  3.38%
    149            .          .               } 
    150          2ms      259ms               render(opts) { 

(anonymous)

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:         5ms      257ms (flat, cum)  3.35%
    151          5ms      257ms                   return this.nodes.reduce((code, n) => code + n.render(opts), ""); 

optimizeNodes

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:         5ms       52ms (flat, cum)  0.68%
    153          5ms       52ms               optimizeNodes() { 
    154            .          .                   const { nodes } = this; 
    155            .          .                   let i = nodes.length; 
    156            .          .                   while (i--) { 
    157            .          .                       const n = nodes[i].optimizeNodes(); 
    158            .          .                       if (Array.isArray(n)) 

optimizeNames

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:         3ms      209ms (flat, cum)  2.72%
    162            .          .                       else 
    163            .          .                           nodes.splice(i, 1); 
    164            .          .                   } 
    165            .          .                   return nodes.length > 0 ? this : undefined; 
    166            .          .               } 
    167          3ms      209ms               optimizeNames(names, constants) { 
    168            .          .                   const { nodes } = this; 
    169            .          .                   let i = nodes.length; 
    170            .          .                   while (i--) { 
    171            .          .                       // iterating backwards improves 1-pass optimization 
    172            .          .                       const n = nodes[i]; 

get names

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:         2ms      1.69s (flat, cum) 22.05%
    175            .          .                       subtractNames(names, n.names); 
    176            .          .                       nodes.splice(i, 1); 
    177            .          .                   } 
    178            .          .                   return nodes.length > 0 ? this : undefined; 
    179            .          .               } 
    180          2ms      1.69s               get names() { 

(anonymous)

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:        10ms      1.69s (flat, cum) 22.02%
    181         10ms      1.69s                   return this.nodes.reduce((names, n) => addNames(names, n.names), {}); 
    182            .          .               } 

BlockNode

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:           0        1ms (flat, cum) 0.013%
    183            .          .           } 
    184            .        1ms           class BlockNode extends ParentNode { 

render

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:         2ms      223ms (flat, cum)  2.91%
    185          2ms      223ms               render(opts) { 
    186            .          .                   return "{" + opts._n + super.render(opts) + "}" + opts._n; 
    187            .          .               } 
    188            .          .           } 
    189            .          .           class Root extends ParentNode { 

If

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:           0        1ms (flat, cum) 0.013%
    191            .          .           class Else extends BlockNode { 
    192            .          .           } 
    193            .          .           Else.kind = "else"; 
    194            .          .           class If extends BlockNode { 
    195            .        1ms               constructor(condition, nodes) { 
    196            .          .                   super(nodes); 

render

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:         3ms      198ms (flat, cum)  2.58%
    198            .          .               } 
    199          3ms      198ms               render(opts) { 
    200            .          .                   let code = `if(${this.condition})` + super.render(opts); 
    201            .          .                   if (this.else) 

optimizeNodes

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:           0       34ms (flat, cum)  0.44%
    203            .          .                   return code; 
    204            .          .               } 
    205            .       34ms               optimizeNodes() { 
    206            .          .                   super.optimizeNodes(); 
    207            .          .                   const cond = this.condition; 
    208            .          .                   if (cond === true) 
    209            .          .                       return this.nodes; // else is ignored here 
    210            .          .                   let e = this.else; 

optimizeNames

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:           0      168ms (flat, cum)  2.19%
    221            .          .                   } 
    222            .          .                   if (cond === false || !this.nodes.length) 
    223            .          .                       return undefined; 
    224            .          .                   return this; 
    225            .          .               } 
    226            .      168ms               optimizeNames(names, constants) { 
    227            .          .                   var _a; 
    228            .          .                   this.else = (_a = this.else) === null || _a === void 0 ? void 0 : _a.optimizeNames(names, constants); 
    229            .          .                   if (!(super.optimizeNames(names, constants) || this.else)) 

get names

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:         5ms      1.33s (flat, cum) 17.29%
    231            .          .                   this.condition = optimizeExpr(this.condition, names, constants); 
    232            .          .                   return this; 
    233            .          .               } 
    234          5ms      1.33s               get names() { 
    235            .          .                   const names = super.names; 
    236            .          .                   addExprNames(names, this.condition); 
    237            .          .                   if (this.else) 
    238            .          .                       addNames(names, this.else.names); 
    239            .          .                   return names; 

get names

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:           0        5ms (flat, cum) 0.065%
    255            .          .                   if (!super.optimizeNames(names, constants)) 
    256            .          .                       return; 
    257            .          .                   this.iteration = optimizeExpr(this.iteration, names, constants); 
    258            .          .                   return this; 
    259            .          .               } 
    260            .        5ms               get names() { 
    261            .          .                   return addNames(super.names, this.iteration.names); 
    262            .          .               } 
    263            .          .           } 
    264            .          .           class ForRange extends For { 
    265            .          .               constructor(varKind, name, from, to) { 

render

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:         2ms        3ms (flat, cum) 0.039%
    267            .          .                   this.varKind = varKind; 
    268            .          .                   this.name = name; 
    269            .          .                   this.from = from; 
    270            .          .                   this.to = to; 
    271            .          .               } 
    272          1ms        1ms               render(opts) { 
    273            .          .                   const varKind = opts.es5 ? scope_1.varKinds.var : this.varKind; 
    274            .          .                   const { name, from, to } = this; 
    275            .          .                   return `for(${varKind} ${name}=${from}; ${name}<${to}; ${name}++)` + super.render(opts); 
    276            .          .               } 
    277            .          .               get names() { 
    278            .          .                   const names = addExprNames(super.names, this.from); 
    279            .          .                   return addExprNames(names, this.to); 
    280            .          .               } 
    281            .          .           } 
    282            .          .           class ForIter extends For { 
    283            .          .               constructor(loop, varKind, name, iterable) { 
    284            .          .                   super(); 
    285            .          .                   this.loop = loop; 
    286            .          .                   this.varKind = varKind; 
    287            .          .                   this.name = name; 
    288            .          .                   this.iterable = iterable; 
    289            .          .               } 
    290          1ms        2ms               render(opts) { 
    291            .          .                   return `for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})` + super.render(opts); 

optimizeNames

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:           0        1ms (flat, cum) 0.013%
    292            .          .               } 
    293            .        1ms               optimizeNames(names, constants) { 
    294            .          .                   if (!super.optimizeNames(names, constants)) 
    295            .          .                       return; 

get names

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:           0       14ms (flat, cum)  0.18%
    297            .          .                   return this; 
    298            .          .               } 
    299            .       14ms               get names() { 
    300            .          .                   return addNames(super.names, this.iterable.names); 
    301            .          .               } 
    302            .          .           } 
    303            .          .           class Func extends BlockNode { 
    304            .          .               constructor(name, args, async) { 

render

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:         2ms       36ms (flat, cum)  0.47%
    305            .          .                   super(); 
    306            .          .                   this.name = name; 
    307            .          .                   this.args = args; 
    308            .          .                   this.async = async; 
    309            .          .               } 
    310          2ms       36ms               render(opts) { 
    311            .          .                   const _async = this.async ? "async " : ""; 
    312            .          .                   return `${_async}function ${this.name}(${this.args})` + super.render(opts); 
    313            .          .               } 
    314            .          .           } 
    315            .          .           Func.kind = "func"; 

CodeGen

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:         2ms        2ms (flat, cum) 0.026%
    366            .          .                   return "finally" + super.render(opts); 
    367            .          .               } 
    368            .          .           } 
    369            .          .           Finally.kind = "finally"; 
    370            .          .           class CodeGen { 
    371          2ms        2ms               constructor(extScope, opts = {}) { 
    372            .          .                   this._values = {}; 
    373            .          .                   this._blockStarts = []; 
    374            .          .                   this._constants = {}; 
    375            .          .                   this.opts = { ...opts, _n: opts.lines ? "\n" : "" }; 

toString

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:           0       38ms (flat, cum)   0.5%
    376            .          .                   this._extScope = extScope; 
    377            .          .                   this._scope = new scope_1.Scope({ parent: extScope }); 
    378            .          .                   this._nodes = [new Root()]; 
    379            .          .               } 
    380            .       38ms               toString() { 
    381            .          .                   return this._root.render(this.opts); 

name

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:           0        1ms (flat, cum) 0.013%
    383            .          .               // returns unique name in the internal scope 
    384            .        1ms               name(prefix) { 
    385            .          .                   return this._scope.name(prefix); 
    386            .          .               } 
    387            .          .               // reserves unique name in the external scope 

scopeValue

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:         2ms        9ms (flat, cum)  0.12%
    389            .          .                   return this._extScope.name(prefix); 
    390            .          .               } 
    391            .          .               // reserves unique name in the external scope and assigns value to it 
    392          2ms        9ms               scopeValue(prefixOrName, value) { 
    393            .          .                   const name = this._extScope.value(prefixOrName, value); 
    394            .          .                   const vs = this._values[name.prefix] || (this._values[name.prefix] = new Set()); 
    395            .          .                   vs.add(name); 
    396            .          .                   return name; 
    397            .          .               } 

scopeRefs

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:           0        6ms (flat, cum) 0.078%
    398            .          .               getScopeValue(prefix, keyOrRef) { 
    399            .          .                   return this._extScope.getValue(prefix, keyOrRef); 
    400            .          .               } 
    401            .          .               // return code that assigns values in the external scope to the names that are used internally 
    402            .          .               // (same names that were returned by gen.scopeName or gen.scopeValue) 
    403            .        6ms               scopeRefs(scopeName) { 
    404            .          .                   return this._extScope.scopeRefs(scopeName, this._values); 
    405            .          .               } 

_def

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:         3ms        8ms (flat, cum)   0.1%
    407            .          .                   return this._extScope.scopeCode(this._values); 
    408            .          .               } 
    409          3ms        8ms               _def(varKind, nameOrPrefix, rhs, constant) { 
    410            .          .                   const name = this._scope.toName(nameOrPrefix); 
    411            .          .                   if (rhs !== undefined && constant) 
    412            .          .                       this._constants[name.str] = rhs; 

const

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:           0        4ms (flat, cum) 0.052%
    414            .          .                   return name; 
    415            .          .               } 
    416            .          .               // `const` declaration (`var` in es5 mode) 
    417            .        4ms               const(nameOrPrefix, rhs, _constant) { 
    418            .          .                   return this._def(scope_1.varKinds.const, nameOrPrefix, rhs, _constant); 

let

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:           0        3ms (flat, cum) 0.039%
    420            .          .               // `let` declaration with optional assignment (`var` in es5 mode) 
    421            .        3ms               let(nameOrPrefix, rhs, _constant) { 
    422            .          .                   return this._def(scope_1.varKinds.let, nameOrPrefix, rhs, _constant); 
    423            .          .               } 
    424            .          .               // `var` declaration with optional assignment 

assign

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:         1ms        4ms (flat, cum) 0.052%
    426            .          .                   return this._def(scope_1.varKinds.var, nameOrPrefix, rhs, _constant); 
    427            .          .               } 
    428            .          .               // assignment code 
    429          1ms        4ms               assign(lhs, rhs, sideEffects) { 
    430            .          .                   return this._leafNode(new Assign(lhs, rhs, sideEffects)); 
    431            .          .               } 
    432            .          .               // `+=` code 

code

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:         7ms     19.58s (flat, cum) 255.23%
    434            .          .                   return this._leafNode(new AssignOp(lhs, exports.operators.ADD, rhs)); 
    435            .          .               } 
    436            .          .               // appends passed SafeExpr to code or executes Block 
    437          7ms     19.58s               code(c) { 
    438            .          .                   if (typeof c == "function") 
    439            .          .                       c(); 
    440            .          .                   else if (c !== code_1.nil) 

object

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:         4ms       11ms (flat, cum)  0.14%
    442            .          .                   return this; 
    443            .          .               } 
    444            .          .               // returns code for object literal for the passed argument list of key-value pairs 
    445          4ms       11ms               object(...keyValues) { 
    446            .          .                   const code = ["{"]; 
    447            .          .                   for (const [key, value] of keyValues) { 
    448            .          .                       if (code.length > 1) 
    449            .          .                           code.push(","); 
    450            .          .                       code.push(key); 

if

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:         1ms       37ms (flat, cum)  0.48%
    455            .          .                   } 
    456            .          .                   code.push("}"); 
    457            .          .                   return new code_1._Code(code); 
    458            .          .               } 
    459            .          .               // `if` clause (or statement if `thenBody` and, optionally, `elseBody` are passed) 
    460          1ms       37ms               if(condition, thenBody, elseBody) { 
    461            .          .                   this._blockNode(new If(condition)); 
    462            .          .                   if (thenBody && elseBody) { 
    463            .          .                       this.code(thenBody).else().code(elseBody).endIf(); 
    464            .          .                   } 
    465            .          .                   else if (thenBody) { 

else

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:         1ms        4ms (flat, cum) 0.052%
    473            .          .               // `else if` clause - invalid without `if` or after `else` clauses 
    474            .          .               elseIf(condition) { 
    475            .          .                   return this._elseNode(new If(condition)); 
    476            .          .               } 
    477            .          .               // `else` clause - only valid after `if` or `else if` clauses 
    478          1ms        4ms               else() { 
    479            .          .                   return this._elseNode(new Else()); 

endIf

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:           0        1ms (flat, cum) 0.013%
    481            .          .               // end `if` statement (needed if gen.if was used only with condition) 
    482            .        1ms               endIf() { 
    483            .          .                   return this._endBlockNode(If, Else); 

_for

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:           0       33ms (flat, cum)  0.43%
    484            .          .               } 
    485            .       33ms               _for(node, forBody) { 
    486            .          .                   this._blockNode(node); 
    487            .          .                   if (forBody) 
    488            .          .                       this.code(forBody).endFor(); 
    489            .          .                   return this; 
    490            .          .               } 

forRange

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:           0        4ms (flat, cum) 0.052%
    491            .          .               // a generic `for` clause (or statement if `forBody` is passed) 
    492            .          .               for(iteration, forBody) { 
    493            .          .                   return this._for(new ForLoop(iteration), forBody); 
    494            .          .               } 
    495            .          .               // `for` statement for a range of values 
    496            .        4ms               forRange(nameOrPrefix, from, to, forBody, varKind = this.opts.es5 ? scope_1.varKinds.var : scope_1.varKinds.let) { 

(anonymous)

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:           0        4ms (flat, cum) 0.052%
    498            .        4ms                   return this._for(new ForRange(varKind, name, from, to), () => forBody(name)); 
    499            .          .               } 
    500            .          .               // `for-of` statement (in es5 mode replace with a normal for loop) 
    501            .          .               forOf(nameOrPrefix, iterable, forBody, varKind = scope_1.varKinds.const) { 
    502            .          .                   const name = this._scope.toName(nameOrPrefix); 
    503            .          .                   if (this.opts.es5) { 

forIn

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:         1ms       30ms (flat, cum)  0.39%
    509            .          .                   } 
    510            .          .                   return this._for(new ForIter("of", varKind, name, iterable), () => forBody(name)); 
    511            .          .               } 
    512            .          .               // `for-in` statement. 
    513            .          .               // With option `ownProperties` replaced with a `for-of` loop for object keys 
    514          1ms       30ms               forIn(nameOrPrefix, obj, forBody, varKind = this.opts.es5 ? scope_1.varKinds.var : scope_1.varKinds.const) { 
    515            .          .                   if (this.opts.ownProperties) { 
    516            .          .                       return this.forOf(nameOrPrefix, code_1._ `Object.keys(${obj})`, forBody); 

(anonymous)

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:           0       29ms (flat, cum)  0.38%
    517            .          .                   } 
    518            .          .                   const name = this._scope.toName(nameOrPrefix); 
    519            .       29ms                   return this._for(new ForIter("in", varKind, name, obj), () => forBody(name)); 
    520            .          .               } 
    521            .          .               // end `for` loop 
    522            .          .               endFor() { 
    523            .          .                   return this._endBlockNode(For); 
    524            .          .               } 

return

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:           0        2ms (flat, cum) 0.026%
    529            .          .               // `break` statement 
    530            .          .               break(label) { 
    531            .          .                   return this._leafNode(new Break(label)); 
    532            .          .               } 
    533            .          .               // `return` statement 
    534            .        2ms               return(value) { 
    535            .          .                   const node = new Return(); 
    536            .          .                   this._blockNode(node); 
    537            .          .                   this.code(value); 
    538            .          .                   if (node.nodes.length !== 1) 
    539            .          .                       throw new Error('CodeGen: "return" should have one node'); 

block

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:         1ms     11.65s (flat, cum) 151.84%
    560            .          .               // `throw` statement 
    561            .          .               throw(error) { 
    562            .          .                   return this._leafNode(new Throw(error)); 
    563            .          .               } 
    564            .          .               // start self-balancing block 
    565          1ms     11.65s               block(body, nodeCount) { 
    566            .          .                   this._blockStarts.push(this._nodes.length); 
    567            .          .                   if (body) 
    568            .          .                       this.code(body).endBlock(nodeCount); 

endBlock

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:         2ms        2ms (flat, cum) 0.026%
    569            .          .                   return this; 
    570            .          .               } 
    571            .          .               // end the current self-balancing block 
    572          2ms        2ms               endBlock(nodeCount) { 
    573            .          .                   const len = this._blockStarts.pop(); 
    574            .          .                   if (len === undefined) 
    575            .          .                       throw new Error("CodeGen: not in self-balancing block"); 
    576            .          .                   const toClose = this._nodes.length - len; 
    577            .          .                   if (toClose < 0 || (nodeCount !== undefined && toClose !== nodeCount)) { 

func

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:           0      3.89s (flat, cum) 50.72%
    579            .          .                   } 
    580            .          .                   this._nodes.length = len; 
    581            .          .                   return this; 
    582            .          .               } 
    583            .          .               // `function` heading (or definition if funcBody is passed) 
    584            .      3.89s               func(name, args = code_1.nil, async, funcBody) { 
    585            .          .                   this._blockNode(new Func(name, args, async)); 
    586            .          .                   if (funcBody) 
    587            .          .                       this.code(funcBody).endFunc(); 

endFunc

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:           0        1ms (flat, cum) 0.013%
    588            .          .                   return this; 
    589            .          .               } 
    590            .          .               // end function definition 
    591            .        1ms               endFunc() { 
    592            .          .                   return this._endBlockNode(Func); 

optimize

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:         3ms      229ms (flat, cum)  2.99%
    593            .          .               } 
    594          3ms      229ms               optimize(n = 1) { 
    595            .          .                   while (n-- > 0) { 
    596            .          .                       this._root.optimizeNodes(); 

_leafNode

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:         1ms        2ms (flat, cum) 0.026%
    598            .          .                   } 
    599            .          .               } 
    600          1ms        2ms               _leafNode(node) { 
    601            .          .                   this._currNode.nodes.push(node); 

_blockNode

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:         1ms        1ms (flat, cum) 0.013%
    603            .          .               } 
    604          1ms        1ms               _blockNode(node) { 
    605            .          .                   this._currNode.nodes.push(node); 

_endBlockNode

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:         4ms        4ms (flat, cum) 0.052%
    607            .          .               } 
    608          4ms        4ms               _endBlockNode(N1, N2) { 
    609            .          .                   const n = this._currNode; 
    610            .          .                   if (n instanceof N1 || (N2 && n instanceof N2)) { 
    611            .          .                       this._nodes.pop(); 

_elseNode

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:         2ms        3ms (flat, cum) 0.039%
    613            .          .                   } 
    614            .          .                   throw new Error(`CodeGen: not in block "${N2 ? `${N1.kind}/${N2.kind}` : N1.kind}"`); 
    615            .          .               } 
    616          2ms        3ms               _elseNode(node) { 
    617            .          .                   const n = this._currNode; 
    618            .          .                   if (!(n instanceof If)) { 
    619            .          .                       throw new Error('CodeGen: "else" without "if"'); 
    620            .          .                   } 
    621            .          .                   this._currNode = n.else = node; 

get _currNode

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:         2ms        2ms (flat, cum) 0.026%
    622            .          .                   return this; 
    623            .          .               } 
    624            .          .               get _root() { 
    625            .          .                   return this._nodes[0]; 
    626            .          .               } 
    627          2ms        2ms               get _currNode() { 
    628            .          .                   const ns = this._nodes; 
    629            .          .                   return ns[ns.length - 1]; 
    630            .          .               } 
    631            .          .               set _currNode(node) { 

addNames

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:       122ms      122ms (flat, cum)  1.59%
    633            .          .                   ns[ns.length - 1] = node; 
    634            .          .               } 
    635            .          .           } 
    636            .          .           exports.CodeGen = CodeGen; 
    637        122ms      122ms           function addNames(names, from) { 
    638            .          .               for (const n in from) 
    639            .          .                   names[n] = (names[n] || 0) + (from[n] || 0); 

addExprNames

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:         1ms       68ms (flat, cum)  0.89%
    640            .          .               return names; 
    641            .          .           } 
    642          1ms       68ms           function addExprNames(names, from) { 
    643            .          .               return from instanceof code_1._CodeOrName ? addNames(names, from.names) : names; 

optimizeExpr

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:         1ms       13ms (flat, cum)  0.17%
    644            .          .           } 
    645          1ms       13ms           function optimizeExpr(expr, names, constants) { 
    646            .          .               if (expr instanceof code_1.Name) 
    647            .          .                   return replaceName(expr); 

(anonymous)

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:         2ms        2ms (flat, cum) 0.026%
    648            .          .               if (!canOptimize(expr)) 
    649            .          .                   return expr; 
    650          2ms        2ms               return new code_1._Code(expr._items.reduce((items, c) => { 
    651            .          .                   if (c instanceof code_1.Name) 
    652            .          .                       c = replaceName(c); 
    653            .          .                   if (c instanceof code_1._Code) 
    654            .          .                       items.push(...c._items); 
    655            .          .                   else 

canOptimize

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:         3ms       10ms (flat, cum)  0.13%
    661            .          .                   if (c === undefined || names[n.str] !== 1) 
    662            .          .                       return n; 
    663            .          .                   delete names[n.str]; 
    664            .          .                   return c; 
    665            .          .               } 
    666          3ms       10ms               function canOptimize(e) { 

(anonymous)

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:         7ms        7ms (flat, cum) 0.091%
    668          7ms        7ms                       e._items.some((c) => c instanceof code_1.Name && names[c.str] === 1 && constants[c.str] !== undefined)); 
    669            .          .               } 
    670            .          .           } 
    671            .          .           function subtractNames(names, from) { 

not

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:         1ms        1ms (flat, cum) 0.013%
    672            .          .               for (const n in from) 
    673            .          .                   names[n] = (names[n] || 0) - (from[n] || 0); 
    674            .          .           } 
    675          1ms        1ms           function not(x) { 
    676            .          .               return typeof x == "boolean" || typeof x == "number" || x === null ? !x : code_1._ `!${par(x)}`; 
    677            .          .           } 

and

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:           0        1ms (flat, cum) 0.013%
    679            .          .           const andCode = mappend(exports.operators.AND); 
    680            .          .           // boolean AND (&&) expression with the passed arguments 
    681            .        1ms           function and(...args) { 
    682            .          .               return args.reduce(andCode); 
    683            .          .           } 

or

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:           0        2ms (flat, cum) 0.026%
    685            .          .           const orCode = mappend(exports.operators.OR); 
    686            .          .           // boolean OR (||) expression with the passed arguments 
    687            .        2ms           function or(...args) { 
    688            .          .               return args.reduce(orCode); 
    689            .          .           } 

(anonymous)

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:         1ms        3ms (flat, cum) 0.039%
    690            .          .           exports.or = or; 
    691            .          .           function mappend(op) { 
    692          1ms        3ms               return (x, y) => (x === code_1.nil ? y : y === code_1.nil ? x : code_1._ `${par(x)} ${op} ${par(y)}`); 

par

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/index.js

  Total:         2ms        2ms (flat, cum) 0.026%
    694          2ms        2ms           function par(x) { 
    695            .          .               return x instanceof code_1.Name ? x : code_1._ `(${x})`; 
    696            .          .           } 
    697            .          .           //# sourceMappingURL=index.js.map 

compileFunction

node:vm

  Total:       248ms      255ms (flat, cum)  3.32%
    316        248ms      255ms           ??? 

importModuleDynamically

node:vm

  Total:           0        7ms (flat, cum) 0.091%
    389            .        7ms           ??? 

(anonymous)

/srv/function-orchestrator/function-schemata/javascript/src/normalize.js

  Total:         1ms       25ms (flat, cum)  0.33%
      1          1ms       25ms           'use strict'; 
      2            .          .            
      3            .          .           /* eslint no-use-before-define: ["error", { "functions": false }] */ 
      4            .          .            
      5            .          .           const { error } = require( './error.js' ); 
      6            .          .           const { convertBenjaminArrayToZList, convertItemArrayToZList, isArray, isReference, isString, 

normalize

/srv/function-orchestrator/function-schemata/javascript/src/normalize.js

  Total:        96ms      231ms (flat, cum)  3.01%
     11            .          .           // Canonical form syntax is a superset of normal form syntax, so this validator 
     12            .          .           // captures mixed forms. 
     13            .          .           const mixedZ1Validator = mixedFactory.create( 'Z1' ); 
     14            .          .            
     15            .          .           // the input is assumed to be a well-formed ZObject, or else the behaviour is undefined 
     16         96ms      231ms           async function normalize( o, generically, benjamin ) { 

partialNormalize

/srv/function-orchestrator/function-schemata/javascript/src/normalize.js

  Total:        66ms      152ms (flat, cum)  1.98%
     17         66ms      152ms           	const partialNormalize = async ( ZObject ) => await normalize( ZObject, generically, benjamin ); 
     18            .          .           	if ( isString( o ) ) { 
     19            .          .           		if ( isReference( o ) ) { 
     20            .          .           			return { Z1K1: 'Z9', Z9K1: o }; 
     21            .          .           		} else { 
     22            .          .           			return { Z1K1: 'Z6', Z6K1: o }; 

normalizeExport

/srv/function-orchestrator/function-schemata/javascript/src/normalize.js

  Total:         6ms       17ms (flat, cum)  0.22%
     76            .          .            * @param {boolean} fromBenjamin If true, assume input has benjamin arrays, 
     77            .          .            * else infer type from simple arrays 
     78            .          .            * @return {Object} a Z22 / Evaluation result 
     79            .          .            */ 
     80            .          .           // eslint-disable-next-line no-unused-vars 
     81          6ms       17ms           async function normalizeExport( o, generically = true, withVoid = false, fromBenjamin = true ) { 
     82            .          .           	const status = await mixedZ1Validator.validateStatus( o ); 
     83            .          .            
     84            .          .           	if ( status.isValid() ) { 
     85            .          .           		return makeMappedResultEnvelope( await normalize( o, generically, fromBenjamin ), null ); 
     86            .          .           	} else { 

stat

node:internal/modules/cjs/loader

  Total:         4ms       22ms (flat, cum)  0.29%
    151          4ms       22ms           ??? 

Module

node:internal/modules/cjs/loader

  Total:         4ms        4ms (flat, cum) 0.052%
    172          4ms        4ms           ??? 

readPackage

node:internal/modules/cjs/loader

  Total:        24ms       44ms (flat, cum)  0.57%
    301         24ms       44ms           ??? 

readPackageScope

node:internal/modules/cjs/loader

  Total:         6ms       32ms (flat, cum)  0.42%
    332          6ms       32ms           ??? 

tryPackage

node:internal/modules/cjs/loader

  Total:         3ms       13ms (flat, cum)  0.17%
    349          3ms       13ms           ??? 

tryFile

node:internal/modules/cjs/loader

  Total:           0       28ms (flat, cum)  0.37%
    395            .       28ms           ??? 

toRealPath

node:internal/modules/cjs/loader

  Total:         2ms       21ms (flat, cum)  0.27%
    404          2ms       21ms           ??? 

tryExtensions

node:internal/modules/cjs/loader

  Total:           0       21ms (flat, cum)  0.27%
    411            .       21ms           ??? 

findLongestRegisteredExtension

node:internal/modules/cjs/loader

  Total:         1ms        1ms (flat, cum) 0.013%
    424          1ms        1ms           ??? 

trySelf

node:internal/modules/cjs/loader

  Total:         2ms       23ms (flat, cum)   0.3%
    452          2ms       23ms           ??? 

resolveExports

node:internal/modules/cjs/loader

  Total:         2ms       29ms (flat, cum)  0.38%
    483          2ms       29ms           ??? 

Module._findPath

node:internal/modules/cjs/loader

  Total:         7ms       86ms (flat, cum)  1.12%
    505          7ms       86ms           ??? 

Module._nodeModulePaths

node:internal/modules/cjs/loader

  Total:         3ms        4ms (flat, cum) 0.052%
    640          3ms        4ms           ??? 

Module._load

node:internal/modules/cjs/loader

  Total:        33ms      5.94s (flat, cum) 77.47%
    771         33ms      5.94s           ??? 

Module._resolveFilename

node:internal/modules/cjs/loader

  Total:         2ms      111ms (flat, cum)  1.45%
    865          2ms      111ms           ??? 

finalizeEsmResolution

node:internal/modules/cjs/loader

  Total:           0        1ms (flat, cum) 0.013%
    962            .        1ms           ??? 

Module.load

node:internal/modules/cjs/loader

  Total:         4ms      5.78s (flat, cum) 75.33%
    986          4ms      5.78s           ??? 

Module.require

node:internal/modules/cjs/loader

  Total:         2ms      4.64s (flat, cum) 60.47%
   1014          2ms      4.64s           ??? 

wrapSafe

node:internal/modules/cjs/loader

  Total:         1ms      257ms (flat, cum)  3.35%
   1034          1ms      257ms           ??? 

importModuleDynamically

node:internal/modules/cjs/loader

  Total:           0        7ms (flat, cum) 0.091%
   1057            .        7ms           ??? 

Module._compile

node:internal/modules/cjs/loader

  Total:         2ms      5.70s (flat, cum) 74.32%
   1074          2ms      5.70s           ??? 

Module._extensions..js

node:internal/modules/cjs/loader

  Total:         1ms      5.75s (flat, cum) 75.03%
   1129          1ms      5.75s           ??? 

Module._extensions..json

node:internal/modules/cjs/loader

  Total:        15ms       17ms (flat, cum)  0.22%
   1179         15ms       17ms           ??? 

(anonymous)

/srv/function-orchestrator/function-schemata/javascript/src/schema.js

  Total:           0      269ms (flat, cum)  3.51%
      1            .      269ms           'use strict'; 
      2            .          .            
      3            .          .           const Ajv = require( 'ajv' ).default; 
      4            .          .            
      5            .          .           const fs = require( 'fs' ); 
      6            .          .           const path = require( 'path' ); 

initializeValidators

/srv/function-orchestrator/function-schemata/javascript/src/schema.js

  Total:           0      219ms (flat, cum)  2.86%
     11            .          .           const stableStringify = require( 'json-stable-stringify-without-jsonify' ); 
     12            .          .            
     13            .          .           let Z1Validator, Z4Validator, Z5Validator, Z6Validator, Z7Validator, 
     14            .          .           	Z8Validator, Z9Validator, Z18Validator; 
     15            .          .            
     16            .      219ms           function initializeValidators() { 
     17            .          .           	// eslint-disable-next-line no-use-before-define 
     18            .          .           	const defaultFactory = SchemaFactory.NORMAL(); 
     19            .          .            
     20            .          .           	Z1Validator = defaultFactory.create( 'Z1' ); 
     21            .          .           	Z4Validator = defaultFactory.create( 'Z4_literal' ); 

newAjv

/srv/function-orchestrator/function-schemata/javascript/src/schema.js

  Total:           0        8ms (flat, cum)   0.1%
     25            .          .           	Z8Validator = defaultFactory.create( 'Z8_literal' ); 
     26            .          .           	Z9Validator = defaultFactory.create( 'Z9_literal' ); 
     27            .          .           	Z18Validator = defaultFactory.create( 'Z18_literal' ); 
     28            .          .           } 
     29            .          .            
     30            .        8ms           function newAjv() { 
     31            .          .           	return new Ajv( { 
     32            .          .           		allowMatchingProperties: true, 
     33            .          .           		verbose: true, 
     34            .          .           		strictTuples: false, 
     35            .          .           		strictTypes: false } ); 

validatesAsType

/srv/function-orchestrator/function-schemata/javascript/src/schema.js

  Total:         4ms       10ms (flat, cum)  0.13%
     52            .          .            * Determines whether argument is a Z4. 
     53            .          .            * 
     54            .          .            * @param {Object} Z1 a ZObject 
     55            .          .            * @return {ValidationStatus} Status is only valid if Z1 validates as Z4 
     56            .          .            */ 
     57          4ms       10ms           async function validatesAsType( Z1 ) { 
     58            .          .           	return await Z4Validator.validateStatus( Z1 ); 
     59            .          .           } 
     60            .          .            
     61            .          .           /** 
     62            .          .            * Determines whether argument is a Z5. 

validatesAsFunction

/srv/function-orchestrator/function-schemata/javascript/src/schema.js

  Total:           0        7ms (flat, cum) 0.091%
     84            .          .            * Determines whether argument is a Z8. 
     85            .          .            * 
     86            .          .            * @param {Object} Z1 a ZObject 
     87            .          .            * @return {ValidationStatus} Status is only valid if Z1 validates as Z8 
     88            .          .            */ 
     89            .        7ms           async function validatesAsFunction( Z1 ) { 
     90            .          .           	return await Z8Validator.validateStatus( Z1 ); 
     91            .          .           } 
     92            .          .            
     93            .          .           /** 

validatesAsReference

/srv/function-orchestrator/function-schemata/javascript/src/schema.js

  Total:         6ms       28ms (flat, cum)  0.37%
     95            .          .            * 
     96            .          .            * @param {Object} Z1 a ZObject 
     97            .          .            * @return {ValidationStatus} Status is only valid if Z1 validates as Z9 
     98            .          .            */ 
     99          6ms       28ms           async function validatesAsReference( Z1 ) { 
    100            .          .           	return await Z9Validator.validateStatus( Z1 ); 
    101            .          .           } 
    102            .          .            
    103            .          .           /** 

validatesAsFunctionCall

/srv/function-orchestrator/function-schemata/javascript/src/schema.js

  Total:         5ms       29ms (flat, cum)  0.38%
    105            .          .            * 
    106            .          .            * @param {Object} Z1 object to be validated 
    107            .          .            * @return {ValidationStatus} whether Z1 can validated as a Function Call 
    108            .          .            */ 
    109          5ms       29ms           async function validatesAsFunctionCall( Z1 ) { 
    110            .          .           	return await Z7Validator.validateStatus( Z1 ); 
    111            .          .           } 
    112            .          .            
    113            .          .           /** 

validatesAsArgumentReference

/srv/function-orchestrator/function-schemata/javascript/src/schema.js

  Total:         4ms       12ms (flat, cum)  0.16%
    115            .          .            * 
    116            .          .            * @param {Object} Z1 object to be validated 
    117            .          .            * @return {ValidationStatus} whether Z1 can validated as a Argument Reference 
    118            .          .            */ 
    119          4ms       12ms           async function validatesAsArgumentReference( Z1 ) { 
    120            .          .           	return await Z18Validator.validateStatus( Z1 ); 
    121            .          .           } 
    122            .          .            
    123            .          .           /** 
    124            .          .            * Finds the identity of a type. This might be a Function Call (in the case of 

findIdentity

/srv/function-orchestrator/function-schemata/javascript/src/schema.js

  Total:         5ms       32ms (flat, cum)  0.42%
    126            .          .            * (in the case of a user-defined type). 
    127            .          .            * 
    128            .          .            * @param {Object} Z4 a Type 
    129            .          .            * @return {Object|null} the Z4's identity 
    130            .          .            */ 
    131          5ms       32ms           async function findIdentity( Z4 ) { 
    132            .          .           	if ( 
    133            .          .           		( await validatesAsFunctionCall( Z4 ) ).isValid() || 
    134            .          .                   ( await validatesAsReference( Z4 ) ).isValid() ) { 
    135            .          .           		return Z4; 
    136            .          .           	} 

getZIDForType

/srv/function-orchestrator/function-schemata/javascript/src/schema.js

  Total:         4ms       24ms (flat, cum)  0.31%
    152            .          .            * the Function (if identity is a Function Call) or the ZID of a built-in type. 
    153            .          .            * 
    154            .          .            * @param {Object} Z4 a Type's identity 
    155            .          .            * @return {Object|null} the associated ZID 
    156            .          .            */ 
    157          4ms       24ms           async function getZIDForType( Z4 ) { 
    158            .          .           	if ( ( await validatesAsFunction( Z4 ) ).isValid() ) { 
    159            .          .           		return await getZIDForType( Z4.Z8K5 ); 
    160            .          .           	} 
    161            .          .           	if ( ( await validatesAsReference( Z4 ) ).isValid() ) { 
    162            .          .           		return Z4.Z9K1; 

SimpleTypeKey

/srv/function-orchestrator/function-schemata/javascript/src/schema.js

  Total:         2ms        2ms (flat, cum) 0.026%
    174            .          .           	// I guess this wasn't a type. 
    175            .          .           	return null; 
    176            .          .           } 
    177            .          .            
    178            .          .           class SimpleTypeKey { 
    179          2ms        2ms           	constructor( ZID ) { 
    180            .          .           		this.ZID_ = ZID; 

create

/srv/function-orchestrator/function-schemata/javascript/src/schema.js

  Total:           0        2ms (flat, cum) 0.026%
    182            .          .            
    183            .        2ms           	static create( ZID ) { 
    184            .          .           		return new SimpleTypeKey( ZID ); 
    185            .          .           	} 
    186            .          .            
    187            .          .           	/** 
    188            .          .           	 * String representation containing the type's ZID. 

create

/srv/function-orchestrator/function-schemata/javascript/src/schema.js

  Total:         1ms       14ms (flat, cum)  0.18%
    203            .          .           		this.typeKey_ = typeKey; 
    204            .          .           		this.childKeys_ = childKeys; 
    205            .          .           		this.string_ = null; 
    206            .          .           	} 
    207            .          .            
    208          1ms       14ms           	static async create( ZObject ) { 
    209            .          .           		const children = new Map(); 
    210            .          .           		let typeKey; 
    211            .          .           		for ( const objectKey of Object.keys( ZObject ) ) { 
    212            .          .           			const value = ZObject[ objectKey ]; 
    213            .          .           			let subKey; 

create

/srv/function-orchestrator/function-schemata/javascript/src/schema.js

  Total:         8ms       12ms (flat, cum)  0.16%
    249            .          .           		this.ZID_ = ZID; 
    250            .          .           		this.children_ = children; 
    251            .          .           		this.string_ = null; 
    252            .          .           	} 
    253            .          .            
    254          8ms       12ms           	static async create( ZID, identity ) { 
    255            .          .           		const argumentKeys = []; 
    256            .          .           		const skipTheseKeys = new Set( [ 'Z1K1', 'Z7K1' ] ); 
    257            .          .           		for ( const argumentKey of Object.keys( identity ) ) { 
    258            .          .           			if ( skipTheseKeys.has( argumentKey ) ) { 
    259            .          .           				continue; 

create

/srv/function-orchestrator/function-schemata/javascript/src/schema.js

  Total:         8ms       71ms (flat, cum)  0.93%
    380            .          .           	 * @param {Object} ZObject a ZObject 
    381            .          .           	 * @param {boolean} benjamin whether the zobject to be normalized contains benjamin arrays 
    382            .          .           	 * @return {Promise<Object>} (Simple|Generic|UserDefined)TypeKey or ZObjectKey 
    383            .          .           	 * @throws {Error} If input is not a valid ZObject. 
    384            .          .           	 */ 
    385          8ms       71ms           	static async create( ZObject, benjamin = true ) { 
    386            .          .           		const normalize = require( './normalize.js' ); 
    387            .          .           		// See T304144 re: the withVoid arg of normalize, and the impact of setting it to true 
    388            .          .           		const normalizedEnvelope = await normalize( 
    389            .          .           			ZObject, 
    390            .          .           			/* generically= */ true, 

validate

/srv/function-orchestrator/function-schemata/javascript/src/schema.js

  Total:         2ms        4ms (flat, cum) 0.052%
    436            .          .           	 * the result was valid without surfacing errors. 
    437            .          .           	 * 
    438            .          .           	 * @param {Object} maybeValid a JSON object 
    439            .          .           	 * @return {ValidationStatus} whether the object is valid 
    440            .          .           	 */ 
    441          2ms        4ms           	async validate( maybeValid ) { 
    442            .          .           		return ( await this.validateStatus( maybeValid ) ).isValid(); 
    443            .          .           	} 
    444            .          .            
    445            .          .           	subValidator( key ) { 

Schema

/srv/function-orchestrator/function-schemata/javascript/src/schema.js

  Total:         2ms        4ms (flat, cum) 0.052%
    447            .          .           	} 
    448            .          .           } 
    449            .          .            
    450            .          .           class Schema extends BaseSchema { 
    451          2ms        4ms           	constructor( validate, subValidators = null ) { 
    452            .          .           		super(); 
    453            .          .           		this.validate_ = validate; 
    454            .          .           		this.mutex_ = new Mutex(); 
    455            .          .           		if ( subValidators !== null ) { 
    456            .          .           			for ( const key of subValidators.keys() ) { 

validateStatus

/srv/function-orchestrator/function-schemata/javascript/src/schema.js

  Total:        57ms      4.17s (flat, cum) 54.34%
    465            .          .           	 * returned. 
    466            .          .           	 * 
    467            .          .           	 * @param {Object} maybeValid a JSON object 
    468            .          .           	 * @return {ValidationStatus} a validation status instance 
    469            .          .           	 */ 
    470         57ms      4.17s           	async validateStatus( maybeValid ) { 
    471            .          .           		const release = await this.mutex_.acquire(); 
    472            .          .           		const result = this.validate_( maybeValid ); 
    473            .          .           		const validationStatus = new ValidationStatus( this.validate_, result ); 
    474            .          .           		await release(); 
    475            .          .           		return validationStatus; 

MIXED

/srv/function-orchestrator/function-schemata/javascript/src/schema.js

  Total:           0       20ms (flat, cum)  0.26%
    555            .          .           	/** 
    556            .          .           	 * Initializes a SchemaFactory for mixed form Z1. 
    557            .          .           	 * 
    558            .          .           	 * @return {SchemaFactory} factory with lonely mixed form schema 
    559            .          .           	 */ 
    560            .       20ms           	static MIXED() { 
    561            .          .           		const ajv = newAjv(); 
    562            .          .           		const directory = dataDir( 'MIXED' ); 
    563            .          .           		ajv.addSchema( readYaml( path.join( directory, 'Z1.yaml' ) ) ); 
    564            .          .           		return new SchemaFactory( ajv ); 
    565            .          .           	} 

NORMAL

/srv/function-orchestrator/function-schemata/javascript/src/schema.js

  Total:         1ms      250ms (flat, cum)  3.26%
    567            .          .           	/** 
    568            .          .           	 * Initializes a SchemaFactory linking schemata for normal-form ZObjects. 
    569            .          .           	 * 
    570            .          .           	 * @return {SchemaFactory} factory with all normal-form schemata included 
    571            .          .           	 */ 
    572          1ms      250ms           	static NORMAL() { 
    573            .          .           		// Add all schemata for normal ZObjects to ajv's parsing context. 
    574            .          .           		const ajv = newAjv(); 
    575            .          .           		const directory = dataDir( 'NORMAL' ); 
    576            .          .           		const fileRegex = /((Z[1-9]\d*(K[1-9]\d*)?)|(GENERIC)|(LIST)|(RESOLVER))\.yaml/; 
    577            .          .            

create

/srv/function-orchestrator/function-schemata/javascript/src/schema.js

  Total:         3ms      245ms (flat, cum)  3.19%
    626            .          .           	 *  const Z11Schema = factory.create("Z11"); 
    627            .          .           	 * 
    628            .          .           	 * @param {string} schemaName the name of a supported schema 
    629            .          .           	 * @return {Schema} a fully-initialized Schema or null if unsupported 
    630            .          .           	 */ 
    631          3ms      245ms           	create( schemaName ) { 
    632            .          .           		let type = schemaName; 
    633            .          .           		if ( schemaName === 'Z41' || schemaName === 'Z42' ) { 
    634            .          .           			type = 'Z40'; 
    635            .          .           		} 
    636            .          .           		let validate = null; 

SchemaEnv

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/index.js

  Total:         1ms        1ms (flat, cum) 0.013%
      7            .          .           const resolve_1 = require("./resolve"); 
      8            .          .           const util_1 = require("./util"); 
      9            .          .           const validate_1 = require("./validate"); 
     10            .          .           const URI = require("uri-js"); 
     11            .          .           class SchemaEnv { 
     12          1ms        1ms               constructor(env) { 
     13            .          .                   var _a; 
     14            .          .                   this.refs = {}; 
     15            .          .                   this.dynamicAnchors = {}; 
     16            .          .                   let schema; 
     17            .          .                   if (typeof env.schema == "object") 

compileSchema

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/index.js

  Total:        88ms      4.21s (flat, cum) 54.84%
     29            .          .           } 
     30            .          .           exports.SchemaEnv = SchemaEnv; 
     31            .          .           // let codeSize = 0 
     32            .          .           // let nodeCount = 0 
     33            .          .           // Compiles schema in SchemaEnv 
     34         88ms      4.21s           function compileSchema(sch) { 
     35            .          .               // TODO refactor - remove compilations 
     36            .          .               const _sch = getCompilingSchema.call(this, sch); 
     37            .          .               if (_sch) 
     38            .          .                   return _sch; 
     39            .          .               const rootId = resolve_1.getFullPath(sch.root.baseId); // TODO if getFullPath removed 1 tests fails 

resolveRef

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/index.js

  Total:         2ms      3.94s (flat, cum) 51.40%
    123            .          .               finally { 
    124            .          .                   this._compilations.delete(sch); 
    125            .          .               } 
    126            .          .           } 
    127            .          .           exports.compileSchema = compileSchema; 
    128          2ms      3.94s           function resolveRef(root, baseId, ref) { 
    129            .          .               var _a; 
    130            .          .               ref = resolve_1.resolveUrl(baseId, ref); 
    131            .          .               const schOrFunc = root.refs[ref]; 
    132            .          .               if (schOrFunc) 
    133            .          .                   return schOrFunc; 

inlineOrCompile

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/index.js

  Total:         4ms      2.89s (flat, cum) 37.72%
    141            .          .               if (_sch === undefined) 
    142            .          .                   return; 
    143            .          .               return (root.refs[ref] = inlineOrCompile.call(this, _sch)); 
    144            .          .           } 
    145            .          .           exports.resolveRef = resolveRef; 
    146          4ms      2.89s           function inlineOrCompile(sch) { 
    147            .          .               if (resolve_1.inlineRef(sch.schema, this.opts.inlineRefs)) 
    148            .          .                   return sch.schema; 

getCompilingSchema

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/index.js

  Total:         1ms        1ms (flat, cum) 0.013%
    150            .          .           } 
    151            .          .           // Index of schema compilation in the currently compiled list 
    152          1ms        1ms           function getCompilingSchema(schEnv) { 
    153            .          .               for (const sch of this._compilations) { 
    154            .          .                   if (sameSchemaEnv(sch, schEnv)) 
    155            .          .                       return sch; 
    156            .          .               } 
    157            .          .           } 

resolve

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/index.js

  Total:           0      1.02s (flat, cum) 13.35%
    159            .          .           function sameSchemaEnv(s1, s2) { 
    160            .          .               return s1.schema === s2.schema && s1.root === s2.root && s1.baseId === s2.baseId; 
    161            .          .           } 
    162            .          .           // resolve and compile the references ($ref) 
    163            .          .           // TODO returns AnySchemaObject (if the schema can be inlined) or validation function 
    164            .      1.02s           function resolve(root, // information about the root schema for the current schema 
    165            .          .           ref // reference to resolve 
    166            .          .           ) { 
    167            .          .               let sch; 
    168            .          .               while (typeof (sch = this.refs[ref]) == "string") 

resolveSchema

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/index.js

  Total:         4ms      1.72s (flat, cum) 22.45%
    169            .          .                   ref = sch; 
    170            .          .               return sch || this.schemas[ref] || resolveSchema.call(this, root, ref); 
    171            .          .           } 
    172            .          .           // Resolve schema, its root and baseId 
    173          4ms      1.72s           function resolveSchema(root, // root object with properties schema, refs TODO below SchemaEnv is assigned to it 
    174            .          .           ref // reference to resolve 
    175            .          .           ) { 
    176            .          .               const p = URI.parse(ref); 
    177            .          .               const refPath = resolve_1._getFullPath(p); 
    178            .          .               let baseId = resolve_1.getFullPath(root.baseId); 

getJsonPointer

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/index.js

  Total:        11ms      695ms (flat, cum)  9.06%
    208            .          .               "patternProperties", 
    209            .          .               "enum", 
    210            .          .               "dependencies", 
    211            .          .               "definitions", 
    212            .          .           ]); 
    213         11ms      695ms           function getJsonPointer(parsedRef, { baseId, schema, root }) { 
    214            .          .               var _a; 
    215            .          .               if (((_a = parsedRef.fragment) === null || _a === void 0 ? void 0 : _a[0]) !== "/") 
    216            .          .                   return; 
    217            .          .               for (const part of parsedRef.fragment.slice(1).split("/")) { 
    218            .          .                   if (typeof schema == "boolean") 

(anonymous)

/srv/function-orchestrator/function-schemata/javascript/src/errorFormatter.js

  Total:           0        1ms (flat, cum) 0.013%
      1            .        1ms           'use strict'; 
      2            .          .            
      3            .          .           const { convertArrayToKnownTypedList, isString, isKey, isZid, wrapInZ6, wrapInZ9, wrapInKeyReference, wrapInQuote } = require( './utils.js' ); 
      4            .          .           const { dataDir, readYaml } = require( './fileUtils.js' ); 
      5            .          .           const errorTypes = require( './error.js' ); 
      6            .          .            

get errorDescriptors

/srv/function-orchestrator/function-schemata/javascript/src/errorFormatter.js

  Total:           0        4ms (flat, cum) 0.052%
      9            .          .           	/** 
     10            .          .           	 * Read and parse the yaml file with the error type descriptors 
     11            .          .           	 * 
     12            .          .           	 * @return {Array} 
     13            .          .           	 */ 
     14            .        4ms           	static get errorDescriptors() { 
     15            .          .           		if ( !this._errorDescriptors ) { 
     16            .          .           			const descriptorPath = dataDir( 'errors', 'error_types.yaml' ); 
     17            .          .           			this._errorDescriptors = readYaml( descriptorPath ).patterns.keywords; 
     18            .          .           		} 
     19            .          .            

createRootZError

/srv/function-orchestrator/function-schemata/javascript/src/errorFormatter.js

  Total:        22ms      117ms (flat, cum)  1.53%
     26            .          .           	 * ZErrorTypes (Z50). 
     27            .          .           	 * 
     28            .          .           	 * @param {Array} errors 
     29            .          .           	 * @return {Object} 
     30            .          .           	 */ 
     31         22ms      117ms           	static createRootZError( errors ) { 
     32            .          .           		const Z5s = []; 
     33            .          .           		// descriptors found for parser errors 
     34            .          .           		const descriptors = []; 
     35            .          .            
     36            .          .           		for ( const error of errors ) { 

buildErrorTree

/srv/function-orchestrator/function-schemata/javascript/src/errorFormatter.js

  Total:         6ms        6ms (flat, cum) 0.078%
     66            .          .           	 * returns the root object of the tree. 
     67            .          .           	 * 
     68            .          .           	 * @param {Array} Z5s 
     69            .          .           	 * @return {Object} 
     70            .          .           	 */ 
     71          6ms        6ms           	static buildErrorTree( Z5s ) { 
     72            .          .           		const root = { 
     73            .          .           			key: 'root', 
     74            .          .           			children: {}, 
     75            .          .           			errors: [] 
     76            .          .           		}; 

getZObjectFromErrorTree

/srv/function-orchestrator/function-schemata/javascript/src/errorFormatter.js

  Total:         6ms       41ms (flat, cum)  0.53%
    109            .          .           	 * wellformed/Z526. 
    110            .          .           	 * 
    111            .          .           	 * @param {Object} root 
    112            .          .           	 * @return {Object} 
    113            .          .           	 */ 
    114          6ms       41ms           	static getZObjectFromErrorTree( root ) { 
    115            .          .           		const children = Object.values( root.children ); 
    116            .          .            
    117            .          .           		const childrenErrors = []; 
    118            .          .           		for ( const child of children ) { 
    119            .          .           			childrenErrors.push( this.getZObjectFromErrorTree( child ) ); 

createValidationZError

/srv/function-orchestrator/function-schemata/javascript/src/errorFormatter.js

  Total:         6ms       32ms (flat, cum)  0.42%
    150            .          .           	 * Create a ZError (Z5) of the type "Not wellformed" (Z502) 
    151            .          .           	 * 
    152            .          .           	 * @param {Object} Z5 
    153            .          .           	 * @return {Object} 
    154            .          .           	 */ 
    155          6ms       32ms           	static createValidationZError( Z5 ) { 
    156            .          .           		return this.createZErrorInstance( 
    157            .          .           			errorTypes.error.not_wellformed, 
    158            .          .           			{ 
    159            .          .           				subtype: Z5.Z5K1, 
    160            .          .           				value: Z5 

createZErrorList

/srv/function-orchestrator/function-schemata/javascript/src/errorFormatter.js

  Total:         1ms        3ms (flat, cum) 0.039%
    166            .          .           	 * Create a ZError (Z5) of the type "Multiple errors" (Z509) 
    167            .          .           	 * 
    168            .          .           	 * @param {*} array 
    169            .          .           	 * @return {Object|null} 
    170            .          .           	 */ 
    171          1ms        3ms           	static createZErrorList( array ) { 
    172            .          .           		return this.createZErrorInstance( 
    173            .          .           			errorTypes.error.list_of_errors, 
    174            .          .           			{ 
    175            .          .           				list: convertArrayToKnownTypedList( array, 'Z5' ) 
    176            .          .           			} 

matchDescriptor

/srv/function-orchestrator/function-schemata/javascript/src/errorFormatter.js

  Total:         5ms       17ms (flat, cum)  0.22%
    183            .          .           	 * function returns null. 
    184            .          .           	 * 
    185            .          .           	 * @param {Object} err 
    186            .          .           	 * @return {Object|null} 
    187            .          .           	 */ 
    188          5ms       17ms           	static matchDescriptor( err ) { 
    189            .          .           		const candidates = this.errorDescriptors[ err.keyword ]; 

(anonymous)

/srv/function-orchestrator/function-schemata/javascript/src/errorFormatter.js

  Total:         6ms        8ms (flat, cum)   0.1%
    191            .          .           		if ( candidates ) { 
    192          6ms        8ms           			return candidates.find( ( descriptor ) => { 
    193            .          .           				switch ( err.keyword ) { 
    194            .          .           					case 'required': 
    195            .          .           						return !descriptor.keywordArgs.missing || 
    196            .          .           							descriptor.keywordArgs.missing === err.params.missingProperty; 
    197            .          .           					case 'additionalProperties': 

matchTypeDescriptor

/srv/function-orchestrator/function-schemata/javascript/src/errorFormatter.js

  Total:         2ms        2ms (flat, cum) 0.026%
    213            .          .           	 * 
    214            .          .           	 * @param {Object} descriptor 
    215            .          .           	 * @param {Object} err 
    216            .          .           	 * @return {boolean} 
    217            .          .           	 */ 
    218          2ms        2ms           	static matchTypeDescriptor( descriptor, err ) { 
    219            .          .           		// if dataPointer is specified but not found in the actual data path 
    220            .          .           		if ( descriptor.dataPointer.length > 0 && 
    221            .          .           			!err.instancePath.endsWith( descriptor.dataPointer[ 0 ] ) ) { 
    222            .          .           			return false; 
    223            .          .           		} 

createGenericError

/srv/function-orchestrator/function-schemata/javascript/src/errorFormatter.js

  Total:        39ms       39ms (flat, cum)  0.51%
    246            .          .           	 * 
    247            .          .           	 * @param {string} errorType 
    248            .          .           	 * @param {Object} errorKeys 
    249            .          .           	 * @return {Object} 
    250            .          .           	 */ 
    251         39ms       39ms           	static createGenericError( errorType, errorKeys ) { 
    252            .          .           		const genericError = { 
    253            .          .           			Z1K1: { 
    254            .          .           				Z1K1: wrapInZ9( 'Z7' ), 
    255            .          .           				Z7K1: wrapInZ9( 'Z885' ), 
    256            .          .           				Z885K1: wrapInZ9( errorType ) 

createZErrorInstance

/srv/function-orchestrator/function-schemata/javascript/src/errorFormatter.js

  Total:        13ms       62ms (flat, cum)  0.81%
    272            .          .           	 * @param {string} errorType 
    273            .          .           	 * @param {Object} err 
    274            .          .           	 * @return {Object} 
    275            .          .           	 * @throws Will throw an error if the error type is not valid 
    276            .          .           	 */ 
    277         13ms       62ms           	static createZErrorInstance( errorType, err = {} ) { 
    278            .          .           		const errorKeys = []; 
    279            .          .            
    280            .          .           		if ( !isString( errorType ) || !isZid( errorType ) ) { 
    281            .          .           			throw new Error( `Invalid error type: ${errorType}` ); 
    282            .          .           		} 

(anonymous)

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/code.js

  Total:         1ms        1ms (flat, cum) 0.013%
      1          1ms        1ms           "use strict"; 
      2            .          .           Object.defineProperty(exports, "__esModule", { value: true }); 
      3            .          .           exports.regexpCode = exports.getProperty = exports.safeStringify = exports.stringify = exports.strConcat = exports.addCodeArg = exports.str = exports._ = exports.nil = exports._Code = exports.Name = exports.IDENTIFIER = exports._CodeOrName = void 0; 
      4            .          .           class _CodeOrName { 

Name

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/code.js

  Total:         2ms        2ms (flat, cum) 0.026%
      6            .          .           exports._CodeOrName = _CodeOrName; 
      7            .          .           exports.IDENTIFIER = /^[a-z$_][a-z$_0-9]*$/i; 
      8            .          .           class Name extends _CodeOrName { 
      9          2ms        2ms               constructor(s) { 
     10            .          .                   super(); 
     11            .          .                   if (!exports.IDENTIFIER.test(s)) 

toString

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/code.js

  Total:         1ms        1ms (flat, cum) 0.013%
     13            .          .                   this.str = s; 
     14            .          .               } 
     15          1ms        1ms               toString() { 
     16            .          .                   return this.str; 
     17            .          .               } 

get names

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/code.js

  Total:         1ms        1ms (flat, cum) 0.013%
     19            .          .                   return false; 
     20            .          .               } 
     21          1ms        1ms               get names() { 
     22            .          .                   return { [this.str]: 1 }; 
     23            .          .               } 

_Code

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/code.js

  Total:         1ms        1ms (flat, cum) 0.013%
     25            .          .           exports.Name = Name; 
     26            .          .           class _Code extends _CodeOrName { 
     27          1ms        1ms               constructor(code) { 
     28            .          .                   super(); 

toString

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/code.js

  Total:         1ms       17ms (flat, cum)  0.22%
     30            .          .               } 
     31          1ms       17ms               toString() { 
     32            .          .                   return this.str; 
     33            .          .               } 
     34            .          .               emptyStr() { 
     35            .          .                   if (this._items.length > 1) 

get str

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/code.js

  Total:         4ms       16ms (flat, cum)  0.21%
     36            .          .                       return false; 
     37            .          .                   const item = this._items[0]; 
     38            .          .                   return item === "" || item === '""'; 
     39            .          .               } 
     40          4ms       16ms               get str() { 

(anonymous)

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/code.js

  Total:        11ms       12ms (flat, cum)  0.16%
     42         11ms       12ms                   return ((_a = this._str) !== null && _a !== void 0 ? _a : (this._str = this._items.reduce((s, c) => `${s}${c}`, ""))); 

get names

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/code.js

  Total:         5ms       45ms (flat, cum)  0.59%
     44          5ms       45ms               get names() { 

(anonymous)

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/code.js

  Total:        40ms       40ms (flat, cum)  0.52%
     46         40ms       40ms                   return ((_a = this._names) !== null && _a !== void 0 ? _a : (this._names = this._items.reduce((names, c) => { 
     47            .          .                       if (c instanceof Name) 
     48            .          .                           names[c.str] = (names[c.str] || 0) + 1; 
     49            .          .                       return names; 
     50            .          .                   }, {}))); 

_

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/code.js

  Total:        10ms       15ms (flat, cum)   0.2%
     51            .          .               } 
     52            .          .           } 
     53            .          .           exports._Code = _Code; 
     54            .          .           exports.nil = new _Code(""); 
     55         10ms       15ms           function _(strs, ...args) { 
     56            .          .               const code = [strs[0]]; 
     57            .          .               let i = 0; 
     58            .          .               while (i < args.length) { 
     59            .          .                   addCodeArg(code, args[i]); 
     60            .          .                   code.push(strs[++i]); 

str

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/code.js

  Total:         4ms       13ms (flat, cum)  0.17%
     61            .          .               } 
     62            .          .               return new _Code(code); 
     63            .          .           } 
     64            .          .           exports._ = _; 
     65            .          .           const plus = new _Code("+"); 
     66          4ms       13ms           function str(strs, ...args) { 
     67            .          .               const expr = [safeStringify(strs[0])]; 
     68            .          .               let i = 0; 
     69            .          .               while (i < args.length) { 
     70            .          .                   expr.push(plus); 
     71            .          .                   addCodeArg(expr, args[i]); 

addCodeArg

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/code.js

  Total:         8ms       16ms (flat, cum)  0.21%
     73            .          .               } 
     74            .          .               optimize(expr); 
     75            .          .               return new _Code(expr); 
     76            .          .           } 
     77            .          .           exports.str = str; 
     78          8ms       16ms           function addCodeArg(code, arg) { 
     79            .          .               if (arg instanceof _Code) 
     80            .          .                   code.push(...arg._items); 
     81            .          .               else if (arg instanceof Name) 
     82            .          .                   code.push(arg); 

optimize

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/code.js

  Total:           0        1ms (flat, cum) 0.013%
     83            .          .               else 
     84            .          .                   code.push(interpolate(arg)); 
     85            .          .           } 
     86            .          .           exports.addCodeArg = addCodeArg; 
     87            .        1ms           function optimize(expr) { 
     88            .          .               let i = 1; 
     89            .          .               while (i < expr.length - 1) { 
     90            .          .                   if (expr[i] === plus) { 
     91            .          .                       const res = mergeExprItems(expr[i - 1], expr[i + 1]); 
     92            .          .                       if (res !== undefined) { 

mergeExprItems

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/code.js

  Total:         1ms        1ms (flat, cum) 0.013%
     96            .          .                       expr[i++] = "+"; 
     97            .          .                   } 
     98            .          .                   i++; 
     99            .          .               } 
    100            .          .           } 
    101          1ms        1ms           function mergeExprItems(a, b) { 
    102            .          .               if (b === '""') 
    103            .          .                   return a; 
    104            .          .               if (a === '""') 
    105            .          .                   return b; 
    106            .          .               if (typeof a == "string") { 

strConcat

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/code.js

  Total:         2ms        5ms (flat, cum) 0.065%
    114            .          .               } 
    115            .          .               if (typeof b == "string" && b[0] === '"' && !(a instanceof Name)) 
    116            .          .                   return `"${a}${b.slice(1)}`; 
    117            .          .               return; 
    118            .          .           } 
    119          2ms        5ms           function strConcat(c1, c2) { 
    120            .          .               return c2.emptyStr() ? c1 : c1.emptyStr() ? c2 : str `${c1}${c2}`; 
    121            .          .           } 

interpolate

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/code.js

  Total:           0        8ms (flat, cum)   0.1%
    122            .          .           exports.strConcat = strConcat; 
    123            .          .           // TODO do not allow arrays here 
    124            .        8ms           function interpolate(x) { 
    125            .          .               return typeof x == "number" || typeof x == "boolean" || x === null 
    126            .          .                   ? x 
    127            .          .                   : safeStringify(Array.isArray(x) ? x.join(",") : x); 
    128            .          .           } 

safeStringify

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/code.js

  Total:        11ms       11ms (flat, cum)  0.14%
    129            .          .           function stringify(x) { 
    130            .          .               return new _Code(safeStringify(x)); 
    131            .          .           } 
    132            .          .           exports.stringify = stringify; 
    133         11ms       11ms           function safeStringify(x) { 
    134            .          .               return JSON.stringify(x) 
    135            .          .                   .replace(/\u2028/g, "\\u2028") 

getProperty

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/code.js

  Total:         2ms        3ms (flat, cum) 0.039%
    137            .          .           } 
    138            .          .           exports.safeStringify = safeStringify; 
    139          2ms        3ms           function getProperty(key) { 
    140            .          .               return typeof key == "string" && exports.IDENTIFIER.test(key) ? new _Code(`.${key}`) : _ `[${key}]`; 
    141            .          .           } 
    142            .          .           exports.getProperty = getProperty; 
    143            .          .           function regexpCode(rx) { 
    144            .          .               return new _Code(rx.toString()); 

(anonymous)

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/validate/index.js

  Total:           0       13ms (flat, cum)  0.17%
      1            .       13ms           "use strict"; 
      2            .          .           Object.defineProperty(exports, "__esModule", { value: true }); 
      3            .          .           exports.getData = exports.KeywordCxt = exports.validateFunctionCode = void 0; 
      4            .          .           const boolSchema_1 = require("./boolSchema"); 
      5            .          .           const dataType_1 = require("./dataType"); 
      6            .          .           const applicability_1 = require("./applicability"); 

validateFunctionCode

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/validate/index.js

  Total:         1ms      3.84s (flat, cum) 50.04%
     12            .          .           const names_1 = require("../names"); 
     13            .          .           const resolve_1 = require("../resolve"); 
     14            .          .           const util_1 = require("../util"); 
     15            .          .           const errors_1 = require("../errors"); 
     16            .          .           // schema compilation - generates validation function, subschemaCode (below) is used for subschemas 
     17          1ms      3.84s           function validateFunctionCode(it) { 
     18            .          .               if (isSchemaObj(it)) { 
     19            .          .                   checkKeywords(it); 
     20            .          .                   if (schemaCxtHasRules(it)) { 
     21            .          .                       topSchemaObjCode(it); 
     22            .          .                       return; 

validateFunction

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/validate/index.js

  Total:           0      3.87s (flat, cum) 50.51%
     23            .          .                   } 
     24            .          .               } 
     25            .          .               validateFunction(it, () => boolSchema_1.topBoolOrEmptySchema(it)); 
     26            .          .           } 
     27            .          .           exports.validateFunctionCode = validateFunctionCode; 
     28            .      3.87s           function validateFunction({ gen, validateName, schema, schemaEnv, opts }, body) { 
     29            .          .               if (opts.code.es5) { 
     30            .          .                   gen.func(validateName, codegen_1._ `${names_1.default.data}, ${names_1.default.valCxt}`, schemaEnv.$async, () => { 
     31            .          .                       gen.code(codegen_1._ `"use strict"; ${funcSourceUrl(schema, opts)}`); 
     32            .          .                       destructureValCxtES5(gen, opts); 

(anonymous)

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/validate/index.js

  Total:           0      3.92s (flat, cum) 51.12%
     33            .          .                       gen.code(body); 
     34            .          .                   }); 
     35            .          .               } 
     36            .          .               else { 
     37            .      3.92s                   gen.func(validateName, codegen_1._ `${names_1.default.data}, ${destructureValCxt(opts)}`, schemaEnv.$async, () => gen.code(funcSourceUrl(schema, opts)).code(body)); 
     38            .          .               } 
     39            .          .           } 
     40            .          .           function destructureValCxt(opts) { 
     41            .          .               return codegen_1._ `{${names_1.default.instancePath}="", ${names_1.default.parentData}, ${names_1.default.parentDataProperty}, ${names_1.default.rootData}=${names_1.default.data}${opts.dynamicRef ? codegen_1._ `, ${names_1.default.dynamicAnchors}={}` : codegen_1.nil}}={}`; 
     42            .          .           } 

topSchemaObjCode

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/validate/index.js

  Total:           0      3.85s (flat, cum) 50.26%
     55            .          .                   gen.var(names_1.default.rootData, names_1.default.data); 
     56            .          .                   if (opts.dynamicRef) 
     57            .          .                       gen.var(names_1.default.dynamicAnchors, codegen_1._ `{}`); 
     58            .          .               }); 
     59            .          .           } 
     60            .      3.85s           function topSchemaObjCode(it) { 

(anonymous)

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/validate/index.js

  Total:           0      3.95s (flat, cum) 51.49%
     62            .      3.95s               validateFunction(it, () => { 
     63            .          .                   if (opts.$comment && schema.$comment) 
     64            .          .                       commentKeyword(it); 
     65            .          .                   checkNoDefault(it); 
     66            .          .                   gen.let(names_1.default.vErrors, null); 
     67            .          .                   gen.let(names_1.default.errors, 0); 

subschemaCode

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/validate/index.js

  Total:         3ms      2.97s (flat, cum) 38.70%
     82            .          .           function funcSourceUrl(schema, opts) { 
     83            .          .               const schId = typeof schema == "object" && schema[opts.schemaId]; 
     84            .          .               return schId && (opts.code.source || opts.code.process) ? codegen_1._ `/*# sourceURL=${schId} */` : codegen_1.nil; 
     85            .          .           } 
     86            .          .           // schema compilation - this function is used recursively to generate code for sub-schemas 
     87          3ms      2.97s           function subschemaCode(it, valid) { 
     88            .          .               if (isSchemaObj(it)) { 
     89            .          .                   checkKeywords(it); 
     90            .          .                   if (schemaCxtHasRules(it)) { 
     91            .          .                       subSchemaObjCode(it, valid); 
     92            .          .                       return; 

subSchemaObjCode

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/validate/index.js

  Total:         2ms      2.97s (flat, cum) 38.76%
    103            .          .               return false; 
    104            .          .           } 
    105            .          .           function isSchemaObj(it) { 
    106            .          .               return typeof it.schema != "boolean"; 
    107            .          .           } 
    108          2ms      2.97s           function subSchemaObjCode(it, valid) { 
    109            .          .               const { schema, gen, opts } = it; 
    110            .          .               if (opts.$comment && schema.$comment) 
    111            .          .                   commentKeyword(it); 
    112            .          .               updateContext(it); 
    113            .          .               checkAsyncSchema(it); 

checkKeywords

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/validate/index.js

  Total:         1ms        1ms (flat, cum) 0.013%
    114            .          .               const errsCount = gen.const("_errs", names_1.default.errors); 
    115            .          .               typeAndKeywords(it, errsCount); 
    116            .          .               // TODO var 
    117            .          .               gen.var(valid, codegen_1._ `${errsCount} === ${names_1.default.errors}`); 
    118            .          .           } 
    119          1ms        1ms           function checkKeywords(it) { 
    120            .          .               util_1.checkUnknownRules(it); 

typeAndKeywords

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/validate/index.js

  Total:         2ms      6.93s (flat, cum) 90.42%
    122            .          .           } 
    123          2ms      6.93s           function typeAndKeywords(it, errsCount) { 
    124            .          .               if (it.opts.jtd) 
    125            .          .                   return schemaKeywords(it, [], false, errsCount); 
    126            .          .               const types = dataType_1.getSchemaTypes(it.schema); 
    127            .          .               const checkedTypes = dataType_1.coerceAndCheckDataType(it, types); 
    128            .          .               schemaKeywords(it, types, !checkedTypes, errsCount); 

checkNoDefault

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/validate/index.js

  Total:         1ms        1ms (flat, cum) 0.013%
    131            .          .               const { schema, errSchemaPath, opts, self } = it; 
    132            .          .               if (schema.$ref && opts.ignoreKeywordsWithRef && util_1.schemaHasRulesButRef(schema, self.RULES)) { 
    133            .          .                   self.logger.warn(`$ref: keywords ignored in schema at path "${errSchemaPath}"`); 
    134            .          .               } 
    135            .          .           } 
    136          1ms        1ms           function checkNoDefault(it) { 
    137            .          .               const { schema, opts } = it; 
    138            .          .               if (schema.default !== undefined && opts.useDefaults && opts.strictSchema) { 

updateContext

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/validate/index.js

  Total:         1ms        1ms (flat, cum) 0.013%
    140            .          .               } 
    141            .          .           } 
    142          1ms        1ms           function updateContext(it) { 
    143            .          .               const schId = it.schema[it.opts.schemaId]; 
    144            .          .               if (schId) 

checkAsyncSchema

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/validate/index.js

  Total:         1ms        1ms (flat, cum) 0.013%
    145            .          .                   it.baseId = resolve_1.resolveUrl(it.baseId, schId); 
    146            .          .           } 
    147          1ms        1ms           function checkAsyncSchema(it) { 
    148            .          .               if (it.schema.$async && !it.schemaEnv.$async) 
    149            .          .                   throw new Error("async schema in sync schema"); 
    150            .          .           } 
    151            .          .           function commentKeyword({ gen, schemaEnv, schema, errSchemaPath, opts }) { 
    152            .          .               const msg = schema.$comment; 

returnResults

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/validate/index.js

  Total:         1ms        1ms (flat, cum) 0.013%
    157            .          .                   const schemaPath = codegen_1.str `${errSchemaPath}/$comment`; 
    158            .          .                   const rootName = gen.scopeValue("root", { ref: schemaEnv.root }); 
    159            .          .                   gen.code(codegen_1._ `${names_1.default.self}.opts.$comment(${msg}, ${schemaPath}, ${rootName}.schema)`); 
    160            .          .               } 
    161            .          .           } 
    162          1ms        1ms           function returnResults(it) { 
    163            .          .               const { gen, schemaEnv, validateName, ValidationError, opts } = it; 
    164            .          .               if (schemaEnv.$async) { 
    165            .          .                   // TODO assign unevaluated 
    166            .          .                   gen.if(codegen_1._ `${names_1.default.errors} === 0`, () => gen.return(names_1.default.data), () => gen.throw(codegen_1._ `new ${ValidationError}(${names_1.default.vErrors})`)); 
    167            .          .               } 

schemaKeywords

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/validate/index.js

  Total:         3ms      6.94s (flat, cum) 90.50%
    176            .          .               if (props instanceof codegen_1.Name) 
    177            .          .                   gen.assign(codegen_1._ `${evaluated}.props`, props); 
    178            .          .               if (items instanceof codegen_1.Name) 
    179            .          .                   gen.assign(codegen_1._ `${evaluated}.items`, items); 
    180            .          .           } 
    181          3ms      6.94s           function schemaKeywords(it, types, typeErrors, errsCount) { 
    182            .          .               const { gen, schema, data, allErrors, opts, self } = it; 

(anonymous)

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/validate/index.js

  Total:         6ms         7s (flat, cum) 91.32%
    184            .          .               if (schema.$ref && (opts.ignoreKeywordsWithRef || !util_1.schemaHasRulesButRef(schema, RULES))) { 
    185            .      3.90s                   gen.block(() => keywordCode(it, "$ref", RULES.all.$ref.definition)); // TODO typecast 
    186            .          .                   return; 
    187            .          .               } 
    188            .          .               if (!opts.jtd) 
    189            .          .                   checkStrictTypes(it, types); 
    190          6ms      3.10s               gen.block(() => { 
    191            .          .                   for (const group of RULES.rules) 
    192            .          .                       groupKeywords(group); 

groupKeywords

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/validate/index.js

  Total:         5ms      3.10s (flat, cum) 40.46%
    193            .          .                   groupKeywords(RULES.post); 
    194            .          .               }); 
    195          5ms      3.10s               function groupKeywords(group) { 
    196            .          .                   if (!applicability_1.shouldUseGroup(schema, group)) 
    197            .          .                       return; 
    198            .          .                   if (group.type) { 
    199            .          .                       gen.if(dataType_2.checkDataType(group.type, data, opts.strictNumbers)); 
    200            .          .                       iterateKeywords(it, group); 

iterateKeywords

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/validate/index.js

  Total:           0      3.08s (flat, cum) 40.18%
    210            .          .                   // TODO make it "ok" call? 
    211            .          .                   if (!allErrors) 
    212            .          .                       gen.if(codegen_1._ `${names_1.default.errors} === ${errsCount || 0}`); 
    213            .          .               } 
    214            .          .           } 
    215            .      3.08s           function iterateKeywords(it, group) { 
    216            .          .               const { gen, schema, opts: { useDefaults }, } = it; 

(anonymous)

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/validate/index.js

  Total:         4ms      3.10s (flat, cum) 40.40%
    218            .          .                   defaults_1.assignDefaults(it, group.type); 
    219          4ms      3.10s               gen.block(() => { 
    220            .          .                   for (const rule of group.rules) { 
    221            .          .                       if (applicability_1.shouldUseRule(schema, rule)) { 
    222            .          .                           keywordCode(it, rule.keyword, rule.definition, group.type); 
    223            .          .                       } 
    224            .          .                   } 

KeywordCxt

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/validate/index.js

  Total:         7ms       18ms (flat, cum)  0.23%
    273            .          .               const schemaPath = it.schemaEnv.baseId + it.errSchemaPath; 
    274            .          .               msg += ` at "${schemaPath}" (strictTypes)`; 
    275            .          .               util_1.checkStrictMode(it, msg, it.opts.strictTypes); 
    276            .          .           } 
    277            .          .           class KeywordCxt { 
    278          7ms       18ms               constructor(it, def, keyword) { 
    279            .          .                   keyword_1.validateKeywordUsage(it, def, keyword); 
    280            .          .                   this.gen = it.gen; 
    281            .          .                   this.allErrors = it.allErrors; 
    282            .          .                   this.keyword = keyword; 
    283            .          .                   this.data = it.data; 

result

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/validate/index.js

  Total:         2ms       18ms (flat, cum)  0.23%
    300            .          .                   } 
    301            .          .                   if ("code" in def ? def.trackErrors : def.errors !== false) { 
    302            .          .                       this.errsCount = it.gen.const("_errs", names_1.default.errors); 
    303            .          .                   } 
    304            .          .               } 
    305          2ms       18ms               result(condition, successAction, failAction) { 
    306            .          .                   this.failResult(codegen_1.not(condition), successAction, failAction); 

failResult

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/validate/index.js

  Total:         2ms       21ms (flat, cum)  0.27%
    307            .          .               } 
    308          2ms       21ms               failResult(condition, successAction, failAction) { 
    309            .          .                   this.gen.if(condition); 
    310            .          .                   if (failAction) 
    311            .          .                       failAction(); 
    312            .          .                   else 
    313            .          .                       this.error(); 

pass

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/validate/index.js

  Total:           0        5ms (flat, cum) 0.065%
    322            .          .                           this.gen.endIf(); 
    323            .          .                       else 
    324            .          .                           this.gen.else(); 
    325            .          .                   } 
    326            .          .               } 
    327            .        5ms               pass(condition, failAction) { 
    328            .          .                   this.failResult(codegen_1.not(condition), undefined, failAction); 

fail

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/validate/index.js

  Total:           0        5ms (flat, cum) 0.065%
    329            .          .               } 
    330            .        5ms               fail(condition) { 
    331            .          .                   if (condition === undefined) { 
    332            .          .                       this.error(); 
    333            .          .                       if (!this.allErrors) 
    334            .          .                           this.gen.if(false); // this branch will be removed by gen.optimize 
    335            .          .                       return; 

fail$data

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/validate/index.js

  Total:           0        5ms (flat, cum) 0.065%
    339            .          .                   if (this.allErrors) 
    340            .          .                       this.gen.endIf(); 
    341            .          .                   else 
    342            .          .                       this.gen.else(); 
    343            .          .               } 
    344            .        5ms               fail$data(condition) { 
    345            .          .                   if (!this.$data) 
    346            .          .                       return this.fail(condition); 

error

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/validate/index.js

  Total:         1ms       26ms (flat, cum)  0.34%
    348            .          .                   this.fail(codegen_1._ `${schemaCode} !== undefined && (${codegen_1.or(this.invalid$data(), condition)})`); 
    349            .          .               } 
    350          1ms       26ms               error(append, errorParams, errorPaths) { 
    351            .          .                   if (errorParams) { 
    352            .          .                       this.setParams(errorParams); 
    353            .          .                       this._error(append, errorPaths); 
    354            .          .                       this.setParams({}); 

_error

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/validate/index.js

  Total:         1ms       25ms (flat, cum)  0.33%
    355            .          .                       return; 
    356            .          .                   } 
    357            .          .                   this._error(append, errorPaths); 
    358            .          .               } 
    359          1ms       25ms               _error(append, errorPaths) { 
    360            .          .                   ; 
    361            .          .                   (append ? errors_1.reportExtraError : errors_1.reportError)(this, this.def.error, errorPaths); 
    362            .          .               } 

reset

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/validate/index.js

  Total:         1ms        3ms (flat, cum) 0.039%
    363            .          .               $dataError() { 
    364            .          .                   errors_1.reportError(this, this.def.$dataError || errors_1.keyword$DataError); 
    365            .          .               } 
    366          1ms        3ms               reset() { 
    367            .          .                   if (this.errsCount === undefined) 
    368            .          .                       throw new Error('add "trackErrors" to keyword definition'); 
    369            .          .                   errors_1.resetErrorsCount(this.gen, this.errsCount); 
    370            .          .               } 
    371            .          .               ok(cond) { 

block$data

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/validate/index.js

  Total:           0        1ms (flat, cum) 0.013%
    376            .          .                   if (assign) 
    377            .          .                       Object.assign(this.params, obj); 
    378            .          .                   else 
    379            .          .                       this.params = obj; 
    380            .          .               } 
    381            .        1ms               block$data(valid, codeBlock, $dataValid = codegen_1.nil) { 

(anonymous)

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/validate/index.js

  Total:           0        1ms (flat, cum) 0.013%
    382            .        1ms                   this.gen.block(() => { 
    383            .          .                       this.check$data(valid, $dataValid); 
    384            .          .                       codeBlock(); 
    385            .          .                   }); 
    386            .          .               } 
    387            .          .               check$data(valid = codegen_1.nil, $dataValid = codegen_1.nil) { 

subschema

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/validate/index.js

  Total:        21ms         3s (flat, cum) 39.14%
    418            .          .                           return codegen_1._ `!${validateSchemaRef}(${schemaCode})`; 
    419            .          .                       } 
    420            .          .                       return codegen_1.nil; 
    421            .          .                   } 
    422            .          .               } 
    423         21ms         3s               subschema(appl, valid) { 
    424            .          .                   const subschema = subschema_1.getSubschema(this.it, appl); 
    425            .          .                   subschema_1.extendSubschemaData(subschema, this.it, appl); 
    426            .          .                   subschema_1.extendSubschemaMode(subschema, appl); 
    427            .          .                   const nextContext = { ...this.it, ...subschema, items: undefined, props: undefined }; 
    428            .          .                   subschemaCode(nextContext, valid); 

keywordCode

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/validate/index.js

  Total:        10ms      7.01s (flat, cum) 91.38%
    446            .          .                       return true; 
    447            .          .                   } 
    448            .          .               } 
    449            .          .           } 
    450            .          .           exports.KeywordCxt = KeywordCxt; 
    451         10ms      7.01s           function keywordCode(it, keyword, def, ruleType) { 
    452            .          .               const cxt = new KeywordCxt(it, def, keyword); 
    453            .          .               if ("code" in def) { 
    454            .          .                   def.code(cxt, ruleType); 
    455            .          .               } 
    456            .          .               else if (cxt.$data && def.validate) { 

(anonymous)

/srv/function-orchestrator/function-schemata/node_modules/uri-js/dist/es5/uri.all.js

  Total:         1ms        3ms (flat, cum) 0.039%
      1            .        1ms           /** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */ 
      2            .        1ms           (function (global, factory) { 
      3            .          .           	typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : 
      4            .          .           	typeof define === 'function' && define.amd ? define(['exports'], factory) : 
      5            .          .           	(factory((global.URI = global.URI || {}))); 
      6          1ms        1ms           }(this, (function (exports) { 'use strict'; 
      7            .          .            
      8            .          .           function merge() { 
      9            .          .               for (var _len = arguments.length, sets = Array(_len), _key = 0; _key < _len; _key++) { 
     10            .          .                   sets[_key] = arguments[_key]; 
     11            .          .               } 

_normalizeComponentEncoding

/srv/function-orchestrator/function-schemata/node_modules/uri-js/dist/es5/uri.all.js

  Total:        21ms       27ms (flat, cum)  0.35%
    777            .          .                       i += 3; 
    778            .          .                   } 
    779            .          .               } 
    780            .          .               return newStr; 
    781            .          .           } 
    782         21ms       27ms           function _normalizeComponentEncoding(components, protocol) { 
    783            .          .               function decodeUnreserved(str) { 
    784            .          .                   var decStr = pctDecChars(str); 
    785            .          .                   return !decStr.match(protocol.UNRESERVED) ? str : decStr; 
    786            .          .               } 
    787            .          .               if (components.scheme) components.scheme = String(components.scheme).replace(protocol.PCT_ENCODED, decodeUnreserved).toLowerCase().replace(protocol.NOT_SCHEME, ""); 

_normalizeIPv4

/srv/function-orchestrator/function-schemata/node_modules/uri-js/dist/es5/uri.all.js

  Total:         1ms        1ms (flat, cum) 0.013%
    794            .          .           } 
    795            .          .            
    796            .          .           function _stripLeadingZeros(str) { 
    797            .          .               return str.replace(/^0*(.*)/, "$1") || "0"; 
    798            .          .           } 
    799          1ms        1ms           function _normalizeIPv4(host, protocol) { 
    800            .          .               var matches = host.match(protocol.IPV4ADDRESS) || []; 
    801            .          .            
    802            .          .               var _matches = slicedToArray(matches, 2), 
    803            .          .                   address = _matches[1]; 
    804            .          .            

_normalizeIPv6

/srv/function-orchestrator/function-schemata/node_modules/uri-js/dist/es5/uri.all.js

  Total:         1ms        1ms (flat, cum) 0.013%
    806            .          .                   return address.split(".").map(_stripLeadingZeros).join("."); 
    807            .          .               } else { 
    808            .          .                   return host; 
    809            .          .               } 
    810            .          .           } 
    811          1ms        1ms           function _normalizeIPv6(host, protocol) { 
    812            .          .               var matches = host.match(protocol.IPV6ADDRESS) || []; 
    813            .          .            
    814            .          .               var _matches2 = slicedToArray(matches, 3), 
    815            .          .                   address = _matches2[1], 
    816            .          .                   zone = _matches2[2]; 

parse

/srv/function-orchestrator/function-schemata/node_modules/uri-js/dist/es5/uri.all.js

  Total:         7ms       27ms (flat, cum)  0.35%
    863            .          .                   return host; 
    864            .          .               } 
    865            .          .           } 
    866            .          .           var URI_PARSE = /^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i; 
    867            .          .           var NO_MATCH_IS_UNDEFINED = "".match(/(){0}/)[1] === undefined; 
    868          7ms       27ms           function parse(uriString) { 
    869            .          .               var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; 
    870            .          .            
    871            .          .               var components = {}; 
    872            .          .               var protocol = options.iri !== false ? IRI_PROTOCOL : URI_PROTOCOL; 
    873            .          .               if (options.reference === "suffix") uriString = (options.scheme ? options.scheme + ":" : "") + "//" + uriString; 

_recomposeAuthority

/srv/function-orchestrator/function-schemata/node_modules/uri-js/dist/es5/uri.all.js

  Total:           0        2ms (flat, cum) 0.026%
    946            .          .                   components.error = components.error || "URI can not be parsed."; 
    947            .          .               } 
    948            .          .               return components; 
    949            .          .           } 
    950            .          .            
    951            .        2ms           function _recomposeAuthority(components, options) { 
    952            .          .               var protocol = options.iri !== false ? IRI_PROTOCOL : URI_PROTOCOL; 
    953            .          .               var uriTokens = []; 
    954            .          .               if (components.userinfo !== undefined) { 
    955            .          .                   uriTokens.push(components.userinfo); 
    956            .          .                   uriTokens.push("@"); 

removeDotSegments

/srv/function-orchestrator/function-schemata/node_modules/uri-js/dist/es5/uri.all.js

  Total:         6ms        8ms (flat, cum)   0.1%
    970            .          .            
    971            .          .           var RDS1 = /^\.\.?\//; 
    972            .          .           var RDS2 = /^\/\.(\/|$)/; 
    973            .          .           var RDS3 = /^\/\.\.(\/|$)/; 
    974            .          .           var RDS5 = /^\/?(?:.|\n)*?(?=\/|$)/; 
    975          6ms        8ms           function removeDotSegments(input) { 
    976            .          .               var output = []; 
    977            .          .               while (input.length) { 
    978            .          .                   if (input.match(RDS1)) { 
    979            .          .                       input = input.replace(RDS1, ""); 
    980            .          .                   } else if (input.match(RDS2)) { 

serialize

/srv/function-orchestrator/function-schemata/node_modules/uri-js/dist/es5/uri.all.js

  Total:         9ms       29ms (flat, cum)  0.38%
    996            .          .                   } 
    997            .          .               } 
    998            .          .               return output.join(""); 
    999            .          .           } 
   1000            .          .            
   1001          9ms       29ms           function serialize(components) { 
   1002            .          .               var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; 
   1003            .          .            
   1004            .          .               var protocol = options.iri ? IRI_PROTOCOL : URI_PROTOCOL; 
   1005            .          .               var uriTokens = []; 
   1006            .          .               //find scheme handler 

resolveComponents

/srv/function-orchestrator/function-schemata/node_modules/uri-js/dist/es5/uri.all.js

  Total:         2ms        3ms (flat, cum) 0.039%
   1057            .          .                   uriTokens.push(components.fragment); 
   1058            .          .               } 
   1059            .          .               return uriTokens.join(""); //merge tokens into a string 
   1060            .          .           } 
   1061            .          .            
   1062          2ms        3ms           function resolveComponents(base, relative) { 
   1063            .          .               var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; 
   1064            .          .               var skipNormalization = arguments[3]; 
   1065            .          .            
   1066            .          .               var target = {}; 
   1067            .          .               if (!skipNormalization) { 

resolve

/srv/function-orchestrator/function-schemata/node_modules/uri-js/dist/es5/uri.all.js

  Total:         2ms       33ms (flat, cum)  0.43%
   1117            .          .               } 
   1118            .          .               target.fragment = relative.fragment; 
   1119            .          .               return target; 
   1120            .          .           } 
   1121            .          .            
   1122          2ms       33ms           function resolve(baseURI, relativeURI, options) { 
   1123            .          .               var schemelessOptions = assign({ scheme: 'null' }, options); 
   1124            .          .               return serialize(resolveComponents(parse(baseURI, schemelessOptions), parse(relativeURI, schemelessOptions), schemelessOptions, true), schemelessOptions); 
   1125            .          .           } 
   1126            .          .            
   1127            .          .           function normalize(uri, options) { 

CollectionItem

/srv/function-orchestrator/function-schemata/node_modules/yaml/dist/parse-cst.js

  Total:         1ms        3ms (flat, cum) 0.039%
     30            .          .             } 
     31            .          .            
     32            .          .           } 
     33            .          .            
     34            .          .           class CollectionItem extends PlainValue.Node { 
     35          1ms        3ms             constructor(type, props) { 
     36            .          .               super(type, props); 
     37            .          .               this.node = null; 

get includesTrailingLines

/srv/function-orchestrator/function-schemata/node_modules/yaml/dist/parse-cst.js

  Total:         1ms        1ms (flat, cum) 0.013%
     38            .          .             } 
     39            .          .            
     40          1ms        1ms             get includesTrailingLines() { 
     41            .          .               return !!this.node && this.node.includesTrailingLines; 
     42            .          .             } 
     43            .          .             /** 
     44            .          .              * @param {ParseContext} context 

parse

/srv/function-orchestrator/function-schemata/node_modules/yaml/dist/parse-cst.js

  Total:         4ms      338ms (flat, cum)  4.41%
     46            .          .              * @returns {number} - Index of the character after this 
     47            .          .              */ 
     48            .          .            
     49            .          .            
     50          4ms      338ms             parse(context, start) { 
     51            .          .               this.context = context; 
     52            .          .               const { 
     53            .          .                 parseNode, 
     54            .          .                 src 
     55            .          .               } = context; 

parse

/srv/function-orchestrator/function-schemata/node_modules/yaml/dist/parse-cst.js

  Total:           0        1ms (flat, cum) 0.013%
    158            .          .              * @param {number} start - Index of first character 
    159            .          .              * @returns {number} - Index of the character after this scalar 
    160            .          .              */ 
    161            .          .            
    162            .          .            
    163            .        1ms             parse(context, start) { 
    164            .          .               this.context = context; 
    165            .          .               const offset = this.parseComment(start); 
    166            .          .               this.range = new PlainValue.Range(start, offset); 
    167            .          .               return offset; 

grabCollectionEndComments

/srv/function-orchestrator/function-schemata/node_modules/yaml/dist/parse-cst.js

  Total:         3ms        3ms (flat, cum) 0.039%
    168            .          .             } 
    169            .          .            
    170            .          .           } 
    171            .          .            
    172          3ms        3ms           function grabCollectionEndComments(node) { 
    173            .          .             let cnode = node; 
    174            .          .            
    175            .          .             while (cnode instanceof CollectionItem) cnode = cnode.node; 
    176            .          .            
    177            .          .             if (!(cnode instanceof Collection)) return null; 

Collection

/srv/function-orchestrator/function-schemata/node_modules/yaml/dist/parse-cst.js

  Total:           0        4ms (flat, cum) 0.052%
    214            .          .               if (offset >= lineStart + indent) return true; 
    215            .          .               if (ch !== '#' && ch !== '\n') return false; 
    216            .          .               return Collection.nextContentHasIndent(src, offset, indent); 
    217            .          .             } 
    218            .          .            
    219            .        4ms             constructor(firstItem) { 
    220            .          .               super(firstItem.type === PlainValue.Type.SEQ_ITEM ? PlainValue.Type.SEQ : PlainValue.Type.MAP); 
    221            .          .            
    222            .          .               for (let i = firstItem.props.length - 1; i >= 0; --i) { 
    223            .          .                 if (firstItem.props[i].start < firstItem.context.lineStart) { 
    224            .          .                   // props on previous line are assumed by the collection 

parse

/srv/function-orchestrator/function-schemata/node_modules/yaml/dist/parse-cst.js

  Total:         8ms      363ms (flat, cum)  4.73%
    243            .          .              * @param {number} start - Index of first character 
    244            .          .              * @returns {number} - Index of the character after this 
    245            .          .              */ 
    246            .          .            
    247            .          .            
    248          8ms      363ms             parse(context, start) { 
    249            .          .               this.context = context; 
    250            .          .               const { 
    251            .          .                 parseNode, 
    252            .          .                 src 
    253            .          .               } = context; // It's easier to recalculate lineStart here rather than tracking down the 

parseDirectives

/srv/function-orchestrator/function-schemata/node_modules/yaml/dist/parse-cst.js

  Total:         1ms        3ms (flat, cum) 0.039%
    480            .          .               this.contents = null; 
    481            .          .               this.directivesEndMarker = null; 
    482            .          .               this.documentEndMarker = null; 
    483            .          .             } 
    484            .          .            
    485          1ms        3ms             parseDirectives(start) { 
    486            .          .               const { 
    487            .          .                 src 
    488            .          .               } = this.context; 
    489            .          .               this.directives = []; 
    490            .          .               let atLineStart = true; 

parseContents

/srv/function-orchestrator/function-schemata/node_modules/yaml/dist/parse-cst.js

  Total:           0       71ms (flat, cum)  0.93%
    561            .          .               } 
    562            .          .            
    563            .          .               return offset; 
    564            .          .             } 
    565            .          .            
    566            .       71ms             parseContents(start) { 
    567            .          .               const { 
    568            .          .                 parseNode, 
    569            .          .                 src 
    570            .          .               } = this.context; 
    571            .          .               if (!this.contents) this.contents = []; 

parse

/srv/function-orchestrator/function-schemata/node_modules/yaml/dist/parse-cst.js

  Total:         1ms       75ms (flat, cum)  0.98%
    671            .          .              * @param {number} start - Index of first character 
    672            .          .              * @returns {number} - Index of the character after this 
    673            .          .              */ 
    674            .          .            
    675            .          .            
    676          1ms       75ms             parse(context, start) { 
    677            .          .               context.root = this; 
    678            .          .               this.context = context; 
    679            .          .               const { 
    680            .          .                 src 
    681            .          .               } = context; 

get strValue

/srv/function-orchestrator/function-schemata/node_modules/yaml/dist/parse-cst.js

  Total:         2ms        2ms (flat, cum) 0.026%
   1182            .          .             /** 
   1183            .          .              * @returns {string | { str: string, errors: YAMLSyntaxError[] }} 
   1184            .          .              */ 
   1185            .          .            
   1186            .          .            
   1187          2ms        2ms             get strValue() { 
   1188            .          .               if (!this.valueRange || !this.context) return null; 
   1189            .          .               const errors = []; 
   1190            .          .               const { 
   1191            .          .                 start, 
   1192            .          .                 end 

parse

/srv/function-orchestrator/function-schemata/node_modules/yaml/dist/parse-cst.js

  Total:           0        1ms (flat, cum) 0.013%
   1371            .          .              * @param {number} start - Index of first character 
   1372            .          .              * @returns {number} - Index of the character after this scalar 
   1373            .          .              */ 
   1374            .          .            
   1375            .          .            
   1376            .        1ms             parse(context, start) { 
   1377            .          .               this.context = context; 
   1378            .          .               const { 
   1379            .          .                 src 
   1380            .          .               } = context; 
   1381            .          .               let offset = QuoteDouble.endOfQuote(src, start + 1); 

createNewNode

/srv/function-orchestrator/function-schemata/node_modules/yaml/dist/parse-cst.js

  Total:         2ms       13ms (flat, cum)  0.17%
   1480            .          .               return offset; 
   1481            .          .             } 
   1482            .          .            
   1483            .          .           } 
   1484            .          .            
   1485          2ms       13ms           function createNewNode(type, props) { 
   1486            .          .             switch (type) { 
   1487            .          .               case PlainValue.Type.ALIAS: 
   1488            .          .                 return new Alias(type, props); 
   1489            .          .            
   1490            .          .               case PlainValue.Type.BLOCK_FOLDED: 

ParseContext

/srv/function-orchestrator/function-schemata/node_modules/yaml/dist/parse-cst.js

  Total:         2ms        4ms (flat, cum) 0.052%
   1564            .          .                 default: 
   1565            .          .                   return PlainValue.Type.PLAIN; 
   1566            .          .               } 
   1567            .          .             } 
   1568            .          .            
   1569          2ms        4ms             constructor(orig = {}, { 
   1570            .          .               atLineStart, 
   1571            .          .               inCollection, 
   1572            .          .               inFlow, 

(anonymous)

/srv/function-orchestrator/function-schemata/node_modules/yaml/dist/parse-cst.js

  Total:        18ms      749ms (flat, cum)  9.77%
   1574            .          .               lineStart, 
   1575            .          .               parent 
   1576            .          .             } = {}) { 
   1577         18ms      749ms               PlainValue._defineProperty(this, "parseNode", (overlay, start) => { 
   1578            .          .                 if (PlainValue.Node.atDocumentBoundary(this.src, start)) return null; 
   1579            .          .                 const context = new ParseContext(this, overlay); 
   1580            .          .                 const { 
   1581            .          .                   props, 
   1582            .          .                   type, 

nodeStartsCollection

/srv/function-orchestrator/function-schemata/node_modules/yaml/dist/parse-cst.js

  Total:         1ms        1ms (flat, cum) 0.013%
   1618            .          .               this.parent = parent != null ? parent : orig.parent || {}; 
   1619            .          .               this.root = orig.root; 
   1620            .          .               this.src = orig.src; 
   1621            .          .             } 
   1622            .          .            
   1623          1ms        1ms             nodeStartsCollection(node) { 
   1624            .          .               const { 
   1625            .          .                 inCollection, 
   1626            .          .                 inFlow, 
   1627            .          .                 src 
   1628            .          .               } = this; 

parseProps

/srv/function-orchestrator/function-schemata/node_modules/yaml/dist/parse-cst.js

  Total:         3ms        3ms (flat, cum) 0.039%
   1635            .          .               return src[offset] === ':'; 
   1636            .          .             } // Anchor and tag are before type, which determines the node implementation 
   1637            .          .             // class; hence this intermediate step. 
   1638            .          .            
   1639            .          .            
   1640          3ms        3ms             parseProps(offset) { 
   1641            .          .               const { 
   1642            .          .                 inFlow, 
   1643            .          .                 parent, 
   1644            .          .                 src 
   1645            .          .               } = this; 

parse

/srv/function-orchestrator/function-schemata/node_modules/yaml/dist/parse-cst.js

  Total:         1ms       76ms (flat, cum)  0.99%
   1700            .          .            
   1701            .          .            
   1702            .          .           } 
   1703            .          .            
   1704            .          .           // Published as 'yaml/parse-cst' 
   1705          1ms       76ms           function parse(src) { 
   1706            .          .             const cr = []; 
   1707            .          .            
   1708            .          .             if (src.indexOf('\r') !== -1) { 
   1709            .          .               src = src.replace(/\r\n?/g, (match, offset) => { 
   1710            .          .                 if (match.length > 1) cr.push(offset); 

(anonymous)

/srv/function-orchestrator/src/utils.js

  Total:           0       53ms (flat, cum)  0.69%
      1            .       53ms           'use strict'; 
      2            .          .            
      3            .          .           const { 
      4            .          .           	SchemaFactory, 
      5            .          .           	validatesAsZObject, 
      6            .          .           	validatesAsFunctionCall, 

isRefOrString

/srv/function-orchestrator/src/utils.js

  Total:           0       34ms (flat, cum)  0.44%
     21            .          .            * logic. 
     22            .          .            * 
     23            .          .            * @param {Object} Z1 a ZObject 
     24            .          .            * @return {bool} true if Z1 validates as either Z6 or Z7 
     25            .          .            */ 
     26            .       34ms           async function isRefOrString( Z1 ) { 
     27            .          .           	const { ZWrapper } = require( './ZWrapper' ); 
     28            .          .           	if ( Z1 instanceof ZWrapper ) { 
     29            .          .           		Z1 = Z1.asJSON(); 
     30            .          .           	} 
     31            .          .           	return ( 

createZObjectKey

/srv/function-orchestrator/src/utils.js

  Total:           0       23ms (flat, cum)   0.3%
     32            .          .           		( await Z6Validator.validate( Z1 ) ) || 
     33            .          .           		( await Z9Validator.validate( Z1 ) ) 
     34            .          .           	); 
     35            .          .           } 
     36            .          .            
     37            .       23ms           async function createZObjectKey( ZObject ) { 
     38            .          .           	const { ZWrapper } = require( './ZWrapper' ); 
     39            .          .           	if ( ZObject instanceof ZWrapper ) { 
     40            .          .           		ZObject = ZObject.asJSON(); 

createSchema

/srv/function-orchestrator/src/utils.js

  Total:         3ms       78ms (flat, cum)  1.02%
     42            .          .           	return await ZObjectKeyFactory.create( ZObject ); 
     43            .          .           } 
     44            .          .            
     45          3ms       78ms           async function createSchema( Z1 ) { 
     46            .          .           	// TODO (T302032): Use function-schemata version of findIdentity to improve 
     47            .          .           	// type inference here. 
     48            .          .           	let Z1K1 = Z1.Z1K1; 
     49            .          .           	const { ZWrapper } = require( './ZWrapper' ); 
     50            .          .           	if ( Z1K1 instanceof ZWrapper ) { 

isError

/srv/function-orchestrator/src/utils.js

  Total:        27ms       27ms (flat, cum)  0.35%
     68            .          .            * Validates a ZObject against the Error schema. 
     69            .          .            * 
     70            .          .            * @param {Object} Z1 object to be validated 
     71            .          .            * @return {bool} whether Z1 can validate as an Error 
     72            .          .            */ 
     73         27ms       27ms           function isError( Z1 ) { 
     74            .          .           	// TODO (T287921): Assay that Z1 validates as Z5 but not as Z9 or Z18. 
     75            .          .           	try { 
     76            .          .           		return Z1.Z1K1 === 'Z5' || Z1.Z1K1.Z9K1 === 'Z5'; 
     77            .          .           	} catch ( error ) { 
     78            .          .           		return false; 

isGenericType

/srv/function-orchestrator/src/utils.js

  Total:         8ms       92ms (flat, cum)  1.20%
     83            .          .            * Validates a ZObject against the GENERIC schema. 
     84            .          .            * 
     85            .          .            * @param {Object} Z1 object to be validated 
     86            .          .            * @return {bool} whether Z1 can validate as a generic type instantiation 
     87            .          .            */ 
     88          8ms       92ms           async function isGenericType( Z1 ) { 
     89            .          .           	// TODO (T296658): Use the GENERIC schema. 
     90            .          .           	try { 
     91            .          .           		let Z1K1 = Z1.Z1K1; 
     92            .          .           		const { ZWrapper } = require( './ZWrapper' ); 
     93            .          .           		if ( Z1 instanceof ZWrapper ) { 

containsError

/srv/function-orchestrator/src/utils.js

  Total:         5ms       33ms (flat, cum)  0.43%
    116            .          .            * "basic" Z22s and with newer map-based Z22s. 
    117            .          .            * 
    118            .          .            * @param {Object} envelope a Z22 
    119            .          .            * @return {bool} true if Z22K2 contains an error; false otherwise 
    120            .          .            */ 
    121          5ms       33ms           function containsError( envelope ) { 
    122            .          .           	const metadata = envelope.Z22K2; 
    123            .          .           	if ( isVoid( metadata ) ) { 
    124            .          .           		return false; 
    125            .          .           	} else if ( isZMap( metadata ) ) { 
    126            .          .           		return ( getZMapValue( metadata, { Z1K1: 'Z6', Z6K1: 'errors' } ) !== undefined ); 

containsValue

/srv/function-orchestrator/src/utils.js

  Total:         1ms        3ms (flat, cum) 0.039%
    137            .          .            * is a normal validator. Check and document. 
    138            .          .            * 
    139            .          .            * @param {Object} pair a Z22 
    140            .          .            * @return {bool} true if Z22K1 is not Z24 / Void; false otherwise 
    141            .          .            */ 
    142          1ms        3ms           async function containsValue( pair ) { 
    143            .          .           	const Z22K1 = pair.Z22K1.asJSON(); 
    144            .          .           	return ( 
    145            .          .           		( await validatesAsZObject( Z22K1 ) ).isValid() && 
    146            .          .           		!( isVoid( Z22K1 ) ) 
    147            .          .           	); 

returnOnFirstError

/srv/function-orchestrator/src/utils.js

  Total:           0      118ms (flat, cum)  1.54%
    236            .          .            * @param {Function} callback optional callback to be called on every element of 
    237            .          .            *  callTuples; arguments are of the form ( current Z22, current call tuple) 
    238            .          .            * @param {boolean} addZ22 whether to inject Z22.Z22K1 as first argument to callables 
    239            .          .            * @return {Object} a Z22 
    240            .          .            */ 
    241            .      118ms           async function returnOnFirstError( Z22, callTuples, callback = null, addZ22 = true ) { 
    242            .          .           	let currentPair = Z22; 
    243            .          .           	for ( const callTuple of callTuples ) { 
    244            .          .           		if ( 
    245            .          .           			containsError( currentPair ) || 
    246            .          .           			isVoid( currentPair.Z22K1 ) 

quoteZObject

/srv/function-orchestrator/src/utils.js

  Total:           0        1ms (flat, cum) 0.013%
    261            .          .           		currentPair = await callable( ...args ); 
    262            .          .           	} 
    263            .          .           	return currentPair; 
    264            .          .           } 
    265            .          .            
    266            .        1ms           function quoteZObject( ZObject ) { 
    267            .          .           	const { ZWrapper } = require( './ZWrapper' ); 
    268            .          .           	// Use an empty scope for the outer object, the nested object should already have its own 
    269            .          .           	// scope, if any. 
    270            .          .           	return ZWrapper.create( { 
    271            .          .           		Z1K1: { 

makeWrappedResultEnvelope

/srv/function-orchestrator/src/utils.js

  Total:         1ms       32ms (flat, cum)  0.42%
    275            .          .           		Z99K1: ZObject 
    276            .          .           	}, 
    277            .          .           	new EmptyFrame() ); 
    278            .          .           } 
    279            .          .            
    280          1ms       32ms           function makeWrappedResultEnvelope( ...args ) { 
    281            .          .           	const { ZWrapper } = require( './ZWrapper' ); 
    282            .          .           	// Use an empty scope for the outer object, the nested object should already have its own 
    283            .          .           	// scope, if any. 
    284            .          .           	return ZWrapper.create( makeMappedResultEnvelope( ...args ), new EmptyFrame() ); 
    285            .          .           } 

toJSON

/srv/function-orchestrator/function-schemata/node_modules/yaml/dist/resolveSeq-4a68b39b.js

  Total:         2ms       40ms (flat, cum)  0.52%
     11            .          .             return !comment ? str : comment.indexOf('\n') === -1 ? `${str} #${comment}` : `${str}\n` + comment.replace(/^/gm, `${indent || ''}#`); 
     12            .          .           } 
     13            .          .            
     14            .          .           class Node {} 
     15            .          .            
     16          2ms       40ms           function toJSON(value, arg, ctx) { 
     17            .          .             if (Array.isArray(value)) return value.map((v, i) => toJSON(v, String(i), ctx)); 
     18            .          .            
     19            .          .             if (value && typeof value.toJSON === 'function') { 
     20            .          .               const anchor = ctx && ctx.anchors && ctx.anchors.get(value); 
     21            .          .               if (anchor) ctx.onCreate = res => { 

Collection

/srv/function-orchestrator/function-schemata/node_modules/yaml/dist/resolveSeq-4a68b39b.js

  Total:           0        1ms (flat, cum) 0.013%
     61            .          .           } // null, undefined, or an empty non-string iterable (e.g. []) 
     62            .          .            
     63            .          .            
     64            .          .           const isEmptyPath = path => path == null || typeof path === 'object' && path[Symbol.iterator]().next().done; 
     65            .          .           class Collection extends Node { 
     66            .        1ms             constructor(schema) { 
     67            .          .               super(); 
     68            .          .            
     69            .          .               PlainValue._defineProperty(this, "items", []); 
     70            .          .            
     71            .          .               this.schema = schema; 

toJSON

/srv/function-orchestrator/function-schemata/node_modules/yaml/dist/resolveSeq-4a68b39b.js

  Total:         1ms        6ms (flat, cum) 0.078%
    247            .          .               const idx = asItemIndex(key); 
    248            .          .               if (typeof idx !== 'number') throw new Error(`Expected a valid index, not ${key}.`); 
    249            .          .               this.items[idx] = value; 
    250            .          .             } 
    251            .          .            
    252          1ms        6ms             toJSON(_, ctx) { 
    253            .          .               const seq = []; 
    254            .          .               if (ctx && ctx.onCreate) ctx.onCreate(seq); 
    255            .          .               let i = 0; 
    256            .          .            
    257            .          .               for (const item of this.items) seq.push(toJSON(item, String(i++), ctx)); 

get commentBefore

/srv/function-orchestrator/function-schemata/node_modules/yaml/dist/resolveSeq-4a68b39b.js

  Total:         1ms        1ms (flat, cum) 0.013%
    295            .          .               this.key = key; 
    296            .          .               this.value = value; 
    297            .          .               this.type = Pair.Type.PAIR; 
    298            .          .             } 
    299            .          .            
    300          1ms        1ms             get commentBefore() { 
    301            .          .               return this.key instanceof Node ? this.key.commentBefore : undefined; 

set commentBefore

/srv/function-orchestrator/function-schemata/node_modules/yaml/dist/resolveSeq-4a68b39b.js

  Total:         1ms        1ms (flat, cum) 0.013%
    303            .          .            
    304          1ms        1ms             set commentBefore(cb) { 
    305            .          .               if (this.key == null) this.key = new Scalar(null); 
    306            .          .               if (this.key instanceof Node) this.key.commentBefore = cb;else { 
    307            .          .                 const msg = 'Pair.commentBefore is an alias for Pair.key.commentBefore. To set it, the key must be a Node.'; 

addToJSMap

/srv/function-orchestrator/function-schemata/node_modules/yaml/dist/resolveSeq-4a68b39b.js

  Total:         3ms       32ms (flat, cum)  0.42%
    309            .          .               } 
    310            .          .             } 
    311            .          .            
    312          3ms       32ms             addToJSMap(ctx, map) { 
    313            .          .               const key = toJSON(this.key, '', ctx); 
    314            .          .            
    315            .          .               if (map instanceof Map) { 
    316            .          .                 const value = toJSON(this.value, key, ctx); 
    317            .          .                 map.set(key, value); 

YAMLMap

/srv/function-orchestrator/function-schemata/node_modules/yaml/dist/resolveSeq-4a68b39b.js

  Total:           0        1ms (flat, cum) 0.013%
    528            .          .               } 
    529            .          .             } 
    530            .          .            
    531            .          .             return undefined; 
    532            .          .           } 
    533            .        1ms           class YAMLMap extends Collection { 
    534            .          .             add(pair, overwrite) { 
    535            .          .               if (!pair) pair = new Pair(pair);else if (!(pair instanceof Pair)) pair = new Pair(pair.key || pair, pair.value); 
    536            .          .               const prev = findPair(this.items, pair.key); 
    537            .          .               const sortEntries = this.schema && this.schema.sortMapEntries; 
    538            .          .            

toJSON

/srv/function-orchestrator/function-schemata/node_modules/yaml/dist/resolveSeq-4a68b39b.js

  Total:           0       32ms (flat, cum)  0.42%
    572            .          .              * @param {Class} Type If set, forces the returned collection type 
    573            .          .              * @returns {*} Instance of Type, Map, or Object 
    574            .          .              */ 
    575            .          .            
    576            .          .            
    577            .       32ms             toJSON(_, ctx, Type) { 
    578            .          .               const map = Type ? new Type() : ctx && ctx.mapAsMap ? new Map() : {}; 
    579            .          .               if (ctx && ctx.onCreate) ctx.onCreate(map); 
    580            .          .            
    581            .          .               for (const item of this.items) item.addToJSMap(ctx, map); 
    582            .          .            

resolveScalar

/srv/function-orchestrator/function-schemata/node_modules/yaml/dist/resolveSeq-4a68b39b.js

  Total:         3ms        6ms (flat, cum) 0.078%
    687            .          .               lineWidth: 80, 
    688            .          .               minContentWidth: 20 
    689            .          .             } 
    690            .          .           }; 
    691            .          .            
    692          3ms        6ms           function resolveScalar(str, tags, scalarFallback) { 
    693            .          .             for (const { 
    694            .          .               format, 
    695            .          .               test, 
    696            .          .               resolve 
    697            .          .             } of tags) { 

resolveComments

/srv/function-orchestrator/function-schemata/node_modules/yaml/dist/resolveSeq-4a68b39b.js

  Total:         1ms        2ms (flat, cum) 0.026%
   1251            .          .           function getLongKeyError(source, key) { 
   1252            .          .             const sk = String(key); 
   1253            .          .             const k = sk.substr(0, 8) + '...' + sk.substr(-8); 
   1254            .          .             return new PlainValue.YAMLSemanticError(source, `The "${k}" key is too long`); 
   1255            .          .           } 
   1256          1ms        2ms           function resolveComments(collection, comments) { 
   1257            .          .             for (const { 
   1258            .          .               afterKey, 
   1259            .          .               before, 
   1260            .          .               comment 
   1261            .          .             } of comments) { 

resolveString

/srv/function-orchestrator/function-schemata/node_modules/yaml/dist/resolveSeq-4a68b39b.js

  Total:         2ms        6ms (flat, cum) 0.078%
   1276            .          .               } 
   1277            .          .             } 
   1278            .          .           } 
   1279            .          .            
   1280            .          .           // on error, will return { str: string, errors: Error[] } 
   1281          2ms        6ms           function resolveString(doc, node) { 
   1282            .          .             const res = node.strValue; 
   1283            .          .             if (!res) return ''; 
   1284            .          .             if (typeof res === 'string') return res; 
   1285            .          .             res.errors.forEach(error => { 
   1286            .          .               if (!error.source) error.source = node; 

resolveTagName

/srv/function-orchestrator/function-schemata/node_modules/yaml/dist/resolveSeq-4a68b39b.js

  Total:           0        1ms (flat, cum) 0.013%
   1318            .          .             } 
   1319            .          .            
   1320            .          .             return prefix.prefix + decodeURIComponent(suffix); 
   1321            .          .           } 
   1322            .          .            
   1323            .        1ms           function resolveTagName(doc, node) { 
   1324            .          .             const { 
   1325            .          .               tag, 
   1326            .          .               type 
   1327            .          .             } = node; 
   1328            .          .             let nonSpecific = false; 

resolveByTagName

/srv/function-orchestrator/function-schemata/node_modules/yaml/dist/resolveSeq-4a68b39b.js

  Total:         4ms      237ms (flat, cum)  3.09%
   1370            .          .               default: 
   1371            .          .                 return null; 
   1372            .          .             } 
   1373            .          .           } 
   1374            .          .            
   1375          4ms      237ms           function resolveByTagName(doc, node, tagName) { 
   1376            .          .             const { 
   1377            .          .               tags 
   1378            .          .             } = doc.schema; 
   1379            .          .             const matchWithTest = []; 
   1380            .          .            

resolveTag

/srv/function-orchestrator/function-schemata/node_modules/yaml/dist/resolveSeq-4a68b39b.js

  Total:         1ms      238ms (flat, cum)  3.10%
   1407            .          .               default: 
   1408            .          .                 return PlainValue.defaultTags.STR; 
   1409            .          .             } 
   1410            .          .           } 
   1411            .          .            
   1412          1ms      238ms           function resolveTag(doc, node, tagName) { 
   1413            .          .             try { 
   1414            .          .               const res = resolveByTagName(doc, node, tagName); 
   1415            .          .            
   1416            .          .               if (res) { 
   1417            .          .                 if (tagName && node.tag) res.tag = tagName; 

resolveNodeProps

/srv/function-orchestrator/function-schemata/node_modules/yaml/dist/resolveSeq-4a68b39b.js

  Total:         3ms        3ms (flat, cum) 0.039%
   1446            .          .               type 
   1447            .          .             } = node; 
   1448            .          .             return type === PlainValue.Type.MAP_KEY || type === PlainValue.Type.MAP_VALUE || type === PlainValue.Type.SEQ_ITEM; 
   1449            .          .           }; 
   1450            .          .            
   1451          3ms        3ms           function resolveNodeProps(errors, node) { 
   1452            .          .             const comments = { 
   1453            .          .               before: [], 
   1454            .          .               after: [] 
   1455            .          .             }; 
   1456            .          .             let hasAnchor = false; 

resolveNodeValue

/srv/function-orchestrator/function-schemata/node_modules/yaml/dist/resolveSeq-4a68b39b.js

  Total:         5ms      254ms (flat, cum)  3.31%
   1504            .          .               hasAnchor, 
   1505            .          .               hasTag 
   1506            .          .             }; 
   1507            .          .           } 
   1508            .          .            
   1509          5ms      254ms           function resolveNodeValue(doc, node) { 
   1510            .          .             const { 
   1511            .          .               anchors, 
   1512            .          .               errors, 
   1513            .          .               schema 
   1514            .          .             } = doc; 

resolveNode

/srv/function-orchestrator/function-schemata/node_modules/yaml/dist/resolveSeq-4a68b39b.js

  Total:         6ms      263ms (flat, cum)  3.43%
   1549            .          .               return null; 
   1550            .          .             } 
   1551            .          .           } // sets node.resolved on success 
   1552            .          .            
   1553            .          .            
   1554          6ms      263ms           function resolveNode(doc, node) { 
   1555            .          .             if (!node) return null; 
   1556            .          .             if (node.error) doc.errors.push(node.error); 
   1557            .          .             const { 
   1558            .          .               comments, 
   1559            .          .               hasAnchor, 

resolveMap

/srv/function-orchestrator/function-schemata/node_modules/yaml/dist/resolveSeq-4a68b39b.js

  Total:         8ms      211ms (flat, cum)  2.75%
   1597            .          .             } 
   1598            .          .            
   1599            .          .             return node.resolved = res; 
   1600            .          .           } 
   1601            .          .            
   1602          8ms      211ms           function resolveMap(doc, cst) { 
   1603            .          .             if (cst.type !== PlainValue.Type.MAP && cst.type !== PlainValue.Type.FLOW_MAP) { 
   1604            .          .               const msg = `A ${cst.type} node cannot be resolved as a mapping`; 
   1605            .          .               doc.errors.push(new PlainValue.YAMLSyntaxError(cst, msg)); 
   1606            .          .               return null; 
   1607            .          .             } 

resolveBlockMapItems

/srv/function-orchestrator/function-schemata/node_modules/yaml/dist/resolveSeq-4a68b39b.js

  Total:         2ms      200ms (flat, cum)  2.61%
   1702            .          .             } 
   1703            .          .            
   1704            .          .             if (found) pair.comment = comment; 
   1705            .          .           } 
   1706            .          .            
   1707          2ms      200ms           function resolveBlockMapItems(doc, cst) { 
   1708            .          .             const comments = []; 
   1709            .          .             const items = []; 
   1710            .          .             let key = undefined; 
   1711            .          .             let keyStart = null; 
   1712            .          .            

resolveSeq

/srv/function-orchestrator/function-schemata/node_modules/yaml/dist/resolveSeq-4a68b39b.js

  Total:         1ms       20ms (flat, cum)  0.26%
   1914            .          .               comments, 
   1915            .          .               items 
   1916            .          .             }; 
   1917            .          .           } 
   1918            .          .            
   1919          1ms       20ms           function resolveSeq(doc, cst) { 
   1920            .          .             if (cst.type !== PlainValue.Type.SEQ && cst.type !== PlainValue.Type.FLOW_SEQ) { 
   1921            .          .               const msg = `A ${cst.type} node cannot be resolved as a sequence`; 
   1922            .          .               doc.errors.push(new PlainValue.YAMLSyntaxError(cst, msg)); 
   1923            .          .               return null; 
   1924            .          .             } 

resolveBlockSeqItems

/srv/function-orchestrator/function-schemata/node_modules/yaml/dist/resolveSeq-4a68b39b.js

  Total:           0       19ms (flat, cum)  0.25%
   1938            .          .            
   1939            .          .             cst.resolved = seq; 
   1940            .          .             return seq; 
   1941            .          .           } 
   1942            .          .            
   1943            .       19ms           function resolveBlockSeqItems(doc, cst) { 
   1944            .          .             const comments = []; 
   1945            .          .             const items = []; 
   1946            .          .            
   1947            .          .             for (let i = 0; i < cst.items.length; ++i) { 
   1948            .          .               const item = cst.items[i]; 

(anonymous)

/srv/function-orchestrator/node_modules/uri-js/dist/es5/uri.all.js

  Total:         2ms        6ms (flat, cum) 0.078%
      1            .        2ms           /** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */ 
      2            .        2ms           (function (global, factory) { 
      3            .          .           	typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : 
      4            .          .           	typeof define === 'function' && define.amd ? define(['exports'], factory) : 
      5            .          .           	(factory((global.URI = global.URI || {}))); 
      6          2ms        2ms           }(this, (function (exports) { 'use strict'; 
      7            .          .            
      8            .          .           function merge() { 
      9            .          .               for (var _len = arguments.length, sets = Array(_len), _key = 0; _key < _len; _key++) { 
     10            .          .                   sets[_key] = arguments[_key]; 
     11            .          .               } 

mapDomain

/srv/function-orchestrator/node_modules/uri-js/dist/es5/uri.all.js

  Total:           0        1ms (flat, cum) 0.013%
    277            .          .            * @param {Function} callback The function that gets called for every 
    278            .          .            * character. 
    279            .          .            * @returns {Array} A new string of characters returned by the callback 
    280            .          .            * function. 
    281            .          .            */ 
    282            .        1ms           function mapDomain(string, fn) { 
    283            .          .           	var parts = string.split('@'); 
    284            .          .           	var result = ''; 
    285            .          .           	if (parts.length > 1) { 
    286            .          .           		// In email addresses, only the domain name should be punycoded. Leave 
    287            .          .           		// the local part (i.e. everything up to `@`) intact. 

toASCII

/srv/function-orchestrator/node_modules/uri-js/dist/es5/uri.all.js

  Total:           0        1ms (flat, cum) 0.013%
    670            .          .            * @param {String} input The domain name or email address to convert, as a 
    671            .          .            * Unicode string. 
    672            .          .            * @returns {String} The Punycode representation of the given domain name or 
    673            .          .            * email address. 
    674            .          .            */ 
    675            .        1ms           var toASCII = function toASCII(input) { 
    676            .          .           	return mapDomain(input, function (string) { 
    677            .          .           		return regexNonASCII.test(string) ? 'xn--' + encode(string) : string; 
    678            .          .           	}); 
    679            .          .           }; 
    680            .          .            

_normalizeComponentEncoding

/srv/function-orchestrator/node_modules/uri-js/dist/es5/uri.all.js

  Total:         5ms        5ms (flat, cum) 0.065%
    777            .          .                       i += 3; 
    778            .          .                   } 
    779            .          .               } 
    780            .          .               return newStr; 
    781            .          .           } 
    782          5ms        5ms           function _normalizeComponentEncoding(components, protocol) { 
    783            .          .               function decodeUnreserved(str) { 
    784            .          .                   var decStr = pctDecChars(str); 
    785            .          .                   return !decStr.match(protocol.UNRESERVED) ? str : decStr; 
    786            .          .               } 
    787            .          .               if (components.scheme) components.scheme = String(components.scheme).replace(protocol.PCT_ENCODED, decodeUnreserved).toLowerCase().replace(protocol.NOT_SCHEME, ""); 

_normalizeIPv4

/srv/function-orchestrator/node_modules/uri-js/dist/es5/uri.all.js

  Total:         1ms        1ms (flat, cum) 0.013%
    794            .          .           } 
    795            .          .            
    796            .          .           function _stripLeadingZeros(str) { 
    797            .          .               return str.replace(/^0*(.*)/, "$1") || "0"; 
    798            .          .           } 
    799          1ms        1ms           function _normalizeIPv4(host, protocol) { 
    800            .          .               var matches = host.match(protocol.IPV4ADDRESS) || []; 
    801            .          .            
    802            .          .               var _matches = slicedToArray(matches, 2), 
    803            .          .                   address = _matches[1]; 
    804            .          .            

_normalizeIPv6

/srv/function-orchestrator/node_modules/uri-js/dist/es5/uri.all.js

  Total:        15ms       16ms (flat, cum)  0.21%
    806            .          .                   return address.split(".").map(_stripLeadingZeros).join("."); 
    807            .          .               } else { 
    808            .          .                   return host; 
    809            .          .               } 
    810            .          .           } 
    811         15ms       16ms           function _normalizeIPv6(host, protocol) { 
    812            .          .               var matches = host.match(protocol.IPV6ADDRESS) || []; 
    813            .          .            
    814            .          .               var _matches2 = slicedToArray(matches, 3), 
    815            .          .                   address = _matches2[1], 
    816            .          .                   zone = _matches2[2]; 

parse

/srv/function-orchestrator/node_modules/uri-js/dist/es5/uri.all.js

  Total:         7ms       22ms (flat, cum)  0.29%
    863            .          .                   return host; 
    864            .          .               } 
    865            .          .           } 
    866            .          .           var URI_PARSE = /^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i; 
    867            .          .           var NO_MATCH_IS_UNDEFINED = "".match(/(){0}/)[1] === undefined; 
    868          7ms       22ms           function parse(uriString) { 
    869            .          .               var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; 
    870            .          .            
    871            .          .               var components = {}; 
    872            .          .               var protocol = options.iri !== false ? IRI_PROTOCOL : URI_PROTOCOL; 
    873            .          .               if (options.reference === "suffix") uriString = (options.scheme ? options.scheme + ":" : "") + "//" + uriString; 

_recomposeAuthority

/srv/function-orchestrator/node_modules/uri-js/dist/es5/uri.all.js

  Total:           0        6ms (flat, cum) 0.078%
    946            .          .                   components.error = components.error || "URI can not be parsed."; 
    947            .          .               } 
    948            .          .               return components; 
    949            .          .           } 
    950            .          .            
    951            .        6ms           function _recomposeAuthority(components, options) { 
    952            .          .               var protocol = options.iri !== false ? IRI_PROTOCOL : URI_PROTOCOL; 
    953            .          .               var uriTokens = []; 
    954            .          .               if (components.userinfo !== undefined) { 
    955            .          .                   uriTokens.push(components.userinfo); 
    956            .          .                   uriTokens.push("@"); 

serialize

/srv/function-orchestrator/node_modules/uri-js/dist/es5/uri.all.js

  Total:        13ms       22ms (flat, cum)  0.29%
    996            .          .                   } 
    997            .          .               } 
    998            .          .               return output.join(""); 
    999            .          .           } 
   1000            .          .            
   1001         13ms       22ms           function serialize(components) { 
   1002            .          .               var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; 
   1003            .          .            
   1004            .          .               var protocol = options.iri ? IRI_PROTOCOL : URI_PROTOCOL; 
   1005            .          .               var uriTokens = []; 
   1006            .          .               //find scheme handler 

resolve

/srv/function-orchestrator/node_modules/uri-js/dist/es5/uri.all.js

  Total:           0        7ms (flat, cum) 0.091%
   1117            .          .               } 
   1118            .          .               target.fragment = relative.fragment; 
   1119            .          .               return target; 
   1120            .          .           } 
   1121            .          .            
   1122            .        7ms           function resolve(baseURI, relativeURI, options) { 
   1123            .          .               var schemelessOptions = assign({ scheme: 'null' }, options); 
   1124            .          .               return serialize(resolveComponents(parse(baseURI, schemelessOptions), parse(relativeURI, schemelessOptions), schemelessOptions, true), schemelessOptions); 
   1125            .          .           } 
   1126            .          .            
   1127            .          .           function normalize(uri, options) { 

copy

/srv/function-orchestrator/function-schemata/node_modules/yaml/dist/PlainValue-ec8e588e.js

  Total:           0        2ms (flat, cum) 0.026%
    200            .          .             const err = '^'.repeat(errLen); 
    201            .          .             return `${src}\n${offset}${err}${errEnd}`; 
    202            .          .           } 
    203            .          .            
    204            .          .           class Range { 
    205            .        2ms             static copy(orig) { 
    206            .          .               return new Range(orig.start, orig.end); 
    207            .          .             } 
    208            .          .            
    209            .          .             constructor(start, end) { 
    210            .          .               this.start = start; 

atDocumentBoundary

/srv/function-orchestrator/function-schemata/node_modules/yaml/dist/PlainValue-ec8e588e.js

  Total:         1ms        1ms (flat, cum) 0.013%
    264            .          .               const next = Node.endOfWhiteSpace(src, offset); 
    265            .          .               return next >= src.length || src[next] === '\n' ? str + '\n' : str; 
    266            .          .             } // ^(---|...) 
    267            .          .            
    268            .          .            
    269          1ms        1ms             static atDocumentBoundary(src, offset, sep) { 
    270            .          .               const ch0 = src[offset]; 
    271            .          .               if (!ch0) return true; 
    272            .          .               const prev = src[offset - 1]; 
    273            .          .               if (prev && prev !== '\n') return false; 
    274            .          .            

endOfIndent

/srv/function-orchestrator/function-schemata/node_modules/yaml/dist/PlainValue-ec8e588e.js

  Total:         2ms        2ms (flat, cum) 0.026%
    294            .          .            
    295            .          .               if (isVerbatim && ch === '>') offset += 1; 
    296            .          .               return offset; 
    297            .          .             } 
    298            .          .            
    299          2ms        2ms             static endOfIndent(src, offset) { 
    300            .          .               let ch = src[offset]; 
    301            .          .            
    302            .          .               while (ch === ' ') ch = src[offset += 1]; 

endOfLine

/srv/function-orchestrator/function-schemata/node_modules/yaml/dist/PlainValue-ec8e588e.js

  Total:         1ms        1ms (flat, cum) 0.013%
    304            .          .               return offset; 
    305            .          .             } 
    306            .          .            
    307          1ms        1ms             static endOfLine(src, offset) { 
    308            .          .               let ch = src[offset]; 
    309            .          .            
    310            .          .               while (ch && ch !== '\n') ch = src[offset += 1]; 

endOfWhiteSpace

/srv/function-orchestrator/function-schemata/node_modules/yaml/dist/PlainValue-ec8e588e.js

  Total:         2ms        2ms (flat, cum) 0.026%
    312            .          .               return offset; 
    313            .          .             } 
    314            .          .            
    315          2ms        2ms             static endOfWhiteSpace(src, offset) { 
    316            .          .               let ch = src[offset]; 
    317            .          .            
    318            .          .               while (ch === '\t' || ch === ' ') ch = src[offset += 1]; 

startOfLine

/srv/function-orchestrator/function-schemata/node_modules/yaml/dist/PlainValue-ec8e588e.js

  Total:         1ms        1ms (flat, cum) 0.013%
    320            .          .               return offset; 
    321            .          .             } 
    322            .          .            
    323          1ms        1ms             static startOfLine(src, offset) { 
    324            .          .               let ch = src[offset - 1]; 
    325            .          .               if (ch === '\n') return offset; 
    326            .          .            
    327            .          .               while (ch && ch !== '\n') ch = src[offset -= 1]; 
    328            .          .            

normalizeOffset

/srv/function-orchestrator/function-schemata/node_modules/yaml/dist/PlainValue-ec8e588e.js

  Total:         3ms        3ms (flat, cum) 0.039%
    363            .          .               if (indentDiff > 0) return true; 
    364            .          .               return indicatorAsIndent && ch === '-'; 
    365            .          .             } // should be at line or string end, or at next non-whitespace char 
    366            .          .            
    367            .          .            
    368          3ms        3ms             static normalizeOffset(src, offset) { 
    369            .          .               const ch = src[offset]; 
    370            .          .               return !ch ? offset : ch !== '\n' && src[offset - 1] === '\n' ? offset - 1 : Node.endOfWhiteSpace(src, offset); 
    371            .          .             } // fold single newline into space, multiple newlines to N - 1 newlines 
    372            .          .             // presumes src[offset] === '\n' 
    373            .          .            

Node

/srv/function-orchestrator/function-schemata/node_modules/yaml/dist/PlainValue-ec8e588e.js

  Total:        11ms       11ms (flat, cum)  0.14%
    407            .          .                 offset, 
    408            .          .                 error 
    409            .          .               }; 
    410            .          .             } 
    411            .          .            
    412         11ms       11ms             constructor(type, props, context) { 
    413            .          .               Object.defineProperty(this, 'context', { 
    414            .          .                 value: context || null, 
    415            .          .                 writable: true 
    416            .          .               }); 
    417            .          .               this.error = null; 

get hasComment

/srv/function-orchestrator/function-schemata/node_modules/yaml/dist/PlainValue-ec8e588e.js

  Total:         1ms        1ms (flat, cum) 0.013%
    461            .          .                 end 
    462            .          .               } = this.valueRange; 
    463            .          .               return start !== end || Node.atBlank(src, end - 1); 
    464            .          .             } 
    465            .          .            
    466          1ms        1ms             get hasComment() { 
    467            .          .               if (this.context) { 
    468            .          .                 const { 
    469            .          .                   src 
    470            .          .                 } = this.context; 
    471            .          .            

get tag

/srv/function-orchestrator/function-schemata/node_modules/yaml/dist/PlainValue-ec8e588e.js

  Total:         1ms        1ms (flat, cum) 0.013%
    518            .          .                 end 
    519            .          .               } = this.valueRange; 
    520            .          .               return this.context.src.slice(start, end); 
    521            .          .             } 
    522            .          .            
    523          1ms        1ms             get tag() { 
    524            .          .               for (let i = 0; i < this.props.length; ++i) { 
    525            .          .                 const tag = this.getPropValue(i, Char.TAG, false); 
    526            .          .            
    527            .          .                 if (tag != null) { 
    528            .          .                   if (tag[1] === '<') { 

parseComment

/srv/function-orchestrator/function-schemata/node_modules/yaml/dist/PlainValue-ec8e588e.js

  Total:         1ms        2ms (flat, cum) 0.026%
    558            .          .               } 
    559            .          .            
    560            .          .               return false; 
    561            .          .             } 
    562            .          .            
    563          1ms        2ms             parseComment(start) { 
    564            .          .               const { 
    565            .          .                 src 
    566            .          .               } = this.context; 
    567            .          .            
    568            .          .               if (src[start] === Char.COMMENT) { 

_defineProperty

/srv/function-orchestrator/function-schemata/node_modules/yaml/dist/PlainValue-ec8e588e.js

  Total:         3ms        3ms (flat, cum) 0.039%
    678            .          .               super('YAMLWarning', source, message); 
    679            .          .             } 
    680            .          .            
    681            .          .           } 
    682            .          .            
    683          3ms        3ms           function _defineProperty(obj, key, value) { 
    684            .          .             if (key in obj) { 
    685            .          .               Object.defineProperty(obj, key, { 
    686            .          .                 value: value, 
    687            .          .                 enumerable: true, 
    688            .          .                 configurable: true, 

PlainValue

/srv/function-orchestrator/function-schemata/node_modules/yaml/dist/PlainValue-ec8e588e.js

  Total:         1ms        8ms (flat, cum)   0.1%
    693            .          .             } 
    694            .          .            
    695            .          .             return obj; 
    696            .          .           } 
    697            .          .            
    698          1ms        8ms           class PlainValue extends Node { 

endOfLine

/srv/function-orchestrator/function-schemata/node_modules/yaml/dist/PlainValue-ec8e588e.js

  Total:         1ms        1ms (flat, cum) 0.013%
    699          1ms        1ms             static endOfLine(src, start, inFlow) { 
    700            .          .               let ch = src[start]; 
    701            .          .               let offset = start; 
    702            .          .            
    703            .          .               while (ch && ch !== '\n') { 
    704            .          .                 if (inFlow && (ch === '[' || ch === ']' || ch === '{' || ch === '}' || ch === ',')) break; 

get strValue

/srv/function-orchestrator/function-schemata/node_modules/yaml/dist/PlainValue-ec8e588e.js

  Total:         2ms        2ms (flat, cum) 0.026%
    710            .          .               } 
    711            .          .            
    712            .          .               return offset; 
    713            .          .             } 
    714            .          .            
    715          2ms        2ms             get strValue() { 
    716            .          .               if (!this.valueRange || !this.context) return null; 
    717            .          .               let { 
    718            .          .                 start, 
    719            .          .                 end 
    720            .          .               } = this.valueRange; 

parse

/srv/function-orchestrator/function-schemata/node_modules/yaml/dist/PlainValue-ec8e588e.js

  Total:         3ms        5ms (flat, cum) 0.065%
    833            .          .              * @param {number} start - Index of first character 
    834            .          .              * @returns {number} - Index of the character after this scalar, may be `\n` 
    835            .          .              */ 
    836            .          .            
    837            .          .            
    838          3ms        5ms             parse(context, start) { 
    839            .          .               this.context = context; 
    840            .          .               const { 
    841            .          .                 inFlow, 
    842            .          .                 src 
    843            .          .               } = context; 

(anonymous)

/srv/function-orchestrator/function-schemata/node_modules/tslib/tslib.js

  Total:           0        1ms (flat, cum) 0.013%
      1            .        1ms           /*! ***************************************************************************** 
      2            .          .           Copyright (c) Microsoft Corporation. 
      3            .          .            
      4            .          .           Permission to use, copy, modify, and/or distribute this software for any 
      5            .          .           purpose with or without fee is hereby granted. 
      6            .          .            

(anonymous)

/srv/function-orchestrator/function-schemata/node_modules/tslib/tslib.js

  Total:         1ms        1ms (flat, cum) 0.013%
     35            .          .           var __importStar; 
     36            .          .           var __importDefault; 
     37            .          .           var __classPrivateFieldGet; 
     38            .          .           var __classPrivateFieldSet; 
     39            .          .           var __createBinding; 
     40          1ms        1ms           (function (factory) { 
     41            .          .               var root = typeof global === "object" ? global : typeof self === "object" ? self : typeof this === "object" ? this : {}; 
     42            .          .               if (typeof define === "function" && define.amd) { 
     43            .          .                   define("tslib", ["exports"], function (exports) { factory(createExporter(root, createExporter(exports))); }); 
     44            .          .               } 
     45            .          .               else if (typeof module === "object" && typeof module.exports === "object") { 

__awaiter

/srv/function-orchestrator/function-schemata/node_modules/tslib/tslib.js

  Total:         2ms       62ms (flat, cum)  0.81%
    106            .          .            
    107            .          .               __metadata = function (metadataKey, metadataValue) { 
    108            .          .                   if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue); 
    109            .          .               }; 
    110            .          .            
    111          2ms       62ms               __awaiter = function (thisArg, _arguments, P, generator) { 

(anonymous)

/srv/function-orchestrator/function-schemata/node_modules/tslib/tslib.js

  Total:         1ms       60ms (flat, cum)  0.78%
    113          1ms       60ms                   return new (P || (P = Promise))(function (resolve, reject) { 

fulfilled

/srv/function-orchestrator/function-schemata/node_modules/tslib/tslib.js

  Total:         3ms       12ms (flat, cum)  0.16%
    114          3ms       12ms                       function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } 

step

/srv/function-orchestrator/function-schemata/node_modules/tslib/tslib.js

  Total:         5ms        5ms (flat, cum) 0.065%
    116          5ms        5ms                       function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } 
    117            .          .                       step((generator = generator.apply(thisArg, _arguments || [])).next()); 
    118            .          .                   }); 

__generator

/srv/function-orchestrator/function-schemata/node_modules/tslib/tslib.js

  Total:         4ms        4ms (flat, cum) 0.052%
    119            .          .               }; 
    120            .          .            
    121          4ms        4ms               __generator = function (thisArg, body) { 
    122            .          .                   var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; 

(anonymous)

/srv/function-orchestrator/function-schemata/node_modules/tslib/tslib.js

  Total:         7ms       54ms (flat, cum)   0.7%
    123            .          .                   return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; 
    124          7ms       54ms                   function verb(n) { return function (v) { return step([n, v]); }; } 

step

/srv/function-orchestrator/function-schemata/node_modules/tslib/tslib.js

  Total:         9ms       47ms (flat, cum)  0.61%
    125          9ms       47ms                   function step(op) { 
    126            .          .                       if (f) throw new TypeError("Generator is already executing."); 
    127            .          .                       while (_) try { 
    128            .          .                           if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; 
    129            .          .                           if (y = 0, t) op = [op[0] & 2, t.value]; 
    130            .          .                           switch (op[0]) { 

__exportStar

/srv/function-orchestrator/function-schemata/node_modules/tslib/tslib.js

  Total:         1ms        1ms (flat, cum) 0.013%
    144            .          .                       } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } 
    145            .          .                       if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; 
    146            .          .                   } 
    147            .          .               }; 
    148            .          .            
    149          1ms        1ms               __exportStar = function(m, o) { 
    150            .          .                   for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p); 
    151            .          .               }; 
    152            .          .            
    153            .          .               __createBinding = Object.create ? (function(o, m, k, k2) { 
    154            .          .                   if (k2 === undefined) k2 = k; 

normalizeString

node:path

  Total:        10ms       10ms (flat, cum)  0.13%
     66         10ms       10ms           ??? 

resolve

node:path

  Total:        16ms       24ms (flat, cum)  0.31%
   1091         16ms       24ms           ??? 

normalize

node:path

  Total:         1ms        3ms (flat, cum) 0.039%
   1127          1ms        3ms           ??? 

join

node:path

  Total:         1ms        4ms (flat, cum) 0.052%
   1166          1ms        4ms           ??? 

toNamespacedPath

node:path

  Total:         1ms        1ms (flat, cum) 0.013%
   1266          1ms        1ms           ??? 

(anonymous)

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/resolve.js

  Total:           0        4ms (flat, cum) 0.052%
      1            .        4ms           "use strict"; 
      2            .          .           Object.defineProperty(exports, "__esModule", { value: true }); 
      3            .          .           exports.getSchemaRefs = exports.resolveUrl = exports.normalizeId = exports._getFullPath = exports.getFullPath = exports.inlineRef = void 0; 
      4            .          .           const util_1 = require("./util"); 
      5            .          .           const equal = require("fast-deep-equal"); 
      6            .          .           const traverse = require("json-schema-traverse"); 

inlineRef

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/resolve.js

  Total:           0        2ms (flat, cum) 0.026%
     22            .          .               "multipleOf", 
     23            .          .               "required", 
     24            .          .               "enum", 
     25            .          .               "const", 
     26            .          .           ]); 
     27            .        2ms           function inlineRef(schema, limit = true) { 
     28            .          .               if (typeof schema == "boolean") 
     29            .          .                   return true; 
     30            .          .               if (limit === true) 
     31            .          .                   return !hasRef(schema); 
     32            .          .               if (!limit) 

hasRef

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/resolve.js

  Total:         2ms        6ms (flat, cum) 0.078%
     39            .          .               "$recursiveRef", 
     40            .          .               "$recursiveAnchor", 
     41            .          .               "$dynamicRef", 
     42            .          .               "$dynamicAnchor", 
     43            .          .           ]); 
     44          2ms        6ms           function hasRef(schema) { 
     45            .          .               for (const key in schema) { 
     46            .          .                   if (REF_KEYWORDS.has(key)) 
     47            .          .                       return true; 
     48            .          .                   const sch = schema[key]; 
     49            .          .                   if (Array.isArray(sch) && sch.some(hasRef)) 

getFullPath

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/resolve.js

  Total:           0       18ms (flat, cum)  0.23%
     67            .          .                   if (count === Infinity) 
     68            .          .                       return Infinity; 
     69            .          .               } 
     70            .          .               return count; 
     71            .          .           } 
     72            .       18ms           function getFullPath(id = "", normalize) { 
     73            .          .               if (normalize !== false) 
     74            .          .                   id = normalizeId(id); 
     75            .          .               const p = URI.parse(id); 

_getFullPath

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/resolve.js

  Total:        12ms       26ms (flat, cum)  0.34%
     76            .          .               return _getFullPath(p); 
     77            .          .           } 
     78            .          .           exports.getFullPath = getFullPath; 
     79         12ms       26ms           function _getFullPath(p) { 
     80            .          .               return URI.serialize(p).split("#")[0] + "#"; 
     81            .          .           } 

normalizeId

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/resolve.js

  Total:         6ms        6ms (flat, cum) 0.078%
     82            .          .           exports._getFullPath = _getFullPath; 
     83            .          .           const TRAILING_SLASH_HASH = /#\/?$/; 
     84          6ms        6ms           function normalizeId(id) { 
     85            .          .               return id ? id.replace(TRAILING_SLASH_HASH, "") : ""; 

resolveUrl

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/resolve.js

  Total:           0       34ms (flat, cum)  0.44%
     87            .          .           exports.normalizeId = normalizeId; 
     88            .       34ms           function resolveUrl(baseId, id) { 
     89            .          .               id = normalizeId(id); 
     90            .          .               return URI.resolve(baseId, id); 

getSchemaRefs

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/resolve.js

  Total:           0       20ms (flat, cum)  0.26%
     92            .          .           exports.resolveUrl = resolveUrl; 
     93            .          .           const ANCHOR = /^[a-z_][-a-z0-9._]*$/i; 
     94            .       20ms           function getSchemaRefs(schema) { 
     95            .          .               if (typeof schema == "boolean") 
     96            .          .                   return {}; 
     97            .          .               const { schemaId } = this.opts; 
     98            .          .               const schId = normalizeId(schema[schemaId]); 

(anonymous)

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/resolve.js

  Total:         8ms        9ms (flat, cum)  0.12%
     99            .          .               const baseIds = { "": schId }; 
    100            .          .               const pathPrefix = getFullPath(schId, false); 
    101            .          .               const localRefs = {}; 
    102            .          .               const schemaRefs = new Set(); 
    103          8ms        9ms               traverse(schema, { allKeys: true }, (sch, jsonPtr, _, parentJsonPtr) => { 
    104            .          .                   if (parentJsonPtr === undefined) 
    105            .          .                       return; 
    106            .          .                   const fullPath = pathPrefix + jsonPtr; 
    107            .          .                   let baseId = baseIds[parentJsonPtr]; 
    108            .          .                   if (typeof sch[schemaId] == "string") 

addAnchor

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/resolve.js

  Total:         1ms        1ms (flat, cum) 0.013%
    130            .          .                               this.refs[ref] = fullPath; 
    131            .          .                           } 
    132            .          .                       } 
    133            .          .                       return ref; 
    134            .          .                   } 
    135          1ms        1ms                   function addAnchor(anchor) { 
    136            .          .                       if (typeof anchor == "string") { 
    137            .          .                           if (!ANCHOR.test(anchor)) 
    138            .          .                               throw new Error(`invalid anchor "${anchor}"`); 
    139            .          .                           addRef.call(this, `#${anchor}`); 
    140            .          .                       } 

makeNodePromisifiedEval

/srv/function-orchestrator/node_modules/bluebird/js/release/promisify.js

  Total:        22ms       25ms (flat, cum)  0.33%
    111            .          .               } 
    112            .          .               return 0; 
    113            .          .           }; 
    114            .          .            
    115            .          .           makeNodePromisifiedEval = 
    116         22ms       25ms           function(callback, receiver, originalName, fn, _, multiArgs) { 
    117            .          .               var newParameterCount = Math.max(0, parameterCount(fn) - 1); 
    118            .          .               var argumentOrder = switchCaseArgumentOrder(newParameterCount); 

generateCallForArgumentCount

/srv/function-orchestrator/node_modules/bluebird/js/release/promisify.js

  Total:         3ms        3ms (flat, cum) 0.039%
    119            .          .               var shouldProxyThis = typeof callback === "string" || receiver === THIS; 
    120            .          .            
    121          3ms        3ms               function generateCallForArgumentCount(count) { 
    122            .          .                   var args = argumentSequence(count).join(", "); 
    123            .          .                   var comma = count > 0 ? ", " : ""; 
    124            .          .                   var ret; 
    125            .          .                   if (shouldProxyThis) { 
    126            .          .                       ret = "ret = callback.call(this, {{args}}, nodeback); break;\n"; 

generateArgumentSwitchCase

/srv/function-orchestrator/node_modules/bluebird/js/release/promisify.js

  Total:           0        3ms (flat, cum) 0.039%
    130            .          .                           : "ret = callback.call(receiver, {{args}}, nodeback); break;\n"; 
    131            .          .                   } 
    132            .          .                   return ret.replace("{{args}}", args).replace(", ", comma); 
    133            .          .               } 
    134            .          .            
    135            .        3ms               function generateArgumentSwitchCase() { 
    136            .          .                   var ret = ""; 
    137            .          .                   for (var i = 0; i < argumentOrder.length; ++i) { 
    138            .          .                       ret += "case " + argumentOrder[i] +":" + 
    139            .          .                           generateCallForArgumentCount(argumentOrder[i]); 
    140            .          .                   } 

promisifyAll

/srv/function-orchestrator/node_modules/bluebird/js/release/promisify.js

  Total:         1ms       26ms (flat, cum)  0.34%
    233            .          .            
    234            .          .           var makeNodePromisified = canEvaluate 
    235            .          .               ? makeNodePromisifiedEval 
    236            .          .               : makeNodePromisifiedClosure; 
    237            .          .            
    238          1ms       26ms           function promisifyAll(obj, suffix, filter, promisifier, multiArgs) { 
    239            .          .               var suffixRegexp = new RegExp(escapeIdentRegex(suffix) + "$"); 
    240            .          .               var methods = 
    241            .          .                   promisifiableMethods(obj, suffix, suffixRegexp, filter); 
    242            .          .            
    243            .          .               for (var i = 0, len = methods.length; i < len; i+= 2) { 

Promise.promisifyAll

/srv/function-orchestrator/node_modules/bluebird/js/release/promisify.js

  Total:           0       28ms (flat, cum)  0.37%
    278            .          .               var ret = promisify(fn, receiver, multiArgs); 
    279            .          .               util.copyDescriptors(fn, ret, propsFilter); 
    280            .          .               return ret; 
    281            .          .           }; 
    282            .          .            
    283            .       28ms           Promise.promisifyAll = function (target, options) { 
    284            .          .               if (typeof target !== "function" && typeof target !== "object") { 
    285            .          .                   throw new TypeError("the target of promisifyAll must be an object or a function\u000a\u000a    See http://goo.gl/MqrFmX\u000a"); 
    286            .          .               } 
    287            .          .               options = Object(options); 
    288            .          .               var multiArgs = !!options.multiArgs; 

(anonymous)

/srv/function-orchestrator/function-schemata/node_modules/async-mutex/lib/Mutex.js

  Total:           0        1ms (flat, cum) 0.013%
      1            .        1ms           "use strict"; 
      2            .          .           Object.defineProperty(exports, "__esModule", { value: true }); 
      3            .          .           var tslib_1 = require("tslib"); 

Mutex

/srv/function-orchestrator/function-schemata/node_modules/async-mutex/lib/Mutex.js

  Total:           0        2ms (flat, cum) 0.026%
      4            .          .           var Semaphore_1 = require("./Semaphore"); 
      5            .          .           var Mutex = /** @class */ (function () { 
      6            .        2ms               function Mutex(cancelError) { 
      7            .          .                   this._semaphore = new Semaphore_1.default(1, cancelError); 

Mutex.acquire

/srv/function-orchestrator/function-schemata/node_modules/async-mutex/lib/Mutex.js

  Total:           0       62ms (flat, cum)  0.81%
      8            .          .               } 
      9            .       62ms               Mutex.prototype.acquire = function () { 

(anonymous)

/srv/function-orchestrator/function-schemata/node_modules/async-mutex/lib/Mutex.js

  Total:        25ms       47ms (flat, cum)  0.61%
     10          5ms        9ms                   return (0, tslib_1.__awaiter)(this, void 0, void 0, function () { 
     11            .          .                       var _a, releaser; 
     12         20ms       38ms                       return (0, tslib_1.__generator)(this, function (_b) { 
     13            .          .                           switch (_b.label) { 
     14            .          .                               case 0: return [4 /*yield*/, this._semaphore.acquire()]; 
     15            .          .                               case 1: 
     16            .          .                                   _a = _b.sent(), releaser = _a[1]; 
     17            .          .                                   return [2 /*return*/, releaser]; 

dereference

/srv/function-orchestrator/src/db.js

  Total:        23ms       76ms (flat, cum)  0.99%
     21            .          .           	 * Gets the ZObjects of a list of ZIDs. 
     22            .          .           	 * 
     23            .          .           	 * @param {Array} ZIDs A list of ZIDs to fetch. 
     24            .          .           	 * @return {Object} An object mapping ZIDs to ZWrappers 
     25            .          .           	 */ 
     26         23ms       76ms           	async dereference( ZIDs ) { 
     27            .          .           		// Importing here instead of at top-level to avoid circular reference. 
     28            .          .           		const { resolveBuiltinReference } = require( './builtins.js' ); 
     29            .          .           		const unresolved = new Set( ZIDs ); 
     30            .          .           		const dereferenced = {}; 
     31            .          .            

(anonymous)

/srv/function-orchestrator/src/db.js

  Total:           0        2ms (flat, cum) 0.026%
     58            .          .           			url.searchParams.append( 'zids', [ ...unresolved ].join( '|' ) ); 
     59            .          .            
     60            .          .           			const fetched = await fetch( url, { method: 'GET' } ); 
     61            .          .           			const result = await fetched.json(); 
     62            .          .            
     63            .        2ms           			await Promise.all( [ ...unresolved ].map( async ( ZID ) => { 
     64            .          .           				const zobject = JSON.parse( result[ ZID ].wikilambda_fetch ); 
     65            .          .           				// Dereferenced objects are created in an empty scope because they are not supposed 
     66            .          .           				// to refer to any local variable. 
     67            .          .           				const normalized = 
     68            .          .           					ZWrapper.create( await normalize( zobject, 

(anonymous)

/srv/function-orchestrator/function-schemata/node_modules/async-mutex/lib/Semaphore.js

  Total:           0        1ms (flat, cum) 0.013%
      1            .        1ms           "use strict"; 
      2            .          .           Object.defineProperty(exports, "__esModule", { value: true }); 
      3            .          .           var tslib_1 = require("tslib"); 

Semaphore

/srv/function-orchestrator/function-schemata/node_modules/async-mutex/lib/Semaphore.js

  Total:         2ms        2ms (flat, cum) 0.026%
      4            .          .           var errors_1 = require("./errors"); 
      5            .          .           var Semaphore = /** @class */ (function () { 
      6          2ms        2ms               function Semaphore(_maxConcurrency, _cancelError) { 
      7            .          .                   if (_cancelError === void 0) { _cancelError = errors_1.E_CANCELED; } 
      8            .          .                   this._maxConcurrency = _maxConcurrency; 
      9            .          .                   this._cancelError = _cancelError; 
     10            .          .                   this._queue = []; 
     11            .          .                   this._waiters = []; 

Semaphore.acquire

/srv/function-orchestrator/function-schemata/node_modules/async-mutex/lib/Semaphore.js

  Total:         1ms       18ms (flat, cum)  0.23%
     12            .          .                   if (_maxConcurrency <= 0) { 
     13            .          .                       throw new Error('semaphore must be initialized to a positive value'); 
     14            .          .                   } 
     15            .          .                   this._value = _maxConcurrency; 
     16            .          .               } 
     17          1ms       18ms               Semaphore.prototype.acquire = function () { 
     18            .          .                   var _this = this; 
     19            .          .                   var locked = this.isLocked(); 
     20            .          .                   var ticketPromise = new Promise(function (resolve, reject) { 
     21            .          .                       return _this._queue.push({ resolve: resolve, reject: reject }); 
     22            .          .                   }); 

Semaphore._dispatch

/srv/function-orchestrator/function-schemata/node_modules/async-mutex/lib/Semaphore.js

  Total:        18ms       18ms (flat, cum)  0.23%
     75            .          .               Semaphore.prototype.cancel = function () { 
     76            .          .                   var _this = this; 
     77            .          .                   this._queue.forEach(function (ticket) { return ticket.reject(_this._cancelError); }); 
     78            .          .                   this._queue = []; 
     79            .          .               }; 
     80         18ms       18ms               Semaphore.prototype._dispatch = function () { 
     81            .          .                   var _this = this; 
     82            .          .                   var nextTicket = this._queue.shift(); 

_currentReleaser

/srv/function-orchestrator/function-schemata/node_modules/async-mutex/lib/Semaphore.js

  Total:           0        2ms (flat, cum) 0.026%
     84            .          .                       return; 
     85            .          .                   var released = false; 
     86            .        2ms                   this._currentReleaser = function () { 
     87            .          .                       if (released) 
     88            .          .                           return; 
     89            .          .                       released = true; 
     90            .          .                       _this._value++; 

Semaphore._resolveWaiters

/srv/function-orchestrator/function-schemata/node_modules/async-mutex/lib/Semaphore.js

  Total:         1ms        1ms (flat, cum) 0.013%
     92            .          .                       _this._dispatch(); 
     93            .          .                   }; 
     94            .          .                   nextTicket.resolve([this._value--, this._currentReleaser]); 
     95            .          .               }; 
     96          1ms        1ms               Semaphore.prototype._resolveWaiters = function () { 
     97            .          .                   this._waiters.forEach(function (waiter) { return waiter.resolve(); }); 
     98            .          .                   this._waiters = []; 
     99            .          .               }; 
    100            .          .               return Semaphore; 
    101            .          .           }()); 

existsSync

node:fs

  Total:           0        1ms (flat, cum) 0.013%
    304            .        1ms           ??? 

tryStatSync

node:fs

  Total:           0        8ms (flat, cum)   0.1%
    418            .        8ms           ??? 

tryCreateBuffer

node:fs

  Total:           0        6ms (flat, cum) 0.078%
    428            .        6ms           ??? 

tryReadSync

node:fs

  Total:         1ms       18ms (flat, cum)  0.23%
    443          1ms       18ms           ??? 

readFileSync

node:fs

  Total:         5ms       81ms (flat, cum)  1.06%
    464          5ms       81ms           ??? 

closeSync

node:fs

  Total:           0        5ms (flat, cum) 0.065%
    540            .        5ms           ??? 

openSync

node:fs

  Total:           0       18ms (flat, cum)  0.23%
    590            .       18ms           ??? 

readSync

node:fs

  Total:         2ms       17ms (flat, cum)  0.22%
    704          2ms       17ms           ??? 

readdirSync

node:fs

  Total:         1ms        3ms (flat, cum) 0.039%
   1443          1ms        3ms           ??? 

statSync

node:fs

  Total:           0        3ms (flat, cum) 0.039%
   1588            .        3ms           ??? 

realpathSync

node:fs

  Total:        13ms       19ms (flat, cum)  0.25%
   2474         13ms       19ms           ??? 

(anonymous)

/srv/function-orchestrator/node_modules/ajv/lib/compile/index.js

  Total:           0        8ms (flat, cum)   0.1%
      1            .        8ms           'use strict'; 
      2            .          .            
      3            .          .           var resolve = require('./resolve') 
      4            .          .             , util = require('./util') 
      5            .          .             , errorClasses = require('./error_classes') 
      6            .          .             , stableStringify = require('fast-json-stable-stringify'); 

compile

/srv/function-orchestrator/node_modules/ajv/lib/compile/index.js

  Total:           0       69ms (flat, cum)   0.9%
     27            .          .            * @param  {Object} root object with information about the root schema for this schema 
     28            .          .            * @param  {Object} localRefs the hash of local references inside the schema (created by resolve.id), used for inline resolution 
     29            .          .            * @param  {String} baseId base ID for IDs in the schema 
     30            .          .            * @return {Function} validation function 
     31            .          .            */ 
     32            .       69ms           function compile(schema, root, localRefs, baseId) { 
     33            .          .             /* jshint validthis: true, evil: true */ 
     34            .          .             /* eslint no-shadow: 0 */ 
     35            .          .             var self = this 
     36            .          .               , opts = this._opts 
     37            .          .               , refVal = [ undefined ] 

localCompile

/srv/function-orchestrator/node_modules/ajv/lib/compile/index.js

  Total:        16ms      328ms (flat, cum)  4.28%
     76            .          .               var result = validate.apply(this, arguments); 
     77            .          .               callValidate.errors = validate.errors; 
     78            .          .               return result; 
     79            .          .             } 
     80            .          .            
     81         16ms      328ms             function localCompile(_schema, _root, localRefs, baseId) { 
     82            .          .               var isRoot = !_root || (_root && _root.schema == _schema); 
     83            .          .               if (_root.schema != root.schema) 
     84            .          .                 return compile.call(self, _schema, _root, localRefs, baseId); 
     85            .          .            
     86            .          .               var $async = _schema.$async === true; 

resolveRef

/srv/function-orchestrator/node_modules/ajv/lib/compile/index.js

  Total:         1ms      277ms (flat, cum)  3.61%
    165            .          .               } 
    166            .          .            
    167            .          .               return validate; 
    168            .          .             } 
    169            .          .            
    170          1ms      277ms             function resolveRef(baseId, ref, isRoot) { 
    171            .          .               ref = resolve.url(baseId, ref); 
    172            .          .               var refIndex = refs[ref]; 
    173            .          .               var _refVal, refCode; 
    174            .          .               if (refIndex !== undefined) { 
    175            .          .                 _refVal = refVal[refIndex]; 

resolvedRef

/srv/function-orchestrator/node_modules/ajv/lib/compile/index.js

  Total:         1ms        1ms (flat, cum) 0.013%
    218            .          .             function replaceLocalRef(ref, v) { 
    219            .          .               var refId = refs[ref]; 
    220            .          .               refVal[refId] = v; 
    221            .          .             } 
    222            .          .            
    223          1ms        1ms             function resolvedRef(refVal, code) { 
    224            .          .               return typeof refVal == 'object' || typeof refVal == 'boolean' 
    225            .          .                       ? { code: code, schema: refVal, inline: true } 
    226            .          .                       : { code: code, $async: refVal && !!refVal.$async }; 
    227            .          .             } 
    228            .          .            

refValCode

/srv/function-orchestrator/node_modules/ajv/lib/compile/index.js

  Total:         1ms        1ms (flat, cum) 0.013%
    366            .          .           function defaultCode(i) { 
    367            .          .             return 'var default' + i + ' = defaults[' + i + '];'; 
    368            .          .           } 
    369            .          .            
    370            .          .            
    371          1ms        1ms           function refValCode(i, refVal) { 
    372            .          .             return refVal[i] === undefined ? '' : 'var refVal' + i + ' = refVal[' + i + '];'; 
    373            .          .           } 
    374            .          .            
    375            .          .            

vars

/srv/function-orchestrator/node_modules/ajv/lib/compile/index.js

  Total:         1ms        2ms (flat, cum) 0.026%
    377            .          .             return 'var customRule' + i + ' = customRules[' + i + '];'; 
    378            .          .           } 
    379            .          .            
    380            .          .            
    381          1ms        2ms           function vars(arr, statement) { 
    382            .          .             if (!arr.length) return ''; 
    383            .          .             var code = ''; 
    384            .          .             for (var i=0; i<arr.length; i++) 
    385            .          .               code += statement(i, arr); 
    386            .          .             return code; 

(anonymous)

/srv/function-orchestrator/node_modules/msw/lib/umd/index.js

  Total:         4ms       75ms (flat, cum)  0.98%
      1            .       50ms           (function (global, factory) { 
      2            .          .             typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : 
      3            .          .             typeof define === 'function' && define.amd ? define(['exports'], factory) : 
      4            .          .             (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.MockServiceWorker = {})); 
      5          4ms       25ms           }(this, (function (exports) { 'use strict'; 
      6            .          .            
      7            .          .             var statuses = { 
      8            .          .             	"100": "Continue", 
      9            .          .             	"101": "Switching Protocols", 
     10            .          .             	"102": "Processing", 

normalizeHeaderName

/srv/function-orchestrator/node_modules/msw/lib/umd/index.js

  Total:         1ms        1ms (flat, cum) 0.013%
     95            .          .             var normalizeHeaderName$1 = {}; 
     96            .          .            
     97            .          .             Object.defineProperty(normalizeHeaderName$1, "__esModule", { value: true }); 
     98            .          .             normalizeHeaderName$1.normalizeHeaderName = void 0; 
     99            .          .             var HEADERS_INVALID_CHARACTERS = /[^a-z0-9\-#$%&'*+.^_`|~]/i; 
    100          1ms        1ms             function normalizeHeaderName(name) { 
    101            .          .                 if (typeof name !== 'string') { 
    102            .          .                     name = String(name); 
    103            .          .                 } 
    104            .          .                 if (HEADERS_INVALID_CHARACTERS.test(name) || name.trim() === '') { 
    105            .          .                     throw new TypeError('Invalid character in header field name'); 

HeadersPolyfill.get

/srv/function-orchestrator/node_modules/msw/lib/umd/index.js

  Total:           0        1ms (flat, cum) 0.013%
    315            .          .                     }); 
    316            .          .                 }; 
    317            .          .                 /** 
    318            .          .                  * Returns a `ByteString` sequence of all the values of a header with a given name. 
    319            .          .                  */ 
    320            .        1ms                 HeadersPolyfill.prototype.get = function (name) { 
    321            .          .                     return this._headers[normalizeHeaderName_1.normalizeHeaderName(name)] || null; 
    322            .          .                 }; 
    323            .          .                 /** 
    324            .          .                  * Sets a new value for an existing header inside a `Headers` object, or adds the header if it does not already exist. 
    325            .          .                  */ 

__awaiter$3

/srv/function-orchestrator/node_modules/msw/lib/umd/index.js

  Total:           0        2ms (flat, cum) 0.026%
   1672            .          .                             t[p[i]] = s[p[i]]; 
   1673            .          .                     } 
   1674            .          .                 return t; 
   1675            .          .             } 
   1676            .          .            
   1677            .        2ms             function __awaiter$3(thisArg, _arguments, P, generator) { 

(anonymous)

/srv/function-orchestrator/node_modules/msw/lib/umd/index.js

  Total:           0        2ms (flat, cum) 0.026%
   1679            .        2ms                 return new (P || (P = Promise))(function (resolve, reject) { 
   1680            .          .                     function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } 
   1681            .          .                     function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } 
   1682            .          .                     function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } 
   1683            .          .                     step((generator = generator.apply(thisArg, _arguments || [])).next()); 
   1684            .          .                 }); 

(anonymous)

/srv/function-orchestrator/node_modules/msw/lib/umd/index.js

  Total:         1ms        1ms (flat, cum) 0.013%
   2049            .          .             setCookie.exports = parse$3; 
   2050            .          .             setCookie.exports.parse = parse$3; 
   2051            .          .             setCookie.exports.parseString = parseString; 
   2052            .          .             setCookie.exports.splitCookiesString = splitCookiesString; 
   2053            .          .            
   2054          1ms        1ms             (function (exports) { 
   2055            .          .             var __rest = (commonjsGlobal && commonjsGlobal.__rest) || function (s, e) { 
   2056            .          .                 var t = {}; 
   2057            .          .                 for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) 
   2058            .          .                     t[p] = s[p]; 
   2059            .          .                 if (s != null && typeof Object.getOwnPropertySymbols === "function") 

(anonymous)

/srv/function-orchestrator/node_modules/msw/lib/umd/index.js

  Total:         1ms        1ms (flat, cum) 0.013%
   6880            .          .              * 
   6881            .          .              * This distance can be useful for detecting typos in input or sorting 
   6882            .          .              */ 
   6883            .          .            
   6884            .          .            
   6885          1ms        1ms             var LexicalDistance = /*#__PURE__*/function () { 
   6886            .          .               function LexicalDistance(input) { 
   6887            .          .                 this._input = input; 
   6888            .          .                 this._inputLowerCase = input.toLowerCase(); 
   6889            .          .                 this._inputArray = stringToArray(this._inputLowerCase); 
   6890            .          .                 this._rows = [new Array(input.length + 1).fill(0), new Array(input.length + 1).fill(0), new Array(input.length + 1).fill(0)]; 

GraphQLEnumType

/srv/function-orchestrator/node_modules/msw/lib/umd/index.js

  Total:           0        1ms (flat, cum) 0.013%
   8334            .          .              * will be used as its internal value. 
   8335            .          .              */ 
   8336            .          .             var GraphQLEnumType 
   8337            .          .             /* <T> */ 
   8338            .          .             = /*#__PURE__*/function () { 
   8339            .        1ms               function GraphQLEnumType(config) { 
   8340            .          .                 this.name = config.name; 
   8341            .          .                 this.description = config.description; 
   8342            .          .                 this.extensions = config.extensions && (0, _toObjMap$2.default)(config.extensions); 

(anonymous)

/srv/function-orchestrator/node_modules/msw/lib/umd/index.js

  Total:         1ms        1ms (flat, cum) 0.013%
   8343            .          .                 this.astNode = config.astNode; 
   8344            .          .                 this.extensionASTNodes = undefineIfEmpty(config.extensionASTNodes); 
   8345            .          .                 this._values = defineEnumValues(this.name, config.values); 
   8346          1ms        1ms                 this._valueLookup = new Map(this._values.map(function (enumValue) { 
   8347            .          .                   return [enumValue.value, enumValue]; 
   8348            .          .                 })); 
   8349            .          .                 this._nameLookup = (0, _keyMap$6.default)(this._values, function (value) { 
   8350            .          .                   return value.name; 
   8351            .          .                 }); 

GraphQLDirective

/srv/function-orchestrator/node_modules/msw/lib/umd/index.js

  Total:         1ms        1ms (flat, cum) 0.013%
  10023            .          .              * behavior. Type system creators will usually not create these directly. 
  10024            .          .              */ 
  10025            .          .            
  10026            .          .            
  10027            .          .             var GraphQLDirective = /*#__PURE__*/function () { 
  10028          1ms        1ms               function GraphQLDirective(config) { 
  10029            .          .                 var _config$isRepeatable, _config$args; 
  10030            .          .            
  10031            .          .                 this.name = config.name; 
  10032            .          .                 this.description = config.description; 
  10033            .          .                 this.locations = config.locations; 

(anonymous)

/srv/function-orchestrator/node_modules/msw/lib/umd/index.js

  Total:         1ms        1ms (flat, cum) 0.013%
  16466            .          .               }); 
  16467            .          .             } 
  16468            .          .            
  16469            .          .             var type = {}; 
  16470            .          .            
  16471          1ms        1ms             (function (exports) { 
  16472            .          .            
  16473            .          .             Object.defineProperty(exports, "__esModule", { 
  16474            .          .               value: true 
  16475            .          .             }); 
  16476            .          .             Object.defineProperty(exports, "isSchema", { 

(anonymous)

/srv/function-orchestrator/node_modules/msw/lib/umd/index.js

  Total:         1ms        1ms (flat, cum) 0.013%
  20886            .          .             var _findBreakingChanges = findBreakingChanges$1; 
  20887            .          .            
  20888            .          .             var _findDeprecatedUsages = findDeprecatedUsages$1; 
  20889            .          .             }(utilities)); 
  20890            .          .            
  20891          1ms        1ms             (function (exports) { 
  20892            .          .            
  20893            .          .             Object.defineProperty(exports, "__esModule", { 
  20894            .          .               value: true 
  20895            .          .             }); 
  20896            .          .             Object.defineProperty(exports, "version", { 

pathToRegExp

/srv/function-orchestrator/node_modules/msw/lib/umd/index.js

  Total:         1ms        1ms (flat, cum) 0.013%
  22249            .          .            
  22250            .          .             /** 
  22251            .          .              * Converts a string path to a Regular Expression. 
  22252            .          .              * Transforms path parameters into named RegExp groups. 
  22253            .          .              */ 
  22254          1ms        1ms             const pathToRegExp = (path) => { 
  22255            .          .                 const pattern = path 
  22256            .          .                     // Escape literal dots 
  22257            .          .                     .replace(/\./g, '\\.') 
  22258            .          .                     // Escape literal slashes 
  22259            .          .                     .replace(/\//g, '/') 

match

/srv/function-orchestrator/node_modules/msw/lib/umd/index.js

  Total:         2ms        3ms (flat, cum) 0.039%
  22271            .          .             }; 
  22272            .          .            
  22273            .          .             /** 
  22274            .          .              * Matches a given url against a path. 
  22275            .          .              */ 
  22276          2ms        3ms             const match = (path, url) => { 
  22277            .          .                 const expression = path instanceof RegExp ? path : pathToRegExp(path); 
  22278            .          .                 const match = expression.exec(url) || false; 
  22279            .          .                 // Matches in strict mode: match string should equal to input (url) 
  22280            .          .                 // Otherwise loose matches will be considered truthy: 
  22281            .          .                 // match('/messages/:id', '/messages/123/users') // true 

getUrlByMask

/srv/function-orchestrator/node_modules/msw/lib/umd/index.js

  Total:           0        1ms (flat, cum) 0.013%
  22316            .          .             }; 
  22317            .          .            
  22318            .          .             /** 
  22319            .          .              * Converts a given request handler mask into a URL, if given a valid URL string. 
  22320            .          .              */ 
  22321            .        1ms             function getUrlByMask(mask) { 
  22322            .          .                 /** 
  22323            .          .                  * If a string mask contains an asterisk (wildcard), return it as-is. 
  22324            .          .                  * Converting a URL-like path string into an actual URL is misleading. 
  22325            .          .                  * @see https://github.com/mswjs/msw/issues/357 
  22326            .          .                  */ 

matchRequestUrl

/srv/function-orchestrator/node_modules/msw/lib/umd/index.js

  Total:           0        4ms (flat, cum) 0.052%
  22349            .          .            
  22350            .          .             /** 
  22351            .          .              * Returns the result of matching given request URL 
  22352            .          .              * against a mask. 
  22353            .          .              */ 
  22354            .        4ms             function matchRequestUrl(url, mask) { 
  22355            .          .                 const resolvedMask = getUrlByMask(mask); 
  22356            .          .                 const cleanMask = getCleanMask(resolvedMask); 
  22357            .          .                 const cleanRequestUrl = getCleanUrl_2(url); 
  22358            .          .                 return match_1(cleanMask, cleanRequestUrl); 
  22359            .          .             } 

test

/srv/function-orchestrator/node_modules/msw/lib/umd/index.js

  Total:           0        4ms (flat, cum) 0.052%
  22459            .          .                     return null; 
  22460            .          .                 } 
  22461            .          .                 /** 
  22462            .          .                  * Test if this handler matches the given request. 
  22463            .          .                  */ 
  22464            .        4ms                 test(request) { 
  22465            .          .                     return this.predicate(request, this.parse(request)); 
  22466            .          .                 } 
  22467            .          .                 /** 
  22468            .          .                  * Derive the publicly exposed request (`req`) instance of the response resolver 
  22469            .          .                  * from the captured request and its parsed result. 

run

/srv/function-orchestrator/node_modules/msw/lib/umd/index.js

  Total:           0        1ms (flat, cum) 0.013%
  22476            .          .                 } 
  22477            .          .                 /** 
  22478            .          .                  * Execute this request handler and produce a mocked response 
  22479            .          .                  * using the given resolver function. 
  22480            .          .                  */ 
  22481            .        1ms                 run(request) { 

(anonymous)

/srv/function-orchestrator/node_modules/msw/lib/umd/index.js

  Total:         1ms        3ms (flat, cum) 0.039%
  22482            .        1ms                     return __awaiter$3(this, void 0, void 0, function* () { 
  22483            .          .                         if (this.shouldSkip) { 
  22484            .          .                             return null; 
  22485            .          .                         } 
  22486            .          .                         const parsedResult = this.parse(request); 
  22487            .          .                         const shouldIntercept = this.predicate(request, parsedResult); 
  22488            .          .                         if (!shouldIntercept) { 
  22489            .          .                             return null; 
  22490            .          .                         } 
  22491            .          .                         const publicRequest = this.getPublicRequest(request, parsedResult); 
  22492            .          .                         // Create a response extraction wrapper around the resolver 
  22493            .          .                         // since it can be both an async function and a generator. 
  22494            .          .                         const executeResolver = this.wrapResolver(this.resolver); 
  22495            .          .                         const mockedResponse = yield executeResolver(publicRequest, response, this.ctx); 
  22496            .          .                         return this.createExecutionResult(parsedResult, publicRequest, mockedResponse); 
  22497            .          .                     }); 
  22498            .          .                 } 
  22499            .          .                 wrapResolver(resolver) { 
  22500          1ms        2ms                     return (req, res, ctx) => __awaiter$3(this, void 0, void 0, function* () { 
  22501            .          .                         const result = this.resolverGenerator || (yield resolver(req, res, ctx)); 
  22502            .          .                         if (isIterable(result)) { 
  22503            .          .                             const { value, done } = result[Symbol.iterator]().next(); 
  22504            .          .                             const nextResponse = yield value; 
  22505            .          .                             // If the generator is done and there is no next value, 

RestHandler

/srv/function-orchestrator/node_modules/msw/lib/umd/index.js

  Total:         2ms        2ms (flat, cum) 0.026%
  22550            .          .             /** 
  22551            .          .              * Request handler for REST API requests. 
  22552            .          .              * Provides request matching based on method and URL. 
  22553            .          .              */ 
  22554            .          .             class RestHandler extends RequestHandler { 
  22555          2ms        2ms                 constructor(method, mask, resolver) { 
  22556            .          .                     super({ 
  22557            .          .                         info: { 
  22558            .          .                             header: `${method} ${mask}`, 
  22559            .          .                             mask, 
  22560            .          .                             method, 

parse

/srv/function-orchestrator/node_modules/msw/lib/umd/index.js

  Total:           0        4ms (flat, cum) 0.052%
  22583            .          .                           .join('\n')} 
  22584            .          .           })\ 
  22585            .          .                 `); 
  22586            .          .                     } 
  22587            .          .                 } 
  22588            .        4ms                 parse(request) { 
  22589            .          .                     return matchRequestUrl(request.url, this.info.mask); 
  22590            .          .                 } 
  22591            .          .                 getPublicRequest(request, parsedResult) { 
  22592            .          .                     return Object.assign(Object.assign({}, request), { params: parsedResult.params || {} }); 
  22593            .          .                 } 

(anonymous)

/srv/function-orchestrator/node_modules/msw/lib/umd/index.js

  Total:           0        1ms (flat, cum) 0.013%
  23437            .          .                     }, 
  23438            .          .                 }; 
  23439            .          .             } 
  23440            .          .             remote.createRemoteResolver = createRemoteResolver; 
  23441            .          .            
  23442            .        1ms             (function (exports) { 
  23443            .          .             var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) { 
  23444            .          .                 if (k2 === undefined) k2 = k; 
  23445            .          .                 Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); 
  23446            .          .             }) : (function(o, m, k, k2) { 
  23447            .          .                 if (k2 === undefined) k2 = k; 

createDebug

/srv/function-orchestrator/node_modules/msw/lib/umd/index.js

  Total:         1ms        1ms (flat, cum) 0.013%
  23696            .          .             	* 
  23697            .          .             	* @param {String} namespace 
  23698            .          .             	* @return {Function} 
  23699            .          .             	* @api public 
  23700            .          .             	*/ 
  23701          1ms        1ms             	function createDebug(namespace) { 
  23702            .          .             		let prevTime; 
  23703            .          .             		let enableOverride = null; 
  23704            .          .            
  23705            .          .             		function debug(...args) { 
  23706            .          .             			// Disabled? 

copy

/srv/function-orchestrator/node_modules/msw/lib/umd/index.js

  Total:         1ms        1ms (flat, cum) 0.013%
  25208            .          .             sax$1.XMLReader = XMLReader$1; 
  25209            .          .             sax$1.ParseError = ParseError$1; 
  25210            .          .            
  25211            .          .             var dom = {}; 
  25212            .          .            
  25213          1ms        1ms             function copy(src,dest){ 
  25214            .          .             	for(var p in src){ 
  25215            .          .             		dest[p] = src[p]; 
  25216            .          .             	} 
  25217            .          .             } 

_extends

/srv/function-orchestrator/node_modules/msw/lib/umd/index.js

  Total:           0        1ms (flat, cum) 0.013%
  25218            .          .             /** 
  25219            .          .             ^\w+\.prototype\.([_\w]+)\s*=\s*((?:.*\{\s*?[\r\n][\s\S]*?^})|\S.*?(?=[;\r\n]));? 
  25220            .          .             ^\w+\.prototype\.([_\w]+)\s*=\s*(\S.*?(?=[;\r\n]));? 
  25221            .          .              */ 
  25222            .        1ms             function _extends(Class,Super){ 
  25223            .          .             	var pt = Class.prototype; 
  25224            .          .             	if(!(pt instanceof Super)){ 
  25225            .          .             		function t(){}		t.prototype = Super.prototype; 
  25226            .          .             		t = new t(); 
  25227            .          .             		copy(pt,t); 

(anonymous)

/srv/function-orchestrator/node_modules/msw/lib/umd/index.js

  Total:           0        2ms (flat, cum) 0.026%
  27587            .          .                     }, 
  27588            .          .                 }; 
  27589            .          .             } 
  27590            .          .            
  27591            .          .             function createRestHandler(method) { 
  27592            .        2ms                 return (mask, resolver) => { 
  27593            .          .                     return new RestHandler(method, mask, resolver); 
  27594            .          .                 }; 
  27595            .          .             } 
  27596            .          .             const rest = { 
  27597            .          .                 head: createRestHandler(exports.RESTMethods.HEAD), 

createPool

node:buffer

  Total:         1ms        2ms (flat, cum) 0.026%
    155          1ms        2ms           ??? 

from

node:buffer

  Total:           0        2ms (flat, cum) 0.026%
    301            .        2ms           ??? 

allocUnsafe

node:buffer

  Total:           0        6ms (flat, cum) 0.078%
    378            .        6ms           ??? 

allocate

node:buffer

  Total:         2ms        6ms (flat, cum) 0.078%
    403          2ms        6ms           ??? 

fromStringFast

node:buffer

  Total:         1ms        2ms (flat, cum) 0.026%
    418          1ms        2ms           ??? 

fromString

node:buffer

  Total:           0        2ms (flat, cum) 0.026%
    437            .        2ms           ??? 

write

node:buffer

  Total:         1ms        1ms (flat, cum) 0.013%
    598          1ms        1ms           ??? 

slice

node:buffer

  Total:        14ms       15ms (flat, cum)   0.2%
    599         14ms       15ms           ??? 

toString

node:buffer

  Total:           0       15ms (flat, cum)   0.2%
    789            .       15ms           ??? 

(anonymous)

/srv/function-orchestrator/node_modules/yargs/build/index.cjs

  Total:           0       11ms (flat, cum)  0.14%
      1            .       11ms           'use strict'; 
      2            .          .            
      3            .          .           var assert = require('assert'); 
      4            .          .            
      5            .          .           class YError extends Error { 
      6            .          .               constructor(msg) { 

parseCommand

/srv/function-orchestrator/node_modules/yargs/build/index.cjs

  Total:           0        1ms (flat, cum) 0.013%
     67            .          .                   } 
     68            .          .               } 
     69            .          .               return target; 
     70            .          .           } 
     71            .          .            
     72            .        1ms           function parseCommand(cmd) { 
     73            .          .               const extraSpacesStrippedCommand = cmd.replace(/\s{2,}/g, ' '); 
     74            .          .               const splitCommand = extraSpacesStrippedCommand.split(/\s+(?![^[]*]|[^<]*>)/); 
     75            .          .               const bregex = /\.*[\][<>]/g; 
     76            .          .               const firstCommand = splitCommand.shift(); 
     77            .          .               if (!firstCommand) 

argsert

/srv/function-orchestrator/node_modules/yargs/build/index.cjs

  Total:         1ms        2ms (flat, cum) 0.026%
    101            .          .               }); 
    102            .          .               return parsedCommand; 
    103            .          .           } 
    104            .          .            
    105            .          .           const positionName = ['first', 'second', 'third', 'fourth', 'fifth', 'sixth']; 
    106          1ms        2ms           function argsert(arg1, arg2, arg3) { 

parseArgs

/srv/function-orchestrator/node_modules/yargs/build/index.cjs

  Total:           0        1ms (flat, cum) 0.013%
    107            .        1ms               function parseArgs() { 
    108            .          .                   return typeof arg1 === 'object' 
    109            .          .                       ? [{ demanded: [], optional: [] }, arg1, arg2] 
    110            .          .                       : [ 
    111            .          .                           parseCommand(`cmd ${arg1}`), 
    112            .          .                           arg2, 

applyMiddleware

/srv/function-orchestrator/node_modules/yargs/build/index.cjs

  Total:         1ms        2ms (flat, cum) 0.026%
    214            .          .               return commandMiddleware.map(middleware => { 
    215            .          .                   middleware.applyBeforeValidation = false; 
    216            .          .                   return middleware; 
    217            .          .               }); 
    218            .          .           } 
    219          1ms        2ms           function applyMiddleware(argv, yargs, middlewares, beforeValidation) { 

(anonymous)

/srv/function-orchestrator/node_modules/yargs/build/index.cjs

  Total:         1ms        1ms (flat, cum) 0.013%
    221          1ms        1ms               return middlewares.reduce((acc, middleware) => { 
    222            .          .                   if (middleware.applyBeforeValidation !== beforeValidation) { 
    223            .          .                       return acc; 
    224            .          .                   } 
    225            .          .                   if (isPromise(acc)) { 
    226            .          .                       return acc 

runCommand

/srv/function-orchestrator/node_modules/yargs/build/index.cjs

  Total:           0       35ms (flat, cum)  0.46%
    384            .          .                   return false; 
    385            .          .               } 
    386            .          .               self.getCommands = () => Object.keys(handlers).concat(Object.keys(aliasMap)); 
    387            .          .               self.getCommandHandlers = () => handlers; 
    388            .          .               self.hasDefaultCommand = () => !!defaultCommand; 
    389            .       35ms               self.runCommand = function runCommand(command, yargs, parsed, commandIndex) { 
    390            .          .                   let aliases = parsed.aliases; 
    391            .          .                   const commandHandler = handlers[command] || handlers[aliasMap[command]] || defaultCommand; 
    392            .          .                   const currentContext = yargs.getContext(); 
    393            .          .                   let numFiles = currentContext.files.length; 
    394            .          .                   const parentCommands = currentContext.commands.slice(); 

(anonymous)

/srv/function-orchestrator/node_modules/yargs/build/index.cjs

  Total:           0       11ms (flat, cum)  0.14%
    438            .          .                       const populateDoubleDash = !!yargs.getOptions().configuration['populate--']; 
    439            .          .                       yargs._postProcess(innerArgv, populateDoubleDash); 
    440            .          .                       innerArgv = applyMiddleware(innerArgv, yargs, middlewares, false); 
    441            .          .                       let handlerResult; 
    442            .          .                       if (isPromise(innerArgv)) { 
    443            .       11ms                           handlerResult = innerArgv.then(argv => commandHandler.handler(argv)); 
    444            .          .                       } 
    445            .          .                       else { 
    446            .          .                           handlerResult = commandHandler.handler(innerArgv); 
    447            .          .                       } 
    448            .          .                       const handlerFinishCommand = yargs.getHandlerFinishCommand(); 

self.getPositionalGroupName

/srv/function-orchestrator/node_modules/yargs/build/index.cjs

  Total:           0        1ms (flat, cum) 0.013%
    737            .          .                   return usages; 
    738            .          .               }; 
    739            .          .               self.getUsageDisabled = () => { 
    740            .          .                   return usageDisabled; 
    741            .          .               }; 
    742            .        1ms               self.getPositionalGroupName = () => { 
    743            .          .                   return __('Positionals:'); 
    744            .          .               }; 
    745            .          .               let examples = []; 
    746            .          .               self.example = (cmd, description) => { 
    747            .          .                   examples.push([cmd, description || '']); 

help

/srv/function-orchestrator/node_modules/yargs/build/index.cjs

  Total:           0       20ms (flat, cum)  0.26%
    791            .          .                   } 
    792            .          .                   return wrap; 
    793            .          .               } 
    794            .          .               const deferY18nLookupPrefix = '__yargsString__:'; 
    795            .          .               self.deferY18nLookup = str => deferY18nLookupPrefix + str; 
    796            .       20ms               self.help = function help() { 
    797            .          .                   if (cachedHelpMessage) 
    798            .          .                       return cachedHelpMessage; 
    799            .          .                   normalizeAliases(); 
    800            .          .                   const base$0 = yargs.customScriptName 
    801            .          .                       ? yargs.$0 

(anonymous)

/srv/function-orchestrator/node_modules/yargs/build/index.cjs

  Total:           0        1ms (flat, cum) 0.013%
    821            .          .                       width: theWrap, 
    822            .          .                       wrap: !!theWrap, 
    823            .          .                   }); 
    824            .          .                   if (!usageDisabled) { 
    825            .          .                       if (usages.length) { 
    826            .        1ms                           usages.forEach(usage => { 
    827            .          .                               ui.div(`${usage[0].replace(/\$0/g, base$0)}`); 
    828            .          .                               if (usage[1]) { 
    829            .          .                                   ui.div({ text: `${usage[1]}`, padding: [1, 0, 0, 0] }); 
    830            .          .                               } 
    831            .          .                           }); 

(anonymous)

/srv/function-orchestrator/node_modules/yargs/build/index.cjs

  Total:         1ms        2ms (flat, cum) 0.026%
    884            .          .                           } 
    885            .          .                       }); 
    886            .          .                       ui.div(); 
    887            .          .                   } 
    888            .          .                   const aliasKeys = (Object.keys(options.alias) || []).concat(Object.keys(yargs.parsed.newAliases) || []); 
    889            .        1ms                   keys = keys.filter(key => !yargs.parsed.newAliases[key] && 
    890          1ms        1ms                       aliasKeys.every(alias => (options.alias[alias] || []).indexOf(key) === -1)); 
    891            .          .                   const defaultGroup = __('Options:'); 
    892            .          .                   if (!groups[defaultGroup]) 

isLongSwitch

/srv/function-orchestrator/node_modules/yargs/build/index.cjs

  Total:         1ms        1ms (flat, cum) 0.013%
    893            .          .                       groups[defaultGroup] = []; 
    894            .          .                   addUngroupedKeys(keys, options.alias, groups, defaultGroup); 
    895          1ms        1ms                   const isLongSwitch = (sw) => /^--/.test(getText(sw)); 
    896            .          .                   const displayedGroups = Object.keys(groups) 
    897            .          .                       .filter(groupName => groups[groupName].length > 0) 
    898            .          .                       .map(groupName => { 
    899            .          .                       const normalizedKeys = groups[groupName] 
    900            .          .                           .filter(filterHiddenOptions) 

(anonymous)

/srv/function-orchestrator/node_modules/yargs/build/index.cjs

  Total:         1ms       18ms (flat, cum)  0.23%
    908            .          .                           return key; 
    909            .          .                       }); 
    910            .          .                       return { groupName, normalizedKeys }; 
    911            .          .                   }) 
    912            .          .                       .filter(({ normalizedKeys }) => normalizedKeys.length > 0) 
    913            .        1ms                       .map(({ groupName, normalizedKeys }) => { 
    914            .        1ms                       const switches = normalizedKeys.reduce((acc, key) => { 
    915            .          .                           acc[key] = [key] 
    916            .          .                               .concat(options.alias[key] || []) 
    917            .          .                               .map(sw => { 
    918            .          .                               if (groupName === self.getPositionalGroupName()) 
    919            .          .                                   return sw; 
    920            .          .                               else { 
    921            .          .                                   return ((/^[0-9]$/.test(sw) 
    922            .          .                                       ? ~options.boolean.indexOf(key) 
    923            .          .                                           ? '-' 
    924            .          .                                           : '--' 
    925            .          .                                       : sw.length > 1 
    926            .          .                                           ? '--' 
    927            .          .                                           : '-') + sw); 
    928            .          .                               } 
    929            .          .                           }) 
    930            .        1ms                               .sort((sw1, sw2) => isLongSwitch(sw1) === isLongSwitch(sw2) 
    931            .          .                               ? 0 
    932            .          .                               : isLongSwitch(sw1) 
    933            .          .                                   ? 1 
    934            .          .                                   : -1) 
    935            .          .                               .join(', '); 
    936            .          .                           return acc; 
    937            .          .                       }, {}); 
    938            .          .                       return { groupName, normalizedKeys, switches }; 
    939            .          .                   }); 
    940            .          .                   const shortSwitchesUsed = displayedGroups 
    941            .          .                       .filter(({ groupName }) => groupName !== self.getPositionalGroupName()) 
    942            .          .                       .some(({ normalizedKeys, switches }) => !normalizedKeys.every(key => isLongSwitch(switches[key]))); 
    943            .          .                   if (shortSwitchesUsed) { 
    944            .          .                       displayedGroups 
    945            .          .                           .filter(({ groupName }) => groupName !== self.getPositionalGroupName()) 
    946            .        1ms                           .forEach(({ normalizedKeys, switches }) => { 
    947          1ms        1ms                           normalizedKeys.forEach(key => { 
    948            .          .                               if (isLongSwitch(switches[key])) { 
    949            .          .                                   switches[key] = addIndentation(switches[key], '-x, '.length); 
    950            .          .                               } 
    951            .          .                           }); 
    952            .          .                       }); 
    953            .          .                   } 
    954            .        7ms                   displayedGroups.forEach(({ groupName, normalizedKeys, switches }) => { 
    955            .          .                       ui.div(groupName); 
    956            .        6ms                       normalizedKeys.forEach(key => { 
    957            .          .                           const kswitch = switches[key]; 
    958            .          .                           let desc = descriptions[key] || ''; 
    959            .          .                           let type = null; 
    960            .          .                           if (~desc.lastIndexOf(deferY18nLookupPrefix)) 
    961            .          .                               desc = __(desc.substring(deferY18nLookupPrefix.length)); 

maxWidth

/srv/function-orchestrator/node_modules/yargs/build/index.cjs

  Total:         1ms        3ms (flat, cum) 0.039%
   1029            .          .                           .join('\n'); 
   1030            .          .                       ui.div(`${e}\n`); 
   1031            .          .                   } 
   1032            .          .                   return ui.toString().replace(/\s*$/, ''); 
   1033            .          .               }; 
   1034          1ms        3ms               function maxWidth(table, theWrap, modifier) { 
   1035            .          .                   let width = 0; 
   1036            .          .                   if (!Array.isArray(table)) { 

(anonymous)

/srv/function-orchestrator/node_modules/yargs/build/index.cjs

  Total:           0        2ms (flat, cum) 0.026%
   1037            .          .                       table = Object.values(table).map(v => [v]); 
   1038            .          .                   } 
   1039            .        2ms                   table.forEach(v => { 
   1040            .          .                       width = Math.max(shim.stringWidth(modifier ? `${modifier} ${getText(v[0])}` : getText(v[0])) + getIndentation(v[0]), width); 
   1041            .          .                   }); 
   1042            .          .                   if (theWrap) 
   1043            .          .                       width = Math.min(width, parseInt((theWrap * 0.5).toString(), 10)); 
   1044            .          .                   return width; 

self.cacheHelpMessage

/srv/function-orchestrator/node_modules/yargs/build/index.cjs

  Total:         1ms       21ms (flat, cum)  0.27%
   1066            .          .                               yargs.number(key); 
   1067            .          .                       }); 
   1068            .          .                   }); 
   1069            .          .               } 
   1070            .          .               let cachedHelpMessage; 
   1071          1ms       21ms               self.cacheHelpMessage = function () { 
   1072            .          .                   cachedHelpMessage = this.help(); 
   1073            .          .               }; 
   1074            .          .               self.clearCachedHelpMessage = function () { 
   1075            .          .                   cachedHelpMessage = undefined; 
   1076            .          .               }; 

conflicts

/srv/function-orchestrator/node_modules/yargs/build/index.cjs

  Total:         1ms        3ms (flat, cum) 0.039%
   1644            .          .                       }); 
   1645            .          .                       usage.fail(msg); 
   1646            .          .                   } 
   1647            .          .               }; 
   1648            .          .               let conflicting = {}; 
   1649          1ms        3ms               self.conflicts = function conflicts(key, value) { 
   1650            .          .                   argsert('<string|object> [array|string]', [key, value], arguments.length); 
   1651            .          .                   if (typeof key === 'object') { 
   1652            .          .                       Object.keys(key).forEach(k => { 
   1653            .          .                           self.conflicts(k, key[k]); 
   1654            .          .                       }); 

(anonymous)

/srv/function-orchestrator/node_modules/yargs/build/index.cjs

  Total:           0        1ms (flat, cum) 0.013%
   1657            .          .                       yargs.global(key); 
   1658            .          .                       if (!conflicting[key]) { 
   1659            .          .                           conflicting[key] = []; 
   1660            .          .                       } 
   1661            .          .                       if (Array.isArray(value)) { 
   1662            .        1ms                           value.forEach(i => self.conflicts(key, i)); 
   1663            .          .                       } 
   1664            .          .                       else { 
   1665            .          .                           conflicting[key].push(value); 
   1666            .          .                       } 
   1667            .          .                   } 

Yargs

/srv/function-orchestrator/node_modules/yargs/build/index.cjs

  Total:           0        4ms (flat, cum) 0.052%
   1718            .          .           let shim$1; 
   1719            .          .           function YargsWithShim(_shim) { 
   1720            .          .               shim$1 = _shim; 
   1721            .          .               return Yargs; 
   1722            .          .           } 
   1723            .        4ms           function Yargs(processArgs = [], cwd = shim$1.process.cwd(), parentRequire) { 
   1724            .          .               const self = {}; 
   1725            .          .               let command$1; 
   1726            .          .               let completion$1 = null; 
   1727            .          .               let groups = {}; 
   1728            .          .               const globalMiddleware = []; 

resetOptions

/srv/function-orchestrator/node_modules/yargs/build/index.cjs

  Total:         1ms        2ms (flat, cum) 0.026%
   1782            .          .                   if (fn) 
   1783            .          .                       completion$1.registerFunction(fn); 
   1784            .          .                   return self; 
   1785            .          .               }; 
   1786            .          .               let options; 
   1787          1ms        2ms               self.resetOptions = self.reset = function resetOptions(aliases = {}) { 
   1788            .          .                   context.resets++; 
   1789            .          .                   options = options || {}; 
   1790            .          .                   const tmpOptions = {}; 
   1791            .          .                   tmpOptions.local = options.local ? options.local : []; 
   1792            .          .                   tmpOptions.configObjects = options.configObjects 

(anonymous)

/srv/function-orchestrator/node_modules/yargs/build/index.cjs

  Total:         1ms        1ms (flat, cum) 0.013%
   1831            .          .                       'deprecatedOptions', 
   1832            .          .                   ]; 
   1833            .          .                   arrayOptions.forEach(k => { 
   1834            .          .                       tmpOptions[k] = (options[k] || []).filter((k) => !localLookup[k]); 
   1835            .          .                   }); 
   1836          1ms        1ms                   objectOptions.forEach((k) => { 
   1837            .          .                       tmpOptions[k] = objFilter(options[k], k => !localLookup[k]); 
   1838            .          .                   }); 
   1839            .          .                   tmpOptions.envPrefix = options.envPrefix; 
   1840            .          .                   options = tmpOptions; 
   1841            .          .                   usage$1 = usage$1 ? usage$1.reset(localLookup) : usage(self, y18n, shim$1); 

freeze

/srv/function-orchestrator/node_modules/yargs/build/index.cjs

  Total:         1ms        1ms (flat, cum) 0.013%
   1854            .          .                   self.parsed = false; 
   1855            .          .                   return self; 
   1856            .          .               }; 
   1857            .          .               self.resetOptions(); 
   1858            .          .               const frozens = []; 
   1859          1ms        1ms               function freeze() { 
   1860            .          .                   frozens.push({ 
   1861            .          .                       options, 
   1862            .          .                       configObjects: options.configObjects.slice(0), 
   1863            .          .                       exitProcess, 
   1864            .          .                       groups, 

Yargs.self.boolean

/srv/function-orchestrator/node_modules/yargs/build/index.cjs

  Total:           0        1ms (flat, cum) 0.013%
   1902            .          .                   options.configObjects = configObjects; 
   1903            .          .                   usage$1.unfreeze(); 
   1904            .          .                   validation$1.unfreeze(); 
   1905            .          .                   command$1.unfreeze(); 
   1906            .          .               } 
   1907            .        1ms               self.boolean = function (keys) { 
   1908            .          .                   argsert('<array|string>', [keys], arguments.length); 
   1909            .          .                   populateParserHintArray('boolean', keys); 
   1910            .          .                   return self; 
   1911            .          .               }; 
   1912            .          .               self.array = function (keys) { 

Yargs.self.requiresArg

/srv/function-orchestrator/node_modules/yargs/build/index.cjs

  Total:         1ms        1ms (flat, cum) 0.013%
   1932            .          .               self.string = function (keys) { 
   1933            .          .                   argsert('<array|string>', [keys], arguments.length); 
   1934            .          .                   populateParserHintArray('string', keys); 
   1935            .          .                   return self; 
   1936            .          .               }; 
   1937          1ms        1ms               self.requiresArg = function (keys) { 
   1938            .          .                   argsert('<array|string|object> [number]', [keys], arguments.length); 
   1939            .          .                   if (typeof keys === 'string' && options.narg[keys]) { 
   1940            .          .                       return self; 
   1941            .          .                   } 
   1942            .          .                   else { 

Yargs.self.alias

/srv/function-orchestrator/node_modules/yargs/build/index.cjs

  Total:         1ms        2ms (flat, cum) 0.026%
   1964            .          .               self.choices = function (key, value) { 
   1965            .          .                   argsert('<object|string|array> [string|array]', [key, value], arguments.length); 
   1966            .          .                   populateParserHintArrayDictionary(self.choices, 'choices', key, value); 
   1967            .          .                   return self; 
   1968            .          .               }; 
   1969          1ms        2ms               self.alias = function (key, value) { 
   1970            .          .                   argsert('<object|string|array> [string|array]', [key, value], arguments.length); 
   1971            .          .                   populateParserHintArrayDictionary(self.alias, 'alias', key, value); 
   1972            .          .                   return self; 
   1973            .          .               }; 
   1974            .          .               self.default = self.defaults = function (key, value, defaultDescription) { 

populateParserHintArrayDictionary

/srv/function-orchestrator/node_modules/yargs/build/index.cjs

  Total:           0        1ms (flat, cum) 0.013%
   2010            .          .               function populateParserHintSingleValueDictionary(builder, type, key, value) { 
   2011            .          .                   populateParserHintDictionary(builder, type, key, value, (type, key, value) => { 
   2012            .          .                       options[type][key] = value; 
   2013            .          .                   }); 
   2014            .          .               } 
   2015            .        1ms               function populateParserHintArrayDictionary(builder, type, key, value) { 
   2016            .          .                   populateParserHintDictionary(builder, type, key, value, (type, key, value) => { 
   2017            .          .                       options[type][key] = (options[type][key] || []).concat(value); 

populateParserHintDictionary

/srv/function-orchestrator/node_modules/yargs/build/index.cjs

  Total:           0        1ms (flat, cum) 0.013%
   2018            .          .                   }); 
   2019            .          .               } 
   2020            .        1ms               function populateParserHintDictionary(builder, type, key, value, singleKeyHandler) { 
   2021            .          .                   if (Array.isArray(key)) { 
   2022            .          .                       key.forEach(k => { 
   2023            .          .                           builder(k, value); 
   2024            .          .                       }); 
   2025            .          .                   } 

Yargs.self.command

/srv/function-orchestrator/node_modules/yargs/build/index.cjs

  Total:         1ms        1ms (flat, cum) 0.013%
   2077            .          .                   else { 
   2078            .          .                       usage$1.example(cmd, description); 
   2079            .          .                   } 
   2080            .          .                   return self; 
   2081            .          .               }; 
   2082          1ms        1ms               self.command = function (cmd, description, builder, handler, middlewares, deprecated) { 
   2083            .          .                   argsert('<string|array|object> [string|boolean] [function|object] [function] [array] [boolean|string]', [cmd, description, builder, handler, middlewares, deprecated], arguments.length); 
   2084            .          .                   command$1.addHandler(cmd, description, builder, handler, middlewares, deprecated); 
   2085            .          .                   return self; 
   2086            .          .               }; 
   2087            .          .               self.commandDir = function (dir, opts) { 

Yargs.self.conflicts

/srv/function-orchestrator/node_modules/yargs/build/index.cjs

  Total:           0        2ms (flat, cum) 0.026%
   2157            .          .               self.implies = function (key, value) { 
   2158            .          .                   argsert('<string|object> [number|string|array]', [key, value], arguments.length); 
   2159            .          .                   validation$1.implies(key, value); 
   2160            .          .                   return self; 
   2161            .          .               }; 
   2162            .        2ms               self.conflicts = function (key1, key2) { 
   2163            .          .                   argsert('<string|object> [string|array]', [key1, key2], arguments.length); 
   2164            .          .                   validation$1.conflicts(key1, key2); 
   2165            .          .                   return self; 
   2166            .          .               }; 
   2167            .          .               self.usage = function (msg, description, builder, handler) { 

global

/srv/function-orchestrator/node_modules/yargs/build/index.cjs

  Total:           0        1ms (flat, cum) 0.013%
   2199            .          .               self.check = function (f, _global) { 
   2200            .          .                   argsert('<function> [boolean]', [f, _global], arguments.length); 
   2201            .          .                   validation$1.check(f, _global !== false); 
   2202            .          .                   return self; 
   2203            .          .               }; 
   2204            .        1ms               self.global = function global(globals, global) { 
   2205            .          .                   argsert('<string|array> [boolean]', [globals, global], arguments.length); 
   2206            .          .                   globals = [].concat(globals); 
   2207            .          .                   if (global !== false) { 
   2208            .          .                       options.local = options.local.filter(l => globals.indexOf(l) === -1); 
   2209            .          .                   } 

pkgUp

/srv/function-orchestrator/node_modules/yargs/build/index.cjs

  Total:           0        1ms (flat, cum) 0.013%
   2224            .          .                       options.configObjects = (options.configObjects || []).concat(conf); 
   2225            .          .                   } 
   2226            .          .                   return self; 
   2227            .          .               }; 
   2228            .          .               const pkgs = {}; 
   2229            .        1ms               function pkgUp(rootPath) { 
   2230            .          .                   const npath = rootPath || '*'; 
   2231            .          .                   if (pkgs[npath]) 
   2232            .          .                       return pkgs[npath]; 
   2233            .          .                   let obj = {}; 
   2234            .          .                   try { 

parse

/srv/function-orchestrator/node_modules/yargs/build/index.cjs

  Total:           0       40ms (flat, cum)  0.52%
   2251            .          .                   pkgs[npath] = obj || {}; 
   2252            .          .                   return pkgs[npath]; 
   2253            .          .               } 
   2254            .          .               let parseFn = null; 
   2255            .          .               let parseContext = null; 
   2256            .       40ms               self.parse = function parse(args, shortCircuit, _parseFn) { 
   2257            .          .                   argsert('[string|array] [function|boolean|object] [function]', [args, shortCircuit, _parseFn], arguments.length); 
   2258            .          .                   freeze(); 
   2259            .          .                   if (typeof args === 'undefined') { 
   2260            .          .                       const argv = self._parseArgs(processArgs); 
   2261            .          .                       const tmpParsed = self.parsed; 

option

/srv/function-orchestrator/node_modules/yargs/build/index.cjs

  Total:         1ms        9ms (flat, cum)  0.12%
   2282            .          .                   unfreeze(); 
   2283            .          .                   return parsed; 
   2284            .          .               }; 
   2285            .          .               self._getParseContext = () => parseContext || {}; 
   2286            .          .               self._hasParseCallback = () => !!parseFn; 
   2287          1ms        9ms               self.option = self.options = function option(key, opt) { 
   2288            .          .                   argsert('<string|object> [object]', [key, opt], arguments.length); 

(anonymous)

/srv/function-orchestrator/node_modules/yargs/build/index.cjs

  Total:         1ms        5ms (flat, cum) 0.065%
   2289            .          .                   if (typeof key === 'object') { 
   2290          1ms        5ms                       Object.keys(key).forEach(k => { 
   2291            .          .                           self.options(k, key[k]); 
   2292            .          .                       }); 
   2293            .          .                   } 
   2294            .          .                   else { 
   2295            .          .                       if (typeof opt !== 'object') { 

Yargs.self.positional

/srv/function-orchestrator/node_modules/yargs/build/index.cjs

  Total:           0        1ms (flat, cum) 0.013%
   2378            .          .                       } 
   2379            .          .                   } 
   2380            .          .                   return self; 
   2381            .          .               }; 
   2382            .          .               self.getOptions = () => options; 
   2383            .        1ms               self.positional = function (key, opts) { 
   2384            .          .                   argsert('<string> <object>', [key, opts], arguments.length); 
   2385            .          .                   if (context.resets === 0) { 
   2386            .          .                       throw new YError(".positional() can only be called in a command's builder function"); 
   2387            .          .                   } 
   2388            .          .                   const supportedOpts = [ 

version

/srv/function-orchestrator/node_modules/yargs/build/index.cjs

  Total:           0        1ms (flat, cum) 0.013%
   2494            .          .                   } 
   2495            .          .                   usage$1.showHelp(level); 
   2496            .          .                   return self; 
   2497            .          .               }; 
   2498            .          .               let versionOpt = null; 
   2499            .        1ms               self.version = function version(opt, msg, ver) { 
   2500            .          .                   const defaultVersionOpt = 'version'; 
   2501            .          .                   argsert('[boolean|string] [string] [string]', [opt, msg, ver], arguments.length); 
   2502            .          .                   if (versionOpt) { 
   2503            .          .                       deleteFromParserHintObject(versionOpt); 
   2504            .          .                       usage$1.version(undefined); 

guessVersion

/srv/function-orchestrator/node_modules/yargs/build/index.cjs

  Total:           0        1ms (flat, cum) 0.013%
   2524            .          .                   usage$1.version(ver || undefined); 
   2525            .          .                   self.boolean(versionOpt); 
   2526            .          .                   self.describe(versionOpt, msg); 
   2527            .          .                   return self; 
   2528            .          .               }; 
   2529            .        1ms               function guessVersion() { 
   2530            .          .                   const obj = pkgUp(); 
   2531            .          .                   return obj.version || 'unknown'; 

addHelpOpt

/srv/function-orchestrator/node_modules/yargs/build/index.cjs

  Total:         1ms        2ms (flat, cum) 0.026%
   2532            .          .               } 
   2533            .          .               let helpOpt = null; 
   2534          1ms        2ms               self.addHelpOpt = self.help = function addHelpOpt(opt, msg) { 
   2535            .          .                   const defaultHelpOpt = 'help'; 
   2536            .          .                   argsert('[string|boolean] [string]', [opt, msg], arguments.length); 
   2537            .          .                   if (helpOpt) { 
   2538            .          .                       deleteFromParserHintObject(helpOpt); 
   2539            .          .                       helpOpt = null; 

Yargs.self.updateStrings.self.updateLocale

/srv/function-orchestrator/node_modules/yargs/build/index.cjs

  Total:           0        1ms (flat, cum) 0.013%
   2596            .          .                   } 
   2597            .          .                   detectLocale = false; 
   2598            .          .                   y18n.setLocale(locale); 
   2599            .          .                   return self; 
   2600            .          .               }; 
   2601            .        1ms               self.updateStrings = self.updateLocale = function (obj) { 
   2602            .          .                   argsert('<object>', [obj], arguments.length); 
   2603            .          .                   detectLocale = false; 
   2604            .          .                   y18n.updateLocale(obj); 
   2605            .          .                   return self; 
   2606            .          .               }; 

parseArgs

/srv/function-orchestrator/node_modules/yargs/build/index.cjs

  Total:           0       43ms (flat, cum)  0.56%
   2649            .          .               }; 
   2650            .          .               Object.defineProperty(self, 'argv', { 
   2651            .          .                   get: () => self._parseArgs(processArgs), 
   2652            .          .                   enumerable: true, 
   2653            .          .               }); 
   2654            .       43ms               self._parseArgs = function parseArgs(args, shortCircuit, _calledFromCommand, commandIndex) { 
   2655            .          .                   let skipValidation = !!_calledFromCommand; 
   2656            .          .                   args = args || processArgs; 
   2657            .          .                   options.__ = y18n.__; 
   2658            .          .                   options.configuration = self.getParserConfiguration(); 
   2659            .          .                   const populateDoubleDash = !!options.configuration['populate--']; 

readJSON

/srv/function-orchestrator/test/utils/read-json.js

  Total:         9ms       41ms (flat, cum)  0.53%
      1            .          .           'use strict'; 
      2            .          .            
      3            .          .           const fs = require( 'fs' ); 
      4            .          .           const path = require( 'path' ); 
      5            .          .            
      6          9ms       41ms           function readJSON( fileName ) { 
      7            .          .           	return JSON.parse( fs.readFileSync( fileName, { encoding: 'utf8' } ) ); 

readZObjectsFromDirectory

/srv/function-orchestrator/test/utils/read-json.js

  Total:         5ms       42ms (flat, cum)  0.55%
      9            .          .            
     10          5ms       42ms           function readZObjectsFromDirectory( directory ) { 
     11            .          .           	const fileNameFilter = ( f ) => f.startsWith( 'Z' ); 
     12            .          .           	const paths = fs.readdirSync( directory ).filter( fileNameFilter ); 
     13            .          .            
     14            .          .           	const result = {}; 
     15            .          .           	for ( const p of paths ) { 

(anonymous)

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/errors.js

  Total:           0        5ms (flat, cum) 0.065%
      1            .        5ms           "use strict"; 
      2            .          .           Object.defineProperty(exports, "__esModule", { value: true }); 
      3            .          .           exports.extendErrors = exports.resetErrorsCount = exports.reportExtraError = exports.reportError = exports.keyword$DataError = exports.keywordError = void 0; 
      4            .          .           const codegen_1 = require("./codegen"); 
      5            .          .           const util_1 = require("./util"); 
      6            .          .           const names_1 = require("./names"); 

reportError

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/errors.js

  Total:         1ms       36ms (flat, cum)  0.47%
     10            .          .           exports.keyword$DataError = { 
     11            .          .               message: ({ keyword, schemaType }) => schemaType 
     12            .          .                   ? codegen_1.str `"${keyword}" keyword must be ${schemaType} ($data)` 
     13            .          .                   : codegen_1.str `"${keyword}" keyword is invalid ($data)`, 
     14            .          .           }; 
     15          1ms       36ms           function reportError(cxt, error = exports.keywordError, errorPaths, overrideAllErrors) { 
     16            .          .               const { it } = cxt; 
     17            .          .               const { gen, compositeRule, allErrors } = it; 
     18            .          .               const errObj = errorObjectCode(cxt, error, errorPaths); 
     19            .          .               if (overrideAllErrors !== null && overrideAllErrors !== void 0 ? overrideAllErrors : (compositeRule || allErrors)) { 
     20            .          .                   addError(gen, errObj); 

reportExtraError

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/errors.js

  Total:           0        4ms (flat, cum) 0.052%
     22            .          .               else { 
     23            .          .                   returnErrors(it, codegen_1._ `[${errObj}]`); 
     24            .          .               } 
     25            .          .           } 
     26            .          .           exports.reportError = reportError; 
     27            .        4ms           function reportExtraError(cxt, error = exports.keywordError, errorPaths) { 
     28            .          .               const { it } = cxt; 
     29            .          .               const { gen, compositeRule, allErrors } = it; 
     30            .          .               const errObj = errorObjectCode(cxt, error, errorPaths); 
     31            .          .               addError(gen, errObj); 

resetErrorsCount

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/errors.js

  Total:           0        2ms (flat, cum) 0.026%
     33            .          .                   returnErrors(it, names_1.default.vErrors); 
     34            .          .               } 
     35            .          .           } 
     36            .          .           exports.reportExtraError = reportExtraError; 
     37            .        2ms           function resetErrorsCount(gen, errsCount) { 

(anonymous)

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/errors.js

  Total:         1ms        3ms (flat, cum) 0.039%
     39          1ms        3ms               gen.if(codegen_1._ `${names_1.default.vErrors} !== null`, () => gen.if(errsCount, () => gen.assign(codegen_1._ `${names_1.default.vErrors}.length`, errsCount), () => gen.assign(names_1.default.vErrors, null))); 
     40            .          .           } 
     41            .          .           exports.resetErrorsCount = resetErrorsCount; 
     42            .          .           function extendErrors({ gen, keyword, schemaValue, data, errsCount, it, }) { 
     43            .          .               /* istanbul ignore if */ 
     44            .          .               if (errsCount === undefined) 

addError

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/errors.js

  Total:           0        2ms (flat, cum) 0.026%
     53            .          .                       gen.assign(codegen_1._ `${err}.data`, data); 
     54            .          .                   } 
     55            .          .               }); 
     56            .          .           } 
     57            .          .           exports.extendErrors = extendErrors; 
     58            .        2ms           function addError(gen, errObj) { 
     59            .          .               const err = gen.const("err", errObj); 
     60            .          .               gen.if(codegen_1._ `${names_1.default.vErrors} === null`, () => gen.assign(names_1.default.vErrors, codegen_1._ `[${err}]`), codegen_1._ `${names_1.default.vErrors}.push(${err})`); 

returnErrors

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/errors.js

  Total:           0        4ms (flat, cum) 0.052%
     61            .          .               gen.code(codegen_1._ `${names_1.default.errors}++`); 
     62            .          .           } 
     63            .        4ms           function returnErrors(it, errs) { 
     64            .          .               const { gen, validateName, schemaEnv } = it; 
     65            .          .               if (schemaEnv.$async) { 
     66            .          .                   gen.throw(codegen_1._ `new ${it.ValidationError}(${errs})`); 
     67            .          .               } 
     68            .          .               else { 

errorObjectCode

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/errors.js

  Total:           0       32ms (flat, cum)  0.42%
     77            .          .               propertyName: new codegen_1.Name("propertyName"), 
     78            .          .               message: new codegen_1.Name("message"), 
     79            .          .               schema: new codegen_1.Name("schema"), 
     80            .          .               parentSchema: new codegen_1.Name("parentSchema"), 
     81            .          .           }; 
     82            .       32ms           function errorObjectCode(cxt, error, errorPaths) { 
     83            .          .               const { createErrors } = cxt.it; 
     84            .          .               if (createErrors === false) 

errorObject

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/errors.js

  Total:         5ms       32ms (flat, cum)  0.42%
     86            .          .               return errorObject(cxt, error, errorPaths); 
     87            .          .           } 
     88          5ms       32ms           function errorObject(cxt, error, errorPaths = {}) { 
     89            .          .               const { gen, it } = cxt; 
     90            .          .               const keyValues = [ 
     91            .          .                   errorInstancePath(it, errorPaths), 
     92            .          .                   errorSchemaPath(cxt, errorPaths), 

errorInstancePath

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/errors.js

  Total:         1ms        4ms (flat, cum) 0.052%
     93            .          .               ]; 
     94            .          .               extraErrorProps(cxt, error, keyValues); 
     95            .          .               return gen.object(...keyValues); 
     96            .          .           } 
     97          1ms        4ms           function errorInstancePath({ errorPath }, { instancePath }) { 
     98            .          .               const instPath = instancePath 
     99            .          .                   ? codegen_1.str `${errorPath}${util_1.getErrorPath(instancePath, util_1.Type.Str)}` 

errorSchemaPath

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/errors.js

  Total:         3ms       10ms (flat, cum)  0.13%
    101            .          .               return [names_1.default.instancePath, codegen_1.strConcat(names_1.default.instancePath, instPath)]; 
    102            .          .           } 
    103          3ms       10ms           function errorSchemaPath({ keyword, it: { errSchemaPath } }, { schemaPath, parentSchema }) { 
    104            .          .               let schPath = parentSchema ? errSchemaPath : codegen_1.str `${errSchemaPath}/${keyword}`; 
    105            .          .               if (schemaPath) { 
    106            .          .                   schPath = codegen_1.str `${schPath}${util_1.getErrorPath(schemaPath, util_1.Type.Str)}`; 

extraErrorProps

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/errors.js

  Total:         3ms        6ms (flat, cum) 0.078%
    107            .          .               } 
    108            .          .               return [E.schemaPath, schPath]; 
    109            .          .           } 
    110          3ms        6ms           function extraErrorProps(cxt, { params, message }, keyValues) { 
    111            .          .               const { keyword, data, schemaValue, it } = cxt; 
    112            .          .               const { opts, propertyName, topSchemaRef, schemaPath } = it; 
    113            .          .               keyValues.push([E.keyword, keyword], [E.params, typeof params == "function" ? params(cxt) : params || codegen_1._ `{}`]); 
    114            .          .               if (opts.messages) { 
    115            .          .                   keyValues.push([E.message, typeof message == "function" ? message(cxt) : message]); 

(anonymous)

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/core.js

  Total:           0       17ms (flat, cum)  0.22%
      1            .       17ms           "use strict"; 
      2            .          .           Object.defineProperty(exports, "__esModule", { value: true }); 
      3            .          .           exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = void 0; 
      4            .          .           var validate_1 = require("./compile/validate"); 
      5            .          .           Object.defineProperty(exports, "KeywordCxt", { enumerable: true, get: function () { return validate_1.KeywordCxt; } }); 
      6            .          .           var codegen_1 = require("./compile/codegen"); 

Ajv

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/core.js

  Total:         1ms        8ms (flat, cum)   0.1%
     83            .          .                   unicodeRegExp: (_w = o.unicodeRegExp) !== null && _w !== void 0 ? _w : true, 
     84            .          .                   int32range: (_x = o.int32range) !== null && _x !== void 0 ? _x : true, 
     85            .          .               }; 
     86            .          .           } 
     87            .          .           class Ajv { 
     88          1ms        8ms               constructor(opts = {}) { 
     89            .          .                   this.schemas = {}; 
     90            .          .                   this.refs = {}; 
     91            .          .                   this.formats = {}; 
     92            .          .                   this._compilations = new Set(); 
     93            .          .                   this._loading = {}; 

_addVocabularies

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/core.js

  Total:           0        1ms (flat, cum) 0.013%
    111            .          .                   if (typeof opts.meta == "object") 
    112            .          .                       this.addMetaSchema(opts.meta); 
    113            .          .                   addInitialSchemas.call(this); 
    114            .          .                   opts.validateFormats = formatOpt; 
    115            .          .               } 
    116            .        1ms               _addVocabularies() { 
    117            .          .                   this.addKeyword("$async"); 
    118            .          .               } 
    119            .          .               _addDefaultMetaSchema() { 
    120            .          .                   const { $data, meta, schemaId } = this.opts; 
    121            .          .                   let _dataRefSchema = $dataRefSchema; 

validate

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/core.js

  Total:         5ms       10ms (flat, cum)  0.13%
    129            .          .               } 
    130            .          .               defaultMeta() { 
    131            .          .                   const { meta, schemaId } = this.opts; 
    132            .          .                   return (this.opts.defaultMeta = typeof meta == "object" ? meta[schemaId] || meta : undefined); 
    133            .          .               } 
    134          5ms       10ms               validate(schemaKeyRef, // key, ref or schema object 
    135            .          .               data // to be validated 
    136            .          .               ) { 
    137            .          .                   let v; 
    138            .          .                   if (typeof schemaKeyRef == "string") { 
    139            .          .                       v = this.getSchema(schemaKeyRef); 

addSchema

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/core.js

  Total:           0      130ms (flat, cum)  1.69%
    203            .          .                           delete this._loading[ref]; 
    204            .          .                       } 
    205            .          .                   } 
    206            .          .               } 
    207            .          .               // Adds schema to the instance 
    208            .      130ms               addSchema(schema, // If array is passed, `key` will be ignored 
    209            .          .               key, // Optional schema key. Can be passed to `validate` method instead of schema object or id/ref. One schema per instance can have empty `id` and `key`. 
    210            .          .               _meta, // true if schema is a meta-schema. Used internally, addMetaSchema should be used instead. 
    211            .          .               _validateSchema = this.opts.validateSchema // false to skip schema validation. Used internally, option validateSchema should be used instead. 
    212            .          .               ) { 
    213            .          .                   if (Array.isArray(schema)) { 

addMetaSchema

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/core.js

  Total:         1ms        5ms (flat, cum) 0.065%
    228            .          .                   this.schemas[key] = this._addSchema(schema, _meta, key, _validateSchema, true); 
    229            .          .                   return this; 
    230            .          .               } 
    231            .          .               // Add schema that will be used to validate other schemas 
    232            .          .               // options in META_IGNORE_OPTIONS are alway set to false 
    233          1ms        5ms               addMetaSchema(schema, key, // schema key 
    234            .          .               _validateSchema = this.opts.validateSchema // false to skip schema validation, can be used to override validateSchema option for meta-schema 
    235            .          .               ) { 
    236            .          .                   this.addSchema(schema, key, true, _validateSchema); 

validateSchema

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/core.js

  Total:         1ms      108ms (flat, cum)  1.41%
    237            .          .                   return this; 
    238            .          .               } 
    239            .          .               //  Validate schema against its meta-schema 
    240          1ms      108ms               validateSchema(schema, throwOrLogError) { 
    241            .          .                   if (typeof schema == "boolean") 
    242            .          .                       return true; 
    243            .          .                   let $schema; 
    244            .          .                   $schema = schema.$schema; 
    245            .          .                   if ($schema !== undefined && typeof $schema != "string") { 

getSchema

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/core.js

  Total:         2ms      335ms (flat, cum)  4.37%
    261            .          .                   } 
    262            .          .                   return valid; 
    263            .          .               } 
    264            .          .               // Get compiled schema by `key` or `ref`. 
    265            .          .               // (`key` that was passed to `addSchema` or full schema reference - `schema.$id` or resolved id) 
    266          2ms      335ms               getSchema(keyRef) { 
    267            .          .                   let sch; 
    268            .          .                   while (typeof (sch = getSchEnv.call(this, keyRef)) == "string") 
    269            .          .                       keyRef = sch; 
    270            .          .                   if (sch === undefined) { 
    271            .          .                       const { schemaId } = this.opts; 

addVocabulary

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/core.js

  Total:           0        1ms (flat, cum) 0.013%
    315            .          .                       default: 
    316            .          .                           throw new Error("ajv.removeSchema: invalid parameter"); 
    317            .          .                   } 
    318            .          .               } 
    319            .          .               // add "vocabulary" - a collection of keywords 
    320            .        1ms               addVocabulary(definitions) { 
    321            .          .                   for (const def of definitions) 
    322            .          .                       this.addKeyword(def); 

addKeyword

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/core.js

  Total:           0        2ms (flat, cum) 0.026%
    323            .          .                   return this; 
    324            .          .               } 
    325            .        2ms               addKeyword(kwdOrDef, def // deprecated 
    326            .          .               ) { 
    327            .          .                   let keyword; 
    328            .          .                   if (typeof kwdOrDef == "string") { 
    329            .          .                       keyword = kwdOrDef; 
    330            .          .                       if (typeof def == "object") { 

_addSchema

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/core.js

  Total:         1ms      129ms (flat, cum)  1.68%
    423            .          .                               delete schemas[keyRef]; 
    424            .          .                           } 
    425            .          .                       } 
    426            .          .                   } 
    427            .          .               } 
    428          1ms      129ms               _addSchema(schema, meta, baseId, validateSchema = this.opts.validateSchema, addSchema = this.opts.addUsedSchema) { 
    429            .          .                   let id; 
    430            .          .                   const { schemaId } = this.opts; 
    431            .          .                   if (typeof schema == "object") { 
    432            .          .                       id = schema[schemaId]; 
    433            .          .                   } 

_checkUnique

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/core.js

  Total:         1ms        1ms (flat, cum) 0.013%
    452            .          .                   } 
    453            .          .                   if (validateSchema) 
    454            .          .                       this.validateSchema(schema, true); 
    455            .          .                   return sch; 
    456            .          .               } 
    457          1ms        1ms               _checkUnique(id) { 
    458            .          .                   if (this.schemas[id] || this.refs[id]) { 
    459            .          .                       throw new Error(`schema with key or id "${id}" already exists`); 

_compileSchemaEnv

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/core.js

  Total:           0      318ms (flat, cum)  4.15%
    460            .          .                   } 
    461            .          .               } 
    462            .      318ms               _compileSchemaEnv(sch) { 
    463            .          .                   if (sch.meta) 
    464            .          .                       this._compileMetaSchema(sch); 
    465            .          .                   else 
    466            .          .                       compile_1.compileSchema.call(this, sch); 

_compileMetaSchema

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/core.js

  Total:           0       97ms (flat, cum)  1.26%
    468            .          .                   if (!sch.validate) 
    469            .          .                       throw new Error("ajv implementation error"); 
    470            .          .                   return sch.validate; 
    471            .          .               } 
    472            .       97ms               _compileMetaSchema(sch) { 
    473            .          .                   const currentOpts = this.opts; 
    474            .          .                   this.opts = this._metaOpts; 
    475            .          .                   try { 
    476            .          .                       compile_1.compileSchema.call(this, sch); 
    477            .          .                   } 

getSchEnv

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/core.js

  Total:           0        2ms (flat, cum) 0.026%
    488            .          .                   const opt = key; 
    489            .          .                   if (opt in options) 
    490            .          .                       this.logger[log](`${msg}: option ${key}. ${checkOpts[opt]}`); 
    491            .          .               } 
    492            .          .           } 
    493            .        2ms           function getSchEnv(keyRef) { 
    494            .          .               keyRef = resolve_1.normalizeId(keyRef); // TODO tests fail without this line 
    495            .          .               return this.schemas[keyRef] || this.refs[keyRef]; 
    496            .          .           } 
    497            .          .           function addInitialSchemas() { 
    498            .          .               const optsSchemas = this.opts.schemas; 

checkKeyword

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/core.js

  Total:           0        1ms (flat, cum) 0.013%
    539            .          .               if (logger.log && logger.warn && logger.error) 
    540            .          .                   return logger; 
    541            .          .               throw new Error("logger must implement log, warn and error methods"); 
    542            .          .           } 
    543            .          .           const KEYWORD_NAME = /^[a-z_$][a-z0-9_$:-]*$/i; 
    544            .        1ms           function checkKeyword(keyword, def) { 

(anonymous)

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/core.js

  Total:         1ms        1ms (flat, cum) 0.013%
    546          1ms        1ms               util_1.eachItem(keyword, (kwd) => { 
    547            .          .                   if (RULES.keywords[kwd]) 
    548            .          .                       throw new Error(`Keyword ${kwd} is already defined`); 
    549            .          .                   if (!KEYWORD_NAME.test(kwd)) 
    550            .          .                       throw new Error(`Keyword ${kwd} has invalid name`); 
    551            .          .               }); 

toHash

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/util.js

  Total:         1ms        1ms (flat, cum) 0.013%
      2            .          .           Object.defineProperty(exports, "__esModule", { value: true }); 
      3            .          .           exports.checkStrictMode = exports.getErrorPath = exports.Type = exports.useFunc = exports.setEvaluated = exports.evaluatedPropsToName = exports.mergeEvaluated = exports.eachItem = exports.unescapeJsonPointer = exports.escapeJsonPointer = exports.escapeFragment = exports.unescapeFragment = exports.schemaRefOrVal = exports.schemaHasRulesButRef = exports.schemaHasRules = exports.checkUnknownRules = exports.alwaysValidSchema = exports.toHash = void 0; 
      4            .          .           const codegen_1 = require("./codegen"); 
      5            .          .           const code_1 = require("./codegen/code"); 
      6            .          .           // TODO refactor to use Set 
      7          1ms        1ms           function toHash(arr) { 
      8            .          .               const hash = {}; 
      9            .          .               for (const item of arr) 
     10            .          .                   hash[item] = true; 

alwaysValidSchema

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/util.js

  Total:         1ms        2ms (flat, cum) 0.026%
     11            .          .               return hash; 
     12            .          .           } 
     13            .          .           exports.toHash = toHash; 
     14          1ms        2ms           function alwaysValidSchema(it, schema) { 
     15            .          .               if (typeof schema == "boolean") 
     16            .          .                   return schema; 
     17            .          .               if (Object.keys(schema).length === 0) 
     18            .          .                   return true; 

checkUnknownRules

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/util.js

  Total:         1ms        1ms (flat, cum) 0.013%
     19            .          .               checkUnknownRules(it, schema); 
     20            .          .               return !schemaHasRules(schema, it.self.RULES.all); 
     21            .          .           } 
     22            .          .           exports.alwaysValidSchema = alwaysValidSchema; 
     23          1ms        1ms           function checkUnknownRules(it, schema = it.schema) { 
     24            .          .               const { opts, self } = it; 
     25            .          .               if (!opts.strictSchema) 
     26            .          .                   return; 
     27            .          .               if (typeof schema === "boolean") 
     28            .          .                   return; 

schemaRefOrVal

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/util.js

  Total:         1ms        5ms (flat, cum) 0.065%
     49            .          .                   if (key !== "$ref" && RULES.all[key]) 
     50            .          .                       return true; 
     51            .          .               return false; 
     52            .          .           } 
     53            .          .           exports.schemaHasRulesButRef = schemaHasRulesButRef; 
     54          1ms        5ms           function schemaRefOrVal({ topSchemaRef, schemaPath }, schema, keyword, $data) { 
     55            .          .               if (!$data) { 
     56            .          .                   if (typeof schema == "number" || typeof schema == "boolean") 
     57            .          .                       return schema; 
     58            .          .                   if (typeof schema == "string") 

unescapeFragment

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/util.js

  Total:         1ms        1ms (flat, cum) 0.013%
     60            .          .               } 
     61            .          .               return codegen_1._ `${topSchemaRef}${schemaPath}${codegen_1.getProperty(keyword)}`; 
     62            .          .           } 
     63            .          .           exports.schemaRefOrVal = schemaRefOrVal; 
     64          1ms        1ms           function unescapeFragment(str) { 
     65            .          .               return unescapeJsonPointer(decodeURIComponent(str)); 

escapeFragment

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/util.js

  Total:         6ms        6ms (flat, cum) 0.078%
     67            .          .           exports.unescapeFragment = unescapeFragment; 
     68          6ms        6ms           function escapeFragment(str) { 
     69            .          .               return encodeURIComponent(escapeJsonPointer(str)); 
     70            .          .           } 
     71            .          .           exports.escapeFragment = escapeFragment; 
     72            .          .           function escapeJsonPointer(str) { 
     73            .          .               if (typeof str == "number") 

eachItem

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/util.js

  Total:         1ms        2ms (flat, cum) 0.026%
     77            .          .           exports.escapeJsonPointer = escapeJsonPointer; 
     78            .          .           function unescapeJsonPointer(str) { 
     79            .          .               return str.replace(/~1/g, "/").replace(/~0/g, "~"); 
     80            .          .           } 
     81            .          .           exports.unescapeJsonPointer = unescapeJsonPointer; 
     82          1ms        2ms           function eachItem(xs, f) { 
     83            .          .               if (Array.isArray(xs)) { 
     84            .          .                   for (const x of xs) 
     85            .          .                       f(x); 
     86            .          .               } 
     87            .          .               else { 

useFunc

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/util.js

  Total:           0        1ms (flat, cum) 0.013%
    137            .          .           function setEvaluated(gen, props, ps) { 
    138            .          .               Object.keys(ps).forEach((p) => gen.assign(codegen_1._ `${props}${codegen_1.getProperty(p)}`, true)); 
    139            .          .           } 
    140            .          .           exports.setEvaluated = setEvaluated; 
    141            .          .           const snippets = {}; 
    142            .        1ms           function useFunc(gen, f) { 
    143            .          .               return gen.scopeValue("func", { 
    144            .          .                   ref: f, 
    145            .          .                   code: snippets[f.code] || (snippets[f.code] = new code_1._Code(f.code)), 
    146            .          .               }); 
    147            .          .           } 

getErrorPath

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/util.js

  Total:         1ms        1ms (flat, cum) 0.013%
    149            .          .           var Type; 
    150            .          .           (function (Type) { 
    151            .          .               Type[Type["Num"] = 0] = "Num"; 
    152            .          .               Type[Type["Str"] = 1] = "Str"; 
    153            .          .           })(Type = exports.Type || (exports.Type = {})); 
    154          1ms        1ms           function getErrorPath(dataProp, dataPropType, jsPropertySyntax) { 
    155            .          .               // let path 
    156            .          .               if (dataProp instanceof codegen_1.Name) { 
    157            .          .                   const isNumber = dataPropType === Type.Num; 
    158            .          .                   return jsPropertySyntax 
    159            .          .                       ? isNumber 

(anonymous)

/srv/function-orchestrator/src/execute.js

  Total:           0       58ms (flat, cum)  0.76%
      1            .       58ms           'use strict'; 
      2            .          .            
      3            .          .           const { ArgumentState } = require( './argumentState.js' ); 
      4            .          .           const { BaseFrame, EmptyFrame } = require( './frame.js' ); 
      5            .          .           const { Composition, Implementation } = require( './implementation.js' ); 
      6            .          .           const { RandomImplementationSelector } = require( './implementationSelector.js' ); 

validateAsType

/srv/function-orchestrator/src/execute.js

  Total:           0      120ms (flat, cum)  1.56%
     11            .          .           const { convertZListToItemArray, getError } = require( '../function-schemata/javascript/src/utils.js' ); 
     12            .          .           const { validatesAsArgumentReference, validatesAsType } = require( '../function-schemata/javascript/src/schema.js' ); 
     13            .          .            
     14            .          .           let execute = null; 
     15            .          .            
     16            .      120ms           async function validateAsType( Z1, invariants, typeZObject = null ) { 

wrapInZ9

/srv/function-orchestrator/src/execute.js

  Total:           0        1ms (flat, cum) 0.013%
     17            .        1ms           	const wrapInZ9 = ( ZID ) => { 
     18            .          .           		// A lone reference doesn't need any scope. 
     19            .          .           		return ZWrapper.create( { 
     20            .          .           			Z1K1: 'Z9', 
     21            .          .           			Z9K1: ZID 
     22            .          .           		}, new EmptyFrame() ); 

resolveTypes

/srv/function-orchestrator/src/execute.js

  Total:         2ms       66ms (flat, cum)  0.86%
     70            .          .            * @param {Object} Z1 object whose Z1K1s are to be resolved 
     71            .          .            * @param {Invariants} invariants evaluator, resolver: invariants preserved over all function calls 
     72            .          .            * @param {boolean} doValidate whether to validate types of arguments and return values 
     73            .          .            * @return {ArgumentState|null} error state or null if no error encountered 
     74            .          .            */ 
     75          2ms       66ms           async function resolveTypes( Z1, invariants, doValidate = true ) { 
     76            .          .           	const objectQueue = [ Z1 ]; 
     77            .          .           	while ( objectQueue.length > 0 ) { 
     78            .          .           		const nextObject = objectQueue.shift(); 
     79            .          .           		if ( await isRefOrString( nextObject ) ) { 
     80            .          .           			continue; 

processArgument

/srv/function-orchestrator/src/execute.js

  Total:           0       31ms (flat, cum)   0.4%
    113            .          .           	 */ 
    114            .          .           	setArgument( name, argumentState ) { 
    115            .          .           		this.names_.set( name, argumentState ); 
    116            .          .           	} 
    117            .          .            
    118            .       31ms           	async processArgument( 
    119            .          .           		argumentDict, invariants, doValidate, resolveInternals, 
    120            .          .           		ignoreList ) { 
    121            .          .           		// TODO (T296675): "doValidate" is a heavy-handed hack to avoid infinite 
    122            .          .           		// recursion. Better solutions include 
    123            .          .           		//  -   validating directly with schemata if the type is built-in, 

retrieveArgument

/srv/function-orchestrator/src/execute.js

  Total:         2ms       25ms (flat, cum)  0.33%
    164            .          .           	 * @param {Set(MutationType)} ignoreList which types of mutations to ignore 
    165            .          .           	 *      when resolving function calls and references 
    166            .          .           	 * @return {Object} argument instantiated with given name in lowest enclosing scope 
    167            .          .           	 * along with enclosing scope 
    168            .          .           	 */ 
    169          2ms       25ms           	async retrieveArgument( 
    170            .          .           		argumentName, invariants, lazily = false, 
    171            .          .           		doValidate = true, resolveInternals = true, ignoreList = null ) { 
    172            .          .           		let boundValue = this.names_.get( argumentName ); 
    173            .          .           		let doSetBoundValue = false; 
    174            .          .            

getArgumentStates

/srv/function-orchestrator/src/execute.js

  Total:         6ms       24ms (flat, cum)  0.31%
    229            .          .            * @param {Object} zobject 
    230            .          .            * @param {Invariants} invariants evaluator, resolver: invariants preserved over all function calls 
    231            .          .            * @param {boolean} doValidate whether to validate types of arguments and return values 
    232            .          .            * @return {Array} list of objects containing argument names 
    233            .          .            */ 
    234          6ms       24ms           async function getArgumentStates( zobject, invariants, doValidate = true ) { 
    235            .          .           	const argumentStates = []; 
    236            .          .           	const Z7K1Envelope = await ( zobject.resolveKey( 
    237            .          .           		[ 'Z7K1' ], invariants, /* ignoreList= */ null, /* resolveInternals= */ true, doValidate ) ); 
    238            .          .           	if ( containsError( Z7K1Envelope ) ) { 
    239            .          .           		return [ ArgumentState.ERROR( 'Could not dereference Z7K1' ) ]; 

validateReturnType

/srv/function-orchestrator/src/execute.js

  Total:           0        2ms (flat, cum) 0.026%
    294            .          .            * @param {Object} result 
    295            .          .            * @param {Object} zobject 
    296            .          .            * @param {Invariants} invariants evaluator, resolver: invariants preserved over all function calls 
    297            .          .            * @return {Object} zobject if validation succeeds; error tuple otherwise 
    298            .          .            */ 
    299            .        2ms           async function validateReturnType( result, zobject, invariants ) { 
    300            .          .           	// eslint-disable-next-line no-bitwise 
    301            .          .           	const thebits = ( ( await containsValue( result ) ) << 1 ) | containsError( result ); 
    302            .          .            
    303            .          .           	if ( thebits === 0 ) { 
    304            .          .           		// Neither value nor error. 

executeInternal

/srv/function-orchestrator/src/execute.js

  Total:         2ms      138ms (flat, cum)  1.80%
    341            .          .            * @param {boolean} doValidate 
    342            .          .            * @param {ImplementationSelector} implementationSelector 
    343            .          .            * @param {boolean} resolveInternals 
    344            .          .            * @return {ZWrapper} 
    345            .          .            */ 
    346          2ms      138ms           async function executeInternal( 
    347            .          .           	zobject, invariants, doValidate = true, 
    348            .          .           	implementationSelector = null, resolveInternals = true ) { 
    349            .          .            
    350            .          .           	const typeKey = await createZObjectKey( zobject ); 
    351            .          .           	if ( typeKey.ZID_ === 'Z881' && !resolveInternals ) { 

execute

/srv/function-orchestrator/src/execute.js

  Total:         1ms       24ms (flat, cum)  0.31%
    514            .          .            * @param {boolean} resolveInternals if false, will evaluate typed lists via shortcut 
    515            .          .            *      and will not validate attributes of Z7s 
    516            .          .            * @param {boolean} topLevel whether this is the top-level Z7 sent to the orchestrator 
    517            .          .            * @return {ZWrapper} result of executing function call 
    518            .          .            */ 
    519          1ms       24ms           execute = async function ( 
    520            .          .           	zobject, invariants = null, doValidate = true, 
    521            .          .           	implementationSelector = null, resolveInternals = true, topLevel = false ) { 
    522            .          .           	const result = await executeInternal( 
    523            .          .           		zobject, invariants, doValidate, 
    524            .          .           		implementationSelector, resolveInternals ); 

(anonymous)

/srv/function-orchestrator/function-schemata/javascript/src/utils.js

  Total:         1ms        1ms (flat, cum) 0.013%
      1          1ms        1ms           'use strict'; 
      2            .          .            
      3            .          .           // NOTE: This file is used in a MediaWiki context as well, and so MUST parse as a 

isString

/srv/function-orchestrator/function-schemata/javascript/src/utils.js

  Total:         1ms        1ms (flat, cum) 0.013%
      4            .          .           // stand-alone JS file without use of require() 
      5            .          .            
      6          1ms        1ms           function isString( s ) { 
      7            .          .           	return typeof s === 'string' || s instanceof String; 
      8            .          .           } 
      9            .          .            
     10            .          .           function isArray( a ) { 
     11            .          .           	return Array.isArray( a ); 

isZid

/srv/function-orchestrator/function-schemata/javascript/src/utils.js

  Total:         8ms       10ms (flat, cum)  0.13%
     17            .          .            
     18            .          .           function isKey( k ) { 
     19            .          .           	return k.match( /^(Z[1-9]\d*)?K[1-9]\d*$/ ) !== null; 
     20            .          .           } 
     21            .          .            
     22          8ms       10ms           function isZid( k ) { 
     23            .          .           	return k.match( /^Z[1-9]\d*$/ ) !== null; 
     24            .          .           } 
     25            .          .            
     26            .          .           function isReference( z ) { 
     27            .          .           	// Note that A1 and Q34 are References but K2 isn't. 

makeVoid

/srv/function-orchestrator/function-schemata/javascript/src/utils.js

  Total:         1ms        1ms (flat, cum) 0.013%
     52            .          .            * @param {boolean} canonical whether output should be in canonical form 
     53            .          .            * @return {Object} a reference to Z24 
     54            .          .            * 
     55            .          .            * TODO (T289301): This should read its outputs from a configuration file. 
     56            .          .            */ 
     57          1ms        1ms           function makeVoid( canonical = false ) { 
     58            .          .           	if ( canonical ) { 
     59            .          .           		return 'Z24'; 
     60            .          .           	} 
     61            .          .           	return { Z1K1: 'Z9', Z9K1: 'Z24' }; 
     62            .          .           } 

convertBenjaminArrayToZList

/srv/function-orchestrator/function-schemata/javascript/src/utils.js

  Total:           0        1ms (flat, cum) 0.013%
    221            .          .            * @param {Array} array an array of ZObjects 
    222            .          .            * @param {boolean} canonical whether to output in canonical form 
    223            .          .            * @param {boolean} benjamin whether to expect a benjamin array as input 
    224            .          .            * @return {Object} a Typed List corresponding to the input array 
    225            .          .            */ 
    226            .        1ms           async function convertBenjaminArrayToZList( array, canonical = false ) { 
    227            .          .           	const headType = array.length >= 1 ? array[ 0 ] : ( canonical ? 'Z1' : { Z1K1: 'Z9', Z9K1: 'Z1' } ); 
    228            .          .           	return convertArrayToKnownTypedList( array.slice( 1 ), headType, canonical ); 
    229            .          .           } 
    230            .          .            
    231            .          .           /** 

convertArrayToKnownTypedList

/srv/function-orchestrator/function-schemata/javascript/src/utils.js

  Total:         1ms        1ms (flat, cum) 0.013%
    234            .          .            * @param {Array} array an array of ZObjects 
    235            .          .            * @param {string} type the known type of the typed list 
    236            .          .            * @param {boolean} canonical whether to output in canonical form 
    237            .          .            * @return {Object} a Typed List corresponding to the input array 
    238            .          .            */ 
    239          1ms        1ms           function convertArrayToKnownTypedList( array, type, canonical = false ) { 
    240            .          .           	const listType = getTypedListType( type, canonical ); 
    241            .          .           	return convertArrayToZListInternal( array, 'K1', 'K2', listType ); 
    242            .          .           } 
    243            .          .            
    244            .          .           /** 

makeMappedResultEnvelope

/srv/function-orchestrator/function-schemata/javascript/src/utils.js

  Total:           0        1ms (flat, cum) 0.013%
    468            .          .            * @param {Object} result Z22K1 of resulting Z22 
    469            .          .            * @param {Object} metadata Z22K2 of resulting Z22 - either a Z883 / Map or a Z5 / Error 
    470            .          .            * @param {boolean} canonical whether output should be in canonical form 
    471            .          .            * @return {Object} a Z22 
    472            .          .            */ 
    473            .        1ms           function makeMappedResultEnvelope( result = null, metadata = null, canonical = false ) { 
    474            .          .           	let ZMap; 
    475            .          .           	if ( metadata && !isZMap( metadata ) && ( metadata.Z1K1 === 'Z5' || metadata.Z1K1.Z9K1 === 'Z5' ) ) { 
    476            .          .           		const keyType = { Z1K1: 'Z9', Z9K1: 'Z6' }; 
    477            .          .           		const valueType = { Z1K1: 'Z9', Z9K1: 'Z1' }; 
    478            .          .           		ZMap = makeEmptyZMap( keyType, valueType ); 

wrapInQuote

/srv/function-orchestrator/function-schemata/javascript/src/utils.js

  Total:         1ms        1ms (flat, cum) 0.013%
    657            .          .           		Z1K1: wrapInZ9( 'Z39' ), 
    658            .          .           		Z39K1: wrapInZ6( key ) 
    659            .          .           	}; 
    660            .          .           } 
    661            .          .            
    662          1ms        1ms           function wrapInQuote( data ) { 
    663            .          .           	return { 
    664            .          .           		Z1K1: wrapInZ9( 'Z99' ), 
    665            .          .           		Z99K1: data 
    666            .          .           	}; 
    667            .          .           } 

generate_validate

/srv/function-orchestrator/node_modules/ajv/lib/dotjs/validate.js

  Total:        10ms      646ms (flat, cum)  8.42%
      1            .          .           'use strict'; 
      2         10ms      646ms           module.exports = function generate_validate(it, $keyword, $ruleType) { 
      3            .          .             var out = ''; 
      4            .          .             var $async = it.schema.$async === true, 
      5            .          .               $refKeywords = it.util.schemaHasRulesExcept(it.schema, it.RULES.all, '$ref'), 
      6            .          .               $id = it.self._getId(it.schema); 
      7            .          .             if (it.opts.strictKeywords) { 

$shouldUseGroup

/srv/function-orchestrator/node_modules/ajv/lib/dotjs/validate.js

  Total:         1ms        2ms (flat, cum) 0.026%
    461            .          .               out += ' }; return validate;'; 
    462            .          .             } else { 
    463            .          .               out += ' var ' + ($valid) + ' = errors === errs_' + ($lvl) + ';'; 
    464            .          .             } 
    465            .          .            
    466          1ms        2ms             function $shouldUseGroup($rulesGroup) { 
    467            .          .               var rules = $rulesGroup.rules; 
    468            .          .               for (var i = 0; i < rules.length; i++) 

$shouldUseRule

/srv/function-orchestrator/node_modules/ajv/lib/dotjs/validate.js

  Total:           0        1ms (flat, cum) 0.013%
    470            .          .             } 
    471            .          .            
    472            .        1ms             function $shouldUseRule($rule) { 
    473            .          .               return it.schema[$rule.keyword] !== undefined || ($rule.implements && $ruleImplementsSomeKeyword($rule)); 

$ruleImplementsSomeKeyword

/srv/function-orchestrator/node_modules/ajv/lib/dotjs/validate.js

  Total:         1ms        1ms (flat, cum) 0.013%
    475            .          .            
    476          1ms        1ms             function $ruleImplementsSomeKeyword($rule) { 
    477            .          .               var impl = $rule.implements; 
    478            .          .               for (var i = 0; i < impl.length; i++) 
    479            .          .                 if (it.schema[impl[i]] !== undefined) return true; 
    480            .          .             } 
    481            .          .             return out; 

getSubschema

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/validate/subschema.js

  Total:         4ms       12ms (flat, cum)  0.16%
      1            .          .           "use strict"; 
      2            .          .           Object.defineProperty(exports, "__esModule", { value: true }); 
      3            .          .           exports.extendSubschemaMode = exports.extendSubschemaData = exports.getSubschema = void 0; 
      4            .          .           const codegen_1 = require("../codegen"); 
      5            .          .           const util_1 = require("../util"); 
      6          4ms       12ms           function getSubschema(it, { keyword, schemaProp, schema, schemaPath, errSchemaPath, topSchemaRef }) { 
      7            .          .               if (keyword !== undefined && schema !== undefined) { 
      8            .          .                   throw new Error('both "keyword" and "schema" passed, only one allowed'); 
      9            .          .               } 
     10            .          .               if (keyword !== undefined) { 
     11            .          .                   const sch = it.schema[keyword]; 

extendSubschemaData

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/validate/subschema.js

  Total:         7ms       15ms (flat, cum)   0.2%
     33            .          .                   }; 
     34            .          .               } 
     35            .          .               throw new Error('either "keyword" or "schema" must be passed'); 
     36            .          .           } 
     37            .          .           exports.getSubschema = getSubschema; 
     38          7ms       15ms           function extendSubschemaData(subschema, it, { dataProp, dataPropType: dpType, data, dataTypes, propertyName }) { 
     39            .          .               if (data !== undefined && dataProp !== undefined) { 
     40            .          .                   throw new Error('both "data" and "dataProp" passed, only one allowed'); 
     41            .          .               } 
     42            .          .               const { gen } = it; 
     43            .          .               if (dataProp !== undefined) { 

extendSubschemaMode

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/validate/subschema.js

  Total:         1ms        1ms (flat, cum) 0.013%
     65            .          .                   subschema.parentData = it.data; 
     66            .          .                   subschema.dataNames = [...it.dataNames, _nextData]; 
     67            .          .               } 
     68            .          .           } 
     69            .          .           exports.extendSubschemaData = extendSubschemaData; 
     70          1ms        1ms           function extendSubschemaMode(subschema, { jtdDiscriminator, jtdMetadata, compositeRule, createErrors, allErrors }) { 
     71            .          .               if (compositeRule !== undefined) 
     72            .          .                   subschema.compositeRule = compositeRule; 
     73            .          .               if (createErrors !== undefined) 
     74            .          .                   subschema.createErrors = createErrors; 
     75            .          .               if (allErrors !== undefined) 

(anonymous)

/srv/function-orchestrator/node_modules/msw/node/lib/index.js

  Total:         4ms       35ms (flat, cum)  0.46%
      1          4ms       35ms           'use strict'; 
      2            .          .            
      3            .          .           Object.defineProperty(exports, '__esModule', { value: true }); 
      4            .          .            
      5            .          .           var ClientRequest = require('@mswjs/interceptors/lib/interceptors/ClientRequest'); 
      6            .          .           var XMLHttpRequest = require('@mswjs/interceptors/lib/interceptors/XMLHttpRequest'); 

__awaiter

/srv/function-orchestrator/node_modules/msw/node/lib/index.js

  Total:           0       19ms (flat, cum)  0.25%
     41            .          .                           t[p[i]] = s[p[i]]; 
     42            .          .                   } 
     43            .          .               return t; 
     44            .          .           } 
     45            .          .            
     46            .       19ms           function __awaiter(thisArg, _arguments, P, generator) { 

(anonymous)

/srv/function-orchestrator/node_modules/msw/node/lib/index.js

  Total:         2ms       19ms (flat, cum)  0.25%
     48          2ms       19ms               return new (P || (P = Promise))(function (resolve, reject) { 

fulfilled

/srv/function-orchestrator/node_modules/msw/node/lib/index.js

  Total:           0        5ms (flat, cum) 0.065%
     49            .        5ms                   function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } 
     50            .          .                   function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } 
     51            .          .                   function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } 
     52            .          .                   step((generator = generator.apply(thisArg, _arguments || [])).next()); 
     53            .          .               }); 
     54            .          .           } 

deriveBFS

/srv/function-orchestrator/node_modules/msw/node/lib/index.js

  Total:         1ms        1ms (flat, cum) 0.013%
   1078            .          .            
   1079            .          .           	return graph; 
   1080            .          .           } 
   1081            .          .            
   1082            .          .           // https://en.wikipedia.org/wiki/Breadth-first_search 
   1083          1ms        1ms           function deriveBFS(fromModel) { 
   1084            .          .           	const graph = buildGraph(); 
   1085            .          .           	const queue = [fromModel]; // Unshift -> queue -> pop 
   1086            .          .            
   1087            .          .           	graph[fromModel].distance = 0; 
   1088            .          .            

route$1

/srv/function-orchestrator/node_modules/msw/node/lib/index.js

  Total:           0        1ms (flat, cum) 0.013%
   1124            .          .            
   1125            .          .           	fn.conversion = path; 
   1126            .          .           	return fn; 
   1127            .          .           } 
   1128            .          .            
   1129            .        1ms           var route$1 = function (fromModel) { 
   1130            .          .           	const graph = deriveBFS(fromModel); 
   1131            .          .           	const conversion = {}; 
   1132            .          .            
   1133            .          .           	const models = Object.keys(graph); 
   1134            .          .           	for (let len = models.length, i = 0; i < len; i++) { 

(anonymous)

/srv/function-orchestrator/node_modules/msw/node/lib/index.js

  Total:         1ms        3ms (flat, cum) 0.039%
   1207            .          .           	} 
   1208            .          .            
   1209            .          .           	return wrappedFn; 
   1210            .          .           } 
   1211            .          .            
   1212            .        2ms           models.forEach(fromModel => { 
   1213            .          .           	convert[fromModel] = {}; 
   1214            .          .            
   1215            .          .           	Object.defineProperty(convert[fromModel], 'channels', {value: conversions[fromModel].channels}); 
   1216            .          .           	Object.defineProperty(convert[fromModel], 'labels', {value: conversions[fromModel].labels}); 
   1217            .          .            
   1218            .          .           	const routes = route(fromModel); 
   1219            .          .           	const routeModels = Object.keys(routes); 
   1220            .          .            
   1221          1ms        1ms           	routeModels.forEach(toModel => { 
   1222            .          .           		const fn = routes[toModel]; 
   1223            .          .            
   1224            .          .           		convert[fromModel][toModel] = wrapRounded(fn); 
   1225            .          .           		convert[fromModel][toModel].raw = wrapRaw(fn); 
   1226            .          .           	}); 

jsonParse

/srv/function-orchestrator/node_modules/msw/node/lib/index.js

  Total:         1ms        1ms (flat, cum) 0.013%
   2247            .          .            
   2248            .          .           /** 
   2249            .          .            * Parses a given string into a JSON. 
   2250            .          .            * Does not throw an exception on an invalid JSON string. 
   2251            .          .            */ 
   2252          1ms        1ms           function jsonParse(str) { 
   2253            .          .               try { 
   2254            .          .                   return JSON.parse(str); 
   2255            .          .               } 
   2256            .          .               catch (error) { 
   2257            .          .                   return undefined; 

parseBody

/srv/function-orchestrator/node_modules/msw/node/lib/index.js

  Total:           0        1ms (flat, cum) 0.013%
   2857            .          .           } 
   2858            .          .            
   2859            .          .           /** 
   2860            .          .            * Parses a given request/response body based on the `Content-Type` header. 
   2861            .          .            */ 
   2862            .        1ms           function parseBody(body, headers) { 
   2863            .          .               // Return whatever falsey body value is given. 
   2864            .          .               if (!body) { 
   2865            .          .                   return body; 
   2866            .          .               } 
   2867            .          .               const contentType = headers === null || headers === void 0 ? void 0 : headers.get('content-type'); 

add

/srv/function-orchestrator/node_modules/msw/node/lib/index.js

  Total:           0        1ms (flat, cum) 0.013%
   3111            .          .               } 
   3112            .          .               /** 
   3113            .          .                * Sets the given request cookies into the store. 
   3114            .          .                * Respects the `request.credentials` policy. 
   3115            .          .                */ 
   3116            .        1ms               add(request, response) { 
   3117            .          .                   if (request.credentials === 'omit') { 
   3118            .          .                       return; 
   3119            .          .                   } 
   3120            .          .                   const requestUrl = new URL(request.url); 
   3121            .          .                   const responseCookies = response.headers.get('set-cookie'); 

parseIsomorphicRequest

/srv/function-orchestrator/node_modules/msw/node/lib/index.js

  Total:           0        1ms (flat, cum) 0.013%
   3293            .          .           } 
   3294            .          .            
   3295            .          .           /** 
   3296            .          .            * Converts a given isomorphic request to a `MockedRequest` instance. 
   3297            .          .            */ 
   3298            .        1ms           function parseIsomorphicRequest(request) { 
   3299            .          .               const requestId = uuidv4(); 
   3300            .          .               request.headers.set('x-msw-request-id', requestId); 
   3301            .          .               const mockedRequest = { 
   3302            .          .                   id: requestId, 
   3303            .          .                   url: request.url, 

(anonymous)

/srv/function-orchestrator/node_modules/msw/node/lib/index.js

  Total:           0       14ms (flat, cum)  0.18%
   3333            .          .           } 
   3334            .          .            
   3335            .          .           /** 
   3336            .          .            * Returns a mocked response for a given request using following request handlers. 
   3337            .          .            */ 
   3338            .        9ms           const getResponse = (request, handlers) => __awaiter(void 0, void 0, void 0, function* () { 
   3339            .        4ms               const relevantHandlers = handlers.filter((handler) => { 
   3340            .          .                   return handler.test(request); 
   3341            .          .               }); 
   3342            .          .               if (relevantHandlers.length === 0) { 
   3343            .          .                   return { 
   3344            .          .                       handler: undefined, 
   3345            .          .                       response: undefined, 
   3346            .          .                   }; 
   3347            .          .               } 
   3348            .        1ms               const result = yield relevantHandlers.reduce((acc, handler) => __awaiter(void 0, void 0, void 0, function* () { 
   3349            .          .                   const previousResults = yield acc; 
   3350            .          .                   if (!!(previousResults === null || previousResults === void 0 ? void 0 : previousResults.response)) { 
   3351            .          .                       return acc; 
   3352            .          .                   } 
   3353            .          .                   const result = yield handler.run(request); 

(anonymous)

/srv/function-orchestrator/node_modules/msw/node/lib/index.js

  Total:           0        1ms (flat, cum) 0.013%
   5131            .          .            * library, please use the `versionInfo` variable for version detection. 
   5132            .          .            * 
   5133            .          .            * @internal 
   5134            .          .            */ 
   5135            .          .            
   5136            .        1ms           var Parser = /*#__PURE__*/function () { 
   5137            .          .             function Parser(source, options) { 
   5138            .          .               var sourceObj = isSource(source) ? source : new Source(source); 
   5139            .          .               this._lexer = new Lexer(sourceObj); 
   5140            .          .               this._options = options; 
   5141            .          .             } 

readResponseCookies

/srv/function-orchestrator/node_modules/msw/node/lib/index.js

  Total:         1ms        2ms (flat, cum) 0.026%
   7650            .          .                   default: 
   7651            .          .                       throw new Error(`[MSW] Failed to react to an unhandled request: unknown strategy "${strategy}". Please provide one of the supported strategies ("bypass", "warn", "error") or a custom callback function.`); 
   7652            .          .               } 
   7653            .          .           } 
   7654            .          .            
   7655          1ms        2ms           function readResponseCookies(request, response) { 
   7656            .          .               lib.store.add(Object.assign(Object.assign({}, request), { url: request.url.toString() }), response); 
   7657            .          .               lib.store.persist(); 

handleRequest

/srv/function-orchestrator/node_modules/msw/node/lib/index.js

  Total:           0        6ms (flat, cum) 0.078%
   7658            .          .           } 
   7659            .          .            
   7660            .        6ms           function handleRequest(request, handlers, options, emitter, handleRequestOptions) { 

(anonymous)

/srv/function-orchestrator/node_modules/msw/node/lib/index.js

  Total:         1ms        9ms (flat, cum)  0.12%
   7662          1ms        9ms               return __awaiter(this, void 0, void 0, function* () { 
   7663            .          .                   emitter.emit('request:start', request); 
   7664            .          .                   // Perform bypassed requests (i.e. issued via "ctx.fetch") as-is. 
   7665            .          .                   if (request.headers.get('x-msw-bypass')) { 
   7666            .          .                       emitter.emit('request:end', request); 
   7667            .          .                       (_a = handleRequestOptions === null || handleRequestOptions === void 0 ? void 0 : handleRequestOptions.onBypassResponse) === null || _a === void 0 ? void 0 : _a.call(handleRequestOptions, request); 

(anonymous)

/srv/function-orchestrator/node_modules/msw/node/lib/index.js

  Total:           0        1ms (flat, cum) 0.013%
   7688            .          .                       return; 
   7689            .          .                   } 
   7690            .          .                   // Store all the received response cookies in the virtual cookie store. 
   7691            .          .                   readResponseCookies(request, response); 
   7692            .          .                   emitter.emit('request:match', request); 
   7693            .        1ms                   return new Promise((resolve) => { 
   7694            .          .                       var _a, _b, _c; 
   7695            .          .                       const requiredLookupResult = lookupResult; 
   7696            .          .                       const transformedResponse = ((_a = handleRequestOptions === null || handleRequestOptions === void 0 ? void 0 : handleRequestOptions.transformResponse) === null || _a === void 0 ? void 0 : _a.call(handleRequestOptions, response)) || 
   7697            .          .                           response; 
   7698            .          .                       (_b = handleRequestOptions === null || handleRequestOptions === void 0 ? void 0 : handleRequestOptions.onMockedResponse) === null || _b === void 0 ? void 0 : _b.call(handleRequestOptions, transformedResponse, requiredLookupResult); 

resolver

/srv/function-orchestrator/node_modules/msw/node/lib/index.js

  Total:           0        8ms (flat, cum)   0.1%
   7728            .          .                       throw new Error('[MSW] Failed to execute `setupServer` in the environment that is not Node.js (i.e. a browser). Consider using `setupWorker` instead.'); 
   7729            .          .                   } 
   7730            .          .                   let resolvedOptions = {}; 
   7731            .          .                   const interceptor = interceptors.createInterceptor({ 
   7732            .          .                       modules: interceptors$1, 
   7733            .        8ms                       resolver(request) { 

(anonymous)

/srv/function-orchestrator/node_modules/msw/node/lib/index.js

  Total:         1ms        8ms (flat, cum)   0.1%
   7734          1ms        8ms                           return __awaiter(this, void 0, void 0, function* () { 
   7735            .          .                               const mockedRequest = parseIsomorphicRequest(request); 
   7736            .          .                               return handleRequest(mockedRequest, currentHandlers, resolvedOptions, emitter, { 
   7737            .          .                                   transformResponse(response) { 
   7738            .          .                                       return { 
   7739            .          .                                           status: response.status, 

listen

/srv/function-orchestrator/node_modules/msw/node/lib/index.js

  Total:           0        1ms (flat, cum) 0.013%
   7757            .          .                       else { 
   7758            .          .                           emitter.emit('response:bypass', response, requestId); 
   7759            .          .                       } 
   7760            .          .                   }); 
   7761            .          .                   return { 
   7762            .        1ms                       listen(options) { 
   7763            .          .                           resolvedOptions = mergeRight(DEFAULT_LISTEN_OPTIONS, options || {}); 
   7764            .          .                           interceptor.apply(); 
   7765            .          .                       }, 
   7766            .          .                       use(...handlers) { 
   7767            .          .                           use(currentHandlers, ...handlers); 

toName

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/scope.js

  Total:         2ms        9ms (flat, cum)  0.12%
     22            .          .               constructor({ prefixes, parent } = {}) { 
     23            .          .                   this._names = {}; 
     24            .          .                   this._prefixes = prefixes; 
     25            .          .                   this._parent = parent; 
     26            .          .               } 
     27          2ms        9ms               toName(nameOrPrefix) { 
     28            .          .                   return nameOrPrefix instanceof code_1.Name ? nameOrPrefix : this.name(nameOrPrefix); 

name

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/scope.js

  Total:           0        5ms (flat, cum) 0.065%
     29            .          .               } 
     30            .        5ms               name(prefix) { 
     31            .          .                   return new code_1.Name(this._newName(prefix)); 

_newName

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/scope.js

  Total:         4ms        5ms (flat, cum) 0.065%
     32            .          .               } 
     33          4ms        5ms               _newName(prefix) { 
     34            .          .                   const ng = this._names[prefix] || this._nameGroup(prefix); 

_nameGroup

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/scope.js

  Total:         1ms        1ms (flat, cum) 0.013%
     36            .          .               } 
     37          1ms        1ms               _nameGroup(prefix) { 
     38            .          .                   var _a, _b; 
     39            .          .                   if (((_b = (_a = this._parent) === null || _a === void 0 ? void 0 : _a._prefixes) === null || _b === void 0 ? void 0 : _b.has(prefix)) || (this._prefixes && !this._prefixes.has(prefix))) { 
     40            .          .                       throw new Error(`CodeGen: prefix "${prefix}" is not allowed in this scope`); 
     41            .          .                   } 
     42            .          .                   return (this._names[prefix] = { prefix, index: 0 }); 

setValue

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/scope.js

  Total:           0        1ms (flat, cum) 0.013%
     46            .          .           class ValueScopeName extends code_1.Name { 
     47            .          .               constructor(prefix, nameStr) { 
     48            .          .                   super(nameStr); 
     49            .          .                   this.prefix = prefix; 
     50            .          .               } 
     51            .        1ms               setValue(value, { property, itemIndex }) { 
     52            .          .                   this.value = value; 
     53            .          .                   this.scopePath = code_1._ `.${new code_1.Name(property)}[${itemIndex}]`; 
     54            .          .               } 
     55            .          .           } 
     56            .          .           exports.ValueScopeName = ValueScopeName; 

name

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/scope.js

  Total:         1ms        3ms (flat, cum) 0.039%
     63            .          .                   this.opts = { ...opts, _n: opts.lines ? line : code_1.nil }; 
     64            .          .               } 
     65            .          .               get() { 
     66            .          .                   return this._scope; 
     67            .          .               } 
     68          1ms        3ms               name(prefix) { 
     69            .          .                   return new ValueScopeName(prefix, this._newName(prefix)); 

value

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/scope.js

  Total:         1ms        7ms (flat, cum) 0.091%
     70            .          .               } 
     71          1ms        7ms               value(nameOrPrefix, value) { 
     72            .          .                   var _a; 
     73            .          .                   if (value.ref === undefined) 
     74            .          .                       throw new Error("CodeGen: ref must be passed in value"); 
     75            .          .                   const name = this.toName(nameOrPrefix); 
     76            .          .                   const { prefix } = name; 

scopeRefs

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/scope.js

  Total:         2ms        6ms (flat, cum) 0.078%
     95            .          .                   const vs = this._values[prefix]; 
     96            .          .                   if (!vs) 
     97            .          .                       return; 
     98            .          .                   return vs.get(keyOrRef); 
     99            .          .               } 
    100          2ms        6ms               scopeRefs(scopeName, values = this._values) { 

(anonymous)

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/scope.js

  Total:           0        2ms (flat, cum) 0.026%
    101            .        2ms                   return this._reduceValues(values, (name) => { 
    102            .          .                       if (name.scopePath === undefined) 
    103            .          .                           throw new Error(`CodeGen: name "${name}" has no value`); 
    104            .          .                       return code_1._ `${scopeName}${name.scopePath}`; 
    105            .          .                   }); 
    106            .          .               } 

_reduceValues

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/scope.js

  Total:           0        4ms (flat, cum) 0.052%
    109            .          .                       if (name.value === undefined) 
    110            .          .                           throw new Error(`CodeGen: name "${name}" has no value`); 
    111            .          .                       return name.value.code; 
    112            .          .                   }, usedValues, getCode); 
    113            .          .               } 
    114            .        4ms               _reduceValues(values, valueCode, usedValues = {}, getCode) { 
    115            .          .                   let code = code_1.nil; 
    116            .          .                   for (const prefix in values) { 
    117            .          .                       const vs = values[prefix]; 

(anonymous)

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/codegen/scope.js

  Total:         1ms        4ms (flat, cum) 0.052%
    118            .          .                       if (!vs) 
    119            .          .                           continue; 
    120            .          .                       const nameSet = (usedValues[prefix] = usedValues[prefix] || new Map()); 
    121          1ms        4ms                       vs.forEach((name) => { 
    122            .          .                           if (nameSet.has(name)) 
    123            .          .                               return; 
    124            .          .                           nameSet.set(name, UsedValueState.Started); 
    125            .          .                           let c = valueCode(name); 
    126            .          .                           if (c) { 

schemaHasRulesForType

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/validate/applicability.js

  Total:         1ms        2ms (flat, cum) 0.026%
      1            .          .           "use strict"; 
      2            .          .           Object.defineProperty(exports, "__esModule", { value: true }); 
      3            .          .           exports.shouldUseRule = exports.shouldUseGroup = exports.schemaHasRulesForType = void 0; 
      4          1ms        2ms           function schemaHasRulesForType({ schema, self }, type) { 
      5            .          .               const group = self.RULES.types[type]; 
      6            .          .               return group && group !== true && shouldUseGroup(schema, group); 

shouldUseGroup

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/validate/applicability.js

  Total:           0        7ms (flat, cum) 0.091%
      7            .          .           } 
      8            .          .           exports.schemaHasRulesForType = schemaHasRulesForType; 
      9            .        7ms           function shouldUseGroup(schema, group) { 

(anonymous)

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/validate/applicability.js

  Total:           0        7ms (flat, cum) 0.091%
     10            .        7ms               return group.rules.some((rule) => shouldUseRule(schema, rule)); 
     11            .          .           } 

shouldUseRule

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/validate/applicability.js

  Total:        10ms       10ms (flat, cum)  0.13%
     12            .          .           exports.shouldUseGroup = shouldUseGroup; 
     13         10ms       10ms           function shouldUseRule(schema, rule) { 
     14            .          .               var _a; 
     15            .          .               return (schema[rule.keyword] !== undefined || 
     16            .          .                   ((_a = rule.definition.implements) === null || _a === void 0 ? void 0 : _a.some((kwd) => schema[kwd] !== undefined))); 
     17            .          .           } 
     18            .          .           exports.shouldUseRule = shouldUseRule; 

getOptions

node:internal/fs/utils

  Total:         6ms        6ms (flat, cum) 0.078%
    318          6ms        6ms           ??? 

handleErrorFromBinding

node:internal/fs/utils

  Total:           0        1ms (flat, cum) 0.013%
    343            .        1ms           ??? 

(anonymous)

node:internal/fs/utils

  Total:         1ms        1ms (flat, cum) 0.013%
    360          1ms        1ms           ??? 

dateFromMs

node:internal/fs/utils

  Total:         1ms        1ms (flat, cum) 0.013%
    463          1ms        1ms           ??? 

Stats

node:internal/fs/utils

  Total:           0        1ms (flat, cum) 0.013%
    498            .        1ms           ??? 

getStatsFromBinding

node:internal/fs/utils

  Total:           0        1ms (flat, cum) 0.013%
    533            .        1ms           ??? 

(anonymous)

node:internal/fs/utils

  Total:         2ms        5ms (flat, cum) 0.065%
    671          2ms        3ms           ??? 
    683            .        2ms           ??? 

getOwn

node:internal/bootstrap/loaders

  Total:         2ms        3ms (flat, cum) 0.039%
    187          2ms        3ms           ??? 

compileForPublicLoader

node:internal/bootstrap/loaders

  Total:         1ms       15ms (flat, cum)   0.2%
    263          1ms       15ms           ??? 

getESMFacade

node:internal/bootstrap/loaders

  Total:           0        2ms (flat, cum) 0.026%
    281            .        2ms           ??? 

(anonymous)

node:internal/bootstrap/loaders

  Total:           0        2ms (flat, cum) 0.026%
    290            .        2ms           ??? 

syncExports

node:internal/bootstrap/loaders

  Total:         3ms        6ms (flat, cum) 0.078%
    304          3ms        6ms           ??? 

compileForInternalLoader

node:internal/bootstrap/loaders

  Total:         3ms       20ms (flat, cum)  0.26%
    316          3ms       20ms           ??? 

nativeModuleRequire

node:internal/bootstrap/loaders

  Total:         1ms       13ms (flat, cum)  0.17%
    349          1ms       13ms           ??? 

code

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/vocabularies/core/ref.js

  Total:         1ms      3.98s (flat, cum) 51.92%
      8            .          .           const compile_1 = require("../../compile"); 
      9            .          .           const util_1 = require("../../compile/util"); 
     10            .          .           const def = { 
     11            .          .               keyword: "$ref", 
     12            .          .               schemaType: "string", 
     13          1ms      3.98s               code(cxt) { 
     14            .          .                   const { gen, schema: $ref, it } = cxt; 
     15            .          .                   const { baseId, schemaEnv: env, validateName, opts, self } = it; 
     16            .          .                   const { root } = env; 
     17            .          .                   if (($ref === "#" || $ref === "#/") && baseId === root.baseId) 
     18            .          .                       return callRootRef(); 

callRootRef

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/vocabularies/core/ref.js

  Total:           0        2ms (flat, cum) 0.026%
     20            .          .                   if (schOrEnv === undefined) 
     21            .          .                       throw new ref_error_1.default(baseId, $ref); 
     22            .          .                   if (schOrEnv instanceof compile_1.SchemaEnv) 
     23            .          .                       return callValidate(schOrEnv); 
     24            .          .                   return inlineRefSchema(schOrEnv); 
     25            .        2ms                   function callRootRef() { 
     26            .          .                       if (env === root) 
     27            .          .                           return callRef(cxt, validateName, env, env.$async); 

callValidate

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/vocabularies/core/ref.js

  Total:         1ms       24ms (flat, cum)  0.31%
     29            .          .                       return callRef(cxt, codegen_1._ `${rootName}.validate`, root, root.$async); 
     30            .          .                   } 
     31          1ms       24ms                   function callValidate(sch) { 
     32            .          .                       const v = getValidate(cxt, sch); 

inlineRefSchema

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/vocabularies/core/ref.js

  Total:         1ms       22ms (flat, cum)  0.29%
     34            .          .                   } 
     35          1ms       22ms                   function inlineRefSchema(sch) { 
     36            .          .                       const schName = gen.scopeValue("schema", opts.code.source === true ? { ref: sch, code: codegen_1.stringify(sch) } : { ref: sch }); 
     37            .          .                       const valid = gen.name("valid"); 
     38            .          .                       const schCxt = cxt.subschema({ 
     39            .          .                           schema: sch, 
     40            .          .                           dataTypes: [], 

getValidate

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/vocabularies/core/ref.js

  Total:         1ms        5ms (flat, cum) 0.065%
     45            .          .                       cxt.mergeEvaluated(schCxt); 
     46            .          .                       cxt.ok(valid); 
     47            .          .                   } 
     48            .          .               }, 
     49            .          .           }; 
     50          1ms        5ms           function getValidate(cxt, sch) { 
     51            .          .               const { gen } = cxt; 
     52            .          .               return sch.validate 
     53            .          .                   ? gen.scopeValue("validate", { ref: sch.validate }) 

callRef

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/vocabularies/core/ref.js

  Total:           0       20ms (flat, cum)  0.26%
     54            .          .                   : codegen_1._ `${gen.scopeValue("wrapper", { ref: sch })}.validate`; 
     55            .          .           } 
     56            .          .           exports.getValidate = getValidate; 
     57            .       20ms           function callRef(cxt, v, sch, $async) { 
     58            .          .               const { gen, it } = cxt; 
     59            .          .               const { allErrors, schemaEnv: env, opts } = it; 
     60            .          .               const passCxt = opts.passContext ? names_1.default.this : codegen_1.nil; 
     61            .          .               if ($async) 
     62            .          .                   callAsyncRef(); 

callSyncRef

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/vocabularies/core/ref.js

  Total:         4ms       20ms (flat, cum)  0.26%
     77            .          .                       if (!allErrors) 
     78            .          .                           gen.assign(valid, false); 
     79            .          .                   }); 
     80            .          .                   cxt.ok(valid); 
     81            .          .               } 
     82          4ms       20ms               function callSyncRef() { 

(anonymous)

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/vocabularies/core/ref.js

  Total:         1ms        3ms (flat, cum) 0.039%
     83          1ms        3ms                   cxt.result(code_1.callValidateCode(cxt, v, passCxt), () => addEvaluatedFrom(v), () => addErrorsFrom(v)); 

addErrorsFrom

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/vocabularies/core/ref.js

  Total:         1ms        2ms (flat, cum) 0.026%
     85          1ms        2ms               function addErrorsFrom(source) { 
     86            .          .                   const errs = codegen_1._ `${source}.errors`; 
     87            .          .                   gen.assign(names_1.default.vErrors, codegen_1._ `${names_1.default.vErrors} === null ? ${errs} : ${names_1.default.vErrors}.concat(${errs})`); // TODO tagged 
     88            .          .                   gen.assign(names_1.default.errors, codegen_1._ `${names_1.default.vErrors}.length`); 
     89            .          .               } 
     90            .          .               function addEvaluatedFrom(source) { 

copy

/srv/function-orchestrator/node_modules/ajv/lib/compile/util.js

  Total:         1ms        1ms (flat, cum) 0.013%
     25            .          .             escapeFragment: escapeFragment, 
     26            .          .             escapeJsonPointer: escapeJsonPointer 
     27            .          .           }; 
     28            .          .            
     29            .          .            
     30          1ms        1ms           function copy(o, to) { 
     31            .          .             to = to || {}; 
     32            .          .             for (var key in o) to[key] = o[key]; 
     33            .          .             return to; 
     34            .          .           } 
     35            .          .            

getProperty

/srv/function-orchestrator/node_modules/ajv/lib/compile/util.js

  Total:           0        1ms (flat, cum) 0.013%
    103            .          .           } 
    104            .          .            
    105            .          .            
    106            .          .           var IDENTIFIER = /^[a-z$_][a-z$_0-9]*$/i; 
    107            .          .           var SINGLE_QUOTE = /'|\\/g; 
    108            .        1ms           function getProperty(key) { 
    109            .          .             return typeof key == 'number' 
    110            .          .                     ? '[' + key + ']' 
    111            .          .                     : IDENTIFIER.test(key) 
    112            .          .                       ? '.' + key 

escapeQuotes

/srv/function-orchestrator/node_modules/ajv/lib/compile/util.js

  Total:         2ms        2ms (flat, cum) 0.026%
    113            .          .                       : "['" + escapeQuotes(key) + "']"; 
    114            .          .           } 
    115            .          .            
    116            .          .            
    117          2ms        2ms           function escapeQuotes(str) { 
    118            .          .             return str.replace(SINGLE_QUOTE, '\\$&') 
    119            .          .                       .replace(/\n/g, '\\n') 
    120            .          .                       .replace(/\r/g, '\\r') 
    121            .          .                       .replace(/\f/g, '\\f') 

varOccurences

/srv/function-orchestrator/node_modules/ajv/lib/compile/util.js

  Total:         2ms        2ms (flat, cum) 0.026%
    122            .          .                       .replace(/\t/g, '\\t'); 
    123            .          .           } 
    124            .          .            
    125            .          .            
    126          2ms        2ms           function varOccurences(str, dataVar) { 
    127            .          .             dataVar += '[^0-9]'; 
    128            .          .             var matches = str.match(new RegExp(dataVar, 'g')); 
    129            .          .             return matches ? matches.length : 0; 

varReplace

/srv/function-orchestrator/node_modules/ajv/lib/compile/util.js

  Total:         1ms        1ms (flat, cum) 0.013%
    130            .          .           } 
    131            .          .            
    132            .          .            
    133          1ms        1ms           function varReplace(str, dataVar, expr) { 
    134            .          .             dataVar += '([^0-9])'; 
    135            .          .             expr = expr.replace(/\$/g, '$$$$'); 
    136            .          .             return str.replace(new RegExp(dataVar, 'g'), expr + '$1'); 
    137            .          .           } 
    138            .          .            

toQuotedString

/srv/function-orchestrator/node_modules/ajv/lib/compile/util.js

  Total:         3ms        4ms (flat, cum) 0.052%
    153            .          .             if (typeof schema == 'boolean') return; 
    154            .          .             for (var key in schema) if (!rules[key]) return key; 
    155            .          .           } 
    156            .          .            
    157            .          .            
    158          3ms        4ms           function toQuotedString(str) { 
    159            .          .             return '\'' + escapeQuotes(str) + '\''; 
    160            .          .           } 
    161            .          .            
    162            .          .            
    163            .          .           function getPathExpr(currentPath, expr, jsonPointers, isNumber) { 

getPath

/srv/function-orchestrator/node_modules/ajv/lib/compile/util.js

  Total:           0        1ms (flat, cum) 0.013%
    166            .          .                         : (isNumber ? '\'[\' + ' + expr + ' + \']\'' : '\'[\\\'\' + ' + expr + ' + \'\\\']\''); 
    167            .          .             return joinPaths(currentPath, path); 
    168            .          .           } 
    169            .          .            
    170            .          .            
    171            .        1ms           function getPath(currentPath, prop, jsonPointers) { 
    172            .          .             var path = jsonPointers // false by default 
    173            .          .                         ? toQuotedString('/' + escapeJsonPointer(prop)) 
    174            .          .                         : toQuotedString(getProperty(prop)); 
    175            .          .             return joinPaths(currentPath, path); 
    176            .          .           } 

escapeFragment

/srv/function-orchestrator/node_modules/ajv/lib/compile/util.js

  Total:         1ms        1ms (flat, cum) 0.013%
    222            .          .           function unescapeFragment(str) { 
    223            .          .             return unescapeJsonPointer(decodeURIComponent(str)); 
    224            .          .           } 
    225            .          .            
    226            .          .            
    227          1ms        1ms           function escapeFragment(str) { 
    228            .          .             return encodeURIComponent(escapeJsonPointer(str)); 
    229            .          .           } 
    230            .          .            
    231            .          .            
    232            .          .           function escapeJsonPointer(str) { 

(anonymous)

/srv/function-orchestrator/node_modules/lodash/lodash.js

  Total:           0       20ms (flat, cum)  0.26%
      1            .       10ms           /** 
      2            .          .            * @license 
      3            .          .            * Lodash <https://lodash.com/> 
      4            .          .            * Copyright OpenJS Foundation and other contributors <https://openjsf.org/> 
      5            .          .            * Released under MIT license <https://lodash.com/license> 
      6            .          .            * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE> 
      7            .          .            * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors 
      8            .          .            */ 
      9            .       10ms           ;(function() { 
     10            .          .            
     11            .          .             /** Used as a safe reference for `undefined` in pre-ES5 environments. */ 
     12            .          .             var undefined; 
     13            .          .            
     14            .          .             /** Used as the semantic version number. */ 

arrayEach

/srv/function-orchestrator/node_modules/lodash/lodash.js

  Total:           0        3ms (flat, cum) 0.039%
    520            .          .              * @private 
    521            .          .              * @param {Array} [array] The array to iterate over. 
    522            .          .              * @param {Function} iteratee The function invoked per iteration. 
    523            .          .              * @returns {Array} Returns `array`. 
    524            .          .              */ 
    525            .        3ms             function arrayEach(array, iteratee) { 
    526            .          .               var index = -1, 
    527            .          .                   length = array == null ? 0 : array.length; 
    528            .          .            
    529            .          .               while (++index < length) { 
    530            .          .                 if (iteratee(array[index], index, array) === false) { 

runInContext

/srv/function-orchestrator/node_modules/lodash/lodash.js

  Total:         2ms       10ms (flat, cum)  0.13%
   1443            .          .              * // => true 
   1444            .          .              * 
   1445            .          .              * // Create a suped-up `defer` in Node.js. 
   1446            .          .              * var defer = _.runInContext({ 'setTimeout': setImmediate }).defer; 
   1447            .          .              */ 
   1448          2ms       10ms             var runInContext = (function runInContext(context) { 
   1449            .          .               context = context == null ? root : _.defaults(root.Object(), context, _.pick(root, contextProps)); 
   1450            .          .            
   1451            .          .               /** Built-in constructor references. */ 
   1452            .          .               var Array = context.Array, 
   1453            .          .                   Date = context.Date, 

MapCache

/srv/function-orchestrator/node_modules/lodash/lodash.js

  Total:         1ms        1ms (flat, cum) 0.013%
   2162            .          .                * 
   2163            .          .                * @private 
   2164            .          .                * @constructor 
   2165            .          .                * @param {Array} [entries] The key-value pairs to cache. 
   2166            .          .                */ 
   2167          1ms        1ms               function MapCache(entries) { 
   2168            .          .                 var index = -1, 
   2169            .          .                     length = entries == null ? 0 : entries.length; 
   2170            .          .            
   2171            .          .                 this.clear(); 
   2172            .          .                 while (++index < length) { 

baseForOwn

/srv/function-orchestrator/node_modules/lodash/lodash.js

  Total:         1ms        3ms (flat, cum) 0.039%
   3026            .          .                * @private 
   3027            .          .                * @param {Object} object The object to iterate over. 
   3028            .          .                * @param {Function} iteratee The function invoked per iteration. 
   3029            .          .                * @returns {Object} Returns `object`. 
   3030            .          .                */ 
   3031          1ms        3ms               function baseForOwn(object, iteratee) { 
   3032            .          .                 return object && baseFor(object, iteratee, keys); 
   3033            .          .               } 
   3034            .          .            
   3035            .          .               /** 
   3036            .          .                * The base implementation of `_.forOwnRight` without support for iteratee shorthands. 

(anonymous)

/srv/function-orchestrator/node_modules/lodash/lodash.js

  Total:         1ms        2ms (flat, cum) 0.026%
   4954            .          .                * @private 
   4955            .          .                * @param {boolean} [fromRight] Specify iterating from right to left. 
   4956            .          .                * @returns {Function} Returns the new base function. 
   4957            .          .                */ 
   4958            .          .               function createBaseFor(fromRight) { 
   4959          1ms        2ms                 return function(object, iteratee, keysFunc) { 
   4960            .          .                   var index = -1, 
   4961            .          .                       iterable = Object(object), 
   4962            .          .                       props = keysFunc(object), 
   4963            .          .                       length = props.length; 
   4964            .          .            

memoizeCapped

/srv/function-orchestrator/node_modules/lodash/lodash.js

  Total:           0        1ms (flat, cum) 0.013%
   6483            .          .                * 
   6484            .          .                * @private 
   6485            .          .                * @param {Function} func The function to have its output memoized. 
   6486            .          .                * @returns {Function} Returns the new memoized function. 
   6487            .          .                */ 
   6488            .        1ms               function memoizeCapped(func) { 
   6489            .          .                 var result = memoize(func, function(key) { 
   6490            .          .                   if (cache.size === MAX_MEMOIZE_SIZE) { 
   6491            .          .                     cache.clear(); 
   6492            .          .                   } 
   6493            .          .                   return key; 

memoize

/srv/function-orchestrator/node_modules/lodash/lodash.js

  Total:           0        1ms (flat, cum) 0.013%
  10603            .          .                * // => ['a', 'b'] 
  10604            .          .                * 
  10605            .          .                * // Replace `_.memoize.Cache`. 
  10606            .          .                * _.memoize.Cache = WeakMap; 
  10607            .          .                */ 
  10608            .        1ms               function memoize(func, resolver) { 
  10609            .          .                 if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) { 
  10610            .          .                   throw new TypeError(FUNC_ERROR_TEXT); 
  10611            .          .                 } 
  10612            .          .                 var memoized = function() { 
  10613            .          .                   var args = arguments, 

mixin

/srv/function-orchestrator/node_modules/lodash/lodash.js

  Total:         1ms        4ms (flat, cum) 0.052%
  15773            .          .                * 
  15774            .          .                * _.mixin({ 'vowels': vowels }, { 'chain': false }); 
  15775            .          .                * _('fred').vowels(); 
  15776            .          .                * // => ['e'] 
  15777            .          .                */ 
  15778          1ms        4ms               function mixin(object, source, options) { 
  15779            .          .                 var props = keys(source), 
  15780            .          .                     methodNames = baseFunctions(source, props); 
  15781            .          .            
  15782            .          .                 if (options == null && 
  15783            .          .                     !(isObject(source) && (methodNames.length || !props.length))) { 

(anonymous)

/srv/function-orchestrator/node_modules/lodash/lodash.js

  Total:         3ms        3ms (flat, cum) 0.039%
  15787            .          .                   methodNames = baseFunctions(source, keys(source)); 
  15788            .          .                 } 
  15789            .          .                 var chain = !(isObject(options) && 'chain' in options) || !!options.chain, 
  15790            .          .                     isFunc = isFunction(object); 
  15791            .          .            
  15792          3ms        3ms                 arrayEach(methodNames, function(methodName) { 
  15793            .          .                   var func = source[methodName]; 
  15794            .          .                   object[methodName] = func; 
  15795            .          .                   if (isFunc) { 
  15796            .          .                     object.prototype[methodName] = function() { 
  15797            .          .                       var chainAll = this.__chain__; 

(anonymous)

/srv/function-orchestrator/node_modules/lodash/lodash.js

  Total:           0        1ms (flat, cum) 0.013%
  16934            .          .               // Add aliases. 
  16935            .          .               lodash.each = forEach; 
  16936            .          .               lodash.eachRight = forEachRight; 
  16937            .          .               lodash.first = head; 
  16938            .          .            
  16939            .        1ms               mixin(lodash, (function() { 
  16940            .          .                 var source = {}; 
  16941            .          .                 baseForOwn(lodash, function(func, methodName) { 
  16942            .          .                   if (!hasOwnProperty.call(lodash.prototype, methodName)) { 
  16943            .          .                     source[methodName] = func; 
  16944            .          .                   } 

(anonymous)

/srv/function-orchestrator/node_modules/lodash/lodash.js

  Total:         1ms        1ms (flat, cum) 0.013%
  17135            .          .                   }); 
  17136            .          .                 }; 
  17137            .          .               }); 
  17138            .          .            
  17139            .          .               // Map minified method names to their real names. 
  17140          1ms        1ms               baseForOwn(LazyWrapper.prototype, function(func, methodName) { 
  17141            .          .                 var lodashFunc = lodash[methodName]; 
  17142            .          .                 if (lodashFunc) { 
  17143            .          .                   var key = lodashFunc.name + ''; 
  17144            .          .                   if (!hasOwnProperty.call(realNames, key)) { 
  17145            .          .                     realNames[key] = []; 

(anonymous)

/srv/function-orchestrator/node_modules/mocha/node_modules/yargs-parser/build/index.cjs

  Total:         1ms        1ms (flat, cum) 0.013%
      1          1ms        1ms           'use strict'; 
      2            .          .            
      3            .          .           var util = require('util'); 
      4            .          .           var fs = require('fs'); 
      5            .          .           var path = require('path'); 
      6            .          .            

parse

/srv/function-orchestrator/node_modules/mocha/node_modules/yargs-parser/build/index.cjs

  Total:         3ms        7ms (flat, cum) 0.091%
     93            .          .           let mixin; 
     94            .          .           class YargsParser { 
     95            .          .               constructor(_mixin) { 
     96            .          .                   mixin = _mixin; 
     97            .          .               } 
     98          3ms        7ms               parse(argsInput, options) { 
     99            .          .                   const opts = Object.assign({ 
    100            .          .                       alias: undefined, 
    101            .          .                       array: undefined, 
    102            .          .                       boolean: undefined, 
    103            .          .                       config: undefined, 

eatNargs

/srv/function-orchestrator/node_modules/mocha/node_modules/yargs-parser/build/index.cjs

  Total:           0        1ms (flat, cum) 0.013%
    438            .          .                       const maybeCoercedNumber = maybeCoerceNumber('_', arg); 
    439            .          .                       if (typeof maybeCoercedNumber === 'string' || typeof maybeCoercedNumber === 'number') { 
    440            .          .                           argv._.push(maybeCoercedNumber); 
    441            .          .                       } 
    442            .          .                   } 
    443            .        1ms                   function eatNargs(i, key, args, argAfterEqualSign) { 
    444            .          .                       let ii; 
    445            .          .                       let toEat = checkAllAliases(key, flags.nargs); 
    446            .          .                       toEat = typeof toEat !== 'number' || isNaN(toEat) ? 1 : toEat; 
    447            .          .                       if (toEat === 0) { 
    448            .          .                           if (!isUndefined(argAfterEqualSign)) { 

setArg

/srv/function-orchestrator/node_modules/mocha/node_modules/yargs-parser/build/index.cjs

  Total:           0        1ms (flat, cum) 0.013%
    512            .          .                           error = Error(__('Not enough arguments following: %s', key)); 
    513            .          .                       } 
    514            .          .                       setArg(key, argsToSet); 
    515            .          .                       return i; 
    516            .          .                   } 
    517            .        1ms                   function setArg(key, val) { 
    518            .          .                       if (/-/.test(key) && configuration['camel-case-expansion']) { 
    519            .          .                           const alias = key.split('.').map(function (prop) { 
    520            .          .                               return camelCase(prop); 
    521            .          .                           }).join('.'); 
    522            .          .                           addNewAlias(key, alias); 

processValue

/srv/function-orchestrator/node_modules/mocha/node_modules/yargs-parser/build/index.cjs

  Total:         1ms        1ms (flat, cum) 0.013%
    563            .          .                       } 
    564            .          .                       if (!(flags.aliases[alias] && flags.aliases[alias].length)) { 
    565            .          .                           addNewAlias(alias, key); 
    566            .          .                       } 
    567            .          .                   } 
    568          1ms        1ms                   function processValue(key, val) { 
    569            .          .                       if (typeof val === 'string' && 
    570            .          .                           (val[0] === "'" || val[0] === '"') && 
    571            .          .                           val[val.length - 1] === val[0]) { 
    572            .          .                           val = val.substring(1, val.length - 1); 
    573            .          .                       } 

setConfig

/srv/function-orchestrator/node_modules/mocha/node_modules/yargs-parser/build/index.cjs

  Total:         1ms        1ms (flat, cum) 0.013%
    598            .          .                               value = Number(value); 
    599            .          .                           } 
    600            .          .                       } 
    601            .          .                       return value; 
    602            .          .                   } 
    603          1ms        1ms                   function setConfig(argv) { 
    604            .          .                       const configLookup = Object.create(null); 
    605            .          .                       applyDefaultsAndAliases(configLookup, flags.aliases, defaults); 
    606            .          .                       Object.keys(flags.configs).forEach(function (configKey) { 
    607            .          .                           const configPath = argv[configKey] || configLookup[configKey]; 
    608            .          .                           if (configPath) { 

applyDefaultsAndAliases

/srv/function-orchestrator/node_modules/mocha/node_modules/yargs-parser/build/index.cjs

  Total:           0        1ms (flat, cum) 0.013%
    704            .          .                           if (typeof argv[key] === 'undefined') 
    705            .          .                               argv[key] = undefined; 
    706            .          .                       }); 
    707            .          .                       return argv; 
    708            .          .                   } 
    709            .        1ms                   function applyDefaultsAndAliases(obj, aliases, defaults, canLog = false) { 

(anonymous)

/srv/function-orchestrator/node_modules/mocha/node_modules/yargs-parser/build/index.cjs

  Total:         1ms        1ms (flat, cum) 0.013%
    710          1ms        1ms                       Object.keys(defaults).forEach(function (key) { 
    711            .          .                           if (!hasKey(obj, key.split('.'))) { 
    712            .          .                               setKey(obj, key.split('.'), defaults[key]); 
    713            .          .                               if (canLog) 
    714            .          .                                   defaulted[key] = true; 
    715            .          .                               (aliases[key] || []).forEach(function (x) { 

extendAliases

/srv/function-orchestrator/node_modules/mocha/node_modules/yargs-parser/build/index.cjs

  Total:           0        1ms (flat, cum) 0.013%
    789            .          .                       } 
    790            .          .                       else { 
    791            .          .                           o[key] = value; 
    792            .          .                       } 
    793            .          .                   } 
    794            .        1ms                   function extendAliases(...args) { 

(anonymous)

/srv/function-orchestrator/node_modules/mocha/node_modules/yargs-parser/build/index.cjs

  Total:         1ms        1ms (flat, cum) 0.013%
    795          1ms        1ms                       args.forEach(function (obj) { 
    796            .          .                           Object.keys(obj || {}).forEach(function (key) { 
    797            .          .                               if (flags.aliases[key]) 
    798            .          .                                   return; 
    799            .          .                               flags.aliases[key] = [].concat(aliases[key] || []); 
    800            .          .                               flags.aliases[key].concat(key).forEach(function (x) { 

yargsParser.detailed

/srv/function-orchestrator/node_modules/mocha/node_modules/yargs-parser/build/index.cjs

  Total:           0        7ms (flat, cum) 0.091%
   1014            .          .           }); 
   1015            .          .           const yargsParser = function Parser(args, opts) { 
   1016            .          .               const result = parser.parse(args.slice(), opts); 
   1017            .          .               return result.argv; 
   1018            .          .           }; 
   1019            .        7ms           yargsParser.detailed = function (args, opts) { 
   1020            .          .               return parser.parse(args.slice(), opts); 
   1021            .          .           }; 
   1022            .          .           yargsParser.camelCase = camelCase; 
   1023            .          .           yargsParser.decamelize = decamelize; 
   1024            .          .           yargsParser.looksLikeNumber = looksLikeNumber; 

getSchemaTypes

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/validate/dataType.js

  Total:         3ms        4ms (flat, cum) 0.052%
      9            .          .           var DataType; 
     10            .          .           (function (DataType) { 
     11            .          .               DataType[DataType["Correct"] = 0] = "Correct"; 
     12            .          .               DataType[DataType["Wrong"] = 1] = "Wrong"; 
     13            .          .           })(DataType = exports.DataType || (exports.DataType = {})); 
     14          3ms        4ms           function getSchemaTypes(schema) { 
     15            .          .               const types = getJSONTypes(schema.type); 
     16            .          .               const hasNull = types.includes("null"); 
     17            .          .               if (hasNull) { 
     18            .          .                   if (schema.nullable === false) 
     19            .          .                       throw new Error("type: null contradicts nullable: false"); 

getJSONTypes

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/validate/dataType.js

  Total:         1ms        1ms (flat, cum) 0.013%
     26            .          .                       types.push("null"); 
     27            .          .               } 
     28            .          .               return types; 
     29            .          .           } 
     30            .          .           exports.getSchemaTypes = getSchemaTypes; 
     31          1ms        1ms           function getJSONTypes(ts) { 
     32            .          .               const types = Array.isArray(ts) ? ts : ts ? [ts] : []; 
     33            .          .               if (types.every(rules_1.isJSONType)) 
     34            .          .                   return types; 

coerceAndCheckDataType

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/validate/dataType.js

  Total:           0       11ms (flat, cum)  0.14%
     35            .          .               throw new Error("type must be JSONType or JSONType[]: " + types.join(",")); 
     36            .          .           } 
     37            .          .           exports.getJSONTypes = getJSONTypes; 
     38            .       11ms           function coerceAndCheckDataType(it, types) { 
     39            .          .               const { gen, data, opts } = it; 
     40            .          .               const coerceTo = coerceToTypes(types, opts.coerceTypes); 
     41            .          .               const checkTypes = types.length > 0 && 

(anonymous)

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/validate/dataType.js

  Total:           0        8ms (flat, cum)   0.1%
     42            .          .                   !(coerceTo.length === 0 && types.length === 1 && applicability_1.schemaHasRulesForType(it, types[0])); 
     43            .          .               if (checkTypes) { 
     44            .          .                   const wrongType = checkDataTypes(types, data, opts.strictNumbers, DataType.Wrong); 
     45            .        8ms                   gen.if(wrongType, () => { 
     46            .          .                       if (coerceTo.length) 
     47            .          .                           coerceData(it, types, coerceTo); 
     48            .          .                       else 
     49            .          .                           reportTypeError(it); 
     50            .          .                   }); 

checkDataType

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/validate/dataType.js

  Total:         1ms        1ms (flat, cum) 0.013%
    123            .          .           } 
    124            .          .           function assignParentData({ gen, parentData, parentDataProperty }, expr) { 
    125            .          .               // TODO use gen.property 
    126            .          .               gen.if(codegen_1._ `${parentData} !== undefined`, () => gen.assign(codegen_1._ `${parentData}[${parentDataProperty}]`, expr)); 
    127            .          .           } 
    128          1ms        1ms           function checkDataType(dataType, data, strictNums, correct = DataType.Correct) { 
    129            .          .               const EQ = correct === DataType.Correct ? codegen_1.operators.EQ : codegen_1.operators.NEQ; 
    130            .          .               let cond; 
    131            .          .               switch (dataType) { 
    132            .          .                   case "null": 
    133            .          .                       return codegen_1._ `${data} ${EQ} null`; 

checkDataTypes

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/validate/dataType.js

  Total:           0        1ms (flat, cum) 0.013%
    150            .          .               function numCond(_cond = codegen_1.nil) { 
    151            .          .                   return codegen_1.and(codegen_1._ `typeof ${data} == "number"`, _cond, strictNums ? codegen_1._ `isFinite(${data})` : codegen_1.nil); 
    152            .          .               } 
    153            .          .           } 
    154            .          .           exports.checkDataType = checkDataType; 
    155            .        1ms           function checkDataTypes(dataTypes, data, strictNums, correct) { 
    156            .          .               if (dataTypes.length === 1) { 
    157            .          .                   return checkDataType(dataTypes[0], data, strictNums, correct); 
    158            .          .               } 
    159            .          .               let cond; 
    160            .          .               const types = util_1.toHash(dataTypes); 

message

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/validate/dataType.js

  Total:         1ms        1ms (flat, cum) 0.013%
    174            .          .                   cond = codegen_1.and(cond, checkDataType(t, data, strictNums, correct)); 
    175            .          .               return cond; 
    176            .          .           } 
    177            .          .           exports.checkDataTypes = checkDataTypes; 
    178            .          .           const typeError = { 
    179          1ms        1ms               message: ({ schema }) => `must be ${schema}`, 
    180            .          .               params: ({ schema, schemaValue }) => typeof schema == "string" ? codegen_1._ `{type: ${schema}}` : codegen_1._ `{type: ${schemaValue}}`, 

reportTypeError

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/validate/dataType.js

  Total:         1ms       18ms (flat, cum)  0.23%
    181            .          .           }; 
    182          1ms       18ms           function reportTypeError(it) { 
    183            .          .               const cxt = getTypeErrorContext(it); 
    184            .          .               errors_1.reportError(cxt, typeError); 

getTypeErrorContext

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/compile/validate/dataType.js

  Total:         1ms        1ms (flat, cum) 0.013%
    185            .          .           } 
    186            .          .           exports.reportTypeError = reportTypeError; 
    187          1ms        1ms           function getTypeErrorContext(it) { 
    188            .          .               const { gen, data, schema } = it; 
    189            .          .               const schemaCode = util_1.schemaRefOrVal(it, schema, "type"); 
    190            .          .               return { 
    191            .          .                   gen, 
    192            .          .                   keyword: "type", 

camelCase

/srv/function-orchestrator/node_modules/yargs-parser/build/index.cjs

  Total:         1ms        1ms (flat, cum) 0.013%
      2            .          .            
      3            .          .           var util = require('util'); 
      4            .          .           var fs = require('fs'); 
      5            .          .           var path = require('path'); 
      6            .          .            
      7          1ms        1ms           function camelCase(str) { 
      8            .          .               const isCamelCase = str !== str.toLowerCase() && str !== str.toUpperCase(); 
      9            .          .               if (!isCamelCase) { 
     10            .          .                   str = str.toLowerCase(); 
     11            .          .               } 
     12            .          .               if (str.indexOf('-') === -1 && str.indexOf('_') === -1) { 

decamelize

/srv/function-orchestrator/node_modules/yargs-parser/build/index.cjs

  Total:         1ms        1ms (flat, cum) 0.013%
     30            .          .                       } 
     31            .          .                   } 
     32            .          .                   return camelcase; 
     33            .          .               } 
     34            .          .           } 
     35          1ms        1ms           function decamelize(str, joinString) { 
     36            .          .               const lowercase = str.toLowerCase(); 
     37            .          .               joinString = joinString || '-'; 
     38            .          .               let notCamelcase = ''; 
     39            .          .               for (let i = 0; i < str.length; i++) { 
     40            .          .                   const chrLower = lowercase.charAt(i); 

parse

/srv/function-orchestrator/node_modules/yargs-parser/build/index.cjs

  Total:         3ms        7ms (flat, cum) 0.091%
    103            .          .           let mixin; 
    104            .          .           class YargsParser { 
    105            .          .               constructor(_mixin) { 
    106            .          .                   mixin = _mixin; 
    107            .          .               } 
    108          3ms        7ms               parse(argsInput, options) { 
    109            .          .                   const opts = Object.assign({ 
    110            .          .                       alias: undefined, 
    111            .          .                       array: undefined, 
    112            .          .                       boolean: undefined, 
    113            .          .                       config: undefined, 

setArg

/srv/function-orchestrator/node_modules/yargs-parser/build/index.cjs

  Total:           0        3ms (flat, cum) 0.039%
    527            .          .                           error = Error(__('Not enough arguments following: %s', key)); 
    528            .          .                       } 
    529            .          .                       setArg(key, argsToSet); 
    530            .          .                       return i; 
    531            .          .                   } 
    532            .        3ms                   function setArg(key, val) { 

(anonymous)

/srv/function-orchestrator/node_modules/yargs-parser/build/index.cjs

  Total:           0        1ms (flat, cum) 0.013%
    534            .        1ms                           const alias = key.split('.').map(function (prop) { 
    535            .          .                               return camelCase(prop); 
    536            .          .                           }).join('.'); 
    537            .          .                           addNewAlias(key, alias); 
    538            .          .                       } 
    539            .          .                       const value = processValue(key, val); 

processValue

/srv/function-orchestrator/node_modules/yargs-parser/build/index.cjs

  Total:           0        1ms (flat, cum) 0.013%
    578            .          .                       } 
    579            .          .                       if (!(flags.aliases[alias] && flags.aliases[alias].length)) { 
    580            .          .                           addNewAlias(alias, key); 
    581            .          .                       } 
    582            .          .                   } 
    583            .        1ms                   function processValue(key, val) { 
    584            .          .                       if (typeof val === 'string' && 
    585            .          .                           (val[0] === "'" || val[0] === '"') && 
    586            .          .                           val[val.length - 1] === val[0]) { 
    587            .          .                           val = val.substring(1, val.length - 1); 
    588            .          .                       } 

setConfigObject

/srv/function-orchestrator/node_modules/yargs-parser/build/index.cjs

  Total:           0        3ms (flat, cum) 0.039%
    649            .          .                                       error = Error(__('Invalid JSON config file: %s', configPath)); 
    650            .          .                               } 
    651            .          .                           } 
    652            .          .                       }); 
    653            .          .                   } 
    654            .        3ms                   function setConfigObject(config, prev) { 

(anonymous)

/srv/function-orchestrator/node_modules/yargs-parser/build/index.cjs

  Total:           0        3ms (flat, cum) 0.039%
    655            .        3ms                       Object.keys(config).forEach(function (key) { 
    656            .          .                           const value = config[key]; 
    657            .          .                           const fullKey = prev ? prev + '.' + key : key; 
    658            .          .                           if (typeof value === 'object' && value !== null && !Array.isArray(value) && configuration['dot-notation']) { 
    659            .          .                               setConfigObject(value, fullKey); 
    660            .          .                           } 

setConfigObjects

/srv/function-orchestrator/node_modules/yargs-parser/build/index.cjs

  Total:           0        3ms (flat, cum) 0.039%
    663            .          .                                   setArg(fullKey, value); 
    664            .          .                               } 
    665            .          .                           } 
    666            .          .                       }); 
    667            .          .                   } 
    668            .        3ms                   function setConfigObjects() { 

(anonymous)

/srv/function-orchestrator/node_modules/yargs-parser/build/index.cjs

  Total:           0        3ms (flat, cum) 0.039%
    670            .        3ms                           configObjects.forEach(function (configObject) { 
    671            .          .                               setConfigObject(configObject); 
    672            .          .                           }); 
    673            .          .                       } 
    674            .          .                   } 
    675            .          .                   function applyEnvVars(argv, configOnly) { 

setKey

/srv/function-orchestrator/node_modules/yargs-parser/build/index.cjs

  Total:         1ms        1ms (flat, cum) 0.013%
    746            .          .                       if (typeof o !== 'object') 
    747            .          .                           return false; 
    748            .          .                       else 
    749            .          .                           return key in o; 
    750            .          .                   } 
    751          1ms        1ms                   function setKey(obj, keys, value) { 
    752            .          .                       let o = obj; 
    753            .          .                       if (!configuration['dot-notation']) 
    754            .          .                           keys = [keys.join('.')]; 
    755            .          .                       keys.slice(0, -1).forEach(function (key) { 
    756            .          .                           key = sanitizeKey(key); 

extendAliases

/srv/function-orchestrator/node_modules/yargs-parser/build/index.cjs

  Total:           0        1ms (flat, cum) 0.013%
    804            .          .                       } 
    805            .          .                       else { 
    806            .          .                           o[key] = value; 
    807            .          .                       } 
    808            .          .                   } 
    809            .        1ms                   function extendAliases(...args) { 

(anonymous)

/srv/function-orchestrator/node_modules/yargs-parser/build/index.cjs

  Total:           0        3ms (flat, cum) 0.039%
    810            .        1ms                       args.forEach(function (obj) { 
    811            .        1ms                           Object.keys(obj || {}).forEach(function (key) { 
    812            .          .                               if (flags.aliases[key]) 
    813            .          .                                   return; 
    814            .          .                               flags.aliases[key] = [].concat(aliases[key] || []); 
    815            .          .                               flags.aliases[key].concat(key).forEach(function (x) { 
    816            .          .                                   if (/-/.test(x) && configuration['camel-case-expansion']) { 
    817            .          .                                       const c = camelCase(x); 
    818            .          .                                       if (c !== key && flags.aliases[key].indexOf(c) === -1) { 
    819            .          .                                           flags.aliases[key].push(c); 
    820            .          .                                           newAliases[c] = true; 
    821            .          .                                       } 
    822            .          .                                   } 
    823            .          .                               }); 
    824            .        1ms                               flags.aliases[key].concat(key).forEach(function (x) { 
    825            .          .                                   if (x.length > 1 && /[A-Z]/.test(x) && configuration['camel-case-expansion']) { 
    826            .          .                                       const c = decamelize(x, '-'); 
    827            .          .                                       if (c !== key && flags.aliases[key].indexOf(c) === -1) { 
    828            .          .                                           flags.aliases[key].push(c); 
    829            .          .                                           newAliases[c] = true; 

checkAllAliases

/srv/function-orchestrator/node_modules/yargs-parser/build/index.cjs

  Total:         1ms        1ms (flat, cum) 0.013%
    836            .          .                                   })); 
    837            .          .                               }); 
    838            .          .                           }); 
    839            .          .                       }); 
    840            .          .                   } 
    841          1ms        1ms                   function checkAllAliases(key, flag) { 
    842            .          .                       const toCheck = [].concat(flags.aliases[key] || [], key); 
    843            .          .                       const keys = Object.keys(flag); 
    844            .          .                       const setAlias = toCheck.find(key => keys.includes(key)); 
    845            .          .                       return setAlias ? flag[setAlias] : false; 
    846            .          .                   } 

yargsParser.detailed

/srv/function-orchestrator/node_modules/yargs-parser/build/index.cjs

  Total:         1ms        8ms (flat, cum)   0.1%
   1030            .          .           }); 
   1031            .          .           const yargsParser = function Parser(args, opts) { 
   1032            .          .               const result = parser.parse(args.slice(), opts); 
   1033            .          .               return result.argv; 
   1034            .          .           }; 
   1035          1ms        8ms           yargsParser.detailed = function (args, opts) { 
   1036            .          .               return parser.parse(args.slice(), opts); 
   1037            .          .           }; 
   1038            .          .           yargsParser.camelCase = camelCase; 
   1039            .          .           yargsParser.decamelize = decamelize; 
   1040            .          .           yargsParser.looksLikeNumber = looksLikeNumber; 

tryStatSync

node:internal/modules/esm/resolve

  Total:           0        1ms (flat, cum) 0.013%
    164            .        1ms           ??? 

getPackageConfig

node:internal/modules/esm/resolve

  Total:         1ms        1ms (flat, cum) 0.013%
    172          1ms        1ms           ??? 

getPackageScopeConfig

node:internal/modules/esm/resolve

  Total:           0        2ms (flat, cum) 0.026%
    228            .        2ms           ??? 

finalizeResolution

node:internal/modules/esm/resolve

  Total:         1ms        2ms (flat, cum) 0.026%
    371          1ms        2ms           ??? 

resolvePackageTargetString

node:internal/modules/esm/resolve

  Total:         4ms        5ms (flat, cum) 0.065%
    474          4ms        5ms           ??? 

resolvePackageTarget

node:internal/modules/esm/resolve

  Total:           0       12ms (flat, cum)  0.16%
    542            .       12ms           ??? 

packageExportsResolve

node:internal/modules/esm/resolve

  Total:           0        5ms (flat, cum) 0.065%
    648            .        5ms           ??? 

getPackageType

node:internal/modules/esm/resolve

  Total:         1ms        3ms (flat, cum) 0.039%
    804          1ms        3ms           ??? 

moduleResolve

node:internal/modules/esm/resolve

  Total:           0        2ms (flat, cum) 0.026%
    943            .        2ms           ??? 

defaultResolve

node:internal/modules/esm/resolve

  Total:         1ms        6ms (flat, cum) 0.078%
   1083          1ms        6ms           ??? 

checkMissingProp

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/vocabularies/code.js

  Total:           0        2ms (flat, cum) 0.026%
     10            .          .                   cxt.setParams({ missingProperty: codegen_1._ `${prop}` }, true); 
     11            .          .                   cxt.error(); 
     12            .          .               }); 
     13            .          .           } 
     14            .          .           exports.checkReportMissingProp = checkReportMissingProp; 
     15            .        2ms           function checkMissingProp({ gen, data, it: { opts } }, properties, missing) { 

(anonymous)

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/vocabularies/code.js

  Total:         1ms        2ms (flat, cum) 0.026%
     16          1ms        2ms               return codegen_1.or(...properties.map((prop) => codegen_1.and(noPropertyInData(gen, data, prop, opts.ownProperties), codegen_1._ `${missing} = ${prop}`))); 
     17            .          .           } 

reportMissingProp

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/vocabularies/code.js

  Total:           0        4ms (flat, cum) 0.052%
     18            .          .           exports.checkMissingProp = checkMissingProp; 
     19            .        4ms           function reportMissingProp(cxt, missing) { 
     20            .          .               cxt.setParams({ missingProperty: missing }, true); 
     21            .          .               cxt.error(); 
     22            .          .           } 
     23            .          .           exports.reportMissingProp = reportMissingProp; 
     24            .          .           function hasPropFunc(gen) { 

allSchemaProperties

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/vocabularies/code.js

  Total:         1ms        1ms (flat, cum) 0.013%
     41            .          .           function noPropertyInData(gen, data, property, ownProperties) { 
     42            .          .               const cond = codegen_1._ `${data}${codegen_1.getProperty(property)} === undefined`; 
     43            .          .               return ownProperties ? codegen_1.or(cond, codegen_1.not(isOwnProperty(gen, data, property))) : cond; 
     44            .          .           } 
     45            .          .           exports.noPropertyInData = noPropertyInData; 
     46          1ms        1ms           function allSchemaProperties(schemaMap) { 
     47            .          .               return schemaMap ? Object.keys(schemaMap).filter((p) => p !== "__proto__") : []; 
     48            .          .           } 
     49            .          .           exports.allSchemaProperties = allSchemaProperties; 

callValidateCode

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/vocabularies/code.js

  Total:         2ms        9ms (flat, cum)  0.12%
     51            .          .               return allSchemaProperties(schemaMap).filter((p) => !util_1.alwaysValidSchema(it, schemaMap[p])); 
     52            .          .           } 
     53            .          .           exports.schemaProperties = schemaProperties; 
     54          2ms        9ms           function callValidateCode({ schemaCode, data, it: { gen, topSchemaRef, schemaPath, errorPath }, it }, func, context, passSchema) { 
     55            .          .               const dataAndSchema = passSchema ? codegen_1._ `${schemaCode}, ${data}, ${topSchemaRef}${schemaPath}` : data; 
     56            .          .               const valCxt = [ 
     57            .          .                   [names_1.default.instancePath, codegen_1.strConcat(names_1.default.instancePath, errorPath)], 
     58            .          .                   [names_1.default.parentData, it.parentData], 
     59            .          .                   [names_1.default.parentDataProperty, it.parentDataProperty], 

validateArray

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/vocabularies/code.js

  Total:           0        4ms (flat, cum) 0.052%
     72            .          .                   ref: new RegExp(pattern, u), 
     73            .          .                   code: codegen_1._ `new RegExp(${pattern}, ${u})`, 
     74            .          .               }); 
     75            .          .           } 
     76            .          .           exports.usePattern = usePattern; 
     77            .        4ms           function validateArray(cxt) { 
     78            .          .               const { gen, data, keyword, it } = cxt; 
     79            .          .               const valid = gen.name("valid"); 
     80            .          .               if (it.allErrors) { 
     81            .          .                   const validArr = gen.let("valid", true); 
     82            .          .                   validateItems(() => gen.assign(validArr, false)); 

validateItems

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/vocabularies/code.js

  Total:           0        4ms (flat, cum) 0.052%
     83            .          .                   return validArr; 
     84            .          .               } 
     85            .          .               gen.var(valid, true); 
     86            .          .               validateItems(() => gen.break()); 
     87            .          .               return valid; 
     88            .        4ms               function validateItems(notValid) { 

(anonymous)

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/vocabularies/code.js

  Total:           0        4ms (flat, cum) 0.052%
     90            .        4ms                   gen.forRange("i", 0, len, (i) => { 
     91            .          .                       cxt.subschema({ 
     92            .          .                           keyword, 
     93            .          .                           dataProp: i, 
     94            .          .                           dataPropType: util_1.Type.Num, 
     95            .          .                       }, valid); 

validateUnion

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/vocabularies/code.js

  Total:         1ms      1.43s (flat, cum) 18.66%
     96            .          .                       gen.if(codegen_1.not(valid), notValid); 
     97            .          .                   }); 
     98            .          .               } 
     99            .          .           } 
    100            .          .           exports.validateArray = validateArray; 
    101          1ms      1.43s           function validateUnion(cxt) { 
    102            .          .               const { gen, schema, keyword, it } = cxt; 
    103            .          .               /* istanbul ignore if */ 

(anonymous)

/srv/function-orchestrator/function-schemata/node_modules/ajv/dist/vocabularies/code.js

  Total:         2ms      2.87s (flat, cum) 37.41%
    104            .          .               if (!Array.isArray(schema)) 
    105            .          .                   throw new Error("ajv implementation error"); 
    106            .        1ms               const alwaysValid = schema.some((sch) => util_1.alwaysValidSchema(it, sch)); 
    107            .          .               if (alwaysValid && !it.opts.unevaluated) 
    108            .          .                   return; 
    109            .          .               const valid = gen.let("valid", false); 
    110            .          .               const schValid = gen.name("_valid"); 
    111          1ms      2.86s               gen.block(() => schema.forEach((_sch, i) => { 
    112            .          .                   const schCxt = cxt.subschema({ 
    113            .          .                       keyword, 
    114            .          .                       schemaProp: i, 
    115            .          .                       compositeRule: true, 
    116            .          .                   }, schValid); 
    117            .          .                   gen.assign(valid, codegen_1._ `${valid} || ${schValid}`); 
    118            .          .                   const merged = cxt.mergeValidEvaluated(schCxt, schValid); 
    119            .          .                   // can short-circuit if `unevaluatedProperties/Items` not supported (opts.unevaluated !== true) 
    120            .          .                   // or if all properties and items were evaluated (it.props === true && it.items === true) 
    121            .          .                   if (!merged) 
    122            .          .                       gen.if(codegen_1.not(valid)); 
    123            .          .               })); 
    124          1ms        6ms               cxt.result(valid, () => cxt.reset(), () => cxt.error(true)); 
    125            .          .           } 
    126            .          .           exports.validateUnion = validateUnion; 
    127            .          .           //# sourceMappingURL=code.js.map