(e, n, i)
| 7724 | } |
| 7725 | } |
| 7726 | function ff(e, n, i) { |
| 7727 | let r = |
| 7728 | arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : "datum"; |
| 7729 | const o = t.isString(n) ? n : n.param, |
| 7730 | a = C(o), |
| 7731 | s = t.stringValue(a + Ju); |
| 7732 | let l; |
| 7733 | try { |
| 7734 | l = e.getSelectionComponent(a, o); |
| 7735 | } catch (e) { |
| 7736 | return `!!${a}`; |
| 7737 | } |
| 7738 | if (l.project.timeUnit) { |
| 7739 | const t = i ?? e.component.data.raw, |
| 7740 | n = l.project.timeUnit.clone(); |
| 7741 | t.parent ? n.insertAsParentOf(t) : (t.parent = n); |
| 7742 | } |
| 7743 | const c = `${l.project.hasSelectionId ? "vlSelectionIdTest(" : "vlSelectionTest("}${s}, ${r}${"global" === l.resolve ? ")" : `, ${t.stringValue(l.resolve)})`}`, |
| 7744 | u = `length(data(${s}))`; |
| 7745 | return !1 === n.empty ? `${u} && ${c}` : `!${u} || ${c}`; |
| 7746 | } |
| 7747 | function df(e, n, i) { |
| 7748 | const r = C(n), |
| 7749 | o = i.encoding; |
no test coverage detected