hljs.registerLanguage("ini",(()=>{"use strict";functione(e){returne?"string"==typeofe?e:e.source:null}functionn(...n){returnn.map((n=>e(n))).join("")}returns=>{consta={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:s.NUMBER_RE}]},t=s.COMMENT();t.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];consti={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},r={className:"literal",begin:/\bon|off|true|false|yes|no\b/},c={className:"string",contains:[s.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},l={begin:/\[/,end:/\]/,contains:[t,r,i,c,a,"self"],relevance:0},o=function(...n){return"("+((e=>{constn=e[e.length-1];return"object"==typeofn&&n.constructor===Object?(e.splice(e.length-1,1),n):{}})(n).capture?"":"?:")+n.map((n=>e(n))).join("|")+")"}(/[A-Za-z0-9_-]+/,/"(\\"|[^"])*"/,/'[^']*'/);return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[t,{className:"section",begin:/\[+/,end:/\]+/},{begin:n(o,"(\\s*\\.\\s*",o,")*",n("(?=",/\s*=\s*[^#\s]/,")")),className:"attr",starts:{end:/$/,contains:[t,l,r,i,c,a]}}]}}})());