/*!
 * normalize-path <https://github.com/jonschlinkert/normalize-path>
 *
 * Copyright (c) 2014-2018, Jon Schlinkert.
 * Released under the MIT License.
 */
var r,e;function t(){return e?r:(e=1,r=function(r,e){if("string"!=typeof r)throw new TypeError("expected path to be a string");if("\\"===r||"/"===r)return"/";var t=r.length;if(t<=1)return r;var n="";if(t>4&&"\\"===r[3]){var i=r[2];"?"!==i&&"."!==i||"\\\\"!==r.slice(0,2)||(r=r.slice(2),n="//")}var o=r.split(/[/\\]+/);return!1!==e&&""===o[o.length-1]&&o.pop(),n+o.join("/")})}export{t as __require};