MCPcopy Create free account
hub / github.com/alignoth/alignoth / Gl

Function Gl

resources/vega-lite.min.js:4995–5015  ·  view source on GitHub ↗
(e, n)

Source from the content-addressed store, hash-verified

4993 return e;
4994 }
4995 function Gl(e, n) {
4996 const i = l(e);
4997 if (
4998 (Zo(i) && gn(i.bin) && (i.bin = Yl(i.bin)),
4999 la(i) && i.scale?.domain?.selection)
5000 ) {
5001 const { selection: e, ...t } = i.scale.domain;
5002 i.scale.domain = { ...t, ...(e ? { param: e } : {}) };
5003 }
5004 if (Qo(i))
5005 if (t.isArray(i.condition))
5006 i.condition = i.condition.map((e) => {
5007 const { selection: t, param: i, test: r, ...o } = e;
5008 return i ? e : { ...o, test: Xl(e, n) };
5009 });
5010 else {
5011 const { selection: e, param: t, test: r, ...o } = Gl(i.condition, n);
5012 i.condition = t ? i.condition : { ...o, test: Xl(i.condition, n) };
5013 }
5014 return i;
5015 }
5016 function Yl(e) {
5017 const t = e.extent;
5018 if (t?.selection) {

Callers 1

mapLayerOrUnitMethod · 0.70

Calls 8

ZoFunction · 0.85
gnFunction · 0.85
QoFunction · 0.85
lFunction · 0.70
YlFunction · 0.70
laFunction · 0.70
XlFunction · 0.70
mapMethod · 0.45

Tested by

no test coverage detected