"use strict";(self.webpackChunkdami=self.webpackChunkdami||[]).push([[5017],{95017:(e,a,r)=>{r.r(a),r.d(a,{default:()=>s,increaseVariable:()=>t});var i=r(31528),n=r.n(i);async function t({id:e,data:a}){const r=this.engine.referenceData.variables;if(!n().has(r,a.variableName))throw new Error(`Cant find "${a.variableName}" variable`);const i=+n().get(r,a.variableName);if(Number.isNaN(i))throw new Error(`The "${a.variableName}" variable value is not a number`);return n().set(this.engine.referenceData.variables,a.variableName,i+a.increaseBy),{data:r[a.variableName],nextBlockId:this.getBlockConnections(e)}}const s=t}}]);