1 line
342 KiB
XML
1 line
342 KiB
XML
{"version":3,"sources":["webpack:///webpack/universalModuleDefinition","webpack:///jsoneditor-minimalist.js","webpack:///webpack/bootstrap 7cc2b40e4573e7b2bd6f","webpack:///./src/index.js","webpack:///./~/preact/dist/preact.js","webpack:///./~/timers-browserify/main.js","webpack:///./~/process/browser.js","webpack:///./src/TreeMode.js","webpack:///./src/utils/objectUtils.js","webpack:///./src/utils/typeUtils.js","webpack:///./src/utils/arrayUtils.js","webpack:///./src/utils/bindMethods.js","webpack:///./src/JSONNode.js","webpack:///./src/ContextMenu.js","webpack:///./src/utils/stringUtils.js","webpack:///./src/utils/jsonUtils.js","webpack:///./src/utils/domUtils.js","webpack:///./src/jsoneditor.less?e043","webpack:///./src/jsoneditor.less","webpack:///./~/css-loader/lib/css-base.js","webpack:///./src/img/jsoneditor-icons.svg","webpack:///./~/style-loader/addStyles.js"],"names":["root","factory","exports","module","define","amd","this","modules","__webpack_require__","moduleId","installedModules","id","loaded","call","m","c","p","_interopRequireDefault","obj","__esModule","default","jsoneditor","container","options","elem","_preact","render","h","_TreeMode2","_component","_TreeMode","setImmediate","global","VNode","nodeName","attributes","children","key","extend","props","i","clone","delve","split","length","toArray","offset","slice","isFunction","isString","empty","x","falsey","value","hashToClassName","str","prop","firstChild","arr","lastSimple","len","arguments","type","String","_p","join","SHARED_TEMP_ARRAY","j","child","simple","push","className","vnode","cloneElement","createLinkedState","component","eventPath","path","p0","e","_component$setState","v","t","currentTarget","s","state","match","checked","setState","enqueueRender","items","debounceRendering","rerender","currentItems","itemsOffline","pop","_dirty","renderComponent","isFunctionalComponent","prototype","buildFunctionalComponent","context","getNodeProps","EMPTY","ensureNodeData","node","data","ATTR_KEY","getNodeType","Text","Element","removeNode","parentNode","removeChild","setAccessor","name","old","isSvg","style","cssText","NON_DIMENSION_PROPS","innerHTML","__html","l","_listeners","toLowerCase","substring","addEventListener","eventProxy","removeEventListener","setProperty","removeAttribute","ns","removeAttributeNS","setAttributeNS","setAttribute","event","getRawNodeAttributes","attrs","isSameNodeType","isNamedNode","_componentConstructor","normalizedNodeName","defaultProps","collectNode","cleanNode","list","nodes","createNode","document","createElementNS","createElement","flushMounts","mounts","componentDidMount","diff","dom","mountAll","parent","diffLevel","ret","idiff","appendChild","originalAttributes","createComment","nodeValue","createTextNode","svgMode","out","buildComponentFromVNode","isSvgMode","recollectNodeTree","childNodes","innerDiffNode","diffAttributes","ref","vchildren","vchild","originalChildren","keyed","keyedLen","min","childrenLen","vlen","_child","__key","insertBefore","removeOrphanedChildren","unmountOnly","unmountComponent","_name","_name2","collectComponent","constructor","components","createComponent","Ctor","inst","nextBase","splice","triggerComponentRender","setComponentProps","opts","b","base","_disableRendering","__ref","componentWillMount","componentWillReceiveProps","prevContext","prevProps","syncComponentUpdates","skip","rendered","previousProps","previousState","prevState","previousContext","isUpdate","initialBase","nextSibling","baseParent","initialComponent","initialChildComponent","shouldComponentUpdate","componentWillUpdate","getChildContext","toUnmount","childComponent","childProps","_parentComponent","cbase","componentRef","unshift","componentDidUpdate","fn","cb","_renderCallbacks","oldDom","isDirectOwner","isOwner","remove","componentWillUnmount","inner","componentDidUnmount","Component","_linkedStates","getInitialState","merge","lcCache","resolved","Promise","resolve","f","then","setTimeout","Symbol","boxFlex","boxFlexGroup","columnCount","fillOpacity","flex","flexGrow","flexPositive","flexShrink","flexNegative","fontWeight","lineClamp","lineHeight","opacity","order","orphans","strokeOpacity","widows","zIndex","zoom","linkState","cacheKey","callback","forceUpdate","clearImmediate","Timeout","clearFn","_id","_clearFn","nextTick","apply","Function","Array","immediateIds","nextImmediateId","window","clearTimeout","setInterval","clearInterval","timeout","close","unref","enroll","item","msecs","_idleTimeoutId","_idleTimeout","unenroll","_unrefActive","active","_onTimeout","args","runTimeout","fun","cachedSetTimeout","runClearTimeout","marker","cachedClearTimeout","cleanUpNextTick","draining","currentQueue","queue","concat","queueIndex","drainQueue","run","Item","array","noop","process","Error","title","browser","env","argv","version","versions","on","addListener","once","off","removeListener","removeAllListeners","emit","binding","cwd","chdir","dir","umask","_classCallCheck","instance","Constructor","TypeError","_possibleConstructorReturn","self","ReferenceError","_inherits","subClass","superClass","Object","create","enumerable","writable","configurable","setPrototypeOf","__proto__","toDataPath","index","findIndex","jsonToData","json","expand","isArray","expanded","map","_typeUtils","isObject","keys","dataToJson","_ret","object","forEach","_typeof","createDataEntry","convertDataEntry","entry","convertedEntry","stringConvert","defineProperty","iterator","_createClass","defineProperties","target","descriptor","protoProps","staticProps","_objectUtils","_arrayUtils","_bindMethods","_bindMethods2","_JSONNode","_JSONNode2","TreeMode","_Component","_this","getPrototypeOf","events","onChangeProperty","handleChangeProperty","onChangeValue","handleChangeValue","onChangeType","handleChangeType","onInsert","handleInsert","onAppend","handleAppend","onDuplicate","handleDuplicate","onRemove","handleRemove","onSort","handleSort","onExpand","handleExpand","search","class","contentEditable","onClick","hideContextMenu","console","log","dataPath","setIn","oldProp","newProp","getIn","oldEntry","newEntry","afterProp","updateIn","parseInt","updatedItems","updatedProps","original","duplicate","cloneDeep","updated","deleteIn","_dataPath","undefined","_order","ordered","compare","compareDesc","compareAsc","sort","a","orderedProps","cloned","_ret2","_key","_updated","valueType","RegExp","toString","isUrl","text","isUrlRegex","test","num","Number","numFloat","parseFloat","isNaN","last","bindMethods","getOwnPropertyNames","bind","_ContextMenu","_ContextMenu2","_stringUtils","_domUtils","TYPE_TITLES","string","activeContextMenu","JSONNode","menu","appendMenu","handleClickValue","handleKeyDownValue","handleContextMenu","handleAppendContextMenu","renderJSONArray","renderJSONObject","renderJSONValue","_ref","_this2","childCount","contents","renderExpandButton","renderContextMenuButton","renderProperty","renderReadonly","renderAppend","_ref2","_this3","_ref3","renderPlaceholder","renderSeparator","renderValue","renderAppendContextMenuButton","isIndex","spellCheck","onInput","content","_rootName","_isUrl","valueClass","onKeyDown","escapeHTML","renderContextMenu","renderAppendContextMenu","_this4","_state$menu","anchor","getPath","hasParent","submenu","click","direction","sortOrder","parentPath","submenuTitle","_state$appendMenu","nextProps","nextState","hasOwnProperty","unescapeHTML","getInnerText","_getValueFromEvent","ctrlKey","button","_openLinkIfUrl","which","stopPropagation","_findRootElement","preventDefault","open","stringValue","isEditorElement","indexOf","CONTEXT_MENU_HEIGHT","ContextMenu","anchorRect","getBoundingClientRect","rootRect","orientation","bottom","top","expanding","collapsing","renderMenuItem","createExpandHandler","renderSubMenu","prev","escapeUnicode","htmlEscaped","replace","JSON","stringify","html","escapeUnicodeChars","charCodeAt","escapedText","escapeJSON","_jsonUtils","parseJSON","escaped","charAt","jsonString","parse","err","validate","jsonlint","element","buffer","first","flush","set","hasChildNodes","innerText","iMax","prevChild","prevName","getInternetExplorerVersion","_ieVersion","rv","navigator","appName","ua","userAgent","re","exec","$1","locals","result","mediaQuery","alreadyImportedModules","addStylesToDom","styles","domStyle","stylesInDom","refs","parts","addStyle","listToStyles","newStyles","css","media","sourceMap","part","insertStyleElement","styleElement","head","getHeadElement","lastStyleElementInsertedAtTop","styleElementsInsertedAtTop","insertAt","removeStyleElement","idx","createStyleElement","createLinkElement","linkElement","rel","update","singleton","styleIndex","singletonCounter","singletonElement","applyToSingletonTag","URL","createObjectURL","revokeObjectURL","Blob","btoa","updateLink","href","applyToTag","newObj","styleSheet","replaceText","cssNode","unescape","encodeURIComponent","blob","oldSrc","memoize","memo","isOldIE","getElementsByTagName","newList","mayRemove","textStore","replacement","filter","Boolean"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAA,SAAAA,EAAAC,GACA,gBAAAC,UAAA,gBAAAC,QACAA,OAAAD,QAAAD,IACA,kBAAAG,gBAAAC,IACAD,UAAAH,GACA,gBAAAC,SACAA,QAAA,WAAAD,IAEAD,EAAA,WAAAC,KACCK,KAAA,WACD,MC6BgB,UAAUC,GCnC1B,QAAAC,GAAAC,GAGA,GAAAC,EAAAD,GACA,MAAAC,GAAAD,GAAAP,OAGA,IAAAC,GAAAO,EAAAD,IACAP,WACAS,GAAAF,EACAG,QAAA,EAUA,OANAL,GAAAE,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,SAAArlB,KAAA","file":"jsoneditor-minimalist.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"jsoneditor\"] = factory();\n\telse\n\t\troot[\"jsoneditor\"] = factory();\n})(this, function() {\nreturn \n\n\n/** WEBPACK FOOTER **\n ** webpack/universalModuleDefinition\n **/","/*!\n * jsoneditor.js\n *\n * @brief\n * JSONEditor is a web-based tool to view, edit, format, and validate JSON.\n * It has various modes such as a tree editor, a code editor, and a plain text\n * editor.\n *\n * Supported browsers: Chrome, Firefox, Safari, Opera, Internet Explorer 8+\n *\n * @license\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not\n * use this file except in compliance with the License. You may obtain a copy\n * of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the\n * License for the specific language governing permissions and limitations under\n * the License.\n *\n * Copyright (c) 2011-2016 Jos de Jong, http://jsoneditoronline.org\n *\n * @author Jos de Jong, <wjosdejong@gmail.com>\n * @version 6.0.0-BETA\n * @date 2016-08-13\n */\n(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"jsoneditor\"] = factory();\n\telse\n\t\troot[\"jsoneditor\"] = factory();\n})(this, function() {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId])\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\texports: {},\n/******/ \t\t\tid: moduleId,\n/******/ \t\t\tloaded: false\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.loaded = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(0);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _preact = __webpack_require__(1);\n\t\n\tvar _TreeMode = __webpack_require__(4);\n\t\n\tvar _TreeMode2 = _interopRequireDefault(_TreeMode);\n\t\n\t__webpack_require__(14);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\t/**\n\t * Factory function to create a new JSONEditor\n\t * @param container\n\t * @param {Options} options\n\t * @return {*}\n\t * @constructor\n\t */\n\tfunction jsoneditor(container, options) {\n\t // TODO: use JSONEditor instead of TreeMode\n\t var elem = (0, _preact.render)((0, _preact.h)(_TreeMode2.default, { options: options }), container);\n\t return elem._component;\n\t}\n\t\n\t// TODO: use export default jsoneditor, doesn't work out of the box in webpack\n\tmodule.exports = jsoneditor;\n\n/***/ },\n/* 1 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(setImmediate) {!function(global, factory) {\n\t true ? factory(exports) : 'function' == typeof define && define.amd ? define([ 'exports' ], factory) : factory(global.preact = global.preact || {});\n\t}(this, function(exports) {\n\t function VNode(nodeName, attributes, children) {\n\t this.nodeName = nodeName;\n\t this.attributes = attributes;\n\t this.children = children;\n\t this.key = attributes && attributes.key;\n\t }\n\t function extend(obj, props) {\n\t if (props) for (var i in props) if (void 0 !== props[i]) obj[i] = props[i];\n\t return obj;\n\t }\n\t function clone(obj) {\n\t return extend({}, obj);\n\t }\n\t function delve(obj, key) {\n\t for (var p = key.split('.'), i = 0; i < p.length && obj; i++) obj = obj[p[i]];\n\t return obj;\n\t }\n\t function toArray(obj, offset) {\n\t return [].slice.call(obj, offset);\n\t }\n\t function isFunction(obj) {\n\t return 'function' == typeof obj;\n\t }\n\t function isString(obj) {\n\t return 'string' == typeof obj;\n\t }\n\t function empty(x) {\n\t return void 0 === x || null === x;\n\t }\n\t function falsey(value) {\n\t return value === !1 || empty(value);\n\t }\n\t function hashToClassName(c) {\n\t var str = '';\n\t for (var prop in c) if (c[prop]) {\n\t if (str) str += ' ';\n\t str += prop;\n\t }\n\t return str;\n\t }\n\t function h(nodeName, attributes, firstChild) {\n\t var children, arr, lastSimple, len = arguments.length;\n\t if (len > 2) {\n\t var type = typeof firstChild;\n\t if (3 === len && 'object' !== type && 'function' !== type) {\n\t if (!falsey(firstChild)) children = [ String(firstChild) ];\n\t } else {\n\t children = [];\n\t for (var i = 2; i < len; i++) {\n\t var _p = arguments[i];\n\t if (!falsey(_p)) {\n\t if (_p.join) arr = _p; else (arr = SHARED_TEMP_ARRAY)[0] = _p;\n\t for (var j = 0; j < arr.length; j++) {\n\t var child = arr[j], simple = !(falsey(child) || isFunction(child) || child instanceof VNode);\n\t if (simple && !isString(child)) child = String(child);\n\t if (simple && lastSimple) children[children.length - 1] += child; else if (!falsey(child)) {\n\t children.push(child);\n\t lastSimple = simple;\n\t }\n\t }\n\t } else ;\n\t }\n\t }\n\t } else if (attributes && attributes.children) return h(nodeName, attributes, attributes.children);\n\t if (attributes) {\n\t if (attributes.children) delete attributes.children;\n\t if (!isFunction(nodeName)) {\n\t if ('className' in attributes) {\n\t attributes.class = attributes.className;\n\t delete attributes.className;\n\t }\n\t lastSimple = attributes.class;\n\t if (lastSimple && !isString(lastSimple)) attributes.class = hashToClassName(lastSimple);\n\t }\n\t }\n\t var p = new VNode(nodeName, attributes || void 0, children);\n\t if (options.vnode) options.vnode(p);\n\t return p;\n\t }\n\t function cloneElement(vnode, props) {\n\t return h(vnode.nodeName, extend(clone(vnode.attributes), props), arguments.length > 2 ? toArray(arguments, 2) : vnode.children);\n\t }\n\t function createLinkedState(component, key, eventPath) {\n\t var path = key.split('.'), p0 = path[0];\n\t return function(e) {\n\t var _component$setState;\n\t var v, i, t = e && e.currentTarget || this, s = component.state, obj = s;\n\t if (isString(eventPath)) {\n\t v = delve(e, eventPath);\n\t if (empty(v) && (t = t._component)) v = delve(t, eventPath);\n\t } else v = t.nodeName ? (t.nodeName + t.type).match(/^input(check|rad)/i) ? t.checked : t.value : e;\n\t if (isFunction(v)) v = v.call(t);\n\t if (path.length > 1) {\n\t for (i = 0; i < path.length - 1; i++) obj = obj[path[i]] || (obj[path[i]] = {});\n\t obj[path[i]] = v;\n\t v = s[p0];\n\t }\n\t component.setState((_component$setState = {}, _component$setState[p0] = v, _component$setState));\n\t };\n\t }\n\t function enqueueRender(component) {\n\t if (1 === items.push(component)) (options.debounceRendering || setImmediate)(rerender);\n\t }\n\t function rerender() {\n\t if (items.length) {\n\t var p, currentItems = items;\n\t items = itemsOffline;\n\t itemsOffline = currentItems;\n\t while (p = currentItems.pop()) if (p._dirty) renderComponent(p);\n\t }\n\t }\n\t function isFunctionalComponent(vnode) {\n\t var nodeName = vnode && vnode.nodeName;\n\t return nodeName && isFunction(nodeName) && !(nodeName.prototype && nodeName.prototype.render);\n\t }\n\t function buildFunctionalComponent(vnode, context) {\n\t return vnode.nodeName(getNodeProps(vnode), context || EMPTY);\n\t }\n\t function ensureNodeData(node, data) {\n\t return node[ATTR_KEY] || (node[ATTR_KEY] = data || {});\n\t }\n\t function getNodeType(node) {\n\t if (node instanceof Text) return 3;\n\t if (node instanceof Element) return 1; else return 0;\n\t }\n\t function removeNode(node) {\n\t var p = node.parentNode;\n\t if (p) p.removeChild(node);\n\t }\n\t function setAccessor(node, name, value, old, isSvg) {\n\t ensureNodeData(node)[name] = value;\n\t if ('key' !== name && 'children' !== name) if ('class' === name && !isSvg) node.className = value || ''; else if ('style' === name) {\n\t if (!value || isString(value) || isString(old)) node.style.cssText = value || '';\n\t if (value && 'object' == typeof value) {\n\t if (!isString(old)) for (var i in old) if (!(i in value)) node.style[i] = '';\n\t for (var i in value) node.style[i] = 'number' == typeof value[i] && !NON_DIMENSION_PROPS[i] ? value[i] + 'px' : value[i];\n\t }\n\t } else if ('dangerouslySetInnerHTML' === name) {\n\t if (value) node.innerHTML = value.__html;\n\t } else if ('o' === name[0] && 'n' === name[1]) {\n\t var l = node._listeners || (node._listeners = {});\n\t name = toLowerCase(name.substring(2));\n\t if (value) {\n\t if (!l[name]) node.addEventListener(name, eventProxy);\n\t } else if (l[name]) node.removeEventListener(name, eventProxy);\n\t l[name] = value;\n\t } else if ('type' !== name && !isSvg && name in node) {\n\t setProperty(node, name, empty(value) ? '' : value);\n\t if (falsey(value)) node.removeAttribute(name);\n\t } else {\n\t var ns = isSvg && name.match(/^xlink\\:?(.+)/);\n\t if (falsey(value)) if (ns) node.removeAttributeNS('http://www.w3.org/1999/xlink', toLowerCase(ns[1])); else node.removeAttribute(name); else if ('object' != typeof value && !isFunction(value)) if (ns) node.setAttributeNS('http://www.w3.org/1999/xlink', toLowerCase(ns[1]), value); else node.setAttribute(name, value);\n\t }\n\t }\n\t function setProperty(node, name, value) {\n\t try {\n\t node[name] = value;\n\t } catch (e) {}\n\t }\n\t function eventProxy(e) {\n\t return this._listeners[e.type](options.event && options.event(e) || e);\n\t }\n\t function getRawNodeAttributes(node) {\n\t var attrs = {};\n\t for (var i = node.attributes.length; i--; ) attrs[node.attributes[i].name] = node.attributes[i].value;\n\t return attrs;\n\t }\n\t function isSameNodeType(node, vnode) {\n\t if (isString(vnode)) return 3 === getNodeType(node);\n\t if (isString(vnode.nodeName)) return isNamedNode(node, vnode.nodeName);\n\t if (isFunction(vnode.nodeName)) return node._componentConstructor === vnode.nodeName || isFunctionalComponent(vnode); else ;\n\t }\n\t function isNamedNode(node, nodeName) {\n\t return node.normalizedNodeName === nodeName || toLowerCase(node.nodeName) === toLowerCase(nodeName);\n\t }\n\t function getNodeProps(vnode) {\n\t var defaultProps = vnode.nodeName.defaultProps, props = clone(defaultProps || vnode.attributes);\n\t if (defaultProps) extend(props, vnode.attributes);\n\t if (vnode.children) props.children = vnode.children;\n\t return props;\n\t }\n\t function collectNode(node) {\n\t cleanNode(node);\n\t var name = toLowerCase(node.nodeName), list = nodes[name];\n\t if (list) list.push(node); else nodes[name] = [ node ];\n\t }\n\t function createNode(nodeName, isSvg) {\n\t var name = toLowerCase(nodeName), node = nodes[name] && nodes[name].pop() || (isSvg ? document.createElementNS('http://www.w3.org/2000/svg', nodeName) : document.createElement(nodeName));\n\t ensureNodeData(node);\n\t node.normalizedNodeName = name;\n\t return node;\n\t }\n\t function cleanNode(node) {\n\t removeNode(node);\n\t if (1 === getNodeType(node)) {\n\t ensureNodeData(node, getRawNodeAttributes(node));\n\t node._component = node._componentConstructor = null;\n\t }\n\t }\n\t function flushMounts() {\n\t var c;\n\t while (c = mounts.pop()) if (c.componentDidMount) c.componentDidMount();\n\t }\n\t function diff(dom, vnode, context, mountAll, parent) {\n\t diffLevel++;\n\t var ret = idiff(dom, vnode, context, mountAll);\n\t if (parent && ret.parentNode !== parent) parent.appendChild(ret);\n\t if (!--diffLevel) flushMounts();\n\t return ret;\n\t }\n\t function idiff(dom, vnode, context, mountAll) {\n\t var originalAttributes = vnode && vnode.attributes;\n\t while (isFunctionalComponent(vnode)) vnode = buildFunctionalComponent(vnode, context);\n\t if (empty(vnode)) return document.createComment('');\n\t if (isString(vnode)) {\n\t if (dom) {\n\t if (3 === getNodeType(dom) && dom.parentNode) {\n\t if (dom.nodeValue != vnode) dom.nodeValue = vnode;\n\t return dom;\n\t }\n\t collectNode(dom);\n\t }\n\t return document.createTextNode(vnode);\n\t }\n\t var svgMode, out = dom, nodeName = vnode.nodeName;\n\t if (isFunction(nodeName)) return buildComponentFromVNode(dom, vnode, context, mountAll);\n\t if (!isString(nodeName)) nodeName = String(nodeName);\n\t svgMode = 'svg' === toLowerCase(nodeName);\n\t if (svgMode) isSvgMode = !0;\n\t if (!dom) out = createNode(nodeName, isSvgMode); else if (!isNamedNode(dom, nodeName)) {\n\t out = createNode(nodeName, isSvgMode);\n\t while (dom.firstChild) out.appendChild(dom.firstChild);\n\t recollectNodeTree(dom);\n\t }\n\t if (vnode.children && 1 === vnode.children.length && 'string' == typeof vnode.children[0] && 1 === out.childNodes.length && out.firstChild instanceof Text) out.firstChild.nodeValue = vnode.children[0]; else if (vnode.children || out.firstChild) innerDiffNode(out, vnode.children, context, mountAll);\n\t diffAttributes(out, vnode.attributes);\n\t if (originalAttributes && originalAttributes.ref) (out[ATTR_KEY].ref = originalAttributes.ref)(out);\n\t if (svgMode) isSvgMode = !1;\n\t return out;\n\t }\n\t function innerDiffNode(dom, vchildren, context, mountAll) {\n\t var j, c, vchild, child, originalChildren = dom.childNodes, children = [], keyed = {}, keyedLen = 0, min = 0, len = originalChildren.length, childrenLen = 0, vlen = vchildren && vchildren.length;\n\t if (len) for (var i = 0; i < len; i++) {\n\t var _child = originalChildren[i], key = vlen ? (c = _child._component) ? c.__key : (c = _child[ATTR_KEY]) ? c.key : null : null;\n\t if (key || 0 === key) {\n\t keyedLen++;\n\t keyed[key] = _child;\n\t } else children[childrenLen++] = _child;\n\t }\n\t if (vlen) for (var i = 0; i < vlen; i++) {\n\t vchild = vchildren[i];\n\t child = null;\n\t if (keyedLen && vchild.attributes) {\n\t var key = vchild.key;\n\t if (!empty(key) && key in keyed) {\n\t child = keyed[key];\n\t keyed[key] = void 0;\n\t keyedLen--;\n\t }\n\t }\n\t if (!child && min < childrenLen) for (j = min; j < childrenLen; j++) {\n\t c = children[j];\n\t if (c && isSameNodeType(c, vchild)) {\n\t child = c;\n\t children[j] = void 0;\n\t if (j === childrenLen - 1) childrenLen--;\n\t if (j === min) min++;\n\t break;\n\t }\n\t }\n\t child = idiff(child, vchild, context, mountAll);\n\t if (child !== originalChildren[i]) dom.insertBefore(child, originalChildren[i] || null);\n\t }\n\t if (keyedLen) for (var i in keyed) if (keyed[i]) children[min = childrenLen++] = keyed[i];\n\t if (min < childrenLen) removeOrphanedChildren(children);\n\t }\n\t function removeOrphanedChildren(children, unmountOnly) {\n\t for (var i = children.length; i--; ) {\n\t var child = children[i];\n\t if (child) recollectNodeTree(child, unmountOnly);\n\t }\n\t }\n\t function recollectNodeTree(node, unmountOnly) {\n\t var component = node._component;\n\t if (component) unmountComponent(component, !unmountOnly); else {\n\t if (node[ATTR_KEY] && node[ATTR_KEY].ref) node[ATTR_KEY].ref(null);\n\t if (!unmountOnly) collectNode(node);\n\t if (node.childNodes && node.childNodes.length) removeOrphanedChildren(node.childNodes, unmountOnly);\n\t }\n\t }\n\t function diffAttributes(dom, attrs) {\n\t var old = dom[ATTR_KEY] || getRawNodeAttributes(dom);\n\t for (var _name in old) if (!(attrs && _name in attrs)) setAccessor(dom, _name, null, old[_name], isSvgMode);\n\t if (attrs) for (var _name2 in attrs) if (!(_name2 in old) || attrs[_name2] != ('value' === _name2 || 'selected' === _name2 || 'checked' === _name2 ? dom[_name2] : old[_name2])) setAccessor(dom, _name2, attrs[_name2], old[_name2], isSvgMode);\n\t }\n\t function collectComponent(component) {\n\t var name = component.constructor.name, list = components[name];\n\t if (list) list.push(component); else components[name] = [ component ];\n\t }\n\t function createComponent(Ctor, props, context) {\n\t var inst = new Ctor(props, context), list = components[Ctor.name];\n\t if (list) for (var i = list.length; i--; ) if (list[i].constructor === Ctor) {\n\t inst.nextBase = list[i].nextBase;\n\t list.splice(i, 1);\n\t break;\n\t }\n\t return inst;\n\t }\n\t function triggerComponentRender(component) {\n\t if (!component._dirty) {\n\t component._dirty = !0;\n\t enqueueRender(component);\n\t }\n\t }\n\t function setComponentProps(component, props, opts, context, mountAll) {\n\t var b = component.base;\n\t if (!component._disableRendering) {\n\t component._disableRendering = !0;\n\t if (component.__ref = props.ref) delete props.ref;\n\t if (component.__key = props.key) delete props.key;\n\t if (empty(b) || mountAll) {\n\t if (component.componentWillMount) component.componentWillMount();\n\t } else if (component.componentWillReceiveProps) component.componentWillReceiveProps(props, context);\n\t if (context && context !== component.context) {\n\t if (!component.prevContext) component.prevContext = component.context;\n\t component.context = context;\n\t }\n\t if (!component.prevProps) component.prevProps = component.props;\n\t component.props = props;\n\t component._disableRendering = !1;\n\t if (0 !== opts) if (1 === opts || options.syncComponentUpdates !== !1 || !b) renderComponent(component, 1, mountAll); else triggerComponentRender(component);\n\t if (component.__ref) component.__ref(component);\n\t }\n\t }\n\t function renderComponent(component, opts, mountAll) {\n\t if (!component._disableRendering) {\n\t var skip, rendered, props = component.props, state = component.state, context = component.context, previousProps = component.prevProps || props, previousState = component.prevState || state, previousContext = component.prevContext || context, isUpdate = component.base, initialBase = isUpdate || component.nextBase, nextSibling = initialBase && initialBase.nextSibling, baseParent = initialBase && initialBase.parentNode, initialComponent = initialBase && initialBase._component, initialChildComponent = component._component;\n\t if (isUpdate) {\n\t component.props = previousProps;\n\t component.state = previousState;\n\t component.context = previousContext;\n\t if (2 !== opts && component.shouldComponentUpdate && component.shouldComponentUpdate(props, state, context) === !1) skip = !0; else if (component.componentWillUpdate) component.componentWillUpdate(props, state, context);\n\t component.props = props;\n\t component.state = state;\n\t component.context = context;\n\t }\n\t component.prevProps = component.prevState = component.prevContext = component.nextBase = null;\n\t component._dirty = !1;\n\t if (!skip) {\n\t if (component.render) rendered = component.render(props, state, context);\n\t if (component.getChildContext) context = extend(clone(context), component.getChildContext());\n\t while (isFunctionalComponent(rendered)) rendered = buildFunctionalComponent(rendered, context);\n\t var toUnmount, base, childComponent = rendered && rendered.nodeName;\n\t if (isFunction(childComponent) && childComponent.prototype.render) {\n\t var inst = initialChildComponent, childProps = getNodeProps(rendered);\n\t if (inst && inst.constructor === childComponent) setComponentProps(inst, childProps, 1, context); else {\n\t toUnmount = inst;\n\t inst = createComponent(childComponent, childProps, context);\n\t inst._parentComponent = component;\n\t component._component = inst;\n\t setComponentProps(inst, childProps, 0, context);\n\t renderComponent(inst, 1);\n\t }\n\t base = inst.base;\n\t } else {\n\t var cbase = initialBase;\n\t toUnmount = initialChildComponent;\n\t if (toUnmount) cbase = component._component = null;\n\t if (initialBase || 1 === opts) {\n\t if (cbase) cbase._component = null;\n\t base = diff(cbase, rendered, context, mountAll || !isUpdate);\n\t }\n\t }\n\t if (initialBase && base !== initialBase) {\n\t if (baseParent && base !== baseParent) baseParent.insertBefore(base, nextSibling || null);\n\t if (!toUnmount && initialComponent === component && !initialChildComponent && initialBase.parentNode) {\n\t initialBase._component = null;\n\t recollectNodeTree(initialBase);\n\t }\n\t }\n\t if (toUnmount) unmountComponent(toUnmount, !0);\n\t component.base = base;\n\t if (base) {\n\t var componentRef = component, t = component;\n\t while (t = t._parentComponent) componentRef = t;\n\t base._component = componentRef;\n\t base._componentConstructor = componentRef.constructor;\n\t }\n\t }\n\t if (!isUpdate || mountAll) {\n\t mounts.unshift(component);\n\t if (!diffLevel) flushMounts();\n\t } else if (!skip && component.componentDidUpdate) component.componentDidUpdate(previousProps, previousState, previousContext);\n\t var fn, cb = component._renderCallbacks;\n\t if (cb) while (fn = cb.pop()) fn.call(component);\n\t return rendered;\n\t }\n\t }\n\t function buildComponentFromVNode(dom, vnode, context, mountAll) {\n\t var c = dom && dom._component, oldDom = dom, isDirectOwner = c && dom._componentConstructor === vnode.nodeName, isOwner = isDirectOwner, props = getNodeProps(vnode);\n\t while (c && !isOwner && (c = c._parentComponent)) isOwner = c.constructor === vnode.nodeName;\n\t if (isOwner && (!mountAll || c._component)) {\n\t setComponentProps(c, props, 3, context, mountAll);\n\t dom = c.base;\n\t } else {\n\t if (c && !isDirectOwner) {\n\t unmountComponent(c, !0);\n\t dom = oldDom = null;\n\t }\n\t c = createComponent(vnode.nodeName, props, context);\n\t if (dom && !c.nextBase) c.nextBase = dom;\n\t setComponentProps(c, props, 1, context, mountAll);\n\t dom = c.base;\n\t if (oldDom && dom !== oldDom) {\n\t oldDom._component = null;\n\t recollectNodeTree(oldDom);\n\t }\n\t }\n\t return dom;\n\t }\n\t function unmountComponent(component, remove) {\n\t var base = component.base;\n\t component._disableRendering = !0;\n\t if (component.componentWillUnmount) component.componentWillUnmount();\n\t component.base = null;\n\t var inner = component._component;\n\t if (inner) unmountComponent(inner, remove); else if (base) {\n\t if (base[ATTR_KEY] && base[ATTR_KEY].ref) base[ATTR_KEY].ref(null);\n\t component.nextBase = base;\n\t if (remove) {\n\t removeNode(base);\n\t collectComponent(component);\n\t }\n\t removeOrphanedChildren(base.childNodes, !remove);\n\t }\n\t if (component.__ref) component.__ref(null);\n\t if (component.componentDidUnmount) component.componentDidUnmount();\n\t }\n\t function Component(props, context) {\n\t this._dirty = !0;\n\t this._disableRendering = !1;\n\t this.prevState = this.prevProps = this.prevContext = this.base = this.nextBase = this._parentComponent = this._component = this.__ref = this.__key = this._linkedStates = this._renderCallbacks = null;\n\t this.context = context || {};\n\t this.props = props;\n\t this.state = this.getInitialState && this.getInitialState() || {};\n\t }\n\t function render(vnode, parent, merge) {\n\t return diff(merge, vnode, {}, !1, parent);\n\t }\n\t var lcCache = {};\n\t var toLowerCase = function(s) {\n\t return lcCache[s] || (lcCache[s] = s.toLowerCase());\n\t };\n\t var resolved = 'undefined' != typeof Promise && Promise.resolve();\n\t var setImmediate = resolved ? function(f) {\n\t resolved.then(f);\n\t } : setTimeout;\n\t var options = {\n\t vnode: empty\n\t };\n\t var SHARED_TEMP_ARRAY = [];\n\t var EMPTY = {};\n\t var ATTR_KEY = 'undefined' != typeof Symbol ? Symbol.for('preactattr') : '__preactattr_';\n\t var NON_DIMENSION_PROPS = {\n\t boxFlex: 1,\n\t boxFlexGroup: 1,\n\t columnCount: 1,\n\t fillOpacity: 1,\n\t flex: 1,\n\t flexGrow: 1,\n\t flexPositive: 1,\n\t flexShrink: 1,\n\t flexNegative: 1,\n\t fontWeight: 1,\n\t lineClamp: 1,\n\t lineHeight: 1,\n\t opacity: 1,\n\t order: 1,\n\t orphans: 1,\n\t strokeOpacity: 1,\n\t widows: 1,\n\t zIndex: 1,\n\t zoom: 1\n\t };\n\t var items = [];\n\t var itemsOffline = [];\n\t var nodes = {};\n\t var mounts = [];\n\t var diffLevel = 0;\n\t var isSvgMode = !1;\n\t var components = {};\n\t extend(Component.prototype, {\n\t linkState: function(key, eventPath) {\n\t var c = this._linkedStates || (this._linkedStates = {}), cacheKey = key + '|' + eventPath;\n\t return c[cacheKey] || (c[cacheKey] = createLinkedState(this, key, eventPath));\n\t },\n\t setState: function(state, callback) {\n\t var s = this.state;\n\t if (!this.prevState) this.prevState = clone(s);\n\t extend(s, isFunction(state) ? state(s, this.props) : state);\n\t if (callback) (this._renderCallbacks = this._renderCallbacks || []).push(callback);\n\t triggerComponentRender(this);\n\t },\n\t forceUpdate: function() {\n\t renderComponent(this, 2);\n\t },\n\t render: function() {\n\t return null;\n\t }\n\t });\n\t exports.h = h;\n\t exports.cloneElement = cloneElement;\n\t exports.Component = Component;\n\t exports.render = render;\n\t exports.rerender = rerender;\n\t exports.options = options;\n\t});\n\t//# sourceMappingURL=preact.js.map\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2).setImmediate))\n\n/***/ },\n/* 2 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(setImmediate, clearImmediate) {var nextTick = __webpack_require__(3).nextTick;\n\tvar apply = Function.prototype.apply;\n\tvar slice = Array.prototype.slice;\n\tvar immediateIds = {};\n\tvar nextImmediateId = 0;\n\t\n\t// DOM APIs, for completeness\n\t\n\texports.setTimeout = function() {\n\t return new Timeout(apply.call(setTimeout, window, arguments), clearTimeout);\n\t};\n\texports.setInterval = function() {\n\t return new Timeout(apply.call(setInterval, window, arguments), clearInterval);\n\t};\n\texports.clearTimeout =\n\texports.clearInterval = function(timeout) { timeout.close(); };\n\t\n\tfunction Timeout(id, clearFn) {\n\t this._id = id;\n\t this._clearFn = clearFn;\n\t}\n\tTimeout.prototype.unref = Timeout.prototype.ref = function() {};\n\tTimeout.prototype.close = function() {\n\t this._clearFn.call(window, this._id);\n\t};\n\t\n\t// Does not start the time, just sets up the members needed.\n\texports.enroll = function(item, msecs) {\n\t clearTimeout(item._idleTimeoutId);\n\t item._idleTimeout = msecs;\n\t};\n\t\n\texports.unenroll = function(item) {\n\t clearTimeout(item._idleTimeoutId);\n\t item._idleTimeout = -1;\n\t};\n\t\n\texports._unrefActive = exports.active = function(item) {\n\t clearTimeout(item._idleTimeoutId);\n\t\n\t var msecs = item._idleTimeout;\n\t if (msecs >= 0) {\n\t item._idleTimeoutId = setTimeout(function onTimeout() {\n\t if (item._onTimeout)\n\t item._onTimeout();\n\t }, msecs);\n\t }\n\t};\n\t\n\t// That's not how node.js implements it but the exposed api is the same.\n\texports.setImmediate = typeof setImmediate === \"function\" ? setImmediate : function(fn) {\n\t var id = nextImmediateId++;\n\t var args = arguments.length < 2 ? false : slice.call(arguments, 1);\n\t\n\t immediateIds[id] = true;\n\t\n\t nextTick(function onNextTick() {\n\t if (immediateIds[id]) {\n\t // fn.call() is faster so we optimize for the common use-case\n\t // @see http://jsperf.com/call-apply-segu\n\t if (args) {\n\t fn.apply(null, args);\n\t } else {\n\t fn.call(null);\n\t }\n\t // Prevent ids from leaking\n\t exports.clearImmediate(id);\n\t }\n\t });\n\t\n\t return id;\n\t};\n\t\n\texports.clearImmediate = typeof clearImmediate === \"function\" ? clearImmediate : function(id) {\n\t delete immediateIds[id];\n\t};\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2).setImmediate, __webpack_require__(2).clearImmediate))\n\n/***/ },\n/* 3 */\n/***/ function(module, exports) {\n\n\t// shim for using process in browser\n\tvar process = module.exports = {};\n\t\n\t// cached from whatever global is present so that test runners that stub it\n\t// don't break things. But we need to wrap it in a try catch in case it is\n\t// wrapped in strict mode code which doesn't define any globals. It's inside a\n\t// function because try/catches deoptimize in certain engines.\n\t\n\tvar cachedSetTimeout;\n\tvar cachedClearTimeout;\n\t\n\t(function () {\n\t try {\n\t cachedSetTimeout = setTimeout;\n\t } catch (e) {\n\t cachedSetTimeout = function () {\n\t throw new Error('setTimeout is not defined');\n\t }\n\t }\n\t try {\n\t cachedClearTimeout = clearTimeout;\n\t } catch (e) {\n\t cachedClearTimeout = function () {\n\t throw new Error('clearTimeout is not defined');\n\t }\n\t }\n\t} ())\n\tfunction runTimeout(fun) {\n\t if (cachedSetTimeout === setTimeout) {\n\t //normal enviroments in sane situations\n\t return setTimeout(fun, 0);\n\t }\n\t try {\n\t // when when somebody has screwed with setTimeout but no I.E. maddness\n\t return cachedSetTimeout(fun, 0);\n\t } catch(e){\n\t try {\n\t // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n\t return cachedSetTimeout.call(null, fun, 0);\n\t } catch(e){\n\t // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n\t return cachedSetTimeout.call(this, fun, 0);\n\t }\n\t }\n\t\n\t\n\t}\n\tfunction runClearTimeout(marker) {\n\t if (cachedClearTimeout === clearTimeout) {\n\t //normal enviroments in sane situations\n\t return clearTimeout(marker);\n\t }\n\t try {\n\t // when when somebody has screwed with setTimeout but no I.E. maddness\n\t return cachedClearTimeout(marker);\n\t } catch (e){\n\t try {\n\t // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n\t return cachedClearTimeout.call(null, marker);\n\t } catch (e){\n\t // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n\t // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n\t return cachedClearTimeout.call(this, marker);\n\t }\n\t }\n\t\n\t\n\t\n\t}\n\tvar queue = [];\n\tvar draining = false;\n\tvar currentQueue;\n\tvar queueIndex = -1;\n\t\n\tfunction cleanUpNextTick() {\n\t if (!draining || !currentQueue) {\n\t return;\n\t }\n\t draining = false;\n\t if (currentQueue.length) {\n\t queue = currentQueue.concat(queue);\n\t } else {\n\t queueIndex = -1;\n\t }\n\t if (queue.length) {\n\t drainQueue();\n\t }\n\t}\n\t\n\tfunction drainQueue() {\n\t if (draining) {\n\t return;\n\t }\n\t var timeout = runTimeout(cleanUpNextTick);\n\t draining = true;\n\t\n\t var len = queue.length;\n\t while(len) {\n\t currentQueue = queue;\n\t queue = [];\n\t while (++queueIndex < len) {\n\t if (currentQueue) {\n\t currentQueue[queueIndex].run();\n\t }\n\t }\n\t queueIndex = -1;\n\t len = queue.length;\n\t }\n\t currentQueue = null;\n\t draining = false;\n\t runClearTimeout(timeout);\n\t}\n\t\n\tprocess.nextTick = function (fun) {\n\t var args = new Array(arguments.length - 1);\n\t if (arguments.length > 1) {\n\t for (var i = 1; i < arguments.length; i++) {\n\t args[i - 1] = arguments[i];\n\t }\n\t }\n\t queue.push(new Item(fun, args));\n\t if (queue.length === 1 && !draining) {\n\t runTimeout(drainQueue);\n\t }\n\t};\n\t\n\t// v8 likes predictible objects\n\tfunction Item(fun, array) {\n\t this.fun = fun;\n\t this.array = array;\n\t}\n\tItem.prototype.run = function () {\n\t this.fun.apply(null, this.array);\n\t};\n\tprocess.title = 'browser';\n\tprocess.browser = true;\n\tprocess.env = {};\n\tprocess.argv = [];\n\tprocess.version = ''; // empty string to avoid regexp issues\n\tprocess.versions = {};\n\t\n\tfunction noop() {}\n\t\n\tprocess.on = noop;\n\tprocess.addListener = noop;\n\tprocess.once = noop;\n\tprocess.off = noop;\n\tprocess.removeListener = noop;\n\tprocess.removeAllListeners = noop;\n\tprocess.emit = noop;\n\t\n\tprocess.binding = function (name) {\n\t throw new Error('process.binding is not supported');\n\t};\n\t\n\tprocess.cwd = function () { return '/' };\n\tprocess.chdir = function (dir) {\n\t throw new Error('process.chdir is not supported');\n\t};\n\tprocess.umask = function() { return 0; };\n\n\n/***/ },\n/* 4 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol ? \"symbol\" : typeof obj; };\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\tvar _preact = __webpack_require__(1);\n\t\n\tvar _objectUtils = __webpack_require__(5);\n\t\n\tvar _arrayUtils = __webpack_require__(7);\n\t\n\tvar _typeUtils = __webpack_require__(6);\n\t\n\tvar _bindMethods = __webpack_require__(8);\n\t\n\tvar _bindMethods2 = _interopRequireDefault(_bindMethods);\n\t\n\tvar _JSONNode = __webpack_require__(9);\n\t\n\tvar _JSONNode2 = _interopRequireDefault(_JSONNode);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar TreeMode = function (_Component) {\n\t _inherits(TreeMode, _Component);\n\t\n\t // TODO: define propTypes\n\t\n\t function TreeMode(props) {\n\t _classCallCheck(this, TreeMode);\n\t\n\t var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(TreeMode).call(this, props));\n\t\n\t (0, _bindMethods2.default)(_this);\n\t\n\t var name = _this.props.options && _this.props.options.name || null;\n\t var expand = _this.props.options && _this.props.options.expand || TreeMode.expand;\n\t\n\t _this.state = {\n\t options: {\n\t name: name\n\t },\n\t\n\t data: jsonToData([], _this.props.data || {}, expand),\n\t\n\t events: {\n\t onChangeProperty: _this.handleChangeProperty,\n\t onChangeValue: _this.handleChangeValue,\n\t onChangeType: _this.handleChangeType,\n\t onInsert: _this.handleInsert,\n\t onAppend: _this.handleAppend,\n\t onDuplicate: _this.handleDuplicate,\n\t onRemove: _this.handleRemove,\n\t onSort: _this.handleSort,\n\t\n\t onExpand: _this.handleExpand\n\t },\n\t\n\t search: null\n\t };\n\t return _this;\n\t }\n\t\n\t _createClass(TreeMode, [{\n\t key: 'render',\n\t value: function render() {\n\t return (0, _preact.h)('div', { class: 'jsoneditor', contentEditable: 'false', onClick: _JSONNode2.default.hideContextMenu }, [(0, _preact.h)('ul', { class: 'jsoneditor-list', contentEditable: 'false' }, [(0, _preact.h)(_JSONNode2.default, {\n\t data: this.state.data,\n\t events: this.state.events,\n\t options: this.state.options,\n\t parent: null,\n\t prop: null\n\t })])]);\n\t }\n\t }, {\n\t key: 'handleChangeValue',\n\t value: function handleChangeValue(path, value) {\n\t console.log('handleChangeValue', path, value);\n\t\n\t var dataPath = toDataPath(this.state.data, path);\n\t\n\t this.setState({\n\t data: (0, _objectUtils.setIn)(this.state.data, dataPath.concat(['value']), value)\n\t });\n\t }\n\t }, {\n\t key: 'handleChangeProperty',\n\t value: function handleChangeProperty(path, oldProp, newProp) {\n\t console.log('handleChangeProperty', path, oldProp, newProp);\n\t\n\t var dataPath = toDataPath(this.state.data, path);\n\t var object = (0, _objectUtils.getIn)(this.state.data, dataPath);\n\t var index = object.props.findIndex(function (p) {\n\t return p.name === oldProp;\n\t });\n\t\n\t this.setState({\n\t data: (0, _objectUtils.setIn)(this.state.data, dataPath.concat(['props', index, 'name']), newProp)\n\t });\n\t }\n\t }, {\n\t key: 'handleChangeType',\n\t value: function handleChangeType(path, type) {\n\t console.log('handleChangeType', path, type);\n\t\n\t var dataPath = toDataPath(this.state.data, path);\n\t var oldEntry = (0, _objectUtils.getIn)(this.state.data, dataPath);\n\t var newEntry = convertDataEntry(oldEntry, type);\n\t\n\t this.setState({\n\t data: (0, _objectUtils.setIn)(this.state.data, dataPath, newEntry)\n\t });\n\t }\n\t }, {\n\t key: 'handleInsert',\n\t value: function handleInsert(path, afterProp, type) {\n\t console.log('handleInsert', path, afterProp, type);\n\t\n\t var dataPath = toDataPath(this.state.data, path);\n\t var parent = (0, _objectUtils.getIn)(this.state.data, dataPath);\n\t\n\t if (parent.type === 'array') {\n\t this.setState({\n\t data: (0, _objectUtils.updateIn)(this.state.data, dataPath.concat(['items']), function (items) {\n\t var index = parseInt(afterProp);\n\t var updatedItems = items.slice(0);\n\t\n\t updatedItems.splice(index + 1, 0, createDataEntry(type));\n\t\n\t return updatedItems;\n\t })\n\t });\n\t } else {\n\t // parent.type === 'object'\n\t this.setState({\n\t data: (0, _objectUtils.updateIn)(this.state.data, dataPath.concat(['props']), function (props) {\n\t var index = props.findIndex(function (p) {\n\t return p.name === afterProp;\n\t });\n\t var updatedProps = props.slice(0);\n\t\n\t updatedProps.splice(index + 1, 0, {\n\t name: '',\n\t value: createDataEntry(type)\n\t });\n\t\n\t return updatedProps;\n\t })\n\t });\n\t }\n\t }\n\t }, {\n\t key: 'handleAppend',\n\t value: function handleAppend(path, type) {\n\t console.log('handleAppend', path, type);\n\t\n\t var dataPath = toDataPath(this.state.data, path);\n\t var object = (0, _objectUtils.getIn)(this.state.data, dataPath);\n\t\n\t if (object.type === 'array') {\n\t this.setState({\n\t data: (0, _objectUtils.updateIn)(this.state.data, dataPath.concat(['items']), function (items) {\n\t var updatedItems = items.slice(0);\n\t\n\t updatedItems.push(createDataEntry(type));\n\t\n\t return updatedItems;\n\t })\n\t });\n\t } else {\n\t // object.type === 'object'\n\t this.setState({\n\t data: (0, _objectUtils.updateIn)(this.state.data, dataPath.concat(['props']), function (props) {\n\t var updatedProps = props.slice(0);\n\t\n\t updatedProps.push({\n\t name: '',\n\t value: createDataEntry(type)\n\t });\n\t\n\t return updatedProps;\n\t })\n\t });\n\t }\n\t }\n\t }, {\n\t key: 'handleDuplicate',\n\t value: function handleDuplicate(path, prop) {\n\t console.log('handleDuplicate', path);\n\t\n\t var dataPath = toDataPath(this.state.data, path);\n\t var object = (0, _objectUtils.getIn)(this.state.data, dataPath);\n\t\n\t if (object.type === 'array') {\n\t this.setState({\n\t data: (0, _objectUtils.updateIn)(this.state.data, dataPath.concat(['items']), function (items) {\n\t var index = parseInt(prop);\n\t var updatedItems = items.slice(0);\n\t var original = items[index];\n\t var duplicate = (0, _objectUtils.cloneDeep)(original);\n\t\n\t updatedItems.splice(index + 1, 0, duplicate);\n\t\n\t return updatedItems;\n\t })\n\t });\n\t } else {\n\t // object.type === 'object'\n\t this.setState({\n\t data: (0, _objectUtils.updateIn)(this.state.data, dataPath.concat(['props']), function (props) {\n\t var index = props.findIndex(function (p) {\n\t return p.name === prop;\n\t });\n\t var updated = props.slice(0);\n\t var original = props[index];\n\t var duplicate = (0, _objectUtils.cloneDeep)(original);\n\t\n\t updated.splice(index + 1, 0, duplicate);\n\t\n\t return updated;\n\t })\n\t });\n\t }\n\t }\n\t }, {\n\t key: 'handleRemove',\n\t value: function handleRemove(path, prop) {\n\t console.log('handleRemove', path);\n\t\n\t var object = (0, _objectUtils.getIn)(this.state.data, toDataPath(this.state.data, path));\n\t\n\t if (object.type === 'array') {\n\t var dataPath = toDataPath(this.state.data, path.concat(prop));\n\t\n\t this.setState({\n\t data: (0, _objectUtils.deleteIn)(this.state.data, dataPath)\n\t });\n\t } else {\n\t // object.type === 'object'\n\t var _dataPath = toDataPath(this.state.data, path.concat(prop));\n\t\n\t _dataPath.pop(); // remove the 'value' property, we want to remove the whole object property\n\t this.setState({\n\t data: (0, _objectUtils.deleteIn)(this.state.data, _dataPath)\n\t });\n\t }\n\t }\n\t\n\t /**\n\t * Order the items of an array or the properties of an object in ascending\n\t * or descending order\n\t * @param {Array.<string | number>} path\n\t * @param {'asc' | 'desc' | null} [order=null] If not provided, will toggle current ordering\n\t */\n\t\n\t }, {\n\t key: 'handleSort',\n\t value: function handleSort(path) {\n\t var order = arguments.length <= 1 || arguments[1] === undefined ? null : arguments[1];\n\t\n\t console.log('handleSort', path, order);\n\t\n\t var dataPath = toDataPath(this.state.data, path);\n\t var object = (0, _objectUtils.getIn)(this.state.data, dataPath);\n\t\n\t var _order = void 0;\n\t if (order === 'asc' || order === 'desc') {\n\t _order = order;\n\t } else {\n\t // toggle previous order\n\t _order = object.order !== 'asc' ? 'asc' : 'desc';\n\t\n\t this.setState({\n\t data: (0, _objectUtils.setIn)(this.state.data, dataPath.concat(['order']), _order)\n\t });\n\t }\n\t\n\t if (object.type === 'array') {\n\t this.setState({\n\t data: (0, _objectUtils.updateIn)(this.state.data, dataPath.concat(['items']), function (items) {\n\t var ordered = items.slice(0);\n\t var compare = _order === 'desc' ? _arrayUtils.compareDesc : _arrayUtils.compareAsc;\n\t\n\t ordered.sort(function (a, b) {\n\t return compare(a.value, b.value);\n\t });\n\t\n\t return ordered;\n\t })\n\t });\n\t } else {\n\t // object.type === 'object'\n\t this.setState({\n\t data: (0, _objectUtils.updateIn)(this.state.data, dataPath.concat(['props']), function (props) {\n\t var orderedProps = props.slice(0);\n\t var compare = _order === 'desc' ? _arrayUtils.compareDesc : _arrayUtils.compareAsc;\n\t\n\t orderedProps.sort(function (a, b) {\n\t return compare(a.name, b.name);\n\t });\n\t\n\t return orderedProps;\n\t })\n\t });\n\t }\n\t }\n\t }, {\n\t key: 'handleExpand',\n\t value: function handleExpand(path, expand) {\n\t console.log('handleExpand', path, expand);\n\t\n\t var dataPath = toDataPath(this.state.data, path);\n\t\n\t this.setState({\n\t data: (0, _objectUtils.setIn)(this.state.data, dataPath.concat(['expanded']), expand)\n\t });\n\t }\n\t\n\t /**\n\t * Set JSON object in editor\n\t * @param {Object | Array | string | number | boolean | null} json JSON data\n\t * @param {SetOptions} [options]\n\t */\n\t\n\t }, {\n\t key: 'set',\n\t value: function set(json) {\n\t var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\t\n\t this.setState({\n\t options: (0, _objectUtils.setIn)(this.state.options, ['name'], options && options.name || null),\n\t\n\t data: jsonToData([], json, options.expand || TreeMode.expand)\n\t });\n\t }\n\t\n\t /**\n\t * Get JSON from the editor\n\t * @returns {Object | Array | string | number | boolean | null} json\n\t */\n\t\n\t }, {\n\t key: 'get',\n\t value: function get() {\n\t return dataToJson(this.state.data);\n\t }\n\t\n\t // TODO: implement expand\n\t // TODO: implement getText and setText\n\t\n\t /**\n\t * Default function to determine whether or not to expand a node initially\n\t *\n\t * Rule: expand the root node only\n\t *\n\t * @param {Array.<string | number>} path\n\t * @return {boolean}\n\t */\n\t\n\t }], [{\n\t key: 'expand',\n\t value: function expand(path) {\n\t return path.length === 0;\n\t }\n\t }]);\n\t\n\t return TreeMode;\n\t}(_preact.Component);\n\t\n\t/**\n\t * Convert a path of a JSON object into a path in the corresponding data model\n\t * @param {Data} data\n\t * @param {Array.<string | number>} path\n\t * @return {Array.<string | number>} dataPath\n\t * @private\n\t */\n\t\n\t\n\texports.default = TreeMode;\n\tfunction toDataPath(data, path) {\n\t if (path.length === 0) {\n\t return [];\n\t }\n\t\n\t var index = void 0;\n\t if (data.type === 'array') {\n\t // index of an array\n\t index = path[0];\n\t\n\t return ['items', index].concat(toDataPath(data.items[index], path.slice(1)));\n\t } else {\n\t // object property. find the index of this property\n\t index = data.props.findIndex(function (prop) {\n\t return prop.name === path[0];\n\t });\n\t\n\t return ['props', index, 'value'].concat(toDataPath(data.props[index].value, path.slice(1)));\n\t }\n\t}\n\t\n\t/**\n\t * Convert a JSON object into the internally used data model\n\t * @param {Array.<string | number>} path\n\t * @param {Object | Array | string | number | boolean | null} json\n\t * @param {function(path: Array.<string | number>)} expand\n\t * @return {Data}\n\t */\n\tfunction jsonToData(path, json, expand) {\n\t if (Array.isArray(json)) {\n\t return {\n\t type: 'array',\n\t expanded: expand(path),\n\t items: json.map(function (child, index) {\n\t return jsonToData(path.concat(index), child, expand);\n\t })\n\t };\n\t } else if ((0, _typeUtils.isObject)(json)) {\n\t return {\n\t type: 'object',\n\t expanded: expand(path),\n\t props: Object.keys(json).map(function (name) {\n\t return {\n\t name: name,\n\t value: jsonToData(path.concat(name), json[name], expand)\n\t };\n\t })\n\t };\n\t } else {\n\t return {\n\t type: 'value',\n\t value: json\n\t };\n\t }\n\t}\n\t\n\t/**\n\t * Convert the internal data model to a regular JSON object\n\t * @param {Data} data\n\t * @return {Object | Array | string | number | boolean | null} json\n\t */\n\tfunction dataToJson(data) {\n\t var _ret = function () {\n\t switch (data.type) {\n\t case 'array':\n\t return {\n\t v: data.items.map(dataToJson)\n\t };\n\t\n\t case 'object':\n\t var object = {};\n\t\n\t data.props.forEach(function (prop) {\n\t object[prop.name] = dataToJson(prop.value);\n\t });\n\t\n\t return {\n\t v: object\n\t };\n\t\n\t default:\n\t // type 'string' or 'value'\n\t return {\n\t v: data.value\n\t };\n\t }\n\t }();\n\t\n\t if ((typeof _ret === 'undefined' ? 'undefined' : _typeof(_ret)) === \"object\") return _ret.v;\n\t}\n\t\n\t/**\n\t * Create a new data entry\n\t * @param {'object' | 'array' | 'value' | 'string'} [type='value']\n\t * @return {*}\n\t */\n\tfunction createDataEntry(type) {\n\t if (type === 'array') {\n\t return {\n\t type: type,\n\t expanded: true,\n\t items: []\n\t };\n\t } else if (type === 'object') {\n\t return {\n\t type: type,\n\t expanded: true,\n\t props: []\n\t };\n\t } else {\n\t return {\n\t type: type,\n\t value: ''\n\t };\n\t }\n\t}\n\t\n\t/**\n\t * Convert an entry into a different type. When possible, data is retained\n\t * @param {Data} entry\n\t * @param {'object' | 'array' | 'value' | 'string'} type\n\t */\n\tfunction convertDataEntry(entry, type) {\n\t var convertedEntry = createDataEntry(type);\n\t\n\t // convert contents from old value to new value where possible\n\t if (type === 'value' && entry.type === 'string') {\n\t convertedEntry.value = (0, _typeUtils.stringConvert)(entry.value);\n\t }\n\t\n\t if (type === 'string' && entry.type === 'value') {\n\t convertedEntry.value = entry.value + '';\n\t }\n\t\n\t if (type === 'object' && entry.type === 'array') {\n\t convertedEntry.props = entry.items.map(function (item, index) {\n\t return {\n\t name: index + '',\n\t value: item\n\t };\n\t });\n\t }\n\t\n\t if (type === 'array' && entry.type === 'object') {\n\t convertedEntry.items = entry.props.map(function (prop) {\n\t return prop.value;\n\t });\n\t }\n\t\n\t return convertedEntry;\n\t}\n\n/***/ },\n/* 5 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol ? \"symbol\" : typeof obj; };\n\t\n\texports.clone = clone;\n\texports.cloneDeep = cloneDeep;\n\texports.getIn = getIn;\n\texports.setIn = setIn;\n\texports.updateIn = updateIn;\n\texports.deleteIn = deleteIn;\n\t\n\tvar _typeUtils = __webpack_require__(6);\n\t\n\t// inspiration:\n\t//\n\t// https://www.npmjs.com/package/seamless-immutable\n\t// https://www.npmjs.com/package/ih\n\t// https://www.npmjs.com/package/mutatis\n\t\n\t// TODO: unit test clone\n\t\n\t/**\n\t * Flat clone the properties of an object or array\n\t * @param {Object | Array} value\n\t * @return {Object | Array} Returns a flat clone of the object or Array\n\t */\n\tfunction clone(value) {\n\t if (Array.isArray(value)) {\n\t return value.slice(0);\n\t } else if ((0, _typeUtils.isObject)(value)) {\n\t var _ret = function () {\n\t var cloned = {};\n\t\n\t Object.keys(value).forEach(function (key) {\n\t cloned[key] = value[key];\n\t });\n\t\n\t return {\n\t v: cloned\n\t };\n\t }();\n\t\n\t if ((typeof _ret === 'undefined' ? 'undefined' : _typeof(_ret)) === \"object\") return _ret.v;\n\t } else {\n\t // a primitive value\n\t return value;\n\t }\n\t}\n\t\n\t// TODO: test cloneDeep\n\t\n\t/**\n\t * Deep clone the properties of an object or array\n\t * @param {Object | Array} value\n\t * @return {Object | Array} Returns a deep clone of the object or Array\n\t */\n\tfunction cloneDeep(value) {\n\t if (Array.isArray(value)) {\n\t return value.map(cloneDeep);\n\t } else if ((0, _typeUtils.isObject)(value)) {\n\t var _ret2 = function () {\n\t var cloned = {};\n\t\n\t Object.keys(value).forEach(function (key) {\n\t cloned[key] = cloneDeep(value[key]);\n\t });\n\t\n\t return {\n\t v: cloned\n\t };\n\t }();\n\t\n\t if ((typeof _ret2 === 'undefined' ? 'undefined' : _typeof(_ret2)) === \"object\") return _ret2.v;\n\t } else {\n\t // a primitive value\n\t return value;\n\t }\n\t}\n\t\n\t// TODO: unit test getIn\n\t\n\t/**\n\t * helper function to get a nested property in an object or array\n\t *\n\t * @param {Object | Array} object\n\t * @param {Array.<string | number>} path\n\t * @return {* | undefined} Returns the field when found, or undefined when the\n\t * path doesn't exist\n\t */\n\tfunction getIn(object, path) {\n\t var value = object;\n\t var i = 0;\n\t\n\t while (i < path.length) {\n\t if (Array.isArray(value) || (0, _typeUtils.isObject)(value)) {\n\t value = value[path[i]];\n\t } else {\n\t value = undefined;\n\t }\n\t\n\t i++;\n\t }\n\t\n\t return value;\n\t}\n\t\n\t// TODO: unit test setIn\n\t\n\t/**\n\t * helper function to replace a nested property in an object with a new value\n\t * without mutating the object itself.\n\t *\n\t * @param {Object | Array} object\n\t * @param {Array.<string | number>} path\n\t * @param {*} value\n\t * @return {Object | Array} Returns a new, updated object or array\n\t */\n\tfunction setIn(object, path, value) {\n\t if (path.length === 0) {\n\t return value;\n\t }\n\t\n\t var key = path[0];\n\t var updated = void 0;\n\t if (typeof key === 'string' && !(0, _typeUtils.isObject)(object)) {\n\t updated = {}; // change into an object\n\t } else if (typeof key === 'number' && !Array.isArray(object)) {\n\t updated = []; // change into an array\n\t } else {\n\t updated = clone(object);\n\t }\n\t\n\t updated[key] = setIn(updated[key], path.slice(1), value);\n\t\n\t return updated;\n\t}\n\t\n\t// TODO: unit test updateIn\n\t\n\t/**\n\t * helper function to replace a nested property in an object with a new value\n\t * without mutating the object itself.\n\t *\n\t * @param {Object | Array} object\n\t * @param {Array.<string | number>} path\n\t * @param {function} callback\n\t * @return {Object | Array} Returns a new, updated object or array\n\t */\n\tfunction updateIn(object, path, callback) {\n\t if (path.length === 0) {\n\t return callback(object);\n\t }\n\t\n\t var key = path[0];\n\t var updated = void 0;\n\t if (typeof key === 'string' && !(0, _typeUtils.isObject)(object)) {\n\t updated = {}; // change into an object\n\t } else if (typeof key === 'number' && !Array.isArray(object)) {\n\t updated = []; // change into an array\n\t } else {\n\t updated = clone(object);\n\t }\n\t\n\t updated[key] = updateIn(updated[key], path.slice(1), callback);\n\t\n\t return updated;\n\t}\n\t\n\t// TODO: unit test deleteIn\n\t\n\t/**\n\t * helper function to delete a nested property in an object\n\t * without mutating the object itself.\n\t *\n\t * @param {Object | Array} object\n\t * @param {Array.<string | number>} path\n\t * @return {Object | Array} Returns a new, updated object or array\n\t */\n\tfunction deleteIn(object, path) {\n\t if (path.length === 0) {\n\t return object;\n\t }\n\t\n\t if (path.length === 1) {\n\t var _key = path[0];\n\t var updated = clone(object);\n\t if (Array.isArray(updated)) {\n\t updated.splice(_key, 1);\n\t } else {\n\t delete updated[_key];\n\t }\n\t\n\t return updated;\n\t }\n\t\n\t var key = path[0];\n\t var child = object[key];\n\t if (Array.isArray(child) || (0, _typeUtils.isObject)(child)) {\n\t var _updated = clone(object);\n\t _updated[key] = deleteIn(child, path.slice(1));\n\t return _updated;\n\t } else {\n\t // child property doesn't exist. just do nothing\n\t return object;\n\t }\n\t}\n\n/***/ },\n/* 6 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol ? \"symbol\" : typeof obj; };\n\t\n\texports.valueType = valueType;\n\texports.isObject = isObject;\n\texports.isUrl = isUrl;\n\texports.stringConvert = stringConvert;\n\t\n\t/**\n\t * Get the type of a value\n\t * @param {*} value\n\t * @return {String} type\n\t */\n\tfunction valueType(value) {\n\t if (value === null) {\n\t return 'null';\n\t }\n\t if (value === undefined) {\n\t return 'undefined';\n\t }\n\t if (typeof value === 'number') {\n\t return 'number';\n\t }\n\t if (typeof value === 'string') {\n\t return 'string';\n\t }\n\t if (typeof value === 'boolean') {\n\t return 'boolean';\n\t }\n\t if (value instanceof RegExp) {\n\t return 'regexp';\n\t }\n\t if (Array.isArray(value)) {\n\t return 'array';\n\t }\n\t\n\t return 'object';\n\t}\n\t\n\t/**\n\t * Test whether a value is an object (and not an Array or Date or primitive value)\n\t *\n\t * @param {*} value\n\t * @return {boolean}\n\t */\n\tfunction isObject(value) {\n\t return (typeof value === 'undefined' ? 'undefined' : _typeof(value)) === 'object' && value && // not null\n\t !Array.isArray(value) && value.toString() === '[object Object]';\n\t}\n\t\n\t/**\n\t * Test whether a text contains a url (matches when a string starts\n\t * with 'http://*' or 'https://*' and has no whitespace characters)\n\t * @param {String} text\n\t */\n\tvar isUrlRegex = /^https?:\\/\\/\\S+$/;\n\tfunction isUrl(text) {\n\t return typeof text === 'string' && isUrlRegex.test(text);\n\t}\n\t\n\t/**\n\t * Convert contents of a string to the correct JSON type. This can be a string,\n\t * a number, a boolean, etc\n\t * @param {String} str\n\t * @return {*} castedStr\n\t * @private\n\t */\n\tfunction stringConvert(str) {\n\t var num = Number(str); // will nicely fail with '123ab'\n\t var numFloat = parseFloat(str); // will nicely fail with ' '\n\t\n\t if (str == '') {\n\t return '';\n\t } else if (str == 'null') {\n\t return null;\n\t } else if (str == 'true') {\n\t return true;\n\t } else if (str == 'false') {\n\t return false;\n\t } else if (!isNaN(num) && !isNaN(numFloat)) {\n\t return num;\n\t } else {\n\t return str;\n\t }\n\t}\n\n/***/ },\n/* 7 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.last = last;\n\texports.compareAsc = compareAsc;\n\texports.compareDesc = compareDesc;\n\t/**\n\t * Returns the last item of an array\n\t * @param {Array} array\n\t * @return {*}\n\t */\n\tfunction last(array) {\n\t return array[array.length - 1];\n\t}\n\t\n\t/**\n\t * Comparator to sort an array in ascending order\n\t *\n\t * Usage:\n\t * [4,2,5].sort(compareAsc) // [2,4,5]\n\t *\n\t * @param a\n\t * @param b\n\t * @return {number}\n\t */\n\tfunction compareAsc(a, b) {\n\t return a > b ? 1 : a < b ? -1 : 0;\n\t}\n\t\n\t/**\n\t * Comparator to sort an array in ascending order\n\t *\n\t * Usage:\n\t * [4,2,5].sort(compareDesc) // [5,4,2]\n\t *\n\t * @param a\n\t * @param b\n\t * @return {number}\n\t */\n\tfunction compareDesc(a, b) {\n\t return a > b ? -1 : a < b ? 1 : 0;\n\t}\n\n/***/ },\n/* 8 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.default = bindMethods;\n\t/**\n\t * Helper function to bind all methods of a class instance to the instance\n\t *\n\t * Usage:\n\t *\n\t * import bindMethods from './bindMethods'\n\t *\n\t * class MyClass {\n\t * constructor () {\n\t * bindMethods(this)\n\t * }\n\t *\n\t * myMethod () {\n\t * // ...\n\t * }\n\t * }\n\t *\n\t * @param {Object} instance Instance of an ES6 class or prototype\n\t */\n\tfunction bindMethods(instance) {\n\t var prototype = Object.getPrototypeOf(instance);\n\t\n\t Object.getOwnPropertyNames(prototype).forEach(function (name) {\n\t if (typeof instance[name] === 'function') {\n\t instance[name] = instance[name].bind(instance);\n\t }\n\t });\n\t}\n\n/***/ },\n/* 9 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\tvar _preact = __webpack_require__(1);\n\t\n\tvar _ContextMenu = __webpack_require__(10);\n\t\n\tvar _ContextMenu2 = _interopRequireDefault(_ContextMenu);\n\t\n\tvar _stringUtils = __webpack_require__(11);\n\t\n\tvar _arrayUtils = __webpack_require__(7);\n\t\n\tvar _domUtils = __webpack_require__(13);\n\t\n\tvar _typeUtils = __webpack_require__(6);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\t// TYPE_TITLES with explanation for the different types\n\tvar TYPE_TITLES = {\n\t 'value': 'Item type \"value\". ' + 'The item type is automatically determined from the value ' + 'and can be a string, number, boolean, or null.',\n\t 'object': 'Item type \"object\". ' + 'An object contains an unordered set of key/value pairs.',\n\t 'array': 'Item type \"array\". ' + 'An array contains an ordered collection of values.',\n\t 'string': 'Item type \"string\". ' + 'Item type is not determined from the value, ' + 'but always returned as string.'\n\t};\n\t\n\t/**\n\t * @type {JSONNode | null} activeContextMenu singleton holding the JSONNode having\n\t * the active (visible) context menu\n\t */\n\tvar activeContextMenu = null;\n\t\n\tvar JSONNode = function (_Component) {\n\t _inherits(JSONNode, _Component);\n\t\n\t // TODO: define propTypes\n\t\n\t function JSONNode(props) {\n\t _classCallCheck(this, JSONNode);\n\t\n\t var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(JSONNode).call(this, props));\n\t\n\t _this.state = {\n\t menu: null, // context menu\n\t appendMenu: null };\n\t\n\t // TODO: use function bindMethods(this). Gives issues for some reason, we lose focus whilst typing\n\t _this.handleChangeProperty = _this.handleChangeProperty.bind(_this);\n\t _this.handleChangeValue = _this.handleChangeValue.bind(_this);\n\t _this.handleClickValue = _this.handleClickValue.bind(_this);\n\t _this.handleKeyDownValue = _this.handleKeyDownValue.bind(_this);\n\t _this.handleExpand = _this.handleExpand.bind(_this);\n\t _this.handleContextMenu = _this.handleContextMenu.bind(_this);\n\t _this.handleAppendContextMenu = _this.handleAppendContextMenu.bind(_this);\n\t return _this;\n\t }\n\t\n\t _createClass(JSONNode, [{\n\t key: 'render',\n\t value: function render(props) {\n\t if (props.data.type === 'array') {\n\t return this.renderJSONArray(props);\n\t } else if (props.data.type === 'object') {\n\t return this.renderJSONObject(props);\n\t } else {\n\t return this.renderJSONValue(props);\n\t }\n\t }\n\t }, {\n\t key: 'renderJSONObject',\n\t value: function renderJSONObject(_ref) {\n\t var _this2 = this;\n\t\n\t var prop = _ref.prop;\n\t var data = _ref.data;\n\t var options = _ref.options;\n\t var events = _ref.events;\n\t\n\t var childCount = data.props.length;\n\t var contents = [(0, _preact.h)('div', { class: 'jsoneditor-node jsoneditor-object' }, [this.renderExpandButton(), this.renderContextMenuButton(), this.renderProperty(prop, data, options), this.renderReadonly('{' + childCount + '}', 'Array containing ' + childCount + ' items')])];\n\t\n\t if (data.expanded) {\n\t var props = data.props.map(function (prop) {\n\t return (0, _preact.h)(JSONNode, {\n\t parent: _this2,\n\t prop: prop.name,\n\t data: prop.value,\n\t options: options,\n\t events: events\n\t });\n\t });\n\t\n\t if (props.length === 0) {\n\t props.push(this.renderAppend('(empty object)'));\n\t }\n\t\n\t contents.push((0, _preact.h)('ul', { class: 'jsoneditor-list' }, props));\n\t }\n\t\n\t return (0, _preact.h)('li', {}, contents);\n\t }\n\t }, {\n\t key: 'renderJSONArray',\n\t value: function renderJSONArray(_ref2) {\n\t var _this3 = this;\n\t\n\t var prop = _ref2.prop;\n\t var data = _ref2.data;\n\t var options = _ref2.options;\n\t var events = _ref2.events;\n\t\n\t var childCount = data.items.length;\n\t var contents = [(0, _preact.h)('div', { class: 'jsoneditor-node jsoneditor-array' }, [this.renderExpandButton(), this.renderContextMenuButton(), this.renderProperty(prop, data, options), this.renderReadonly('[' + childCount + ']', 'Array containing ' + childCount + ' items')])];\n\t\n\t if (data.expanded) {\n\t var items = data.items.map(function (child, index) {\n\t return (0, _preact.h)(JSONNode, {\n\t parent: _this3,\n\t prop: index,\n\t data: child,\n\t options: options,\n\t events: events\n\t });\n\t });\n\t\n\t if (items.length === 0) {\n\t items.push(this.renderAppend('(empty array)'));\n\t }\n\t\n\t contents.push((0, _preact.h)('ul', { class: 'jsoneditor-list' }, items));\n\t }\n\t\n\t return (0, _preact.h)('li', {}, contents);\n\t }\n\t }, {\n\t key: 'renderJSONValue',\n\t value: function renderJSONValue(_ref3) {\n\t var prop = _ref3.prop;\n\t var data = _ref3.data;\n\t var options = _ref3.options;\n\t\n\t return (0, _preact.h)('li', {}, [(0, _preact.h)('div', { class: 'jsoneditor-node' }, [this.renderPlaceholder(), this.renderContextMenuButton(), this.renderProperty(prop, data, options), this.renderSeparator(), this.renderValue(data.value)])]);\n\t }\n\t\n\t /**\n\t * Render contents for an empty object or array\n\t * @param {string} text\n\t * @return {*}\n\t */\n\t\n\t }, {\n\t key: 'renderAppend',\n\t value: function renderAppend(text) {\n\t return (0, _preact.h)('li', {}, [(0, _preact.h)('div', { class: 'jsoneditor-node' }, [this.renderPlaceholder(), this.renderAppendContextMenuButton(), this.renderReadonly(text)])]);\n\t }\n\t }, {\n\t key: 'renderPlaceholder',\n\t value: function renderPlaceholder() {\n\t return (0, _preact.h)('div', { class: 'jsoneditor-button-placeholder' });\n\t }\n\t }, {\n\t key: 'renderReadonly',\n\t value: function renderReadonly(text) {\n\t var title = arguments.length <= 1 || arguments[1] === undefined ? null : arguments[1];\n\t\n\t return (0, _preact.h)('div', { class: 'jsoneditor-readonly', title: title }, text);\n\t }\n\t }, {\n\t key: 'renderProperty',\n\t value: function renderProperty(prop, data, options) {\n\t if (prop !== null) {\n\t var isIndex = typeof prop === 'number';\n\t\n\t if (isIndex) {\n\t // array item\n\t return (0, _preact.h)('div', {\n\t class: 'jsoneditor-property jsoneditor-readonly',\n\t spellCheck: 'false'\n\t }, prop);\n\t } else {\n\t // object property\n\t return (0, _preact.h)('div', {\n\t class: 'jsoneditor-property',\n\t contentEditable: 'true',\n\t spellCheck: 'false',\n\t onInput: this.handleChangeProperty\n\t }, prop);\n\t }\n\t } else {\n\t // root node\n\t var content = JSONNode._rootName(data, options);\n\t\n\t return (0, _preact.h)('div', {\n\t class: 'jsoneditor-property jsoneditor-readonly',\n\t spellCheck: 'false',\n\t onInput: this.handleChangeProperty\n\t }, content);\n\t }\n\t }\n\t }, {\n\t key: 'renderSeparator',\n\t value: function renderSeparator() {\n\t return (0, _preact.h)('div', { class: 'jsoneditor-separator' }, ':');\n\t }\n\t }, {\n\t key: 'renderValue',\n\t value: function renderValue(value) {\n\t var type = (0, _typeUtils.valueType)(value);\n\t var _isUrl = (0, _typeUtils.isUrl)(value);\n\t var valueClass = 'jsoneditor-value jsoneditor-' + type + (_isUrl ? ' jsoneditor-url' : '');\n\t\n\t return (0, _preact.h)('div', {\n\t class: valueClass,\n\t contentEditable: 'true',\n\t spellCheck: 'false',\n\t onInput: this.handleChangeValue,\n\t onClick: this.handleClickValue,\n\t onKeyDown: this.handleKeyDownValue,\n\t title: _isUrl ? 'Ctrl+Click or ctrl+Enter to open url' : null\n\t }, (0, _stringUtils.escapeHTML)(value));\n\t }\n\t }, {\n\t key: 'renderExpandButton',\n\t value: function renderExpandButton() {\n\t var className = 'jsoneditor-button jsoneditor-' + (this.props.data.expanded ? 'expanded' : 'collapsed');\n\t return (0, _preact.h)('div', { class: 'jsoneditor-button-container' }, (0, _preact.h)('button', { class: className, onClick: this.handleExpand }));\n\t }\n\t }, {\n\t key: 'renderContextMenuButton',\n\t value: function renderContextMenuButton() {\n\t var className = 'jsoneditor-button jsoneditor-contextmenu' + (this.state.menu ? ' jsoneditor-visible' : '');\n\t\n\t return (0, _preact.h)('div', { class: 'jsoneditor-button-container' }, [this.renderContextMenu(this.state.menu), (0, _preact.h)('button', { class: className, onClick: this.handleContextMenu })]);\n\t }\n\t }, {\n\t key: 'renderAppendContextMenuButton',\n\t value: function renderAppendContextMenuButton() {\n\t var className = 'jsoneditor-button jsoneditor-contextmenu' + (this.state.appendMenu ? ' jsoneditor-visible' : '');\n\t\n\t return (0, _preact.h)('div', { class: 'jsoneditor-button-container' }, [this.renderAppendContextMenu(), (0, _preact.h)('button', { class: className, onClick: this.handleAppendContextMenu })]);\n\t }\n\t }, {\n\t key: 'renderContextMenu',\n\t value: function renderContextMenu() {\n\t var _this4 = this;\n\t\n\t if (!this.state.menu) {\n\t return null;\n\t }\n\t\n\t var _state$menu = this.state.menu;\n\t var anchor = _state$menu.anchor;\n\t var root = _state$menu.root;\n\t\n\t var path = this.getPath();\n\t var hasParent = this.props.parent !== null;\n\t var type = this.props.data.type;\n\t var events = this.props.events;\n\t var items = []; // array with menu items\n\t\n\t items.push({\n\t text: 'Type',\n\t title: 'Change the type of this field',\n\t className: 'jsoneditor-type-' + type,\n\t submenu: [{\n\t text: 'Value',\n\t className: 'jsoneditor-type-value' + (type == 'value' ? ' jsoneditor-selected' : ''),\n\t title: TYPE_TITLES.value,\n\t click: function click() {\n\t return events.onChangeType(path, 'value');\n\t }\n\t }, {\n\t text: 'Array',\n\t className: 'jsoneditor-type-array' + (type == 'array' ? ' jsoneditor-selected' : ''),\n\t title: TYPE_TITLES.array,\n\t click: function click() {\n\t return events.onChangeType(path, 'array');\n\t }\n\t }, {\n\t text: 'Object',\n\t className: 'jsoneditor-type-object' + (type == 'object' ? ' jsoneditor-selected' : ''),\n\t title: TYPE_TITLES.object,\n\t click: function click() {\n\t return events.onChangeType(path, 'object');\n\t }\n\t }, {\n\t text: 'String',\n\t className: 'jsoneditor-type-string' + (type == 'string' ? ' jsoneditor-selected' : ''),\n\t title: TYPE_TITLES.string,\n\t click: function click() {\n\t return events.onChangeType(path, 'string');\n\t }\n\t }]\n\t });\n\t\n\t if (type === 'array' || type === 'object') {\n\t var direction = this.sortOrder == 'asc' ? 'desc' : 'asc';\n\t items.push({\n\t text: 'Sort',\n\t title: 'Sort the childs of this ' + TYPE_TITLES.type,\n\t className: 'jsoneditor-sort-' + direction,\n\t click: function click() {\n\t return events.onSort(path);\n\t },\n\t submenu: [{\n\t text: 'Ascending',\n\t className: 'jsoneditor-sort-asc',\n\t title: 'Sort the childs of this ' + TYPE_TITLES.type + ' in ascending order',\n\t click: function click() {\n\t return events.onSort(path, 'asc');\n\t }\n\t }, {\n\t text: 'Descending',\n\t className: 'jsoneditor-sort-desc',\n\t title: 'Sort the childs of this ' + TYPE_TITLES.type + ' in descending order',\n\t click: function click() {\n\t return events.onSort(path, 'desc');\n\t }\n\t }]\n\t });\n\t }\n\t\n\t if (hasParent) {\n\t (function () {\n\t var parentPath = _this4.props.parent.getPath();\n\t var prop = _this4.props.prop;\n\t\n\t if (items.length) {\n\t // create a separator\n\t items.push({\n\t 'type': 'separator'\n\t });\n\t }\n\t\n\t // create insert button\n\t items.push({\n\t text: 'Insert',\n\t title: 'Insert a new item with type \\'value\\' after this item (Ctrl+Ins)',\n\t submenuTitle: 'Select the type of the item to be inserted',\n\t className: 'jsoneditor-insert',\n\t click: function click() {\n\t return events.onInsert(parentPath, prop, 'value');\n\t },\n\t submenu: [{\n\t text: 'Value',\n\t className: 'jsoneditor-type-value',\n\t title: TYPE_TITLES.value,\n\t click: function click() {\n\t return events.onInsert(parentPath, prop, 'value');\n\t }\n\t }, {\n\t text: 'Array',\n\t className: 'jsoneditor-type-array',\n\t title: TYPE_TITLES.array,\n\t click: function click() {\n\t return events.onInsert(parentPath, prop, 'array');\n\t }\n\t }, {\n\t text: 'Object',\n\t className: 'jsoneditor-type-object',\n\t title: TYPE_TITLES.object,\n\t click: function click() {\n\t return events.onInsert(parentPath, prop, 'object');\n\t }\n\t }, {\n\t text: 'String',\n\t className: 'jsoneditor-type-string',\n\t title: TYPE_TITLES.string,\n\t click: function click() {\n\t return events.onInsert(parentPath, prop, 'string');\n\t }\n\t }]\n\t });\n\t\n\t // create duplicate button\n\t items.push({\n\t text: 'Duplicate',\n\t title: 'Duplicate this item (Ctrl+D)',\n\t className: 'jsoneditor-duplicate',\n\t click: function click() {\n\t return events.onDuplicate(parentPath, prop);\n\t }\n\t });\n\t\n\t // create remove button\n\t items.push({\n\t text: 'Remove',\n\t title: 'Remove this item (Ctrl+Del)',\n\t className: 'jsoneditor-remove',\n\t click: function click() {\n\t return events.onRemove(parentPath, prop);\n\t }\n\t });\n\t })();\n\t }\n\t\n\t // TODO: implement a hook to adjust the context menu\n\t\n\t return (0, _preact.h)(_ContextMenu2.default, { anchor: anchor, root: root, items: items });\n\t }\n\t }, {\n\t key: 'renderAppendContextMenu',\n\t value: function renderAppendContextMenu() {\n\t if (!this.state.appendMenu) {\n\t return null;\n\t }\n\t\n\t var _state$appendMenu = this.state.appendMenu;\n\t var anchor = _state$appendMenu.anchor;\n\t var root = _state$appendMenu.root;\n\t\n\t var path = this.getPath();\n\t var events = this.props.events;\n\t var items = []; // array with menu items\n\t\n\t // create insert button\n\t items.push({\n\t text: 'Insert',\n\t title: 'Insert a new item with type \\'value\\' after this item (Ctrl+Ins)',\n\t submenuTitle: 'Select the type of the item to be inserted',\n\t className: 'jsoneditor-insert',\n\t click: function click() {\n\t return events.onAppend(path, 'value');\n\t },\n\t submenu: [{\n\t text: 'Value',\n\t className: 'jsoneditor-type-value',\n\t title: TYPE_TITLES.value,\n\t click: function click() {\n\t return events.onAppend(path, 'value');\n\t }\n\t }, {\n\t text: 'Array',\n\t className: 'jsoneditor-type-array',\n\t title: TYPE_TITLES.array,\n\t click: function click() {\n\t return events.onAppend(path, 'array');\n\t }\n\t }, {\n\t text: 'Object',\n\t className: 'jsoneditor-type-object',\n\t title: TYPE_TITLES.object,\n\t click: function click() {\n\t return events.onAppend(path, 'object');\n\t }\n\t }, {\n\t text: 'String',\n\t className: 'jsoneditor-type-string',\n\t title: TYPE_TITLES.string,\n\t click: function click() {\n\t return events.onAppend(path, 'string');\n\t }\n\t }]\n\t });\n\t\n\t // TODO: implement a hook to adjust the context menu\n\t\n\t return (0, _preact.h)(_ContextMenu2.default, { anchor: anchor, root: root, items: items });\n\t }\n\t }, {\n\t key: 'shouldComponentUpdate',\n\t value: function shouldComponentUpdate(nextProps, nextState) {\n\t var prop = void 0;\n\t\n\t for (prop in nextProps) {\n\t if (nextProps.hasOwnProperty(prop) && this.props[prop] !== nextProps[prop]) {\n\t return true;\n\t }\n\t }\n\t\n\t for (prop in nextState) {\n\t if (nextState.hasOwnProperty(prop) && this.state[prop] !== nextState[prop]) {\n\t return true;\n\t }\n\t }\n\t\n\t return false;\n\t }\n\t }, {\n\t key: 'handleChangeProperty',\n\t value: function handleChangeProperty(event) {\n\t var parentPath = this.props.parent.getPath();\n\t var oldProp = this.props.prop;\n\t var newProp = (0, _stringUtils.unescapeHTML)((0, _domUtils.getInnerText)(event.target));\n\t\n\t this.props.events.onChangeProperty(parentPath, oldProp, newProp);\n\t }\n\t }, {\n\t key: 'handleChangeValue',\n\t value: function handleChangeValue(event) {\n\t var value = this._getValueFromEvent(event);\n\t\n\t this.props.events.onChangeValue(this.getPath(), value);\n\t }\n\t }, {\n\t key: 'handleClickValue',\n\t value: function handleClickValue(event) {\n\t if (event.ctrlKey && event.button === 0) {\n\t // Ctrl+Left click\n\t this._openLinkIfUrl(event);\n\t }\n\t }\n\t }, {\n\t key: 'handleKeyDownValue',\n\t value: function handleKeyDownValue(event) {\n\t if (event.ctrlKey && event.which === 13) {\n\t // Ctrl+Enter\n\t this._openLinkIfUrl(event);\n\t }\n\t }\n\t }, {\n\t key: 'handleExpand',\n\t value: function handleExpand(event) {\n\t this.props.events.onExpand(this.getPath(), !this.props.data.expanded);\n\t }\n\t }, {\n\t key: 'handleContextMenu',\n\t value: function handleContextMenu(event) {\n\t event.stopPropagation();\n\t\n\t if (this.state.menu) {\n\t // hide context menu\n\t JSONNode.hideContextMenu();\n\t } else {\n\t // hide any currently visible context menu\n\t JSONNode.hideContextMenu();\n\t\n\t // show context menu\n\t this.setState({\n\t menu: {\n\t anchor: event.target,\n\t root: JSONNode._findRootElement(event)\n\t }\n\t });\n\t activeContextMenu = this;\n\t }\n\t }\n\t }, {\n\t key: 'handleAppendContextMenu',\n\t value: function handleAppendContextMenu(event) {\n\t event.stopPropagation();\n\t\n\t if (this.state.appendMenu) {\n\t // hide append context menu\n\t JSONNode.hideContextMenu();\n\t } else {\n\t // hide any currently visible context menu\n\t JSONNode.hideContextMenu();\n\t\n\t // show append context menu\n\t this.setState({\n\t appendMenu: {\n\t anchor: event.target,\n\t root: JSONNode._findRootElement(event)\n\t }\n\t });\n\t activeContextMenu = this;\n\t }\n\t }\n\t\n\t /**\n\t * Singleton function to hide the currently visible context menu if any.\n\t */\n\t\n\t }, {\n\t key: '_openLinkIfUrl',\n\t\n\t\n\t /**\n\t * When this JSONNode holds an URL as value, open this URL in a new browser tab\n\t * @param event\n\t * @private\n\t */\n\t value: function _openLinkIfUrl(event) {\n\t var value = this._getValueFromEvent(event);\n\t\n\t if ((0, _typeUtils.isUrl)(value)) {\n\t event.preventDefault();\n\t event.stopPropagation();\n\t\n\t window.open(value, '_blank');\n\t }\n\t }\n\t\n\t /**\n\t * Get the path of this JSONNode\n\t * @return {Array.<string | number>}\n\t */\n\t\n\t }, {\n\t key: 'getPath',\n\t value: function getPath() {\n\t var path = this.props.parent ? this.props.parent.getPath() : [];\n\t\n\t if (this.props.prop !== null) {\n\t path.push(this.props.prop);\n\t }\n\t\n\t return path;\n\t }\n\t\n\t /**\n\t * Get the value of the target of an event, and convert it to it's type\n\t * @param event\n\t * @return {string | number | boolean | null}\n\t * @private\n\t */\n\t\n\t }, {\n\t key: '_getValueFromEvent',\n\t value: function _getValueFromEvent(event) {\n\t var stringValue = (0, _stringUtils.unescapeHTML)((0, _domUtils.getInnerText)(event.target));\n\t return this.props.data.type === 'string' ? stringValue : (0, _typeUtils.stringConvert)(stringValue);\n\t }\n\t\n\t /**\n\t * Find the root DOM element of the JSONEditor\n\t * Search is done based on the CSS class 'jsoneditor'\n\t * @param event\n\t * @return {*}\n\t * @private\n\t */\n\t\n\t }], [{\n\t key: '_rootName',\n\t value: function _rootName(data, options) {\n\t return typeof options.name === 'string' ? options.name : data.type === 'object' || data.type === 'array' ? data.type : (0, _typeUtils.valueType)(data.value);\n\t }\n\t }, {\n\t key: 'hideContextMenu',\n\t value: function hideContextMenu() {\n\t if (activeContextMenu) {\n\t activeContextMenu.setState({\n\t menu: null,\n\t appendMenu: null\n\t });\n\t activeContextMenu = null;\n\t }\n\t }\n\t }, {\n\t key: '_findRootElement',\n\t value: function _findRootElement(event) {\n\t function isEditorElement(elem) {\n\t return elem.className.split(' ').indexOf('jsoneditor') !== -1;\n\t }\n\t\n\t var elem = event.target;\n\t while (elem) {\n\t if (isEditorElement(elem)) {\n\t return elem;\n\t }\n\t\n\t elem = elem.parentNode;\n\t }\n\t\n\t return null;\n\t }\n\t }]);\n\t\n\t return JSONNode;\n\t}(_preact.Component);\n\t\n\texports.default = JSONNode;\n\n/***/ },\n/* 10 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.CONTEXT_MENU_HEIGHT = undefined;\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\tvar _preact = __webpack_require__(1);\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar CONTEXT_MENU_HEIGHT = exports.CONTEXT_MENU_HEIGHT = 240;\n\t\n\tvar ContextMenu = function (_Component) {\n\t _inherits(ContextMenu, _Component);\n\t\n\t function ContextMenu(props) {\n\t _classCallCheck(this, ContextMenu);\n\t\n\t // determine orientation\n\t var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(ContextMenu).call(this, props));\n\t\n\t var anchorRect = _this.props.anchor.getBoundingClientRect();\n\t var rootRect = _this.props.root.getBoundingClientRect();\n\t var orientation = rootRect.bottom - anchorRect.bottom < CONTEXT_MENU_HEIGHT && anchorRect.top - rootRect.top > CONTEXT_MENU_HEIGHT ? 'top' : 'bottom';\n\t\n\t _this.state = {\n\t orientation: orientation,\n\t expanded: null, // menu index of expanded menu item\n\t expanding: null, // menu index of expanding menu item\n\t collapsing: null // menu index of collapsing menu item\n\t };\n\t\n\t _this.renderMenuItem = _this.renderMenuItem.bind(_this);\n\t return _this;\n\t }\n\t\n\t _createClass(ContextMenu, [{\n\t key: 'render',\n\t value: function render() {\n\t if (!this.props.items) {\n\t return null;\n\t }\n\t\n\t // TODO: create a non-visible button to set the focus to the menu\n\t // TODO: implement (customizable) quick keys\n\t\n\t var className = 'jsoneditor-contextmenu ' + (this.state.orientation === 'top' ? 'jsoneditor-contextmenu-top' : 'jsoneditor-contextmenu-bottom');\n\t\n\t return (0, _preact.h)('div', { class: className }, this.props.items.map(this.renderMenuItem));\n\t }\n\t }, {\n\t key: 'renderMenuItem',\n\t value: function renderMenuItem(item, index) {\n\t if (item.type === 'separator') {\n\t return (0, _preact.h)('div', { class: 'jsoneditor-menu-separator' });\n\t }\n\t\n\t if (item.click && item.submenu) {\n\t // two buttons: direct click and a small button to expand the submenu\n\t return (0, _preact.h)('div', { class: 'jsoneditor-menu-item' }, [(0, _preact.h)('button', { class: 'jsoneditor-menu-button jsoneditor-menu-default ' + item.className, title: item.title, onClick: item.click }, [(0, _preact.h)('span', { class: 'jsoneditor-icon' }), (0, _preact.h)('span', { class: 'jsoneditor-text' }, item.text)]), (0, _preact.h)('button', { class: 'jsoneditor-menu-button jsoneditor-menu-expand', onClick: this.createExpandHandler(index) }, [(0, _preact.h)('span', { class: 'jsoneditor-icon jsoneditor-icon-expand' })]), this.renderSubMenu(item.submenu, index)]);\n\t } else if (item.submenu) {\n\t // button expands the submenu\n\t return (0, _preact.h)('div', { class: 'jsoneditor-menu-item' }, [(0, _preact.h)('button', { class: 'jsoneditor-menu-button ' + item.className, title: item.title, onClick: this.createExpandHandler(index) }, [(0, _preact.h)('span', { class: 'jsoneditor-icon' }), (0, _preact.h)('span', { class: 'jsoneditor-text' }, item.text), (0, _preact.h)('span', { class: 'jsoneditor-icon jsoneditor-icon-expand' })]), this.renderSubMenu(item.submenu, index)]);\n\t } else {\n\t // just a button (no submenu)\n\t return (0, _preact.h)('div', { class: 'jsoneditor-menu-item' }, [(0, _preact.h)('button', { class: 'jsoneditor-menu-button ' + item.className, title: item.title, onClick: item.click }, [(0, _preact.h)('span', { class: 'jsoneditor-icon' }), (0, _preact.h)('span', { class: 'jsoneditor-text' }, item.text)])]);\n\t }\n\t }\n\t\n\t /**\n\t * @param {Array} submenu\n\t * @param {number} index\n\t */\n\t\n\t }, {\n\t key: 'renderSubMenu',\n\t value: function renderSubMenu(submenu, index) {\n\t var expanded = this.state.expanded === index;\n\t var collapsing = this.state.collapsing === index;\n\t\n\t var contents = submenu.map(function (item) {\n\t return (0, _preact.h)('div', { class: 'jsoneditor-menu-item' }, [(0, _preact.h)('button', { class: 'jsoneditor-menu-button ' + item.className, title: item.title, onClick: item.click }, [(0, _preact.h)('span', { class: 'jsoneditor-icon' }), (0, _preact.h)('span', { class: 'jsoneditor-text' }, item.text)])]);\n\t });\n\t\n\t var className = 'jsoneditor-submenu ' + (expanded ? ' jsoneditor-expanded' : '') + (collapsing ? ' jsoneditor-collapsing' : '');\n\t\n\t return (0, _preact.h)('div', { class: className }, contents);\n\t }\n\t }, {\n\t key: 'createExpandHandler',\n\t value: function createExpandHandler(index) {\n\t var _this2 = this;\n\t\n\t return function (event) {\n\t event.stopPropagation();\n\t\n\t var prev = _this2.state.expanded;\n\t\n\t _this2.setState({\n\t expanded: prev === index ? null : index,\n\t collapsing: prev\n\t });\n\t\n\t // timeout after unit is collapsed\n\t setTimeout(function () {\n\t if (prev === _this2.state.collapsing) {\n\t _this2.setState({\n\t collapsing: null\n\t });\n\t }\n\t }, 300);\n\t };\n\t }\n\t }]);\n\t\n\t return ContextMenu;\n\t}(_preact.Component);\n\t\n\texports.default = ContextMenu;\n\n/***/ },\n/* 11 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.escapeHTML = escapeHTML;\n\texports.unescapeHTML = unescapeHTML;\n\texports.escapeJSON = escapeJSON;\n\t\n\tvar _jsonUtils = __webpack_require__(12);\n\t\n\t/**\n\t * escape a text, such that it can be displayed safely in an HTML element\n\t * @param {String} text\n\t * @param {boolean} [escapeUnicode=false]\n\t * @return {String} escapedText\n\t */\n\tfunction escapeHTML(text) {\n\t var escapeUnicode = arguments.length <= 1 || arguments[1] === undefined ? false : arguments[1];\n\t\n\t if (typeof text !== 'string') {\n\t return String(text);\n\t } else {\n\t var htmlEscaped = String(text).replace(/ /g, ' ') // replace double space with an nbsp and space\n\t .replace(/^ /, ' ') // space at start\n\t .replace(/ $/, ' '); // space at end\n\t\n\t var json = JSON.stringify(htmlEscaped);\n\t var html = json.substring(1, json.length - 1);\n\t if (escapeUnicode === true) {\n\t html = escapeUnicodeChars(html);\n\t }\n\t return html;\n\t }\n\t}\n\t\n\t/**\n\t * Escape unicode characters.\n\t * For example input '\\u2661' (length 1) will output '\\\\u2661' (length 5).\n\t * @param {string} text\n\t * @return {string}\n\t */\n\tfunction escapeUnicodeChars(text) {\n\t // see https://www.wikiwand.com/en/UTF-16\n\t // note: we leave surrogate pairs as two individual chars,\n\t // as JSON doesn't interpret them as a single unicode char.\n\t return text.replace(/[\\u007F-\\uFFFF]/g, function (c) {\n\t return '\\\\u' + ('0000' + c.charCodeAt(0).toString(16)).slice(-4);\n\t });\n\t}\n\t\n\t/**\n\t * unescape a string.\n\t * @param {String} escapedText\n\t * @return {String} text\n\t */\n\tfunction unescapeHTML(escapedText) {\n\t var json = '\"' + escapeJSON(escapedText) + '\"';\n\t var htmlEscaped = (0, _jsonUtils.parseJSON)(json);\n\t\n\t return htmlEscaped.replace(/\\u00A0/g, ' '); // nbsp character\n\t}\n\t\n\t/**\n\t * escape a text to make it a valid JSON string. The method will:\n\t * - replace unescaped double quotes with '\\\"'\n\t * - replace unescaped backslash with '\\\\'\n\t * - replace returns with '\\n'\n\t * @param {String} text\n\t * @return {String} escapedText\n\t * @private\n\t */\n\tfunction escapeJSON(text) {\n\t // TODO: replace with some smart regex (only when a new solution is faster!)\n\t var escaped = '';\n\t var i = 0;\n\t while (i < text.length) {\n\t var c = text.charAt(i);\n\t if (c == '\\n') {\n\t escaped += '\\\\n';\n\t } else if (c == '\\\\') {\n\t escaped += c;\n\t i++;\n\t\n\t c = text.charAt(i);\n\t if (c === '' || '\"\\\\/bfnrtu'.indexOf(c) == -1) {\n\t escaped += '\\\\'; // no valid escape character\n\t }\n\t escaped += c;\n\t } else if (c == '\"') {\n\t escaped += '\\\\\"';\n\t } else {\n\t escaped += c;\n\t }\n\t i++;\n\t }\n\t\n\t return escaped;\n\t}\n\n/***/ },\n/* 12 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.parseJSON = parseJSON;\n\texports.validate = validate;\n\t/**\n\t * Parse JSON using the parser built-in in the browser.\n\t * On exception, the jsonString is validated and a detailed error is thrown.\n\t * @param {String} jsonString\n\t * @return {JSON} json\n\t */\n\tfunction parseJSON(jsonString) {\n\t try {\n\t return JSON.parse(jsonString);\n\t } catch (err) {\n\t // try to throw a more detailed error message using validate\n\t validate(jsonString);\n\t\n\t // rethrow the original error\n\t throw err;\n\t }\n\t}\n\t\n\t/**\n\t * Validate a string containing a JSON object\n\t * This method uses JSONLint to validate the String. If JSONLint is not\n\t * available, the built-in JSON parser of the browser is used.\n\t * @param {String} jsonString String with an (invalid) JSON object\n\t * @throws Error\n\t */\n\tfunction validate(jsonString) {\n\t if (typeof window.jsonlint !== 'undefined') {\n\t window.jsonlint.parse(jsonString);\n\t } else {\n\t JSON.parse(jsonString);\n\t }\n\t}\n\n/***/ },\n/* 13 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.getInnerText = getInnerText;\n\texports.getInternetExplorerVersion = getInternetExplorerVersion;\n\t/**\n\t * Get the inner text of an HTML element (for example a div element)\n\t * @param {Element} element\n\t * @param {Object} [buffer]\n\t * @return {String} innerText\n\t */\n\tfunction getInnerText(element, buffer) {\n\t var first = buffer == undefined;\n\t if (first) {\n\t buffer = {\n\t 'text': '',\n\t 'flush': function flush() {\n\t var text = this.text;\n\t this.text = '';\n\t return text;\n\t },\n\t 'set': function set(text) {\n\t this.text = text;\n\t }\n\t };\n\t }\n\t\n\t // text node\n\t if (element.nodeValue) {\n\t return buffer.flush() + element.nodeValue;\n\t }\n\t\n\t // divs or other HTML elements\n\t if (element.hasChildNodes()) {\n\t var childNodes = element.childNodes;\n\t var innerText = '';\n\t\n\t for (var i = 0, iMax = childNodes.length; i < iMax; i++) {\n\t var child = childNodes[i];\n\t\n\t if (child.nodeName == 'DIV' || child.nodeName == 'P') {\n\t var prevChild = childNodes[i - 1];\n\t var prevName = prevChild ? prevChild.nodeName : undefined;\n\t if (prevName && prevName != 'DIV' && prevName != 'P' && prevName != 'BR') {\n\t innerText += '\\n';\n\t buffer.flush();\n\t }\n\t innerText += getInnerText(child, buffer);\n\t buffer.set('\\n');\n\t } else if (child.nodeName == 'BR') {\n\t innerText += buffer.flush();\n\t buffer.set('\\n');\n\t } else {\n\t innerText += getInnerText(child, buffer);\n\t }\n\t }\n\t\n\t return innerText;\n\t } else {\n\t if (element.nodeName == 'P' && getInternetExplorerVersion() != -1) {\n\t // On Internet Explorer, a <p> with hasChildNodes()==false is\n\t // rendered with a new line. Note that a <p> with\n\t // hasChildNodes()==true is rendered without a new line\n\t // Other browsers always ensure there is a <br> inside the <p>,\n\t // and if not, the <p> does not render a new line\n\t return buffer.flush();\n\t }\n\t }\n\t\n\t // br or unknown\n\t return '';\n\t}\n\t\n\t/**\n\t * Returns the version of Internet Explorer or a -1\n\t * (indicating the use of another browser).\n\t * Source: http://msdn.microsoft.com/en-us/library/ms537509(v=vs.85).aspx\n\t * @return {Number} Internet Explorer version, or -1 in case of an other browser\n\t */\n\tfunction getInternetExplorerVersion() {\n\t if (_ieVersion == -1) {\n\t var rv = -1; // Return value assumes failure.\n\t if (navigator.appName == 'Microsoft Internet Explorer') {\n\t var ua = navigator.userAgent;\n\t var re = new RegExp(\"MSIE ([0-9]{1,}[\\.0-9]{0,})\");\n\t if (re.exec(ua) != null) {\n\t rv = parseFloat(RegExp.$1);\n\t }\n\t }\n\t\n\t _ieVersion = rv;\n\t }\n\t\n\t return _ieVersion;\n\t}\n\t\n\t/**\n\t * cached internet explorer version\n\t * @type {Number}\n\t * @private\n\t */\n\tvar _ieVersion = -1;\n\n/***/ },\n/* 14 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// style-loader: Adds some css to the DOM by adding a <style> tag\n\t\n\t// load the styles\n\tvar content = __webpack_require__(15);\n\tif(typeof content === 'string') content = [[module.id, content, '']];\n\t// add the styles to the DOM\n\tvar update = __webpack_require__(18)(content, {});\n\tif(content.locals) module.exports = content.locals;\n\t// Hot Module Replacement\n\tif(false) {\n\t\t// When the styles change, update the <style> tags\n\t\tif(!content.locals) {\n\t\t\tmodule.hot.accept(\"!!./../node_modules/css-loader/index.js!./../node_modules/less-loader/index.js!./jsoneditor.less\", function() {\n\t\t\t\tvar newContent = require(\"!!./../node_modules/css-loader/index.js!./../node_modules/less-loader/index.js!./jsoneditor.less\");\n\t\t\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\t\t\t\tupdate(newContent);\n\t\t\t});\n\t\t}\n\t\t// When the module is disposed, remove the <style> tags\n\t\tmodule.hot.dispose(function() { update(); });\n\t}\n\n/***/ },\n/* 15 */\n/***/ function(module, exports, __webpack_require__) {\n\n\texports = module.exports = __webpack_require__(16)();\n\t// imports\n\t\n\t\n\t// module\n\texports.push([module.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(\" + __webpack_require__(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(\" + __webpack_require__(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}\", \"\"]);\n\t\n\t// exports\n\n\n/***/ },\n/* 16 */\n/***/ function(module, exports) {\n\n\t/*\r\n\t\tMIT License http://www.opensource.org/licenses/mit-license.php\r\n\t\tAuthor Tobias Koppers @sokra\r\n\t*/\r\n\t// css base code, injected by the css-loader\r\n\tmodule.exports = function() {\r\n\t\tvar list = [];\r\n\t\r\n\t\t// return the list of modules as css string\r\n\t\tlist.toString = function toString() {\r\n\t\t\tvar result = [];\r\n\t\t\tfor(var i = 0; i < this.length; i++) {\r\n\t\t\t\tvar item = this[i];\r\n\t\t\t\tif(item[2]) {\r\n\t\t\t\t\tresult.push(\"@media \" + item[2] + \"{\" + item[1] + \"}\");\r\n\t\t\t\t} else {\r\n\t\t\t\t\tresult.push(item[1]);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\treturn result.join(\"\");\r\n\t\t};\r\n\t\r\n\t\t// import a list of modules into the list\r\n\t\tlist.i = function(modules, mediaQuery) {\r\n\t\t\tif(typeof modules === \"string\")\r\n\t\t\t\tmodules = [[null, modules, \"\"]];\r\n\t\t\tvar alreadyImportedModules = {};\r\n\t\t\tfor(var i = 0; i < this.length; i++) {\r\n\t\t\t\tvar id = this[i][0];\r\n\t\t\t\tif(typeof id === \"number\")\r\n\t\t\t\t\talreadyImportedModules[id] = true;\r\n\t\t\t}\r\n\t\t\tfor(i = 0; i < modules.length; i++) {\r\n\t\t\t\tvar item = modules[i];\r\n\t\t\t\t// skip already imported module\r\n\t\t\t\t// this implementation is not 100% perfect for weird media query combinations\r\n\t\t\t\t// when a module is imported multiple times with different media queries.\r\n\t\t\t\t// I hope this will never occur (Hey this way we have smaller bundles)\r\n\t\t\t\tif(typeof item[0] !== \"number\" || !alreadyImportedModules[item[0]]) {\r\n\t\t\t\t\tif(mediaQuery && !item[2]) {\r\n\t\t\t\t\t\titem[2] = mediaQuery;\r\n\t\t\t\t\t} else if(mediaQuery) {\r\n\t\t\t\t\t\titem[2] = \"(\" + item[2] + \") and (\" + mediaQuery + \")\";\r\n\t\t\t\t\t}\r\n\t\t\t\t\tlist.push(item);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t};\r\n\t\treturn list;\r\n\t};\r\n\n\n/***/ },\n/* 17 */\n/***/ function(module, exports) {\n\n\tmodule.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\\\"\"\n\n/***/ },\n/* 18 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/*\r\n\t\tMIT License http://www.opensource.org/licenses/mit-license.php\r\n\t\tAuthor Tobias Koppers @sokra\r\n\t*/\r\n\tvar stylesInDom = {},\r\n\t\tmemoize = function(fn) {\r\n\t\t\tvar memo;\r\n\t\t\treturn function () {\r\n\t\t\t\tif (typeof memo === \"undefined\") memo = fn.apply(this, arguments);\r\n\t\t\t\treturn memo;\r\n\t\t\t};\r\n\t\t},\r\n\t\tisOldIE = memoize(function() {\r\n\t\t\treturn /msie [6-9]\\b/.test(window.navigator.userAgent.toLowerCase());\r\n\t\t}),\r\n\t\tgetHeadElement = memoize(function () {\r\n\t\t\treturn document.head || document.getElementsByTagName(\"head\")[0];\r\n\t\t}),\r\n\t\tsingletonElement = null,\r\n\t\tsingletonCounter = 0,\r\n\t\tstyleElementsInsertedAtTop = [];\r\n\t\r\n\tmodule.exports = function(list, options) {\r\n\t\tif(false) {\r\n\t\t\tif(typeof document !== \"object\") throw new Error(\"The style-loader cannot be used in a non-browser environment\");\r\n\t\t}\r\n\t\r\n\t\toptions = options || {};\r\n\t\t// Force single-tag solution on IE6-9, which has a hard limit on the # of <style>\r\n\t\t// tags it will allow on a page\r\n\t\tif (typeof options.singleton === \"undefined\") options.singleton = isOldIE();\r\n\t\r\n\t\t// By default, add <style> tags to the bottom of <head>.\r\n\t\tif (typeof options.insertAt === \"undefined\") options.insertAt = \"bottom\";\r\n\t\r\n\t\tvar styles = listToStyles(list);\r\n\t\taddStylesToDom(styles, options);\r\n\t\r\n\t\treturn function update(newList) {\r\n\t\t\tvar mayRemove = [];\r\n\t\t\tfor(var i = 0; i < styles.length; i++) {\r\n\t\t\t\tvar item = styles[i];\r\n\t\t\t\tvar domStyle = stylesInDom[item.id];\r\n\t\t\t\tdomStyle.refs--;\r\n\t\t\t\tmayRemove.push(domStyle);\r\n\t\t\t}\r\n\t\t\tif(newList) {\r\n\t\t\t\tvar newStyles = listToStyles(newList);\r\n\t\t\t\taddStylesToDom(newStyles, options);\r\n\t\t\t}\r\n\t\t\tfor(var i = 0; i < mayRemove.length; i++) {\r\n\t\t\t\tvar domStyle = mayRemove[i];\r\n\t\t\t\tif(domStyle.refs === 0) {\r\n\t\t\t\t\tfor(var j = 0; j < domStyle.parts.length; j++)\r\n\t\t\t\t\t\tdomStyle.parts[j]();\r\n\t\t\t\t\tdelete stylesInDom[domStyle.id];\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t};\r\n\t}\r\n\t\r\n\tfunction addStylesToDom(styles, options) {\r\n\t\tfor(var i = 0; i < styles.length; i++) {\r\n\t\t\tvar item = styles[i];\r\n\t\t\tvar domStyle = stylesInDom[item.id];\r\n\t\t\tif(domStyle) {\r\n\t\t\t\tdomStyle.refs++;\r\n\t\t\t\tfor(var j = 0; j < domStyle.parts.length; j++) {\r\n\t\t\t\t\tdomStyle.parts[j](item.parts[j]);\r\n\t\t\t\t}\r\n\t\t\t\tfor(; j < item.parts.length; j++) {\r\n\t\t\t\t\tdomStyle.parts.push(addStyle(item.parts[j], options));\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tvar parts = [];\r\n\t\t\t\tfor(var j = 0; j < item.parts.length; j++) {\r\n\t\t\t\t\tparts.push(addStyle(item.parts[j], options));\r\n\t\t\t\t}\r\n\t\t\t\tstylesInDom[item.id] = {id: item.id, refs: 1, parts: parts};\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\t\r\n\tfunction listToStyles(list) {\r\n\t\tvar styles = [];\r\n\t\tvar newStyles = {};\r\n\t\tfor(var i = 0; i < list.length; i++) {\r\n\t\t\tvar item = list[i];\r\n\t\t\tvar id = item[0];\r\n\t\t\tvar css = item[1];\r\n\t\t\tvar media = item[2];\r\n\t\t\tvar sourceMap = item[3];\r\n\t\t\tvar part = {css: css, media: media, sourceMap: sourceMap};\r\n\t\t\tif(!newStyles[id])\r\n\t\t\t\tstyles.push(newStyles[id] = {id: id, parts: [part]});\r\n\t\t\telse\r\n\t\t\t\tnewStyles[id].parts.push(part);\r\n\t\t}\r\n\t\treturn styles;\r\n\t}\r\n\t\r\n\tfunction insertStyleElement(options, styleElement) {\r\n\t\tvar head = getHeadElement();\r\n\t\tvar lastStyleElementInsertedAtTop = styleElementsInsertedAtTop[styleElementsInsertedAtTop.length - 1];\r\n\t\tif (options.insertAt === \"top\") {\r\n\t\t\tif(!lastStyleElementInsertedAtTop) {\r\n\t\t\t\thead.insertBefore(styleElement, head.firstChild);\r\n\t\t\t} else if(lastStyleElementInsertedAtTop.nextSibling) {\r\n\t\t\t\thead.insertBefore(styleElement, lastStyleElementInsertedAtTop.nextSibling);\r\n\t\t\t} else {\r\n\t\t\t\thead.appendChild(styleElement);\r\n\t\t\t}\r\n\t\t\tstyleElementsInsertedAtTop.push(styleElement);\r\n\t\t} else if (options.insertAt === \"bottom\") {\r\n\t\t\thead.appendChild(styleElement);\r\n\t\t} else {\r\n\t\t\tthrow new Error(\"Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.\");\r\n\t\t}\r\n\t}\r\n\t\r\n\tfunction removeStyleElement(styleElement) {\r\n\t\tstyleElement.parentNode.removeChild(styleElement);\r\n\t\tvar idx = styleElementsInsertedAtTop.indexOf(styleElement);\r\n\t\tif(idx >= 0) {\r\n\t\t\tstyleElementsInsertedAtTop.splice(idx, 1);\r\n\t\t}\r\n\t}\r\n\t\r\n\tfunction createStyleElement(options) {\r\n\t\tvar styleElement = document.createElement(\"style\");\r\n\t\tstyleElement.type = \"text/css\";\r\n\t\tinsertStyleElement(options, styleElement);\r\n\t\treturn styleElement;\r\n\t}\r\n\t\r\n\tfunction createLinkElement(options) {\r\n\t\tvar linkElement = document.createElement(\"link\");\r\n\t\tlinkElement.rel = \"stylesheet\";\r\n\t\tinsertStyleElement(options, linkElement);\r\n\t\treturn linkElement;\r\n\t}\r\n\t\r\n\tfunction addStyle(obj, options) {\r\n\t\tvar styleElement, update, remove;\r\n\t\r\n\t\tif (options.singleton) {\r\n\t\t\tvar styleIndex = singletonCounter++;\r\n\t\t\tstyleElement = singletonElement || (singletonElement = createStyleElement(options));\r\n\t\t\tupdate = applyToSingletonTag.bind(null, styleElement, styleIndex, false);\r\n\t\t\tremove = applyToSingletonTag.bind(null, styleElement, styleIndex, true);\r\n\t\t} else if(obj.sourceMap &&\r\n\t\t\ttypeof URL === \"function\" &&\r\n\t\t\ttypeof URL.createObjectURL === \"function\" &&\r\n\t\t\ttypeof URL.revokeObjectURL === \"function\" &&\r\n\t\t\ttypeof Blob === \"function\" &&\r\n\t\t\ttypeof btoa === \"function\") {\r\n\t\t\tstyleElement = createLinkElement(options);\r\n\t\t\tupdate = updateLink.bind(null, styleElement);\r\n\t\t\tremove = function() {\r\n\t\t\t\tremoveStyleElement(styleElement);\r\n\t\t\t\tif(styleElement.href)\r\n\t\t\t\t\tURL.revokeObjectURL(styleElement.href);\r\n\t\t\t};\r\n\t\t} else {\r\n\t\t\tstyleElement = createStyleElement(options);\r\n\t\t\tupdate = applyToTag.bind(null, styleElement);\r\n\t\t\tremove = function() {\r\n\t\t\t\tremoveStyleElement(styleElement);\r\n\t\t\t};\r\n\t\t}\r\n\t\r\n\t\tupdate(obj);\r\n\t\r\n\t\treturn function updateStyle(newObj) {\r\n\t\t\tif(newObj) {\r\n\t\t\t\tif(newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap)\r\n\t\t\t\t\treturn;\r\n\t\t\t\tupdate(obj = newObj);\r\n\t\t\t} else {\r\n\t\t\t\tremove();\r\n\t\t\t}\r\n\t\t};\r\n\t}\r\n\t\r\n\tvar replaceText = (function () {\r\n\t\tvar textStore = [];\r\n\t\r\n\t\treturn function (index, replacement) {\r\n\t\t\ttextStore[index] = replacement;\r\n\t\t\treturn textStore.filter(Boolean).join('\\n');\r\n\t\t};\r\n\t})();\r\n\t\r\n\tfunction applyToSingletonTag(styleElement, index, remove, obj) {\r\n\t\tvar css = remove ? \"\" : obj.css;\r\n\t\r\n\t\tif (styleElement.styleSheet) {\r\n\t\t\tstyleElement.styleSheet.cssText = replaceText(index, css);\r\n\t\t} else {\r\n\t\t\tvar cssNode = document.createTextNode(css);\r\n\t\t\tvar childNodes = styleElement.childNodes;\r\n\t\t\tif (childNodes[index]) styleElement.removeChild(childNodes[index]);\r\n\t\t\tif (childNodes.length) {\r\n\t\t\t\tstyleElement.insertBefore(cssNode, childNodes[index]);\r\n\t\t\t} else {\r\n\t\t\t\tstyleElement.appendChild(cssNode);\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\t\r\n\tfunction applyToTag(styleElement, obj) {\r\n\t\tvar css = obj.css;\r\n\t\tvar media = obj.media;\r\n\t\r\n\t\tif(media) {\r\n\t\t\tstyleElement.setAttribute(\"media\", media)\r\n\t\t}\r\n\t\r\n\t\tif(styleElement.styleSheet) {\r\n\t\t\tstyleElement.styleSheet.cssText = css;\r\n\t\t} else {\r\n\t\t\twhile(styleElement.firstChild) {\r\n\t\t\t\tstyleElement.removeChild(styleElement.firstChild);\r\n\t\t\t}\r\n\t\t\tstyleElement.appendChild(document.createTextNode(css));\r\n\t\t}\r\n\t}\r\n\t\r\n\tfunction updateLink(linkElement, obj) {\r\n\t\tvar css = obj.css;\r\n\t\tvar sourceMap = obj.sourceMap;\r\n\t\r\n\t\tif(sourceMap) {\r\n\t\t\t// http://stackoverflow.com/a/26603875\r\n\t\t\tcss += \"\\n/*# sourceMappingURL=data:application/json;base64,\" + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + \" */\";\r\n\t\t}\r\n\t\r\n\t\tvar blob = new Blob([css], { type: \"text/css\" });\r\n\t\r\n\t\tvar oldSrc = linkElement.href;\r\n\t\r\n\t\tlinkElement.href = URL.createObjectURL(blob);\r\n\t\r\n\t\tif(oldSrc)\r\n\t\t\tURL.revokeObjectURL(oldSrc);\r\n\t}\r\n\n\n/***/ }\n/******/ ])\n});\n;\n\n\n/** WEBPACK FOOTER **\n ** jsoneditor-minimalist.js\n **/"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId])\n \t\t\treturn installedModules[moduleId].exports;\n\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\texports: {},\n \t\t\tid: moduleId,\n \t\t\tloaded: false\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.loaded = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(0);\n\n\n\n/** WEBPACK FOOTER **\n ** webpack/bootstrap 7cc2b40e4573e7b2bd6f\n **/","import { h, render } from 'preact'\nimport TreeMode from './TreeMode'\n\nimport '!style!css!less!./jsoneditor.less'\n\n/**\n * Factory function to create a new JSONEditor\n * @param container\n * @param {Options} options\n * @return {*}\n * @constructor\n */\nfunction jsoneditor (container, options) {\n // TODO: use JSONEditor instead of TreeMode\n const elem = render(h(TreeMode, {options}), container)\n return elem._component\n}\n\n// TODO: use export default jsoneditor, doesn't work out of the box in webpack\nmodule.exports = jsoneditor;\n\n\n\n/** WEBPACK FOOTER **\n ** ./src/index.js\n **/","!function(global, factory) {\n 'object' == typeof exports && 'undefined' != typeof module ? factory(exports) : 'function' == typeof define && define.amd ? define([ 'exports' ], factory) : factory(global.preact = global.preact || {});\n}(this, function(exports) {\n function VNode(nodeName, attributes, children) {\n this.nodeName = nodeName;\n this.attributes = attributes;\n this.children = children;\n this.key = attributes && attributes.key;\n }\n function extend(obj, props) {\n if (props) for (var i in props) if (void 0 !== props[i]) obj[i] = props[i];\n return obj;\n }\n function clone(obj) {\n return extend({}, obj);\n }\n function delve(obj, key) {\n for (var p = key.split('.'), i = 0; i < p.length && obj; i++) obj = obj[p[i]];\n return obj;\n }\n function toArray(obj, offset) {\n return [].slice.call(obj, offset);\n }\n function isFunction(obj) {\n return 'function' == typeof obj;\n }\n function isString(obj) {\n return 'string' == typeof obj;\n }\n function empty(x) {\n return void 0 === x || null === x;\n }\n function falsey(value) {\n return value === !1 || empty(value);\n }\n function hashToClassName(c) {\n var str = '';\n for (var prop in c) if (c[prop]) {\n if (str) str += ' ';\n str += prop;\n }\n return str;\n }\n function h(nodeName, attributes, firstChild) {\n var children, arr, lastSimple, len = arguments.length;\n if (len > 2) {\n var type = typeof firstChild;\n if (3 === len && 'object' !== type && 'function' !== type) {\n if (!falsey(firstChild)) children = [ String(firstChild) ];\n } else {\n children = [];\n for (var i = 2; i < len; i++) {\n var _p = arguments[i];\n if (!falsey(_p)) {\n if (_p.join) arr = _p; else (arr = SHARED_TEMP_ARRAY)[0] = _p;\n for (var j = 0; j < arr.length; j++) {\n var child = arr[j], simple = !(falsey(child) || isFunction(child) || child instanceof VNode);\n if (simple && !isString(child)) child = String(child);\n if (simple && lastSimple) children[children.length - 1] += child; else if (!falsey(child)) {\n children.push(child);\n lastSimple = simple;\n }\n }\n } else ;\n }\n }\n } else if (attributes && attributes.children) return h(nodeName, attributes, attributes.children);\n if (attributes) {\n if (attributes.children) delete attributes.children;\n if (!isFunction(nodeName)) {\n if ('className' in attributes) {\n attributes.class = attributes.className;\n delete attributes.className;\n }\n lastSimple = attributes.class;\n if (lastSimple && !isString(lastSimple)) attributes.class = hashToClassName(lastSimple);\n }\n }\n var p = new VNode(nodeName, attributes || void 0, children);\n if (options.vnode) options.vnode(p);\n return p;\n }\n function cloneElement(vnode, props) {\n return h(vnode.nodeName, extend(clone(vnode.attributes), props), arguments.length > 2 ? toArray(arguments, 2) : vnode.children);\n }\n function createLinkedState(component, key, eventPath) {\n var path = key.split('.'), p0 = path[0];\n return function(e) {\n var _component$setState;\n var v, i, t = e && e.currentTarget || this, s = component.state, obj = s;\n if (isString(eventPath)) {\n v = delve(e, eventPath);\n if (empty(v) && (t = t._component)) v = delve(t, eventPath);\n } else v = t.nodeName ? (t.nodeName + t.type).match(/^input(check|rad)/i) ? t.checked : t.value : e;\n if (isFunction(v)) v = v.call(t);\n if (path.length > 1) {\n for (i = 0; i < path.length - 1; i++) obj = obj[path[i]] || (obj[path[i]] = {});\n obj[path[i]] = v;\n v = s[p0];\n }\n component.setState((_component$setState = {}, _component$setState[p0] = v, _component$setState));\n };\n }\n function enqueueRender(component) {\n if (1 === items.push(component)) (options.debounceRendering || setImmediate)(rerender);\n }\n function rerender() {\n if (items.length) {\n var p, currentItems = items;\n items = itemsOffline;\n itemsOffline = currentItems;\n while (p = currentItems.pop()) if (p._dirty) renderComponent(p);\n }\n }\n function isFunctionalComponent(vnode) {\n var nodeName = vnode && vnode.nodeName;\n return nodeName && isFunction(nodeName) && !(nodeName.prototype && nodeName.prototype.render);\n }\n function buildFunctionalComponent(vnode, context) {\n return vnode.nodeName(getNodeProps(vnode), context || EMPTY);\n }\n function ensureNodeData(node, data) {\n return node[ATTR_KEY] || (node[ATTR_KEY] = data || {});\n }\n function getNodeType(node) {\n if (node instanceof Text) return 3;\n if (node instanceof Element) return 1; else return 0;\n }\n function removeNode(node) {\n var p = node.parentNode;\n if (p) p.removeChild(node);\n }\n function setAccessor(node, name, value, old, isSvg) {\n ensureNodeData(node)[name] = value;\n if ('key' !== name && 'children' !== name) if ('class' === name && !isSvg) node.className = value || ''; else if ('style' === name) {\n if (!value || isString(value) || isString(old)) node.style.cssText = value || '';\n if (value && 'object' == typeof value) {\n if (!isString(old)) for (var i in old) if (!(i in value)) node.style[i] = '';\n for (var i in value) node.style[i] = 'number' == typeof value[i] && !NON_DIMENSION_PROPS[i] ? value[i] + 'px' : value[i];\n }\n } else if ('dangerouslySetInnerHTML' === name) {\n if (value) node.innerHTML = value.__html;\n } else if ('o' === name[0] && 'n' === name[1]) {\n var l = node._listeners || (node._listeners = {});\n name = toLowerCase(name.substring(2));\n if (value) {\n if (!l[name]) node.addEventListener(name, eventProxy);\n } else if (l[name]) node.removeEventListener(name, eventProxy);\n l[name] = value;\n } else if ('type' !== name && !isSvg && name in node) {\n setProperty(node, name, empty(value) ? '' : value);\n if (falsey(value)) node.removeAttribute(name);\n } else {\n var ns = isSvg && name.match(/^xlink\\:?(.+)/);\n if (falsey(value)) if (ns) node.removeAttributeNS('http://www.w3.org/1999/xlink', toLowerCase(ns[1])); else node.removeAttribute(name); else if ('object' != typeof value && !isFunction(value)) if (ns) node.setAttributeNS('http://www.w3.org/1999/xlink', toLowerCase(ns[1]), value); else node.setAttribute(name, value);\n }\n }\n function setProperty(node, name, value) {\n try {\n node[name] = value;\n } catch (e) {}\n }\n function eventProxy(e) {\n return this._listeners[e.type](options.event && options.event(e) || e);\n }\n function getRawNodeAttributes(node) {\n var attrs = {};\n for (var i = node.attributes.length; i--; ) attrs[node.attributes[i].name] = node.attributes[i].value;\n return attrs;\n }\n function isSameNodeType(node, vnode) {\n if (isString(vnode)) return 3 === getNodeType(node);\n if (isString(vnode.nodeName)) return isNamedNode(node, vnode.nodeName);\n if (isFunction(vnode.nodeName)) return node._componentConstructor === vnode.nodeName || isFunctionalComponent(vnode); else ;\n }\n function isNamedNode(node, nodeName) {\n return node.normalizedNodeName === nodeName || toLowerCase(node.nodeName) === toLowerCase(nodeName);\n }\n function getNodeProps(vnode) {\n var defaultProps = vnode.nodeName.defaultProps, props = clone(defaultProps || vnode.attributes);\n if (defaultProps) extend(props, vnode.attributes);\n if (vnode.children) props.children = vnode.children;\n return props;\n }\n function collectNode(node) {\n cleanNode(node);\n var name = toLowerCase(node.nodeName), list = nodes[name];\n if (list) list.push(node); else nodes[name] = [ node ];\n }\n function createNode(nodeName, isSvg) {\n var name = toLowerCase(nodeName), node = nodes[name] && nodes[name].pop() || (isSvg ? document.createElementNS('http://www.w3.org/2000/svg', nodeName) : document.createElement(nodeName));\n ensureNodeData(node);\n node.normalizedNodeName = name;\n return node;\n }\n function cleanNode(node) {\n removeNode(node);\n if (1 === getNodeType(node)) {\n ensureNodeData(node, getRawNodeAttributes(node));\n node._component = node._componentConstructor = null;\n }\n }\n function flushMounts() {\n var c;\n while (c = mounts.pop()) if (c.componentDidMount) c.componentDidMount();\n }\n function diff(dom, vnode, context, mountAll, parent) {\n diffLevel++;\n var ret = idiff(dom, vnode, context, mountAll);\n if (parent && ret.parentNode !== parent) parent.appendChild(ret);\n if (!--diffLevel) flushMounts();\n return ret;\n }\n function idiff(dom, vnode, context, mountAll) {\n var originalAttributes = vnode && vnode.attributes;\n while (isFunctionalComponent(vnode)) vnode = buildFunctionalComponent(vnode, context);\n if (empty(vnode)) return document.createComment('');\n if (isString(vnode)) {\n if (dom) {\n if (3 === getNodeType(dom) && dom.parentNode) {\n if (dom.nodeValue != vnode) dom.nodeValue = vnode;\n return dom;\n }\n collectNode(dom);\n }\n return document.createTextNode(vnode);\n }\n var svgMode, out = dom, nodeName = vnode.nodeName;\n if (isFunction(nodeName)) return buildComponentFromVNode(dom, vnode, context, mountAll);\n if (!isString(nodeName)) nodeName = String(nodeName);\n svgMode = 'svg' === toLowerCase(nodeName);\n if (svgMode) isSvgMode = !0;\n if (!dom) out = createNode(nodeName, isSvgMode); else if (!isNamedNode(dom, nodeName)) {\n out = createNode(nodeName, isSvgMode);\n while (dom.firstChild) out.appendChild(dom.firstChild);\n recollectNodeTree(dom);\n }\n if (vnode.children && 1 === vnode.children.length && 'string' == typeof vnode.children[0] && 1 === out.childNodes.length && out.firstChild instanceof Text) out.firstChild.nodeValue = vnode.children[0]; else if (vnode.children || out.firstChild) innerDiffNode(out, vnode.children, context, mountAll);\n diffAttributes(out, vnode.attributes);\n if (originalAttributes && originalAttributes.ref) (out[ATTR_KEY].ref = originalAttributes.ref)(out);\n if (svgMode) isSvgMode = !1;\n return out;\n }\n function innerDiffNode(dom, vchildren, context, mountAll) {\n var j, c, vchild, child, originalChildren = dom.childNodes, children = [], keyed = {}, keyedLen = 0, min = 0, len = originalChildren.length, childrenLen = 0, vlen = vchildren && vchildren.length;\n if (len) for (var i = 0; i < len; i++) {\n var _child = originalChildren[i], key = vlen ? (c = _child._component) ? c.__key : (c = _child[ATTR_KEY]) ? c.key : null : null;\n if (key || 0 === key) {\n keyedLen++;\n keyed[key] = _child;\n } else children[childrenLen++] = _child;\n }\n if (vlen) for (var i = 0; i < vlen; i++) {\n vchild = vchildren[i];\n child = null;\n if (keyedLen && vchild.attributes) {\n var key = vchild.key;\n if (!empty(key) && key in keyed) {\n child = keyed[key];\n keyed[key] = void 0;\n keyedLen--;\n }\n }\n if (!child && min < childrenLen) for (j = min; j < childrenLen; j++) {\n c = children[j];\n if (c && isSameNodeType(c, vchild)) {\n child = c;\n children[j] = void 0;\n if (j === childrenLen - 1) childrenLen--;\n if (j === min) min++;\n break;\n }\n }\n child = idiff(child, vchild, context, mountAll);\n if (child !== originalChildren[i]) dom.insertBefore(child, originalChildren[i] || null);\n }\n if (keyedLen) for (var i in keyed) if (keyed[i]) children[min = childrenLen++] = keyed[i];\n if (min < childrenLen) removeOrphanedChildren(children);\n }\n function removeOrphanedChildren(children, unmountOnly) {\n for (var i = children.length; i--; ) {\n var child = children[i];\n if (child) recollectNodeTree(child, unmountOnly);\n }\n }\n function recollectNodeTree(node, unmountOnly) {\n var component = node._component;\n if (component) unmountComponent(component, !unmountOnly); else {\n if (node[ATTR_KEY] && node[ATTR_KEY].ref) node[ATTR_KEY].ref(null);\n if (!unmountOnly) collectNode(node);\n if (node.childNodes && node.childNodes.length) removeOrphanedChildren(node.childNodes, unmountOnly);\n }\n }\n function diffAttributes(dom, attrs) {\n var old = dom[ATTR_KEY] || getRawNodeAttributes(dom);\n for (var _name in old) if (!(attrs && _name in attrs)) setAccessor(dom, _name, null, old[_name], isSvgMode);\n if (attrs) for (var _name2 in attrs) if (!(_name2 in old) || attrs[_name2] != ('value' === _name2 || 'selected' === _name2 || 'checked' === _name2 ? dom[_name2] : old[_name2])) setAccessor(dom, _name2, attrs[_name2], old[_name2], isSvgMode);\n }\n function collectComponent(component) {\n var name = component.constructor.name, list = components[name];\n if (list) list.push(component); else components[name] = [ component ];\n }\n function createComponent(Ctor, props, context) {\n var inst = new Ctor(props, context), list = components[Ctor.name];\n if (list) for (var i = list.length; i--; ) if (list[i].constructor === Ctor) {\n inst.nextBase = list[i].nextBase;\n list.splice(i, 1);\n break;\n }\n return inst;\n }\n function triggerComponentRender(component) {\n if (!component._dirty) {\n component._dirty = !0;\n enqueueRender(component);\n }\n }\n function setComponentProps(component, props, opts, context, mountAll) {\n var b = component.base;\n if (!component._disableRendering) {\n component._disableRendering = !0;\n if (component.__ref = props.ref) delete props.ref;\n if (component.__key = props.key) delete props.key;\n if (empty(b) || mountAll) {\n if (component.componentWillMount) component.componentWillMount();\n } else if (component.componentWillReceiveProps) component.componentWillReceiveProps(props, context);\n if (context && context !== component.context) {\n if (!component.prevContext) component.prevContext = component.context;\n component.context = context;\n }\n if (!component.prevProps) component.prevProps = component.props;\n component.props = props;\n component._disableRendering = !1;\n if (0 !== opts) if (1 === opts || options.syncComponentUpdates !== !1 || !b) renderComponent(component, 1, mountAll); else triggerComponentRender(component);\n if (component.__ref) component.__ref(component);\n }\n }\n function renderComponent(component, opts, mountAll) {\n if (!component._disableRendering) {\n var skip, rendered, props = component.props, state = component.state, context = component.context, previousProps = component.prevProps || props, previousState = component.prevState || state, previousContext = component.prevContext || context, isUpdate = component.base, initialBase = isUpdate || component.nextBase, nextSibling = initialBase && initialBase.nextSibling, baseParent = initialBase && initialBase.parentNode, initialComponent = initialBase && initialBase._component, initialChildComponent = component._component;\n if (isUpdate) {\n component.props = previousProps;\n component.state = previousState;\n component.context = previousContext;\n if (2 !== opts && component.shouldComponentUpdate && component.shouldComponentUpdate(props, state, context) === !1) skip = !0; else if (component.componentWillUpdate) component.componentWillUpdate(props, state, context);\n component.props = props;\n component.state = state;\n component.context = context;\n }\n component.prevProps = component.prevState = component.prevContext = component.nextBase = null;\n component._dirty = !1;\n if (!skip) {\n if (component.render) rendered = component.render(props, state, context);\n if (component.getChildContext) context = extend(clone(context), component.getChildContext());\n while (isFunctionalComponent(rendered)) rendered = buildFunctionalComponent(rendered, context);\n var toUnmount, base, childComponent = rendered && rendered.nodeName;\n if (isFunction(childComponent) && childComponent.prototype.render) {\n var inst = initialChildComponent, childProps = getNodeProps(rendered);\n if (inst && inst.constructor === childComponent) setComponentProps(inst, childProps, 1, context); else {\n toUnmount = inst;\n inst = createComponent(childComponent, childProps, context);\n inst._parentComponent = component;\n component._component = inst;\n setComponentProps(inst, childProps, 0, context);\n renderComponent(inst, 1);\n }\n base = inst.base;\n } else {\n var cbase = initialBase;\n toUnmount = initialChildComponent;\n if (toUnmount) cbase = component._component = null;\n if (initialBase || 1 === opts) {\n if (cbase) cbase._component = null;\n base = diff(cbase, rendered, context, mountAll || !isUpdate);\n }\n }\n if (initialBase && base !== initialBase) {\n if (baseParent && base !== baseParent) baseParent.insertBefore(base, nextSibling || null);\n if (!toUnmount && initialComponent === component && !initialChildComponent && initialBase.parentNode) {\n initialBase._component = null;\n recollectNodeTree(initialBase);\n }\n }\n if (toUnmount) unmountComponent(toUnmount, !0);\n component.base = base;\n if (base) {\n var componentRef = component, t = component;\n while (t = t._parentComponent) componentRef = t;\n base._component = componentRef;\n base._componentConstructor = componentRef.constructor;\n }\n }\n if (!isUpdate || mountAll) {\n mounts.unshift(component);\n if (!diffLevel) flushMounts();\n } else if (!skip && component.componentDidUpdate) component.componentDidUpdate(previousProps, previousState, previousContext);\n var fn, cb = component._renderCallbacks;\n if (cb) while (fn = cb.pop()) fn.call(component);\n return rendered;\n }\n }\n function buildComponentFromVNode(dom, vnode, context, mountAll) {\n var c = dom && dom._component, oldDom = dom, isDirectOwner = c && dom._componentConstructor === vnode.nodeName, isOwner = isDirectOwner, props = getNodeProps(vnode);\n while (c && !isOwner && (c = c._parentComponent)) isOwner = c.constructor === vnode.nodeName;\n if (isOwner && (!mountAll || c._component)) {\n setComponentProps(c, props, 3, context, mountAll);\n dom = c.base;\n } else {\n if (c && !isDirectOwner) {\n unmountComponent(c, !0);\n dom = oldDom = null;\n }\n c = createComponent(vnode.nodeName, props, context);\n if (dom && !c.nextBase) c.nextBase = dom;\n setComponentProps(c, props, 1, context, mountAll);\n dom = c.base;\n if (oldDom && dom !== oldDom) {\n oldDom._component = null;\n recollectNodeTree(oldDom);\n }\n }\n return dom;\n }\n function unmountComponent(component, remove) {\n var base = component.base;\n component._disableRendering = !0;\n if (component.componentWillUnmount) component.componentWillUnmount();\n component.base = null;\n var inner = component._component;\n if (inner) unmountComponent(inner, remove); else if (base) {\n if (base[ATTR_KEY] && base[ATTR_KEY].ref) base[ATTR_KEY].ref(null);\n component.nextBase = base;\n if (remove) {\n removeNode(base);\n collectComponent(component);\n }\n removeOrphanedChildren(base.childNodes, !remove);\n }\n if (component.__ref) component.__ref(null);\n if (component.componentDidUnmount) component.componentDidUnmount();\n }\n function Component(props, context) {\n this._dirty = !0;\n this._disableRendering = !1;\n this.prevState = this.prevProps = this.prevContext = this.base = this.nextBase = this._parentComponent = this._component = this.__ref = this.__key = this._linkedStates = this._renderCallbacks = null;\n this.context = context || {};\n this.props = props;\n this.state = this.getInitialState && this.getInitialState() || {};\n }\n function render(vnode, parent, merge) {\n return diff(merge, vnode, {}, !1, parent);\n }\n var lcCache = {};\n var toLowerCase = function(s) {\n return lcCache[s] || (lcCache[s] = s.toLowerCase());\n };\n var resolved = 'undefined' != typeof Promise && Promise.resolve();\n var setImmediate = resolved ? function(f) {\n resolved.then(f);\n } : setTimeout;\n var options = {\n vnode: empty\n };\n var SHARED_TEMP_ARRAY = [];\n var EMPTY = {};\n var ATTR_KEY = 'undefined' != typeof Symbol ? Symbol.for('preactattr') : '__preactattr_';\n var NON_DIMENSION_PROPS = {\n boxFlex: 1,\n boxFlexGroup: 1,\n columnCount: 1,\n fillOpacity: 1,\n flex: 1,\n flexGrow: 1,\n flexPositive: 1,\n flexShrink: 1,\n flexNegative: 1,\n fontWeight: 1,\n lineClamp: 1,\n lineHeight: 1,\n opacity: 1,\n order: 1,\n orphans: 1,\n strokeOpacity: 1,\n widows: 1,\n zIndex: 1,\n zoom: 1\n };\n var items = [];\n var itemsOffline = [];\n var nodes = {};\n var mounts = [];\n var diffLevel = 0;\n var isSvgMode = !1;\n var components = {};\n extend(Component.prototype, {\n linkState: function(key, eventPath) {\n var c = this._linkedStates || (this._linkedStates = {}), cacheKey = key + '|' + eventPath;\n return c[cacheKey] || (c[cacheKey] = createLinkedState(this, key, eventPath));\n },\n setState: function(state, callback) {\n var s = this.state;\n if (!this.prevState) this.prevState = clone(s);\n extend(s, isFunction(state) ? state(s, this.props) : state);\n if (callback) (this._renderCallbacks = this._renderCallbacks || []).push(callback);\n triggerComponentRender(this);\n },\n forceUpdate: function() {\n renderComponent(this, 2);\n },\n render: function() {\n return null;\n }\n });\n exports.h = h;\n exports.cloneElement = cloneElement;\n exports.Component = Component;\n exports.render = render;\n exports.rerender = rerender;\n exports.options = options;\n});\n//# sourceMappingURL=preact.js.map\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/preact/dist/preact.js\n ** module id = 1\n ** module chunks = 0\n **/","var nextTick = require('process/browser.js').nextTick;\nvar apply = Function.prototype.apply;\nvar slice = Array.prototype.slice;\nvar immediateIds = {};\nvar nextImmediateId = 0;\n\n// DOM APIs, for completeness\n\nexports.setTimeout = function() {\n return new Timeout(apply.call(setTimeout, window, arguments), clearTimeout);\n};\nexports.setInterval = function() {\n return new Timeout(apply.call(setInterval, window, arguments), clearInterval);\n};\nexports.clearTimeout =\nexports.clearInterval = function(timeout) { timeout.close(); };\n\nfunction Timeout(id, clearFn) {\n this._id = id;\n this._clearFn = clearFn;\n}\nTimeout.prototype.unref = Timeout.prototype.ref = function() {};\nTimeout.prototype.close = function() {\n this._clearFn.call(window, this._id);\n};\n\n// Does not start the time, just sets up the members needed.\nexports.enroll = function(item, msecs) {\n clearTimeout(item._idleTimeoutId);\n item._idleTimeout = msecs;\n};\n\nexports.unenroll = function(item) {\n clearTimeout(item._idleTimeoutId);\n item._idleTimeout = -1;\n};\n\nexports._unrefActive = exports.active = function(item) {\n clearTimeout(item._idleTimeoutId);\n\n var msecs = item._idleTimeout;\n if (msecs >= 0) {\n item._idleTimeoutId = setTimeout(function onTimeout() {\n if (item._onTimeout)\n item._onTimeout();\n }, msecs);\n }\n};\n\n// That's not how node.js implements it but the exposed api is the same.\nexports.setImmediate = typeof setImmediate === \"function\" ? setImmediate : function(fn) {\n var id = nextImmediateId++;\n var args = arguments.length < 2 ? false : slice.call(arguments, 1);\n\n immediateIds[id] = true;\n\n nextTick(function onNextTick() {\n if (immediateIds[id]) {\n // fn.call() is faster so we optimize for the common use-case\n // @see http://jsperf.com/call-apply-segu\n if (args) {\n fn.apply(null, args);\n } else {\n fn.call(null);\n }\n // Prevent ids from leaking\n exports.clearImmediate(id);\n }\n });\n\n return id;\n};\n\nexports.clearImmediate = typeof clearImmediate === \"function\" ? clearImmediate : function(id) {\n delete immediateIds[id];\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/timers-browserify/main.js\n ** module id = 2\n ** module chunks = 0\n **/","// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\n(function () {\n try {\n cachedSetTimeout = setTimeout;\n } catch (e) {\n cachedSetTimeout = function () {\n throw new Error('setTimeout is not defined');\n }\n }\n try {\n cachedClearTimeout = clearTimeout;\n } catch (e) {\n cachedClearTimeout = function () {\n throw new Error('clearTimeout is not defined');\n }\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/process/browser.js\n ** module id = 3\n ** module chunks = 0\n **/","import { h, Component } from 'preact'\n\nimport { setIn, updateIn, getIn, deleteIn, cloneDeep } from './utils/objectUtils'\nimport { compareAsc, compareDesc, last } from './utils/arrayUtils'\nimport { stringConvert } from './utils/typeUtils'\nimport { isObject } from './utils/typeUtils'\nimport bindMethods from './utils/bindMethods'\nimport JSONNode from './JSONNode'\n\nexport default class TreeMode extends Component {\n // TODO: define propTypes\n\n constructor (props) {\n super(props)\n\n bindMethods(this)\n\n const name = this.props.options && this.props.options.name || null\n const expand = this.props.options && this.props.options.expand || TreeMode.expand\n \n this.state = {\n options: {\n name\n },\n\n data: jsonToData([], this.props.data || {}, expand),\n \n events: {\n onChangeProperty: this.handleChangeProperty,\n onChangeValue: this.handleChangeValue,\n onChangeType: this.handleChangeType,\n onInsert: this.handleInsert,\n onAppend: this.handleAppend,\n onDuplicate: this.handleDuplicate,\n onRemove: this.handleRemove,\n onSort: this.handleSort,\n\n onExpand: this.handleExpand\n },\n\n search: null\n }\n }\n\n render() {\n return h('div', {class: 'jsoneditor', contentEditable: 'false', onClick: JSONNode.hideContextMenu}, [\n h('ul', {class: 'jsoneditor-list', contentEditable: 'false'}, [\n h(JSONNode, {\n data: this.state.data,\n events: this.state.events,\n options: this.state.options,\n parent: null,\n prop: null\n })\n ])\n ])\n }\n\n handleChangeValue (path, value) {\n console.log('handleChangeValue', path, value)\n\n const dataPath = toDataPath(this.state.data, path)\n\n this.setState({\n data: setIn(this.state.data, dataPath.concat(['value']), value)\n })\n }\n\n handleChangeProperty (path, oldProp, newProp) {\n console.log('handleChangeProperty', path, oldProp, newProp)\n\n const dataPath = toDataPath(this.state.data, path)\n const object = getIn(this.state.data, dataPath)\n const index = object.props.findIndex(p => p.name === oldProp)\n\n this.setState({\n data: setIn(this.state.data, dataPath.concat(['props', index, 'name']), newProp)\n })\n }\n\n handleChangeType (path, type) {\n console.log('handleChangeType', path, type)\n\n const dataPath = toDataPath(this.state.data, path)\n const oldEntry = getIn(this.state.data, dataPath)\n const newEntry = convertDataEntry(oldEntry, type)\n\n this.setState({\n data: setIn(this.state.data, dataPath, newEntry)\n })\n }\n\n handleInsert (path, afterProp, type) {\n console.log('handleInsert', path, afterProp, type)\n\n const dataPath = toDataPath(this.state.data, path)\n const parent = getIn(this.state.data, dataPath)\n\n if (parent.type === 'array') {\n this.setState({\n data: updateIn(this.state.data, dataPath.concat(['items']), (items) => {\n const index = parseInt(afterProp)\n const updatedItems = items.slice(0)\n\n updatedItems.splice(index + 1, 0, createDataEntry(type))\n\n return updatedItems\n })\n })\n }\n else { // parent.type === 'object'\n this.setState({\n data: updateIn(this.state.data, dataPath.concat(['props']), (props) => {\n const index = props.findIndex(p => p.name === afterProp)\n const updatedProps = props.slice(0)\n\n updatedProps.splice(index + 1, 0, {\n name: '',\n value: createDataEntry(type)\n })\n\n return updatedProps\n })\n })\n }\n }\n\n handleAppend (path, type) {\n console.log('handleAppend', path, type)\n\n const dataPath = toDataPath(this.state.data, path)\n const object = getIn(this.state.data, dataPath)\n\n if (object.type === 'array') {\n this.setState({\n data: updateIn(this.state.data, dataPath.concat(['items']), (items) => {\n const updatedItems = items.slice(0)\n\n updatedItems.push(createDataEntry(type))\n\n return updatedItems\n })\n })\n }\n else { // object.type === 'object'\n this.setState({\n data: updateIn(this.state.data, dataPath.concat(['props']), (props) => {\n const updatedProps = props.slice(0)\n\n updatedProps.push({\n name: '',\n value: createDataEntry(type)\n })\n\n return updatedProps\n })\n })\n }\n }\n\n handleDuplicate (path, prop) {\n console.log('handleDuplicate', path)\n\n const dataPath = toDataPath(this.state.data, path)\n const object = getIn(this.state.data, dataPath)\n\n if (object.type === 'array') {\n this.setState({\n data: updateIn(this.state.data, dataPath.concat(['items']), (items) => {\n const index = parseInt(prop)\n const updatedItems = items.slice(0)\n const original = items[index]\n const duplicate = cloneDeep(original)\n\n updatedItems.splice(index + 1, 0, duplicate)\n\n return updatedItems\n })\n })\n }\n else { // object.type === 'object'\n this.setState({\n data: updateIn(this.state.data, dataPath.concat(['props']), (props) => {\n const index = props.findIndex(p => p.name === prop)\n const updated = props.slice(0)\n const original = props[index]\n const duplicate = cloneDeep(original)\n\n updated.splice(index + 1, 0, duplicate)\n\n return updated\n })\n })\n }\n }\n\n handleRemove (path, prop) {\n console.log('handleRemove', path)\n\n const object = getIn(this.state.data, toDataPath(this.state.data, path))\n\n if (object.type === 'array') {\n const dataPath = toDataPath(this.state.data, path.concat(prop))\n\n this.setState({\n data: deleteIn(this.state.data, dataPath)\n })\n }\n else { // object.type === 'object'\n const dataPath = toDataPath(this.state.data, path.concat(prop))\n\n dataPath.pop() // remove the 'value' property, we want to remove the whole object property\n this.setState({\n data: deleteIn(this.state.data, dataPath)\n })\n }\n }\n\n /**\n * Order the items of an array or the properties of an object in ascending\n * or descending order\n * @param {Array.<string | number>} path\n * @param {'asc' | 'desc' | null} [order=null] If not provided, will toggle current ordering\n */\n handleSort (path, order = null) {\n console.log('handleSort', path, order)\n\n const dataPath = toDataPath(this.state.data, path)\n const object = getIn(this.state.data, dataPath)\n\n let _order\n if (order === 'asc' || order === 'desc') {\n _order = order\n }\n else {\n // toggle previous order\n _order = object.order !== 'asc' ? 'asc' : 'desc'\n\n this.setState({\n data: setIn(this.state.data, dataPath.concat(['order']), _order)\n })\n }\n\n if (object.type === 'array') {\n this.setState({\n data: updateIn(this.state.data, dataPath.concat(['items']), (items) =>{\n const ordered = items.slice(0)\n const compare = _order === 'desc' ? compareDesc : compareAsc\n\n ordered.sort((a, b) => compare(a.value, b.value))\n\n return ordered\n })\n })\n }\n else { // object.type === 'object'\n this.setState({\n data: updateIn(this.state.data, dataPath.concat(['props']), (props) => {\n const orderedProps = props.slice(0)\n const compare = _order === 'desc' ? compareDesc : compareAsc\n\n orderedProps.sort((a, b) => compare(a.name, b.name))\n\n return orderedProps\n })\n })\n }\n }\n\n handleExpand(path, expand) {\n console.log('handleExpand', path, expand)\n\n const dataPath = toDataPath(this.state.data, path)\n\n this.setState({\n data: setIn(this.state.data, dataPath.concat(['expanded']), expand)\n })\n }\n\n /**\n * Set JSON object in editor\n * @param {Object | Array | string | number | boolean | null} json JSON data\n * @param {SetOptions} [options]\n */\n set (json, options = {}) {\n this.setState({\n options: setIn(this.state.options, ['name'], options && options.name || null),\n\n data: jsonToData([], json, options.expand || TreeMode.expand)\n })\n }\n\n /**\n * Get JSON from the editor\n * @returns {Object | Array | string | number | boolean | null} json\n */\n get () {\n return dataToJson(this.state.data)\n }\n\n // TODO: implement expand\n // TODO: implement getText and setText\n\n /**\n * Default function to determine whether or not to expand a node initially\n *\n * Rule: expand the root node only\n *\n * @param {Array.<string | number>} path\n * @return {boolean}\n */\n static expand (path) {\n return path.length === 0\n }\n\n}\n\n/**\n * Convert a path of a JSON object into a path in the corresponding data model\n * @param {Data} data\n * @param {Array.<string | number>} path\n * @return {Array.<string | number>} dataPath\n * @private\n */\nfunction toDataPath (data, path) {\n if (path.length === 0) {\n return []\n }\n\n let index\n if (data.type === 'array') {\n // index of an array\n index = path[0]\n\n return ['items', index].concat(toDataPath(data.items[index], path.slice(1)))\n }\n else {\n // object property. find the index of this property\n index = data.props.findIndex(prop => prop.name === path[0])\n\n return ['props', index, 'value'].concat(toDataPath(data.props[index].value, path.slice(1)))\n }\n}\n\n/**\n * Convert a JSON object into the internally used data model\n * @param {Array.<string | number>} path\n * @param {Object | Array | string | number | boolean | null} json\n * @param {function(path: Array.<string | number>)} expand\n * @return {Data}\n */\nfunction jsonToData (path, json, expand) {\n if (Array.isArray(json)) {\n return {\n type: 'array',\n expanded: expand(path),\n items: json.map((child, index) => jsonToData(path.concat(index), child, expand))\n }\n }\n else if (isObject(json)) {\n return {\n type: 'object',\n expanded: expand(path),\n props: Object.keys(json).map(name => {\n return {\n name,\n value: jsonToData(path.concat(name), json[name], expand)\n }\n })\n }\n }\n else {\n return {\n type: 'value',\n value: json\n }\n }\n}\n\n/**\n * Convert the internal data model to a regular JSON object\n * @param {Data} data\n * @return {Object | Array | string | number | boolean | null} json\n */\nfunction dataToJson (data) {\n switch (data.type) {\n case 'array':\n return data.items.map(dataToJson)\n\n case 'object':\n const object = {}\n\n data.props.forEach(prop => {\n object[prop.name] = dataToJson(prop.value)\n })\n\n return object\n\n default: // type 'string' or 'value'\n return data.value\n }\n}\n\n\n/**\n * Create a new data entry\n * @param {'object' | 'array' | 'value' | 'string'} [type='value']\n * @return {*}\n */\nfunction createDataEntry (type) {\n if (type === 'array') {\n return {\n type,\n expanded: true,\n items: []\n }\n }\n else if (type === 'object') {\n return {\n type,\n expanded: true,\n props: []\n }\n }\n else {\n return {\n type,\n value: ''\n }\n }\n}\n\n/**\n * Convert an entry into a different type. When possible, data is retained\n * @param {Data} entry\n * @param {'object' | 'array' | 'value' | 'string'} type\n */\nfunction convertDataEntry (entry, type) {\n const convertedEntry = createDataEntry(type)\n\n // convert contents from old value to new value where possible\n if (type === 'value' && entry.type === 'string') {\n convertedEntry.value = stringConvert(entry.value)\n }\n\n if (type === 'string' && entry.type === 'value') {\n convertedEntry.value = entry.value + ''\n }\n\n if (type === 'object' && entry.type === 'array') {\n convertedEntry.props = entry.items.map((item, index) => {\n return {\n name: index + '',\n value: item\n }\n })\n }\n\n if (type === 'array' && entry.type === 'object') {\n convertedEntry.items = entry.props.map(prop => prop.value)\n }\n\n return convertedEntry\n}\n\n\n/** WEBPACK FOOTER **\n ** ./src/TreeMode.js\n **/","import { isObject } from './typeUtils'\n\n\n// inspiration:\n//\n// https://www.npmjs.com/package/seamless-immutable\n// https://www.npmjs.com/package/ih\n// https://www.npmjs.com/package/mutatis\n\n// TODO: unit test clone\n\n/**\n * Flat clone the properties of an object or array\n * @param {Object | Array} value\n * @return {Object | Array} Returns a flat clone of the object or Array\n */\nexport function clone (value) {\n if (Array.isArray(value)) {\n return value.slice(0)\n }\n else if (isObject(value)) {\n const cloned = {}\n\n Object.keys(value).forEach(key => {\n cloned[key] = value[key]\n })\n\n return cloned\n }\n else {\n // a primitive value\n return value\n }\n}\n\n// TODO: test cloneDeep\n\n/**\n * Deep clone the properties of an object or array\n * @param {Object | Array} value\n * @return {Object | Array} Returns a deep clone of the object or Array\n */\nexport function cloneDeep (value) {\n if (Array.isArray(value)) {\n return value.map(cloneDeep)\n }\n else if (isObject(value)) {\n const cloned = {}\n\n Object.keys(value).forEach(key => {\n cloned[key] = cloneDeep(value[key])\n })\n\n return cloned\n }\n else {\n // a primitive value\n return value\n }\n}\n\n// TODO: unit test getIn\n\n/**\n * helper function to get a nested property in an object or array\n *\n * @param {Object | Array} object\n * @param {Array.<string | number>} path\n * @return {* | undefined} Returns the field when found, or undefined when the\n * path doesn't exist\n */\nexport function getIn (object, path) {\n let value = object\n let i = 0\n\n while(i < path.length) {\n if (Array.isArray(value) || isObject(value)) {\n value = value[path[i]]\n }\n else {\n value = undefined\n }\n\n i++\n }\n\n return value\n}\n\n// TODO: unit test setIn\n\n/**\n * helper function to replace a nested property in an object with a new value\n * without mutating the object itself.\n *\n * @param {Object | Array} object\n * @param {Array.<string | number>} path\n * @param {*} value\n * @return {Object | Array} Returns a new, updated object or array\n */\nexport function setIn (object, path, value) {\n if (path.length === 0) {\n return value\n }\n\n const key = path[0]\n let updated\n if (typeof key === 'string' && !isObject(object)) {\n updated = {} // change into an object\n }\n else if (typeof key === 'number' && !Array.isArray(object)) {\n updated = [] // change into an array\n }\n else {\n updated = clone(object)\n }\n\n updated[key] = setIn(updated[key], path.slice(1), value)\n\n return updated\n}\n\n// TODO: unit test updateIn\n\n/**\n * helper function to replace a nested property in an object with a new value\n * without mutating the object itself.\n *\n * @param {Object | Array} object\n * @param {Array.<string | number>} path\n * @param {function} callback\n * @return {Object | Array} Returns a new, updated object or array\n */\nexport function updateIn (object, path, callback) {\n if (path.length === 0) {\n return callback(object)\n }\n\n const key = path[0]\n let updated\n if (typeof key === 'string' && !isObject(object)) {\n updated = {} // change into an object\n }\n else if (typeof key === 'number' && !Array.isArray(object)) {\n updated = [] // change into an array\n }\n else {\n updated = clone(object)\n }\n\n updated[key] = updateIn(updated[key], path.slice(1), callback)\n\n return updated\n}\n\n// TODO: unit test deleteIn\n\n/**\n * helper function to delete a nested property in an object\n * without mutating the object itself.\n *\n * @param {Object | Array} object\n * @param {Array.<string | number>} path\n * @return {Object | Array} Returns a new, updated object or array\n */\nexport function deleteIn (object, path) {\n if (path.length === 0) {\n return object\n }\n\n if (path.length === 1) {\n const key = path[0]\n const updated = clone(object)\n if (Array.isArray(updated)) {\n updated.splice(key, 1)\n }\n else {\n delete updated[key]\n }\n\n return updated\n }\n\n const key = path[0]\n const child = object[key]\n if (Array.isArray(child) || isObject(child)) {\n const updated = clone(object)\n updated[key] = deleteIn(child, path.slice(1))\n return updated\n }\n else {\n // child property doesn't exist. just do nothing\n return object\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./src/utils/objectUtils.js\n **/","\n/**\n * Get the type of a value\n * @param {*} value\n * @return {String} type\n */\nexport function valueType(value) {\n if (value === null) {\n return 'null'\n }\n if (value === undefined) {\n return 'undefined'\n }\n if (typeof value === 'number') {\n return 'number'\n }\n if (typeof value === 'string') {\n return 'string'\n }\n if (typeof value === 'boolean') {\n return 'boolean'\n }\n if (value instanceof RegExp) {\n return 'regexp'\n }\n if (Array.isArray(value)) {\n return 'array'\n }\n\n return 'object'\n}\n\n/**\n * Test whether a value is an object (and not an Array or Date or primitive value)\n *\n * @param {*} value\n * @return {boolean}\n */\nexport function isObject (value) {\n return typeof value === 'object' &&\n value && // not null\n !Array.isArray(value) &&\n value.toString() === '[object Object]'\n}\n\n/**\n * Test whether a text contains a url (matches when a string starts\n * with 'http://*' or 'https://*' and has no whitespace characters)\n * @param {String} text\n */\nvar isUrlRegex = /^https?:\\/\\/\\S+$/\nexport function isUrl (text) {\n return (typeof text === 'string') && isUrlRegex.test(text)\n}\n\n/**\n * Convert contents of a string to the correct JSON type. This can be a string,\n * a number, a boolean, etc\n * @param {String} str\n * @return {*} castedStr\n * @private\n */\nexport function stringConvert (str) {\n const num = Number(str) // will nicely fail with '123ab'\n const numFloat = parseFloat(str) // will nicely fail with ' '\n\n if (str == '') {\n return ''\n }\n else if (str == 'null') {\n return null\n }\n else if (str == 'true') {\n return true\n }\n else if (str == 'false') {\n return false\n }\n else if (!isNaN(num) && !isNaN(numFloat)) {\n return num\n }\n else {\n return str\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./src/utils/typeUtils.js\n **/","/**\n * Returns the last item of an array\n * @param {Array} array\n * @return {*}\n */\nexport function last (array) {\n return array[array.length - 1]\n}\n\n/**\n * Comparator to sort an array in ascending order\n *\n * Usage:\n * [4,2,5].sort(compareAsc) // [2,4,5]\n *\n * @param a\n * @param b\n * @return {number}\n */\nexport function compareAsc (a, b) {\n return a > b ? 1 : a < b ? -1 : 0\n}\n\n/**\n * Comparator to sort an array in ascending order\n *\n * Usage:\n * [4,2,5].sort(compareDesc) // [5,4,2]\n *\n * @param a\n * @param b\n * @return {number}\n */\nexport function compareDesc (a, b) {\n return a > b ? -1 : a < b ? 1 : 0\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./src/utils/arrayUtils.js\n **/","/**\n * Helper function to bind all methods of a class instance to the instance\n *\n * Usage:\n *\n * import bindMethods from './bindMethods'\n *\n * class MyClass {\n * constructor () {\n * bindMethods(this)\n * }\n *\n * myMethod () {\n * // ...\n * }\n * }\n *\n * @param {Object} instance Instance of an ES6 class or prototype\n */\nexport default function bindMethods (instance) {\n const prototype = Object.getPrototypeOf(instance)\n\n Object.getOwnPropertyNames(prototype).forEach(name => {\n if (typeof instance[name] === 'function') {\n instance[name] = instance[name].bind(instance);\n }\n })\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./src/utils/bindMethods.js\n **/","import { h, Component } from 'preact'\n\nimport ContextMenu from './ContextMenu'\nimport { escapeHTML, unescapeHTML } from './utils/stringUtils'\nimport { last } from './utils/arrayUtils'\nimport { getInnerText } from './utils/domUtils'\nimport {stringConvert, valueType, isUrl} from './utils/typeUtils'\n\n// TYPE_TITLES with explanation for the different types\nconst TYPE_TITLES = {\n 'value': 'Item type \"value\". ' +\n 'The item type is automatically determined from the value ' +\n 'and can be a string, number, boolean, or null.',\n 'object': 'Item type \"object\". ' +\n 'An object contains an unordered set of key/value pairs.',\n 'array': 'Item type \"array\". ' +\n 'An array contains an ordered collection of values.',\n 'string': 'Item type \"string\". ' +\n 'Item type is not determined from the value, ' +\n 'but always returned as string.'\n};\n\n/**\n * @type {JSONNode | null} activeContextMenu singleton holding the JSONNode having\n * the active (visible) context menu\n */\nlet activeContextMenu = null\n\nexport default class JSONNode extends Component {\n // TODO: define propTypes\n\n constructor (props) {\n super(props)\n\n this.state = {\n menu: null, // context menu\n appendMenu: null, // append context menu (used in placeholder of empty object/array)\n }\n\n // TODO: use function bindMethods(this). Gives issues for some reason, we lose focus whilst typing\n this.handleChangeProperty = this.handleChangeProperty.bind(this)\n this.handleChangeValue = this.handleChangeValue.bind(this)\n this.handleClickValue = this.handleClickValue.bind(this)\n this.handleKeyDownValue = this.handleKeyDownValue.bind(this)\n this.handleExpand = this.handleExpand.bind(this)\n this.handleContextMenu = this.handleContextMenu.bind(this)\n this.handleAppendContextMenu = this.handleAppendContextMenu.bind(this)\n }\n\n render (props) {\n if (props.data.type === 'array') {\n return this.renderJSONArray(props)\n }\n else if (props.data.type === 'object') {\n return this.renderJSONObject(props)\n }\n else {\n return this.renderJSONValue(props)\n }\n }\n\n renderJSONObject ({prop, data, options, events}) {\n const childCount = data.props.length\n const contents = [\n h('div', {class: 'jsoneditor-node jsoneditor-object'}, [\n this.renderExpandButton(),\n this.renderContextMenuButton(),\n this.renderProperty(prop, data, options),\n this.renderReadonly(`{${childCount}}`, `Array containing ${childCount} items`)\n ])\n ]\n\n if (data.expanded) {\n const props = data.props.map(prop => {\n return h(JSONNode, {\n parent: this,\n prop: prop.name,\n data: prop.value,\n options,\n events\n })\n })\n\n if (props.length === 0) {\n props.push(this.renderAppend('(empty object)'))\n }\n\n contents.push(h('ul', {class: 'jsoneditor-list'}, props))\n }\n\n return h('li', {}, contents)\n }\n\n renderJSONArray ({prop, data, options, events}) {\n const childCount = data.items.length\n const contents = [\n h('div', {class: 'jsoneditor-node jsoneditor-array'}, [\n this.renderExpandButton(),\n this.renderContextMenuButton(),\n this.renderProperty(prop, data, options),\n this.renderReadonly(`[${childCount}]`, `Array containing ${childCount} items`)\n ])\n ]\n\n if (data.expanded) {\n const items = data.items.map((child, index) => {\n return h(JSONNode, {\n parent: this,\n prop: index,\n data: child,\n options,\n events\n })\n })\n\n if (items.length === 0) {\n items.push(this.renderAppend('(empty array)'))\n }\n\n contents.push(h('ul', {class: 'jsoneditor-list'}, items))\n }\n\n return h('li', {}, contents)\n }\n\n renderJSONValue ({prop, data, options}) {\n return h('li', {}, [\n h('div', {class: 'jsoneditor-node'}, [\n this.renderPlaceholder(),\n this.renderContextMenuButton(),\n this.renderProperty(prop, data, options),\n this.renderSeparator(),\n this.renderValue(data.value)\n ])\n ])\n }\n\n /**\n * Render contents for an empty object or array\n * @param {string} text\n * @return {*}\n */\n renderAppend (text) {\n return h('li', {}, [\n h('div', {class: 'jsoneditor-node'}, [\n this.renderPlaceholder(),\n this.renderAppendContextMenuButton(),\n this.renderReadonly(text)\n ])\n ])\n }\n\n renderPlaceholder () {\n return h('div', {class: 'jsoneditor-button-placeholder'})\n }\n\n renderReadonly (text, title = null) {\n return h('div', {class: 'jsoneditor-readonly', title}, text)\n }\n\n renderProperty (prop, data, options) {\n if (prop !== null) {\n const isIndex = typeof prop === 'number'\n\n if (isIndex) { // array item\n return h('div', {\n class: 'jsoneditor-property jsoneditor-readonly',\n spellCheck: 'false'\n }, prop)\n }\n else { // object property\n return h('div', {\n class: 'jsoneditor-property',\n contentEditable: 'true',\n spellCheck: 'false',\n onInput: this.handleChangeProperty\n }, prop)\n }\n }\n else {\n // root node\n const content = JSONNode._rootName(data, options)\n\n return h('div', {\n class: 'jsoneditor-property jsoneditor-readonly',\n spellCheck: 'false',\n onInput: this.handleChangeProperty\n }, content)\n }\n }\n\n renderSeparator() {\n return h('div', {class: 'jsoneditor-separator'}, ':')\n }\n\n renderValue (value) {\n const type = valueType (value)\n const _isUrl = isUrl(value)\n const valueClass = 'jsoneditor-value jsoneditor-' + type + (_isUrl ? ' jsoneditor-url' : '')\n\n return h('div', {\n class: valueClass,\n contentEditable: 'true',\n spellCheck: 'false',\n onInput: this.handleChangeValue,\n onClick: this.handleClickValue,\n onKeyDown: this.handleKeyDownValue,\n title: _isUrl ? 'Ctrl+Click or ctrl+Enter to open url' : null\n }, escapeHTML(value))\n }\n\n renderExpandButton () {\n const className = `jsoneditor-button jsoneditor-${this.props.data.expanded ? 'expanded' : 'collapsed'}`\n return h('div', {class: 'jsoneditor-button-container'},\n h('button', {class: className, onClick: this.handleExpand})\n )\n }\n\n renderContextMenuButton () {\n const className = 'jsoneditor-button jsoneditor-contextmenu' +\n (this.state.menu ? ' jsoneditor-visible' : '')\n\n return h('div', {class: 'jsoneditor-button-container'}, [\n this.renderContextMenu(this.state.menu),\n h('button', {class: className, onClick: this.handleContextMenu})\n ])\n }\n\n renderAppendContextMenuButton () {\n const className = 'jsoneditor-button jsoneditor-contextmenu' +\n (this.state.appendMenu ? ' jsoneditor-visible' : '')\n\n return h('div', {class: 'jsoneditor-button-container'}, [\n this.renderAppendContextMenu(),\n h('button', {class: className, onClick: this.handleAppendContextMenu})\n ])\n }\n\n renderContextMenu () {\n if (!this.state.menu) {\n return null\n }\n\n const {anchor, root} = this.state.menu\n const path = this.getPath()\n const hasParent = this.props.parent !== null\n const type = this.props.data.type\n const events = this.props.events\n const items = [] // array with menu items\n\n items.push({\n text: 'Type',\n title: 'Change the type of this field',\n className: 'jsoneditor-type-' + type,\n submenu: [\n {\n text: 'Value',\n className: 'jsoneditor-type-value' + (type == 'value' ? ' jsoneditor-selected' : ''),\n title: TYPE_TITLES.value,\n click: () => events.onChangeType(path, 'value')\n },\n {\n text: 'Array',\n className: 'jsoneditor-type-array' + (type == 'array' ? ' jsoneditor-selected' : ''),\n title: TYPE_TITLES.array,\n click: () => events.onChangeType(path, 'array')\n },\n {\n text: 'Object',\n className: 'jsoneditor-type-object' + (type == 'object' ? ' jsoneditor-selected' : ''),\n title: TYPE_TITLES.object,\n click: () => events.onChangeType(path, 'object')\n },\n {\n text: 'String',\n className: 'jsoneditor-type-string' + (type == 'string' ? ' jsoneditor-selected' : ''),\n title: TYPE_TITLES.string,\n click: () => events.onChangeType(path, 'string')\n }\n ]\n });\n\n if (type === 'array' || type === 'object') {\n var direction = ((this.sortOrder == 'asc') ? 'desc': 'asc');\n items.push({\n text: 'Sort',\n title: 'Sort the childs of this ' + TYPE_TITLES.type,\n className: 'jsoneditor-sort-' + direction,\n click: () => events.onSort(path),\n submenu: [\n {\n text: 'Ascending',\n className: 'jsoneditor-sort-asc',\n title: 'Sort the childs of this ' + TYPE_TITLES.type + ' in ascending order',\n click: () => events.onSort(path, 'asc')\n },\n {\n text: 'Descending',\n className: 'jsoneditor-sort-desc',\n title: 'Sort the childs of this ' + TYPE_TITLES.type +' in descending order',\n click: () => events.onSort(path, 'desc')\n }\n ]\n });\n }\n\n if (hasParent) {\n const parentPath = this.props.parent.getPath()\n const prop = this.props.prop\n\n if (items.length) {\n // create a separator\n items.push({\n 'type': 'separator'\n });\n }\n\n // create insert button\n items.push({\n text: 'Insert',\n title: 'Insert a new item with type \\'value\\' after this item (Ctrl+Ins)',\n submenuTitle: 'Select the type of the item to be inserted',\n className: 'jsoneditor-insert',\n click: () => events.onInsert(parentPath, prop, 'value'),\n submenu: [\n {\n text: 'Value',\n className: 'jsoneditor-type-value',\n title: TYPE_TITLES.value,\n click: () => events.onInsert(parentPath, prop,'value')\n },\n {\n text: 'Array',\n className: 'jsoneditor-type-array',\n title: TYPE_TITLES.array,\n click: () => events.onInsert(parentPath, prop, 'array')\n },\n {\n text: 'Object',\n className: 'jsoneditor-type-object',\n title: TYPE_TITLES.object,\n click: () => events.onInsert(parentPath, prop, 'object')\n },\n {\n text: 'String',\n className: 'jsoneditor-type-string',\n title: TYPE_TITLES.string,\n click: () => events.onInsert(parentPath, prop, 'string')\n }\n ]\n });\n\n // create duplicate button\n items.push({\n text: 'Duplicate',\n title: 'Duplicate this item (Ctrl+D)',\n className: 'jsoneditor-duplicate',\n click: () => events.onDuplicate(parentPath, prop)\n });\n\n // create remove button\n items.push({\n text: 'Remove',\n title: 'Remove this item (Ctrl+Del)',\n className: 'jsoneditor-remove',\n click: () => events.onRemove(parentPath, prop)\n });\n }\n\n // TODO: implement a hook to adjust the context menu\n\n return h(ContextMenu, {anchor, root, items})\n }\n\n renderAppendContextMenu () {\n if (!this.state.appendMenu) {\n return null\n }\n\n const {anchor, root} = this.state.appendMenu\n const path = this.getPath()\n const events = this.props.events\n const items = [] // array with menu items\n\n // create insert button\n items.push({\n text: 'Insert',\n title: 'Insert a new item with type \\'value\\' after this item (Ctrl+Ins)',\n submenuTitle: 'Select the type of the item to be inserted',\n className: 'jsoneditor-insert',\n click: () => events.onAppend(path, 'value'),\n submenu: [\n {\n text: 'Value',\n className: 'jsoneditor-type-value',\n title: TYPE_TITLES.value,\n click: () => events.onAppend(path, 'value')\n },\n {\n text: 'Array',\n className: 'jsoneditor-type-array',\n title: TYPE_TITLES.array,\n click: () => events.onAppend(path, 'array')\n },\n {\n text: 'Object',\n className: 'jsoneditor-type-object',\n title: TYPE_TITLES.object,\n click: () => events.onAppend(path, 'object')\n },\n {\n text: 'String',\n className: 'jsoneditor-type-string',\n title: TYPE_TITLES.string,\n click: () => events.onAppend(path, 'string')\n }\n ]\n });\n\n // TODO: implement a hook to adjust the context menu\n\n return h(ContextMenu, {anchor, root, items})\n }\n\n shouldComponentUpdate(nextProps, nextState) {\n let prop\n\n for (prop in nextProps) {\n if (nextProps.hasOwnProperty(prop) && this.props[prop] !== nextProps[prop]) {\n return true\n }\n }\n\n for (prop in nextState) {\n if (nextState.hasOwnProperty(prop) && this.state[prop] !== nextState[prop]) {\n return true\n }\n }\n\n return false\n }\n\n static _rootName (data, options) {\n return typeof options.name === 'string'\n ? options.name\n : (data.type === 'object' || data.type === 'array')\n ? data.type\n : valueType(data.value)\n }\n\n handleChangeProperty (event) {\n const parentPath = this.props.parent.getPath()\n const oldProp = this.props.prop\n const newProp = unescapeHTML(getInnerText(event.target))\n\n this.props.events.onChangeProperty(parentPath, oldProp, newProp)\n }\n\n handleChangeValue (event) {\n const value = this._getValueFromEvent(event)\n\n this.props.events.onChangeValue(this.getPath(), value)\n }\n\n handleClickValue (event) {\n if (event.ctrlKey && event.button === 0) { // Ctrl+Left click\n this._openLinkIfUrl(event)\n }\n }\n\n handleKeyDownValue (event) {\n if (event.ctrlKey && event.which === 13) { // Ctrl+Enter\n this._openLinkIfUrl(event)\n }\n }\n\n handleExpand (event) {\n this.props.events.onExpand(this.getPath(), !this.props.data.expanded)\n }\n\n handleContextMenu (event) {\n event.stopPropagation()\n\n if (this.state.menu) {\n // hide context menu\n JSONNode.hideContextMenu()\n }\n else {\n // hide any currently visible context menu\n JSONNode.hideContextMenu()\n\n // show context menu\n this.setState({\n menu: {\n anchor: event.target,\n root: JSONNode._findRootElement(event)\n }\n })\n activeContextMenu = this\n }\n }\n\n handleAppendContextMenu(event) {\n event.stopPropagation()\n\n if (this.state.appendMenu) {\n // hide append context menu\n JSONNode.hideContextMenu()\n }\n else {\n // hide any currently visible context menu\n JSONNode.hideContextMenu()\n\n // show append context menu\n this.setState({\n appendMenu: {\n anchor: event.target,\n root: JSONNode._findRootElement(event)\n }\n })\n activeContextMenu = this\n }\n }\n\n /**\n * Singleton function to hide the currently visible context menu if any.\n */\n static hideContextMenu () {\n if (activeContextMenu) {\n activeContextMenu.setState({\n menu: null,\n appendMenu: null\n })\n activeContextMenu = null\n }\n }\n\n /**\n * When this JSONNode holds an URL as value, open this URL in a new browser tab\n * @param event\n * @private\n */\n _openLinkIfUrl (event) {\n const value = this._getValueFromEvent(event)\n\n if (isUrl(value)) {\n event.preventDefault()\n event.stopPropagation()\n\n window.open(value, '_blank')\n }\n }\n\n /**\n * Get the path of this JSONNode\n * @return {Array.<string | number>}\n */\n getPath () {\n const path = this.props.parent\n ? this.props.parent.getPath()\n : []\n\n if (this.props.prop !== null) {\n path.push(this.props.prop)\n }\n\n return path\n }\n\n /**\n * Get the value of the target of an event, and convert it to it's type\n * @param event\n * @return {string | number | boolean | null}\n * @private\n */\n _getValueFromEvent (event) {\n const stringValue = unescapeHTML(getInnerText(event.target))\n return this.props.data.type === 'string'\n ? stringValue\n : stringConvert(stringValue)\n }\n\n /**\n * Find the root DOM element of the JSONEditor\n * Search is done based on the CSS class 'jsoneditor'\n * @param event\n * @return {*}\n * @private\n */\n static _findRootElement (event) {\n function isEditorElement (elem) {\n return elem.className.split(' ').indexOf('jsoneditor') !== -1\n }\n\n let elem = event.target\n while (elem) {\n if (isEditorElement(elem)) {\n return elem\n }\n\n elem = elem.parentNode\n }\n\n return null\n }\n\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./src/JSONNode.js\n **/","import { h, render, Component } from 'preact'\n\nexport let CONTEXT_MENU_HEIGHT = 240\n\nexport default class ContextMenu extends Component {\n constructor(props) {\n super(props)\n\n // determine orientation\n const anchorRect = this.props.anchor.getBoundingClientRect()\n const rootRect = this.props.root.getBoundingClientRect()\n const orientation = (rootRect.bottom - anchorRect.bottom < CONTEXT_MENU_HEIGHT &&\n anchorRect.top - rootRect.top > CONTEXT_MENU_HEIGHT)\n ? 'top'\n : 'bottom'\n\n this.state = {\n orientation,\n expanded: null, // menu index of expanded menu item\n expanding: null, // menu index of expanding menu item\n collapsing: null // menu index of collapsing menu item\n }\n\n this.renderMenuItem = this.renderMenuItem.bind(this)\n }\n \n render () {\n if (!this.props.items) {\n return null\n }\n\n // TODO: create a non-visible button to set the focus to the menu\n // TODO: implement (customizable) quick keys\n\n const className = 'jsoneditor-contextmenu ' +\n ((this.state.orientation === 'top') ? 'jsoneditor-contextmenu-top' : 'jsoneditor-contextmenu-bottom')\n\n return h('div', {class: className},\n this.props.items.map(this.renderMenuItem)\n )\n }\n\n renderMenuItem (item, index) {\n if (item.type === 'separator') {\n return h('div', {class: 'jsoneditor-menu-separator'})\n }\n\n if (item.click && item.submenu) {\n // two buttons: direct click and a small button to expand the submenu\n return h('div', {class: 'jsoneditor-menu-item'}, [\n h('button', {class: 'jsoneditor-menu-button jsoneditor-menu-default ' + item.className, title: item.title, onClick: item.click }, [\n h('span', {class: 'jsoneditor-icon'}),\n h('span', {class: 'jsoneditor-text'}, item.text)\n ]),\n h('button', {class: 'jsoneditor-menu-button jsoneditor-menu-expand', onClick: this.createExpandHandler(index) }, [\n h('span', {class: 'jsoneditor-icon jsoneditor-icon-expand'})\n ]),\n this.renderSubMenu(item.submenu, index)\n ])\n }\n else if (item.submenu) {\n // button expands the submenu\n return h('div', {class: 'jsoneditor-menu-item'}, [\n h('button', {class: 'jsoneditor-menu-button ' + item.className, title: item.title, onClick: this.createExpandHandler(index) }, [\n h('span', {class: 'jsoneditor-icon'}),\n h('span', {class: 'jsoneditor-text'}, item.text),\n h('span', {class: 'jsoneditor-icon jsoneditor-icon-expand'}),\n ]),\n this.renderSubMenu(item.submenu, index)\n ])\n }\n else {\n // just a button (no submenu)\n return h('div', {class: 'jsoneditor-menu-item'}, [\n h('button', {class: 'jsoneditor-menu-button ' + item.className, title: item.title, onClick: item.click }, [\n h('span', {class: 'jsoneditor-icon'}),\n h('span', {class: 'jsoneditor-text'}, item.text)\n ]),\n ])\n }\n }\n\n /**\n * @param {Array} submenu\n * @param {number} index\n */\n renderSubMenu (submenu, index) {\n const expanded = this.state.expanded === index\n const collapsing = this.state.collapsing === index\n\n const contents = submenu.map(item => {\n return h('div', {class: 'jsoneditor-menu-item'}, [\n h('button', {class: 'jsoneditor-menu-button ' + item.className, title: item.title, onClick: item.click }, [\n h('span', {class: 'jsoneditor-icon'}),\n h('span', {class: 'jsoneditor-text'}, item.text)\n ]),\n ])\n })\n\n const className = 'jsoneditor-submenu ' +\n (expanded ? ' jsoneditor-expanded' : '') +\n (collapsing ? ' jsoneditor-collapsing' : '')\n\n return h('div', {class: className}, contents)\n }\n\n createExpandHandler (index) {\n return (event) => {\n event.stopPropagation()\n\n const prev = this.state.expanded\n\n this.setState({\n expanded: (prev === index) ? null : index,\n collapsing: prev\n })\n\n // timeout after unit is collapsed\n setTimeout(() => {\n if (prev === this.state.collapsing) {\n this.setState({\n collapsing: null\n })\n }\n }, 300)\n }\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./src/ContextMenu.js\n **/","import { parseJSON } from './jsonUtils'\n\n/**\n * escape a text, such that it can be displayed safely in an HTML element\n * @param {String} text\n * @param {boolean} [escapeUnicode=false]\n * @return {String} escapedText\n */\nexport function escapeHTML (text, escapeUnicode = false) {\n if (typeof text !== 'string') {\n return String(text)\n }\n else {\n var htmlEscaped = String(text)\n .replace(/ /g, ' \\u00a0') // replace double space with an nbsp and space\n .replace(/^ /, '\\u00a0') // space at start\n .replace(/ $/, '\\u00a0') // space at end\n\n var json = JSON.stringify(htmlEscaped)\n var html = json.substring(1, json.length - 1)\n if (escapeUnicode === true) {\n html = escapeUnicodeChars(html)\n }\n return html\n }\n}\n\n/**\n * Escape unicode characters.\n * For example input '\\u2661' (length 1) will output '\\\\u2661' (length 5).\n * @param {string} text\n * @return {string}\n */\nfunction escapeUnicodeChars (text) {\n // see https://www.wikiwand.com/en/UTF-16\n // note: we leave surrogate pairs as two individual chars,\n // as JSON doesn't interpret them as a single unicode char.\n return text.replace(/[\\u007F-\\uFFFF]/g, function(c) {\n return '\\\\u'+('0000' + c.charCodeAt(0).toString(16)).slice(-4)\n })\n}\n\n/**\n * unescape a string.\n * @param {String} escapedText\n * @return {String} text\n */\nexport function unescapeHTML (escapedText) {\n var json = '\"' + escapeJSON(escapedText) + '\"'\n var htmlEscaped = parseJSON(json)\n\n return htmlEscaped.replace(/\\u00A0/g, ' ') // nbsp character\n}\n\n/**\n * escape a text to make it a valid JSON string. The method will:\n * - replace unescaped double quotes with '\\\"'\n * - replace unescaped backslash with '\\\\'\n * - replace returns with '\\n'\n * @param {String} text\n * @return {String} escapedText\n * @private\n */\nexport function escapeJSON (text) {\n // TODO: replace with some smart regex (only when a new solution is faster!)\n var escaped = ''\n var i = 0\n while (i < text.length) {\n var c = text.charAt(i)\n if (c == '\\n') {\n escaped += '\\\\n'\n }\n else if (c == '\\\\') {\n escaped += c\n i++\n\n c = text.charAt(i)\n if (c === '' || '\"\\\\/bfnrtu'.indexOf(c) == -1) {\n escaped += '\\\\' // no valid escape character\n }\n escaped += c\n }\n else if (c == '\"') {\n escaped += '\\\\\"'\n }\n else {\n escaped += c\n }\n i++\n }\n\n return escaped\n}\n\n\n/** WEBPACK FOOTER **\n ** ./src/utils/stringUtils.js\n **/","/**\n * Parse JSON using the parser built-in in the browser.\n * On exception, the jsonString is validated and a detailed error is thrown.\n * @param {String} jsonString\n * @return {JSON} json\n */\nexport function parseJSON(jsonString) {\n try {\n return JSON.parse(jsonString)\n }\n catch (err) {\n // try to throw a more detailed error message using validate\n validate(jsonString)\n\n // rethrow the original error\n throw err\n }\n}\n\n\n/**\n * Validate a string containing a JSON object\n * This method uses JSONLint to validate the String. If JSONLint is not\n * available, the built-in JSON parser of the browser is used.\n * @param {String} jsonString String with an (invalid) JSON object\n * @throws Error\n */\nexport function validate(jsonString) {\n if (typeof(window.jsonlint) !== 'undefined') {\n window.jsonlint.parse(jsonString)\n }\n else {\n JSON.parse(jsonString)\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./src/utils/jsonUtils.js\n **/","/**\n * Get the inner text of an HTML element (for example a div element)\n * @param {Element} element\n * @param {Object} [buffer]\n * @return {String} innerText\n */\nexport function getInnerText (element, buffer) {\n var first = (buffer == undefined)\n if (first) {\n buffer = {\n 'text': '',\n 'flush': function () {\n var text = this.text\n this.text = ''\n return text\n },\n 'set': function (text) {\n this.text = text\n }\n }\n }\n\n // text node\n if (element.nodeValue) {\n return buffer.flush() + element.nodeValue\n }\n\n // divs or other HTML elements\n if (element.hasChildNodes()) {\n var childNodes = element.childNodes\n var innerText = ''\n\n for (var i = 0, iMax = childNodes.length; i < iMax; i++) {\n var child = childNodes[i]\n\n if (child.nodeName == 'DIV' || child.nodeName == 'P') {\n var prevChild = childNodes[i - 1]\n var prevName = prevChild ? prevChild.nodeName : undefined\n if (prevName && prevName != 'DIV' && prevName != 'P' && prevName != 'BR') {\n innerText += '\\n'\n buffer.flush()\n }\n innerText += getInnerText(child, buffer)\n buffer.set('\\n')\n }\n else if (child.nodeName == 'BR') {\n innerText += buffer.flush()\n buffer.set('\\n')\n }\n else {\n innerText += getInnerText(child, buffer)\n }\n }\n\n return innerText\n }\n else {\n if (element.nodeName == 'P' && getInternetExplorerVersion() != -1) {\n // On Internet Explorer, a <p> with hasChildNodes()==false is\n // rendered with a new line. Note that a <p> with\n // hasChildNodes()==true is rendered without a new line\n // Other browsers always ensure there is a <br> inside the <p>,\n // and if not, the <p> does not render a new line\n return buffer.flush()\n }\n }\n\n // br or unknown\n return ''\n}\n\n/**\n * Returns the version of Internet Explorer or a -1\n * (indicating the use of another browser).\n * Source: http://msdn.microsoft.com/en-us/library/ms537509(v=vs.85).aspx\n * @return {Number} Internet Explorer version, or -1 in case of an other browser\n */\nexport function getInternetExplorerVersion() {\n if (_ieVersion == -1) {\n var rv = -1 // Return value assumes failure.\n if (navigator.appName == 'Microsoft Internet Explorer')\n {\n var ua = navigator.userAgent\n var re = new RegExp(\"MSIE ([0-9]{1,}[\\.0-9]{0,})\")\n if (re.exec(ua) != null) {\n rv = parseFloat( RegExp.$1 )\n }\n }\n\n _ieVersion = rv\n }\n\n return _ieVersion\n}\n\n/**\n * cached internet explorer version\n * @type {Number}\n * @private\n */\nvar _ieVersion = -1\n\n\n\n/** WEBPACK FOOTER **\n ** ./src/utils/domUtils.js\n **/","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!./../node_modules/css-loader/index.js!./../node_modules/less-loader/index.js!./jsoneditor.less\");\nif(typeof content === 'string') content = [[module.id, content, '']];\n// add the styles to the DOM\nvar update = require(\"!./../node_modules/style-loader/addStyles.js\")(content, {});\nif(content.locals) module.exports = content.locals;\n// Hot Module Replacement\nif(module.hot) {\n\t// When the styles change, update the <style> tags\n\tif(!content.locals) {\n\t\tmodule.hot.accept(\"!!./../node_modules/css-loader/index.js!./../node_modules/less-loader/index.js!./jsoneditor.less\", function() {\n\t\t\tvar newContent = require(\"!!./../node_modules/css-loader/index.js!./../node_modules/less-loader/index.js!./jsoneditor.less\");\n\t\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\t\t\tupdate(newContent);\n\t\t});\n\t}\n\t// When the module is disposed, remove the <style> tags\n\tmodule.hot.dispose(function() { update(); });\n}\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/style-loader!./~/css-loader!./~/less-loader!./src/jsoneditor.less\n ** module id = 14\n ** module chunks = 0\n **/","exports = module.exports = require(\"./../node_modules/css-loader/lib/css-base.js\")();\n// imports\n\n\n// module\nexports.push([module.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(\" + require(\"./img/jsoneditor-icons.svg\") + \")}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(\" + require(\"./img/jsoneditor-icons.svg\") + \")}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}\", \"\"]);\n\n// exports\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/css-loader!./~/less-loader!./src/jsoneditor.less\n ** module id = 15\n ** module chunks = 0\n **/","/*\r\n\tMIT License http://www.opensource.org/licenses/mit-license.php\r\n\tAuthor Tobias Koppers @sokra\r\n*/\r\n// css base code, injected by the css-loader\r\nmodule.exports = function() {\r\n\tvar list = [];\r\n\r\n\t// return the list of modules as css string\r\n\tlist.toString = function toString() {\r\n\t\tvar result = [];\r\n\t\tfor(var i = 0; i < this.length; i++) {\r\n\t\t\tvar item = this[i];\r\n\t\t\tif(item[2]) {\r\n\t\t\t\tresult.push(\"@media \" + item[2] + \"{\" + item[1] + \"}\");\r\n\t\t\t} else {\r\n\t\t\t\tresult.push(item[1]);\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn result.join(\"\");\r\n\t};\r\n\r\n\t// import a list of modules into the list\r\n\tlist.i = function(modules, mediaQuery) {\r\n\t\tif(typeof modules === \"string\")\r\n\t\t\tmodules = [[null, modules, \"\"]];\r\n\t\tvar alreadyImportedModules = {};\r\n\t\tfor(var i = 0; i < this.length; i++) {\r\n\t\t\tvar id = this[i][0];\r\n\t\t\tif(typeof id === \"number\")\r\n\t\t\t\talreadyImportedModules[id] = true;\r\n\t\t}\r\n\t\tfor(i = 0; i < modules.length; i++) {\r\n\t\t\tvar item = modules[i];\r\n\t\t\t// skip already imported module\r\n\t\t\t// this implementation is not 100% perfect for weird media query combinations\r\n\t\t\t// when a module is imported multiple times with different media queries.\r\n\t\t\t// I hope this will never occur (Hey this way we have smaller bundles)\r\n\t\t\tif(typeof item[0] !== \"number\" || !alreadyImportedModules[item[0]]) {\r\n\t\t\t\tif(mediaQuery && !item[2]) {\r\n\t\t\t\t\titem[2] = mediaQuery;\r\n\t\t\t\t} else if(mediaQuery) {\r\n\t\t\t\t\titem[2] = \"(\" + item[2] + \") and (\" + mediaQuery + \")\";\r\n\t\t\t\t}\r\n\t\t\t\tlist.push(item);\r\n\t\t\t}\r\n\t\t}\r\n\t};\r\n\treturn list;\r\n};\r\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/css-loader/lib/css-base.js\n ** module id = 16\n ** module chunks = 0\n **/","module.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\\\"\"\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./src/img/jsoneditor-icons.svg\n ** module id = 17\n ** module chunks = 0\n **/","/*\r\n\tMIT License http://www.opensource.org/licenses/mit-license.php\r\n\tAuthor Tobias Koppers @sokra\r\n*/\r\nvar stylesInDom = {},\r\n\tmemoize = function(fn) {\r\n\t\tvar memo;\r\n\t\treturn function () {\r\n\t\t\tif (typeof memo === \"undefined\") memo = fn.apply(this, arguments);\r\n\t\t\treturn memo;\r\n\t\t};\r\n\t},\r\n\tisOldIE = memoize(function() {\r\n\t\treturn /msie [6-9]\\b/.test(window.navigator.userAgent.toLowerCase());\r\n\t}),\r\n\tgetHeadElement = memoize(function () {\r\n\t\treturn document.head || document.getElementsByTagName(\"head\")[0];\r\n\t}),\r\n\tsingletonElement = null,\r\n\tsingletonCounter = 0,\r\n\tstyleElementsInsertedAtTop = [];\r\n\r\nmodule.exports = function(list, options) {\r\n\tif(typeof DEBUG !== \"undefined\" && DEBUG) {\r\n\t\tif(typeof document !== \"object\") throw new Error(\"The style-loader cannot be used in a non-browser environment\");\r\n\t}\r\n\r\n\toptions = options || {};\r\n\t// Force single-tag solution on IE6-9, which has a hard limit on the # of <style>\r\n\t// tags it will allow on a page\r\n\tif (typeof options.singleton === \"undefined\") options.singleton = isOldIE();\r\n\r\n\t// By default, add <style> tags to the bottom of <head>.\r\n\tif (typeof options.insertAt === \"undefined\") options.insertAt = \"bottom\";\r\n\r\n\tvar styles = listToStyles(list);\r\n\taddStylesToDom(styles, options);\r\n\r\n\treturn function update(newList) {\r\n\t\tvar mayRemove = [];\r\n\t\tfor(var i = 0; i < styles.length; i++) {\r\n\t\t\tvar item = styles[i];\r\n\t\t\tvar domStyle = stylesInDom[item.id];\r\n\t\t\tdomStyle.refs--;\r\n\t\t\tmayRemove.push(domStyle);\r\n\t\t}\r\n\t\tif(newList) {\r\n\t\t\tvar newStyles = listToStyles(newList);\r\n\t\t\taddStylesToDom(newStyles, options);\r\n\t\t}\r\n\t\tfor(var i = 0; i < mayRemove.length; i++) {\r\n\t\t\tvar domStyle = mayRemove[i];\r\n\t\t\tif(domStyle.refs === 0) {\r\n\t\t\t\tfor(var j = 0; j < domStyle.parts.length; j++)\r\n\t\t\t\t\tdomStyle.parts[j]();\r\n\t\t\t\tdelete stylesInDom[domStyle.id];\r\n\t\t\t}\r\n\t\t}\r\n\t};\r\n}\r\n\r\nfunction addStylesToDom(styles, options) {\r\n\tfor(var i = 0; i < styles.length; i++) {\r\n\t\tvar item = styles[i];\r\n\t\tvar domStyle = stylesInDom[item.id];\r\n\t\tif(domStyle) {\r\n\t\t\tdomStyle.refs++;\r\n\t\t\tfor(var j = 0; j < domStyle.parts.length; j++) {\r\n\t\t\t\tdomStyle.parts[j](item.parts[j]);\r\n\t\t\t}\r\n\t\t\tfor(; j < item.parts.length; j++) {\r\n\t\t\t\tdomStyle.parts.push(addStyle(item.parts[j], options));\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tvar parts = [];\r\n\t\t\tfor(var j = 0; j < item.parts.length; j++) {\r\n\t\t\t\tparts.push(addStyle(item.parts[j], options));\r\n\t\t\t}\r\n\t\t\tstylesInDom[item.id] = {id: item.id, refs: 1, parts: parts};\r\n\t\t}\r\n\t}\r\n}\r\n\r\nfunction listToStyles(list) {\r\n\tvar styles = [];\r\n\tvar newStyles = {};\r\n\tfor(var i = 0; i < list.length; i++) {\r\n\t\tvar item = list[i];\r\n\t\tvar id = item[0];\r\n\t\tvar css = item[1];\r\n\t\tvar media = item[2];\r\n\t\tvar sourceMap = item[3];\r\n\t\tvar part = {css: css, media: media, sourceMap: sourceMap};\r\n\t\tif(!newStyles[id])\r\n\t\t\tstyles.push(newStyles[id] = {id: id, parts: [part]});\r\n\t\telse\r\n\t\t\tnewStyles[id].parts.push(part);\r\n\t}\r\n\treturn styles;\r\n}\r\n\r\nfunction insertStyleElement(options, styleElement) {\r\n\tvar head = getHeadElement();\r\n\tvar lastStyleElementInsertedAtTop = styleElementsInsertedAtTop[styleElementsInsertedAtTop.length - 1];\r\n\tif (options.insertAt === \"top\") {\r\n\t\tif(!lastStyleElementInsertedAtTop) {\r\n\t\t\thead.insertBefore(styleElement, head.firstChild);\r\n\t\t} else if(lastStyleElementInsertedAtTop.nextSibling) {\r\n\t\t\thead.insertBefore(styleElement, lastStyleElementInsertedAtTop.nextSibling);\r\n\t\t} else {\r\n\t\t\thead.appendChild(styleElement);\r\n\t\t}\r\n\t\tstyleElementsInsertedAtTop.push(styleElement);\r\n\t} else if (options.insertAt === \"bottom\") {\r\n\t\thead.appendChild(styleElement);\r\n\t} else {\r\n\t\tthrow new Error(\"Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.\");\r\n\t}\r\n}\r\n\r\nfunction removeStyleElement(styleElement) {\r\n\tstyleElement.parentNode.removeChild(styleElement);\r\n\tvar idx = styleElementsInsertedAtTop.indexOf(styleElement);\r\n\tif(idx >= 0) {\r\n\t\tstyleElementsInsertedAtTop.splice(idx, 1);\r\n\t}\r\n}\r\n\r\nfunction createStyleElement(options) {\r\n\tvar styleElement = document.createElement(\"style\");\r\n\tstyleElement.type = \"text/css\";\r\n\tinsertStyleElement(options, styleElement);\r\n\treturn styleElement;\r\n}\r\n\r\nfunction createLinkElement(options) {\r\n\tvar linkElement = document.createElement(\"link\");\r\n\tlinkElement.rel = \"stylesheet\";\r\n\tinsertStyleElement(options, linkElement);\r\n\treturn linkElement;\r\n}\r\n\r\nfunction addStyle(obj, options) {\r\n\tvar styleElement, update, remove;\r\n\r\n\tif (options.singleton) {\r\n\t\tvar styleIndex = singletonCounter++;\r\n\t\tstyleElement = singletonElement || (singletonElement = createStyleElement(options));\r\n\t\tupdate = applyToSingletonTag.bind(null, styleElement, styleIndex, false);\r\n\t\tremove = applyToSingletonTag.bind(null, styleElement, styleIndex, true);\r\n\t} else if(obj.sourceMap &&\r\n\t\ttypeof URL === \"function\" &&\r\n\t\ttypeof URL.createObjectURL === \"function\" &&\r\n\t\ttypeof URL.revokeObjectURL === \"function\" &&\r\n\t\ttypeof Blob === \"function\" &&\r\n\t\ttypeof btoa === \"function\") {\r\n\t\tstyleElement = createLinkElement(options);\r\n\t\tupdate = updateLink.bind(null, styleElement);\r\n\t\tremove = function() {\r\n\t\t\tremoveStyleElement(styleElement);\r\n\t\t\tif(styleElement.href)\r\n\t\t\t\tURL.revokeObjectURL(styleElement.href);\r\n\t\t};\r\n\t} else {\r\n\t\tstyleElement = createStyleElement(options);\r\n\t\tupdate = applyToTag.bind(null, styleElement);\r\n\t\tremove = function() {\r\n\t\t\tremoveStyleElement(styleElement);\r\n\t\t};\r\n\t}\r\n\r\n\tupdate(obj);\r\n\r\n\treturn function updateStyle(newObj) {\r\n\t\tif(newObj) {\r\n\t\t\tif(newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap)\r\n\t\t\t\treturn;\r\n\t\t\tupdate(obj = newObj);\r\n\t\t} else {\r\n\t\t\tremove();\r\n\t\t}\r\n\t};\r\n}\r\n\r\nvar replaceText = (function () {\r\n\tvar textStore = [];\r\n\r\n\treturn function (index, replacement) {\r\n\t\ttextStore[index] = replacement;\r\n\t\treturn textStore.filter(Boolean).join('\\n');\r\n\t};\r\n})();\r\n\r\nfunction applyToSingletonTag(styleElement, index, remove, obj) {\r\n\tvar css = remove ? \"\" : obj.css;\r\n\r\n\tif (styleElement.styleSheet) {\r\n\t\tstyleElement.styleSheet.cssText = replaceText(index, css);\r\n\t} else {\r\n\t\tvar cssNode = document.createTextNode(css);\r\n\t\tvar childNodes = styleElement.childNodes;\r\n\t\tif (childNodes[index]) styleElement.removeChild(childNodes[index]);\r\n\t\tif (childNodes.length) {\r\n\t\t\tstyleElement.insertBefore(cssNode, childNodes[index]);\r\n\t\t} else {\r\n\t\t\tstyleElement.appendChild(cssNode);\r\n\t\t}\r\n\t}\r\n}\r\n\r\nfunction applyToTag(styleElement, obj) {\r\n\tvar css = obj.css;\r\n\tvar media = obj.media;\r\n\r\n\tif(media) {\r\n\t\tstyleElement.setAttribute(\"media\", media)\r\n\t}\r\n\r\n\tif(styleElement.styleSheet) {\r\n\t\tstyleElement.styleSheet.cssText = css;\r\n\t} else {\r\n\t\twhile(styleElement.firstChild) {\r\n\t\t\tstyleElement.removeChild(styleElement.firstChild);\r\n\t\t}\r\n\t\tstyleElement.appendChild(document.createTextNode(css));\r\n\t}\r\n}\r\n\r\nfunction updateLink(linkElement, obj) {\r\n\tvar css = obj.css;\r\n\tvar sourceMap = obj.sourceMap;\r\n\r\n\tif(sourceMap) {\r\n\t\t// http://stackoverflow.com/a/26603875\r\n\t\tcss += \"\\n/*# sourceMappingURL=data:application/json;base64,\" + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + \" */\";\r\n\t}\r\n\r\n\tvar blob = new Blob([css], { type: \"text/css\" });\r\n\r\n\tvar oldSrc = linkElement.href;\r\n\r\n\tlinkElement.href = URL.createObjectURL(blob);\r\n\r\n\tif(oldSrc)\r\n\t\tURL.revokeObjectURL(oldSrc);\r\n}\r\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/style-loader/addStyles.js\n ** module id = 18\n ** module chunks = 0\n **/"],"sourceRoot":""} |