(this.webpackChunktocco_widget_showcase=this.webpackChunktocco_widget_showcase||[]).push([[471],{70471(e,t,i){e=i.nmd(e),ace.define("ace/mode/folding/coffee",["require","exports","module","ace/lib/oop","ace/mode/folding/fold_mode","ace/range"],(function(e,t,i){"use strict";var o=e("../../lib/oop"),r=e("./fold_mode").FoldMode,n=e("../../range").Range,a=t.FoldMode=function(){};o.inherits(a,r),function(){this.commentBlock=function(e,t){var i=/\S/,o=e.getLine(t),r=o.search(i);if(-1!=r&&"#"==o[r]){for(var a=o.length,s=e.getLength(),c=t,l=t;++t<s;){var d=(o=e.getLine(t)).search(i);if(-1!=d){if("#"!=o[d])break;l=t}}if(l>c){var g=e.getLine(l).length;return new n(c,a,l,g)}}},this.getFoldWidgetRange=function(e,t,i){var o=this.indentationBlock(e,i);return o||((o=this.commentBlock(e,i))||void 0)},this.getFoldWidget=function(e,t,i){var o=e.getLine(i),r=o.search(/\S/),n=e.getLine(i+1),a=e.getLine(i-1),s=a.search(/\S/),c=n.search(/\S/);if(-1==r)return e.foldWidgets[i-1]=-1!=s&&s<c?"start":"","";if(-1==s){if(r==c&&"#"==o[r]&&"#"==n[r])return e.foldWidgets[i-1]="",e.foldWidgets[i+1]="","start"}else if(s==r&&"#"==o[r]&&"#"==a[r]&&-1==e.getLine(i-2).search(/\S/))return e.foldWidgets[i-1]="start",e.foldWidgets[i+1]="","";return e.foldWidgets[i-1]=-1!=s&&s<r?"start":"",r<c?"start":""}}.call(a.prototype)})),ace.define("ace/mode/space_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],(function(e,t,i){"use strict";var o=e("../lib/oop"),r=e("./text_highlight_rules").TextHighlightRules,n=function(){this.$rules={start:[{token:"empty_line",regex:/ */,next:"key"},{token:"empty_line",regex:/$/,next:"key"}],key:[{token:"variable",regex:/\S+/},{token:"empty_line",regex:/$/,next:"start"},{token:"keyword.operator",regex:/ /,next:"value"}],value:[{token:"keyword.operator",regex:/$/,next:"start"},{token:"string",regex:/[^$]/}]}};o.inherits(n,r),t.SpaceHighlightRules=n})),ace.define("ace/mode/space",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/folding/coffee","ace/mode/space_highlight_rules"],(function(e,t,i){"use strict";var o=e("../lib/oop"),r=e("./text").Mode,n=e("./folding/coffee").FoldMode,a=e("./space_highlight_rules").SpaceHighlightRules,s=function(){this.HighlightRules=a,this.foldingRules=new n,this.$behaviour=this.$defaultBehaviour};o.inherits(s,r),function(){this.$id="ace/mode/space"}.call(s.prototype),t.Mode=s})),ace.require(["ace/mode/space"],(function(t){e&&(e.exports=t)}))}}]);