import{be as p}from"./index-CCv_8omK.js";var u={exports:{}},g=u.exports,s;function h(){return s||(s=1,function(o){(function(n,e,l){o.exports?o.exports=l():e[n]=l()})("urljoin",g,function(){function n(e){var l=[];if(e.length===0)return"";if(typeof e[0]!="string")throw new TypeError("Url must be a string. Received "+e[0]);if(e[0].match(/^[^/:]+:\/*$/)&&e.length>1){var a=e.shift();e[0]=a+e[0]}e[0].match(/^file:\/\/\//)?e[0]=e[0].replace(/^([^/:]+):\/*/,"$1:///"):e[0]=e[0].replace(/^([^/:]+):\/*/,"$1://");for(var r=0;r<e.length;r++){var i=e[r];if(typeof i!="string")throw new TypeError("Url must be a string. Received "+i);i!==""&&(r>0&&(i=i.replace(/^[\/]+/,"")),r<e.length-1?i=i.replace(/[\/]+$/,""):i=i.replace(/[\/]+$/,"/"),l.push(i))}var t=l.join("/");t=t.replace(/\/(\?|&|#[^!])/g,"$1");var f=t.split("?");return t=f.shift()+(f.length>0?"?":"")+f.join("&"),t}return function(){var e;return typeof arguments[0]=="object"?e=arguments[0]:e=[].slice.call(arguments),n(e)}})}(u)),u.exports}var v=h();const x=p(v);export{x as j};
