{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/ReligiousTimes/index.js\";\nimport React from \"react\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nconst ReligiousTimes = _ref => {\n let {\n hours\n } = _ref;\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"w-fit flex flex-row items-center bg-[#f5f5f5] lg:bg-surface shadow p-2.5 rounded\",\n children: hours.map((hour, index) => /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex flex-row items-center\",\n children: [/*#__PURE__*/_jsxDEV(\"span\", {\n className: \"text-xs text-primary font-bold\",\n children: hour.partOfDay\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 8,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(\"span\", {\n className: \"text-xs text-secondary font-bold mr-1\",\n children: hour.time\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 11,\n columnNumber: 11\n }, this), Number(index) !== hours.length - 1 && /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"h-[20px] w-0.5 bg-surfaceBorder mx-2\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 15,\n columnNumber: 13\n }, this)]\n }, index, true, {\n fileName: _jsxFileName,\n lineNumber: 7,\n columnNumber: 9\n }, this))\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 5,\n columnNumber: 5\n }, this);\n};\n\n_c = ReligiousTimes;\nexport default ReligiousTimes;\nReligiousTimes.defaultProps = {\n hours: [{\n partOfDay: \"صبح\",\n time: \"5:03\"\n }, {\n partOfDay: \"طلوع\",\n time: \"6:27\"\n }, {\n partOfDay: \"ظهر\",\n time: \"12:15\"\n }, {\n partOfDay: \"غروب\",\n time: \"18:05\"\n }, {\n partOfDay: \"مغرب\",\n time: \"18:23\"\n }, {\n partOfDay: \"نیمه شب\",\n time: \"18:23\"\n }]\n};\n\nvar _c;\n\n$RefreshReg$(_c, \"ReligiousTimes\");","map":{"version":3,"names":["React","ReligiousTimes","hours","map","hour","index","partOfDay","time","Number","length","defaultProps"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/ReligiousTimes/index.js"],"sourcesContent":["import React from \"react\";\n\nconst ReligiousTimes = ({ hours }) => {\n return (\n
\n {hours.map((hour, index) => (\n
\n \n {hour.partOfDay}\n \n \n {hour.time}\n \n {Number(index) !== hours.length - 1 && (\n
\n )}\n
\n ))}\n
\n );\n};\n\nexport default ReligiousTimes;\n\nReligiousTimes.defaultProps = {\n hours: [\n {\n partOfDay: \"صبح\",\n time: \"5:03\",\n },\n {\n partOfDay: \"طلوع\",\n time: \"6:27\",\n },\n {\n partOfDay: \"ظهر\",\n time: \"12:15\",\n },\n {\n partOfDay: \"غروب\",\n time: \"18:05\",\n },\n {\n partOfDay: \"مغرب\",\n time: \"18:23\",\n },\n {\n partOfDay: \"نیمه شب\",\n time: \"18:23\",\n },\n ],\n};\n"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;;;AAEA,MAAMC,cAAc,GAAG,QAAe;EAAA,IAAd;IAAEC;EAAF,CAAc;EACpC,oBACE;IAAK,SAAS,EAAC,kFAAf;IAAA,UACGA,KAAK,CAACC,GAAN,CAAU,CAACC,IAAD,EAAOC,KAAP,kBACT;MAAK,SAAS,EAAC,4BAAf;MAAA,wBACE;QAAM,SAAS,EAAC,gCAAhB;QAAA,UACGD,IAAI,CAACE;MADR;QAAA;QAAA;QAAA;MAAA,QADF,eAIE;QAAM,SAAS,EAAC,uCAAhB;QAAA,UACGF,IAAI,CAACG;MADR;QAAA;QAAA;QAAA;MAAA,QAJF,EAOGC,MAAM,CAACH,KAAD,CAAN,KAAkBH,KAAK,CAACO,MAAN,GAAe,CAAjC,iBACC;QAAK,SAAS,EAAC;MAAf;QAAA;QAAA;QAAA;MAAA,QARJ;IAAA,GAAiDJ,KAAjD;MAAA;MAAA;MAAA;IAAA,QADD;EADH;IAAA;IAAA;IAAA;EAAA,QADF;AAiBD,CAlBD;;KAAMJ,c;AAoBN,eAAeA,cAAf;AAEAA,cAAc,CAACS,YAAf,GAA8B;EAC5BR,KAAK,EAAE,CACL;IACEI,SAAS,EAAE,KADb;IAEEC,IAAI,EAAE;EAFR,CADK,EAKL;IACED,SAAS,EAAE,MADb;IAEEC,IAAI,EAAE;EAFR,CALK,EASL;IACED,SAAS,EAAE,KADb;IAEEC,IAAI,EAAE;EAFR,CATK,EAaL;IACED,SAAS,EAAE,MADb;IAEEC,IAAI,EAAE;EAFR,CAbK,EAiBL;IACED,SAAS,EAAE,MADb;IAEEC,IAAI,EAAE;EAFR,CAjBK,EAqBL;IACED,SAAS,EAAE,SADb;IAEEC,IAAI,EAAE;EAFR,CArBK;AADqB,CAA9B"},"metadata":{},"sourceType":"module"}