diff --git a/package.json b/package.json index 24579849a..589a6a8db 100644 --- a/package.json +++ b/package.json @@ -22,10 +22,8 @@ "popper.js": "^1.12", "sql-formatter": "^2.3.1", "vue": "^2.5.7", - "vue-json-tree-view": "^2.1.4", - "vue-router": "^3.0.1" - }, - "dependencies": { - "md5": "^2.2.1" + "vue-router": "^3.0.1", + "md5": "^2.2.1", + "vue-json-pretty": "^1.4.1" } } diff --git a/public/app-dark.css b/public/app-dark.css index 274fcaba1..b48ca6b29 100644 --- a/public/app-dark.css +++ b/public/app-dark.css @@ -1,29 +1,31 @@ -.tree-view-wrapper .tree-view-item { - margin-left: 30px; +.vjs__tree .vjs__tree__content { + border-left: 1px dotted rgba(204, 204, 204, 0.28) !important; } -.tree-view-wrapper .tree-view-item-key { - color: #8bd72f; +.vjs__tree .vjs__tree__node { + cursor: pointer; } -.tree-view-wrapper .tree-view-item-key-with-chevron[data-v-efc5bae2]::before { - color: #fff !important; +.vjs__tree .vjs__tree__node:hover { + color: #20a0ff; } -.tree-view-wrapper .tree-view-item-value-string { - color: #DACB4D !important; +.vjs__tree .vjs-checkbox { + position: absolute; + left: -30px; } -.tree-view-wrapper .tree-view-item-value-null { +.vjs__tree .vjs__value__null { color: #A291F5 !important; } -.tree-view-wrapper .tree-view-item-value-boolean { +.vjs__tree .vjs__value__number, +.vjs__tree .vjs__value__boolean { color: #A291F5 !important; } -.tree-view-wrapper .tree-view-item-value-number { - color: #A291F5 !important; +.vjs__tree .vjs__value__string { + color: #DACB4D !important; } .hljs-keyword, @@ -2307,6 +2309,11 @@ pre code { opacity: 1; } +.form-control:-ms-input-placeholder { + color: #6c757d; + opacity: 1; +} + .form-control::-ms-input-placeholder { color: #6c757d; opacity: 1; diff --git a/public/app.css b/public/app.css index 067735150..b81c69955 100644 --- a/public/app.css +++ b/public/app.css @@ -1,29 +1,31 @@ -.tree-view-wrapper .tree-view-item { - margin-left: 30px; +.vjs__tree .vjs__tree__content { + border-left: 1px dotted rgba(204, 204, 204, 0.28) !important; } -.tree-view-wrapper .tree-view-item-key { - color: #8bd72f; +.vjs__tree .vjs__tree__node { + cursor: pointer; } -.tree-view-wrapper .tree-view-item-key-with-chevron[data-v-efc5bae2]::before { - color: #fff !important; +.vjs__tree .vjs__tree__node:hover { + color: #20a0ff; } -.tree-view-wrapper .tree-view-item-value-string { - color: #DACB4D !important; +.vjs__tree .vjs-checkbox { + position: absolute; + left: -30px; } -.tree-view-wrapper .tree-view-item-value-null { +.vjs__tree .vjs__value__null { color: #A291F5 !important; } -.tree-view-wrapper .tree-view-item-value-boolean { +.vjs__tree .vjs__value__number, +.vjs__tree .vjs__value__boolean { color: #A291F5 !important; } -.tree-view-wrapper .tree-view-item-value-number { - color: #A291F5 !important; +.vjs__tree .vjs__value__string { + color: #DACB4D !important; } .hljs-keyword, @@ -2307,6 +2309,11 @@ pre code { opacity: 1; } +.form-control:-ms-input-placeholder { + color: #6c757d; + opacity: 1; +} + .form-control::-ms-input-placeholder { color: #6c757d; opacity: 1; diff --git a/public/app.js b/public/app.js index 19225647f..99a0a6467 100644 --- a/public/app.js +++ b/public/app.js @@ -48084,10 +48084,10 @@ exports.clearImmediate = clearImmediate; /***/ }), -/***/ "./node_modules/vue-json-tree-view/dist/vue-json-tree-view.min.js": +/***/ "./node_modules/vue-json-pretty/vue-json-pretty.js": /***/ (function(module, exports, __webpack_require__) { -!function(t,n){ true?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.TreeView=n():t.TreeView=n()}(this,function(){return function(t){function n(r){if(e[r])return e[r].exports;var u=e[r]={i:r,l:!1,exports:{}};return t[r].call(u.exports,u,u.exports,n),u.l=!0,u.exports}var e={};return n.m=t,n.c=e,n.i=function(t){return t},n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="",n(n.s=10)}([function(t,n,e){(function(t,r){var u;(function(){function i(t,n){return t.set(n[0],n[1]),t}function o(t,n){return t.add(n),t}function a(t,n,e){switch(e.length){case 0:return t.call(n);case 1:return t.call(n,e[0]);case 2:return t.call(n,e[0],e[1]);case 3:return t.call(n,e[0],e[1],e[2])}return t.apply(n,e)}function f(t,n,e,r){for(var u=-1,i=null==t?0:t.length;++u-1}function v(t,n,e){for(var r=-1,u=null==t?0:t.length;++r-1;);return e}function W(t,n){for(var e=t.length;e--&&O(n,t[e],0)>-1;);return e}function B(t,n){for(var e=t.length,r=0;e--;)t[e]===n&&++r;return r}function M(t){return"\\"+Se[t]}function P(t,n){return null==t?ut:t[n]}function V(t){return me.test(t)}function F(t){return be.test(t)}function K(t){for(var n,e=[];!(n=t.next()).done;)e.push(n.value);return e}function q(t){var n=-1,e=Array(t.size);return t.forEach(function(t,r){e[++n]=[r,t]}),e}function Z(t,n){return function(e){return t(n(e))}}function G(t,n){for(var e=-1,r=t.length,u=0,i=[];++e>>1,Wt=[["ary",jt],["bind",_t],["bindKey",gt],["curry",mt],["curryRight",bt],["flip",kt],["partial",wt],["partialRight",xt],["rearg",Ot]],Bt="[object Arguments]",Mt="[object Array]",Pt="[object AsyncFunction]",Vt="[object Boolean]",Ft="[object Date]",Kt="[object DOMException]",qt="[object Error]",Zt="[object Function]",Gt="[object GeneratorFunction]",Jt="[object Map]",Ht="[object Number]",Yt="[object Null]",Xt="[object Object]",Qt="[object Proxy]",tn="[object RegExp]",nn="[object Set]",en="[object String]",rn="[object Symbol]",un="[object Undefined]",on="[object WeakMap]",an="[object WeakSet]",fn="[object ArrayBuffer]",cn="[object DataView]",ln="[object Float32Array]",sn="[object Float64Array]",hn="[object Int8Array]",pn="[object Int16Array]",vn="[object Int32Array]",dn="[object Uint8Array]",_n="[object Uint8ClampedArray]",gn="[object Uint16Array]",yn="[object Uint32Array]",mn=/\b__p \+= '';/g,bn=/\b(__p \+=) '' \+/g,wn=/(__e\(.*?\)|\b__t\)) \+\n'';/g,xn=/&(?:amp|lt|gt|quot|#39);/g,jn=/[&<>"']/g,On=RegExp(xn.source),kn=RegExp(jn.source),An=/<%-([\s\S]+?)%>/g,Cn=/<%([\s\S]+?)%>/g,Sn=/<%=([\s\S]+?)%>/g,Rn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,En=/^\w*$/,In=/^\./,zn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Tn=/[\\^$.*+?()[\]{}|]/g,Dn=RegExp(Tn.source),Ln=/^\s+|\s+$/g,Nn=/^\s+/,Un=/\s+$/,$n=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Wn=/\{\n\/\* \[wrapped with (.+)\] \*/,Bn=/,? & /,Mn=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Pn=/\\(\\)?/g,Vn=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Fn=/\w*$/,Kn=/^[-+]0x[0-9a-f]+$/i,qn=/^0b[01]+$/i,Zn=/^\[object .+?Constructor\]$/,Gn=/^0o[0-7]+$/i,Jn=/^(?:0|[1-9]\d*)$/,Hn=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Yn=/($^)/,Xn=/['\n\r\u2028\u2029\\]/g,Qn="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",te="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ne="["+te+"]",ee="["+Qn+"]",re="[a-z\\xdf-\\xf6\\xf8-\\xff]",ue="[^\\ud800-\\udfff"+te+"\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",ie="\\ud83c[\\udffb-\\udfff]",oe="(?:\\ud83c[\\udde6-\\uddff]){2}",ae="[\\ud800-\\udbff][\\udc00-\\udfff]",fe="[A-Z\\xc0-\\xd6\\xd8-\\xde]",ce="(?:"+re+"|"+ue+")",le="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",se="(?:\\u200d(?:"+["[^\\ud800-\\udfff]",oe,ae].join("|")+")[\\ufe0e\\ufe0f]?"+le+")*",he="[\\ufe0e\\ufe0f]?"+le+se,pe="(?:"+["[\\u2700-\\u27bf]",oe,ae].join("|")+")"+he,ve="(?:"+["[^\\ud800-\\udfff]"+ee+"?",ee,oe,ae,"[\\ud800-\\udfff]"].join("|")+")",de=RegExp("['’]","g"),_e=RegExp(ee,"g"),ge=RegExp(ie+"(?="+ie+")|"+ve+he,"g"),ye=RegExp([fe+"?"+re+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[ne,fe,"$"].join("|")+")","(?:[A-Z\\xc0-\\xd6\\xd8-\\xde]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[ne,fe+ce,"$"].join("|")+")",fe+"?"+ce+"+(?:['’](?:d|ll|m|re|s|t|ve))?",fe+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:(?:1ST|2ND|3RD|(?![123])\\dTH)\\b)","\\d*(?:(?:1st|2nd|3rd|(?![123])\\dth)\\b)","\\d+",pe].join("|"),"g"),me=RegExp("[\\u200d\\ud800-\\udfff"+Qn+"\\ufe0e\\ufe0f]"),be=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,we=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],xe=-1,je={};je[ln]=je[sn]=je[hn]=je[pn]=je[vn]=je[dn]=je[_n]=je[gn]=je[yn]=!0,je[Bt]=je[Mt]=je[fn]=je[Vt]=je[cn]=je[Ft]=je[qt]=je[Zt]=je[Jt]=je[Ht]=je[Xt]=je[tn]=je[nn]=je[en]=je[on]=!1;var Oe={};Oe[Bt]=Oe[Mt]=Oe[fn]=Oe[cn]=Oe[Vt]=Oe[Ft]=Oe[ln]=Oe[sn]=Oe[hn]=Oe[pn]=Oe[vn]=Oe[Jt]=Oe[Ht]=Oe[Xt]=Oe[tn]=Oe[nn]=Oe[en]=Oe[rn]=Oe[dn]=Oe[_n]=Oe[gn]=Oe[yn]=!0,Oe[qt]=Oe[Zt]=Oe[on]=!1;var ke={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},Ae={"&":"&","<":"<",">":">",'"':""","'":"'"},Ce={"&":"&","<":"<",">":">",""":'"',"'":"'"},Se={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Re=parseFloat,Ee=parseInt,Ie="object"==typeof t&&t&&t.Object===Object&&t,ze="object"==typeof self&&self&&self.Object===Object&&self,Te=Ie||ze||Function("return this")(),De="object"==typeof n&&n&&!n.nodeType&&n,Le=De&&"object"==typeof r&&r&&!r.nodeType&&r,Ne=Le&&Le.exports===De,Ue=Ne&&Ie.process,$e=function(){try{return Ue&&Ue.binding&&Ue.binding("util")}catch(t){}}(),We=$e&&$e.isArrayBuffer,Be=$e&&$e.isDate,Me=$e&&$e.isMap,Pe=$e&&$e.isRegExp,Ve=$e&&$e.isSet,Fe=$e&&$e.isTypedArray,Ke=S("length"),qe=R(ke),Ze=R(Ae),Ge=R(Ce),Je=function t(n){function e(t){if(of(t)&&!gh(t)&&!(t instanceof b)){if(t instanceof u)return t;if(gl.call(t,"__wrapped__"))return no(t)}return new u(t)}function r(){}function u(t,n){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!n,this.__index__=0,this.__values__=ut}function b(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Nt,this.__views__=[]}function R(){var t=new b(this.__wrapped__);return t.__actions__=Uu(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Uu(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Uu(this.__views__),t}function Y(){if(this.__filtered__){var t=new b(this);t.__dir__=-1,t.__filtered__=!0}else t=this.clone(),t.__dir__*=-1;return t}function nt(){var t=this.__wrapped__.value(),n=this.__dir__,e=gh(t),r=n<0,u=e?t.length:0,i=Ai(0,u,this.__views__),o=i.start,a=i.end,f=a-o,c=r?a:o-1,l=this.__iteratees__,s=l.length,h=0,p=Zl(f,this.__takeCount__);if(!e||!r&&u==f&&p==f)return yu(t,this.__actions__);var v=[];t:for(;f--&&h-1}function fe(t,n){var e=this.__data__,r=He(e,t);return r<0?(++this.size,e.push([t,n])):e[r][1]=n,this}function ce(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n=n?t:n)),t}function rr(t,n,e,r,u,i){var o,a=n&st,f=n&ht,l=n&pt;if(e&&(o=u?e(t,r,u,i):e(t)),o!==ut)return o;if(!uf(t))return t;var s=gh(t);if(s){if(o=Ri(t),!a)return Uu(t,o)}else{var h=Cs(t),p=h==Zt||h==Gt;if(mh(t))return ku(t,a);if(h==Xt||h==Bt||p&&!u){if(o=f||p?{}:Ei(t),!a)return f?Bu(t,Qe(o,t)):Wu(t,Xe(o,t))}else{if(!Oe[h])return u?t:{};o=Ii(t,h,rr,a)}}i||(i=new be);var v=i.get(t);if(v)return v;i.set(t,o);var d=l?f?yi:gi:f?Pf:Mf,_=s?ut:d(t);return c(_||t,function(r,u){_&&(u=r,r=t[u]),Ke(o,u,rr(r,n,e,u,t,i))}),o}function ur(t){var n=Mf(t);return function(e){return ir(e,t,n)}}function ir(t,n,e){var r=e.length;if(null==t)return!r;for(t=fl(t);r--;){var u=e[r],i=n[u],o=t[u];if(o===ut&&!(u in t)||!i(o))return!1}return!0}function or(t,n,e){if("function"!=typeof t)throw new sl(at);return Es(function(){t.apply(ut,e)},n)}function ar(t,n,e,r){var u=-1,i=p,o=!0,a=t.length,f=[],c=n.length;if(!a)return f;e&&(n=d(n,L(e))),r?(i=v,o=!1):n.length>=it&&(i=U,o=!1,n=new ge(n));t:for(;++uu?0:u+e),r=r===ut||r>u?u:jf(r),r<0&&(r+=u),r=e>r?0:Of(r);e0&&e(a)?n>1?hr(a,n-1,e,r,u):_(u,a):r||(u[u.length]=a)}return u}function pr(t,n){return t&&gs(t,n,Mf)}function vr(t,n){return t&&ys(t,n,Mf)}function dr(t,n){return h(n,function(n){return nf(t[n])})}function _r(t,n){n=ju(n,t);for(var e=0,r=n.length;null!=t&&en}function br(t,n){return null!=t&&gl.call(t,n)}function wr(t,n){return null!=t&&n in fl(t)}function xr(t,n,e){return t>=Zl(n,e)&&t=120&&l.length>=120)?new ge(o&&l):ut}l=t[0];var s=-1,h=a[0];t:for(;++s-1;)a!==t&&Il.call(a,f,1),Il.call(t,f,1);return t}function Xr(t,n){for(var e=t?n.length:0,r=e-1;e--;){var u=n[e];if(e==r||u!==i){var i=u;Di(u)?Il.call(t,u,1):du(t,u)}}return t}function Qr(t,n){return t+Bl(Hl()*(n-t+1))}function tu(t,n,e,r){for(var u=-1,i=ql(Wl((n-t)/(e||1)),0),o=rl(i);i--;)o[r?i:++u]=t,t+=e;return o}function nu(t,n){var e="";if(!t||n<1||n>Tt)return e;do{n%2&&(e+=t),(n=Bl(n/2))&&(t+=t)}while(n);return e}function eu(t,n){return Is(qi(t,n,Ic),t+"")}function ru(t){return De(tc(t))}function uu(t,n){var e=tc(t);return Yi(e,er(n,0,e.length))}function iu(t,n,e,r){if(!uf(t))return t;n=ju(n,t);for(var u=-1,i=n.length,o=i-1,a=t;null!=a&&++uu?0:u+n),e=e>u?u:e,e<0&&(e+=u),u=n>e?0:e-n>>>0,n>>>=0;for(var i=rl(u);++r>>1,o=t[i];null!==o&&!gf(o)&&(e?o<=n:o=it){var c=n?null:js(t);if(c)return J(c);o=!1,u=U,f=new ge}else f=n?[]:a;t:for(;++r=r?t:au(t,n,e)}function ku(t,n){if(n)return t.slice();var e=t.length,r=Cl?Cl(e):new t.constructor(e);return t.copy(r),r}function Au(t){var n=new t.constructor(t.byteLength);return new Al(n).set(new Al(t)),n}function Cu(t,n){var e=n?Au(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.byteLength)}function Su(t,n,e){return g(n?e(q(t),st):q(t),i,new t.constructor)}function Ru(t){var n=new t.constructor(t.source,Fn.exec(t));return n.lastIndex=t.lastIndex,n}function Eu(t,n,e){return g(n?e(J(t),st):J(t),o,new t.constructor)}function Iu(t){return hs?fl(hs.call(t)):{}}function zu(t,n){var e=n?Au(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.length)}function Tu(t,n){if(t!==n){var e=t!==ut,r=null===t,u=t===t,i=gf(t),o=n!==ut,a=null===n,f=n===n,c=gf(n);if(!a&&!c&&!i&&t>n||i&&o&&f&&!a&&!c||r&&o&&f||!e&&f||!u)return 1;if(!r&&!i&&!c&&t=a)return f;return f*("desc"==e[r]?-1:1)}}return t.index-n.index}function Lu(t,n,e,r){for(var u=-1,i=t.length,o=e.length,a=-1,f=n.length,c=ql(i-o,0),l=rl(f+c),s=!r;++a1?e[u-1]:ut,o=u>2?e[2]:ut;for(i=t.length>3&&"function"==typeof i?(u--,i):ut,o&&Li(e[0],e[1],o)&&(i=u<3?ut:i,u=1),n=fl(n);++r-1?u[i?n[o]:o]:ut}}function Yu(t){return _i(function(n){var e=n.length,r=e,i=u.prototype.thru;for(t&&n.reverse();r--;){var o=n[r];if("function"!=typeof o)throw new sl(at);if(i&&!a&&"wrapper"==mi(o))var a=new u([],!0)}for(r=a?r:e;++r1&&y.reverse(),s&&fa))return!1;var c=i.get(t);if(c&&i.get(n))return c==n;var l=-1,s=!0,h=e&dt?new ge:ut;for(i.set(t,n),i.set(n,t);++l1?"& ":"")+n[r],n=n.join(e>2?", ":" "),t.replace($n,"{\n/* [wrapped with "+n+"] */\n")}function Ti(t){return gh(t)||_h(t)||!!(zl&&t&&t[zl])}function Di(t,n){return!!(n=null==n?Tt:n)&&("number"==typeof t||Jn.test(t))&&t>-1&&t%1==0&&t0){if(++n>=St)return arguments[0]}else n=0;return t.apply(ut,arguments)}}function Yi(t,n){var e=-1,r=t.length,u=r-1;for(n=n===ut?r:n;++e=this.__values__.length;return{done:t,value:t?ut:this.__values__[this.__index__++]}}function ea(){return this}function ra(t){for(var n,e=this;e instanceof r;){var u=no(e);u.__index__=0,u.__values__=ut,n?i.__wrapped__=u:n=u;var i=u;e=e.__wrapped__}return i.__wrapped__=t,n}function ua(){var t=this.__wrapped__;if(t instanceof b){var n=t;return this.__actions__.length&&(n=new b(this)),n=n.reverse(),n.__actions__.push({func:Xo,args:[So],thisArg:ut}),new u(n,this.__chain__)}return this.thru(So)}function ia(){return yu(this.__wrapped__,this.__actions__)}function oa(t,n,e){var r=gh(t)?s:fr;return e&&Li(t,n,e)&&(n=ut),r(t,wi(n,3))}function aa(t,n){return(gh(t)?h:sr)(t,wi(n,3))}function fa(t,n){return hr(va(t,n),1)}function ca(t,n){return hr(va(t,n),zt)}function la(t,n,e){return e=e===ut?1:jf(e),hr(va(t,n),e)}function sa(t,n){return(gh(t)?c:ds)(t,wi(n,3))}function ha(t,n){return(gh(t)?l:_s)(t,wi(n,3))}function pa(t,n,e,r){t=qa(t)?t:tc(t),e=e&&!r?jf(e):0;var u=t.length;return e<0&&(e=ql(u+e,0)),_f(t)?e<=u&&t.indexOf(n,e)>-1:!!u&&O(t,n,e)>-1}function va(t,n){return(gh(t)?d:Mr)(t,wi(n,3))}function da(t,n,e,r){return null==t?[]:(gh(n)||(n=null==n?[]:[n]),e=r?ut:e,gh(e)||(e=null==e?[]:[e]),Zr(t,n,e))}function _a(t,n,e){var r=gh(t)?g:E,u=arguments.length<3;return r(t,wi(n,4),e,u,ds)}function ga(t,n,e){var r=gh(t)?y:E,u=arguments.length<3;return r(t,wi(n,4),e,u,_s)}function ya(t,n){return(gh(t)?h:sr)(t,za(wi(n,3)))}function ma(t){return(gh(t)?De:ru)(t)}function ba(t,n,e){return n=(e?Li(t,n,e):n===ut)?1:jf(n),(gh(t)?Le:uu)(t,n)}function wa(t){return(gh(t)?Ue:ou)(t)}function xa(t){if(null==t)return 0;if(qa(t))return _f(t)?Q(t):t.length;var n=Cs(t);return n==Jt||n==nn?t.size:$r(t).length}function ja(t,n,e){var r=gh(t)?m:fu;return e&&Li(t,n,e)&&(n=ut),r(t,wi(n,3))}function Oa(t,n){if("function"!=typeof n)throw new sl(at);return t=jf(t),function(){if(--t<1)return n.apply(this,arguments)}}function ka(t,n,e){return n=e?ut:n,n=t&&null==n?t.length:n,ci(t,jt,ut,ut,ut,ut,n)}function Aa(t,n){var e;if("function"!=typeof n)throw new sl(at);return t=jf(t),function(){return--t>0&&(e=n.apply(this,arguments)),t<=1&&(n=ut),e}}function Ca(t,n,e){n=e?ut:n;var r=ci(t,mt,ut,ut,ut,ut,ut,n);return r.placeholder=Ca.placeholder,r}function Sa(t,n,e){n=e?ut:n;var r=ci(t,bt,ut,ut,ut,ut,ut,n);return r.placeholder=Sa.placeholder,r}function Ra(t,n,e){function r(n){var e=h,r=p;return h=p=ut,y=n,d=t.apply(r,e)}function u(t){return y=t,_=Es(a,n),m?r(t):d}function i(t){var e=t-g,r=t-y,u=n-e;return b?Zl(u,v-r):u}function o(t){var e=t-g,r=t-y;return g===ut||e>=n||e<0||b&&r>=v}function a(){var t=ih();if(o(t))return f(t);_=Es(a,i(t))}function f(t){return _=ut,w&&h?r(t):(h=p=ut,d)}function c(){_!==ut&&xs(_),y=0,h=g=p=_=ut}function l(){return _===ut?d:f(ih())}function s(){var t=ih(),e=o(t);if(h=arguments,p=this,g=t,e){if(_===ut)return u(g);if(b)return _=Es(a,n),r(g)}return _===ut&&(_=Es(a,n)),d}var h,p,v,d,_,g,y=0,m=!1,b=!1,w=!0;if("function"!=typeof t)throw new sl(at);return n=kf(n)||0,uf(e)&&(m=!!e.leading,b="maxWait"in e,v=b?ql(kf(e.maxWait)||0,n):v,w="trailing"in e?!!e.trailing:w),s.cancel=c,s.flush=l,s}function Ea(t){return ci(t,kt)}function Ia(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw new sl(at);var e=function(){var r=arguments,u=n?n.apply(this,r):r[0],i=e.cache;if(i.has(u))return i.get(u);var o=t.apply(this,r);return e.cache=i.set(u,o)||i,o};return e.cache=new(Ia.Cache||ce),e}function za(t){if("function"!=typeof t)throw new sl(at);return function(){var n=arguments;switch(n.length){case 0:return!t.call(this);case 1:return!t.call(this,n[0]);case 2:return!t.call(this,n[0],n[1]);case 3:return!t.call(this,n[0],n[1],n[2])}return!t.apply(this,n)}}function Ta(t){return Aa(2,t)}function Da(t,n){if("function"!=typeof t)throw new sl(at);return n=n===ut?n:jf(n),eu(t,n)}function La(t,n){if("function"!=typeof t)throw new sl(at);return n=null==n?0:ql(jf(n),0),eu(function(e){var r=e[n],u=Ou(e,0,n);return r&&_(u,r),a(t,this,u)})}function Na(t,n,e){var r=!0,u=!0;if("function"!=typeof t)throw new sl(at);return uf(e)&&(r="leading"in e?!!e.leading:r,u="trailing"in e?!!e.trailing:u),Ra(t,n,{leading:r,maxWait:n,trailing:u})}function Ua(t){return ka(t,1)}function $a(t,n){return sh(xu(n),t)}function Wa(){if(!arguments.length)return[];var t=arguments[0];return gh(t)?t:[t]}function Ba(t){return rr(t,pt)}function Ma(t,n){return n="function"==typeof n?n:ut,rr(t,pt,n)}function Pa(t){return rr(t,st|pt)}function Va(t,n){return n="function"==typeof n?n:ut,rr(t,st|pt,n)}function Fa(t,n){return null==n||ir(t,n,Mf(n))}function Ka(t,n){return t===n||t!==t&&n!==n}function qa(t){return null!=t&&rf(t.length)&&!nf(t)}function Za(t){return of(t)&&qa(t)}function Ga(t){return!0===t||!1===t||of(t)&&yr(t)==Vt}function Ja(t){return of(t)&&1===t.nodeType&&!vf(t)}function Ha(t){if(null==t)return!0;if(qa(t)&&(gh(t)||"string"==typeof t||"function"==typeof t.splice||mh(t)||Oh(t)||_h(t)))return!t.length;var n=Cs(t);if(n==Jt||n==nn)return!t.size;if(Bi(t))return!$r(t).length;for(var e in t)if(gl.call(t,e))return!1;return!0}function Ya(t,n){return Rr(t,n)}function Xa(t,n,e){e="function"==typeof e?e:ut;var r=e?e(t,n):ut;return r===ut?Rr(t,n,ut,e):!!r}function Qa(t){if(!of(t))return!1;var n=yr(t);return n==qt||n==Kt||"string"==typeof t.message&&"string"==typeof t.name&&!vf(t)}function tf(t){return"number"==typeof t&&Vl(t)}function nf(t){if(!uf(t))return!1;var n=yr(t);return n==Zt||n==Gt||n==Pt||n==Qt}function ef(t){return"number"==typeof t&&t==jf(t)}function rf(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=Tt}function uf(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}function of(t){return null!=t&&"object"==typeof t}function af(t,n){return t===n||zr(t,n,ji(n))}function ff(t,n,e){return e="function"==typeof e?e:ut,zr(t,n,ji(n),e)}function cf(t){return pf(t)&&t!=+t}function lf(t){if(Ss(t))throw new il(ot);return Tr(t)}function sf(t){return null===t}function hf(t){return null==t}function pf(t){return"number"==typeof t||of(t)&&yr(t)==Ht}function vf(t){if(!of(t)||yr(t)!=Xt)return!1;var n=Sl(t);if(null===n)return!0;var e=gl.call(n,"constructor")&&n.constructor;return"function"==typeof e&&e instanceof e&&_l.call(e)==wl}function df(t){return ef(t)&&t>=-Tt&&t<=Tt}function _f(t){return"string"==typeof t||!gh(t)&&of(t)&&yr(t)==en}function gf(t){return"symbol"==typeof t||of(t)&&yr(t)==rn}function yf(t){return t===ut}function mf(t){return of(t)&&Cs(t)==on}function bf(t){return of(t)&&yr(t)==an}function wf(t){if(!t)return[];if(qa(t))return _f(t)?tt(t):Uu(t);if(Tl&&t[Tl])return K(t[Tl]());var n=Cs(t);return(n==Jt?q:n==nn?J:tc)(t)}function xf(t){if(!t)return 0===t?t:0;if((t=kf(t))===zt||t===-zt){return(t<0?-1:1)*Dt}return t===t?t:0}function jf(t){var n=xf(t),e=n%1;return n===n?e?n-e:n:0}function Of(t){return t?er(jf(t),0,Nt):0}function kf(t){if("number"==typeof t)return t;if(gf(t))return Lt;if(uf(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=uf(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(Ln,"");var e=qn.test(t);return e||Gn.test(t)?Ee(t.slice(2),e?2:8):Kn.test(t)?Lt:+t}function Af(t){return $u(t,Pf(t))}function Cf(t){return t?er(jf(t),-Tt,Tt):0===t?t:0}function Sf(t){return null==t?"":pu(t)}function Rf(t,n){var e=vs(t);return null==n?e:Xe(e,n)}function Ef(t,n){return x(t,wi(n,3),pr)}function If(t,n){return x(t,wi(n,3),vr)}function zf(t,n){return null==t?t:gs(t,wi(n,3),Pf)}function Tf(t,n){return null==t?t:ys(t,wi(n,3),Pf)}function Df(t,n){return t&&pr(t,wi(n,3))}function Lf(t,n){return t&&vr(t,wi(n,3))}function Nf(t){return null==t?[]:dr(t,Mf(t))}function Uf(t){return null==t?[]:dr(t,Pf(t))}function $f(t,n,e){var r=null==t?ut:_r(t,n);return r===ut?e:r}function Wf(t,n){return null!=t&&Si(t,n,br)}function Bf(t,n){return null!=t&&Si(t,n,wr)}function Mf(t){return qa(t)?ze(t):$r(t)}function Pf(t){return qa(t)?ze(t,!0):Wr(t)}function Vf(t,n){var e={};return n=wi(n,3),pr(t,function(t,r,u){tr(e,n(t,r,u),t)}),e}function Ff(t,n){var e={};return n=wi(n,3),pr(t,function(t,r,u){tr(e,r,n(t,r,u))}),e}function Kf(t,n){return qf(t,za(wi(n)))}function qf(t,n){if(null==t)return{};var e=d(yi(t),function(t){return[t]});return n=wi(n),Jr(t,e,function(t,e){return n(t,e[0])})}function Zf(t,n,e){n=ju(n,t);var r=-1,u=n.length;for(u||(u=1,t=ut);++rn){var r=t;t=n,n=r}if(e||t%1||n%1){var u=Hl();return Zl(t+u*(n-t+Re("1e-"+((u+"").length-1))),n)}return Qr(t,n)}function ic(t){return Hh(Sf(t).toLowerCase())}function oc(t){return(t=Sf(t))&&t.replace(Hn,qe).replace(_e,"")}function ac(t,n,e){t=Sf(t),n=pu(n);var r=t.length;e=e===ut?r:er(jf(e),0,r);var u=e;return(e-=n.length)>=0&&t.slice(e,u)==n}function fc(t){return t=Sf(t),t&&kn.test(t)?t.replace(jn,Ze):t}function cc(t){return t=Sf(t),t&&Dn.test(t)?t.replace(Tn,"\\$&"):t}function lc(t,n,e){t=Sf(t),n=jf(n);var r=n?Q(t):0;if(!n||r>=n)return t;var u=(n-r)/2;return ei(Bl(u),e)+t+ei(Wl(u),e)}function sc(t,n,e){t=Sf(t),n=jf(n);var r=n?Q(t):0;return n&&r>>0)?(t=Sf(t),t&&("string"==typeof n||null!=n&&!xh(n))&&!(n=pu(n))&&V(t)?Ou(tt(t),0,e):t.split(n,e)):[]}function gc(t,n,e){return t=Sf(t),e=null==e?0:er(jf(e),0,t.length),n=pu(n),t.slice(e,e+n.length)==n}function yc(t,n,r){var u=e.templateSettings;r&&Li(t,n,r)&&(n=ut),t=Sf(t),n=Rh({},n,u,li);var i,o,a=Rh({},n.imports,u.imports,li),f=Mf(a),c=N(a,f),l=0,s=n.interpolate||Yn,h="__p += '",p=cl((n.escape||Yn).source+"|"+s.source+"|"+(s===Sn?Vn:Yn).source+"|"+(n.evaluate||Yn).source+"|$","g"),v="//# sourceURL="+("sourceURL"in n?n.sourceURL:"lodash.templateSources["+ ++xe+"]")+"\n";t.replace(p,function(n,e,r,u,a,f){return r||(r=u),h+=t.slice(l,f).replace(Xn,M),e&&(i=!0,h+="' +\n__e("+e+") +\n'"),a&&(o=!0,h+="';\n"+a+";\n__p += '"),r&&(h+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),l=f+n.length,n}),h+="';\n";var d=n.variable;d||(h="with (obj) {\n"+h+"\n}\n"),h=(o?h.replace(mn,""):h).replace(bn,"$1").replace(wn,"$1;"),h="function("+(d||"obj")+") {\n"+(d?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(o?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var _=Yh(function(){return ol(f,v+"return "+h).apply(ut,c)});if(_.source=h,Qa(_))throw _;return _}function mc(t){return Sf(t).toLowerCase()}function bc(t){return Sf(t).toUpperCase()}function wc(t,n,e){if((t=Sf(t))&&(e||n===ut))return t.replace(Ln,"");if(!t||!(n=pu(n)))return t;var r=tt(t),u=tt(n);return Ou(r,$(r,u),W(r,u)+1).join("")}function xc(t,n,e){if((t=Sf(t))&&(e||n===ut))return t.replace(Un,"");if(!t||!(n=pu(n)))return t;var r=tt(t);return Ou(r,0,W(r,tt(n))+1).join("")}function jc(t,n,e){if((t=Sf(t))&&(e||n===ut))return t.replace(Nn,"");if(!t||!(n=pu(n)))return t;var r=tt(t);return Ou(r,$(r,tt(n))).join("")}function Oc(t,n){var e=At,r=Ct;if(uf(n)){var u="separator"in n?n.separator:u;e="length"in n?jf(n.length):e,r="omission"in n?pu(n.omission):r}t=Sf(t);var i=t.length;if(V(t)){var o=tt(t);i=o.length}if(e>=i)return t;var a=e-Q(r);if(a<1)return r;var f=o?Ou(o,0,a).join(""):t.slice(0,a);if(u===ut)return f+r;if(o&&(a+=f.length-a),xh(u)){if(t.slice(a).search(u)){var c,l=f;for(u.global||(u=cl(u.source,Sf(Fn.exec(u))+"g")),u.lastIndex=0;c=u.exec(l);)var s=c.index;f=f.slice(0,s===ut?a:s)}}else if(t.indexOf(pu(u),a)!=a){var h=f.lastIndexOf(u);h>-1&&(f=f.slice(0,h))}return f+r}function kc(t){return t=Sf(t),t&&On.test(t)?t.replace(xn,Ge):t}function Ac(t,n,e){return t=Sf(t),n=e?ut:n,n===ut?F(t)?rt(t):w(t):t.match(n)||[]}function Cc(t){var n=null==t?0:t.length,e=wi();return t=n?d(t,function(t){if("function"!=typeof t[1])throw new sl(at);return[e(t[0]),t[1]]}):[],eu(function(e){for(var r=-1;++rTt)return[];var e=Nt,r=Zl(t,Nt);n=wi(n),t-=Nt;for(var u=T(r,n);++e1?t[n-1]:ut;return e="function"==typeof e?(t.pop(),e):ut,Zo(t,e)}),Hs=_i(function(t){var n=t.length,e=n?t[0]:0,r=this.__wrapped__,i=function(n){return nr(n,t)};return!(n>1||this.__actions__.length)&&r instanceof b&&Di(e)?(r=r.slice(e,+e+(n?1:0)),r.__actions__.push({func:Xo,args:[i],thisArg:ut}),new u(r,this.__chain__).thru(function(t){return n&&!t.length&&t.push(ut),t})):this.thru(i)}),Ys=Mu(function(t,n,e){gl.call(t,e)?++t[e]:tr(t,e,1)}),Xs=Hu(lo),Qs=Hu(so),th=Mu(function(t,n,e){gl.call(t,e)?t[e].push(n):tr(t,e,[n])}),nh=eu(function(t,n,e){var r=-1,u="function"==typeof n,i=qa(t)?rl(t.length):[];return ds(t,function(t){i[++r]=u?a(n,t,e):kr(t,n,e)}),i}),eh=Mu(function(t,n,e){tr(t,e,n)}),rh=Mu(function(t,n,e){t[e?0:1].push(n)},function(){return[[],[]]}),uh=eu(function(t,n){if(null==t)return[];var e=n.length;return e>1&&Li(t,n[0],n[1])?n=[]:e>2&&Li(n[0],n[1],n[2])&&(n=[n[0]]),Zr(t,hr(n,1),[])}),ih=Ul||function(){return Te.Date.now()},oh=eu(function(t,n,e){var r=_t;if(e.length){var u=G(e,bi(oh));r|=wt}return ci(t,r,n,e,u)}),ah=eu(function(t,n,e){var r=_t|gt;if(e.length){var u=G(e,bi(ah));r|=wt}return ci(n,r,t,e,u)}),fh=eu(function(t,n){return or(t,1,n)}),ch=eu(function(t,n,e){return or(t,kf(n)||0,e)});Ia.Cache=ce;var lh=ws(function(t,n){n=1==n.length&&gh(n[0])?d(n[0],L(wi())):d(hr(n,1),L(wi()));var e=n.length;return eu(function(r){for(var u=-1,i=Zl(r.length,e);++u=n}),_h=Ar(function(){return arguments}())?Ar:function(t){return of(t)&&gl.call(t,"callee")&&!El.call(t,"callee")},gh=rl.isArray,yh=We?L(We):Cr,mh=Pl||Pc,bh=Be?L(Be):Sr,wh=Me?L(Me):Ir,xh=Pe?L(Pe):Dr,jh=Ve?L(Ve):Lr,Oh=Fe?L(Fe):Nr,kh=ii(Br),Ah=ii(function(t,n){return t<=n}),Ch=Pu(function(t,n){if(Bi(n)||qa(n))return void $u(n,Mf(n),t);for(var e in n)gl.call(n,e)&&Ke(t,e,n[e])}),Sh=Pu(function(t,n){$u(n,Pf(n),t)}),Rh=Pu(function(t,n,e,r){$u(n,Pf(n),t,r)}),Eh=Pu(function(t,n,e,r){$u(n,Mf(n),t,r)}),Ih=_i(nr),zh=eu(function(t){return t.push(ut,li),a(Rh,ut,t)}),Th=eu(function(t){return t.push(ut,si),a($h,ut,t)}),Dh=Qu(function(t,n,e){t[n]=e},Rc(Ic)),Lh=Qu(function(t,n,e){gl.call(t,n)?t[n].push(e):t[n]=[e]},wi),Nh=eu(kr),Uh=Pu(function(t,n,e){Fr(t,n,e)}),$h=Pu(function(t,n,e,r){Fr(t,n,e,r)}),Wh=_i(function(t,n){var e={};if(null==t)return e;var r=!1;n=d(n,function(n){return n=ju(n,t),r||(r=n.length>1),n}),$u(t,yi(t),e),r&&(e=rr(e,st|ht|pt,hi));for(var u=n.length;u--;)du(e,n[u]);return e}),Bh=_i(function(t,n){return null==t?{}:Gr(t,n)}),Mh=fi(Mf),Ph=fi(Pf),Vh=Zu(function(t,n,e){return n=n.toLowerCase(),t+(e?ic(n):n)}),Fh=Zu(function(t,n,e){return t+(e?"-":"")+n.toLowerCase()}),Kh=Zu(function(t,n,e){return t+(e?" ":"")+n.toLowerCase()}),qh=qu("toLowerCase"),Zh=Zu(function(t,n,e){return t+(e?"_":"")+n.toLowerCase()}),Gh=Zu(function(t,n,e){return t+(e?" ":"")+Hh(n)}),Jh=Zu(function(t,n,e){return t+(e?" ":"")+n.toUpperCase()}),Hh=qu("toUpperCase"),Yh=eu(function(t,n){try{return a(t,ut,n)}catch(t){return Qa(t)?t:new il(t)}}),Xh=_i(function(t,n){return c(n,function(n){n=Xi(n),tr(t,n,oh(t[n],t))}),t}),Qh=Yu(),tp=Yu(!0),np=eu(function(t,n){return function(e){return kr(e,t,n)}}),ep=eu(function(t,n){return function(e){return kr(t,e,n)}}),rp=ni(d),up=ni(s),ip=ni(m),op=ui(),ap=ui(!0),fp=ti(function(t,n){return t+n},0),cp=ai("ceil"),lp=ti(function(t,n){return t/n},1),sp=ai("floor"),hp=ti(function(t,n){return t*n},1),pp=ai("round"),vp=ti(function(t,n){return t-n},0);return e.after=Oa,e.ary=ka,e.assign=Ch,e.assignIn=Sh,e.assignInWith=Rh,e.assignWith=Eh,e.at=Ih,e.before=Aa,e.bind=oh,e.bindAll=Xh,e.bindKey=ah,e.castArray=Wa,e.chain=Ho,e.chunk=eo,e.compact=ro,e.concat=uo,e.cond=Cc,e.conforms=Sc,e.constant=Rc,e.countBy=Ys,e.create=Rf,e.curry=Ca,e.curryRight=Sa,e.debounce=Ra,e.defaults=zh,e.defaultsDeep=Th,e.defer=fh,e.delay=ch,e.difference=Ts,e.differenceBy=Ds,e.differenceWith=Ls,e.drop=io,e.dropRight=oo,e.dropRightWhile=ao,e.dropWhile=fo,e.fill=co,e.filter=aa,e.flatMap=fa,e.flatMapDeep=ca,e.flatMapDepth=la,e.flatten=ho,e.flattenDeep=po,e.flattenDepth=vo,e.flip=Ea,e.flow=Qh,e.flowRight=tp,e.fromPairs=_o,e.functions=Nf,e.functionsIn=Uf,e.groupBy=th,e.initial=mo,e.intersection=Ns,e.intersectionBy=Us,e.intersectionWith=$s,e.invert=Dh,e.invertBy=Lh,e.invokeMap=nh,e.iteratee=zc,e.keyBy=eh,e.keys=Mf,e.keysIn=Pf,e.map=va,e.mapKeys=Vf,e.mapValues=Ff,e.matches=Tc,e.matchesProperty=Dc,e.memoize=Ia,e.merge=Uh,e.mergeWith=$h,e.method=np,e.methodOf=ep,e.mixin=Lc,e.negate=za,e.nthArg=$c,e.omit=Wh,e.omitBy=Kf,e.once=Ta,e.orderBy=da,e.over=rp,e.overArgs=lh,e.overEvery=up,e.overSome=ip,e.partial=sh,e.partialRight=hh,e.partition=rh,e.pick=Bh,e.pickBy=qf,e.property=Wc,e.propertyOf=Bc,e.pull=Ws,e.pullAll=Oo,e.pullAllBy=ko,e.pullAllWith=Ao,e.pullAt=Bs,e.range=op,e.rangeRight=ap,e.rearg=ph,e.reject=ya,e.remove=Co,e.rest=Da,e.reverse=So,e.sampleSize=ba,e.set=Gf,e.setWith=Jf,e.shuffle=wa,e.slice=Ro,e.sortBy=uh,e.sortedUniq=No,e.sortedUniqBy=Uo,e.split=_c,e.spread=La,e.tail=$o,e.take=Wo,e.takeRight=Bo,e.takeRightWhile=Mo,e.takeWhile=Po,e.tap=Yo,e.throttle=Na,e.thru=Xo,e.toArray=wf,e.toPairs=Mh,e.toPairsIn=Ph,e.toPath=Zc,e.toPlainObject=Af,e.transform=Hf,e.unary=Ua,e.union=Ms,e.unionBy=Ps,e.unionWith=Vs,e.uniq=Vo,e.uniqBy=Fo,e.uniqWith=Ko,e.unset=Yf,e.unzip=qo,e.unzipWith=Zo,e.update=Xf,e.updateWith=Qf,e.values=tc,e.valuesIn=nc,e.without=Fs,e.words=Ac,e.wrap=$a,e.xor=Ks,e.xorBy=qs,e.xorWith=Zs,e.zip=Gs,e.zipObject=Go,e.zipObjectDeep=Jo,e.zipWith=Js,e.entries=Mh,e.entriesIn=Ph,e.extend=Sh,e.extendWith=Rh,Lc(e,e),e.add=fp,e.attempt=Yh,e.camelCase=Vh,e.capitalize=ic,e.ceil=cp,e.clamp=ec,e.clone=Ba,e.cloneDeep=Pa,e.cloneDeepWith=Va,e.cloneWith=Ma,e.conformsTo=Fa,e.deburr=oc,e.defaultTo=Ec,e.divide=lp,e.endsWith=ac,e.eq=Ka,e.escape=fc,e.escapeRegExp=cc,e.every=oa,e.find=Xs,e.findIndex=lo,e.findKey=Ef,e.findLast=Qs,e.findLastIndex=so,e.findLastKey=If,e.floor=sp,e.forEach=sa,e.forEachRight=ha,e.forIn=zf,e.forInRight=Tf,e.forOwn=Df,e.forOwnRight=Lf,e.get=$f,e.gt=vh,e.gte=dh,e.has=Wf,e.hasIn=Bf,e.head=go,e.identity=Ic,e.includes=pa,e.indexOf=yo,e.inRange=rc,e.invoke=Nh,e.isArguments=_h,e.isArray=gh,e.isArrayBuffer=yh,e.isArrayLike=qa,e.isArrayLikeObject=Za,e.isBoolean=Ga,e.isBuffer=mh,e.isDate=bh,e.isElement=Ja,e.isEmpty=Ha,e.isEqual=Ya,e.isEqualWith=Xa,e.isError=Qa,e.isFinite=tf,e.isFunction=nf,e.isInteger=ef,e.isLength=rf,e.isMap=wh,e.isMatch=af,e.isMatchWith=ff,e.isNaN=cf,e.isNative=lf,e.isNil=hf,e.isNull=sf,e.isNumber=pf,e.isObject=uf,e.isObjectLike=of,e.isPlainObject=vf,e.isRegExp=xh,e.isSafeInteger=df,e.isSet=jh,e.isString=_f,e.isSymbol=gf,e.isTypedArray=Oh,e.isUndefined=yf,e.isWeakMap=mf,e.isWeakSet=bf,e.join=bo,e.kebabCase=Fh,e.last=wo,e.lastIndexOf=xo,e.lowerCase=Kh,e.lowerFirst=qh,e.lt=kh,e.lte=Ah,e.max=Jc,e.maxBy=Hc,e.mean=Yc,e.meanBy=Xc,e.min=Qc,e.minBy=tl,e.stubArray=Mc,e.stubFalse=Pc,e.stubObject=Vc,e.stubString=Fc,e.stubTrue=Kc,e.multiply=hp,e.nth=jo,e.noConflict=Nc,e.noop=Uc,e.now=ih,e.pad=lc,e.padEnd=sc,e.padStart=hc,e.parseInt=pc,e.random=uc,e.reduce=_a,e.reduceRight=ga,e.repeat=vc,e.replace=dc,e.result=Zf,e.round=pp,e.runInContext=t,e.sample=ma,e.size=xa,e.snakeCase=Zh,e.some=ja,e.sortedIndex=Eo,e.sortedIndexBy=Io,e.sortedIndexOf=zo,e.sortedLastIndex=To,e.sortedLastIndexBy=Do,e.sortedLastIndexOf=Lo,e.startCase=Gh,e.startsWith=gc,e.subtract=vp,e.sum=nl,e.sumBy=el,e.template=yc,e.times=qc,e.toFinite=xf,e.toInteger=jf,e.toLength=Of,e.toLower=mc,e.toNumber=kf,e.toSafeInteger=Cf,e.toString=Sf,e.toUpper=bc,e.trim=wc,e.trimEnd=xc,e.trimStart=jc,e.truncate=Oc,e.unescape=kc,e.uniqueId=Gc,e.upperCase=Jh,e.upperFirst=Hh,e.each=sa,e.eachRight=ha,e.first=go,Lc(e,function(){var t={};return pr(e,function(n,r){gl.call(e.prototype,r)||(t[r]=n)}),t}(),{chain:!1}),e.VERSION="4.17.4",c(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){e[t].placeholder=e}),c(["drop","take"],function(t,n){b.prototype[t]=function(e){e=e===ut?1:ql(jf(e),0);var r=this.__filtered__&&!n?new b(this):this.clone();return r.__filtered__?r.__takeCount__=Zl(e,r.__takeCount__):r.__views__.push({size:Zl(e,Nt),type:t+(r.__dir__<0?"Right":"")}),r},b.prototype[t+"Right"]=function(n){return this.reverse()[t](n).reverse()}}),c(["filter","map","takeWhile"],function(t,n){var e=n+1,r=e==Et||3==e;b.prototype[t]=function(t){var n=this.clone();return n.__iteratees__.push({iteratee:wi(t,3),type:e}),n.__filtered__=n.__filtered__||r,n}}),c(["head","last"],function(t,n){var e="take"+(n?"Right":"");b.prototype[t]=function(){return this[e](1).value()[0]}}),c(["initial","tail"],function(t,n){var e="drop"+(n?"":"Right");b.prototype[t]=function(){return this.__filtered__?new b(this):this[e](1)}}),b.prototype.compact=function(){return this.filter(Ic)},b.prototype.find=function(t){return this.filter(t).head()},b.prototype.findLast=function(t){return this.reverse().find(t)},b.prototype.invokeMap=eu(function(t,n){return"function"==typeof t?new b(this):this.map(function(e){return kr(e,t,n)})}),b.prototype.reject=function(t){return this.filter(za(wi(t)))},b.prototype.slice=function(t,n){t=jf(t);var e=this;return e.__filtered__&&(t>0||n<0)?new b(e):(t<0?e=e.takeRight(-t):t&&(e=e.drop(t)),n!==ut&&(n=jf(n),e=n<0?e.dropRight(-n):e.take(n-t)),e)},b.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},b.prototype.toArray=function(){return this.take(Nt)},pr(b.prototype,function(t,n){var r=/^(?:filter|find|map|reject)|While$/.test(n),i=/^(?:head|last)$/.test(n),o=e[i?"take"+("last"==n?"Right":""):n],a=i||/^find/.test(n);o&&(e.prototype[n]=function(){var n=this.__wrapped__,f=i?[1]:arguments,c=n instanceof b,l=f[0],s=c||gh(n),h=function(t){var n=o.apply(e,_([t],f));return i&&p?n[0]:n};s&&r&&"function"==typeof l&&1!=l.length&&(c=s=!1);var p=this.__chain__,v=!!this.__actions__.length,d=a&&!p,g=c&&!v;if(!a&&s){n=g?n:new b(this);var y=t.apply(n,f);return y.__actions__.push({func:Xo,args:[h],thisArg:ut}),new u(y,p)}return d&&g?t.apply(this,f):(y=this.thru(h),d?i?y.value()[0]:y.value():y)})}),c(["pop","push","shift","sort","splice","unshift"],function(t){var n=hl[t],r=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",u=/^(?:pop|shift)$/.test(t);e.prototype[t]=function(){var t=arguments;if(u&&!this.__chain__){var e=this.value();return n.apply(gh(e)?e:[],t)}return this[r](function(e){return n.apply(gh(e)?e:[],t)})}}),pr(b.prototype,function(t,n){var r=e[n];if(r){var u=r.name+"";(is[u]||(is[u]=[])).push({name:n,func:r})}}),is[Xu(ut,gt).name]=[{name:"wrapper",func:ut}],b.prototype.clone=R,b.prototype.reverse=Y,b.prototype.value=nt,e.prototype.at=Hs,e.prototype.chain=Qo,e.prototype.commit=ta,e.prototype.next=na,e.prototype.plant=ra,e.prototype.reverse=ua,e.prototype.toJSON=e.prototype.valueOf=e.prototype.value=ia,e.prototype.first=e.prototype.head,Tl&&(e.prototype[Tl]=ea),e}();Te._=Je,(u=function(){return Je}.call(n,e,n,r))!==ut&&(r.exports=u)}).call(this)}).call(n,e(19),e(20)(t))},function(t,n,e){"use strict";function r(t,n,e,r,u,i,o,a){t=t||{};var f=typeof t.default;"object"!==f&&"function"!==f||(t=t.default);var c="function"==typeof t?t.options:t;n&&(c.render=n,c.staticRenderFns=e,c._compiled=!0),r&&(c.functional=!0),i&&(c._scopeId=i);var l;if(o?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),u&&u.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},c._ssrRegister=l):u&&(l=a?function(){u.call(this,this.$root.$options.shadowRoot)}:u),l)if(c.functional){c._injectStyles=l;var s=c.render;c.render=function(t,n){return l.call(n),s(t,n)}}else{var h=c.beforeCreate;c.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:c}}n.a=r},function(t,n,e){"use strict";function r(t){c||e(17)}Object.defineProperty(n,"__esModule",{value:!0});var u=e(5),i=e.n(u);for(var o in u)["default","default"].indexOf(o)<0&&function(t){e.d(n,t,function(){return u[t]})}(o);var a=e(15),f=e(1),c=!1,l=r,s=e.i(f.a)(i.a,a.a,a.b,!1,l,"data-v-efc5bae2",null);s.options.__file="src/TreeViewItem.vue",n.default=s.exports},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(6),u=e.n(r);for(var i in r)["default","default"].indexOf(i)<0&&function(t){e.d(n,t,function(){return r[t]})}(i);var o=e(14),a=e(1),f=e.i(a.a)(u.a,o.a,o.b,!1,null,null,null);f.options.__file="src/TreeViewItemValue.vue",n.default=f.exports},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(n,"__esModule",{value:!0});var u=e(0),i=r(u),o=e(2),a=r(o);n.default={components:{TreeViewItem:a.default},name:"tree-view",props:["data","options"],methods:{transformValue:function(t,n){return{key:n,type:"value",value:t}},generateChildrenFromCollection:function(t){var n=this;return i.default.map(t,function(t,e){return n.isObject(t)?n.transformObject(t,e):n.isArray(t)?n.transformArray(t,e):n.isValue(t)?n.transformValue(t,e):void 0})},transformArray:function(t,n){return{key:n,type:"array",children:this.generateChildrenFromCollection(t)}},transformObject:function(t,n){return{key:n,type:"object",isRoot:arguments.length>2&&void 0!==arguments[2]&&arguments[2],children:this.generateChildrenFromCollection(t)}},isObject:function(t){return i.default.isPlainObject(t)},isArray:function(t){return i.default.isArray(t)},isValue:function(t){return!this.isObject(t)&&!this.isArray(t)},onChangeData:function(t,n){var e=i.default.last(t);t=i.default.dropRight(i.default.drop(t));var r=i.default.cloneDeep(this.data),u=r;i.default.forEach(t,function(t){u=u[t]}),u[e]!=n&&(u[e]=n,this.$emit("change-data",r))}},computed:{allOptions:function(){return i.default.extend({},{rootObjectKey:"root",maxDepth:4,modifiable:!1},this.options||{})},parsedData:function(){return this.isValue(this.data)?this.transformValue(this.data,this.allOptions.rootObjectKey):this.transformObject(this.data,this.allOptions.rootObjectKey,!0)}}}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(n,"__esModule",{value:!0});var u=e(0),i=r(u),o=e(3),a=r(o);n.default={components:{TreeViewItemValue:a.default},name:"tree-view-item",props:["data","max-depth","current-depth","modifiable"],data:function(){return{open:this.currentDepth0&&void 0!==arguments[0]?arguments[0]:this.data).isRoot},onChangeData:function(t,n){t=i.default.concat(this.data.key,t),this.$emit("change-data",t,n)}}}},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(0),u=function(t){return t&&t.__esModule?t:{default:t}}(r);n.default={name:"tree-view-item",props:["data","modifiable","key-string"],data:function(){return{valueString:this.data&&this.data.toString(),error:!1}},computed:{valueFormed:function(){return this.getValue(this.data)}},watch:{valueFormed:function(t){this.$set(this,"valueString",u.default.isString(t)?t.replace(/^["]+|["]+$/g,""):t)}},methods:{onUpdateData:function(){try{var t=this.typedValue(this.valueString);this.error=!1,this.$emit("change-data",[],t)}catch(t){this.error=t}},typedValue:function(t){if(""==t)throw"empty";switch(this.getValueType(this.data,"")){case"number":if(u.default.isNaN(u.default.toNumber(t)))throw"only number";return u.default.toNumber(t);case"boolean":if("true"===t.toLowerCase())return!0;if("false"===t.toLowerCase())return!1;throw"true or false";case"string":default:return t}},getValue:function(t){return u.default.isNumber(t)?t:u.default.isNull(t)?"null":u.default.isString(t)?'"'+t+'"':t},getValueType:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"tree-view-item-value-";return u.default.isNumber(t)?n+"number":u.default.isFunction(t)?n+"function":u.default.isBoolean(t)?n+"boolean":u.default.isNull(t)?n+"null":u.default.isString(t)?n+"string":n+"unknown"}}}},function(t,n){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],n=0;ne.parts.length&&(r.parts.length=e.parts.length)}else{for(var i=[],u=0;u .tree-view-item-leaf > .tree-view-item[data-v-2eb27248] {\n margin-left: 0!important;\n}\n\n/* Root node should not be indented */\n.tree-view-item-root[data-v-2eb27248] {\n margin-left: 0!important;\n}\n\n",""])},function(t,n,e){n=t.exports=e(7)(),n.push([t.i,"\n.tree-view-item[data-v-efc5bae2] {\n font-family: monaco, monospace;\n font-size: 14px;\n margin-left: 18px;\n}\n.tree-view-item-node[data-v-efc5bae2] {\n cursor: pointer;\n position: relative;\n white-space: nowrap;\n}\n.tree-view-item-leaf[data-v-efc5bae2] {\n white-space: nowrap;\n}\n.tree-view-item-key[data-v-efc5bae2] {\n font-weight: bold;\n}\n.tree-view-item-key-with-chevron[data-v-efc5bae2] {\n padding-left: 14px;\n}\n.tree-view-item-key-with-chevron.opened[data-v-efc5bae2]::before {\n top:4px;\n transform: rotate(90deg);\n -webkit-transform: rotate(90deg);\n}\n.tree-view-item-key-with-chevron[data-v-efc5bae2]::before {\n color: #444;\n content: '\\25B6';\n font-size: 10px;\n left: 1px;\n position: absolute;\n top: 3px;\n transition: -webkit-transform .1s ease;\n transition: transform .1s ease;\n transition: transform .1s ease, -webkit-transform .1s ease;\n -webkit-transition: -webkit-transform .1s ease;\n}\n.tree-view-item-hint[data-v-efc5bae2] {\n color: #ccc\n}\n",""])},function(t,n,e){"use strict";e.d(n,"a",function(){return r}),e.d(n,"b",function(){return u});var r=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"tree-view-wrapper"},[e("tree-view-item",{staticClass:"tree-view-item-root",attrs:{data:t.parsedData,"max-depth":t.allOptions.maxDepth,"current-depth":0,modifiable:t.allOptions.modifiable},on:{"change-data":t.onChangeData}})],1)},u=[];r._withStripped=!0},function(t,n,e){"use strict";e.d(n,"a",function(){return r}),e.d(n,"b",function(){return u});var r=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",[e("span",{staticClass:"tree-view-item-key"},[t._v(t._s(t.keyString))]),t._v(" "),t.modifiable?e("input",{directives:[{name:"model",rawName:"v-model",value:t.valueString,expression:"valueString"}],staticClass:"tree-view-item-value",class:t.getValueType(t.data),domProps:{value:t.valueString},on:{keyup:function(n){return"button"in n||!t._k(n.keyCode,"enter",13,n.key,"Enter")?t.onUpdateData(n):null},blur:t.onUpdateData,input:function(n){n.target.composing||(t.valueString=n.target.value)}}}):e("span",{staticClass:"tree-view-item-value",class:t.getValueType(t.data)},[t._v(t._s(t.valueFormed))]),t._v(" "),e("span",{directives:[{name:"show",rawName:"v-show",value:t.error,expression:"error"}]},[t._v(t._s(t.error))])])},u=[];r._withStripped=!0},function(t,n,e){"use strict";e.d(n,"a",function(){return r}),e.d(n,"b",function(){return u});var r=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"tree-view-item"},[t.isObject(t.data)?e("div",{staticClass:"tree-view-item-leaf"},[e("div",{staticClass:"tree-view-item-node",on:{click:function(n){n.stopPropagation(),t.toggleOpen()}}},[e("span",{staticClass:"tree-view-item-key tree-view-item-key-with-chevron",class:{opened:t.isOpen()}},[t._v(t._s(t.getKey(t.data)))]),t._v(" "),e("span",{directives:[{name:"show",rawName:"v-show",value:!t.isOpen()&&1===t.data.children.length,expression:"!isOpen() && data.children.length === 1"}],staticClass:"tree-view-item-hint"},[t._v(t._s(t.data.children.length)+" property")]),t._v(" "),e("span",{directives:[{name:"show",rawName:"v-show",value:!t.isOpen()&&1!==t.data.children.length,expression:"!isOpen() && data.children.length !== 1"}],staticClass:"tree-view-item-hint"},[t._v(t._s(t.data.children.length)+" properties")])]),t._v(" "),t._l(t.data.children,function(n){return e("tree-view-item",{directives:[{name:"show",rawName:"v-show",value:t.isOpen(),expression:"isOpen()"}],key:t.getKey(n),attrs:{"max-depth":t.maxDepth,"current-depth":t.currentDepth+1,data:n,modifiable:t.modifiable},on:{"change-data":t.onChangeData}})})],2):t._e(),t._v(" "),t.isArray(t.data)?e("div",{staticClass:"tree-view-item-leaf"},[e("div",{staticClass:"tree-view-item-node",on:{click:function(n){n.stopPropagation(),t.toggleOpen()}}},[e("span",{staticClass:"tree-view-item-key tree-view-item-key-with-chevron",class:{opened:t.isOpen()}},[t._v(t._s(t.getKey(t.data)))]),t._v(" "),e("span",{directives:[{name:"show",rawName:"v-show",value:!t.isOpen()&&1===t.data.children.length,expression:"!isOpen() && data.children.length === 1"}],staticClass:"tree-view-item-hint"},[t._v(t._s(t.data.children.length)+" item")]),t._v(" "),e("span",{directives:[{name:"show",rawName:"v-show",value:!t.isOpen()&&1!==t.data.children.length,expression:"!isOpen() && data.children.length !== 1"}],staticClass:"tree-view-item-hint"},[t._v(t._s(t.data.children.length)+" items")])]),t._v(" "),t._l(t.data.children,function(n){return e("tree-view-item",{directives:[{name:"show",rawName:"v-show",value:t.isOpen(),expression:"isOpen()"}],key:t.getKey(n),attrs:{"max-depth":t.maxDepth,"current-depth":t.currentDepth+1,data:n,modifiable:t.modifiable},on:{"change-data":t.onChangeData}})})],2):t._e(),t._v(" "),t.isValue(t.data)?e("tree-view-item-value",{staticClass:"tree-view-item-leaf",attrs:{"key-string":t.getKey(t.data),data:t.data.value,modifiable:t.modifiable},on:{"change-data":t.onChangeData}}):t._e()],1)},u=[];r._withStripped=!0},function(t,n,e){var r=e(11);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var u=e(8).default;u("fbc594c2",r,!1,{})},function(t,n,e){var r=e(12);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var u=e(8).default;u("6cd4afdc",r,!1,{})},function(t,n,e){"use strict";function r(t,n){for(var e=[],r={},u=0;u1&&void 0!==arguments[1]&&arguments[1];(t||this.existMouseover)&&this.selectable&&(t||(this.checkboxVal=!this.checkboxVal),this.$emit("click",this.path,this.data,this.checkboxVal))},handleItemClick:function(e,t,n){this.$emit("click",e,t,n)},handleMouseover:function(){this.existMouseover&&this.selectable&&(this.treeContentBackground="#eee")},handleMouseout:function(){this.existMouseover&&this.selectable&&(this.treeContentBackground="transparent")},isObject:function(e){return"object"===this.getDataType(e)},getDataType:function(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}},watch:{deep:function(e){this.visible=this.currentDeep<=e}}}},function(e,t,n){"use strict";var r=n(12),o=n.n(r),i=n(6);t.a={mixins:[i.a],props:{showLength:Boolean},methods:{doubleBracketsGenerator:function(e){var t=Array.isArray(e),n=t?"[...]":"{...}";if(this.showLength){n+=" // "+(t?e.length+" items":o()(e).length+" keys")}return this.bracketsFormatter(n)}}}},function(e,t,n){"use strict";var r=n(6);t.a={mixins:[r.a]}},function(e,t,n){"use strict";t.a={props:{name:String,value:{type:Boolean,default:!1}},data:function(){return{focus:!1,checked:!1}},computed:{model:{get:function(){return void 0!==this.value?this.value:this.checked},set:function(e){this.checked=e,this.$emit("input",e)}}}}},function(e,t,n){"use strict";t.a={props:{parentDataType:String,dataType:String,text:String,notLastKey:Boolean,currentKey:[Number,String]},methods:{textFormatter:function(e){var t=e;return"string"===this.dataType&&(t='"'+t+'"'),this.notLastKey&&(t+=","),t}}}},function(e,t,n){e.exports={default:n(26),__esModule:!0}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(4),o=n(0),i=n(31),a=n(34),s=n(15),c=function(e,t,n){var u,l,f,p=e&c.F,d=e&c.G,h=e&c.S,v=e&c.P,b=e&c.B,_=e&c.W,y=d?o:o[t]||(o[t]={}),x=y.prototype,g=d?r:h?r[t]:(r[t]||{}).prototype;d&&(n=t);for(u in n)(l=!p&&g&&void 0!==g[u])&&s(y,u)||(f=l?g[u]:n[u],y[u]=d&&"function"!=typeof g[u]?n[u]:b&&l?i(f,r):_&&g[u]==f?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(f):v&&"function"==typeof f?i(Function.call,f):f,v&&((y.virtual||(y.virtual={}))[u]=f,e&c.R&&x&&!x[u]&&a(x,u,f)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(30);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(40),o=n(33);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(16),o=n(13);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(13);e.exports=function(e){return Object(r(e))}},function(e,t,n){e.exports={default:n(25),__esModule:!0}},function(e,t,n){"use strict";var r=n(7),o=n(59),i=n(1),a=i(r.a,o.a,!1,null,null,null);t.a=a.exports},function(e,t,n){var r=n(52);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(63)("bfa6fc9c",r,!0,{})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(21),o=n.n(r),i=n(22),a=n(23);n.n(a);t.default=o()({},i.a,{version:"1.4.0"})},function(e,t,n){n(50),e.exports=n(0).Object.assign},function(e,t,n){n(51),e.exports=n(0).Object.keys},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(5);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){var r=n(19),o=n(47),i=n(46);e.exports=function(e){return function(t,n,a){var s,c=r(t),u=o(c.length),l=i(a,u);if(e&&n!=n){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===n)return e||l||0;return!e&&-1}}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(27);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var r=n(5),o=n(4).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(38),o=n(43);e.exports=n(3)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){e.exports=!n(3)&&!n(2)(function(){return 7!=Object.defineProperty(n(32)("div"),"a",{get:function(){return 7}}).a})},function(e,t){e.exports=!0},function(e,t,n){"use strict";var r=n(17),o=n(39),i=n(41),a=n(20),s=n(16),c=Object.assign;e.exports=!c||n(2)(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=c({},e)[n]||Object.keys(c({},t)).join("")!=r})?function(e,t){for(var n=a(e),c=arguments.length,u=1,l=o.f,f=i.f;c>u;)for(var p,d=s(arguments[u++]),h=l?r(d).concat(l(d)):r(d),v=h.length,b=0;v>b;)f.call(d,p=h[b++])&&(n[p]=d[p]);return n}:c},function(e,t,n){var r=n(28),o=n(35),i=n(48),a=Object.defineProperty;t.f=n(3)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(15),o=n(19),i=n(29)(!1),a=n(44)("IE_PROTO");e.exports=function(e,t){var n,s=o(e),c=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);for(;t.length>c;)r(s,n=t[c++])&&(~i(u,n)||u.push(n));return u}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){var r=n(14),o=n(0),i=n(2);e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*i(function(){n(1)}),"Object",a)}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(45)("keys"),o=n(49);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t,n){var r=n(0),o=n(4),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(36)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){var r=n(18),o=Math.max,i=Math.min;e.exports=function(e,t){return e=r(e),e<0?o(e+t,0):i(e,t)}},function(e,t,n){var r=n(18),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(5);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){var r=n(14);r(r.S+r.F,"Object",{assign:n(37)})},function(e,t,n){var r=n(20),o=n(17);n(42)("keys",function(){return function(e){return o(r(e))}})},function(e,t,n){t=e.exports=n(53)(!1),t.push([e.i,'.vjs-checkbox{color:#1f2d3d;user-select:none}.vjs-checkbox .vjs-checkbox__input{outline:0;line-height:1;vertical-align:middle;cursor:pointer;display:inline-block;position:relative;white-space:nowrap}.vjs-checkbox .vjs-checkbox__input.is-checked .vjs-checkbox__inner{background-color:#20a0ff;border-color:#0190fe}.vjs-checkbox .vjs-checkbox__input.is-checked .vjs-checkbox__inner:after{transform:rotate(45deg) scaleY(1)}.vjs-checkbox .vjs-checkbox__inner{display:inline-block;position:relative;border:1px solid #bfcbd9;border-radius:4px;box-sizing:border-box;width:18px;height:18px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.vjs-checkbox .vjs-checkbox__inner:after{box-sizing:content-box;content:"";border:2px solid #fff;border-left:0;border-top:0;height:8px;left:5px;position:absolute;top:1px;transform:rotate(45deg) scaleY(0);width:4px;transition:transform .15s cubic-bezier(.71,-.46,.88,.6) .05s;transform-origin:center}.vjs-checkbox .vjs-checkbox__original{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;left:-999px}.vjs__tree{font-family:Monaco,Menlo,Consolas,Bitstream Vera Sans Mono;font-size:14px}.vjs__tree .vjs__tree__content{padding-left:1em;border-left:1px dotted #ccc}.vjs__tree .vjs__tree__node{cursor:pointer}.vjs__tree .vjs__tree__node:hover{color:#20a0ff}.vjs__tree .vjs-checkbox{position:absolute;left:-30px}.vjs__tree .vjs__value__null{color:#ff4949}.vjs__tree .vjs__value__boolean,.vjs__tree .vjs__value__number{color:#1d8ce0}.vjs__tree .vjs__value__string{color:#13ce66}',""])},function(e,t){function n(e,t){var n=e[1]||"",o=e[3];if(!o)return n;if(t&&"function"==typeof btoa){var i=r(o);return[n].concat(o.sources.map(function(e){return"/*# sourceURL="+o.sourceRoot+e+" */"})).concat([i]).join("\n")}return[n].join("\n")}function r(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var r=n(t,e);return t[2]?"@media "+t[2]+"{"+r+"}":r}).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},o=0;o-1:e.model},on:{change:function(t){e.$emit("change",e.model)},focus:function(t){e.focus=!0},blur:function(t){e.focus=!1},__c:function(t){var n=e.model,r=t.target,o=!!r.checked;if(Array.isArray(n)){var i=e._i(n,null);o?i<0&&(e.model=n.concat(null)):i>-1&&(e.model=n.slice(0,i).concat(n.slice(i+1)))}else e.model=o}}})])])},o=[],i={render:r,staticRenderFns:o};t.a=i},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vjs__tree",style:{"background-color":e.treeContentBackground,position:e.currentDeep>1?"":"relative","margin-left":1===e.currentDeep&&e.existCheckbox?"30px":""},on:{click:function(t){t.stopPropagation(),e.handleClick(t)},mouseover:function(t){t.stopPropagation(),e.handleMouseover(t)},mouseout:function(t){t.stopPropagation(),e.handleMouseout(t)}}},[e.selectable&&e.existCheckbox?[n("checkbox",{on:{change:function(t){e.handleClick(t,!0)}},model:{value:e.checkboxVal,callback:function(t){e.checkboxVal=t},expression:"checkboxVal"}})]:e._e(),e._v(" "),Array.isArray(e.data)||e.isObject(e.data)?[n("brackets-left",{attrs:{visible:e.visible,data:e.data,"show-length":e.showLength,"not-last-key":e.notLastKey},on:{"update:visible":function(t){e.visible=t}}},[e.currentDeep>1&&!Array.isArray(e.parentData)?n("span",[e._v(e._s(e.currentKey)+":")]):e._e()]),e._v(" "),e._l(e.data,function(t,r){return n("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],key:r,staticClass:"vjs__tree__content"},[n("vue-json-pretty",{attrs:{"parent-data":e.data,data:t,deep:e.deep,"show-length":e.showLength,path:e.path+(Array.isArray(e.data)?"["+r+"]":"."+r),"path-checked":e.pathChecked,"path-selectable":e.pathSelectable,"selectable-type":e.selectableType,"current-key":r,"current-deep":e.currentDeep+1},on:{click:e.handleItemClick}})],1)}),e._v(" "),n("brackets-right",{attrs:{visible:e.visible,data:e.data,"not-last-key":e.notLastKey},on:{"update:visible":function(t){e.visible=t}}})]:n("simple-text",{attrs:{parentDataType:e.getDataType(e.parentData),dataType:e.getDataType(e.data),text:e.data+"",notLastKey:e.notLastKey,currentKey:e.currentKey}})],2)},o=[],i={render:r,staticRenderFns:o};t.a=i},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"show",rawName:"v-show",value:e.dataVisiable,expression:"dataVisiable"}]},[n("span",{staticClass:"vjs__tree__node",on:{click:function(t){t.stopPropagation(),e.toggleBrackets(t)}}},[e._v("\n "+e._s(e.bracketsFormatter(Array.isArray(e.data)?"]":"}"))+"\n ")])])},o=[],i={render:r,staticRenderFns:o};t.a=i},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",["object"===e.parentDataType?n("span",[e._v(e._s(e.currentKey)+":")]):e._e(),e._v(" "),n("span",{class:"vjs__value__"+e.dataType},[e._v("\n "+e._s(e.textFormatter(e.text))+"\n ")])])},o=[],i={render:r,staticRenderFns:o};t.a=i},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e._t("default"),e._v(" "),n("span",{directives:[{name:"show",rawName:"v-show",value:e.dataVisiable,expression:"dataVisiable"}],staticClass:"vjs__tree__node",on:{click:function(t){t.stopPropagation(),e.toggleBrackets(t)}}},[e._v("\n "+e._s(Array.isArray(e.data)?"[":"{")+"\n ")]),e._v(" "),n("span",{directives:[{name:"show",rawName:"v-show",value:!e.dataVisiable,expression:"!dataVisiable"}],staticClass:"vjs__tree__node",on:{click:function(t){t.stopPropagation(),e.toggleBrackets(t)}}},[e._v("\n "+e._s(e.doubleBracketsGenerator(e.data))+"\n ")])],2)},o=[],i={render:r,staticRenderFns:o};t.a=i},function(e,t,n){function r(e){for(var t=0;tn.parts.length&&(r.parts.length=n.parts.length)}else{for(var a=[],o=0;o
- +
- +
diff --git a/resources/js/screens/events/preview.vue b/resources/js/screens/events/preview.vue index 240ce4fb2..93fced4cb 100644 --- a/resources/js/screens/events/preview.vue +++ b/resources/js/screens/events/preview.vue @@ -38,7 +38,7 @@
- +
diff --git a/resources/js/screens/jobs/preview.vue b/resources/js/screens/jobs/preview.vue index 8d2b77ae1..4ea2e6d0d 100644 --- a/resources/js/screens/jobs/preview.vue +++ b/resources/js/screens/jobs/preview.vue @@ -91,7 +91,7 @@
- +
{{slotProps.entry.content.exception.message}}
diff --git a/resources/js/screens/logs/preview.vue b/resources/js/screens/logs/preview.vue index e9bee2308..5b3ea3f55 100644 --- a/resources/js/screens/logs/preview.vue +++ b/resources/js/screens/logs/preview.vue @@ -52,7 +52,7 @@
- +
diff --git a/resources/js/screens/models/preview.vue b/resources/js/screens/models/preview.vue index 6ddd553e3..9658f1728 100644 --- a/resources/js/screens/models/preview.vue +++ b/resources/js/screens/models/preview.vue @@ -42,7 +42,7 @@
Changes
- +
diff --git a/resources/js/screens/requests/preview.vue b/resources/js/screens/requests/preview.vue index b9092686f..e6a06e171 100644 --- a/resources/js/screens/requests/preview.vue +++ b/resources/js/screens/requests/preview.vue @@ -75,10 +75,10 @@
- - - - + + + +
diff --git a/resources/sass/syntaxhighlight.scss b/resources/sass/syntaxhighlight.scss index 943b7899c..f64726785 100644 --- a/resources/sass/syntaxhighlight.scss +++ b/resources/sass/syntaxhighlight.scss @@ -1,30 +1,26 @@ -.tree-view-wrapper { - .tree-view-item{ - margin-left: 30px; +.vjs__tree { + .vjs__tree__content { + border-left: 1px dotted rgba(204, 204, 204, 0.28) !important; } - - .tree-view-item-key { - color: #8bd72f; + .vjs__tree__node { + cursor: pointer; + &:hover { + color: #20a0ff; + } } - - .tree-view-item-key-with-chevron[data-v-efc5bae2]::before { - color: #fff !important; + .vjs-checkbox { + position: absolute; + left: -30px; } - - .tree-view-item-value-string { - color: #DACB4D !important; + .vjs__value__null { + color: #A291F5 !important;; } - - .tree-view-item-value-null { - color: #A291F5 !important; + .vjs__value__number, + .vjs__value__boolean { + color: #A291F5 !important;; } - - .tree-view-item-value-boolean { - color: #A291F5 !important; - } - - .tree-view-item-value-number{ - color: #A291F5 !important; + .vjs__value__string { + color: #DACB4D !important; } } @@ -41,6 +37,6 @@ color: #DACB4D; } -.hljs-number, .hljs-literal{ +.hljs-number, .hljs-literal { color: #A291F5 !important; } \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index d0942a8fa..b40d860f1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7411,12 +7411,9 @@ vue-hot-reload-api@^2.2.0: version "2.3.0" resolved "https://registry.yarnpkg.com/vue-hot-reload-api/-/vue-hot-reload-api-2.3.0.tgz#97976142405d13d8efae154749e88c4e358cf926" -vue-json-tree-view@^2.1.4: - version "2.1.4" - resolved "https://registry.yarnpkg.com/vue-json-tree-view/-/vue-json-tree-view-2.1.4.tgz#b6f8ae2ba2eec4eec5b6f53b90fa187054cad79b" - dependencies: - lodash "^4.17.4" - vue "^2.5.16" +vue-json-pretty@^1.4.1: + version "1.4.1" + resolved "https://registry.yarnpkg.com/vue-json-pretty/-/vue-json-pretty-1.4.1.tgz#11599cc8f0beaaf2ba1653010535a5b6071867f9" vue-loader@^13.7.1: version "13.7.2" @@ -7458,7 +7455,7 @@ vue-template-es2015-compiler@^1.6.0: version "1.6.0" resolved "https://registry.yarnpkg.com/vue-template-es2015-compiler/-/vue-template-es2015-compiler-1.6.0.tgz#dc42697133302ce3017524356a6c61b7b69b4a18" -vue@^2.5.16, vue@^2.5.7: +vue@^2.5.7: version "2.5.17" resolved "https://registry.yarnpkg.com/vue/-/vue-2.5.17.tgz#0f8789ad718be68ca1872629832ed533589c6ada"