odoo/packs/odoo.v18/devs/kit_code/static/jslib/jsontable/jsonviewr.js

43 lines
244 KiB
JavaScript
Raw Normal View History

/**
* Minified by jsDelivr using Terser v5.19.2.
* Original file: /npm/@textea/json-viewer@3.4.1/dist/browser.js
*
* Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
*/
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).JsonViewer=t()}(this,(function(){"use strict";function e(e,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(n){if("default"!==n&&!(n in e)){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}}))})),Object.freeze(e)}function t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function r(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var n=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})})),n}var o={exports:{}},a={},l={exports:{}},i={},u=Symbol.for("react.element"),s=Symbol.for("react.portal"),c=Symbol.for("react.fragment"),f=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),p=Symbol.for("react.provider"),m=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),y=Symbol.for("react.suspense"),g=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),b=Symbol.iterator;var x={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},k=Object.assign,w={};function S(e,t,n){this.props=e,this.context=t,this.refs=w,this.updater=n||x}function C(){}function E(e,t,n){this.props=e,this.context=t,this.refs=w,this.updater=n||x}S.prototype.isReactComponent={},S.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},S.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},C.prototype=S.prototype;var _=E.prototype=new C;_.constructor=E,k(_,S.prototype),_.isPureReactComponent=!0;var P=Array.isArray,z=Object.prototype.hasOwnProperty,T={current:null},O={key:!0,ref:!0,__self:!0,__source:!0};function j(e,t,n){var r,o={},a=null,l=null;if(null!=t)for(r in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(a=""+t.key),t)z.call(t,r)&&!O.hasOwnProperty(r)&&(o[r]=t[r]);var i=arguments.length-2;if(1===i)o.children=n;else if(1<i){for(var s=Array(i),c=0;c<i;c++)s[c]=arguments[c+2];o.children=s}if(e&&e.defaultProps)for(r in i=e.defaultProps)void 0===o[r]&&(o[r]=i[r]);return{$$typeof:u,type:e,key:a,ref:l,props:o,_owner:T.current}}function N(e){return"object"==typeof e&&null!==e&&e.$$typeof===u}var M=/\/+/g;function R(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function A(e,t,n,r,o){var a=typeof e;"undefined"!==a&&"boolean"!==a||(e=null);var l=!1;if(null===e)l=!0;else switch(a){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case u:case s:l=!0}}if(l)return o=o(l=e),e=""===r?"."+R(l,0):r,P(o)?(n="",null!=e&&(n=e.replace(M,"$&/")+"/"),A(o,t,n,"",(function(e){return e}))):null!=o&&(N(o)&&(o=function(e,t){return{$$typeof:u,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(o,n+(!o.key||l&&l.key===o.key?"":(""+o.key).replace(M,"$&/")+"/")+e)),t.push(o)),1;if(l=0,r=""===r?".":r+":",P(e))for(var i=0;i<e.length;i++){var c=r+R(a=e[i],i);l+=A(a,t,n,c,o)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=b&&e[b]||e["@@iterator"])?e:null}(e),"function"==typeof c)for(e=c.call(e),i=0;!(a=e.next()).done;)l+=A(a=a.value,t,n,c=r+R(a,i++),o);else if("object"===a)throw t=S
/**
* @license React
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
!function(e){function t(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,a=e[r];if(!(0<o(a,t)))break e;e[r]=t,e[n]=a,n=r}}function n(e){return 0===e.length?null:e[0]}function r(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,a=e.length,l=a>>>1;r<l;){var i=2*(r+1)-1,u=e[i],s=i+1,c=e[s];if(0>o(u,n))s<a&&0>o(c,u)?(e[r]=c,e[s]=n,r=s):(e[r]=u,e[i]=n,r=i);else{if(!(s<a&&0>o(c,n)))break e;e[r]=c,e[s]=n,r=s}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var a=performance;e.unstable_now=function(){return a.now()}}else{var l=Date,i=l.now();e.unstable_now=function(){return l.now()-i}}var u=[],s=[],c=1,f=null,d=3,p=!1,m=!1,h=!1,y="function"==typeof setTimeout?setTimeout:null,g="function"==typeof clearTimeout?clearTimeout:null,v="undefined"!=typeof setImmediate?setImmediate:null;function b(e){for(var o=n(s);null!==o;){if(null===o.callback)r(s);else{if(!(o.startTime<=e))break;r(s),o.sortIndex=o.expirationTime,t(u,o)}o=n(s)}}function x(e){if(h=!1,b(e),!m)if(null!==n(u))m=!0,N(k);else{var t=n(s);null!==t&&M(x,t.startTime-e)}}function k(t,o){m=!1,h&&(h=!1,g(E),E=-1),p=!0;var a=d;try{for(b(o),f=n(u);null!==f&&(!(f.expirationTime>o)||t&&!z());){var l=f.callback;if("function"==typeof l){f.callback=null,d=f.priorityLevel;var i=l(f.expirationTime<=o);o=e.unstable_now(),"function"==typeof i?f.callback=i:f===n(u)&&r(u),b(o)}else r(u);f=n(u)}if(null!==f)var c=!0;else{var y=n(s);null!==y&&M(x,y.startTime-o),c=!1}return c}finally{f=null,d=a,p=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var w,S=!1,C=null,E=-1,_=5,P=-1;function z(){return!(e.unstable_now()-P<_)}function T(){if(null!==C){var t=e.unstable_now();P=t;var n=!0;try{n=C(!0,t)}finally{n?w():(S=!1,C=null)}}else S=!1}if("function"==typeof v)w=function(){v(T)};else if("undefined"!=typeof MessageChannel){var O=new MessageChannel,j=O.port2;O.port1.onmessage=T,w=function(){j.postMessage(null)}}else w=function(){y(T,0)};function N(e){C=e,S||(S=!0,w())}function M(t,n){E=y((function(){t(e.unstable_now())}),n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_continueExecution=function(){m||p||(m=!0,N(k))},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):_=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return d},e.unstable_getFirstCallbackNode=function(){return n(u)},e.unstable_next=function(e){switch(d){case 1:case 2:case 3:var t=3;break;default:t=d}var n=d;d=t;try{return e()}finally{d=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=d;d=e;try{return t()}finally{d=n}},e.unstable_scheduleCallback=function(r,o,a){var l=e.unstable_now();switch("object"==typeof a&&null!==a?a="number"==typeof(a=a.delay)&&0<a?l+a:l:a=l,r){case 1:var i=-1;break;case 2:i=250;break;case 5:i=1073741823;break;case 4:i=1e4;break;default:i=5e3}return r={id:c++,callback:o,priorityLevel:r,startTime:a,expirationTime:i=a+i,sortIndex:-1},a>l?(r.sortIndex=a,t(s,r),null===n(u)&&r===n(s)&&(h?(g(E),E=-1):h=!0,M(x,a-l))):(r.sortIndex=i,t(u,r),m||p||(m=!0,N(k))),r},e.unstable_shouldYield=z,e.unstable_wrapCallback=function(e){var t=d;return function(){var n=d;d=t;try{return e.apply(this,arguments)}finally{d=n}}}}(te),ee.exports=te;var ne=ee.exports,re=V,oe=ne;
/**
* @license React
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/function ae(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var le=new Set,ie={};function ue(e,t){se(e,t),se(e+"Capture",t)}function se(e,t){for(ie[e]=t,e=0;e<t.length;e++)le.add(t[e])}var ce=!(void 0===window.document||void 0===window.document.createElement),fe=Object.prototype.hasOwnProperty,de=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,pe={},me={};function he(e,t,n,r,o,a,l){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=l}var ye={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){ye[e]=new he(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];ye[t]=new he(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){ye[e]=new he(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){ye[e]=new he(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){ye[e]=new he(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){ye[e]=new he(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){ye[e]=new he(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){ye[e]=new he(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){ye[e]=new he(e,5,!1,e.toLowerCase(),null,!1,!1)}));var ge=/[\-:]([a-z])/g;function ve(e){return e[1].toUpperCase()}function be(e,t,n,r){var o=ye.hasOwnProperty(t)?ye[t]:null;(null!==o?0!==o.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!fe.call(me,e)||!fe.call(pe,e)&&(de.test(e)?me[e]=!0:(pe[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events renderi
/**
* @mui/styled-engine v5.15.14
*
* @license MIT
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/function Ap(e,t){return Np(e,t)}["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){Np[e]=Np(e)})),"object"==typeof document&&(Mp=zd({key:"css",prepend:!0}));var Lp=Object.freeze({__proto__:null,GlobalStyles:Rp,StyledEngineProvider:function(e){const{injectFirst:t,children:n}=e;return t&&Mp?Y.jsx(kp,{value:Mp,children:n}):n},ThemeContext:Sp,css:Ep,default:Ap,internal_processStyles:(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},keyframes:function(){var e=Ep.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}});function Ip(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function Fp(e){if(!Ip(e))return e;const t={};return Object.keys(e).forEach((n=>{t[n]=Fp(e[n])})),t}function $p(e,t,n={clone:!0}){const r=n.clone?bf({},e):e;return Ip(e)&&Ip(t)&&Object.keys(t).forEach((o=>{"__proto__"!==o&&(Ip(t[o])&&o in e&&Ip(e[o])?r[o]=$p(e[o],t[o],n):n.clone?r[o]=Ip(t[o])?Fp(t[o]):t[o]:r[o]=t[o])})),r}var Dp=Object.freeze({__proto__:null,default:$p,isPlainObject:Ip});const Vp=["values","unit","step"],Up=e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>bf({},e,{[t.key]:t.val})),{})};function Bp(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=xf(e,Vp),a=Up(t),l=Object.keys(a);function i(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n})`}function u(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-r/100}${n})`}function s(e,o){const a=l.indexOf(o);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==a&&"number"==typeof t[l[a]]?t[l[a]]:o)-r/100}${n})`}return bf({keys:l,values:a,up:i,down:u,between:s,only:function(e){return l.indexOf(e)+1<l.length?s(e,l[l.indexOf(e)+1]):i(e)},not:function(e){const t=l.indexOf(e);return 0===t?i(l[1]):t===l.length-1?u(l[t]):s(e,l[l.indexOf(e)+1]).replace("@media","@media not all and")},unit:n},o)}var Wp={borderRadius:4};function Hp(e,t){return t?$p(e,t,{clone:!1}):e}const Kp={xs:0,sm:600,md:900,lg:1200,xl:1536},Qp={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Kp[e]}px)`};function qp(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const e=r.breakpoints||Qp;return t.reduce(((r,o,a)=>(r[e.up(e.keys[a])]=n(t[a]),r)),{})}if("object"==typeof t){const e=r.breakpoints||Qp;return Object.keys(t).reduce(((r,o)=>{if(-1!==Object.keys(e.values||Kp).indexOf(o)){r[e.up(o)]=n(t[o],o)}else{const e=o;r[e]=t[e]}return r}),{})}return n(t)}function Gp(e){if("string"!=typeof e)throw new Error(yf(7));return e.charAt(0).toUpperCase()+e.slice(1)}var Xp=Object.freeze({__proto__:null,default:Gp});function Yp(e,t,n=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&n){const n=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=n)return n}return t.split(".").redu
/**
* @license React
* use-sync-external-store-shim/with-selector.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var pv="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},mv=dv.useSyncExternalStore,hv=fv.useRef,yv=fv.useEffect,gv=fv.useMemo,vv=fv.useDebugValue;Zg.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var a=hv(null);if(null===a.current){var l={hasValue:!1,value:null};a.current=l}else l=a.current;a=gv((function(){function e(e){if(!u){if(u=!0,a=e,e=r(e),void 0!==o&&l.hasValue){var t=l.value;if(o(t,e))return i=t}return i=e}if(t=i,pv(a,e))return t;var n=r(e);return void 0!==o&&o(t,n)?t:(a=e,i=n)}var a,i,u=!1,s=void 0===n?null:n;return[function(){return e(t())},null===s?void 0:function(){return e(s())}]}),[t,n,r,o]);var i=mv(e,a[0],a[1]);return yv((function(){l.hasValue=!0,l.value=i}),[i]),vv(i),i},Jg.exports=Zg;var bv=n(Jg.exports);const{useDebugValue:xv}=U,{useSyncExternalStoreWithSelector:kv}=bv;let wv=!1;const Sv=e=>e;function Cv(e,t=Sv,n){n&&!wv&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),wv=!0);const r=kv(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,n);return xv(r),r}const Ev=e=>{"function"!=typeof e&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");const t="function"==typeof e?Yg(e):e,n=(e,n)=>Cv(t,e,n);return Object.assign(n,t),n},_v={scheme:"Light Theme",author:"mac gainor (https://github.com/mac-s-g)",base00:"rgba(0, 0, 0, 0)",base01:"rgb(245, 245, 245)",base02:"rgb(235, 235, 235)",base03:"#93a1a1",base04:"rgba(0, 0, 0, 0.3)",base05:"#586e75",base06:"#073642",base07:"#002b36",base08:"#d33682",base09:"#cb4b16",base0A:"#ffd500",base0B:"#859900",base0C:"#6c71c4",base0D:"#586e75",base0E:"#2aa198",base0F:"#268bd2"},Pv={scheme:"Dark Theme",author:"Chris Kempson (http://chriskempson.com)",base00:"#181818",base01:"#282828",base02:"#383838",base03:"#585858",base04:"#b8b8b8",base05:"#d8d8d8",base06:"#e8e8e8",base07:"#f8f8f8",base08:"#ab4642",base09:"#dc9656",base0A:"#f7ca88",base0B:"#a1b56c",base0C:"#86c1b9",base0D:"#7cafc2",base0E:"#ba8baf",base0F:"#a16946"};var zv=Object.freeze({__proto__:null,darkColorspace:Pv,lightColorspace:_v});const Tv=()=>null;Tv.when=()=>!1;const Ov=e=>{return(t?Ev(t):Ev)(((t,n)=>{var r,o,a,l,i,u,s,c,f,d,p,m,h,y,g,v,b,x,k,w,S,C;return{rootName:null!==(r=e.rootName)&&void 0!==r?r:"root",indentWidth:null!==(o=e.indentWidth)&&void 0!==o?o:3,keyRenderer:null!==(a=e.keyRenderer)&&void 0!==a?a:Tv,enableAdd:null!==(l=e.enableAdd)&&void 0!==l&&l,enableDelete:null!==(i=e.enableDelete)&&void 0!==i&&i,enableClipboard:null===(u=e.enableClipboard)||void 0===u||u,editable:null!==(s=e.editable)&&void 0!==s&&s,onChange:null!==(c=e.onChange)&&void 0!==c?c:()=>{},onCopy:null!==(f=e.onCopy)&&void 0!==f?f:void 0,onSelect:null!==(d=e.onSelect)&&void 0!==d?d:void 0,onAdd:null!==(p=e.onAdd)&&void 0!==p?p:void 0,onDelete:null!==(m=e.onDelete)&&void 0!==m?m:void 0,defaultInspectDepth:null!==(h=e.defaultInspectDepth)&&void 0!==h?h:5,defaultInspectControl:null!==(y=e.defaultInspectControl)&&void 0!==y?y:void 0,maxDisplayLength:null!==(g=e.maxDisplayLength)&&void 0!==g?g:30,groupArraysAfterLength:null!==(v=e.groupArraysAfterLength)&&void 0!==v?v:100,collapseStringsAfterLength:!1===e.collapseStringsAfterLength?Number.MAX_VALUE:null!==(b=e.collapseStringsAfterLength)&&void 0!==b?b:50,objectSortKeys:null!==(x=e.objectSortKeys)&&void 0!==x&&x,quotesOnKeys:null===(k=e.quotesOnKeys)||void 0===k||k,displayDataTypes:null===(w=e.displayDataTypes)||void 0===w||w,displaySize:null===(S=e.displaySize)||void 0===S||S,highlightUpdates:null!==(C=e.highlightUpdates)&&void 0!==C&&C,inspectCache:{},hoverPath:null,colorspace:_v,value:e.value,prevValue:void 0,getInspectCache:(e,t)=>{const r=void 0!==t?e.join(".")+"[".concat(t,"]nt"):e.join(".");return n().inspectCache[r]},setInspectCache:(e,n,r)=>{const o=void 0!==r?e.join(".")+"[".concat(r,"]nt"):e.join(".");t((e=>({inspectCache:{...e.inspectCach
//# sourceMappingURL=/sm/f6d9422dda2b3f4118411d1be31f91b277002bf689ee20e1cc0fd46acf4f168c.map