"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("../index.js"),i=require("../utils/utils.js"),o=(a,t,c)=>new Promise(function(r,u){const n=i.DataSourceUtils.getVariableData().find(e=>e.id===a.source.variableId||e.name===a.source.variableId);if(!n){r(i.DataSourceUtils.noneData(t));return}s.SHJDatasourceV2.processData(a.source.filter,n._value,a.source.mapping,t,a.source.dynamicMapping,c,a.source.isUserdata).then(e=>{r(e)}).catch(()=>{r(i.DataSourceUtils.noneData(t))})});exports.parseVariableData=o;
