(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d21409a"],{aedd:function(e,n,r){(function(e){e(r("56b3"))})((function(e){"use strict";function n(n){return function(r,t){var i=t.line,o=r.getLine(i);function l(n){for(var l,f=t.ch,a=0;;){var s=f<=0?-1:o.lastIndexOf(n[0],f-1);if(-1!=s){if(1==a&&s<t.ch)break;if(l=r.getTokenTypeAt(e.Pos(i,s+1)),!/^(comment|string)/.test(l))return{ch:s+1,tokenType:l,pair:n};f=s-1}else{if(1==a)break;a=1,f=o.length}}}function f(n){var t,o,l=1,f=r.lastLine(),a=n.ch;e:for(var s=i;s<=f;++s)for(var u=r.getLine(s),c=s==i?a:0;;){var d=u.indexOf(n.pair[0],c),g=u.indexOf(n.pair[1],c);if(d<0&&(d=u.length),g<0&&(g=u.length),c=Math.min(d,g),c==u.length)break;if(r.getTokenTypeAt(e.Pos(s,c+1))==n.tokenType)if(c==d)++l;else if(!--l){t=s,o=c;break e}++c}return null==t||i==t?null:{from:e.Pos(i,a),to:e.Pos(t,o)}}for(var a=[],s=0;s<n.length;s++){var u=l(n[s]);u&&a.push(u)}a.sort((function(e,n){return e.ch-n.ch}));for(s=0;s<a.length;s++){var c=f(a[s]);if(c)return c}return null}}e.registerHelper("fold","brace",n([["{","}"],["[","]"]])),e.registerHelper("fold","brace-paren",n([["{","}"],["[","]"],["(",")"]])),e.registerHelper("fold","import",(function(n,r){function t(r){if(r<n.firstLine()||r>n.lastLine())return null;var t=n.getTokenAt(e.Pos(r,1));if(/\S/.test(t.string)||(t=n.getTokenAt(e.Pos(r,t.end+1))),"keyword"!=t.type||"import"!=t.string)return null;for(var i=r,o=Math.min(n.lastLine(),r+10);i<=o;++i){var l=n.getLine(i),f=l.indexOf(";");if(-1!=f)return{startCh:t.end,end:e.Pos(i,f)}}}var i,o=r.line,l=t(o);if(!l||t(o-1)||(i=t(o-2))&&i.end.line==o-1)return null;for(var f=l.end;;){var a=t(f.line+1);if(null==a)break;f=a.end}return{from:n.clipPos(e.Pos(o,l.startCh+1)),to:f}})),e.registerHelper("fold","include",(function(n,r){function t(r){if(r<n.firstLine()||r>n.lastLine())return null;var t=n.getTokenAt(e.Pos(r,1));return/\S/.test(t.string)||(t=n.getTokenAt(e.Pos(r,t.end+1))),"meta"==t.type&&"#include"==t.string.slice(0,8)?t.start+8:void 0}var i=r.line,o=t(i);if(null==o||null!=t(i-1))return null;for(var l=i;;){var f=t(l+1);if(null==f)break;++l}return{from:e.Pos(i,o+1),to:n.clipPos(e.Pos(l))}}))}))}}]);