{"version":3,"sources":["webpack:///../node_modules/unist-util-stringify-position/index.js"],"names":[],"mappings":";;;;;;;;;;;;AAAY;;AAEZ,YAAY;;AAEZ;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA","file":"vendor.unist-util-stringify-position.68c26b07284517ac6944.js","sourcesContent":["'use strict'\n\nvar own = {}.hasOwnProperty\n\nmodule.exports = stringify\n\nfunction stringify(value) {\n /* Nothing. */\n if (!value || typeof value !== 'object') {\n return null\n }\n\n /* Node. */\n if (own.call(value, 'position') || own.call(value, 'type')) {\n return position(value.position)\n }\n\n /* Position. */\n if (own.call(value, 'start') || own.call(value, 'end')) {\n return position(value)\n }\n\n /* Point. */\n if (own.call(value, 'line') || own.call(value, 'column')) {\n return point(value)\n }\n\n /* ? */\n return null\n}\n\nfunction point(point) {\n if (!point || typeof point !== 'object') {\n point = {}\n }\n\n return index(point.line) + ':' + index(point.column)\n}\n\nfunction position(pos) {\n if (!pos || typeof pos !== 'object') {\n pos = {}\n }\n\n return point(pos.start) + '-' + point(pos.end)\n}\n\nfunction index(value) {\n return value && typeof value === 'number' ? value : 1\n}\n"],"sourceRoot":""}