\ No newline at end of file
diff --git a/_next/data/FI7bR2RtPsi5KMHnONtnm/index.json b/_next/data/FI7bR2RtPsi5KMHnONtnm/index.json
deleted file mode 100644
index 0cbfdd91..00000000
--- a/_next/data/FI7bR2RtPsi5KMHnONtnm/index.json
+++ /dev/null
@@ -1 +0,0 @@
-{"pageProps":{"allExperiences":[{"company":"Iran University of Science and Technology","position":"Teacher assistant","startDate":"2017-10-01","endDate":"2018-01-01","body":{"raw":"\nAdvanced programming course supervised by [Prof. Sauleh Eetemadi](https://sauleh.github.io/).\n\nMy responsibilities include:\n\n- Design, implementation and documentation programming assignments.\n- Hold weekly practice classes.\n","html":"
Design, implementation and documentation programming assignments.
\n
Hold weekly practice classes.
\n
"},"_id":"experiences/01-ap-ta.mdx","_raw":{"sourceFilePath":"experiences/01-ap-ta.mdx","sourceFileName":"01-ap-ta.mdx","sourceFileDir":"experiences","contentType":"mdx","flattenedPath":"experiences/01-ap-ta"},"type":"Experience","readingTime":{"text":"1 min read","minutes":0.115,"time":6900,"words":23},"wordCount":25,"slug":"01-ap-ta"},{"company":"Iran University of Science and Technology","position":"Head Teacher assistant","startDate":"2019-02-01","endDate":"2019-08-01","body":{"raw":"\nAdvanced programming course supervised by [Prof. Sauleh Eetemadi](https://sauleh.github.io/).\n\nMy responsibilities include:\n\n- Manage and coordinate TAs, Code reviewers, and other course staff.\n- Design, implementation and documentation programming assignments. assignments with a documentation are available via [the link](https://sauleh.github.io/ap97/assignments/)\n- Hold weekly practice classes and workshops with topics such as Git, Azure DevOps, clean code, WPF.\n- Design, implementation, documentation and scoring programming exams. The mentioned exams with their corresponding answers are available via [the link](https://sauleh.github.io/ap97/assignments/)\n- More info in [course home page](https://sauleh.github.io/ap97)\n","html":"
"},"_id":"experiences/02-ap-head-ta.mdx","_raw":{"sourceFilePath":"experiences/02-ap-head-ta.mdx","sourceFileName":"02-ap-head-ta.mdx","sourceFileDir":"experiences","contentType":"mdx","flattenedPath":"experiences/02-ap-head-ta"},"type":"Experience","readingTime":{"text":"1 min read","minutes":0.41,"time":24600,"words":82},"wordCount":84,"slug":"02-ap-head-ta"},{"company":"Iran's national elites foundation","position":"Software Engineer","startDate":"2020-01-01","endDate":"2020-11-01","body":{"raw":"\nA project funded by Iran's National Elites Foundation and supervised by [Prof. Behroozi](http://ee.sharif.edu/~behroozi/) and [Prof. Soleymani](http://sharif.edu/~soleymani/).\n\nMy Responsibilities include:\n\n- Carrying out team coordination and work\n- Meeting with hospital, clinic, and laboratory managers for requirements engineering and data gathering.\n- We developed a follow-up automation software that is used in the process of discharging patients and can help hospitals and clinics stay in touch with their patients and coordinate the next check ups of the patient. It also provides the patients with educational content. This system is currently being used by Sina hospital.\n","html":"
Meeting with hospital, clinic, and laboratory managers for requirements engineering and data gathering.
\n
We developed a follow-up automation software that is used in the process of discharging patients and can help hospitals and clinics stay in touch with their patients and coordinate the next check ups of the patient. It also provides the patients with educational content. This system is currently being used by Sina hospital.
\n
"},"_id":"experiences/03-bmn.mdx","_raw":{"sourceFilePath":"experiences/03-bmn.mdx","sourceFileName":"03-bmn.mdx","sourceFileDir":"experiences","contentType":"mdx","flattenedPath":"experiences/03-bmn"},"type":"Experience","readingTime":{"text":"1 min read","minutes":0.47,"time":28200,"words":94},"wordCount":96,"slug":"03-bmn"},{"company":"eFarda eCommerce Company","position":"Fullstack Developer","startDate":"2020-06-01","endDate":"Present","body":{"raw":"\nMy Responsibilities include:\n\n- Training and setting up the use of Git\n- Migrate all codes from TFS version control to Git\n- Develop web APIs\n- Work with bank external APIs\n- Setup CI/CD and Docker for projects\n- Design and implement front-end of new projects\n\n[company site](https://www.efarda.ir/)\n","html":"
"},"_id":"experiences/04-efarda.mdx","_raw":{"sourceFilePath":"experiences/04-efarda.mdx","sourceFileName":"04-efarda.mdx","sourceFileDir":"experiences","contentType":"mdx","flattenedPath":"experiences/04-efarda"},"type":"Experience","readingTime":{"text":"1 min read","minutes":0.245,"time":14700,"words":49},"wordCount":51,"slug":"04-efarda"}]},"__N_SSG":true}
\ No newline at end of file
diff --git a/_next/data/FI7bR2RtPsi5KMHnONtnm/projects/dormify.json b/_next/data/FI7bR2RtPsi5KMHnONtnm/projects/dormify.json
deleted file mode 100644
index 1162b943..00000000
--- a/_next/data/FI7bR2RtPsi5KMHnONtnm/projects/dormify.json
+++ /dev/null
@@ -1 +0,0 @@
-{"pageProps":{"project":{"category":"project","cover":"/images/_markdowns/projects/dormify/cover.png","title":"Dormify","description":"Software engineering course project","startDate":"2020-03-30","endDate":"2020-06-01","published":true,"tags":["β React (fully functional components β)","π Lerna","π Yarn","TypeScript","Cypress","π’ Jest","π testing-library","Storybook","Material-UI","Apollo GraphQL client","CSS-in-JS","π React-Hook-Form","π i18next","Django","Graphene","nginx","π³ Docker","π Azure pipelines","π PostgreSQL","Azure feeds"],"body":{"raw":"\n\n\n\n\n\n\n\n\n- Carrying out team coordination and work\n- Meeting with dormitory managers for requirements engineering and data gathering.\n- We hold scrum meeting (planning, daily ...) in Microsoft Teams during COVID19 pandemic\n- We designed and developed a software for managing dormitory stuffs like ticketing, issue tracking, guest invitation\n- We designed fully dockerized and automated CI/CD during development of software\n\n#### Description of CI/CD\n\nour project contains two packages. One package called common that contains reusable components\nand utilities and main package called student-panel.\nI designed a pipeline that contains of 3 stage:\n\n- build\n- type-coverage (using [type-coverage package](https://github.com/plantain-00/type-coverage))\n- test (unit testing with Jest and e2e testing with Cypress)\n\nAfter each build we collect artifacts containing build output, test result and coverage,\nCypress videos and screenshots and type-coverage results.\n\n#### Some screenshots form CI/CD:\n\n#### Pipelines\n\n\n\n#### Pipeline result\n\n\n\n#### Test results\n\n\n\n#### Coverage results\n\n\n\n#### Deployment\n\n\n\n#### Artifacts\n\n\n\n#### Cypress video output\n\n\n\n#### Azure feed (private npm registry)\n\n\n","html":"
\n
\n
\n
\n
\n
Carrying out team coordination and work
\n
Meeting with dormitory managers for requirements engineering and data gathering.
\n
We hold scrum meeting (planning, daily ...) in Microsoft Teams during COVID19 pandemic
\n
We designed and developed a software for managing dormitory stuffs like ticketing, issue tracking, guest invitation
\n
We designed fully dockerized and automated CI/CD during development of software
\n
\n
Description of CI/CD
\n
our project contains two packages. One package called common that contains reusable components\nand utilities and main package called student-panel.\nI designed a pipeline that contains of 3 stage:
test (unit testing with Jest and e2e testing with Cypress)
\n
\n
After each build we collect artifacts containing build output, test result and coverage,\nCypress videos and screenshots and type-coverage results.
\n
Some screenshots form CI/CD:
\n
Pipelines
\n
\n
Pipeline result
\n
\n
Test results
\n
\n
Coverage results
\n
\n
Deployment
\n
\n
Artifacts
\n
\n
Cypress video output
\n
\n
Azure feed (private npm registry)
\n
"},"_id":"projects/dormify.mdx","_raw":{"sourceFilePath":"projects/dormify.mdx","sourceFileName":"dormify.mdx","sourceFileDir":"projects","contentType":"mdx","flattenedPath":"projects/dormify"},"type":"Project","readingTime":{"text":"1 min read","minutes":0.87,"time":52200,"words":174},"wordCount":176,"slug":"dormify"}},"__N_SSG":true}
\ No newline at end of file
diff --git a/_next/data/FI7bR2RtPsi5KMHnONtnm/projects/mano-computer.json b/_next/data/FI7bR2RtPsi5KMHnONtnm/projects/mano-computer.json
deleted file mode 100644
index 32e80209..00000000
--- a/_next/data/FI7bR2RtPsi5KMHnONtnm/projects/mano-computer.json
+++ /dev/null
@@ -1 +0,0 @@
-{"pageProps":{"project":{"category":"project","cover":"/images/_markdowns/projects/mano-computer/cover.png","title":"Mano Computer Simulation","description":"Simulate Mano computer in Proteus 8","startDate":"2018-12-07","endDate":"2019-01-06","published":true,"tags":["Proteus 8 π₯"],"body":{"raw":"\n\n\nComputer Architecture course project. I simulated Mano computer in Proteus 8\n\n[GitHub repository](https://github.com/ali4heydari/ManoComputer)\n","html":"
\n
Computer Architecture course project. I simulated Mano computer in Proteus 8
"},"_id":"projects/quine-mc-cluskey.mdx","_raw":{"sourceFilePath":"projects/quine-mc-cluskey.mdx","sourceFileName":"quine-mc-cluskey.mdx","sourceFileDir":"projects","contentType":"mdx","flattenedPath":"projects/quine-mc-cluskey"},"type":"Project","readingTime":{"text":"1 min read","minutes":0.1,"time":6000,"words":20},"wordCount":22,"slug":"quine-mc-cluskey"}},"__N_SSG":true}
\ No newline at end of file
diff --git a/_next/data/FI7bR2RtPsi5KMHnONtnm/projects/sina-heart.json b/_next/data/FI7bR2RtPsi5KMHnONtnm/projects/sina-heart.json
deleted file mode 100644
index 91b40a5a..00000000
--- a/_next/data/FI7bR2RtPsi5KMHnONtnm/projects/sina-heart.json
+++ /dev/null
@@ -1 +0,0 @@
-{"pageProps":{"project":{"category":"project","cover":"/images/_markdowns/projects/sina-heart/cover.png","title":"Sina Heart","description":"follow-up automation software","startDate":"2019-12-13","endDate":"2020-10-13","published":true,"tags":["React (fully functional components β) β","Next.js","Lerna π","Yarn π","TypeScript","Material-UI","CSS-in-JS","Firebase π₯","Apollo GraphQL client","React-Hook-Form π","Recharts π","i18next π","Django","Graphene","nginx","Docker π³","GitLab CI π¦","PostgreSQL π"],"body":{"raw":"\n[live demo π₯](https://sina-front.vercel.app/)\n\n\n\n- Carrying out team coordination and work\n- Meeting with hospital, clinic and laboratory managers for requirements engineering and data gathering.\n- We developed a follow-up automation software that is used in the process of discharging patients and can help hospitals and clinics stay in touch with their patients and coordinate the next check ups of the patient. It also provides the patients with educational content. This system is currently being used by Sina hospital.\n","html":"
Meeting with hospital, clinic and laboratory managers for requirements engineering and data gathering.
\n
We developed a follow-up automation software that is used in the process of discharging patients and can help hospitals and clinics stay in touch with their patients and coordinate the next check ups of the patient. It also provides the patients with educational content. This system is currently being used by Sina hospital.
\n
"},"_id":"projects/sina-heart.mdx","_raw":{"sourceFilePath":"projects/sina-heart.mdx","sourceFileName":"sina-heart.mdx","sourceFileDir":"projects","contentType":"mdx","flattenedPath":"projects/sina-heart"},"type":"Project","readingTime":{"text":"1 min read","minutes":0.405,"time":24300,"words":81},"wordCount":83,"slug":"sina-heart"}},"__N_SSG":true}
\ No newline at end of file
diff --git a/_next/data/FI7bR2RtPsi5KMHnONtnm/projects/sportify.json b/_next/data/FI7bR2RtPsi5KMHnONtnm/projects/sportify.json
deleted file mode 100644
index e5415468..00000000
--- a/_next/data/FI7bR2RtPsi5KMHnONtnm/projects/sportify.json
+++ /dev/null
@@ -1 +0,0 @@
-{"pageProps":{"project":{"category":"project","cover":"/images/_markdowns/projects/sportify/cover.png","title":"Sportify","description":"A simple site for football and basketball news","startDate":"2018-11-20","endDate":"2019-01-02","published":true,"tags":["β React (class components)","Redux","TypeScript","JavaScript","π Ant Design","CSS-in-JS","CSS modules","SQLite","Django REST API"],"body":{"raw":"\n\n\n- Web Development course project\n\n[GitHub repository](https://github.com/ali4heydari/sportify-frontend)\n","html":"
"},"_id":"projects/sportify.mdx","_raw":{"sourceFilePath":"projects/sportify.mdx","sourceFileName":"sportify.mdx","sourceFileDir":"projects","contentType":"mdx","flattenedPath":"projects/sportify"},"type":"Project","readingTime":{"text":"1 min read","minutes":0.04,"time":2400,"words":8},"wordCount":10,"slug":"sportify"}},"__N_SSG":true}
\ No newline at end of file
diff --git a/_next/data/FI7bR2RtPsi5KMHnONtnm/resume.json b/_next/data/FI7bR2RtPsi5KMHnONtnm/resume.json
deleted file mode 100644
index 1d9842e4..00000000
--- a/_next/data/FI7bR2RtPsi5KMHnONtnm/resume.json
+++ /dev/null
@@ -1 +0,0 @@
-{"pageProps":{"allExperiences":[{"company":"Iran University of Science and Technology","position":"Teacher assistant","startDate":"2017-10-01","endDate":"2018-01-01","body":{"raw":"\nAdvanced programming course supervised by [Prof. Sauleh Eetemadi](https://sauleh.github.io/).\n\nMy responsibilities include:\n\n- Design, implementation and documentation programming assignments.\n- Hold weekly practice classes.\n","html":"
Design, implementation and documentation programming assignments.
\n
Hold weekly practice classes.
\n
"},"_id":"experiences/01-ap-ta.mdx","_raw":{"sourceFilePath":"experiences/01-ap-ta.mdx","sourceFileName":"01-ap-ta.mdx","sourceFileDir":"experiences","contentType":"mdx","flattenedPath":"experiences/01-ap-ta"},"type":"Experience","readingTime":{"text":"1 min read","minutes":0.115,"time":6900,"words":23},"wordCount":25,"slug":"01-ap-ta"},{"company":"Iran University of Science and Technology","position":"Head Teacher assistant","startDate":"2019-02-01","endDate":"2019-08-01","body":{"raw":"\nAdvanced programming course supervised by [Prof. Sauleh Eetemadi](https://sauleh.github.io/).\n\nMy responsibilities include:\n\n- Manage and coordinate TAs, Code reviewers, and other course staff.\n- Design, implementation and documentation programming assignments. assignments with a documentation are available via [the link](https://sauleh.github.io/ap97/assignments/)\n- Hold weekly practice classes and workshops with topics such as Git, Azure DevOps, clean code, WPF.\n- Design, implementation, documentation and scoring programming exams. The mentioned exams with their corresponding answers are available via [the link](https://sauleh.github.io/ap97/assignments/)\n- More info in [course home page](https://sauleh.github.io/ap97)\n","html":"
"},"_id":"experiences/02-ap-head-ta.mdx","_raw":{"sourceFilePath":"experiences/02-ap-head-ta.mdx","sourceFileName":"02-ap-head-ta.mdx","sourceFileDir":"experiences","contentType":"mdx","flattenedPath":"experiences/02-ap-head-ta"},"type":"Experience","readingTime":{"text":"1 min read","minutes":0.41,"time":24600,"words":82},"wordCount":84,"slug":"02-ap-head-ta"},{"company":"Iran's national elites foundation","position":"Software Engineer","startDate":"2020-01-01","endDate":"2020-11-01","body":{"raw":"\nA project funded by Iran's National Elites Foundation and supervised by [Prof. Behroozi](http://ee.sharif.edu/~behroozi/) and [Prof. Soleymani](http://sharif.edu/~soleymani/).\n\nMy Responsibilities include:\n\n- Carrying out team coordination and work\n- Meeting with hospital, clinic, and laboratory managers for requirements engineering and data gathering.\n- We developed a follow-up automation software that is used in the process of discharging patients and can help hospitals and clinics stay in touch with their patients and coordinate the next check ups of the patient. It also provides the patients with educational content. This system is currently being used by Sina hospital.\n","html":"
Meeting with hospital, clinic, and laboratory managers for requirements engineering and data gathering.
\n
We developed a follow-up automation software that is used in the process of discharging patients and can help hospitals and clinics stay in touch with their patients and coordinate the next check ups of the patient. It also provides the patients with educational content. This system is currently being used by Sina hospital.
\n
"},"_id":"experiences/03-bmn.mdx","_raw":{"sourceFilePath":"experiences/03-bmn.mdx","sourceFileName":"03-bmn.mdx","sourceFileDir":"experiences","contentType":"mdx","flattenedPath":"experiences/03-bmn"},"type":"Experience","readingTime":{"text":"1 min read","minutes":0.47,"time":28200,"words":94},"wordCount":96,"slug":"03-bmn"},{"company":"eFarda eCommerce Company","position":"Fullstack Developer","startDate":"2020-06-01","endDate":"Present","body":{"raw":"\nMy Responsibilities include:\n\n- Training and setting up the use of Git\n- Migrate all codes from TFS version control to Git\n- Develop web APIs\n- Work with bank external APIs\n- Setup CI/CD and Docker for projects\n- Design and implement front-end of new projects\n\n[company site](https://www.efarda.ir/)\n","html":"
"},"_id":"experiences/04-efarda.mdx","_raw":{"sourceFilePath":"experiences/04-efarda.mdx","sourceFileName":"04-efarda.mdx","sourceFileDir":"experiences","contentType":"mdx","flattenedPath":"experiences/04-efarda"},"type":"Experience","readingTime":{"text":"1 min read","minutes":0.245,"time":14700,"words":49},"wordCount":51,"slug":"04-efarda"}],"allEducation":[{"university":"Sharif University Of Technology","degree":"Bachelor","startDate":"2016-10-01","endDate":"2017-09-01","body":{"raw":"\nChemical engineering. (I left Sharif University to change my field of study)\n","html":"
Chemical engineering. (I left Sharif University to change my field of study)
"},"_id":"educations/01-sharif-che.mdx","_raw":{"sourceFilePath":"educations/01-sharif-che.mdx","sourceFileName":"01-sharif-che.mdx","sourceFileDir":"educations","contentType":"mdx","flattenedPath":"educations/01-sharif-che"},"type":"Education","readingTime":{"text":"1 min read","minutes":0.06,"time":3600,"words":12},"wordCount":14,"slug":"01-sharif-che"},{"university":"Iran University of Science and Technology","degree":"Bachelor","startDate":"2017-10-01","endDate":"Present","body":{"raw":"\nComputer engineering\n","html":"
"},"_id":"tools/index.mdx","_raw":{"sourceFilePath":"tools/index.mdx","sourceFileName":"index.mdx","sourceFileDir":"tools","contentType":"mdx","flattenedPath":"tools"},"type":"Tool","readingTime":{"text":"2 min read","minutes":1.145,"time":68700,"words":229},"wordCount":231,"slug":"index"}},"__N_SSG":true}
\ No newline at end of file
diff --git a/_next/static/FI7bR2RtPsi5KMHnONtnm/_buildManifest.js b/_next/static/FI7bR2RtPsi5KMHnONtnm/_buildManifest.js
deleted file mode 100644
index ab4d1d49..00000000
--- a/_next/static/FI7bR2RtPsi5KMHnONtnm/_buildManifest.js
+++ /dev/null
@@ -1 +0,0 @@
-self.__BUILD_MANIFEST=function(s,c,e){return{__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":[s,c,"static/css/1ca69f0dfdd62745.css","static/chunks/pages/index-24e53b78632803c4.js"],"/_error":["static/chunks/pages/_error-2280fa386d040b66.js"],"/blog":[s,c,"static/css/a89e38ca5a57e99a.css","static/chunks/pages/blog-4ba2f39eaa15e3ac.js"],"/blog/[slug]":[s,c,"static/css/13a2b055cdbda696.css","static/chunks/pages/blog/[slug]-9e72dc812701157f.js"],"/contact":[s,c,e,"static/chunks/pages/contact-24b13a4368e2b614.js"],"/projects":[s,c,"static/css/7fe86a2086bc5037.css","static/chunks/pages/projects-ccdca72ec4f289a9.js"],"/projects/[slug]":[s,c,"static/css/6482db3edd746b7d.css","static/chunks/pages/projects/[slug]-d970ffbf19658c9b.js"],"/resume":[s,c,e,"static/chunks/pages/resume-a484c786e2bd28ea.js"],"/skills":[s,c,"static/css/50241b0d598cb56b.css","static/chunks/pages/skills-fcf5d5da7ac546cf.js"],"/tools":[s,c,e,"static/chunks/pages/tools-a87d38d0e35869cc.js"],sortedPages:["/","/_app","/_error","/blog","/blog/[slug]","/contact","/projects","/projects/[slug]","/resume","/skills","/tools"]}}("static/chunks/185-ffb46217461ae609.js","static/chunks/273-2d8152ca9d1c7078.js","static/css/8a70dd190661c456.css"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();
\ No newline at end of file
diff --git a/_next/static/FI7bR2RtPsi5KMHnONtnm/_middlewareManifest.js b/_next/static/FI7bR2RtPsi5KMHnONtnm/_middlewareManifest.js
deleted file mode 100644
index a17fc8bf..00000000
--- a/_next/static/FI7bR2RtPsi5KMHnONtnm/_middlewareManifest.js
+++ /dev/null
@@ -1 +0,0 @@
-self.__MIDDLEWARE_MANIFEST=[];self.__MIDDLEWARE_MANIFEST_CB&&self.__MIDDLEWARE_MANIFEST_CB()
\ No newline at end of file
diff --git a/_next/static/FI7bR2RtPsi5KMHnONtnm/_ssgManifest.js b/_next/static/FI7bR2RtPsi5KMHnONtnm/_ssgManifest.js
deleted file mode 100644
index 85807e77..00000000
--- a/_next/static/FI7bR2RtPsi5KMHnONtnm/_ssgManifest.js
+++ /dev/null
@@ -1 +0,0 @@
-self.__SSG_MANIFEST=new Set(["\u002F","\u002Fresume","\u002Ftools","\u002Fblog\u002F[slug]","\u002Fprojects\u002F[slug]"]);self.__SSG_MANIFEST_CB&&self.__SSG_MANIFEST_CB()
\ No newline at end of file
diff --git a/_next/static/chunks/185-ffb46217461ae609.js b/_next/static/chunks/185-ffb46217461ae609.js
deleted file mode 100644
index cdfbe354..00000000
--- a/_next/static/chunks/185-ffb46217461ae609.js
+++ /dev/null
@@ -1 +0,0 @@
-(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[185],{4184:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["color","size","children"])),u="mdi-icon "+(i.className||"");return o.createElement("svg",a({},i,{className:u,width:l,height:l,fill:n,viewBox:"0 0 24 24"}),o.createElement("path",{d:"M19,19H5V8H19M16,1V3H8V1H6V3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3H18V1M17,12H12V17H17V12Z"}))},i=o.memo?o.memo(l):l;e.exports=i},1488:function(e,t,n){"use strict";var r,o=(r=n(7294))&&"object"===typeof r&&"default"in r?r.default:r,a=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["color","size","children"])),u="mdi-icon "+(i.className||"");return o.createElement("svg",a({},i,{className:u,width:l,height:l,fill:n,viewBox:"0 0 24 24"}),o.createElement("path",{d:"M22,24L16.75,19L17.38,21H4.5A2.5,2.5 0 0,1 2,18.5V3.5A2.5,2.5 0 0,1 4.5,1H19.5A2.5,2.5 0 0,1 22,3.5V24M12,6.8C9.32,6.8 7.44,7.95 7.44,7.95C8.47,7.03 10.27,6.5 10.27,6.5L10.1,6.33C8.41,6.36 6.88,7.53 6.88,7.53C5.16,11.12 5.27,14.22 5.27,14.22C6.67,16.03 8.75,15.9 8.75,15.9L9.46,15C8.21,14.73 7.42,13.62 7.42,13.62C7.42,13.62 9.3,14.9 12,14.9C14.7,14.9 16.58,13.62 16.58,13.62C16.58,13.62 15.79,14.73 14.54,15L15.25,15.9C15.25,15.9 17.33,16.03 18.73,14.22C18.73,14.22 18.84,11.12 17.12,7.53C17.12,7.53 15.59,6.36 13.9,6.33L13.73,6.5C13.73,6.5 15.53,7.03 16.56,7.95C16.56,7.95 14.68,6.8 12,6.8M9.93,10.59C10.58,10.59 11.11,11.16 11.1,11.86C11.1,12.55 10.58,13.13 9.93,13.13C9.29,13.13 8.77,12.55 8.77,11.86C8.77,11.16 9.28,10.59 9.93,10.59M14.1,10.59C14.75,10.59 15.27,11.16 15.27,11.86C15.27,12.55 14.75,13.13 14.1,13.13C13.46,13.13 12.94,12.55 12.94,11.86C12.94,11.16 13.45,10.59 14.1,10.59Z"}))},i=o.memo?o.memo(l):l;e.exports=i},548:function(e,t,n){"use strict";var r,o=(r=n(7294))&&"object"===typeof r&&"default"in r?r.default:r,a=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["color","size","children"])),u="mdi-icon "+(i.className||"");return o.createElement("svg",a({},i,{className:u,width:l,height:l,fill:n,viewBox:"0 0 24 24"}),o.createElement("path",{d:"M20,8L12,13L4,8V6L12,11L20,6M20,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V6C22,4.89 21.1,4 20,4Z"}))},i=o.memo?o.memo(l):l;e.exports=i},6892:function(e,t,n){"use strict";var r,o=(r=n(7294))&&"object"===typeof r&&"default"in r?r.default:r,a=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["color","size","children"])),u="mdi-icon "+(i.className||"");return o.createElement("svg",a({},i,{className:u,width:l,height:l,fill:n,viewBox:"0 0 24 24"}),o.createElement("path",{d:"M12 2.04C6.5 2.04 2 6.53 2 12.06C2 17.06 5.66 21.21 10.44 21.96V14.96H7.9V12.06H10.44V9.85C10.44 7.34 11.93 5.96 14.22 5.96C15.31 5.96 16.45 6.15 16.45 6.15V8.62H15.19C13.95 8.62 13.56 9.39 13.56 10.18V12.06H16.34L15.89 14.96H13.56V21.96A10 10 0 0 0 22 12.06C22 6.53 17.5 2.04 12 2.04Z"}))},i=o.memo?o.memo(l):l;e.exports=i},6095:function(e,t,n){"use strict";var r,o=(r=n(7294))&&"object"===typeof r&&"default"in r?r.default:r,a=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["color","size","children"])),u="mdi-icon "+(i.className||"");return o.createElement("svg",a({},i,{className:u,width:l,height:l,fill:n,viewBox:"0 0 24 24"}),o.createElement("path",{d:"M12,2A10,10 0 0,0 2,12C2,16.42 4.87,20.17 8.84,21.5C9.34,21.58 9.5,21.27 9.5,21C9.5,20.77 9.5,20.14 9.5,19.31C6.73,19.91 6.14,17.97 6.14,17.97C5.68,16.81 5.03,16.5 5.03,16.5C4.12,15.88 5.1,15.9 5.1,15.9C6.1,15.97 6.63,16.93 6.63,16.93C7.5,18.45 8.97,18 9.54,17.76C9.63,17.11 9.89,16.67 10.17,16.42C7.95,16.17 5.62,15.31 5.62,11.5C5.62,10.39 6,9.5 6.65,8.79C6.55,8.54 6.2,7.5 6.75,6.15C6.75,6.15 7.59,5.88 9.5,7.17C10.29,6.95 11.15,6.84 12,6.84C12.85,6.84 13.71,6.95 14.5,7.17C16.41,5.88 17.25,6.15 17.25,6.15C17.8,7.5 17.45,8.54 17.35,8.79C18,9.5 18.38,10.39 18.38,11.5C18.38,15.32 16.04,16.16 13.81,16.41C14.17,16.72 14.5,17.33 14.5,18.26C14.5,19.6 14.5,20.68 14.5,21C14.5,21.27 14.66,21.59 15.17,21.5C19.14,20.16 22,16.42 22,12A10,10 0 0,0 12,2Z"}))},i=o.memo?o.memo(l):l;e.exports=i},4891:function(e,t,n){"use strict";var r,o=(r=n(7294))&&"object"===typeof r&&"default"in r?r.default:r,a=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["color","size","children"])),u="mdi-icon "+(i.className||"");return o.createElement("svg",a({},i,{className:u,width:l,height:l,fill:n,viewBox:"0 0 24 24"}),o.createElement("path",{d:"M21.94 13.11L20.89 9.89C20.89 9.86 20.88 9.83 20.87 9.8L18.76 3.32C18.65 3 18.33 2.75 17.96 2.75C17.6 2.75 17.28 3 17.17 3.33L15.17 9.5H8.84L6.83 3.33C6.72 3 6.4 2.75 6.04 2.75H6.04C5.67 2.75 5.35 3 5.24 3.33L3.13 9.82C3.13 9.82 3.13 9.83 3.13 9.83L2.06 13.11C1.9 13.61 2.07 14.15 2.5 14.45L11.72 21.16C11.89 21.28 12.11 21.28 12.28 21.15L21.5 14.45C21.93 14.15 22.1 13.61 21.94 13.11M8.15 10.45L10.72 18.36L4.55 10.45M13.28 18.37L15.75 10.78L15.85 10.45H19.46L13.87 17.61M17.97 3.94L19.78 9.5H16.16M14.86 10.45L13.07 15.96L12 19.24L9.14 10.45M6.03 3.94L7.84 9.5H4.23M3.05 13.69C2.96 13.62 2.92 13.5 2.96 13.4L3.75 10.97L9.57 18.42M20.95 13.69L14.44 18.42L14.46 18.39L20.25 10.97L21.04 13.4C21.08 13.5 21.04 13.62 20.95 13.69"}))},i=o.memo?o.memo(l):l;e.exports=i},1778:function(e,t,n){"use strict";var r,o=(r=n(7294))&&"object"===typeof r&&"default"in r?r.default:r,a=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["color","size","children"])),u="mdi-icon "+(i.className||"");return o.createElement("svg",a({},i,{className:u,width:l,height:l,fill:n,viewBox:"0 0 24 24"}),o.createElement("path",{d:"M7.8,2H16.2C19.4,2 22,4.6 22,7.8V16.2A5.8,5.8 0 0,1 16.2,22H7.8C4.6,22 2,19.4 2,16.2V7.8A5.8,5.8 0 0,1 7.8,2M7.6,4A3.6,3.6 0 0,0 4,7.6V16.4C4,18.39 5.61,20 7.6,20H16.4A3.6,3.6 0 0,0 20,16.4V7.6C20,5.61 18.39,4 16.4,4H7.6M17.25,5.5A1.25,1.25 0 0,1 18.5,6.75A1.25,1.25 0 0,1 17.25,8A1.25,1.25 0 0,1 16,6.75A1.25,1.25 0 0,1 17.25,5.5M12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9Z"}))},i=o.memo?o.memo(l):l;e.exports=i},5947:function(e,t,n){"use strict";var r,o=(r=n(7294))&&"object"===typeof r&&"default"in r?r.default:r,a=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["color","size","children"])),u="mdi-icon "+(i.className||"");return o.createElement("svg",a({},i,{className:u,width:l,height:l,fill:n,viewBox:"0 0 24 24"}),o.createElement("path",{d:"M19 3A2 2 0 0 1 21 5V19A2 2 0 0 1 19 21H5A2 2 0 0 1 3 19V5A2 2 0 0 1 5 3H19M18.5 18.5V13.2A3.26 3.26 0 0 0 15.24 9.94C14.39 9.94 13.4 10.46 12.92 11.24V10.13H10.13V18.5H12.92V13.57C12.92 12.8 13.54 12.17 14.31 12.17A1.4 1.4 0 0 1 15.71 13.57V18.5H18.5M6.88 8.56A1.68 1.68 0 0 0 8.56 6.88C8.56 5.95 7.81 5.19 6.88 5.19A1.69 1.69 0 0 0 5.19 6.88C5.19 7.81 5.95 8.56 6.88 8.56M8.27 18.5V10.13H5.5V18.5H8.27Z"}))},i=o.memo?o.memo(l):l;e.exports=i},7132:function(e,t,n){"use strict";var r,o=(r=n(7294))&&"object"===typeof r&&"default"in r?r.default:r,a=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["color","size","children"])),u="mdi-icon "+(i.className||"");return o.createElement("svg",a({},i,{className:u,width:l,height:l,fill:n,viewBox:"0 0 24 24"}),o.createElement("path",{d:"M6.62,10.79C8.06,13.62 10.38,15.94 13.21,17.38L15.41,15.18C15.69,14.9 16.08,14.82 16.43,14.93C17.55,15.3 18.75,15.5 20,15.5A1,1 0 0,1 21,16.5V20A1,1 0 0,1 20,21A17,17 0 0,1 3,4A1,1 0 0,1 4,3H7.5A1,1 0 0,1 8.5,4C8.5,5.25 8.7,6.45 9.07,7.57C9.18,7.92 9.1,8.31 8.82,8.59L6.62,10.79Z"}))},i=o.memo?o.memo(l):l;e.exports=i},1978:function(e,t,n){"use strict";var r,o=(r=n(7294))&&"object"===typeof r&&"default"in r?r.default:r,a=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["color","size","children"])),u="mdi-icon "+(i.className||"");return o.createElement("svg",a({},i,{className:u,width:l,height:l,fill:n,viewBox:"0 0 24 24"}),o.createElement("path",{d:"M18,6C20.07,8.04 20.85,10.89 20.36,13.55C20.77,14.27 21,15.11 21,16A5,5 0 0,1 16,21C15.11,21 14.27,20.77 13.55,20.36C10.89,20.85 8.04,20.07 6,18C3.93,15.96 3.15,13.11 3.64,10.45C3.23,9.73 3,8.89 3,8A5,5 0 0,1 8,3C8.89,3 9.73,3.23 10.45,3.64C13.11,3.15 15.96,3.93 18,6M12.04,17.16C14.91,17.16 16.34,15.78 16.34,13.92C16.34,12.73 15.78,11.46 13.61,10.97L11.62,10.53C10.86,10.36 10,10.13 10,9.42C10,8.7 10.6,8.2 11.7,8.2C13.93,8.2 13.72,9.73 14.83,9.73C15.41,9.73 15.91,9.39 15.91,8.8C15.91,7.43 13.72,6.4 11.86,6.4C9.85,6.4 7.7,7.26 7.7,9.54C7.7,10.64 8.09,11.81 10.25,12.35L12.94,13.03C13.75,13.23 13.95,13.68 13.95,14.1C13.95,14.78 13.27,15.45 12.04,15.45C9.63,15.45 9.96,13.6 8.67,13.6C8.09,13.6 7.67,14 7.67,14.57C7.67,15.68 9,17.16 12.04,17.16Z"}))},i=o.memo?o.memo(l):l;e.exports=i},8653:function(e,t,n){"use strict";var r,o=(r=n(7294))&&"object"===typeof r&&"default"in r?r.default:r,a=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["color","size","children"])),u="mdi-icon "+(i.className||"");return o.createElement("svg",a({},i,{className:u,width:l,height:l,fill:n,viewBox:"0 0 24 24"}),o.createElement("path",{d:"M19,19H5V5H19M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M10,8V16L15,12L10,8Z"}))},i=o.memo?o.memo(l):l;e.exports=i},5254:function(e,t,n){"use strict";var r,o=(r=n(7294))&&"object"===typeof r&&"default"in r?r.default:r,a=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["color","size","children"])),u="mdi-icon "+(i.className||"");return o.createElement("svg",a({},i,{className:u,width:l,height:l,fill:n,viewBox:"0 0 24 24"}),o.createElement("path",{d:"M17.9,10.9C14.7,9 9.35,8.8 6.3,9.75C5.8,9.9 5.3,9.6 5.15,9.15C5,8.65 5.3,8.15 5.75,8C9.3,6.95 15.15,7.15 18.85,9.35C19.3,9.6 19.45,10.2 19.2,10.65C18.95,11 18.35,11.15 17.9,10.9M17.8,13.7C17.55,14.05 17.1,14.2 16.75,13.95C14.05,12.3 9.95,11.8 6.8,12.8C6.4,12.9 5.95,12.7 5.85,12.3C5.75,11.9 5.95,11.45 6.35,11.35C10,10.25 14.5,10.8 17.6,12.7C17.9,12.85 18.05,13.35 17.8,13.7M16.6,16.45C16.4,16.75 16.05,16.85 15.75,16.65C13.4,15.2 10.45,14.9 6.95,15.7C6.6,15.8 6.3,15.55 6.2,15.25C6.1,14.9 6.35,14.6 6.65,14.5C10.45,13.65 13.75,14 16.35,15.6C16.7,15.75 16.75,16.15 16.6,16.45M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"}))},i=o.memo?o.memo(l):l;e.exports=i},4756:function(e,t,n){"use strict";var r,o=(r=n(7294))&&"object"===typeof r&&"default"in r?r.default:r,a=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["color","size","children"])),u="mdi-icon "+(i.className||"");return o.createElement("svg",a({},i,{className:u,width:l,height:l,fill:n,viewBox:"0 0 24 24"}),o.createElement("path",{d:"M17.36,20.2V14.82H19.15V22H3V14.82H4.8V20.2H17.36M6.77,14.32L7.14,12.56L15.93,14.41L15.56,16.17L6.77,14.32M7.93,10.11L8.69,8.5L16.83,12.28L16.07,13.9L7.93,10.11M10.19,6.12L11.34,4.74L18.24,10.5L17.09,11.87L10.19,6.12M14.64,1.87L20,9.08L18.56,10.15L13.2,2.94L14.64,1.87M6.59,18.41V16.61H15.57V18.41H6.59Z"}))},i=o.memo?o.memo(l):l;e.exports=i},5534:function(e,t,n){"use strict";var r,o=(r=n(7294))&&"object"===typeof r&&"default"in r?r.default:r,a=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["color","size","children"])),u="mdi-icon "+(i.className||"");return o.createElement("svg",a({},i,{className:u,width:l,height:l,fill:n,viewBox:"0 0 24 24"}),o.createElement("path",{d:"M11.64 5.93H13.07V10.21H11.64M15.57 5.93H17V10.21H15.57M7 2L3.43 5.57V18.43H7.71V22L11.29 18.43H14.14L20.57 12V2M19.14 11.29L16.29 14.14H13.43L10.93 16.64V14.14H7.71V3.43H19.14Z"}))},i=o.memo?o.memo(l):l;e.exports=i},978:function(e,t,n){"use strict";var r,o=(r=n(7294))&&"object"===typeof r&&"default"in r?r.default:r,a=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["color","size","children"])),u="mdi-icon "+(i.className||"");return o.createElement("svg",a({},i,{className:u,width:l,height:l,fill:n,viewBox:"0 0 24 24"}),o.createElement("path",{d:"M22.46,6C21.69,6.35 20.86,6.58 20,6.69C20.88,6.16 21.56,5.32 21.88,4.31C21.05,4.81 20.13,5.16 19.16,5.36C18.37,4.5 17.26,4 16,4C13.65,4 11.73,5.92 11.73,8.29C11.73,8.63 11.77,8.96 11.84,9.27C8.28,9.09 5.11,7.38 3,4.79C2.63,5.42 2.42,6.16 2.42,6.94C2.42,8.43 3.17,9.75 4.33,10.5C3.62,10.5 2.96,10.3 2.38,10C2.38,10 2.38,10 2.38,10.03C2.38,12.11 3.86,13.85 5.82,14.24C5.46,14.34 5.08,14.39 4.69,14.39C4.42,14.39 4.15,14.36 3.89,14.31C4.43,16 6,17.26 7.89,17.29C6.43,18.45 4.58,19.13 2.56,19.13C2.22,19.13 1.88,19.11 1.54,19.07C3.44,20.29 5.7,21 8.12,21C16,21 20.33,14.46 20.33,8.79C20.33,8.6 20.33,8.42 20.32,8.23C21.16,7.63 21.88,6.87 22.46,6Z"}))},i=o.memo?o.memo(l):l;e.exports=i},8418:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n0;t&&n&&t(n)}))}),e);return u.set(n,t={id:n,observer:a,elements:o}),t}(n),o=r.id,a=r.observer,l=r.elements;return l.set(e,t),a.observe(e),function(){if(l.delete(e),a.unobserve(e),0===l.size){a.disconnect(),u.delete(o);var t=s.findIndex((function(e){return e.root===o.root&&e.margin===o.margin}));t>-1&&s.splice(t,1)}}}(e,(function(e){return e&&f(e)}),{root:m,rootMargin:n}))}),[r,m,n,p]);return a.useEffect((function(){if(!i&&!p){var e=l.requestIdleCallback((function(){return f(!0)}));return function(){return l.cancelIdleCallback(e)}}}),[p]),a.useEffect((function(){t&&b(t.current)}),[t]),[y,p]};var a=n(7294),l=n(9311),i="undefined"!==typeof IntersectionObserver;var u=new Map,s=[]},1664:function(e,t,n){e.exports=n(8418)},6727:function(e,t,n){"use strict";n.d(t,{pJ:function(){return Oe}});var r=n(7294),o=n(3935);function a(){let e=[],t=[],n={enqueue(e){t.push(e)},requestAnimationFrame(...e){let t=requestAnimationFrame(...e);n.add((()=>cancelAnimationFrame(t)))},nextFrame(...e){n.requestAnimationFrame((()=>{n.requestAnimationFrame(...e)}))},setTimeout(...e){let t=setTimeout(...e);n.add((()=>clearTimeout(t)))},add(t){e.push(t)},dispose(){for(let t of e.splice(0))t()},async workQueue(){for(let e of t.splice(0))await e()}};return n}function l(){let[e]=(0,r.useState)(a);return(0,r.useEffect)((()=>()=>e.dispose()),[e]),e}var i="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,u={serverHandoffComplete:!1};function s(){let[e,t]=(0,r.useState)(u.serverHandoffComplete);return(0,r.useEffect)((()=>{!0!==e&&t(!0)}),[e]),(0,r.useEffect)((()=>{!1===u.serverHandoffComplete&&(u.serverHandoffComplete=!0)}),[]),e}var c=0;function d(){return++c}function p(){let e=s(),[t,n]=(0,r.useState)(e?d:null);return i((()=>{null===t&&n(d())}),[t]),null!=t?""+t:void 0}function f(e){let t=(0,r.useRef)(e);return(0,r.useEffect)((()=>{t.current=e}),[e]),t}function v(e,t){let[n,o]=(0,r.useState)(e),a=f(e);return i((()=>o(a.current)),[a,o,...t]),n}function m(...e){let t=(0,r.useRef)(e);return(0,r.useEffect)((()=>{t.current=e}),[e]),(0,r.useCallback)((e=>{for(let n of t.current)null!=n&&("function"==typeof n?n(e):n.current=e)}),[t])}function b(e,t,...n){if(e in t){let r=t[e];return"function"==typeof r?r(...n):r}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((e=>`"${e}"`)).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,b),r}function y({props:e,slot:t,defaultTag:n,features:r,visible:o=!0,name:a}){if(o)return h(e,t,n,a);let l=null!=r?r:0;if(2&l){let{static:r=!1,...o}=e;if(r)return h(o,t,n,a)}if(1&l){let{unmount:r=!0,...o}=e;return b(r?0:1,{0:()=>null,1:()=>h({...o,hidden:!0,style:{display:"none"}},t,n,a)})}return h(e,t,n,a)}function h(e,t={},n,o){let{as:a=n,children:l,refName:i="ref",...u}=g(e,["unmount","static"]),s=void 0!==e.ref?{[i]:e.ref}:{},c="function"==typeof l?l(t):l;if(u.className&&"function"==typeof u.className&&(u.className=u.className(t)),a===r.Fragment&&Object.keys(u).length>0){if(!(0,r.isValidElement)(c)||Array.isArray(c)&&c.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${o} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(u).map((e=>` - ${e}`)).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map((e=>` - ${e}`)).join("\n")].join("\n"));return(0,r.cloneElement)(c,Object.assign({},function(e,t,n){let r=Object.assign({},e);for(let o of n)void 0!==e[o]&&void 0!==t[o]&&Object.assign(r,{[o](n){n.defaultPrevented||e[o](n),n.defaultPrevented||t[o](n)}});return r}(function(e){let t=Object.assign({},e);for(let n in t)void 0===t[n]&&delete t[n];return t}(g(u,["ref"])),c.props,["onClick"]),s))}return(0,r.createElement)(a,Object.assign({},g(u,["ref"]),a!==r.Fragment&&s),c)}function C(e){var t;return Object.assign((0,r.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function g(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}function x(e,t){let n=t.resolveItems();if(n.length<=0)return null;let r=t.resolveActiveIndex(),o=null!=r?r:-1,a=(()=>{switch(e.focus){case 0:return n.findIndex((e=>!t.resolveDisabled(e)));case 1:{let e=n.slice().reverse().findIndex(((e,n,r)=>!(-1!==o&&r.length-n-1>=o)&&!t.resolveDisabled(e)));return-1===e?e:n.length-1-e}case 2:return n.findIndex(((e,n)=>!(n<=o)&&!t.resolveDisabled(e)));case 3:{let e=n.slice().reverse().findIndex((e=>!t.resolveDisabled(e)));return-1===e?e:n.length-1-e}case 4:return n.findIndex((n=>t.resolveId(n)===e.id));case 5:return null;default:!function(e){throw new Error("Unexpected object: "+e)}(e)}})();return-1===a?r:a}function E(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let r=""===(null==t?void 0:t.getAttribute("disabled"));return(!r||!function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(n))&&r}function w(e,t,n){let o=(0,r.useRef)(t);o.current=t,(0,r.useEffect)((()=>{function t(e){o.current.call(window,e)}return window.addEventListener(e,t,n),()=>window.removeEventListener(e,t,n)}),[e,n])}var I=(0,r.createContext)(null);function R(){return(0,r.useContext)(I)}function O({value:e,children:t}){return r.createElement(I.Provider,{value:e},t)}function k(e){var t;if(e.type)return e.type;let n=null!=(t=e.as)?t:"button";return"string"==typeof n&&"button"===n.toLowerCase()?"button":void 0}function S(e,t){let[n,o]=(0,r.useState)((()=>k(e)));return i((()=>{o(k(e))}),[e.type,e.as]),i((()=>{n||!t.current||t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&o("button")}),[n,t]),n}function P({container:e,accept:t,walk:n,enabled:o=!0}){let a=(0,r.useRef)(t),l=(0,r.useRef)(n);(0,r.useEffect)((()=>{a.current=t,l.current=n}),[t,n]),i((()=>{if(!e||!o)return;let t=a.current,n=l.current,r=Object.assign((e=>t(e)),{acceptNode:t}),i=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,r,!1);for(;i.nextNode();)n(i.currentNode)}),[e,o,a,l])}I.displayName="OpenClosedContext";var L={1:e=>e.disabled||1===e.comboboxState?e:{...e,activeOptionIndex:null,comboboxState:1},0:e=>e.disabled||0===e.comboboxState?e:{...e,comboboxState:0},2:(e,t)=>e.disabled===t.disabled?e:{...e,disabled:t.disabled},3(e,t){if(e.disabled||e.optionsRef.current&&!e.optionsPropsRef.current.static&&1===e.comboboxState)return e;let n=x(t,{resolveItems:()=>e.options,resolveActiveIndex:()=>e.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return e.activeOptionIndex===n?e:{...e,activeOptionIndex:n}},4:(e,t)=>{var n;let r=null!==e.activeOptionIndex?e.options[e.activeOptionIndex]:null,o=Array.from(null==(n=e.optionsRef.current)?void 0:n.querySelectorAll('[id^="headlessui-combobox-option-"]')).reduce(((e,t,n)=>Object.assign(e,{[t.id]:n})),{}),a=[...e.options,{id:t.id,dataRef:t.dataRef}].sort(((e,t)=>o[e.id]-o[t.id]));return{...e,options:a,activeOptionIndex:null===r?null:a.indexOf(r)}},5:(e,t)=>{let n=e.options.slice(),r=null!==e.activeOptionIndex?n[e.activeOptionIndex]:null,o=n.findIndex((e=>e.id===t.id));return-1!==o&&n.splice(o,1),{...e,options:n,activeOptionIndex:o===e.activeOptionIndex||null===r?null:n.indexOf(r)}}},T=(0,r.createContext)(null);function M(e){let t=(0,r.useContext)(T);if(null===t){let t=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,M),t}return t}T.displayName="ComboboxContext";var D=(0,r.createContext)(null);function A(){let e=(0,r.useContext)(D);if(null===e){let e=new Error("ComboboxActions is missing a parent component.");throw Error.captureStackTrace&&Error.captureStackTrace(e,A),e}return e}function j(e,t){return b(t.type,L,e,t)}D.displayName="ComboboxActions";var F=r.Fragment,N=C((function(e,t){let{value:n,onChange:o,disabled:a=!1,...l}=e,u=(0,r.useRef)({value:n,onChange:o}),s=(0,r.useRef)({static:!1,hold:!1}),c=(0,r.useRef)({displayValue:void 0}),d=(0,r.useReducer)(j,{comboboxState:1,comboboxPropsRef:u,optionsPropsRef:s,inputPropsRef:c,labelRef:(0,r.createRef)(),inputRef:(0,r.createRef)(),buttonRef:(0,r.createRef)(),optionsRef:(0,r.createRef)(),disabled:a,options:[],activeOptionIndex:null}),[{comboboxState:p,options:f,activeOptionIndex:v,optionsRef:m,inputRef:h,buttonRef:C},g]=d;i((()=>{u.current.value=n}),[n,u]),i((()=>{u.current.onChange=o}),[o,u]),i((()=>g({type:2,disabled:a})),[a]),w("mousedown",(e=>{var t,n,r;let o=e.target;0===p&&((null==(t=C.current)?void 0:t.contains(o))||(null==(n=h.current)?void 0:n.contains(o))||(null==(r=m.current)?void 0:r.contains(o))||g({type:1}))}));let x=null===v?null:f[v].dataRef.current.value,E=(0,r.useMemo)((()=>({open:0===p,disabled:a,activeIndex:v,activeOption:x})),[p,a,f,v]),I=(0,r.useCallback)((()=>{if(!h.current||void 0===n)return;let e=c.current.displayValue;"function"==typeof e?h.current.value=e(n):"string"==typeof n&&(h.current.value=n)}),[n,h,c]),R=(0,r.useCallback)((e=>{let t=f.find((t=>t.id===e));if(!t)return;let{dataRef:n}=t;u.current.onChange(n.current.value),I()}),[f,u,h]),k=(0,r.useCallback)((()=>{if(null!==v){let{dataRef:e}=f[v];u.current.onChange(e.current.value),I()}}),[v,f,u,h]),S=(0,r.useMemo)((()=>({selectOption:R,selectActiveOption:k})),[R,k]);return i((()=>{1===p&&I()}),[I,p]),i(I,[I]),r.createElement(D.Provider,{value:S},r.createElement(T.Provider,{value:d},r.createElement(O,{value:b(p,{0:0,1:1})},y({props:null===t?l:{...l,ref:t},slot:E,defaultTag:F,name:"Combobox"}))))})),H=C((function(e,t){var n,o;let{value:a,onChange:u,displayValue:s,...c}=e,[d,h]=M("Combobox.Input"),C=A(),g=m(d.inputRef,t),x=d.inputPropsRef,E=`headlessui-combobox-input-${p()}`,w=l(),I=f(u);i((()=>{x.current.displayValue=s}),[s,x]);let R=(0,r.useCallback)((e=>{switch(e.key){case"Enter":e.preventDefault(),e.stopPropagation(),C.selectActiveOption(),h({type:1});break;case"ArrowDown":return e.preventDefault(),e.stopPropagation(),b(d.comboboxState,{0:()=>h({type:3,focus:2}),1:()=>{h({type:0}),w.nextFrame((()=>{d.comboboxPropsRef.current.value||h({type:3,focus:0})}))}});case"ArrowUp":return e.preventDefault(),e.stopPropagation(),b(d.comboboxState,{0:()=>h({type:3,focus:1}),1:()=>{h({type:0}),w.nextFrame((()=>{d.comboboxPropsRef.current.value||h({type:3,focus:3})}))}});case"Home":case"PageUp":return e.preventDefault(),e.stopPropagation(),h({type:3,focus:0});case"End":case"PageDown":return e.preventDefault(),e.stopPropagation(),h({type:3,focus:3});case"Escape":return e.preventDefault(),d.optionsRef.current&&!d.optionsPropsRef.current.static&&e.stopPropagation(),h({type:1});case"Tab":C.selectActiveOption(),h({type:1})}}),[w,h,d,C]),O=(0,r.useCallback)((e=>{var t;h({type:0}),null==(t=I.current)||t.call(I,e)}),[h,I]),k=v((()=>{if(d.labelRef.current)return[d.labelRef.current.id].join(" ")}),[d.labelRef.current]),S=(0,r.useMemo)((()=>({open:0===d.comboboxState,disabled:d.disabled})),[d]);return y({props:{...c,...{ref:g,id:E,role:"combobox",type:"text","aria-controls":null==(n=d.optionsRef.current)?void 0:n.id,"aria-expanded":d.disabled?void 0:0===d.comboboxState,"aria-activedescendant":null===d.activeOptionIndex||null==(o=d.options[d.activeOptionIndex])?void 0:o.id,"aria-labelledby":k,disabled:d.disabled,onKeyDown:R,onChange:O}},slot:S,defaultTag:"input",name:"Combobox.Input"})})),V=C((function(e,t){var n;let[o,a]=M("Combobox.Button"),i=A(),u=m(o.buttonRef,t),s=`headlessui-combobox-button-${p()}`,c=l(),d=(0,r.useCallback)((e=>{switch(e.key){case"ArrowDown":return e.preventDefault(),e.stopPropagation(),1===o.comboboxState&&(a({type:0}),c.nextFrame((()=>{o.comboboxPropsRef.current.value||a({type:3,focus:0})}))),c.nextFrame((()=>{var e;return null==(e=o.inputRef.current)?void 0:e.focus({preventScroll:!0})}));case"ArrowUp":return e.preventDefault(),e.stopPropagation(),1===o.comboboxState&&(a({type:0}),c.nextFrame((()=>{o.comboboxPropsRef.current.value||a({type:3,focus:3})}))),c.nextFrame((()=>{var e;return null==(e=o.inputRef.current)?void 0:e.focus({preventScroll:!0})}));case"Escape":return e.preventDefault(),o.optionsRef.current&&!o.optionsPropsRef.current.static&&e.stopPropagation(),a({type:1}),c.nextFrame((()=>{var e;return null==(e=o.inputRef.current)?void 0:e.focus({preventScroll:!0})}))}}),[c,a,o,i]),f=(0,r.useCallback)((e=>{if(E(e.currentTarget))return e.preventDefault();0===o.comboboxState?a({type:1}):(e.preventDefault(),a({type:0})),c.nextFrame((()=>{var e;return null==(e=o.inputRef.current)?void 0:e.focus({preventScroll:!0})}))}),[a,c,o]),b=v((()=>{if(o.labelRef.current)return[o.labelRef.current.id,s].join(" ")}),[o.labelRef.current,s]),h=(0,r.useMemo)((()=>({open:0===o.comboboxState,disabled:o.disabled})),[o]);return y({props:{...e,...{ref:u,id:s,type:S(e,o.buttonRef),tabIndex:-1,"aria-haspopup":!0,"aria-controls":null==(n=o.optionsRef.current)?void 0:n.id,"aria-expanded":o.disabled?void 0:0===o.comboboxState,"aria-labelledby":b,disabled:o.disabled,onClick:f,onKeyDown:d}},slot:h,defaultTag:"button",name:"Combobox.Button"})}));var $=C((function(e,t){var n;let{hold:o=!1,...a}=e,[l]=M("Combobox.Options"),{optionsPropsRef:u}=l,s=m(l.optionsRef,t),c=`headlessui-combobox-options-${p()}`,d=R(),f=null!==d?0===d:0===l.comboboxState;i((()=>{var t;u.current.static=null!=(t=e.static)&&t}),[u,e.static]),i((()=>{u.current.hold=o}),[o,u]),P({container:l.optionsRef.current,enabled:0===l.comboboxState,accept:e=>"option"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(e){e.setAttribute("role","none")}});let b=v((()=>{var e,t,n;return null!=(n=null==(e=l.labelRef.current)?void 0:e.id)?n:null==(t=l.buttonRef.current)?void 0:t.id}),[l.labelRef.current,l.buttonRef.current]),h=(0,r.useMemo)((()=>({open:0===l.comboboxState})),[l]);return y({props:{...a,...{"aria-activedescendant":null===l.activeOptionIndex||null==(n=l.options[l.activeOptionIndex])?void 0:n.id,"aria-labelledby":b,role:"listbox",id:c,ref:s}},slot:h,defaultTag:"ul",features:3,visible:f,name:"Combobox.Options"})}));Object.assign(N,{Input:H,Button:V,Label:function(e){let[t]=M("Combobox.Label"),n=`headlessui-combobox-label-${p()}`,o=(0,r.useCallback)((()=>{var e;return null==(e=t.inputRef.current)?void 0:e.focus({preventScroll:!0})}),[t.inputRef]),a=(0,r.useMemo)((()=>({open:0===t.comboboxState,disabled:t.disabled})),[t]);return y({props:{...e,...{ref:t.labelRef,id:n,onClick:o}},slot:a,defaultTag:"label",name:"Combobox.Label"})},Options:$,Option:function(e){let{disabled:t=!1,value:n,...o}=e,[l,u]=M("Combobox.Option"),s=A(),c=`headlessui-combobox-option-${p()}`,d=null!==l.activeOptionIndex&&l.options[l.activeOptionIndex].id===c,f=l.comboboxPropsRef.current.value===n,v=(0,r.useRef)({disabled:t,value:n});i((()=>{v.current.disabled=t}),[v,t]),i((()=>{v.current.value=n}),[v,n]),i((()=>{var e,t;v.current.textValue=null==(t=null==(e=document.getElementById(c))?void 0:e.textContent)?void 0:t.toLowerCase()}),[v,c]);let m=(0,r.useCallback)((()=>s.selectOption(c)),[s,c]);i((()=>(u({type:4,id:c,dataRef:v}),()=>u({type:5,id:c}))),[v,c]),i((()=>{0===l.comboboxState&&(!f||u({type:3,focus:4,id:c}))}),[l.comboboxState,f,c]),i((()=>{if(0!==l.comboboxState||!d)return;let e=a();return e.requestAnimationFrame((()=>{var e,t;null==(t=null==(e=document.getElementById(c))?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})})),e.dispose}),[c,d,l.comboboxState,l.activeOptionIndex]);let b=(0,r.useCallback)((e=>{if(t)return e.preventDefault();m(),u({type:1}),a().nextFrame((()=>{var e;return null==(e=l.inputRef.current)?void 0:e.focus({preventScroll:!0})}))}),[u,l.inputRef,t,m]),h=(0,r.useCallback)((()=>{if(t)return u({type:3,focus:5});u({type:3,focus:4,id:c})}),[t,c,u]),C=(0,r.useCallback)((()=>{t||d||u({type:3,focus:4,id:c})}),[t,d,c,u]),g=(0,r.useCallback)((()=>{t||!d||l.optionsPropsRef.current.hold||u({type:3,focus:5})}),[t,d,u,l.comboboxState,l.comboboxPropsRef]),x=(0,r.useMemo)((()=>({active:d,selected:f,disabled:t})),[d,f,t]);return y({props:{...o,id:c,role:"option",tabIndex:!0===t?void 0:-1,"aria-disabled":!0===t||void 0,"aria-selected":!0===f||void 0,disabled:void 0,onClick:b,onFocus:h,onPointerMove:C,onMouseMove:C,onPointerLeave:g,onMouseLeave:g},slot:x,defaultTag:"li",name:"Combobox.Option"})}});var B=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map((e=>`${e}:not([tabindex='-1'])`)).join(",");function z(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(B))}function K(e,t=0){return e!==document.body&&b(t,{0:()=>e.matches(B),1(){let t=e;for(;null!==t;){if(t.matches(B))return!0;t=t.parentElement}return!1}})}function U(e){null==e||e.focus({preventScroll:!0})}function G(e,t){let n,r=Array.isArray(e)?e.slice().sort(((e,t)=>{let n=e.compareDocumentPosition(t);return n&Node.DOCUMENT_POSITION_FOLLOWING?-1:n&Node.DOCUMENT_POSITION_PRECEDING?1:0})):z(e),o=document.activeElement,a=(()=>{if(5&t)return 1;if(10&t)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),l=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,r.indexOf(o))-1;if(4&t)return Math.max(0,r.indexOf(o))+1;if(8&t)return r.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),i=32&t?{preventScroll:!0}:{},u=0,s=r.length;do{if(u>=s||u+s<=0)return 0;let e=l+u;if(16&t)e=(e+s)%s;else{if(e<0)return 3;if(e>=s)return 1}n=r[e],null==n||n.focus(i),u+=a}while(n!==document.activeElement);return n.hasAttribute("tabindex")||n.setAttribute("tabindex","0"),2}function _(){let e=(0,r.useRef)(!1);return(0,r.useEffect)((()=>(e.current=!0,()=>{e.current=!1})),[]),e}function Q(e,t=30,{initialFocus:n,containers:o}={}){let a=(0,r.useRef)("undefined"!=typeof window?document.activeElement:null),l=(0,r.useRef)(null),i=_(),u=Boolean(16&t),s=Boolean(2&t);(0,r.useEffect)((()=>{!u||(a.current=document.activeElement)}),[u]),(0,r.useEffect)((()=>{if(u)return()=>{U(a.current),a.current=null}}),[u]),(0,r.useEffect)((()=>{if(!s||!e.current)return;let t=document.activeElement;if(null==n?void 0:n.current){if((null==n?void 0:n.current)===t)return void(l.current=t)}else if(e.current.contains(t))return void(l.current=t);(null==n?void 0:n.current)?U(n.current):0===G(e.current,1)&&console.warn("There are no focusable elements inside the "),l.current=document.activeElement}),[e,n,s]),w("keydown",(n=>{!(4&t)||!e.current||"Tab"===n.key&&(n.preventDefault(),2===G(e.current,16|(n.shiftKey?2:4))&&(l.current=document.activeElement))})),w("focus",(n=>{if(!(8&t))return;let r=new Set(null==o?void 0:o.current);if(r.add(e),!r.size)return;let a=l.current;if(!a||!i.current)return;let u=n.target;u&&u instanceof HTMLElement?function(e,t){var n;for(let r of e)if(null==(n=r.current)?void 0:n.contains(t))return!0;return!1}(r,u)?(l.current=u,U(u)):(n.preventDefault(),n.stopPropagation(),U(a)):U(l.current)}),!0)}var Z=new Set,q=new Map;function W(e){e.setAttribute("aria-hidden","true"),e.inert=!0}function Y(e){let t=q.get(e);!t||(null===t["aria-hidden"]?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",t["aria-hidden"]),e.inert=t.inert)}var J=(0,r.createContext)(!1);function X(e){return r.createElement(J.Provider,{value:e.force},e.children)}function ee(){let e=(0,r.useContext)(J),t=(0,r.useContext)(oe),[n,o]=(0,r.useState)((()=>{if(!e&&null!==t||"undefined"==typeof window)return null;let n=document.getElementById("headlessui-portal-root");if(n)return n;let r=document.createElement("div");return r.setAttribute("id","headlessui-portal-root"),document.body.appendChild(r)}));return(0,r.useEffect)((()=>{null!==n&&(document.body.contains(n)||document.body.appendChild(n))}),[n]),(0,r.useEffect)((()=>{e||null!==t&&o(t.current)}),[t,o,e]),n}var te=r.Fragment;function ne(e){let t=e,n=ee(),[a]=(0,r.useState)((()=>"undefined"==typeof window?null:document.createElement("div"))),l=s();return i((()=>{if(n&&a)return n.appendChild(a),()=>{var e;!n||!a||(n.removeChild(a),n.childNodes.length<=0&&(null==(e=n.parentElement)||e.removeChild(n)))}}),[n,a]),l&&n&&a?(0,o.createPortal)(y({props:t,defaultTag:te,name:"Portal"}),a):null}var re=r.Fragment,oe=(0,r.createContext)(null);ne.Group=function(e){let{target:t,...n}=e;return r.createElement(oe.Provider,{value:t},y({props:n,defaultTag:re,name:"Popover.Group"}))};var ae=(0,r.createContext)(null);function le(){let e=(0,r.useContext)(ae);if(null===e){let e=new Error("You used a component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,le),e}return e}function ie(){let[e,t]=(0,r.useState)([]);return[e.length>0?e.join(" "):void 0,(0,r.useMemo)((()=>function(e){let n=(0,r.useCallback)((e=>(t((t=>[...t,e])),()=>t((t=>{let n=t.slice(),r=n.indexOf(e);return-1!==r&&n.splice(r,1),n})))),[]),o=(0,r.useMemo)((()=>({register:n,slot:e.slot,name:e.name,props:e.props})),[n,e.slot,e.name,e.props]);return r.createElement(ae.Provider,{value:o},e.children)}),[t])]}function ue(e){let t=le(),n=`headlessui-description-${p()}`;return i((()=>t.register(n)),[n,t.register]),y({props:{...e,...{...t.props,id:n}},slot:t.slot||{},defaultTag:"p",name:t.name||"Description"})}var se=(0,r.createContext)((()=>{}));function ce({children:e,onUpdate:t,type:n,element:o}){let a=(0,r.useContext)(se),l=(0,r.useCallback)(((...e)=>{null==t||t(...e),a(...e)}),[a,t]);return i((()=>(l(0,n,o),()=>l(1,n,o))),[l,n,o]),r.createElement(se.Provider,{value:l},e)}se.displayName="StackContext";var de={0:(e,t)=>e.titleId===t.id?e:{...e,titleId:t.id}},pe=(0,r.createContext)(null);function fe(e){let t=(0,r.useContext)(pe);if(null===t){let t=new Error(`<${e} /> is missing a parent <${ye.displayName} /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,fe),t}return t}function ve(e,t){return b(t.type,de,e,t)}pe.displayName="DialogContext";var me=C((function(e,t){let{open:n,onClose:o,initialFocus:a,...l}=e,[u,c]=(0,r.useState)(0),d=R();void 0===n&&null!==d&&(n=b(d,{0:!0,1:!1}));let f=(0,r.useRef)(new Set),v=(0,r.useRef)(null),h=m(v,t),C=e.hasOwnProperty("open")||null!==d,g=e.hasOwnProperty("onClose");if(!C&&!g)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!C)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!g)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if("boolean"!=typeof n)throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${n}`);if("function"!=typeof o)throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${o}`);let x=n?0:1,E=null!==d?0===d:0===x,[I,O]=(0,r.useReducer)(ve,{titleId:null,descriptionId:null}),k=(0,r.useCallback)((()=>o(!1)),[o]),S=(0,r.useCallback)((e=>O({type:0,id:e})),[O]),P=s()&&0===x,L=u>1,T=null!==(0,r.useContext)(pe);Q(v,P?b(L?"parent":"leaf",{parent:16,leaf:30}):1,{initialFocus:a,containers:f}),function(e,t=!0){i((()=>{if(!t||!e.current)return;let n=e.current;Z.add(n);for(let e of q.keys())e.contains(n)&&(Y(e),q.delete(e));return document.querySelectorAll("body > *").forEach((e=>{if(e instanceof HTMLElement){for(let t of Z)if(e.contains(t))return;1===Z.size&&(q.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),W(e))}})),()=>{if(Z.delete(n),Z.size>0)document.querySelectorAll("body > *").forEach((e=>{if(e instanceof HTMLElement&&!q.has(e)){for(let t of Z)if(e.contains(t))return;q.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),W(e)}}));else for(let e of q.keys())Y(e),q.delete(e)}}),[t])}(v,!!L&&P),w("mousedown",(e=>{var t;let n=e.target;0===x&&(L||(null==(t=v.current)?void 0:t.contains(n))||k())})),w("keydown",(e=>{"Escape"===e.key&&0===x&&(L||(e.preventDefault(),e.stopPropagation(),k()))})),(0,r.useEffect)((()=>{if(0!==x||T)return;let e=document.documentElement.style.overflow,t=document.documentElement.style.paddingRight,n=window.innerWidth-document.documentElement.clientWidth;return document.documentElement.style.overflow="hidden",document.documentElement.style.paddingRight=`${n}px`,()=>{document.documentElement.style.overflow=e,document.documentElement.style.paddingRight=t}}),[x,T]),(0,r.useEffect)((()=>{if(0!==x||!v.current)return;let e=new IntersectionObserver((e=>{for(let t of e)0===t.boundingClientRect.x&&0===t.boundingClientRect.y&&0===t.boundingClientRect.width&&0===t.boundingClientRect.height&&k()}));return e.observe(v.current),()=>e.disconnect()}),[x,v,k]);let[M,D]=ie(),A=`headlessui-dialog-${p()}`,j=(0,r.useMemo)((()=>[{dialogState:x,close:k,setTitleId:S},I]),[x,I,k,S]),F=(0,r.useMemo)((()=>({open:0===x})),[x]),N={ref:h,id:A,role:"dialog","aria-modal":0===x||void 0,"aria-labelledby":I.titleId,"aria-describedby":M,onClick(e){e.stopPropagation()}},H=l;return r.createElement(ce,{type:"Dialog",element:v,onUpdate:(0,r.useCallback)(((e,t,n)=>{"Dialog"===t&&b(e,{0(){f.current.add(n),c((e=>e+1))},1(){f.current.add(n),c((e=>e-1))}})}),[])},r.createElement(X,{force:!0},r.createElement(ne,null,r.createElement(pe.Provider,{value:j},r.createElement(ne.Group,{target:v},r.createElement(X,{force:!1},r.createElement(D,{slot:F,name:"Dialog.Description"},y({props:{...H,...N},slot:F,defaultTag:"div",features:3,visible:E,name:"Dialog"}))))))))})),be=C((function(e,t){let[{dialogState:n,close:o}]=fe("Dialog.Overlay");return y({props:{...e,ref:m(t),id:`headlessui-dialog-overlay-${p()}`,"aria-hidden":!0,onClick:(0,r.useCallback)((e=>{if(e.target===e.currentTarget){if(E(e.currentTarget))return e.preventDefault();e.preventDefault(),e.stopPropagation(),o()}}),[o])},slot:(0,r.useMemo)((()=>({open:0===n})),[n]),defaultTag:"div",name:"Dialog.Overlay"})}));var ye=Object.assign(me,{Overlay:be,Title:function(e){let[{dialogState:t,setTitleId:n}]=fe("Dialog.Title"),o=`headlessui-dialog-title-${p()}`;(0,r.useEffect)((()=>(n(o),()=>n(null))),[o,n]);let a=(0,r.useMemo)((()=>({open:0===t})),[t]);return y({props:{...e,id:o},slot:a,defaultTag:"h2",name:"Dialog.Title"})},Description:ue}),he={0:e=>({...e,disclosureState:b(e.disclosureState,{0:1,1:0})}),1:e=>1===e.disclosureState?e:{...e,disclosureState:1},4:e=>!0===e.linkedPanel?e:{...e,linkedPanel:!0},5:e=>!1===e.linkedPanel?e:{...e,linkedPanel:!1},2:(e,t)=>e.buttonId===t.buttonId?e:{...e,buttonId:t.buttonId},3:(e,t)=>e.panelId===t.panelId?e:{...e,panelId:t.panelId}},Ce=(0,r.createContext)(null);function ge(e){let t=(0,r.useContext)(Ce);if(null===t){let t=new Error(`<${e} /> is missing a parent <${Oe.name} /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,ge),t}return t}Ce.displayName="DisclosureContext";var xe=(0,r.createContext)(null);function Ee(e){let t=(0,r.useContext)(xe);if(null===t){let t=new Error(`<${e} /> is missing a parent <${Oe.name} /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Ee),t}return t}xe.displayName="DisclosureAPIContext";var we=(0,r.createContext)(null);function Ie(e,t){return b(t.type,he,e,t)}we.displayName="DisclosurePanelContext";var Re=r.Fragment;function Oe(e){let{defaultOpen:t=!1,...n}=e,o=`headlessui-disclosure-button-${p()}`,a=`headlessui-disclosure-panel-${p()}`,l=(0,r.useReducer)(Ie,{disclosureState:t?0:1,linkedPanel:!1,buttonId:o,panelId:a}),[{disclosureState:i},u]=l;(0,r.useEffect)((()=>u({type:2,buttonId:o})),[o,u]),(0,r.useEffect)((()=>u({type:3,panelId:a})),[a,u]);let s=(0,r.useCallback)((e=>{u({type:1});let t=e?e instanceof HTMLElement?e:e.current instanceof HTMLElement?e.current:document.getElementById(o):document.getElementById(o);null==t||t.focus()}),[u,o]),c=(0,r.useMemo)((()=>({close:s})),[s]),d=(0,r.useMemo)((()=>({open:0===i,close:s})),[i,s]);return r.createElement(Ce.Provider,{value:l},r.createElement(xe.Provider,{value:c},r.createElement(O,{value:b(i,{0:0,1:1})},y({props:n,slot:d,defaultTag:Re,name:"Disclosure"}))))}var ke=C((function(e,t){let[n,o]=ge("Disclosure.Button"),a=(0,r.useRef)(null),l=m(a,t),i=(0,r.useContext)(we),u=null!==i&&i===n.panelId,s=(0,r.useCallback)((e=>{var t;if(u){if(1===n.disclosureState)return;switch(e.key){case" ":case"Enter":e.preventDefault(),e.stopPropagation(),o({type:0}),null==(t=document.getElementById(n.buttonId))||t.focus()}}else switch(e.key){case" ":case"Enter":e.preventDefault(),e.stopPropagation(),o({type:0})}}),[o,u,n.disclosureState,n.buttonId]),c=(0,r.useCallback)((e=>{if(" "===e.key)e.preventDefault()}),[]),d=(0,r.useCallback)((t=>{var r;E(t.currentTarget)||e.disabled||(u?(o({type:0}),null==(r=document.getElementById(n.buttonId))||r.focus()):o({type:0}))}),[o,e.disabled,n.buttonId,u]),p=(0,r.useMemo)((()=>({open:0===n.disclosureState})),[n]),f=S(e,a);return y({props:{...e,...u?{ref:l,type:f,onKeyDown:s,onClick:d}:{ref:l,id:n.buttonId,type:f,"aria-expanded":e.disabled?void 0:0===n.disclosureState,"aria-controls":n.linkedPanel?n.panelId:void 0,onKeyDown:s,onKeyUp:c,onClick:d}},slot:p,defaultTag:"button",name:"Disclosure.Button"})})),Se=C((function(e,t){let[n,o]=ge("Disclosure.Panel"),{close:a}=Ee("Disclosure.Panel"),l=m(t,(()=>{n.linkedPanel||o({type:4})})),i=R(),u=null!==i?0===i:0===n.disclosureState;(0,r.useEffect)((()=>()=>o({type:5})),[o]),(0,r.useEffect)((()=>{var t;1===n.disclosureState&&(null==(t=e.unmount)||t)&&o({type:5})}),[n.disclosureState,e.unmount,o]);let s=(0,r.useMemo)((()=>({open:0===n.disclosureState,close:a})),[n,a]),c={ref:l,id:n.panelId},d=e;return r.createElement(we.Provider,{value:n.panelId},y({props:{...d,...c},slot:s,defaultTag:"div",features:3,visible:u,name:"Disclosure.Panel"}))}));Oe.Button=ke,Oe.Panel=Se;var Pe={1:e=>e.disabled||1===e.listboxState?e:{...e,activeOptionIndex:null,listboxState:1},0:e=>e.disabled||0===e.listboxState?e:{...e,listboxState:0},2:(e,t)=>e.disabled===t.disabled?e:{...e,disabled:t.disabled},3:(e,t)=>e.orientation===t.orientation?e:{...e,orientation:t.orientation},4(e,t){if(e.disabled||1===e.listboxState)return e;let n=x(t,{resolveItems:()=>e.options,resolveActiveIndex:()=>e.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return""===e.searchQuery&&e.activeOptionIndex===n?e:{...e,searchQuery:"",activeOptionIndex:n}},5:(e,t)=>{if(e.disabled||1===e.listboxState)return e;let n=""!==e.searchQuery?0:1,r=e.searchQuery+t.value.toLowerCase(),o=(null!==e.activeOptionIndex?e.options.slice(e.activeOptionIndex+n).concat(e.options.slice(0,e.activeOptionIndex+n)):e.options).find((e=>{var t;return!e.dataRef.current.disabled&&(null==(t=e.dataRef.current.textValue)?void 0:t.startsWith(r))})),a=o?e.options.indexOf(o):-1;return-1===a||a===e.activeOptionIndex?{...e,searchQuery:r}:{...e,searchQuery:r,activeOptionIndex:a}},6:e=>e.disabled||1===e.listboxState||""===e.searchQuery?e:{...e,searchQuery:""},7:(e,t)=>{var n;let r=Array.from(null==(n=e.optionsRef.current)?void 0:n.querySelectorAll('[id^="headlessui-listbox-option-"]')).reduce(((e,t,n)=>Object.assign(e,{[t.id]:n})),{}),o=[...e.options,{id:t.id,dataRef:t.dataRef}].sort(((e,t)=>r[e.id]-r[t.id]));return{...e,options:o}},8:(e,t)=>{let n=e.options.slice(),r=null!==e.activeOptionIndex?n[e.activeOptionIndex]:null,o=n.findIndex((e=>e.id===t.id));return-1!==o&&n.splice(o,1),{...e,options:n,activeOptionIndex:o===e.activeOptionIndex||null===r?null:n.indexOf(r)}}},Le=(0,r.createContext)(null);function Te(e){let t=(0,r.useContext)(Le);if(null===t){let t=new Error(`<${e} /> is missing a parent <${Ae.name} /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Te),t}return t}function Me(e,t){return b(t.type,Pe,e,t)}Le.displayName="ListboxContext";var De=r.Fragment;function Ae(e){let{value:t,onChange:n,disabled:o=!1,horizontal:a=!1,...l}=e,u=a?"horizontal":"vertical",s=(0,r.useReducer)(Me,{listboxState:1,propsRef:{current:{value:t,onChange:n}},labelRef:(0,r.createRef)(),buttonRef:(0,r.createRef)(),optionsRef:(0,r.createRef)(),disabled:o,orientation:u,options:[],searchQuery:"",activeOptionIndex:null}),[{listboxState:c,propsRef:d,optionsRef:p,buttonRef:f},v]=s;i((()=>{d.current.value=t}),[t,d]),i((()=>{d.current.onChange=n}),[n,d]),i((()=>v({type:2,disabled:o})),[o]),i((()=>v({type:3,orientation:u})),[u]),w("mousedown",(e=>{var t,n,r;let o=e.target;0===c&&((null==(t=f.current)?void 0:t.contains(o))||(null==(n=p.current)?void 0:n.contains(o))||(v({type:1}),K(o,1)||(e.preventDefault(),null==(r=f.current)||r.focus())))}));let m=(0,r.useMemo)((()=>({open:0===c,disabled:o})),[c,o]);return r.createElement(Le.Provider,{value:s},r.createElement(O,{value:b(c,{0:0,1:1})},y({props:l,slot:m,defaultTag:De,name:"Listbox"})))}var je=C((function(e,t){var n;let[o,a]=Te("Listbox.Button"),i=m(o.buttonRef,t),u=`headlessui-listbox-button-${p()}`,s=l(),c=(0,r.useCallback)((e=>{switch(e.key){case" ":case"Enter":case"ArrowDown":e.preventDefault(),a({type:0}),s.nextFrame((()=>{o.propsRef.current.value||a({type:4,focus:0})}));break;case"ArrowUp":e.preventDefault(),a({type:0}),s.nextFrame((()=>{o.propsRef.current.value||a({type:4,focus:3})}))}}),[a,o,s]),d=(0,r.useCallback)((e=>{if(" "===e.key)e.preventDefault()}),[]),f=(0,r.useCallback)((e=>{if(E(e.currentTarget))return e.preventDefault();0===o.listboxState?(a({type:1}),s.nextFrame((()=>{var e;return null==(e=o.buttonRef.current)?void 0:e.focus({preventScroll:!0})}))):(e.preventDefault(),a({type:0}))}),[a,s,o]),b=v((()=>{if(o.labelRef.current)return[o.labelRef.current.id,u].join(" ")}),[o.labelRef.current,u]),h=(0,r.useMemo)((()=>({open:0===o.listboxState,disabled:o.disabled})),[o]);return y({props:{...e,...{ref:i,id:u,type:S(e,o.buttonRef),"aria-haspopup":!0,"aria-controls":null==(n=o.optionsRef.current)?void 0:n.id,"aria-expanded":o.disabled?void 0:0===o.listboxState,"aria-labelledby":b,disabled:o.disabled,onKeyDown:c,onKeyUp:d,onClick:f}},slot:h,defaultTag:"button",name:"Listbox.Button"})}));var Fe=C((function(e,t){var n;let[o,u]=Te("Listbox.Options"),s=m(o.optionsRef,t),c=`headlessui-listbox-options-${p()}`,d=l(),f=l(),h=R(),C=null!==h?0===h:0===o.listboxState;i((()=>{let e=o.optionsRef.current;!e||0===o.listboxState&&e!==document.activeElement&&e.focus({preventScroll:!0})}),[o.listboxState,o.optionsRef]);let g=(0,r.useCallback)((e=>{switch(f.dispose(),e.key){case" ":if(""!==o.searchQuery)return e.preventDefault(),e.stopPropagation(),u({type:5,value:e.key});case"Enter":if(e.preventDefault(),e.stopPropagation(),u({type:1}),null!==o.activeOptionIndex){let{dataRef:e}=o.options[o.activeOptionIndex];o.propsRef.current.onChange(e.current.value)}a().nextFrame((()=>{var e;return null==(e=o.buttonRef.current)?void 0:e.focus({preventScroll:!0})}));break;case b(o.orientation,{vertical:"ArrowDown",horizontal:"ArrowRight"}):return e.preventDefault(),e.stopPropagation(),u({type:4,focus:2});case b(o.orientation,{vertical:"ArrowUp",horizontal:"ArrowLeft"}):return e.preventDefault(),e.stopPropagation(),u({type:4,focus:1});case"Home":case"PageUp":return e.preventDefault(),e.stopPropagation(),u({type:4,focus:0});case"End":case"PageDown":return e.preventDefault(),e.stopPropagation(),u({type:4,focus:3});case"Escape":return e.preventDefault(),e.stopPropagation(),u({type:1}),d.nextFrame((()=>{var e;return null==(e=o.buttonRef.current)?void 0:e.focus({preventScroll:!0})}));case"Tab":e.preventDefault(),e.stopPropagation();break;default:1===e.key.length&&(u({type:5,value:e.key}),f.setTimeout((()=>u({type:6})),350))}}),[d,u,f,o]),x=v((()=>{var e,t,n;return null!=(n=null==(e=o.labelRef.current)?void 0:e.id)?n:null==(t=o.buttonRef.current)?void 0:t.id}),[o.labelRef.current,o.buttonRef.current]),E=(0,r.useMemo)((()=>({open:0===o.listboxState})),[o]);return y({props:{...e,...{"aria-activedescendant":null===o.activeOptionIndex||null==(n=o.options[o.activeOptionIndex])?void 0:n.id,"aria-labelledby":x,"aria-orientation":o.orientation,id:c,onKeyDown:g,role:"listbox",tabIndex:0,ref:s}},slot:E,defaultTag:"ul",features:3,visible:C,name:"Listbox.Options"})}));Ae.Button=je,Ae.Label=function(e){let[t]=Te("Listbox.Label"),n=`headlessui-listbox-label-${p()}`,o=(0,r.useCallback)((()=>{var e;return null==(e=t.buttonRef.current)?void 0:e.focus({preventScroll:!0})}),[t.buttonRef]),a=(0,r.useMemo)((()=>({open:0===t.listboxState,disabled:t.disabled})),[t]);return y({props:{...e,...{ref:t.labelRef,id:n,onClick:o}},slot:a,defaultTag:"label",name:"Listbox.Label"})},Ae.Options=Fe,Ae.Option=function(e){let{disabled:t=!1,value:n,...o}=e,[l,u]=Te("Listbox.Option"),s=`headlessui-listbox-option-${p()}`,c=null!==l.activeOptionIndex&&l.options[l.activeOptionIndex].id===s,d=l.propsRef.current.value===n,f=(0,r.useRef)({disabled:t,value:n});i((()=>{f.current.disabled=t}),[f,t]),i((()=>{f.current.value=n}),[f,n]),i((()=>{var e,t;f.current.textValue=null==(t=null==(e=document.getElementById(s))?void 0:e.textContent)?void 0:t.toLowerCase()}),[f,s]);let v=(0,r.useCallback)((()=>l.propsRef.current.onChange(n)),[l.propsRef,n]);i((()=>(u({type:7,id:s,dataRef:f}),()=>u({type:8,id:s}))),[f,s]),i((()=>{var e,t;0===l.listboxState&&(!d||(u({type:4,focus:4,id:s}),null==(t=null==(e=document.getElementById(s))?void 0:e.focus)||t.call(e)))}),[l.listboxState]),i((()=>{if(0!==l.listboxState||!c)return;let e=a();return e.requestAnimationFrame((()=>{var e,t;null==(t=null==(e=document.getElementById(s))?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})})),e.dispose}),[s,c,l.listboxState,l.activeOptionIndex]);let m=(0,r.useCallback)((e=>{if(t)return e.preventDefault();v(),u({type:1}),a().nextFrame((()=>{var e;return null==(e=l.buttonRef.current)?void 0:e.focus({preventScroll:!0})}))}),[u,l.buttonRef,t,v]),b=(0,r.useCallback)((()=>{if(t)return u({type:4,focus:5});u({type:4,focus:4,id:s})}),[t,s,u]),h=(0,r.useCallback)((()=>{t||c||u({type:4,focus:4,id:s})}),[t,c,s,u]),C=(0,r.useCallback)((()=>{t||!c||u({type:4,focus:5})}),[t,c,u]),g=(0,r.useMemo)((()=>({active:c,selected:d,disabled:t})),[c,d,t]);return y({props:{...o,id:s,role:"option",tabIndex:!0===t?void 0:-1,"aria-disabled":!0===t||void 0,"aria-selected":!0===d||void 0,disabled:void 0,onClick:m,onFocus:b,onPointerMove:h,onMouseMove:h,onPointerLeave:C,onMouseLeave:C},slot:g,defaultTag:"li",name:"Listbox.Option"})};var Ne={1:e=>1===e.menuState?e:{...e,activeItemIndex:null,menuState:1},0:e=>0===e.menuState?e:{...e,menuState:0},2:(e,t)=>{let n=x(t,{resolveItems:()=>e.items,resolveActiveIndex:()=>e.activeItemIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return""===e.searchQuery&&e.activeItemIndex===n?e:{...e,searchQuery:"",activeItemIndex:n}},3:(e,t)=>{let n=""!==e.searchQuery?0:1,r=e.searchQuery+t.value.toLowerCase(),o=(null!==e.activeItemIndex?e.items.slice(e.activeItemIndex+n).concat(e.items.slice(0,e.activeItemIndex+n)):e.items).find((e=>{var t;return(null==(t=e.dataRef.current.textValue)?void 0:t.startsWith(r))&&!e.dataRef.current.disabled})),a=o?e.items.indexOf(o):-1;return-1===a||a===e.activeItemIndex?{...e,searchQuery:r}:{...e,searchQuery:r,activeItemIndex:a}},4:e=>""===e.searchQuery?e:{...e,searchQuery:"",searchActiveItemIndex:null},5:(e,t)=>{var n;let r=Array.from(null==(n=e.itemsRef.current)?void 0:n.querySelectorAll('[id^="headlessui-menu-item-"]')).reduce(((e,t,n)=>Object.assign(e,{[t.id]:n})),{}),o=[...e.items,{id:t.id,dataRef:t.dataRef}].sort(((e,t)=>r[e.id]-r[t.id]));return{...e,items:o}},6:(e,t)=>{let n=e.items.slice(),r=null!==e.activeItemIndex?n[e.activeItemIndex]:null,o=n.findIndex((e=>e.id===t.id));return-1!==o&&n.splice(o,1),{...e,items:n,activeItemIndex:o===e.activeItemIndex||null===r?null:n.indexOf(r)}}},He=(0,r.createContext)(null);function Ve(e){let t=(0,r.useContext)(He);if(null===t){let t=new Error(`<${e} /> is missing a parent <${ze.name} /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Ve),t}return t}function $e(e,t){return b(t.type,Ne,e,t)}He.displayName="MenuContext";var Be=r.Fragment;function ze(e){let t=(0,r.useReducer)($e,{menuState:1,buttonRef:(0,r.createRef)(),itemsRef:(0,r.createRef)(),items:[],searchQuery:"",activeItemIndex:null}),[{menuState:n,itemsRef:o,buttonRef:a},l]=t;w("mousedown",(e=>{var t,r,i;let u=e.target;0===n&&((null==(t=a.current)?void 0:t.contains(u))||(null==(r=o.current)?void 0:r.contains(u))||(l({type:1}),K(u,1)||(e.preventDefault(),null==(i=a.current)||i.focus())))}));let i=(0,r.useMemo)((()=>({open:0===n})),[n]);return r.createElement(He.Provider,{value:t},r.createElement(O,{value:b(n,{0:0,1:1})},y({props:e,slot:i,defaultTag:Be,name:"Menu"})))}var Ke=C((function(e,t){var n;let[o,a]=Ve("Menu.Button"),i=m(o.buttonRef,t),u=`headlessui-menu-button-${p()}`,s=l(),c=(0,r.useCallback)((e=>{switch(e.key){case" ":case"Enter":case"ArrowDown":e.preventDefault(),e.stopPropagation(),a({type:0}),s.nextFrame((()=>a({type:2,focus:0})));break;case"ArrowUp":e.preventDefault(),e.stopPropagation(),a({type:0}),s.nextFrame((()=>a({type:2,focus:3})))}}),[a,s]),d=(0,r.useCallback)((e=>{if(" "===e.key)e.preventDefault()}),[]),f=(0,r.useCallback)((t=>{if(E(t.currentTarget))return t.preventDefault();e.disabled||(0===o.menuState?(a({type:1}),s.nextFrame((()=>{var e;return null==(e=o.buttonRef.current)?void 0:e.focus({preventScroll:!0})}))):(t.preventDefault(),t.stopPropagation(),a({type:0})))}),[a,s,o,e.disabled]),v=(0,r.useMemo)((()=>({open:0===o.menuState})),[o]);return y({props:{...e,...{ref:i,id:u,type:S(e,o.buttonRef),"aria-haspopup":!0,"aria-controls":null==(n=o.itemsRef.current)?void 0:n.id,"aria-expanded":e.disabled?void 0:0===o.menuState,onKeyDown:c,onKeyUp:d,onClick:f}},slot:v,defaultTag:"button",name:"Menu.Button"})})),Ue=C((function(e,t){var n,o;let[i,u]=Ve("Menu.Items"),s=m(i.itemsRef,t),c=`headlessui-menu-items-${p()}`,d=l(),f=R(),v=null!==f?0===f:0===i.menuState;(0,r.useEffect)((()=>{let e=i.itemsRef.current;!e||0===i.menuState&&e!==document.activeElement&&e.focus({preventScroll:!0})}),[i.menuState,i.itemsRef]),P({container:i.itemsRef.current,enabled:0===i.menuState,accept:e=>"menuitem"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(e){e.setAttribute("role","none")}});let b=(0,r.useCallback)((e=>{var t;switch(d.dispose(),e.key){case" ":if(""!==i.searchQuery)return e.preventDefault(),e.stopPropagation(),u({type:3,value:e.key});case"Enter":if(e.preventDefault(),e.stopPropagation(),u({type:1}),null!==i.activeItemIndex){let{id:e}=i.items[i.activeItemIndex];null==(t=document.getElementById(e))||t.click()}a().nextFrame((()=>{var e;return null==(e=i.buttonRef.current)?void 0:e.focus({preventScroll:!0})}));break;case"ArrowDown":return e.preventDefault(),e.stopPropagation(),u({type:2,focus:2});case"ArrowUp":return e.preventDefault(),e.stopPropagation(),u({type:2,focus:1});case"Home":case"PageUp":return e.preventDefault(),e.stopPropagation(),u({type:2,focus:0});case"End":case"PageDown":return e.preventDefault(),e.stopPropagation(),u({type:2,focus:3});case"Escape":e.preventDefault(),e.stopPropagation(),u({type:1}),a().nextFrame((()=>{var e;return null==(e=i.buttonRef.current)?void 0:e.focus({preventScroll:!0})}));break;case"Tab":e.preventDefault(),e.stopPropagation();break;default:1===e.key.length&&(u({type:3,value:e.key}),d.setTimeout((()=>u({type:4})),350))}}),[u,d,i]),h=(0,r.useCallback)((e=>{if(" "===e.key)e.preventDefault()}),[]),C=(0,r.useMemo)((()=>({open:0===i.menuState})),[i]);return y({props:{...e,...{"aria-activedescendant":null===i.activeItemIndex||null==(n=i.items[i.activeItemIndex])?void 0:n.id,"aria-labelledby":null==(o=i.buttonRef.current)?void 0:o.id,id:c,onKeyDown:b,onKeyUp:h,role:"menu",tabIndex:0,ref:s}},slot:C,defaultTag:"div",features:3,visible:v,name:"Menu.Items"})})),Ge=r.Fragment;ze.Button=Ke,ze.Items=Ue,ze.Item=function(e){let{disabled:t=!1,onClick:n,...o}=e,[l,u]=Ve("Menu.Item"),s=`headlessui-menu-item-${p()}`,c=null!==l.activeItemIndex&&l.items[l.activeItemIndex].id===s;i((()=>{if(0!==l.menuState||!c)return;let e=a();return e.requestAnimationFrame((()=>{var e,t;null==(t=null==(e=document.getElementById(s))?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})})),e.dispose}),[s,c,l.menuState,l.activeItemIndex]);let d=(0,r.useRef)({disabled:t});i((()=>{d.current.disabled=t}),[d,t]),i((()=>{var e,t;d.current.textValue=null==(t=null==(e=document.getElementById(s))?void 0:e.textContent)?void 0:t.toLowerCase()}),[d,s]),i((()=>(u({type:5,id:s,dataRef:d}),()=>u({type:6,id:s}))),[d,s]);let f=(0,r.useCallback)((e=>t?e.preventDefault():(u({type:1}),a().nextFrame((()=>{var e;return null==(e=l.buttonRef.current)?void 0:e.focus({preventScroll:!0})})),n?n(e):void 0)),[u,l.buttonRef,t,n]),v=(0,r.useCallback)((()=>{if(t)return u({type:2,focus:5});u({type:2,focus:4,id:s})}),[t,s,u]),m=(0,r.useCallback)((()=>{t||c||u({type:2,focus:4,id:s})}),[t,c,s,u]),b=(0,r.useCallback)((()=>{t||!c||u({type:2,focus:5})}),[t,c,u]),h=(0,r.useMemo)((()=>({active:c,disabled:t})),[c,t]);return y({props:{...o,id:s,role:"menuitem",tabIndex:!0===t?void 0:-1,"aria-disabled":!0===t||void 0,disabled:void 0,onClick:f,onFocus:v,onPointerMove:m,onMouseMove:m,onPointerLeave:b,onMouseLeave:b},slot:h,defaultTag:Ge,name:"Menu.Item"})};var _e={0:e=>({...e,popoverState:b(e.popoverState,{0:1,1:0})}),1:e=>1===e.popoverState?e:{...e,popoverState:1},2:(e,t)=>e.button===t.button?e:{...e,button:t.button},3:(e,t)=>e.buttonId===t.buttonId?e:{...e,buttonId:t.buttonId},4:(e,t)=>e.panel===t.panel?e:{...e,panel:t.panel},5:(e,t)=>e.panelId===t.panelId?e:{...e,panelId:t.panelId}},Qe=(0,r.createContext)(null);function Ze(e){let t=(0,r.useContext)(Qe);if(null===t){let t=new Error(`<${e} /> is missing a parent <${tt.name} /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Ze),t}return t}Qe.displayName="PopoverContext";var qe=(0,r.createContext)(null);function We(e){let t=(0,r.useContext)(qe);if(null===t){let t=new Error(`<${e} /> is missing a parent <${tt.name} /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,We),t}return t}qe.displayName="PopoverAPIContext";var Ye=(0,r.createContext)(null);function Je(){return(0,r.useContext)(Ye)}Ye.displayName="PopoverGroupContext";var Xe=(0,r.createContext)(null);function et(e,t){return b(t.type,_e,e,t)}Xe.displayName="PopoverPanelContext";function tt(e){let t=`headlessui-popover-button-${p()}`,n=`headlessui-popover-panel-${p()}`,o=(0,r.useReducer)(et,{popoverState:1,button:null,buttonId:t,panel:null,panelId:n}),[{popoverState:a,button:l,panel:i},u]=o;(0,r.useEffect)((()=>u({type:3,buttonId:t})),[t,u]),(0,r.useEffect)((()=>u({type:5,panelId:n})),[n,u]);let s=(0,r.useMemo)((()=>({buttonId:t,panelId:n,close:()=>u({type:1})})),[t,n,u]),c=Je(),d=null==c?void 0:c.registerPopover,f=(0,r.useCallback)((()=>{var e;return null!=(e=null==c?void 0:c.isFocusWithinPopoverGroup())?e:(null==l?void 0:l.contains(document.activeElement))||(null==i?void 0:i.contains(document.activeElement))}),[c,l,i]);(0,r.useEffect)((()=>null==d?void 0:d(s)),[d,s]),w("focus",(()=>{0===a&&(f()||!l||!i||u({type:1}))}),!0),w("mousedown",(e=>{let t=e.target;0===a&&((null==l?void 0:l.contains(t))||(null==i?void 0:i.contains(t))||(u({type:1}),K(t,1)||(e.preventDefault(),null==l||l.focus())))}));let v=(0,r.useCallback)((e=>{u({type:1});let t=e?e instanceof HTMLElement?e:e.current instanceof HTMLElement?e.current:l:l;null==t||t.focus()}),[u,l]),m=(0,r.useMemo)((()=>({close:v})),[v]),h=(0,r.useMemo)((()=>({open:0===a,close:v})),[a,v]);return r.createElement(Qe.Provider,{value:o},r.createElement(qe.Provider,{value:m},r.createElement(O,{value:b(a,{0:0,1:1})},y({props:e,slot:h,defaultTag:"div",name:"Popover"}))))}var nt=C((function(e,t){let[n,o]=Ze("Popover.Button"),a=(0,r.useRef)(null),l=Je(),i=null==l?void 0:l.closeOthers,u=(0,r.useContext)(Xe),s=null!==u&&u===n.panelId,c=m(a,t,s?null:e=>o({type:2,button:e})),d=m(a,t),p=(0,r.useRef)(null),f=(0,r.useRef)("undefined"==typeof window?null:document.activeElement);w("focus",(()=>{f.current=p.current,p.current=document.activeElement}),!0);let v=(0,r.useCallback)((e=>{var t,r;if(s){if(1===n.popoverState)return;switch(e.key){case" ":case"Enter":e.preventDefault(),e.stopPropagation(),o({type:1}),null==(t=n.button)||t.focus()}}else switch(e.key){case" ":case"Enter":e.preventDefault(),e.stopPropagation(),1===n.popoverState&&(null==i||i(n.buttonId)),o({type:0});break;case"Escape":if(0!==n.popoverState)return null==i?void 0:i(n.buttonId);if(!a.current||!a.current.contains(document.activeElement))return;e.preventDefault(),e.stopPropagation(),o({type:1});break;case"Tab":if(0!==n.popoverState||!n.panel||!n.button)return;if(e.shiftKey){if(!f.current||(null==(r=n.button)?void 0:r.contains(f.current))||n.panel.contains(f.current))return;let t=z(),o=t.indexOf(f.current);if(t.indexOf(n.button)>o)return;e.preventDefault(),e.stopPropagation(),G(n.panel,8)}else e.preventDefault(),e.stopPropagation(),G(n.panel,1)}}),[o,n.popoverState,n.buttonId,n.button,n.panel,a,i,s]),b=(0,r.useCallback)((e=>{var t;if(!s&&(" "===e.key&&e.preventDefault(),0===n.popoverState&&n.panel&&n.button)&&"Tab"===e.key){if(!f.current||(null==(t=n.button)?void 0:t.contains(f.current))||n.panel.contains(f.current))return;let r=z(),o=r.indexOf(f.current);if(r.indexOf(n.button)>o)return;e.preventDefault(),e.stopPropagation(),G(n.panel,8)}}),[n.popoverState,n.panel,n.button,s]),h=(0,r.useCallback)((t=>{var r,a;E(t.currentTarget)||e.disabled||(s?(o({type:1}),null==(r=n.button)||r.focus()):(1===n.popoverState&&(null==i||i(n.buttonId)),null==(a=n.button)||a.focus(),o({type:0})))}),[o,n.button,n.popoverState,n.buttonId,e.disabled,i,s]),C=(0,r.useMemo)((()=>({open:0===n.popoverState})),[n]),g=S(e,a);return y({props:{...e,...s?{ref:d,type:g,onKeyDown:v,onClick:h}:{ref:c,id:n.buttonId,type:g,"aria-expanded":e.disabled?void 0:0===n.popoverState,"aria-controls":n.panel?n.panelId:void 0,onKeyDown:v,onKeyUp:b,onClick:h}},slot:C,defaultTag:"button",name:"Popover.Button"})})),rt=C((function(e,t){let[{popoverState:n},o]=Ze("Popover.Overlay"),a=m(t),l=`headlessui-popover-overlay-${p()}`,i=R(),u=null!==i?0===i:0===n;return y({props:{...e,ref:a,id:l,"aria-hidden":!0,onClick:(0,r.useCallback)((e=>{if(E(e.currentTarget))return e.preventDefault();o({type:1})}),[o])},slot:(0,r.useMemo)((()=>({open:0===n})),[n]),defaultTag:"div",features:3,visible:u,name:"Popover.Overlay"})})),ot=C((function(e,t){let{focus:n=!1,...o}=e,[a,l]=Ze("Popover.Panel"),{close:i}=We("Popover.Panel"),u=(0,r.useRef)(null),s=m(u,t,(e=>{l({type:4,panel:e})})),c=R(),d=null!==c?0===c:0===a.popoverState,p=(0,r.useCallback)((e=>{var t;if("Escape"===e.key){if(0!==a.popoverState||!u.current||!u.current.contains(document.activeElement))return;e.preventDefault(),e.stopPropagation(),l({type:1}),null==(t=a.button)||t.focus()}}),[a,u,l]);(0,r.useEffect)((()=>()=>l({type:4,panel:null})),[l]),(0,r.useEffect)((()=>{var t;e.static||1===a.popoverState&&(null==(t=e.unmount)||t)&&l({type:4,panel:null})}),[a.popoverState,e.unmount,e.static,l]),(0,r.useEffect)((()=>{if(!n||0!==a.popoverState||!u.current)return;let e=document.activeElement;u.current.contains(e)||G(u.current,1)}),[n,u,a.popoverState]),w("keydown",(e=>{var t;if(0!==a.popoverState||!u.current||"Tab"!==e.key||!document.activeElement||!u.current||!u.current.contains(document.activeElement))return;e.preventDefault();let n=G(u.current,e.shiftKey?2:4);if(3===n)return null==(t=a.button)?void 0:t.focus();if(1===n){if(!a.button)return;let e=z(),t=e.indexOf(a.button);0===G(e.splice(t+1).filter((e=>{var t;return!(null==(t=u.current)?void 0:t.contains(e))})),1)&&G(document.body,1)}})),w("focus",(()=>{var e;!n||0===a.popoverState&&(!u.current||(null==(e=u.current)?void 0:e.contains(document.activeElement))||l({type:1}))}),!0);let f=(0,r.useMemo)((()=>({open:0===a.popoverState,close:i})),[a,i]),v={ref:s,id:a.panelId,onKeyDown:p};return r.createElement(Xe.Provider,{value:a.panelId},y({props:{...o,...v},slot:f,defaultTag:"div",features:3,visible:d,name:"Popover.Panel"}))}));tt.Button=nt,tt.Overlay=rt,tt.Panel=ot,tt.Group=function(e){let t=(0,r.useRef)(null),[n,o]=(0,r.useState)([]),a=(0,r.useCallback)((e=>{o((t=>{let n=t.indexOf(e);if(-1!==n){let e=t.slice();return e.splice(n,1),e}return t}))}),[o]),l=(0,r.useCallback)((e=>(o((t=>[...t,e])),()=>a(e))),[o,a]),i=(0,r.useCallback)((()=>{var e;let r=document.activeElement;return!!(null==(e=t.current)?void 0:e.contains(r))||n.some((e=>{var t,n;return(null==(t=document.getElementById(e.buttonId))?void 0:t.contains(r))||(null==(n=document.getElementById(e.panelId))?void 0:n.contains(r))}))}),[t,n]),u=(0,r.useCallback)((e=>{for(let t of n)t.buttonId!==e&&t.close()}),[n]),s=(0,r.useMemo)((()=>({registerPopover:l,unregisterPopover:a,isFocusWithinPopoverGroup:i,closeOthers:u})),[l,a,i,u]),c=(0,r.useMemo)((()=>({})),[]),d={ref:t},p=e;return r.createElement(Ye.Provider,{value:s},y({props:{...p,...d},slot:c,defaultTag:"div",name:"Popover.Group"}))};var at=(0,r.createContext)(null);function lt(){let e=(0,r.useContext)(at);if(null===e){let e=new Error("You used a component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,lt),e}return e}function it(){let[e,t]=(0,r.useState)([]);return[e.length>0?e.join(" "):void 0,(0,r.useMemo)((()=>function(e){let n=(0,r.useCallback)((e=>(t((t=>[...t,e])),()=>t((t=>{let n=t.slice(),r=n.indexOf(e);return-1!==r&&n.splice(r,1),n})))),[]),o=(0,r.useMemo)((()=>({register:n,slot:e.slot,name:e.name,props:e.props})),[n,e.slot,e.name,e.props]);return r.createElement(at.Provider,{value:o},e.children)}),[t])]}function ut(e){let{passive:t=!1,...n}=e,r=lt(),o=`headlessui-label-${p()}`;i((()=>r.register(o)),[o,r.register]);let a={...n,...{...r.props,id:o}};return t&&delete a.onClick,y({props:a,slot:r.slot||{},defaultTag:"label",name:r.name||"Label"})}var st={0:(e,t)=>({...e,options:[...e.options,{id:t.id,element:t.element,propsRef:t.propsRef}]}),1(e,t){let n=e.options.slice(),r=e.options.findIndex((e=>e.id===t.id));return-1===r?e:(n.splice(r,1),{...e,options:n})}},ct=(0,r.createContext)(null);function dt(e){let t=(0,r.useContext)(ct);if(null===t){let t=new Error(`<${e} /> is missing a parent <${ft.name} /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,dt),t}return t}function pt(e,t){return b(t.type,st,e,t)}ct.displayName="RadioGroupContext";function ft(e){let{value:t,onChange:n,disabled:o=!1,...a}=e,[{options:l},i]=(0,r.useReducer)(pt,{options:[]}),[u,s]=it(),[c,d]=ie(),f=`headlessui-radiogroup-${p()}`,v=(0,r.useRef)(null),m=(0,r.useMemo)((()=>l.find((e=>!e.propsRef.current.disabled))),[l]),b=(0,r.useMemo)((()=>l.some((e=>e.propsRef.current.value===t))),[l,t]),h=(0,r.useCallback)((e=>{var r;if(o||e===t)return!1;let a=null==(r=l.find((t=>t.propsRef.current.value===e)))?void 0:r.propsRef.current;return!(null==a?void 0:a.disabled)&&(n(e),!0)}),[n,t,o,l]);P({container:v.current,accept:e=>"radio"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(e){e.setAttribute("role","none")}});let C=(0,r.useCallback)((e=>{if(!v.current)return;let t=l.filter((e=>!1===e.propsRef.current.disabled)).map((e=>e.element.current));switch(e.key){case"ArrowLeft":case"ArrowUp":if(e.preventDefault(),e.stopPropagation(),2===G(t,18)){let e=l.find((e=>e.element.current===document.activeElement));e&&h(e.propsRef.current.value)}break;case"ArrowRight":case"ArrowDown":if(e.preventDefault(),e.stopPropagation(),2===G(t,20)){let e=l.find((e=>e.element.current===document.activeElement));e&&h(e.propsRef.current.value)}break;case" ":{e.preventDefault(),e.stopPropagation();let t=l.find((e=>e.element.current===document.activeElement));t&&h(t.propsRef.current.value)}}}),[v,l,h]),g=(0,r.useCallback)((e=>(i({type:0,...e}),()=>i({type:1,id:e.id}))),[i]),x=(0,r.useMemo)((()=>({registerOption:g,firstOption:m,containsCheckedOption:b,change:h,disabled:o,value:t})),[g,m,b,h,o,t]),E={ref:v,id:f,role:"radiogroup","aria-labelledby":u,"aria-describedby":c,onKeyDown:C};return r.createElement(d,{name:"RadioGroup.Description"},r.createElement(s,{name:"RadioGroup.Label"},r.createElement(ct.Provider,{value:x},y({props:{...a,...E},defaultTag:"div",name:"RadioGroup"}))))}ft.Option=function(e){let t=(0,r.useRef)(null),n=`headlessui-radiogroup-option-${p()}`,[o,a]=it(),[l,u]=ie(),{addFlag:s,removeFlag:c,hasFlag:d}=function(e=0){let[t,n]=(0,r.useState)(e);return{addFlag:(0,r.useCallback)((e=>n((t=>t|e))),[n]),hasFlag:(0,r.useCallback)((e=>Boolean(t&e)),[t]),removeFlag:(0,r.useCallback)((e=>n((t=>t&~e))),[n]),toggleFlag:(0,r.useCallback)((e=>n((t=>t^e))),[n])}}(1),{value:f,disabled:v=!1,...m}=e,b=(0,r.useRef)({value:f,disabled:v});i((()=>{b.current.value=f}),[f,b]),i((()=>{b.current.disabled=v}),[v,b]);let{registerOption:h,disabled:C,change:g,firstOption:x,containsCheckedOption:E,value:w}=dt("RadioGroup.Option");i((()=>h({id:n,element:t,propsRef:b})),[n,h,t,e]);let I=(0,r.useCallback)((()=>{var e;!g(f)||(s(2),null==(e=t.current)||e.focus())}),[s,g,f]),R=(0,r.useCallback)((()=>s(2)),[s]),O=(0,r.useCallback)((()=>c(2)),[c]),k=(null==x?void 0:x.id)===n,S=C||v,P=w===f,L={ref:t,id:n,role:"radio","aria-checked":P?"true":"false","aria-labelledby":o,"aria-describedby":l,"aria-disabled":!!S||void 0,tabIndex:S?-1:P||!E&&k?0:-1,onClick:S?void 0:I,onFocus:S?void 0:R,onBlur:S?void 0:O},T=(0,r.useMemo)((()=>({checked:P,disabled:S,active:d(2)})),[P,S,d]);return r.createElement(u,{name:"RadioGroup.Description"},r.createElement(a,{name:"RadioGroup.Label"},y({props:{...m,...L},slot:T,defaultTag:"div",name:"RadioGroup.Option"})))},ft.Label=ut,ft.Description=ue;var vt=(0,r.createContext)(null);vt.displayName="GroupContext";var mt=r.Fragment;function bt(e){let{checked:t,onChange:n,...o}=e,a=`headlessui-switch-${p()}`,l=(0,r.useContext)(vt),i=(0,r.useRef)(null),u=m(i,null===l?null:l.setSwitch),s=(0,r.useCallback)((()=>n(!t)),[n,t]),c=(0,r.useCallback)((e=>{if(E(e.currentTarget))return e.preventDefault();e.preventDefault(),s()}),[s]),d=(0,r.useCallback)((e=>{"Tab"!==e.key&&e.preventDefault()," "===e.key&&s()}),[s]),f=(0,r.useCallback)((e=>e.preventDefault()),[]),v=(0,r.useMemo)((()=>({checked:t})),[t]);return y({props:{...o,...{id:a,ref:u,role:"switch",type:S(e,i),tabIndex:0,"aria-checked":t,"aria-labelledby":null==l?void 0:l.labelledby,"aria-describedby":null==l?void 0:l.describedby,onClick:c,onKeyUp:d,onKeyPress:f}},slot:v,defaultTag:"button",name:"Switch"})}bt.Group=function(e){let[t,n]=(0,r.useState)(null),[o,a]=it(),[l,i]=ie(),u=(0,r.useMemo)((()=>({switch:t,setSwitch:n,labelledby:o,describedby:l})),[t,n,o,l]);return r.createElement(i,{name:"Switch.Description"},r.createElement(a,{name:"Switch.Label",props:{onClick(){!t||(t.click(),t.focus({preventScroll:!0}))}}},r.createElement(vt.Provider,{value:u},y({props:e,defaultTag:mt,name:"Switch.Group"}))))},bt.Label=ut,bt.Description=ue;var yt={0:(e,t)=>e.selectedIndex===t.index?e:{...e,selectedIndex:t.index},1:(e,t)=>e.orientation===t.orientation?e:{...e,orientation:t.orientation},2:(e,t)=>e.activation===t.activation?e:{...e,activation:t.activation},3:(e,t)=>e.tabs.includes(t.tab)?e:{...e,tabs:[...e.tabs,t.tab]},4:(e,t)=>({...e,tabs:e.tabs.filter((e=>e!==t.tab))}),5:(e,t)=>e.panels.includes(t.panel)?e:{...e,panels:[...e.panels,t.panel]},6:(e,t)=>({...e,panels:e.panels.filter((e=>e!==t.panel))}),7:e=>({...e})},ht=(0,r.createContext)(null);function Ct(e){let t=(0,r.useContext)(ht);if(null===t){let t=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Ct),t}return t}function gt(e,t){return b(t.type,yt,e,t)}ht.displayName="TabsContext";var xt=r.Fragment;function Et(e){var t,n;let o=`headlessui-tabs-tab-${p()}`,[{selectedIndex:a,tabs:l,panels:u,orientation:s,activation:c},{dispatch:d,change:f}]=Ct(Et.name),v=(0,r.useRef)(null),h=m(v,(e=>{!e||d({type:7})}));i((()=>(d({type:3,tab:v}),()=>d({type:4,tab:v}))),[d,v]);let C=l.indexOf(v),g=C===a,x=(0,r.useCallback)((e=>{let t=l.map((e=>e.current)).filter(Boolean);if(" "===e.key||"Enter"===e.key)return e.preventDefault(),e.stopPropagation(),void f(C);switch(e.key){case"Home":case"PageUp":return e.preventDefault(),e.stopPropagation(),G(t,1);case"End":case"PageDown":return e.preventDefault(),e.stopPropagation(),G(t,8)}return b(s,{vertical:()=>"ArrowUp"===e.key?G(t,18):"ArrowDown"===e.key?G(t,20):void 0,horizontal:()=>"ArrowLeft"===e.key?G(t,18):"ArrowRight"===e.key?G(t,20):void 0})}),[l,s,C,f]),E=(0,r.useCallback)((()=>{var e;null==(e=v.current)||e.focus()}),[v]),w=(0,r.useCallback)((()=>{var e;null==(e=v.current)||e.focus(),f(C)}),[f,C,v]),I=(0,r.useMemo)((()=>({selected:g})),[g]),R={ref:h,onKeyDown:x,onFocus:"manual"===c?E:w,onClick:w,id:o,role:"tab",type:S(e,v),"aria-controls":null==(n=null==(t=u[C])?void 0:t.current)?void 0:n.id,"aria-selected":g,tabIndex:g?0:-1};return y({props:{...e,...R},slot:I,defaultTag:"button",name:"Tabs.Tab"})}function wt(e,...t){e&&t.length>0&&e.classList.add(...t)}function It(e,...t){e&&t.length>0&&e.classList.remove(...t)}function Rt(e,t,n,r,o,l){let i=a(),u=void 0!==l?function(e){let t={called:!1};return(...n)=>{if(!t.called)return t.called=!0,e(...n)}}(l):()=>{};return It(e,...o),wt(e,...t,...n),i.nextFrame((()=>{It(e,...n),wt(e,...r),i.add(function(e,t){let n=a();if(!e)return n.dispose;let{transitionDuration:r,transitionDelay:o}=getComputedStyle(e),[l,i]=[r,o].map((e=>{let[t=0]=e.split(",").filter(Boolean).map((e=>e.includes("ms")?parseFloat(e):1e3*parseFloat(e))).sort(((e,t)=>t-e));return t}));return 0!==l?n.setTimeout((()=>{t("finished")}),l+i):t("finished"),n.add((()=>t("cancelled"))),n.dispose}(e,(n=>(It(e,...r,...t),wt(e,...o),u(n)))))})),i.add((()=>It(e,...t,...n,...r,...o))),i.add((()=>u("cancelled"))),i.dispose}function Ot(e=""){return(0,r.useMemo)((()=>e.split(" ").filter((e=>e.trim().length>1))),[e])}Et.Group=function(e){let{defaultIndex:t=0,vertical:n=!1,manual:o=!1,onChange:a,selectedIndex:l=null,...i}=e,u=n?"vertical":"horizontal",s=o?"manual":"auto",[c,d]=(0,r.useReducer)(gt,{selectedIndex:null,tabs:[],panels:[],orientation:u,activation:s}),p=(0,r.useMemo)((()=>({selectedIndex:c.selectedIndex})),[c.selectedIndex]),f=(0,r.useRef)((()=>{}));(0,r.useEffect)((()=>{d({type:1,orientation:u})}),[u]),(0,r.useEffect)((()=>{d({type:2,activation:s})}),[s]),(0,r.useEffect)((()=>{"function"==typeof a&&(f.current=a)}),[a]),(0,r.useEffect)((()=>{if(c.tabs.length<=0||null===l&&null!==c.selectedIndex)return;let e=c.tabs.map((e=>e.current)).filter(Boolean),n=e.filter((e=>!e.hasAttribute("disabled"))),r=null!=l?l:t;if(r<0)d({type:0,index:e.indexOf(n[0])});else if(r>c.tabs.length)d({type:0,index:e.indexOf(n[n.length-1])});else{let t=e.slice(0,r),o=[...e.slice(r),...t].find((e=>n.includes(e)));if(!o)return;d({type:0,index:e.indexOf(o)})}}),[t,l,c.tabs,c.selectedIndex]);let v=(0,r.useRef)(c.selectedIndex);(0,r.useEffect)((()=>{v.current=c.selectedIndex}),[c.selectedIndex]);let m=(0,r.useMemo)((()=>[c,{dispatch:d,change(e){v.current!==e&&f.current(e),v.current=e,d({type:0,index:e})}}]),[c,d]);return r.createElement(ht.Provider,{value:m},y({props:{...i},slot:p,defaultTag:xt,name:"Tabs"}))},Et.List=function(e){let[{selectedIndex:t,orientation:n}]=Ct("Tab.List");return y({props:{...e,role:"tablist","aria-orientation":n},slot:{selectedIndex:t},defaultTag:"div",name:"Tabs.List"})},Et.Panels=function(e){let[{selectedIndex:t}]=Ct("Tab.Panels");return y({props:e,slot:(0,r.useMemo)((()=>({selectedIndex:t})),[t]),defaultTag:"div",name:"Tabs.Panels"})},Et.Panel=function(e){var t,n;let[{selectedIndex:o,tabs:a,panels:l},{dispatch:u}]=Ct("Tab.Panel"),s=`headlessui-tabs-panel-${p()}`,c=(0,r.useRef)(null),d=m(c,(e=>{!e||u({type:7})}));i((()=>(u({type:5,panel:c}),()=>u({type:6,panel:c}))),[u,c]);let f=l.indexOf(c),v=f===o,b=(0,r.useMemo)((()=>({selected:v})),[v]);return y({props:{...e,...{ref:d,id:s,role:"tabpanel","aria-labelledby":null==(n=null==(t=a[f])?void 0:t.current)?void 0:n.id,tabIndex:v?0:-1}},slot:b,defaultTag:"div",features:3,visible:v,name:"Tabs.Panel"})};var kt=(0,r.createContext)(null);kt.displayName="TransitionContext";var St=(0,r.createContext)(null);function Pt(e){return"children"in e?Pt(e.children):e.current.filter((({state:e})=>"visible"===e)).length>0}function Lt(e){let t=(0,r.useRef)(e),n=(0,r.useRef)([]),o=_();(0,r.useEffect)((()=>{t.current=e}),[e]);let a=(0,r.useCallback)(((e,r=1)=>{var a;let l=n.current.findIndex((({id:t})=>t===e));-1!==l&&(b(r,{0(){n.current.splice(l,1)},1(){n.current[l].state="hidden"}}),!Pt(n)&&o.current&&(null==(a=t.current)||a.call(t)))}),[t,o,n]),l=(0,r.useCallback)((e=>{let t=n.current.find((({id:t})=>t===e));return t?"visible"!==t.state&&(t.state="visible"):n.current.push({id:e,state:"visible"}),()=>a(e,0)}),[n,a]);return(0,r.useMemo)((()=>({children:n,register:l,unregister:a})),[l,a,n])}function Tt(){}St.displayName="NestingContext";var Mt=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function Dt(e){var t;let n={};for(let r of Mt)n[r]=null!=(t=e[r])?t:Tt;return n}function At(e){let{beforeEnter:t,afterEnter:n,beforeLeave:o,afterLeave:a,enter:l,enterFrom:u,enterTo:c,entered:d,leave:f,leaveFrom:v,leaveTo:m,...h}=e,C=(0,r.useRef)(null),[g,x]=(0,r.useState)("visible"),E=h.unmount?0:1,{show:w,appear:I,initial:R}=function(){let e=(0,r.useContext)(kt);if(null===e)throw new Error("A is used but it is missing a parent or .");return e}(),{register:k,unregister:S}=function(){let e=(0,r.useContext)(St);if(null===e)throw new Error("A is used but it is missing a parent or .");return e}(),P=p(),L=(0,r.useRef)(!1),T=Lt((()=>{L.current||(x("hidden"),S(P),V.current.afterLeave())}));i((()=>{if(P)return k(P)}),[k,P]),i((()=>{if(1===E&&P){if(w&&"visible"!==g)return void x("visible");b(g,{hidden:()=>S(P),visible:()=>k(P)})}}),[g,P,k,S,w,E]);let M=Ot(l),D=Ot(u),A=Ot(c),j=Ot(d),F=Ot(f),N=Ot(v),H=Ot(m),V=function(e){let t=(0,r.useRef)(Dt(e));return(0,r.useEffect)((()=>{t.current=Dt(e)}),[e]),t}({beforeEnter:t,afterEnter:n,beforeLeave:o,afterLeave:a}),$=s();(0,r.useEffect)((()=>{if($&&"visible"===g&&null===C.current)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}),[C,g,$]);let B=R&&!I;i((()=>{let e=C.current;if(e&&!B)return L.current=!0,w&&V.current.beforeEnter(),w||V.current.beforeLeave(),w?Rt(e,M,D,A,j,(e=>{L.current=!1,"finished"===e&&V.current.afterEnter()})):Rt(e,F,N,H,j,(e=>{L.current=!1,"finished"===e&&(Pt(T)||(x("hidden"),S(P),V.current.afterLeave()))}))}),[V,P,L,S,T,C,B,w,M,D,A,F,N,H]);let z={ref:C},K=h;return r.createElement(St.Provider,{value:T},r.createElement(O,{value:b(g,{visible:0,hidden:1})},y({props:{...K,...z},defaultTag:"div",features:1,visible:"visible"===g,name:"Transition.Child"})))}function jt(e){let{show:t,appear:n=!1,unmount:o,...a}=e,l=R();if(void 0===t&&null!==l&&(t=b(l,{0:!0,1:!1})),![!0,!1].includes(t))throw new Error("A is used but it is missing a `show={true | false}` prop.");let[i,u]=(0,r.useState)(t?"visible":"hidden"),s=Lt((()=>{u("hidden")})),c=function(){let e=(0,r.useRef)(!0);return(0,r.useEffect)((()=>{e.current=!1}),[]),e.current}(),d=(0,r.useMemo)((()=>({show:t,appear:n||!c,initial:c})),[t,n,c]);(0,r.useEffect)((()=>{t?u("visible"):Pt(s)||u("hidden")}),[t,s]);let p={unmount:o};return r.createElement(St.Provider,{value:s},r.createElement(kt.Provider,{value:d},y({props:{...p,as:r.Fragment,children:r.createElement(At,{...p,...a})},defaultTag:r.Fragment,features:1,visible:"visible"===i,name:"Transition"})))}jt.Child=function(e){let t=null!==(0,r.useContext)(kt),n=null!==R();return!t&&n?r.createElement(jt,{...e}):r.createElement(At,{...e})},jt.Root=jt},9065:function(e,t,n){"use strict";var r=n(7294);const o=r.forwardRef((function(e,t){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 6h16M4 12h16M4 18h16"}))}));t.Z=o},5506:function(e,t,n){"use strict";var r=n(7294);const o=r.forwardRef((function(e,t){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"}))}));t.Z=o}}]);
\ No newline at end of file
diff --git a/_next/static/chunks/273-2d8152ca9d1c7078.js b/_next/static/chunks/273-2d8152ca9d1c7078.js
deleted file mode 100644
index e9371516..00000000
--- a/_next/static/chunks/273-2d8152ca9d1c7078.js
+++ /dev/null
@@ -1 +0,0 @@
-(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[273],{2899:function(e,t){"use strict";var n={FACEBOOK_ID:"",TWITTER_ID:"",INSTAGRAM_ID:"",SPOTIFY_ID:"",LINKEDIN_ID:"ali4heydari",TWITCH_ID:"ali4heydari",BIRTHDATE:new Date(1997,0,30),CALENDLY_EVENT_LINK:"30min",CALENDLY_ID:"ali4heydari",CONTACT_EMAIL:"ali4heydari+githubio@gmail.com",CONTACT_PHONE:"",SHORT_NAME:"Ali Heydari's personal website",SITE_TITLE:"Ali Heydari",SITE_DESCRIPTION:"Ali Heydari's personal website",SITE_AUTHOR:"Ali Heydari",GITHUB_ID:"ali4heydari",GITLAB_ID:"ali4heydari",STACK_OVER_FLOW_ID:"8777320/ali4heydari",SKYPE_INVITE_ID:"lo1ReeemgPvq",SLIDES_ID:"ali4heydari",CONTACT_GET_FORM_ID:"b721c787-7978-40ec-9253-5fefaaa6d1e0",DISCORD_SERVER_ID:"7Z4Wk2zUuj",DISCUSS_SHORTNAME:"",NODE_ENV:"production",RECAPTCHA_SITE_KEY:"",HOTJAR_SNIPPET_VERSION:"",HOTJAR_ID:""};t.Z=n},8053:function(e,t,n){"use strict";var r=n(5893),a=n(7294),i=n(4184),l=n.n(i),s=n(4387),c=n.n(s);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}t.Z=function(e){var t=e.section,n=e.children,i=e.maxWidth,s=e.className,m=u(e,["section","children","maxWidth","className"]),d=(0,a.useMemo)((function(){return{sm:"max-w-screen-sm",md:"max-w-screen-md",lg:"max-w-screen-lg",xl:"max-w-screen-xl"}}),[]);return(0,r.jsx)("div",function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var P=function(e){var t=e.children,n=e.container,i=(S(e,["children","container"]),(0,a.useState)(!1)),l=i[0],s=i[1];return(0,a.useEffect)((function(){return s(!0)}),[]),l?(0,r.jsxs)("div",{className:"min-h-screen",children:[(0,r.jsx)(D.PB,{}),(0,r.jsx)(x,{}),(0,r.jsx)("hr",{}),(0,r.jsx)("div",{className:d()("prose prose-lg relative mx-auto flex max-w-6xl flex-col justify-center dark:prose-invert",n&&"container px-8"),children:(0,r.jsx)("main",{className:"z-10",children:t})}),(0,r.jsx)(T,{})]}):null}},4387:function(e){e.exports={container:"Container_container__ZlffP"}},1883:function(e){e.exports={footer:"Footer_footer__nKPS_",dark:"dark",links:"Footer_links__9ILt3",link:"Footer_link__2Y2qR",separator:"Footer_separator__U73Xb"}},6738:function(e){e.exports={mainNav:"MainNav_mainNav__EHrtP",dark:"dark",mainNavItem:"MainNav_mainNavItem__a6w58",active:"MainNav_active__U_PiQ"}}}]);
\ No newline at end of file
diff --git a/_next/static/chunks/framework-5f4595e5518b5600.js b/_next/static/chunks/framework-5f4595e5518b5600.js
deleted file mode 100644
index 4792da33..00000000
--- a/_next/static/chunks/framework-5f4595e5518b5600.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[774],{4448:function(e,t,n){var r=n(7294),l=n(6086),a=n(3840);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;nt}return!1}(t,n,l,r)&&(n=null),r||null===l?function(e){return!!p.call(m,e)||!p.call(h,e)&&(d.test(e)?m[e]=!0:(h[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):l.mustUseProperty?e[l.propertyName]=null===n?3!==l.type&&"":n:(t=l.attributeName,r=l.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(l=l.type)||4===l&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(y,b);g[t]=new v(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(y,b);g[t]=new v(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(y,b);g[t]=new v(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){g[e]=new v(e,1,!1,e.toLowerCase(),null,!1,!1)})),g.xlinkHref=new v("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){g[e]=new v(e,1,!1,e.toLowerCase(),null,!0,!0)}));var k=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,S=60103,E=60106,_=60107,x=60108,C=60114,P=60109,N=60110,T=60112,L=60113,z=60120,O=60115,R=60116,M=60121,F=60128,I=60129,D=60130,U=60131;if("function"===typeof Symbol&&Symbol.for){var A=Symbol.for;S=A("react.element"),E=A("react.portal"),_=A("react.fragment"),x=A("react.strict_mode"),C=A("react.profiler"),P=A("react.provider"),N=A("react.context"),T=A("react.forward_ref"),L=A("react.suspense"),z=A("react.suspense_list"),O=A("react.memo"),R=A("react.lazy"),M=A("react.block"),A("react.scope"),F=A("react.opaque.id"),I=A("react.debug_trace_mode"),D=A("react.offscreen"),U=A("react.legacy_hidden")}var V,j="function"===typeof Symbol&&Symbol.iterator;function B(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=j&&e[j]||e["@@iterator"])?e:null}function $(e){if(void 0===V)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);V=t&&t[1]||""}return"\n"+V+e}var W=!1;function H(e,t){if(!e||W)return"";W=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(i){var r=i}Reflect.construct(e,[],t)}else{try{t.call()}catch(i){r=i}e.call(t.prototype)}else{try{throw Error()}catch(i){r=i}e()}}catch(i){if(i&&r&&"string"===typeof i.stack){for(var l=i.stack.split("\n"),a=r.stack.split("\n"),o=l.length-1,u=a.length-1;1<=o&&0<=u&&l[o]!==a[u];)u--;for(;1<=o&&0<=u;o--,u--)if(l[o]!==a[u]){if(1!==o||1!==u)do{if(o--,0>--u||l[o]!==a[u])return"\n"+l[o].replace(" at new "," at ")}while(1<=o&&0<=u);break}}}finally{W=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?$(e):""}function Q(e){switch(e.tag){case 5:return $(e.type);case 16:return $("Lazy");case 13:return $("Suspense");case 19:return $("SuspenseList");case 0:case 2:case 15:return e=H(e.type,!1);case 11:return e=H(e.type.render,!1);case 22:return e=H(e.type._render,!1);case 1:return e=H(e.type,!0);default:return""}}function q(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case _:return"Fragment";case E:return"Portal";case C:return"Profiler";case x:return"StrictMode";case L:return"Suspense";case z:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case N:return(e.displayName||"Context")+".Consumer";case P:return(e._context.displayName||"Context")+".Provider";case T:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case O:return q(e.type);case M:return q(e._render);case R:t=e._payload,e=e._init;try{return q(e(t))}catch(n){}}return null}function K(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function Y(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function X(e){e._valueTracker||(e._valueTracker=function(e){var t=Y(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var l=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(e){r=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function G(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Y(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Z(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function J(e,t){var n=t.checked;return l({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function ee(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=K(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function te(e,t){null!=(t=t.checked)&&w(e,"checked",t,!1)}function ne(e,t){te(e,t);var n=K(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?le(e,t.type,n):t.hasOwnProperty("defaultValue")&&le(e,t.type,K(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function re(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function le(e,t,n){"number"===t&&Z(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function ae(e,t){return e=l({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function oe(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l=n.length))throw Error(o(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:K(n)}}function se(e,t){var n=K(t.value),r=K(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ce(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var fe="http://www.w3.org/1999/xhtml",de="http://www.w3.org/2000/svg";function pe(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function he(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?pe(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var me,ve,ge=(ve=function(e,t){if(e.namespaceURI!==de||"innerHTML"in e)e.innerHTML=t;else{for((me=me||document.createElement("div")).innerHTML="",t=me.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ve(e,t)}))}:ve);function ye(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var be={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},we=["Webkit","ms","Moz","O"];function ke(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||be.hasOwnProperty(e)&&be[e]?(""+t).trim():t+"px"}function Se(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),l=ke(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}Object.keys(be).forEach((function(e){we.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),be[t]=be[e]}))}));var Ee=l({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function _e(e,t){if(t){if(Ee[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(o(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(o(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(o(62))}}function xe(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Ce(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Pe=null,Ne=null,Te=null;function Le(e){if(e=rl(e)){if("function"!==typeof Pe)throw Error(o(280));var t=e.stateNode;t&&(t=al(t),Pe(e.stateNode,e.type,t))}}function ze(e){Ne?Te?Te.push(e):Te=[e]:Ne=e}function Oe(){if(Ne){var e=Ne,t=Te;if(Te=Ne=null,Le(e),t)for(e=0;e(r=31-Wt(r))?0:1<n;n++)t.push(e);return t}function $t(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-Wt(t)]=n}var Wt=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(Ht(e)/Qt|0)|0},Ht=Math.log,Qt=Math.LN2;var qt=a.unstable_UserBlockingPriority,Kt=a.unstable_runWithPriority,Yt=!0;function Xt(e,t,n,r){De||Fe();var l=Zt,a=De;De=!0;try{Me(l,e,t,n,r)}finally{(De=a)||Ae()}}function Gt(e,t,n,r){Kt(qt,Zt.bind(null,e,t,n,r))}function Zt(e,t,n,r){var l;if(Yt)if((l=0===(4&t))&&0=Un),jn=String.fromCharCode(32),Bn=!1;function $n(e,t){switch(e){case"keyup":return-1!==In.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Wn(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var Hn=!1;var Qn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function qn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Qn[e.type]:"textarea"===t}function Kn(e,t,n,r){ze(r),0<(t=Dr(t,"onChange")).length&&(n=new pn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Yn=null,Xn=null;function Gn(e){Tr(e,0)}function Zn(e){if(G(ll(e)))return e}function Jn(e,t){if("change"===e)return t}var er=!1;if(f){var tr;if(f){var nr="oninput"in document;if(!nr){var rr=document.createElement("div");rr.setAttribute("oninput","return;"),nr="function"===typeof rr.oninput}tr=nr}else tr=!1;er=tr&&(!document.documentMode||9=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=pr(r)}}function mr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?mr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function vr(){for(var e=window,t=Z();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=Z((e=t.contentWindow).document)}return t}function gr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var yr=f&&"documentMode"in document&&11>=document.documentMode,br=null,wr=null,kr=null,Sr=!1;function Er(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;Sr||null==br||br!==Z(r)||("selectionStart"in(r=br)&&gr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},kr&&dr(kr,r)||(kr=r,0<(r=Dr(wr,"onSelect")).length&&(t=new pn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=br)))}Ft("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Ft("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Ft(Mt,2);for(var _r="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),xr=0;xr<_r.length;xr++)Rt.set(_r[xr],0);c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),s("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),s("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),s("onBeforeInput",["compositionend","keypress","textInput","paste"]),s("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Cr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Pr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Cr));function Nr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,l,a,u,i,s){if(Ye.apply(this,arguments),We){if(!We)throw Error(o(198));var c=He;We=!1,He=null,Qe||(Qe=!0,qe=c)}}(r,t,void 0,e),e.currentTarget=null}function Tr(e,t){t=0!==(4&t);for(var n=0;nil||(e.current=ul[il],ul[il]=null,il--)}function fl(e,t){il++,ul[il]=e.current,e.current=t}var dl={},pl=sl(dl),hl=sl(!1),ml=dl;function vl(e,t){var n=e.type.contextTypes;if(!n)return dl;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l,a={};for(l in n)a[l]=t[l];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function gl(e){return null!==(e=e.childContextTypes)&&void 0!==e}function yl(){cl(hl),cl(pl)}function bl(e,t,n){if(pl.current!==dl)throw Error(o(168));fl(pl,t),fl(hl,n)}function wl(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var a in r=r.getChildContext())if(!(a in e))throw Error(o(108,q(t)||"Unknown",a));return l({},n,r)}function kl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||dl,ml=pl.current,fl(pl,e),fl(hl,hl.current),!0}function Sl(e,t,n){var r=e.stateNode;if(!r)throw Error(o(169));n?(e=wl(e,t,ml),r.__reactInternalMemoizedMergedChildContext=e,cl(hl),cl(pl),fl(pl,e)):cl(hl),fl(hl,n)}var El=null,_l=null,xl=a.unstable_runWithPriority,Cl=a.unstable_scheduleCallback,Pl=a.unstable_cancelCallback,Nl=a.unstable_shouldYield,Tl=a.unstable_requestPaint,Ll=a.unstable_now,zl=a.unstable_getCurrentPriorityLevel,Ol=a.unstable_ImmediatePriority,Rl=a.unstable_UserBlockingPriority,Ml=a.unstable_NormalPriority,Fl=a.unstable_LowPriority,Il=a.unstable_IdlePriority,Dl={},Ul=void 0!==Tl?Tl:function(){},Al=null,Vl=null,jl=!1,Bl=Ll(),$l=1e4>Bl?Ll:function(){return Ll()-Bl};function Wl(){switch(zl()){case Ol:return 99;case Rl:return 98;case Ml:return 97;case Fl:return 96;case Il:return 95;default:throw Error(o(332))}}function Hl(e){switch(e){case 99:return Ol;case 98:return Rl;case 97:return Ml;case 96:return Fl;case 95:return Il;default:throw Error(o(332))}}function Ql(e,t){return e=Hl(e),xl(e,t)}function ql(e,t,n){return e=Hl(e),Cl(e,t,n)}function Kl(){if(null!==Vl){var e=Vl;Vl=null,Pl(e)}Yl()}function Yl(){if(!jl&&null!==Al){jl=!0;var e=0;try{var t=Al;Ql(99,(function(){for(;em?(v=f,f=null):v=f.sibling;var g=p(l,f,u[m],i);if(null===g){null===f&&(f=v);break}e&&f&&null===g.alternate&&t(l,f),o=a(g,o,m),null===c?s=g:c.sibling=g,c=g,f=v}if(m===u.length)return n(l,f),s;if(null===f){for(;mv?(g=m,m=null):g=m.sibling;var b=p(l,m,y.value,s);if(null===b){null===m&&(m=g);break}e&&m&&null===b.alternate&&t(l,m),u=a(b,u,v),null===f?c=b:f.sibling=b,f=b,m=g}if(y.done)return n(l,m),c;if(null===m){for(;!y.done;v++,y=i.next())null!==(y=d(l,y.value,s))&&(u=a(y,u,v),null===f?c=y:f.sibling=y,f=y);return c}for(m=r(l,m);!y.done;v++,y=i.next())null!==(y=h(m,l,v,y.value,s))&&(e&&null!==y.alternate&&m.delete(null===y.key?v:y.key),u=a(y,u,v),null===f?c=y:f.sibling=y,f=y);return e&&m.forEach((function(e){return t(l,e)})),c}return function(e,r,a,i){var s="object"===typeof a&&null!==a&&a.type===_&&null===a.key;s&&(a=a.props.children);var c="object"===typeof a&&null!==a;if(c)switch(a.$$typeof){case S:e:{for(c=a.key,s=r;null!==s;){if(s.key===c){if(7===s.tag){if(a.type===_){n(e,s.sibling),(r=l(s,a.props.children)).return=e,e=r;break e}}else if(s.elementType===a.type){n(e,s.sibling),(r=l(s,a.props)).ref=Ea(e,s,a),r.return=e,e=r;break e}n(e,s);break}t(e,s),s=s.sibling}a.type===_?((r=Ki(a.props.children,e.mode,i,a.key)).return=e,e=r):((i=qi(a.type,a.key,a.props,null,e.mode,i)).ref=Ea(e,r,a),i.return=e,e=i)}return u(e);case E:e:{for(s=a.key;null!==r;){if(r.key===s){if(4===r.tag&&r.stateNode.containerInfo===a.containerInfo&&r.stateNode.implementation===a.implementation){n(e,r.sibling),(r=l(r,a.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Gi(a,e.mode,i)).return=e,e=r}return u(e)}if("string"===typeof a||"number"===typeof a)return a=""+a,null!==r&&6===r.tag?(n(e,r.sibling),(r=l(r,a)).return=e,e=r):(n(e,r),(r=Xi(a,e.mode,i)).return=e,e=r),u(e);if(Sa(a))return m(e,r,a,i);if(B(a))return v(e,r,a,i);if(c&&_a(e,a),"undefined"===typeof a&&!s)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(o(152,q(e.type)||"Component"))}return n(e,r)}}var Ca=xa(!0),Pa=xa(!1),Na={},Ta=sl(Na),La=sl(Na),za=sl(Na);function Oa(e){if(e===Na)throw Error(o(174));return e}function Ra(e,t){switch(fl(za,t),fl(La,e),fl(Ta,Na),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:he(null,"");break;default:t=he(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}cl(Ta),fl(Ta,t)}function Ma(){cl(Ta),cl(La),cl(za)}function Fa(e){Oa(za.current);var t=Oa(Ta.current),n=he(t,e.type);t!==n&&(fl(La,e),fl(Ta,n))}function Ia(e){La.current===e&&(cl(Ta),cl(La))}var Da=sl(0);function Ua(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(64&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Aa=null,Va=null,ja=!1;function Ba(e,t){var n=Wi(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function $a(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function Wa(e){if(ja){var t=Va;if(t){var n=t;if(!$a(e,t)){if(!(t=Kr(n.nextSibling))||!$a(e,t))return e.flags=-1025&e.flags|2,ja=!1,void(Aa=e);Ba(Aa,n)}Aa=e,Va=Kr(t.firstChild)}else e.flags=-1025&e.flags|2,ja=!1,Aa=e}}function Ha(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Aa=e}function Qa(e){if(e!==Aa)return!1;if(!ja)return Ha(e),ja=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Wr(t,e.memoizedProps))for(t=Va;t;)Ba(e,t),t=Kr(t.nextSibling);if(Ha(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(o(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Va=Kr(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Va=null}}else Va=Aa?Kr(e.stateNode.nextSibling):null;return!0}function qa(){Va=Aa=null,ja=!1}var Ka=[];function Ya(){for(var e=0;ea))throw Error(o(301));a+=1,to=eo=null,t.updateQueue=null,Xa.current=Fo,e=n(r,l)}while(ro)}if(Xa.current=Oo,t=null!==eo&&null!==eo.next,Za=0,to=eo=Ja=null,no=!1,t)throw Error(o(300));return e}function uo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===to?Ja.memoizedState=to=e:to=to.next=e,to}function io(){if(null===eo){var e=Ja.alternate;e=null!==e?e.memoizedState:null}else e=eo.next;var t=null===to?Ja.memoizedState:to.next;if(null!==t)to=t,eo=e;else{if(null===e)throw Error(o(310));e={memoizedState:(eo=e).memoizedState,baseState:eo.baseState,baseQueue:eo.baseQueue,queue:eo.queue,next:null},null===to?Ja.memoizedState=to=e:to=to.next=e}return to}function so(e,t){return"function"===typeof t?t(e):t}function co(e){var t=io(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=eo,l=r.baseQueue,a=n.pending;if(null!==a){if(null!==l){var u=l.next;l.next=a.next,a.next=u}r.baseQueue=l=a,n.pending=null}if(null!==l){l=l.next,r=r.baseState;var i=u=a=null,s=l;do{var c=s.lane;if((Za&c)===c)null!==i&&(i=i.next={lane:0,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null}),r=s.eagerReducer===e?s.eagerState:e(r,s.action);else{var f={lane:c,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null};null===i?(u=i=f,a=r):i=i.next=f,Ja.lanes|=c,ju|=c}s=s.next}while(null!==s&&s!==l);null===i?a=r:i.next=u,cr(r,t.memoizedState)||(Do=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=i,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function fo(e){var t=io(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=n.dispatch,l=n.pending,a=t.memoizedState;if(null!==l){n.pending=null;var u=l=l.next;do{a=e(a,u.action),u=u.next}while(u!==l);cr(a,t.memoizedState)||(Do=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function po(e,t,n){var r=t._getVersion;r=r(t._source);var l=t._workInProgressVersionPrimary;if(null!==l?e=l===r:(e=e.mutableReadLanes,(e=(Za&e)===e)&&(t._workInProgressVersionPrimary=r,Ka.push(t))),e)return n(t._source);throw Ka.push(t),Error(o(350))}function ho(e,t,n,r){var l=Ru;if(null===l)throw Error(o(349));var a=t._getVersion,u=a(t._source),i=Xa.current,s=i.useState((function(){return po(l,t,n)})),c=s[1],f=s[0];s=to;var d=e.memoizedState,p=d.refs,h=p.getSnapshot,m=d.source;d=d.subscribe;var v=Ja;return e.memoizedState={refs:p,source:t,subscribe:r},i.useEffect((function(){p.getSnapshot=n,p.setSnapshot=c;var e=a(t._source);if(!cr(u,e)){e=n(t._source),cr(f,e)||(c(e),e=pi(v),l.mutableReadLanes|=e&l.pendingLanes),e=l.mutableReadLanes,l.entangledLanes|=e;for(var r=l.entanglements,o=e;0n?98:n,(function(){e(!0)})),Ql(97<\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),"select"===n&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[Zr]=t,e[Jr]=r,Ko(e,t),t.stateNode=e,s=xe(n,r),n){case"dialog":Lr("cancel",e),Lr("close",e),a=r;break;case"iframe":case"object":case"embed":Lr("load",e),a=r;break;case"video":case"audio":for(a=0;aQu&&(t.flags|=64,u=!0,ou(r,!1),t.lanes=33554432)}else{if(!u)if(null!==(e=Ua(s))){if(t.flags|=64,u=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),ou(r,!0),null===r.tail&&"hidden"===r.tailMode&&!s.alternate&&!ja)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*$l()-r.renderingStartTime>Qu&&1073741824!==n&&(t.flags|=64,u=!0,ou(r,!1),t.lanes=33554432);r.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=r.last)?n.sibling=s:t.child=s,r.last=s)}return null!==r.tail?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=$l(),n.sibling=null,t=Da.current,fl(Da,u?1&t|2:1&t),n):null;case 23:case 24:return Ei(),null!==e&&null!==e.memoizedState!==(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(o(156,t.tag))}function iu(e){switch(e.tag){case 1:gl(e.type)&&yl();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(Ma(),cl(hl),cl(pl),Ya(),0!==(64&(t=e.flags)))throw Error(o(285));return e.flags=-4097&t|64,e;case 5:return Ia(e),null;case 13:return cl(Da),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return cl(Da),null;case 4:return Ma(),null;case 10:return ra(e),null;case 23:case 24:return Ei(),null;default:return null}}function su(e,t){try{var n="",r=t;do{n+=Q(r),r=r.return}while(r);var l=n}catch(a){l="\nError generating stack: "+a.message+"\n"+a.stack}return{value:e,source:t,stack:l}}function cu(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}Ko=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Yo=function(e,t,n,r){var a=e.memoizedProps;if(a!==r){e=t.stateNode,Oa(Ta.current);var o,u=null;switch(n){case"input":a=J(e,a),r=J(e,r),u=[];break;case"option":a=ae(e,a),r=ae(e,r),u=[];break;case"select":a=l({},a,{value:void 0}),r=l({},r,{value:void 0}),u=[];break;case"textarea":a=ue(e,a),r=ue(e,r),u=[];break;default:"function"!==typeof a.onClick&&"function"===typeof r.onClick&&(e.onclick=Vr)}for(f in _e(n,r),n=null,a)if(!r.hasOwnProperty(f)&&a.hasOwnProperty(f)&&null!=a[f])if("style"===f){var s=a[f];for(o in s)s.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==f&&"children"!==f&&"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&"autoFocus"!==f&&(i.hasOwnProperty(f)?u||(u=[]):(u=u||[]).push(f,null));for(f in r){var c=r[f];if(s=null!=a?a[f]:void 0,r.hasOwnProperty(f)&&c!==s&&(null!=c||null!=s))if("style"===f)if(s){for(o in s)!s.hasOwnProperty(o)||c&&c.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in c)c.hasOwnProperty(o)&&s[o]!==c[o]&&(n||(n={}),n[o]=c[o])}else n||(u||(u=[]),u.push(f,n)),n=c;else"dangerouslySetInnerHTML"===f?(c=c?c.__html:void 0,s=s?s.__html:void 0,null!=c&&s!==c&&(u=u||[]).push(f,c)):"children"===f?"string"!==typeof c&&"number"!==typeof c||(u=u||[]).push(f,""+c):"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&(i.hasOwnProperty(f)?(null!=c&&"onScroll"===f&&Lr("scroll",e),u||s===c||(u=[])):"object"===typeof c&&null!==c&&c.$$typeof===F?c.toString():(u=u||[]).push(f,c))}n&&(u=u||[]).push("style",n);var f=u;(t.updateQueue=f)&&(t.flags|=4)}},Xo=function(e,t,n,r){n!==r&&(t.flags|=4)};var fu="function"===typeof WeakMap?WeakMap:Map;function du(e,t,n){(n=ca(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Xu||(Xu=!0,Gu=r),cu(0,t)},n}function pu(e,t,n){(n=ca(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var l=t.value;n.payload=function(){return cu(0,t),r(l)}}var a=e.stateNode;return null!==a&&"function"===typeof a.componentDidCatch&&(n.callback=function(){"function"!==typeof r&&(null===Zu?Zu=new Set([this]):Zu.add(this),cu(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var hu="function"===typeof WeakSet?WeakSet:Set;function mu(e){var t=e.ref;if(null!==t)if("function"===typeof t)try{t(null)}catch(n){Vi(e,n)}else t.current=null}function vu(e,t){switch(t.tag){case 0:case 11:case 15:case 22:case 5:case 6:case 4:case 17:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Gl(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&qr(t.stateNode.containerInfo))}throw Error(o(163))}function gu(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(3===(3&e.tag)){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var l=e;r=l.next,0!==(4&(l=l.tag))&&0!==(1&l)&&(Di(n,e),Ii(n,e)),e=r}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:Gl(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&ha(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:case 1:e=n.child.stateNode}ha(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&$r(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:case 23:case 24:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&St(n)))))}throw Error(o(163))}function yu(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)"function"===typeof(r=r.style).setProperty?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var l=n.memoizedProps.style;l=void 0!==l&&null!==l&&l.hasOwnProperty("display")?l.display:null,r.style.display=ke("display",l)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function bu(e,t){if(_l&&"function"===typeof _l.onCommitFiberUnmount)try{_l.onCommitFiberUnmount(El,t)}catch(a){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e=e.next;do{var r=n,l=r.destroy;if(r=r.tag,void 0!==l)if(0!==(4&r))Di(t,n);else{r=t;try{l()}catch(a){Vi(r,a)}}n=n.next}while(n!==e)}break;case 1:if(mu(t),"function"===typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(a){Vi(t,a)}break;case 5:mu(t);break;case 4:xu(e,t)}}function wu(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function ku(e){return 5===e.tag||3===e.tag||4===e.tag}function Su(e){e:{for(var t=e.return;null!==t;){if(ku(t))break e;t=t.return}throw Error(o(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(o(161))}16&n.flags&&(ye(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||ku(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}r?Eu(e,n,t):_u(e,n,t)}function Eu(e,t,n){var r=e.tag,l=5===r||6===r;if(l)e=l?e.stateNode:e.stateNode.instance,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=Vr));else if(4!==r&&null!==(e=e.child))for(Eu(e,t,n),e=e.sibling;null!==e;)Eu(e,t,n),e=e.sibling}function _u(e,t,n){var r=e.tag,l=5===r||6===r;if(l)e=l?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(_u(e,t,n),e=e.sibling;null!==e;)_u(e,t,n),e=e.sibling}function xu(e,t){for(var n,r,l=t,a=!1;;){if(!a){a=l.return;e:for(;;){if(null===a)throw Error(o(160));switch(n=a.stateNode,a.tag){case 5:r=!1;break e;case 3:case 4:n=n.containerInfo,r=!0;break e}a=a.return}a=!0}if(5===l.tag||6===l.tag){e:for(var u=e,i=l,s=i;;)if(bu(u,s),null!==s.child&&4!==s.tag)s.child.return=s,s=s.child;else{if(s===i)break e;for(;null===s.sibling;){if(null===s.return||s.return===i)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}r?(u=n,i=l.stateNode,8===u.nodeType?u.parentNode.removeChild(i):u.removeChild(i)):n.removeChild(l.stateNode)}else if(4===l.tag){if(null!==l.child){n=l.stateNode.containerInfo,r=!0,l.child.return=l,l=l.child;continue}}else if(bu(e,l),null!==l.child){l.child.return=l,l=l.child;continue}if(l===t)break;for(;null===l.sibling;){if(null===l.return||l.return===t)return;4===(l=l.return).tag&&(a=!1)}l.sibling.return=l.return,l=l.sibling}}function Cu(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var r=n=n.next;do{3===(3&r.tag)&&(e=r.destroy,r.destroy=void 0,void 0!==e&&e()),r=r.next}while(r!==n)}return;case 1:case 12:case 17:return;case 5:if(null!=(n=t.stateNode)){r=t.memoizedProps;var l=null!==e?e.memoizedProps:r;e=t.type;var a=t.updateQueue;if(t.updateQueue=null,null!==a){for(n[Jr]=r,"input"===e&&"radio"===r.type&&null!=r.name&&te(n,r),xe(e,l),t=xe(e,r),l=0;ll&&(l=u),n&=~a}if(n=l,10<(n=(120>(n=$l()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Tu(n/1960))-n)){e.timeoutHandle=Hr(Oi.bind(null,e),n);break}Oi(e);break;default:throw Error(o(329))}}return vi(e,$l()),e.callbackNode===t?gi.bind(null,e):null}function yi(e,t){for(t&=~$u,t&=~Bu,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0 component higher in the tree to provide a loading indicator or placeholder to display.")}5!==Uu&&(Uu=2),i=su(i,u),d=o;do{switch(d.tag){case 3:a=i,d.flags|=4096,t&=-t,d.lanes|=t,da(d,du(0,a,t));break e;case 1:a=i;var k=d.type,S=d.stateNode;if(0===(64&d.flags)&&("function"===typeof k.getDerivedStateFromError||null!==S&&"function"===typeof S.componentDidCatch&&(null===Zu||!Zu.has(S)))){d.flags|=4096,t&=-t,d.lanes|=t,da(d,pu(d,a,t));break e}}d=d.return}while(null!==d)}zi(n)}catch(E){t=E,Mu===n&&null!==n&&(Mu=n=n.return);continue}break}}function Ci(){var e=Lu.current;return Lu.current=Oo,null===e?Oo:e}function Pi(e,t){var n=Ou;Ou|=16;var r=Ci();for(Ru===e&&Fu===t||_i(e,t);;)try{Ni();break}catch(l){xi(e,l)}if(na(),Ou=n,Lu.current=r,null!==Mu)throw Error(o(261));return Ru=null,Fu=0,Uu}function Ni(){for(;null!==Mu;)Li(Mu)}function Ti(){for(;null!==Mu&&!Nl();)Li(Mu)}function Li(e){var t=Ku(e.alternate,e,Iu);e.memoizedProps=e.pendingProps,null===t?zi(e):Mu=t,zu.current=null}function zi(e){var t=e;do{var n=t.alternate;if(e=t.return,0===(2048&t.flags)){if(null!==(n=uu(n,t,Iu)))return void(Mu=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!==(1073741824&Iu)||0===(4&n.mode)){for(var r=0,l=n.child;null!==l;)r|=l.lanes|l.childLanes,l=l.sibling;n.childLanes=r}null!==e&&0===(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1u&&(i=u,u=S,S=i),i=hr(b,S),a=hr(b,u),i&&a&&(1!==k.rangeCount||k.anchorNode!==i.node||k.anchorOffset!==i.offset||k.focusNode!==a.node||k.focusOffset!==a.offset)&&((w=w.createRange()).setStart(i.node,i.offset),k.removeAllRanges(),S>u?(k.addRange(w),k.extend(a.node,a.offset)):(w.setEnd(a.node,a.offset),k.addRange(w))))),w=[];for(k=b;k=k.parentNode;)1===k.nodeType&&w.push({element:k,left:k.scrollLeft,top:k.scrollTop});for("function"===typeof b.focus&&b.focus(),b=0;b$l()-Hu?_i(e,0):$u|=n),vi(e,t)}function Bi(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(0===(2&(t=e.mode))?t=1:0===(4&t)?t=99===Wl()?1:2:(0===ii&&(ii=Vu),0===(t=jt(62914560&~ii))&&(t=4194304))),n=di(),null!==(e=mi(e,t))&&($t(e,t,n),vi(e,n))}function $i(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Wi(e,t,n,r){return new $i(e,t,n,r)}function Hi(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Qi(e,t){var n=e.alternate;return null===n?((n=Wi(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function qi(e,t,n,r,l,a){var u=2;if(r=e,"function"===typeof e)Hi(e)&&(u=1);else if("string"===typeof e)u=5;else e:switch(e){case _:return Ki(n.children,l,a,t);case I:u=8,l|=16;break;case x:u=8,l|=1;break;case C:return(e=Wi(12,n,t,8|l)).elementType=C,e.type=C,e.lanes=a,e;case L:return(e=Wi(13,n,t,l)).type=L,e.elementType=L,e.lanes=a,e;case z:return(e=Wi(19,n,t,l)).elementType=z,e.lanes=a,e;case D:return Yi(n,l,a,t);case U:return(e=Wi(24,n,t,l)).elementType=U,e.lanes=a,e;default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case P:u=10;break e;case N:u=9;break e;case T:u=11;break e;case O:u=14;break e;case R:u=16,r=null;break e;case M:u=22;break e}throw Error(o(130,null==e?e:typeof e,""))}return(t=Wi(u,n,t,l)).elementType=e,t.type=r,t.lanes=a,t}function Ki(e,t,n,r){return(e=Wi(7,e,r,t)).lanes=n,e}function Yi(e,t,n,r){return(e=Wi(23,e,r,t)).elementType=D,e.lanes=n,e}function Xi(e,t,n){return(e=Wi(6,e,null,t)).lanes=n,e}function Gi(e,t,n){return(t=Wi(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Zi(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Bt(0),this.expirationTimes=Bt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Bt(0),this.mutableSourceEagerHydrationData=null}function Ji(e,t,n){var r=3=b},a=function(){},t.unstable_forceFrameRate=function(e){0>e||125>>1,l=e[r];if(!(void 0!==l&&0x(o,n))void 0!==i&&0>x(i,o)?(e[r]=i,e[u]=n,r=u):(e[r]=o,e[a]=n,r=a);else{if(!(void 0!==i&&0>x(i,n)))break e;e[r]=i,e[u]=n,r=u}}}return t}return null}function x(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var C=[],P=[],N=1,T=null,L=3,z=!1,O=!1,R=!1;function M(e){for(var t=E(P);null!==t;){if(null===t.callback)_(P);else{if(!(t.startTime<=e))break;_(P),t.sortIndex=t.expirationTime,S(C,t)}t=E(P)}}function F(e){if(R=!1,M(e),!O)if(null!==E(C))O=!0,n(I);else{var t=E(P);null!==t&&r(F,t.startTime-e)}}function I(e,n){O=!1,R&&(R=!1,l()),z=!0;var a=L;try{for(M(n),T=E(C);null!==T&&(!(T.expirationTime>n)||e&&!t.unstable_shouldYield());){var o=T.callback;if("function"===typeof o){T.callback=null,L=T.priorityLevel;var u=o(T.expirationTime<=n);n=t.unstable_now(),"function"===typeof u?T.callback=u:T===E(C)&&_(C),M(n)}else _(C);T=E(C)}if(null!==T)var i=!0;else{var s=E(P);null!==s&&r(F,s.startTime-n),i=!1}return i}finally{T=null,L=a,z=!1}}var D=a;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){O||z||(O=!0,n(I))},t.unstable_getCurrentPriorityLevel=function(){return L},t.unstable_getFirstCallbackNode=function(){return E(C)},t.unstable_next=function(e){switch(L){case 1:case 2:case 3:var t=3;break;default:t=L}var n=L;L=t;try{return e()}finally{L=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=D,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=L;L=e;try{return t()}finally{L=n}},t.unstable_scheduleCallback=function(e,a,o){var u=t.unstable_now();switch("object"===typeof o&&null!==o?o="number"===typeof(o=o.delay)&&0u?(e.sortIndex=o,S(P,e),null===E(C)&&e===E(P)&&(R?l():R=!0,r(F,o-u))):(e.sortIndex=i,S(C,e),O||z||(O=!0,n(I))),e},t.unstable_wrapCallback=function(e){var t=L;return function(){var n=L;L=t;try{return e.apply(this,arguments)}finally{L=n}}}},3840:function(e,t,n){e.exports=n(53)}}]);
\ No newline at end of file
diff --git a/_next/static/chunks/main-c586b89e07064d4a.js b/_next/static/chunks/main-c586b89e07064d4a.js
deleted file mode 100644
index 12b3bb3f..00000000
--- a/_next/static/chunks/main-c586b89e07064d4a.js
+++ /dev/null
@@ -1 +0,0 @@
-(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[179],{6086:function(e){"use strict";var t=Object.assign.bind(Object);e.exports=t,e.exports.default=e.exports},37:function(){"trimStart"in String.prototype||(String.prototype.trimStart=String.prototype.trimLeft),"trimEnd"in String.prototype||(String.prototype.trimEnd=String.prototype.trimRight),"description"in Symbol.prototype||Object.defineProperty(Symbol.prototype,"description",{configurable:!0,get:function(){var e=/\((.*)\)/.exec(this.toString());return e?e[1]:void 0}}),Array.prototype.flat||(Array.prototype.flat=function(e,t){return t=this.concat.apply([],this),e>1&&t.some(Array.isArray)?t.flat(e-1):t},Array.prototype.flatMap=function(e,t){return this.map(e,t).flat()}),Promise.prototype.finally||(Promise.prototype.finally=function(e){if("function"!=typeof e)return this.then(e,e);var t=this.constructor||Promise;return this.then((function(r){return t.resolve(e()).then((function(){return r}))}),(function(r){return t.resolve(e()).then((function(){throw r}))}))})},6007:function(e,t){"use strict";function r(e,t){return null!=t&&"undefined"!==typeof Symbol&&t[Symbol.hasInstance]?t[Symbol.hasInstance](e):e instanceof t}Object.defineProperty(t,"__esModule",{value:!0}),t.isEqualNode=a,t.default=function(){var e=null;return{mountedInstances:new Set,updateHead:function(t){var r=e=Promise.resolve().then((function(){if(r===e){e=null;var n={};t.forEach((function(e){if("link"===e.type&&e.props["data-optimized-fonts"]){if(document.querySelector('style[data-href="'.concat(e.props["data-href"],'"]')))return;e.props.href=e.props["data-href"],e.props["data-href"]=void 0}var t=n[e.type]||[];t.push(e),n[e.type]=t}));var i=n.title?n.title[0]:null,u="";if(i){var c=i.props.children;u="string"===typeof c?c:Array.isArray(c)?c.join(""):""}u!==document.title&&(document.title=u),["meta","base","link","style","script"].forEach((function(e){!function(e,t){var r=document.getElementsByTagName("head")[0],n=r.querySelector("meta[name=next-head-count]");0;for(var i=Number(n.content),u=[],c=0,s=n.previousElementSibling;ce.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&void 0!==f[0]?f[0]:{},n=U,e.prev=3,e.next=6,re.routeLoader.whenEntrypoint("/_app");case 6:if(!("error"in(a=e.sent))){e.next=9;break}throw a.error;case 9:i=a.component,u=a.exports,ie=i,c=u&&u.reportWebVitals,ue=function(e){var t,r=e.id,n=e.name,o=e.startTime,a=e.value,i=e.duration,u=e.entryType,s=e.entries,l="".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12);s&&s.length&&(t=s[0].startTime);var f={id:r||l,name:n,startTime:o||t,value:null==a?i:a,label:"mark"===u||"measure"===u?"custom":"web-vital"};null===c||void 0===c||c(f),C.trackWebVitalMetric(f)},e.next=17;break;case 17:return e.next=19,re.routeLoader.whenEntrypoint(W);case 19:e.t0=e.sent;case 20:if(!("error"in(s=e.t0))){e.next=23;break}throw s.error;case 23:le=s.component,e.next=28;break;case 28:e.next=33;break;case 30:e.prev=30,e.t1=e.catch(3),n=A.getProperError(e.t1);case 33:if(!window.__NEXT_PRELOADREADY){e.next=37;break}return e.next=37,window.__NEXT_PRELOADREADY($);case 37:if(t.router=ae=k.createRouter(W,B,te,{initialProps:H,pageLoader:re,App:ie,Component:le,wrapApp:xe,err:n,isFallback:Boolean(X),subscription:function(e,t,r){return ve(Object.assign({},e,{App:t,scroll:r}))},locale:Y,locales:K,defaultLocale:Z,domainLocales:Q,isPreview:J}),l={App:ie,initial:!0,Component:le,props:H,err:n},!r.beforeRender){e.next=42;break}return e.next=42,r.beforeRender();case 42:ve(l);case 43:case"end":return e.stop()}}),e,null,[[3,30]])}))),de.apply(this,arguments)}function he(){return(he=T(o.default.mark((function e(t){var r;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.err){e.next=4;break}return e.next=3,ye(t);case 3:return e.abrupt("return");case 4:return e.prev=4,e.next=7,Ee(t);case 7:e.next=17;break;case 9:if(e.prev=9,e.t0=e.catch(4),!(r=A.getProperError(e.t0)).cancelled){e.next=14;break}throw r;case 14:return e.next=17,ye(D({},t,{err:r}));case 17:case"end":return e.stop()}}),e,null,[[4,9]])})))).apply(this,arguments)}function ve(e){return he.apply(this,arguments)}function ye(e){var t=e.App,n=e.err;return console.error(n),console.error("A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred"),re.loadPage("/_error").then((function(e){var t=e.page,n=e.styleSheets;return(null===Se||void 0===Se?void 0:Se.Component)===t?Promise.resolve().then((function(){return function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(9185))})).then((function(e){return{ErrorComponent:e.default,styleSheets:[]}})):{ErrorComponent:t,styleSheets:n}})).then((function(r){var o=r.ErrorComponent,a=r.styleSheets,i=xe(t),u={Component:o,AppTree:i,router:ae,ctx:{err:n,pathname:W,query:B,asPath:te,AppTree:i}};return Promise.resolve(e.props?e.props:S.loadGetInitialProps(t,u)).then((function(t){return Ee(D({},e,{err:n,Component:o,styleSheets:a,props:t}))}))}))}t.emitter=pe;var me=!0;function ge(){S.ST&&(performance.mark("afterHydrate"),performance.measure("Next.js-before-hydration","navigationStart","beforeRender"),performance.measure("Next.js-hydration","beforeRender","afterHydrate"),ue&&performance.getEntriesByName("Next.js-hydration").forEach(ue),we())}function be(){if(S.ST){performance.mark("afterRender");var e=performance.getEntriesByName("routeChange","mark");e.length&&(performance.measure("Next.js-route-change-to-render",e[0].name,"beforeRender"),performance.measure("Next.js-render","beforeRender","afterRender"),ue&&(performance.getEntriesByName("Next.js-render").forEach(ue),performance.getEntriesByName("Next.js-route-change-to-render").forEach(ue)),we(),["Next.js-route-change-to-render","Next.js-render"].forEach((function(e){return performance.clearMeasures(e)})))}}function we(){["beforeRender","afterHydrate","afterRender","routeChange"].forEach((function(e){return performance.clearMarks(e)}))}function _e(e){var t=e.children;return h.default.createElement(fe,{fn:function(e){return ye({App:ie,err:e}).catch((function(e){return console.error("Error rendering page: ",e)}))}},h.default.createElement(g.RouterContext.Provider,{value:k.makePublicRouterInstance(ae)},h.default.createElement(y.HeadManagerContext.Provider,{value:ce},h.default.createElement(M.ImageConfigContext.Provider,{value:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default"}},t))))}function Pe(e,t){return h.default.createElement(e,Object.assign({},t))}var Se,xe=function(e){return function(t){var r=D({},t,{Component:le,err:U,router:ae});return h.default.createElement(_e,null,Pe(e,r))}};function Ee(e){var t=function(){s()},r=e.App,n=e.Component,o=e.props,a=e.err,i=e.__N_RSC,u="initial"in e?void 0:e.styleSheets;n=n||Se.Component;var c=D({},o=o||Se.props,{Component:!!i?undefined:n,err:a,router:ae});Se=c;var s,l=!1,f=new Promise((function(e,t){oe&&oe(),s=function(){oe=null,e()},oe=function(){l=!0,oe=null;var e=new Error("Cancel rendering route");e.cancelled=!0,t(e)}}));!function(){if(!u)return!1;var e=q(document.querySelectorAll("style[data-n-href]")),t=new Set(e.map((function(e){return e.getAttribute("data-n-href")}))),r=document.querySelector("noscript[data-n-css]"),n=null===r||void 0===r?void 0:r.getAttribute("data-n-css");u.forEach((function(e){var r=e.href,o=e.text;if(!t.has(r)){var a=document.createElement("style");a.setAttribute("data-n-href",r),a.setAttribute("media","x"),n&&a.setAttribute("nonce",n),document.head.appendChild(a),a.appendChild(document.createTextNode(o))}}))}();var p=h.default.createElement(h.default.Fragment,null,h.default.createElement(je,{callback:function(){if(u&&!l){for(var t=new Set(u.map((function(e){return e.href}))),r=q(document.querySelectorAll("style[data-n-href]")),n=r.map((function(e){return e.getAttribute("data-n-href")})),o=0;oe.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var p=new Map,d=new Set,h=["onLoad","dangerouslySetInnerHTML","children","onError","strategy"],v=function(e){var t=e.src,r=e.id,n=e.onLoad,a=void 0===n?function(){}:n,i=e.dangerouslySetInnerHTML,c=e.children,s=void 0===c?"":c,l=e.strategy,f=void 0===l?"afterInteractive":l,v=e.onError,y=r||t;if(!y||!d.has(y)){if(p.has(t))return d.add(y),void p.get(t).then(a,v);var m=document.createElement("script"),g=new Promise((function(e,t){m.addEventListener("load",(function(t){e(),a&&a.call(this,t)})),m.addEventListener("error",(function(e){t(e)}))})).catch((function(e){v&&v(e)}));t&&p.set(t,g),d.add(y),i?m.innerHTML=i.__html||"":s?m.textContent="string"===typeof s?s:Array.isArray(s)?s.join(""):"":t&&(m.src=t);var b=!0,w=!1,_=void 0;try{for(var P,S=Object.entries(e)[Symbol.iterator]();!(b=(P=S.next()).done);b=!0){var x=o(P.value,2),E=x[0],O=x[1];if(void 0!==O&&!h.includes(E)){var j=u.DOMAttributeNames[E]||E.toLowerCase();m.setAttribute(j,O)}}}catch(R){w=!0,_=R}finally{try{b||null==S.return||S.return()}finally{if(w)throw _}}m.setAttribute("data-nscript",f),document.body.appendChild(m)}};function y(e){var t=e.strategy,r=void 0===t?"afterInteractive":t;"afterInteractive"===r?v(e):"lazyOnload"===r&&window.addEventListener("load",(function(){c.requestIdleCallback((function(){return v(e)}))}))}var m=function(e){var t=e.src,r=void 0===t?"":t,n=e.onLoad,o=void 0===n?function(){}:n,u=(e.dangerouslySetInnerHTML,e.strategy),s=void 0===u?"afterInteractive":u,p=e.onError,h=f(e,["src","onLoad","dangerouslySetInnerHTML","strategy","onError"]),y=a.useContext(i.HeadManagerContext),m=y.updateScripts,g=y.scripts,b=y.getIsSsr;return a.useEffect((function(){"afterInteractive"===s?v(e):"lazyOnload"===s&&function(e){"complete"===document.readyState?c.requestIdleCallback((function(){return v(e)})):window.addEventListener("load",(function(){c.requestIdleCallback((function(){return v(e)}))}))}(e)}),[e,s]),"beforeInteractive"===s&&(m?(g.beforeInteractive=(g.beforeInteractive||[]).concat([l({src:r,onLoad:o,onError:p},h)]),m(g)):b&&b()?d.add(h.id||r):b&&!b()&&v(e)),null};t.default=m},9831:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useRefreshRoot=function(){return n.useContext(o)},t.RefreshContext=void 0;var n=r(7294),o=n.createContext((function(e){}));t.RefreshContext=o},5834:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getBufferedVitalsMetrics=function(){return a},t.flushBufferedVitalsMetrics=function(){!0,a.length=0},t.trackWebVitalMetric=function(e){a.push(e),o.forEach((function(t){return t(e)}))},t.useWebVitalsReport=function(e){var t=n.useRef(0);0;n.useEffect((function(){for(var r=function(r){e(r),t.current=a.length},n=t.current;n0&&void 0!==arguments[0]?arguments[0]:{},t=e.ampFirst,r=void 0!==t&&t,n=e.hybrid,o=void 0!==n&&n,a=e.hasQuery,i=void 0!==a&&a;return r||o&&i}},8404:function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.HeadManagerContext=void 0;var o=((n=r(7294))&&n.__esModule?n:{default:n}).default.createContext({});t.HeadManagerContext=o},5443:function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Object.defineProperty(t,"__esModule",{value:!0}),t.defaultHead=l,t.default=void 0;var o,a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(7294)),i=(o=r(5188))&&o.__esModule?o:{default:o},u=r(2227),c=r(8404),s=r(3240);function l(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=[a.default.createElement("meta",{charSet:"utf-8"})];return e||t.push(a.default.createElement("meta",{name:"viewport",content:"width=device-width"})),t}function f(e,t){return"string"===typeof t||"number"===typeof t?e:t.type===a.default.Fragment?e.concat(a.default.Children.toArray(t.props.children).reduce((function(e,t){return"string"===typeof t||"number"===typeof t?e:e.concat(t)}),[])):e.concat(t)}var p=["name","httpEquiv","charSet","itemProp"];function d(e,t){return e.reduce((function(e,t){var r=a.default.Children.toArray(t.props.children);return e.concat(r)}),[]).reduce(f,[]).reverse().concat(l(t.inAmpMode)).filter(function(){var e=new Set,t=new Set,r=new Set,n={};return function(o){var a=!0,i=!1;if(o.key&&"number"!==typeof o.key&&o.key.indexOf("$")>0){i=!0;var u=o.key.slice(o.key.indexOf("$")+1);e.has(u)?a=!1:e.add(u)}switch(o.type){case"title":case"base":t.has(o.type)?a=!1:t.add(o.type);break;case"meta":for(var c=0,s=p.length;ce.length)&&(t=e.length);for(var r=0,n=new Array(t);r>>0,1)},emit:function(t){for(var r=arguments.length,o=new Array(r>1?r-1:0),a=1;ae.length)&&(t=e.length);for(var r=0,n=new Array(t);r-1||r>-1)&&(e=e.substring(0,t>-1?t:r)),e}function C(e){return""===(e=A(e))||e.startsWith("/")}function M(e){return function(e,t){if(!e.startsWith("/")||!t)return e;var r=A(e);return p.normalizePathTrailingSlash("".concat(t).concat(r))+e.substr(r.length)}(e,"")}function L(e){return(e=e.slice("".length)).startsWith("/")||(e="/".concat(e)),e}function T(e){if(e.startsWith("/")||e.startsWith("#")||e.startsWith("?"))return!0;try{var t=g.getLocationOrigin(),r=new URL(e,t);return r.origin===t&&C(r.pathname)}catch(n){return!1}}function I(e,t,r){var n="",o=x.getRouteRegex(e),a=o.groups,i=(t!==e?S.getRouteMatcher(o)(t):"")||r;n=e;var u=Object.keys(a);return u.every((function(e){var t=i[e]||"",r=a[e],o=r.repeat,u=r.optional,c="[".concat(o?"...":"").concat(e,"]");return u&&(c="".concat(t?"":"/","[").concat(c,"]")),o&&!Array.isArray(t)&&(t=[t]),(u||e in i)&&(n=n.replace(c,o?t.map((function(e){return encodeURIComponent(e)})).join("/"):encodeURIComponent(t))||"/")}))||(n=""),{params:u,result:n}}function N(e,t){var r={};return Object.keys(e).forEach((function(n){t.includes(n)||(r[n]=e[n])})),r}function D(e,t,r){var n,o="string"===typeof t?t:g.formatWithValidation(t),a=o.match(/^[a-zA-Z]{1,}:\/\//),i=a?o.substr(a[0].length):o;if((i.split("?")[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href passed to next/router: ".concat(o,", repeated forward-slashes (//) or backslashes \\ are not valid in the href"));var u=g.normalizeRepeatedSlashes(i);o=(a?a[0]:"")+u}if(!T(o))return r?[o]:o;try{n=new URL(o.startsWith("#")?e.asPath:e.pathname,"http://n")}catch(y){n=new URL("/","http://n")}try{var c=new URL(o,n);c.pathname=p.normalizePathTrailingSlash(c.pathname);var s="";if(b.isDynamicRoute(c.pathname)&&c.searchParams&&r){var l=_.searchParamsToUrlQuery(c.searchParams),f=I(c.pathname,c.pathname,l),d=f.result,h=f.params;d&&(s=g.formatWithValidation({pathname:d,hash:c.hash,query:N(l,h)}))}var v=c.origin===n.origin?c.href.slice(c.origin.length):c.href;return r?[v,s||v]:v}catch(m){return r?[o]:o}}function F(e){var t=g.getLocationOrigin();return e.startsWith(t)?e.substring(t.length):e}function q(e,t,r){var n=f(D(e,t,!0),2),o=n[0],a=n[1],i=g.getLocationOrigin(),u=o.startsWith(i),c=a&&a.startsWith(i);o=F(o),a=a?F(a):a;var s=u?o:M(o),l=r?F(D(e,r)):a||o;return{url:s,as:c?l:M(l)}}function H(e,t){var r=p.removePathTrailingSlash(v.denormalizePagePath(e));return"/404"===r||"/_error"===r?e:(t.includes(r)||t.some((function(t){if(b.isDynamicRoute(t)&&x.getRouteRegex(t).re.test(r))return e=t,!0})),p.removePathTrailingSlash(e))}var U=Symbol("SSG_DATA_NOT_FOUND");function W(e,t,r){return fetch(e,{credentials:"same-origin"}).then((function(n){if(!n.ok){if(t>1&&n.status>=500)return W(e,t-1,r);if(404===n.status)return n.json().then((function(e){if(e.notFound)return{notFound:U};throw new Error("Failed to load static props")}));throw new Error("Failed to load static props")}return r.text?n.text():n.json()}))}function B(e,t,r,n,o){var a=new URL(e,window.location.href).href;return void 0!==n[a]?n[a]:n[a]=W(e,t?3:1,{text:r}).catch((function(e){throw t||d.markAssetError(e),e})).then((function(e){return o||delete n[a],e})).catch((function(e){throw delete n[a],e}))}var z=function(){function e(t,r,n,o){var a=o.initialProps,i=o.pageLoader,u=o.App,c=o.wrapApp,s=o.Component,l=o.err,f=o.subscription,d=o.isFallback,h=o.locale,v=(o.locales,o.defaultLocale,o.domainLocales,o.isPreview),y=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.sdc={},this.sdr={},this.sde={},this._idx=0,this.onPopState=function(e){var t=e.state;if(t){if(t.__N){var r=t.url,n=t.as,o=t.options,a=t.idx;y._idx=a;var i=w.parseRelativeUrl(r).pathname;y.isSsr&&n===M(y.asPath)&&i===M(y.pathname)||y._bps&&!y._bps(t)||y.change("replaceState",r,n,Object.assign({},o,{shallow:o.shallow&&y._shallow,locale:o.locale||y.defaultLocale}),undefined)}}else{var u=y.pathname,c=y.query;y.changeState("replaceState",g.formatWithValidation({pathname:M(u),query:c}),g.getURL())}};var m,_=p.removePathTrailingSlash(t);(this.components={},"/_error"!==t)&&(this.components[_]={Component:s,initial:!0,props:a,err:l,__N_SSG:a&&a.__N_SSG,__N_SSP:a&&a.__N_SSP,__N_RSC:!!(null===(m=s)||void 0===m?void 0:m.__next_rsc__)});this.components["/_app"]={Component:u,styleSheets:[]},this.events=e.events,this.pageLoader=i;var P=b.isDynamicRoute(t)&&self.__NEXT_DATA__.autoExport;if(this.basePath="",this.sub=f,this.clc=null,this._wrapApp=c,this.isSsr=!0,this.isLocaleDomain=!1,this.isReady=!!(self.__NEXT_DATA__.gssp||self.__NEXT_DATA__.gip||self.__NEXT_DATA__.appGip&&!self.__NEXT_DATA__.gsp||!P&&!self.location.search),this.state={route:_,pathname:t,query:r,asPath:P?t:n,isPreview:!!v,locale:void 0,isFallback:d},"//"!==n.substr(0,2)){var S={locale:h};S._shouldResolveHref=n!==t,this.changeState("replaceState",g.formatWithValidation({pathname:M(t),query:r}),g.getURL(),S)}window.addEventListener("popstate",this.onPopState)}var t,r,n;return t=e,r=[{key:"reload",value:function(){window.location.reload()}},{key:"back",value:function(){window.history.back()}},{key:"push",value:function(e,t){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e=(r=q(this,e,t)).url,t=r.as,this.change("pushState",e,t,n)}},{key:"replace",value:function(e,t){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e=(r=q(this,e,t)).url,t=r.as,this.change("replaceState",e,t,n)}},{key:"change",value:function(t,r,n,a,i){var c=this;return u(o.default.mark((function u(){var s,v,y,m,_,P,E,O,j,D,F,W,B,z,G,V,$,X,Y,K,Q,J,Z,ee,te,re,ne,oe,ae,ie,ue,ce,se,le,fe,pe,de,he,ve,ye,me,ge,be;return o.default.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(T(r)){o.next=3;break}return window.location.href=r,o.abrupt("return",!1);case 3:s=a._h||a._shouldResolveHref||A(r)===A(n),v=l({},c.state),a._h&&(c.isReady=!0),y=v.locale,o.next=19;break;case 19:if(a._h||(c.isSsr=!1),g.ST&&performance.mark("routeChange"),m=a.shallow,_=void 0!==m&&m,P=a.scroll,E=void 0===P||P,O={shallow:_},c._inFlightRoute&&c.abortComponentLoad(c._inFlightRoute,O),n=M(R(C(n)?L(n):n,a.locale,c.defaultLocale)),j=k(C(n)?L(n):n,v.locale),c._inFlightRoute=n,D=y!==v.locale,a._h||!c.onlyAHashChange(j)||D){o.next=36;break}return v.asPath=j,e.events.emit("hashChangeStart",n,O),c.changeState(t,r,n,l({},a,{scroll:!1})),E&&c.scrollToHash(j),c.set(v,c.components[v.route],null),e.events.emit("hashChangeComplete",n,O),o.abrupt("return",!0);case 36:return F=w.parseRelativeUrl(r),W=F.pathname,B=F.query,o.prev=39,o.t0=f,o.next=44,Promise.all([c.pageLoader.getPageList(),d.getClientBuildManifest(),c.pageLoader.getMiddlewareList()]);case 44:o.t1=o.sent,G=(0,o.t0)(o.t1,2),z=G[0],G[1].__rewrites,o.next=55;break;case 51:return o.prev=51,o.t2=o.catch(39),window.location.href=n,o.abrupt("return",!1);case 55:if(c.urlIsNew(j)||D||(t="replaceState"),V=n,W=W?p.removePathTrailingSlash(L(W)):W,!s||"/_error"===W){o.next=70;break}a._shouldResolveHref=!0,o.next=69;break;case 65:V=$.asPath,$.matchedPage&&$.resolvedHref&&(W=$.resolvedHref,F.pathname=M(W),r=g.formatWithValidation(F)),o.next=70;break;case 69:F.pathname=H(W,z),F.pathname!==W&&(W=F.pathname,F.pathname=M(W),r=g.formatWithValidation(F));case 70:if(T(n)){o.next=75;break}o.next=73;break;case 73:return window.location.href=n,o.abrupt("return",!1);case 75:if(V=k(L(V),v.locale),1===a._h&&!b.isDynamicRoute(p.removePathTrailingSlash(W))){o.next=96;break}return o.next=79,c._preflightRequest({as:n,cache:!0,pages:z,pathname:W,query:B,locale:v.locale,isPreview:v.isPreview});case 79:if("rewrite"!==(X=o.sent).type){o.next=84;break}B=l({},B,X.parsedAs.query),V=X.asPath,W=X.resolvedHref,F.pathname=X.resolvedHref,r=g.formatWithValidation(F),o.next=96;break;case 84:if("redirect"!==X.type||!X.newAs){o.next=88;break}return o.abrupt("return",c.change(t,X.newUrl,X.newAs,a));case 88:if("redirect"!==X.type||!X.destination){o.next=93;break}return window.location.href=X.destination,o.abrupt("return",new Promise((function(){})));case 93:if("refresh"!==X.type||n===window.location.pathname){o.next=96;break}return window.location.href=n,o.abrupt("return",new Promise((function(){})));case 96:if(Y=p.removePathTrailingSlash(W),!b.isDynamicRoute(Y)){o.next=112;break}if(K=w.parseRelativeUrl(V),Q=K.pathname,J=x.getRouteRegex(Y),Z=S.getRouteMatcher(J)(Q),te=(ee=Y===Q)?I(Y,Q,B):{},Z&&(!ee||te.result)){o.next=111;break}if(!((re=Object.keys(J.groups).filter((function(e){return!B[e]}))).length>0)){o.next=109;break}throw new Error((ee?"The provided `href` (".concat(r,") value is missing query values (").concat(re.join(", "),") to be interpolated properly. "):"The provided `as` value (".concat(Q,") is incompatible with the `href` value (").concat(Y,"). "))+"Read more: https://nextjs.org/docs/messages/".concat(ee?"href-interpolation-failed":"incompatible-href-as"));case 109:o.next=112;break;case 111:ee?n=g.formatWithValidation(Object.assign({},K,{pathname:te.result,query:N(B,te.params)})):Object.assign(B,Z);case 112:return e.events.emit("routeChangeStart",n,O),o.prev=113,o.next=117,c.getRouteInfo(Y,W,B,n,V,O,v.locale,v.isPreview);case 117:if(ae=o.sent,ie=ae.error,ue=ae.props,ce=ae.__N_SSG,se=ae.__N_SSP,!ce&&!se||!ue){o.next=144;break}if(!ue.pageProps||!ue.pageProps.__N_REDIRECT){o.next=129;break}if(!(le=ue.pageProps.__N_REDIRECT).startsWith("/")||!1===ue.pageProps.__N_REDIRECT_BASE_PATH){o.next=127;break}return(fe=w.parseRelativeUrl(le)).pathname=H(fe.pathname,z),pe=q(c,le,le),de=pe.url,he=pe.as,o.abrupt("return",c.change(t,de,he,a));case 127:return window.location.href=le,o.abrupt("return",new Promise((function(){})));case 129:if(v.isPreview=!!ue.__N_PREVIEW,ue.notFound!==U){o.next=144;break}return o.prev=132,o.next=135,c.fetchComponent("/404");case 135:ve="/404",o.next=141;break;case 138:o.prev=138,o.t3=o.catch(132),ve="/_error";case 141:return o.next=143,c.getRouteInfo(ve,ve,B,n,V,{shallow:!1},v.locale,v.isPreview);case 143:ae=o.sent;case 144:return e.events.emit("beforeHistoryChange",n,O),c.changeState(t,r,n,a),a._h&&"/_error"===W&&500===(null===(ne=self.__NEXT_DATA__.props)||void 0===ne||null===(oe=ne.pageProps)||void 0===oe?void 0:oe.statusCode)&&(null===ue||void 0===ue?void 0:ue.pageProps)&&(ue.pageProps.statusCode=500),ye=a.shallow&&v.route===Y,ge=null!==(me=a.scroll)&&void 0!==me?me:!ye,be=ge?{x:0,y:0}:null,o.next=153,c.set(l({},v,{route:Y,pathname:W,query:B,asPath:j,isFallback:!1}),ae,null!==i&&void 0!==i?i:be).catch((function(e){if(!e.cancelled)throw e;ie=ie||e}));case 153:if(!ie){o.next=156;break}throw e.events.emit("routeChangeError",ie,j,O),ie;case 156:return e.events.emit("routeChangeComplete",n,O),o.abrupt("return",!0);case 161:if(o.prev=161,o.t4=o.catch(113),!h.default(o.t4)||!o.t4.cancelled){o.next=165;break}return o.abrupt("return",!1);case 165:throw o.t4;case 166:case"end":return o.stop()}}),u,null,[[39,51],[113,161],[132,138]])})))()}},{key:"changeState",value:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};"pushState"===e&&g.getURL()===r||(this._shallow=n.shallow,window.history[e]({url:t,as:r,options:n,__N:!0,idx:this._idx="pushState"!==e?this._idx:this._idx+1},"",r))}},{key:"handleRouteInfoError",value:function(t,r,n,a,i,c){var s=this;return u(o.default.mark((function u(){var l,f,p,v;return o.default.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(!t.cancelled){o.next=2;break}throw t;case 2:if(!d.isAssetError(t)&&!c){o.next=6;break}throw e.events.emit("routeChangeError",t,a,i),window.location.href=a,j();case 6:if(o.prev=6,"undefined"!==typeof l&&"undefined"!==typeof f){o.next=18;break}return o.next=14,s.fetchComponent("/_error");case 14:p=o.sent,l=p.page,f=p.styleSheets;case 18:if((v={props:void 0,Component:l,styleSheets:f,err:t,error:t}).props){o.next=30;break}return o.prev=20,o.next=23,s.getInitialProps(l,{err:t,pathname:r,query:n});case 23:v.props=o.sent,o.next=30;break;case 26:o.prev=26,o.t0=o.catch(20),console.error("Error in error page `getInitialProps`: ",o.t0),v.props={};case 30:return o.abrupt("return",v);case 33:return o.prev=33,o.t1=o.catch(6),o.abrupt("return",s.handleRouteInfoError(h.default(o.t1)?o.t1:new Error(o.t1+""),r,n,a,i,!0));case 36:case"end":return o.stop()}}),u,null,[[6,33],[20,26]])})))()}},{key:"getRouteInfo",value:function(e,t,r,n,a,i,c,s){var l=this;return u(o.default.mark((function u(){var f,p,d,v,y,m,b,w,_,P,S,x;return o.default.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(o.prev=0,f=l.components[e],!i.shallow||!f||l.route!==e){o.next=4;break}return o.abrupt("return",f);case 4:if(p=void 0,f&&!("initial"in f)&&(p=f),o.t0=p,o.t0){o.next=11;break}return o.next=10,l.fetchComponent(e).then((function(e){return{Component:e.page,styleSheets:e.styleSheets,__N_SSG:e.mod.__N_SSG,__N_SSP:e.mod.__N_SSP,__N_RSC:!!e.page.__next_rsc__}}));case 10:o.t0=o.sent;case 11:d=o.t0,v=d.Component,y=d.__N_SSG,m=d.__N_SSP,b=d.__N_RSC,o.next=17;break;case 17:return(y||m||b)&&(w=l.pageLoader.getDataHref({href:g.formatWithValidation({pathname:t,query:r}),asPath:a,ssg:y,rsc:b,locale:c})),o.next=21,l._getData((function(){return y||m?B(w,l.isSsr,!1,y?l.sdc:l.sdr,!!y&&!s):l.getInitialProps(v,{pathname:t,query:r,asPath:n,locale:c,locales:l.locales,defaultLocale:l.defaultLocale})}));case 21:if(_=o.sent,!b){o.next=29;break}return o.next=25,l._getData((function(){return l._getFlightData(w)}));case 25:P=o.sent,S=P.fresh,x=P.data,_.pageProps=Object.assign(_.pageProps,{__flight_serialized__:x,__flight_fresh__:S});case 29:return d.props=_,l.components[e]=d,o.abrupt("return",d);case 34:return o.prev=34,o.t1=o.catch(0),o.abrupt("return",l.handleRouteInfoError(h.getProperError(o.t1),t,r,n,i));case 37:case"end":return o.stop()}}),u,null,[[0,34]])})))()}},{key:"set",value:function(e,t,r){return this.state=e,this.sub(t,this.components["/_app"].Component,r)}},{key:"beforePopState",value:function(e){this._bps=e}},{key:"onlyAHashChange",value:function(e){if(!this.asPath)return!1;var t=f(this.asPath.split("#"),2),r=t[0],n=t[1],o=f(e.split("#"),2),a=o[0],i=o[1];return!(!i||r!==a||n!==i)||r===a&&n!==i}},{key:"scrollToHash",value:function(e){var t=f(e.split("#"),2)[1],r=void 0===t?"":t;if(""!==r&&"top"!==r){var n=document.getElementById(r);if(n)n.scrollIntoView();else{var o=document.getElementsByName(r)[0];o&&o.scrollIntoView()}}else window.scrollTo(0,0)}},{key:"urlIsNew",value:function(e){return this.asPath!==e}},{key:"prefetch",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=this;return u(o.default.mark((function a(){var i,u,c,s,f,d,h,v,y,m;return o.default.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return i=w.parseRelativeUrl(e),u=i.pathname,c=i.query,o.next=5,n.pageLoader.getPageList();case 5:s=o.sent,f=t,o.next=22;break;case 12:if(h=o.sent,d=h.__rewrites,!(v=P.default(M(R(t,n.locale)),s,d,i.query,(function(e){return H(e,s)}),n.locales)).externalDest){o.next=18;break}return o.abrupt("return");case 18:f=k(L(v.asPath),n.locale),v.matchedPage&&v.resolvedHref&&(u=v.resolvedHref,i.pathname=u,e=g.formatWithValidation(i)),o.next=23;break;case 22:i.pathname=H(i.pathname,s),i.pathname!==u&&(u=i.pathname,i.pathname=u,e=g.formatWithValidation(i));case 23:o.next=25;break;case 25:return o.next=27,n._preflightRequest({as:M(t),cache:!0,pages:s,pathname:u,query:c,locale:n.locale,isPreview:n.isPreview});case 27:return"rewrite"===(y=o.sent).type&&(i.pathname=y.resolvedHref,u=y.resolvedHref,c=l({},c,y.parsedAs.query),f=y.asPath,e=g.formatWithValidation(i)),m=p.removePathTrailingSlash(u),o.next=32,Promise.all([n.pageLoader._isSsg(m).then((function(t){return!!t&&B(n.pageLoader.getDataHref({href:e,asPath:f,ssg:!0,locale:"undefined"!==typeof r.locale?r.locale:n.locale}),!1,!1,n.sdc,!0)})),n.pageLoader[r.priority?"loadPage":"prefetch"](m)]);case 32:case"end":return o.stop()}}),a)})))()}},{key:"fetchComponent",value:function(e){var t=this;return u(o.default.mark((function r(){var n,a,i,u;return o.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=!1,a=t.clc=function(){n=!0},i=function(){if(n){var r=new Error('Abort fetching component for route: "'.concat(e,'"'));throw r.cancelled=!0,r}a===t.clc&&(t.clc=null)},r.prev=3,r.next=6,t.pageLoader.loadPage(e);case 6:return u=r.sent,i(),r.abrupt("return",u);case 11:throw r.prev=11,r.t0=r.catch(3),i(),r.t0;case 15:case"end":return r.stop()}}),r,null,[[3,11]])})))()}},{key:"_getData",value:function(e){var t=this,r=!1,n=function(){r=!0};return this.clc=n,e().then((function(e){if(n===t.clc&&(t.clc=null),r){var o=new Error("Loading initial props cancelled");throw o.cancelled=!0,o}return e}))}},{key:"_getFlightData",value:function(e){return B(e,!0,!0,this.sdc,!1).then((function(e){return{fresh:!0,data:e}}))}},{key:"_preflightRequest",value:function(e){var t=this;return u(o.default.mark((function r(){var n,a,i,u,c,s,l,d,h,v;return o.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=k(C(e.as)?L(e.as):e.as,e.locale),r.next=3,t.pageLoader.getMiddlewareList();case 3:if(r.sent.some((function(e){var t=f(e,2),r=t[0],o=t[1];return S.getRouteMatcher(E.getMiddlewareRegex(r,!o))(n)}))){r.next=7;break}return r.abrupt("return",{type:"next"});case 7:return r.next=9,t._getPreflightData({preflightHref:e.as,shouldCache:e.cache,isPreview:e.isPreview});case 9:if(!(a=r.sent).rewrite){r.next=19;break}if(a.rewrite.startsWith("/")){r.next=13;break}return r.abrupt("return",{type:"redirect",destination:e.as});case 13:return i=w.parseRelativeUrl(y.normalizeLocalePath(C(a.rewrite)?L(a.rewrite):a.rewrite,t.locales).pathname),u=p.removePathTrailingSlash(i.pathname),e.pages.includes(u)?(c=!0,s=u):(s=H(u,e.pages))!==i.pathname&&e.pages.includes(s)&&(c=!0),r.abrupt("return",{type:"rewrite",asPath:i.pathname,parsedAs:i,matchedPage:c,resolvedHref:s});case 19:if(!a.redirect){r.next=25;break}if(!a.redirect.startsWith("/")){r.next=24;break}return l=p.removePathTrailingSlash(y.normalizeLocalePath(C(a.redirect)?L(a.redirect):a.redirect,t.locales).pathname),d=q(t,l,l),h=d.url,v=d.as,r.abrupt("return",{type:"redirect",newUrl:h,newAs:v});case 24:return r.abrupt("return",{type:"redirect",destination:a.redirect});case 25:if(!a.refresh||a.ssr){r.next=27;break}return r.abrupt("return",{type:"refresh"});case 27:return r.abrupt("return",{type:"next"});case 28:case"end":return r.stop()}}),r)})))()}},{key:"_getPreflightData",value:function(e){var t=this,r=e.preflightHref,n=e.shouldCache,o=void 0!==n&&n,a=e.isPreview,i=new URL(r,window.location.href).href;return!a&&o&&this.sde[i]?Promise.resolve(this.sde[i]):fetch(r,{method:"HEAD",credentials:"same-origin",headers:{"x-middleware-preflight":"1"}}).then((function(e){if(!e.ok)throw new Error("Failed to preflight request");return{cache:e.headers.get("x-middleware-cache"),redirect:e.headers.get("Location"),refresh:e.headers.has("x-middleware-refresh"),rewrite:e.headers.get("x-middleware-rewrite"),ssr:!!e.headers.get("x-middleware-ssr")}})).then((function(e){return o&&"no-cache"!==e.cache&&(t.sde[i]=e),e})).catch((function(e){throw delete t.sde[i],e}))}},{key:"getInitialProps",value:function(e,t){var r=this.components["/_app"].Component,n=this._wrapApp(r);return t.AppTree=n,g.loadGetInitialProps(r,{AppTree:n,Component:e,router:this,ctx:t})}},{key:"abortComponentLoad",value:function(t,r){this.clc&&(e.events.emit("routeChangeError",j(),t,r),this.clc(),this.clc=null)}},{key:"route",get:function(){return this.state.route}},{key:"pathname",get:function(){return this.state.pathname}},{key:"query",get:function(){return this.state.query}},{key:"asPath",get:function(){return this.state.asPath}},{key:"locale",get:function(){return this.state.locale}},{key:"isFallback",get:function(){return this.state.isFallback}},{key:"isPreview",get:function(){return this.state.isPreview}}],r&&c(t.prototype,r),n&&c(t,n),e}();z.events=m.default(),t.default=z},4611:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatUrl=function(e){var t=e.auth,r=e.hostname,a=e.protocol||"",i=e.pathname||"",u=e.hash||"",c=e.query||"",s=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?s=t+e.host:r&&(s=t+(~r.indexOf(":")?"[".concat(r,"]"):r),e.port&&(s+=":"+e.port));c&&"object"===typeof c&&(c=String(n.urlQueryToSearchParams(c)));var l=e.search||c&&"?".concat(c)||"";a&&":"!==a.substr(-1)&&(a+=":");e.slashes||(!a||o.test(a))&&!1!==s?(s="//"+(s||""),i&&"/"!==i[0]&&(i="/"+i)):s||(s="");u&&"#"!==u[0]&&(u="#"+u);l&&"?"!==l[0]&&(l="?"+l);return i=i.replace(/[?#]/g,encodeURIComponent),l=l.replace("#","%23"),"".concat(a).concat(s).concat(i).concat(l).concat(u)};var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(466));var o=/https?|ftp|gopher|file/},3891:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r="/"===e?"/index":/^\/index(\/|$)/.test(e)?"/index".concat(e):"".concat(e);return r+t}},9820:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getMiddlewareRegex=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=n.getParametrizedRoute(e),o=t?"(?!_next).*":"",a=t?"(?:(/.*)?)":"";if("routeKeys"in r)return"/"===r.parameterizedRoute?{groups:{},namedRegex:"^/".concat(o,"$"),re:new RegExp("^/".concat(o,"$")),routeKeys:{}}:{groups:r.groups,namedRegex:"^".concat(r.namedParameterizedRoute).concat(a,"$"),re:new RegExp("^".concat(r.parameterizedRoute).concat(a,"$")),routeKeys:r.routeKeys};if("/"===r.parameterizedRoute)return{groups:{},re:new RegExp("^/".concat(o,"$"))};return{groups:{},re:new RegExp("^".concat(r.parameterizedRoute).concat(a,"$"))}};var n=r(4095)},418:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getMiddlewareRegex",{enumerable:!0,get:function(){return n.getMiddlewareRegex}}),Object.defineProperty(t,"getRouteMatcher",{enumerable:!0,get:function(){return o.getRouteMatcher}}),Object.defineProperty(t,"getRouteRegex",{enumerable:!0,get:function(){return a.getRouteRegex}}),Object.defineProperty(t,"getSortedRoutes",{enumerable:!0,get:function(){return i.getSortedRoutes}}),Object.defineProperty(t,"isDynamicRoute",{enumerable:!0,get:function(){return u.isDynamicRoute}});var n=r(9820),o=r(3888),a=r(4095),i=r(3907),u=r(8689)},8689:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isDynamicRoute=function(e){return r.test(e)};var r=/\/\[[^/]+?\](?=\/|$)/},6305:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseRelativeUrl=function(e,t){var r=new URL(n.getLocationOrigin()),a=t?new URL(t,r):r,i=new URL(e,a),u=i.pathname,c=i.searchParams,s=i.search,l=i.hash,f=i.href;if(i.origin!==r.origin)throw new Error("invariant: invalid relative URL, router received ".concat(e));return{pathname:u,query:o.searchParamsToUrlQuery(c),search:s,hash:l,href:f.slice(r.origin.length)}};var n=r(3794),o=r(466)},466:function(e,t){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r1?t-1:0),n=1;ne.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&void 0!==arguments[0]?arguments[0]:"/",t=this,r=o(this.children.keys()).sort();null!==this.slugName&&r.splice(r.indexOf("[]"),1),null!==this.restSlugName&&r.splice(r.indexOf("[...]"),1),null!==this.optionalRestSlugName&&r.splice(r.indexOf("[[...]]"),1);var n,a,i,u=r.map((function(r){return t.children.get(r)._smoosh("".concat(e).concat(r,"/"))})).reduce((function(e,t){return o(e).concat(o(t))}),[]);if(null!==this.slugName&&(n=u).push.apply(n,o(this.children.get("[]")._smoosh("".concat(e,"[").concat(this.slugName,"]/")))),!this.placeholder){var c="/"===e?"/":e.slice(0,-1);if(null!=this.optionalRestSlugName)throw new Error('You cannot define a route with the same specificity as a optional catch-all route ("'.concat(c,'" and "').concat(c,"[[...").concat(this.optionalRestSlugName,']]").'));u.unshift(c)}return null!==this.restSlugName&&(a=u).push.apply(a,o(this.children.get("[...]")._smoosh("".concat(e,"[...").concat(this.restSlugName,"]/")))),null!==this.optionalRestSlugName&&(i=u).push.apply(i,o(this.children.get("[[...]]")._smoosh("".concat(e,"[[...").concat(this.optionalRestSlugName,"]]/")))),u}},{key:"_insert",value:function(t,r,n){if(0!==t.length){if(n)throw new Error("Catch-all must be the last part of the URL.");var o=t[0];if(o.startsWith("[")&&o.endsWith("]")){var a=function(e,t){if(null!==e&&e!==t)throw new Error("You cannot use different slug names for the same dynamic path ('".concat(e,"' !== '").concat(t,"')."));r.forEach((function(e){if(e===t)throw new Error('You cannot have the same slug name "'.concat(t,'" repeat within a single dynamic path'));if(e.replace(/\W/g,"")===o.replace(/\W/g,""))throw new Error('You cannot have the slug names "'.concat(e,'" and "').concat(t,'" differ only by non-word symbols within a single dynamic path'))})),r.push(t)},i=o.slice(1,-1),u=!1;if(i.startsWith("[")&&i.endsWith("]")&&(i=i.slice(1,-1),u=!0),i.startsWith("...")&&(i=i.substring(3),n=!0),i.startsWith("[")||i.endsWith("]"))throw new Error("Segment names may not start or end with extra brackets ('".concat(i,"')."));if(i.startsWith("."))throw new Error("Segment names may not start with erroneous periods ('".concat(i,"')."));if(n)if(u){if(null!=this.restSlugName)throw new Error('You cannot use both an required and optional catch-all route at the same level ("[...'.concat(this.restSlugName,']" and "').concat(t[0],'" ).'));a(this.optionalRestSlugName,i),this.optionalRestSlugName=i,o="[[...]]"}else{if(null!=this.optionalRestSlugName)throw new Error('You cannot use both an optional and required catch-all route at the same level ("[[...'.concat(this.optionalRestSlugName,']]" and "').concat(t[0],'").'));a(this.restSlugName,i),this.restSlugName=i,o="[...]"}else{if(u)throw new Error('Optional route parameters are not yet supported ("'.concat(t[0],'").'));a(this.slugName,i),this.slugName=i,o="[]"}}this.children.has(o)||this.children.set(o,new e),this.children.get(o)._insert(t.slice(1),r,n)}else this.placeholder=!1}}],r&&n(t.prototype,r),a&&n(t,a),e}()},8027:function(e,t){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.setConfig=function(e){r=e},t.default=void 0;t.default=function(){return r}},5188:function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0;--a){var i=this.tryEntries[a],u=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(c&&s){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),O(r),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:R(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),h}},e}(e.exports);try{regeneratorRuntime=t}catch(r){Function("r","regeneratorRuntime = r")(t)}},8745:function(e){!function(){var t={106:function(e,t){!function(e){"use strict";var t,r,n,o,a=function(e,t){return{name:e,value:void 0===t?-1:t,delta:0,entries:[],id:"v2-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12)}},i=function(e,t){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){if("first-input"===e&&!("PerformanceEventTiming"in self))return;var r=new PerformanceObserver((function(e){return e.getEntries().map(t)}));return r.observe({type:e,buffered:!0}),r}}catch(e){}},u=function(e,t){var r=function r(n){"pagehide"!==n.type&&"hidden"!==document.visibilityState||(e(n),t&&(removeEventListener("visibilitychange",r,!0),removeEventListener("pagehide",r,!0)))};addEventListener("visibilitychange",r,!0),addEventListener("pagehide",r,!0)},c=function(e){addEventListener("pageshow",(function(t){t.persisted&&e(t)}),!0)},s=function(e,t,r){var n;return function(o){t.value>=0&&(o||r)&&(t.delta=t.value-(n||0),(t.delta||void 0===n)&&(n=t.value,e(t)))}},l=-1,f=function(){return"hidden"===document.visibilityState?0:1/0},p=function(){u((function(e){var t=e.timeStamp;l=t}),!0)},d=function(){return l<0&&(l=f(),p(),c((function(){setTimeout((function(){l=f(),p()}),0)}))),{get firstHiddenTime(){return l}}},h=function(e,t){var r,n=d(),o=a("FCP"),u=function(e){"first-contentful-paint"===e.name&&(f&&f.disconnect(),e.startTime=0&&r1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?function(e,t){var r=function(){b(e,t),o()},n=function(){o()},o=function(){removeEventListener("pointerup",r,m),removeEventListener("pointercancel",n,m)};addEventListener("pointerup",r,m),addEventListener("pointercancel",n,m)}(t,e):b(t,e)}},P=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach((function(t){return e(t,_,m)}))},S=new Set;e.getCLS=function(e,t){v||(h((function(e){y=e.value})),v=!0);var r,n=function(t){y>-1&&e(t)},o=a("CLS",0),l=0,f=[],p=function(e){if(!e.hadRecentInput){var t=f[0],n=f[f.length-1];l&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(l+=e.value,f.push(e)):(l=e.value,f=[e]),l>o.value&&(o.value=l,o.entries=f,r())}},d=i("layout-shift",p);d&&(r=s(n,o,t),u((function(){d.takeRecords().map(p),r(!0)})),c((function(){l=0,y=-1,o=a("CLS",0),r=s(n,o,t)})))},e.getFCP=h,e.getFID=function(e,n){var l,f=d(),p=a("FID"),h=function(e){e.startTime0&&t.languageAlternates.forEach((function(t){a.push(i.createElement("link",{rel:"alternate",key:"languageAlternate-"+t.hrefLang,hrefLang:t.hrefLang,href:t.href}))})),t.twitter&&(t.twitter.cardType&&a.push(i.createElement("meta",{key:"twitter:card",name:"twitter:card",content:t.twitter.cardType})),t.twitter.site&&a.push(i.createElement("meta",{key:"twitter:site",name:"twitter:site",content:t.twitter.site})),t.twitter.handle&&a.push(i.createElement("meta",{key:"twitter:creator",name:"twitter:creator",content:t.twitter.handle}))),t.facebook&&t.facebook.appId&&a.push(i.createElement("meta",{key:"fb:app_id",property:"fb:app_id",content:t.facebook.appId})),null!=(e=t.openGraph)&&e.title||c)&&a.push(i.createElement("meta",{key:"og:title",property:"og:title",content:(null==(l=t.openGraph)?void 0:l.title)||c}));(null!=(n=t.openGraph)&&n.description||t.description)&&a.push(i.createElement("meta",{key:"og:description",property:"og:description",content:(null==(f=t.openGraph)?void 0:f.description)||t.description}));if(t.openGraph){if((t.openGraph.url||t.canonical)&&a.push(i.createElement("meta",{key:"og:url",property:"og:url",content:t.openGraph.url||t.canonical})),t.openGraph.type){var C=t.openGraph.type.toLowerCase();a.push(i.createElement("meta",{key:"og:type",property:"og:type",content:C})),"profile"===C&&t.openGraph.profile?(t.openGraph.profile.firstName&&a.push(i.createElement("meta",{key:"profile:first_name",property:"profile:first_name",content:t.openGraph.profile.firstName})),t.openGraph.profile.lastName&&a.push(i.createElement("meta",{key:"profile:last_name",property:"profile:last_name",content:t.openGraph.profile.lastName})),t.openGraph.profile.username&&a.push(i.createElement("meta",{key:"profile:username",property:"profile:username",content:t.openGraph.profile.username})),t.openGraph.profile.gender&&a.push(i.createElement("meta",{key:"profile:gender",property:"profile:gender",content:t.openGraph.profile.gender}))):"book"===C&&t.openGraph.book?(t.openGraph.book.authors&&t.openGraph.book.authors.length&&t.openGraph.book.authors.forEach((function(t,e){a.push(i.createElement("meta",{key:"book:author:0"+e,property:"book:author",content:t}))})),t.openGraph.book.isbn&&a.push(i.createElement("meta",{key:"book:isbn",property:"book:isbn",content:t.openGraph.book.isbn})),t.openGraph.book.releaseDate&&a.push(i.createElement("meta",{key:"book:release_date",property:"book:release_date",content:t.openGraph.book.releaseDate})),t.openGraph.book.tags&&t.openGraph.book.tags.length&&t.openGraph.book.tags.forEach((function(t,e){a.push(i.createElement("meta",{key:"book:tag:0"+e,property:"book:tag",content:t}))}))):"article"===C&&t.openGraph.article?(t.openGraph.article.publishedTime&&a.push(i.createElement("meta",{key:"article:published_time",property:"article:published_time",content:t.openGraph.article.publishedTime})),t.openGraph.article.modifiedTime&&a.push(i.createElement("meta",{key:"article:modified_time",property:"article:modified_time",content:t.openGraph.article.modifiedTime})),t.openGraph.article.expirationTime&&a.push(i.createElement("meta",{key:"article:expiration_time",property:"article:expiration_time",content:t.openGraph.article.expirationTime})),t.openGraph.article.authors&&t.openGraph.article.authors.length&&t.openGraph.article.authors.forEach((function(t,e){a.push(i.createElement("meta",{key:"article:author:0"+e,property:"article:author",content:t}))})),t.openGraph.article.section&&a.push(i.createElement("meta",{key:"article:section",property:"article:section",content:t.openGraph.article.section})),t.openGraph.article.tags&&t.openGraph.article.tags.length&&t.openGraph.article.tags.forEach((function(t,e){a.push(i.createElement("meta",{key:"article:tag:0"+e,property:"article:tag",content:t}))}))):"video.movie"!==C&&"video.episode"!==C&&"video.tv_show"!==C&&"video.other"!==C||!t.openGraph.video||(t.openGraph.video.actors&&t.openGraph.video.actors.length&&t.openGraph.video.actors.forEach((function(t,e){t.profile&&a.push(i.createElement("meta",{key:"video:actor:0"+e,property:"video:actor",content:t.profile})),t.role&&a.push(i.createElement("meta",{key:"video:actor:role:0"+e,property:"video:actor:role",content:t.role}))})),t.openGraph.video.directors&&t.openGraph.video.directors.length&&t.openGraph.video.directors.forEach((function(t,e){a.push(i.createElement("meta",{key:"video:director:0"+e,property:"video:director",content:t}))})),t.openGraph.video.writers&&t.openGraph.video.writers.length&&t.openGraph.video.writers.forEach((function(t,e){a.push(i.createElement("meta",{key:"video:writer:0"+e,property:"video:writer",content:t}))})),t.openGraph.video.duration&&a.push(i.createElement("meta",{key:"video:duration",property:"video:duration",content:t.openGraph.video.duration.toString()})),t.openGraph.video.releaseDate&&a.push(i.createElement("meta",{key:"video:release_date",property:"video:release_date",content:t.openGraph.video.releaseDate})),t.openGraph.video.tags&&t.openGraph.video.tags.length&&t.openGraph.video.tags.forEach((function(t,e){a.push(i.createElement("meta",{key:"video:tag:0"+e,property:"video:tag",content:t}))})),t.openGraph.video.series&&a.push(i.createElement("meta",{key:"video:series",property:"video:series",content:t.openGraph.video.series})))}t.defaultOpenGraphImageWidth&&(u.defaultOpenGraphImageWidth=t.defaultOpenGraphImageWidth),t.defaultOpenGraphImageHeight&&(u.defaultOpenGraphImageHeight=t.defaultOpenGraphImageHeight),t.openGraph.images&&t.openGraph.images.length&&a.push.apply(a,s("image",t.openGraph.images,{defaultWidth:u.defaultOpenGraphImageWidth,defaultHeight:u.defaultOpenGraphImageHeight})),t.defaultOpenGraphVideoWidth&&(u.defaultOpenGraphVideoWidth=t.defaultOpenGraphVideoWidth),t.defaultOpenGraphVideoHeight&&(u.defaultOpenGraphVideoHeight=t.defaultOpenGraphVideoHeight),t.openGraph.videos&&t.openGraph.videos.length&&a.push.apply(a,s("video",t.openGraph.videos,{defaultWidth:u.defaultOpenGraphVideoWidth,defaultHeight:u.defaultOpenGraphVideoHeight})),t.openGraph.locale&&a.push(i.createElement("meta",{key:"og:locale",property:"og:locale",content:t.openGraph.locale})),t.openGraph.site_name&&a.push(i.createElement("meta",{key:"og:site_name",property:"og:site_name",content:t.openGraph.site_name}))}return t.canonical&&a.push(i.createElement("link",{rel:"canonical",href:t.canonical,key:"canonical"})),t.additionalMetaTags&&t.additionalMetaTags.length>0&&t.additionalMetaTags.forEach((function(t){var e,n,r;a.push(i.createElement("meta",o({key:"meta:"+(null!=(e=null!=(n=null!=(r=t.keyOverride)?r:t.name)?n:t.property)?e:t.httpEquiv)},t)))})),null!=(r=t.additionalLinkTags)&&r.length&&t.additionalLinkTags.forEach((function(t){var e;a.push(i.createElement("link",o({key:"link"+(null!=(e=t.keyOverride)?e:t.href)+t.rel},t)))})),a},l=function(t){function e(){return t.apply(this,arguments)||this}return a(e,t),e.prototype.render=function(){var t=this.props,e=t.title,n=t.titleTemplate,o=t.defaultTitle,a=t.dangerouslySetAllPagesToNoIndex,u=void 0!==a&&a,s=t.dangerouslySetAllPagesToNoFollow,l=void 0!==s&&s,f=t.description,h=t.canonical,p=t.facebook,d=t.openGraph,y=t.additionalMetaTags,v=t.twitter,m=t.defaultOpenGraphImageWidth,g=t.defaultOpenGraphImageHeight,b=t.defaultOpenGraphVideoWidth,w=t.defaultOpenGraphVideoHeight,E=t.mobileAlternate,O=t.languageAlternates,T=t.additionalLinkTags,C=t.robotsProps;return i.createElement(r.default,null,c({title:e,titleTemplate:n,defaultTitle:o,dangerouslySetAllPagesToNoIndex:u,dangerouslySetAllPagesToNoFollow:l,description:f,canonical:h,facebook:p,openGraph:d,additionalMetaTags:y,twitter:v,defaultOpenGraphImageWidth:m,defaultOpenGraphImageHeight:g,defaultOpenGraphVideoWidth:b,defaultOpenGraphVideoHeight:w,mobileAlternate:E,languageAlternates:O,additionalLinkTags:T,robotsProps:C}))},e}(i.Component),f=function(t){function e(){return t.apply(this,arguments)||this}return a(e,t),e.prototype.render=function(){var t=this.props,e=t.title,n=t.noindex,o=void 0!==n&&n,a=t.nofollow,u=t.robotsProps,s=t.description,l=t.canonical,f=t.openGraph,h=t.facebook,p=t.twitter,d=t.additionalMetaTags,y=t.titleTemplate,v=t.mobileAlternate,m=t.languageAlternates,g=t.additionalLinkTags;return i.createElement(r.default,null,c({title:e,noindex:o,nofollow:a,robotsProps:u,description:s,canonical:l,facebook:h,openGraph:f,additionalMetaTags:d,twitter:p,titleTemplate:y,mobileAlternate:v,languageAlternates:m,additionalLinkTags:g}))},e}(i.Component),h=Object.freeze({"&":"&","<":"<",">":">",'"':""","'":"'"});new RegExp("["+Object.keys(h).join("")+"]","g")},425:function(t,e,n){"use strict";n.d(e,{f:function(){return f},F:function(){return l}});var r=n(4298),i=n(7294),o=n(1876).Buffer;const a=["light","dark"],u="(prefers-color-scheme: dark)",s="undefined"==typeof window,c=(0,i.createContext)({setTheme:t=>{},themes:[]}),l=()=>(0,i.useContext)(c),f=({forcedTheme:t,disableTransitionOnChange:e=!1,enableSystem:n=!0,enableColorScheme:r=!0,storageKey:o="theme",themes:s=["light","dark"],defaultTheme:l=(n?"system":"light"),attribute:f="data-theme",value:v,children:m,nonce:g})=>{const[b,w]=(0,i.useState)((()=>p(o,l))),[E,O]=(0,i.useState)((()=>p(o))),T=v?Object.values(v):s,C=(0,i.useCallback)((t=>{let i=t;"system"===t&&n&&(i=y());const o=v?v[i]:i,u=e?d():null,s=document.documentElement;if("class"===f?(s.classList.remove(...T),o&&s.classList.add(o)):o?s.setAttribute(f,o):s.removeAttribute(f),r){const t=a.includes(l)?l:null,e=a.includes(i)?i:t;s.style.colorScheme=e}null==u||u()}),[]),S=(0,i.useCallback)((t=>{w(t);try{localStorage.setItem(o,t)}catch(t){}}),[t]),A=(0,i.useCallback)((e=>{const r=y(e);O(r),"system"===b&&n&&!t&&C("system")}),[b,t]);return(0,i.useEffect)((()=>{const t=window.matchMedia(u);return t.addListener(A),A(t),()=>t.removeListener(A)}),[A]),(0,i.useEffect)((()=>{const t=t=>{t.key===o&&S(t.newValue||l)};return window.addEventListener("storage",t),()=>window.removeEventListener("storage",t)}),[S]),(0,i.useEffect)((()=>{C(null!=t?t:b)}),[t,b]),i.createElement(c.Provider,{value:{theme:b,setTheme:S,forcedTheme:t,resolvedTheme:"system"===b?E:b,themes:n?[...s,"system"]:s,systemTheme:n?E:void 0}},i.createElement(h,{forcedTheme:t,disableTransitionOnChange:e,enableSystem:n,enableColorScheme:r,storageKey:o,themes:s,defaultTheme:l,attribute:f,value:v,children:m,attrs:T,nonce:g}),m)},h=(0,i.memo)((({forcedTheme:t,storageKey:e,attribute:n,enableSystem:o,enableColorScheme:s,defaultTheme:c,value:l,attrs:f,nonce:h})=>{const p="system"===c,d="class"===n?`var d=document.documentElement.classList;d.remove(${f.map((t=>`'${t}'`)).join(",")});`:`var d=document.documentElement;var n='${n}';var s = 'setAttribute';`,y=s?a.includes(c)&&c?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${c}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",m=(t,e=!1,r=!0)=>{const i=l?l[t]:t,o=e?t+"|| ''":`'${i}'`;let u="";return s&&r&&!e&&a.includes(t)&&(u+=`d.style.colorScheme = '${t}';`),"class"===n?u+=e||i?`d.add(${o})`:"null":i&&(u+=`d[s](n, ${o})`),u},g=t?`!function(){${d}${m(t)}}()`:o?`!function(){try {${d}var e=localStorage.getItem('${e}');if("system"===e||(!e&&${p})){var t="${u}",m=window.matchMedia(t);if(m.media!==t||m.matches){${m("dark")}}else{${m("light")}}}else if(e){${l?`var x=${JSON.stringify(l)};`:""}${m(l?"x[e]":"e",!0)}}${p?"":"else{"+m(c,!1,!1)+"}"}${y}}catch(e){}}()`:`!function(){try{${d}var e=localStorage.getItem("${e}");if(e){${l?`var x=${JSON.stringify(l)};`:""}${m(l?"x[e]":"e",!0)}}else{${m(c,!1,!1)};}${y}}catch(t){}}();`,b="data:text/javascript;base64,"+v(g);return i.createElement(r.default,{id:"next-themes-script",strategy:"beforeInteractive",src:b,nonce:h})}),(()=>!0)),p=(t,e)=>{if(s)return;let n;try{n=localStorage.getItem(t)||void 0}catch(t){}return n||e},d=()=>{const t=document.createElement("style");return t.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(t),()=>{window.getComputedStyle(document.body),setTimeout((()=>{document.head.removeChild(t)}),1)}},y=t=>(t||(t=window.matchMedia(u)),t.matches?"dark":"light"),v=t=>s?o.from(t).toString("base64"):btoa(t)},6363:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(6657)}])},6657:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return m}});var r=n(5893),i=(n(3456),n(6764),n(5663),n(4412),n(9885),n(7294)),o=n(8767),a=n(425),u={NEXT_PUBLIC_SITE_URL:n(4155).env.NEXT_PUBLIC_SITE_URL},s=n(2962),c=n(1163),l=n(4155);function f(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var h=function(){var t=(0,c.useRouter)(),e=(0,i.useMemo)((function(){return{name:"Ali Heydari",title:"Software engineer",description:"Front-end developer and React enthusiast.",image:"".concat(l.env.NEXT_PUBLIC_SITE_URL,"/thumbnail.jpg"),twitterHandle:"@ali4heydari",absolutePath:"".concat(u.NEXT_PUBLIC_SITE_URL).concat(t.asPath)}}),[t.asPath]),n=(0,i.useMemo)((function(){return{canonical:e.absolutePath,titleTemplate:"".concat(e.name," | %s"),defaultTitle:"".concat(e.name," | ").concat(e.title),title:e.title,description:e.description,openGraph:{locale:"en_US",type:"website",title:e.title,description:e.description,url:e.absolutePath},twitter:{handle:e.twitterHandle,cardType:"summary_large_image",site:e.twitterHandle}}}),[e.absolutePath]);return(0,r.jsx)(s.lX,function(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);n0?a-4:a;for(n=0;n>16&255,c[l++]=e>>8&255,c[l++]=255&e;2===u&&(e=r[t.charCodeAt(n)]<<2|r[t.charCodeAt(n+1)]>>4,c[l++]=255&e);1===u&&(e=r[t.charCodeAt(n)]<<10|r[t.charCodeAt(n+1)]<<4|r[t.charCodeAt(n+2)]>>2,c[l++]=e>>8&255,c[l++]=255&e);return c},e.fromByteArray=function(t){for(var e,r=t.length,i=r%3,o=[],a=16383,u=0,s=r-i;us?s:u+a));1===i?(e=t[r-1],o.push(n[e>>2]+n[e<<4&63]+"==")):2===i&&(e=(t[r-2]<<8)+t[r-1],o.push(n[e>>10]+n[e>>4&63]+n[e<<2&63]+"="));return o.join("")};for(var n=[],r=[],i="undefined"!==typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,u=o.length;a0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");return-1===n&&(n=e),[n,n===e?0:4-n%4]}function c(t){return n[t>>18&63]+n[t>>12&63]+n[t>>6&63]+n[63&t]}function l(t,e,n){for(var r,i=[],o=e;oa)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,n){if("number"===typeof t){if("string"===typeof e)throw new TypeError('The "string" argument must be of type string. Received type number');return f(t)}return c(t,e,n)}function c(t,e,n){if("string"===typeof t)return function(t,e){"string"===typeof e&&""!==e||(e="utf8");if(!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var n=0|y(t,e),r=u(n),i=r.write(t,e);i!==n&&(r=r.slice(0,i));return r}(t,e);if(ArrayBuffer.isView(t))return h(t);if(null==t)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(D(t,ArrayBuffer)||t&&D(t.buffer,ArrayBuffer))return p(t,e,n);if("undefined"!==typeof SharedArrayBuffer&&(D(t,SharedArrayBuffer)||t&&D(t.buffer,SharedArrayBuffer)))return p(t,e,n);if("number"===typeof t)throw new TypeError('The "value" argument must not be of type number. Received type number');var r=t.valueOf&&t.valueOf();if(null!=r&&r!==t)return s.from(r,e,n);var i=function(t){if(s.isBuffer(t)){var e=0|d(t.length),n=u(e);return 0===n.length||t.copy(n,0,0,e),n}if(void 0!==t.length)return"number"!==typeof t.length||N(t.length)?u(0):h(t);if("Buffer"===t.type&&Array.isArray(t.data))return h(t.data)}(t);if(i)return i;if("undefined"!==typeof Symbol&&null!=Symbol.toPrimitive&&"function"===typeof t[Symbol.toPrimitive])return s.from(t[Symbol.toPrimitive]("string"),e,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function l(t){if("number"!==typeof t)throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function f(t){return l(t),u(t<0?0:0|d(t))}function h(t){for(var e=t.length<0?0:0|d(t.length),n=u(e),r=0;r=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return 0|t}function y(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||D(t,ArrayBuffer))return t.byteLength;if("string"!==typeof t)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var n=t.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return B(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return _(t).length;default:if(i)return r?-1:B(t).length;e=(""+e).toLowerCase(),i=!0}}function v(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return x(this,e,n);case"utf8":case"utf-8":return P(this,e,n);case"ascii":return R(this,e,n);case"latin1":case"binary":return I(this,e,n);case"base64":return A(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return G(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function m(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function g(t,e,n,r,i){if(0===t.length)return-1;if("string"===typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),N(n=+n)&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return-1;n=t.length-1}else if(n<0){if(!i)return-1;n=0}if("string"===typeof e&&(e=s.from(e,r)),s.isBuffer(e))return 0===e.length?-1:b(t,e,n,r,i);if("number"===typeof e)return e&=255,"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):b(t,[e],n,r,i);throw new TypeError("val must be string, number or Buffer")}function b(t,e,n,r,i){var o,a=1,u=t.length,s=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;a=2,u/=2,s/=2,n/=2}function c(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(i){var l=-1;for(o=n;ou&&(n=u-s),o=n;o>=0;o--){for(var f=!0,h=0;hi&&(r=i):r=i;var o=e.length;r>o/2&&(r=o/2);for(var a=0;a>8,i=n%256,o.push(i),o.push(r);return o}(e,t.length-n),t,n,r)}function A(t,e,n){return 0===e&&n===t.length?r.fromByteArray(t):r.fromByteArray(t.slice(e,n))}function P(t,e,n){n=Math.min(t.length,n);for(var r=[],i=e;i239?4:c>223?3:c>191?2:1;if(i+f<=n)switch(f){case 1:c<128&&(l=c);break;case 2:128===(192&(o=t[i+1]))&&(s=(31&c)<<6|63&o)>127&&(l=s);break;case 3:o=t[i+1],a=t[i+2],128===(192&o)&&128===(192&a)&&(s=(15&c)<<12|(63&o)<<6|63&a)>2047&&(s<55296||s>57343)&&(l=s);break;case 4:o=t[i+1],a=t[i+2],u=t[i+3],128===(192&o)&&128===(192&a)&&128===(192&u)&&(s=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&u)>65535&&s<1114112&&(l=s)}null===l?(l=65533,f=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),i+=f}return k(r)}e.kMaxLength=a,s.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){return!1}}(),s.TYPED_ARRAY_SUPPORT||"undefined"===typeof console||"function"!==typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),s.poolSize=8192,s.from=function(t,e,n){return c(t,e,n)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(t,e,n){return function(t,e,n){return l(t),t<=0?u(t):void 0!==e?"string"===typeof n?u(t).fill(e,n):u(t).fill(e):u(t)}(t,e,n)},s.allocUnsafe=function(t){return f(t)},s.allocUnsafeSlow=function(t){return f(t)},s.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==s.prototype},s.compare=function(t,e){if(D(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),D(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(t)||!s.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;for(var n=t.length,r=e.length,i=0,o=Math.min(n,r);in&&(t+=" ... "),""},o&&(s.prototype[o]=s.prototype.inspect),s.prototype.compare=function(t,e,n,r,i){if(D(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&e>=n)return 0;if(r>=i)return-1;if(e>=n)return 1;if(this===t)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(e>>>=0),u=Math.min(o,a),c=this.slice(r,i),l=t.slice(e,n),f=0;f>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-e;if((void 0===n||n>i)&&(n=i),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return w(this,t,e,n);case"utf8":case"utf-8":return E(this,t,e,n);case"ascii":return O(this,t,e,n);case"latin1":case"binary":return T(this,t,e,n);case"base64":return C(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,t,e,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function k(t){var e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);for(var n="",r=0;rr)&&(n=r);for(var i="",o=e;on)throw new RangeError("Trying to access beyond buffer length")}function U(t,e,n,r,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||et.length)throw new RangeError("Index out of range")}function F(t,e,n,r,i,o){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function Q(t,e,n,r,o){return e=+e,n>>>=0,o||F(t,0,n,4),i.write(t,e,n,r,23,4),n+4}function L(t,e,n,r,o){return e=+e,n>>>=0,o||F(t,0,n,8),i.write(t,e,n,r,52,8),n+8}s.prototype.slice=function(t,e){var n=this.length;(t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e>>=0,e>>>=0,n||q(t,e,this.length);for(var r=this[t],i=1,o=0;++o>>=0,e>>>=0,n||q(t,e,this.length);for(var r=this[t+--e],i=1;e>0&&(i*=256);)r+=this[t+--e]*i;return r},s.prototype.readUInt8=function(t,e){return t>>>=0,e||q(t,1,this.length),this[t]},s.prototype.readUInt16LE=function(t,e){return t>>>=0,e||q(t,2,this.length),this[t]|this[t+1]<<8},s.prototype.readUInt16BE=function(t,e){return t>>>=0,e||q(t,2,this.length),this[t]<<8|this[t+1]},s.prototype.readUInt32LE=function(t,e){return t>>>=0,e||q(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},s.prototype.readUInt32BE=function(t,e){return t>>>=0,e||q(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},s.prototype.readIntLE=function(t,e,n){t>>>=0,e>>>=0,n||q(t,e,this.length);for(var r=this[t],i=1,o=0;++o=(i*=128)&&(r-=Math.pow(2,8*e)),r},s.prototype.readIntBE=function(t,e,n){t>>>=0,e>>>=0,n||q(t,e,this.length);for(var r=e,i=1,o=this[t+--r];r>0&&(i*=256);)o+=this[t+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},s.prototype.readInt8=function(t,e){return t>>>=0,e||q(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},s.prototype.readInt16LE=function(t,e){t>>>=0,e||q(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt16BE=function(t,e){t>>>=0,e||q(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt32LE=function(t,e){return t>>>=0,e||q(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},s.prototype.readInt32BE=function(t,e){return t>>>=0,e||q(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},s.prototype.readFloatLE=function(t,e){return t>>>=0,e||q(t,4,this.length),i.read(this,t,!0,23,4)},s.prototype.readFloatBE=function(t,e){return t>>>=0,e||q(t,4,this.length),i.read(this,t,!1,23,4)},s.prototype.readDoubleLE=function(t,e){return t>>>=0,e||q(t,8,this.length),i.read(this,t,!0,52,8)},s.prototype.readDoubleBE=function(t,e){return t>>>=0,e||q(t,8,this.length),i.read(this,t,!1,52,8)},s.prototype.writeUIntLE=function(t,e,n,r){(t=+t,e>>>=0,n>>>=0,r)||U(this,t,e,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[e]=255&t;++o>>=0,n>>>=0,r)||U(this,t,e,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+n},s.prototype.writeUInt8=function(t,e,n){return t=+t,e>>>=0,n||U(this,t,e,1,255,0),this[e]=255&t,e+1},s.prototype.writeUInt16LE=function(t,e,n){return t=+t,e>>>=0,n||U(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},s.prototype.writeUInt16BE=function(t,e,n){return t=+t,e>>>=0,n||U(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},s.prototype.writeUInt32LE=function(t,e,n){return t=+t,e>>>=0,n||U(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},s.prototype.writeUInt32BE=function(t,e,n){return t=+t,e>>>=0,n||U(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},s.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e>>>=0,!r){var i=Math.pow(2,8*n-1);U(this,t,e,n,i-1,-i)}var o=0,a=1,u=0;for(this[e]=255&t;++o>0)-u&255;return e+n},s.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e>>>=0,!r){var i=Math.pow(2,8*n-1);U(this,t,e,n,i-1,-i)}var o=n-1,a=1,u=0;for(this[e+o]=255&t;--o>=0&&(a*=256);)t<0&&0===u&&0!==this[e+o+1]&&(u=1),this[e+o]=(t/a>>0)-u&255;return e+n},s.prototype.writeInt8=function(t,e,n){return t=+t,e>>>=0,n||U(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},s.prototype.writeInt16LE=function(t,e,n){return t=+t,e>>>=0,n||U(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},s.prototype.writeInt16BE=function(t,e,n){return t=+t,e>>>=0,n||U(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},s.prototype.writeInt32LE=function(t,e,n){return t=+t,e>>>=0,n||U(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},s.prototype.writeInt32BE=function(t,e,n){return t=+t,e>>>=0,n||U(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},s.prototype.writeFloatLE=function(t,e,n){return Q(this,t,e,!0,n)},s.prototype.writeFloatBE=function(t,e,n){return Q(this,t,e,!1,n)},s.prototype.writeDoubleLE=function(t,e,n){return L(this,t,e,!0,n)},s.prototype.writeDoubleBE=function(t,e,n){return L(this,t,e,!1,n)},s.prototype.copy=function(t,e,n,r){if(!s.isBuffer(t))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e=0;--o)t[o+e]=this[o+n];else Uint8Array.prototype.set.call(t,this.subarray(n,r),e);return i},s.prototype.fill=function(t,e,n,r){if("string"===typeof t){if("string"===typeof e?(r=e,e=0,n=this.length):"string"===typeof n&&(r=n,n=this.length),void 0!==r&&"string"!==typeof r)throw new TypeError("encoding must be a string");if("string"===typeof r&&!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r);if(1===t.length){var i=t.charCodeAt(0);("utf8"===r&&i<128||"latin1"===r)&&(t=i)}}else"number"===typeof t?t&=255:"boolean"===typeof t&&(t=Number(t));if(e<0||this.length>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"===typeof t)for(o=e;o55295&&n<57344){if(!i){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(e-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function _(t){return r.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(M,"")).length<2)return"";for(;t.length%4!==0;)t+="=";return t}(t))}function j(t,e,n,r){for(var i=0;i=e.length||i>=t.length);++i)e[i+n]=t[i];return i}function D(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}function N(t){return t!==t}var Z=function(){for(var t="0123456789abcdef",e=new Array(256),n=0;n<16;++n)for(var r=16*n,i=0;i<16;++i)e[r+i]=t[n]+t[i];return e}()},759:function(t,e){e.read=function(t,e,n,r,i){var o,a,u=8*i-r-1,s=(1<>1,l=-7,f=n?i-1:0,h=n?-1:1,p=t[e+f];for(f+=h,o=p&(1<<-l)-1,p>>=-l,l+=u;l>0;o=256*o+t[e+f],f+=h,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=r;l>0;a=256*a+t[e+f],f+=h,l-=8);if(0===o)o=1-c;else{if(o===s)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,r),o-=c}return(p?-1:1)*a*Math.pow(2,o-r)},e.write=function(t,e,n,r,i,o){var a,u,s,c=8*o-i-1,l=(1<>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:o-1,d=r?1:-1,y=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(u=isNaN(e)?1:0,a=l):(a=Math.floor(Math.log(e)/Math.LN2),e*(s=Math.pow(2,-a))<1&&(a--,s*=2),(e+=a+f>=1?h/s:h*Math.pow(2,1-f))*s>=2&&(a++,s/=2),a+f>=l?(u=0,a=l):a+f>=1?(u=(e*s-1)*Math.pow(2,i),a+=f):(u=e*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;t[n+p]=255&u,p+=d,u/=256,i-=8);for(a=a<0;t[n+p]=255&a,p+=d,a/=256,c-=8);t[n+p-d]|=128*y}}},n={};function r(t){var i=n[t];if(void 0!==i)return i.exports;var o=n[t]={exports:{}},a=!0;try{e[t](o,o.exports,r),a=!1}finally{a&&delete n[t]}return o.exports}r.ab="//";var i=r(293);t.exports=i}()},4412:function(){},5663:function(){},6764:function(){},3456:function(){},9885:function(){},9008:function(t,e,n){t.exports=n(5443)},1163:function(t,e,n){t.exports=n(387)},4298:function(t,e,n){t.exports=n(699)},4155:function(t){var e,n,r=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function a(t){if(e===setTimeout)return setTimeout(t,0);if((e===i||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch(n){try{return e.call(null,t,0)}catch(n){return e.call(this,t,0)}}}!function(){try{e="function"===typeof setTimeout?setTimeout:i}catch(t){e=i}try{n="function"===typeof clearTimeout?clearTimeout:o}catch(t){n=o}}();var u,s=[],c=!1,l=-1;function f(){c&&u&&(c=!1,u.length?s=u.concat(s):l=-1,s.length&&h())}function h(){if(!c){var t=a(f);c=!0;for(var e=s.length;e;){for(u=s,s=[];++l1)for(var n=1;n0?this.queries.filter((function(t){return(0,i._x)(n,t)})):this.queries},n.notify=function(t){var e=this;a.V.batch((function(){e.listeners.forEach((function(e){e(t)}))}))},n.onFocus=function(){var t=this;a.V.batch((function(){t.queries.forEach((function(t){t.onFocus()}))}))},n.onOnline=function(){var t=this;a.V.batch((function(){t.queries.forEach((function(t){t.onOnline()}))}))},e}(l.l),h=function(){function t(t){this.options=(0,r.Z)({},t.defaultOptions,t.options),this.mutationId=t.mutationId,this.mutationCache=t.mutationCache,this.observers=[],this.state=t.state||{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0},this.meta=t.meta}var e=t.prototype;return e.setState=function(t){this.dispatch({type:"setState",state:t})},e.addObserver=function(t){-1===this.observers.indexOf(t)&&this.observers.push(t)},e.removeObserver=function(t){this.observers=this.observers.filter((function(e){return e!==t}))},e.cancel=function(){return this.retryer?(this.retryer.cancel(),this.retryer.promise.then(i.ZT).catch(i.ZT)):Promise.resolve()},e.continue=function(){return this.retryer?(this.retryer.continue(),this.retryer.promise):this.execute()},e.execute=function(){var t,e=this,n="loading"===this.state.status,r=Promise.resolve();return n||(this.dispatch({type:"loading",variables:this.options.variables}),r=r.then((function(){null==e.mutationCache.config.onMutate||e.mutationCache.config.onMutate(e.state.variables,e)})).then((function(){return null==e.options.onMutate?void 0:e.options.onMutate(e.state.variables)})).then((function(t){t!==e.state.context&&e.dispatch({type:"loading",context:t,variables:e.state.variables})}))),r.then((function(){return e.executeMutation()})).then((function(n){t=n,null==e.mutationCache.config.onSuccess||e.mutationCache.config.onSuccess(t,e.state.variables,e.state.context,e)})).then((function(){return null==e.options.onSuccess?void 0:e.options.onSuccess(t,e.state.variables,e.state.context)})).then((function(){return null==e.options.onSettled?void 0:e.options.onSettled(t,null,e.state.variables,e.state.context)})).then((function(){return e.dispatch({type:"success",data:t}),t})).catch((function(t){return null==e.mutationCache.config.onError||e.mutationCache.config.onError(t,e.state.variables,e.state.context,e),(0,u.j)().error(t),Promise.resolve().then((function(){return null==e.options.onError?void 0:e.options.onError(t,e.state.variables,e.state.context)})).then((function(){return null==e.options.onSettled?void 0:e.options.onSettled(void 0,t,e.state.variables,e.state.context)})).then((function(){throw e.dispatch({type:"error",error:t}),t}))}))},e.executeMutation=function(){var t,e=this;return this.retryer=new s.m4({fn:function(){return e.options.mutationFn?e.options.mutationFn(e.state.variables):Promise.reject("No mutationFn found")},onFail:function(){e.dispatch({type:"failed"})},onPause:function(){e.dispatch({type:"pause"})},onContinue:function(){e.dispatch({type:"continue"})},retry:null!=(t=this.options.retry)?t:0,retryDelay:this.options.retryDelay}),this.retryer.promise},e.dispatch=function(t){var e=this;this.state=function(t,e){switch(e.type){case"failed":return(0,r.Z)({},t,{failureCount:t.failureCount+1});case"pause":return(0,r.Z)({},t,{isPaused:!0});case"continue":return(0,r.Z)({},t,{isPaused:!1});case"loading":return(0,r.Z)({},t,{context:e.context,data:void 0,error:null,isPaused:!1,status:"loading",variables:e.variables});case"success":return(0,r.Z)({},t,{data:e.data,error:null,status:"success",isPaused:!1});case"error":return(0,r.Z)({},t,{data:void 0,error:e.error,failureCount:t.failureCount+1,isPaused:!1,status:"error"});case"setState":return(0,r.Z)({},t,e.state);default:return t}}(this.state,t),a.V.batch((function(){e.observers.forEach((function(e){e.onMutationUpdate(t)})),e.mutationCache.notify(e)}))},t}();var p=function(t){function e(e){var n;return(n=t.call(this)||this).config=e||{},n.mutations=[],n.mutationId=0,n}(0,o.Z)(e,t);var n=e.prototype;return n.build=function(t,e,n){var r=new h({mutationCache:this,mutationId:++this.mutationId,options:t.defaultMutationOptions(e),state:n,defaultOptions:e.mutationKey?t.getMutationDefaults(e.mutationKey):void 0,meta:e.meta});return this.add(r),r},n.add=function(t){this.mutations.push(t),this.notify(t)},n.remove=function(t){this.mutations=this.mutations.filter((function(e){return e!==t})),t.cancel(),this.notify(t)},n.clear=function(){var t=this;a.V.batch((function(){t.mutations.forEach((function(e){t.remove(e)}))}))},n.getAll=function(){return this.mutations},n.find=function(t){return"undefined"===typeof t.exact&&(t.exact=!0),this.mutations.find((function(e){return(0,i.X7)(t,e)}))},n.findAll=function(t){return this.mutations.filter((function(e){return(0,i.X7)(t,e)}))},n.notify=function(t){var e=this;a.V.batch((function(){e.listeners.forEach((function(e){e(t)}))}))},n.onFocus=function(){this.resumePausedMutations()},n.onOnline=function(){this.resumePausedMutations()},n.resumePausedMutations=function(){var t=this.mutations.filter((function(t){return t.state.isPaused}));return a.V.batch((function(){return t.reduce((function(t,e){return t.then((function(){return e.continue().catch(i.ZT)}))}),Promise.resolve())}))},e}(l.l),d=n(9852),y=n(68);function v(t,e){return null==t.getNextPageParam?void 0:t.getNextPageParam(e[e.length-1],e)}function m(t,e){return null==t.getPreviousPageParam?void 0:t.getPreviousPageParam(e[0],e)}var g=function(){function t(t){void 0===t&&(t={}),this.queryCache=t.queryCache||new f,this.mutationCache=t.mutationCache||new p,this.defaultOptions=t.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}var e=t.prototype;return e.mount=function(){var t=this;this.unsubscribeFocus=d.j.subscribe((function(){d.j.isFocused()&&y.N.isOnline()&&(t.mutationCache.onFocus(),t.queryCache.onFocus())})),this.unsubscribeOnline=y.N.subscribe((function(){d.j.isFocused()&&y.N.isOnline()&&(t.mutationCache.onOnline(),t.queryCache.onOnline())}))},e.unmount=function(){var t,e;null==(t=this.unsubscribeFocus)||t.call(this),null==(e=this.unsubscribeOnline)||e.call(this)},e.isFetching=function(t,e){var n=(0,i.I6)(t,e)[0];return n.fetching=!0,this.queryCache.findAll(n).length},e.isMutating=function(t){return this.mutationCache.findAll((0,r.Z)({},t,{fetching:!0})).length},e.getQueryData=function(t,e){var n;return null==(n=this.queryCache.find(t,e))?void 0:n.state.data},e.getQueriesData=function(t){return this.getQueryCache().findAll(t).map((function(t){return[t.queryKey,t.state.data]}))},e.setQueryData=function(t,e,n){var r=(0,i._v)(t),o=this.defaultQueryOptions(r);return this.queryCache.build(this,o).setData(e,n)},e.setQueriesData=function(t,e,n){var r=this;return a.V.batch((function(){return r.getQueryCache().findAll(t).map((function(t){var i=t.queryKey;return[i,r.setQueryData(i,e,n)]}))}))},e.getQueryState=function(t,e){var n;return null==(n=this.queryCache.find(t,e))?void 0:n.state},e.removeQueries=function(t,e){var n=(0,i.I6)(t,e)[0],r=this.queryCache;a.V.batch((function(){r.findAll(n).forEach((function(t){r.remove(t)}))}))},e.resetQueries=function(t,e,n){var o=this,u=(0,i.I6)(t,e,n),s=u[0],c=u[1],l=this.queryCache,f=(0,r.Z)({},s,{active:!0});return a.V.batch((function(){return l.findAll(s).forEach((function(t){t.reset()})),o.refetchQueries(f,c)}))},e.cancelQueries=function(t,e,n){var r=this,o=(0,i.I6)(t,e,n),u=o[0],s=o[1],c=void 0===s?{}:s;"undefined"===typeof c.revert&&(c.revert=!0);var l=a.V.batch((function(){return r.queryCache.findAll(u).map((function(t){return t.cancel(c)}))}));return Promise.all(l).then(i.ZT).catch(i.ZT)},e.invalidateQueries=function(t,e,n){var o,u,s,c=this,l=(0,i.I6)(t,e,n),f=l[0],h=l[1],p=(0,r.Z)({},f,{active:null==(o=null!=(u=f.refetchActive)?u:f.active)||o,inactive:null!=(s=f.refetchInactive)&&s});return a.V.batch((function(){return c.queryCache.findAll(f).forEach((function(t){t.invalidate()})),c.refetchQueries(p,h)}))},e.refetchQueries=function(t,e,n){var o=this,u=(0,i.I6)(t,e,n),s=u[0],c=u[1],l=a.V.batch((function(){return o.queryCache.findAll(s).map((function(t){return t.fetch(void 0,(0,r.Z)({},c,{meta:{refetchPage:null==s?void 0:s.refetchPage}}))}))})),f=Promise.all(l).then(i.ZT);return(null==c?void 0:c.throwOnError)||(f=f.catch(i.ZT)),f},e.fetchQuery=function(t,e,n){var r=(0,i._v)(t,e,n),o=this.defaultQueryOptions(r);"undefined"===typeof o.retry&&(o.retry=!1);var a=this.queryCache.build(this,o);return a.isStaleByTime(o.staleTime)?a.fetch(o):Promise.resolve(a.state.data)},e.prefetchQuery=function(t,e,n){return this.fetchQuery(t,e,n).then(i.ZT).catch(i.ZT)},e.fetchInfiniteQuery=function(t,e,n){var r=(0,i._v)(t,e,n);return r.behavior={onFetch:function(t){t.fetchFn=function(){var e,n,r,o,a,u,c,l=null==(e=t.fetchOptions)||null==(n=e.meta)?void 0:n.refetchPage,f=null==(r=t.fetchOptions)||null==(o=r.meta)?void 0:o.fetchMore,h=null==f?void 0:f.pageParam,p="forward"===(null==f?void 0:f.direction),d="backward"===(null==f?void 0:f.direction),y=(null==(a=t.state.data)?void 0:a.pages)||[],g=(null==(u=t.state.data)?void 0:u.pageParams)||[],b=(0,i.G9)(),w=null==b?void 0:b.signal,E=g,O=!1,T=t.options.queryFn||function(){return Promise.reject("Missing queryFn")},C=function(t,e,n,r){return E=r?[e].concat(E):[].concat(E,[e]),r?[n].concat(t):[].concat(t,[n])},S=function(e,n,r,i){if(O)return Promise.reject("Cancelled");if("undefined"===typeof r&&!n&&e.length)return Promise.resolve(e);var o={queryKey:t.queryKey,signal:w,pageParam:r,meta:t.meta},a=T(o),u=Promise.resolve(a).then((function(t){return C(e,r,t,i)}));return(0,s.LE)(a)&&(u.cancel=a.cancel),u};if(y.length)if(p){var A="undefined"!==typeof h,P=A?h:v(t.options,y);c=S(y,A,P)}else if(d){var k="undefined"!==typeof h,R=k?h:m(t.options,y);c=S(y,k,R,!0)}else!function(){E=[];var e="undefined"===typeof t.options.getNextPageParam,n=!l||!y[0]||l(y[0],0,y);c=n?S([],e,g[0]):Promise.resolve(C([],g[0],y[0]));for(var r=function(n){c=c.then((function(r){if(!l||!y[n]||l(y[n],n,y)){var i=e?g[n]:v(t.options,r);return S(r,e,i)}return Promise.resolve(C(r,g[n],y[n]))}))},i=1;i0},e.onSubscribe=function(){},e.onUnsubscribe=function(){},t}()},6755:function(){},2288:function(t,e,n){"use strict";n.d(e,{sk:function(){return i},ZT:function(){return o},SE:function(){return a},PN:function(){return u},mc:function(){return s},Kp:function(){return c},_v:function(){return l},I6:function(){return f},_x:function(){return h},X7:function(){return p},Rm:function(){return d},yF:function(){return y},to:function(){return v},Q$:function(){return g},VS:function(){return b},Gh:function(){return T},A4:function(){return C},G9:function(){return S}});var r=n(7462),i="undefined"===typeof window;function o(){}function a(t,e){return"function"===typeof t?t(e):t}function u(t){return"number"===typeof t&&t>=0&&t!==1/0}function s(t){return Array.isArray(t)?t:[t]}function c(t,e){return Math.max(t+(e||0)-Date.now(),0)}function l(t,e,n){return O(t)?"function"===typeof e?(0,r.Z)({},n,{queryKey:t,queryFn:e}):(0,r.Z)({},e,{queryKey:t}):t}function f(t,e,n){return O(t)?[(0,r.Z)({},e,{queryKey:t}),n]:[t||{},e]}function h(t,e){var n=t.active,r=t.exact,i=t.fetching,o=t.inactive,a=t.predicate,u=t.queryKey,s=t.stale;if(O(u))if(r){if(e.queryHash!==d(u,e.options))return!1}else if(!v(e.queryKey,u))return!1;var c=function(t,e){return!0===t&&!0===e||null==t&&null==e?"all":!1===t&&!1===e?"none":(null!=t?t:!e)?"active":"inactive"}(n,o);if("none"===c)return!1;if("all"!==c){var l=e.isActive();if("active"===c&&!l)return!1;if("inactive"===c&&l)return!1}return("boolean"!==typeof s||e.isStale()===s)&&(("boolean"!==typeof i||e.isFetching()===i)&&!(a&&!a(e)))}function p(t,e){var n=t.exact,r=t.fetching,i=t.predicate,o=t.mutationKey;if(O(o)){if(!e.options.mutationKey)return!1;if(n){if(y(e.options.mutationKey)!==y(o))return!1}else if(!v(e.options.mutationKey,o))return!1}return("boolean"!==typeof r||"loading"===e.state.status===r)&&!(i&&!i(e))}function d(t,e){return((null==e?void 0:e.queryKeyHashFn)||y)(t)}function y(t){var e,n=s(t);return e=n,JSON.stringify(e,(function(t,e){return w(e)?Object.keys(e).sort().reduce((function(t,n){return t[n]=e[n],t}),{}):e}))}function v(t,e){return m(s(t),s(e))}function m(t,e){return t===e||typeof t===typeof e&&(!(!t||!e||"object"!==typeof t||"object"!==typeof e)&&!Object.keys(e).some((function(n){return!m(t[n],e[n])})))}function g(t,e){if(t===e)return t;var n=Array.isArray(t)&&Array.isArray(e);if(n||w(t)&&w(e)){for(var r=n?t.length:Object.keys(t).length,i=n?e:Object.keys(e),o=i.length,a=n?[]:{},u=0,s=0;s0||h.errorUpdateCount>0,isFetchedAfterMount:h.dataUpdateCount>l.dataUpdateCount||h.errorUpdateCount>l.errorUpdateCount,isFetching:m,isRefetching:m&&"loading"!==g,isLoadingError:"error"===g&&0===h.dataUpdatedAt,isPlaceholderData:T,isPreviousData:b,isRefetchError:"error"===g&&0!==h.dataUpdatedAt,isStale:O(t,e),refetch:this.refetch,remove:this.remove}},n.shouldNotifyListeners=function(t,e){if(!e)return!0;var n=this.options,r=n.notifyOnChangeProps,i=n.notifyOnChangePropsExclusions;if(!r&&!i)return!0;if("tracked"===r&&!this.trackedProps.length)return!0;var o="tracked"===r?this.trackedProps:r;return Object.keys(t).some((function(n){var r=n,a=t[r]!==e[r],u=null==o?void 0:o.some((function(t){return t===n})),s=null==i?void 0:i.some((function(t){return t===n}));return a&&!s&&(!o||u)}))},n.updateResult=function(t){var e=this.currentResult;if(this.currentResult=this.createResult(this.currentQuery,this.options),this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,!(0,y.VS)(this.currentResult,e)){var n={cache:!0};!1!==(null==t?void 0:t.listeners)&&this.shouldNotifyListeners(this.currentResult,e)&&(n.listeners=!0),this.notify((0,p.Z)({},n,t))}},n.updateQuery=function(){var t=this.client.getQueryCache().build(this.client,this.options);if(t!==this.currentQuery){var e=this.currentQuery;this.currentQuery=t,this.currentQueryInitialState=t.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==e||e.removeObserver(this),t.addObserver(this))}},n.onQueryUpdate=function(t){var e={};"success"===t.type?e.onSuccess=!0:"error"!==t.type||(0,g.DV)(t.error)||(e.onError=!0),this.updateResult(e),this.hasListeners()&&this.updateTimers()},n.notify=function(t){var e=this;r.V.batch((function(){t.onSuccess?(null==e.options.onSuccess||e.options.onSuccess(e.currentResult.data),null==e.options.onSettled||e.options.onSettled(e.currentResult.data,null)):t.onError&&(null==e.options.onError||e.options.onError(e.currentResult.error),null==e.options.onSettled||e.options.onSettled(void 0,e.currentResult.error)),t.listeners&&e.listeners.forEach((function(t){t(e.currentResult)})),t.cache&&e.client.getQueryCache().notify({query:e.currentQuery,type:"observerResultsUpdated"})}))},e}(m.l);function w(t,e){return function(t,e){return!1!==e.enabled&&!t.state.dataUpdatedAt&&!("error"===t.state.status&&!1===e.retryOnMount)}(t,e)||function(t,e){return!1!==e.enabled&&t.state.dataUpdatedAt>0&&("always"===e.refetchOnMount||!1!==e.refetchOnMount&&O(t,e))}(t,e)}function E(t,e,n,r){return!1!==n.enabled&&(t!==e||!1===r.enabled)&&(!n.suspense||"error"!==t.state.status)&&O(t,n)}function O(t,e){return t.isStaleByTime(e.staleTime)}function T(){var t=!1;return{clearReset:function(){t=!1},reset:function(){t=!0},isReset:function(){return t}}}var C=u.createContext(T());function S(t,e){var n=u.useRef(!1),i=u.useState(0)[1],o=f(),a=u.useContext(C),s=o.defaultQueryObserverOptions(t);s.optimisticResults=!0,s.onError&&(s.onError=r.V.batchCalls(s.onError)),s.onSuccess&&(s.onSuccess=r.V.batchCalls(s.onSuccess)),s.onSettled&&(s.onSettled=r.V.batchCalls(s.onSettled)),s.suspense&&("number"!==typeof s.staleTime&&(s.staleTime=1e3),0===s.cacheTime&&(s.cacheTime=1)),(s.suspense||s.useErrorBoundary)&&(a.isReset()||(s.retryOnMount=!1));var c,l,h,p=u.useState((function(){return new e(o,s)}))[0],d=p.getOptimisticResult(s);if(u.useEffect((function(){n.current=!0,a.clearReset();var t=p.subscribe(r.V.batchCalls((function(){n.current&&i((function(t){return t+1}))})));return p.updateResult(),function(){n.current=!1,t()}}),[a,p]),u.useEffect((function(){p.setOptions(s,{listeners:!1})}),[s,p]),s.suspense&&d.isLoading)throw p.fetchOptimistic(s).then((function(t){var e=t.data;null==s.onSuccess||s.onSuccess(e),null==s.onSettled||s.onSettled(e,null)})).catch((function(t){a.clearReset(),null==s.onError||s.onError(t),null==s.onSettled||s.onSettled(void 0,t)}));if(d.isError&&!a.isReset()&&!d.isFetching&&(c=s.suspense,l=s.useErrorBoundary,h=[d.error,p.getCurrentQuery()],"function"===typeof l?l.apply(void 0,h):"boolean"===typeof l?l:c))throw d.error;return"tracked"===s.notifyOnChangeProps&&(d=p.trackResult(d,s)),d}function A(t,e,n){return S((0,y._v)(t,e,n),b)}function P(t,e){var n=f(),r=u.useRef(e);r.current=e,u.useMemo((function(){t&&function(t,e,n){if("object"===typeof e&&null!==e){var r=t.getMutationCache(),i=t.getQueryCache(),o=e.mutations||[],a=e.queries||[];o.forEach((function(e){var i;r.build(t,(0,p.Z)({},null==n||null==(i=n.defaultOptions)?void 0:i.mutations,{mutationKey:e.mutationKey}),e.state)})),a.forEach((function(e){var r,o=i.get(e.queryHash);o?o.state.dataUpdatedAte.length)&&(t=e.length);for(var n=0,r=new Array(t);n2&&void 0!==arguments[2]?arguments[2]:{};if(!t.languages||!t.languages.length)return h("i18n.languages were undefined or empty",t.languages),!0;var r=t.languages[0],i=!!t.options&&t.options.fallbackLng,a=t.languages[t.languages.length-1];if("cimode"===r.toLowerCase())return!0;var o=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return-1===r||2===r};return!(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!o(t.isLanguageChangingTo,e))&&(!!t.hasResourceBundle(r,e)||(!t.services.backendConnector.backend||!(!o(r,e)||i&&!o(a,e))))}function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},n=t.i18n,r=(0,o.useContext)(l)||{},a=r.i18n,s=r.defaultNS,c=n||a||p();if(c&&!c.reportNamespaces&&(c.reportNamespaces=new d),!c){h("You will need to pass in an i18next instance by using initReactI18next");var u=function(e){return Array.isArray(e)?e[e.length-1]:e},g=[u,{},!1];return g.t=u,g.i18n={},g.ready=!1,g}c.options.react&&void 0!==c.options.react.wait&&h("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");var _=b(b(b({},f()),c.options.react),t),y=_.useSuspense,j=_.keyPrefix,x=e||s||c.options&&c.options.defaultNS;x="string"===typeof x?[x]:x||["translation"],c.reportNamespaces.addUsedNamespaces&&c.reportNamespaces.addUsedNamespaces(x);var w=(c.isInitialized||c.initializedStoreOnce)&&x.every((function(e){return v(e,c,_)}));function N(){return c.getFixedT(null,"fallback"===_.nsMode?x:x[0],j)}var O=(0,o.useState)(N),S=i(O,2),P=S[0],C=S[1],k=(0,o.useRef)(!0);(0,o.useEffect)((function(){var e=_.bindI18n,t=_.bindI18nStore;function n(){k.current&&C(N)}return k.current=!0,w||y||m(c,x,(function(){k.current&&C(N)})),e&&c&&c.on(e,n),t&&c&&c.store.on(t,n),function(){k.current=!1,e&&c&&e.split(" ").forEach((function(e){return c.off(e,n)})),t&&c&&t.split(" ").forEach((function(e){return c.store.off(e,n)}))}}),[c,x.join()]);var E=(0,o.useRef)(!0);(0,o.useEffect)((function(){k.current&&!E.current&&C(N),E.current=!1}),[c]);var T=[P,c,w];if(T.t=P,T.i18n=c,T.ready=w,w)return T;if(!w&&!y)return T;throw new Promise((function(e){m(c,x,(function(){e()}))}))}}},function(e){e.O(0,[185,273,774,888,179],(function(){return t=5423,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
\ No newline at end of file
diff --git a/_next/static/chunks/pages/blog/[slug]-9e72dc812701157f.js b/_next/static/chunks/pages/blog/[slug]-9e72dc812701157f.js
deleted file mode 100644
index 74099337..00000000
--- a/_next/static/chunks/pages/blog/[slug]-9e72dc812701157f.js
+++ /dev/null
@@ -1 +0,0 @@
-(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[492],{5203:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/blog/[slug]",function(){return n(7575)}])},7575:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return l}});var r=n(5893),a=n(932),i=n.n(a),o=n(8053),s=n(6045),c=(n(7294),n(3084)),u=n(5273),l=!0;t.default=function(e){var t=e.blog,n=(0,c.$)().i18n;return(0,r.jsx)(u.Z,{children:(0,r.jsxs)(o.Z,{section:!0,maxWidth:"lg",children:[(0,r.jsx)(s.Z,{title:"".concat(new Date(t.publishedAt).toLocaleDateString(n.language,{year:"numeric",month:"short"})),subtitle:t.title}),(0,r.jsx)("div",{dangerouslySetInnerHTML:{__html:t.body.html}}),(0,r.jsx)(o.Z,{section:!0,maxWidth:"sm",children:(0,r.jsx)("div",{className:i().tags,children:(0,r.jsx)("h6",{className:i().tagsHeader,children:"Tech Stack:"})})})]})})}},6045:function(e,t,n){"use strict";var r=n(5893),a=(n(7294),n(7189)),i=n.n(a),o=n(4184),s=n.n(o);t.Z=function(e){var t=e.center,n=e.title,a=e.subtitle;return(0,r.jsxs)("div",{className:i().titleSection,children:[a&&(0,r.jsx)("h4",{className:s()(i().title,{"text-center":t}),children:n}),(0,r.jsx)("h2",{className:s()(i().subTitle,{"text-center":t}),children:a}),(0,r.jsx)("h2",{className:s()(i().separator,{"mx-auto":t})})]})}},932:function(e){e.exports={image:"_slug__image__q_cG9",links:"_slug__links__aL6La",tags:"_slug__tags__qt5lG",tagsHeader:"_slug__tagsHeader__jMXCN",tag:"_slug__tag__i2QDf"}},7189:function(e){e.exports={titleSection:"TitleSection_titleSection__D8oEf",title:"TitleSection_title__S701v",dark:"dark",subTitle:"TitleSection_subTitle__VlMiw",separator:"TitleSection_separator__EurKh"}},3084:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n2&&void 0!==arguments[2]?arguments[2]:{};if(!t.languages||!t.languages.length)return b("i18n.languages were undefined or empty",t.languages),!0;var r=t.languages[0],a=!!t.options&&t.options.fallbackLng,i=t.languages[t.languages.length-1];if("cimode"===r.toLowerCase())return!0;var o=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return-1===r||2===r};return!(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!o(t.isLanguageChangingTo,e))&&(!!t.hasResourceBundle(r,e)||(!t.services.backendConnector.backend||!(!o(r,e)||a&&!o(i,e))))}function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},n=t.i18n,r=(0,o.useContext)(l)||{},i=r.i18n,s=r.defaultNS,c=n||i||p();if(c&&!c.reportNamespaces&&(c.reportNamespaces=new d),!c){b("You will need to pass in an i18next instance by using initReactI18next");var u=function(e){return Array.isArray(e)?e[e.length-1]:e},g=[u,{},!1];return g.t=u,g.i18n={},g.ready=!1,g}c.options.react&&void 0!==c.options.react.wait&&b("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");var h=_(_(_({},f()),c.options.react),t),m=h.useSuspense,w=h.keyPrefix,N=e||s||c.options&&c.options.defaultNS;N="string"===typeof N?[N]:N||["translation"],c.reportNamespaces.addUsedNamespaces&&c.reportNamespaces.addUsedNamespaces(N);var j=(c.isInitialized||c.initializedStoreOnce)&&N.every((function(e){return v(e,c,h)}));function S(){return c.getFixedT(null,"fallback"===h.nsMode?N:N[0],w)}var x=(0,o.useState)(S),O=a(x,2),k=O[0],T=O[1],E=(0,o.useRef)(!0);(0,o.useEffect)((function(){var e=h.bindI18n,t=h.bindI18nStore;function n(){E.current&&T(S)}return E.current=!0,j||m||y(c,N,(function(){E.current&&T(S)})),e&&c&&c.on(e,n),t&&c&&c.store.on(t,n),function(){E.current=!1,e&&c&&e.split(" ").forEach((function(e){return c.off(e,n)})),t&&c&&t.split(" ").forEach((function(e){return c.store.off(e,n)}))}}),[c,N.join()]);var C=(0,o.useRef)(!0);(0,o.useEffect)((function(){E.current&&!C.current&&T(S),C.current=!1}),[c]);var P=[k,c,j];if(P.t=k,P.i18n=c,P.ready=j,j)return P;if(!j&&!m)return P;throw new Promise((function(e){y(c,N,(function(){e()}))}))}}},function(e){e.O(0,[185,273,774,888,179],(function(){return t=5203,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
\ No newline at end of file
diff --git a/_next/static/chunks/pages/contact-24b13a4368e2b614.js b/_next/static/chunks/pages/contact-24b13a4368e2b614.js
deleted file mode 100644
index 5a041200..00000000
--- a/_next/static/chunks/pages/contact-24b13a4368e2b614.js
+++ /dev/null
@@ -1 +0,0 @@
-(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[335],{3038:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/contact",function(){return t(8428)}])},8428:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return T}});var o=t(5893),l=t(8053),i=t(6045),a=t(7294),r=t(9429),s=t(2899),c=t(4184),d=t.n(c),p=function(){return(0,o.jsxs)(l.Z,{section:!0,maxWidth:"lg",children:[(0,o.jsx)(i.Z,{title:"Contacts",subtitle:"For more info contact me",center:!0}),(0,o.jsx)("img",{className:"w-full",src:"/images/profile-high-resolution.jpg",alt:s.Z.SHORT_NAME}),(0,o.jsx)("div",{className:"mt-8 flex w-full flex-wrap items-center justify-center",children:r.f.map((function(e){return(0,o.jsx)("a",{className:d()("mx-2 text-blue-400 hover:text-blue-400","mx-4 inline-block cursor-pointer transition duration-300","dark:text-gray-50 hover:dark:text-gray-50"),href:e.link,target:"_blank",rel:"nofollow noopener noreferrer","aria-label":"link to authors'".concat(e.name," account"),children:(0,o.jsx)(e.icon,{className:"m-1 h-16 w-16"})},e.link)}))})]})},u=t(3935),m=function(e,n){return m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])},m(e,n)};function h(e,n){function t(){this.constructor=e}m(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)}var f=function(){return f=Object.assign||function(e){for(var n,t=1,o=arguments.length;tdiv {\n display:inline-block;\n width:18px;\n height:18px;\n background-color:#e1e1e1;\n border-radius:50%;\n vertical-align:middle;\n -webkit-animation:calendly-bouncedelay 1.4s infinite ease-in-out;\n animation:calendly-bouncedelay 1.4s infinite ease-in-out;\n -webkit-animation-fill-mode:both;\n animation-fill-mode:both\n}\n\n.calendly-spinner .calendly-bounce1 {\n -webkit-animation-delay:-0.32s;\n animation-delay:-0.32s\n}\n\n.calendly-spinner .calendly-bounce2 {\n -webkit-animation-delay:-0.16s;\n animation-delay:-0.16s\n}\n\n@-webkit-keyframes calendly-bouncedelay {\n 0%,80%,100% {\n -webkit-transform:scale(0);\n transform:scale(0)\n } \n \n 40%{\n -webkit-transform:scale(1);\n transform:scale(1)\n }\n}\n\n@keyframes calendly-bouncedelay{ \n 0%,80%,100% {\n -webkit-transform:scale(0);\n transform:scale(0)\n }\n \n 40% {\n -webkit-transform:scale(1);\n transform:scale(1)\n }\n}"),function(e){e.PROFILE_PAGE_VIEWED="calendly.profile_page_viewed",e.EVENT_TYPE_VIEWED="calendly.event_type_viewed",e.DATE_AND_TIME_SELECTED="calendly.date_and_time_selected",e.EVENT_SCHEDULED="calendly.event_scheduled"}(y||(y={}));var g=function(e){var n=e.url,t=e.prefill,o=void 0===t?{}:t,l=e.pageSettings,i=void 0===l?{}:l,a=e.utm,r=void 0===a?{}:a,s=e.embedType,c=i.backgroundColor,d=i.hideEventTypeDetails,p=i.hideLandingPageDetails,u=i.primaryColor,m=i.textColor,h=i.hideGdprBanner,f=o.customAnswers,y=o.date,g=o.email,E=o.firstName,x=o.guests,_=o.lastName,w=o.location,C=o.name,k=r.utmCampaign,N=r.utmContent,T=r.utmMedium,S=r.utmSource,L=r.utmTerm,D=n.indexOf("?"),j=D>-1,O=n.slice(D+1);return(j?n.slice(0,D):n)+"?"+[j?O:null,c?"background_color="+c:null,d?"hide_event_type_details=1":null,p?"hide_landing_page_details=1":null,u?"primary_color="+u:null,m?"text_color="+m:null,h?"hide_gdpr_banner=1":null,C?"name="+encodeURIComponent(C):null,w?"location="+encodeURIComponent(w):null,E?"first_name="+encodeURIComponent(E):null,_?"last_name="+encodeURIComponent(_):null,x?"guests="+x.join(","):null,g?"email="+g:null,y&&y instanceof Date?"date="+b(y):null,k?"utm_campaign="+encodeURIComponent(k):null,N?"utm_content="+encodeURIComponent(N):null,T?"utm_medium="+encodeURIComponent(T):null,S?"utm_source="+encodeURIComponent(S):null,L?"utm_term="+encodeURIComponent(L):null,s?"embed_type="+s:null,"embed_domain=1"].concat(f?v(f):[]).filter((function(e){return null!==e})).join("&")},b=function(e){var n=e.getMonth()+1,t=e.getDate();return[e.getFullYear(),n<10?"0"+n:n,t<10?"0"+t:t].join("-")},E=/^a\d{1,2}$/,v=function(e){var n=Object.keys(e).filter((function(e){return e.match(E)}));return n.length?n.map((function(n){return n+"="+encodeURIComponent(e[n])})):[]},x=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return h(n,e),n.prototype.render=function(){return(0,a.createElement)("div",{className:"calendly-spinner"},(0,a.createElement)("div",{className:"calendly-bounce1"}),(0,a.createElement)("div",{className:"calendly-bounce2"}),(0,a.createElement)("div",{className:"calendly-bounce3"}))},n}(a.Component),_={minWidth:"320px",height:"630px"},w=function(e){function n(n){var t=e.call(this,n)||this;return t.state={isLoading:!0},t.onLoad=t.onLoad.bind(t),t}return h(n,e),n.prototype.onLoad=function(){this.setState({isLoading:!1})},n.prototype.render=function(){var e=g({url:this.props.url,pageSettings:this.props.pageSettings,prefill:this.props.prefill,utm:this.props.utm,embedType:"Inline"});return(0,a.createElement)("div",{className:"calendly-inline-widget",style:this.props.styles||_},this.state.isLoading&&(0,a.createElement)(x,null),(0,a.createElement)("iframe",{width:"100%",height:"100%",frameBorder:"0",title:this.props.iframeTitle||"Calendly Scheduling Page",onLoad:this.onLoad,src:e}))},n}(a.Component),C=function(e){function n(n){var t=e.call(this,n)||this;return t.state={isLoading:!0},t.onLoad=t.onLoad.bind(t),t}return h(n,e),n.prototype.onLoad=function(){this.setState({isLoading:!1})},n.prototype.render=function(){var e=g({url:this.props.url,pageSettings:this.props.pageSettings,prefill:this.props.prefill,utm:this.props.utm,embedType:"PopupWidget"});return(0,a.createElement)(a.Fragment,null,this.state.isLoading&&(0,a.createElement)(x,null),(0,a.createElement)("iframe",{width:"100%",height:"100%",frameBorder:"0",title:this.props.iframeTitle||"Calendly Scheduling Page",onLoad:this.onLoad,src:e}))},n}(a.Component),k=function(e){return e.open?(0,u.createPortal)((0,a.createElement)("div",{className:"calendly-overlay"},(0,a.createElement)("div",{className:"calendly-close-overlay"}),(0,a.createElement)("div",{className:"calendly-popup"},(0,a.createElement)("div",{className:"calendly-popup-content"},(0,a.createElement)(C,f({},e)))),(0,a.createElement)("button",{className:"calendly-popup-close",onClick:e.onModalClose,"aria-label":"Close modal",style:{display:"block",border:"none",padding:0}})),e.rootElement):null},N=(function(e){function n(n){var t=e.call(this,n)||this;return t.state={isOpen:!1},t.onClick=t.onClick.bind(t),t.onClose=t.onClose.bind(t),t}h(n,e),n.prototype.onClick=function(e){e.preventDefault(),this.setState({isOpen:!0})},n.prototype.onClose=function(e){e.stopPropagation(),this.setState({isOpen:!1})},n.prototype.render=function(){return(0,a.createElement)(a.Fragment,null,(0,a.createElement)("button",{onClick:this.onClick,style:this.props.styles||{},className:this.props.className||""},this.props.text),(0,a.createElement)(k,f({},this.props,{open:this.state.isOpen,onModalClose:this.onClose,rootElement:this.props.rootElement})))}}(a.Component),function(e){function n(n){var t=e.call(this,n)||this;return t.state={isOpen:!1},t.onClick=t.onClick.bind(t),t.onClose=t.onClose.bind(t),t}h(n,e),n.prototype.onClick=function(){this.setState({isOpen:!0})},n.prototype.onClose=function(e){e.stopPropagation(),this.setState({isOpen:!1})},n.prototype.render=function(){return(0,a.createElement)("div",{className:"calendly-badge-widget",onClick:this.onClick},(0,a.createElement)("div",{className:"calendly-badge-content",style:{background:this.props.color||"#00a2ff",color:this.props.textColor||"#ffffff"}},this.props.text||"Schedule time with me",this.props.branding&&(0,a.createElement)("span",null,"powered by Calendly")),(0,a.createElement)(k,f({},this.props,{open:this.state.isOpen,onModalClose:this.onClose,rootElement:this.props.rootElement})))}}(a.Component),function(e){function n(n){var t=e.call(this,n)||this;return t.handleEvent=t.handleEvent.bind(t),t}h(n,e),n.prototype.componentDidMount=function(){window.addEventListener("message",this.handleEvent)},n.prototype.componentWillUnmount=function(){window.removeEventListener("message",this.handleEvent)},n.prototype.handleEvent=function(e){var n=e.data.event;n===y.DATE_AND_TIME_SELECTED?this.props.onDateAndTimeSelected&&this.props.onDateAndTimeSelected(e):n===y.EVENT_SCHEDULED?this.props.onEventScheduled&&this.props.onEventScheduled(e):n===y.EVENT_TYPE_VIEWED?this.props.onEventTypeViewed&&this.props.onEventTypeViewed(e):n===y.PROFILE_PAGE_VIEWED&&this.props.onProfilePageViewed&&this.props.onProfilePageViewed(e)},n.prototype.render=function(){return this.props.children||null}}(a.Component),t(5273)),T=function(){return(0,o.jsxs)(N.Z,{children:[(0,o.jsx)(p,{}),(0,o.jsx)(w,{styles:{height:"660px",paddingLeft:5,paddingRight:5,maxWidth:1050,margin:"0 auto"},url:"https://calendly.com/".concat(s.Z.CALENDLY_ID,"/").concat(s.Z.CALENDLY_EVENT_LINK)})]})}},6045:function(e,n,t){"use strict";var o=t(5893),l=(t(7294),t(7189)),i=t.n(l),a=t(4184),r=t.n(a);n.Z=function(e){var n=e.center,t=e.title,l=e.subtitle;return(0,o.jsxs)("div",{className:i().titleSection,children:[l&&(0,o.jsx)("h4",{className:r()(i().title,{"text-center":n}),children:t}),(0,o.jsx)("h2",{className:r()(i().subTitle,{"text-center":n}),children:l}),(0,o.jsx)("h2",{className:r()(i().separator,{"mx-auto":n})})]})}},7189:function(e){e.exports={titleSection:"TitleSection_titleSection__D8oEf",title:"TitleSection_title__S701v",dark:"dark",subTitle:"TitleSection_subTitle__VlMiw",separator:"TitleSection_separator__EurKh"}}},function(e){e.O(0,[185,273,774,888,179],(function(){return n=3038,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
\ No newline at end of file
diff --git a/_next/static/chunks/pages/index-24e53b78632803c4.js b/_next/static/chunks/pages/index-24e53b78632803c4.js
deleted file mode 100644
index 67dbdb16..00000000
--- a/_next/static/chunks/pages/index-24e53b78632803c4.js
+++ /dev/null
@@ -1 +0,0 @@
-(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{5301:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return a(724)}])},724:function(e,t,a){"use strict";a.r(t),a.d(t,{__N_SSG:function(){return Ce},default:function(){return ke}});var n,r,s,l,c,i,o,u,d,m,p,f,h,x,b,g,y,v,Z,_,E,M,j,N,w,C,k,O,S,F,T,A,I,P,D,L,B,Q,q,R,U,H,z,Y,V,W,X,K,G,$,J,ee,te,ae,ne,re,se,le,ce,ie,oe=a(5893),ue=a(7294),de=function(e){return(0,oe.jsx)("div",{className:"flex w-full items-center justify-center md:w-1/2",children:(0,oe.jsxs)("div",{children:[(0,oe.jsxs)("p",{className:"text-6xl font-black leading-relaxed text-blue-500 dark:text-blue-200",children:["Hi there!",(0,oe.jsx)("br",{}),"I'm ",(0,oe.jsx)("strong",{children:"Ali Heydari"})]}),(0,oe.jsx)("p",{className:"text-3xl leading-relaxed text-blue-400 dark:text-blue-200",children:"A developer who loves cats, traveling, photography and learning new things"}),(0,oe.jsx)("button",{className:"m-3 rounded-full bg-blue-500 p-4 text-white hover:bg-blue-600 dark:bg-blue-700 hover:dark:bg-blue-500",children:"Download my resume"})]})})},me=a(4210),pe=a.n(me),fe=a(4184),he=a.n(fe),xe=function(e){var t=e.quote,a=e.className;return(0,oe.jsxs)("div",{className:he()(pe().wrapper,a),children:[(0,oe.jsx)("span",{className:pe().topQuoteMark,children:"\u201c"}),(0,oe.jsx)("blockquote",{className:pe().quote,children:t}),(0,oe.jsx)("span",{className:pe().bottomQuoteMark,children:"\u201d"})]})},be=function(e){return(0,oe.jsx)("div",{className:"flex w-full items-center justify-center md:w-1/2",children:(0,oe.jsxs)("div",{className:"w-full md:w-2/3",children:[(0,oe.jsx)("img",{src:"/images/hero-banner.jpg",alt:"Hero Banner",className:"w-full border border-2 border-blue-700 dark:border-blue-200"}),(0,oe.jsx)(xe,{quote:"Be the change that you want to see in the world."})]})})},ge=function(){return(0,oe.jsxs)("div",{className:"mx-auto flex flex-col items-center justify-center md:flex-row-reverse",children:[(0,oe.jsx)(be,{}),(0,oe.jsx)(de,{})]})},ye=a(5715);function ve(){return ve=Object.assign||function(e){for(var t=1;te.length)&&(t=e.length);for(var a=0,n=new Array(t);a2&&void 0!==arguments[2]?arguments[2]:{};if(!t.languages||!t.languages.length)return x("i18n.languages were undefined or empty",t.languages),!0;var n=t.languages[0],r=!!t.options&&t.options.fallbackLng,s=t.languages[t.languages.length-1];if("cimode"===n.toLowerCase())return!0;var l=function(e,a){var n=t.services.backendConnector.state["".concat(e,"|").concat(a)];return-1===n||2===n};return!(a.bindI18n&&a.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!l(t.isLanguageChangingTo,e))&&(!!t.hasResourceBundle(n,e)||(!t.services.backendConnector.backend||!(!l(n,e)||r&&!l(s,e))))}function y(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function v(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},a=t.i18n,n=(0,l.useContext)(u)||{},s=n.i18n,c=n.defaultNS,i=a||s||p();if(i&&!i.reportNamespaces&&(i.reportNamespaces=new m),!i){x("You will need to pass in an i18next instance by using initReactI18next");var o=function(e){return Array.isArray(e)?e[e.length-1]:e},f=[o,{},!1];return f.t=o,f.i18n={},f.ready=!1,f}i.options.react&&void 0!==i.options.react.wait&&x("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");var h=v(v(v({},d()),i.options.react),t),y=h.useSuspense,Z=h.keyPrefix,_=e||c||i.options&&i.options.defaultNS;_="string"===typeof _?[_]:_||["translation"],i.reportNamespaces.addUsedNamespaces&&i.reportNamespaces.addUsedNamespaces(_);var E=(i.isInitialized||i.initializedStoreOnce)&&_.every((function(e){return g(e,i,h)}));function M(){return i.getFixedT(null,"fallback"===h.nsMode?_:_[0],Z)}var j=(0,l.useState)(M),N=r(j,2),w=N[0],C=N[1],k=(0,l.useRef)(!0);(0,l.useEffect)((function(){var e=h.bindI18n,t=h.bindI18nStore;function a(){k.current&&C(M)}return k.current=!0,E||y||b(i,_,(function(){k.current&&C(M)})),e&&i&&i.on(e,a),t&&i&&i.store.on(t,a),function(){k.current=!1,e&&i&&e.split(" ").forEach((function(e){return i.off(e,a)})),t&&i&&t.split(" ").forEach((function(e){return i.store.off(e,a)}))}}),[i,_.join()]);var O=(0,l.useRef)(!0);(0,l.useEffect)((function(){k.current&&!O.current&&C(M),O.current=!1}),[i]);var S=[w,i,E];if(S.t=w,S.i18n=i,S.ready=E,E)return S;if(!E&&!y)return S;throw new Promise((function(e){b(i,_,(function(){e()}))}))}}},function(e){e.O(0,[185,273,774,888,179],(function(){return t=5301,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
\ No newline at end of file
diff --git a/_next/static/chunks/pages/projects-ccdca72ec4f289a9.js b/_next/static/chunks/pages/projects-ccdca72ec4f289a9.js
deleted file mode 100644
index 94f789c6..00000000
--- a/_next/static/chunks/pages/projects-ccdca72ec4f289a9.js
+++ /dev/null
@@ -1 +0,0 @@
-(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[327],{953:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/projects",function(){return n(5655)}])},5655:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return w}});var i=n(5893),a=(n(7294),n(8053)),r=n(6045),o=n(3084),s=n(9035),c=n.n(s),p=n(1664),l=[JSON.parse('{"category":"project","cover":"/images/_markdowns/projects/dormify/cover.png","title":"Dormify","description":"Software engineering course project","startDate":"2020-03-30","endDate":"2020-06-01","published":true,"tags":["\u269b React (fully functional components \u2693)","\ud83d\udc0d Lerna","\ud83d\udc08 Yarn","TypeScript","Cypress","\ud83d\udc62 Jest","\ud83d\udc19 testing-library","Storybook","Material-UI","Apollo GraphQL client","CSS-in-JS","\ud83d\udcc4 React-Hook-Form","\ud83c\udf10 i18next","Django","Graphene","nginx","\ud83d\udc33 Docker","\ud83d\ude80 Azure pipelines","\ud83d\udc18 PostgreSQL","Azure feeds"],"body":{"raw":"\\n\\n\\n\\n\\n\\n\\n\\n\\n- Carrying out team coordination and work\\n- Meeting with dormitory managers for requirements engineering and data gathering.\\n- We hold scrum meeting (planning, daily ...) in Microsoft Teams during COVID19 pandemic\\n- We designed and developed a software for managing dormitory stuffs like ticketing, issue tracking, guest invitation\\n- We designed fully dockerized and automated CI/CD during development of software\\n\\n#### Description of CI/CD\\n\\nour project contains two packages. One package called common that contains reusable components\\nand utilities and main package called student-panel.\\nI designed a pipeline that contains of 3 stage:\\n\\n- build\\n- type-coverage (using [type-coverage package](https://github.com/plantain-00/type-coverage))\\n- test (unit testing with Jest and e2e testing with Cypress)\\n\\nAfter each build we collect artifacts containing build output, test result and coverage,\\nCypress videos and screenshots and type-coverage results.\\n\\n#### Some screenshots form CI/CD:\\n\\n#### Pipelines\\n\\n\\n\\n#### Pipeline result\\n\\n\\n\\n#### Test results\\n\\n\\n\\n#### Coverage results\\n\\n\\n\\n#### Deployment\\n\\n\\n\\n#### Artifacts\\n\\n\\n\\n#### Cypress video output\\n\\n\\n\\n#### Azure feed (private npm registry)\\n\\n\\n","html":"
\\n
\\n
\\n
\\n
\\n
Carrying out team coordination and work
\\n
Meeting with dormitory managers for requirements engineering and data gathering.
\\n
We hold scrum meeting (planning, daily ...) in Microsoft Teams during COVID19 pandemic
\\n
We designed and developed a software for managing dormitory stuffs like ticketing, issue tracking, guest invitation
\\n
We designed fully dockerized and automated CI/CD during development of software
\\n
\\n
Description of CI/CD
\\n
our project contains two packages. One package called common that contains reusable components\\nand utilities and main package called student-panel.\\nI designed a pipeline that contains of 3 stage:
test (unit testing with Jest and e2e testing with Cypress)
\\n
\\n
After each build we collect artifacts containing build output, test result and coverage,\\nCypress videos and screenshots and type-coverage results.
\\n
Some screenshots form CI/CD:
\\n
Pipelines
\\n
\\n
Pipeline result
\\n
\\n
Test results
\\n
\\n
Coverage results
\\n
\\n
Deployment
\\n
\\n
Artifacts
\\n
\\n
Cypress video output
\\n
\\n
Azure feed (private npm registry)
\\n
"},"_id":"projects/dormify.mdx","_raw":{"sourceFilePath":"projects/dormify.mdx","sourceFileName":"dormify.mdx","sourceFileDir":"projects","contentType":"mdx","flattenedPath":"projects/dormify"},"type":"Project","readingTime":{"text":"1 min read","minutes":0.87,"time":52200,"words":174},"wordCount":176,"slug":"dormify"}'),JSON.parse('{"category":"project","cover":"/images/_markdowns/projects/mano-computer/cover.png","title":"Mano Computer Simulation","description":"Simulate Mano computer in Proteus 8","startDate":"2018-12-07","endDate":"2019-01-06","published":true,"tags":["Proteus 8 \ud83d\udca5"],"body":{"raw":"\\n\\n\\nComputer Architecture course project. I simulated Mano computer in Proteus 8\\n\\n[GitHub repository](https://github.com/ali4heydari/ManoComputer)\\n","html":"
\\n
Computer Architecture course project. I simulated Mano computer in Proteus 8
"},"_id":"projects/quine-mc-cluskey.mdx","_raw":{"sourceFilePath":"projects/quine-mc-cluskey.mdx","sourceFileName":"quine-mc-cluskey.mdx","sourceFileDir":"projects","contentType":"mdx","flattenedPath":"projects/quine-mc-cluskey"},"type":"Project","readingTime":{"text":"1 min read","minutes":0.1,"time":6000,"words":20},"wordCount":22,"slug":"quine-mc-cluskey"}'),JSON.parse('{"category":"project","cover":"/images/_markdowns/projects/sina-heart/cover.png","title":"Sina Heart","description":"follow-up automation software","startDate":"2019-12-13","endDate":"2020-10-13","published":true,"tags":["React (fully functional components \u2693) \u269b","Next.js","Lerna \ud83d\udc0d","Yarn \ud83d\udc08","TypeScript","Material-UI","CSS-in-JS","Firebase \ud83d\udd25","Apollo GraphQL client","React-Hook-Form \ud83d\udcc4","Recharts \ud83d\udcca","i18next \ud83c\udf10","Django","Graphene","nginx","Docker \ud83d\udc33","GitLab CI \ud83e\udd8a","PostgreSQL \ud83d\udc18"],"body":{"raw":"\\n[live demo \ud83d\udd25](https://sina-front.vercel.app/)\\n\\n\\n\\n- Carrying out team coordination and work\\n- Meeting with hospital, clinic and laboratory managers for requirements engineering and data gathering.\\n- We developed a follow-up automation software that is used in the process of discharging patients and can help hospitals and clinics stay in touch with their patients and coordinate the next check ups of the patient. It also provides the patients with educational content. This system is currently being used by Sina hospital.\\n","html":"
Meeting with hospital, clinic and laboratory managers for requirements engineering and data gathering.
\\n
We developed a follow-up automation software that is used in the process of discharging patients and can help hospitals and clinics stay in touch with their patients and coordinate the next check ups of the patient. It also provides the patients with educational content. This system is currently being used by Sina hospital.
\\n
"},"_id":"projects/sina-heart.mdx","_raw":{"sourceFilePath":"projects/sina-heart.mdx","sourceFileName":"sina-heart.mdx","sourceFileDir":"projects","contentType":"mdx","flattenedPath":"projects/sina-heart"},"type":"Project","readingTime":{"text":"1 min read","minutes":0.405,"time":24300,"words":81},"wordCount":83,"slug":"sina-heart"}'),JSON.parse('{"category":"project","cover":"/images/_markdowns/projects/sportify/cover.png","title":"Sportify","description":"A simple site for football and basketball news","startDate":"2018-11-20","endDate":"2019-01-02","published":true,"tags":["\u269b React (class components)","Redux","TypeScript","JavaScript","\ud83d\udc1c Ant Design","CSS-in-JS","CSS modules","SQLite","Django REST API"],"body":{"raw":"\\n\\n\\n- Web Development course project\\n\\n[GitHub repository](https://github.com/ali4heydari/sportify-frontend)\\n","html":"
"},"_id":"projects/sportify.mdx","_raw":{"sourceFilePath":"projects/sportify.mdx","sourceFileName":"sportify.mdx","sourceFileDir":"projects","contentType":"mdx","flattenedPath":"projects/sportify"},"type":"Project","readingTime":{"text":"1 min read","minutes":0.04,"time":2400,"words":8},"wordCount":10,"slug":"sportify"}')],u=[JSON.parse('{"title":"Tools","subtitle":"My favorite tools","body":{"raw":"\\nI like to list my favorite tools, so I can keep track of them, and I can also point friends to this list.\\n\\n## Git\\n\\n##### [Git-Flow \ud83d\udd00](https://github.com/petervanderdoes/gitflow-avh)\\n\\nA collection of Git extensions to provide high-level repository operations for Vincent Driessen\'s [branching model](https://nvie.com/posts/a-successful-git-branching-model/).\\n\\n##### [Delta](https://github.com/dandavison/delta)\\n\\nIt\u2019s the best viewer I\u2019ve found for Git and diff output.\\n\\n##### [Meld](https://meldmerge.org/)\\n\\nThe best free tool I\'ve found for compare folders. I also use Meld to fix git merge conflicts.\\n\\n##### [Commitizen CLI](https://github.com/commitizen/cz-cli)\\n\\nA command-line utility helper to commit with a good message and stop commit with message like `update`!\\n\\n##### [Commit lint](https://github.com/conventional-changelog/commitlint)\\n\\nLint commit messages. It can config and use beside commitizen CLI.\\n\\n##### [Husky \ud83d\udc36](https://github.com/typicode/husky)\\n\\nGit hooks made easy. I use husky with [lint staged \ud83d\udca9](https://github.com/okonet/lint-staged) or [pretty quick](https://github.com/azz/pretty-quick)\\n\\n##### [Git Jump \ud83e\udd98](https://github.com/mykolaharmash/git-jump)\\n\\nInteractive CLI to better navigate and switch Git branches.\\n\\n## IDEs and Editors\\n\\n### Jetbrains IDEs\\n\\n#### plugins\\n\\n##### [Power mode II \ud83d\udd25](https://plugins.jetbrains.com/plugin/8251-power-mode-ii)\\n\\n##### [Atom material icons](https://plugins.jetbrains.com/plugin/10044-atom-material-icons)\\n\\n##### [Rainbow Brackets \ud83c\udf08](https://plugins.jetbrains.com/plugin/10080-rainbow-brackets)\\n\\n##### [String Manipulation \ud83d\udd8a](https://plugins.jetbrains.com/plugin/2162-string-manipulation)\\n\\n##### [Translation \u3297](https://plugins.jetbrains.com/plugin/8579-translation)\\n\\n##### [Git Flow Integration \ud83d\udd00](https://github.com/OpherV/gitflow4idea/)\\n\\n##### [JS GraphQL \ud83d\udd78](https://github.com/jimkyndemeyer/js-graphql-intellij-plugin)\\n\\n### [VS Code](https://code.visualstudio.com/)\\n\\n#### plugins\\n\\n##### [LaTeX Workshop](https://github.com/James-Yu/LaTeX-Workshop)\\n\\n## Node.js related tools\\n\\n##### [NVM windows](https://github.com/coreybutler/nvm-windows)\\n\\n##### [NVM Linux](https://github.com/nvm-sh/nvm)\\n\\n## Other\\n\\n##### [OBS Studio \ud83c\udfa5](https://github.com/obsproject/obs-studio)\\n\\nThe best free tool I\'ve found for recording and live stream stuffs\\n\\n##### [bat](https://github.com/sharkdp/bat)\\n\\nA cat(1) clone with wings.\\n\\n##### [fzf](https://github.com/junegunn/fzf)\\n\\nA command-line fuzzy finder\\n\\n##### [Ferdi](https://github.com/getferdi/ferdi)\\n","html":"
I like to list my favorite tools, so I can keep track of them, and I can also point friends to this list.
"},"_id":"tools/index.mdx","_raw":{"sourceFilePath":"tools/index.mdx","sourceFileName":"index.mdx","sourceFileDir":"tools","contentType":"mdx","flattenedPath":"tools"},"type":"Tool","readingTime":{"text":"2 min read","minutes":1.145,"time":68700,"words":229},"wordCount":231,"slug":"index"}')],d=[JSON.parse('{"company":"Iran University of Science and Technology","position":"Teacher assistant","startDate":"2017-10-01","endDate":"2018-01-01","body":{"raw":"\\nAdvanced programming course supervised by [Prof. Sauleh Eetemadi](https://sauleh.github.io/).\\n\\nMy responsibilities include:\\n\\n- Design, implementation and documentation programming assignments.\\n- Hold weekly practice classes.\\n","html":"
Design, implementation and documentation programming assignments.
\\n
Hold weekly practice classes.
\\n
"},"_id":"experiences/01-ap-ta.mdx","_raw":{"sourceFilePath":"experiences/01-ap-ta.mdx","sourceFileName":"01-ap-ta.mdx","sourceFileDir":"experiences","contentType":"mdx","flattenedPath":"experiences/01-ap-ta"},"type":"Experience","readingTime":{"text":"1 min read","minutes":0.115,"time":6900,"words":23},"wordCount":25,"slug":"01-ap-ta"}'),JSON.parse('{"company":"Iran University of Science and Technology","position":"Head Teacher assistant","startDate":"2019-02-01","endDate":"2019-08-01","body":{"raw":"\\nAdvanced programming course supervised by [Prof. Sauleh Eetemadi](https://sauleh.github.io/).\\n\\nMy responsibilities include:\\n\\n- Manage and coordinate TAs, Code reviewers, and other course staff.\\n- Design, implementation and documentation programming assignments. assignments with a documentation are available via [the link](https://sauleh.github.io/ap97/assignments/)\\n- Hold weekly practice classes and workshops with topics such as Git, Azure DevOps, clean code, WPF.\\n- Design, implementation, documentation and scoring programming exams. The mentioned exams with their corresponding answers are available via [the link](https://sauleh.github.io/ap97/assignments/)\\n- More info in [course home page](https://sauleh.github.io/ap97)\\n","html":"
"},"_id":"experiences/02-ap-head-ta.mdx","_raw":{"sourceFilePath":"experiences/02-ap-head-ta.mdx","sourceFileName":"02-ap-head-ta.mdx","sourceFileDir":"experiences","contentType":"mdx","flattenedPath":"experiences/02-ap-head-ta"},"type":"Experience","readingTime":{"text":"1 min read","minutes":0.41,"time":24600,"words":82},"wordCount":84,"slug":"02-ap-head-ta"}'),JSON.parse('{"company":"Iran\'s national elites foundation","position":"Software Engineer","startDate":"2020-01-01","endDate":"2020-11-01","body":{"raw":"\\nA project funded by Iran\'s National Elites Foundation and supervised by [Prof. Behroozi](http://ee.sharif.edu/~behroozi/) and [Prof. Soleymani](http://sharif.edu/~soleymani/).\\n\\nMy Responsibilities include:\\n\\n- Carrying out team coordination and work\\n- Meeting with hospital, clinic, and laboratory managers for requirements engineering and data gathering.\\n- We developed a follow-up automation software that is used in the process of discharging patients and can help hospitals and clinics stay in touch with their patients and coordinate the next check ups of the patient. It also provides the patients with educational content. This system is currently being used by Sina hospital.\\n","html":"
Meeting with hospital, clinic, and laboratory managers for requirements engineering and data gathering.
\\n
We developed a follow-up automation software that is used in the process of discharging patients and can help hospitals and clinics stay in touch with their patients and coordinate the next check ups of the patient. It also provides the patients with educational content. This system is currently being used by Sina hospital.
\\n
"},"_id":"experiences/03-bmn.mdx","_raw":{"sourceFilePath":"experiences/03-bmn.mdx","sourceFileName":"03-bmn.mdx","sourceFileDir":"experiences","contentType":"mdx","flattenedPath":"experiences/03-bmn"},"type":"Experience","readingTime":{"text":"1 min read","minutes":0.47,"time":28200,"words":94},"wordCount":96,"slug":"03-bmn"}'),JSON.parse('{"company":"eFarda eCommerce Company","position":"Fullstack Developer","startDate":"2020-06-01","endDate":"Present","body":{"raw":"\\nMy Responsibilities include:\\n\\n- Training and setting up the use of Git\\n- Migrate all codes from TFS version control to Git\\n- Develop web APIs\\n- Work with bank external APIs\\n- Setup CI/CD and Docker for projects\\n- Design and implement front-end of new projects\\n\\n[company site](https://www.efarda.ir/)\\n","html":"
"},"_id":"experiences/04-efarda.mdx","_raw":{"sourceFilePath":"experiences/04-efarda.mdx","sourceFileName":"04-efarda.mdx","sourceFileDir":"experiences","contentType":"mdx","flattenedPath":"experiences/04-efarda"},"type":"Experience","readingTime":{"text":"1 min read","minutes":0.245,"time":14700,"words":49},"wordCount":51,"slug":"04-efarda"}')],m=[JSON.parse('{"university":"Sharif University Of Technology","degree":"Bachelor","startDate":"2016-10-01","endDate":"2017-09-01","body":{"raw":"\\nChemical engineering. (I left Sharif University to change my field of study)\\n","html":"
Chemical engineering. (I left Sharif University to change my field of study)
"},"_id":"educations/01-sharif-che.mdx","_raw":{"sourceFilePath":"educations/01-sharif-che.mdx","sourceFileName":"01-sharif-che.mdx","sourceFileDir":"educations","contentType":"mdx","flattenedPath":"educations/01-sharif-che"},"type":"Education","readingTime":{"text":"1 min read","minutes":0.06,"time":3600,"words":12},"wordCount":14,"slug":"01-sharif-che"}'),JSON.parse('{"university":"Iran University of Science and Technology","degree":"Bachelor","startDate":"2017-10-01","endDate":"Present","body":{"raw":"\\nComputer engineering\\n","html":"