(t, n)
| 3274 | })(t, i, f, o); |
| 3275 | } |
| 3276 | async function xn(t, n) { |
| 3277 | const r = e.isString(t.config) |
| 3278 | ? JSON.parse(await n.load(t.config)) |
| 3279 | : (t.config ?? {}), |
| 3280 | i = e.isString(t.patch) ? JSON.parse(await n.load(t.patch)) : t.patch; |
| 3281 | return { ...t, ...(i ? { patch: i } : {}), ...(r ? { config: r } : {}) }; |
| 3282 | } |
| 3283 | async function Ln(e, t = {}) { |
| 3284 | const n = document.createElement("div"); |
| 3285 | n.classList.add("vega-embed-wrapper"); |