{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/Login/index.js\",\n    _s = $RefreshSig$();\n\nimport React from \"react\";\nimport Input from \"../AnimatedInput/Input\";\nimport { useForm } from \"react-hook-form\";\nimport Button from \"../Button\";\nimport HorizontalTextDivider from \"../HorizontalTextDivider\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nconst Login = () => {\n  _s();\n\n  const {\n    register,\n    getValues\n  } = useForm();\n  return /*#__PURE__*/_jsxDEV(\"div\", {\n    style: {\n      marginTop: \"44px\"\n    },\n    className: \" w-fit md:w-[744px] lg:w-[1000px] flex flex-col-reverse md:flex-row items-center bg-surface border border-surfaceBorder rounded\",\n    children: [/*#__PURE__*/_jsxDEV(\"div\", {\n      className: \"flex flex-col flex-1 p-3 md:p-5 gap-y-7\",\n      children: [/*#__PURE__*/_jsxDEV(\"div\", {\n        className: \"flex items-center \",\n        children: [/*#__PURE__*/_jsxDEV(\"img\", {\n          src: \"images/demo-logo.svg\",\n          alt: \"logo\",\n          className: \"rounded\"\n        }, void 0, false, {\n          fileName: _jsxFileName,\n          lineNumber: 20,\n          columnNumber: 11\n        }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n          className: \"flex flex-col mr-3 gap-y-2\",\n          children: [/*#__PURE__*/_jsxDEV(\"p\", {\n            className: \"text-xs text-primary\",\n            children: \"\\u0631\\u0632\\u0631\\u0648\"\n          }, void 0, false, {\n            fileName: _jsxFileName,\n            lineNumber: 23,\n            columnNumber: 13\n          }, this), /*#__PURE__*/_jsxDEV(\"p\", {\n            className: \"text-xs text-primary\",\n            children: \"\\u0633\\u0627\\u0645\\u0627\\u0646\\u0647 \\u0631\\u0632\\u0631\\u0648\\u0627\\u0633\\u06CC\\u0648\\u0646 \\u062E\\u062F\\u0627\\u0645 \\u0648 \\u0632\\u0648\\u0627\\u0631 \\u0645\\u0648\\u06A9\\u0628 \\u0645\\u0631\\u06A9\\u0632\"\n          }, void 0, false, {\n            fileName: _jsxFileName,\n            lineNumber: 24,\n            columnNumber: 13\n          }, this)]\n        }, void 0, true, {\n          fileName: _jsxFileName,\n          lineNumber: 22,\n          columnNumber: 11\n        }, this)]\n      }, void 0, true, {\n        fileName: _jsxFileName,\n        lineNumber: 18,\n        columnNumber: 9\n      }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n        className: \"flex items-center\",\n        children: [/*#__PURE__*/_jsxDEV(\"img\", {\n          src: \"images/user.svg\",\n          alt: \"logo\",\n          className: \"w-5\"\n        }, void 0, false, {\n          fileName: _jsxFileName,\n          lineNumber: 32,\n          columnNumber: 11\n        }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n          className: \"h-5 w-0.5 mr-1.5 ml-3 bg-surfaceBorder\"\n        }, void 0, false, {\n          fileName: _jsxFileName,\n          lineNumber: 34,\n          columnNumber: 11\n        }, this), /*#__PURE__*/_jsxDEV(\"p\", {\n          className: \"text-xs text-primary\",\n          children: \"\\u0648\\u0631\\u0648\\u062F \\u0632\\u0648\\u0627\\u0631 \\u0648 \\u062E\\u0627\\u062F\\u0645\\u06CC\\u0646 \\u0645\\u062D\\u062A\\u0631\\u0645\"\n        }, void 0, false, {\n          fileName: _jsxFileName,\n          lineNumber: 36,\n          columnNumber: 11\n        }, this)]\n      }, void 0, true, {\n        fileName: _jsxFileName,\n        lineNumber: 30,\n        columnNumber: 9\n      }, this), /*#__PURE__*/_jsxDEV(\"hr\", {\n        className: \"w-full border border-surfaceBorder\"\n      }, void 0, false, {\n        fileName: _jsxFileName,\n        lineNumber: 39,\n        columnNumber: 9\n      }, this), /*#__PURE__*/_jsxDEV(Input, {\n        register: register(\"mobileNumber\"),\n        label: \"\\u0646\\u0627\\u0645 \\u06A9\\u0627\\u0631\\u0628\\u0631\\u06CC\",\n        type: \"text\",\n        borderClassname: `border border-gray-200 `,\n        inputClassname: `px-3 py-2 text-primary focus:bg-surface`\n      }, void 0, false, {\n        fileName: _jsxFileName,\n        lineNumber: 40,\n        columnNumber: 9\n      }, this), /*#__PURE__*/_jsxDEV(Input, {\n        register: register(\"password\"),\n        label: \"\\u0631\\u0645\\u0632 \\u0639\\u0628\\u0648\\u0631\",\n        type: \"password\",\n        borderClassname: `border border-gray-200 `,\n        inputClassname: `px-3 py-2 text-primary focus:bg-surface`,\n        icon: \"images/eye.png\",\n        iconClassName: \"w-5\"\n      }, void 0, false, {\n        fileName: _jsxFileName,\n        lineNumber: 47,\n        columnNumber: 9\n      }, this), /*#__PURE__*/_jsxDEV(Button, {\n        text: \"ورود\",\n        className: \"bg-secondaryLight text-sm py-3 rounded text-white\"\n      }, void 0, false, {\n        fileName: _jsxFileName,\n        lineNumber: 56,\n        columnNumber: 9\n      }, this), /*#__PURE__*/_jsxDEV(HorizontalTextDivider, {\n        title: \"یا\",\n        titleClass: \"text-gray-400\",\n        borderClassname: \"border-gray-200\"\n      }, void 0, false, {\n        fileName: _jsxFileName,\n        lineNumber: 60,\n        columnNumber: 9\n      }, this), \" \", /*#__PURE__*/_jsxDEV(Button, {\n        text: \"رمز عبور خود را فراموش کرده اید؟\",\n        className: \"text-sm py-3 rounded text-primary border border-primary\"\n      }, void 0, false, {\n        fileName: _jsxFileName,\n        lineNumber: 65,\n        columnNumber: 9\n      }, this)]\n    }, void 0, true, {\n      fileName: _jsxFileName,\n      lineNumber: 16,\n      columnNumber: 7\n    }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n      className: \"h-full w-0.5 bg-surfaceBorder\"\n    }, void 0, false, {\n      fileName: _jsxFileName,\n      lineNumber: 71,\n      columnNumber: 7\n    }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n      className: \"p-3 md:p-5\",\n      children: /*#__PURE__*/_jsxDEV(\"img\", {\n        src: \"images/login-featured-image.jpg\",\n        alt: \"\",\n        className: \"w-[333px] md:w-[444px] rounded\"\n      }, void 0, false, {\n        fileName: _jsxFileName,\n        lineNumber: 74,\n        columnNumber: 9\n      }, this)\n    }, void 0, false, {\n      fileName: _jsxFileName,\n      lineNumber: 73,\n      columnNumber: 7\n    }, this)]\n  }, void 0, true, {\n    fileName: _jsxFileName,\n    lineNumber: 11,\n    columnNumber: 5\n  }, this);\n};\n\n_s(Login, \"d78zGQJkR2bxiAwp+FiGMpFHej0=\", false, function () {\n  return [useForm];\n});\n\n_c = Login;\nexport default Login;\n\nvar _c;\n\n$RefreshReg$(_c, \"Login\");","map":{"version":3,"names":["React","Input","useForm","Button","HorizontalTextDivider","Login","register","getValues","marginTop"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/Login/index.js"],"sourcesContent":["import React from \"react\";\nimport Input from \"../AnimatedInput/Input\";\nimport { useForm } from \"react-hook-form\";\nimport Button from \"../Button\";\nimport HorizontalTextDivider from \"../HorizontalTextDivider\";\n\nconst Login = () => {\n  const { register, getValues } = useForm();\n\n  return (\n    <div\n      style={{ marginTop: \"44px\" }}\n      className=\" w-fit md:w-[744px] lg:w-[1000px] flex flex-col-reverse md:flex-row items-center bg-surface border border-surfaceBorder rounded\"\n    >\n      {/* right */}\n      <div className=\"flex flex-col flex-1 p-3 md:p-5 gap-y-7\">\n        {/* logo && site title */}\n        <div className=\"flex items-center \">\n          {/* logo */}\n          <img src=\"images/demo-logo.svg\" alt=\"logo\" className=\"rounded\" />\n          {/*  name */}\n          <div className=\"flex flex-col mr-3 gap-y-2\">\n            <p className=\"text-xs text-primary\">رزرو</p>\n            <p className=\"text-xs text-primary\">\n              سامانه رزرواسیون خدام و زوار موکب مرکز\n            </p>\n          </div>\n        </div>\n        {/* user logo && user title */}\n        <div className=\"flex items-center\">\n          {/* logo */}\n          <img src=\"images/user.svg\" alt=\"logo\" className=\"w-5\" />\n          {/* divider */}\n          <div className=\"h-5 w-0.5 mr-1.5 ml-3 bg-surfaceBorder\"></div>\n          {/*  name */}\n          <p className=\"text-xs text-primary\">ورود زوار و خادمین محترم</p>\n        </div>\n        {/* divider */}\n        <hr className=\"w-full border border-surfaceBorder\" />\n        <Input\n          register={register(\"mobileNumber\")}\n          label=\"نام کاربری\"\n          type=\"text\"\n          borderClassname={`border border-gray-200 `}\n          inputClassname={`px-3 py-2 text-primary focus:bg-surface`}\n        />\n        <Input\n          register={register(\"password\")}\n          label=\"رمز عبور\"\n          type=\"password\"\n          borderClassname={`border border-gray-200 `}\n          inputClassname={`px-3 py-2 text-primary focus:bg-surface`}\n          icon={\"images/eye.png\"}\n          iconClassName={\"w-5\"}\n        />\n        <Button\n          text={\"ورود\"}\n          className={\"bg-secondaryLight text-sm py-3 rounded text-white\"}\n        />\n        <HorizontalTextDivider\n          title={\"یا\"}\n          titleClass={\"text-gray-400\"}\n          borderClassname={\"border-gray-200\"}\n        />{\" \"}\n        <Button\n          text={\"رمز عبور خود را فراموش کرده اید؟\"}\n          className={\"text-sm py-3 rounded text-primary border border-primary\"}\n        />\n      </div>\n      {/* divider */}\n      <div className=\"h-full w-0.5 bg-surfaceBorder\"></div>\n      {/* left */}\n      <div className=\"p-3 md:p-5\">\n        <img\n          src=\"images/login-featured-image.jpg\"\n          alt=\"\"\n          className=\"w-[333px] md:w-[444px] rounded\"\n        />\n      </div>\n    </div>\n  );\n};\n\nexport default Login;\n"],"mappings":";;;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,KAAP,MAAkB,wBAAlB;AACA,SAASC,OAAT,QAAwB,iBAAxB;AACA,OAAOC,MAAP,MAAmB,WAAnB;AACA,OAAOC,qBAAP,MAAkC,0BAAlC;;;AAEA,MAAMC,KAAK,GAAG,MAAM;EAAA;;EAClB,MAAM;IAAEC,QAAF;IAAYC;EAAZ,IAA0BL,OAAO,EAAvC;EAEA,oBACE;IACE,KAAK,EAAE;MAAEM,SAAS,EAAE;IAAb,CADT;IAEE,SAAS,EAAC,iIAFZ;IAAA,wBAKE;MAAK,SAAS,EAAC,yCAAf;MAAA,wBAEE;QAAK,SAAS,EAAC,oBAAf;QAAA,wBAEE;UAAK,GAAG,EAAC,sBAAT;UAAgC,GAAG,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