You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
509 KiB
20 lines
509 KiB
7 months ago
|
/**
|
||
|
* Skipped minification because the original files appears to be already minified.
|
||
|
* Original file: /npm/@json-editor/json-editor@2.9.0-beta.0/dist/jsoneditor.js
|
||
|
*
|
||
|
* Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
|
||
|
*/
|
||
|
/*!
|
||
|
* /**
|
||
|
* * @name JSON Editor
|
||
|
* * @description JSON Schema Based Editor
|
||
|
* * This library is the continuation of jdorn's great work (see also https://github.com/jdorn/json-editor/issues/800)
|
||
|
* * @version "2.9.0-beta.0"
|
||
|
* * @author Jeremy Dorn
|
||
|
* * @see https://github.com/jdorn/json-editor/
|
||
|
* * @see https://github.com/json-editor/json-editor
|
||
|
* * @license MIT
|
||
|
* * @example see README.md and docs/ for requirements, examples and usage info
|
||
|
* * /
|
||
|
*/
|
||
|
!function (t, e) { if ("object" == typeof exports && "object" == typeof module) module.exports = e(); else if ("function" == typeof define && define.amd) define([], e); else { var n = e(); for (var r in n) ("object" == typeof exports ? exports : t)[r] = n[r] } }(window, (function () { return function (t) { var e = {}; function n(r) { if (e[r]) return e[r].exports; var i = e[r] = { i: r, l: !1, exports: {} }; return t[r].call(i.exports, i, i.exports, n), i.l = !0, i.exports } return n.m = t, n.c = e, n.d = function (t, e, r) { n.o(t, e) || Object.defineProperty(t, e, { enumerable: !0, get: r }) }, n.r = function (t) { "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(t, "__esModule", { value: !0 }) }, n.t = function (t, e) { if (1 & e && (t = n(t)), 8 & e) return t; if (4 & e && "object" == typeof t && t && t.__esModule) return t; var r = Object.create(null); if (n.r(r), Object.defineProperty(r, "default", { enumerable: !0, value: t }), 2 & e && "string" != typeof t) for (var i in t) n.d(r, i, function (e) { return t[e] }.bind(null, i)); return r }, n.n = function (t) { var e = t && t.__esModule ? function () { return t.default } : function () { return t }; return n.d(e, "a", e), e }, n.o = function (t, e) { return Object.prototype.hasOwnProperty.call(t, e) }, n.p = "/dist/", n(n.s = 186) }([function (t, e, n) { var r = n(36), i = n(103), o = n(71), a = n(55), s = n(138), c = a.set, l = a.getterFor("Array Iterator"); t.exports = s(Array, "Array", (function (t, e) { c(this, { type: "Array Iterator", target: r(t), index: 0, kind: e }) }), (function () { var t = l(this), e = t.target, n = t.kind, r = t.index++; return !e || r >= e.length ? (t.target = void 0, { value: void 0, done: !0 }) : "keys" == n ? { value: r, done: !1 } : "values" == n ? { value: e[r], done: !1 } : { value: [r, e[r]], done: !1 } }), "values"), o.Arguments = o.Array, i("keys"), i("values"), i("entries") }, function (t, e, n) { var r = n(95), i = n(34), o = n(156); r || i(Object.prototype, "toString", o, { unsafe: !0 }) }, function (t, e, n) { var r = n(12), i = n(15), o = n(50), a = n(56), s = n(21), c = n(96), l = n(115), u = n(16), h = n(28), p = n(68), d = n(23), f = n(22), y = n(30), m = n(36), v = n(62), b = n(63), g = n(58), _ = n(67), w = n(66), k = n(170), x = n(101), j = n(44), O = n(27), C = n(78), E = n(39), S = n(34), P = n(75), R = n(74), L = n(76), T = n(94), A = n(17), I = n(136), B = n(137), N = n(84), F = n(55), V = n(53).forEach, D = R("hidden"), M = A("toPrimitive"), H = F.set, z = F.getterFor("Symbol"), q = Object.prototype, U = i.Symbol, G = o("JSON", "stringify"), $ = j.f, J = O.f, W = k.f, Z = C.f, Y = P("symbols"), Q = P("op-symbols"), K = P("string-to-symbol-registry"), X = P("symbol-to-string-registry"), tt = P("wks"), et = i.QObject, nt = !et || !et.prototype || !et.prototype.findChild, rt = s && u((function () { return 7 != g(J({}, "a", { get: function () { return J(this, "a", { value: 7 }).a } })).a })) ? function (t, e, n) { var r = $(q, e); r && delete q[e], J(t, e, n), r && t !== q && J(q, e, r) } : J, it = function (t, e) { var n = Y[t] = g(U.prototype); return H(n, { type: "Symbol", tag: t, description: e }), s || (n.description = e), n }, ot = l ? function (t) { return "symbol" == typeof t } : function (t) { return Object(t) instanceof U }, at = function (t, e, n) { t === q && at(Q, e, n), f(t); var r = v(e, !0); return f(n), h(Y, r) ? (n.enumerable ? (h(t, D) && t[D][r] && (t[D][r] = !1), n = g(n, { enumerable: b(0, !1) })) : (h(t, D) || J(t, D, b(1, {})), t[D][r] = !0), rt(t, r, n)) : J(t, r, n) }, st = function (t, e) { f(t); var n = m(e), r = _(n).concat(ht(n)); return V(r, (function (e) { s && !ct.call(n, e) || at(t, e, n[e]) })), t }, ct = function (t) { var e = v(t, !0), n = Z.call(this, e); return !(this === q && h(Y, e) && !h(Q, e)) && (!(n || !h(this, e) || !h(Y, e) || h(this, D) && this[D][e]) || n) }, lt = function (t, e) { var n = m(t), r = v(e, !0); if (n !== q || !h(Y, r) || h(Q, r)) { var i = $(n, r); return !i
|