diff --git a/.env b/.env
new file mode 100644
index 000000000..6241bfbbd
--- /dev/null
+++ b/.env
@@ -0,0 +1,6 @@
+FIREBASE_API_KEY = AIzaSyAaOxlvdJlsMMUZHDi325Y4SOUI2-wvO6U
+FIREBASE_AUTH_DOMAIN = myplant-21025.firebaseapp.com
+FIREBASE_PROJECT_ID = myplant-21025
+FIREBASE_STORAGE_BUCKET = myplant-21025.appspot.com
+FIREBASE_MESSAGING_SENDER_ID = 258161978128
+FIREBASE_APP_ID = 1:258161978128:web:4228fd8ad30674909c5395
\ No newline at end of file
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 000000000..a7dfb30e2
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+.DS_Store
+.env
\ No newline at end of file
diff --git a/.vscode/settings.json b/.vscode/settings.json
new file mode 100644
index 000000000..6b665aaa0
--- /dev/null
+++ b/.vscode/settings.json
@@ -0,0 +1,3 @@
+{
+ "liveServer.settings.port": 5501
+}
diff --git a/README.md b/README.md
index b1efd6d14..e4f5c0277 100644
--- a/README.md
+++ b/README.md
@@ -1,50 +1,55 @@
+# 🪴 우리집 식물 관리 서비스 - 마이플랜트 🪴
-# :camera: 직원 사진 관리 서비스
-
-직원들의 사진을 관리할 수 있는 사진 관리자 서비스를 만들어 보세요.
-
-과제 수행 및 리뷰 기간은 별도 공지를 참고하세요!
-## [과제 수행 및 제출 방법]
-1. 현재 저장소를 로컬에 클론(Clone)합니다.
-2. 자신의 본명으로 브랜치를 생성합니다.(구분 가능하도록 본명을 꼭 파스칼케이스로 표시하세요, git branch KDT0_이름)
-3. 자신의 본명 브랜치에서 과제를 수행합니다.
-4. 과제 수행이 완료되면, 자신의 본명 브랜치를 원격 저장소에 푸시(Push)합니다.(main 브랜치에 푸시하지 않도록 꼭 주의하세요, git push origin KDT0_이름)
-5. 저장소에서 main 브랜치를 대상으로 Pull Request 생성하면, 과제 제출이 완료됩니다!(E.g, main <== KDT0_이름)
-6. Pull Request 링크를 LMS로도 제출해 주셔야 합니다.
-7. main 혹은 다른 사람의 브랜치로 절대 병합하지 않도록 주의하세요!
-8. Pull Request에서 보이는 설명을 다른 사람들이 이해하기 쉽도록 꼼꼼하게 작성하세요!
-9. Pull Request에서 과제 제출 후 절대 병합(Merge)하지 않도록 주의하세요!
-10. 과제 수행 및 제출 과정에서 문제가 발생한 경우, 바로 담당 멘토나 강사에서 얘기하세요!
-
-## [필수 요구사항]
-- “AWS S3 / Firebase 같은 서비스”를 이용하여 사진을 관리할 수 있는 페이지를 구현하세요.
-- 프로필 페이지를 개발하세요.
-- 스크롤이 가능한 형태의 리스팅 페이지를 개발하세요.
-- 전체 페이지 데스크탑-모바일 반응형 페이지를 개발하세요.
-- 사진을 등록, 수정, 삭제가 가능해야 합니다.
-- 유저 플로우를 제작하여 리드미에 추가하세요.
-* CSS
- * 애니메이션 구현
- * 상대수치 사용(rem, em)
-* JavaScript
- * DOM event 조작
-
-## [선택 요구사항]
-- 사진 관리 페이지와 관련된 기타 기능도 고려해 보세요.
-- 페이지가 보여지기 전에 로딩 애니메이션이 보이도록 만들어보세요.
-- 직원을 등록, 수정, 삭제가 가능하게 해보세요.
-- 직원 검색 기능을 추가해 보세요.
-- infinity scroll 기능을 추가해 보세요.
-- 사진을 편집할 수 있는 기능을 추가해 보세요.
-- LocalStorage 사용
+우리집에서 키우는 식물들의 정보를 쉽게 추가하고 관리할 수 있게 해주는 서비스입니다!
+
+
+## [배포 링크]
+
+https://
+
+
+## 기술 스택
+
+
+
+
+
+
+
+
+## [필수 요구사항 - 구현 완료]
+
+✔️ Firebase 서비스를 이용하여 사진을 관리할 수 있는 페이지 구현
+✔️ 프로필 페이지 개발
+✔️ 스크롤이 가능한 형태의 리스팅 페이지 개발
+✔️ 전체 페이지 데스크탑-모바일 반응형 페이지를 개발
+✔️ 사진 등록, 수정, 삭제 기능 추가
+✔️ 유저 플로우를 제작하여 리드미에 추가
+✔️ CSS - 애니메이션 구현 & 상대수치 사용(rem, em)
+✔️ JavaScript - DOM event 조작
+
+
+## [선택 요구사항 중 구현한 기능]
+
+✔️ 직원 등록, 수정, 삭제 기능 추가
+
+## 아쉬운점 & 느낀점
+
+- HTML, CSS 부터 먼저 완성한 뒤 Database 연결 작업을 시작했는데, 기존에 만들어져있던 무수한 클래스명과 각종 요소들을 다시 Firebase와 연결하는 과정에서 꽤나 애를 먹었다. 때문에 시간이 촉박하여 완전히 구현하지 못한 기능들도 많고 개인적으로 아쉬움이 많이 남는다. 이번 과제를 계기로 추후에는 DB 연결부터 먼저 해놓고 디자인을 시작하는게 훨씬 효율적일 것 같다.
+- 구현하는 과정에서 아직 어려운 개념들이 너무 많다고 느껴졌고, 자바스크립트와 친해지기 위해서 앞으로도 부단히 노력해야겠다는 생각이 들었다.
## [화면 예시]
-![111](https://github.com/KDT1-FE/Y_FE_JAVASCRIPT_PICTURE/assets/96465306/f1afed4b-547e-4289-8e83-2f0fa188cccb)
-![222](https://github.com/KDT1-FE/Y_FE_JAVASCRIPT_PICTURE/assets/96465306/72f1ea35-8965-4050-9d0b-b9f27c933f64)
+### 리스트 조회
+
+!사진
+
+### 식물 정보 추가 / 수정
-## [흐름]
-![333](https://github.com/KDT1-FE/Y_FE_JAVASCRIPT_PICTURE/assets/96465306/44707a0e-6c5a-4d04-a6bd-58e46f02a9a9)
+!사진
+
+## [유저플로우]
+
diff --git a/assets/css/main.css b/assets/css/main.css
new file mode 100644
index 000000000..700479b9a
--- /dev/null
+++ b/assets/css/main.css
@@ -0,0 +1,637 @@
+html {
+ font-size: 20px;
+}
+
+body,
+input,
+button,
+textarea {
+ font-family: "Gowun Batang", serif;
+ font-size: 15px;
+ background-color: #fffcf3;
+}
+
+.mobile-sidebar {
+ display: none;
+}
+
+@media screen and (max-width: 430px) {
+ html,
+ body {
+ overflow-x: hidden;
+ height: 100%;
+ font-size: 13px;
+ }
+
+ input {
+ font-size: 1.2em;
+ }
+
+ .header {
+ position: relative;
+ margin: 0 auto;
+ z-index: 0;
+ }
+
+ .header__title span {
+ font-size: 2rem !important;
+ white-space: nowrap;
+ }
+
+ .header__myinfo {
+ position: absolute;
+ top: -7rem;
+ right: -3rem;
+ z-index: 1;
+ }
+ .header__myinfo span,
+ .header__myinfo a,
+ .header__myinfo-sub {
+ width: 90%;
+ font-size: 0.9em;
+ }
+
+ .header__myinfo-deco img {
+ position: absolute;
+ width: 60vw;
+ top: 6rem;
+ right: 3rem;
+ }
+ .list__util-search {
+ position: absolute;
+ top: -3em;
+ left: 0;
+ width: 0.7em;
+ z-index: 2;
+ }
+ .list__util-search input {
+ font-size: 0.95em;
+ }
+
+ .btn-regi {
+ position: absolute;
+ top: -3em;
+ right: 0;
+ }
+ .btn-edit {
+ color: #000;
+ }
+
+ .btn-delete {
+ color: #000;
+ }
+
+ .mobile-sidebar {
+ display: block;
+ }
+
+ .mobile-btn-totop {
+ display: block;
+ position: fixed;
+ bottom: 0rem;
+ right: 0rem;
+ z-index: 999;
+ }
+ .mobile-button {
+ border: 0px;
+ }
+
+ .mobile-button img {
+ width: 3em;
+ height: auto;
+ }
+
+ .list__actual {
+ background-image: url("/assets/images/bg_bot.png");
+ background-repeat: no-repeat;
+ border: 1px dashed #c8c8c8;
+ border-radius: 20px;
+ max-width: 100vw;
+ height: 100vh;
+ z-index: 0;
+ margin-left: 0.2em;
+ margin-right: 0.2em;
+ }
+
+ .list__actual th:nth-child(4),
+ .list__actual th:nth-child(5),
+ .list__actual td:nth-child(4),
+ .list__actual td:nth-child(5) {
+ display: none;
+ }
+
+ /* Adjust the remaining columns' widths */
+ .list__actual th,
+ .list__actual td {
+ width: calc(
+ (100% - 2 * 4%) / 4
+ ); /* Assuming there are 4 columns remaining */
+ }
+
+ /* Styles for modal container */
+ .modal {
+ display: none;
+ position: fixed;
+ top: 20%;
+ left: 15%;
+ max-width: 70vw;
+ justify-content: space-between;
+ }
+
+ /* Styles for modal content */
+ .modal-content {
+ background-color: #f7efd2;
+ background-image: url("/assets/images/register_bg.png");
+ background-repeat: no-repeat;
+ border-radius: 8px;
+ }
+
+ .modal-content span {
+ background-color: rgba(255, 229, 116, 0.8);
+ font-size: 2.1em;
+ font-weight: 500;
+ font-style: italic;
+ writing-mode: vertical-rl;
+ padding: 0.2em;
+ }
+
+ .modal-form {
+ text-align: right;
+ padding: 1em;
+ }
+
+ .modal-form label {
+ line-height: 0.8em;
+ background-color: rgba(255, 255, 255, 0.7);
+ font-size: 1.1em;
+ }
+
+ .modal-form input,
+ .modal-form textarea {
+ border: 1px solid #c8c8c8;
+ font-size: 1.1em;
+ }
+ .modal-form textarea {
+ font-size: 1.1em;
+ }
+}
+
+.header {
+ background-image: url(/assets/images/bg_top.png);
+ max-width: 100%;
+ height: 253px;
+ object-fit: cover;
+ margin: 0 auto;
+ display: flex;
+ justify-content: space-evenly;
+ align-items: center;
+}
+
+.header__title {
+ padding: 15px;
+ margin: 0 0 0 -10px;
+ position: relative;
+ z-index: 0;
+}
+
+.header__title span {
+ display: block;
+ font-size: 1.4rem;
+ font-weight: 600;
+ color: #343434;
+ letter-spacing: -1.5px;
+ rotate: -2.5deg;
+}
+
+.header__title-deco {
+ position: absolute;
+ float: left;
+ top: -25px;
+ left: -70px;
+ z-index: -1;
+}
+
+.header__myinfo {
+ display: flex;
+ flex-direction: column;
+ padding: 1.2em;
+ margin-right: 4rem;
+ position: relative;
+ z-index: 2;
+}
+
+.header__myinfo a {
+ text-decoration: underline;
+ font-size: 1.3em;
+ color: #000000;
+}
+
+.header__myinfo a:hover {
+ color: #6f9605;
+ transition: color 0.1s;
+}
+
+.header__myinfo:hover .header__myinfo-sub {
+ height: 50px;
+ opacity: 1;
+ z-index: 1;
+ background-color: #fff;
+}
+
+.header__myinfo-sub {
+ display: flex;
+ flex-direction: column;
+ width: 60%;
+ position: absolute;
+ top: 90%;
+ left: 0;
+ opacity: 0;
+ transition: ease-out 0.1s;
+ z-index: -2;
+ margin-left: 15px;
+ background-color: #fff;
+}
+
+.header__myinfo-sub ul li {
+ margin-left: 10px;
+ margin-bottom: 5px;
+}
+
+.header__myinfo-sub ul li a {
+ text-decoration: none;
+ font-size: 0.9em;
+ letter-spacing: -0.5px;
+}
+
+.header__myinfo-sub ul li img {
+ width: 16px;
+ height: 16px;
+ margin-right: 5px;
+}
+
+.header__myinfo-deco {
+ position: absolute;
+ float: right;
+ top: -1rem;
+ right: -7rem;
+ z-index: -1;
+ opacity: 0.8;
+ pointer-events: none;
+}
+
+.list {
+ display: flex;
+ flex-direction: column;
+ position: relative;
+ justify-content: center;
+ align-items: center;
+}
+
+.list__util {
+ width: 70vw;
+ height: auto;
+ border-radius: 50px;
+ margin: 0 auto;
+ display: flex;
+ flex-direction: row;
+ justify-content: center;
+}
+
+/* 검색창 스타일링 */
+.list__util-search .form {
+ --input-text-color: #505050;
+ --input-bg-color: #fff;
+ --focus-input-bg-color: #fff;
+ --text-color: #949faa;
+ --active-color: #89b806;
+ --width-of-input: 16em;
+ --inline-padding-of-input: 0.7em;
+ --gap: 0.9em;
+}
+/* form style */
+.list__util-search .form {
+ font-size: 1.1em;
+ display: flex;
+ gap: 0.5rem;
+ border-bottom: 1px solid #c8c8c8;
+ margin-right: 2em;
+ align-items: center;
+ width: var(--width-of-input);
+ position: relative;
+}
+/* a fancy bg for showing background and border when focus. */
+.list__util-search .fancy-bg {
+ position: absolute;
+ width: 100%;
+ inset: 0;
+ background: var(--input-bg-color);
+ height: 100%;
+ z-index: -1;
+ pointer-events: none;
+}
+/* label styling */
+.list__util-search label {
+ width: 100%;
+ padding: 0.2em;
+ height: 30px;
+ padding-inline: var(--inline-padding-of-input);
+ display: flex;
+ align-items: center;
+}
+
+.list__util-search .search,
+.list__util-search .close-btn {
+ position: absolute;
+}
+/* styling search-icon */
+.list__util-search .search {
+ fill: var(--text-color);
+ left: var(--inline-padding-of-input);
+}
+/* svg -- size */
+.list__util-search svg {
+ width: 17px;
+ display: block;
+ cursor: pointer;
+}
+/* styling of close button */
+.list__util-search .close-btn {
+ border: none;
+ right: var(--inline-padding-of-input);
+ box-sizing: border-box;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ color: #fff;
+ padding: 0.1em;
+ width: 20px;
+ height: 20px;
+ border-radius: 50%;
+ background-color: #ff8585;
+ opacity: 0;
+ visibility: hidden;
+}
+/* styling of input */
+.list__util-search .input {
+ color: var(--input-text-color);
+ width: 100%;
+ margin-inline: min(2em, calc(var(--inline-padding-of-input) + var(--gap)));
+ background: none;
+ border: none;
+}
+
+.list__util-search .input:focus {
+ outline: none;
+}
+
+.list__util-search .input::placeholder {
+ color: var(--text-color);
+}
+/* input background change in focus */
+.list__util-search .input:focus ~ .fancy-bg {
+ border: 1px solid var(--active-color);
+ background: var(--focus-input-bg-color);
+}
+/* search icon color change in focus */
+.list__util-search .input:focus ~ .search {
+ fill: var(--active-color);
+}
+/* showing close button when typing */
+.list__util-search .input:valid ~ .close-btn {
+ opacity: 1;
+ visibility: visible;
+ transition: 0.2s;
+}
+
+/* 추가 버튼*/
+.btn-regi {
+ width: 7rem;
+ font-size: 1.2em;
+ padding: 0.3em;
+ cursor: pointer;
+ background-color: #f2f2f2;
+ border: 1px solid #c8c8c8;
+ z-index: 2;
+}
+
+.btn-regi:hover {
+ background-color: #c9e441;
+ border: 1px solid #c7d69e;
+ transition: background-color 0.3s;
+ transform: translateX(0.1em) translateY(0.1em);
+}
+
+/* 수정 버튼 */
+.btn-edit {
+ width: 2.3rem;
+ font-size: 1em;
+ padding: 0.2em;
+ cursor: pointer;
+ background-color: #ffe167;
+ border: 1px solid #edd77d;
+}
+
+.btn-edit:hover {
+ background: #fbcb0b;
+ border: 1px solid #fbcb0b;
+ transform: translateX(0.1em) translateY(0.1em);
+}
+
+/* 삭제 버튼 */
+.btn-delete {
+ width: 2.3rem;
+ font-size: 1em;
+ padding: 0.2em;
+ cursor: pointer;
+ background-color: #ffa8a8;
+ border: 1px solid #ffa2a2;
+}
+
+.btn-delete:hover {
+ background-color: #ff8888;
+ border: 1px solid #ff8888;
+ transform: translateX(0.1em) translateY(0.1em);
+}
+
+.list__content {
+ max-width: 100%;
+ min-height: 440px;
+ border-radius: 50px;
+}
+
+.list__actual {
+ background-image: url("/assets/images/bg_bot.png");
+ background-repeat: no-repeat;
+ background-position: bottom;
+ border: 1px dashed #c8c8c8;
+ border-radius: 20px;
+ margin-top: 2em;
+ margin-bottom: 1.5em;
+ width: 800px;
+ height: auto;
+ position: relative;
+ z-index: 0;
+ overflow-x: hidden;
+}
+
+.list__actual table {
+ width: 100%;
+ border-collapse: collapse;
+ background-color: rgba(255, 255, 255, 0.7);
+ table-layout: fixed;
+}
+
+.list__actual th {
+ font-size: 1.2em;
+ height: 2em;
+ font-weight: 700;
+ background-color: #fcffe8;
+}
+
+.list__actual th,
+.list__actual td {
+ padding: 0.5em 0.5em 0.5em 0;
+ border-bottom: solid 1px #e2e2e2;
+ text-align: center;
+ vertical-align: middle;
+}
+
+.list__actual td {
+ height: 4em;
+ font-size: 1.1em;
+}
+
+.list__actual th:nth-child(1),
+.list__actual td:nth-child(1) {
+ width: 20%;
+}
+
+.list__actual th:nth-child(2),
+.list__actual td:nth-child(2) {
+ width: 8%;
+}
+
+.list__actual th:nth-child(5),
+.list__actual td:nth-child(5) {
+ width: 20%;
+}
+
+.list__actual th:nth-last-child(2),
+.list__actual th:last-child,
+.list__actual td:nth-last-child(2),
+.list__actual td:last-child {
+ width: 6%;
+}
+
+.plant-image {
+ width: 6rem;
+ height: 6rem;
+ border-radius: 15px;
+ border: 1px solid #e1e1e1;
+}
+
+#printImage {
+ width: 8rem;
+ height: 8rem;
+ background-color: #fff;
+}
+
+/* Styles for modal container */
+.modal {
+ display: none;
+ position: fixed;
+ margin: 0 0 10em 0;
+ width: auto;
+ height: auto;
+ justify-content: center;
+ align-items: center;
+ z-index: 9999;
+}
+
+/* Styles for modal content */
+.modal-content {
+ background-color: #f7efd2;
+ background-image: url("/assets/images/register_bg.png");
+ background-repeat: no-repeat;
+ padding: 20px;
+ border-radius: 8px;
+ box-shadow: 0px 6px 8px rgba(88, 88, 88, 0.14);
+ max-width: 100%;
+ width: 450px;
+ height: auto;
+ text-align: center;
+ display: flex;
+ flex-direction: row;
+ justify-content: space-between;
+}
+
+.modal-content span {
+ background-color: rgba(255, 229, 116, 0.8);
+ font-size: 2.1em;
+ font-weight: 500;
+ font-style: italic;
+ writing-mode: vertical-rl;
+ padding: 0.2em;
+}
+
+.modal-form {
+ text-align: right;
+ padding: 1em;
+}
+
+.modal-form label {
+ line-height: 2em;
+ margin-right: 1em;
+}
+
+.modal-form input,
+.modal-form textarea {
+ border: 1px solid #c8c8c8;
+ width: 15em;
+}
+
+.align-right {
+ float: right;
+}
+
+.spacer {
+ height: 7em;
+}
+.save-button {
+ background-color: hsl(76, 100%, 87%);
+ border: 1px solid #c8c8c8;
+ font-size: 1.5em;
+ padding: 0.2em;
+ float: right;
+ cursor: pointer;
+}
+.save-button:hover {
+ transform: translateX(0.1em) translateY(0.1em);
+ background-color: hsl(76, 100%, 80%);
+}
+.close-button {
+ background-color: #fff5f5;
+ border: 1px solid #c8c8c8;
+ font-size: 1.5em;
+ padding: 0.2em;
+ margin-right: 0.5em;
+ float: right;
+ cursor: pointer;
+}
+.close-button:hover {
+ transform: translateX(0.1em) translateY(0.1em);
+ background-color: #ffe0e0;
+}
+/* Styles for the button */
+.button {
+ padding: 10px 20px;
+ background-color: #007bff;
+ color: white;
+ border: none;
+ border-radius: 4px;
+ cursor: pointer;
+}
+
+.button:hover {
+ background-color: #0056b3;
+}
diff --git a/assets/css/reset.css b/assets/css/reset.css
new file mode 100644
index 000000000..82935aece
--- /dev/null
+++ b/assets/css/reset.css
@@ -0,0 +1,124 @@
+html,
+body,
+div,
+span,
+applet,
+object,
+iframe,
+h1,
+h2,
+h3,
+h4,
+h5,
+h6,
+p,
+blockquote,
+pre,
+a,
+abbr,
+acronym,
+address,
+big,
+cite,
+code,
+del,
+dfn,
+em,
+img,
+ins,
+kbd,
+q,
+s,
+samp,
+small,
+strike,
+strong,
+sub,
+sup,
+tt,
+var,
+b,
+u,
+i,
+center,
+dl,
+dt,
+dd,
+ol,
+ul,
+li,
+fieldset,
+form,
+label,
+legend,
+table,
+caption,
+tbody,
+tfoot,
+thead,
+tr,
+th,
+td,
+article,
+aside,
+canvas,
+details,
+embed,
+figure,
+figcaption,
+footer,
+header,
+hgroup,
+menu,
+nav,
+output,
+ruby,
+section,
+summary,
+time,
+mark,
+audio,
+video {
+ margin: 0;
+ padding: 0;
+ border: 0;
+ font-size: 100%;
+ font: inherit;
+ vertical-align: baseline;
+}
+/* HTML5 display-role reset for older browsers */
+article,
+aside,
+details,
+figcaption,
+figure,
+footer,
+header,
+hgroup,
+menu,
+nav,
+section {
+ display: block;
+}
+body {
+ line-height: 1;
+}
+ol,
+ul {
+ list-style: none;
+}
+blockquote,
+q {
+ quotes: none;
+}
+blockquote:before,
+blockquote:after,
+q:before,
+q:after {
+ content: "";
+ content: none;
+}
+table {
+ border-collapse: collapse;
+ border-spacing: 0;
+}
diff --git a/assets/images/bg_bot.png b/assets/images/bg_bot.png
new file mode 100644
index 000000000..a5bdd7d53
Binary files /dev/null and b/assets/images/bg_bot.png differ
diff --git a/assets/images/bg_top.png b/assets/images/bg_top.png
new file mode 100644
index 000000000..04683fdee
Binary files /dev/null and b/assets/images/bg_top.png differ
diff --git a/assets/images/default.png b/assets/images/default.png
new file mode 100644
index 000000000..99f38c319
Binary files /dev/null and b/assets/images/default.png differ
diff --git a/assets/images/detail_bg.png b/assets/images/detail_bg.png
new file mode 100644
index 000000000..7c3eada9a
Binary files /dev/null and b/assets/images/detail_bg.png differ
diff --git a/assets/images/edit.png b/assets/images/edit.png
new file mode 100644
index 000000000..cd7dd3db8
Binary files /dev/null and b/assets/images/edit.png differ
diff --git a/assets/images/favicon.png b/assets/images/favicon.png
new file mode 100644
index 000000000..39ed0dacd
Binary files /dev/null and b/assets/images/favicon.png differ
diff --git a/assets/images/infobg.png b/assets/images/infobg.png
new file mode 100644
index 000000000..311bf4fd8
Binary files /dev/null and b/assets/images/infobg.png differ
diff --git a/assets/images/item1.jpg b/assets/images/item1.jpg
new file mode 100644
index 000000000..1238647d8
Binary files /dev/null and b/assets/images/item1.jpg differ
diff --git a/assets/images/item2.jpeg b/assets/images/item2.jpeg
new file mode 100644
index 000000000..a640fac56
Binary files /dev/null and b/assets/images/item2.jpeg differ
diff --git a/assets/images/item3.jpg b/assets/images/item3.jpg
new file mode 100644
index 000000000..41565b588
Binary files /dev/null and b/assets/images/item3.jpg differ
diff --git a/assets/images/logout.png b/assets/images/logout.png
new file mode 100644
index 000000000..dbe372392
Binary files /dev/null and b/assets/images/logout.png differ
diff --git a/assets/images/myinfo.png b/assets/images/myinfo.png
new file mode 100644
index 000000000..5968b67c0
Binary files /dev/null and b/assets/images/myinfo.png differ
diff --git a/assets/images/register_bg.png b/assets/images/register_bg.png
new file mode 100644
index 000000000..a820585ef
Binary files /dev/null and b/assets/images/register_bg.png differ
diff --git a/assets/images/tape.png b/assets/images/tape.png
new file mode 100644
index 000000000..583e770af
Binary files /dev/null and b/assets/images/tape.png differ
diff --git a/assets/images/totop.png b/assets/images/totop.png
new file mode 100644
index 000000000..4f8d627ff
Binary files /dev/null and b/assets/images/totop.png differ
diff --git a/assets/js/firebase.js b/assets/js/firebase.js
new file mode 100644
index 000000000..60cf14730
--- /dev/null
+++ b/assets/js/firebase.js
@@ -0,0 +1,70 @@
+// Import the functions you need from the SDKs you need
+import { initializeApp } from "https://www.gstatic.com/firebasejs/10.1.0/firebase-app.js";
+import {
+ getStorage,
+ ref,
+ uploadBytesResumable,
+ getDownloadURL,
+} from "https://www.gstatic.com/firebasejs/10.1.0/firebase-storage.js";
+import {
+ getFirestore,
+ collection,
+ addDoc,
+ getDoc,
+ deleteDoc,
+ updateDoc,
+ onSnapshot,
+ doc,
+} from "https://www.gstatic.com/firebasejs/10.1.0/firebase-firestore.js";
+// TODO: Add SDKs for Firebase products that you want to use
+// https://firebase.google.com/docs/web/setup#available-libraries
+
+// Your web app's Firebase configuration
+// const firebaseConfig = {
+// apiKey: process.env.FIREBASE_API_KEY,
+// authDomain: process.env.FIREBASE_AUTH_DOMAIN,
+// projectId: process.env.FIREBASE_PROJECT_ID,
+// storageBucket: process.env.FIREBASE_STORAGE_BUCKET,
+// messagingSenderId: process.env.FIREBASE_MESSAGING_SENDER_ID,
+// appId: process.env.FIREBASE_APP_ID,
+// };
+
+const firebaseConfig = {
+ apiKey: "AIzaSyAaOxlvdJlsMMUZHDi325Y4SOUI2-wvO6U",
+ authDomain: "myplant-21025.firebaseapp.com",
+ projectId: "myplant-21025",
+ storageBucket: "myplant-21025.appspot.com",
+ messagingSenderId: "258161978128",
+ appId: "1:258161978128:web:4228fd8ad30674909c5395",
+};
+
+// Initialize Firebase
+const app = initializeApp(firebaseConfig);
+const db = getFirestore();
+const storage = getStorage(app);
+
+// CRUD CONTROL FUNCTION
+
+// SAVE
+export const saveData = (image, name, date, waterTime, note) => {
+ addDoc(collection(db, "myplants"), { image, name, date, waterTime, note });
+};
+
+// LIST
+export const onGetData = (callback) =>
+ onSnapshot(collection(db, "myplants"), callback);
+
+// DELETE
+export const deleteData = (id) => deleteDoc(doc(db, "myplants", id));
+
+// EDIT
+export const getData = (id) => getDoc(doc(db, "myplants", id));
+export const updateData = (id, newInfo) =>
+ updateDoc(doc(db, "myplants", id), newInfo);
+//export const editData = (id) => (doc(db, 'myplants', id))
+
+// UPLOAD FILE
+
+export const storageRef = (imageFile) => ref(storage, imageFile);
+export const uploadTask = (storageRef, imageFile) =>
+ uploadBytesResumable(storageRef, imageFile);
diff --git a/assets/js/index.js b/assets/js/index.js
new file mode 100644
index 000000000..cbb2d70b2
--- /dev/null
+++ b/assets/js/index.js
@@ -0,0 +1,258 @@
+// CALLING FUNCTIONS
+import {
+ getStorage,
+ ref,
+ uploadBytesResumable,
+ getDownloadURL,
+} from "https://www.gstatic.com/firebasejs/10.1.0/firebase-storage.js";
+import {
+ saveData,
+ onGetData,
+ deleteData,
+ getData,
+ updateData,
+ storageRef,
+ uploadTask,
+} from "./firebase.js";
+
+const plantsForm = document.getElementById("plants-form");
+const plantsDataContainer = document.getElementById("plants-data-container");
+const table = document.querySelector(".list__actual table");
+
+// Handle image upload form submission
+const imageInput = document.getElementById("imageInput");
+const imageContainer = document.getElementById("imageContainer");
+const progress = document.getElementById("progress");
+
+let editStatus = false;
+let id = ""; //db ID for elements
+
+function searchPlant() {
+ // Declare variables
+ let input, filter, table, tr, td, i, txtValue;
+ input = document.getElementById("searchBar");
+ filter = input.value.toUpperCase();
+ table = document.querySelector(".list__actual table");
+ tr = table.getElementsByTagName("tr");
+
+ // Loop through all table rows, and hide those that don't match the search query
+ for (i = 0; i < tr.length; i++) {
+ td = tr[i].getElementsByTagName("td")[1]; // Index 1 corresponds to the "이름" column
+ if (td) {
+ txtValue = td.textContent || td.innerText;
+ console.log("Works well");
+ if (txtValue.toUpperCase().indexOf(filter) > -1) {
+ tr[i].style.display = "";
+ } else {
+ tr[i].style.display = "none";
+ }
+ }
+ }
+}
+// Open modal when "추가" button is clicked
+const openModalButton = document.querySelector(".btn-regi");
+openModalButton.addEventListener("click", () => {
+ // Clear form data and reset edit status
+ document.getElementById("printImage").src = "/assets/images/default.png";
+ plantsForm.reset();
+ editStatus = false;
+ id = "";
+ plantsForm["btn-data-save"].innerText = "추가";
+
+ // Open the modal
+ document.getElementById("myModal").style.display = "block";
+});
+
+// Close modal when "닫기" button is clicked
+const closeModalButton = document.querySelector(".close-button");
+closeModalButton.addEventListener("click", () => {
+ document.getElementById("myModal").style.display = "none";
+ plantsForm.reset();
+});
+
+//LIST
+window.addEventListener("DOMContentLoaded", async () => {
+ //GET DATA
+ onGetData((querySnapshot) => {
+ // list all the data in a div container with inner html
+ let html = "";
+ querySnapshot.forEach((doc) => {
+ const plantData = { id: doc.id, ...doc.data() };
+ html += `
+
+
+
+
+ ${plantData.name}
+ ${plantData.date}
+ ${plantData.waterTime}
+ ${plantData.note}
+ 수정
+ 삭제
+
+
+
+ `;
+ });
+ // contains all the elementes
+ plantsDataContainer.innerHTML = html;
+
+ // DELETE BUTTON
+ //object with all the buttons
+ const btnsDelete = plantsDataContainer.querySelectorAll(".btn-delete");
+ //select the specific button for DELETE
+ btnsDelete.forEach((btn) => {
+ btn.addEventListener("click", ({ target: { dataset } }) => {
+ const confirmed = confirm("정말 삭제하시겠어요?");
+ if (confirmed) {
+ deleteData(dataset.id);
+ }
+ });
+ });
+
+ //EDIT BUTTON
+ const btnsEdit = plantsDataContainer.querySelectorAll(".btn-edit");
+ btnsEdit.forEach((btn) => {
+ btn.addEventListener("click", async ({ target: { dataset } }) => {
+ const doc = await getData(dataset.id);
+ const data = { id: doc.id, ...doc.data() };
+ openEditModal(data);
+ });
+ });
+
+ // Function to open modal and pre-fill with data
+ function openEditModal(data) {
+ const imgSrc = document.getElementById("printImage");
+ imgSrc.src = data.image;
+ plantsForm["name-data"].value = data.name;
+ plantsForm["date-data"].value = data.date;
+ plantsForm["water-time-data"].value = data.waterTime;
+ plantsForm["note-data"].value = data.note;
+ editStatus = true;
+ id = data.id;
+ plantsForm["btn-data-save"].innerText = "수정";
+ // Open the modal
+ document.getElementById("myModal").style.display = "block";
+ }
+
+ // SAVE
+ plantsForm.addEventListener("submit", async (e) => {
+ e.preventDefault();
+
+ const name = plantsForm["name-data"];
+ const date = plantsForm["date-data"];
+ const waterTime = plantsForm["water-time-data"];
+ const note = plantsForm["note-data"];
+
+ // Validation process for inputs
+ const validateInputs = [
+ { name: "이름", element: name },
+ { name: "날짜", element: date },
+ ];
+
+ // Loop through the fields and perform validation
+ for (const name of validateInputs) {
+ if (!name.element.value) {
+ alert(`${name.name}은(는) 필수 입력 항목입니다.`);
+ return;
+ }
+ }
+
+ //IMAGE SAVING
+ const imageFile = imageInput.files[0];
+
+ if (!imageFile) {
+ if (editStatus) {
+ updateData(id, {
+ name: name.value,
+ date: date.value,
+ waterTime: waterTime.value,
+ note: note.value,
+ });
+ editStatus = false;
+
+ return;
+ }
+ alert("이미지를 추가하세요.");
+ console.log("no image");
+ return;
+ }
+
+ const imageStorageRef = storageRef(imageFile.name);
+ const imageUploadTask = uploadTask(imageStorageRef, imageFile);
+
+ imageUploadTask.on(
+ "state_changed",
+ (snapshot) => {
+ const percent =
+ (snapshot.bytesTransferred / snapshot.totalBytes) * 100;
+ progress.textContent = `Uploading: ${percent.toFixed(2)}%`;
+ },
+ (error) => {
+ console.error("Error uploading image:", error);
+ },
+ async () => {
+ progress.textContent = "Upload Complete!";
+ const downloadURL = await getDownloadURL(
+ imageUploadTask.snapshot.ref
+ );
+ //DATA SAVING
+ const image = downloadURL;
+ const name = plantsForm["name-data"];
+ const date = plantsForm["date-data"];
+ const waterTime = plantsForm["water-time-data"];
+ const note = plantsForm["note-data"];
+
+ if (!editStatus) {
+ saveData(
+ image,
+ name.value,
+ date.value,
+ waterTime.value,
+ note.value
+ );
+ alert("저장되었습니다!");
+ document.getElementById("myModal").style.display = "none";
+ // Add a new row to the table
+ const newRow = document.createElement("tr");
+ newRow.innerHTML = `
+
+ ${name.value}
+ ${date.value}
+ ${waterTime.value}
+ ${note.value}
+ 수정
+ 삭제
+ `;
+ table.appendChild(newRow);
+ } else {
+ updateData(id, {
+ image: image,
+ name: name.value,
+ date: date.value,
+ waterTime: waterTime.value,
+ note: note.value,
+ });
+ editStatus = false;
+ plantsForm["btn-data-save"].innerText = "저장";
+
+ // Update the edited row in the table
+ const editedRow = table.querySelector(`tr[data-id="${doc.id}"]`);
+ if (editedRow) {
+ editedRow.innerHTML = `
+
+ ${name.value}
+ ${date.value}
+ ${waterTime.value}
+ ${note.value}
+ 수정
+ 삭제
+ `;
+ }
+ }
+ }
+ );
+ });
+ plantsForm.reset();
+ });
+});
diff --git a/index.html b/index.html
new file mode 100644
index 000000000..0f9dfd98b
--- /dev/null
+++ b/index.html
@@ -0,0 +1,199 @@
+
+
+
+
+
+
+ 우리집 식물 친구 관리
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 사진
+ 이름
+ 데려온 날짜
+ 물주기 간격
+ 메모
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json
new file mode 100644
index 000000000..4b9af84ca
--- /dev/null
+++ b/node_modules/.package-lock.json
@@ -0,0 +1,18 @@
+{
+ "name": "Y_FE_JAVASCRIPT_PICTURE",
+ "lockfileVersion": 3,
+ "requires": true,
+ "packages": {
+ "node_modules/dotenv": {
+ "version": "16.3.1",
+ "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.3.1.tgz",
+ "integrity": "sha512-IPzF4w4/Rd94bA9imS68tZBaYyBWSCE47V1RGuMrB94iyTOIEwRmVL2x/4An+6mETpLrKJ5hQkB8W4kFAadeIQ==",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/motdotla/dotenv?sponsor=1"
+ }
+ }
+ }
+}
diff --git a/node_modules/dotenv/CHANGELOG.md b/node_modules/dotenv/CHANGELOG.md
new file mode 100644
index 000000000..c15fd30c7
--- /dev/null
+++ b/node_modules/dotenv/CHANGELOG.md
@@ -0,0 +1,431 @@
+# Changelog
+
+All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
+
+## [Unreleased](https://github.com/motdotla/dotenv/compare/v16.3.1...master)
+
+## [16.3.1](https://github.com/motdotla/dotenv/compare/v16.3.0...v16.3.1) (2023-06-17)
+
+### Added
+
+- Add missing type definitions for `processEnv` and `DOTENV_KEY` options. [#756](https://github.com/motdotla/dotenv/pull/756)
+
+## [16.3.0](https://github.com/motdotla/dotenv/compare/v16.2.0...v16.3.0) (2023-06-16)
+
+### Added
+
+- Optionally pass `DOTENV_KEY` to options rather than relying on `process.env.DOTENV_KEY`. Defaults to `process.env.DOTENV_KEY` [#754](https://github.com/motdotla/dotenv/pull/754)
+
+## [16.2.0](https://github.com/motdotla/dotenv/compare/v16.1.4...v16.2.0) (2023-06-15)
+
+### Added
+
+- Optionally write to your own target object rather than `process.env`. Defaults to `process.env`. [#753](https://github.com/motdotla/dotenv/pull/753)
+- Add import type URL to types file [#751](https://github.com/motdotla/dotenv/pull/751)
+
+## [16.1.4](https://github.com/motdotla/dotenv/compare/v16.1.3...v16.1.4) (2023-06-04)
+
+### Added
+
+- Added `.github/` to `.npmignore` [#747](https://github.com/motdotla/dotenv/pull/747)
+
+## [16.1.3](https://github.com/motdotla/dotenv/compare/v16.1.2...v16.1.3) (2023-05-31)
+
+### Removed
+
+- Removed `browser` keys for `path`, `os`, and `crypto` in package.json. These were set to false incorrectly as of 16.1. Instead, if using dotenv on the front-end make sure to include polyfills for `path`, `os`, and `crypto`. [node-polyfill-webpack-plugin](https://github.com/Richienb/node-polyfill-webpack-plugin) provides these.
+
+## [16.1.2](https://github.com/motdotla/dotenv/compare/v16.1.1...v16.1.2) (2023-05-31)
+
+### Changed
+
+- Exposed private function `_configDotenv` as `configDotenv`. [#744](https://github.com/motdotla/dotenv/pull/744)
+
+## [16.1.1](https://github.com/motdotla/dotenv/compare/v16.1.0...v16.1.1) (2023-05-30)
+
+### Added
+
+- Added type definition for `decrypt` function
+
+### Changed
+
+- Fixed `{crypto: false}` in `packageJson.browser`
+
+## [16.1.0](https://github.com/motdotla/dotenv/compare/v16.0.3...v16.1.0) (2023-05-30)
+
+### Added
+
+- Add `populate` convenience method [#733](https://github.com/motdotla/dotenv/pull/733)
+- Accept URL as path option [#720](https://github.com/motdotla/dotenv/pull/720)
+- Add dotenv to `npm fund` command
+- Spanish language README [#698](https://github.com/motdotla/dotenv/pull/698)
+- Add `.env.vault` support. 🎉 ([#730](https://github.com/motdotla/dotenv/pull/730))
+
+ℹ️ `.env.vault` extends the `.env` file format standard with a localized encrypted vault file. Package it securely with your production code deploys. It's cloud agnostic so that you can deploy your secrets anywhere – without [risky third-party integrations](https://techcrunch.com/2023/01/05/circleci-breach/). [read more](https://github.com/motdotla/dotenv#-deploying)
+
+### Changed
+
+- Fixed "cannot resolve 'fs'" error on tools like Replit [#693](https://github.com/motdotla/dotenv/pull/693)
+
+## [16.0.3](https://github.com/motdotla/dotenv/compare/v16.0.2...v16.0.3) (2022-09-29)
+
+### Changed
+
+- Added library version to debug logs ([#682](https://github.com/motdotla/dotenv/pull/682))
+
+## [16.0.2](https://github.com/motdotla/dotenv/compare/v16.0.1...v16.0.2) (2022-08-30)
+
+### Added
+
+- Export `env-options.js` and `cli-options.js` in package.json for use with downstream [dotenv-expand](https://github.com/motdotla/dotenv-expand) module
+
+## [16.0.1](https://github.com/motdotla/dotenv/compare/v16.0.0...v16.0.1) (2022-05-10)
+
+### Changed
+
+- Minor README clarifications
+- Development ONLY: updated devDependencies as recommended for development only security risks ([#658](https://github.com/motdotla/dotenv/pull/658))
+
+## [16.0.0](https://github.com/motdotla/dotenv/compare/v15.0.1...v16.0.0) (2022-02-02)
+
+### Added
+
+- _Breaking:_ Backtick support 🎉 ([#615](https://github.com/motdotla/dotenv/pull/615))
+
+If you had values containing the backtick character, please quote those values with either single or double quotes.
+
+## [15.0.1](https://github.com/motdotla/dotenv/compare/v15.0.0...v15.0.1) (2022-02-02)
+
+### Changed
+
+- Properly parse empty single or double quoted values 🐞 ([#614](https://github.com/motdotla/dotenv/pull/614))
+
+## [15.0.0](https://github.com/motdotla/dotenv/compare/v14.3.2...v15.0.0) (2022-01-31)
+
+`v15.0.0` is a major new release with some important breaking changes.
+
+### Added
+
+- _Breaking:_ Multiline parsing support (just works. no need for the flag.)
+
+### Changed
+
+- _Breaking:_ `#` marks the beginning of a comment (UNLESS the value is wrapped in quotes. Please update your `.env` files to wrap in quotes any values containing `#`. For example: `SECRET_HASH="something-with-a-#-hash"`).
+
+..Understandably, (as some teams have noted) this is tedious to do across the entire team. To make it less tedious, we recommend using [dotenv cli](https://github.com/dotenv-org/cli) going forward. It's an optional plugin that will keep your `.env` files in sync between machines, environments, or team members.
+
+### Removed
+
+- _Breaking:_ Remove multiline option (just works out of the box now. no need for the flag.)
+
+## [14.3.2](https://github.com/motdotla/dotenv/compare/v14.3.1...v14.3.2) (2022-01-25)
+
+### Changed
+
+- Preserve backwards compatibility on values containing `#` 🐞 ([#603](https://github.com/motdotla/dotenv/pull/603))
+
+## [14.3.1](https://github.com/motdotla/dotenv/compare/v14.3.0...v14.3.1) (2022-01-25)
+
+### Changed
+
+- Preserve backwards compatibility on exports by re-introducing the prior in-place exports 🐞 ([#606](https://github.com/motdotla/dotenv/pull/606))
+
+## [14.3.0](https://github.com/motdotla/dotenv/compare/v14.2.0...v14.3.0) (2022-01-24)
+
+### Added
+
+- Add `multiline` option 🎉 ([#486](https://github.com/motdotla/dotenv/pull/486))
+
+## [14.2.0](https://github.com/motdotla/dotenv/compare/v14.1.1...v14.2.0) (2022-01-17)
+
+### Added
+
+- Add `dotenv_config_override` cli option
+- Add `DOTENV_CONFIG_OVERRIDE` command line env option
+
+## [14.1.1](https://github.com/motdotla/dotenv/compare/v14.1.0...v14.1.1) (2022-01-17)
+
+### Added
+
+- Add React gotcha to FAQ on README
+
+## [14.1.0](https://github.com/motdotla/dotenv/compare/v14.0.1...v14.1.0) (2022-01-17)
+
+### Added
+
+- Add `override` option 🎉 ([#595](https://github.com/motdotla/dotenv/pull/595))
+
+## [14.0.1](https://github.com/motdotla/dotenv/compare/v14.0.0...v14.0.1) (2022-01-16)
+
+### Added
+
+- Log error on failure to load `.env` file ([#594](https://github.com/motdotla/dotenv/pull/594))
+
+## [14.0.0](https://github.com/motdotla/dotenv/compare/v13.0.1...v14.0.0) (2022-01-16)
+
+### Added
+
+- _Breaking:_ Support inline comments for the parser 🎉 ([#568](https://github.com/motdotla/dotenv/pull/568))
+
+## [13.0.1](https://github.com/motdotla/dotenv/compare/v13.0.0...v13.0.1) (2022-01-16)
+
+### Changed
+
+* Hide comments and newlines from debug output ([#404](https://github.com/motdotla/dotenv/pull/404))
+
+## [13.0.0](https://github.com/motdotla/dotenv/compare/v12.0.4...v13.0.0) (2022-01-16)
+
+### Added
+
+* _Breaking:_ Add type file for `config.js` ([#539](https://github.com/motdotla/dotenv/pull/539))
+
+## [12.0.4](https://github.com/motdotla/dotenv/compare/v12.0.3...v12.0.4) (2022-01-16)
+
+### Changed
+
+* README updates
+* Minor order adjustment to package json format
+
+## [12.0.3](https://github.com/motdotla/dotenv/compare/v12.0.2...v12.0.3) (2022-01-15)
+
+### Changed
+
+* Simplified jsdoc for consistency across editors
+
+## [12.0.2](https://github.com/motdotla/dotenv/compare/v12.0.1...v12.0.2) (2022-01-15)
+
+### Changed
+
+* Improve embedded jsdoc type documentation
+
+## [12.0.1](https://github.com/motdotla/dotenv/compare/v12.0.0...v12.0.1) (2022-01-15)
+
+### Changed
+
+* README updates and clarifications
+
+## [12.0.0](https://github.com/motdotla/dotenv/compare/v11.0.0...v12.0.0) (2022-01-15)
+
+### Removed
+
+- _Breaking:_ drop support for Flow static type checker ([#584](https://github.com/motdotla/dotenv/pull/584))
+
+### Changed
+
+- Move types/index.d.ts to lib/main.d.ts ([#585](https://github.com/motdotla/dotenv/pull/585))
+- Typescript cleanup ([#587](https://github.com/motdotla/dotenv/pull/587))
+- Explicit typescript inclusion in package.json ([#566](https://github.com/motdotla/dotenv/pull/566))
+
+## [11.0.0](https://github.com/motdotla/dotenv/compare/v10.0.0...v11.0.0) (2022-01-11)
+
+### Changed
+
+- _Breaking:_ drop support for Node v10 ([#558](https://github.com/motdotla/dotenv/pull/558))
+- Patch debug option ([#550](https://github.com/motdotla/dotenv/pull/550))
+
+## [10.0.0](https://github.com/motdotla/dotenv/compare/v9.0.2...v10.0.0) (2021-05-20)
+
+### Added
+
+- Add generic support to parse function
+- Allow for import "dotenv/config.js"
+- Add support to resolve home directory in path via ~
+
+## [9.0.2](https://github.com/motdotla/dotenv/compare/v9.0.1...v9.0.2) (2021-05-10)
+
+### Changed
+
+- Support windows newlines with debug mode
+
+## [9.0.1](https://github.com/motdotla/dotenv/compare/v9.0.0...v9.0.1) (2021-05-08)
+
+### Changed
+
+- Updates to README
+
+## [9.0.0](https://github.com/motdotla/dotenv/compare/v8.6.0...v9.0.0) (2021-05-05)
+
+### Changed
+
+- _Breaking:_ drop support for Node v8
+
+## [8.6.0](https://github.com/motdotla/dotenv/compare/v8.5.1...v8.6.0) (2021-05-05)
+
+### Added
+
+- define package.json in exports
+
+## [8.5.1](https://github.com/motdotla/dotenv/compare/v8.5.0...v8.5.1) (2021-05-05)
+
+### Changed
+
+- updated dev dependencies via npm audit
+
+## [8.5.0](https://github.com/motdotla/dotenv/compare/v8.4.0...v8.5.0) (2021-05-05)
+
+### Added
+
+- allow for `import "dotenv/config"`
+
+## [8.4.0](https://github.com/motdotla/dotenv/compare/v8.3.0...v8.4.0) (2021-05-05)
+
+### Changed
+
+- point to exact types file to work with VS Code
+
+## [8.3.0](https://github.com/motdotla/dotenv/compare/v8.2.0...v8.3.0) (2021-05-05)
+
+### Changed
+
+- _Breaking:_ drop support for Node v8 (mistake to be released as minor bump. later bumped to 9.0.0. see above.)
+
+## [8.2.0](https://github.com/motdotla/dotenv/compare/v8.1.0...v8.2.0) (2019-10-16)
+
+### Added
+
+- TypeScript types
+
+## [8.1.0](https://github.com/motdotla/dotenv/compare/v8.0.0...v8.1.0) (2019-08-18)
+
+### Changed
+
+- _Breaking:_ drop support for Node v6 ([#392](https://github.com/motdotla/dotenv/issues/392))
+
+# [8.0.0](https://github.com/motdotla/dotenv/compare/v7.0.0...v8.0.0) (2019-05-02)
+
+### Changed
+
+- _Breaking:_ drop support for Node v6 ([#302](https://github.com/motdotla/dotenv/issues/392))
+
+## [7.0.0] - 2019-03-12
+
+### Fixed
+
+- Fix removing unbalanced quotes ([#376](https://github.com/motdotla/dotenv/pull/376))
+
+### Removed
+
+- Removed `load` alias for `config` for consistency throughout code and documentation.
+
+## [6.2.0] - 2018-12-03
+
+### Added
+
+- Support preload configuration via environment variables ([#351](https://github.com/motdotla/dotenv/issues/351))
+
+## [6.1.0] - 2018-10-08
+
+### Added
+
+- `debug` option for `config` and `parse` methods will turn on logging
+
+## [6.0.0] - 2018-06-02
+
+### Changed
+
+- _Breaking:_ drop support for Node v4 ([#304](https://github.com/motdotla/dotenv/pull/304))
+
+## [5.0.0] - 2018-01-29
+
+### Added
+
+- Testing against Node v8 and v9
+- Documentation on trim behavior of values
+- Documentation on how to use with `import`
+
+### Changed
+
+- _Breaking_: default `path` is now `path.resolve(process.cwd(), '.env')`
+- _Breaking_: does not write over keys already in `process.env` if the key has a falsy value
+- using `const` and `let` instead of `var`
+
+### Removed
+
+- Testing against Node v7
+
+## [4.0.0] - 2016-12-23
+
+### Changed
+
+- Return Object with parsed content or error instead of false ([#165](https://github.com/motdotla/dotenv/pull/165)).
+
+### Removed
+
+- `verbose` option removed in favor of returning result.
+
+## [3.0.0] - 2016-12-20
+
+### Added
+
+- `verbose` option will log any error messages. Off by default.
+- parses email addresses correctly
+- allow importing config method directly in ES6
+
+### Changed
+
+- Suppress error messages by default ([#154](https://github.com/motdotla/dotenv/pull/154))
+- Ignoring more files for NPM to make package download smaller
+
+### Fixed
+
+- False positive test due to case-sensitive variable ([#124](https://github.com/motdotla/dotenv/pull/124))
+
+### Removed
+
+- `silent` option removed in favor of `verbose`
+
+## [2.0.0] - 2016-01-20
+
+### Added
+
+- CHANGELOG to ["make it easier for users and contributors to see precisely what notable changes have been made between each release"](http://keepachangelog.com/). Linked to from README
+- LICENSE to be more explicit about what was defined in `package.json`. Linked to from README
+- Testing nodejs v4 on travis-ci
+- added examples of how to use dotenv in different ways
+- return parsed object on success rather than boolean true
+
+### Changed
+
+- README has shorter description not referencing ruby gem since we don't have or want feature parity
+
+### Removed
+
+- Variable expansion and escaping so environment variables are encouraged to be fully orthogonal
+
+## [1.2.0] - 2015-06-20
+
+### Added
+
+- Preload hook to require dotenv without including it in your code
+
+### Changed
+
+- clarified license to be "BSD-2-Clause" in `package.json`
+
+### Fixed
+
+- retain spaces in string vars
+
+## [1.1.0] - 2015-03-31
+
+### Added
+
+- Silent option to silence `console.log` when `.env` missing
+
+## [1.0.0] - 2015-03-13
+
+### Removed
+
+- support for multiple `.env` files. should always use one `.env` file for the current environment
+
+[7.0.0]: https://github.com/motdotla/dotenv/compare/v6.2.0...v7.0.0
+[6.2.0]: https://github.com/motdotla/dotenv/compare/v6.1.0...v6.2.0
+[6.1.0]: https://github.com/motdotla/dotenv/compare/v6.0.0...v6.1.0
+[6.0.0]: https://github.com/motdotla/dotenv/compare/v5.0.0...v6.0.0
+[5.0.0]: https://github.com/motdotla/dotenv/compare/v4.0.0...v5.0.0
+[4.0.0]: https://github.com/motdotla/dotenv/compare/v3.0.0...v4.0.0
+[3.0.0]: https://github.com/motdotla/dotenv/compare/v2.0.0...v3.0.0
+[2.0.0]: https://github.com/motdotla/dotenv/compare/v1.2.0...v2.0.0
+[1.2.0]: https://github.com/motdotla/dotenv/compare/v1.1.0...v1.2.0
+[1.1.0]: https://github.com/motdotla/dotenv/compare/v1.0.0...v1.1.0
+[1.0.0]: https://github.com/motdotla/dotenv/compare/v0.4.0...v1.0.0
diff --git a/node_modules/dotenv/LICENSE b/node_modules/dotenv/LICENSE
new file mode 100644
index 000000000..c430ad8bd
--- /dev/null
+++ b/node_modules/dotenv/LICENSE
@@ -0,0 +1,23 @@
+Copyright (c) 2015, Scott Motte
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+* Redistributions of source code must retain the above copyright notice, this
+ list of conditions and the following disclaimer.
+
+* Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/node_modules/dotenv/README-es.md b/node_modules/dotenv/README-es.md
new file mode 100644
index 000000000..ad8be92ba
--- /dev/null
+++ b/node_modules/dotenv/README-es.md
@@ -0,0 +1,442 @@
+
+
+
+
+ Dotenv es apoyado por la comunidad.
+
+
+
Gracias espaciales a:
+
+
+
+
+
+
+ Warp es una rápida e impresionante terminal basada en Rust, reinventado para funcionar como una aplicación moderna.
+
+ Haga más en la CLI con edición de texto real, resultado básado en bloques, y busqueda de comandos de IA.
+
+
+
+
+
+
+
+ Retool ayuda a los desarrolladores a crear software interno personalizado, como aplicaciones CRUD y paneles de administración, realmente rápido.
+
+ Construya Interfaces de Usuario de forma visual con componentes flexibles, conéctese a cualquier fuente de datos, y escriba lógica de negocio en JavaScript.
+
+
+
+
+
+
+
+ Su Apliación, Lista para la Empresa.
+
+ Agrega Inicio de Sesión Único, Autenticación Multi-Factor, y mucho más, en minutos en lugar de meses.
+
+
+
+
+
+
+
+
+
+
+# dotenv [![NPM version](https://img.shields.io/npm/v/dotenv.svg?style=flat-square)](https://www.npmjs.com/package/dotenv)
+
+
+
+Dotenv es un módulo de dependencia cero que carga las variables de entorno desde un archivo `.env` en [`process.env`](https://nodejs.org/docs/latest/api/process.html#process_process_env). El almacenamiento de la configuración del entorno separado del código está basado en la metodología [The Twelve-Factor App](http://12factor.net/config).
+
+[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/feross/standard)
+[![LICENSE](https://img.shields.io/github/license/motdotla/dotenv.svg)](LICENSE)
+
+## Instalación
+
+```bash
+# instalación local (recomendado)
+npm install dotenv --save
+```
+
+O installación con yarn? `yarn add dotenv`
+
+## Uso
+
+Cree un archivo `.env` en la raíz de su proyecto:
+
+```dosini
+S3_BUCKET="YOURS3BUCKET"
+SECRET_KEY="YOURSECRETKEYGOESHERE"
+```
+
+Tan prónto como sea posible en su aplicación, importe y configure dotenv:
+
+```javascript
+require('dotenv').config()
+console.log(process.env) // elimine esto después que haya confirmado que esta funcionando
+```
+
+.. o usa ES6?
+
+```javascript
+import * as dotenv from 'dotenv' // vea en https://github.com/motdotla/dotenv#como-uso-dotenv-con-import
+// REVISAR LINK DE REFERENCIA DE IMPORTACIÓN
+dotenv.config()
+import express from 'express'
+```
+
+Eso es todo. `process.env` ahora tiene las claves y los valores que definiste en tu archivo `.env`:
+
+```javascript
+require('dotenv').config()
+
+...
+
+s3.getBucketCors({Bucket: process.env.S3_BUCKET}, function(err, data) {})
+```
+
+### Valores multilínea
+
+Si necesita variables de varias líneas, por ejemplo, claves privadas, ahora se admiten en la versión (`>= v15.0.0`) con saltos de línea:
+
+```dosini
+PRIVATE_KEY="-----BEGIN RSA PRIVATE KEY-----
+...
+Kh9NV...
+...
+-----END RSA PRIVATE KEY-----"
+```
+
+Alternativamente, puede usar comillas dobles y usar el carácter `\n`:
+
+```dosini
+PRIVATE_KEY="-----BEGIN RSA PRIVATE KEY-----\nKh9NV...\n-----END RSA PRIVATE KEY-----\n"
+```
+
+### Comentarios
+
+Los comentarios pueden ser agregados en tu archivo o en la misma línea:
+
+```dosini
+# This is a comment
+SECRET_KEY=YOURSECRETKEYGOESHERE # comment
+SECRET_HASH="something-with-a-#-hash"
+```
+
+Los comentarios comienzan donde existe un `#`, entonces, si su valor contiene un `#`, enciérrelo entre comillas. Este es un cambio importante desde la versión `>= v15.0.0` en adelante.
+
+### Análisis
+
+El motor que analiza el contenido de su archivo que contiene variables de entorno está disponible para su uso. Este Acepta una Cadena o un Búfer y devolverá un Objeto con las claves y los valores analizados.
+
+```javascript
+const dotenv = require('dotenv')
+const buf = Buffer.from('BASICO=basico')
+const config = dotenv.parse(buf) // devolverá un objeto
+console.log(typeof config, config) // objeto { BASICO : 'basico' }
+```
+
+### Precarga
+
+Puede usar el `--require` (`-r`) [opción de línea de comando](https://nodejs.org/api/cli.html#-r---require-module) para precargar dotenv. Al hacer esto, no necesita requerir ni cargar dotnev en el código de su aplicación.
+
+```bash
+$ node -r dotenv/config tu_script.js
+```
+
+Las opciones de configuración a continuación se admiten como argumentos de línea de comandos en el formato `dotenv_config_=value`
+
+```bash
+$ node -r dotenv/config tu_script.js dotenv_config_path=/custom/path/to/.env dotenv_config_debug=true
+```
+
+Además, puede usar variables de entorno para establecer opciones de configuración. Los argumentos de línea de comandos precederán a estos.
+
+```bash
+$ DOTENV_CONFIG_ =value node -r dotenv/config tu_script.js
+```
+
+```bash
+$ DOTENV_CONFIG_ENCODING=latin1 DOTENV_CONFIG_DEBUG=true node -r dotenv/config tu_script.js dotenv_config_path=/custom/path/to/.env
+```
+
+### Expansión Variable
+
+Necesitaras agregar el valor de otro variable en una de sus variables? Usa [dotenv-expand](https://github.com/motdotla/dotenv-expand).
+
+### Sincronizando
+
+Necesitas mentener sincronizados los archivos `.env` entre maquinas, entornos, o miembros del equipo? Usa
+[dotenv-vault](https://github.com/dotenv-org/dotenv-vault).
+
+## Ejemplos
+
+Vea [ejemplos](https://github.com/dotenv-org/examples) sobre el uso de dotenv con varios frameworks, lenguajes y configuraciones.
+
+* [nodejs](https://github.com/dotenv-org/examples/tree/master/dotenv-nodejs)
+* [nodejs (depurar en)](https://github.com/dotenv-org/examples/tree/master/dotenv-nodejs-debug)
+* [nodejs (anular en)](https://github.com/dotenv-org/examples/tree/master/dotenv-nodejs-override)
+* [esm](https://github.com/dotenv-org/examples/tree/master/dotenv-esm)
+* [esm (precarga)](https://github.com/dotenv-org/examples/tree/master/dotenv-esm-preload)
+* [typescript](https://github.com/dotenv-org/examples/tree/master/dotenv-typescript)
+* [typescript parse](https://github.com/dotenv-org/examples/tree/master/dotenv-typescript-parse)
+* [typescript config](https://github.com/dotenv-org/examples/tree/master/dotenv-typescript-config)
+* [webpack](https://github.com/dotenv-org/examples/tree/master/dotenv-webpack)
+* [webpack (plugin)](https://github.com/dotenv-org/examples/tree/master/dotenv-webpack2)
+* [react](https://github.com/dotenv-org/examples/tree/master/dotenv-react)
+* [react (typescript)](https://github.com/dotenv-org/examples/tree/master/dotenv-react-typescript)
+* [express](https://github.com/dotenv-org/examples/tree/master/dotenv-express)
+* [nestjs](https://github.com/dotenv-org/examples/tree/master/dotenv-nestjs)
+
+## Documentación
+
+Dotenv expone dos funciones:
+
+* `configuración`
+* `analizar`
+
+### Configuración
+
+`Configuración` leerá su archivo `.env`, analizará el contenido, lo asignará a [`process.env`](https://nodejs.org/docs/latest/api/process.html#process_process_env),
+y devolverá un Objeto con una clave `parsed` que contiene el contenido cargado o una clave `error` si falla.
+
+```js
+const result = dotenv.config()
+
+if (result.error) {
+ throw result.error
+}
+
+console.log(result.parsed)
+```
+
+Adicionalmente, puede pasar opciones a `configuracion`.
+
+#### Opciones
+
+##### Ruta
+
+Por defecto: `path.resolve(process.cwd(), '.env')`
+
+Especifique una ruta personalizada si el archivo que contiene las variables de entorno se encuentra localizado en otro lugar.
+
+```js
+require('dotenv').config({ path: '/personalizado/ruta/a/.env' })
+```
+
+##### Codificación
+
+Por defecto: `utf8`
+
+Especifique la codificación del archivo que contiene las variables de entorno.
+
+```js
+require('dotenv').config({ encoding: 'latin1' })
+```
+
+##### Depurar
+
+Por defecto: `false`
+
+Active el registro de ayuda para depurar por qué ciertas claves o valores no se inician como lo esperabas.
+
+```js
+require('dotenv').config({ debug: process.env.DEBUG })
+```
+
+##### Anular
+
+Por defecto: `false`
+
+Anule cualquier variable de entorno que ya se haya configurada en su maquina con los valores de su archivo .env.
+
+```js
+require('dotenv').config({ override: true })
+```
+
+### Analizar
+
+El motor que analiza el contenido del archivo que contiene las variables de entorno está disponible para su uso. Acepta una Cadena o un Búfer y retornará un objecto con los valores analizados.
+
+```js
+const dotenv = require('dotenv')
+const buf = Buffer.from('BASICO=basico')
+const config = dotenv.parse(buf) // devolverá un objeto
+console.log(typeof config, config) // objeto { BASICO : 'basico' }
+```
+
+#### Opciones
+
+##### Depurar
+
+Por defecto: `false`
+
+Active el registro de ayuda para depurar por qué ciertas claves o valores no se inician como lo esperabas.
+
+```js
+const dotenv = require('dotenv')
+const buf = Buffer.from('hola mundo')
+const opt = { debug: true }
+const config = dotenv.parse(buf, opt)
+// espere por un mensaje de depuración porque el búfer no esta listo KEY=VAL
+```
+
+## FAQ
+
+### ¿Por qué el archivo `.env` no carga mis variables de entorno correctamente?
+
+Lo más probable es que su archivo `.env` no esté en el lugar correcto. [Vea este stack overflow](https://stackoverflow.com/questions/42335016/dotenv-file-is-not-loading-environment-variables).
+
+Active el modo de depuración y vuelva a intentarlo...
+
+```js
+require('dotenv').config({ debug: true })
+```
+
+Recibirá un error apropiado en su consola.
+
+### ¿Debo confirmar mi archivo `.env`?
+
+No. Recomendamos **enfáticamente** no enviar su archivo `.env` a la versión de control. Solo debe incluir los valores especificos del entorno, como la base de datos, contraseñas o claves API.
+
+### ¿Debería tener multiples archivos `.env`?
+
+No. Recomendamos **enfáticamente** no tener un archivo `.env` "principal" y un archivo `.env` de "entorno" como `.env.test`. Su configuración debe variar entre implementaciones y no debe compartir valores entre entornos.
+
+> En una Aplicación de Doce Factores, las variables de entorno son controles diferenciados, cada uno totalmente independiente a otras variables de entorno. Nunca se agrupan como "entornos", sino que se gestionan de manera independiente para cada despliegue. Este es un modelo que se escala sin problemas a medida que la aplicación se expande de forma natural en más despliegues a lo largo de su vida.
+>
+> – [La Apliación de los Doce Factores](https://12factor.net/es/)
+
+### ¿Qué reglas sigue el motor de análisis?
+
+El motor de análisis actualmente admite las siguientes reglas:
+
+- `BASICO=basico` se convierte en `{BASICO: 'basico'}`
+- las líneas vacías se saltan
+- las líneas que comienzan con `#` se tratan como comentarios
+- `#` marca el comienzo de un comentario (a menos que el valor esté entre comillas)
+- valores vacíos se convierten en cadenas vacías (`VACIO=` se convierte en `{VACIO: ''}`)
+- las comillas internas se mantienen (piensa en JSON) (`JSON={"foo": "bar"}` se convierte en `{JSON:"{\"foo\": \"bar\"}"`)
+- los espacios en blanco se eliminan de ambos extremos de los valores no citanos (aprende más en [`trim`](https://developer.mozilla.org/es/docs/Web/JavaScript/Reference/Global_Objects/String/Trim)) (`FOO= algo ` se convierte en `{FOO: 'algo'}`)
+- los valores entre comillas simples y dobles se escapan (`CITA_SIMPLE='citado'` se convierte en `{CITA_SIMPLE: "citado"}`)
+- los valores entre comillas simples y dobles mantienen los espacios en blanco en ambos extremos (`FOO=" algo "` se convierte en `{FOO: ' algo '}`)
+- los valores entre comillas dobles expanden nuevas líneas (`MULTILINEA="nueva\nlínea"` se convierte en
+
+```
+{MULTILINEA: 'nueva
+línea'}
+```
+
+- se admite la comilla simple invertida (`` SIGNO_ACENTO=`Esto tiene comillas 'simples' y "dobles" en su interior.` ``)
+
+### ¿Qué sucede con las variables de entorno que ya estaban configuradas?
+
+Por defecto, nunca modificaremos ninguna variable de entorno que ya haya sido establecida. En particular, si hay una variable en su archivo `.env` que colisiona con una que ya existe en su entorno, entonces esa variable se omitirá.
+
+Si por el contrario, quieres anular `process.env` utiliza la opción `override`.
+
+```javascript
+require('dotenv').config({ override: true })
+```
+
+### ¿Por qué mis variables de entorno no aparecen para React?
+
+Su código React se ejecuta en Webpack, donde el módulo `fs` o incluso el propio `process` global no son accesibles fuera-de-la-caja. El módulo `process.env` sólo puede ser inyectado a través de la configuración de Webpack.
+
+Si estás usando [`react-scripts`](https://www.npmjs.com/package/react-scripts), el cual se distribuye a través de [`create-react-app`](https://create-react-app.dev/), tiene dotenv incorporado pero con una singularidad. Escriba sus variables de entorno con `REACT_APP_`. Vea [este stack overflow](https://stackoverflow.com/questions/42182577/is-it-possible-to-use-dotenv-in-a-react-project) para más detalles.
+
+Si estás utilizando otros frameworks (por ejemplo, Next.js, Gatsby...), debes consultar su documentación para saber cómo injectar variables de entorno en el cliente.
+
+### ¿Puedo personalizar/escribir plugins para dotenv?
+
+Sí! `dotenv.config()` devuelve un objeto que representa el archivo `.env` analizado. Esto te da todo lo que necesitas para poder establecer valores en `process.env`. Por ejemplo:
+
+```js
+const dotenv = require('dotenv')
+const variableExpansion = require('dotenv-expand')
+const miEnv = dotenv.config()
+variableExpansion(miEnv)
+```
+
+### Cómo uso dotnev con `import`?
+
+Simplemente..
+
+```javascript
+// index.mjs (ESM)
+import * as dotenv from 'dotenv' // vea https://github.com/motdotla/dotenv#como-uso-dotenv-con-import
+dotenv.config()
+import express from 'express'
+```
+
+Un poco de historia...
+
+> Cuando se ejecuta un módulo que contiene una sentencia `import`, los módulos que importa serán cargados primero, y luego se ejecuta cada bloque del módulo en un recorrido en profundidad del gráfico de dependencias, evitando los ciclos al saltarse todo lo que ya se ha ejecutado.
+>
+> – [ES6 en Profundidad: Módulos](https://hacks.mozilla.org/2015/08/es6-in-depth-modules/)
+
+¿Qué significa esto en lenguaje sencillo? Significa que se podrías pensar que lo siguiente funcionaría pero no lo hará.
+
+```js
+// notificarError.mjs
+import { Cliente } from 'mejor-servicio-para-notificar-error'
+
+export default new Client(process.env.CLAVE_API)
+
+// index.mjs
+import dotenv from 'dotenv'
+dotenv.config()
+
+import notificarError from './notificarError.mjs'
+notificarError.report(new Error('ejemplo documentado'))
+```
+
+`process.env.CLAVE_API` será vacio.
+
+En su lugar, el código anterior debe ser escrito como...
+
+```js
+// notificarError.mjs
+import { Cliente } from 'mejor-servicio-para-notificar-errores'
+
+export default new Client(process.env.CLAVE_API)
+
+// index.mjs
+import * as dotenv from 'dotenv'
+dotenv.config()
+
+import notificarError from './notificarError.mjs'
+notificarError.report(new Error('ejemplo documentado'))
+```
+
+¿Esto tiene algo de sentido? Esto es poco poco intuitivo, pero es como funciona la importación de módulos en ES6. Aquí hay un ejemplo [ejemplo práctico de esta trampa](https://github.com/dotenv-org/examples/tree/master/dotenv-es6-import-pitfall).
+
+Existen dos arternativas a este planteamiento:
+
+1. Precarga dotenv: `node --require dotenv/config index.js` (_Nota: no es necesario usar `import` dotenv con este método_)
+2. Cree un archivo separado que ejecutará `config` primero como se describe en [este comentario #133](https://github.com/motdotla/dotenv/issues/133#issuecomment-255298822)
+
+### ¿Qué pasa con la expansión de variable?
+
+Prueba [dotenv-expand](https://github.com/motdotla/dotenv-expand)
+
+### ¿Qué pasa con la sincronización y la seguridad de los archivos .env?
+
+Vea [dotenv-vault](https://github.com/dotenv-org/dotenv-vault)
+
+## Guía de contribución
+
+Vea [CONTRIBUTING.md](CONTRIBUTING.md)
+
+## REGISTRO DE CAMBIOS
+
+Vea [CHANGELOG.md](CHANGELOG.md)
+
+## ¿Quiénes utilizan dotenv?
+
+[Estos módulos npm dependen de él.](https://www.npmjs.com/browse/depended/dotenv)
+
+Los proyectos que lo amplían suelen utilizar la [palabra clave "dotenv" en npm](https://www.npmjs.com/search?q=keywords:dotenv).
diff --git a/node_modules/dotenv/README.md b/node_modules/dotenv/README.md
new file mode 100644
index 000000000..a419157f9
--- /dev/null
+++ b/node_modules/dotenv/README.md
@@ -0,0 +1,633 @@
+
+
+
+
+ Dotenv is supported by the community.
+
+
+
Special thanks to:
+
+
+
+
+
+
+ Warp is a blazingly fast, Rust-based terminal reimagined to work like a modern app.
+
+ Get more done in the CLI with real text editing, block-based output, and AI command search.
+
+
+
+
+
+
+
+ Retool helps developers build custom internal software, like CRUD apps and admin panels, really fast.
+
+ Build UIs visually with flexible components, connect to any data source, and write business logic in JavaScript.
+
+
+
+
+
+
+
+ Your App, Enterprise Ready.
+
+ Add Single Sign-On, Multi-Factor Auth, and more, in minutes instead of months.
+
+
+
+
+
+# dotenv [![NPM version](https://img.shields.io/npm/v/dotenv.svg?style=flat-square)](https://www.npmjs.com/package/dotenv)
+
+
+
+Dotenv is a zero-dependency module that loads environment variables from a `.env` file into [`process.env`](https://nodejs.org/docs/latest/api/process.html#process_process_env). Storing configuration in the environment separate from code is based on [The Twelve-Factor App](http://12factor.net/config) methodology.
+
+[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/feross/standard)
+[![LICENSE](https://img.shields.io/github/license/motdotla/dotenv.svg)](LICENSE)
+[![dotenv-vault](https://badge.dotenv.org/works-with.svg?r=1)](https://www.dotenv.org/r/github.com/dotenv-org/dotenv-vault?r=1)
+
+* [🌱 Install](#-install)
+* [🏗️ Usage (.env)](#%EF%B8%8F-usage)
+* [🚀 Deploying (.env.vault) 🆕](#-deploying)
+* [🌴 Multiple Environments 🆕](#-manage-multiple-environments)
+* [📚 Examples](#-examples)
+* [📖 Docs](#-documentation)
+* [❓ FAQ](#-faq)
+* [⏱️ Changelog](./CHANGELOG.md)
+
+## 🌱 Install
+
+```bash
+# install locally (recommended)
+npm install dotenv --save
+```
+
+Or installing with yarn? `yarn add dotenv`
+
+## 🏗️ Usage
+
+
+
+
+
+
+
+
+Create a `.env` file in the root of your project:
+
+```dosini
+S3_BUCKET="YOURS3BUCKET"
+SECRET_KEY="YOURSECRETKEYGOESHERE"
+```
+
+As early as possible in your application, import and configure dotenv:
+
+```javascript
+require('dotenv').config()
+console.log(process.env) // remove this after you've confirmed it is working
+```
+
+.. [or using ES6?](#how-do-i-use-dotenv-with-import)
+
+```javascript
+import 'dotenv/config'
+```
+
+That's it. `process.env` now has the keys and values you defined in your `.env` file:
+
+```javascript
+require('dotenv').config()
+
+...
+
+s3.getBucketCors({Bucket: process.env.S3_BUCKET}, function(err, data) {})
+```
+
+### Multiline values
+
+If you need multiline variables, for example private keys, those are now supported (`>= v15.0.0`) with line breaks:
+
+```dosini
+PRIVATE_KEY="-----BEGIN RSA PRIVATE KEY-----
+...
+Kh9NV...
+...
+-----END RSA PRIVATE KEY-----"
+```
+
+Alternatively, you can double quote strings and use the `\n` character:
+
+```dosini
+PRIVATE_KEY="-----BEGIN RSA PRIVATE KEY-----\nKh9NV...\n-----END RSA PRIVATE KEY-----\n"
+```
+
+### Comments
+
+Comments may be added to your file on their own line or inline:
+
+```dosini
+# This is a comment
+SECRET_KEY=YOURSECRETKEYGOESHERE # comment
+SECRET_HASH="something-with-a-#-hash"
+```
+
+Comments begin where a `#` exists, so if your value contains a `#` please wrap it in quotes. This is a breaking change from `>= v15.0.0` and on.
+
+### Parsing
+
+The engine which parses the contents of your file containing environment variables is available to use. It accepts a String or Buffer and will return an Object with the parsed keys and values.
+
+```javascript
+const dotenv = require('dotenv')
+const buf = Buffer.from('BASIC=basic')
+const config = dotenv.parse(buf) // will return an object
+console.log(typeof config, config) // object { BASIC : 'basic' }
+```
+
+### Preload
+
+You can use the `--require` (`-r`) [command line option](https://nodejs.org/api/cli.html#-r---require-module) to preload dotenv. By doing this, you do not need to require and load dotenv in your application code.
+
+```bash
+$ node -r dotenv/config your_script.js
+```
+
+The configuration options below are supported as command line arguments in the format `dotenv_config_ =value`
+
+```bash
+$ node -r dotenv/config your_script.js dotenv_config_path=/custom/path/to/.env dotenv_config_debug=true
+```
+
+Additionally, you can use environment variables to set configuration options. Command line arguments will precede these.
+
+```bash
+$ DOTENV_CONFIG_ =value node -r dotenv/config your_script.js
+```
+
+```bash
+$ DOTENV_CONFIG_ENCODING=latin1 DOTENV_CONFIG_DEBUG=true node -r dotenv/config your_script.js dotenv_config_path=/custom/path/to/.env
+```
+
+### Variable Expansion
+
+You need to add the value of another variable in one of your variables? Use [dotenv-expand](https://github.com/motdotla/dotenv-expand).
+
+### Syncing
+
+You need to keep `.env` files in sync between machines, environments, or team members? Use [dotenv-vault](https://github.com/dotenv-org/dotenv-vault).
+
+### Deploying
+
+You need to deploy your secrets in a cloud-agnostic manner? Use a `.env.vault` file.
+
+### Multiple Environments
+
+You need to manage your secrets across different environments and apply them as needed? Use a `.env.vault` file with a `DOTENV_KEY`.
+
+## 🚀 Deploying
+
+*Note: Requires dotenv >= 16.1.0*
+
+Encrypt your `.env.vault` file.
+
+```bash
+$ npx dotenv-vault build
+```
+
+Fetch your production `DOTENV_KEY`.
+
+```bash
+$ npx dotenv-vault keys production
+```
+
+Set `DOTENV_KEY` on your server.
+
+```bash
+# heroku example
+heroku config:set DOTENV_KEY=dotenv://:key_1234…@dotenv.org/vault/.env.vault?environment=production
+```
+
+That's it! On deploy, your `.env.vault` file will be decrypted and its secrets injected as environment variables – just in time.
+
+*ℹ️ A note from [Mot](https://github.com/motdotla): Until recently, we did not have an opinion on how and where to store your secrets in production. We now strongly recommend generating a `.env.vault` file. It's the best way to prevent your secrets from being scattered across multiple servers and cloud providers – protecting you from breaches like the [CircleCI breach](https://techcrunch.com/2023/01/05/circleci-breach/). Also it unlocks interoperability WITHOUT native third-party integrations. Third-party integrations are [increasingly risky](https://coderpad.io/blog/development/heroku-github-breach/) to our industry. They may be the 'du jour' of today, but we imagine a better future.*
+
+Learn more at dotenv-vault: Deploying
+
+## 🌴 Manage Multiple Environments
+
+Edit your production environment variables.
+
+```bash
+$ npx dotenv-vault open production
+```
+
+Regenerate your `.env.vault` file.
+
+```bash
+$ npx dotenv-vault build
+```
+
+*ℹ️ 🔐 Vault Managed vs 💻 Locally Managed: The above example, for brevity's sake, used the 🔐 Vault Managed solution to manage your `.env.vault` file. You can instead use the 💻 Locally Managed solution. [Read more here](https://github.com/dotenv-org/dotenv-vault#how-do-i-use--locally-managed-dotenv-vault). Our vision is that other platforms and orchestration tools adopt the `.env.vault` standard as they did the `.env` standard. We don't expect to be the only ones providing tooling to manage and generate `.env.vault` files.*
+
+Learn more at dotenv-vault: Manage Multiple Environments
+
+## 📚 Examples
+
+See [examples](https://github.com/dotenv-org/examples) of using dotenv with various frameworks, languages, and configurations.
+
+* [nodejs](https://github.com/dotenv-org/examples/tree/master/dotenv-nodejs)
+* [nodejs (debug on)](https://github.com/dotenv-org/examples/tree/master/dotenv-nodejs-debug)
+* [nodejs (override on)](https://github.com/dotenv-org/examples/tree/master/dotenv-nodejs-override)
+* [nodejs (processEnv override)](https://github.com/dotenv-org/examples/tree/master/dotenv-custom-target)
+* [nodejs (DOTENV_KEY override)](https://github.com/dotenv-org/examples/tree/master/dotenv-vault-custom-target)
+* [esm](https://github.com/dotenv-org/examples/tree/master/dotenv-esm)
+* [esm (preload)](https://github.com/dotenv-org/examples/tree/master/dotenv-esm-preload)
+* [typescript](https://github.com/dotenv-org/examples/tree/master/dotenv-typescript)
+* [typescript parse](https://github.com/dotenv-org/examples/tree/master/dotenv-typescript-parse)
+* [typescript config](https://github.com/dotenv-org/examples/tree/master/dotenv-typescript-config)
+* [webpack](https://github.com/dotenv-org/examples/tree/master/dotenv-webpack)
+* [webpack (plugin)](https://github.com/dotenv-org/examples/tree/master/dotenv-webpack2)
+* [react](https://github.com/dotenv-org/examples/tree/master/dotenv-react)
+* [react (typescript)](https://github.com/dotenv-org/examples/tree/master/dotenv-react-typescript)
+* [express](https://github.com/dotenv-org/examples/tree/master/dotenv-express)
+* [nestjs](https://github.com/dotenv-org/examples/tree/master/dotenv-nestjs)
+* [fastify](https://github.com/dotenv-org/examples/tree/master/dotenv-fastify)
+
+## 📖 Documentation
+
+Dotenv exposes four functions:
+
+* `config`
+* `parse`
+* `populate`
+* `decrypt`
+
+### Config
+
+`config` will read your `.env` file, parse the contents, assign it to
+[`process.env`](https://nodejs.org/docs/latest/api/process.html#process_process_env),
+and return an Object with a `parsed` key containing the loaded content or an `error` key if it failed.
+
+```js
+const result = dotenv.config()
+
+if (result.error) {
+ throw result.error
+}
+
+console.log(result.parsed)
+```
+
+You can additionally, pass options to `config`.
+
+#### Options
+
+##### path
+
+Default: `path.resolve(process.cwd(), '.env')`
+
+Specify a custom path if your file containing environment variables is located elsewhere.
+
+```js
+require('dotenv').config({ path: '/custom/path/to/.env' })
+```
+
+##### encoding
+
+Default: `utf8`
+
+Specify the encoding of your file containing environment variables.
+
+```js
+require('dotenv').config({ encoding: 'latin1' })
+```
+
+##### debug
+
+Default: `false`
+
+Turn on logging to help debug why certain keys or values are not being set as you expect.
+
+```js
+require('dotenv').config({ debug: process.env.DEBUG })
+```
+
+##### override
+
+Default: `false`
+
+Override any environment variables that have already been set on your machine with values from your .env file.
+
+```js
+require('dotenv').config({ override: true })
+```
+
+##### processEnv
+
+Default: `process.env`
+
+Specify an object to write your secrets to. Defaults to `process.env` environment variables.
+
+```js
+const myObject = {}
+require('dotenv').config({ processEnv: myObject })
+
+console.log(myObject) // values from .env or .env.vault live here now.
+console.log(process.env) // this was not changed or written to
+```
+
+##### DOTENV_KEY
+
+Default: `process.env.DOTENV_KEY`
+
+Pass the `DOTENV_KEY` directly to config options. Defaults to looking for `process.env.DOTENV_KEY` environment variable. Note this only applies to decrypting `.env.vault` files. If passed as null or undefined, or not passed at all, dotenv falls back to its traditional job of parsing a `.env` file.
+
+```js
+require('dotenv').config({ DOTENV_KEY: 'dotenv://:key_1234…@dotenv.org/vault/.env.vault?environment=production' })
+```
+
+### Parse
+
+The engine which parses the contents of your file containing environment
+variables is available to use. It accepts a String or Buffer and will return
+an Object with the parsed keys and values.
+
+```js
+const dotenv = require('dotenv')
+const buf = Buffer.from('BASIC=basic')
+const config = dotenv.parse(buf) // will return an object
+console.log(typeof config, config) // object { BASIC : 'basic' }
+```
+
+#### Options
+
+##### debug
+
+Default: `false`
+
+Turn on logging to help debug why certain keys or values are not being set as you expect.
+
+```js
+const dotenv = require('dotenv')
+const buf = Buffer.from('hello world')
+const opt = { debug: true }
+const config = dotenv.parse(buf, opt)
+// expect a debug message because the buffer is not in KEY=VAL form
+```
+
+### Populate
+
+The engine which populates the contents of your .env file to `process.env` is available for use. It accepts a target, a source, and options. This is useful for power users who want to supply their own objects.
+
+For example, customizing the source:
+
+```js
+const dotenv = require('dotenv')
+const parsed = { HELLO: 'world' }
+
+dotenv.populate(process.env, parsed)
+
+console.log(process.env.HELLO) // world
+```
+
+For example, customizing the source AND target:
+
+```js
+const dotenv = require('dotenv')
+const parsed = { HELLO: 'universe' }
+const target = { HELLO: 'world' } // empty object
+
+dotenv.populate(target, parsed, { override: true, debug: true })
+
+console.log(target) // { HELLO: 'universe' }
+```
+
+#### options
+
+##### Debug
+
+Default: `false`
+
+Turn on logging to help debug why certain keys or values are not being populated as you expect.
+
+##### override
+
+Default: `false`
+
+Override any environment variables that have already been set.
+
+### Decrypt
+
+The engine which decrypts the ciphertext contents of your .env.vault file is available for use. It accepts a ciphertext and a decryption key. It uses AES-256-GCM encryption.
+
+For example, decrypting a simple ciphertext:
+
+```js
+const dotenv = require('dotenv')
+const ciphertext = 's7NYXa809k/bVSPwIAmJhPJmEGTtU0hG58hOZy7I0ix6y5HP8LsHBsZCYC/gw5DDFy5DgOcyd18R'
+const decryptionKey = 'ddcaa26504cd70a6fef9801901c3981538563a1767c297cb8416e8a38c62fe00'
+
+const decrypted = dotenv.decrypt(ciphertext, decryptionKey)
+
+console.log(decrypted) // # development@v6\nALPHA="zeta"
+```
+
+## ❓ FAQ
+
+### Why is the `.env` file not loading my environment variables successfully?
+
+Most likely your `.env` file is not in the correct place. [See this stack overflow](https://stackoverflow.com/questions/42335016/dotenv-file-is-not-loading-environment-variables).
+
+Turn on debug mode and try again..
+
+```js
+require('dotenv').config({ debug: true })
+```
+
+You will receive a helpful error outputted to your console.
+
+### Should I commit my `.env` file?
+
+No. We **strongly** recommend against committing your `.env` file to version
+control. It should only include environment-specific values such as database
+passwords or API keys. Your production database should have a different
+password than your development database.
+
+### Should I have multiple `.env` files?
+
+No. We **strongly** recommend against having a "main" `.env` file and an "environment" `.env` file like `.env.test`. Your config should vary between deploys, and you should not be sharing values between environments.
+
+> In a twelve-factor app, env vars are granular controls, each fully orthogonal to other env vars. They are never grouped together as “environments”, but instead are independently managed for each deploy. This is a model that scales up smoothly as the app naturally expands into more deploys over its lifetime.
+>
+> – [The Twelve-Factor App](http://12factor.net/config)
+
+### What rules does the parsing engine follow?
+
+The parsing engine currently supports the following rules:
+
+- `BASIC=basic` becomes `{BASIC: 'basic'}`
+- empty lines are skipped
+- lines beginning with `#` are treated as comments
+- `#` marks the beginning of a comment (unless when the value is wrapped in quotes)
+- empty values become empty strings (`EMPTY=` becomes `{EMPTY: ''}`)
+- inner quotes are maintained (think JSON) (`JSON={"foo": "bar"}` becomes `{JSON:"{\"foo\": \"bar\"}"`)
+- whitespace is removed from both ends of unquoted values (see more on [`trim`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/Trim)) (`FOO= some value ` becomes `{FOO: 'some value'}`)
+- single and double quoted values are escaped (`SINGLE_QUOTE='quoted'` becomes `{SINGLE_QUOTE: "quoted"}`)
+- single and double quoted values maintain whitespace from both ends (`FOO=" some value "` becomes `{FOO: ' some value '}`)
+- double quoted values expand new lines (`MULTILINE="new\nline"` becomes
+
+```
+{MULTILINE: 'new
+line'}
+```
+
+- backticks are supported (`` BACKTICK_KEY=`This has 'single' and "double" quotes inside of it.` ``)
+
+### What happens to environment variables that were already set?
+
+By default, we will never modify any environment variables that have already been set. In particular, if there is a variable in your `.env` file which collides with one that already exists in your environment, then that variable will be skipped.
+
+If instead, you want to override `process.env` use the `override` option.
+
+```javascript
+require('dotenv').config({ override: true })
+```
+
+### How come my environment variables are not showing up for React?
+
+Your React code is run in Webpack, where the `fs` module or even the `process` global itself are not accessible out-of-the-box. `process.env` can only be injected through Webpack configuration.
+
+If you are using [`react-scripts`](https://www.npmjs.com/package/react-scripts), which is distributed through [`create-react-app`](https://create-react-app.dev/), it has dotenv built in but with a quirk. Preface your environment variables with `REACT_APP_`. See [this stack overflow](https://stackoverflow.com/questions/42182577/is-it-possible-to-use-dotenv-in-a-react-project) for more details.
+
+If you are using other frameworks (e.g. Next.js, Gatsby...), you need to consult their documentation for how to inject environment variables into the client.
+
+### Can I customize/write plugins for dotenv?
+
+Yes! `dotenv.config()` returns an object representing the parsed `.env` file. This gives you everything you need to continue setting values on `process.env`. For example:
+
+```js
+const dotenv = require('dotenv')
+const variableExpansion = require('dotenv-expand')
+const myEnv = dotenv.config()
+variableExpansion(myEnv)
+```
+
+### How do I use dotenv with `import`?
+
+Simply..
+
+```javascript
+// index.mjs (ESM)
+import 'dotenv/config' // see https://github.com/motdotla/dotenv#how-do-i-use-dotenv-with-import
+import express from 'express'
+```
+
+A little background..
+
+> When you run a module containing an `import` declaration, the modules it imports are loaded first, then each module body is executed in a depth-first traversal of the dependency graph, avoiding cycles by skipping anything already executed.
+>
+> – [ES6 In Depth: Modules](https://hacks.mozilla.org/2015/08/es6-in-depth-modules/)
+
+What does this mean in plain language? It means you would think the following would work but it won't.
+
+`errorReporter.mjs`:
+```js
+import { Client } from 'best-error-reporting-service'
+
+export default new Client(process.env.API_KEY)
+```
+`index.mjs`:
+```js
+// Note: this is INCORRECT and will not work
+import * as dotenv from 'dotenv'
+dotenv.config()
+
+import errorReporter from './errorReporter.mjs'
+errorReporter.report(new Error('documented example'))
+```
+
+`process.env.API_KEY` will be blank.
+
+Instead, `index.mjs` should be written as..
+
+```js
+import 'dotenv/config'
+
+import errorReporter from './errorReporter.mjs'
+errorReporter.report(new Error('documented example'))
+```
+
+Does that make sense? It's a bit unintuitive, but it is how importing of ES6 modules work. Here is a [working example of this pitfall](https://github.com/dotenv-org/examples/tree/master/dotenv-es6-import-pitfall).
+
+There are two alternatives to this approach:
+
+1. Preload dotenv: `node --require dotenv/config index.js` (_Note: you do not need to `import` dotenv with this approach_)
+2. Create a separate file that will execute `config` first as outlined in [this comment on #133](https://github.com/motdotla/dotenv/issues/133#issuecomment-255298822)
+
+### Why am I getting the error `Module not found: Error: Can't resolve 'crypto|os|path'`?
+
+You are using dotenv on the front-end and have not included a polyfill. Webpack < 5 used to include these for you. Do the following:
+
+```bash
+npm install node-polyfill-webpack-plugin
+```
+
+Configure your `webpack.config.js` to something like the following.
+
+```js
+require('dotenv').config()
+
+const path = require('path');
+const webpack = require('webpack')
+
+const NodePolyfillPlugin = require('node-polyfill-webpack-plugin')
+
+module.exports = {
+ mode: 'development',
+ entry: './src/index.ts',
+ output: {
+ filename: 'bundle.js',
+ path: path.resolve(__dirname, 'dist'),
+ },
+ plugins: [
+ new NodePolyfillPlugin(),
+ new webpack.DefinePlugin({
+ 'process.env': {
+ HELLO: JSON.stringify(process.env.HELLO)
+ }
+ }),
+ ]
+};
+```
+
+Alternatively, just use [dotenv-webpack](https://github.com/mrsteele/dotenv-webpack) which does this and more behind the scenes for you.
+
+### What about variable expansion?
+
+Try [dotenv-expand](https://github.com/motdotla/dotenv-expand)
+
+### What about syncing and securing .env files?
+
+Use [dotenv-vault](https://github.com/dotenv-org/dotenv-vault)
+
+### What is a `.env.vault` file?
+
+A `.env.vault` file is an encrypted version of your development (and ci, staging, production, etc) environment variables. It is paired with a `DOTENV_KEY` to deploy your secrets more securely than scattering them across multiple platforms and tools. Use [dotenv-vault](https://github.com/dotenv-org/dotenv-vault) to manage and generate them.
+
+## Contributing Guide
+
+See [CONTRIBUTING.md](CONTRIBUTING.md)
+
+## CHANGELOG
+
+See [CHANGELOG.md](CHANGELOG.md)
+
+## Who's using dotenv?
+
+[These npm modules depend on it.](https://www.npmjs.com/browse/depended/dotenv)
+
+Projects that expand it often use the [keyword "dotenv" on npm](https://www.npmjs.com/search?q=keywords:dotenv).
diff --git a/node_modules/dotenv/config.d.ts b/node_modules/dotenv/config.d.ts
new file mode 100644
index 000000000..cb0ff5c3b
--- /dev/null
+++ b/node_modules/dotenv/config.d.ts
@@ -0,0 +1 @@
+export {};
diff --git a/node_modules/dotenv/config.js b/node_modules/dotenv/config.js
new file mode 100644
index 000000000..b0b5576be
--- /dev/null
+++ b/node_modules/dotenv/config.js
@@ -0,0 +1,9 @@
+(function () {
+ require('./lib/main').config(
+ Object.assign(
+ {},
+ require('./lib/env-options'),
+ require('./lib/cli-options')(process.argv)
+ )
+ )
+})()
diff --git a/node_modules/dotenv/lib/cli-options.js b/node_modules/dotenv/lib/cli-options.js
new file mode 100644
index 000000000..09aca5bb7
--- /dev/null
+++ b/node_modules/dotenv/lib/cli-options.js
@@ -0,0 +1,11 @@
+const re = /^dotenv_config_(encoding|path|debug|override|DOTENV_KEY)=(.+)$/
+
+module.exports = function optionMatcher (args) {
+ return args.reduce(function (acc, cur) {
+ const matches = cur.match(re)
+ if (matches) {
+ acc[matches[1]] = matches[2]
+ }
+ return acc
+ }, {})
+}
diff --git a/node_modules/dotenv/lib/env-options.js b/node_modules/dotenv/lib/env-options.js
new file mode 100644
index 000000000..7ebae3d70
--- /dev/null
+++ b/node_modules/dotenv/lib/env-options.js
@@ -0,0 +1,24 @@
+// ../config.js accepts options via environment variables
+const options = {}
+
+if (process.env.DOTENV_CONFIG_ENCODING != null) {
+ options.encoding = process.env.DOTENV_CONFIG_ENCODING
+}
+
+if (process.env.DOTENV_CONFIG_PATH != null) {
+ options.path = process.env.DOTENV_CONFIG_PATH
+}
+
+if (process.env.DOTENV_CONFIG_DEBUG != null) {
+ options.debug = process.env.DOTENV_CONFIG_DEBUG
+}
+
+if (process.env.DOTENV_CONFIG_OVERRIDE != null) {
+ options.override = process.env.DOTENV_CONFIG_OVERRIDE
+}
+
+if (process.env.DOTENV_CONFIG_DOTENV_KEY != null) {
+ options.DOTENV_KEY = process.env.DOTENV_CONFIG_DOTENV_KEY
+}
+
+module.exports = options
diff --git a/node_modules/dotenv/lib/main.d.ts b/node_modules/dotenv/lib/main.d.ts
new file mode 100644
index 000000000..af84746ff
--- /dev/null
+++ b/node_modules/dotenv/lib/main.d.ts
@@ -0,0 +1,156 @@
+// TypeScript Version: 3.0
+///
+import type { URL } from 'node:url';
+
+export interface DotenvParseOutput {
+ [name: string]: string;
+}
+
+/**
+ * Parses a string or buffer in the .env file format into an object.
+ *
+ * See https://docs.dotenv.org
+ *
+ * @param src - contents to be parsed. example: `'DB_HOST=localhost'`
+ * @param options - additional options. example: `{ debug: true }`
+ * @returns an object with keys and values based on `src`. example: `{ DB_HOST : 'localhost' }`
+ */
+export function parse(
+ src: string | Buffer
+): T;
+
+export interface DotenvConfigOptions {
+ /**
+ * Default: `path.resolve(process.cwd(), '.env')`
+ *
+ * Specify a custom path if your file containing environment variables is located elsewhere.
+ *
+ * example: `require('dotenv').config({ path: '/custom/path/to/.env' })`
+ */
+ path?: string | URL;
+
+ /**
+ * Default: `utf8`
+ *
+ * Specify the encoding of your file containing environment variables.
+ *
+ * example: `require('dotenv').config({ encoding: 'latin1' })`
+ */
+ encoding?: string;
+
+ /**
+ * Default: `false`
+ *
+ * Turn on logging to help debug why certain keys or values are not being set as you expect.
+ *
+ * example: `require('dotenv').config({ debug: process.env.DEBUG })`
+ */
+ debug?: boolean;
+
+ /**
+ * Default: `false`
+ *
+ * Override any environment variables that have already been set on your machine with values from your .env file.
+ *
+ * example: `require('dotenv').config({ override: true })`
+ */
+ override?: boolean;
+
+ /**
+ * Default: `process.env`
+ *
+ * Specify an object to write your secrets to. Defaults to process.env environment variables.
+ *
+ * example: `const processEnv = {}; require('dotenv').config({ processEnv: processEnv })`
+ */
+ processEnv?: DotenvPopulateInput;
+
+ /**
+ * Default: `undefined`
+ *
+ * Pass the DOTENV_KEY directly to config options. Defaults to looking for process.env.DOTENV_KEY environment variable. Note this only applies to decrypting .env.vault files. If passed as null or undefined, or not passed at all, dotenv falls back to its traditional job of parsing a .env file.
+ *
+ * example: `require('dotenv').config({ DOTENV_KEY: 'dotenv://:key_1234…@dotenv.org/vault/.env.vault?environment=production' })`
+ */
+ DOTENV_KEY?: string;
+}
+
+export interface DotenvConfigOutput {
+ error?: Error;
+ parsed?: DotenvParseOutput;
+}
+
+export interface DotenvPopulateOptions {
+ /**
+ * Default: `false`
+ *
+ * Turn on logging to help debug why certain keys or values are not being set as you expect.
+ *
+ * example: `require('dotenv').config({ debug: process.env.DEBUG })`
+ */
+ debug?: boolean;
+
+ /**
+ * Default: `false`
+ *
+ * Override any environment variables that have already been set on your machine with values from your .env file.
+ *
+ * example: `require('dotenv').config({ override: true })`
+ */
+ override?: boolean;
+}
+
+export interface DotenvPopulateOutput {
+ error?: Error;
+}
+
+export interface DotenvPopulateInput {
+ [name: string]: string;
+}
+
+/**
+ * Loads `.env` file contents into process.env by default. If `DOTENV_KEY` is present, it smartly attempts to load encrypted `.env.vault` file contents into process.env.
+ *
+ * See https://docs.dotenv.org
+ *
+ * @param options - additional options. example: `{ path: './custom/path', encoding: 'latin1', debug: true, override: false }`
+ * @returns an object with a `parsed` key if successful or `error` key if an error occurred. example: { parsed: { KEY: 'value' } }
+ *
+ */
+export function config(options?: DotenvConfigOptions): DotenvConfigOutput;
+
+/**
+ * Loads `.env` file contents into process.env.
+ *
+ * See https://docs.dotenv.org
+ *
+ * @param options - additional options. example: `{ path: './custom/path', encoding: 'latin1', debug: true, override: false }`
+ * @returns an object with a `parsed` key if successful or `error` key if an error occurred. example: { parsed: { KEY: 'value' } }
+ *
+ */
+export function configDotenv(options?: DotenvConfigOptions): DotenvConfigOutput;
+
+/**
+ * Loads `source` json contents into `target` like process.env.
+ *
+ * See https://docs.dotenv.org
+ *
+ * @param processEnv - the target JSON object. in most cases use process.env but you can also pass your own JSON object
+ * @param parsed - the source JSON object
+ * @param options - additional options. example: `{ debug: true, override: false }`
+ * @returns {void}
+ *
+ */
+export function populate(processEnv: DotenvPopulateInput, parsed: DotenvPopulateInput, options?: DotenvConfigOptions): DotenvPopulateOutput;
+
+/**
+ * Decrypt ciphertext
+ *
+ * See https://docs.dotenv.org
+ *
+ * @param encrypted - the encrypted ciphertext string
+ * @param keyStr - the decryption key string
+ * @returns {string}
+ *
+ */
+export function decrypt(encrypted: string, keyStr: string): string;
diff --git a/node_modules/dotenv/lib/main.js b/node_modules/dotenv/lib/main.js
new file mode 100644
index 000000000..84f81a1e2
--- /dev/null
+++ b/node_modules/dotenv/lib/main.js
@@ -0,0 +1,314 @@
+const fs = require('fs')
+const path = require('path')
+const os = require('os')
+const crypto = require('crypto')
+const packageJson = require('../package.json')
+
+const version = packageJson.version
+
+const LINE = /(?:^|^)\s*(?:export\s+)?([\w.-]+)(?:\s*=\s*?|:\s+?)(\s*'(?:\\'|[^'])*'|\s*"(?:\\"|[^"])*"|\s*`(?:\\`|[^`])*`|[^#\r\n]+)?\s*(?:#.*)?(?:$|$)/mg
+
+// Parse src into an Object
+function parse (src) {
+ const obj = {}
+
+ // Convert buffer to string
+ let lines = src.toString()
+
+ // Convert line breaks to same format
+ lines = lines.replace(/\r\n?/mg, '\n')
+
+ let match
+ while ((match = LINE.exec(lines)) != null) {
+ const key = match[1]
+
+ // Default undefined or null to empty string
+ let value = (match[2] || '')
+
+ // Remove whitespace
+ value = value.trim()
+
+ // Check if double quoted
+ const maybeQuote = value[0]
+
+ // Remove surrounding quotes
+ value = value.replace(/^(['"`])([\s\S]*)\1$/mg, '$2')
+
+ // Expand newlines if double quoted
+ if (maybeQuote === '"') {
+ value = value.replace(/\\n/g, '\n')
+ value = value.replace(/\\r/g, '\r')
+ }
+
+ // Add to object
+ obj[key] = value
+ }
+
+ return obj
+}
+
+function _parseVault (options) {
+ const vaultPath = _vaultPath(options)
+
+ // Parse .env.vault
+ const result = DotenvModule.configDotenv({ path: vaultPath })
+ if (!result.parsed) {
+ throw new Error(`MISSING_DATA: Cannot parse ${vaultPath} for an unknown reason`)
+ }
+
+ // handle scenario for comma separated keys - for use with key rotation
+ // example: DOTENV_KEY="dotenv://:key_1234@dotenv.org/vault/.env.vault?environment=prod,dotenv://:key_7890@dotenv.org/vault/.env.vault?environment=prod"
+ const keys = _dotenvKey(options).split(',')
+ const length = keys.length
+
+ let decrypted
+ for (let i = 0; i < length; i++) {
+ try {
+ // Get full key
+ const key = keys[i].trim()
+
+ // Get instructions for decrypt
+ const attrs = _instructions(result, key)
+
+ // Decrypt
+ decrypted = DotenvModule.decrypt(attrs.ciphertext, attrs.key)
+
+ break
+ } catch (error) {
+ // last key
+ if (i + 1 >= length) {
+ throw error
+ }
+ // try next key
+ }
+ }
+
+ // Parse decrypted .env string
+ return DotenvModule.parse(decrypted)
+}
+
+function _log (message) {
+ console.log(`[dotenv@${version}][INFO] ${message}`)
+}
+
+function _warn (message) {
+ console.log(`[dotenv@${version}][WARN] ${message}`)
+}
+
+function _debug (message) {
+ console.log(`[dotenv@${version}][DEBUG] ${message}`)
+}
+
+function _dotenvKey (options) {
+ // prioritize developer directly setting options.DOTENV_KEY
+ if (options && options.DOTENV_KEY && options.DOTENV_KEY.length > 0) {
+ return options.DOTENV_KEY
+ }
+
+ // secondary infra already contains a DOTENV_KEY environment variable
+ if (process.env.DOTENV_KEY && process.env.DOTENV_KEY.length > 0) {
+ return process.env.DOTENV_KEY
+ }
+
+ // fallback to empty string
+ return ''
+}
+
+function _instructions (result, dotenvKey) {
+ // Parse DOTENV_KEY. Format is a URI
+ let uri
+ try {
+ uri = new URL(dotenvKey)
+ } catch (error) {
+ if (error.code === 'ERR_INVALID_URL') {
+ throw new Error('INVALID_DOTENV_KEY: Wrong format. Must be in valid uri format like dotenv://:key_1234@dotenv.org/vault/.env.vault?environment=development')
+ }
+
+ throw error
+ }
+
+ // Get decrypt key
+ const key = uri.password
+ if (!key) {
+ throw new Error('INVALID_DOTENV_KEY: Missing key part')
+ }
+
+ // Get environment
+ const environment = uri.searchParams.get('environment')
+ if (!environment) {
+ throw new Error('INVALID_DOTENV_KEY: Missing environment part')
+ }
+
+ // Get ciphertext payload
+ const environmentKey = `DOTENV_VAULT_${environment.toUpperCase()}`
+ const ciphertext = result.parsed[environmentKey] // DOTENV_VAULT_PRODUCTION
+ if (!ciphertext) {
+ throw new Error(`NOT_FOUND_DOTENV_ENVIRONMENT: Cannot locate environment ${environmentKey} in your .env.vault file.`)
+ }
+
+ return { ciphertext, key }
+}
+
+function _vaultPath (options) {
+ let dotenvPath = path.resolve(process.cwd(), '.env')
+
+ if (options && options.path && options.path.length > 0) {
+ dotenvPath = options.path
+ }
+
+ // Locate .env.vault
+ return dotenvPath.endsWith('.vault') ? dotenvPath : `${dotenvPath}.vault`
+}
+
+function _resolveHome (envPath) {
+ return envPath[0] === '~' ? path.join(os.homedir(), envPath.slice(1)) : envPath
+}
+
+function _configVault (options) {
+ _log('Loading env from encrypted .env.vault')
+
+ const parsed = DotenvModule._parseVault(options)
+
+ let processEnv = process.env
+ if (options && options.processEnv != null) {
+ processEnv = options.processEnv
+ }
+
+ DotenvModule.populate(processEnv, parsed, options)
+
+ return { parsed }
+}
+
+function configDotenv (options) {
+ let dotenvPath = path.resolve(process.cwd(), '.env')
+ let encoding = 'utf8'
+ const debug = Boolean(options && options.debug)
+
+ if (options) {
+ if (options.path != null) {
+ dotenvPath = _resolveHome(options.path)
+ }
+ if (options.encoding != null) {
+ encoding = options.encoding
+ }
+ }
+
+ try {
+ // Specifying an encoding returns a string instead of a buffer
+ const parsed = DotenvModule.parse(fs.readFileSync(dotenvPath, { encoding }))
+
+ let processEnv = process.env
+ if (options && options.processEnv != null) {
+ processEnv = options.processEnv
+ }
+
+ DotenvModule.populate(processEnv, parsed, options)
+
+ return { parsed }
+ } catch (e) {
+ if (debug) {
+ _debug(`Failed to load ${dotenvPath} ${e.message}`)
+ }
+
+ return { error: e }
+ }
+}
+
+// Populates process.env from .env file
+function config (options) {
+ const vaultPath = _vaultPath(options)
+
+ // fallback to original dotenv if DOTENV_KEY is not set
+ if (_dotenvKey(options).length === 0) {
+ return DotenvModule.configDotenv(options)
+ }
+
+ // dotenvKey exists but .env.vault file does not exist
+ if (!fs.existsSync(vaultPath)) {
+ _warn(`You set DOTENV_KEY but you are missing a .env.vault file at ${vaultPath}. Did you forget to build it?`)
+
+ return DotenvModule.configDotenv(options)
+ }
+
+ return DotenvModule._configVault(options)
+}
+
+function decrypt (encrypted, keyStr) {
+ const key = Buffer.from(keyStr.slice(-64), 'hex')
+ let ciphertext = Buffer.from(encrypted, 'base64')
+
+ const nonce = ciphertext.slice(0, 12)
+ const authTag = ciphertext.slice(-16)
+ ciphertext = ciphertext.slice(12, -16)
+
+ try {
+ const aesgcm = crypto.createDecipheriv('aes-256-gcm', key, nonce)
+ aesgcm.setAuthTag(authTag)
+ return `${aesgcm.update(ciphertext)}${aesgcm.final()}`
+ } catch (error) {
+ const isRange = error instanceof RangeError
+ const invalidKeyLength = error.message === 'Invalid key length'
+ const decryptionFailed = error.message === 'Unsupported state or unable to authenticate data'
+
+ if (isRange || invalidKeyLength) {
+ const msg = 'INVALID_DOTENV_KEY: It must be 64 characters long (or more)'
+ throw new Error(msg)
+ } else if (decryptionFailed) {
+ const msg = 'DECRYPTION_FAILED: Please check your DOTENV_KEY'
+ throw new Error(msg)
+ } else {
+ console.error('Error: ', error.code)
+ console.error('Error: ', error.message)
+ throw error
+ }
+ }
+}
+
+// Populate process.env with parsed values
+function populate (processEnv, parsed, options = {}) {
+ const debug = Boolean(options && options.debug)
+ const override = Boolean(options && options.override)
+
+ if (typeof parsed !== 'object') {
+ throw new Error('OBJECT_REQUIRED: Please check the processEnv argument being passed to populate')
+ }
+
+ // Set process.env
+ for (const key of Object.keys(parsed)) {
+ if (Object.prototype.hasOwnProperty.call(processEnv, key)) {
+ if (override === true) {
+ processEnv[key] = parsed[key]
+ }
+
+ if (debug) {
+ if (override === true) {
+ _debug(`"${key}" is already defined and WAS overwritten`)
+ } else {
+ _debug(`"${key}" is already defined and was NOT overwritten`)
+ }
+ }
+ } else {
+ processEnv[key] = parsed[key]
+ }
+ }
+}
+
+const DotenvModule = {
+ configDotenv,
+ _configVault,
+ _parseVault,
+ config,
+ decrypt,
+ parse,
+ populate
+}
+
+module.exports.configDotenv = DotenvModule.configDotenv
+module.exports._configVault = DotenvModule._configVault
+module.exports._parseVault = DotenvModule._parseVault
+module.exports.config = DotenvModule.config
+module.exports.decrypt = DotenvModule.decrypt
+module.exports.parse = DotenvModule.parse
+module.exports.populate = DotenvModule.populate
+
+module.exports = DotenvModule
diff --git a/node_modules/dotenv/package.json b/node_modules/dotenv/package.json
new file mode 100644
index 000000000..012d7896f
--- /dev/null
+++ b/node_modules/dotenv/package.json
@@ -0,0 +1,64 @@
+{
+ "name": "dotenv",
+ "version": "16.3.1",
+ "description": "Loads environment variables from .env file",
+ "main": "lib/main.js",
+ "types": "lib/main.d.ts",
+ "exports": {
+ ".": {
+ "types": "./lib/main.d.ts",
+ "require": "./lib/main.js",
+ "default": "./lib/main.js"
+ },
+ "./config": "./config.js",
+ "./config.js": "./config.js",
+ "./lib/env-options": "./lib/env-options.js",
+ "./lib/env-options.js": "./lib/env-options.js",
+ "./lib/cli-options": "./lib/cli-options.js",
+ "./lib/cli-options.js": "./lib/cli-options.js",
+ "./package.json": "./package.json"
+ },
+ "scripts": {
+ "dts-check": "tsc --project tests/types/tsconfig.json",
+ "lint": "standard",
+ "lint-readme": "standard-markdown",
+ "pretest": "npm run lint && npm run dts-check",
+ "test": "tap tests/*.js --100 -Rspec",
+ "prerelease": "npm test",
+ "release": "standard-version"
+ },
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/motdotla/dotenv.git"
+ },
+ "funding": "https://github.com/motdotla/dotenv?sponsor=1",
+ "keywords": [
+ "dotenv",
+ "env",
+ ".env",
+ "environment",
+ "variables",
+ "config",
+ "settings"
+ ],
+ "readmeFilename": "README.md",
+ "license": "BSD-2-Clause",
+ "devDependencies": {
+ "@definitelytyped/dtslint": "^0.0.133",
+ "@types/node": "^18.11.3",
+ "decache": "^4.6.1",
+ "sinon": "^14.0.1",
+ "standard": "^17.0.0",
+ "standard-markdown": "^7.1.0",
+ "standard-version": "^9.5.0",
+ "tap": "^16.3.0",
+ "tar": "^6.1.11",
+ "typescript": "^4.8.4"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "browser": {
+ "fs": false
+ }
+}
diff --git a/package-lock.json b/package-lock.json
new file mode 100644
index 000000000..33b998cb6
--- /dev/null
+++ b/package-lock.json
@@ -0,0 +1,23 @@
+{
+ "name": "Y_FE_JAVASCRIPT_PICTURE",
+ "lockfileVersion": 3,
+ "requires": true,
+ "packages": {
+ "": {
+ "dependencies": {
+ "dotenv": "^16.3.1"
+ }
+ },
+ "node_modules/dotenv": {
+ "version": "16.3.1",
+ "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.3.1.tgz",
+ "integrity": "sha512-IPzF4w4/Rd94bA9imS68tZBaYyBWSCE47V1RGuMrB94iyTOIEwRmVL2x/4An+6mETpLrKJ5hQkB8W4kFAadeIQ==",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/motdotla/dotenv?sponsor=1"
+ }
+ }
+ }
+}
diff --git a/package.json b/package.json
new file mode 100644
index 000000000..cce44982f
--- /dev/null
+++ b/package.json
@@ -0,0 +1,6 @@
+{
+ "type": "module",
+ "dependencies": {
+ "dotenv": "^16.3.1"
+ }
+}