import{g as k}from"./index-15e3682d.js";function x(d,f){for(var a=0;al[r]})}}}return Object.freeze(Object.defineProperty(d,Symbol.toStringTag,{value:"Module"}))}var p={exports:{}};(function(d,f){ace.define("ace/mode/haskell_cabal_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(a,l,r){var n=a("../lib/oop"),c=a("./text_highlight_rules").TextHighlightRules,g=function(){this.$rules={start:[{token:"comment",regex:"^\\s*--.*$"},{token:["keyword"],regex:/^(\s*\w.*?)(:(?:\s+|$))/},{token:"constant.numeric",regex:/[\d_]+(?:(?:[\.\d_]*)?)/},{token:"constant.language.boolean",regex:"(?:true|false|TRUE|FALSE|True|False|yes|no)\\b"},{token:"markup.heading",regex:/^(\w.*)$/}]}};n.inherits(g,c),l.CabalHighlightRules=g}),ace.define("ace/mode/folding/haskell_cabal",["require","exports","module","ace/lib/oop","ace/mode/folding/fold_mode","ace/range"],function(a,l,r){var n=a("../../lib/oop"),c=a("./fold_mode").FoldMode,g=a("../../range").Range,u=l.FoldMode=function(){};n.inherits(u,c),function(){this.isHeading=function(t,h){var e="markup.heading",o=t.getTokens(h)[0];return h==0||o&&o.type.lastIndexOf(e,0)===0},this.getFoldWidget=function(t,h,e){if(this.isHeading(t,e))return"start";if(h==="markbeginend"&&!/^\s*$/.test(t.getLine(e))){for(var o=t.getLength();++es)for(;i>s&&/^\s*$/.test(t.getLine(i));)i--;if(i>s){var b=t.getLine(i).length;return new g(s,m,i,b)}}else if(this.getFoldWidget(t,h,e)==="end"){for(var i=e,b=t.getLine(i).length;--e>=0&&!this.isHeading(t,e););var o=t.getLine(e),m=o.length;return new g(e,m,i,b)}}}.call(u.prototype)}),ace.define("ace/mode/haskell_cabal",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/haskell_cabal_highlight_rules","ace/mode/folding/haskell_cabal"],function(a,l,r){var n=a("../lib/oop"),c=a("./text").Mode,g=a("./haskell_cabal_highlight_rules").CabalHighlightRules,u=a("./folding/haskell_cabal").FoldMode,t=function(){this.HighlightRules=g,this.foldingRules=new u,this.$behaviour=this.$defaultBehaviour};n.inherits(t,c),function(){this.lineCommentStart="--",this.blockComment=null,this.$id="ace/mode/haskell_cabal"}.call(t.prototype),l.Mode=t}),function(){ace.require(["ace/mode/haskell_cabal"],function(a){d&&(d.exports=a)})}()})(p);var _=p.exports;const H=k(_),y=x({__proto__:null,default:H},[_]);export{y as m};