"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports["default"]=void 0;var a=e(require("react")),b=e(require("prop-types")),c=require("carbon-components-react"),d=e(require("react-extreme-json-view"));function e(a){return a&&a.__esModule?a:{default:a}}var f=function(b){var e=b.content,f=b.jsonName,g=void 0===f?null:f;return a["default"].createElement(a["default"].Fragment,null,!e&&a["default"].createElement(c.Loading,{small:!0,withOverlay:!1,"data-testid":"json-loading-icon"}),e&&a["default"].createElement("div",{"data-testid":"json-data"},a["default"].createElement(d["default"],{src:e,enableClipboard:!1,quotesOnKeys:!1,name:g,displayDataTypes:!1,displayObjectSize:!1,collapsed:5,theme:{base00:"#f4f4f4",base01:"#ddd",base02:"#ddd",base03:"#444",base04:"purple",base05:"#444",base06:"#444",base07:"#606",base08:"#444",base09:"#008000",base0A:"rgba(70, 70, 230, 1)",base0B:"rgba(70, 70, 230, 1)",base0C:"#00008b",base0D:"rgba(70, 70, 230, 1)",base0E:"rgba(70, 70, 230, 1)",base0F:"rgba(70, 70, 230, 1)"},style:{fontFamily:"'IBM Plex Sans Mono', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', Courier",fontSize:"14px"}})))};f.propTypes={content:b["default"].oneOfType([b["default"].object,b["default"].array]),jsonName:b["default"].string};var g=f;exports["default"]=g;