92799.js 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. exports.id = 92799;
  2. exports.ids = [92799];
  3. exports.modules = {
  4. /***/ 77928:
  5. /***/ ((module) => {
  6. // Exports
  7. module.exports = {
  8. "iconContainer": "ChapterIconContainer_iconContainer__5umYV",
  9. "iconContainerSmall": "ChapterIconContainer_iconContainerSmall__gvmyy",
  10. "iconContainerLarge": "ChapterIconContainer_iconContainerLarge__z49r_",
  11. "iconContainerMega": "ChapterIconContainer_iconContainerMega__rKWtt"
  12. };
  13. /***/ }),
  14. /***/ 92799:
  15. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  16. "use strict";
  17. // EXPORTS
  18. __webpack_require__.d(__webpack_exports__, {
  19. "_": () => (/* binding */ ChapterIconsSize),
  20. "Z": () => (/* binding */ ChapterIconContainer)
  21. });
  22. // EXTERNAL MODULE: external "react/jsx-runtime"
  23. var jsx_runtime_ = __webpack_require__(20997);
  24. // EXTERNAL MODULE: external "react"
  25. var external_react_ = __webpack_require__(16689);
  26. // EXTERNAL MODULE: external "classnames"
  27. var external_classnames_ = __webpack_require__(59003);
  28. var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
  29. // EXTERNAL MODULE: ./src/components/chapters/ChapterIcon/ChapterIconContainer.module.scss
  30. var ChapterIconContainer_module = __webpack_require__(77928);
  31. var ChapterIconContainer_module_default = /*#__PURE__*/__webpack_require__.n(ChapterIconContainer_module);
  32. ;// CONCATENATED MODULE: ./src/components/chapters/ChapterIcon/index.tsx
  33. const ChapterIcon = ({ id })=>/*#__PURE__*/ jsx_runtime_.jsx("span", {
  34. translate: "no",
  35. children: id.padStart(3, "0")
  36. });
  37. /* harmony default export */ const chapters_ChapterIcon = (ChapterIcon);
  38. ;// CONCATENATED MODULE: ./src/components/chapters/ChapterIcon/ChapterIconContainer.tsx
  39. var ChapterIconsSize;
  40. (function(ChapterIconsSize) {
  41. ChapterIconsSize["Small"] = "small";
  42. ChapterIconsSize["Medium"] = "medium";
  43. ChapterIconsSize["Large"] = "large";
  44. ChapterIconsSize["Mega"] = "mega";
  45. })(ChapterIconsSize || (ChapterIconsSize = {}));
  46. const IconContainer = ({ chapterId , size =ChapterIconsSize.Medium , hasSurahPrefix =true , })=>/*#__PURE__*/ (0,jsx_runtime_.jsxs)("span", {
  47. className: external_classnames_default()((ChapterIconContainer_module_default()).iconContainer, {
  48. [(ChapterIconContainer_module_default()).iconContainerSmall]: size === ChapterIconsSize.Small,
  49. [(ChapterIconContainer_module_default()).iconContainerLarge]: size === ChapterIconsSize.Large,
  50. [(ChapterIconContainer_module_default()).iconContainerMega]: size === ChapterIconsSize.Mega
  51. }),
  52. children: [
  53. /*#__PURE__*/ jsx_runtime_.jsx(chapters_ChapterIcon, {
  54. id: chapterId
  55. }),
  56. hasSurahPrefix && /*#__PURE__*/ jsx_runtime_.jsx(chapters_ChapterIcon, {
  57. id: "surah"
  58. })
  59. ]
  60. });
  61. /* harmony default export */ const ChapterIconContainer = (IconContainer);
  62. /***/ })
  63. };
  64. ;
  65. //# sourceMappingURL=92799.js.map