"use strict";
// The require scope
var __webpack_require__ = {};
/************************************************************************/ // webpack/runtime/define_property_getters
(()=>{
    __webpack_require__.d = function(exports1, definition) {
        for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
            enumerable: true,
            get: definition[key]
        });
    };
})();
// webpack/runtime/has_own_property
(()=>{
    __webpack_require__.o = function(obj, prop) {
        return Object.prototype.hasOwnProperty.call(obj, prop);
    };
})();
// webpack/runtime/make_namespace_object
(()=>{
    // define __esModule on exports
    __webpack_require__.r = function(exports1) {
        if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
            value: 'Module'
        });
        Object.defineProperty(exports1, '__esModule', {
            value: true
        });
    };
})();
/************************************************************************/ var __webpack_exports__ = {};
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
    default: ()=>/* binding */ Empty_rslib_entry_
});
const react_namespaceObject = require("@chakra-ui/react");
require("react");
/* ESM default export */ const no_data = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjQiIGhlaWdodD0iNDEiIHZpZXdCb3g9IjAgMCA2NCA0MSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwIDEpIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxlbGxpcHNlIGZpbGw9IiNmNWY1ZjUiIGN4PSIzMiIgY3k9IjMzIiByeD0iMzIiIHJ5PSI3Ij48L2VsbGlwc2U+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBzdHJva2U9IiNkOWQ5ZDkiPjxwYXRoIGQ9Ik01NSAxMi43Nkw0NC44NTQgMS4yNThDNDQuMzY3LjQ3NCA0My42NTYgMCA0Mi45MDcgMEgyMS4wOTNjLS43NDkgMC0xLjQ2LjQ3NC0xLjk0NyAxLjI1N0w5IDEyLjc2MVYyMmg0NnYtOS4yNHoiPjwvcGF0aD48cGF0aCBkPSJNNDEuNjEzIDE1LjkzMWMwLTEuNjA1Ljk5NC0yLjkzIDIuMjI3LTIuOTMxSDU1djE4LjEzN0M1NSAzMy4yNiA1My42OCAzNSA1Mi4wNSAzNWgtNDAuMUMxMC4zMiAzNSA5IDMzLjI1OSA5IDMxLjEzN1YxM2gxMS4xNmMxLjIzMyAwIDIuMjI3IDEuMzIzIDIuMjI3IDIuOTI4di4wMjJjMCAxLjYwNSAxLjAwNSAyLjkwMSAyLjIzNyAyLjkwMWgxNC43NTJjMS4yMzIgMCAyLjIzNy0xLjMwOCAyLjIzNy0yLjkxM3YtLjAwN3oiIGZpbGw9IiNmYWZhZmEiPjwvcGF0aD48L2c+PC9nPjwvc3ZnPgo=";
/**
 * TODO: Update copy once finalized
 * @see https://docs.google.com/document/d/1lsVy4Nh7XUy7IfLGgS5_yAzc_KfWq7FN4lweEeKhaTs/edit#heading=h.wtmcurv0whje
 */ const Empty = ({ errorCode, description = 'No data found' })=>{
    if (!!errorCode) return /*#__PURE__*/ React.createElement(react_namespaceObject.Alert, {
        status: "error",
        rounded: "md"
    }, /*#__PURE__*/ React.createElement(react_namespaceObject.HStack, {
        spacing: 0
    }, /*#__PURE__*/ React.createElement(react_namespaceObject.AlertTitle, {
        "data-testid": "no-data-error-title",
        textColor: "brand.500"
    }, `Error (${errorCode}):`), /*#__PURE__*/ React.createElement(react_namespaceObject.AlertDescription, {
        "data-testid": "no-data-error-description",
        textColor: "brand.600"
    }, description)));
    return /*#__PURE__*/ React.createElement(react_namespaceObject.Flex, {
        alignItems: "center",
        justifyContent: "center",
        textAlign: "center",
        p: 4
    }, /*#__PURE__*/ React.createElement(react_namespaceObject.VStack, {
        spacing: 1
    }, /*#__PURE__*/ React.createElement(react_namespaceObject.Image, {
        "data-testid": "no-data-image",
        src: no_data,
        boxSize: "64px",
        alt: "no-data"
    }), /*#__PURE__*/ React.createElement(react_namespaceObject.Heading, {
        as: "h1",
        "data-testid": "no-data-heading",
        opacity: "0.5",
        size: "md",
        fontWeight: "normal"
    }, description)));
};
/* ESM default export */ const Empty_rslib_entry_ = Empty;
var __webpack_export_target__ = exports;
for(var __webpack_i__ in __webpack_exports__)__webpack_export_target__[__webpack_i__] = __webpack_exports__[__webpack_i__];
if (__webpack_exports__.__esModule) Object.defineProperty(__webpack_export_target__, '__esModule', {
    value: true
});
