| 6934 | var URL$1 = Url.URL || whatwgUrl.URL; |
| 6935 | var PassThrough$1 = Stream3.PassThrough; |
| 6936 | var isDomainOrSubdomain = function isDomainOrSubdomain2(destination, original) { |
| 6937 | const orig = new URL$1(original).hostname; |
| 6938 | const dest = new URL$1(destination).hostname; |
| 6939 | return orig === dest || orig[orig.length - dest.length - 1] === "." && orig.endsWith(dest); |
| 6940 | }; |
| 6941 | var isSameProtocol = function isSameProtocol2(destination, original) { |
| 6942 | const orig = new URL$1(original).protocol; |
| 6943 | const dest = new URL$1(destination).protocol; |