import{A as _}from"./index.f4d41e67.entry.js";function v(u,l){return l.forEach(function(r){r&&typeof r!="string"&&!Array.isArray(r)&&Object.keys(r).forEach(function(o){if(o!=="default"&&!(o in u)){var a=Object.getOwnPropertyDescriptor(r,o);Object.defineProperty(u,o,a.get?a:{enumerable:!0,get:function(){return r[o]}})}})}),Object.freeze(Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}))}var d={exports:{}};(function(u,l){(function(r){r(_.exports)})(function(r){r.defineMode("puppet",function(){var o={},a=/({)?([a-z][a-z0-9_]*)?((::[a-z][a-z0-9_]*)*::)?[a-zA-Z0-9_]+(})?/;function f(e,n){for(var i=n.split(" "),c=0;c<i.length;c++)o[i[c]]=e}f("keyword","class define site node include import inherits"),f("keyword","case if else in and elsif default or"),f("atom","false true running present absent file directory undef"),f("builtin","action augeas burst chain computer cron destination dport exec file filebucket group host icmp iniface interface jump k5login limit log_level log_prefix macauthorization mailalias maillist mcx mount nagios_command nagios_contact nagios_contactgroup nagios_host nagios_hostdependency nagios_hostescalation nagios_hostextinfo nagios_hostgroup nagios_service nagios_servicedependency nagios_serviceescalation nagios_serviceextinfo nagios_servicegroup nagios_timeperiod name notify outiface package proto reject resources router schedule scheduled_task selboolean selmodule service source sport ssh_authorized_key sshkey stage state table tidy todest toports tosource user vlan yumrepo zfs zone zpool");function p(e,n){for(var i,c,s=!1;!e.eol()&&(i=e.next())!=n.pending;){if(i==="$"&&c!="\\"&&n.pending=='"'){s=!0;break}c=i}return s&&e.backUp(1),i==n.pending?n.continueString=!1:n.continueString=!0,"string"}function g(e,n){var i=e.match(/[\w]+/,!1),c=e.match(/(\s+)?\w+\s+=>.*/,!1),s=e.match(/(\s+)?[\w:_]+(\s+)?{/,!1),h=e.match(/(\s+)?[@]{1,2}[\w:_]+(\s+)?{/,!1),t=e.next();if(t==="$")return e.match(a)?n.continueString?"variable-2":"variable":"error";if(n.continueString)return e.backUp(1),p(e,n);if(n.inDefinition){if(e.match(/(\s+)?[\w:_]+(\s+)?/))return"def";e.match(/\s+{/),n.inDefinition=!1}return n.inInclude?(e.match(/(\s+)?\S+(\s+)?/),n.inInclude=!1,"def"):e.match(/(\s+)?\w+\(/)?(e.backUp(1),"def"):c?(e.match(/(\s+)?\w+/),"tag"):i&&o.hasOwnProperty(i)?(e.backUp(1),e.match(/[\w]+/),e.match(/\s+\S+\s+{/,!1)&&(n.inDefinition=!0),i=="include"&&(n.inInclude=!0),o[i]):/(^|\s+)[A-Z][\w:_]+/.test(i)?(e.backUp(1),e.match(/(^|\s+)[A-Z][\w:_]+/),"def"):s?(e.match(/(\s+)?[\w:_]+/),"def"):h?(e.match(/(\s+)?[@]{1,2}/),"special"):t=="#"?(e.skipToEnd(),"comment"):t=="'"||t=='"'?(n.pending=t,p(e,n)):t=="{"||t=="}"?"bracket":t=="/"?(e.match(/^[^\/]*\//),"variable-3"):t.match(/[0-9]/)?(e.eatWhile(/[0-9]+/),"number"):t=="="?(e.peek()==">"&&e.next(),"operator"):(e.eatWhile(/[\w-]/),null)}return{startState:function(){var e={};return e.inDefinition=!1,e.inInclude=!1,e.continueString=!1,e.pending=!1,e},token:function(e,n){return e.eatSpace()?null:g(e,n)}}}),r.defineMIME("text/x-puppet","puppet")})})();var b=d.exports,y=v({__proto__:null,default:b},[d.exports]);export{y as p};
