import{__require as a}from"./fails.mjs";import{__require as e}from"./well-known-symbol.mjs";import{__require as r}from"./descriptors.mjs";import{__require as t}from"./is-pure.mjs";var s,n;function o(){if(n)return s;n=1;var o=a(),h=e(),i=r(),m=t(),c=h("iterator");return s=!o(function(){var a=new URL("b?a=1&b=2&c=3","https://a"),e=a.searchParams,r=new URLSearchParams("a=1&a=2&b=3"),t="";return a.pathname="c%20d",e.forEach(function(a,r){e.delete("b"),t+=r+a}),r.delete("a",2),r.delete("b",void 0),m&&(!a.toJSON||!r.has("a",1)||r.has("a",2)||!r.has("a",void 0)||r.has("b"))||!e.size&&(m||!i)||!e.sort||"https://a/c%20d?a=1&c=3"!==a.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[c]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("https://тест").host||"#%D0%B1"!==new URL("https://a#б").hash||"a1c3"!==t||"x"!==new URL("https://x",void 0).host})}export{o as __require};