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AAK,EAAQ,KAAQ,EAAO,GAAO,EAAO,GAAU,CAAE,OAAO,CAAQ,EAE3P,EAAS,EAAoB,GAE7B,GAE4B,EAFK,IAEgB,EAAI,WAAa,EAAM,CAAE,QAAS,GAEvF,EAAQ,QAAU,SAAU,GAC1B,IAYI,EAAa,CACf,SAAU,WACV,OAAQ,OACR,WAAY,QACZ,IAAK,GAAK,EAAM,OAAS,IACzB,OAAQ,GAAK,EAAM,OAAS,IAC5B,MAAO,GAAK,EAAM,MAAQ,IAC1B,KAAM,GAAK,EAAM,MAAQ,KAG3B,OAAK,EAAM,QAAiC,EAAQ,QAAQ,cAC1D,MACA,CAAE,MAxBkB,CACpB,SAAU,QACV,MAAO,OACP,OAAQ,OACR,IAAK,EACL,KAAM,EACN,MAAO,EACP,OAAQ,EACR,OAAQ,OACR,gBAAiB,uBAgBjB,EAAQ,QAAQ,cACd,MACA,CAAE,MAAO,EAAS,CAAC,EAAG,EAAY,EAAM,QACxC,EAAM,WANiB,IAS7B,CAEO","file":"/npm/react-simple-popup@1.0.7/build/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/react-simple-popup@1.0.7/build/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","module.exports =\n/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// identity function for calling harmony imports with the correct context\n/******/ \t__webpack_require__.i = function(value) { return value; };\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 1);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ (function(module, exports) {\n\nmodule.exports = require(\"react\");\n\n/***/ }),\n/* 1 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _react = __webpack_require__(0);\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = function (props) {\n  var popupBackground = {\n    position: 'fixed',\n    width: '100%',\n    height: '100%',\n    top: 0,\n    left: 0,\n    right: 0,\n    bottom: 0,\n    margin: 'auto',\n    backgroundColor: 'rgba(0, 0, 0, 0.5)'\n  };\n\n  var popupFrame = {\n    position: 'absolute',\n    margin: 'auto',\n    background: 'white',\n    top: 50 - props.height + '%',\n    bottom: 50 - props.height + '%',\n    right: 50 - props.width + '%',\n    left: 50 - props.width + '%'\n  };\n\n  if (!props.visible) return null;else return _react2.default.createElement(\n    'div',\n    { style: popupBackground },\n    _react2.default.createElement(\n      'div',\n      { style: _extends({}, popupFrame, props.style) },\n      props.children\n    )\n  );\n};\n\n/***/ })\n/******/ ]);"]}