MCPcopy Create free account
hub / github.com/ORCID/orcid-angular / y

Function y

scripts/new-relic.runtime.js:2639–2675  ·  view source on GitHub ↗
(r, n, i)

Source from the content-addressed store, hash-verified

2637 p() || (a[e] = t)
2638 },
2639 y = (r, n, i) => {
2640 if (p() && r !== ee) return
2641 const a = (0, o.t)()
2642 ;(0, s.p)(
2643 O.xV,
2644 ['API/register/'.concat(r.name, '/called')],
2645 void 0,
2646 t.K7.metrics,
2647 e.ee
2648 )
2649 try {
2650 if (e.init.api.duplicate_registered_data && r !== ee) {
2651 let e = n
2652 if (n[1] instanceof Object) {
2653 const t = { 'child.id': i.id, 'child.type': i.type }
2654 e =
2655 'customAttributes' in n[1]
2656 ? [
2657 n[0],
2658 {
2659 ...n[1],
2660 customAttributes: {
2661 ...n[1].customAttributes,
2662 ...t,
2663 },
2664 },
2665 ...n.slice(2),
2666 ]
2667 : [n[0], { ...n[1], ...t }, ...n.slice(2)]
2668 }
2669 r(...e, void 0, a)
2670 }
2671 return r(...n, i, a)
2672 } catch (e) {
2673 ;(0, h.R)(50, e)
2674 }
2675 }
2676 return f
2677 }
2678 class te extends y {

Callers 2

eeFunction · 0.70
leFunction · 0.70

Calls 2

pFunction · 0.85
rFunction · 0.70

Tested by

no test coverage detected