"use strict";
/* Socket Lib - Built with esbuild */
"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var url_exports = {};
__export(url_exports, {
  URLCtor: () => URLCtor,
  URLSearchParamsCtor: () => URLSearchParamsCtor,
  URLSearchParamsPrototypeAppend: () => URLSearchParamsPrototypeAppend,
  URLSearchParamsPrototypeDelete: () => URLSearchParamsPrototypeDelete,
  URLSearchParamsPrototypeForEach: () => URLSearchParamsPrototypeForEach,
  URLSearchParamsPrototypeGet: () => URLSearchParamsPrototypeGet,
  URLSearchParamsPrototypeGetAll: () => URLSearchParamsPrototypeGetAll,
  URLSearchParamsPrototypeHas: () => URLSearchParamsPrototypeHas,
  URLSearchParamsPrototypeSet: () => URLSearchParamsPrototypeSet
});
module.exports = __toCommonJS(url_exports);
var import_uncurry = require("./uncurry");
const URLCtor = URL;
const URLSearchParamsCtor = URLSearchParams;
const URLSearchParamsPrototypeAppend = (0, import_uncurry.uncurryThis)(
  URLSearchParams.prototype.append
);
const URLSearchParamsPrototypeDelete = (0, import_uncurry.uncurryThis)(
  URLSearchParams.prototype.delete
);
const URLSearchParamsPrototypeForEach = (0, import_uncurry.uncurryThis)(
  URLSearchParams.prototype.forEach
);
const URLSearchParamsPrototypeGet = (0, import_uncurry.uncurryThis)(
  URLSearchParams.prototype.get
);
const URLSearchParamsPrototypeGetAll = (0, import_uncurry.uncurryThis)(
  URLSearchParams.prototype.getAll
);
const URLSearchParamsPrototypeHas = (0, import_uncurry.uncurryThis)(
  URLSearchParams.prototype.has
);
const URLSearchParamsPrototypeSet = (0, import_uncurry.uncurryThis)(
  URLSearchParams.prototype.set
);
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
  URLCtor,
  URLSearchParamsCtor,
  URLSearchParamsPrototypeAppend,
  URLSearchParamsPrototypeDelete,
  URLSearchParamsPrototypeForEach,
  URLSearchParamsPrototypeGet,
  URLSearchParamsPrototypeGetAll,
  URLSearchParamsPrototypeHas,
  URLSearchParamsPrototypeSet
});
