"use strict";var TcHmi;!function(TcHmi){!function(Functions){!function(Beckhoff){Beckhoff.NumberToBigInt=function(value){const res=TcHmi.ValueConverter.toBigIntEx(value);if(res.error!==TcHmi.Errors.NONE)throw new Error("Converting number to bigint failed with: "+TcHmi.Log.buildMessage(res.details)+".");if(null===res.value)throw new Error("Converting number to bigint failed.");return res.value}}(Functions.Beckhoff||(Functions.Beckhoff={}))}(TcHmi.Functions||(TcHmi.Functions={}))}(TcHmi||(TcHmi={})),TcHmi.Functions.registerFunctionEx("NumberToBigInt","TcHmi.Functions.Beckhoff",TcHmi.Functions.Beckhoff.NumberToBigInt);