const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./jsonMode-CDaDSuhd.js","./editor.api-D1Wr8FLw.js","./chunk-BEqpzyXh.js","./preload-helper-2ej06EnG.js","./mouseTarget-AwEqOa_V.js","./types-tYbtlm7o.js","./editorBaseApi-CbMuPna1.js","./editor-B55U_qvj.css"])))=>i.map(i=>d[i]);
import{t as e}from"./preload-helper-2ej06EnG.js";import{m as t}from"./editor.api-D1Wr8FLw.js";var n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,o=(e,t,o,s)=>{if(t&&typeof t==`object`||typeof t==`function`)for(let c of i(t))!a.call(e,c)&&c!==o&&n(e,c,{get:()=>t[c],enumerable:!(s=r(t,c))||s.enumerable});return e},s=(e,t,n)=>(o(e,t,`default`),n&&o(n,t,`default`)),c={};s(c,t);var l=new class{constructor(e,t,n){this._onDidChange=new c.Emitter,this._languageId=e,this.setDiagnosticsOptions(t),this.setModeConfiguration(n)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get modeConfiguration(){return this._modeConfiguration}get diagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}}(`json`,{validate:!0,allowComments:!0,schemas:[],enableSchemaRequest:!1,schemaRequest:`warning`,schemaValidation:`warning`,comments:`error`,trailingCommas:`error`},{documentFormattingEdits:!0,documentRangeFormattingEdits:!0,completionItems:!0,hovers:!0,documentSymbols:!0,tokens:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0}),u=()=>d().then(e=>e.getWorker());c.languages.json={jsonDefaults:l,getWorker:u};function d(){return e(()=>import(`./jsonMode-CDaDSuhd.js`),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url)}c.languages.register({id:`json`,extensions:[`.json`,`.bowerrc`,`.jshintrc`,`.jscsrc`,`.eslintrc`,`.babelrc`,`.har`],aliases:[`JSON`,`json`],mimetypes:[`application/json`]}),c.languages.onLanguage(`json`,()=>{d().then(e=>e.setupMode(l))});export{l as n,u as t};