node_modules/mdsvex/dist/main.es.js
// spaced, and mixed indentation (as well as possible).
spaced, and mixed indentation (as well as possible).
spaced and mixed indentation ( as well as possible ) .
function indentation(value, maximum) {
  var values = value.split(lineFeed$c);
  var position = values.length + 1;
  var minIndent = Infinity;
  var matrix = [];
  var index;
  var indentation;
  var stops;
  values.unshift(repeatString(space$c, maximum) + exclamationMark$4);
  while (position--) {
    indentation = getIndentation(values[position]);
    matrix[position] = indentation.stops;
    if (trim_1(values[position]).length === 0) {
      continue
    }
    if (indentation.indent) {
      if (indentation.indent > 0 && indentation.indent < minIndent) {
        minIndent = indentation.indent;
      }
    } else {
      minIndent = Infinity;
      break
    }
  }
  if (minIndent !== Infinity) {
    position = values.length;
    while (position--) {
      stops = matrix[position];
      index = minIndent;
      while (index && !(index in stops)) {
        index--;
      }
      values[position] = values[position].slice(stops[index] + 1);
    }
  }
  values.shift();
  return values.join(lineFeed$c)
}
function indentation ( value , maximum ) { var values = value . split ( lineFeed$c ) ; var position = values . length + 1 ; var minIndent = Infinity ; var matrix = [ ] ; var index ; var indentation ; var stops ; values . unshift ( repeatString ( space$c , maximum ) + exclamationMark$4 ) ; while ( position -- ) { indentation = getIndentation ( values [ position ] ) ; matrix [ position ] = indentation . stops ; if ( trim_1 ( values [ position ] ) . length === 0 ) { continue } if ( indentation . indent ) { if ( indentation . indent > 0 && indentation . indent < minIndent ) { minIndent = indentation . indent ; } } else { minIndent = Infinity ; break } } if ( minIndent !== Infinity ) { position = values . length ; while ( position -- ) { stops = matrix [ position ] ; index = minIndent ; while ( index && ! ( index in stops ) ) { index -- ; } values [ position ] = values [ position ] . slice ( stops [ index ] + 1 ) ; } } values . shift ( ) ; return values . join ( lineFeed$c ) }
spaced, and mixed indentation (as well as possible).
spaced and mixed indentation ( as well as possible ) .