14 lines
425 KiB
JavaScript
14 lines
425 KiB
JavaScript
|
/*!
|
||
|
* /**
|
||
|
* * @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.6.1"
|
||
|
* * @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=168)}([function(t,e,n){var r=n(33),i=n(96),o=n(70),a=n(62),s=n(124),l=a.set,c=a.getterFor("Array Iterator");t.exports=s(Array,"Array",(function(t,e){l(this,{type:"Array Iterator",target:r(t),index:0,kind:e})}),(function(){var t=c(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(87),i=n(43),o=n(141);r||i(Object.prototype,"toString",o,{unsafe:!0})},function(t,e,n){var r=n(12),i=n(19),o=n(53),a=n(63),s=n(21),l=n(88),c=n(112),u=n(15),h=n(28),p=n(67),d=n(26),f=n(23),y=n(30),m=n(33),v=n(60),b=n(61),g=n(56),_=n(66),w=n(65),k=n(147),x=n(93),j=n(47),O=n(27),C=n(77),E=n(36),S=n(43),P=n(74),R=n(73),L=n(75),T=n(86),A=n(17),I=n(122),B=n(123),N=n(97),F=n(62),V=n(51).forEach,D=R("hidden"),H=A("toPrimitive"),z=F.set,M=F.getterFor("Symbol"),q=Object.prototype,U=i.Symbol,G=o("JSON","stringify"),$=j.f,J=O.f,W=k.f,Z=C.f,Q=P("symbols"),Y=P("op-symbols"),X=P("string-to-symbol-registry"),K=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=Q[t]=g(U.prototype);return z(n,{type:"Symbol",tag:t,description:e}),s||(n.description=e),n},ot=c?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof U},at=function(t,e,n){t===q&&at(Y,e,n),f(t);var r=v(e,!0);return f(n),h(Q,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&&!lt.call(n,e)||at(t,e,n[e])})),t},lt=function(t){var e=v(t,!0),n=Z.call(this,e);return!(this===q&&h(Q,e)&&!h(Y,e))&&(!(n||!h(this,e)||!h(Q,e)||h(this,D)&&this[D][e])||n)},ct=function(t,e){var n=m(t),r=v(e,!0);if(n!==q||!h(Q,r)||h(Y,r)){var i=$(n,r);return!i||!h(Q,r)||h(n,D)&&n[D][r]||(i.enumerable=!0),i}},ut=function(t){var e=W(m(t)),n=[];return V(e,(function(t){h(Q,t)||h(L,t)||n.push(t)})),n},ht=function(t){var e=t===q,n=W(e?Y:m(t)),r=[];return V(n,(function(t){!h(Q,t)||e&&!h(q,t)||r.push(Q[t])})),r};(l||(S((U=function(){if(this instanceof U)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=T(t),n=function(t){this===q&&n.call(Y,t),h(this,D)&&h(this[D],e)&&(this[D][e]=!1),rt(this,e,b(1,t))};return s&&nt&&rt(q,e,{configurable:!0,set:n}),it(e,t)}).prototype,"toString",(function(){return M(this).tag})),S(U,"withoutSetter",(function(t){return it(T(t),t)})),C.f=lt,O.f=at,j.f=ct,w.f=k.f=ut,x.f=ht,I.f=function(t){return it(A(t),t)},s&&(J(U.prototype,"description",{configurabl
|