33 lines
81 KiB
JavaScript
33 lines
81 KiB
JavaScript
/*!
|
||
* jsoneditor.js
|
||
*
|
||
* @brief
|
||
* JSONEditor is a web-based tool to view, edit, format, and validate JSON.
|
||
* It has various modes such as a tree editor, a code editor, and a plain text
|
||
* editor.
|
||
*
|
||
* Supported browsers: Chrome, Firefox, Safari, Opera, Internet Explorer 8+
|
||
*
|
||
* @license
|
||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||
* use this file except in compliance with the License. You may obtain a copy
|
||
* of the License at
|
||
*
|
||
* http://www.apache.org/licenses/LICENSE-2.0
|
||
*
|
||
* Unless required by applicable law or agreed to in writing, software
|
||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||
* License for the specific language governing permissions and limitations under
|
||
* the License.
|
||
*
|
||
* Copyright (c) 2011-2016 Jos de Jong, http://jsoneditoronline.org
|
||
*
|
||
* @author Jos de Jong, <wjosdejong@gmail.com>
|
||
* @version 6.0.0-BETA
|
||
* @date 2016-08-13
|
||
*/
|
||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.jsoneditor=e():t.jsoneditor=e()}(this,function(){return function(t){function e(o){if(n[o])return n[o].exports;var i=n[o]={exports:{},id:o,loaded:!1};return t[o].call(i.exports,i,i.exports,e),i.loaded=!0,i.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){var n=(0,r.render)((0,r.h)(a["default"],{options:e}),t);return n._component}var r=n(1),s=n(4),a=o(s);n(14),t.exports=i},function(t,e,n){(function(t){!function(t,n){n(e)}(this,function(t){function e(t,e,n){this.nodeName=t,this.attributes=e,this.children=n,this.key=e&&e.key}function n(t,e){if(e)for(var n in e)void 0!==e[n]&&(t[n]=e[n]);return t}function o(t){return n({},t)}function i(t,e){for(var n=e.split("."),o=0;o<n.length&&t;o++)t=t[n[o]];return t}function r(t,e){return[].slice.call(t,e)}function s(t){return"function"==typeof t}function a(t){return"string"==typeof t}function l(t){return void 0===t||null===t}function c(t){return t===!1||l(t)}function d(t){var e="";for(var n in t)t[n]&&(e&&(e+=" "),e+=n);return e}function p(t,n,o){var i,r,l,u=arguments.length;if(u>2){var f=typeof o;if(3===u&&"object"!==f&&"function"!==f)c(o)||(i=[String(o)]);else{i=[];for(var h=2;u>h;h++){var y=arguments[h];if(!c(y)){y.join?r=y:(r=Q)[0]=y;for(var m=0;m<r.length;m++){var v=r[m],k=!(c(v)||s(v)||v instanceof e);k&&!a(v)&&(v=String(v)),k&&l?i[i.length-1]+=v:c(v)||(i.push(v),l=k)}}}}}else if(n&&n.children)return p(t,n,n.children);n&&(n.children&&delete n.children,s(t)||("className"in n&&(n["class"]=n.className,delete n.className),l=n["class"],l&&!a(l)&&(n["class"]=d(l))));var g=new e(t,n||void 0,i);return X.vnode&&X.vnode(g),g}function u(t,e){return p(t.nodeName,n(o(t.attributes),e),arguments.length>2?r(arguments,2):t.children)}function f(t,e,n){var o=e.split("."),r=o[0];return function(e){var c,d,p,u=e&&e.currentTarget||this,f=t.state,h=f;if(a(n)?(d=i(e,n),l(d)&&(u=u._component)&&(d=i(u,n))):d=u.nodeName?(u.nodeName+u.type).match(/^input(check|rad)/i)?u.checked:u.value:e,s(d)&&(d=d.call(u)),o.length>1){for(p=0;p<o.length-1;p++)h=h[o[p]]||(h[o[p]]={});h[o[p]]=d,d=f[r]}t.setState((c={},c[r]=d,c))}}function h(t){1===nt.push(t)&&(X.debounceRendering||q)(y)}function y(){if(nt.length){var t,e=nt;for(nt=ot,ot=e;t=e.pop();)t._dirty&&F(t)}}function m(t){var e=t&&t.nodeName;return e&&s(e)&&!(e.prototype&&e.prototype.render)}function v(t,e){return t.nodeName(S(t),e||Y)}function k(t,e){return t[tt]||(t[tt]=e||{})}function g(t){return t instanceof Text?3:t instanceof Element?1:0}function b(t){var e=t.parentNode;e&&e.removeChild(t)}function x(t,e,n,o,i){if(k(t)[e]=n,"key"!==e&&"children"!==e)if("class"!==e||i)if("style"===e){if((!n||a(n)||a(o))&&(t.style.cssText=n||""),n&&"object"==typeof n){if(!a(o))for(var r in o)r in n||(t.style[r]="");for(var r in n)t.style[r]="number"!=typeof n[r]||et[r]?n[r]:n[r]+"px"}}else if("dangerouslySetInnerHTML"===e)n&&(t.innerHTML=n.__html);else if("o"===e[0]&&"n"===e[1]){var d=t._listeners||(t._listeners={});e=Z(e.substring(2)),n?d[e]||t.addEventListener(e,w):d[e]&&t.removeEventListener(e,w),d[e]=n}else if("type"!==e&&!i&&e in t)j(t,e,l(n)?"":n),c(n)&&t.removeAttribute(e);else{var p=i&&e.match(/^xlink\:?(.+)/);c(n)?p?t.removeAttributeNS("http://www.w3.org/1999/xlink",Z(p[1])):t.removeAttribute(e):"object"==typeof n||s(n)||(p?t.setAttributeNS("http://www.w3.org/1999/xlink",Z(p[1]),n):t.setAttribute(e,n))}else t.className=n||""}function j(t,e,n){try{t[e]=n}catch(o){}}function w(t){return this._listeners[t.type](X.event&&X.event(t)||t)}function C(t){for(var e={},n=t.attributes.length;n--;)e[t.attributes[n].name]=t.attributes[n].value;return e}function E(t,e){return a(e)?3===g(t):a(e.nodeName)?_(t,e.nodeName):s(e.nodeName)?t._componentConstructor===e.nodeName||m(e):void 0}function _(t,e){return t.normalizedNodeName===e||Z(t.nodeName)===Z(e)}function S(t){var e=t.nodeName.defaultProps,i=o(e||t.attributes);return e&&n(i,t.attributes),t.children&&(i.children=t.children),i}function N(t){O(t);var e=Z(t.nodeName),n=it[e];n?n.push(t):it[e]=[t]}function I(t,e){var n=Z(t),o=it[n]&&it[n].pop()||(e?document.createElementNS("http://www.w3.org/2000/svg",t):document.createElement(t));return k(o),o.normalizedNodeName=n,o}function O(t){b(t),1===g(t)&&(k(t,C(t)),t._component=t._componentConstructor=null)}function T(){for(var t;t=rt.pop();)t.componentDidMount&&t.componentDidMount()}function M(t,e,n,o,i){st++;var r=A(t,e,n,o);return i&&r.parentNode!==i&&i.appendChild(r),--st||T(),r}function A(t,e,n,o){for(var i=e&&e.attributes;m(e);)e=v(e,n);if(l(e))return document.createComment("");if(a(e)){if(t){if(3===g(t)&&t.parentNode)return t.nodeValue!=e&&(t.nodeValue=e),t;N(t)}return document.createTextNode(e)}var r,c=t,d=e.nodeName;if(s(d))return H(t,e,n,o);if(a(d)||(d=String(d)),r="svg"===Z(d),r&&(at=!0),t){if(!_(t,d)){for(c=I(d,at);t.firstChild;)c.appendChild(t.firstChild);R(t)}}else c=I(d,at);return e.children&&1===e.children.length&&"string"==typeof e.children[0]&&1===c.childNodes.length&&c.firstChild instanceof Text?c.firstChild.nodeValue=e.children[0]:(e.children||c.firstChild)&&P(c,e.children,n,o),B(c,e.attributes),i&&i.ref&&(c[tt].ref=i.ref)(c),r&&(at=!1),c}function P(t,e,n,o){var i,r,s,a,c=t.childNodes,d=[],p={},u=0,f=0,h=c.length,y=0,m=e&&e.length;if(h)for(var v=0;h>v;v++){var k=c[v],g=m?(r=k._component)?r.__key:(r=k[tt])?r.key:null:null;g||0===g?(u++,p[g]=k):d[y++]=k}if(m)for(var v=0;m>v;v++){if(s=e[v],a=null,u&&s.attributes){var g=s.key;!l(g)&&g in p&&(a=p[g],p[g]=void 0,u--)}if(!a&&y>f)for(i=f;y>i;i++)if(r=d[i],r&&E(r,s)){a=r,d[i]=void 0,i===y-1&&y--,i===f&&f++;break}a=A(a,s,n,o),a!==c[v]&&t.insertBefore(a,c[v]||null)}if(u)for(var v in p)p[v]&&(d[f=y++]=p[v]);y>f&&z(d)}function z(t,e){for(var n=t.length;n--;){var o=t[n];o&&R(o,e)}}function R(t,e){var n=t._component;n?J(n,!e):(t[tt]&&t[tt].ref&&t[tt].ref(null),e||N(t),t.childNodes&&t.childNodes.length&&z(t.childNodes,e))}function B(t,e){var n=t[tt]||C(t);for(var o in n)e&&o in e||x(t,o,null,n[o],at);if(e)for(var i in e)i in n&&e[i]==("value"===i||"selected"===i||"checked"===i?t[i]:n[i])||x(t,i,e[i],n[i],at)}function L(t){var e=t.constructor.name,n=lt[e];n?n.push(t):lt[e]=[t]}function V(t,e,n){var o=new t(e,n),i=lt[t.name];if(i)for(var r=i.length;r--;)if(i[r].constructor===t){o.nextBase=i[r].nextBase,i.splice(r,1);break}return o}function U(t){t._dirty||(t._dirty=!0,h(t))}function D(t,e,n,o,i){var r=t.base;t._disableRendering||(t._disableRendering=!0,(t.__ref=e.ref)&&delete e.ref,(t.__key=e.key)&&delete e.key,l(r)||i?t.componentWillMount&&t.componentWillMount():t.componentWillReceiveProps&&t.componentWillReceiveProps(e,o),o&&o!==t.context&&(t.prevContext||(t.prevContext=t.context),t.context=o),t.prevProps||(t.prevProps=t.props),t.props=e,t._disableRendering=!1,0!==n&&(1!==n&&X.syncComponentUpdates===!1&&r?U(t):F(t,1,i)),t.__ref&&t.__ref(t))}function F(t,e,i){if(!t._disableRendering){var r,a,l=t.props,c=t.state,d=t.context,p=t.prevProps||l,u=t.prevState||c,f=t.prevContext||d,h=t.base,y=h||t.nextBase,k=y&&y.nextSibling,g=y&&y.parentNode,b=y&&y._component,x=t._component;if(h&&(t.props=p,t.state=u,t.context=f,2!==e&&t.shouldComponentUpdate&&t.shouldComponentUpdate(l,c,d)===!1?r=!0:t.componentWillUpdate&&t.componentWillUpdate(l,c,d),t.props=l,t.state=c,t.context=d),t.prevProps=t.prevState=t.prevContext=t.nextBase=null,t._dirty=!1,!r){for(t.render&&(a=t.render(l,c,d)),t.getChildContext&&(d=n(o(d),t.getChildContext()));m(a);)a=v(a,d);var j,w,C=a&&a.nodeName;if(s(C)&&C.prototype.render){var E=x,_=S(a);E&&E.constructor===C?D(E,_,1,d):(j=E,E=V(C,_,d),E._parentComponent=t,t._component=E,D(E,_,0,d),F(E,1)),w=E.base}else{var N=y;j=x,j&&(N=t._component=null),(y||1===e)&&(N&&(N._component=null),w=M(N,a,d,i||!h))}if(y&&w!==y&&(g&&w!==g&&g.insertBefore(w,k||null),j||b!==t||x||!y.parentNode||(y._component=null,R(y))),j&&J(j,!0),t.base=w,w){for(var I=t,O=t;O=O._parentComponent;)I=O;w._component=I,w._componentConstructor=I.constructor}}!h||i?(rt.unshift(t),st||T()):!r&&t.componentDidUpdate&&t.componentDidUpdate(p,u,f);var A,P=t._renderCallbacks;if(P)for(;A=P.pop();)A.call(t);return a}}function H(t,e,n,o){for(var i=t&&t._component,r=t,s=i&&t._componentConstructor===e.nodeName,a=s,l=S(e);i&&!a&&(i=i._parentComponent);)a=i.constructor===e.nodeName;return!a||o&&!i._component?(i&&!s&&(J(i,!0),t=r=null),i=V(e.nodeName,l,n),t&&!i.nextBase&&(i.nextBase=t),D(i,l,1,n,o),t=i.base,r&&t!==r&&(r._component=null,R(r))):(D(i,l,3,n,o),t=i.base),t}function J(t,e){var n=t.base;t._disableRendering=!0,t.componentWillUnmount&&t.componentWillUnmount(),t.base=null;var o=t._component;o?J(o,e):n&&(n[tt]&&n[tt].ref&&n[tt].ref(null),t.nextBase=n,e&&(b(n),L(t)),z(n.childNodes,!e)),t.__ref&&t.__ref(null),t.componentDidUnmount&&t.componentDidUnmount()}function G(t,e){this._dirty=!0,this._disableRendering=!1,this.prevState=this.prevProps=this.prevContext=this.base=this.nextBase=this._parentComponent=this._component=this.__ref=this.__key=this._linkedStates=this._renderCallbacks=null,this.context=e||{},this.props=t,this.state=this.getInitialState&&this.getInitialState()||{}}function W(t,e,n){return M(n,t,{},!1,e)}var K={},Z=function(t){return K[t]||(K[t]=t.toLowerCase())},$="undefined"!=typeof Promise&&Promise.resolve(),q=$?function(t){$.then(t)}:setTimeout,X={vnode:l},Q=[],Y={},tt="undefined"!=typeof Symbol?Symbol["for"]("preactattr"):"__preactattr_",et={boxFlex:1,boxFlexGroup:1,columnCount:1,fillOpacity:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,fontWeight:1,lineClamp:1,lineHeight:1,opacity:1,order:1,orphans:1,strokeOpacity:1,widows:1,zIndex:1,zoom:1},nt=[],ot=[],it={},rt=[],st=0,at=!1,lt={};n(G.prototype,{linkState:function(t,e){var n=this._linkedStates||(this._linkedStates={}),o=t+"|"+e;return n[o]||(n[o]=f(this,t,e))},setState:function(t,e){var i=this.state;this.prevState||(this.prevState=o(i)),n(i,s(t)?t(i,this.props):t),e&&(this._renderCallbacks=this._renderCallbacks||[]).push(e),U(this)},forceUpdate:function(){F(this,2)},render:function(){return null}}),t.h=p,t.cloneElement=u,t.Component=G,t.render=W,t.rerender=y,t.options=X})}).call(e,n(2).setImmediate)},function(t,e,n){(function(t,o){function i(t,e){this._id=t,this._clearFn=e}var r=n(3).nextTick,s=Function.prototype.apply,a=Array.prototype.slice,l={},c=0;e.setTimeout=function(){return new i(s.call(setTimeout,window,arguments),clearTimeout)},e.setInterval=function(){return new i(s.call(setInterval,window,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(window,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},e.setImmediate="function"==typeof t?t:function(t){var n=c++,o=arguments.length<2?!1:a.call(arguments,1);return l[n]=!0,r(function(){l[n]&&(o?t.apply(null,o):t.call(null),e.clearImmediate(n))}),n},e.clearImmediate="function"==typeof o?o:function(t){delete l[t]}}).call(e,n(2).setImmediate,n(2).clearImmediate)},function(t,e){function n(t){if(l===setTimeout)return setTimeout(t,0);try{return l(t,0)}catch(e){try{return l.call(null,t,0)}catch(e){return l.call(this,t,0)}}}function o(t){if(c===clearTimeout)return clearTimeout(t);try{return c(t)}catch(e){try{return c.call(null,t)}catch(e){return c.call(this,t)}}}function i(){f&&p&&(f=!1,p.length?u=p.concat(u):h=-1,u.length&&r())}function r(){if(!f){var t=n(i);f=!0;for(var e=u.length;e;){for(p=u,u=[];++h<e;)p&&p[h].run();h=-1,e=u.length}p=null,f=!1,o(t)}}function s(t,e){this.fun=t,this.array=e}function a(){}var l,c,d=t.exports={};!function(){try{l=setTimeout}catch(t){l=function(){throw new Error("setTimeout is not defined")}}try{c=clearTimeout}catch(t){c=function(){throw new Error("clearTimeout is not defined")}}}();var p,u=[],f=!1,h=-1;d.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var o=1;o<arguments.length;o++)e[o-1]=arguments[o];u.push(new s(t,e)),1!==u.length||f||n(r)},s.prototype.run=function(){this.fun.apply(null,this.array)},d.title="browser",d.browser=!0,d.env={},d.argv=[],d.version="",d.versions={},d.on=a,d.addListener=a,d.once=a,d.off=a,d.removeListener=a,d.removeAllListeners=a,d.emit=a,d.binding=function(t){throw new Error("process.binding is not supported")},d.cwd=function(){return"/"},d.chdir=function(t){throw new Error("process.chdir is not supported")},d.umask=function(){return 0}},function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t,e){if(0===e.length)return[];var n=void 0;return"array"===t.type?(n=e[0],["items",n].concat(a(t.items[n],e.slice(1)))):(n=t.props.findIndex(function(t){return t.name===e[0]}),["props",n,"value"].concat(a(t.props[n].value,e.slice(1))))}function l(t,e,n){return Array.isArray(e)?{type:"array",expanded:n(t),items:e.map(function(e,o){return l(t.concat(o),e,n)})}:(0,v.isObject)(e)?{type:"object",expanded:n(t),props:Object.keys(e).map(function(o){return{name:o,value:l(t.concat(o),e[o],n)}})}:{type:"value",value:e}}function c(t){var e=function(){switch(t.type){case"array":return{v:t.items.map(c)};case"object":var e={};return t.props.forEach(function(t){e[t.name]=c(t.value)}),{v:e};default:return{v:t.value}}}();return"object"===("undefined"==typeof e?"undefined":u(e))?e.v:void 0}function d(t){return"array"===t?{type:t,expanded:!0,items:[]}:"object"===t?{type:t,expanded:!0,props:[]}:{type:t,value:""}}function p(t,e){var n=d(e);return"value"===e&&"string"===t.type&&(n.value=(0,v.stringConvert)(t.value)),"string"===e&&"value"===t.type&&(n.value=t.value+""),"object"===e&&"array"===t.type&&(n.props=t.items.map(function(t,e){return{name:e+"",value:t}})),"array"===e&&"object"===t.type&&(n.items=t.props.map(function(t){return t.value})),n}Object.defineProperty(e,"__esModule",{value:!0});var u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t},f=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),h=n(1),y=n(5),m=n(7),v=n(6),k=n(8),g=o(k),b=n(9),x=o(b),j=function(t){function e(t){i(this,e);var n=r(this,Object.getPrototypeOf(e).call(this,t));(0,g["default"])(n);var o=n.props.options&&n.props.options.name||null,s=n.props.options&&n.props.options.expand||e.expand;return n.state={options:{name:o},data:l([],n.props.data||{},s),events:{onChangeProperty:n.handleChangeProperty,onChangeValue:n.handleChangeValue,onChangeType:n.handleChangeType,onInsert:n.handleInsert,onAppend:n.handleAppend,onDuplicate:n.handleDuplicate,onRemove:n.handleRemove,onSort:n.handleSort,onExpand:n.handleExpand},search:null},n}return s(e,t),f(e,[{key:"render",value:function(){return(0,h.h)("div",{"class":"jsoneditor",contentEditable:"false",onClick:x["default"].hideContextMenu},[(0,h.h)("ul",{"class":"jsoneditor-list",contentEditable:"false"},[(0,h.h)(x["default"],{data:this.state.data,events:this.state.events,options:this.state.options,parent:null,prop:null})])])}},{key:"handleChangeValue",value:function(t,e){console.log("handleChangeValue",t,e);var n=a(this.state.data,t);this.setState({data:(0,y.setIn)(this.state.data,n.concat(["value"]),e)})}},{key:"handleChangeProperty",value:function(t,e,n){console.log("handleChangeProperty",t,e,n);var o=a(this.state.data,t),i=(0,y.getIn)(this.state.data,o),r=i.props.findIndex(function(t){return t.name===e});this.setState({data:(0,y.setIn)(this.state.data,o.concat(["props",r,"name"]),n)})}},{key:"handleChangeType",value:function(t,e){console.log("handleChangeType",t,e);var n=a(this.state.data,t),o=(0,y.getIn)(this.state.data,n),i=p(o,e);this.setState({data:(0,y.setIn)(this.state.data,n,i)})}},{key:"handleInsert",value:function(t,e,n){console.log("handleInsert",t,e,n);var o=a(this.state.data,t),i=(0,y.getIn)(this.state.data,o);"array"===i.type?this.setState({data:(0,y.updateIn)(this.state.data,o.concat(["items"]),function(t){var o=parseInt(e),i=t.slice(0);return i.splice(o+1,0,d(n)),i})}):this.setState({data:(0,y.updateIn)(this.state.data,o.concat(["props"]),function(t){var o=t.findIndex(function(t){return t.name===e}),i=t.slice(0);return i.splice(o+1,0,{name:"",value:d(n)}),i})})}},{key:"handleAppend",value:function(t,e){console.log("handleAppend",t,e);var n=a(this.state.data,t),o=(0,y.getIn)(this.state.data,n);"array"===o.type?this.setState({data:(0,y.updateIn)(this.state.data,n.concat(["items"]),function(t){var n=t.slice(0);return n.push(d(e)),n})}):this.setState({data:(0,y.updateIn)(this.state.data,n.concat(["props"]),function(t){var n=t.slice(0);return n.push({name:"",value:d(e)}),n})})}},{key:"handleDuplicate",value:function(t,e){console.log("handleDuplicate",t);var n=a(this.state.data,t),o=(0,y.getIn)(this.state.data,n);"array"===o.type?this.setState({data:(0,y.updateIn)(this.state.data,n.concat(["items"]),function(t){var n=parseInt(e),o=t.slice(0),i=t[n],r=(0,y.cloneDeep)(i);return o.splice(n+1,0,r),o})}):this.setState({data:(0,y.updateIn)(this.state.data,n.concat(["props"]),function(t){var n=t.findIndex(function(t){return t.name===e}),o=t.slice(0),i=t[n],r=(0,y.cloneDeep)(i);return o.splice(n+1,0,r),o})})}},{key:"handleRemove",value:function(t,e){console.log("handleRemove",t);var n=(0,y.getIn)(this.state.data,a(this.state.data,t));if("array"===n.type){var o=a(this.state.data,t.concat(e));this.setState({data:(0,y.deleteIn)(this.state.data,o)})}else{var i=a(this.state.data,t.concat(e));i.pop(),this.setState({data:(0,y.deleteIn)(this.state.data,i)})}}},{key:"handleSort",value:function(t){var e=arguments.length<=1||void 0===arguments[1]?null:arguments[1];console.log("handleSort",t,e);var n=a(this.state.data,t),o=(0,y.getIn)(this.state.data,n),i=void 0;"asc"===e||"desc"===e?i=e:(i="asc"!==o.order?"asc":"desc",this.setState({data:(0,y.setIn)(this.state.data,n.concat(["order"]),i)})),"array"===o.type?this.setState({data:(0,y.updateIn)(this.state.data,n.concat(["items"]),function(t){var e=t.slice(0),n="desc"===i?m.compareDesc:m.compareAsc;return e.sort(function(t,e){return n(t.value,e.value)}),e})}):this.setState({data:(0,y.updateIn)(this.state.data,n.concat(["props"]),function(t){var e=t.slice(0),n="desc"===i?m.compareDesc:m.compareAsc;return e.sort(function(t,e){return n(t.name,e.name)}),e})})}},{key:"handleExpand",value:function(t,e){console.log("handleExpand",t,e);var n=a(this.state.data,t);this.setState({data:(0,y.setIn)(this.state.data,n.concat(["expanded"]),e)})}},{key:"set",value:function(t){var n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];this.setState({options:(0,y.setIn)(this.state.options,["name"],n&&n.name||null),data:l([],t,n.expand||e.expand)})}},{key:"get",value:function(){return c(this.state.data)}}],[{key:"expand",value:function(t){return 0===t.length}}]),e}(h.Component);e["default"]=j},function(t,e,n){"use strict";function o(t){if(Array.isArray(t))return t.slice(0);if(!(0,d.isObject)(t))return t;var e=function(){var e={};return Object.keys(t).forEach(function(n){e[n]=t[n]}),{v:e}}();return"object"===("undefined"==typeof e?"undefined":c(e))?e.v:void 0}function i(t){if(Array.isArray(t))return t.map(i);if(!(0,d.isObject)(t))return t;var e=function(){var e={};return Object.keys(t).forEach(function(n){e[n]=i(t[n])}),{v:e}}();return"object"===("undefined"==typeof e?"undefined":c(e))?e.v:void 0}function r(t,e){for(var n=t,o=0;o<e.length;)n=Array.isArray(n)||(0,d.isObject)(n)?n[e[o]]:void 0,o++;return n}function s(t,e,n){if(0===e.length)return n;var i=e[0],r=void 0;return r="string"!=typeof i||(0,d.isObject)(t)?"number"!=typeof i||Array.isArray(t)?o(t):[]:{},r[i]=s(r[i],e.slice(1),n),r}function a(t,e,n){if(0===e.length)return n(t);var i=e[0],r=void 0;return r="string"!=typeof i||(0,d.isObject)(t)?"number"!=typeof i||Array.isArray(t)?o(t):[]:{},r[i]=a(r[i],e.slice(1),n),r}function l(t,e){if(0===e.length)return t;if(1===e.length){var n=e[0],i=o(t);return Array.isArray(i)?i.splice(n,1):delete i[n],i}var r=e[0],s=t[r];if(Array.isArray(s)||(0,d.isObject)(s)){var a=o(t);return a[r]=l(s,e.slice(1)),a}return t}Object.defineProperty(e,"__esModule",{value:!0});var c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t};e.clone=o,e.cloneDeep=i,e.getIn=r,e.setIn=s,e.updateIn=a,e.deleteIn=l;var d=n(6)},function(t,e){"use strict";function n(t){return null===t?"null":void 0===t?"undefined":"number"==typeof t?"number":"string"==typeof t?"string":"boolean"==typeof t?"boolean":t instanceof RegExp?"regexp":Array.isArray(t)?"array":"object"}function o(t){return"object"===("undefined"==typeof t?"undefined":s(t))&&t&&!Array.isArray(t)&&"[object Object]"===t.toString()}function i(t){return"string"==typeof t&&a.test(t)}function r(t){var e=Number(t),n=parseFloat(t);return""==t?"":"null"==t?null:"true"==t?!0:"false"==t?!1:isNaN(e)||isNaN(n)?t:e}Object.defineProperty(e,"__esModule",{value:!0});var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t};e.valueType=n,e.isObject=o,e.isUrl=i,e.stringConvert=r;var a=/^https?:\/\/\S+$/},function(t,e){"use strict";function n(t){return t[t.length-1]}function o(t,e){return t>e?1:e>t?-1:0}function i(t,e){return t>e?-1:e>t?1:0}Object.defineProperty(e,"__esModule",{value:!0}),e.last=n,e.compareAsc=o,e.compareDesc=i},function(t,e){"use strict";function n(t){var e=Object.getPrototypeOf(t);Object.getOwnPropertyNames(e).forEach(function(e){"function"==typeof t[e]&&(t[e]=t[e].bind(t))})}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=n},function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),l=n(1),c=n(10),d=o(c),p=n(11),u=(n(7),n(13)),f=n(6),h={value:'Item type "value". The item type is automatically determined from the value and can be a string, number, boolean, or null.',object:'Item type "object". An object contains an unordered set of key/value pairs.',array:'Item type "array". An array contains an ordered collection of values.',string:'Item type "string". Item type is not determined from the value, but always returned as string.'},y=null,m=function(t){function e(t){i(this,e);var n=r(this,Object.getPrototypeOf(e).call(this,t));return n.state={menu:null,appendMenu:null},n.handleChangeProperty=n.handleChangeProperty.bind(n),n.handleChangeValue=n.handleChangeValue.bind(n),n.handleClickValue=n.handleClickValue.bind(n),n.handleKeyDownValue=n.handleKeyDownValue.bind(n),n.handleExpand=n.handleExpand.bind(n),n.handleContextMenu=n.handleContextMenu.bind(n),n.handleAppendContextMenu=n.handleAppendContextMenu.bind(n),n}return s(e,t),a(e,[{key:"render",value:function(t){return"array"===t.data.type?this.renderJSONArray(t):"object"===t.data.type?this.renderJSONObject(t):this.renderJSONValue(t)}},{key:"renderJSONObject",value:function(t){var n=this,o=t.prop,i=t.data,r=t.options,s=t.events,a=i.props.length,c=[(0,l.h)("div",{"class":"jsoneditor-node jsoneditor-object"},[this.renderExpandButton(),this.renderContextMenuButton(),this.renderProperty(o,i,r),this.renderReadonly("{"+a+"}","Array containing "+a+" items")])];if(i.expanded){var d=i.props.map(function(t){return(0,l.h)(e,{parent:n,prop:t.name,data:t.value,options:r,events:s})});0===d.length&&d.push(this.renderAppend("(empty object)")),c.push((0,l.h)("ul",{"class":"jsoneditor-list"},d))}return(0,l.h)("li",{},c)}},{key:"renderJSONArray",value:function(t){var n=this,o=t.prop,i=t.data,r=t.options,s=t.events,a=i.items.length,c=[(0,l.h)("div",{"class":"jsoneditor-node jsoneditor-array"},[this.renderExpandButton(),this.renderContextMenuButton(),this.renderProperty(o,i,r),this.renderReadonly("["+a+"]","Array containing "+a+" items")])];if(i.expanded){var d=i.items.map(function(t,o){return(0,l.h)(e,{parent:n,prop:o,data:t,options:r,events:s})});0===d.length&&d.push(this.renderAppend("(empty array)")),c.push((0,l.h)("ul",{"class":"jsoneditor-list"},d))}return(0,l.h)("li",{},c)}},{key:"renderJSONValue",value:function(t){var e=t.prop,n=t.data,o=t.options;return(0,l.h)("li",{},[(0,l.h)("div",{"class":"jsoneditor-node"},[this.renderPlaceholder(),this.renderContextMenuButton(),this.renderProperty(e,n,o),this.renderSeparator(),this.renderValue(n.value)])])}},{key:"renderAppend",value:function(t){return(0,l.h)("li",{},[(0,l.h)("div",{"class":"jsoneditor-node"},[this.renderPlaceholder(),this.renderAppendContextMenuButton(),this.renderReadonly(t)])])}},{key:"renderPlaceholder",value:function(){return(0,l.h)("div",{"class":"jsoneditor-button-placeholder"})}},{key:"renderReadonly",value:function(t){var e=arguments.length<=1||void 0===arguments[1]?null:arguments[1];return(0,l.h)("div",{"class":"jsoneditor-readonly",title:e},t)}},{key:"renderProperty",value:function(t,n,o){if(null!==t){var i="number"==typeof t;return i?(0,l.h)("div",{"class":"jsoneditor-property jsoneditor-readonly",spellCheck:"false"},t):(0,l.h)("div",{"class":"jsoneditor-property",contentEditable:"true",spellCheck:"false",onInput:this.handleChangeProperty},t)}var r=e._rootName(n,o);return(0,l.h)("div",{"class":"jsoneditor-property jsoneditor-readonly",spellCheck:"false",onInput:this.handleChangeProperty},r)}},{key:"renderSeparator",value:function(){return(0,l.h)("div",{"class":"jsoneditor-separator"},":")}},{key:"renderValue",value:function(t){var e=(0,f.valueType)(t),n=(0,f.isUrl)(t),o="jsoneditor-value jsoneditor-"+e+(n?" jsoneditor-url":"");return(0,l.h)("div",{"class":o,contentEditable:"true",spellCheck:"false",onInput:this.handleChangeValue,onClick:this.handleClickValue,onKeyDown:this.handleKeyDownValue,title:n?"Ctrl+Click or ctrl+Enter to open url":null},(0,p.escapeHTML)(t))}},{key:"renderExpandButton",value:function(){var t="jsoneditor-button jsoneditor-"+(this.props.data.expanded?"expanded":"collapsed");return(0,l.h)("div",{"class":"jsoneditor-button-container"},(0,l.h)("button",{"class":t,onClick:this.handleExpand}))}},{key:"renderContextMenuButton",value:function(){var t="jsoneditor-button jsoneditor-contextmenu"+(this.state.menu?" jsoneditor-visible":"");return(0,l.h)("div",{"class":"jsoneditor-button-container"},[this.renderContextMenu(this.state.menu),(0,l.h)("button",{"class":t,onClick:this.handleContextMenu})])}},{key:"renderAppendContextMenuButton",value:function(){var t="jsoneditor-button jsoneditor-contextmenu"+(this.state.appendMenu?" jsoneditor-visible":"");return(0,l.h)("div",{"class":"jsoneditor-button-container"},[this.renderAppendContextMenu(),(0,l.h)("button",{"class":t,onClick:this.handleAppendContextMenu})])}},{key:"renderContextMenu",value:function(){var t=this;if(!this.state.menu)return null;var e=this.state.menu,n=e.anchor,o=e.root,i=this.getPath(),r=null!==this.props.parent,s=this.props.data.type,a=this.props.events,c=[];if(c.push({text:"Type",title:"Change the type of this field",className:"jsoneditor-type-"+s,submenu:[{text:"Value",className:"jsoneditor-type-value"+("value"==s?" jsoneditor-selected":""),title:h.value,click:function(){return a.onChangeType(i,"value")}},{text:"Array",className:"jsoneditor-type-array"+("array"==s?" jsoneditor-selected":""),title:h.array,click:function(){return a.onChangeType(i,"array")}},{text:"Object",className:"jsoneditor-type-object"+("object"==s?" jsoneditor-selected":""),title:h.object,click:function(){return a.onChangeType(i,"object")}},{text:"String",className:"jsoneditor-type-string"+("string"==s?" jsoneditor-selected":""),title:h.string,click:function(){return a.onChangeType(i,"string")}}]}),"array"===s||"object"===s){var p="asc"==this.sortOrder?"desc":"asc";c.push({text:"Sort",title:"Sort the childs of this "+h.type,className:"jsoneditor-sort-"+p,click:function(){return a.onSort(i)},submenu:[{text:"Ascending",className:"jsoneditor-sort-asc",title:"Sort the childs of this "+h.type+" in ascending order",click:function(){return a.onSort(i,"asc")}},{text:"Descending",className:"jsoneditor-sort-desc",title:"Sort the childs of this "+h.type+" in descending order",click:function(){return a.onSort(i,"desc")}}]})}return r&&!function(){var e=t.props.parent.getPath(),n=t.props.prop;c.length&&c.push({type:"separator"}),c.push({text:"Insert",title:"Insert a new item with type 'value' after this item (Ctrl+Ins)",submenuTitle:"Select the type of the item to be inserted",className:"jsoneditor-insert",click:function(){return a.onInsert(e,n,"value")},submenu:[{text:"Value",className:"jsoneditor-type-value",title:h.value,click:function(){return a.onInsert(e,n,"value")}},{text:"Array",className:"jsoneditor-type-array",title:h.array,click:function(){return a.onInsert(e,n,"array")}},{text:"Object",className:"jsoneditor-type-object",title:h.object,click:function(){return a.onInsert(e,n,"object")}},{text:"String",className:"jsoneditor-type-string",title:h.string,click:function(){return a.onInsert(e,n,"string")}}]}),c.push({text:"Duplicate",title:"Duplicate this item (Ctrl+D)",className:"jsoneditor-duplicate",click:function(){return a.onDuplicate(e,n)}}),c.push({text:"Remove",title:"Remove this item (Ctrl+Del)",className:"jsoneditor-remove",click:function(){return a.onRemove(e,n)}})}(),(0,l.h)(d["default"],{anchor:n,root:o,items:c})}},{key:"renderAppendContextMenu",value:function(){if(!this.state.appendMenu)return null;var t=this.state.appendMenu,e=t.anchor,n=t.root,o=this.getPath(),i=this.props.events,r=[];return r.push({text:"Insert",title:"Insert a new item with type 'value' after this item (Ctrl+Ins)",submenuTitle:"Select the type of the item to be inserted",className:"jsoneditor-insert",click:function(){return i.onAppend(o,"value")},submenu:[{text:"Value",className:"jsoneditor-type-value",title:h.value,click:function(){return i.onAppend(o,"value")}},{text:"Array",className:"jsoneditor-type-array",title:h.array,click:function(){return i.onAppend(o,"array")}},{text:"Object",className:"jsoneditor-type-object",title:h.object,click:function(){return i.onAppend(o,"object")}},{text:"String",className:"jsoneditor-type-string",title:h.string,click:function(){return i.onAppend(o,"string")}}]
|
||
}),(0,l.h)(d["default"],{anchor:e,root:n,items:r})}},{key:"shouldComponentUpdate",value:function(t,e){var n=void 0;for(n in t)if(t.hasOwnProperty(n)&&this.props[n]!==t[n])return!0;for(n in e)if(e.hasOwnProperty(n)&&this.state[n]!==e[n])return!0;return!1}},{key:"handleChangeProperty",value:function(t){var e=this.props.parent.getPath(),n=this.props.prop,o=(0,p.unescapeHTML)((0,u.getInnerText)(t.target));this.props.events.onChangeProperty(e,n,o)}},{key:"handleChangeValue",value:function(t){var e=this._getValueFromEvent(t);this.props.events.onChangeValue(this.getPath(),e)}},{key:"handleClickValue",value:function(t){t.ctrlKey&&0===t.button&&this._openLinkIfUrl(t)}},{key:"handleKeyDownValue",value:function(t){t.ctrlKey&&13===t.which&&this._openLinkIfUrl(t)}},{key:"handleExpand",value:function(t){this.props.events.onExpand(this.getPath(),!this.props.data.expanded)}},{key:"handleContextMenu",value:function(t){t.stopPropagation(),this.state.menu?e.hideContextMenu():(e.hideContextMenu(),this.setState({menu:{anchor:t.target,root:e._findRootElement(t)}}),y=this)}},{key:"handleAppendContextMenu",value:function(t){t.stopPropagation(),this.state.appendMenu?e.hideContextMenu():(e.hideContextMenu(),this.setState({appendMenu:{anchor:t.target,root:e._findRootElement(t)}}),y=this)}},{key:"_openLinkIfUrl",value:function(t){var e=this._getValueFromEvent(t);(0,f.isUrl)(e)&&(t.preventDefault(),t.stopPropagation(),window.open(e,"_blank"))}},{key:"getPath",value:function(){var t=this.props.parent?this.props.parent.getPath():[];return null!==this.props.prop&&t.push(this.props.prop),t}},{key:"_getValueFromEvent",value:function(t){var e=(0,p.unescapeHTML)((0,u.getInnerText)(t.target));return"string"===this.props.data.type?e:(0,f.stringConvert)(e)}}],[{key:"_rootName",value:function(t,e){return"string"==typeof e.name?e.name:"object"===t.type||"array"===t.type?t.type:(0,f.valueType)(t.value)}},{key:"hideContextMenu",value:function(){y&&(y.setState({menu:null,appendMenu:null}),y=null)}},{key:"_findRootElement",value:function(t){function e(t){return-1!==t.className.split(" ").indexOf("jsoneditor")}for(var n=t.target;n;){if(e(n))return n;n=n.parentNode}return null}}]),e}(l.Component);e["default"]=m},function(t,e,n){"use strict";function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0}),e.CONTEXT_MENU_HEIGHT=void 0;var s=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),a=n(1),l=e.CONTEXT_MENU_HEIGHT=240,c=function(t){function e(t){o(this,e);var n=i(this,Object.getPrototypeOf(e).call(this,t)),r=n.props.anchor.getBoundingClientRect(),s=n.props.root.getBoundingClientRect(),a=s.bottom-r.bottom<l&&r.top-s.top>l?"top":"bottom";return n.state={orientation:a,expanded:null,expanding:null,collapsing:null},n.renderMenuItem=n.renderMenuItem.bind(n),n}return r(e,t),s(e,[{key:"render",value:function(){if(!this.props.items)return null;var t="jsoneditor-contextmenu "+("top"===this.state.orientation?"jsoneditor-contextmenu-top":"jsoneditor-contextmenu-bottom");return(0,a.h)("div",{"class":t},this.props.items.map(this.renderMenuItem))}},{key:"renderMenuItem",value:function(t,e){return"separator"===t.type?(0,a.h)("div",{"class":"jsoneditor-menu-separator"}):t.click&&t.submenu?(0,a.h)("div",{"class":"jsoneditor-menu-item"},[(0,a.h)("button",{"class":"jsoneditor-menu-button jsoneditor-menu-default "+t.className,title:t.title,onClick:t.click},[(0,a.h)("span",{"class":"jsoneditor-icon"}),(0,a.h)("span",{"class":"jsoneditor-text"},t.text)]),(0,a.h)("button",{"class":"jsoneditor-menu-button jsoneditor-menu-expand",onClick:this.createExpandHandler(e)},[(0,a.h)("span",{"class":"jsoneditor-icon jsoneditor-icon-expand"})]),this.renderSubMenu(t.submenu,e)]):t.submenu?(0,a.h)("div",{"class":"jsoneditor-menu-item"},[(0,a.h)("button",{"class":"jsoneditor-menu-button "+t.className,title:t.title,onClick:this.createExpandHandler(e)},[(0,a.h)("span",{"class":"jsoneditor-icon"}),(0,a.h)("span",{"class":"jsoneditor-text"},t.text),(0,a.h)("span",{"class":"jsoneditor-icon jsoneditor-icon-expand"})]),this.renderSubMenu(t.submenu,e)]):(0,a.h)("div",{"class":"jsoneditor-menu-item"},[(0,a.h)("button",{"class":"jsoneditor-menu-button "+t.className,title:t.title,onClick:t.click},[(0,a.h)("span",{"class":"jsoneditor-icon"}),(0,a.h)("span",{"class":"jsoneditor-text"},t.text)])])}},{key:"renderSubMenu",value:function(t,e){var n=this.state.expanded===e,o=this.state.collapsing===e,i=t.map(function(t){return(0,a.h)("div",{"class":"jsoneditor-menu-item"},[(0,a.h)("button",{"class":"jsoneditor-menu-button "+t.className,title:t.title,onClick:t.click},[(0,a.h)("span",{"class":"jsoneditor-icon"}),(0,a.h)("span",{"class":"jsoneditor-text"},t.text)])])}),r="jsoneditor-submenu "+(n?" jsoneditor-expanded":"")+(o?" jsoneditor-collapsing":"");return(0,a.h)("div",{"class":r},i)}},{key:"createExpandHandler",value:function(t){var e=this;return function(n){n.stopPropagation();var o=e.state.expanded;e.setState({expanded:o===t?null:t,collapsing:o}),setTimeout(function(){o===e.state.collapsing&&e.setState({collapsing:null})},300)}}}]),e}(a.Component);e["default"]=c},function(t,e,n){"use strict";function o(t){var e=arguments.length<=1||void 0===arguments[1]?!1:arguments[1];if("string"!=typeof t)return String(t);var n=String(t).replace(/ /g," ").replace(/^ /," ").replace(/ $/," "),o=JSON.stringify(n),r=o.substring(1,o.length-1);return e===!0&&(r=i(r)),r}function i(t){return t.replace(/[\u007F-\uFFFF]/g,function(t){return"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)})}function r(t){var e='"'+s(t)+'"',n=(0,a.parseJSON)(e);return n.replace(/\u00A0/g," ")}function s(t){for(var e="",n=0;n<t.length;){var o=t.charAt(n);"\n"==o?e+="\\n":"\\"==o?(e+=o,n++,o=t.charAt(n),""!==o&&-1!='"\\/bfnrtu'.indexOf(o)||(e+="\\"),e+=o):e+='"'==o?'\\"':o,n++}return e}Object.defineProperty(e,"__esModule",{value:!0}),e.escapeHTML=o,e.unescapeHTML=r,e.escapeJSON=s;var a=n(12)},function(t,e){"use strict";function n(t){try{return JSON.parse(t)}catch(e){throw o(t),e}}function o(t){"undefined"!=typeof window.jsonlint?window.jsonlint.parse(t):JSON.parse(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.parseJSON=n,e.validate=o},function(t,e){"use strict";function n(t,e){var i=void 0==e;if(i&&(e={text:"",flush:function(){var t=this.text;return this.text="",t},set:function(t){this.text=t}}),t.nodeValue)return e.flush()+t.nodeValue;if(t.hasChildNodes()){for(var r=t.childNodes,s="",a=0,l=r.length;l>a;a++){var c=r[a];if("DIV"==c.nodeName||"P"==c.nodeName){var d=r[a-1],p=d?d.nodeName:void 0;p&&"DIV"!=p&&"P"!=p&&"BR"!=p&&(s+="\n",e.flush()),s+=n(c,e),e.set("\n")}else"BR"==c.nodeName?(s+=e.flush(),e.set("\n")):s+=n(c,e)}return s}return"P"==t.nodeName&&-1!=o()?e.flush():""}function o(){if(-1==i){var t=-1;if("Microsoft Internet Explorer"==navigator.appName){var e=navigator.userAgent,n=new RegExp("MSIE ([0-9]{1,}[.0-9]{0,})");null!=n.exec(e)&&(t=parseFloat(RegExp.$1))}i=t}return i}Object.defineProperty(e,"__esModule",{value:!0}),e.getInnerText=n,e.getInternetExplorerVersion=o;var i=-1},function(t,e,n){var o=n(15);"string"==typeof o&&(o=[[t.id,o,""]]);n(18)(o,{});o.locals&&(t.exports=o.locals)},function(t,e,n){e=t.exports=n(16)(),e.push([t.id,".jsoneditor{border:1px solid #3883fa;overflow:auto;height:100%;min-height:150px;padding:2px 0}.jsoneditor-node{position:relative;font:14px Arial;display:inline-flex;flex-direction:row}.jsoneditor-node>div{flex:1 1 auto}ul.jsoneditor-list{list-style-type:none;padding-left:20px;margin:0;font-size:0}.jsoneditor>ul.jsoneditor-list{padding-left:2px}.jsoneditor-property,.jsoneditor-readonly,.jsoneditor-separator,.jsoneditor-value{flex:1 1 auto;line-height:20px;font-family:droid sans mono,consolas,monospace,courier new,courier,sans-serif;font-size:10pt}.jsoneditor-property,.jsoneditor-readonly,.jsoneditor-value{min-width:24px;word-break:break-word;padding:0 5px;color:#1a1a1a;outline:none}.jsoneditor-button-container{font-size:0}.jsoneditor-property,.jsoneditor-value{border-radius:1px}.jsoneditor-property:focus,.jsoneditor-value:focus{box-shadow:0 0 3px 1px #008fd5}.jsoneditor-property:hover,.jsoneditor-value:hover{background-color:#f5f5f5}.jsoneditor-readonly,.jsoneditor-separator{color:gray}.jsoneditor-readonly:focus,.jsoneditor-readonly:hover{border-color:transparent;background-color:inherit}.jsoneditor-value.jsoneditor-string{color:green}.jsoneditor-value.jsoneditor-array,.jsoneditor-value.jsoneditor-object{min-width:16px;color:gray}.jsoneditor-value.jsoneditor-number{color:#ee422e}.jsoneditor-value.jsoneditor-boolean{color:#ff8c00}.jsoneditor-value.jsoneditor-null{color:#004ed0}.jsoneditor-value.jsoneditor-invalid{color:#000}div.jsoneditor-value.jsoneditor-url{color:green;text-decoration:underline}.jsoneditor-button-placeholder{width:20px;padding:0;margin:0;line-height:20px}button.jsoneditor-button{position:relative;width:20px;height:20px;padding:0;margin:0;border:none;cursor:pointer;background:transparent url("+n(17)+")}button.jsoneditor-button:focus{background-color:#f5f5f5;outline:1px solid #e5e5e5}button.jsoneditor-button.jsoneditor-collapsed{background-position:-2px -50px}button.jsoneditor-button.jsoneditor-expanded{background-position:-2px -74px}button.jsoneditor-button.jsoneditor-contextmenu{background-position:-50px -74px}button.jsoneditor-button.jsoneditor-contextmenu.jsoneditor-visible,button.jsoneditor-button.jsoneditor-contextmenu:focus,button.jsoneditor-button.jsoneditor-contextmenu:hover{background-position:-50px -50px}div.jsoneditor-contextmenu{position:absolute;box-sizing:border-box;z-index:99999;top:20px;left:18px;background:#fff;border:1px solid #d3d3d3;box-shadow:2px 2px 12px hsla(0,0%,50%,.3)}div.jsoneditor-contextmenu.jsoneditor-contextmenu-top{top:auto;bottom:20px}div.jsoneditor-menu-item{line-height:0;font-size:0}button.jsoneditor-menu-button{width:136px;height:24px;padding:0;margin:0;line-height:24px;background:transparent;border:transparent;display:inline-block;box-sizing:border-box;cursor:pointer;color:#4d4d4d;font-size:10pt;font-family:arial,sans-serif;text-align:left}button.jsoneditor-menu-button:focus,button.jsoneditor-menu-button:hover{color:#1a1a1a;background-color:#f5f5f5;outline:none}button.jsoneditor-menu-button.jsoneditor-selected{color:#fff;background-color:#ee422e}button.jsoneditor-menu-default{width:104px}button.jsoneditor-menu-expand{width:32px;float:right;border-left:1px solid #e5e5e5}span.jsoneditor-icon{float:left;width:24px;height:24px;border:none;padding:0;margin:0;background-image:url("+n(17)+")}span.jsoneditor-icon.jsoneditor-icon-expand{float:right;width:24px;margin:0 4px;background-position:0 -72px!important;opacity:.4}div.jsoneditor-menu-item button.jsoneditor-menu-button:hover span.jsoneditor-icon-expand,div.jsoneditor-menu-item button:focus span.jsoneditor-icon-expand{opacity:1}span.jsoneditor-text{display:inline-block;line-height:24px}div.jsoneditor-menu-separator{height:0;border-top:1px solid #e5e5e5;padding-top:5px;margin-top:5px}button.jsoneditor-remove span.jsoneditor-icon{background-position:-24px -24px}button.jsoneditor-remove:focus span.jsoneditor-icon,button.jsoneditor-remove:hover span.jsoneditor-icon{background-position:-24px 0}button.jsoneditor-insert span.jsoneditor-icon{background-position:0 -24px}button.jsoneditor-insert:focus span.jsoneditor-icon,button.jsoneditor-insert:hover span.jsoneditor-icon{background-position:0 0}button.jsoneditor-duplicate span.jsoneditor-icon{background-position:-48px -24px}button.jsoneditor-duplicate:focus span.jsoneditor-icon,button.jsoneditor-duplicate:hover span.jsoneditor-icon{background-position:-48px 0}button.jsoneditor-sort-asc span.jsoneditor-icon{background-position:-168px -24px}button.jsoneditor-sort-asc:focus span.jsoneditor-icon,button.jsoneditor-sort-asc:hover span.jsoneditor-icon{background-position:-168px 0}button.jsoneditor-sort-desc span.jsoneditor-icon{background-position:-192px -24px}button.jsoneditor-sort-desc:focus span.jsoneditor-icon,button.jsoneditor-sort-desc:hover span.jsoneditor-icon{background-position:-192px 0}div.jsoneditor-submenu{visibility:hidden;max-height:0;overflow:hidden;transition:max-height .3s ease-out;box-shadow:inset 0 10px 10px -10px hsla(0,0%,50%,.5),inset 0 -10px 10px -10px hsla(0,0%,50%,.5)}div.jsoneditor-submenu.jsoneditor-expanded{visibility:visible;max-height:104px}div.jsoneditor-submenu.jsoneditor-collapsing{visibility:visible;max-height:0}div.jsoneditor-submenu button{padding-left:24px}div.jsoneditor-submenu div.jsoneditor-menu-item:first-child{margin-top:5px}div.jsoneditor-submenu div.jsoneditor-menu-item:last-child{margin-bottom:5px}button.jsoneditor-type-string span.jsoneditor-icon{background-position:-144px -24px}button.jsoneditor-type-string.jsoneditor-selected span.jsoneditor-icon,button.jsoneditor-type-string:focus span.jsoneditor-icon,button.jsoneditor-type-string:hover span.jsoneditor-icon{background-position:-144px 0}button.jsoneditor-type-value span.jsoneditor-icon{background-position:-120px -24px}button.jsoneditor-type-value.jsoneditor-selected span.jsoneditor-icon,button.jsoneditor-type-value:focus span.jsoneditor-icon,button.jsoneditor-type-value:hover span.jsoneditor-icon{background-position:-120px 0}button.jsoneditor-type-object span.jsoneditor-icon{background-position:-72px -24px}button.jsoneditor-type-object.jsoneditor-selected span.jsoneditor-icon,button.jsoneditor-type-object:focus span.jsoneditor-icon,button.jsoneditor-type-object:hover span.jsoneditor-icon{background-position:-72px 0}button.jsoneditor-type-array span.jsoneditor-icon{background-position:-96px -24px}button.jsoneditor-type-array.jsoneditor-selected span.jsoneditor-icon,button.jsoneditor-type-array:focus span.jsoneditor-icon,button.jsoneditor-type-array:hover span.jsoneditor-icon{background-position:-96px 0}",""])},function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;e<this.length;e++){var n=this[e];n[2]?t.push("@media "+n[2]+"{"+n[1]+"}"):t.push(n[1])}return t.join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var o={},i=0;i<this.length;i++){var r=this[i][0];"number"==typeof r&&(o[r]=!0)}for(i=0;i<e.length;i++){var s=e[i];"number"==typeof s[0]&&o[s[0]]||(n&&!s[2]?s[2]=n:n&&(s[2]="("+s[2]+") and ("+n+")"),t.push(s))}},t}},function(t,e){t.exports="\"data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='UTF-8' standalone='no'?%3E %3Csvg xmlns:dc='http://purl.org/dc/elements/1.1/' xmlns:cc='http://creativecommons.org/ns%23' xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns%23' xmlns:svg='http://www.w3.org/2000/svg' xmlns='http://www.w3.org/2000/svg' xmlns:sodipodi='http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd' xmlns:inkscape='http://www.inkscape.org/namespaces/inkscape' width='216' height='144' id='svg4136' version='1.1' inkscape:version='0.91 r' sodipodi:docname='jsoneditor-icons.svg'%3E %3Ctitle id='title6512'%3EJSON Editor Icons%3C/title%3E %3Cmetadata id='metadata4148'%3E %3Crdf:RDF%3E %3Ccc:Work rdf:about=''%3E %3Cdc:format%3Eimage/svg+xml%3C/dc:format%3E %3Cdc:type rdf:resource='http://purl.org/dc/dcmitype/StillImage' /%3E %3Cdc:title%3EJSON Editor Icons%3C/dc:title%3E %3C/cc:Work%3E %3C/rdf:RDF%3E %3C/metadata%3E %3Cdefs id='defs4146' /%3E %3Csodipodi:namedview pagecolor='%23ffffff' bordercolor='%23666666' borderopacity='1' objecttolerance='10' gridtolerance='10' guidetolerance='10' inkscape:pageopacity='0' inkscape:pageshadow='2' inkscape:window-width='1920' inkscape:window-height='1028' id='namedview4144' showgrid='true' inkscape:zoom='4' inkscape:cx='97.217248' inkscape:cy='59.950227' inkscape:window-x='0' inkscape:window-y='0' inkscape:window-maximized='1' inkscape:current-layer='svg4136' showguides='false' borderlayer='false' inkscape:showpageshadow='true' showborder='true'%3E %3Cinkscape:grid type='xygrid' id='grid4640' empspacing='24' /%3E %3C/sodipodi:namedview%3E %3C!-- Created with SVG-edit - http://svg-edit.googlecode.com/ --%3E %3Cg id='g4394'%3E %3Crect x='4' y='4' width='16' height='16' id='svg_1' style='fill:%231aae1c;fill-opacity:1;stroke:none;stroke-width:0' /%3E %3Crect style='fill:%23ec3f29;fill-opacity:0.94117647;stroke:none;stroke-width:0' x='28.000006' y='3.999995' width='16' height='16' id='svg_1-7' /%3E %3Crect id='rect4165' height='16' width='16' y='3.999995' x='52.000004' style='fill:%234c4c4c;fill-opacity:1;stroke:none;stroke-width:0' /%3E %3Crect style='fill:%234c4c4c;fill-opacity:1;stroke:none;stroke-width:0' x='172.00002' y='3.9999852' width='16' height='16' id='rect4175' /%3E %3Crect style='fill:%234c4c4c;fill-opacity:1;stroke:none;stroke-width:0' x='196' y='3.999995' width='16' height='16' id='rect4175-3' /%3E %3Cg style='stroke:none' id='g4299'%3E %3Crect style='fill:%23ffffff;fill-opacity:1;stroke:none;stroke-width:0' id='svg_1-1' height='1.9999986' width='9.9999924' y='10.999998' x='7.0000048' /%3E %3Crect style='fill:%23ffffff;fill-opacity:1;stroke:none;stroke-width:0' id='svg_1-1-1' height='9.9999838' width='1.9999955' y='7.0000114' x='11.000005' /%3E %3C/g%3E %3Cg style='stroke:none' transform='matrix(0.70710678,-0.70710678,0.70710678,0.70710678,19.029435,12.000001)' id='g4299-3'%3E %3Crect style='fill:%23ffffff;fill-opacity:1;stroke:none;stroke-width:0' id='svg_1-1-0' height='1.9999986' width='9.9999924' y='10.999998' x='7.0000048' /%3E %3Crect style='fill:%23ffffff;fill-opacity:1;stroke:none;stroke-width:0' id='svg_1-1-1-9' height='9.9999838' width='1.9999955' y='7.0000114' x='11.000005' /%3E %3C/g%3E %3Crect style='fill:%23ffffff;fill-opacity:1;stroke:%23000000;stroke-width:0' x='55.000004' y='7.0000048' width='6.9999909' height='6.9999905' id='svg_1-7-5' /%3E %3Crect id='rect4354' height='6.9999905' width='6.9999909' y='10.00001' x='58' style='fill:%23ffffff;fill-opacity:1;stroke:%234c4c4c;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1' /%3E %3Crect style='fill:%23ffffff;fill-opacity:1;stroke:%233c80df;stroke-width:0;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.94117647' x='58.000004' y='10.000005' width='6.9999909' height='6.9999905' id='svg_1-7-5-7' /%3E %3Cg id='g4378'%3E %3Crect id='svg_1-7-5-3' height='1.9999965' width='7.9999909' y='10.999999' x='198' style='fill:%23ffffff;fill-opacity:1;stroke:%23000000;stroke-width:0' /%3E %3Crect style='fill:%23ffffff;fill-opacity:1;stroke:%23000000;stroke-width:0' x='198' y='7.0000005' width='11.999995' height='1.9999946' id='rect4374' /%3E %3Crect style='fill:%23ffffff;fill-opacity:1;stroke:%23000000;stroke-width:0' x='198' y='14.999996' width='3.9999928' height='1.9999995' id='rect4376' /%3E %3C/g%3E %3Cg id='g4383' transform='matrix(1,0,0,-1,-23.999995,23.999995)'%3E %3Crect style='fill:%23ffffff;fill-opacity:1;stroke:%23000000;stroke-width:0' x='198' y='10.999999' width='7.9999909' height='1.9999965' id='rect4385' /%3E %3Crect id='rect4387' height='1.9999946' width='11.999995' y='7.0000005' x='198' style='fill:%23ffffff;fill-opacity:1;stroke:%23000000;stroke-width:0' /%3E %3Crect id='rect4389' height='1.9999995' width='3.9999928' y='14.999996' x='198' style='fill:%23ffffff;fill-opacity:1;stroke:%23000000;stroke-width:0' /%3E %3C/g%3E %3Crect y='3.9999199' x='76' height='16' width='16' id='rect3754-4' style='fill:%234c4c4c;fill-opacity:1;stroke:none' /%3E %3Cpath sodipodi:nodetypes='cccccccc' inkscape:connector-curvature='0' id='path4351' d='m 85.10447,6.0157384 -0.0156,1.4063 c 3.02669,-0.2402 0.33008,3.6507996 2.48438,4.5780996 -2.18694,1.0938 0.49191,4.9069 -2.45313,4.5781 l -0.0156,1.4219 c 5.70828,0.559 1.03264,-5.1005 4.70313,-5.2656 l 0,-1.4063 c -3.61303,-0.027 1.11893,-5.7069996 -4.70313,-5.3124996 z' style='fill:%23ffffff;fill-opacity:1;stroke:%23ffffff;stroke-width:0.2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1' /%3E %3Cpath sodipodi:nodetypes='cccccccc' inkscape:connector-curvature='0' id='path4351-9' d='m 82.78125,5.9984384 0.0156,1.4063 c -3.02668,-0.2402 -0.33007,3.6506996 -2.48437,4.5780996 2.18694,1.0938 -0.49192,4.9069 2.45312,4.5781 l 0.0156,1.4219 c -5.70827,0.559 -1.03263,-5.1004 -4.70312,-5.2656 l 0,-1.4063 c 3.61303,-0.027 -1.11894,-5.7070996 4.70312,-5.3124996 z' style='fill:%23ffffff;fill-opacity:1;stroke:%23ffffff;stroke-width:0.2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1' /%3E %3Crect y='3.9999199' x='100' height='16' width='16' id='rect3754-25' style='fill:%234c4c4c;fill-opacity:1;stroke:none' /%3E %3Cpath inkscape:connector-curvature='0' id='path2987' d='m 103.719,5.6719384 0,12.7187996 3.03125,0 0,-1.5313 -1.34375,0 0,-9.6249996 1.375,0 0,-1.5625 z' style='fill:%23ffffff;fill-opacity:1;stroke:none' /%3E %3Cpath inkscape:connector-curvature='0' id='path2987-1' d='m 112.2185,5.6721984 0,12.7187996 -3.03125,0 0,-1.5313 1.34375,0 0,-9.6249996 -1.375,0 0,-1.5625 z' style='fill:%23ffffff;fill-opacity:1;stroke:none' /%3E %3Crect y='3.9999199' x='124' height='16' width='16' id='rect3754-73' style='fill:%234c4c4c;fill-opacity:1;stroke:none' /%3E %3Cpath sodipodi:nodetypes='ccccccccc' inkscape:connector-curvature='0' id='path3780' d='m 126.2824,17.602938 1.78957,0 1.14143,-2.8641 5.65364,0 1.14856,2.8641 1.76565,0 -4.78687,-11.1610996 -1.91903,0 z' style='fill:%23ffffff;fill-opacity:1;stroke:none' /%3E %3Cpath inkscape:connector-curvature='0' id='path3782' d='m 129.72704,13.478838 4.60852,0.01 -2.30426,-5.5497996 z' style='fill:%234c4c4c;fill-opacity:1;stroke:none' /%3E %3Crect y='3.9999199' x='148' height='16' width='16' id='rect3754-35' style='fill:%234c4c4c;fill-opacity:1;stroke:none' /%3E %3Cpath sodipodi:nodetypes='ccccccc' inkscape:connector-curvature='0' id='path5008-2' d='m 156.47655,5.8917384 0,2.1797 0.46093,2.3983996 1.82813,0 0.39844,-2.3983996 0,-2.1797 z' style='fill:%23ffffff;fill-opacity:1;stroke:none' /%3E %3Cpath sodipodi:nodetypes='ccccccc' inkscape:connector-curvature='0' id='path5008-2-8' d='m 152.51561,5.8906384 0,2.1797 0.46094,2.3983996 1.82812,0 0.39844,-2.3983996 0,-2.1797 z' style='fill:%23ffffff;fill-opacity:1;stroke:none' /%3E %3C/g%3E %3Crect x='4' y='27.999994' width='16' height='16' id='rect4432' style='fill:%23d3d3d3;fill-opacity:1;stroke:none;stroke-width:0' /%3E %3Crect style='fill:%23d3d3d3;fill-opacity:1;stroke:none;stroke-width:0' x='28.000006' y='27.99999' width='16' height='16' id='rect4434' /%3E %3Crect id='rect4436' height='16' width='16' y='27.99999' x='52.000004' style='fill:%23d3d3d3;fill-opacity:1;stroke:%23000000;stroke-width:0' /%3E %3Crect style='fill:%23d3d3d3;stroke:%23000000;stroke-width:0' x='172.00002' y='27.999981' width='16' height='16' id='rect4446' /%3E %3Crect style='fill:%23d3d3d3;stroke:%23000000;stroke-width:0' x='196' y='27.99999' width='16' height='16' id='rect4448' /%3E %3Cg id='g4466' style='stroke:none' transform='translate(0,23.999995)'%3E %3Crect style='fill:%23ffffff;fill-opacity:1;stroke:none;stroke-width:0' id='rect4468' height='1.9999986' width='9.9999924' y='10.999998' x='7.0000048' /%3E %3Crect style='fill:%23ffffff;fill-opacity:1;stroke:none;stroke-width:0' id='rect4470' height='9.9999838' width='1.9999955' y='7.0000114' x='11.000005' /%3E %3C/g%3E %3Cg transform='matrix(0.70710678,-0.70710678,0.70710678,0.70710678,19.029435,35.999996)' id='g4472' style='stroke:none'%3E %3Crect style='fill:%23ffffff;fill-opacity:1;stroke:none;stroke-width:0' id='rect4474' height='1.9999986' width='9.9999924' y='10.999998' x='7.0000048' /%3E %3Crect style='fill:%23ffffff;fill-opacity:1;stroke:none;stroke-width:0' id='rect4476' height='9.9999838' width='1.9999955' y='7.0000114' x='11.000005' /%3E %3C/g%3E %3Crect style='fill:%23ffffff;fill-opacity:1;stroke:%23000000;stroke-width:0' x='55.000004' y='31' width='6.9999909' height='6.9999905' id='rect4478' /%3E %3Crect id='rect4480' height='6.9999905' width='6.9999909' y='34.000008' x='58' style='fill:%23ffffff;fill-opacity:1;stroke:%23d3d3d3;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none' /%3E %3Crect style='fill:%23ffffff;fill-opacity:1;stroke:%23d3d3d3;stroke-width:0;stroke-miterlimit:4;stroke-dasharray:none' x='58.000004' y='34.000004' width='6.9999909' height='6.9999905' id='rect4482' /%3E %3Cg id='g4484' transform='translate(0,23.999995)'%3E %3Crect id='rect4486' height='1.9999965' width='7.9999909' y='10.999999' x='198' style='fill:%23ffffff;fill-opacity:1;stroke:%23000000;stroke-width:0' /%3E %3Crect style='fill:%23ffffff;fill-opacity:1;stroke:%23000000;stroke-width:0' x='198' y='7.0000005' width='11.999995' height='1.9999946' id='rect4488' /%3E %3Crect style='fill:%23ffffff;fill-opacity:1;stroke:%23000000;stroke-width:0' x='198' y='14.999996' width='3.9999928' height='1.9999995' id='rect4490' /%3E %3C/g%3E %3Cg id='g4492' transform='matrix(1,0,0,-1,-23.999995,47.99999)'%3E %3Crect style='fill:%23ffffff;fill-opacity:1;stroke:%23000000;stroke-width:0' x='198' y='10.999999' width='7.9999909' height='1.9999965' id='rect4494' /%3E %3Crect id='rect4496' height='1.9999946' width='11.999995' y='7.0000005' x='198' style='fill:%23ffffff;fill-opacity:1;stroke:%23000000;stroke-width:0' /%3E %3Crect id='rect4498' height='1.9999995' width='3.9999928' y='14.999996' x='198' style='fill:%23ffffff;fill-opacity:1;stroke:%23000000;stroke-width:0' /%3E %3C/g%3E %3Crect style='fill:%23d3d3d3;fill-opacity:1;stroke:none' id='rect3754-8' width='16' height='16' x='76' y='27.99992' /%3E %3Cpath style='fill:%23ffffff;fill-opacity:1;stroke:%23ffffff;stroke-width:0.2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1' d='m 85.10448,30.015537 -0.0156,1.4063 c 3.02668,-0.2402 0.33007,3.6508 2.48438,4.5781 -2.18695,1.0938 0.49191,4.90688 -2.45313,4.57808 l -0.0156,1.4219 c 5.70827,0.559 1.03263,-5.10048 4.70313,-5.26558 l 0,-1.4063 c -3.61304,-0.027 1.11893,-5.707 -4.70313,-5.3125 z' id='path4351-1' inkscape:connector-curvature='0' sodipodi:nodetypes='cccccccc' /%3E %3Cpath style='fill:%23ffffff;fill-opacity:1;stroke:%23ffffff;stroke-width:0.2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1' d='m 82.78126,29.998237 0.0156,1.4063 c -3.02668,-0.2402 -0.33008,3.6507 -2.48438,4.5781 2.18694,1.0938 -0.49191,4.90688 2.45313,4.57808 l 0.0156,1.4219 c -5.70828,0.559 -1.03264,-5.10038 -4.70313,-5.26558 l 0,-1.4063 c 3.61303,-0.027 -1.11893,-5.7071 4.70313,-5.3125 z' id='path4351-9-5' inkscape:connector-curvature='0' sodipodi:nodetypes='cccccccc' /%3E %3Crect style='fill:%23d3d3d3;fill-opacity:1;stroke:none' id='rect3754-65' width='16' height='16' x='100' y='27.99992' /%3E %3Cpath style='fill:%23ffffff;fill-opacity:1;stroke:none' d='m 103.719,29.671937 0,12.71878 3.03125,0 0,-1.5313 -1.34375,0 0,-9.62498 1.375,0 0,-1.5625 z' id='path2987-8' inkscape:connector-curvature='0' /%3E %3Cpath style='fill:%23ffffff;fill-opacity:1;stroke:none' d='m 112.2185,29.671937 0,12.71878 -3.03125,0 0,-1.5313 1.34375,0 0,-9.62498 -1.375,0 0,-1.5625 z' id='path2987-1-9' inkscape:connector-curvature='0' /%3E %3Crect style='fill:%23d3d3d3;fill-opacity:1;stroke:none' id='rect3754-92' width='16' height='16' x='124' y='27.99992' /%3E %3Cpath style='fill:%23ffffff;fill-opacity:1;stroke:none' d='m 126.2824,41.602917 1.78957,0 1.14143,-2.86408 5.65364,0 1.14856,2.86408 1.76565,0 -4.78687,-11.16108 -1.91902,0 z' id='path3780-9' inkscape:connector-curvature='0' sodipodi:nodetypes='ccccccccc' /%3E %3Cpath style='fill:%23d3d3d3;fill-opacity:1;stroke:none' d='m 129.72704,37.478837 4.60852,0.01 -2.30426,-5.5498 z' id='path3782-2' inkscape:connector-curvature='0' /%3E %3Crect style='fill:%23d3d3d3;fill-opacity:1;stroke:none' id='rect3754-47' width='16' height='16' x='148' y='27.99992' /%3E %3Cpath style='fill:%23ffffff;fill-opacity:1;stroke:none' d='m 156.47656,29.891737 0,2.1797 0.46093,2.3984 1.82813,0 0.39844,-2.3984 0,-2.1797 z' id='path5008-2-1' inkscape:connector-curvature='0' sodipodi:nodetypes='ccccccc' /%3E %3Cpath style='fill:%23ffffff;fill-opacity:1;stroke:none' d='m 152.51562,29.890637 0,2.1797 0.46094,2.3984 1.82812,0 0.39844,-2.3984 0,-2.1797 z' id='path5008-2-8-8' inkscape:connector-curvature='0' sodipodi:nodetypes='ccccccc' /%3E %3Crect id='svg_1-7-2' height='1.9999961' width='11.999996' y='64' x='54' style='fill:%234c4c4c;fill-opacity:0.98431373;stroke:none;stroke-width:0' /%3E %3Crect id='svg_1-7-2-2' height='2.9999905' width='2.9999907' y='52' x='80.000008' style='fill:%234c4c4c;fill-opacity:0.98431373;stroke:none;stroke-width:0' /%3E %3Crect style='fill:%234c4c4c;fill-opacity:0.98431373;stroke:none;stroke-width:0' x='85.000008' y='52' width='2.9999907' height='2.9999905' id='rect4561' /%3E %3Crect style='fill:%234c4c4c;fill-opacity:0.98431373;stroke:none;stroke-width:0' x='80.000008' y='58' width='2.9999907' height='2.9999905' id='rect4563' /%3E %3Crect id='rect4565' height='2.9999905' width='2.9999907' y='58' x='85.000008' style='fill:%234c4c4c;fill-opacity:0.98431373;stroke:none;stroke-width:0' /%3E %3Crect id='rect4567' height='2.9999905' width='2.9999907' y='64' x='80.000008' style='fill:%234c4c4c;fill-opacity:0.98431373;stroke:none;stroke-width:0' /%3E %3Crect style='fill:%234c4c4c;fill-opacity:0.98431373;stroke:none;stroke-width:0' x='85.000008' y='64' width='2.9999907' height='2.9999905' id='rect4569' /%3E %3Ccircle style='opacity:1;fill:none;fill-opacity:1;stroke:%234c4c4c;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none' id='path4571' cx='110.06081' cy='57.939209' r='4.7438836' /%3E %3Crect style='fill:%234c4c4c;fill-opacity:0.98431373;stroke:none;stroke-width:0' x='116.64566' y='-31.79752' width='4.229713' height='6.4053884' id='rect4563-2' transform='matrix(0.70710678,0.70710678,-0.70710678,0.70710678,0,0)' /%3E %3Cpath style='fill:%234c4c4c;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1' d='M 125,56 138.77027,56.095 132,64 Z' id='path4613' inkscape:connector-curvature='0' sodipodi:nodetypes='cccc' /%3E %3Cpath sodipodi:nodetypes='cccc' inkscape:connector-curvature='0' id='path4615' d='M 149,64 162.77027,63.905 156,56 Z' style='fill:%234c4c4c;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1' /%3E %3Crect style='fill:%234c4c4c;fill-opacity:0.98431373;stroke:none;stroke-width:0' x='54' y='53' width='11.999996' height='1.9999961' id='rect4638' /%3E %3Crect id='svg_1-7-2-24' height='1.9999957' width='12.99999' y='-56' x='53' style='fill:%234c4c4c;fill-opacity:0.98431373;stroke:none;stroke-width:0' transform='matrix(0,1,-1,0,0,0)' /%3E %3Crect transform='matrix(0,1,-1,0,0,0)' style='fill:%234c4c4c;fill-opacity:0.98431373;stroke:none;stroke-width:0' x='53' y='-66' width='12.99999' height='1.9999957' id='rect4657' /%3E %3Crect id='rect4659' height='0.99999291' width='11.999999' y='57' x='54' style='fill:%234c4c4c;fill-opacity:0.98431373;stroke:none;stroke-width:0' /%3E %3Crect style='fill:%23d3d3d3;fill-opacity:1;stroke:none;stroke-width:0;stroke-opacity:1' x='54' y='88.000122' width='11.999996' height='1.9999961' id='rect4661' /%3E %3Crect style='fill:%23d3d3d3;fill-opacity:1;stroke:none;stroke-width:0;stroke-opacity:1' x='80.000008' y='76.000122' width='2.9999907' height='2.9999905' id='rect4663' /%3E %3Crect id='rect4665' height='2.9999905' width='2.9999907' y='76.000122' x='85.000008' style='fill:%23d3d3d3;fill-opacity:1;stroke:none;stroke-width:0;stroke-opacity:1' /%3E %3Crect id='rect4667' height='2.9999905' width='2.9999907' y='82.000122' x='80.000008' style='fill:%23d3d3d3;fill-opacity:1;stroke:none;stroke-width:0;stroke-opacity:1' /%3E %3Crect style='fill:%23d3d3d3;fill-opacity:1;stroke:none;stroke-width:0;stroke-opacity:1' x='85.000008' y='82.000122' width='2.9999907' height='2.9999905' id='rect4669' /%3E %3Crect style='fill:%23d3d3d3;fill-opacity:1;stroke:none;stroke-width:0;stroke-opacity:1' x='80.000008' y='88.000122' width='2.9999907' height='2.9999905' id='rect4671' /%3E %3Crect id='rect4673' height='2.9999905' width='2.9999907' y='88.000122' x='85.000008' style='fill:%23d3d3d3;fill-opacity:1;stroke:none;stroke-width:0;stroke-opacity:1' /%3E %3Ccircle r='4.7438836' cy='81.939331' cx='110.06081' id='circle4675' style='opacity:1;fill:none;fill-opacity:1;stroke:%23d3d3d3;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1' /%3E %3Crect transform='matrix(0.70710678,0.70710678,-0.70710678,0.70710678,0,0)' id='rect4677' height='6.4053884' width='4.229713' y='-14.826816' x='133.6163' style='fill:%23d3d3d3;fill-opacity:1;stroke:%23d3d3d3;stroke-width:0;stroke-opacity:1' /%3E %3Cpath sodipodi:nodetypes='cccc' inkscape:connector-curvature='0' id='path4679' d='m 125,80.000005 13.77027,0.09499 L 132,87.999992 Z' style='fill:%23d3d3d3;fill-opacity:1;fill-rule:evenodd;stroke:%23d3d3d3;stroke-width:0;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1' /%3E %3Cpath style='fill:%23d3d3d3;fill-opacity:1;fill-rule:evenodd;stroke:%23d3d3d3;stroke-width:0;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1' d='M 149,88.0002 162.77027,87.9052 156,80.0002 Z' id='path4681' inkscape:connector-curvature='0' sodipodi:nodetypes='cccc' /%3E %3Crect id='rect4683' height='1.9999961' width='11.999996' y='77.000122' x='54' style='fill:%23d3d3d3;fill-opacity:1;stroke:none;stroke-width:0;stroke-opacity:1' /%3E %3Crect transform='matrix(0,1,-1,0,0,0)' style='fill:%23d3d3d3;fill-opacity:1;stroke:none;stroke-width:0;stroke-opacity:1' x='77.000122' y='-56' width='12.99999' height='1.9999957' id='rect4685' /%3E %3Crect id='rect4687' height='1.9999957' width='12.99999' y='-66' x='77.000122' style='fill:%23d3d3d3;fill-opacity:1;stroke:none;stroke-width:0;stroke-opacity:1' transform='matrix(0,1,-1,0,0,0)' /%3E %3Crect style='fill:%23d3d3d3;fill-opacity:1;stroke:none;stroke-width:0;stroke-opacity:1' x='54' y='81.000122' width='11.999999' height='0.99999291' id='rect4689' /%3E %3Crect id='rect4761-1' height='1.9999945' width='15.99999' y='101' x='76.000008' style='fill:%23ffffff;fill-opacity:0.80000007;stroke:none;stroke-width:0' /%3E %3Crect id='rect4761-0' height='1.9999945' width='15.99999' y='105' x='76.000008' style='fill:%23ffffff;fill-opacity:0.80000007;stroke:none;stroke-width:0' /%3E %3Crect id='rect4761-7' height='1.9999945' width='9' y='109' x='76.000008' style='fill:%23ffffff;fill-opacity:0.80000007;stroke:none;stroke-width:0' /%3E %3Crect id='rect4761-1-1' height='1.9999945' width='12' y='125' x='76.000008' style='fill:%23ffffff;fill-opacity:0.80000007;stroke:none;stroke-width:0' /%3E %3Crect id='rect4761-1-1-4' height='1.9999945' width='10' y='137' x='76.000008' style='fill:%23ffffff;fill-opacity:0.80000007;stroke:none;stroke-width:0' /%3E %3Crect id='rect4761-1-1-4-4' height='1.9999945' width='10' y='129' x='82' style='fill:%23ffffff;fill-opacity:0.80000007;stroke:none;stroke-width:0' /%3E %3Crect id='rect4761-1-1-4-4-3' height='1.9999945' width='9' y='133' x='82' style='fill:%23ffffff;fill-opacity:0.80000007;stroke:none;stroke-width:0' /%3E %3Cpath inkscape:connector-curvature='0' style='color:%23000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:%23000000;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:0.8;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000000;solid-opacity:1;fill:%23ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2.66157866;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate' d='m 36.398438,100.0254 c -0.423362,-0.013 -0.846847,0.01 -1.265626,0.062 -1.656562,0.2196 -3.244567,0.9739 -4.507812,2.2266 L 29,100.5991 l -2.324219,7.7129 7.826172,-1.9062 -1.804687,-1.9063 c 1.597702,-1.5308 4.048706,-1.8453 5.984375,-0.7207 1.971162,1.1452 2.881954,3.3975 2.308593,5.5508 -0.573361,2.1533 -2.533865,3.6953 -4.830078,3.6953 l 0,3.0742 c 3.550756,0 6.710442,-2.4113 7.650391,-5.9414 0.939949,-3.5301 -0.618463,-7.2736 -3.710938,-9.0703 -1.159678,-0.6738 -2.431087,-1.0231 -3.701171,-1.0625 z' id='path4138' /%3E %3Cpath inkscape:connector-curvature='0' style='color:%23000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:%23000000;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:0.8;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000000;solid-opacity:1;fill:%23ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2.66157866;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate' d='m 59.722656,99.9629 c -1.270084,0.039 -2.541493,0.3887 -3.701172,1.0625 -3.092475,1.7967 -4.650886,5.5402 -3.710937,9.0703 0.939949,3.5301 4.09768,5.9414 7.648437,5.9414 l 0,-3.0742 c -2.296214,0 -4.256717,-1.542 -4.830078,-3.6953 -0.573361,-2.1533 0.337432,-4.4056 2.308594,-5.5508 1.935731,-1.1246 4.38863,-0.8102 5.986326,0.7207 l -1.806638,1.9063 7.828128,1.9062 -2.32422,-7.7129 -1.62696,1.7168 c -1.26338,-1.2531 -2.848917,-2.0088 -4.505855,-2.2285 -0.418778,-0.055 -0.842263,-0.076 -1.265625,-0.062 z' id='path4138-1' /%3E %3Cpath inkscape:connector-curvature='0' style='opacity:0.8;fill:%23ffffff;fill-opacity:1;stroke:none;stroke-width:1.966;stroke-miterlimit:4;stroke-dasharray:none' d='m 10.5,100 0,2 -2.4999996,0 L 12,107 l 4,-5 -2.5,0 0,-2 -3,0 z' id='path3055-0-77' /%3E %3Cpath style='opacity:0.8;fill:none;stroke:%23ffffff;stroke-width:1.966;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1' d='m 4.9850574,108.015 14.0298856,-0.03' id='path5244-5-0-5' inkscape:connector-curvature='0' sodipodi:nodetypes='cc' /%3E %3Cpath style='opacity:0.8;fill:none;stroke:%23ffffff;stroke-width:1.966;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1' d='m 4.9849874,132.015 14.0298866,-0.03' id='path5244-5-0-5-8' inkscape:connector-curvature='0' sodipodi:nodetypes='cc' /%3E %3Cpath inkscape:connector-curvature='0' style='color:%23000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:%23000000;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:0.4;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000000;solid-opacity:1;fill:%234d4d4d;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2.66157866;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate' d='m 36.398438,123.9629 c -0.423362,-0.013 -0.846847,0.01 -1.265626,0.062 -1.656562,0.2196 -3.244567,0.9739 -4.507812,2.2266 L 29,124.5366 l -2.324219,7.7129 7.826172,-1.9062 -1.804687,-1.9063 c 1.597702,-1.5308 4.048706,-1.8453 5.984375,-0.7207 1.971162,1.1453 2.881954,3.3975 2.308593,5.5508 -0.573361,2.1533 -2.533864,3.6953 -4.830078,3.6953 l 0,3.0742 c 3.550757,0 6.710442,-2.4093 7.650391,-5.9394 0.939949,-3.5301 -0.618463,-7.2756 -3.710938,-9.0723 -1.159678,-0.6737 -2.431087,-1.0231 -3.701171,-1.0625 z' id='path4138-12' /%3E %3Cpath inkscape:connector-curvature='0' style='color:%23000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:%23000000;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:0.4;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000000;solid-opacity:1;fill:%234d4d4d;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2.66157866;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate' d='m 59.722656,123.9629 c -1.270084,0.039 -2.541493,0.3888 -3.701172,1.0625 -3.092475,1.7967 -4.650886,5.5422 -3.710937,9.0723 0.939949,3.5301 4.09768,5.9394 7.648437,5.9394 l 0,-3.0742 c -2.296214,0 -4.256717,-1.542 -4.830078,-3.6953 -0.573361,-2.1533 0.337432,-4.4055 2.308594,-5.5508 1.935731,-1.1246 4.38863,-0.8102 5.986326,0.7207 l -1.806638,1.9063 7.828128,1.9062 -2.32422,-7.7129 -1.62696,1.7168 c -1.26338,-1.2531 -2.848917,-2.0088 -4.505855,-2.2285 -0.418778,-0.055 -0.842263,-0.076 -1.265625,-0.062 z' id='path4138-1-3' /%3E %3Cpath id='path6191' d='m 10.5,116 0,-2 -2.4999996,0 L 12,109 l 4,5 -2.5,0 0,2 -3,0 z' style='opacity:0.8;fill:%23ffffff;fill-opacity:1;stroke:none;stroke-width:1.966;stroke-miterlimit:4;stroke-dasharray:none' inkscape:connector-curvature='0' /%3E %3Cpath inkscape:connector-curvature='0' style='opacity:0.8;fill:%23ffffff;fill-opacity:1;stroke:none;stroke-width:1.966;stroke-miterlimit:4;stroke-dasharray:none' d='m 10.5,129 0,-2 -2.4999996,0 L 12,122 l 4,5 -2.5,0 0,2 -3,0 z' id='path6193' /%3E %3Cpath id='path6195' d='m 10.5,135 0,2 -2.4999996,0 L 12,142 l 4,-5 -2.5,0 0,-2 -3,0 z' style='opacity:0.8;fill:%23ffffff;fill-opacity:1;stroke:none;stroke-width:1.966;stroke-miterlimit:4;stroke-dasharray:none' inkscape:connector-curvature='0' /%3E %3Cpath sodipodi:type='star' style='fill:%234d4d4d;fill-opacity:0.90196078;stroke:%23d3d3d3;stroke-width:0;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none' id='path4500' sodipodi:sides='3' sodipodi:cx='11.55581' sodipodi:cy='60.073242' sodipodi:r1='5.1116104' sodipodi:r2='2.5558052' sodipodi:arg1='0' sodipodi:arg2='1.0471976' inkscape:flatsided='false' inkscape:rounded='0' inkscape:randomized='0' d='m 16.66742,60.073242 -3.833708,2.213392 -3.8337072,2.213393 0,-4.426785 0,-4.426784 3.8337082,2.213392 z' inkscape:transform-center-x='-1.2779026' /%3E %3Cpath inkscape:transform-center-x='1.277902' d='m -31.500004,60.073242 -3.833708,2.213392 -3.833707,2.213393 0,-4.426785 0,-4.426784 3.833707,2.213392 z' inkscape:randomized='0' inkscape:rounded='0' inkscape:flatsided='false' sodipodi:arg2='1.0471976' sodipodi:arg1='0' sodipodi:r2='2.5558052' sodipodi:r1='5.1116104' sodipodi:cy='60.073242' sodipodi:cx='-36.611614' sodipodi:sides='3' id='path4502' style='fill:%234d4d4d;fill-opacity:0.90196078;stroke:%23d3d3d3;stroke-width:0;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none' sodipodi:type='star' transform='scale(-1,1)' /%3E %3Cpath d='m 16.66742,60.073212 -3.833708,2.213392 -3.8337072,2.213392 0,-4.426784 0,-4.426785 3.8337082,2.213392 z' inkscape:randomized='0' inkscape:rounded='0' inkscape:flatsided='false' sodipodi:arg2='1.0471976' sodipodi:arg1='0' sodipodi:r2='2.5558052' sodipodi:r1='5.1116104' sodipodi:cy='60.073212' sodipodi:cx='11.55581' sodipodi:sides='3' id='path4504' style='fill:%234d4d4d;fill-opacity:0.90196078;stroke:%23d3d3d3;stroke-width:0;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none' sodipodi:type='star' transform='matrix(0,1,-1,0,72.0074,71.7877)' inkscape:transform-center-y='1.2779029' /%3E %3Cpath inkscape:transform-center-y='-1.2779026' transform='matrix(0,-1,-1,0,96,96)' sodipodi:type='star' style='fill:%234d4d4d;fill-opacity:0.90196078;stroke:%23d3d3d3;stroke-width:0;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none' id='path4506' sodipodi:sides='3' sodipodi:cx='11.55581' sodipodi:cy='60.073212' sodipodi:r1='5.1116104' sodipodi:r2='2.5558052' sodipodi:arg1='0' sodipodi:arg2='1.0471976' inkscape:flatsided='false' inkscape:rounded='0' inkscape:randomized='0' d='m 16.66742,60.073212 -3.833708,2.213392 -3.8337072,2.213392 0,-4.426784 0,-4.426785 3.8337082,2.213392 z' /%3E %3Cpath sodipodi:nodetypes='cccc' inkscape:connector-curvature='0' id='path4615-5' d='m 171.82574,65.174193 16.34854,0 -8.17427,-13.348454 z' style='fill:%23fbb917;fill-opacity:1;fill-rule:evenodd;stroke:%23fbb917;stroke-width:1.65161395;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1' /%3E %3Cpath style='opacity:1;fill:%23ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1' d='m 179,55 0,6 2,0 0,-6' id='path4300' inkscape:connector-curvature='0' sodipodi:nodetypes='cccc' /%3E %3Cpath style='opacity:1;fill:%23ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1' d='m 179,62 0,2 2,0 0,-2' id='path4300-6' inkscape:connector-curvature='0' sodipodi:nodetypes='cccc' /%3E %3C/svg%3E\"";
|
||
},function(t,e,n){function o(t,e){for(var n=0;n<t.length;n++){var o=t[n],i=f[o.id];if(i){i.refs++;for(var r=0;r<i.parts.length;r++)i.parts[r](o.parts[r]);for(;r<o.parts.length;r++)i.parts.push(c(o.parts[r],e))}else{for(var s=[],r=0;r<o.parts.length;r++)s.push(c(o.parts[r],e));f[o.id]={id:o.id,refs:1,parts:s}}}}function i(t){for(var e=[],n={},o=0;o<t.length;o++){var i=t[o],r=i[0],s=i[1],a=i[2],l=i[3],c={css:s,media:a,sourceMap:l};n[r]?n[r].parts.push(c):e.push(n[r]={id:r,parts:[c]})}return e}function r(t,e){var n=m(),o=g[g.length-1];if("top"===t.insertAt)o?o.nextSibling?n.insertBefore(e,o.nextSibling):n.appendChild(e):n.insertBefore(e,n.firstChild),g.push(e);else{if("bottom"!==t.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");n.appendChild(e)}}function s(t){t.parentNode.removeChild(t);var e=g.indexOf(t);e>=0&&g.splice(e,1)}function a(t){var e=document.createElement("style");return e.type="text/css",r(t,e),e}function l(t){var e=document.createElement("link");return e.rel="stylesheet",r(t,e),e}function c(t,e){var n,o,i;if(e.singleton){var r=k++;n=v||(v=a(e)),o=d.bind(null,n,r,!1),i=d.bind(null,n,r,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=l(e),o=u.bind(null,n),i=function(){s(n),n.href&&URL.revokeObjectURL(n.href)}):(n=a(e),o=p.bind(null,n),i=function(){s(n)});return o(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;o(t=e)}else i()}}function d(t,e,n,o){var i=n?"":o.css;if(t.styleSheet)t.styleSheet.cssText=b(e,i);else{var r=document.createTextNode(i),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(r,s[e]):t.appendChild(r)}}function p(t,e){var n=e.css,o=e.media;if(o&&t.setAttribute("media",o),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}function u(t,e){var n=e.css,o=e.sourceMap;o&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var i=new Blob([n],{type:"text/css"}),r=t.href;t.href=URL.createObjectURL(i),r&&URL.revokeObjectURL(r)}var f={},h=function(t){var e;return function(){return"undefined"==typeof e&&(e=t.apply(this,arguments)),e}},y=h(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),m=h(function(){return document.head||document.getElementsByTagName("head")[0]}),v=null,k=0,g=[];t.exports=function(t,e){e=e||{},"undefined"==typeof e.singleton&&(e.singleton=y()),"undefined"==typeof e.insertAt&&(e.insertAt="bottom");var n=i(t);return o(n,e),function(t){for(var r=[],s=0;s<n.length;s++){var a=n[s],l=f[a.id];l.refs--,r.push(l)}if(t){var c=i(t);o(c,e)}for(var s=0;s<r.length;s++){var l=r[s];if(0===l.refs){for(var d=0;d<l.parts.length;d++)l.parts[d]();delete f[l.id]}}}};var b=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}()}])});
|
||
//# sourceMappingURL=jsoneditor-minimalist.js.map
|