tdg-react-doc-viewer
Version:
File viewer for React.
43 lines (42 loc) • 1.28 kB
JavaScript
import { g as u } from "./index-49xxfcbR.js";
import { s as l, r as g } from "./index-BiLTJHKg.js";
function h(i, o) {
for (var f = 0; f < o.length; f++) {
const r = o[f];
if (typeof r != "string" && !Array.isArray(r)) {
for (const e in r)
if (e !== "default" && !(e in i)) {
const n = Object.getOwnPropertyDescriptor(r, e);
n && Object.defineProperty(i, e, n.get ? n : {
enumerable: !0,
get: () => r[e]
});
}
}
}
return Object.freeze(Object.defineProperty(i, Symbol.toStringTag, { value: "Module" }));
}
var c = { exports: {} };
(function(i) {
var o = l, f = g, r = i.exports;
for (var e in o)
o.hasOwnProperty(e) && (r[e] = o[e]);
r.request = function(t, s) {
return t = n(t), o.request.call(this, t, s);
}, r.get = function(t, s) {
return t = n(t), o.get.call(this, t, s);
};
function n(t) {
if (typeof t == "string" && (t = f.parse(t)), t.protocol || (t.protocol = "https:"), t.protocol !== "https:")
throw new Error('Protocol "' + t.protocol + '" not supported. Expected "https:"');
return t;
}
})(c);
var p = c.exports;
const d = /* @__PURE__ */ u(p), y = /* @__PURE__ */ h({
__proto__: null,
default: d
}, [p]);
export {
y as i
};