"use strict";(globalThis.webpackChunkacmsWebpackJsonp||=[]).push([[73],{51300(n,c,t){function e(n){const c=n.regex,t=/\b/;function e(n,c){if(0===n.index)return;const t=n.input[n.index-1];t>="0"&&t<="9"||"_"!==t&&c.ignoreMatch()}const a=/[+-]?((\.\d+)|(\d+)(\.\d*)?)/,o=/[GM]\s*\d+(\.\d+)?/,s=/T\s*\d+/,i=/O\s*\d+/,r=/O<.+>/,b=/[ABCUVWXYZ]\s*/,E=/[FHIJKPQRS]\s*/;return{name:"G-code (ISO 6983)",aliases:["nc"],case_insensitive:!0,disableAutodetect:!0,keywords:{$pattern:/[A-Z]+|%/,keyword:["THEN","ELSE","ENDIF","IF","GOTO","DO","WHILE","WH","END","CALL","SUB","ENDSUB","EQ","NE","LT","GT","LE","GE","AND","OR","XOR","%"],built_in:["ATAN","ABS","ACOS","ASIN","COS","EXP","FIX","FUP","ROUND","LN","SIN","SQRT","TAN","EXISTS"]},contains:[n.COMMENT(/\(/,/\)/),n.COMMENT(/;/,/$/),n.APOS_STRING_MODE,n.QUOTE_STRING_MODE,n.C_NUMBER_MODE,{scope:"title.function",variants:[{match:c.concat(t,o)},{begin:o,"on:begin":e},{match:c.concat(t,s)},{begin:s,"on:begin":e}]},{scope:"symbol",variants:[{match:c.concat(t,i)},{begin:i,"on:begin":e},{match:c.concat(t,r)},{begin:r,"on:begin":e},{match:/\*\s*\d+\s*$/}]},{scope:"operator",match:/^N\s*\d+/},{scope:"variable",match:/-?#\s*\d+/},{scope:"property",variants:[{match:c.concat(t,b,a)},{begin:c.concat(b,a),"on:begin":e}]},{scope:"params",variants:[{match:c.concat(t,E,a)},{begin:c.concat(E,a),"on:begin":e}]}]}}t.r(c),t.d(c,{default:()=>e})}}]);