diff --git a/404.html b/404.html index 5abbcb45..2f1d52b7 100644 --- a/404.html +++ b/404.html @@ -28,13 +28,13 @@ - - + +
Skip to main content

Page Not Found

We could not find what you were looking for.

Please contact the owner of the site that linked you to the original URL and let them know their link is broken.

- - + + \ No newline at end of file diff --git a/AkashSingh3031/index.html b/AkashSingh3031/index.html index f9170bb9..ecafcbbc 100644 --- a/AkashSingh3031/index.html +++ b/AkashSingh3031/index.html @@ -28,12 +28,12 @@ - - + +
-
Skip to main content
Skip to main content

Akash Singh 

akashsingh3031

👨‍💻 Software Developer Engineer🔸||🔸TA at Coding Ninjas🔸||🔸6086 Rating Points (Grand Master) on Code360 by Coding Ninjas Studio

Follow Me
AkashSingh3031
akashsingh3031
akash.singh3031
akashsingh3031
Total Solved Problem: 
Loading...

Akash Singh 

akashsingh3031

👨‍💻 Software Developer Engineer🔸||🔸TA at Coding Ninjas🔸||🔸6086 Rating Points (Grand Master) on Code360 by Coding Ninjas Studio

Follow Me
AkashSingh3031
akashsingh3031
akash.singh3031
akashsingh3031
Total Solved Problem: 
Loading...
Longest Streak: 
Loading...
Loading...
Copyright © 2024 PrepVerse
Built with Docusaurus & Refine.
Connect with me on
- - + + \ No newline at end of file diff --git a/CodeVerse/cp/index.html b/CodeVerse/cp/index.html index d7199e94..0cd737d5 100644 --- a/CodeVerse/cp/index.html +++ b/CodeVerse/cp/index.html @@ -28,13 +28,13 @@ - - + +
-
Back to CodeVerse
Array
Linked List
Stack
Queue
Tree
Graph
Time Complexity
Space Complexity
Array
Linked List
Stack
Queue
Tree
Graph
Time Complexity
Space Complexity

Time Complexity
Space Complexity
Searching
Sorting
Mathematical Algorithms
Bitwise Algorithms
Dynamic Programming
Recursion
Backtracking Algorithm
Greedy Algorithms
Time Complexity
Space Complexity
Searching
Sorting
Mathematical Algorithms
Bitwise Algorithms
Dynamic Programming
Recursion
Backtracking Algorithm
Greedy Algorithms

Competitive Programming

- - +
Back to CodeVerse
Array
Linked List
Stack
Queue
Tree
Graph
Time Complexity
Space Complexity
Array
Linked List
Stack
Queue
Tree
Graph
Time Complexity
Space Complexity

Time Complexity
Space Complexity
Searching
Sorting
Mathematical Algorithms
Bitwise Algorithms
Dynamic Programming
Recursion
Backtracking Algorithm
Greedy Algorithms
Time Complexity
Space Complexity
Searching
Sorting
Mathematical Algorithms
Bitwise Algorithms
Dynamic Programming
Recursion
Backtracking Algorithm
Greedy Algorithms

Competitive Programming

+ + \ No newline at end of file diff --git a/CodeVerse/dsa/index.html b/CodeVerse/dsa/index.html index a25b0574..4185f0eb 100644 --- a/CodeVerse/dsa/index.html +++ b/CodeVerse/dsa/index.html @@ -28,13 +28,13 @@ - - + +
-
Back to CodeVerse
Array
Linked List
Stack
Queue
Tree
Graph
Time Complexity
Space Complexity
Array
Linked List
Stack
Queue
Tree
Graph
Time Complexity
Space Complexity

Time Complexity
Space Complexity
Searching
Sorting
Mathematical Algorithms
Bitwise Algorithms
Dynamic Programming
Recursion
Backtracking Algorithm
Greedy Algorithms
Time Complexity
Space Complexity
Searching
Sorting
Mathematical Algorithms
Bitwise Algorithms
Dynamic Programming
Recursion
Backtracking Algorithm
Greedy Algorithms

Data Structure and Algorithm

- - +
Back to CodeVerse
Array
Linked List
Stack
Queue
Tree
Graph
Time Complexity
Space Complexity
Array
Linked List
Stack
Queue
Tree
Graph
Time Complexity
Space Complexity

Time Complexity
Space Complexity
Searching
Sorting
Mathematical Algorithms
Bitwise Algorithms
Dynamic Programming
Recursion
Backtracking Algorithm
Greedy Algorithms
Time Complexity
Space Complexity
Searching
Sorting
Mathematical Algorithms
Bitwise Algorithms
Dynamic Programming
Recursion
Backtracking Algorithm
Greedy Algorithms

Data Structure and Algorithm

+ + \ No newline at end of file diff --git a/CodeVerse/index.html b/CodeVerse/index.html index 2633df11..e711259e 100644 --- a/CodeVerse/index.html +++ b/CodeVerse/index.html @@ -28,13 +28,13 @@ - - + + - - +

Practice DSA & CP

Practice Data-Structures and Algorithms & Competitive Programming Problems with LeetCode

+ + \ No newline at end of file diff --git a/assets/js/01a85c17.c05264c3.js b/assets/js/01a85c17.c05264c3.js deleted file mode 100644 index f6212c69..00000000 --- a/assets/js/01a85c17.c05264c3.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[8412],{8164:(e,t,r)=>{r.d(t,{c:()=>l});var n=r(1504),a=r(8952);function l({children:e,fallback:t}){var r;return(0,a.c)()?n.createElement(n.Fragment,null,null===(r=e)||void 0===r?void 0:r()):null!=t?t:null}},6280:(e,t,r)=>{r.d(t,{c:()=>m});var n=r(1504),a=r(4971),l=r(3652),o=r(5628),c=r(476),i=r(1580);const s={backToTopButton:"backToTopButton_sjWU",backToTopButtonShow:"backToTopButtonShow_xfvO"};function m(){const{shown:e,scrollToTop:t}=function({threshold:e}){const[t,r]=(0,n.useState)(!1),a=(0,n.useRef)(!1),{startScroll:l,cancelScroll:o}=(0,c.yI)();return(0,c.SM)((({scrollY:t},n)=>{var l;const c=null===(l=n)||void 0===l?void 0:l.scrollY;c&&(a.current?a.current=!1:t>=c?(o(),r(!1)):t{e.location.hash&&(a.current=!0,r(!1))})),{shown:t,scrollToTop:()=>l(0)}}({threshold:300});return n.createElement("button",{"aria-label":(0,l.G)({id:"theme.BackToTopButton.buttonAriaLabel",message:"Scroll back to top",description:"The ARIA label for the back to top button"}),className:(0,a.c)("clean-btn",o.W.common.backToTopButton,s.backToTopButton,e&&s.backToTopButtonShow),type:"button",onClick:t})}},5628:(e,t,r)=>{r.d(t,{W:()=>n});const n={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-page",docsDocPage:"docs-doc-page",docsTagsListPage:"docs-tags-list-page",docsTagDocListPage:"docs-tags-doc-list-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docsPages:"docs-wrapper",mdxPages:"mdx-wrapper"},common:{editThisPage:"theme-edit-this-page",lastUpdated:"theme-last-updated",backToTopButton:"theme-back-to-top-button",codeBlock:"theme-code-block",admonition:"theme-admonition",admonitionType:e=>`theme-admonition-${e}`},layout:{},docs:{docVersionBanner:"theme-doc-version-banner",docVersionBadge:"theme-doc-version-badge",docBreadcrumbs:"theme-doc-breadcrumbs",docMarkdown:"theme-doc-markdown",docTocMobile:"theme-doc-toc-mobile",docTocDesktop:"theme-doc-toc-desktop",docFooter:"theme-doc-footer",docFooterTagsRow:"theme-doc-footer-tags-row",docFooterEditMetaRow:"theme-doc-footer-edit-meta-row",docSidebarContainer:"theme-doc-sidebar-container",docSidebarMenu:"theme-doc-sidebar-menu",docSidebarItemCategory:"theme-doc-sidebar-item-category",docSidebarItemLink:"theme-doc-sidebar-item-link",docSidebarItemCategoryLevel:e=>`theme-doc-sidebar-item-category-level-${e}`,docSidebarItemLinkLevel:e=>`theme-doc-sidebar-item-link-level-${e}`},blog:{}}},3680:(e,t,r)=>{r.d(t,{u:()=>l});var n=r(1504),a=r(3120);const l=e=>n.createElement(a.E,e)},5880:(e,t,r)=>{r.d(t,{E:()=>m});var n=r(4971),a=r(1504),l=r(2268),o=r(2424),c=r(7104),i=r(3200),s=r(8164);const m=e=>(a.useEffect((()=>(e.open?document.body.style.overflow="hidden":document.body.style.overflow="auto",()=>{document.body.style.overflow="auto"})),[e.open]),a.createElement(s.c,null,(()=>(0,c.createPortal)(a.createElement(u,e),document.body)))),u=({children:e,title:t,open:r,onClose:c,variant:s})=>{const[m,u]=a.useState(48),{scrollY:f}=(0,i.Q)(),d=a.useRef(null);var g,p;return g=d,p=e=>{e.stopPropagation(),c()},a.useEffect((()=>{const e=e=>{g.current&&!g.current.contains(e.target)&&(e.preventDefault(),p(e))};return document.addEventListener("click",e,!0),()=>{document.removeEventListener("click",e,!0)}}),[g]),((e,t,r)=>{a.useEffect((()=>{const n=n=>{e.current&&t.includes(n.key)&&(n.preventDefault(),r(n))};return document.addEventListener("keydown",n,!0),()=>{document.removeEventListener("keydown",n,!0)}}),[e])})(d,["Escape"],(()=>{c()})),a.useEffect((()=>{const e=f.onChange((e=>{u(e>=48?0:48-e)}));return()=>e()}),[]),a.createElement("div",{style:{top:m},className:(0,n.c)("fixed","right-0 bottom-0","z-modal",!r&&"pointer-events-none")},a.createElement(o.O,{ref:d,as:"div",className:(0,n.c)("z-modal","flex flex-col","w-[240px] h-full","ml-auto","p-4","templates"===s&&"bg-gray-0 dark:bg-gray-900","blog"===s&&"bg-white dark:bg-refine-react-7","border-l dark:border-gray-800","dark:shadow-[0_0_72px_24px_#14141F]","shadow-[0_0_72px_24px_rgba(20, 20, 31, 0.50)]"),show:r,enter:"transition-transform duration-300 transition-ease-in-out",enterFrom:"translate-x-full",enterTo:"translate-x-0",leave:"transition-transform duration-300 transition-ease-in-out",leaveFrom:"translate-x-0",leaveTo:"translate-x-full"},a.createElement("div",{className:(0,n.c)("flex","items-center","justify-between","mb-10","dark:text-gray-300 text-gray-900")},a.createElement("h3",{className:(0,n.c)("text-base","font-semibold")},t),a.createElement("button",{type:"button",className:(0,n.c)("appearance-none"),onClick:c},a.createElement(l.O,null))),a.createElement("div",{className:(0,n.c)("overflow-auto h-full")},e)))}},6968:(e,t,r)=>{r.d(t,{m:()=>Y});var n=r(9184),a=r(4971),l=r(3200),o=r(344),c=r(6076),i=r(1504),s=r(1980),m=r(8804),u=r(6098);const f=[{isPopover:!0,label:"Docs",items:[{label:"Foundation Docs",description:"Learn C++, Python & Java",link:"/docs",icon:u.C3},{label:"DSA Docs",description:"Learning DSA in C++, Python & Java",link:"/docs/1.DS.Algo",icon:u.uI}]},{isPopover:!0,label:"CodePoint",items:[{label:"Expert Sheet Solutions",description:"Most popular coding questions solutions asked during SDE interviews.",link:"https://prepverse.github.io/CodePoint/preface",icon:u.C3},{label:"Coding Ninjas Series",description:"Coding Ninjas Studio Guided Path Solutions",link:"https://prepverse.github.io/CodePoint/learning_resources/CN_Series/preface",icon:u.oh},{label:"LeetVerse",description:"Leetcode problem solutions with full probelm statements in C++, Python & Java",link:"https://prepverse.github.io/LeetVerse",icon:u.Ew}]},{isPopover:!0,label:"About",items:[{label:"About Me",description:"My information.",link:"/AkashSingh3031",icon:u.kv},{label:"Project Showcase",description:"PrepVerse open-source projects",link:"/showcase",icon:u.w9},{label:"My Portfolio",description:"All info about me",link:"https://prepverse.github.io/portfolio",icon:u.BE}]},{isPopover:!1,label:"Blog",href:"/blog",icon:u.s1},{isPopover:!1,label:"PrepVerse Community",href:"/prepverse-community",icon:u.vn}],d=({item:e,variant:t="landing"})=>{const r=e.icon;return i.createElement(n.c,{to:e.link,className:"no-underline"},i.createElement("div",{className:(0,a.c)("flex items-center","p-4","transition duration-150 ease-in-out","rounded-lg","hover:bg-gray-100","landing"===t&&"dark:hover:bg-gray-800","blog"===t&&"dark:hover:bg-refine-react-8")},i.createElement("div",{className:"shrink-0"},i.createElement(r,null)),i.createElement("div",{className:"ml-2"},i.createElement("div",{className:(0,a.c)("landing"===t&&"text-gray-900 dark:text-white","blog"===t&&"text-refine-react-8 dark:text-refine-react-3","font-semibold")},e.label),i.createElement("div",{className:(0,a.c)("landing"===t&&"text-gray-500 dark:text-gray-400","blog"===t&&"text-refine-react-5 dark:text-refine-react-4","text-xs")},e.description))))},g=({item:e})=>{const[t,r]=(0,i.useState)(null);(0,i.useEffect)((()=>(r(localStorage.getItem("theme")||null),window.addEventListener("storage",l,!1),()=>{window.removeEventListener("storage",l,!1)})),[]);const l=()=>{r(localStorage.getItem("theme")||null)};let o=e.icon;return"Cloud"===e.label&&(o="light"===t?u.oz:e.icon),i.createElement(n.c,{key:e.label,to:e.href,className:(0,a.c)("inline-flex items-center gap-2","text-sm leading-6 font-normal text-gray-900 dark:text-gray-300","transition-colors duration-150 ease-in-out","no-underline","Hackathon"===e.label?["py-1","px-2","rounded-lg","bg-hackathon-button-bg","animate-hackathon-button-bg","bg-refine-bg","text-gray-0","bg-[length:200%_100%]","text-[14px]","hover:text-gray-0"]:["hover:text-gray-900 dark:hover:text-white"])},e.icon&&i.createElement(o,null),e.label)};var p=r(640),b=r(5224),y=r(2424),h=r(4577);const w=({item:e,variant:t="landing",children:r})=>{const[n,l]=(0,i.useState)(!1),o=i.useRef(null),c=i.useRef(null),s=(0,p.IT)();return i.useEffect((()=>{l(!1)}),[s]),i.createElement(b._,{id:`popover-${e.label}`,key:e.label,className:(0,a.c)("relative","inline-flex items-center"),onMouseEnter:()=>{c.current=setTimeout((()=>l(!0)),210),clearTimeout(o.current)},onMouseLeave:()=>{o.current=setTimeout((()=>l(!1)),210),clearTimeout(c.current)}},(()=>i.createElement(i.Fragment,null,i.createElement(b._.Button,{className:(0,a.c)("inline-flex items-center","text-sm leading-6","font-normal")},i.createElement("span",{className:(0,a.c)("landing"===t&&"text-gray-900 dark:text-gray-300","blog"===t&&"text-refine-react-8 dark:text-refine-react-3","transition-colors duration-150 ease-in-out inline-block")},e.label),i.createElement(h.w,{"aria-hidden":"true",className:(0,a.c)("transition duration-150 ease-out","-mr-2","landing"===t&&"text-gray-500 dark:text-gray-400","blog"===t&&"text-refine-react-4",n?"translate-y-0.5":"")})),i.createElement(y.O,{as:i.Fragment,enter:"transition ease-in duration-150",enterFrom:"opacity-0 translate-y-3",enterTo:"opacity-100 translate-y-0",leave:"transition ease-out duration-150",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 translate-y-3",show:n},i.createElement(b._.Panel,{className:(0,a.c)("absolute","z-50","top-12",{"-left-32 center-point":"Docs"===e.label||"About"===e.label,"left-point":"CodePoint"===e.label})},i.createElement(u.WR,{id:e.label,variant:t,className:(0,a.c)("absolute","top-[-9px]",{"left-1/2":"CodePoint"!==e.label,"left-12":"CodePoint"===e.label}),style:{transform:"translateX(-50%)"}}),i.createElement("div",{className:(0,a.c)("overflow-hidden","rounded-xl","landing"===t&&"border dark:border-gray-700 border-gray-200","landing"===t&&"dark:shadow-menu-dark shadow-menu-light","blog"===t&&"border border-refine-react-3 dark:border-refine-react-6","blog"===t&&"dark:shadow-menu-blog-dark shadow-menu-blog-light")},r))))))},v=({variant:e="landing"})=>i.createElement(i.Fragment,null,f.map((t=>t.isPopover?i.createElement(w,{key:`navbar-${t.label}`,item:t,variant:e},"CodePoint"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,a.c)("grid grid-cols-2 gap-4","p-4","w-[672px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(d,{key:t.label,item:t,variant:e})))),i.createElement(n.c,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,a.c)("border-t","blog"===e&&"border-refine-react-3 dark:border-refine-react-6","landing"===e&&"border-gray-300 dark:border-gray-700","landing"===e&&"bg-gray-100 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-7","flex items-center","py-4 px-7")},i.createElement(u._2,null),i.createElement("div",{className:(0,a.c)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))),"About"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,a.c)("grid gap-4","p-4","w-[336px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(d,{key:t.label,item:t,variant:e})))),i.createElement("div",{className:(0,a.c)("border-t","blog"===e&&"border-refine-react-3 dark:border-refine-react-6","landing"===e&&"border-gray-300 dark:border-gray-700","landing"===e&&"bg-gray-100 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-7","flex justify-between items-center","py-4 px-7")},i.createElement("div",{className:(0,a.c)("landing"===e&&"text-gray-600 dark:text-gray-400 ","blog"===e&&"text-refine-react-5 dark:text-refine-react-4")},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.c,{to:"https://github.com/AkashSingh3031",className:(0,a.c)("no-underline","hover:text-inherit")},i.createElement(u.A9,{className:"dark:text-gray-400 text-gray-500"})),i.createElement(n.c,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(u.Ed,null)),i.createElement(n.c,{to:"https://instagram.com/akash.singh3031"},i.createElement(u.Yf,null)),i.createElement(n.c,{to:"https://x.com/akashsingh3031"},i.createElement(u.CC,null))))),"Docs"===t.label&&i.createElement("div",{className:(0,a.c)("grid gap-4","p-4","w-[336px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(d,{key:t.label,item:t,variant:e}))))):i.createElement(g,{key:`navbar-${t.label}`,item:t,variant:e}))));var x=r(2276),O=r(7008),E=r(9072),C=r(2268);function k(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const j=e=>i.createElement("svg",function(e){for(var t=1;ti.createElement("svg",function(e){for(var t=1;t{const[c,s]=(0,i.useState)(null),m=null!=r?r:n.c,f=void 0!==l&&void 0===t;return(0,i.useEffect)((()=>{const e=document.querySelector("html").getAttribute("data-theme");s(e)}),[]),i.createElement(m,function(e){for(var t=1;t{const r=(0,p.IT)();return i.useEffect((()=>{t(!1)}),[r]),i.createElement(Z,{isModalOpen:e,setIsModalOpen:t},i.createElement(B,{className:(0,a.c)("hidden landing-sm:block","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}),i.createElement(F,{className:(0,a.c)("block landing-sm:hidden","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}))},Z=({isModalOpen:e,setIsModalOpen:t,children:r})=>i.createElement(y.O,{appear:!0,show:e,as:i.Fragment},i.createElement(x.C,{as:"div",className:"relative z-10",onClose:()=>t(!1)},i.createElement(y.O.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},i.createElement("div",{className:(0,a.c)("fixed inset-0","bg-gray-0 dark:bg-gray-900","flex","flex-col")},i.createElement(D.Q,null),i.createElement("div",{className:(0,a.c)("flex items-center justify-between","p-4","landing-sm:px-8")},i.createElement(m.m,{className:"dark:text-gray-0 text-gray-900"}),i.createElement("button",{type:"button",className:(0,a.c)("rounded-lg","hover:brightness-105","active:scale-90","transition-transform duration-75 ease-in-out")},i.createElement(C.O,{className:"text-gray-900 dark:text-white",onClick:()=>t(!1)}))),i.createElement(y.O.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-75",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95"},i.createElement("div",{className:(0,a.c)("flex-1","overflow-y-auto","px-4","pb-4")},r)))))),B=e=>i.createElement("div",{className:(0,a.c)(e.className)},f.map(((e,t)=>{const r="icon"in e&&e.icon;return i.createElement("div",{key:t,className:(0,a.c)("not-prose","p-4","border-t dark:border-gray-700 border-gray-200")},i.createElement(n.c,{to:"href"in e?e.href:void 0,className:(0,a.c)("appearance-none","block","no-underline","dark:text-gray-0 text-gray-900","font-bold")},i.createElement("div",{className:(0,a.c)("flex items-center gap-2")},i.createElement("div",null,e.label),r&&i.createElement(r,null))),"items"in e&&i.createElement("div",{className:(0,a.c)("mt-2","grid grid-cols-2 min-[800px]:grid-cols-3","gap-x-8 gap-y-4")},e.items.map((e=>i.createElement(d,{key:e.label,item:e})))))})),i.createElement(R,null),i.createElement(T,{id:"tablet"}),i.createElement(H,{id:"tablet"})),F=e=>i.createElement("div",{className:(0,a.c)(e.className)},i.createElement("div",{className:"flex-grow"},f.map((e=>e.isPopover?i.createElement(O.C,{key:`modal-${e.label}`},(({open:t})=>i.createElement(i.Fragment,null,i.createElement(L,{component:O.C.Button,label:e.label,open:t}),i.createElement(O.C.Panel,{className:(0,a.c)(t&&"pb-4",t&&"border-b border-gray-200 dark:border-gray-700")},e.items.map((e=>i.createElement(d,{key:e.label,item:e}))))))):i.createElement(L,{key:`modal-${e.label}`,label:e.label,href:e.href,icon:e.icon})))),i.createElement(R,null),i.createElement(T,{id:"phone"}),i.createElement(H,{id:"phone"})),H=e=>{var t;return i.createElement(n.c,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,a.c)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex items-center","p-4")},i.createElement(u._2,{id:(null===(t=e)||void 0===t?void 0:t.id)||""}),i.createElement("div",{className:(0,a.c)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))},T=e=>{var t;return i.createElement("div",{className:(0,a.c)("bg-white dark:bg-gray-700 header-sm:bg-inherit","flex justify-between items-center","header-sm:flex-col header-sm:gap-4","header-sm:border-b border-gray-200 dark:border-gray-600","py-3 px-4")},i.createElement("p",{className:"text-gray-500 dark:text-gray-300 font-semibold"},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.c,{to:"https://github.com/AkashSingh3031"},i.createElement(u.A9,{className:"h-10 w-10"})),i.createElement(n.c,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(u.Ed,{className:"h-10 w-10"})),i.createElement(n.c,{to:"https://instagram.com/akash.singh3031"},i.createElement(u.Yf,{className:"h-10 w-10",id:(null===(t=e)||void 0===t?void 0:t.id)||""})),i.createElement(n.c,{to:"https://x.com/akashsingh3031"},i.createElement(u.CC,{className:"h-10 w-10"}))))},R=()=>{const{colorMode:e,setColorMode:t}=(0,E.U)(),r=()=>{t("dark"===e?"light":"dark")},n="dark"===e,l="light"===e;return i.createElement("div",{className:(0,a.c)("not-prose","p-4","flex items-center")},i.createElement("div",{className:(0,a.c)("text-sm","mr-10","dark:text-gray-400 text-gray-600")},"Apperance"),i.createElement("button",{onClick:r,className:(0,a.c)("mr-4","rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200","text-gray-500",l&&"bg-gray-50")},i.createElement(A.G,null),"Light"),i.createElement("button",{onClick:r,className:(0,a.c)("rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200",n?"text-gray-400":"text-gray-500",n&&"bg-gray-700")},i.createElement(M.g,null),"Dark"))};var _=r(9253),z=r(2700),I=r(5792),G=r(6936);const U=()=>{const{loading:e,githubStarCountText:t}=(0,z.wx)();return i.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank",rel:"noreferrer",className:(0,a.c)("flex gap-2 items-center","font-normal","text-sm leading-6","text-gray-500 dark:text-gray-400","hover:text-gray-400 dark:hover:text-gray-300","hover:no-underline","transition-colors","duration-200","ease-in-out")},i.createElement(I.A,{className:(0,a.c)("w-5 h-5")}),i.createElement("div",{className:(0,a.c)("flex items-center","w-10 h-6")},e?i.createElement(G.c,{className:(0,a.c)("w-5 h-5"),wrapperProps:{className:(0,a.c)("mx-auto")}}):i.createElement("span",null,t)))},Y=({trackProgress:e,variant:t="landing",className:r})=>{const[u,f]=(0,i.useState)(!1),{scrollYProgress:d}=(0,l.Q)(),g=(0,o.s)(d,[.03,.95],["0%","100%"]);return i.createElement(i.Fragment,null,i.createElement(D.Q,null),i.createElement("header",{className:(0,a.c)("sticky","top-0","z-10")},i.createElement("div",{className:(0,a.c)("absolute","top-0 left-0 right-0","backdrop-blur-[6px]","landing-md:backdrop-blur-[12px]","z-[-1]","bg-gray-0 dark:bg-gray-800","bg-opacity-80 dark:bg-opacity-80","pointer-events-none",r),style:{top:"-20px",bottom:"-80px",WebkitMaskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))",maskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))"}}),i.createElement("div",{className:(0,a.c)("relative","z-[1]","p-4","landing-sm:px-8","landing-md:py-5")},i.createElement("div",{className:(0,a.c)("mx-auto","flex","items-center","justify-between","max-w-[896px]","landing-lg:max-w-[1200px]")},i.createElement("div",{className:(0,a.c)("w-[130px]","landing-lg:w-[200px]")},i.createElement(n.c,{to:"/"},i.createElement(m.m,{className:"text-gray-900 dark:text-gray-0"}))),i.createElement("button",{type:"button",className:(0,a.c)("text-gray-900 dark:text-gray-0","block landing-md:hidden"),onClick:()=>f(!0)},i.createElement(s.m,null)),i.createElement("div",{className:(0,a.c)("hidden landing-md:flex","flex-1","items-center","gap-8")},i.createElement(v,{variant:t})),i.createElement("div",{className:(0,a.c)("hidden landing-md:flex","items-center","justify-end","gap-4","w-[130px]","landing-lg:w-[200px]")},i.createElement(U,null),i.createElement(_.C,null)),i.createElement(V,{isModalOpen:u,setIsModalOpen:f}))),e&&i.createElement("div",{className:(0,a.c)("w-full","h-[1.5px]","translate","bg-refine-react-3 dark:bg-refine-react-7")},i.createElement(c.q.div,{className:(0,a.c)("h-full","bg-refine-react-light-link dark:bg-refine-react-dark-link"),style:{width:g}}))))}},9253:(e,t,r)=>{r.d(t,{C:()=>i,O:()=>m});var n=r(1504),a=r(4971),l=r(9072),o=r(3756),c=r(5372);const i=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,l.U)();return n.createElement("button",{type:"button",className:(0,a.c)("appearance-none","focus:outline-none","relative","w-10 h-10","rounded-full","border","border-solid","border-gray-300 dark:border-gray-700","text-gray-500","transition-colors","duration-150","ease-in-out","overflow-hidden","flex-shrink-0","group",e),onClick:()=>{r("dark"===t?"light":"dark")}},n.createElement("div",{className:(0,a.c)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","translate-y-0","dark:-translate-y-10","duration-200","ease-in-out","transition-transform")},n.createElement(o.G,null)),n.createElement("div",{className:(0,a.c)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","-translate-y-10","dark:translate-y-0","duration-200","ease-in-out","transition-transform")},n.createElement(c.g,null)))},s=[{name:"light",icon:o.G,label:"Light"},{name:"dark",icon:c.g,label:"Dark"}],m=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,l.U)();return n.createElement("div",{className:(0,a.c)("flex","items-center","gap-4","justify-start",e)},s.map((({name:e,label:l,icon:o})=>n.createElement("button",{type:"button",key:e,className:(0,a.c)("appearance-none","focus:outline-none","py-1","pl-1.5","pr-3","flex","items-center","justify-center","gap-1","rounded-[40px]","text-gray-400","border border-solid","border-gray-200","dark:border-gray-600",t===e&&"bg-gray-100 dark:bg-gray-700"),onClick:()=>{r(e)}},n.createElement(o,{className:(0,a.c)("w-4 h-4")}),n.createElement("span",{className:(0,a.c)("text-sm")},l)))))}},7708:(e,t,r)=>{r.d(t,{o0:()=>g,yw:()=>f,wd:()=>d,AR:()=>p});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var m=r(6098),u=r(4252);const f=[{label:"Resources",items:[{label:"Getting Started",href:"/docs"},{label:"Blog",href:"/blog"},{label:"Project Showcase",icon:n.createElement(m.KU,null),href:"/showcase"},{label:"Community",icon:n.createElement(m.KU,null),href:"/prepverse-community"}]},{label:"Product",items:[{label:"CodePoint",icon:n.createElement(u.i,null),href:"https://prepverse.github.io/CodePoint"},{label:"LeetVerse",icon:n.createElement(u.i,null),href:"https://prepverse.github.io/LeetVerse"}]},{label:"About",items:[{label:"About Me",href:"/AkashSingh3031"},{label:"Portfolio",icon:n.createElement(u.i,null),href:"https://prepverse.github.io/portfolio"}]}],d=[{label:"License",href:"https://github.com/PrepVerse/prepverse.github.io/blob/master/LICENSE"}],g="Thank you for visiting, Connect with me over socials.",p=[{icon:e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{r.d(t,{G:()=>l});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{w:()=>l});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{g:()=>l});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{i:()=>l});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{y:()=>c});var n=r(4971),a=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const c=e=>a.createElement("svg",o(function(e){for(var t=1;t{r.d(t,{A:()=>o,i:()=>c});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e){for(var t=1;tn.createElement("svg",l({width:12,height:12,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.053 0A10.904 10.904 0 0 0 3.89 2.685 11.34 11.34 0 0 0 .142 9.472a11.48 11.48 0 0 0 1.456 7.65 11.087 11.087 0 0 0 5.964 4.86c.556.103.752-.25.752-.547v-1.918C5.23 20.202 4.58 18 4.58 18a3.012 3.012 0 0 0-1.227-1.655c-.997-.692.081-.692.081-.692.35.05.683.18.975.382.293.202.536.469.713.78.15.278.352.523.595.721a2.312 2.312 0 0 0 2.618.221c.042-.57.283-1.105.678-1.509-2.454-.284-5.03-1.253-5.03-5.539a4.415 4.415 0 0 1 1.132-3.025A4.194 4.194 0 0 1 5.224 4.7s.928-.305 3.036 1.156c1.81-.508 3.72-.508 5.531 0 2.108-1.46 3.03-1.156 3.03-1.156.406.936.455 1.993.135 2.963a4.415 4.415 0 0 1 1.132 3.026c0 4.334-2.582 5.282-5.043 5.538.264.271.468.597.598.955.13.358.182.741.155 1.122V21.4c0 .367.196.65.759.54a11.093 11.093 0 0 0 5.88-4.878 11.481 11.481 0 0 0 1.419-7.6 11.34 11.34 0 0 0-3.71-6.746A10.907 10.907 0 0 0 11.053 0Z",fill:"currentColor"})),c=e=>n.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.066.001a11.91 11.91 0 0 1 7.745 2.966 12.326 12.326 0 0 1 4.032 7.33 12.46 12.46 0 0 1-1.54 8.245 12.088 12.088 0 0 1-6.406 5.314l-.105.037-.11.021c-.508.1-1.232.093-1.83-.422-.577-.498-.681-1.166-.681-1.565v-3.008l.004-.053a1.102 1.102 0 0 0-.062-.453 1.058 1.058 0 0 0-.235-.377l-.839-.86-.863.882a.802.802 0 0 0-.224.502l-.015.217v3.183c0 .434-.14 1.029-.628 1.492-.541.514-1.246.62-1.864.505l-.108-.02-.104-.035a12.082 12.082 0 0 1-6.498-5.296 12.457 12.457 0 0 1-1.58-8.298c.45-2.86 1.891-5.471 4.073-7.375A11.909 11.909 0 0 1 12.05.001h.016Zm-10.43 10.54a10.957 10.957 0 0 0 1.39 7.303 10.58 10.58 0 0 0 5.693 4.638c.53.099.717-.238.717-.522v-1.83c-.588.13-1.083.15-1.5.1a2.95 2.95 0 0 1-.542-.117 2.551 2.551 0 0 1-.422-.176 2.362 2.362 0 0 1-.82-.72c-.208-.294-.28-.535-.28-.535a2.876 2.876 0 0 0-1.17-1.58l-.016-.01c-.925-.65.093-.65.093-.65.106.015.21.038.313.068l.017.005a2.172 2.172 0 0 1 .962.603c.122.13.23.276.319.433a2.29 2.29 0 0 0 .68.775h.002s0 .001 0 0a2.211 2.211 0 0 0 2.385.124v-.014a2.302 2.302 0 0 1 .647-1.427 8.754 8.754 0 0 1-1.625-.328 4.865 4.865 0 0 1-1.416-.695 3.883 3.883 0 0 1-.432-.365c-.8-.786-1.328-2.002-1.328-3.899a4.214 4.214 0 0 1 1.08-2.887 4.003 4.003 0 0 1 .104-2.848s.886-.291 2.898 1.103a9.762 9.762 0 0 1 5.28 0c2.011-1.393 2.891-1.103 2.891-1.103.388.893.434 1.902.13 2.828a4.214 4.214 0 0 1 1.08 2.888c0 3.166-1.444 4.44-3.174 4.972a8.617 8.617 0 0 1-1.64.314 2.558 2.558 0 0 1 .699 1.425c.026.184.033.371.02.558v2.955c0 .35.187.62.724.515a10.588 10.588 0 0 0 5.613-4.656 10.958 10.958 0 0 0 1.354-7.254 10.824 10.824 0 0 0-3.541-6.439 10.41 10.41 0 0 0-6.77-2.592 10.408 10.408 0 0 0-6.837 2.563 10.824 10.824 0 0 0-3.578 6.478ZM16.374 7.8a8.003 8.003 0 0 0-.856.524l-.58.401-.679-.19a8.262 8.262 0 0 0-4.469 0l-.68.19-.58-.402a7.982 7.982 0 0 0-.846-.519c.019.186.059.37.12.549l.282.832-.588.653a2.714 2.714 0 0 0-.696 1.86v.024c0 1.724.503 2.513.998 2.937.563.481 1.397.736 2.476.86l1.567.182 1.954-.204c1.082-.112 1.912-.358 2.47-.833.492-.418.999-1.209.999-2.96v-.026a2.714 2.714 0 0 0-.696-1.86l-.582-.647.273-.826c.058-.178.096-.36.113-.545Z",clipRule:"evenodd"}))},1980:(e,t,r)=>{r.d(t,{m:()=>l});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{Q:()=>l});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{G:()=>l});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{s1:()=>c,wR:()=>s,QD:()=>u,vn:()=>d,kv:()=>p,uI:()=>y,A9:()=>w,_2:()=>x,Ew:()=>E,Yf:()=>k,oh:()=>P,Ed:()=>S,BE:()=>D,KU:()=>V,WR:()=>R,w9:()=>z,CC:()=>G,AH:()=>$,oz:()=>Q,C3:()=>q});var n=r(1504);var a=r(4971);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const c=e=>n.createElement("svg",o(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const{colorMode:t}=(0,M.U)();return n.createElement("div",{className:(0,a.c)("relative","flex","items-center","justify-center","rounded-full","overflow-hidden","p-px","dark:bg-[#194b3a] bg-[#b7dbff]"),style:{transform:"translateZ(0)"}},n.createElement("div",{className:(0,a.c)("z-[1]","absolute","inset-0","dark:bg-new-badge-border-dark bg-new-badge-border-light","animate-new-badge-border")}),n.createElement("svg",function(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var H,T;const R=e=>{var{variant:t="landing"}=e,r=F(e,["variant"]);return n.createElement("svg",B(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",Y(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{r.d(t,{m:()=>l});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{E:()=>g});var n=r(4971),a=r(1504),l=r(9184),o=r(7708),c=r(204);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const s=e=>a.createElement("svg",function(e){for(var t=1;t{const t=a.createElement("div",{className:(0,n.c)("py-6 landing-lg:py-0","flex","flex-col","gap-4","landing-lg:max-w-[224px]")},a.createElement("div",{className:(0,n.c)("font-semibold","text-sm","leading-6","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},"Contacts"),a.createElement("a",{href:"https://wa.me/+919794423031",target:"_blank",className:(0,n.c)("font-normal","text-sm","leading-5","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},"+91 9794423031"),a.createElement("a",{href:"https://mail.google.com/mail/u/0/?fs=1&to=codewithsky@gmail.com&tf=cm",target:"_blank",className:(0,n.c)("font-normal","text-sm","leading-5","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:180,height:40,viewBox:"0 0 180 40",fill:"none"},a.createElement("text",{x:"1",y:"15",fontFamily:"Arial, sans-serif",fontSize:"16",fill:"currentColor"},"codewithsky@gmail.com")))),r=a.createElement("div",{className:(0,n.c)("py-6 landing-lg:py-0","flex","flex-col","landing-sm:items-end")},a.createElement("div",{className:(0,n.c)("flex","flex-col","gap-4")},a.createElement("div",{className:(0,n.c)("text-sm","leading-6","font-semibold","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3","landing-lg:text-right")},"Connect with me on"),a.createElement("div",{className:(0,n.c)("flex","items-center","gap-8","landing-lg:gap-4","justify-start")},o.AR.map((({href:t,icon:r})=>a.createElement("a",{href:t,key:t,target:"_blank",rel:"noreferrer",className:(0,n.c)("landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},a.createElement(r,{className:(0,n.c)("w-6 h-6","landing-lg:w-8 landing-lg:h-8")})))))));return a.createElement("footer",{className:(0,n.c)("w-full")},a.createElement("div",{className:(0,n.c)("border-t border-t-solid","landing"===e&&"border-t-gray-100 dark:border-t-gray-700","blog"===e&&"border-t-refine-react-3 dark:border-t-refine-react-7","landing"===e&&"dark:bg-footer-landing-dark-bg","blog"===e&&"bg-footer-blog-light-bg dark:bg-footer-blog-dark-bg")},a.createElement("div",{className:(0,n.c)("grid","grid-cols-1","max-w-screen-landing-md","landing-lg:max-w-screen-landing-lg","mx-auto")},a.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8 landing-lg:px-12","py-4 landing-lg:py-6","flex","items-center","justify-between")},a.createElement(l.c,{to:"/",className:(0,n.c)("hover:no-underline","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},a.createElement(m.m,null)),a.createElement("a",{href:"https://github.com/sponsors/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,n.c)("hover:no-underline")},a.createElement(s,null))),a.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8 landing-lg:px-12","flex","flex-row","flex-wrap","items-start","justify-start","text-gray-500 dark:text-gray-500")},o.o0),a.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8 landing-lg:px-12","py-6 landing-lg:pt-8 landing-lg:pb-12","flex","flex-row","flex-wrap","items-start","justify-start","gap-6")},a.createElement("div",{className:(0,n.c)("hidden","landing-lg:flex","max-w-[282px]","w-full")},t),o.yw.map((t=>a.createElement("div",{className:(0,n.c)("flex flex-col gap-4","min-w-[152px]"),key:t.label},a.createElement("div",{className:(0,n.c)("text-sm","leading-6","font-semibold","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},t.label),a.createElement("div",{className:(0,n.c)("flex","flex-col","gap-2")},t.items.map((t=>a.createElement("a",d(f({href:t.href,key:t.label},t.href.startsWith("http")?{target:"_blank",rel:"noopener noreferrer"}:{}),{className:(0,n.c)("text-sm","leading-5","hover:no-underline","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300")}),a.createElement("div",{className:(0,n.c)("flex","items-center","gap-2")},t.label,t.icon)))))))),a.createElement("div",{className:(0,n.c)("hidden","landing-lg:flex","ml-auto")},r)),a.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8","grid","grid-cols-1","landing-sm:grid-cols-2","landing-sm:gap-8","landing-lg:hidden")},t,r))),a.createElement("div",{className:(0,n.c)("border-t border-t-solid","landing"===e&&"border-t-gray-100 dark:border-t-gray-700","blog"===e&&"border-t-gray-100 dark:border-t-gray-700","landing"===e&&"bg-gray-50 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-8")},a.createElement("div",{className:(0,n.c)("py-6 landing-sm:py-8 landing-lg:py-6","px-4 landing-sm:px-8 landing-lg:px-12","grid","grid-cols-1","landing-md:grid-cols-2","gap-8","max-w-screen-landing-md","landing-lg:max-w-screen-landing-lg","mx-auto")},a.createElement("div",{className:(0,n.c)("flex","flex-col","landing-sm:flex-row","gap-4","items-start","justify-start")},o.wd.map((t=>a.createElement("a",d(f({href:t.href,key:t.label},t.href.startsWith("http")?{target:"_blank",rel:"noopener noreferrer"}:{}),{className:(0,n.c)("text-sm","leading-5","font-normal","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:no-underline","hover:text-gray-800 dark:hover:text-gray-300")}),t.label)))),a.createElement("div",{className:(0,n.c)("text-left","landing-md:text-right","text-sm","pr-6 landing-sm:pr-0","leading-5","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3","font-normal")},a.createElement("div",{className:(0,n.c)("text-base","text-gray-500 dark:text-gray-400")},"Copyright \xa9 ",(new Date).getFullYear()," PrepVerse"," ",a.createElement(c.Q,{className:"text-refine-red ml-2 inline leading-6"}),a.createElement("br",null),"Built with Docusaurus & Refine.")))))}},6192:(e,t,r)=>{r.d(t,{D:()=>u});var n=r(1504),a=r(4971),l=r(9184);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=e=>n.createElement("svg",function(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const u=e=>{var{children:t,href:r,className:o,onClick:u,buttonClassname:f}=e,d=m(e,["children","href","className","onClick","buttonClassname"]);const g=r?l.c:"button";return n.createElement(g,s(function(e){for(var t=1;t{r.d(t,{c:()=>i});var n=r(4971),a=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const i=e=>{var{className:t,wrapperProps:r}=e,l=c(e,["className","wrapperProps"]);return a.createElement("div",o({role:"status"},r),a.createElement("svg",o({"aria-hidden":"true",width:24,height:24,viewBox:"0 0 100 100",className:(0,n.c)("text-gray-200 animate-spin dark:text-gray-600 fill-refine-blue",t),fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),a.createElement("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),a.createElement("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})),a.createElement("span",{className:"sr-only"},"Loading..."))}},252:(e,t,r)=>{r.d(t,{Q:()=>i});var n=r(4971),a=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;ta.createElement("div",{className:(0,n.c)("w-full h-12","relative","bg-top-announcement","not-prose","font-inter","z-top-announcement")},a.createElement("div",{className:(0,n.c)("hidden lg:flex","w-full h-full","max-w-screen","overflow-hidden","border-b border-solid border-[#47ebeb26]","top-announcement-mask")},a.createElement("div",{className:(0,n.c)("w-[1280px] h-full","mx-auto","flex","justify-between")},a.createElement("div",{className:(0,n.c)("w-[calc(50%-300px)] h-full","relative")},a.createElement(m,{style:{animationDelay:"1.5s"},className:(0,n.c)("absolute","top-[2px]","right-[220px]"),id:"1"}),a.createElement(m,{style:{animationDelay:"1s"},className:(0,n.c)("absolute","rotate-180","top-[8px] right-[100px]"),id:"2"}),a.createElement(u,{className:(0,n.c)("absolute","right-[10px]"),id:"3"})),a.createElement("div",{className:(0,n.c)("w-[calc(50%-300px)] h-full","relative")},a.createElement(m,{style:{animationDelay:"2s"},className:(0,n.c)("absolute","rotate-180","top-[6px] right-[180px]"),id:"4"}),a.createElement(m,{style:{animationDelay:"0.5s"},className:(0,n.c)("delay-[1300]","absolute","top-[2px]","right-[40px]"),id:"5"}),a.createElement(u,{className:(0,n.c)("absolute","right-[-70px]"),id:"6"})))),a.createElement(s,null)),s=()=>a.createElement("a",{href:"https://github.com/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,n.c)("relative lg:absolute","px-2 lg:px-0","top-0","left-[50%]","translate-x-[-50%]","bg-top-announcement-text","h-full w-full lg:w-[450px]","flex items-center justify-center","text-white","text-xs sm:text-sm","text-center","no-underline","hover:no-underline","hover:text-white","not-prose")},a.createElement("div",{className:(0,n.c)("ml-2","not-prose")},"For more updates follow","",a.createElement("span",{className:(0,n.c)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")},"@AkashSingh3031"),".")),m=e=>a.createElement("svg",c(o({xmlns:"http://www.w3.org/2000/svg",width:80,height:40,fill:"none"},e),{className:(0,n.c)("animate-top-announcement-glow","opacity-1",e.className)}),a.createElement("circle",{cx:40,r:40,fill:`url(#${e.id}-a)`,fillOpacity:.5}),a.createElement("defs",null,a.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 40 -40 0 40 0)",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#47EBEB"}),a.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0})))),u=e=>a.createElement("svg",c(o({xmlns:"http://www.w3.org/2000/svg",width:120,height:48,fill:"none"},e),{className:(0,n.c)("animate-top-announcement-glow","opacity-1",e.className)}),a.createElement("circle",{cx:60,cy:24,r:60,fill:`url(#${e.id}-a)`,fillOpacity:.5}),a.createElement("defs",null,a.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 60 -60 0 60 24)",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#47EBEB"}),a.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0}))))},7328:(e,t,r)=>{r.d(t,{c:()=>j});var n=r(4971),a=r(1504);const l=({className:e})=>a.createElement("div",{className:(0,n.c)("relative","w-full","landing-md:mx-auto","w-full","pt-4 blog-md:pt-12 pb-6 px-6","bg-white dark:bg-gray-800",e)},a.createElement("div",{className:(0,n.c)("blog-sm:max-w-[592px]","blog-md:max-w-[656px]","blog-lg:max-w-[896px]","blog-max:max-w-[1200px]","w-full","mx-auto","flex","flex-col","items-start justify-start blog-lg:items-center blog-lg:justify-center","gap-4","not-prose")},a.createElement("h2",{className:(0,n.c)("flex","flex-wrap","gap-2","text-[32px] leading-[40px] landing-sm:text-[56px] landing-sm:leading-[72px]")},a.createElement("div",{className:(0,n.c)("dark:text-gray-0 text-gray-900")},"PrepVerse "),a.createElement("div",{className:(0,n.c)("font-semibold","dark:text-refine-green-alt dark:drop-shadow-[0_0_30px_rgba(71,235,235,0.25)]","text-refine-blue drop-shadow-[0_0_30px_rgba(51,51,255,0.3)]","whitespace-nowrap")},"Technical Blog")),a.createElement("p",{className:(0,n.c)("text-base","text-start landing-md:text-center","max-w-[588px]","dark:text-gray-400 text-gray-600","pb-2")},"contains all the DSA, Core Subjects, Web Tech, Data Science & FAANG Interview questions based blogs.")));var o=r(3680),c=r(8480),i=r(6968),s=r(6192),m=r(6112),u=r(9184),f=r(2424),d=r(2276),g=r(2268);function p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function b(e){for(var t=1;t{const[r,n]=(0,a.useState)({scrollDepths:e,scrollY:0}),{scrollDepths:l,scrollY:o}=r;return(0,a.useEffect)((()=>{"undefined"!=typeof window&&0!==window.pageYOffset&&n((e=>y(b({},e),{scrollY:window.pageYOffset})))}),[]),(0,a.useEffect)((()=>{if("undefined"==typeof window)return;const e=()=>window.removeEventListener("scroll",a),a=()=>{const a=document.documentElement,o=document.body,c=a.scrollTop||o.scrollTop,i=a.scrollHeight||o.scrollHeight,s=c/(i-a.clientHeight)*100;if(l){const r=Math.min(...l,i);if(s>=r){const a=l.filter((e=>e!==r));0===a.length&&e(),t&&t({scrollY:r,scrollPercent:s,remainingDepths:a}),n({scrollY:r,scrollDepths:a})}}else n(y(b({},r),{scrollY:s}))};return window.addEventListener("scroll",a),e}),[l,o,r]),{scrollY:o}},w=(e,t)=>{const[r,n]=(0,a.useState)((()=>{if("undefined"==typeof window)return t;try{const r="undefined"!=typeof window?window.localStorage.getItem(e):void 0;return r?JSON.parse(r):t}catch(r){return console.log(r),t}}));return[r,t=>{try{const a=t instanceof Function?t(r):t;n(a),"undefined"!=typeof window&&window.localStorage.setItem(e,JSON.stringify(a))}catch(a){console.log(a)}}]};var v=r(640);const x=({title:e="Click here to discover my latest projects, skills, and achievements on my portfolio website. My journey into creativity begins now!",variant:t="purple",image:r={src:"https://github.com/AkashSingh3031.png",alt:"My Portfolio",href:"https://prepverse.github.io/portfolio"},button:l={text:"Explore Now",href:"https://prepverse.github.io/portfolio",onClick:void 0}})=>{var o,c,i,p;const{pathname:b}=(0,v.IT)(),[y,x]=(0,a.useState)(!1),[O,E]=w("banner-modal",null),C=(0,a.useRef)(!1),k=h();var j,P;return(0,a.useEffect)((()=>{"/blog/"!==b&&"/blog"!==b&&(C.current||y||k.scrollY>79&&k.scrollY<100&&(C.current=!0,9===O||null===O?(x(!0),E(0)):(E(O+1),C.current=!0)))}),[k.scrollY]),(0,a.useEffect)((()=>{y&&"undefined"!=typeof window&&void 0!==window.gtag&&window.gtag("event","view_banner",{banner_name:"banner-modal",banner_text:e,banner_image:r.src})}),[y]),a.createElement(f.O,{appear:!0,show:y,as:a.Fragment},a.createElement(d.C,{as:"div",className:"relative z-modal",onClose:()=>x(!1)},a.createElement(f.O.Child,{as:a.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},a.createElement("div",{className:"fixed inset-0 bg-gray-900/70"})),a.createElement("div",{className:"fixed inset-0 overflow-y-auto"},a.createElement("div",{className:"flex min-h-full items-start justify-center"},a.createElement(f.O.Child,{as:a.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},a.createElement(d.C.Panel,{className:(0,n.c)("w-full min-h-screen","flex flex-col justify-center items-center")},a.createElement("div",{className:(0,n.c)("relative","rounded-3xl","max-w-[576px]","py-8","px-4 md:px-8","gray"===t&&"bg-banner-examples-modal-gray","purple"===t&&"bg-banner-examples-modal-purple")},a.createElement("div",{className:(0,n.c)("flex","flex-col","items-center","gap-8","text-center","not-prose")},a.createElement(u.c,{to:null!==(j=null===(o=r)||void 0===o?void 0:o.href)&&void 0!==j?j:null===(c=l)||void 0===c?void 0:c.href,target:"_blank",rel:"noopener noreferrer",className:(0,n.c)("flex","h-auto xl:h-[192px]","flex-shrink-0","rounded-lg","overflow-hidden","focus:outline-none")},a.createElement("img",{className:(0,n.c)("object-contain"),src:null===(i=r)||void 0===i?void 0:i.src,alt:null!==(P=null===(p=r)||void 0===p?void 0:p.alt)&&void 0!==P?P:e,loading:"lazy"})),a.createElement("p",{className:(0,n.c)("text-2xl","font-semibold","gray"===t&&"bg-clip-text","gray"===t&&"text-transparent","gray"===t&&"bg-banner-examples-text","purple"===t&&"text-gray-0")},e),a.createElement(s.D,{className:(0,n.c)("w-max"),buttonClassname:(0,n.c)("!px-4","!py-4"),href:l.href,onClick:l.onClick,target:"_blank",rel:"noopener noreferrer"},a.createElement("div",{className:(0,n.c)("text-gray-900","text-base","font-bold")},l.text),a.createElement(m.G,{className:(0,n.c)("w-4","h-4")}))),a.createElement("button",{className:(0,n.c)("absolute","top-2 right-2","w-8 h-8","flex items-center justify-center flex-shrink-0","text-gray-0","rounded-full","bg-gray-900/20"),onClick:()=>x(!1)},a.createElement(g.O,{className:"w-4 h-4"})))))))))};var O=r(6280);function E(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function C(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function k(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},l=Object.keys(e);for(n=0;n=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const j=e=>{const[t,r]=(0,a.useState)(!1),{children:s,toc:m,showSidebarBanner:u=!0}=e,f=k(e,["children","toc","showSidebarBanner"]),d=h();return(0,a.useEffect)((()=>{t&&(d.scrollY>20&&r(!0),d.scrollY<20&&r(!1))}),[d.scrollY,u]),a.createElement(c.C,C(function(e){for(var t=1;t{r.r(t),r.d(t,{default:()=>f});var n=r(1504),a=r(4971),l=r(3652);const o=()=>(0,l.G)({id:"theme.tags.tagsPageTitle",message:"Tags",description:"The title of the tag list page"});var c=r(6684),i=r(5628),s=r(7328),m=r(2032),u=r(6108);function f({tags:e,sidebar:t}){const r=o();return n.createElement(c.cr,{className:(0,a.c)(i.W.wrapper.blogPages,i.W.page.blogTagsListPage)},n.createElement(c.U7,{title:r}),n.createElement(u.c,{tag:"blog_tags_list"}),n.createElement(s.c,{sidebar:t},n.createElement("h1",{className:""},r),n.createElement(m.c,{tags:e})))}},8092:(e,t,r)=>{r.d(t,{c:()=>o});var n=r(1504),a=r(4971),l=r(9184);function o({permalink:e,label:t,isActive:r,size:o="small",variant:c="default"}){return n.createElement(l.c,{href:e,className:(0,a.c)("no-underline hover:no-underline","rounded-full","small"===o&&"text-xs","small"===o&&"py-1","small"===o&&"px-3","medium"===o&&"text-sm","medium"===o&&"py-2","medium"===o&&"px-4",!r&&"bg-gray-100 dark:bg-gray-700",!r&&"text-gray-600 dark:text-gray-400","text-refine-react-8 dark:text-refine-react-3","default"===c&&"bg-refine-react-3 dark:bg-refine-react-7","inverted"===c&&"bg-refine-react-3 dark:bg-refine-react-8")},t)}},2032:(e,t,r)=>{r.d(t,{c:()=>b});var n=r(1504),a=r(8092),l=/\b(?:an?d?|a[st]|because|but|by|en|for|i[fn]|neither|nor|o[fnr]|only|over|per|so|some|tha[tn]|the|to|up|upon|vs?\.?|versus|via|when|with|without|yet)\b/i,o=/[^\s:\u2013\u2014-]+|./g,c=/\s/,i=/.(?=[A-Z]|\..)/,s=/[A-Za-z0-9\u00C0-\u00FF]/;var m=r(4971),u=r(320),f=r(5880);function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g(e){for(var t=1;t{const r=l.indexOf(e.label),n=l.indexOf(t.label);return-1===r?-1===n?0:1:-1===n?-1:r-n}));return n.createElement(n.Fragment,null,n.createElement(y,{collapsed:r,tags:o,className:(0,m.c)("hidden blog-lg:flex",t),onShowMoreClick:e=>a(e)}),n.createElement(h,{tags:o,className:(0,m.c)("block blog-lg:hidden",t)}))}const y=({tags:e,collapsed:t,className:r,onShowMoreClick:l})=>n.createElement("div",{className:(0,m.c)("bg-gray-50 dark:bg-refine-react-dark-code","justify-between","items-start","p-5",t&&"rounded-full",!t&&"rounded-3xl","not-prose",r)},n.createElement("ul",{className:(0,m.c)("overflow-hidden","flex-1",!t&&"h-24",t&&"h-8","m-0 p-0","mr-16","transition-all duration-300 ease-in-out")},e.map((e=>n.createElement("li",{className:(0,m.c)("inline-flex","m-1","mr-3"),key:e.permalink},n.createElement(a.c,p(g({},e),{label:v(e.label)})))))),n.createElement("button",{type:"button",onClick:()=>l(!t),className:(0,m.c)("appearance-none","flex","items-center","justify-center","gap-2","cursor-pointer","flex-shrink","no-underline hover:no-underline","text-xs","rounded-full","py-1","pl-3","pr-1","mt-1","text-refine-react-8 dark:text-refine-react-3","bg-refine-react-3 dark:bg-refine-react-7")},"Show More"," ",n.createElement(w,{className:(0,m.c)("opacity-30","transition-transform duration-200 ease-in-out",{"rotate-180 transform":!t})}))),h=({tags:e,className:t})=>{const[r,l]=n.useState(!1);return n.createElement(n.Fragment,null,n.createElement("div",{className:(0,m.c)(t)},n.createElement("button",{type:"button",onClick:()=>l(!0),className:(0,m.c)("flex","items-center","justify-center","gap-2","rounded-full","px-6 py-3","bg-refine-react-3 dark:bg-refine-react-6","text-refine-react-8 dark:text-white")},n.createElement(u.y,null),n.createElement("div",null,"Filter Tags"))),n.createElement(f.E,{onClose:()=>l(!1),open:r,title:"Filter Tags",variant:"blog"},n.createElement("ul",{className:(0,m.c)("overflow-hidden","flex","flex-col","gap-6"),style:{margin:0,padding:0}},e.map((e=>n.createElement("li",{className:(0,m.c)("flex"),key:e.permalink},n.createElement(a.c,p(g({},e),{label:v(e.label),variant:"inverted",size:"medium"}))))))))},w=e=>n.createElement("svg",{width:16,height:16,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e.className},n.createElement("title",null,"chevron"),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M15 8A7 7 0 1 1 1 8a7 7 0 0 1 14 0Zm1 0A8 8 0 1 1 0 8a8 8 0 0 1 16 0ZM5.854 6.646a.5.5 0 1 0-.708.708l2.5 2.5a.5.5 0 0 0 .708 0l2.5-2.5a.5.5 0 0 0-.708-.708L8 8.793 5.854 6.646Z",clipRule:"evenodd"})),v=e=>{let t=`${e}`;t=e.replace(/-/g," ");return[["html","HTML"],["css","CSS"],["javascript","JavaScript"]].forEach((r=>{t=e.replace(r[0],r[1])})),function(e){for(var t,r="";null!==(t=o.exec(e));){var n=t[0],a=t.index;i.test(n)||l.test(n)&&0!==a&&a+n.length!==e.length||":"===e.charAt(a+n.length)&&!c.test(e.charAt(a+n.length+1))?r+=n:r+=n.replace(s,(function(e){return e.toUpperCase()}))}return r}(e)}}}]); \ No newline at end of file diff --git a/assets/js/01a85c17.c382940d.js b/assets/js/01a85c17.c382940d.js new file mode 100644 index 00000000..32d59c9c --- /dev/null +++ b/assets/js/01a85c17.c382940d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[8412],{8164:(e,t,r)=>{r.d(t,{c:()=>l});var n=r(1504),a=r(8952);function l({children:e,fallback:t}){var r;return(0,a.c)()?n.createElement(n.Fragment,null,null===(r=e)||void 0===r?void 0:r()):null!=t?t:null}},6280:(e,t,r)=>{r.d(t,{c:()=>m});var n=r(1504),a=r(4971),l=r(3652),o=r(5628),c=r(476),i=r(1580);const s={backToTopButton:"backToTopButton_sjWU",backToTopButtonShow:"backToTopButtonShow_xfvO"};function m(){const{shown:e,scrollToTop:t}=function({threshold:e}){const[t,r]=(0,n.useState)(!1),a=(0,n.useRef)(!1),{startScroll:l,cancelScroll:o}=(0,c.yI)();return(0,c.SM)((({scrollY:t},n)=>{var l;const c=null===(l=n)||void 0===l?void 0:l.scrollY;c&&(a.current?a.current=!1:t>=c?(o(),r(!1)):t{e.location.hash&&(a.current=!0,r(!1))})),{shown:t,scrollToTop:()=>l(0)}}({threshold:300});return n.createElement("button",{"aria-label":(0,l.G)({id:"theme.BackToTopButton.buttonAriaLabel",message:"Scroll back to top",description:"The ARIA label for the back to top button"}),className:(0,a.c)("clean-btn",o.W.common.backToTopButton,s.backToTopButton,e&&s.backToTopButtonShow),type:"button",onClick:t})}},5628:(e,t,r)=>{r.d(t,{W:()=>n});const n={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-page",docsDocPage:"docs-doc-page",docsTagsListPage:"docs-tags-list-page",docsTagDocListPage:"docs-tags-doc-list-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docsPages:"docs-wrapper",mdxPages:"mdx-wrapper"},common:{editThisPage:"theme-edit-this-page",lastUpdated:"theme-last-updated",backToTopButton:"theme-back-to-top-button",codeBlock:"theme-code-block",admonition:"theme-admonition",admonitionType:e=>`theme-admonition-${e}`},layout:{},docs:{docVersionBanner:"theme-doc-version-banner",docVersionBadge:"theme-doc-version-badge",docBreadcrumbs:"theme-doc-breadcrumbs",docMarkdown:"theme-doc-markdown",docTocMobile:"theme-doc-toc-mobile",docTocDesktop:"theme-doc-toc-desktop",docFooter:"theme-doc-footer",docFooterTagsRow:"theme-doc-footer-tags-row",docFooterEditMetaRow:"theme-doc-footer-edit-meta-row",docSidebarContainer:"theme-doc-sidebar-container",docSidebarMenu:"theme-doc-sidebar-menu",docSidebarItemCategory:"theme-doc-sidebar-item-category",docSidebarItemLink:"theme-doc-sidebar-item-link",docSidebarItemCategoryLevel:e=>`theme-doc-sidebar-item-category-level-${e}`,docSidebarItemLinkLevel:e=>`theme-doc-sidebar-item-link-level-${e}`},blog:{}}},3680:(e,t,r)=>{r.d(t,{u:()=>l});var n=r(1504),a=r(3120);const l=e=>n.createElement(a.E,e)},5880:(e,t,r)=>{r.d(t,{E:()=>m});var n=r(4971),a=r(1504),l=r(2268),o=r(2424),c=r(7104),i=r(3200),s=r(8164);const m=e=>(a.useEffect((()=>(e.open?document.body.style.overflow="hidden":document.body.style.overflow="auto",()=>{document.body.style.overflow="auto"})),[e.open]),a.createElement(s.c,null,(()=>(0,c.createPortal)(a.createElement(u,e),document.body)))),u=({children:e,title:t,open:r,onClose:c,variant:s})=>{const[m,u]=a.useState(48),{scrollY:f}=(0,i.Q)(),d=a.useRef(null);var g,p;return g=d,p=e=>{e.stopPropagation(),c()},a.useEffect((()=>{const e=e=>{g.current&&!g.current.contains(e.target)&&(e.preventDefault(),p(e))};return document.addEventListener("click",e,!0),()=>{document.removeEventListener("click",e,!0)}}),[g]),((e,t,r)=>{a.useEffect((()=>{const n=n=>{e.current&&t.includes(n.key)&&(n.preventDefault(),r(n))};return document.addEventListener("keydown",n,!0),()=>{document.removeEventListener("keydown",n,!0)}}),[e])})(d,["Escape"],(()=>{c()})),a.useEffect((()=>{const e=f.onChange((e=>{u(e>=48?0:48-e)}));return()=>e()}),[]),a.createElement("div",{style:{top:m},className:(0,n.c)("fixed","right-0 bottom-0","z-modal",!r&&"pointer-events-none")},a.createElement(o.O,{ref:d,as:"div",className:(0,n.c)("z-modal","flex flex-col","w-[240px] h-full","ml-auto","p-4","templates"===s&&"bg-gray-0 dark:bg-gray-900","blog"===s&&"bg-white dark:bg-refine-react-7","border-l dark:border-gray-800","dark:shadow-[0_0_72px_24px_#14141F]","shadow-[0_0_72px_24px_rgba(20, 20, 31, 0.50)]"),show:r,enter:"transition-transform duration-300 transition-ease-in-out",enterFrom:"translate-x-full",enterTo:"translate-x-0",leave:"transition-transform duration-300 transition-ease-in-out",leaveFrom:"translate-x-0",leaveTo:"translate-x-full"},a.createElement("div",{className:(0,n.c)("flex","items-center","justify-between","mb-10","dark:text-gray-300 text-gray-900")},a.createElement("h3",{className:(0,n.c)("text-base","font-semibold")},t),a.createElement("button",{type:"button",className:(0,n.c)("appearance-none"),onClick:c},a.createElement(l.O,null))),a.createElement("div",{className:(0,n.c)("overflow-auto h-full")},e)))}},6968:(e,t,r)=>{r.d(t,{m:()=>Y});var n=r(9184),a=r(4971),l=r(3200),o=r(344),c=r(6076),i=r(1504),s=r(1980),m=r(8804),u=r(6098);const f=[{isPopover:!0,label:"Docs",items:[{label:"Foundation Docs",description:"Learn C++, Python & Java",link:"https://prepverse.vercel.app/docs",icon:u.C3},{label:"DSA Docs",description:"Learning DSA in C++, Python & Java",link:"https://prepverse.vercel.app/docs/1.DS.Algo",icon:u.uI}]},{isPopover:!0,label:"CodePoint",items:[{label:"Expert Sheet Solutions",description:"Most popular coding questions solutions asked during SDE interviews.",link:"https://prepverse.github.io/CodePoint/preface",icon:u.C3},{label:"Coding Ninjas Series",description:"Coding Ninjas Studio Guided Path Solutions",link:"https://prepverse.github.io/CodePoint/learning_resources/CN_Series/preface",icon:u.oh},{label:"LeetVerse",description:"Leetcode problem solutions with full probelm statements in C++, Python & Java",link:"https://prepverse.github.io/LeetVerse",icon:u.Ew}]},{isPopover:!0,label:"About",items:[{label:"About Me",description:"My information.",link:"https://prepverse.vercel.app/AkashSingh3031",icon:u.kv},{label:"Project Showcase",description:"PrepVerse open-source projects",link:"https://prepverse.vercel.app/showcase",icon:u.w9},{label:"My Portfolio",description:"All info about me",link:"https://prepverse.github.io/portfolio",icon:u.BE}]},{isPopover:!1,label:"Blog",href:"https://prepverse.vercel.app/blog",icon:u.s1},{isPopover:!1,label:"PrepVerse Community",href:"https://prepverse.vercel.app/prepverse-community",icon:u.vn}],d=({item:e,variant:t="landing"})=>{const r=e.icon;return i.createElement(n.c,{to:e.link,className:"no-underline"},i.createElement("div",{className:(0,a.c)("flex items-center","p-4","transition duration-150 ease-in-out","rounded-lg","hover:bg-gray-100","landing"===t&&"dark:hover:bg-gray-800","blog"===t&&"dark:hover:bg-refine-react-8")},i.createElement("div",{className:"shrink-0"},i.createElement(r,null)),i.createElement("div",{className:"ml-2"},i.createElement("div",{className:(0,a.c)("landing"===t&&"text-gray-900 dark:text-white","blog"===t&&"text-refine-react-8 dark:text-refine-react-3","font-semibold")},e.label),i.createElement("div",{className:(0,a.c)("landing"===t&&"text-gray-500 dark:text-gray-400","blog"===t&&"text-refine-react-5 dark:text-refine-react-4","text-xs")},e.description))))},g=({item:e})=>{const[t,r]=(0,i.useState)(null);(0,i.useEffect)((()=>(r(localStorage.getItem("theme")||null),window.addEventListener("storage",l,!1),()=>{window.removeEventListener("storage",l,!1)})),[]);const l=()=>{r(localStorage.getItem("theme")||null)};let o=e.icon;return"Cloud"===e.label&&(o="light"===t?u.oz:e.icon),i.createElement(n.c,{key:e.label,to:e.href,className:(0,a.c)("inline-flex items-center gap-2","text-sm leading-6 font-normal text-gray-900 dark:text-gray-300","transition-colors duration-150 ease-in-out","no-underline","Hackathon"===e.label?["py-1","px-2","rounded-lg","bg-hackathon-button-bg","animate-hackathon-button-bg","bg-refine-bg","text-gray-0","bg-[length:200%_100%]","text-[14px]","hover:text-gray-0"]:["hover:text-gray-900 dark:hover:text-white"])},e.icon&&i.createElement(o,null),e.label)};var p=r(640),b=r(5224),h=r(2424),y=r(4577);const w=({item:e,variant:t="landing",children:r})=>{const[n,l]=(0,i.useState)(!1),o=i.useRef(null),c=i.useRef(null),s=(0,p.IT)();return i.useEffect((()=>{l(!1)}),[s]),i.createElement(b._,{id:`popover-${e.label}`,key:e.label,className:(0,a.c)("relative","inline-flex items-center"),onMouseEnter:()=>{c.current=setTimeout((()=>l(!0)),210),clearTimeout(o.current)},onMouseLeave:()=>{o.current=setTimeout((()=>l(!1)),210),clearTimeout(c.current)}},(()=>i.createElement(i.Fragment,null,i.createElement(b._.Button,{className:(0,a.c)("inline-flex items-center","text-sm leading-6","font-normal")},i.createElement("span",{className:(0,a.c)("landing"===t&&"text-gray-900 dark:text-gray-300","blog"===t&&"text-refine-react-8 dark:text-refine-react-3","transition-colors duration-150 ease-in-out inline-block")},e.label),i.createElement(y.w,{"aria-hidden":"true",className:(0,a.c)("transition duration-150 ease-out","-mr-2","landing"===t&&"text-gray-500 dark:text-gray-400","blog"===t&&"text-refine-react-4",n?"translate-y-0.5":"")})),i.createElement(h.O,{as:i.Fragment,enter:"transition ease-in duration-150",enterFrom:"opacity-0 translate-y-3",enterTo:"opacity-100 translate-y-0",leave:"transition ease-out duration-150",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 translate-y-3",show:n},i.createElement(b._.Panel,{className:(0,a.c)("absolute","z-50","top-12",{"-left-32 center-point":"Docs"===e.label||"About"===e.label,"left-point":"CodePoint"===e.label})},i.createElement(u.WR,{id:e.label,variant:t,className:(0,a.c)("absolute","top-[-9px]",{"left-1/2":"CodePoint"!==e.label,"left-12":"CodePoint"===e.label}),style:{transform:"translateX(-50%)"}}),i.createElement("div",{className:(0,a.c)("overflow-hidden","rounded-xl","landing"===t&&"border dark:border-gray-700 border-gray-200","landing"===t&&"dark:shadow-menu-dark shadow-menu-light","blog"===t&&"border border-refine-react-3 dark:border-refine-react-6","blog"===t&&"dark:shadow-menu-blog-dark shadow-menu-blog-light")},r))))))},v=({variant:e="landing"})=>i.createElement(i.Fragment,null,f.map((t=>t.isPopover?i.createElement(w,{key:`navbar-${t.label}`,item:t,variant:e},"CodePoint"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,a.c)("grid grid-cols-2 gap-4","p-4","w-[672px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(d,{key:t.label,item:t,variant:e})))),i.createElement(n.c,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,a.c)("border-t","blog"===e&&"border-refine-react-3 dark:border-refine-react-6","landing"===e&&"border-gray-300 dark:border-gray-700","landing"===e&&"bg-gray-100 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-7","flex items-center","py-4 px-7")},i.createElement(u._2,null),i.createElement("div",{className:(0,a.c)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))),"About"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,a.c)("grid gap-4","p-4","w-[336px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(d,{key:t.label,item:t,variant:e})))),i.createElement("div",{className:(0,a.c)("border-t","blog"===e&&"border-refine-react-3 dark:border-refine-react-6","landing"===e&&"border-gray-300 dark:border-gray-700","landing"===e&&"bg-gray-100 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-7","flex justify-between items-center","py-4 px-7")},i.createElement("div",{className:(0,a.c)("landing"===e&&"text-gray-600 dark:text-gray-400 ","blog"===e&&"text-refine-react-5 dark:text-refine-react-4")},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.c,{to:"https://github.com/AkashSingh3031",className:(0,a.c)("no-underline","hover:text-inherit")},i.createElement(u.A9,{className:"dark:text-gray-400 text-gray-500"})),i.createElement(n.c,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(u.Ed,null)),i.createElement(n.c,{to:"https://instagram.com/akash.singh3031"},i.createElement(u.Yf,null)),i.createElement(n.c,{to:"https://x.com/akashsingh3031"},i.createElement(u.CC,null))))),"Docs"===t.label&&i.createElement("div",{className:(0,a.c)("grid gap-4","p-4","w-[336px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(d,{key:t.label,item:t,variant:e}))))):i.createElement(g,{key:`navbar-${t.label}`,item:t,variant:e}))));var x=r(2276),O=r(7008),E=r(9072),C=r(2268);function k(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const j=e=>i.createElement("svg",function(e){for(var t=1;ti.createElement("svg",function(e){for(var t=1;t{const[c,s]=(0,i.useState)(null),m=null!=r?r:n.c,f=void 0!==l&&void 0===t;return(0,i.useEffect)((()=>{const e=document.querySelector("html").getAttribute("data-theme");s(e)}),[]),i.createElement(m,function(e){for(var t=1;t{const r=(0,p.IT)();return i.useEffect((()=>{t(!1)}),[r]),i.createElement(Z,{isModalOpen:e,setIsModalOpen:t},i.createElement(B,{className:(0,a.c)("hidden landing-sm:block","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}),i.createElement(F,{className:(0,a.c)("block landing-sm:hidden","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}))},Z=({isModalOpen:e,setIsModalOpen:t,children:r})=>i.createElement(h.O,{appear:!0,show:e,as:i.Fragment},i.createElement(x.C,{as:"div",className:"relative z-10",onClose:()=>t(!1)},i.createElement(h.O.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},i.createElement("div",{className:(0,a.c)("fixed inset-0","bg-gray-0 dark:bg-gray-900","flex","flex-col")},i.createElement(D.Q,null),i.createElement("div",{className:(0,a.c)("flex items-center justify-between","p-4","landing-sm:px-8")},i.createElement(m.m,{className:"dark:text-gray-0 text-gray-900"}),i.createElement("button",{type:"button",className:(0,a.c)("rounded-lg","hover:brightness-105","active:scale-90","transition-transform duration-75 ease-in-out")},i.createElement(C.O,{className:"text-gray-900 dark:text-white",onClick:()=>t(!1)}))),i.createElement(h.O.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-75",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95"},i.createElement("div",{className:(0,a.c)("flex-1","overflow-y-auto","px-4","pb-4")},r)))))),B=e=>i.createElement("div",{className:(0,a.c)(e.className)},f.map(((e,t)=>{const r="icon"in e&&e.icon;return i.createElement("div",{key:t,className:(0,a.c)("not-prose","p-4","border-t dark:border-gray-700 border-gray-200")},i.createElement(n.c,{to:"href"in e?e.href:void 0,className:(0,a.c)("appearance-none","block","no-underline","dark:text-gray-0 text-gray-900","font-bold")},i.createElement("div",{className:(0,a.c)("flex items-center gap-2")},i.createElement("div",null,e.label),r&&i.createElement(r,null))),"items"in e&&i.createElement("div",{className:(0,a.c)("mt-2","grid grid-cols-2 min-[800px]:grid-cols-3","gap-x-8 gap-y-4")},e.items.map((e=>i.createElement(d,{key:e.label,item:e})))))})),i.createElement(R,null),i.createElement(T,{id:"tablet"}),i.createElement(H,{id:"tablet"})),F=e=>i.createElement("div",{className:(0,a.c)(e.className)},i.createElement("div",{className:"flex-grow"},f.map((e=>e.isPopover?i.createElement(O.C,{key:`modal-${e.label}`},(({open:t})=>i.createElement(i.Fragment,null,i.createElement(L,{component:O.C.Button,label:e.label,open:t}),i.createElement(O.C.Panel,{className:(0,a.c)(t&&"pb-4",t&&"border-b border-gray-200 dark:border-gray-700")},e.items.map((e=>i.createElement(d,{key:e.label,item:e}))))))):i.createElement(L,{key:`modal-${e.label}`,label:e.label,href:e.href,icon:e.icon})))),i.createElement(R,null),i.createElement(T,{id:"phone"}),i.createElement(H,{id:"phone"})),H=e=>{var t;return i.createElement(n.c,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,a.c)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex items-center","p-4")},i.createElement(u._2,{id:(null===(t=e)||void 0===t?void 0:t.id)||""}),i.createElement("div",{className:(0,a.c)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))},T=e=>{var t;return i.createElement("div",{className:(0,a.c)("bg-white dark:bg-gray-700 header-sm:bg-inherit","flex justify-between items-center","header-sm:flex-col header-sm:gap-4","header-sm:border-b border-gray-200 dark:border-gray-600","py-3 px-4")},i.createElement("p",{className:"text-gray-500 dark:text-gray-300 font-semibold"},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.c,{to:"https://github.com/AkashSingh3031"},i.createElement(u.A9,{className:"h-10 w-10"})),i.createElement(n.c,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(u.Ed,{className:"h-10 w-10"})),i.createElement(n.c,{to:"https://instagram.com/akash.singh3031"},i.createElement(u.Yf,{className:"h-10 w-10",id:(null===(t=e)||void 0===t?void 0:t.id)||""})),i.createElement(n.c,{to:"https://x.com/akashsingh3031"},i.createElement(u.CC,{className:"h-10 w-10"}))))},R=()=>{const{colorMode:e,setColorMode:t}=(0,E.U)(),r=()=>{t("dark"===e?"light":"dark")},n="dark"===e,l="light"===e;return i.createElement("div",{className:(0,a.c)("not-prose","p-4","flex items-center")},i.createElement("div",{className:(0,a.c)("text-sm","mr-10","dark:text-gray-400 text-gray-600")},"Apperance"),i.createElement("button",{onClick:r,className:(0,a.c)("mr-4","rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200","text-gray-500",l&&"bg-gray-50")},i.createElement(A.G,null),"Light"),i.createElement("button",{onClick:r,className:(0,a.c)("rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200",n?"text-gray-400":"text-gray-500",n&&"bg-gray-700")},i.createElement(M.g,null),"Dark"))};var _=r(9253),z=r(2700),I=r(5792),G=r(6936);const U=()=>{const{loading:e,githubStarCountText:t}=(0,z.wx)();return i.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank",rel:"noreferrer",className:(0,a.c)("flex gap-2 items-center","font-normal","text-sm leading-6","text-gray-500 dark:text-gray-400","hover:text-gray-400 dark:hover:text-gray-300","hover:no-underline","transition-colors","duration-200","ease-in-out")},i.createElement(I.A,{className:(0,a.c)("w-5 h-5")}),i.createElement("div",{className:(0,a.c)("flex items-center","w-10 h-6")},e?i.createElement(G.c,{className:(0,a.c)("w-5 h-5"),wrapperProps:{className:(0,a.c)("mx-auto")}}):i.createElement("span",null,t)))},Y=({trackProgress:e,variant:t="landing",className:r})=>{const[u,f]=(0,i.useState)(!1),{scrollYProgress:d}=(0,l.Q)(),g=(0,o.s)(d,[.03,.95],["0%","100%"]);return i.createElement(i.Fragment,null,i.createElement(D.Q,null),i.createElement("header",{className:(0,a.c)("sticky","top-0","z-10")},i.createElement("div",{className:(0,a.c)("absolute","top-0 left-0 right-0","backdrop-blur-[6px]","landing-md:backdrop-blur-[12px]","z-[-1]","bg-gray-0 dark:bg-gray-800","bg-opacity-80 dark:bg-opacity-80","pointer-events-none",r),style:{top:"-20px",bottom:"-80px",WebkitMaskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))",maskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))"}}),i.createElement("div",{className:(0,a.c)("relative","z-[1]","p-4","landing-sm:px-8","landing-md:py-5")},i.createElement("div",{className:(0,a.c)("mx-auto","flex","items-center","justify-between","max-w-[896px]","landing-lg:max-w-[1200px]")},i.createElement("div",{className:(0,a.c)("w-[130px]","landing-lg:w-[200px]")},i.createElement(n.c,{to:"https://prepverse.vercel.app"},i.createElement(m.m,{className:"text-gray-900 dark:text-gray-0"}))),i.createElement("button",{type:"button",className:(0,a.c)("text-gray-900 dark:text-gray-0","block landing-md:hidden"),onClick:()=>f(!0)},i.createElement(s.m,null)),i.createElement("div",{className:(0,a.c)("hidden landing-md:flex","flex-1","items-center","gap-8")},i.createElement(v,{variant:t})),i.createElement("div",{className:(0,a.c)("hidden landing-md:flex","items-center","justify-end","gap-4","w-[130px]","landing-lg:w-[200px]")},i.createElement(U,null),i.createElement(_.C,null)),i.createElement(V,{isModalOpen:u,setIsModalOpen:f}))),e&&i.createElement("div",{className:(0,a.c)("w-full","h-[1.5px]","translate","bg-refine-react-3 dark:bg-refine-react-7")},i.createElement(c.q.div,{className:(0,a.c)("h-full","bg-refine-react-light-link dark:bg-refine-react-dark-link"),style:{width:g}}))))}},9253:(e,t,r)=>{r.d(t,{C:()=>i,O:()=>m});var n=r(1504),a=r(4971),l=r(9072),o=r(3756),c=r(5372);const i=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,l.U)();return n.createElement("button",{type:"button",className:(0,a.c)("appearance-none","focus:outline-none","relative","w-10 h-10","rounded-full","border","border-solid","border-gray-300 dark:border-gray-700","text-gray-500","transition-colors","duration-150","ease-in-out","overflow-hidden","flex-shrink-0","group",e),onClick:()=>{r("dark"===t?"light":"dark")}},n.createElement("div",{className:(0,a.c)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","translate-y-0","dark:-translate-y-10","duration-200","ease-in-out","transition-transform")},n.createElement(o.G,null)),n.createElement("div",{className:(0,a.c)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","-translate-y-10","dark:translate-y-0","duration-200","ease-in-out","transition-transform")},n.createElement(c.g,null)))},s=[{name:"light",icon:o.G,label:"Light"},{name:"dark",icon:c.g,label:"Dark"}],m=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,l.U)();return n.createElement("div",{className:(0,a.c)("flex","items-center","gap-4","justify-start",e)},s.map((({name:e,label:l,icon:o})=>n.createElement("button",{type:"button",key:e,className:(0,a.c)("appearance-none","focus:outline-none","py-1","pl-1.5","pr-3","flex","items-center","justify-center","gap-1","rounded-[40px]","text-gray-400","border border-solid","border-gray-200","dark:border-gray-600",t===e&&"bg-gray-100 dark:bg-gray-700"),onClick:()=>{r(e)}},n.createElement(o,{className:(0,a.c)("w-4 h-4")}),n.createElement("span",{className:(0,a.c)("text-sm")},l)))))}},7708:(e,t,r)=>{r.d(t,{o0:()=>g,yw:()=>f,wd:()=>d,AR:()=>p});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var m=r(6098),u=r(4252);const f=[{label:"Resources",items:[{label:"Getting Started",href:"https://prepverse.vercel.app/docs"},{label:"Blog",href:"https://prepverse.vercel.app/blog"},{label:"Project Showcase",icon:n.createElement(m.KU,null),href:"https://prepverse.vercel.app/showcase"},{label:"Community",icon:n.createElement(m.KU,null),href:"https://prepverse.vercel.app/prepverse-community"}]},{label:"Product",items:[{label:"CodePoint",icon:n.createElement(u.i,null),href:"https://prepverse.github.io/CodePoint"},{label:"LeetVerse",icon:n.createElement(u.i,null),href:"https://prepverse.github.io/LeetVerse"}]},{label:"About",items:[{label:"About Me",href:"https://prepverse.vercel.app/AkashSingh3031"},{label:"Portfolio",icon:n.createElement(u.i,null),href:"https://prepverse.github.io/portfolio"}]}],d=[{label:"License",href:"https://github.com/PrepVerse/prepverse.github.io/blob/master/LICENSE"}],g="Thank you for visiting, Connect with me over socials.",p=[{icon:e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{r.d(t,{G:()=>l});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{w:()=>l});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{g:()=>l});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{i:()=>l});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{y:()=>c});var n=r(4971),a=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const c=e=>a.createElement("svg",o(function(e){for(var t=1;t{r.d(t,{A:()=>o,i:()=>c});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e){for(var t=1;tn.createElement("svg",l({width:12,height:12,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.053 0A10.904 10.904 0 0 0 3.89 2.685 11.34 11.34 0 0 0 .142 9.472a11.48 11.48 0 0 0 1.456 7.65 11.087 11.087 0 0 0 5.964 4.86c.556.103.752-.25.752-.547v-1.918C5.23 20.202 4.58 18 4.58 18a3.012 3.012 0 0 0-1.227-1.655c-.997-.692.081-.692.081-.692.35.05.683.18.975.382.293.202.536.469.713.78.15.278.352.523.595.721a2.312 2.312 0 0 0 2.618.221c.042-.57.283-1.105.678-1.509-2.454-.284-5.03-1.253-5.03-5.539a4.415 4.415 0 0 1 1.132-3.025A4.194 4.194 0 0 1 5.224 4.7s.928-.305 3.036 1.156c1.81-.508 3.72-.508 5.531 0 2.108-1.46 3.03-1.156 3.03-1.156.406.936.455 1.993.135 2.963a4.415 4.415 0 0 1 1.132 3.026c0 4.334-2.582 5.282-5.043 5.538.264.271.468.597.598.955.13.358.182.741.155 1.122V21.4c0 .367.196.65.759.54a11.093 11.093 0 0 0 5.88-4.878 11.481 11.481 0 0 0 1.419-7.6 11.34 11.34 0 0 0-3.71-6.746A10.907 10.907 0 0 0 11.053 0Z",fill:"currentColor"})),c=e=>n.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.066.001a11.91 11.91 0 0 1 7.745 2.966 12.326 12.326 0 0 1 4.032 7.33 12.46 12.46 0 0 1-1.54 8.245 12.088 12.088 0 0 1-6.406 5.314l-.105.037-.11.021c-.508.1-1.232.093-1.83-.422-.577-.498-.681-1.166-.681-1.565v-3.008l.004-.053a1.102 1.102 0 0 0-.062-.453 1.058 1.058 0 0 0-.235-.377l-.839-.86-.863.882a.802.802 0 0 0-.224.502l-.015.217v3.183c0 .434-.14 1.029-.628 1.492-.541.514-1.246.62-1.864.505l-.108-.02-.104-.035a12.082 12.082 0 0 1-6.498-5.296 12.457 12.457 0 0 1-1.58-8.298c.45-2.86 1.891-5.471 4.073-7.375A11.909 11.909 0 0 1 12.05.001h.016Zm-10.43 10.54a10.957 10.957 0 0 0 1.39 7.303 10.58 10.58 0 0 0 5.693 4.638c.53.099.717-.238.717-.522v-1.83c-.588.13-1.083.15-1.5.1a2.95 2.95 0 0 1-.542-.117 2.551 2.551 0 0 1-.422-.176 2.362 2.362 0 0 1-.82-.72c-.208-.294-.28-.535-.28-.535a2.876 2.876 0 0 0-1.17-1.58l-.016-.01c-.925-.65.093-.65.093-.65.106.015.21.038.313.068l.017.005a2.172 2.172 0 0 1 .962.603c.122.13.23.276.319.433a2.29 2.29 0 0 0 .68.775h.002s0 .001 0 0a2.211 2.211 0 0 0 2.385.124v-.014a2.302 2.302 0 0 1 .647-1.427 8.754 8.754 0 0 1-1.625-.328 4.865 4.865 0 0 1-1.416-.695 3.883 3.883 0 0 1-.432-.365c-.8-.786-1.328-2.002-1.328-3.899a4.214 4.214 0 0 1 1.08-2.887 4.003 4.003 0 0 1 .104-2.848s.886-.291 2.898 1.103a9.762 9.762 0 0 1 5.28 0c2.011-1.393 2.891-1.103 2.891-1.103.388.893.434 1.902.13 2.828a4.214 4.214 0 0 1 1.08 2.888c0 3.166-1.444 4.44-3.174 4.972a8.617 8.617 0 0 1-1.64.314 2.558 2.558 0 0 1 .699 1.425c.026.184.033.371.02.558v2.955c0 .35.187.62.724.515a10.588 10.588 0 0 0 5.613-4.656 10.958 10.958 0 0 0 1.354-7.254 10.824 10.824 0 0 0-3.541-6.439 10.41 10.41 0 0 0-6.77-2.592 10.408 10.408 0 0 0-6.837 2.563 10.824 10.824 0 0 0-3.578 6.478ZM16.374 7.8a8.003 8.003 0 0 0-.856.524l-.58.401-.679-.19a8.262 8.262 0 0 0-4.469 0l-.68.19-.58-.402a7.982 7.982 0 0 0-.846-.519c.019.186.059.37.12.549l.282.832-.588.653a2.714 2.714 0 0 0-.696 1.86v.024c0 1.724.503 2.513.998 2.937.563.481 1.397.736 2.476.86l1.567.182 1.954-.204c1.082-.112 1.912-.358 2.47-.833.492-.418.999-1.209.999-2.96v-.026a2.714 2.714 0 0 0-.696-1.86l-.582-.647.273-.826c.058-.178.096-.36.113-.545Z",clipRule:"evenodd"}))},1980:(e,t,r)=>{r.d(t,{m:()=>l});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{Q:()=>l});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{G:()=>l});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{s1:()=>c,wR:()=>s,QD:()=>u,vn:()=>d,kv:()=>p,uI:()=>h,A9:()=>w,_2:()=>x,Ew:()=>E,Yf:()=>k,oh:()=>P,Ed:()=>S,BE:()=>D,KU:()=>V,WR:()=>R,w9:()=>z,CC:()=>G,AH:()=>$,oz:()=>Q,C3:()=>q});var n=r(1504);var a=r(4971);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const c=e=>n.createElement("svg",o(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const{colorMode:t}=(0,M.U)();return n.createElement("div",{className:(0,a.c)("relative","flex","items-center","justify-center","rounded-full","overflow-hidden","p-px","dark:bg-[#194b3a] bg-[#b7dbff]"),style:{transform:"translateZ(0)"}},n.createElement("div",{className:(0,a.c)("z-[1]","absolute","inset-0","dark:bg-new-badge-border-dark bg-new-badge-border-light","animate-new-badge-border")}),n.createElement("svg",function(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var H,T;const R=e=>{var{variant:t="landing"}=e,r=F(e,["variant"]);return n.createElement("svg",B(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",Y(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{r.d(t,{m:()=>l});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{E:()=>g});var n=r(4971),a=r(1504),l=r(9184),o=r(7708),c=r(204);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const s=e=>a.createElement("svg",function(e){for(var t=1;t{const t=a.createElement("div",{className:(0,n.c)("py-6 landing-lg:py-0","flex","flex-col","gap-4","landing-lg:max-w-[224px]")},a.createElement("div",{className:(0,n.c)("font-semibold","text-sm","leading-6","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},"Contacts"),a.createElement("a",{href:"https://wa.me/+919794423031",target:"_blank",className:(0,n.c)("font-normal","text-sm","leading-5","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},"+91 9794423031"),a.createElement("a",{href:"https://mail.google.com/mail/u/0/?fs=1&to=codewithsky@gmail.com&tf=cm",target:"_blank",className:(0,n.c)("font-normal","text-sm","leading-5","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:180,height:40,viewBox:"0 0 180 40",fill:"none"},a.createElement("text",{x:"1",y:"15",fontFamily:"Arial, sans-serif",fontSize:"16",fill:"currentColor"},"codewithsky@gmail.com")))),r=a.createElement("div",{className:(0,n.c)("py-6 landing-lg:py-0","flex","flex-col","landing-sm:items-end")},a.createElement("div",{className:(0,n.c)("flex","flex-col","gap-4")},a.createElement("div",{className:(0,n.c)("text-sm","leading-6","font-semibold","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3","landing-lg:text-right")},"Connect with me on"),a.createElement("div",{className:(0,n.c)("flex","items-center","gap-8","landing-lg:gap-4","justify-start")},o.AR.map((({href:t,icon:r})=>a.createElement("a",{href:t,key:t,target:"_blank",rel:"noreferrer",className:(0,n.c)("landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},a.createElement(r,{className:(0,n.c)("w-6 h-6","landing-lg:w-8 landing-lg:h-8")})))))));return a.createElement("footer",{className:(0,n.c)("w-full")},a.createElement("div",{className:(0,n.c)("border-t border-t-solid","landing"===e&&"border-t-gray-100 dark:border-t-gray-700","blog"===e&&"border-t-refine-react-3 dark:border-t-refine-react-7","landing"===e&&"dark:bg-footer-landing-dark-bg","blog"===e&&"bg-footer-blog-light-bg dark:bg-footer-blog-dark-bg")},a.createElement("div",{className:(0,n.c)("grid","grid-cols-1","max-w-screen-landing-md","landing-lg:max-w-screen-landing-lg","mx-auto")},a.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8 landing-lg:px-12","py-4 landing-lg:py-6","flex","items-center","justify-between")},a.createElement(l.c,{to:"https://prepverse.vercel.app",className:(0,n.c)("hover:no-underline","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},a.createElement(m.m,null)),a.createElement("a",{href:"https://github.com/sponsors/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,n.c)("hover:no-underline")},a.createElement(s,null))),a.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8 landing-lg:px-12","flex","flex-row","flex-wrap","items-start","justify-start","text-gray-500 dark:text-gray-500")},o.o0),a.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8 landing-lg:px-12","py-6 landing-lg:pt-8 landing-lg:pb-12","flex","flex-row","flex-wrap","items-start","justify-start","gap-6")},a.createElement("div",{className:(0,n.c)("hidden","landing-lg:flex","max-w-[282px]","w-full")},t),o.yw.map((t=>a.createElement("div",{className:(0,n.c)("flex flex-col gap-4","min-w-[152px]"),key:t.label},a.createElement("div",{className:(0,n.c)("text-sm","leading-6","font-semibold","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},t.label),a.createElement("div",{className:(0,n.c)("flex","flex-col","gap-2")},t.items.map((t=>a.createElement("a",d(f({href:t.href,key:t.label},t.href.startsWith("http")?{target:"_blank",rel:"noopener noreferrer"}:{}),{className:(0,n.c)("text-sm","leading-5","hover:no-underline","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300")}),a.createElement("div",{className:(0,n.c)("flex","items-center","gap-2")},t.label,t.icon)))))))),a.createElement("div",{className:(0,n.c)("hidden","landing-lg:flex","ml-auto")},r)),a.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8","grid","grid-cols-1","landing-sm:grid-cols-2","landing-sm:gap-8","landing-lg:hidden")},t,r))),a.createElement("div",{className:(0,n.c)("border-t border-t-solid","landing"===e&&"border-t-gray-100 dark:border-t-gray-700","blog"===e&&"border-t-gray-100 dark:border-t-gray-700","landing"===e&&"bg-gray-50 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-8")},a.createElement("div",{className:(0,n.c)("py-6 landing-sm:py-8 landing-lg:py-6","px-4 landing-sm:px-8 landing-lg:px-12","grid","grid-cols-1","landing-md:grid-cols-2","gap-8","max-w-screen-landing-md","landing-lg:max-w-screen-landing-lg","mx-auto")},a.createElement("div",{className:(0,n.c)("flex","flex-col","landing-sm:flex-row","gap-4","items-start","justify-start")},o.wd.map((t=>a.createElement("a",d(f({href:t.href,key:t.label},t.href.startsWith("http")?{target:"_blank",rel:"noopener noreferrer"}:{}),{className:(0,n.c)("text-sm","leading-5","font-normal","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:no-underline","hover:text-gray-800 dark:hover:text-gray-300")}),t.label)))),a.createElement("div",{className:(0,n.c)("text-left","landing-md:text-right","text-sm","pr-6 landing-sm:pr-0","leading-5","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3","font-normal")},a.createElement("div",{className:(0,n.c)("text-base","text-gray-500 dark:text-gray-400")},"Copyright \xa9 ",(new Date).getFullYear()," PrepVerse"," ",a.createElement(c.Q,{className:"text-refine-red ml-2 inline leading-6"}),a.createElement("br",null),"Built with Docusaurus & Refine.")))))}},6192:(e,t,r)=>{r.d(t,{D:()=>u});var n=r(1504),a=r(4971),l=r(9184);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=e=>n.createElement("svg",function(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const u=e=>{var{children:t,href:r,className:o,onClick:u,buttonClassname:f}=e,d=m(e,["children","href","className","onClick","buttonClassname"]);const g=r?l.c:"button";return n.createElement(g,s(function(e){for(var t=1;t{r.d(t,{c:()=>i});var n=r(4971),a=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const i=e=>{var{className:t,wrapperProps:r}=e,l=c(e,["className","wrapperProps"]);return a.createElement("div",o({role:"status"},r),a.createElement("svg",o({"aria-hidden":"true",width:24,height:24,viewBox:"0 0 100 100",className:(0,n.c)("text-gray-200 animate-spin dark:text-gray-600 fill-refine-blue",t),fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),a.createElement("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),a.createElement("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})),a.createElement("span",{className:"sr-only"},"Loading..."))}},252:(e,t,r)=>{r.d(t,{Q:()=>i});var n=r(4971),a=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;ta.createElement("div",{className:(0,n.c)("w-full h-12","relative","bg-top-announcement","not-prose","font-inter","z-top-announcement")},a.createElement("div",{className:(0,n.c)("hidden lg:flex","w-full h-full","max-w-screen","overflow-hidden","border-b border-solid border-[#47ebeb26]","top-announcement-mask")},a.createElement("div",{className:(0,n.c)("w-[1280px] h-full","mx-auto","flex","justify-between")},a.createElement("div",{className:(0,n.c)("w-[calc(50%-300px)] h-full","relative")},a.createElement(m,{style:{animationDelay:"1.5s"},className:(0,n.c)("absolute","top-[2px]","right-[220px]"),id:"1"}),a.createElement(m,{style:{animationDelay:"1s"},className:(0,n.c)("absolute","rotate-180","top-[8px] right-[100px]"),id:"2"}),a.createElement(u,{className:(0,n.c)("absolute","right-[10px]"),id:"3"})),a.createElement("div",{className:(0,n.c)("w-[calc(50%-300px)] h-full","relative")},a.createElement(m,{style:{animationDelay:"2s"},className:(0,n.c)("absolute","rotate-180","top-[6px] right-[180px]"),id:"4"}),a.createElement(m,{style:{animationDelay:"0.5s"},className:(0,n.c)("delay-[1300]","absolute","top-[2px]","right-[40px]"),id:"5"}),a.createElement(u,{className:(0,n.c)("absolute","right-[-70px]"),id:"6"})))),a.createElement(s,null)),s=()=>a.createElement("a",{href:"https://prepverse.vercel.app/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,n.c)("relative lg:absolute","px-2 lg:px-0","top-0","left-[50%]","translate-x-[-50%]","bg-top-announcement-text","h-full w-full lg:w-[450px]","flex items-center justify-center","text-white","text-xs sm:text-sm","text-center","no-underline","hover:no-underline","hover:text-white","not-prose")},a.createElement("div",{className:(0,n.c)("ml-2","not-prose")},"For more updates follow","",a.createElement("span",{className:(0,n.c)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")},"@AkashSingh3031"),".")),m=e=>a.createElement("svg",c(o({xmlns:"http://www.w3.org/2000/svg",width:80,height:40,fill:"none"},e),{className:(0,n.c)("animate-top-announcement-glow","opacity-1",e.className)}),a.createElement("circle",{cx:40,r:40,fill:`url(#${e.id}-a)`,fillOpacity:.5}),a.createElement("defs",null,a.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 40 -40 0 40 0)",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#47EBEB"}),a.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0})))),u=e=>a.createElement("svg",c(o({xmlns:"http://www.w3.org/2000/svg",width:120,height:48,fill:"none"},e),{className:(0,n.c)("animate-top-announcement-glow","opacity-1",e.className)}),a.createElement("circle",{cx:60,cy:24,r:60,fill:`url(#${e.id}-a)`,fillOpacity:.5}),a.createElement("defs",null,a.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 60 -60 0 60 24)",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#47EBEB"}),a.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0}))))},7328:(e,t,r)=>{r.d(t,{c:()=>j});var n=r(4971),a=r(1504);const l=({className:e})=>a.createElement("div",{className:(0,n.c)("relative","w-full","landing-md:mx-auto","w-full","pt-4 blog-md:pt-12 pb-6 px-6","bg-white dark:bg-gray-800",e)},a.createElement("div",{className:(0,n.c)("blog-sm:max-w-[592px]","blog-md:max-w-[656px]","blog-lg:max-w-[896px]","blog-max:max-w-[1200px]","w-full","mx-auto","flex","flex-col","items-start justify-start blog-lg:items-center blog-lg:justify-center","gap-4","not-prose")},a.createElement("h2",{className:(0,n.c)("flex","flex-wrap","gap-2","text-[32px] leading-[40px] landing-sm:text-[56px] landing-sm:leading-[72px]")},a.createElement("div",{className:(0,n.c)("dark:text-gray-0 text-gray-900")},"PrepVerse "),a.createElement("div",{className:(0,n.c)("font-semibold","dark:text-refine-green-alt dark:drop-shadow-[0_0_30px_rgba(71,235,235,0.25)]","text-refine-blue drop-shadow-[0_0_30px_rgba(51,51,255,0.3)]","whitespace-nowrap")},"Technical Blog")),a.createElement("p",{className:(0,n.c)("text-base","text-start landing-md:text-center","max-w-[588px]","dark:text-gray-400 text-gray-600","pb-2")},"contains all the DSA, Core Subjects, Web Tech, Data Science & FAANG Interview questions based blogs.")));var o=r(3680),c=r(8480),i=r(6968),s=r(6192),m=r(6112),u=r(9184),f=r(2424),d=r(2276),g=r(2268);function p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function b(e){for(var t=1;t{const[r,n]=(0,a.useState)({scrollDepths:e,scrollY:0}),{scrollDepths:l,scrollY:o}=r;return(0,a.useEffect)((()=>{"undefined"!=typeof window&&0!==window.pageYOffset&&n((e=>h(b({},e),{scrollY:window.pageYOffset})))}),[]),(0,a.useEffect)((()=>{if("undefined"==typeof window)return;const e=()=>window.removeEventListener("scroll",a),a=()=>{const a=document.documentElement,o=document.body,c=a.scrollTop||o.scrollTop,i=a.scrollHeight||o.scrollHeight,s=c/(i-a.clientHeight)*100;if(l){const r=Math.min(...l,i);if(s>=r){const a=l.filter((e=>e!==r));0===a.length&&e(),t&&t({scrollY:r,scrollPercent:s,remainingDepths:a}),n({scrollY:r,scrollDepths:a})}}else n(h(b({},r),{scrollY:s}))};return window.addEventListener("scroll",a),e}),[l,o,r]),{scrollY:o}},w=(e,t)=>{const[r,n]=(0,a.useState)((()=>{if("undefined"==typeof window)return t;try{const r="undefined"!=typeof window?window.localStorage.getItem(e):void 0;return r?JSON.parse(r):t}catch(r){return console.log(r),t}}));return[r,t=>{try{const a=t instanceof Function?t(r):t;n(a),"undefined"!=typeof window&&window.localStorage.setItem(e,JSON.stringify(a))}catch(a){console.log(a)}}]};var v=r(640);const x=({title:e="Click here to discover my latest projects, skills, and achievements on my portfolio website. My journey into creativity begins now!",variant:t="purple",image:r={src:"https://github.com/AkashSingh3031.png",alt:"My Portfolio",href:"https://prepverse.github.io/portfolio"},button:l={text:"Explore Now",href:"https://prepverse.github.io/portfolio",onClick:void 0}})=>{var o,c,i,p;const{pathname:b}=(0,v.IT)(),[h,x]=(0,a.useState)(!1),[O,E]=w("banner-modal",null),C=(0,a.useRef)(!1),k=y();var j,P;return(0,a.useEffect)((()=>{"/blog/"!==b&&"/blog"!==b&&(C.current||h||k.scrollY>79&&k.scrollY<100&&(C.current=!0,9===O||null===O?(x(!0),E(0)):(E(O+1),C.current=!0)))}),[k.scrollY]),(0,a.useEffect)((()=>{h&&"undefined"!=typeof window&&void 0!==window.gtag&&window.gtag("event","view_banner",{banner_name:"banner-modal",banner_text:e,banner_image:r.src})}),[h]),a.createElement(f.O,{appear:!0,show:h,as:a.Fragment},a.createElement(d.C,{as:"div",className:"relative z-modal",onClose:()=>x(!1)},a.createElement(f.O.Child,{as:a.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},a.createElement("div",{className:"fixed inset-0 bg-gray-900/70"})),a.createElement("div",{className:"fixed inset-0 overflow-y-auto"},a.createElement("div",{className:"flex min-h-full items-start justify-center"},a.createElement(f.O.Child,{as:a.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},a.createElement(d.C.Panel,{className:(0,n.c)("w-full min-h-screen","flex flex-col justify-center items-center")},a.createElement("div",{className:(0,n.c)("relative","rounded-3xl","max-w-[576px]","py-8","px-4 md:px-8","gray"===t&&"bg-banner-examples-modal-gray","purple"===t&&"bg-banner-examples-modal-purple")},a.createElement("div",{className:(0,n.c)("flex","flex-col","items-center","gap-8","text-center","not-prose")},a.createElement(u.c,{to:null!==(j=null===(o=r)||void 0===o?void 0:o.href)&&void 0!==j?j:null===(c=l)||void 0===c?void 0:c.href,target:"_blank",rel:"noopener noreferrer",className:(0,n.c)("flex","h-auto xl:h-[192px]","flex-shrink-0","rounded-lg","overflow-hidden","focus:outline-none")},a.createElement("img",{className:(0,n.c)("object-contain"),src:null===(i=r)||void 0===i?void 0:i.src,alt:null!==(P=null===(p=r)||void 0===p?void 0:p.alt)&&void 0!==P?P:e,loading:"lazy"})),a.createElement("p",{className:(0,n.c)("text-2xl","font-semibold","gray"===t&&"bg-clip-text","gray"===t&&"text-transparent","gray"===t&&"bg-banner-examples-text","purple"===t&&"text-gray-0")},e),a.createElement(s.D,{className:(0,n.c)("w-max"),buttonClassname:(0,n.c)("!px-4","!py-4"),href:l.href,onClick:l.onClick,target:"_blank",rel:"noopener noreferrer"},a.createElement("div",{className:(0,n.c)("text-gray-900","text-base","font-bold")},l.text),a.createElement(m.G,{className:(0,n.c)("w-4","h-4")}))),a.createElement("button",{className:(0,n.c)("absolute","top-2 right-2","w-8 h-8","flex items-center justify-center flex-shrink-0","text-gray-0","rounded-full","bg-gray-900/20"),onClick:()=>x(!1)},a.createElement(g.O,{className:"w-4 h-4"})))))))))};var O=r(6280);function E(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function C(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function k(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},l=Object.keys(e);for(n=0;n=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const j=e=>{const[t,r]=(0,a.useState)(!1),{children:s,toc:m,showSidebarBanner:u=!0}=e,f=k(e,["children","toc","showSidebarBanner"]),d=y();return(0,a.useEffect)((()=>{t&&(d.scrollY>20&&r(!0),d.scrollY<20&&r(!1))}),[d.scrollY,u]),a.createElement(c.C,C(function(e){for(var t=1;t{r.r(t),r.d(t,{default:()=>f});var n=r(1504),a=r(4971),l=r(3652);const o=()=>(0,l.G)({id:"theme.tags.tagsPageTitle",message:"Tags",description:"The title of the tag list page"});var c=r(6684),i=r(5628),s=r(7328),m=r(2032),u=r(6108);function f({tags:e,sidebar:t}){const r=o();return n.createElement(c.cr,{className:(0,a.c)(i.W.wrapper.blogPages,i.W.page.blogTagsListPage)},n.createElement(c.U7,{title:r}),n.createElement(u.c,{tag:"blog_tags_list"}),n.createElement(s.c,{sidebar:t},n.createElement("h1",{className:""},r),n.createElement(m.c,{tags:e})))}},8092:(e,t,r)=>{r.d(t,{c:()=>o});var n=r(1504),a=r(4971),l=r(9184);function o({permalink:e,label:t,isActive:r,size:o="small",variant:c="default"}){return n.createElement(l.c,{href:e,className:(0,a.c)("no-underline hover:no-underline","rounded-full","small"===o&&"text-xs","small"===o&&"py-1","small"===o&&"px-3","medium"===o&&"text-sm","medium"===o&&"py-2","medium"===o&&"px-4",!r&&"bg-gray-100 dark:bg-gray-700",!r&&"text-gray-600 dark:text-gray-400","text-refine-react-8 dark:text-refine-react-3","default"===c&&"bg-refine-react-3 dark:bg-refine-react-7","inverted"===c&&"bg-refine-react-3 dark:bg-refine-react-8")},t)}},2032:(e,t,r)=>{r.d(t,{c:()=>b});var n=r(1504),a=r(8092),l=/\b(?:an?d?|a[st]|because|but|by|en|for|i[fn]|neither|nor|o[fnr]|only|over|per|so|some|tha[tn]|the|to|up|upon|vs?\.?|versus|via|when|with|without|yet)\b/i,o=/[^\s:\u2013\u2014-]+|./g,c=/\s/,i=/.(?=[A-Z]|\..)/,s=/[A-Za-z0-9\u00C0-\u00FF]/;var m=r(4971),u=r(320),f=r(5880);function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g(e){for(var t=1;t{const r=l.indexOf(e.label),n=l.indexOf(t.label);return-1===r?-1===n?0:1:-1===n?-1:r-n}));return n.createElement(n.Fragment,null,n.createElement(h,{collapsed:r,tags:o,className:(0,m.c)("hidden blog-lg:flex",t),onShowMoreClick:e=>a(e)}),n.createElement(y,{tags:o,className:(0,m.c)("block blog-lg:hidden",t)}))}const h=({tags:e,collapsed:t,className:r,onShowMoreClick:l})=>n.createElement("div",{className:(0,m.c)("bg-gray-50 dark:bg-refine-react-dark-code","justify-between","items-start","p-5",t&&"rounded-full",!t&&"rounded-3xl","not-prose",r)},n.createElement("ul",{className:(0,m.c)("overflow-hidden","flex-1",!t&&"h-24",t&&"h-8","m-0 p-0","mr-16","transition-all duration-300 ease-in-out")},e.map((e=>n.createElement("li",{className:(0,m.c)("inline-flex","m-1","mr-3"),key:e.permalink},n.createElement(a.c,p(g({},e),{label:v(e.label)})))))),n.createElement("button",{type:"button",onClick:()=>l(!t),className:(0,m.c)("appearance-none","flex","items-center","justify-center","gap-2","cursor-pointer","flex-shrink","no-underline hover:no-underline","text-xs","rounded-full","py-1","pl-3","pr-1","mt-1","text-refine-react-8 dark:text-refine-react-3","bg-refine-react-3 dark:bg-refine-react-7")},"Show More"," ",n.createElement(w,{className:(0,m.c)("opacity-30","transition-transform duration-200 ease-in-out",{"rotate-180 transform":!t})}))),y=({tags:e,className:t})=>{const[r,l]=n.useState(!1);return n.createElement(n.Fragment,null,n.createElement("div",{className:(0,m.c)(t)},n.createElement("button",{type:"button",onClick:()=>l(!0),className:(0,m.c)("flex","items-center","justify-center","gap-2","rounded-full","px-6 py-3","bg-refine-react-3 dark:bg-refine-react-6","text-refine-react-8 dark:text-white")},n.createElement(u.y,null),n.createElement("div",null,"Filter Tags"))),n.createElement(f.E,{onClose:()=>l(!1),open:r,title:"Filter Tags",variant:"blog"},n.createElement("ul",{className:(0,m.c)("overflow-hidden","flex","flex-col","gap-6"),style:{margin:0,padding:0}},e.map((e=>n.createElement("li",{className:(0,m.c)("flex"),key:e.permalink},n.createElement(a.c,p(g({},e),{label:v(e.label),variant:"inverted",size:"medium"}))))))))},w=e=>n.createElement("svg",{width:16,height:16,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e.className},n.createElement("title",null,"chevron"),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M15 8A7 7 0 1 1 1 8a7 7 0 0 1 14 0Zm1 0A8 8 0 1 1 0 8a8 8 0 0 1 16 0ZM5.854 6.646a.5.5 0 1 0-.708.708l2.5 2.5a.5.5 0 0 0 .708 0l2.5-2.5a.5.5 0 0 0-.708-.708L8 8.793 5.854 6.646Z",clipRule:"evenodd"})),v=e=>{let t=`${e}`;t=e.replace(/-/g," ");return[["html","HTML"],["css","CSS"],["javascript","JavaScript"]].forEach((r=>{t=e.replace(r[0],r[1])})),function(e){for(var t,r="";null!==(t=o.exec(e));){var n=t[0],a=t.index;i.test(n)||l.test(n)&&0!==a&&a+n.length!==e.length||":"===e.charAt(a+n.length)&&!c.test(e.charAt(a+n.length+1))?r+=n:r+=n.replace(s,(function(e){return e.toUpperCase()}))}return r}(e)}}}]); \ No newline at end of file diff --git a/assets/js/03f14054.2855f2b9.js b/assets/js/03f14054.2855f2b9.js deleted file mode 100644 index 8ab264c3..00000000 --- a/assets/js/03f14054.2855f2b9.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2448],{6280:(e,t,r)=>{r.d(t,{c:()=>m});var n=r(1504),a=r(4971),l=r(3652),o=r(5628),c=r(476),i=r(1580);const s={backToTopButton:"backToTopButton_sjWU",backToTopButtonShow:"backToTopButtonShow_xfvO"};function m(){const{shown:e,scrollToTop:t}=function({threshold:e}){const[t,r]=(0,n.useState)(!1),a=(0,n.useRef)(!1),{startScroll:l,cancelScroll:o}=(0,c.yI)();return(0,c.SM)((({scrollY:t},n)=>{var l;const c=null===(l=n)||void 0===l?void 0:l.scrollY;c&&(a.current?a.current=!1:t>=c?(o(),r(!1)):t{e.location.hash&&(a.current=!0,r(!1))})),{shown:t,scrollToTop:()=>l(0)}}({threshold:300});return n.createElement("button",{"aria-label":(0,l.G)({id:"theme.BackToTopButton.buttonAriaLabel",message:"Scroll back to top",description:"The ARIA label for the back to top button"}),className:(0,a.c)("clean-btn",o.W.common.backToTopButton,s.backToTopButton,e&&s.backToTopButtonShow),type:"button",onClick:t})}},5628:(e,t,r)=>{r.d(t,{W:()=>n});const n={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-page",docsDocPage:"docs-doc-page",docsTagsListPage:"docs-tags-list-page",docsTagDocListPage:"docs-tags-doc-list-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docsPages:"docs-wrapper",mdxPages:"mdx-wrapper"},common:{editThisPage:"theme-edit-this-page",lastUpdated:"theme-last-updated",backToTopButton:"theme-back-to-top-button",codeBlock:"theme-code-block",admonition:"theme-admonition",admonitionType:e=>`theme-admonition-${e}`},layout:{},docs:{docVersionBanner:"theme-doc-version-banner",docVersionBadge:"theme-doc-version-badge",docBreadcrumbs:"theme-doc-breadcrumbs",docMarkdown:"theme-doc-markdown",docTocMobile:"theme-doc-toc-mobile",docTocDesktop:"theme-doc-toc-desktop",docFooter:"theme-doc-footer",docFooterTagsRow:"theme-doc-footer-tags-row",docFooterEditMetaRow:"theme-doc-footer-edit-meta-row",docSidebarContainer:"theme-doc-sidebar-container",docSidebarMenu:"theme-doc-sidebar-menu",docSidebarItemCategory:"theme-doc-sidebar-item-category",docSidebarItemLink:"theme-doc-sidebar-item-link",docSidebarItemCategoryLevel:e=>`theme-doc-sidebar-item-category-level-${e}`,docSidebarItemLinkLevel:e=>`theme-doc-sidebar-item-link-level-${e}`},blog:{}}},4084:(e,t,r)=>{r.r(t),r.d(t,{default:()=>f});var n=r(1504),a=r(4971),l=r(8480),o=r(6968),c=r(3680),i=r(6280),s=r(9072);const m=function(){!function(e,t,r,n){function a(){if(!t.getElementById("canny-jssdk")){let e=t.getElementsByTagName(n)[0],r=t.createElement(n);r.type="text/javascript",r.async=!0,r.src="https://canny.io/sdk.js",e.parentNode.insertBefore(r,e)}}if("function"!=typeof e.Canny){var l=function(){l.q.push(arguments)};l.q=[],e.Canny=l,"complete"===t.readyState?a():e.attachEvent?e.attachEvent("onload",a):e.addEventListener("load",a,!1)}}(window,document,0,"script")},d="da0dc408-d50a-655a-59e0-e88add7bebd9";function u({basePath:e}){(0,n.useEffect)((()=>{m()}),[]);const t=function(){const{colorMode:e}=(0,s.U)();return"dark"===e?"dark":"light"}();return(0,n.useEffect)((()=>{const{Canny:r}=window;r("render",{boardToken:d,basePath:e,theme:t})}),[e,t]),n.createElement("main",{key:t,"data-canny":!0})}function f({basePath:e}){return n.createElement(l.C,{title:"Community",description:"PrepVerse Community"},n.createElement(o.m,{hasSticky:!0}),n.createElement("div",{className:(0,a.c)("bg-gray-50 dark:bg-gray-900","w-full","rounded-xl landing-sm:rounded-[32px]","p-2 landing-sm:p-4","mx-auto","landing-lg:max-w-[1200px]")},n.createElement(u,{basePath:e})),n.createElement(c.u,null),n.createElement(i.c,null))}},3680:(e,t,r)=>{r.d(t,{u:()=>l});var n=r(1504),a=r(3120);const l=e=>n.createElement(a.E,e)},6968:(e,t,r)=>{r.d(t,{m:()=>$});var n=r(9184),a=r(4971),l=r(3200),o=r(344),c=r(6076),i=r(1504),s=r(1980),m=r(8804),d=r(6098);const u=[{isPopover:!0,label:"Docs",items:[{label:"Foundation Docs",description:"Learn C++, Python & Java",link:"/docs",icon:d.C3},{label:"DSA Docs",description:"Learning DSA in C++, Python & Java",link:"/docs/1.DS.Algo",icon:d.uI}]},{isPopover:!0,label:"CodePoint",items:[{label:"Expert Sheet Solutions",description:"Most popular coding questions solutions asked during SDE interviews.",link:"https://prepverse.github.io/CodePoint/preface",icon:d.C3},{label:"Coding Ninjas Series",description:"Coding Ninjas Studio Guided Path Solutions",link:"https://prepverse.github.io/CodePoint/learning_resources/CN_Series/preface",icon:d.oh},{label:"LeetVerse",description:"Leetcode problem solutions with full probelm statements in C++, Python & Java",link:"https://prepverse.github.io/LeetVerse",icon:d.Ew}]},{isPopover:!0,label:"About",items:[{label:"About Me",description:"My information.",link:"/AkashSingh3031",icon:d.kv},{label:"Project Showcase",description:"PrepVerse open-source projects",link:"/showcase",icon:d.w9},{label:"My Portfolio",description:"All info about me",link:"https://prepverse.github.io/portfolio",icon:d.BE}]},{isPopover:!1,label:"Blog",href:"/blog",icon:d.s1},{isPopover:!1,label:"PrepVerse Community",href:"/prepverse-community",icon:d.vn}],f=({item:e,variant:t="landing"})=>{const r=e.icon;return i.createElement(n.c,{to:e.link,className:"no-underline"},i.createElement("div",{className:(0,a.c)("flex items-center","p-4","transition duration-150 ease-in-out","rounded-lg","hover:bg-gray-100","landing"===t&&"dark:hover:bg-gray-800","blog"===t&&"dark:hover:bg-refine-react-8")},i.createElement("div",{className:"shrink-0"},i.createElement(r,null)),i.createElement("div",{className:"ml-2"},i.createElement("div",{className:(0,a.c)("landing"===t&&"text-gray-900 dark:text-white","blog"===t&&"text-refine-react-8 dark:text-refine-react-3","font-semibold")},e.label),i.createElement("div",{className:(0,a.c)("landing"===t&&"text-gray-500 dark:text-gray-400","blog"===t&&"text-refine-react-5 dark:text-refine-react-4","text-xs")},e.description))))},g=({item:e})=>{const[t,r]=(0,i.useState)(null);(0,i.useEffect)((()=>(r(localStorage.getItem("theme")||null),window.addEventListener("storage",l,!1),()=>{window.removeEventListener("storage",l,!1)})),[]);const l=()=>{r(localStorage.getItem("theme")||null)};let o=e.icon;return"Cloud"===e.label&&(o="light"===t?d.oz:e.icon),i.createElement(n.c,{key:e.label,to:e.href,className:(0,a.c)("inline-flex items-center gap-2","text-sm leading-6 font-normal text-gray-900 dark:text-gray-300","transition-colors duration-150 ease-in-out","no-underline","Hackathon"===e.label?["py-1","px-2","rounded-lg","bg-hackathon-button-bg","animate-hackathon-button-bg","bg-refine-bg","text-gray-0","bg-[length:200%_100%]","text-[14px]","hover:text-gray-0"]:["hover:text-gray-900 dark:hover:text-white"])},e.icon&&i.createElement(o,null),e.label)};var b=r(640),p=r(5224),h=r(2424),y=r(4577);const w=({item:e,variant:t="landing",children:r})=>{const[n,l]=(0,i.useState)(!1),o=i.useRef(null),c=i.useRef(null),s=(0,b.IT)();return i.useEffect((()=>{l(!1)}),[s]),i.createElement(p._,{id:`popover-${e.label}`,key:e.label,className:(0,a.c)("relative","inline-flex items-center"),onMouseEnter:()=>{c.current=setTimeout((()=>l(!0)),210),clearTimeout(o.current)},onMouseLeave:()=>{o.current=setTimeout((()=>l(!1)),210),clearTimeout(c.current)}},(()=>i.createElement(i.Fragment,null,i.createElement(p._.Button,{className:(0,a.c)("inline-flex items-center","text-sm leading-6","font-normal")},i.createElement("span",{className:(0,a.c)("landing"===t&&"text-gray-900 dark:text-gray-300","blog"===t&&"text-refine-react-8 dark:text-refine-react-3","transition-colors duration-150 ease-in-out inline-block")},e.label),i.createElement(y.w,{"aria-hidden":"true",className:(0,a.c)("transition duration-150 ease-out","-mr-2","landing"===t&&"text-gray-500 dark:text-gray-400","blog"===t&&"text-refine-react-4",n?"translate-y-0.5":"")})),i.createElement(h.O,{as:i.Fragment,enter:"transition ease-in duration-150",enterFrom:"opacity-0 translate-y-3",enterTo:"opacity-100 translate-y-0",leave:"transition ease-out duration-150",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 translate-y-3",show:n},i.createElement(p._.Panel,{className:(0,a.c)("absolute","z-50","top-12",{"-left-32 center-point":"Docs"===e.label||"About"===e.label,"left-point":"CodePoint"===e.label})},i.createElement(d.WR,{id:e.label,variant:t,className:(0,a.c)("absolute","top-[-9px]",{"left-1/2":"CodePoint"!==e.label,"left-12":"CodePoint"===e.label}),style:{transform:"translateX(-50%)"}}),i.createElement("div",{className:(0,a.c)("overflow-hidden","rounded-xl","landing"===t&&"border dark:border-gray-700 border-gray-200","landing"===t&&"dark:shadow-menu-dark shadow-menu-light","blog"===t&&"border border-refine-react-3 dark:border-refine-react-6","blog"===t&&"dark:shadow-menu-blog-dark shadow-menu-blog-light")},r))))))},v=({variant:e="landing"})=>i.createElement(i.Fragment,null,u.map((t=>t.isPopover?i.createElement(w,{key:`navbar-${t.label}`,item:t,variant:e},"CodePoint"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,a.c)("grid grid-cols-2 gap-4","p-4","w-[672px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(f,{key:t.label,item:t,variant:e})))),i.createElement(n.c,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,a.c)("border-t","blog"===e&&"border-refine-react-3 dark:border-refine-react-6","landing"===e&&"border-gray-300 dark:border-gray-700","landing"===e&&"bg-gray-100 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-7","flex items-center","py-4 px-7")},i.createElement(d._2,null),i.createElement("div",{className:(0,a.c)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))),"About"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,a.c)("grid gap-4","p-4","w-[336px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(f,{key:t.label,item:t,variant:e})))),i.createElement("div",{className:(0,a.c)("border-t","blog"===e&&"border-refine-react-3 dark:border-refine-react-6","landing"===e&&"border-gray-300 dark:border-gray-700","landing"===e&&"bg-gray-100 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-7","flex justify-between items-center","py-4 px-7")},i.createElement("div",{className:(0,a.c)("landing"===e&&"text-gray-600 dark:text-gray-400 ","blog"===e&&"text-refine-react-5 dark:text-refine-react-4")},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.c,{to:"https://github.com/AkashSingh3031",className:(0,a.c)("no-underline","hover:text-inherit")},i.createElement(d.A9,{className:"dark:text-gray-400 text-gray-500"})),i.createElement(n.c,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(d.Ed,null)),i.createElement(n.c,{to:"https://instagram.com/akash.singh3031"},i.createElement(d.Yf,null)),i.createElement(n.c,{to:"https://x.com/akashsingh3031"},i.createElement(d.CC,null))))),"Docs"===t.label&&i.createElement("div",{className:(0,a.c)("grid gap-4","p-4","w-[336px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(f,{key:t.label,item:t,variant:e}))))):i.createElement(g,{key:`navbar-${t.label}`,item:t,variant:e}))));var x=r(2276),E=r(7008),O=r(9072),C=r(2268);function k(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const j=e=>i.createElement("svg",function(e){for(var t=1;ti.createElement("svg",function(e){for(var t=1;t{const[c,s]=(0,i.useState)(null),m=null!=r?r:n.c,u=void 0!==l&&void 0===t;return(0,i.useEffect)((()=>{const e=document.querySelector("html").getAttribute("data-theme");s(e)}),[]),i.createElement(m,function(e){for(var t=1;t{const r=(0,b.IT)();return i.useEffect((()=>{t(!1)}),[r]),i.createElement(B,{isModalOpen:e,setIsModalOpen:t},i.createElement(Z,{className:(0,a.c)("hidden landing-sm:block","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}),i.createElement(H,{className:(0,a.c)("block landing-sm:hidden","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}))},B=({isModalOpen:e,setIsModalOpen:t,children:r})=>i.createElement(h.O,{appear:!0,show:e,as:i.Fragment},i.createElement(x.C,{as:"div",className:"relative z-10",onClose:()=>t(!1)},i.createElement(h.O.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},i.createElement("div",{className:(0,a.c)("fixed inset-0","bg-gray-0 dark:bg-gray-900","flex","flex-col")},i.createElement(M.Q,null),i.createElement("div",{className:(0,a.c)("flex items-center justify-between","p-4","landing-sm:px-8")},i.createElement(m.m,{className:"dark:text-gray-0 text-gray-900"}),i.createElement("button",{type:"button",className:(0,a.c)("rounded-lg","hover:brightness-105","active:scale-90","transition-transform duration-75 ease-in-out")},i.createElement(C.O,{className:"text-gray-900 dark:text-white",onClick:()=>t(!1)}))),i.createElement(h.O.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-75",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95"},i.createElement("div",{className:(0,a.c)("flex-1","overflow-y-auto","px-4","pb-4")},r)))))),Z=e=>i.createElement("div",{className:(0,a.c)(e.className)},u.map(((e,t)=>{const r="icon"in e&&e.icon;return i.createElement("div",{key:t,className:(0,a.c)("not-prose","p-4","border-t dark:border-gray-700 border-gray-200")},i.createElement(n.c,{to:"href"in e?e.href:void 0,className:(0,a.c)("appearance-none","block","no-underline","dark:text-gray-0 text-gray-900","font-bold")},i.createElement("div",{className:(0,a.c)("flex items-center gap-2")},i.createElement("div",null,e.label),r&&i.createElement(r,null))),"items"in e&&i.createElement("div",{className:(0,a.c)("mt-2","grid grid-cols-2 min-[800px]:grid-cols-3","gap-x-8 gap-y-4")},e.items.map((e=>i.createElement(f,{key:e.label,item:e})))))})),i.createElement(T,null),i.createElement(F,{id:"tablet"}),i.createElement(R,{id:"tablet"})),H=e=>i.createElement("div",{className:(0,a.c)(e.className)},i.createElement("div",{className:"flex-grow"},u.map((e=>e.isPopover?i.createElement(E.C,{key:`modal-${e.label}`},(({open:t})=>i.createElement(i.Fragment,null,i.createElement(L,{component:E.C.Button,label:e.label,open:t}),i.createElement(E.C.Panel,{className:(0,a.c)(t&&"pb-4",t&&"border-b border-gray-200 dark:border-gray-700")},e.items.map((e=>i.createElement(f,{key:e.label,item:e}))))))):i.createElement(L,{key:`modal-${e.label}`,label:e.label,href:e.href,icon:e.icon})))),i.createElement(T,null),i.createElement(F,{id:"phone"}),i.createElement(R,{id:"phone"})),R=e=>{var t;return i.createElement(n.c,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,a.c)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex items-center","p-4")},i.createElement(d._2,{id:(null===(t=e)||void 0===t?void 0:t.id)||""}),i.createElement("div",{className:(0,a.c)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))},F=e=>{var t;return i.createElement("div",{className:(0,a.c)("bg-white dark:bg-gray-700 header-sm:bg-inherit","flex justify-between items-center","header-sm:flex-col header-sm:gap-4","header-sm:border-b border-gray-200 dark:border-gray-600","py-3 px-4")},i.createElement("p",{className:"text-gray-500 dark:text-gray-300 font-semibold"},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.c,{to:"https://github.com/AkashSingh3031"},i.createElement(d.A9,{className:"h-10 w-10"})),i.createElement(n.c,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(d.Ed,{className:"h-10 w-10"})),i.createElement(n.c,{to:"https://instagram.com/akash.singh3031"},i.createElement(d.Yf,{className:"h-10 w-10",id:(null===(t=e)||void 0===t?void 0:t.id)||""})),i.createElement(n.c,{to:"https://x.com/akashsingh3031"},i.createElement(d.CC,{className:"h-10 w-10"}))))},T=()=>{const{colorMode:e,setColorMode:t}=(0,O.U)(),r=()=>{t("dark"===e?"light":"dark")},n="dark"===e,l="light"===e;return i.createElement("div",{className:(0,a.c)("not-prose","p-4","flex items-center")},i.createElement("div",{className:(0,a.c)("text-sm","mr-10","dark:text-gray-400 text-gray-600")},"Apperance"),i.createElement("button",{onClick:r,className:(0,a.c)("mr-4","rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200","text-gray-500",l&&"bg-gray-50")},i.createElement(V.G,null),"Light"),i.createElement("button",{onClick:r,className:(0,a.c)("rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200",n?"text-gray-400":"text-gray-500",n&&"bg-gray-700")},i.createElement(A.g,null),"Dark"))};var _=r(9253),G=r(2700),I=r(5792),z=r(6936);const U=()=>{const{loading:e,githubStarCountText:t}=(0,G.wx)();return i.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank",rel:"noreferrer",className:(0,a.c)("flex gap-2 items-center","font-normal","text-sm leading-6","text-gray-500 dark:text-gray-400","hover:text-gray-400 dark:hover:text-gray-300","hover:no-underline","transition-colors","duration-200","ease-in-out")},i.createElement(I.A,{className:(0,a.c)("w-5 h-5")}),i.createElement("div",{className:(0,a.c)("flex items-center","w-10 h-6")},e?i.createElement(z.c,{className:(0,a.c)("w-5 h-5"),wrapperProps:{className:(0,a.c)("mx-auto")}}):i.createElement("span",null,t)))},$=({trackProgress:e,variant:t="landing",className:r})=>{const[d,u]=(0,i.useState)(!1),{scrollYProgress:f}=(0,l.Q)(),g=(0,o.s)(f,[.03,.95],["0%","100%"]);return i.createElement(i.Fragment,null,i.createElement(M.Q,null),i.createElement("header",{className:(0,a.c)("sticky","top-0","z-10")},i.createElement("div",{className:(0,a.c)("absolute","top-0 left-0 right-0","backdrop-blur-[6px]","landing-md:backdrop-blur-[12px]","z-[-1]","bg-gray-0 dark:bg-gray-800","bg-opacity-80 dark:bg-opacity-80","pointer-events-none",r),style:{top:"-20px",bottom:"-80px",WebkitMaskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))",maskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))"}}),i.createElement("div",{className:(0,a.c)("relative","z-[1]","p-4","landing-sm:px-8","landing-md:py-5")},i.createElement("div",{className:(0,a.c)("mx-auto","flex","items-center","justify-between","max-w-[896px]","landing-lg:max-w-[1200px]")},i.createElement("div",{className:(0,a.c)("w-[130px]","landing-lg:w-[200px]")},i.createElement(n.c,{to:"/"},i.createElement(m.m,{className:"text-gray-900 dark:text-gray-0"}))),i.createElement("button",{type:"button",className:(0,a.c)("text-gray-900 dark:text-gray-0","block landing-md:hidden"),onClick:()=>u(!0)},i.createElement(s.m,null)),i.createElement("div",{className:(0,a.c)("hidden landing-md:flex","flex-1","items-center","gap-8")},i.createElement(v,{variant:t})),i.createElement("div",{className:(0,a.c)("hidden landing-md:flex","items-center","justify-end","gap-4","w-[130px]","landing-lg:w-[200px]")},i.createElement(U,null),i.createElement(_.C,null)),i.createElement(D,{isModalOpen:d,setIsModalOpen:u}))),e&&i.createElement("div",{className:(0,a.c)("w-full","h-[1.5px]","translate","bg-refine-react-3 dark:bg-refine-react-7")},i.createElement(c.q.div,{className:(0,a.c)("h-full","bg-refine-react-light-link dark:bg-refine-react-dark-link"),style:{width:g}}))))}},9253:(e,t,r)=>{r.d(t,{C:()=>i,O:()=>m});var n=r(1504),a=r(4971),l=r(9072),o=r(3756),c=r(5372);const i=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,l.U)();return n.createElement("button",{type:"button",className:(0,a.c)("appearance-none","focus:outline-none","relative","w-10 h-10","rounded-full","border","border-solid","border-gray-300 dark:border-gray-700","text-gray-500","transition-colors","duration-150","ease-in-out","overflow-hidden","flex-shrink-0","group",e),onClick:()=>{r("dark"===t?"light":"dark")}},n.createElement("div",{className:(0,a.c)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","translate-y-0","dark:-translate-y-10","duration-200","ease-in-out","transition-transform")},n.createElement(o.G,null)),n.createElement("div",{className:(0,a.c)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","-translate-y-10","dark:translate-y-0","duration-200","ease-in-out","transition-transform")},n.createElement(c.g,null)))},s=[{name:"light",icon:o.G,label:"Light"},{name:"dark",icon:c.g,label:"Dark"}],m=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,l.U)();return n.createElement("div",{className:(0,a.c)("flex","items-center","gap-4","justify-start",e)},s.map((({name:e,label:l,icon:o})=>n.createElement("button",{type:"button",key:e,className:(0,a.c)("appearance-none","focus:outline-none","py-1","pl-1.5","pr-3","flex","items-center","justify-center","gap-1","rounded-[40px]","text-gray-400","border border-solid","border-gray-200","dark:border-gray-600",t===e&&"bg-gray-100 dark:bg-gray-700"),onClick:()=>{r(e)}},n.createElement(o,{className:(0,a.c)("w-4 h-4")}),n.createElement("span",{className:(0,a.c)("text-sm")},l)))))}},7708:(e,t,r)=>{r.d(t,{o0:()=>g,yw:()=>u,wd:()=>f,AR:()=>b});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var m=r(6098),d=r(4252);const u=[{label:"Resources",items:[{label:"Getting Started",href:"/docs"},{label:"Blog",href:"/blog"},{label:"Project Showcase",icon:n.createElement(m.KU,null),href:"/showcase"},{label:"Community",icon:n.createElement(m.KU,null),href:"/prepverse-community"}]},{label:"Product",items:[{label:"CodePoint",icon:n.createElement(d.i,null),href:"https://prepverse.github.io/CodePoint"},{label:"LeetVerse",icon:n.createElement(d.i,null),href:"https://prepverse.github.io/LeetVerse"}]},{label:"About",items:[{label:"About Me",href:"/AkashSingh3031"},{label:"Portfolio",icon:n.createElement(d.i,null),href:"https://prepverse.github.io/portfolio"}]}],f=[{label:"License",href:"https://github.com/PrepVerse/prepverse.github.io/blob/master/LICENSE"}],g="Thank you for visiting, Connect with me over socials.",b=[{icon:e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{r.d(t,{w:()=>l});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{g:()=>l});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{i:()=>l});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{A:()=>o,i:()=>c});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e){for(var t=1;tn.createElement("svg",l({width:12,height:12,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.053 0A10.904 10.904 0 0 0 3.89 2.685 11.34 11.34 0 0 0 .142 9.472a11.48 11.48 0 0 0 1.456 7.65 11.087 11.087 0 0 0 5.964 4.86c.556.103.752-.25.752-.547v-1.918C5.23 20.202 4.58 18 4.58 18a3.012 3.012 0 0 0-1.227-1.655c-.997-.692.081-.692.081-.692.35.05.683.18.975.382.293.202.536.469.713.78.15.278.352.523.595.721a2.312 2.312 0 0 0 2.618.221c.042-.57.283-1.105.678-1.509-2.454-.284-5.03-1.253-5.03-5.539a4.415 4.415 0 0 1 1.132-3.025A4.194 4.194 0 0 1 5.224 4.7s.928-.305 3.036 1.156c1.81-.508 3.72-.508 5.531 0 2.108-1.46 3.03-1.156 3.03-1.156.406.936.455 1.993.135 2.963a4.415 4.415 0 0 1 1.132 3.026c0 4.334-2.582 5.282-5.043 5.538.264.271.468.597.598.955.13.358.182.741.155 1.122V21.4c0 .367.196.65.759.54a11.093 11.093 0 0 0 5.88-4.878 11.481 11.481 0 0 0 1.419-7.6 11.34 11.34 0 0 0-3.71-6.746A10.907 10.907 0 0 0 11.053 0Z",fill:"currentColor"})),c=e=>n.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.066.001a11.91 11.91 0 0 1 7.745 2.966 12.326 12.326 0 0 1 4.032 7.33 12.46 12.46 0 0 1-1.54 8.245 12.088 12.088 0 0 1-6.406 5.314l-.105.037-.11.021c-.508.1-1.232.093-1.83-.422-.577-.498-.681-1.166-.681-1.565v-3.008l.004-.053a1.102 1.102 0 0 0-.062-.453 1.058 1.058 0 0 0-.235-.377l-.839-.86-.863.882a.802.802 0 0 0-.224.502l-.015.217v3.183c0 .434-.14 1.029-.628 1.492-.541.514-1.246.62-1.864.505l-.108-.02-.104-.035a12.082 12.082 0 0 1-6.498-5.296 12.457 12.457 0 0 1-1.58-8.298c.45-2.86 1.891-5.471 4.073-7.375A11.909 11.909 0 0 1 12.05.001h.016Zm-10.43 10.54a10.957 10.957 0 0 0 1.39 7.303 10.58 10.58 0 0 0 5.693 4.638c.53.099.717-.238.717-.522v-1.83c-.588.13-1.083.15-1.5.1a2.95 2.95 0 0 1-.542-.117 2.551 2.551 0 0 1-.422-.176 2.362 2.362 0 0 1-.82-.72c-.208-.294-.28-.535-.28-.535a2.876 2.876 0 0 0-1.17-1.58l-.016-.01c-.925-.65.093-.65.093-.65.106.015.21.038.313.068l.017.005a2.172 2.172 0 0 1 .962.603c.122.13.23.276.319.433a2.29 2.29 0 0 0 .68.775h.002s0 .001 0 0a2.211 2.211 0 0 0 2.385.124v-.014a2.302 2.302 0 0 1 .647-1.427 8.754 8.754 0 0 1-1.625-.328 4.865 4.865 0 0 1-1.416-.695 3.883 3.883 0 0 1-.432-.365c-.8-.786-1.328-2.002-1.328-3.899a4.214 4.214 0 0 1 1.08-2.887 4.003 4.003 0 0 1 .104-2.848s.886-.291 2.898 1.103a9.762 9.762 0 0 1 5.28 0c2.011-1.393 2.891-1.103 2.891-1.103.388.893.434 1.902.13 2.828a4.214 4.214 0 0 1 1.08 2.888c0 3.166-1.444 4.44-3.174 4.972a8.617 8.617 0 0 1-1.64.314 2.558 2.558 0 0 1 .699 1.425c.026.184.033.371.02.558v2.955c0 .35.187.62.724.515a10.588 10.588 0 0 0 5.613-4.656 10.958 10.958 0 0 0 1.354-7.254 10.824 10.824 0 0 0-3.541-6.439 10.41 10.41 0 0 0-6.77-2.592 10.408 10.408 0 0 0-6.837 2.563 10.824 10.824 0 0 0-3.578 6.478ZM16.374 7.8a8.003 8.003 0 0 0-.856.524l-.58.401-.679-.19a8.262 8.262 0 0 0-4.469 0l-.68.19-.58-.402a7.982 7.982 0 0 0-.846-.519c.019.186.059.37.12.549l.282.832-.588.653a2.714 2.714 0 0 0-.696 1.86v.024c0 1.724.503 2.513.998 2.937.563.481 1.397.736 2.476.86l1.567.182 1.954-.204c1.082-.112 1.912-.358 2.47-.833.492-.418.999-1.209.999-2.96v-.026a2.714 2.714 0 0 0-.696-1.86l-.582-.647.273-.826c.058-.178.096-.36.113-.545Z",clipRule:"evenodd"}))},1980:(e,t,r)=>{r.d(t,{m:()=>l});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{Q:()=>l});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{G:()=>l});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{s1:()=>c,wR:()=>s,QD:()=>d,vn:()=>f,kv:()=>b,uI:()=>h,A9:()=>w,_2:()=>x,Ew:()=>O,Yf:()=>k,oh:()=>P,Ed:()=>S,BE:()=>M,KU:()=>D,WR:()=>T,w9:()=>G,CC:()=>z,AH:()=>W,oz:()=>Y,C3:()=>J});var n=r(1504);var a=r(4971);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const c=e=>n.createElement("svg",o(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const{colorMode:t}=(0,A.U)();return n.createElement("div",{className:(0,a.c)("relative","flex","items-center","justify-center","rounded-full","overflow-hidden","p-px","dark:bg-[#194b3a] bg-[#b7dbff]"),style:{transform:"translateZ(0)"}},n.createElement("div",{className:(0,a.c)("z-[1]","absolute","inset-0","dark:bg-new-badge-border-dark bg-new-badge-border-light","animate-new-badge-border")}),n.createElement("svg",function(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var R,F;const T=e=>{var{variant:t="landing"}=e,r=H(e,["variant"]);return n.createElement("svg",Z(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",$(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{r.d(t,{m:()=>l});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{E:()=>g});var n=r(4971),a=r(1504),l=r(9184),o=r(7708),c=r(204);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const s=e=>a.createElement("svg",function(e){for(var t=1;t{const t=a.createElement("div",{className:(0,n.c)("py-6 landing-lg:py-0","flex","flex-col","gap-4","landing-lg:max-w-[224px]")},a.createElement("div",{className:(0,n.c)("font-semibold","text-sm","leading-6","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},"Contacts"),a.createElement("a",{href:"https://wa.me/+919794423031",target:"_blank",className:(0,n.c)("font-normal","text-sm","leading-5","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},"+91 9794423031"),a.createElement("a",{href:"https://mail.google.com/mail/u/0/?fs=1&to=codewithsky@gmail.com&tf=cm",target:"_blank",className:(0,n.c)("font-normal","text-sm","leading-5","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:180,height:40,viewBox:"0 0 180 40",fill:"none"},a.createElement("text",{x:"1",y:"15",fontFamily:"Arial, sans-serif",fontSize:"16",fill:"currentColor"},"codewithsky@gmail.com")))),r=a.createElement("div",{className:(0,n.c)("py-6 landing-lg:py-0","flex","flex-col","landing-sm:items-end")},a.createElement("div",{className:(0,n.c)("flex","flex-col","gap-4")},a.createElement("div",{className:(0,n.c)("text-sm","leading-6","font-semibold","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3","landing-lg:text-right")},"Connect with me on"),a.createElement("div",{className:(0,n.c)("flex","items-center","gap-8","landing-lg:gap-4","justify-start")},o.AR.map((({href:t,icon:r})=>a.createElement("a",{href:t,key:t,target:"_blank",rel:"noreferrer",className:(0,n.c)("landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},a.createElement(r,{className:(0,n.c)("w-6 h-6","landing-lg:w-8 landing-lg:h-8")})))))));return a.createElement("footer",{className:(0,n.c)("w-full")},a.createElement("div",{className:(0,n.c)("border-t border-t-solid","landing"===e&&"border-t-gray-100 dark:border-t-gray-700","blog"===e&&"border-t-refine-react-3 dark:border-t-refine-react-7","landing"===e&&"dark:bg-footer-landing-dark-bg","blog"===e&&"bg-footer-blog-light-bg dark:bg-footer-blog-dark-bg")},a.createElement("div",{className:(0,n.c)("grid","grid-cols-1","max-w-screen-landing-md","landing-lg:max-w-screen-landing-lg","mx-auto")},a.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8 landing-lg:px-12","py-4 landing-lg:py-6","flex","items-center","justify-between")},a.createElement(l.c,{to:"/",className:(0,n.c)("hover:no-underline","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},a.createElement(m.m,null)),a.createElement("a",{href:"https://github.com/sponsors/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,n.c)("hover:no-underline")},a.createElement(s,null))),a.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8 landing-lg:px-12","flex","flex-row","flex-wrap","items-start","justify-start","text-gray-500 dark:text-gray-500")},o.o0),a.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8 landing-lg:px-12","py-6 landing-lg:pt-8 landing-lg:pb-12","flex","flex-row","flex-wrap","items-start","justify-start","gap-6")},a.createElement("div",{className:(0,n.c)("hidden","landing-lg:flex","max-w-[282px]","w-full")},t),o.yw.map((t=>a.createElement("div",{className:(0,n.c)("flex flex-col gap-4","min-w-[152px]"),key:t.label},a.createElement("div",{className:(0,n.c)("text-sm","leading-6","font-semibold","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},t.label),a.createElement("div",{className:(0,n.c)("flex","flex-col","gap-2")},t.items.map((t=>a.createElement("a",f(u({href:t.href,key:t.label},t.href.startsWith("http")?{target:"_blank",rel:"noopener noreferrer"}:{}),{className:(0,n.c)("text-sm","leading-5","hover:no-underline","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300")}),a.createElement("div",{className:(0,n.c)("flex","items-center","gap-2")},t.label,t.icon)))))))),a.createElement("div",{className:(0,n.c)("hidden","landing-lg:flex","ml-auto")},r)),a.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8","grid","grid-cols-1","landing-sm:grid-cols-2","landing-sm:gap-8","landing-lg:hidden")},t,r))),a.createElement("div",{className:(0,n.c)("border-t border-t-solid","landing"===e&&"border-t-gray-100 dark:border-t-gray-700","blog"===e&&"border-t-gray-100 dark:border-t-gray-700","landing"===e&&"bg-gray-50 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-8")},a.createElement("div",{className:(0,n.c)("py-6 landing-sm:py-8 landing-lg:py-6","px-4 landing-sm:px-8 landing-lg:px-12","grid","grid-cols-1","landing-md:grid-cols-2","gap-8","max-w-screen-landing-md","landing-lg:max-w-screen-landing-lg","mx-auto")},a.createElement("div",{className:(0,n.c)("flex","flex-col","landing-sm:flex-row","gap-4","items-start","justify-start")},o.wd.map((t=>a.createElement("a",f(u({href:t.href,key:t.label},t.href.startsWith("http")?{target:"_blank",rel:"noopener noreferrer"}:{}),{className:(0,n.c)("text-sm","leading-5","font-normal","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:no-underline","hover:text-gray-800 dark:hover:text-gray-300")}),t.label)))),a.createElement("div",{className:(0,n.c)("text-left","landing-md:text-right","text-sm","pr-6 landing-sm:pr-0","leading-5","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3","font-normal")},a.createElement("div",{className:(0,n.c)("text-base","text-gray-500 dark:text-gray-400")},"Copyright \xa9 ",(new Date).getFullYear()," PrepVerse"," ",a.createElement(c.Q,{className:"text-refine-red ml-2 inline leading-6"}),a.createElement("br",null),"Built with Docusaurus & Refine.")))))}},6936:(e,t,r)=>{r.d(t,{c:()=>i});var n=r(4971),a=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const i=e=>{var{className:t,wrapperProps:r}=e,l=c(e,["className","wrapperProps"]);return a.createElement("div",o({role:"status"},r),a.createElement("svg",o({"aria-hidden":"true",width:24,height:24,viewBox:"0 0 100 100",className:(0,n.c)("text-gray-200 animate-spin dark:text-gray-600 fill-refine-blue",t),fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),a.createElement("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),a.createElement("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})),a.createElement("span",{className:"sr-only"},"Loading..."))}},252:(e,t,r)=>{r.d(t,{Q:()=>i});var n=r(4971),a=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;ta.createElement("div",{className:(0,n.c)("w-full h-12","relative","bg-top-announcement","not-prose","font-inter","z-top-announcement")},a.createElement("div",{className:(0,n.c)("hidden lg:flex","w-full h-full","max-w-screen","overflow-hidden","border-b border-solid border-[#47ebeb26]","top-announcement-mask")},a.createElement("div",{className:(0,n.c)("w-[1280px] h-full","mx-auto","flex","justify-between")},a.createElement("div",{className:(0,n.c)("w-[calc(50%-300px)] h-full","relative")},a.createElement(m,{style:{animationDelay:"1.5s"},className:(0,n.c)("absolute","top-[2px]","right-[220px]"),id:"1"}),a.createElement(m,{style:{animationDelay:"1s"},className:(0,n.c)("absolute","rotate-180","top-[8px] right-[100px]"),id:"2"}),a.createElement(d,{className:(0,n.c)("absolute","right-[10px]"),id:"3"})),a.createElement("div",{className:(0,n.c)("w-[calc(50%-300px)] h-full","relative")},a.createElement(m,{style:{animationDelay:"2s"},className:(0,n.c)("absolute","rotate-180","top-[6px] right-[180px]"),id:"4"}),a.createElement(m,{style:{animationDelay:"0.5s"},className:(0,n.c)("delay-[1300]","absolute","top-[2px]","right-[40px]"),id:"5"}),a.createElement(d,{className:(0,n.c)("absolute","right-[-70px]"),id:"6"})))),a.createElement(s,null)),s=()=>a.createElement("a",{href:"https://github.com/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,n.c)("relative lg:absolute","px-2 lg:px-0","top-0","left-[50%]","translate-x-[-50%]","bg-top-announcement-text","h-full w-full lg:w-[450px]","flex items-center justify-center","text-white","text-xs sm:text-sm","text-center","no-underline","hover:no-underline","hover:text-white","not-prose")},a.createElement("div",{className:(0,n.c)("ml-2","not-prose")},"For more updates follow","",a.createElement("span",{className:(0,n.c)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")},"@AkashSingh3031"),".")),m=e=>a.createElement("svg",c(o({xmlns:"http://www.w3.org/2000/svg",width:80,height:40,fill:"none"},e),{className:(0,n.c)("animate-top-announcement-glow","opacity-1",e.className)}),a.createElement("circle",{cx:40,r:40,fill:`url(#${e.id}-a)`,fillOpacity:.5}),a.createElement("defs",null,a.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 40 -40 0 40 0)",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#47EBEB"}),a.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0})))),d=e=>a.createElement("svg",c(o({xmlns:"http://www.w3.org/2000/svg",width:120,height:48,fill:"none"},e),{className:(0,n.c)("animate-top-announcement-glow","opacity-1",e.className)}),a.createElement("circle",{cx:60,cy:24,r:60,fill:`url(#${e.id}-a)`,fillOpacity:.5}),a.createElement("defs",null,a.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 60 -60 0 60 24)",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#47EBEB"}),a.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0}))))}}]); \ No newline at end of file diff --git a/assets/js/03f14054.c5d6f3d1.js b/assets/js/03f14054.c5d6f3d1.js new file mode 100644 index 00000000..d0fb820b --- /dev/null +++ b/assets/js/03f14054.c5d6f3d1.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2448],{6280:(e,t,r)=>{r.d(t,{c:()=>m});var n=r(1504),a=r(4971),l=r(3652),o=r(5628),c=r(476),i=r(1580);const s={backToTopButton:"backToTopButton_sjWU",backToTopButtonShow:"backToTopButtonShow_xfvO"};function m(){const{shown:e,scrollToTop:t}=function({threshold:e}){const[t,r]=(0,n.useState)(!1),a=(0,n.useRef)(!1),{startScroll:l,cancelScroll:o}=(0,c.yI)();return(0,c.SM)((({scrollY:t},n)=>{var l;const c=null===(l=n)||void 0===l?void 0:l.scrollY;c&&(a.current?a.current=!1:t>=c?(o(),r(!1)):t{e.location.hash&&(a.current=!0,r(!1))})),{shown:t,scrollToTop:()=>l(0)}}({threshold:300});return n.createElement("button",{"aria-label":(0,l.G)({id:"theme.BackToTopButton.buttonAriaLabel",message:"Scroll back to top",description:"The ARIA label for the back to top button"}),className:(0,a.c)("clean-btn",o.W.common.backToTopButton,s.backToTopButton,e&&s.backToTopButtonShow),type:"button",onClick:t})}},5628:(e,t,r)=>{r.d(t,{W:()=>n});const n={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-page",docsDocPage:"docs-doc-page",docsTagsListPage:"docs-tags-list-page",docsTagDocListPage:"docs-tags-doc-list-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docsPages:"docs-wrapper",mdxPages:"mdx-wrapper"},common:{editThisPage:"theme-edit-this-page",lastUpdated:"theme-last-updated",backToTopButton:"theme-back-to-top-button",codeBlock:"theme-code-block",admonition:"theme-admonition",admonitionType:e=>`theme-admonition-${e}`},layout:{},docs:{docVersionBanner:"theme-doc-version-banner",docVersionBadge:"theme-doc-version-badge",docBreadcrumbs:"theme-doc-breadcrumbs",docMarkdown:"theme-doc-markdown",docTocMobile:"theme-doc-toc-mobile",docTocDesktop:"theme-doc-toc-desktop",docFooter:"theme-doc-footer",docFooterTagsRow:"theme-doc-footer-tags-row",docFooterEditMetaRow:"theme-doc-footer-edit-meta-row",docSidebarContainer:"theme-doc-sidebar-container",docSidebarMenu:"theme-doc-sidebar-menu",docSidebarItemCategory:"theme-doc-sidebar-item-category",docSidebarItemLink:"theme-doc-sidebar-item-link",docSidebarItemCategoryLevel:e=>`theme-doc-sidebar-item-category-level-${e}`,docSidebarItemLinkLevel:e=>`theme-doc-sidebar-item-link-level-${e}`},blog:{}}},4084:(e,t,r)=>{r.r(t),r.d(t,{default:()=>f});var n=r(1504),a=r(4971),l=r(8480),o=r(6968),c=r(3680),i=r(6280),s=r(9072);const m=function(){!function(e,t,r,n){function a(){if(!t.getElementById("canny-jssdk")){let e=t.getElementsByTagName(n)[0],r=t.createElement(n);r.type="text/javascript",r.async=!0,r.src="https://canny.io/sdk.js",e.parentNode.insertBefore(r,e)}}if("function"!=typeof e.Canny){var l=function(){l.q.push(arguments)};l.q=[],e.Canny=l,"complete"===t.readyState?a():e.attachEvent?e.attachEvent("onload",a):e.addEventListener("load",a,!1)}}(window,document,0,"script")},d="da0dc408-d50a-655a-59e0-e88add7bebd9";function u({basePath:e}){(0,n.useEffect)((()=>{m()}),[]);const t=function(){const{colorMode:e}=(0,s.U)();return"dark"===e?"dark":"light"}();return(0,n.useEffect)((()=>{const{Canny:r}=window;r("render",{boardToken:d,basePath:e,theme:t})}),[e,t]),n.createElement("main",{key:t,"data-canny":!0})}function f({basePath:e}){return n.createElement(l.C,{title:"Community",description:"PrepVerse Community"},n.createElement(o.m,{hasSticky:!0}),n.createElement("div",{className:(0,a.c)("bg-gray-50 dark:bg-gray-900","w-full","rounded-xl landing-sm:rounded-[32px]","p-2 landing-sm:p-4","mx-auto","landing-lg:max-w-[1200px]")},n.createElement(u,{basePath:e})),n.createElement(c.u,null),n.createElement(i.c,null))}},3680:(e,t,r)=>{r.d(t,{u:()=>l});var n=r(1504),a=r(3120);const l=e=>n.createElement(a.E,e)},6968:(e,t,r)=>{r.d(t,{m:()=>$});var n=r(9184),a=r(4971),l=r(3200),o=r(344),c=r(6076),i=r(1504),s=r(1980),m=r(8804),d=r(6098);const u=[{isPopover:!0,label:"Docs",items:[{label:"Foundation Docs",description:"Learn C++, Python & Java",link:"https://prepverse.vercel.app/docs",icon:d.C3},{label:"DSA Docs",description:"Learning DSA in C++, Python & Java",link:"https://prepverse.vercel.app/docs/1.DS.Algo",icon:d.uI}]},{isPopover:!0,label:"CodePoint",items:[{label:"Expert Sheet Solutions",description:"Most popular coding questions solutions asked during SDE interviews.",link:"https://prepverse.github.io/CodePoint/preface",icon:d.C3},{label:"Coding Ninjas Series",description:"Coding Ninjas Studio Guided Path Solutions",link:"https://prepverse.github.io/CodePoint/learning_resources/CN_Series/preface",icon:d.oh},{label:"LeetVerse",description:"Leetcode problem solutions with full probelm statements in C++, Python & Java",link:"https://prepverse.github.io/LeetVerse",icon:d.Ew}]},{isPopover:!0,label:"About",items:[{label:"About Me",description:"My information.",link:"https://prepverse.vercel.app/AkashSingh3031",icon:d.kv},{label:"Project Showcase",description:"PrepVerse open-source projects",link:"https://prepverse.vercel.app/showcase",icon:d.w9},{label:"My Portfolio",description:"All info about me",link:"https://prepverse.github.io/portfolio",icon:d.BE}]},{isPopover:!1,label:"Blog",href:"https://prepverse.vercel.app/blog",icon:d.s1},{isPopover:!1,label:"PrepVerse Community",href:"https://prepverse.vercel.app/prepverse-community",icon:d.vn}],f=({item:e,variant:t="landing"})=>{const r=e.icon;return i.createElement(n.c,{to:e.link,className:"no-underline"},i.createElement("div",{className:(0,a.c)("flex items-center","p-4","transition duration-150 ease-in-out","rounded-lg","hover:bg-gray-100","landing"===t&&"dark:hover:bg-gray-800","blog"===t&&"dark:hover:bg-refine-react-8")},i.createElement("div",{className:"shrink-0"},i.createElement(r,null)),i.createElement("div",{className:"ml-2"},i.createElement("div",{className:(0,a.c)("landing"===t&&"text-gray-900 dark:text-white","blog"===t&&"text-refine-react-8 dark:text-refine-react-3","font-semibold")},e.label),i.createElement("div",{className:(0,a.c)("landing"===t&&"text-gray-500 dark:text-gray-400","blog"===t&&"text-refine-react-5 dark:text-refine-react-4","text-xs")},e.description))))},g=({item:e})=>{const[t,r]=(0,i.useState)(null);(0,i.useEffect)((()=>(r(localStorage.getItem("theme")||null),window.addEventListener("storage",l,!1),()=>{window.removeEventListener("storage",l,!1)})),[]);const l=()=>{r(localStorage.getItem("theme")||null)};let o=e.icon;return"Cloud"===e.label&&(o="light"===t?d.oz:e.icon),i.createElement(n.c,{key:e.label,to:e.href,className:(0,a.c)("inline-flex items-center gap-2","text-sm leading-6 font-normal text-gray-900 dark:text-gray-300","transition-colors duration-150 ease-in-out","no-underline","Hackathon"===e.label?["py-1","px-2","rounded-lg","bg-hackathon-button-bg","animate-hackathon-button-bg","bg-refine-bg","text-gray-0","bg-[length:200%_100%]","text-[14px]","hover:text-gray-0"]:["hover:text-gray-900 dark:hover:text-white"])},e.icon&&i.createElement(o,null),e.label)};var p=r(640),b=r(5224),h=r(2424),y=r(4577);const w=({item:e,variant:t="landing",children:r})=>{const[n,l]=(0,i.useState)(!1),o=i.useRef(null),c=i.useRef(null),s=(0,p.IT)();return i.useEffect((()=>{l(!1)}),[s]),i.createElement(b._,{id:`popover-${e.label}`,key:e.label,className:(0,a.c)("relative","inline-flex items-center"),onMouseEnter:()=>{c.current=setTimeout((()=>l(!0)),210),clearTimeout(o.current)},onMouseLeave:()=>{o.current=setTimeout((()=>l(!1)),210),clearTimeout(c.current)}},(()=>i.createElement(i.Fragment,null,i.createElement(b._.Button,{className:(0,a.c)("inline-flex items-center","text-sm leading-6","font-normal")},i.createElement("span",{className:(0,a.c)("landing"===t&&"text-gray-900 dark:text-gray-300","blog"===t&&"text-refine-react-8 dark:text-refine-react-3","transition-colors duration-150 ease-in-out inline-block")},e.label),i.createElement(y.w,{"aria-hidden":"true",className:(0,a.c)("transition duration-150 ease-out","-mr-2","landing"===t&&"text-gray-500 dark:text-gray-400","blog"===t&&"text-refine-react-4",n?"translate-y-0.5":"")})),i.createElement(h.O,{as:i.Fragment,enter:"transition ease-in duration-150",enterFrom:"opacity-0 translate-y-3",enterTo:"opacity-100 translate-y-0",leave:"transition ease-out duration-150",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 translate-y-3",show:n},i.createElement(b._.Panel,{className:(0,a.c)("absolute","z-50","top-12",{"-left-32 center-point":"Docs"===e.label||"About"===e.label,"left-point":"CodePoint"===e.label})},i.createElement(d.WR,{id:e.label,variant:t,className:(0,a.c)("absolute","top-[-9px]",{"left-1/2":"CodePoint"!==e.label,"left-12":"CodePoint"===e.label}),style:{transform:"translateX(-50%)"}}),i.createElement("div",{className:(0,a.c)("overflow-hidden","rounded-xl","landing"===t&&"border dark:border-gray-700 border-gray-200","landing"===t&&"dark:shadow-menu-dark shadow-menu-light","blog"===t&&"border border-refine-react-3 dark:border-refine-react-6","blog"===t&&"dark:shadow-menu-blog-dark shadow-menu-blog-light")},r))))))},v=({variant:e="landing"})=>i.createElement(i.Fragment,null,u.map((t=>t.isPopover?i.createElement(w,{key:`navbar-${t.label}`,item:t,variant:e},"CodePoint"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,a.c)("grid grid-cols-2 gap-4","p-4","w-[672px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(f,{key:t.label,item:t,variant:e})))),i.createElement(n.c,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,a.c)("border-t","blog"===e&&"border-refine-react-3 dark:border-refine-react-6","landing"===e&&"border-gray-300 dark:border-gray-700","landing"===e&&"bg-gray-100 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-7","flex items-center","py-4 px-7")},i.createElement(d._2,null),i.createElement("div",{className:(0,a.c)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))),"About"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,a.c)("grid gap-4","p-4","w-[336px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(f,{key:t.label,item:t,variant:e})))),i.createElement("div",{className:(0,a.c)("border-t","blog"===e&&"border-refine-react-3 dark:border-refine-react-6","landing"===e&&"border-gray-300 dark:border-gray-700","landing"===e&&"bg-gray-100 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-7","flex justify-between items-center","py-4 px-7")},i.createElement("div",{className:(0,a.c)("landing"===e&&"text-gray-600 dark:text-gray-400 ","blog"===e&&"text-refine-react-5 dark:text-refine-react-4")},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.c,{to:"https://github.com/AkashSingh3031",className:(0,a.c)("no-underline","hover:text-inherit")},i.createElement(d.A9,{className:"dark:text-gray-400 text-gray-500"})),i.createElement(n.c,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(d.Ed,null)),i.createElement(n.c,{to:"https://instagram.com/akash.singh3031"},i.createElement(d.Yf,null)),i.createElement(n.c,{to:"https://x.com/akashsingh3031"},i.createElement(d.CC,null))))),"Docs"===t.label&&i.createElement("div",{className:(0,a.c)("grid gap-4","p-4","w-[336px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(f,{key:t.label,item:t,variant:e}))))):i.createElement(g,{key:`navbar-${t.label}`,item:t,variant:e}))));var x=r(2276),E=r(7008),O=r(9072),C=r(2268);function k(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const j=e=>i.createElement("svg",function(e){for(var t=1;ti.createElement("svg",function(e){for(var t=1;t{const[c,s]=(0,i.useState)(null),m=null!=r?r:n.c,u=void 0!==l&&void 0===t;return(0,i.useEffect)((()=>{const e=document.querySelector("html").getAttribute("data-theme");s(e)}),[]),i.createElement(m,function(e){for(var t=1;t{const r=(0,p.IT)();return i.useEffect((()=>{t(!1)}),[r]),i.createElement(B,{isModalOpen:e,setIsModalOpen:t},i.createElement(Z,{className:(0,a.c)("hidden landing-sm:block","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}),i.createElement(H,{className:(0,a.c)("block landing-sm:hidden","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}))},B=({isModalOpen:e,setIsModalOpen:t,children:r})=>i.createElement(h.O,{appear:!0,show:e,as:i.Fragment},i.createElement(x.C,{as:"div",className:"relative z-10",onClose:()=>t(!1)},i.createElement(h.O.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},i.createElement("div",{className:(0,a.c)("fixed inset-0","bg-gray-0 dark:bg-gray-900","flex","flex-col")},i.createElement(M.Q,null),i.createElement("div",{className:(0,a.c)("flex items-center justify-between","p-4","landing-sm:px-8")},i.createElement(m.m,{className:"dark:text-gray-0 text-gray-900"}),i.createElement("button",{type:"button",className:(0,a.c)("rounded-lg","hover:brightness-105","active:scale-90","transition-transform duration-75 ease-in-out")},i.createElement(C.O,{className:"text-gray-900 dark:text-white",onClick:()=>t(!1)}))),i.createElement(h.O.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-75",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95"},i.createElement("div",{className:(0,a.c)("flex-1","overflow-y-auto","px-4","pb-4")},r)))))),Z=e=>i.createElement("div",{className:(0,a.c)(e.className)},u.map(((e,t)=>{const r="icon"in e&&e.icon;return i.createElement("div",{key:t,className:(0,a.c)("not-prose","p-4","border-t dark:border-gray-700 border-gray-200")},i.createElement(n.c,{to:"href"in e?e.href:void 0,className:(0,a.c)("appearance-none","block","no-underline","dark:text-gray-0 text-gray-900","font-bold")},i.createElement("div",{className:(0,a.c)("flex items-center gap-2")},i.createElement("div",null,e.label),r&&i.createElement(r,null))),"items"in e&&i.createElement("div",{className:(0,a.c)("mt-2","grid grid-cols-2 min-[800px]:grid-cols-3","gap-x-8 gap-y-4")},e.items.map((e=>i.createElement(f,{key:e.label,item:e})))))})),i.createElement(T,null),i.createElement(F,{id:"tablet"}),i.createElement(R,{id:"tablet"})),H=e=>i.createElement("div",{className:(0,a.c)(e.className)},i.createElement("div",{className:"flex-grow"},u.map((e=>e.isPopover?i.createElement(E.C,{key:`modal-${e.label}`},(({open:t})=>i.createElement(i.Fragment,null,i.createElement(L,{component:E.C.Button,label:e.label,open:t}),i.createElement(E.C.Panel,{className:(0,a.c)(t&&"pb-4",t&&"border-b border-gray-200 dark:border-gray-700")},e.items.map((e=>i.createElement(f,{key:e.label,item:e}))))))):i.createElement(L,{key:`modal-${e.label}`,label:e.label,href:e.href,icon:e.icon})))),i.createElement(T,null),i.createElement(F,{id:"phone"}),i.createElement(R,{id:"phone"})),R=e=>{var t;return i.createElement(n.c,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,a.c)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex items-center","p-4")},i.createElement(d._2,{id:(null===(t=e)||void 0===t?void 0:t.id)||""}),i.createElement("div",{className:(0,a.c)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))},F=e=>{var t;return i.createElement("div",{className:(0,a.c)("bg-white dark:bg-gray-700 header-sm:bg-inherit","flex justify-between items-center","header-sm:flex-col header-sm:gap-4","header-sm:border-b border-gray-200 dark:border-gray-600","py-3 px-4")},i.createElement("p",{className:"text-gray-500 dark:text-gray-300 font-semibold"},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.c,{to:"https://github.com/AkashSingh3031"},i.createElement(d.A9,{className:"h-10 w-10"})),i.createElement(n.c,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(d.Ed,{className:"h-10 w-10"})),i.createElement(n.c,{to:"https://instagram.com/akash.singh3031"},i.createElement(d.Yf,{className:"h-10 w-10",id:(null===(t=e)||void 0===t?void 0:t.id)||""})),i.createElement(n.c,{to:"https://x.com/akashsingh3031"},i.createElement(d.CC,{className:"h-10 w-10"}))))},T=()=>{const{colorMode:e,setColorMode:t}=(0,O.U)(),r=()=>{t("dark"===e?"light":"dark")},n="dark"===e,l="light"===e;return i.createElement("div",{className:(0,a.c)("not-prose","p-4","flex items-center")},i.createElement("div",{className:(0,a.c)("text-sm","mr-10","dark:text-gray-400 text-gray-600")},"Apperance"),i.createElement("button",{onClick:r,className:(0,a.c)("mr-4","rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200","text-gray-500",l&&"bg-gray-50")},i.createElement(V.G,null),"Light"),i.createElement("button",{onClick:r,className:(0,a.c)("rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200",n?"text-gray-400":"text-gray-500",n&&"bg-gray-700")},i.createElement(A.g,null),"Dark"))};var _=r(9253),G=r(2700),I=r(5792),z=r(6936);const U=()=>{const{loading:e,githubStarCountText:t}=(0,G.wx)();return i.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank",rel:"noreferrer",className:(0,a.c)("flex gap-2 items-center","font-normal","text-sm leading-6","text-gray-500 dark:text-gray-400","hover:text-gray-400 dark:hover:text-gray-300","hover:no-underline","transition-colors","duration-200","ease-in-out")},i.createElement(I.A,{className:(0,a.c)("w-5 h-5")}),i.createElement("div",{className:(0,a.c)("flex items-center","w-10 h-6")},e?i.createElement(z.c,{className:(0,a.c)("w-5 h-5"),wrapperProps:{className:(0,a.c)("mx-auto")}}):i.createElement("span",null,t)))},$=({trackProgress:e,variant:t="landing",className:r})=>{const[d,u]=(0,i.useState)(!1),{scrollYProgress:f}=(0,l.Q)(),g=(0,o.s)(f,[.03,.95],["0%","100%"]);return i.createElement(i.Fragment,null,i.createElement(M.Q,null),i.createElement("header",{className:(0,a.c)("sticky","top-0","z-10")},i.createElement("div",{className:(0,a.c)("absolute","top-0 left-0 right-0","backdrop-blur-[6px]","landing-md:backdrop-blur-[12px]","z-[-1]","bg-gray-0 dark:bg-gray-800","bg-opacity-80 dark:bg-opacity-80","pointer-events-none",r),style:{top:"-20px",bottom:"-80px",WebkitMaskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))",maskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))"}}),i.createElement("div",{className:(0,a.c)("relative","z-[1]","p-4","landing-sm:px-8","landing-md:py-5")},i.createElement("div",{className:(0,a.c)("mx-auto","flex","items-center","justify-between","max-w-[896px]","landing-lg:max-w-[1200px]")},i.createElement("div",{className:(0,a.c)("w-[130px]","landing-lg:w-[200px]")},i.createElement(n.c,{to:"https://prepverse.vercel.app"},i.createElement(m.m,{className:"text-gray-900 dark:text-gray-0"}))),i.createElement("button",{type:"button",className:(0,a.c)("text-gray-900 dark:text-gray-0","block landing-md:hidden"),onClick:()=>u(!0)},i.createElement(s.m,null)),i.createElement("div",{className:(0,a.c)("hidden landing-md:flex","flex-1","items-center","gap-8")},i.createElement(v,{variant:t})),i.createElement("div",{className:(0,a.c)("hidden landing-md:flex","items-center","justify-end","gap-4","w-[130px]","landing-lg:w-[200px]")},i.createElement(U,null),i.createElement(_.C,null)),i.createElement(D,{isModalOpen:d,setIsModalOpen:u}))),e&&i.createElement("div",{className:(0,a.c)("w-full","h-[1.5px]","translate","bg-refine-react-3 dark:bg-refine-react-7")},i.createElement(c.q.div,{className:(0,a.c)("h-full","bg-refine-react-light-link dark:bg-refine-react-dark-link"),style:{width:g}}))))}},9253:(e,t,r)=>{r.d(t,{C:()=>i,O:()=>m});var n=r(1504),a=r(4971),l=r(9072),o=r(3756),c=r(5372);const i=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,l.U)();return n.createElement("button",{type:"button",className:(0,a.c)("appearance-none","focus:outline-none","relative","w-10 h-10","rounded-full","border","border-solid","border-gray-300 dark:border-gray-700","text-gray-500","transition-colors","duration-150","ease-in-out","overflow-hidden","flex-shrink-0","group",e),onClick:()=>{r("dark"===t?"light":"dark")}},n.createElement("div",{className:(0,a.c)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","translate-y-0","dark:-translate-y-10","duration-200","ease-in-out","transition-transform")},n.createElement(o.G,null)),n.createElement("div",{className:(0,a.c)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","-translate-y-10","dark:translate-y-0","duration-200","ease-in-out","transition-transform")},n.createElement(c.g,null)))},s=[{name:"light",icon:o.G,label:"Light"},{name:"dark",icon:c.g,label:"Dark"}],m=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,l.U)();return n.createElement("div",{className:(0,a.c)("flex","items-center","gap-4","justify-start",e)},s.map((({name:e,label:l,icon:o})=>n.createElement("button",{type:"button",key:e,className:(0,a.c)("appearance-none","focus:outline-none","py-1","pl-1.5","pr-3","flex","items-center","justify-center","gap-1","rounded-[40px]","text-gray-400","border border-solid","border-gray-200","dark:border-gray-600",t===e&&"bg-gray-100 dark:bg-gray-700"),onClick:()=>{r(e)}},n.createElement(o,{className:(0,a.c)("w-4 h-4")}),n.createElement("span",{className:(0,a.c)("text-sm")},l)))))}},7708:(e,t,r)=>{r.d(t,{o0:()=>g,yw:()=>u,wd:()=>f,AR:()=>p});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var m=r(6098),d=r(4252);const u=[{label:"Resources",items:[{label:"Getting Started",href:"https://prepverse.vercel.app/docs"},{label:"Blog",href:"https://prepverse.vercel.app/blog"},{label:"Project Showcase",icon:n.createElement(m.KU,null),href:"https://prepverse.vercel.app/showcase"},{label:"Community",icon:n.createElement(m.KU,null),href:"https://prepverse.vercel.app/prepverse-community"}]},{label:"Product",items:[{label:"CodePoint",icon:n.createElement(d.i,null),href:"https://prepverse.github.io/CodePoint"},{label:"LeetVerse",icon:n.createElement(d.i,null),href:"https://prepverse.github.io/LeetVerse"}]},{label:"About",items:[{label:"About Me",href:"https://prepverse.vercel.app/AkashSingh3031"},{label:"Portfolio",icon:n.createElement(d.i,null),href:"https://prepverse.github.io/portfolio"}]}],f=[{label:"License",href:"https://github.com/PrepVerse/prepverse.github.io/blob/master/LICENSE"}],g="Thank you for visiting, Connect with me over socials.",p=[{icon:e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{r.d(t,{w:()=>l});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{g:()=>l});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{i:()=>l});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{A:()=>o,i:()=>c});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e){for(var t=1;tn.createElement("svg",l({width:12,height:12,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.053 0A10.904 10.904 0 0 0 3.89 2.685 11.34 11.34 0 0 0 .142 9.472a11.48 11.48 0 0 0 1.456 7.65 11.087 11.087 0 0 0 5.964 4.86c.556.103.752-.25.752-.547v-1.918C5.23 20.202 4.58 18 4.58 18a3.012 3.012 0 0 0-1.227-1.655c-.997-.692.081-.692.081-.692.35.05.683.18.975.382.293.202.536.469.713.78.15.278.352.523.595.721a2.312 2.312 0 0 0 2.618.221c.042-.57.283-1.105.678-1.509-2.454-.284-5.03-1.253-5.03-5.539a4.415 4.415 0 0 1 1.132-3.025A4.194 4.194 0 0 1 5.224 4.7s.928-.305 3.036 1.156c1.81-.508 3.72-.508 5.531 0 2.108-1.46 3.03-1.156 3.03-1.156.406.936.455 1.993.135 2.963a4.415 4.415 0 0 1 1.132 3.026c0 4.334-2.582 5.282-5.043 5.538.264.271.468.597.598.955.13.358.182.741.155 1.122V21.4c0 .367.196.65.759.54a11.093 11.093 0 0 0 5.88-4.878 11.481 11.481 0 0 0 1.419-7.6 11.34 11.34 0 0 0-3.71-6.746A10.907 10.907 0 0 0 11.053 0Z",fill:"currentColor"})),c=e=>n.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.066.001a11.91 11.91 0 0 1 7.745 2.966 12.326 12.326 0 0 1 4.032 7.33 12.46 12.46 0 0 1-1.54 8.245 12.088 12.088 0 0 1-6.406 5.314l-.105.037-.11.021c-.508.1-1.232.093-1.83-.422-.577-.498-.681-1.166-.681-1.565v-3.008l.004-.053a1.102 1.102 0 0 0-.062-.453 1.058 1.058 0 0 0-.235-.377l-.839-.86-.863.882a.802.802 0 0 0-.224.502l-.015.217v3.183c0 .434-.14 1.029-.628 1.492-.541.514-1.246.62-1.864.505l-.108-.02-.104-.035a12.082 12.082 0 0 1-6.498-5.296 12.457 12.457 0 0 1-1.58-8.298c.45-2.86 1.891-5.471 4.073-7.375A11.909 11.909 0 0 1 12.05.001h.016Zm-10.43 10.54a10.957 10.957 0 0 0 1.39 7.303 10.58 10.58 0 0 0 5.693 4.638c.53.099.717-.238.717-.522v-1.83c-.588.13-1.083.15-1.5.1a2.95 2.95 0 0 1-.542-.117 2.551 2.551 0 0 1-.422-.176 2.362 2.362 0 0 1-.82-.72c-.208-.294-.28-.535-.28-.535a2.876 2.876 0 0 0-1.17-1.58l-.016-.01c-.925-.65.093-.65.093-.65.106.015.21.038.313.068l.017.005a2.172 2.172 0 0 1 .962.603c.122.13.23.276.319.433a2.29 2.29 0 0 0 .68.775h.002s0 .001 0 0a2.211 2.211 0 0 0 2.385.124v-.014a2.302 2.302 0 0 1 .647-1.427 8.754 8.754 0 0 1-1.625-.328 4.865 4.865 0 0 1-1.416-.695 3.883 3.883 0 0 1-.432-.365c-.8-.786-1.328-2.002-1.328-3.899a4.214 4.214 0 0 1 1.08-2.887 4.003 4.003 0 0 1 .104-2.848s.886-.291 2.898 1.103a9.762 9.762 0 0 1 5.28 0c2.011-1.393 2.891-1.103 2.891-1.103.388.893.434 1.902.13 2.828a4.214 4.214 0 0 1 1.08 2.888c0 3.166-1.444 4.44-3.174 4.972a8.617 8.617 0 0 1-1.64.314 2.558 2.558 0 0 1 .699 1.425c.026.184.033.371.02.558v2.955c0 .35.187.62.724.515a10.588 10.588 0 0 0 5.613-4.656 10.958 10.958 0 0 0 1.354-7.254 10.824 10.824 0 0 0-3.541-6.439 10.41 10.41 0 0 0-6.77-2.592 10.408 10.408 0 0 0-6.837 2.563 10.824 10.824 0 0 0-3.578 6.478ZM16.374 7.8a8.003 8.003 0 0 0-.856.524l-.58.401-.679-.19a8.262 8.262 0 0 0-4.469 0l-.68.19-.58-.402a7.982 7.982 0 0 0-.846-.519c.019.186.059.37.12.549l.282.832-.588.653a2.714 2.714 0 0 0-.696 1.86v.024c0 1.724.503 2.513.998 2.937.563.481 1.397.736 2.476.86l1.567.182 1.954-.204c1.082-.112 1.912-.358 2.47-.833.492-.418.999-1.209.999-2.96v-.026a2.714 2.714 0 0 0-.696-1.86l-.582-.647.273-.826c.058-.178.096-.36.113-.545Z",clipRule:"evenodd"}))},1980:(e,t,r)=>{r.d(t,{m:()=>l});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{Q:()=>l});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{G:()=>l});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{s1:()=>c,wR:()=>s,QD:()=>d,vn:()=>f,kv:()=>p,uI:()=>h,A9:()=>w,_2:()=>x,Ew:()=>O,Yf:()=>k,oh:()=>P,Ed:()=>S,BE:()=>M,KU:()=>D,WR:()=>T,w9:()=>G,CC:()=>z,AH:()=>W,oz:()=>Y,C3:()=>J});var n=r(1504);var a=r(4971);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const c=e=>n.createElement("svg",o(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const{colorMode:t}=(0,A.U)();return n.createElement("div",{className:(0,a.c)("relative","flex","items-center","justify-center","rounded-full","overflow-hidden","p-px","dark:bg-[#194b3a] bg-[#b7dbff]"),style:{transform:"translateZ(0)"}},n.createElement("div",{className:(0,a.c)("z-[1]","absolute","inset-0","dark:bg-new-badge-border-dark bg-new-badge-border-light","animate-new-badge-border")}),n.createElement("svg",function(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var R,F;const T=e=>{var{variant:t="landing"}=e,r=H(e,["variant"]);return n.createElement("svg",Z(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",$(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{r.d(t,{m:()=>l});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{E:()=>g});var n=r(4971),a=r(1504),l=r(9184),o=r(7708),c=r(204);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const s=e=>a.createElement("svg",function(e){for(var t=1;t{const t=a.createElement("div",{className:(0,n.c)("py-6 landing-lg:py-0","flex","flex-col","gap-4","landing-lg:max-w-[224px]")},a.createElement("div",{className:(0,n.c)("font-semibold","text-sm","leading-6","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},"Contacts"),a.createElement("a",{href:"https://wa.me/+919794423031",target:"_blank",className:(0,n.c)("font-normal","text-sm","leading-5","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},"+91 9794423031"),a.createElement("a",{href:"https://mail.google.com/mail/u/0/?fs=1&to=codewithsky@gmail.com&tf=cm",target:"_blank",className:(0,n.c)("font-normal","text-sm","leading-5","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:180,height:40,viewBox:"0 0 180 40",fill:"none"},a.createElement("text",{x:"1",y:"15",fontFamily:"Arial, sans-serif",fontSize:"16",fill:"currentColor"},"codewithsky@gmail.com")))),r=a.createElement("div",{className:(0,n.c)("py-6 landing-lg:py-0","flex","flex-col","landing-sm:items-end")},a.createElement("div",{className:(0,n.c)("flex","flex-col","gap-4")},a.createElement("div",{className:(0,n.c)("text-sm","leading-6","font-semibold","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3","landing-lg:text-right")},"Connect with me on"),a.createElement("div",{className:(0,n.c)("flex","items-center","gap-8","landing-lg:gap-4","justify-start")},o.AR.map((({href:t,icon:r})=>a.createElement("a",{href:t,key:t,target:"_blank",rel:"noreferrer",className:(0,n.c)("landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},a.createElement(r,{className:(0,n.c)("w-6 h-6","landing-lg:w-8 landing-lg:h-8")})))))));return a.createElement("footer",{className:(0,n.c)("w-full")},a.createElement("div",{className:(0,n.c)("border-t border-t-solid","landing"===e&&"border-t-gray-100 dark:border-t-gray-700","blog"===e&&"border-t-refine-react-3 dark:border-t-refine-react-7","landing"===e&&"dark:bg-footer-landing-dark-bg","blog"===e&&"bg-footer-blog-light-bg dark:bg-footer-blog-dark-bg")},a.createElement("div",{className:(0,n.c)("grid","grid-cols-1","max-w-screen-landing-md","landing-lg:max-w-screen-landing-lg","mx-auto")},a.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8 landing-lg:px-12","py-4 landing-lg:py-6","flex","items-center","justify-between")},a.createElement(l.c,{to:"https://prepverse.vercel.app",className:(0,n.c)("hover:no-underline","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},a.createElement(m.m,null)),a.createElement("a",{href:"https://github.com/sponsors/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,n.c)("hover:no-underline")},a.createElement(s,null))),a.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8 landing-lg:px-12","flex","flex-row","flex-wrap","items-start","justify-start","text-gray-500 dark:text-gray-500")},o.o0),a.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8 landing-lg:px-12","py-6 landing-lg:pt-8 landing-lg:pb-12","flex","flex-row","flex-wrap","items-start","justify-start","gap-6")},a.createElement("div",{className:(0,n.c)("hidden","landing-lg:flex","max-w-[282px]","w-full")},t),o.yw.map((t=>a.createElement("div",{className:(0,n.c)("flex flex-col gap-4","min-w-[152px]"),key:t.label},a.createElement("div",{className:(0,n.c)("text-sm","leading-6","font-semibold","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},t.label),a.createElement("div",{className:(0,n.c)("flex","flex-col","gap-2")},t.items.map((t=>a.createElement("a",f(u({href:t.href,key:t.label},t.href.startsWith("http")?{target:"_blank",rel:"noopener noreferrer"}:{}),{className:(0,n.c)("text-sm","leading-5","hover:no-underline","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300")}),a.createElement("div",{className:(0,n.c)("flex","items-center","gap-2")},t.label,t.icon)))))))),a.createElement("div",{className:(0,n.c)("hidden","landing-lg:flex","ml-auto")},r)),a.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8","grid","grid-cols-1","landing-sm:grid-cols-2","landing-sm:gap-8","landing-lg:hidden")},t,r))),a.createElement("div",{className:(0,n.c)("border-t border-t-solid","landing"===e&&"border-t-gray-100 dark:border-t-gray-700","blog"===e&&"border-t-gray-100 dark:border-t-gray-700","landing"===e&&"bg-gray-50 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-8")},a.createElement("div",{className:(0,n.c)("py-6 landing-sm:py-8 landing-lg:py-6","px-4 landing-sm:px-8 landing-lg:px-12","grid","grid-cols-1","landing-md:grid-cols-2","gap-8","max-w-screen-landing-md","landing-lg:max-w-screen-landing-lg","mx-auto")},a.createElement("div",{className:(0,n.c)("flex","flex-col","landing-sm:flex-row","gap-4","items-start","justify-start")},o.wd.map((t=>a.createElement("a",f(u({href:t.href,key:t.label},t.href.startsWith("http")?{target:"_blank",rel:"noopener noreferrer"}:{}),{className:(0,n.c)("text-sm","leading-5","font-normal","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:no-underline","hover:text-gray-800 dark:hover:text-gray-300")}),t.label)))),a.createElement("div",{className:(0,n.c)("text-left","landing-md:text-right","text-sm","pr-6 landing-sm:pr-0","leading-5","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3","font-normal")},a.createElement("div",{className:(0,n.c)("text-base","text-gray-500 dark:text-gray-400")},"Copyright \xa9 ",(new Date).getFullYear()," PrepVerse"," ",a.createElement(c.Q,{className:"text-refine-red ml-2 inline leading-6"}),a.createElement("br",null),"Built with Docusaurus & Refine.")))))}},6936:(e,t,r)=>{r.d(t,{c:()=>i});var n=r(4971),a=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const i=e=>{var{className:t,wrapperProps:r}=e,l=c(e,["className","wrapperProps"]);return a.createElement("div",o({role:"status"},r),a.createElement("svg",o({"aria-hidden":"true",width:24,height:24,viewBox:"0 0 100 100",className:(0,n.c)("text-gray-200 animate-spin dark:text-gray-600 fill-refine-blue",t),fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),a.createElement("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),a.createElement("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})),a.createElement("span",{className:"sr-only"},"Loading..."))}},252:(e,t,r)=>{r.d(t,{Q:()=>i});var n=r(4971),a=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;ta.createElement("div",{className:(0,n.c)("w-full h-12","relative","bg-top-announcement","not-prose","font-inter","z-top-announcement")},a.createElement("div",{className:(0,n.c)("hidden lg:flex","w-full h-full","max-w-screen","overflow-hidden","border-b border-solid border-[#47ebeb26]","top-announcement-mask")},a.createElement("div",{className:(0,n.c)("w-[1280px] h-full","mx-auto","flex","justify-between")},a.createElement("div",{className:(0,n.c)("w-[calc(50%-300px)] h-full","relative")},a.createElement(m,{style:{animationDelay:"1.5s"},className:(0,n.c)("absolute","top-[2px]","right-[220px]"),id:"1"}),a.createElement(m,{style:{animationDelay:"1s"},className:(0,n.c)("absolute","rotate-180","top-[8px] right-[100px]"),id:"2"}),a.createElement(d,{className:(0,n.c)("absolute","right-[10px]"),id:"3"})),a.createElement("div",{className:(0,n.c)("w-[calc(50%-300px)] h-full","relative")},a.createElement(m,{style:{animationDelay:"2s"},className:(0,n.c)("absolute","rotate-180","top-[6px] right-[180px]"),id:"4"}),a.createElement(m,{style:{animationDelay:"0.5s"},className:(0,n.c)("delay-[1300]","absolute","top-[2px]","right-[40px]"),id:"5"}),a.createElement(d,{className:(0,n.c)("absolute","right-[-70px]"),id:"6"})))),a.createElement(s,null)),s=()=>a.createElement("a",{href:"https://prepverse.vercel.app/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,n.c)("relative lg:absolute","px-2 lg:px-0","top-0","left-[50%]","translate-x-[-50%]","bg-top-announcement-text","h-full w-full lg:w-[450px]","flex items-center justify-center","text-white","text-xs sm:text-sm","text-center","no-underline","hover:no-underline","hover:text-white","not-prose")},a.createElement("div",{className:(0,n.c)("ml-2","not-prose")},"For more updates follow","",a.createElement("span",{className:(0,n.c)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")},"@AkashSingh3031"),".")),m=e=>a.createElement("svg",c(o({xmlns:"http://www.w3.org/2000/svg",width:80,height:40,fill:"none"},e),{className:(0,n.c)("animate-top-announcement-glow","opacity-1",e.className)}),a.createElement("circle",{cx:40,r:40,fill:`url(#${e.id}-a)`,fillOpacity:.5}),a.createElement("defs",null,a.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 40 -40 0 40 0)",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#47EBEB"}),a.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0})))),d=e=>a.createElement("svg",c(o({xmlns:"http://www.w3.org/2000/svg",width:120,height:48,fill:"none"},e),{className:(0,n.c)("animate-top-announcement-glow","opacity-1",e.className)}),a.createElement("circle",{cx:60,cy:24,r:60,fill:`url(#${e.id}-a)`,fillOpacity:.5}),a.createElement("defs",null,a.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 60 -60 0 60 24)",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#47EBEB"}),a.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0}))))}}]); \ No newline at end of file diff --git a/assets/js/0fd45dad.a95462bd.js b/assets/js/0fd45dad.a95462bd.js new file mode 100644 index 00000000..13d77df0 --- /dev/null +++ b/assets/js/0fd45dad.a95462bd.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3388],{5334:a=>{a.exports=JSON.parse('{"label":"Array","permalink":"/blog/tags/array","allTagsPath":"/blog/tags","count":1}')}}]); \ No newline at end of file diff --git a/assets/js/14eb3368.5c825548.js b/assets/js/14eb3368.5c825548.js deleted file mode 100644 index 66fc52f4..00000000 --- a/assets/js/14eb3368.5c825548.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[9576],{9184:(e,t,r)=>{r.d(t,{c:()=>b});var n=r(1504),a=r(440),c=r(2656),l=r(9936),o=r(1724),i=r(2640);const s=n.createContext({collectLink:()=>{}});var m=r(1080);function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}function g(e,t){var r,u,g,b,{isNavLink:v,to:h,href:y,activeClassName:x,isActive:w,"data-noBrokenLinkCheck":E,autoAddBaseUrl:O=!0}=e,k=p(e,["isNavLink","to","href","activeClassName","isActive","data-noBrokenLinkCheck","autoAddBaseUrl"]);const{siteConfig:{trailingSlash:j,baseUrl:P}}=(0,l.c)(),{withBaseUrl:N}=(0,m.E)(),L=(0,n.useContext)(s),S=(0,n.useRef)(null);(0,n.useImperativeHandle)(t,(()=>S.current));const C=h||y;const D=(0,o.c)(C),I=null===(u=C)||void 0===u||null===(r=u.replace)||void 0===r?void 0:r.call(u,"pathname://","");let B=void 0!==I?(A=I,O&&(e=>e.startsWith("/"))(A)?N(A):A):void 0;var A;B&&D&&(B=(0,c.applyTrailingSlash)(B,{trailingSlash:j,baseUrl:P}));const M=(0,n.useRef)(!1),R=v?a.Af:a.cH,T=i.c.canUseIntersectionObserver,U=(0,n.useRef)(),G=()=>{M.current||null==B||(window.docusaurus.preload(B),M.current=!0)};var F;(0,n.useEffect)((()=>(!T&&D&&null!=B&&window.docusaurus.prefetch(B),()=>{T&&U.current&&U.current.disconnect()})),[U,B,T,D]);const _=null!==(F=null===(b=B)||void 0===b||null===(g=b.startsWith)||void 0===g?void 0:g.call(b,"#"))&&void 0!==F&&F,H=!B||!D||_;return H||E||L.collectLink(B),H?n.createElement("a",d({ref:S,href:B},C&&!D&&{target:"_blank",rel:"noopener noreferrer"},k)):n.createElement(R,d(f(d({},k),{onMouseEnter:G,onTouchStart:G,innerRef:e=>{S.current=e,T&&e&&D&&(U.current=new window.IntersectionObserver((t=>{t.forEach((t=>{e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&(U.current.unobserve(e),U.current.disconnect(),null!=B&&window.docusaurus.prefetch(B))}))})),U.current.observe(e))},to:B}),v&&{isActive:w,activeClassName:x}))}const b=n.forwardRef(g)},3624:(e,t,r)=>{r.d(t,{O:()=>v});var n=r(1504),a=r(4971),c=r(9184),l=r(844),o=r(8472),i=r(3652);function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const m=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const[t,r]=n.useState(!0),[a,c]=n.useState(!0),[l,o]=n.useState(!0),[i,s]=n.useState(!0),[m,u]=n.useState(!1);return n.useEffect((()=>{if("undefined"!=typeof window){const[t,n,a,l,i]=f[e.variant].map((e=>window.matchMedia(`(min-width: ${e}px)`))),m=e=>{r(e.matches)},d=e=>{c(e.matches)},p=e=>{o(e.matches)},g=e=>{s(e.matches)},b=e=>{u(e.matches)};return t.addEventListener("change",m),n.addEventListener("change",d),a.addEventListener("change",p),l.addEventListener("change",g),i.addEventListener("change",b),r(t.matches),c(n.matches),o(a.matches),s(l.matches),u(i.matches),()=>{t.removeEventListener("change",m),n.removeEventListener("change",d),a.removeEventListener("change",p),l.removeEventListener("change",g),i.removeEventListener("change",b)}}}),[]),{sm:t,md:a,lg:l,xl:i,xxl:m}};function g(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function b(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const v=()=>{const e=p(),t=(0,l.js)(),r=(0,o.Y5)();if(!t)return null;const[s,u]=(0,n.useMemo)((()=>{const r=t.length>3&&!e.sm;return[t.map(((e,t,n)=>b(function(e){for(var t=1;t0&&t"Examples"===e.label))&&n.createElement("div",{className:(0,a.c)("example-full-title","hidden","h-0 w-0","overflow-hidden"),"aria-hidden":!0},s.slice(2).map((e=>e.label)).join(" ")," Example"),n.createElement("ul",{className:(0,a.c)("breadcrumbs","flex flex-wrap items-center"),itemScope:!0,itemType:"https://schema.org/BreadcrumbList"},r&&n.createElement("li",{itemScope:!0,itemProp:"itemListElement",itemType:"https://schema.org/ListItem"},n.createElement(c.c,{href:"/docs",itemProp:"item"},n.createElement(m,{className:"text-gray-400 dark:text-gray-500"}),n.createElement("span",{className:"sr-only",itemProp:"name"},"Documentation"),n.createElement("meta",{itemProp:"position",content:"1"}))),s.map(((e,r)=>{const l=r===t.length-1;return n.createElement(n.Fragment,{key:r},n.createElement("li",{className:(0,a.c)("flex-row flex-nowrap",e.hideOnMobile?"hidden":"flex"),itemScope:!0,itemProp:"itemListElement",itemType:"https://schema.org/ListItem"},n.createElement(d,{className:"text-gray-400 dark:text-gray-500"}),e.href&&!l?n.createElement(c.c,{href:e.href,className:(0,a.c)("text-gray-500 dark:text-gray-400","text-base"),itemProp:"item",itemID:e.href},n.createElement("span",{itemProp:"name"},e.label)):n.createElement("span",{className:(0,a.c)(l?"text-gray-400 dark:text-gray-500":"text-gray-500 dark:text-gray-400"),itemProp:"item",itemID:"#"},n.createElement("span",{itemProp:"name"},e.label)),n.createElement("meta",{itemProp:"position",content:String(r+2)})),0===r&&s.length>1&&u?n.createElement("li",{className:(0,a.c)("flex flex-row flex-nowrap")},n.createElement(d,{className:"text-gray-400 dark:text-gray-500"}),n.createElement("div",{className:"text-gray-500 dark:text-gray-400"},"...")):null)}))))}},8692:(e,t,r)=>{r.d(t,{l:()=>c});var n=r(1504),a=r(4971);const c=({version:e})=>n.createElement("div",{className:(0,a.c)("z-[1]","relative")},n.createElement("div",{className:(0,a.c)("absolute","-left-0.5","-top-0.5","blur","overflow-hidden","rounded-full","w-[calc(100%+0.25rem)] h-[calc(100%+0.25rem)]","z-[-1]")},n.createElement("div",{className:(0,a.c)("absolute","w-[150%] aspect-square h-auto","left-[-20%]","top-[-100px]","bg-landing-rainbow","animate-spin-slow","animation-slower-speed","animation-running","group-hover:animation-paused")})),n.createElement("div",{className:(0,a.c)("text-xm","py-[7px] px-4","rounded-[32px]","font-jetBrains-mono","border border-solid","border-orange-500 dark:border-green-800","text-gray-0 dark:text-gray-0","bg-orange-500 dark:bg-green-800")},e))},5636:(e,t,r)=>{r.d(t,{C:()=>c});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{G:()=>c});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=e=>n.createElement("svg",function(e){for(var t=1;t{r.r(t),r.d(t,{default:()=>O});var n=r(1504),a=r(6684),c=r(844),l=r(1080),o=r(4971),i=r(9184),s=r(1724);function m({href:e,children:t}){return n.createElement(i.c,{href:e,className:(0,o.c)("no-underline","rounded-lg","dark:bg-gray-900 bg-gray-100","p-4","flex flex-col","gap-2 sm:gap-4 2xl:gap-6","hover:no-underline")},t)}function u({href:e,icon:t,title:r,description:a}){return n.createElement(m,{href:e},n.createElement("h2",{className:(0,o.c)("line-clamp-1","text-xs sm:text-base 2xl:text-xl","dark:text-gray-200 text-gray-900","font-semibold","m-0"),title:r},n.createElement("span",{className:"mr-2"},t),n.createElement("span",null,r)),a&&n.createElement("p",{className:(0,o.c)("line-clamp-3","m-0","text-xs sm:text-sm 2xl:text-lg","dark:text-gray-400 text-gray-700","font-normal","refine-prose"),title:a},a))}function d({item:e}){const t=(0,c.OQ)(e);return t?n.createElement(u,{href:t,icon:"\ud83d\uddc3\ufe0f",title:e.label,description:null!==(r=e.description)&&void 0!==r?r:`${e.items.length} items`}):null;var r}function f({item:e}){var t;const r=(0,s.c)(e.href)?"\ud83d\udcc4\ufe0f":"\ud83d\udd17";var a;const l=(0,c._4)(null!==(a=e.docId)&&void 0!==a?a:void 0);var o;return n.createElement(u,{href:e.href,icon:r,title:e.label,description:null!==(o=e.description)&&void 0!==o?o:null===(t=l)||void 0===t?void 0:t.description})}const p=({item:e})=>{switch(e.type){case"link":return n.createElement(f,{item:e});case"category":return n.createElement(d,{item:e});default:throw new Error(`unknown item type ${JSON.stringify(e)}`)}};function g({className:e}){const t=(0,c.wt)();return n.createElement(b,{items:t.items,className:e})}const b=e=>{const{items:t}=e;if(!t)return n.createElement(g,e);const r=(0,c.ML)(t);return n.createElement(n.Fragment,null,r.map(((e,t)=>n.createElement(p,{key:t,item:e}))))};var v=r(6008),h=r(8692),y=r(3624),x=r(1688);function w({categoryGeneratedIndex:e}){return n.createElement(a.U7,{title:e.title,description:e.description,keywords:e.keywords,image:(0,l.c)(e.image)})}function E({categoryGeneratedIndex:e}){const t=(0,c.wt)(),{label:r}=(0,x.E)();return n.createElement(n.Fragment,null,n.createElement("div",{className:(0,o.c)("flex flex-1 flex-col","items-center justify-start","px-4 sm:px-0 py-4 sm:py-14","w-full")},n.createElement("div",{className:(0,o.c)("max-w-screen-content w-full")},n.createElement("div",{className:(0,o.c)("flex flex-col","mb-8")},n.createElement(y.O,null),n.createElement("div",{className:"flex"},n.createElement(h.l,{version:r}))),n.createElement("div",{className:"refine-prose mb-16"},n.createElement("header",null,n.createElement("h1",null,e.title),e.description&&n.createElement("p",{className:"mb-8",dangerouslySetInnerHTML:{__html:e.description}})),n.createElement("article",{className:(0,o.c)("grid grid-cols-1 sm:grid-cols-2","gap-2 sm:gap-4 2xl:gap-8","not-prose")},n.createElement(b,{items:t.items})))),n.createElement("div",{className:(0,o.c)("max-w-screen-content","w-full")},n.createElement(v.c,{previous:e.navigation.previous,next:e.navigation.next}))),n.createElement("div",{className:(0,o.c)("hidden xl:block","w-full","sticky right-0 top-[67px]","max-w-[280px]","overflow-auto","h-[calc(100vh-67px)]","pl-3","pr-3","py-12","border-l dark:border-l-gray-700 border-l-gray-100","invisible")}))}const O=e=>n.createElement(n.Fragment,null,n.createElement(w,e),n.createElement(E,e))},6008:(e,t,r)=>{r.d(t,{c:()=>i});var n=r(1504),a=r(4971),c=r(9184),l=r(5636),o=r(6112);const i=e=>{const{previous:t,next:r}=e;return n.createElement("div",{className:(0,a.c)("grid grid-cols-2","gap-4 2xl:gap-8","w-full")},t&&n.createElement(c.c,{href:t.permalink,className:(0,a.c)("group","flex-1","p-4","rounded-lg","border border-gray-300 dark:border-gray-600","hover:bg-gray-100 hover:dark:bg-gray-700","hover:no-underline")},n.createElement("div",{className:"flex-1 flex items-start justify-center flex-col gap-2 text-left"},n.createElement("div",{className:(0,a.c)("flex items-center gap-2","text-base","text-gray-800 dark:text-gray-100")},n.createElement("span",{className:(0,a.c)("flex items-center justify-center","w-6 h-6")},n.createElement(l.C,{className:"text-gray-400 dark:text-gray-500"})),"Previous"),n.createElement("span",{className:(0,a.c)("text-base","text-refine-react-light-link dark:text-refine-react-dark-link","ml-8")},t.title))),r&&n.createElement(c.c,{href:r.permalink,className:(0,a.c)("group","flex-1","p-4","rounded-lg","border border-gray-300 dark:border-gray-600","hover:bg-gray-100 hover:dark:bg-gray-700","hover:no-underline",!t&&"col-start-2")},n.createElement("div",{className:"flex-1 flex items-end justify-center flex-col gap-2 text-right"},n.createElement("div",{className:(0,a.c)("flex items-center gap-2","text-base","text-gray-800 dark:text-gray-100")},"Next",n.createElement("span",{className:(0,a.c)("flex items-center justify-center","w-6 h-6")},n.createElement(o.G,{className:"text-gray-400 dark:text-gray-500"}))),n.createElement("span",{className:(0,a.c)("text-base","text-refine-react-light-link dark:text-refine-react-dark-link","mr-8")},r.title))))}}}]); \ No newline at end of file diff --git a/assets/js/14eb3368.722ca9c3.js b/assets/js/14eb3368.722ca9c3.js new file mode 100644 index 00000000..b02216c0 --- /dev/null +++ b/assets/js/14eb3368.722ca9c3.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[9576],{9184:(e,t,r)=>{r.d(t,{c:()=>b});var n=r(1504),a=r(440),c=r(2656),l=r(9936),o=r(1724),i=r(2640);const s=n.createContext({collectLink:()=>{}});var m=r(1080);function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}function g(e,t){var r,u,g,b,{isNavLink:v,to:h,href:y,activeClassName:x,isActive:w,"data-noBrokenLinkCheck":E,autoAddBaseUrl:O=!0}=e,k=p(e,["isNavLink","to","href","activeClassName","isActive","data-noBrokenLinkCheck","autoAddBaseUrl"]);const{siteConfig:{trailingSlash:j,baseUrl:P}}=(0,l.c)(),{withBaseUrl:N}=(0,m.E)(),L=(0,n.useContext)(s),S=(0,n.useRef)(null);(0,n.useImperativeHandle)(t,(()=>S.current));const C=h||y;const D=(0,o.c)(C),I=null===(u=C)||void 0===u||null===(r=u.replace)||void 0===r?void 0:r.call(u,"pathname://","");let B=void 0!==I?(A=I,O&&(e=>e.startsWith("/"))(A)?N(A):A):void 0;var A;B&&D&&(B=(0,c.applyTrailingSlash)(B,{trailingSlash:j,baseUrl:P}));const M=(0,n.useRef)(!1),R=v?a.Af:a.cH,T=i.c.canUseIntersectionObserver,U=(0,n.useRef)(),G=()=>{M.current||null==B||(window.docusaurus.preload(B),M.current=!0)};var F;(0,n.useEffect)((()=>(!T&&D&&null!=B&&window.docusaurus.prefetch(B),()=>{T&&U.current&&U.current.disconnect()})),[U,B,T,D]);const _=null!==(F=null===(b=B)||void 0===b||null===(g=b.startsWith)||void 0===g?void 0:g.call(b,"#"))&&void 0!==F&&F,H=!B||!D||_;return H||E||L.collectLink(B),H?n.createElement("a",d({ref:S,href:B},C&&!D&&{target:"_blank",rel:"noopener noreferrer"},k)):n.createElement(R,d(f(d({},k),{onMouseEnter:G,onTouchStart:G,innerRef:e=>{S.current=e,T&&e&&D&&(U.current=new window.IntersectionObserver((t=>{t.forEach((t=>{e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&(U.current.unobserve(e),U.current.disconnect(),null!=B&&window.docusaurus.prefetch(B))}))})),U.current.observe(e))},to:B}),v&&{isActive:w,activeClassName:x}))}const b=n.forwardRef(g)},3624:(e,t,r)=>{r.d(t,{O:()=>v});var n=r(1504),a=r(4971),c=r(9184),l=r(844),o=r(8472),i=r(3652);function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const m=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const[t,r]=n.useState(!0),[a,c]=n.useState(!0),[l,o]=n.useState(!0),[i,s]=n.useState(!0),[m,u]=n.useState(!1);return n.useEffect((()=>{if("undefined"!=typeof window){const[t,n,a,l,i]=f[e.variant].map((e=>window.matchMedia(`(min-width: ${e}px)`))),m=e=>{r(e.matches)},d=e=>{c(e.matches)},p=e=>{o(e.matches)},g=e=>{s(e.matches)},b=e=>{u(e.matches)};return t.addEventListener("change",m),n.addEventListener("change",d),a.addEventListener("change",p),l.addEventListener("change",g),i.addEventListener("change",b),r(t.matches),c(n.matches),o(a.matches),s(l.matches),u(i.matches),()=>{t.removeEventListener("change",m),n.removeEventListener("change",d),a.removeEventListener("change",p),l.removeEventListener("change",g),i.removeEventListener("change",b)}}}),[]),{sm:t,md:a,lg:l,xl:i,xxl:m}};function g(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function b(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const v=()=>{const e=p(),t=(0,l.js)(),r=(0,o.Y5)();if(!t)return null;const[s,u]=(0,n.useMemo)((()=>{const r=t.length>3&&!e.sm;return[t.map(((e,t,n)=>b(function(e){for(var t=1;t0&&t"Examples"===e.label))&&n.createElement("div",{className:(0,a.c)("example-full-title","hidden","h-0 w-0","overflow-hidden"),"aria-hidden":!0},s.slice(2).map((e=>e.label)).join(" ")," Example"),n.createElement("ul",{className:(0,a.c)("breadcrumbs","flex flex-wrap items-center"),itemScope:!0,itemType:"https://schema.org/BreadcrumbList"},r&&n.createElement("li",{itemScope:!0,itemProp:"itemListElement",itemType:"https://schema.org/ListItem"},n.createElement(c.c,{href:"https://prepverse.vercel.app/docs",itemProp:"item"},n.createElement(m,{className:"text-gray-400 dark:text-gray-500"}),n.createElement("span",{className:"sr-only",itemProp:"name"},"Documentation"),n.createElement("meta",{itemProp:"position",content:"1"}))),s.map(((e,r)=>{const l=r===t.length-1;return n.createElement(n.Fragment,{key:r},n.createElement("li",{className:(0,a.c)("flex-row flex-nowrap",e.hideOnMobile?"hidden":"flex"),itemScope:!0,itemProp:"itemListElement",itemType:"https://schema.org/ListItem"},n.createElement(d,{className:"text-gray-400 dark:text-gray-500"}),e.href&&!l?n.createElement(c.c,{href:e.href,className:(0,a.c)("text-gray-500 dark:text-gray-400","text-base"),itemProp:"item",itemID:e.href},n.createElement("span",{itemProp:"name"},e.label)):n.createElement("span",{className:(0,a.c)(l?"text-gray-400 dark:text-gray-500":"text-gray-500 dark:text-gray-400"),itemProp:"item",itemID:"#"},n.createElement("span",{itemProp:"name"},e.label)),n.createElement("meta",{itemProp:"position",content:String(r+2)})),0===r&&s.length>1&&u?n.createElement("li",{className:(0,a.c)("flex flex-row flex-nowrap")},n.createElement(d,{className:"text-gray-400 dark:text-gray-500"}),n.createElement("div",{className:"text-gray-500 dark:text-gray-400"},"...")):null)}))))}},8692:(e,t,r)=>{r.d(t,{l:()=>c});var n=r(1504),a=r(4971);const c=({version:e})=>n.createElement("div",{className:(0,a.c)("z-[1]","relative")},n.createElement("div",{className:(0,a.c)("absolute","-left-0.5","-top-0.5","blur","overflow-hidden","rounded-full","w-[calc(100%+0.25rem)] h-[calc(100%+0.25rem)]","z-[-1]")},n.createElement("div",{className:(0,a.c)("absolute","w-[150%] aspect-square h-auto","left-[-20%]","top-[-100px]","bg-landing-rainbow","animate-spin-slow","animation-slower-speed","animation-running","group-hover:animation-paused")})),n.createElement("div",{className:(0,a.c)("text-xm","py-[7px] px-4","rounded-[32px]","font-jetBrains-mono","border border-solid","border-orange-500 dark:border-green-800","text-gray-0 dark:text-gray-0","bg-orange-500 dark:bg-green-800")},e))},5636:(e,t,r)=>{r.d(t,{C:()=>c});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{G:()=>c});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=e=>n.createElement("svg",function(e){for(var t=1;t{r.r(t),r.d(t,{default:()=>O});var n=r(1504),a=r(6684),c=r(844),l=r(1080),o=r(4971),i=r(9184),s=r(1724);function m({href:e,children:t}){return n.createElement(i.c,{href:e,className:(0,o.c)("no-underline","rounded-lg","dark:bg-gray-900 bg-gray-100","p-4","flex flex-col","gap-2 sm:gap-4 2xl:gap-6","hover:no-underline")},t)}function u({href:e,icon:t,title:r,description:a}){return n.createElement(m,{href:e},n.createElement("h2",{className:(0,o.c)("line-clamp-1","text-xs sm:text-base 2xl:text-xl","dark:text-gray-200 text-gray-900","font-semibold","m-0"),title:r},n.createElement("span",{className:"mr-2"},t),n.createElement("span",null,r)),a&&n.createElement("p",{className:(0,o.c)("line-clamp-3","m-0","text-xs sm:text-sm 2xl:text-lg","dark:text-gray-400 text-gray-700","font-normal","refine-prose"),title:a},a))}function d({item:e}){const t=(0,c.OQ)(e);return t?n.createElement(u,{href:t,icon:"\ud83d\uddc3\ufe0f",title:e.label,description:null!==(r=e.description)&&void 0!==r?r:`${e.items.length} items`}):null;var r}function f({item:e}){var t;const r=(0,s.c)(e.href)?"\ud83d\udcc4\ufe0f":"\ud83d\udd17";var a;const l=(0,c._4)(null!==(a=e.docId)&&void 0!==a?a:void 0);var o;return n.createElement(u,{href:e.href,icon:r,title:e.label,description:null!==(o=e.description)&&void 0!==o?o:null===(t=l)||void 0===t?void 0:t.description})}const p=({item:e})=>{switch(e.type){case"link":return n.createElement(f,{item:e});case"category":return n.createElement(d,{item:e});default:throw new Error(`unknown item type ${JSON.stringify(e)}`)}};function g({className:e}){const t=(0,c.wt)();return n.createElement(b,{items:t.items,className:e})}const b=e=>{const{items:t}=e;if(!t)return n.createElement(g,e);const r=(0,c.ML)(t);return n.createElement(n.Fragment,null,r.map(((e,t)=>n.createElement(p,{key:t,item:e}))))};var v=r(6008),h=r(8692),y=r(3624),x=r(1688);function w({categoryGeneratedIndex:e}){return n.createElement(a.U7,{title:e.title,description:e.description,keywords:e.keywords,image:(0,l.c)(e.image)})}function E({categoryGeneratedIndex:e}){const t=(0,c.wt)(),{label:r}=(0,x.E)();return n.createElement(n.Fragment,null,n.createElement("div",{className:(0,o.c)("flex flex-1 flex-col","items-center justify-start","px-4 sm:px-0 py-4 sm:py-14","w-full")},n.createElement("div",{className:(0,o.c)("max-w-screen-content w-full")},n.createElement("div",{className:(0,o.c)("flex flex-col","mb-8")},n.createElement(y.O,null),n.createElement("div",{className:"flex"},n.createElement(h.l,{version:r}))),n.createElement("div",{className:"refine-prose mb-16"},n.createElement("header",null,n.createElement("h1",null,e.title),e.description&&n.createElement("p",{className:"mb-8",dangerouslySetInnerHTML:{__html:e.description}})),n.createElement("article",{className:(0,o.c)("grid grid-cols-1 sm:grid-cols-2","gap-2 sm:gap-4 2xl:gap-8","not-prose")},n.createElement(b,{items:t.items})))),n.createElement("div",{className:(0,o.c)("max-w-screen-content","w-full")},n.createElement(v.c,{previous:e.navigation.previous,next:e.navigation.next}))),n.createElement("div",{className:(0,o.c)("hidden xl:block","w-full","sticky right-0 top-[67px]","max-w-[280px]","overflow-auto","h-[calc(100vh-67px)]","pl-3","pr-3","py-12","border-l dark:border-l-gray-700 border-l-gray-100","invisible")}))}const O=e=>n.createElement(n.Fragment,null,n.createElement(w,e),n.createElement(E,e))},6008:(e,t,r)=>{r.d(t,{c:()=>i});var n=r(1504),a=r(4971),c=r(9184),l=r(5636),o=r(6112);const i=e=>{const{previous:t,next:r}=e;return n.createElement("div",{className:(0,a.c)("grid grid-cols-2","gap-4 2xl:gap-8","w-full")},t&&n.createElement(c.c,{href:t.permalink,className:(0,a.c)("group","flex-1","p-4","rounded-lg","border border-gray-300 dark:border-gray-600","hover:bg-gray-100 hover:dark:bg-gray-700","hover:no-underline")},n.createElement("div",{className:"flex-1 flex items-start justify-center flex-col gap-2 text-left"},n.createElement("div",{className:(0,a.c)("flex items-center gap-2","text-base","text-gray-800 dark:text-gray-100")},n.createElement("span",{className:(0,a.c)("flex items-center justify-center","w-6 h-6")},n.createElement(l.C,{className:"text-gray-400 dark:text-gray-500"})),"Previous"),n.createElement("span",{className:(0,a.c)("text-base","text-refine-react-light-link dark:text-refine-react-dark-link","ml-8")},t.title))),r&&n.createElement(c.c,{href:r.permalink,className:(0,a.c)("group","flex-1","p-4","rounded-lg","border border-gray-300 dark:border-gray-600","hover:bg-gray-100 hover:dark:bg-gray-700","hover:no-underline",!t&&"col-start-2")},n.createElement("div",{className:"flex-1 flex items-end justify-center flex-col gap-2 text-right"},n.createElement("div",{className:(0,a.c)("flex items-center gap-2","text-base","text-gray-800 dark:text-gray-100")},"Next",n.createElement("span",{className:(0,a.c)("flex items-center justify-center","w-6 h-6")},n.createElement(o.G,{className:"text-gray-400 dark:text-gray-500"}))),n.createElement("span",{className:(0,a.c)("text-base","text-refine-react-light-link dark:text-refine-react-dark-link","mr-8")},r.title))))}}}]); \ No newline at end of file diff --git a/assets/js/17896441.bedb9c48.js b/assets/js/17896441.d80a6b6d.js similarity index 79% rename from assets/js/17896441.bedb9c48.js rename to assets/js/17896441.d80a6b6d.js index 4e391d4e..f3cec8d9 100644 --- a/assets/js/17896441.bedb9c48.js +++ b/assets/js/17896441.d80a6b6d.js @@ -1 +1 @@ -(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[6752],{6324:(e,t,r)=>{var n={"./plugin-route-context-module-100.json":[4634,4634]};function l(e){if(!r.o(n,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=n[e],l=t[0];return r.e(t[1]).then((()=>r.t(l,19)))}l.keys=()=>Object.keys(n),l.id=6324,e.exports=l},4464:(e,t,r)=>{"use strict";r.d(t,{c:()=>c});var n=r(1504),l=r(6684),a=r(2288);function c(){const{metadata:e,frontMatter:t,assets:r}=(0,a.G)();var c;return n.createElement(l.U7,{title:e.title,description:e.description,keywords:t.keywords,image:null!==(c=r.image)&&void 0!==c?c:t.image})}},5904:(e,t,r)=>{"use strict";r.d(t,{I7:()=>a,kz:()=>o,aI:()=>u,sL:()=>m,uU:()=>Ye,UZ:()=>Xe,sH:()=>Ie,W4:()=>Ke,g3:()=>qe,Ou:()=>Gt,M7:()=>b,gv:()=>$e,U7:()=>Dt,K6:()=>xt,sT:()=>h,Dp:()=>v,m4:()=>E,Yv:()=>k,UJ:()=>A,QR:()=>rt,y:()=>S,AD:()=>lt,WA:()=>D,ai:()=>Rt,m0:()=>L,Gg:()=>B,kB:()=>T,mK:()=>F,em:()=>I,E5:()=>Mt,sP:()=>Ft,_$:()=>X,gF:()=>Q,Iv:()=>$,Qh:()=>te,yK:()=>st,sW:()=>ft,Uf:()=>le,cF:()=>pt,aA:()=>ce,mO:()=>se,I1:()=>fe,_A:()=>de,CS:()=>ot,U$:()=>Ot,yw:()=>gt,wA:()=>Lt,yM:()=>be,Ep:()=>Oe,qy:()=>jt,sN:()=>Ce,Cu:()=>we,qQ:()=>xe,oe:()=>Ve,Oq:()=>He,yS:()=>ze,Og:()=>Be,kn:()=>Te,od:()=>St});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const u=e=>{var{withBrandColor:t=!0}=e,r=s(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const b=e=>{var{withBrandColor:t=!0}=e,r=p(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const E=e=>{var{className:t}=e,r=j(e,["className"]);return n.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const k=e=>{var{className:t}=e,r=P(e,["className"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const B=e=>{var{withBrandColor:t=!0}=e,r=M(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",V(function(e){for(var t=1;tn.createElement("svg",W(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",K(function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const $=e=>{var{withBrandColor:t=!0}=e,r=_(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const le=e=>{var{withBrandColor:t=!0}=e,r=ne(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",ie(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const Oe=e=>{var{className:t}=e,r=he(e,["className"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",ye(function(e){for(var t=1;tn.createElement("svg",Ee(function(e){for(var t=1;tn.createElement("svg",ke(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",tt(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",ct(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",dt(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const jt=e=>{var{className:t}=e,r=wt(e,["className"]);return n.createElement("svg",yt(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{c:()=>u});var n=r(1504),l=r(5684),a=r(9072),c=r(8164),o=r(9400);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const s={id:"comments",repo:"PrepVerse/CodePoint",repoId:"R_kgDOItEdJw",category:"Q&A",categoryId:"DIC_kwDOItEdJ84CZ4tA",mapping:"pathname",reactionsEnabled:"1",emitMetadata:"0",inputPosition:"top",lang:"en",theme:"light",darkTheme:"dark_dimmed"};function u(){const e=(0,l.y)(),t=function(e){for(var t=1;tn.createElement(o.c,t)))}},4752:(e,t,r)=>{"use strict";r.d(t,{c:()=>a});var n=r(1504),l=r(9184);const a=()=>n.createElement("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4 md:gap-0 h-auto md:h-[150px] bg-[#5865F2] w-full rounded-2xl py-5 px-5 md:px-12"},n.createElement("div",{className:"flex items-center gap-16"},n.createElement("img",{className:"hidden md:block",src:"/img/blog-static/discord-banner.png",alt:"Discord Logo"}),n.createElement("div",{className:"text-white font-montserrat font-bold max-w-md text-center md:text-left"},n.createElement("h1",{className:"text-2xl uppercase leading-tight mb-0 font-montserrat"},"Join to refine discord server"),n.createElement("p",{className:"mb-0 text-base"},"to get help, share ideas, and discuss the latest news."))),n.createElement(l.c,{to:"https://discord.gg/refine"},n.createElement("button",{className:"bg-transparent text-white font-bold py-2 px-4 rounded-lg h-12 w-44 border-white cursor-pointer font-montserrat uppercase text-xl border-solid active:scale-[0.99]"},"Join Us")))},7396:(e,t,r)=>{"use strict";r.d(t,{c:()=>o});var n=r(1504),l=r(9184),a=r(3540);const c="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",o=()=>{const[e,t]=n.useState(0);return n.useEffect((()=>{(async()=>{const e=await fetch(`https://api.github.com/repos/pankod/refine?access_token=${c}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`token ${c}`}}),r=await e.json();var n;t(null!==(n=r.stargazers_count)&&void 0!==n?n:2e3)})()}),[]),n.createElement("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4 md:gap-0 h-auto md:h-[150px] w-full rounded-2xl py-5 px-5 md:px-12 github-banner-bg"},n.createElement("div",{className:"flex items-center gap-16"},n.createElement("img",{className:"hidden md:block",src:"/img/blog-static/github-banner-icon.png",alt:"Github Logo"}),n.createElement("div",{className:"font-montserrat max-w-md text-center md:text-left"},n.createElement("h1",{className:"text-2xl uppercase leading-tight mb-0 font-montserrat font-bold"},"Star us on github"),n.createElement("p",{className:"mb-0 text-base leading-tight"},n.createElement("b",null,"refine")," is an"," ",n.createElement("b",null,"open-source React-based framework"),"for building ",n.createElement("b",null,"CRUD applications")," without constraints. Please show us your ",n.createElement("b",null,"support")," with a shining ",n.createElement("b",null,"GitHub star"),"."))),n.createElement(l.c,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",rel:"noopener",className:"bg-[#211d21] no-underline rounded-xl h-[54px] flex gap-2 pl-3.5 py-2.5 pr-2.5 items-center"},n.createElement(a.A9,null),n.createElement("div",{className:"font-bold font-montserrat text-base text-white"},"Star"),n.createElement("div",{className:"flex items-start h-full"},n.createElement(a.qq,{className:"mt-2 -mr-px"}),n.createElement("div",{className:"cloud rounded-md bg-white text-[#211d21] h-full flex items-center justify-center px-1.5 font-montserrat font-bold text-base"},`${e}`.padStart(4,"0")))))}},5524:(e,t,r)=>{"use strict";r.d(t,{c:()=>a});var n=r(1504),l=r(9184);const a=({children:e})=>n.createElement("div",{className:"flex flex-col md:flex-row items-center twitter-banner-bg px-5 md:px-10 py-5 rounded-xl gap-2"},n.createElement("div",{className:"flex flex-col justify-center items-center md:items-start gap-4"},n.createElement("div",{className:"text-center md:text-left"},n.createElement("h1",{className:"text-white font-montserrat text-2xl leading-tight mb-0"},"WANT TO HEAR THE LATEST DEVELOPMENTS ABOUT refine?"),n.createElement("p",{className:"mb-0 uppercase font-montserrat text-white"},"Follow us on Twitter.")),n.createElement(l.c,{to:"https://twitter.com/refine_dev"},n.createElement("button",{className:"bg-transparent text-white font-bold py-2 px-8 rounded-lg border-white cursor-pointer font-montserrat uppercase text-xl border-solid active:scale-[0.99]"},"Follow Us"))),n.createElement("div",{className:"w-[350px]"},e||n.createElement("blockquote",{className:"twitter-tweet","data-cards":"hidden"},n.createElement("p",{lang:"en",dir:"ltr"},"\ud83d\udca5New Blog Post!",n.createElement("br",null),n.createElement("br",null),"Animations in React with Framer Motion",n.createElement("a",{href:"https://t.co/7kWU1ROPYd"},"https://t.co/7kWU1ROPYd"),n.createElement("a",{href:"https://twitter.com/hashtag/opensource?src=hash&ref_src=twsrc%5Etfw"},"#opensource")," ",n.createElement("a",{href:"https://twitter.com/hashtag/ReactJS?src=hash&ref_src=twsrc%5Etfw"},"#ReactJS")),"\u2014 refine (@refine_dev)"," ",n.createElement("a",{href:"https://twitter.com/refine_dev/status/1565321477628510208?ref_src=twsrc%5Etfw"},"September 1, 2022"))))},3540:(e,t,r)=>{"use strict";r.d(t,{Wr:()=>o,ef:()=>u,qq:()=>m,A9:()=>p,cn:()=>h,gZ:()=>y,aA:()=>E,Wu:()=>k});var n=r(4971),l=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const o=e=>l.createElement("svg",c(function(e){for(var t=1;tl.createElement("svg",s(function(e){for(var t=1;tl.createElement("svg",function(e){for(var t=1;tl.createElement("svg",function(e){for(var t=1;tl.createElement("svg",g(function(e){for(var t=1;tl.createElement("svg",v(function(e){for(var t=1;tl.createElement("svg",j(function(e){for(var t=1;tl.createElement("svg",P(function(e){for(var t=1;t{"use strict";r.d(t,{q:()=>c,y:()=>o});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a="tutorial-checklist-store",c=n.createContext({store:{},toggle:()=>{}}),o=({children:e})=>{const[t,r]=n.useState((()=>{if("undefined"!=typeof window){const t=localStorage.getItem(a);if(t)try{const e=JSON.parse(t);if("object"==typeof e)return e}catch(e){return{}}}return{}})),o=n.useCallback(((e,t,n)=>{r((r=>{const a=function(e){for(var t=1;t{"undefined"!=typeof window&&localStorage.setItem(a,JSON.stringify(t))}),[t]),n.createElement(c.Provider,{value:{store:t,toggle:o}},e)}},1648:(e,t,r)=>{"use strict";r.d(t,{g5:()=>i,mk:()=>s,sH:()=>a});var n=r(1504),l=r(2288);r(5904);const a=["headless","antd","chakra-ui","mantine","mui"],c=e=>{if(a.includes(e))return e},o="tutorial-preferred-ui-package",i=n.createContext({preferred:"headless",current:void 0,setPreferred:()=>{}}),s=({children:e})=>{const{metadata:t}=(0,l.G)(),r=(e=>{const t=e.match(/\/(headless|antd|chakra-ui|mantine|mui)\//);if(t&&c(t[1]))return t[1]})(t.id),[a,s]=n.useState("headless");n.useEffect((()=>{if("undefined"!=typeof window){const e=localStorage.getItem(o),t=c(e);t&&s(t)}}),[]);const u=e=>{c(e)&&("undefined"!=typeof window&&localStorage.setItem(o,e),s(e))};return n.useEffect((()=>{r&&r!==a&&u(r)}),[r,a]),n.createElement(i.Provider,{value:{preferred:a,setPreferred:u,current:r||a}},e)}},9092:(e,t,r)=>{"use strict";r.d(t,{WO:()=>m,iC:()=>d});var n=r(1504),l=r(640),a=r(2064);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;t0}),s="tutorial-parameters",u=(e,t)=>{for(const r of t)if(e.includes(`/${r.value}`))return r.value},f=()=>{const{pathname:e}=(0,l.IT)();return n.useMemo((()=>(e=>{const t={};for(const[r,n]of Object.entries(a.Sm.parameterOptions)){const l=u(e,n);l&&(t[r]=l)}return t})(e)),[e])},m=({children:e})=>{const[t,r]=n.useState(void 0),[l,c]=n.useState(!1),u=f(),m=n.useCallback((e=>{r((t=>{try{localStorage.setItem(s,JSON.stringify(o({},t,e)))}catch(r){console.error(r)}return o({},t,e)}))}),[]);return n.useEffect((()=>{try{const e=localStorage.getItem(s);m(e?o({},a.Sm.defaultParameters,JSON.parse(e),u):o({},a.Sm.defaultParameters,u))}catch(e){m(o({},a.Sm.defaultParameters,u))}c(!0)}),[]),n.createElement(i.Provider,{value:{parameters:t,setParameters:m,settled:l,options:a.Sm.parameterOptions}},e)},d=()=>n.useContext(i)},3376:(e,t,r)=>{"use strict";r.d(t,{U:()=>p});var n=r(2288),l=r(1688),a=(r(1504),r(3908));function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;t{var e,t,r,c;const f=(0,n.G)(),{docs:p}=(0,l.E)(),{frontMatter:b,metadata:{id:g}}=f,{tutorial:{units:h}}=(0,u.e)(),{current:O}=(0,a.U)(),v=e=>{const t=e.id.split("/"),r=s.sH.filter((e=>e!==O));return!t.find((e=>r.includes(e)))},y=!!(null===(e=b)||void 0===e?void 0:e.tutorial),w=g.split("/")[1],j=function({frontMatter:e}){const{docs:t}=(0,l.E)(),{current:r}=(0,a.U)(),n=e=>{if(e.includes("{preferredUI}")||r)return e.replace("{preferredUI}",r)},c=e=>"/docs/"+e,{tutorial:s}=e,{next:u,prev:f}=null!=s?s:{},m=u?n(u):void 0,d=t[f?n(f):void 0],p=t[m];return{previous:d?i(o({},d),{permalink:c(d.id)}):void 0,next:p?i(o({},p),{permalink:c(p.id)}):void 0}}(f),E=Object.entries(p).filter((([e])=>e.startsWith("tutorial/"))).reduce(((e,[t,r])=>{const n=t.split("/")[1];return n.startsWith("partial-")||(e[n]||(e[n]=[]),e[n].push(r)),e}),{}),x=Object.entries(E).map((([e,r])=>d(m({unit:e,no:null===(t=h[e])||void 0===t?void 0:t.no,title:h[e].label},e===w&&y&&{current:!0}),{docs:r.map((e=>m({},e,e.id===g&&y&&{current:!0}))).filter(v)}))).sort(((e,t)=>(null===(r=e)||void 0===r?void 0:r.no)-(null===(c=t)||void 0===c?void 0:c.no)));return y?{id:g,isTutorial:y,unit:w,pagination:j,units:x}:void 0}},5560:(e,t,r)=>{"use strict";r.d(t,{c:()=>l});var n=r(1504);const l=(e,t="0px")=>{const[r,l]=n.useState(!1);return n.useEffect((()=>{var r;const n=null===(r=e)||void 0===r?void 0:r.current,a=new IntersectionObserver((([e])=>{l(e.isIntersecting)}),{rootMargin:t});return n&&a.observe(n),()=>{n&&a.unobserve(n)}}),[]),r}},8840:(e,t,r)=>{"use strict";r.d(t,{ot:()=>s,GC:()=>u});var n=r(1504);const l={items:[]};var a=r(3740);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;tt.filter((t=>t.unit===e));function u(){const{store:e,toggle:t}=n.useContext(a.q);return{items:n.useMemo((()=>{var t,r,n,a;return null!==(a=null===(n=l)||void 0===n||null===(t=(r=n.items).map)||void 0===t?void 0:t.call(r,(t=>{const{id:r}=t;return i(o({},t),{checklist:t.checklist.map((t=>{var n;return i(o({},t),{checked:null!==(n=e[r]?.[t.id])&&void 0!==n&&n})})).sort(((e,t)=>e.index-t.index))})})))&&void 0!==a?a:[]}),[e]),toggle:t}}},380:(e,t,r)=>{"use strict";r.d(t,{e:()=>l});var n=r(9936);r(1504);const l=()=>{const{siteConfig:{customFields:e}}=(0,n.c)(),{tutorial:t}=e;return t}},3908:(e,t,r)=>{"use strict";r.d(t,{U:()=>a});var n=r(1504),l=r(1648);const a=()=>n.useContext(l.g5)},7500:(e,t,r)=>{"use strict";r.d(t,{Ih:()=>o,oJ:()=>c,yg:()=>a});var n=r(4971),l=r(1504);const a="preferred-full-table-width",c=e=>l.createElement("div",{className:(0,n.c)("table-container")},l.createElement("table",e)),o=({children:e})=>l.createElement("div",{className:"table-full-width"},e)},3624:(e,t,r)=>{"use strict";r.d(t,{O:()=>h});var n=r(1504),l=r(4971),a=r(9184),c=r(844),o=r(8472),i=r(3652);function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const u=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const[t,r]=n.useState(!0),[l,a]=n.useState(!0),[c,o]=n.useState(!0),[i,s]=n.useState(!0),[u,f]=n.useState(!1);return n.useEffect((()=>{if("undefined"!=typeof window){const[t,n,l,c,i]=d[e.variant].map((e=>window.matchMedia(`(min-width: ${e}px)`))),u=e=>{r(e.matches)},m=e=>{a(e.matches)},p=e=>{o(e.matches)},b=e=>{s(e.matches)},g=e=>{f(e.matches)};return t.addEventListener("change",u),n.addEventListener("change",m),l.addEventListener("change",p),c.addEventListener("change",b),i.addEventListener("change",g),r(t.matches),a(n.matches),o(l.matches),s(c.matches),f(i.matches),()=>{t.removeEventListener("change",u),n.removeEventListener("change",m),l.removeEventListener("change",p),c.removeEventListener("change",b),i.removeEventListener("change",g)}}}),[]),{sm:t,md:l,lg:c,xl:i,xxl:u}};function b(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const h=()=>{const e=p(),t=(0,c.js)(),r=(0,o.Y5)();if(!t)return null;const[s,f]=(0,n.useMemo)((()=>{const r=t.length>3&&!e.sm;return[t.map(((e,t,n)=>g(function(e){for(var t=1;t0&&t"Examples"===e.label))&&n.createElement("div",{className:(0,l.c)("example-full-title","hidden","h-0 w-0","overflow-hidden"),"aria-hidden":!0},s.slice(2).map((e=>e.label)).join(" ")," Example"),n.createElement("ul",{className:(0,l.c)("breadcrumbs","flex flex-wrap items-center"),itemScope:!0,itemType:"https://schema.org/BreadcrumbList"},r&&n.createElement("li",{itemScope:!0,itemProp:"itemListElement",itemType:"https://schema.org/ListItem"},n.createElement(a.c,{href:"/docs",itemProp:"item"},n.createElement(u,{className:"text-gray-400 dark:text-gray-500"}),n.createElement("span",{className:"sr-only",itemProp:"name"},"Documentation"),n.createElement("meta",{itemProp:"position",content:"1"}))),s.map(((e,r)=>{const c=r===t.length-1;return n.createElement(n.Fragment,{key:r},n.createElement("li",{className:(0,l.c)("flex-row flex-nowrap",e.hideOnMobile?"hidden":"flex"),itemScope:!0,itemProp:"itemListElement",itemType:"https://schema.org/ListItem"},n.createElement(m,{className:"text-gray-400 dark:text-gray-500"}),e.href&&!c?n.createElement(a.c,{href:e.href,className:(0,l.c)("text-gray-500 dark:text-gray-400","text-base"),itemProp:"item",itemID:e.href},n.createElement("span",{itemProp:"name"},e.label)):n.createElement("span",{className:(0,l.c)(c?"text-gray-400 dark:text-gray-500":"text-gray-500 dark:text-gray-400"),itemProp:"item",itemID:"#"},n.createElement("span",{itemProp:"name"},e.label)),n.createElement("meta",{itemProp:"position",content:String(r+2)})),0===r&&s.length>1&&f?n.createElement("li",{className:(0,l.c)("flex flex-row flex-nowrap")},n.createElement(m,{className:"text-gray-400 dark:text-gray-500"}),n.createElement("div",{className:"text-gray-500 dark:text-gray-400"},"...")):null)}))))}},8692:(e,t,r)=>{"use strict";r.d(t,{l:()=>a});var n=r(1504),l=r(4971);const a=({version:e})=>n.createElement("div",{className:(0,l.c)("z-[1]","relative")},n.createElement("div",{className:(0,l.c)("absolute","-left-0.5","-top-0.5","blur","overflow-hidden","rounded-full","w-[calc(100%+0.25rem)] h-[calc(100%+0.25rem)]","z-[-1]")},n.createElement("div",{className:(0,l.c)("absolute","w-[150%] aspect-square h-auto","left-[-20%]","top-[-100px]","bg-landing-rainbow","animate-spin-slow","animation-slower-speed","animation-running","group-hover:animation-paused")})),n.createElement("div",{className:(0,l.c)("text-xm","py-[7px] px-4","rounded-[32px]","font-jetBrains-mono","border border-solid","border-orange-500 dark:border-green-800","text-gray-0 dark:text-gray-0","bg-orange-500 dark:bg-green-800")},e))},5636:(e,t,r)=>{"use strict";r.d(t,{C:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{G:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{A:()=>c,i:()=>o});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e){for(var t=1;tn.createElement("svg",a({width:12,height:12,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.053 0A10.904 10.904 0 0 0 3.89 2.685 11.34 11.34 0 0 0 .142 9.472a11.48 11.48 0 0 0 1.456 7.65 11.087 11.087 0 0 0 5.964 4.86c.556.103.752-.25.752-.547v-1.918C5.23 20.202 4.58 18 4.58 18a3.012 3.012 0 0 0-1.227-1.655c-.997-.692.081-.692.081-.692.35.05.683.18.975.382.293.202.536.469.713.78.15.278.352.523.595.721a2.312 2.312 0 0 0 2.618.221c.042-.57.283-1.105.678-1.509-2.454-.284-5.03-1.253-5.03-5.539a4.415 4.415 0 0 1 1.132-3.025A4.194 4.194 0 0 1 5.224 4.7s.928-.305 3.036 1.156c1.81-.508 3.72-.508 5.531 0 2.108-1.46 3.03-1.156 3.03-1.156.406.936.455 1.993.135 2.963a4.415 4.415 0 0 1 1.132 3.026c0 4.334-2.582 5.282-5.043 5.538.264.271.468.597.598.955.13.358.182.741.155 1.122V21.4c0 .367.196.65.759.54a11.093 11.093 0 0 0 5.88-4.878 11.481 11.481 0 0 0 1.419-7.6 11.34 11.34 0 0 0-3.71-6.746A10.907 10.907 0 0 0 11.053 0Z",fill:"currentColor"})),o=e=>n.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.066.001a11.91 11.91 0 0 1 7.745 2.966 12.326 12.326 0 0 1 4.032 7.33 12.46 12.46 0 0 1-1.54 8.245 12.088 12.088 0 0 1-6.406 5.314l-.105.037-.11.021c-.508.1-1.232.093-1.83-.422-.577-.498-.681-1.166-.681-1.565v-3.008l.004-.053a1.102 1.102 0 0 0-.062-.453 1.058 1.058 0 0 0-.235-.377l-.839-.86-.863.882a.802.802 0 0 0-.224.502l-.015.217v3.183c0 .434-.14 1.029-.628 1.492-.541.514-1.246.62-1.864.505l-.108-.02-.104-.035a12.082 12.082 0 0 1-6.498-5.296 12.457 12.457 0 0 1-1.58-8.298c.45-2.86 1.891-5.471 4.073-7.375A11.909 11.909 0 0 1 12.05.001h.016Zm-10.43 10.54a10.957 10.957 0 0 0 1.39 7.303 10.58 10.58 0 0 0 5.693 4.638c.53.099.717-.238.717-.522v-1.83c-.588.13-1.083.15-1.5.1a2.95 2.95 0 0 1-.542-.117 2.551 2.551 0 0 1-.422-.176 2.362 2.362 0 0 1-.82-.72c-.208-.294-.28-.535-.28-.535a2.876 2.876 0 0 0-1.17-1.58l-.016-.01c-.925-.65.093-.65.093-.65.106.015.21.038.313.068l.017.005a2.172 2.172 0 0 1 .962.603c.122.13.23.276.319.433a2.29 2.29 0 0 0 .68.775h.002s0 .001 0 0a2.211 2.211 0 0 0 2.385.124v-.014a2.302 2.302 0 0 1 .647-1.427 8.754 8.754 0 0 1-1.625-.328 4.865 4.865 0 0 1-1.416-.695 3.883 3.883 0 0 1-.432-.365c-.8-.786-1.328-2.002-1.328-3.899a4.214 4.214 0 0 1 1.08-2.887 4.003 4.003 0 0 1 .104-2.848s.886-.291 2.898 1.103a9.762 9.762 0 0 1 5.28 0c2.011-1.393 2.891-1.103 2.891-1.103.388.893.434 1.902.13 2.828a4.214 4.214 0 0 1 1.08 2.888c0 3.166-1.444 4.44-3.174 4.972a8.617 8.617 0 0 1-1.64.314 2.558 2.558 0 0 1 .699 1.425c.026.184.033.371.02.558v2.955c0 .35.187.62.724.515a10.588 10.588 0 0 0 5.613-4.656 10.958 10.958 0 0 0 1.354-7.254 10.824 10.824 0 0 0-3.541-6.439 10.41 10.41 0 0 0-6.77-2.592 10.408 10.408 0 0 0-6.837 2.563 10.824 10.824 0 0 0-3.578 6.478ZM16.374 7.8a8.003 8.003 0 0 0-.856.524l-.58.401-.679-.19a8.262 8.262 0 0 0-4.469 0l-.68.19-.58-.402a7.982 7.982 0 0 0-.846-.519c.019.186.059.37.12.549l.282.832-.588.653a2.714 2.714 0 0 0-.696 1.86v.024c0 1.724.503 2.513.998 2.937.563.481 1.397.736 2.476.86l1.567.182 1.954-.204c1.082-.112 1.912-.358 2.47-.833.492-.418.999-1.209.999-2.96v-.026a2.714 2.714 0 0 0-.696-1.86l-.582-.647.273-.826c.058-.178.096-.36.113-.545Z",clipRule:"evenodd"}))},2108:(e,t,r)=>{"use strict";r.d(t,{G:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{o:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{D:()=>f});var n=r(1504),l=r(4971),a=r(9184);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const o=e=>n.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const f=e=>{var{children:t,href:r,className:c,onClick:f,buttonClassname:m}=e,d=u(e,["children","href","className","onClick","buttonClassname"]);const p=r?a.c:"button";return n.createElement(p,s(function(e){for(var t=1;t{"use strict";r.d(t,{ED:()=>i,Ip:()=>s,_i:()=>m,Mx:()=>u,iG:()=>d,Yv:()=>o,Sm:()=>c,G_:()=>f});var n=r(2411);const l=JSON.parse('{"label":"Tutorial","path_prefix_segment":"tutorial","defaultParameters":{"language":"cpp"},"parameterOptions":{"language":[{"label":"C++","value":"cpp"},{"label":"Python","value":"py"},{"label":"Java","value":"java","status":"coming-soon"}]},"units":[{"title":"DSA","id":"dsa","items":["dsa/:language/index"]}]}');var a=r(1688);const c=l,o=(e,t)=>e.split("/").map((e=>{if(e.startsWith(":")){const r=e.slice(1);return t[r]}return e})).join("/"),i=(e,t)=>{for(const r of c.units)for(const n of r.items)if(e===o(n,t))return r},s=(e,t)=>{let r=!1;for(const n of c.units)for(const l of n.items){if(r)return l;o(l,t)===e&&(r=!0)}},u=(e,t)=>{let r=null;for(const n of c.units)for(const l of n.items){if(o(l,t)===e)return r;r=l}},f=()=>{const{docs:e}=(0,a.E)(),{versions:t}=(0,n.MP)("docusaurus-plugin-content-docs","tutorial"),r=t[0].docs;for(const n of r)n.title=e[n.id].title;return Object.fromEntries(r.map((e=>[e.id,e])))},m=(e,t)=>{const r=t[e];if(!r)throw new Error(`Cannot find item with id ${e}`);return r.path},d=(e,t)=>{const r=t[e];if(!r)throw new Error(`Cannot find doc with id ${e}`);return r.title}},1240:(e,t,r)=>{"use strict";r.d(t,{c:()=>C});var n=r(1504),l=r(4971);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{var a;const c=null!==(a=p[e])&&void 0!==a?a:()=>null;var o;const i=null!==(o=b[e])&&void 0!==o?o:"tex-inherit";var s;const u=null!==(s=g[e])&&void 0!==s?s:"bg-inherit";return"simple"===e?n.createElement(v,{type:e,title:t},r):n.createElement("div",{className:(0,l.c)("rounded-lg","admonition",`admonition-${e}`,"mb-6","refine-wider-container",u)},n.createElement("div",{className:(0,l.c)("border-l-4","border-l-solid","border-l-inherit","rounded-tl-lg","rounded-bl-lg","py-4","pr-4","pl-3","flex flex-col","gap-2 sm:gap-4")},(t||h[e])&&n.createElement("div",{className:(0,l.c)("flex","items-center","gap-2","text-xs sm:text-base 2xl:text-base 2xl:leading-7","font-semibold",i)},n.createElement(c,null),n.createElement("span",{className:"uppercase"},null!==(f=null!=t?t:h[e])&&void 0!==f?f:"")),n.createElement("div",{className:(0,l.c)("text-gray-0","text-base","last:mb-0")},r)));var f},v=({type:e,title:t,children:r})=>{var a;const c=null!==(a=b[e])&&void 0!==a?a:"tex-inherit";var o;const i=null!==(o=g[e])&&void 0!==o?o:"bg-inherit";return n.createElement("div",{className:(0,l.c)("rounded-lg","admonition",`admonition-${e}`,"mb-6",i)},n.createElement("div",{className:(0,l.c)("flex flex-col","gap-2",!t&&"pt-4")},t&&n.createElement("div",{className:(0,l.c)("px-4","pt-4","text-sm","leading-5","-mt-0.5",c)},n.createElement("span",{className:"font-semibold"},null!=t?t:""),n.createElement("span",null,":")),n.createElement("div",{className:(0,l.c)("text-gray-0","text-base","last:mb-0","px-4 pb-4","admonition-content")},r)))};function y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function w(e){for(var t=1;tn.isValidElement(e)&&"mdxAdmonitionTitle"===(null===(t=e.props)||void 0===t?void 0:t.mdxType))),a=n.createElement(n.Fragment,null,r.filter((e=>e!==l)));return{mdxAdmonitionTitle:l,rest:a}}(e.children);var l;return j(w({},e),{title:null!==(l=e.title)&&void 0!==l?l:t,children:r})}const k=e=>{const{children:t,type:r,title:l}=P(e);return n.createElement(O,{type:r,title:l},t)};function C(e){return"info-tip"===e.type?n.createElement(k,e):"additional"===e.type?n.createElement(k,j(w({},e),{type:"note",title:"ADDITIONAL INFO"})):"sourcecode"===e.type?n.createElement(k,j(w({},e),{icon:n.createElement(E,null),title:n.createElement("a",{href:e.path,target:"_blank",rel:"noreferrer",style:{marginLeft:"4px"}},"SOURCE CODE"),titleProps:{style:{marginBottom:"-4px"}}}),e.children):"create-example"===e.type?n.createElement(k,j(w({},e),{type:"caution",icon:n.createElement(x,null),title:n.createElement("span",{style:{marginLeft:"4px"}},"RUN IN YOUR LOCAL")}),e.children):n.createElement(n.Fragment,null,n.createElement(k,e))}},8560:(e,t,r)=>{"use strict";r.d(t,{s:()=>Z});var n=r(1504),l=r(8952),a=r(8796),c=r(5684),o=r(6564),i=r(2184),s=r(6616),u=r(5952),f=r(4971),m=r(1373);function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function b(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},a=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const g=e=>{var{as:t}=e,r=b(e,["as"]);return n.createElement(t,p(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const[r,l]=(0,n.useState)(!1),a=(0,n.useRef)(void 0),c=(0,n.useCallback)((()=>{try{navigator.clipboard.writeText(e).then((()=>{l(!0),a.current=window.setTimeout((()=>{l(!1)}),1e3)}))}catch(t){}}),[e]);return(0,n.useEffect)((()=>()=>window.clearTimeout(a.current)),[]),n.createElement("button",{type:"button","aria-label":r?"Copied!":"Copy code to clipboard",title:"Copy code to clipboard",className:(0,f.c)("w-6 h-6","flex justify-center items-center","bg-gray-200","dark:bg-gray-800","hover:bg-gray-300","dark:hover:bg-refine-react-dark-code","rounded","group","transition-[background-color] duration-200 ease-in-out"),onClick:c},n.createElement(O,{className:(0,f.c)("w-3 h-3","text-gray-500","dark:text-gray-400",r&&"rotate-[360deg]","transition-all duration-200 ease-in-out")}))};function y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const w=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const r=t?w:E;return n.createElement("button",{type:"button",onClick:()=>e(),className:(0,f.c)("w-6 h-6","flex justify-center items-center","bg-gray-200","dark:bg-gray-800","hover:bg-gray-300","dark:hover:bg-refine-react-dark-code","rounded","group","transition-[background-color] duration-200 ease-in-out"),"aria-label":"Toggle word wrap",title:"Toggle word wrap"},n.createElement(r,{className:(0,f.c)("w-3 h-3","text-gray-500","dark:text-gray-400",t&&"rotate-[360deg]","transition-all duration-200 ease-in-out")}))};function P(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function k(e){for(var t=1;tn.createElement("svg",k({xmlns:"http://www.w3.org/2000/svg",width:12,height:14,viewBox:"0 0 12 14",fill:"none"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M11 4.994V11.6A1.4 1.4 0 0 1 9.6 13H2.4A1.4 1.4 0 0 1 1 11.6V2.4A1.4 1.4 0 0 1 2.4 1h4.606a1.4 1.4 0 0 1 .99.41l2.594 2.594a1.4 1.4 0 0 1 .41.99ZM0 2.4A2.4 2.4 0 0 1 2.4 0h4.606a2.4 2.4 0 0 1 1.697.703l2.594 2.594A2.4 2.4 0 0 1 12 4.994V11.6A2.4 2.4 0 0 1 9.6 14H2.4A2.4 2.4 0 0 1 0 11.6V2.4ZM3.5 6a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5Zm0 2a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5Zm0 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3Z",clipRule:"evenodd"})),H=({children:e,icon:t=n.createElement(A,null)})=>n.createElement("div",{className:(0,f.c)("py-3","px-4","bg-gray-100 dark:bg-gray-700","text-gray-800","dark:text-gray-100","text-xs","flex items-center","gap-2","rounded-tl-lg","rounded-tr-lg")},t,e),S=({children:e,className:t="",metastring:r,title:l,showLineNumbers:a,language:d,icon:p,style:b})=>{const{prism:{defaultLanguage:h,magicComments:O}}=(0,c.y)();var y;const w=null!==(y=null!=d?d:(0,i.K2)(t))&&void 0!==y?y:h,j=(0,o.i)(),E=(0,s._)(),P=(0,i.QH)(r)||l,{lineClassNames:A,code:S}=(0,i.cj)(e,{metastring:r,language:w,magicComments:O}),N=null!=a?a:(0,i.OO)(r);return n.createElement(g,{as:"div",className:(0,f.c)("refine-common-code-block",w&&`language-${w}`,"rounded-lg","bg-gray-200","dark:bg-gray-900","border","border-gray-300","dark:border-0","mb-6","relative","refine-wider-container"),style:b},P&&n.createElement(H,{icon:p},P),n.createElement("div",{className:(0,f.c)("relative","pt-3","pb-0","not-prose")},n.createElement(m.cp,C(k({},m.wB),{theme:j,code:S,language:null!=w?w:"text"}),(({className:e,tokens:t,getLineProps:r,getTokenProps:l})=>n.createElement("pre",{tabIndex:0,ref:E.codeBlockRef,className:(0,f.c)(e,"bg-transparent","!mt-0","!mb-0","m-0","px-0","pt-0","font-jetBrains-mono","pb-3")},n.createElement("code",{className:(0,f.c)("font-[inherit]","bg-transparent","inline-block","min-w-full")},t.map(((e,t)=>n.createElement(u.c,{key:t,line:e,getLineProps:r,getTokenProps:l,classNames:(0,f.c)(A[t],"px-4","text-xs sm:text-sm 2xl:text-sm"),showLineNumbers:N})))))))),n.createElement("div",{className:(0,f.c)("absolute",P?"top-2 right-2":"top-3 right-3","flex items-center gap-2")},(E.isEnabled||E.isCodeScrollable)&&n.createElement(x,{onClick:E.toggle,isEnabled:E.isEnabled}),n.createElement(v,{className:(0,f.c)(),code:S})))};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}function D(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},a=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const Z=e=>{var{children:t}=e,r=D(e,["children"]);const c=(0,l.c)(),o=function(e){return n.Children.toArray(e).some((e=>(0,n.isValidElement)(e)))?e:Array.isArray(e)?e.join(""):e}(t),i="string"==typeof o?S:a.c;return n.createElement(i,function(e){for(var t=1;t{"use strict";r.d(t,{c:()=>H});var n=r(1504),l=r(8560),a=r(4971),c=r(9936),o=r(7748),i=r.n(o),s=r(1688);const u="playgroundPreview_jwe9";function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function m({children:e,minHeight:t,url:r="http://localhost:3000",hasBottom:l=!1}){return n.createElement("div",{className:(0,a.c)("flex","flex-col","h-full")},n.createElement("div",{className:(0,a.c)("flex-shrink-0","rounded-tl-lg","rounded-tr-lg","border","border-gray-300 dark:border-gray-700","px-4 py-3","flex items-center justify-start","gap-2","bg-gray-100 dark:bg-gray-700","relative","text-gray-800 dark:text-gray-100","border-b-0")},n.createElement(d,{className:"w-4 h-4"}),n.createElement("div",{className:(0,a.c)("text-xs")},`${r}`.replace(/^http(s?):\/\//,""))),n.createElement("div",{className:(0,a.c)("flex-1","overflow-hidden","bg-gray-100 dark:bg-gray-700","border border-gray-300 dark:border-gray-700",!l&&"rounded-bl-lg rounded-br-lg",l&&"border-b-gray-300 dark:border-b-gray-900",l&&"border-b"),style:{minHeight:t}},e))}const d=e=>n.createElement("svg",function(e){for(var t=1;t{const[l,a]=n.useState(e),[c]=n.useState(t);n.useEffect((()=>{!l&&e&&a(!0)}),[e]),n.useEffect((()=>{if(c){const e=setTimeout((()=>{a(!0)}),c);return()=>clearTimeout(e)}}),[c]);const o=n.useMemo((()=>l&&"function"==typeof r?r():null),[l]);if(void 0!==r&&"function"!=typeof r)throw new Error("Conditional component requires a function as a child");return o};var g=r(9128),h=r(3296);function O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.g.Buffer=r.g.Buffer||h.Sn;const v=({query:e,code:t,css:r})=>{const{siteConfig:{customFields:l}}=(0,c.c)(),[a,o]=n.useState(void 0),s=n.useCallback((async t=>{if("undefined"!=typeof window&&window.Worker){const n=new Worker(`${location.protocol}//${location.host}/workers/lz-worker.js`);n.onmessage=function({data:t}){t.compressed&&o(`${l.LIVE_PREVIEW_URL}?code=${t.compressed}${r?`&css=${i().encode(r)}`:""}${e?`${e}`:""}`),n.terminate()},n.postMessage({code:t})}}),[e]);return n.useEffect((()=>{s(t)}),[t,s]),a?n.createElement("iframe",{loading:"lazy",src:a,width:"100%",height:"100%",style:{position:"absolute",left:0,top:0,width:"100%",height:"100%"}}):null},y=n.memo(v,((e,t)=>e.code===t.code&&e.query===t.query&&e.css===t.css)),w=e=>n.createElement("svg",function(e){for(var t=1;t{l?(i(!1),setTimeout((()=>{c((e=>!e)),setTimeout((()=>{i(!0)}),300)}),100)):(i(!1),c((e=>!e)),setTimeout((()=>{i(!0)}),300))}},n.createElement(w,{className:(0,a.c)(l&&"rotate-180","transition-transform","duration-200","ease-in-out")}),n.createElement("span",{className:(0,a.c)("text-base","block","overflow-hidden","h-6")},n.createElement("span",{className:(0,a.c)("block",l&&"opacity-0","transition-opacity duration-200 ease-in-out")},"Show Code"),n.createElement("span",{className:(0,a.c)("block","transition-transform duration-200 ease-in-out","bg-gray-100 dark:bg-gray-700",l&&"-translate-y-6")},"Hide Code"))),n.createElement("div",{className:(0,a.c)("rounded-bl-lg","rounded-br-lg"),style:{maxHeight:l?o?"unset":"100vh":"0px",transition:"0.3s all ease-in-out",overflow:"hidden"},ref:r},n.createElement(H,{language:"tsx",style:{marginBottom:0,marginRight:"0",marginLeft:"0",borderTopLeftRadius:"0",borderTopRightRadius:"0",borderBottomLeftRadius:"0.5rem",borderBottomRightRadius:"0.5rem"}},t)))}const E=({children:e,disableScroll:t,previewHeight:r,hideCode:l=!1,url:o="http://localhost:3000",previewOnly:i=!1,tailwind:f=!1})=>{const d=String(e),{shared:h,sharedCss:O}=(0,g.UF)(),{visible:v}=(e=>{const t="// visible-block-start";let r=e.indexOf(t);r=r>0?r+22:0;let n=e.indexOf("// visible-block-end");n=n>0?n:e.length;const l=e.slice(0,r),a=e.slice(r,n).trimEnd().trimStart(),c=e.slice(n);return{visible:a,join:e=>`${l}\n${e}\n${c}`}})(`\n ${null!=h?h:""}\n ${d}\n `.replace(/\n$/,"")),w=n.useRef(null),E=(0,p.c)(w),{siteConfig:{customFields:x}}=(0,c.c)(),{isLast:P}=(0,s.E)();return n.createElement("div",{className:(0,a.c)("overflow-hidden","mb-6","refine-wider-container")},n.createElement(n.Fragment,null,n.createElement(m,{url:o,hasBottom:!i},n.createElement("div",{className:(0,a.c)(u,"live-editor-wrapper"),style:{maxHeight:r,minHeight:r,overflow:t?"hidden":void 0,position:"relative"},ref:w},P?n.createElement(b,{if:E,maxWait:3e3},(()=>n.createElement(y,{code:`\n${null!=h?h:""}\n${d}\n `,css:O,query:`${t?"&disableScroll=true":""}${f?"&tailwind=true":""}`}))):n.createElement("div",{style:{height:"100%",minHeight:"inherit",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"1.25rem"}},n.createElement("span",null,"Live previews only work with the latest documentation.")))),!i&&n.createElement(j,{hidden:l,code:v})))},x=n.memo(E,((e,t)=>String(e.children)===String(t.children))),P=({children:e})=>{const{setShared:t}=(0,g.UF)();return n.useEffect((()=>(t(String(e)),()=>{t(void 0)})),[e]),null},k=n.memo(P,((e,t)=>String(e.children)===String(t.children))),C=({children:e})=>{const{setSharedCss:t}=(0,g.UF)();return n.useEffect((()=>(t(String(e)),()=>{t(void 0)})),[e]),null},A=n.memo(C,((e,t)=>String(e.children)===String(t.children)));function H(e){var t,r;return e.live&&e.live&&(null===(r=e.className)||void 0===r||null===(t=r.includes)||void 0===t?void 0:t.call(r,"language-css"))?n.createElement(A,e):e.shared&&e.live?n.createElement(k,e):e.live?n.createElement(x,e):n.createElement(l.s,e)}},8492:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>ue});var n=r(1504),l=r(2288),a=r(4464),c=r(1688),o=r(4971),i=r(5628),s=r(9040),u=r(56);function f({children:e}){const t=function(){const{metadata:e,frontMatter:t,contentTitle:r}=(0,l.G)();return t.hide_title||void 0!==r?null:e.title}();return n.createElement("div",{className:(0,o.c)(i.W.docs.docMarkdown,"markdown")},t&&n.createElement("header",null,n.createElement(s.c,{as:"h1"},t)),n.createElement(u.c,null,e))}var m=r(5792),d=r(3652),p=r(8092);const b={tags:"tags_jXut",tag:"tag_QGVx"};function g({tags:e}){return n.createElement(n.Fragment,null,n.createElement("b",null,n.createElement(d.c,{id:"theme.tags.tagsListLabel",description:"The label alongside a tag list"},"Tags:")),n.createElement("ul",{className:(0,o.c)(b.tags,"padding--none","margin-left--sm")},e.map((({label:e,permalink:t})=>n.createElement("li",{key:t,className:b.tag},n.createElement(p.c,{label:e,permalink:t}))))))}function h(e){return n.createElement("div",{className:(0,o.c)(i.W.docs.docFooterTagsRow,"row margin-bottom--sm")},n.createElement("div",{className:"col"},n.createElement(g,e)))}function O({editUrl:e,lastUpdatedAt:t,lastUpdatedBy:r,formattedLastUpdatedAt:l}){return n.createElement("div",{className:(0,o.c)("flex items-start justify-between content-md:items-center","flex-col content-md:flex-row","gap-4")},n.createElement("div",{className:(0,o.c)("rounded-2xl border dark:border-gray-700 border-gray-300 p-2")},n.createElement("a",{href:e,target:"_blank",rel:"noreferrer noopener",className:(0,o.c)("text-refine-link-light dark:text-refine-link-dark","text-xs content-4xl:text-sm","flex gap-2 items-center")},n.createElement(m.A,{className:"w-4 h-4"})," Edit this page")),n.createElement("div",{className:(0,o.c)("text-gray-500","text-xs leading-4 content-4xl:text-base content-4xl:leading-6")},n.createElement("span",null,"Last updated on "),n.createElement("span",null,l," "),n.createElement("span",null,"by ",r)))}const v=()=>{const{metadata:e}=(0,l.G)(),{editUrl:t,lastUpdatedAt:r,formattedLastUpdatedAt:a,lastUpdatedBy:c,tags:i}=e,s=i.length>0,u=!!(t||r||c);return s||u?n.createElement("footer",{className:(0,o.c)("flex","flex-col","gap-6","mt-16","mb-6")},s&&n.createElement(h,{tags:i}),u&&n.createElement(O,{editUrl:t,lastUpdatedAt:r,lastUpdatedBy:c,formattedLastUpdatedAt:a})):null};var y=r(6008),w=r(3376);function j(){const{metadata:e}=(0,l.G)(),t=(0,w.U)(),r=!!t,a=r?t.pagination.previous:e.previous,c=r?t.pagination.next:e.next;return n.createElement(y.c,{previous:a,next:c})}var E={"":["",""],_:["",""],"*":["",""],"~":["",""],"\n":["
"]," ":["
"],"-":["
"]};function x(e){return e.replace(RegExp("^"+(e.match(/^(\t| )+/)||"")[0],"gm"),"")}function P(e){return(e+"").replace(/"/g,""").replace(//g,">")}function k(e,t){var r,n,l,a,c,o=/((?:^|\n+)(?:\n---+|\* \*(?: \*)+)\n)|(?:^``` *(\w*)\n([\s\S]*?)\n```$)|((?:(?:^|\n+)(?:\t| {2,}).+)+\n*)|((?:(?:^|\n)([>*+-]|\d+\.)\s+.*)+)|(?:!\[([^\]]*?)\]\(([^)]+?)\))|(\[)|(\](?:\(([^)]+?)\))?)|(?:(?:^|\n+)([^\s].*)\n(-{3,}|={3,})(?:\n+|$))|(?:(?:^|\n+)(#{1,6})\s*(.+)(?:\n+|$))|(?:`([^`].*?)`)|( \n\n*|\n{2,}|__|\*\*|[_*]|~~)/gm,i=[],s="",u=t||{},f=0;function m(e){var t=E[e[1]||""],r=i[i.length-1]==e;return t?t[1]?(r?i.pop():i.push(e),t[0|r]):t[0]:e}function d(){for(var e="";i.length;)e+=m(i[i.length-1]);return e}for(e=e.replace(/^\[(.+?)\]:\s*(.+)$/gm,(function(e,t,r){return u[t.toLowerCase()]=r,""})).replace(/^\n+|\n+$/g,"");l=o.exec(e);)n=e.substring(f,l.index),f=o.lastIndex,r=l[0],n.match(/[^\\](\\\\)*\\$/)||((c=l[3]||l[4])?r='
"+x(P(c).replace(/^\n+|\n+$/g,""))+"
":(c=l[6])?(c.match(/\./)&&(l[5]=l[5].replace(/^\d+/gm,"")),a=k(x(l[5].replace(/^\s*[>*+.-]/gm,""))),">"==c?c="blockquote":(c=c.match(/\./)?"ol":"ul",a=a.replace(/^(.*)(\n|$)/gm,"
  • $1
  • ")),r="<"+c+">"+a+""):l[8]?r=''+P(l[7])+'':l[10]?(s=s.replace("",''),r=d()+""):l[9]?r="":l[12]||l[14]?r="<"+(c="h"+(l[14]?l[14].length:l[13]>"="?1:2))+">"+k(l[12]||l[15],u)+"":l[16]?r=""+P(l[16])+"":(l[17]||l[1])&&(r=m(l[17]||"--"))),s+=n,s+=r;return(s+e.substring(f)+d()).replace(/^\n+|\n+$/g,"")}var C=r(1080),A=r(640),H=r(1648),S=r(8840),N=r(3908);function D(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Z(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const L=({unit:e,isSelected:t,width:r="100px",height:l="100px"})=>{const{units:a}=(0,w.U)(),{items:c}=(0,S.GC)(),{current:i}=(0,N.U)(),s=[...(0,S.ot)(e,c)].filter((e=>(e=>{const t=e.id.split("/"),r=H.sH.filter((e=>e!==i));return!t.find((e=>r.includes(e)))})(e))).sort(((e,t)=>{var r,n;return null===(n=`${e.title}`)||void 0===n||null===(r=n.localeCompare)||void 0===r?void 0:r.call(n,`${t.title}`)})),u=s.map((e=>{const t=e.checklist.length>0&&e.checklist.every((e=>e.checked)),r=e.checklist.length>0&&e.checklist.some((e=>e.checked));return Z(function(e){for(var t=1;tt.unit===e)),m=s.length,d=2*Math.PI*45,p=360/m,b=d/360*p,g=d/360*(90-p)-10,h=b-20,O=`${h} 20`,v=`${h} ${d-b+20}`,y=g,j=e=>(e=>b*e*-1+b)(e)+g;return n.createElement("svg",{width:r,height:l,viewBox:"0 0 100 100"},n.createElement("circle",{className:"empty-dashes stroke-gray-500 dark:stroke-gray-600",cx:50,cy:50,r:45,fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:6,strokeDasharray:O,strokeDashoffset:y}),u.map(((e,t)=>"completed"===e.status?n.createElement("circle",{key:t,className:"filled-dash",cx:50,cy:50,r:45,fill:"none",strokeLinecap:"round",strokeLinejoin:"round",stroke:"#48bb78",strokeWidth:6,strokeDasharray:v,strokeDashoffset:j(t)}):null)),n.createElement("text",{x:"50%",y:"54%",dominantBaseline:"middle",textAnchor:"middle",fill:"currentColor",className:(0,o.c)("text-[2.5rem]",{"text-gray-500 dark:text-gray-400":!t,"text-gray-800 dark:text-gray-0":t})},f.no))};function z(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function M(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const B=({id:e,width:t="100px",height:r="100px",unitNo:l,isCurrent:a})=>{var c;const{items:i}=(0,S.GC)(),s=((null===(c=i.find((t=>t.id===e)))||void 0===c?void 0:c.checklist)||[]).map((e=>{const t=e.checked;return M(function(e){for(var t=1;t(e=>d*e*-1+d)(e)+p;return n.createElement("svg",{width:t,height:r,viewBox:"0 0 100 100"},n.createElement("circle",{className:(0,o.c)("empty-dashes","text-gray-300 dark:text-gray-500"),cx:50,cy:50,r:45,fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:6,strokeDasharray:g,strokeDashoffset:O,stroke:"currentColor"}),l&&n.createElement("text",{x:"50%",y:"54%",dominantBaseline:"middle",textAnchor:"middle",fill:"currentColor",className:(0,o.c)("text-[2.5rem]",{"text-gray-500 dark:text-gray-400":!a,"text-gray-800 dark:text-gray-0":a})},l),s.map(((e,t)=>"completed"===e.status?n.createElement("circle",{key:t,className:"filled-dash",cx:50,cy:50,r:45,fill:"none",strokeLinecap:"round",strokeLinejoin:"round",stroke:"#48bb78",strokeWidth:6,strokeDasharray:h,strokeDashoffset:v(t)}):null)))};function R(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function T(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function G(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},a=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const V={headless:"Headless",antd:"Ant Design",mui:"Material UI",mantine:"Mantine","chakra-ui":"Chakra UI"},F=e=>{var{id:t,isCurrent:r,className:l,dangerouslySetInnerHTML:a}=e,c=G(e,["id","isCurrent","className","dangerouslySetInnerHTML"]);const i=(0,C.c)(`/docs/${t}`,{forcePrependBaseUrl:!0});return n.createElement("a",T(function(e){for(var t=1;t{var t;const r=/^\d+\.\s?/g;null===(t=e.match(r))||void 0===t||t[0];return`${k(e.replace(r,""))}`},W=()=>{const{preferred:e}=(0,N.U)();return n.createElement("div",{className:"mt-4"},n.createElement("div",{className:(0,o.c)("rounded"," bg-gray-50 dark:bg-gray-800","p-4")},n.createElement("div",{className:(0,o.c)("font-semibold text-sm leading-6")},"Current Framework"),n.createElement("div",{className:(0,o.c)("flex items-center justify-between","pt-3")},n.createElement("div",{className:"flex items-center gap-2"},n.createElement("img",{src:`https://refine.ams3.cdn.digitaloceanspaces.com/website/static/icons/colored/ui-framework-${e}.svg`,className:"h-auto w-6"}),n.createElement("span",{className:"text-sm leading-6"},V[e])),n.createElement("div",null,n.createElement(F,{id:"tutorial/introduction/select-framework",className:(0,o.c)("underline","text-sm","text-refine-link-light","dark:text-refine-link-dark")},"Change")))))},I=({item:e,activeId:t,setActiveId:r})=>{const l=(0,A.IT)(),{hash:a}=((0,A.Uz)(),l);return n.useEffect((()=>{const t=document.getElementById(e.id);if(t){const n=new IntersectionObserver((t=>{t.forEach((t=>{if(t.isIntersecting){const t=`#${e.id}`;t!==a&&(r(e.id),window.history.replaceState({},"",t))}}))}),{rootMargin:"0px 0px -80% 0px"});return n.observe(t),()=>{n.unobserve(t)}}}),[e.id]),n.createElement("a",{href:`#${e.id}`,dangerouslySetInnerHTML:{__html:e.value},className:(0,o.c)("text-gray-800 dark:text-gray-0 hover:!text-refine-link active:!text-refine-link dark:hover:!text-refine-link-dark dark:active:!text-refine-link-dark",t===e.id&&"!text-refine-link-light dark:!text-refine-link-dark")})},U=()=>{var e,t,r,a,c,i,s,u,f,m;const{toc:d,metadata:{id:p}}=(0,l.G)(),b=(0,w.U)(),{hash:g}=(0,A.IT)(),h=`${g}`.replace("#",""),[O,v]=(0,n.useState)(b.unit),[y,j]=n.useState(h);n.useEffect((()=>{j(h)}),[h]);const E=e=>n.createElement("li",{key:e.id,style:{marginLeft:12*(e.level-2)},className:"mb-1"},n.createElement(I,{item:e,activeId:y,setActiveId:j})),x=e=>{const t=Y(e.title),r=e.title.split(".")[0];return n.createElement("li",{key:e.id,className:(0,o.c)("flex flex-row items-start gap-2","pb-4")},n.createElement("div",{className:(0,o.c)("mt-0.5","h-8 w-8","flex-shrink-0")},n.createElement(B,{id:e.id,width:"100%",height:"100%",unitNo:isNaN(Number(r))?void 0:r,isCurrent:e.current})),n.createElement("div",{className:"flex flex-col gap-2 pt-[6px]"},n.createElement(F,{id:e.id,isCurrent:e.current,className:(0,o.c)("leading-[22px]","no-underline",{"text-gray-900 dark:text-white":p===e.id,"hover:cursor-default hover:no-underline hover:text-gray-900":e.current}),dangerouslySetInnerHTML:{__html:t}}),e.current&&(0===d.length?null:n.createElement("ul",{className:"mt-1 list-none pl-0"},d.map(E)))))},P=null===(r=b)||void 0===r||null===(e=(t=r.units).find)||void 0===e?void 0:e.call(t,(e=>e.unit===O)),k=1===(null===(a=null===(i=null===(s=b)||void 0===s?void 0:s.units)||void 0===i||null===(c=i.find)||void 0===c?void 0:c.call(i,(e=>e?.unit===b?.unit)))||void 0===a?void 0:a.no);return n.createElement("div",{className:(0,o.c)("tutorial-tracker","max-h-[calc(100vh-6rem]")},n.createElement("div",{className:(0,o.c)("tutorial-units","mb-1 px-2","flex items-center gap-0.5")},null===(m=b)||void 0===m||null===(u=(f=m.units).map)||void 0===u?void 0:u.call(f,(e=>n.createElement("button",{key:e.no,type:"button","data-unit-title":e.title,"data-unit-no":e.no,"data-unit-current":e.unit===O?"true":void 0,onClick:()=>v(e.unit),className:(0,o.c)("tutorial-unit",e.unit===O&&"bg-gradient-to-t from-gray-50 dark:from-gray-700 from-40% to-gray-200 dark:to-gray-600","-mb-1","flex items-center justify-center","w-[40px] h-[44px]","cursor-pointer","rounded-tl-[24px] rounded-tr-[24px]","border-none","font-semibold")},n.createElement(L,{unit:e.unit,width:"32px",height:"32px",isSelected:e.unit===O}))))),n.createElement("div",{className:(0,o.c)("rounded","pt-6 px-3 pb-2","bg-gray-50 dark:bg-gray-700")},n.createElement("div",{className:(0,o.c)("text-sm")},(e=>{var t,r,l,a,c;return n.createElement("div",null,n.createElement("ul",{className:(0,o.c)("list-none","pl-0")},null===(c=e)||void 0===c||null===(t=(r=null===(l=(a=c.docs).sort)||void 0===l?void 0:l.call(a,((e,t)=>`${e.title}`?.localeCompare(`${t.title}`)))).map)||void 0===t?void 0:t.call(r,x)))})(P))),!k&&"tutorial/introduction/select-framework"!==p&&n.createElement(W,null))};var X=r(3624),J=r(6280);const K=({path:e})=>{const t=e.startsWith("https://")?e:`https://github.com/PrepVerse/PrepVerse/blob/master${e.startsWith("/")?"":"/"}${e}`;return n.createElement("a",{href:t,target:"_blank",rel:"noreferrer noopener",className:(0,o.c)("text-xs","font-mono","text-gray-0","bg-refine-purple","py-2 pl-2 pr-4","rounded-[32px]","flex gap-2 items-center","hover:no-underline hover:text-gray-0")},n.createElement(m.A,{className:"w-4 h-4"}),n.createElement("span",null,"Source Code"))};var Q=r(2108);const q=()=>n.createElement("div",{className:(0,o.c)("text-xs","font-mono","text-gray-0","bg-refine-indigo","py-2 pl-2 pr-4","rounded-[32px]","flex gap-2 items-center")},n.createElement(Q.G,{className:"w-4 h-4"}),n.createElement("span",null,"Swizzle Ready")),_=({id:e,value:t,level:r,activeId:l,onIdChange:a})=>(n.useEffect((()=>{const t=document.getElementById(e);if(t){const r=new IntersectionObserver((t=>{t.forEach((t=>{t.isIntersecting&&a(e)}))}),{rootMargin:"0px 0px -80% 0px"});return r.observe(t),()=>{r.unobserve(t)}}}),[e]),n.createElement("a",{href:`#${e}`,className:(0,o.c)("refine-toc-item","py-2 pr-4",2===r&&"pl-4",3===r&&"pl-6",4===r&&"pl-8",5===r&&"pl-8",l===e&&"bg-refine-blue-2-light dark:bg-gray-700/80 dark:bg-opacity-10",l===e&&"text-refine-react-light-link dark:text-refine-react-dark-link",l!==e&&"text-refine-600 dark:text-refine-300",l!==e&&"hover:bg-gray-100 dark:hover:bg-gray-700",l!==e&&"hover:text-gray-600 dark:hover:text-gray-300","rounded-[18px]","block","text-sm","no-underline hover:no-underline","transition-colors duration-200 ease-in-out"),dangerouslySetInnerHTML:{__html:t}})),$=()=>{const e=(0,A.IT)(),{toc:t,hasTOC:r,activeId:l,setActiveId:a}=((0,A.Uz)(),ee()),c=t=>{var r;t!==`${null!==(r=e.hash)&&void 0!==r?r:""}`.replace("#","")&&(a(t),window.history.replaceState({},"",`#${t}`))};return n.createElement("div",{className:(0,o.c)("hidden xl:block","w-full","sticky right-0 top-[65px]","max-w-[260px]","overflow-auto","h-[calc(100vh-65px)]","px-4","py-4","border-l border-l-gray-300 dark:border-l-gray-700",!r&&"invisible")},n.createElement("ul",null,t.filter((e=>e.level<5)).map((e=>n.createElement("li",{key:e.id},n.createElement(_,{id:e.id,value:e.value,activeId:l,level:e.level,onIdChange:c}))))))},ee=()=>{var e;const{hash:t}=(0,A.IT)(),r=`${t}`.replace("#",""),[a,c]=n.useState(r);n.useEffect((()=>{c(r)}),[r]);const{toc:o}=(0,l.G)(),i=(null===(e=o)||void 0===e?void 0:e.length)>0;return{toc:o,activeId:a,setActiveId:c,hasTOC:i}};var te=r(7008),re=r(2424),ne=r(4604);const le=()=>{const{hasTOC:e,activeId:t,toc:r}=ee();return e?n.createElement("div",{className:(0,o.c)("xl:hidden block w-full mb-10","max-w-screen-content-sm")},n.createElement(te.C,null,(({open:e})=>n.createElement("div",{className:(0,o.c)("rounded-lg","border gray-300 dark:border-gray-700","bg-gray-100 dark:bg-gray-700")},n.createElement(te.C.Button,{className:(0,o.c)("w-full","flex items-center gap-2","px-2 py-2")},n.createElement(ne.o,{className:(0,o.c)("h-5 w-5","text-gray-500","transition-transform duration-200 ease-in-out",{"transform -rotate-90":!e})}),n.createElement("span",{className:(0,o.c)("text-base","text-gray-800 dark:text-gray-100")},"On this page")),n.createElement(re.O,{show:e,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-y-95",enterTo:"transform opacity-100 scale-y-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-y-100",leaveTo:"transform opacity-0 scale-y-95"},n.createElement(te.C.Panel,{className:"h-[328px] rounded-bl-lg rounded-br-lg overflow-auto bg-gray-0 dark:bg-gray-800"},n.createElement("ul",{className:"p-4"},r.map((({id:e,value:r,level:l})=>{const a=t===e;return n.createElement("a",{key:e,href:`#${e}`,className:(0,o.c)("refine-toc-item",2===l&&"pl-4",3===l&&"pl-6",4===l&&"pl-8","py-2 pr-4","rounded-[18px]","transition-colors duration-200 ease-in-out","block","text-sm","leading-5","no-underline hover:no-underline",{"text-gray-800 dark:text-gray-300":!a,"text-refine-react-light-link dark:text-refine-react-dark-link":a,"bg-refine-blue-2-light dark:bg-refine-blue dark:bg-opacity-10":a,"hover:bg-gray-100 dark:hover:bg-gray-700":!a,"hover:text-gray-800 dark:hover:text-gray-300":!a}),dangerouslySetInnerHTML:{__html:r}})}))))))))):null};var ae=r(8692),ce=r(940),oe=r(7500);const ie=({children:e})=>{var t,r,a;const i=(()=>{var e;const t=(0,w.U)(),{frontMatter:r,toc:a}=(0,l.G)(),c=r.hide_table_of_contents;return{hidden:c,tutorialTOC:!c&&a.length>0||(null===(e=t)||void 0===e?void 0:e.isTutorial)?n.createElement(U,null):void 0}})(),s=(0,w.U)(),{frontMatter:{swizzle:u,source:m}}=(0,l.G)(),{badge:d,label:p}=(0,c.E)(),b=n.useRef(null);return n.useLayoutEffect((()=>{const e=b.current;if(e){const t=e.getBoundingClientRect().width;e.style.setProperty(`--${oe.yg}`,`${t}px`)}const t=()=>{const t=e.getBoundingClientRect().width;e.style.setProperty(`--${oe.yg}`,`${t}px`)};return window.addEventListener("resize",t),()=>{window.removeEventListener("resize",t)}}),[b]),n.createElement(n.Fragment,null,n.createElement("div",{ref:b,className:(0,o.c)("flex-1","flex flex-col","items-center justify-start","px-4 sm:px-0 py-4 sm:py-14","relative","w-full")},n.createElement("div",{className:(0,o.c)("max-w-screen-content w-full")},n.createElement("div",{className:(0,o.c)("flex flex-col","mb-6 sm:mb-10")},(null===(t=s)||void 0===t?void 0:t.isTutorial)?null:n.createElement(X.O,null),n.createElement("div",{className:(0,o.c)("flex","flex-row","gap-2","items-center")},d&&n.createElement(ae.l,{version:p}),u&&n.createElement(q,null),m&&n.createElement(K,{path:m}))),(null===(r=s)||void 0===r?void 0:r.isTutorial)?n.createElement("div",{className:(0,o.c)("my-4","xl:hidden block")},i.tutorialTOC):n.createElement(le,null),n.createElement("div",{className:(0,o.c)("refine-prose")},n.createElement(f,null,e)),n.createElement(v,null),n.createElement(J.c,null)),n.createElement("div",{className:(0,o.c)("max-w-screen-content","w-full")},n.createElement(j,null),n.createElement(ce.c,null))),(null===(a=s)||void 0===a?void 0:a.isTutorial)?n.createElement("div",{className:(0,o.c)("mt-16","hidden xl:block","sticky top-[120px]","w-[280px]","px-3")},i.tutorialTOC):n.createElement($,null))};var se=r(3740);const ue=e=>{const t=e.content;return n.createElement(l.A,{content:e.content},n.createElement(H.mk,null,n.createElement(se.y,null,n.createElement(a.c,null),n.createElement(ie,null,n.createElement(t,null)))))}},6008:(e,t,r)=>{"use strict";r.d(t,{c:()=>i});var n=r(1504),l=r(4971),a=r(9184),c=r(5636),o=r(6112);const i=e=>{const{previous:t,next:r}=e;return n.createElement("div",{className:(0,l.c)("grid grid-cols-2","gap-4 2xl:gap-8","w-full")},t&&n.createElement(a.c,{href:t.permalink,className:(0,l.c)("group","flex-1","p-4","rounded-lg","border border-gray-300 dark:border-gray-600","hover:bg-gray-100 hover:dark:bg-gray-700","hover:no-underline")},n.createElement("div",{className:"flex-1 flex items-start justify-center flex-col gap-2 text-left"},n.createElement("div",{className:(0,l.c)("flex items-center gap-2","text-base","text-gray-800 dark:text-gray-100")},n.createElement("span",{className:(0,l.c)("flex items-center justify-center","w-6 h-6")},n.createElement(c.C,{className:"text-gray-400 dark:text-gray-500"})),"Previous"),n.createElement("span",{className:(0,l.c)("text-base","text-refine-react-light-link dark:text-refine-react-dark-link","ml-8")},t.title))),r&&n.createElement(a.c,{href:r.permalink,className:(0,l.c)("group","flex-1","p-4","rounded-lg","border border-gray-300 dark:border-gray-600","hover:bg-gray-100 hover:dark:bg-gray-700","hover:no-underline",!t&&"col-start-2")},n.createElement("div",{className:"flex-1 flex items-end justify-center flex-col gap-2 text-right"},n.createElement("div",{className:(0,l.c)("flex items-center gap-2","text-base","text-gray-800 dark:text-gray-100")},"Next",n.createElement("span",{className:(0,l.c)("flex items-center justify-center","w-6 h-6")},n.createElement(o.G,{className:"text-gray-400 dark:text-gray-500"}))),n.createElement("span",{className:(0,l.c)("text-base","text-refine-react-light-link dark:text-refine-react-dark-link","mr-8")},r.title))))}},3704:(e,t,r)=>{"use strict";r.d(t,{c:()=>f});var n=r(1504),l=r(9184),a=r(1724);const c=e=>{var t,r,n,l,c,o;let i="noopener noreferrer nofollow";const s=(0,a.c)(e);return(null===(r=e)||void 0===r||null===(t=r.includes)||void 0===t?void 0:t.call(r,"github.com/refinedev/refine"))&&(i="noopener"),(s||(null===(l=e)||void 0===l||null===(n=l.includes)||void 0===n?void 0:n.call(l,"refine.dev")))&&(i="noopener dofollow"),(s||(null===(o=e)||void 0===o||null===(c=o.includes)||void 0===c?void 0:c.call(o,"reactadminpanel.com")))&&(i="noopener dofollow"),i};var o=r(640);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e){for(var t=1;t{"use strict";r.d(t,{c:()=>ot});var n=r(7584),l=r(1504),a=r(4971),c=r(6192),o=r(6112),i=r(9184);const s=({title:e,description:t,image:r,variant:n="purple",button:s={text:"Explore Now",href:"https://prepverse.github.io/portfolio",onClick:void 0},bannerName:u})=>{var f,m,d,p,b,g;return l.useEffect((()=>{"undefined"!=typeof window&&void 0!==window.gtag&&u&&window.gtag("event","view_banner",{banner_name:u,banner_text:e,banner_description:t,banner_image:r.src})}),[u]),l.createElement("div",{className:(0,a.c)("relative","rounded-2xl","p-6","flex","flex-col 2xl:flex-row","items-center","gap-4 2xl:gap-10","not-prose","gray"===n&&"bg-banner-examples-gray","purple"===n&&"bg-banner-examples-purple")},l.createElement(i.c,{to:null!==(b=null===(f=r)||void 0===f?void 0:f.href)&&void 0!==b?b:null===(m=s)||void 0===m?void 0:m.href,target:"_blank",rel:"noopener noreferrer",className:(0,a.c)("flex","max-w-[360px]","h-auto","flex-shrink-0","rounded-lg","overflow-hidden")},l.createElement("img",{src:null===(d=r)||void 0===d?void 0:d.src,alt:null!==(g=null===(p=r)||void 0===p?void 0:p.alt)&&void 0!==g?g:e,loading:"lazy"})),l.createElement("div",{className:(0,a.c)("flex","flex-col","gap-6","justify-center 2xl:justify-start","items-center 2xl:items-start","text-center 2xl:text-start","not-prose")},e&&l.createElement("h2",{className:(0,a.c)("text-xl md:text-2xl","text-gray-0")},e),l.createElement("p",{className:(0,a.c)("text-sm md:text-base","text-gray-100")},t),l.createElement(c.D,{className:(0,a.c)("w-max"),buttonClassname:(0,a.c)("!px-4","!py-2"),href:s.href,onClick:s.onClick,target:"_blank",rel:"noopener noreferrer"},l.createElement("div",{className:(0,a.c)("text-gray-900","text-sm md:text-base","font-bold")},s.text),l.createElement(o.G,{className:(0,a.c)("ml-1 md:ml-2","w-[14px] h-[14px]","md:w-4 md:h-4")}))))},u=({title:e="My Portfolio",description:t="Click here to discover my latest projects, skills, and achievements on my portfolio website. My journey into creativity begins now!",button:r={text:"Explore Now",href:"https://prepverse.github.io/portfolio?ref=banner-retool-alternative",onClick:void 0}})=>(l.useEffect((()=>{"undefined"!=typeof window&&void 0!==window.gtag&&e&&t&&window.gtag("event","view_banner",{banner_name:"banner-retool-alternative",banner_text:e,banner_description:t})}),[e,t]),l.createElement("div",{className:(0,a.c)("relative","rounded-2xl","p-8","flex","flex-col","justify-center","items-center","not-prose","bg-banner-examples-gray")},l.createElement("h2",{className:(0,a.c)("text-2xl","font-semibold","bg-banner-examples-text","bg-clip-text","text-transparent")},e),l.createElement("p",{className:(0,a.c)("mt-2","text-sm","text-gray-300")},t),l.createElement(c.D,{className:(0,a.c)("mt-9"),href:r.href,onClick:r.onClick,target:"_blank",rel:"noopener noreferrer"},l.createElement("div",{className:(0,a.c)("text-gray-900","text-base","font-bold")},r.text))));var f=r(8164);const m=[],d=Math.floor(Math.random()*(m.length+1));var p=r(4752),b=r(7396);const g=({image:e,title:t,description:r,isDark:n})=>{let a;a="refineNew"===r?l.createElement("div",null," ",l.createElement("a",{href:"https://s.refine.dev/new-blog",target:"_blank"},"refine.new")," ","enables you to create React-based, headless UI enterprise applications within your browser that you can preview, tweak and download instantly.",l.createElement("br",null),l.createElement("br",null),"\ud83d\ude80 By visually combining options for your preferred \u2728",l.createElement("b",null," React platform,")," \u2728 ",l.createElement("b",null,"UI framework"),", \u2728"," ",l.createElement("b",null,"backend connector"),", and \u2728 ",l.createElement("b",null,"auth provider"),"; you can create tailor-made architectures for your project in seconds. It feels like having access to thousands of project templates at your fingertips, allowing you to choose the one that best suits your needs!",l.createElement("br",null),l.createElement("br",null),l.createElement("br",null)):null!=r?r:l.createElement("div",null,"Meet the headless, React-based solution to build sleek"," ",l.createElement("b",null,"CRUD")," applications. With refine, you can be confident that your codebase will always stay clean and boilerplate-free.",l.createElement("br",null),l.createElement("br",null),"Try"," ",l.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank"},"PrepVerse")," ","to rapidly build your next ",l.createElement("b",null,"CRUD")," project, whether ","it's"," ","an admin panel, dashboard, internal tool or storefront.");const c=null!=e?e:"https://refine.ams3.cdn.digitaloceanspaces.com/website/static/img/generic_banner.png";c.startsWith("http")||c.startsWith("/");return l.createElement("a",{href:"https://s.refine.dev/hackathon2",target:"_blank",rel:"noreferrer"},l.createElement("img",{src:"https://refine.ams3.cdn.digitaloceanspaces.com/hackathon-2/hackathon_cover.png"}))};var h=r(5524),O=r(3896),v=r(3376),y=r(8840);function w(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const j=e=>l.createElement("svg",function(e){for(var t=1;t{var t,r,n;const c=l.useRef(!1),{id:o}=(0,v.U)(),[i,s]=l.useState(!1),{items:u}=(0,y.GC)(),{reward:f}=(0,O.yh)(`checklist-${o}`,"confetti",{angle:90,elementCount:120,startVelocity:30,decay:.95,spread:100,position:"absolute",lifetime:150}),m=null===(n=u.find((e=>e.id===o)))||void 0===n||null===(t=(r=n.checklist).every)||void 0===t?void 0:t.call(r,(e=>e.checked));return l.useEffect((()=>{setTimeout((()=>{c.current=!0}),1e3)}),[]),l.useEffect((()=>{!i&&m&&c.current&&(s(!0),f())}),[m,i]),l.createElement("div",{className:(0,a.c)("rounded-lg","border-l-gray-400 dark:border-l-gray-600","dark:bg-gray-800 bg-gray-50")},l.createElement("div",{className:(0,a.c)("border-l-4","border-l-solid","border-l-inherit","rounded-tl-lg","rounded-bl-lg","p-4","flex flex-col")},l.createElement("div",{className:"border-b border-gray-400 dark:border-gray-500 border-opacity-50 dark:border-opacity-50"},l.createElement("div",{className:(0,a.c)("not-prose","mt-0 mb-4","flex items-center","gap-2")},l.createElement(j,{className:(0,a.c)("w-4 h-4","dark:text-gray-100 text-gray-800")}),l.createElement("h3",{className:(0,a.c)("m-0 p-0","font-semibold","dark:text-gray-100 text-gray-800","uppercase","text-base leading-6")},"Checklist"))),l.createElement("div",null,e),l.createElement("div",{className:"flex items-center justify-center"},l.createElement("div",{id:`checklist-${o}`}))))};function x(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const P=e=>l.createElement("svg",function(e){for(var t=1;t{var r,n,c,o;const{id:i}=(0,v.U)(),{items:s,toggle:u}=(0,y.GC)(),f=null===(r=null===(o=s.find((e=>e.id===i)))||void 0===o||null===(n=(c=o.checklist).find)||void 0===n?void 0:n.call(c,(e=>e.id===t)))||void 0===r?void 0:r.checked;return l.createElement("label",{className:(0,a.c)("mt-4","flex","items-center justify-start","flex-nowrap","gap-2","cursor-pointer")},l.createElement("div",{className:"flex-shrink-0"},l.createElement("button",{type:"button",onClick:()=>{u(i,t)},className:(0,a.c)("appearance-none","flex items-center justify-center","w-4 h-4","rounded","border",{"border-gray-400 dark:border-gray-500":!f,"border-refine-react-dark-link dark:border-refine-react-dark-link":f,"bg-refine-react-dark-link":f})},f&&l.createElement(P,null))),l.createElement("div",{className:(0,a.c)(f&&"line-through dark:text-gray-100 dark:text-opacity-50 text-gray-800 text-opacity-50",!f&&"text-gray-800 dark:text-gray-100")},e))};var C=r(8560),A=r(2108);const H=({path:e})=>l.createElement(C.s,{language:"bash",title:"Run on your local",icon:l.createElement(A.G,null)},`npm create refine-app@latest -- --example ${e}`);var S=r(5792);const N=({path:e})=>l.createElement("div",{className:(0,a.c)("refine-wider-container","py-2","px-2","text-base","font-sans","flex items-center","gap-2","rounded-lg","dark:bg-gray-700","bg-gray-100","mb-6")},l.createElement(S.A,{className:"ml-1.5 w-5 h-5 text-gray-800 dark:text-gray-100"}),l.createElement("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:(0,a.c)("text-base","leading-8","text-refine-react-light-link dark:text-refine-react-dark-link")},l.createElement("span",null,"View Source Code"))),D=({path:e})=>{const t=`https://github.com/PrepVerse/PrepVerse/tree/master/examples/${e}`;return l.createElement(N,{path:t})},Z=({path:e,hideSource:t,hideLocal:r,hideSandbox:n})=>{const a=`${`https://codesandbox.io/embed/github/refinedev/refine/tree/master/examples/${e}`}?view=preview&theme=dark&runonclick=1&codemirror=1`;return l.createElement("div",null,!t&&l.createElement(D,{path:e}),!r&&l.createElement(H,{path:e}),!n&&l.createElement("iframe",{loading:"lazy",src:a,style:{width:"100%",height:"80vh",border:"0px",borderRadius:"8px",overflow:"hidden"},title:e,allow:"accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking",sandbox:"allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"}))};var L=r(1240),z=r(7916);const M=()=>l.createElement("div",null,l.createElement(L.c,{type:"simple",title:"Good to know"},l.createElement(z.s,null,"\nAll the data related hooks (useTable, useForm, useList etc.) of Refine can be given some common properties like `resource`, `meta` etc.\n\nFor more information, refer to the [General Concepts documentation](/docs/guides-concepts/general-concepts).\n"))),B=({children:e,content:t})=>l.createElement("div",{className:(0,a.c)("refine-info-badge","relative","group","inline-flex","align-middle")},e,l.createElement("div",{className:(0,a.c)("absolute","-left-1","top-0","translate-x-0","-translate-y-0","scale-0","group-hover:scale-100","group-hover:-translate-y-full","transition-transform","origin-top-left","pb-2","w-60","pointer-events-none")},l.createElement("div",{className:(0,a.c)("text-xs","text-gray-600","bg-gray-0","border","border-gray-200","shadow-sm","rounded","py-1","px-2","font-normal")},null!=t?t:"Check the guide for more information"))),R=({id:e,icon:t,color:r,text:n,description:c})=>{const o=(0,a.c)("orange"===r&&(0,a.c)("bg-refine-react-light-orange-bg dark:bg-refine-react-dark-orange","dark:bg-opacity-[0.15]","text-refine-react-light-orange dark:text-refine-react-dark-orange"),"green"===r&&(0,a.c)("bg-refine-react-light-green-bg dark:bg-refine-react-dark-green","dark:bg-opacity-[0.15]","text-refine-react-light-green dark:text-refine-react-dark-green"),"purple"===r&&(0,a.c)("bg-refine-react-light-purple-bg dark:bg-refine-react-dark-purple","dark:bg-opacity-[0.15]","text-refine-react-light-purple dark:text-refine-react-dark-purple"));return l.createElement(B,{content:c},l.createElement(i.c,{to:`/docs/${e}`,className:(0,a.c)("-mt-px","rounded-[10px]","inline-flex","items-center","justify-center","text-sm","no-underline","gap-1.5","[&>svg]:hover:scale-110","[&>svg]:transition-transform [&>svg]:duration-200 [&>svg]:ease-in-out",o)},t,n&&l.createElement("span",{className:"text-xs leading-[0.875rem]"},n)))};function T(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const G=e=>l.createElement("svg",function(e){for(var t=1;tl.createElement("svg",function(e){for(var t=1;tr?l.createElement("div",{className:(0,a.c)("inline-flex","text-sm","py-0.5","px-2","rounded-xl","bg-refine-orange","bg-opacity-10","text-refine-orange","tracking-wide","align-middle","font-normal","mr-1"),title:o},null!=e?e:"deprecated"):t?l.createElement("div",{className:(0,a.c)("inline-flex","justify-center items-center","text-sm","text-refine-red","rounded-full","bg-refine-red bg-opacity-10","ml-1","w-6 h-6","align-middle")},null!=e?e:"\ufe61"):n?l.createElement("div",{className:(0,a.c)("inline-flex","text-sm","py-0.5","px-2","rounded-xl","bg-refine-red","bg-opacity-10","text-refine-red","tracking-wide","align-middle","font-normal","mr-1"),title:o},null!=e?e:"required"):c?l.createElement("div",{className:(0,a.c)("inline-flex","text-sm","py-0.5","px-2","rounded-xl","bg-refine-green","bg-opacity-10","text-refine-green","tracking-wide","align-middle","font-normal","mr-1"),title:o},null!=e?e:"featured"):e?l.createElement("div",{className:(0,a.c)("inline","text-gray-0","text-xs","leading-6","py-0.5","px-2","rounded","bg-gray-800","tracking-wide","align-middle","mr-1"),title:o},e):null,W="tooltip__Ymd",I="tooltipContainer_l6r7",U="tooltipContent_UeXm",X="tooltipArrow_mOyh",J=({label:e,children:t})=>e?l.createElement("div",{className:`${W} group`},t,l.createElement("div",{className:`${I} group-hover:visible`},l.createElement("span",{className:U},e),l.createElement("div",{className:X}))):l.createElement(l.Fragment,null,t);function K(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},a=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const Q=({prop:e,overrides:t})=>{var r,n,a;const c=null!==(a=t[`${e.name}-required`])&&void 0!==a?a:e.required;var o;const i=null!==(o=t[`${e.name}-deprecated`])&&void 0!==o?o:null===(r=e.tags)||void 0===r?void 0:r.deprecated;var s,u;const f=null!==(u=null!==(s=t[`${e.name}-deprecated`])&&void 0!==s?s:null===(n=e.tags)||void 0===n?void 0:n.deprecated)&&void 0!==u?u:"",m=(0,l.useMemo)((()=>{const e="props-table--name";return i?`${e} props-table--name__deprecated`:e}),[e,t]),d=(0,l.useMemo)((()=>f?l.createElement(z.s,null,f):null),[e,t]);var p;return l.createElement(J,{label:d},l.createElement(l.Fragment,null,l.createElement("span",{className:m},null!==(p=t[`${e.name}-name`])&&void 0!==p?p:e.name),c&&l.createElement(Y,{asterisk:!0})))},q=({prop:e,overrides:t})=>{var r;const n=null!==(r=t[`${e.name}-type`])&&void 0!==r?r:e.type.name,a=n.split(" | "),c=a.length>1,o=a.some((e=>e.length>20)),i=/`/.test(n);return l.createElement(l.Fragment,null,i?l.createElement(z.s,null,n):o&&c?l.createElement(l.Fragment,null,a.map(((e,t)=>l.createElement("code",{className:"max-w-xs h-min",key:t},l.createElement(z.s,null,e))))):l.createElement("code",{className:"max-w-xs h-min"},l.createElement(z.s,null,n)))},_=({prop:e,overrides:t})=>{var r,n;return l.createElement(z.s,null,null!==(n=null!==(r=t[`${e.name}-description`])&&void 0!==r?r:e.tags.description)&&void 0!==n?n:e.description)},$=({prop:e,overrides:t})=>{var r,n,a,c;const o=null===(r=e.tags)||void 0===r?void 0:r.default,i=(null===(n=e.defaultValue)||void 0===n?void 0:n.value)&&(null===(a=e.defaultValue)||void 0===a?void 0:a.value)!==o?null===(c=e.defaultValue)||void 0===c?void 0:c.value:void 0,s=t[`${e.name}-default`];return o||s?l.createElement(z.s,null,null!=s?s:o):l.createElement("div",{className:"flex flex-wrap gap-1"},void 0!==i?l.createElement("code",{className:"max-w-xs h-min"},l.createElement(z.s,null,i)):null)},ee=({prop:e,overrides:t})=>l.createElement("td",null,l.createElement("div",{className:"flex items-center"},l.createElement(Q,{prop:e,overrides:t}))),te=({prop:e,overrides:t})=>l.createElement("td",{className:"props-table__type-cell"},l.createElement("div",{className:"flex flex-wrap gap-1"},l.createElement(q,{prop:e,overrides:t}))),re=({prop:e,overrides:t})=>l.createElement("td",{className:"props-table__description-cell"},l.createElement(_,{prop:e,overrides:t})),ne=({prop:e,overrides:t})=>l.createElement("td",{className:"props-table__default-value-cell"},l.createElement($,{prop:e,overrides:t})),le=e=>{var{module:t,hideDefaults:n,children:a}=e,c=K(e,["module","hideDefaults","children"]);const o=((e,t="@refinedev/")=>{const[n,a]=(0,l.useState)(null);return(0,l.useEffect)((()=>{let n=!1;return r(6324)(`./${e.startsWith(t)?e:`${t}${e}`}.json`).then((e=>{n||(n=!0,a(e.default))})).catch(console.warn),()=>{n=!0}}),[e]),n})(t),i=(0,l.useMemo)((()=>{var e;if(n)return!1;if(Object.keys(c).some((e=>e.endsWith("-default"))))return!1;var t;return!Object.values(null!==(t=null===(e=o)||void 0===e?void 0:e.props)&&void 0!==t?t:{}).some((e=>{var t;return null===(t=e.defaultValue)||void 0===t?void 0:t.value}))}),[c]);if(!o)return null;const s=[...Object.values(o.props)];return l.createElement("div",{className:"table-container"},l.createElement("table",{className:"props-table"},l.createElement("thead",null,l.createElement("tr",null,l.createElement("th",null,"Property"),l.createElement("th",null,"Type"),l.createElement("th",null,"Description"),i?null:l.createElement("th",null,"Default"))),l.createElement("tbody",null,s.map((e=>c[`${e.name}-hidden`]?null:l.createElement("tr",{key:e.name},l.createElement(ee,{prop:e,overrides:c}),l.createElement(te,{prop:e,overrides:c}),l.createElement(re,{prop:e,overrides:c}),i?null:l.createElement(ne,{prop:e,overrides:c})))))),a)};function ae(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ce=e=>l.createElement("svg",function(e){for(var t=1;t{const{current:r}=(0,oe.U)();return e&&r===e?l.createElement(l.Fragment,null,t):null};var se=r(8530);function ue(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fe(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const me=e=>{var t;const r=l.Children.toArray(e.children),n=r.find((e=>l.isValidElement(e)&&"summary"===(null===(t=e.props)||void 0===t?void 0:t.mdxType))),c=l.createElement(l.Fragment,null,r.filter((e=>e!==n)));return l.createElement(se.S,fe(function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const ge=e=>{var{children:t,className:r}=e,n=be(e,["children","className"]);return l.createElement("summary",function(e){for(var t=1;t{const t=e.currentTarget,l=s.indexOf(t),a=c[l].value;a!==r&&(u(t),n(a))},m=e=>{var t,r;let n=null;switch(e.key){case"Enter":f(e);break;case"ArrowRight":{const t=s.indexOf(e.currentTarget)+1;var l;n=null!==(l=s[t])&&void 0!==l?l:s[0];break}case"ArrowLeft":{const t=s.indexOf(e.currentTarget)-1;var a;n=null!==(a=s[t])&&void 0!==a?a:s[s.length-1];break}}null===(r=n)||void 0===r||null===(t=r.focus)||void 0===t||t.call(r)};return l.createElement("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,a.c)(e,"!my-0","flex-wrap","list-none","m-0 mb-0 mt-0","px-4","flex gap-4","bg-gray-100 dark:bg-gray-700","rounded-tl-lg rounded-tr-lg",!o&&"rounded-bl-lg rounded-br-lg","items-stretch")},c.map((({value:e,label:t,attributes:n})=>l.createElement("li",je(we({role:"tab",tabIndex:r===e?0:-1,"aria-selected":r===e,key:e,ref:e=>s.push(e),onKeyDown:m,onClick:f},n),{className:(0,a.c)("!my-0","mx-0 mt-0","px-2 py-3","flex items-center justify-center","min-w-[60px]","cursor-pointer","transition-all duration-200 ease-in-out","border-b border-solid","select-none",i&&"!text-xs",!i&&"!text-base",r!==e&&"text-gray-800 dark:text-gray-100",r===e&&"text-refine-react-light-link dark:text-refine-react-dark-link",r!==e&&"hover:text-refine-react-light-link dark:hover:text-refine-react-dark-link",r!==e&&"border-b-transparent",r===e&&"border-b-refine-react-light-link dark:border-b-refine-react-dark-link",r!==e&&"hover:border-b-refine-react-light-link dark:hover:border-b-refine-react-dark-link")}),null!=t?t:e))))}function xe({lazy:e,children:t,selectedValue:r,smallTabs:n}){const c=(Array.isArray(t)?t:[t]).filter(Boolean);if(e){const e=c.find((e=>e.props.value===r));return e?(0,l.cloneElement)(e,{className:"margin-top--md refine-tab-content"}):null}var o;return l.createElement("div",{className:"p-4"},c.map(((e,t)=>(0,l.cloneElement)(e,{key:t,hidden:e.props.value!==r,className:(0,a.c)(null!==(o=e.props.className)&&void 0!==o?o:[],"refine-tab-content")}))))}function Pe(e){const t=(0,Oe.a)(e),{wrapContent:r=!0}=e;return l.createElement("div",{className:(0,a.c)("tabs-container","rounded-lg","border-gray-300 dark:border-gray-700",r?"border":"border-0","mb-6","refine-wider-container")},l.createElement(Ee,we({},e,t)),l.createElement(xe,we({},e,t)))}function ke(e){const t=(0,ve.c)();return l.createElement(Pe,we({key:String(t)},e))}function Ce(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ae(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},a=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}var He=r(4472),Se=r(4896),Ne=r(1488),De=r(8620),Ze=r(6076),Le=r(9072);function ze(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Me=e=>l.createElement("svg",function(e){for(var t=1;tl.createElement("svg",function(e){for(var t=1;t{var t,r;const[n,c]=(0,l.useState)(!1),{refs:o,floatingStyles:i,context:s}=(0,He.gR)({placement:"bottom-start",open:e.isOpen,onOpenChange:e.onOpenChange,whileElementsMounted:Se.kN,middleware:[(0,Ne.E3)((({middlewareData:e})=>{var t;return(null===(t=e)||void 0===t?void 0:t.flip)?{mainAxis:12}:{mainAxis:52}})),(0,Se.EB)((({placement:e})=>(e.includes("bottom")&&c(!1),e.includes("top")&&c(!0),{fallbackPlacements:["top-start"]})))]}),u=(0,He.ug)(s,{outsidePress:e=>!(null===(r=e.target)||void 0===r||null===(t=r.closest)||void 0===t?void 0:t.call(r,".widget-actions"))}),{getReferenceProps:f,getFloatingProps:m}=(0,He.M3)([u]);return l.createElement(l.Fragment,null,l.createElement("div",Xe(Ue({ref:o.setReference},f()),{style:{position:"absolute",top:"0",left:0}})),l.createElement(De.I,null,s.open&&l.createElement(Ze.q.div,Xe(Ue({initial:{opacity:0},animate:{opacity:1,transition:{duration:.2}},exit:{opacity:0},ref:o.setFloating,style:i},m()),{className:(0,a.c)("w-[320px]","bg-[#EAEBEF] dark:bg-refine-react-dark-code","border border-[#E3E4E5] dark:border-[#343A46]","rounded-[20px]","relative")}),e.children,l.createElement(Ke,{style:Ue({position:"absolute",top:n?"unset":"-10px",bottom:n?"-10px":"unset",transform:n?"rotate(180deg)":"rotate(0deg)",transition:"right 0.2s ease-in-out",willChange:"right"},e.arrowStyle)}))))},Ke=e=>{const{colorMode:t}=(0,Le.U)(),r="dark"===t;return l.createElement("svg",Ue({xmlns:"http://www.w3.org/2000/svg",width:42,height:18,viewBox:"0 0 42 18",fill:"none"},e),l.createElement("title",null,"Popover Pointer"),l.createElement("path",{fill:r?"#16181D":"#EAEBEF",stroke:"url(#a)",d:"M18.303 2.077C18.892 1.105 19.9.5 21 .5s2.108.605 2.697 1.577l3.026 4.992c.928 1.532 2.476 2.431 4.11 2.431H41.5v8H.5v-8h10.667c1.634 0 3.182-.899 4.11-2.431l3.026-4.992Z"}),l.createElement("defs",null,l.createElement("linearGradient",{id:"a",x1:21,x2:21,y1:1,y2:16,gradientUnits:"userSpaceOnUse"},l.createElement("stop",{offset:.59,stopColor:r?"#343A46":"#E3E4E5"}),l.createElement("stop",{offset:.602,stopColor:r?"#343A46":"#E3E4E5",stopOpacity:0}))))},Qe={UP:1,DOWN:2};function qe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _e(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}var $e;var et=r(7500),tt=r(9104);var rt=r(9092);var nt=r(5560);function lt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function at(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function ct(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ot=(it=function(e){for(var t=1;t{var{className:t}=e,r=Ae(e,["className"]);return l.createElement("blockquote",function(e){for(var t=1;td===m.length?l.createElement(f.c,null,(()=>l.createElement(u,null))):l.createElement(f.c,null,(()=>l.createElement(s,m[d]))),GuideBadge:({id:e,description:t="Please check the guide for more information on this topic.",text:r})=>l.createElement(R,{id:e,color:"green",icon:l.createElement(F,null),text:r,description:l.createElement(l.Fragment,null,l.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Check the guide"),l.createElement("div",{className:"text-xs"},t))}),RouterBadge:({id:e="guides-concepts/routing/",description:t="This value can be inferred from the route. Click to see the guide for more information.",text:r})=>l.createElement(R,{id:e,color:"orange",text:r,icon:l.createElement(ce,null),description:l.createElement(l.Fragment,null,l.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Router Integrated"),l.createElement("div",{className:"text-xs"},t))}),GlobalConfigBadge:({id:e="core/refine-component",description:t="This value can be configured globally. Click to see the guide for more information.",text:r})=>l.createElement(R,{color:"purple",icon:l.createElement(G,null),text:r,id:e,description:l.createElement(l.Fragment,null,l.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Globally Configurable"),l.createElement("div",{className:"text-xs"},t))}),Image:e=>l.createElement("img",_e(function(e){for(var t=1;t{const t=e?`-- ${e}`:"",r={npm:`npm create refine-app@latest ${t}`,pnpm:`pnpm create refine-app@latest ${t}`,yarn:`yarn create refine-app@latest ${t}`};return l.createElement(ke,null,l.createElement(tt.c,{value:"npm",label:"npm",default:!0},l.createElement(C.s,{className:"language-bash"},r.npm)),l.createElement(tt.c,{value:"pnpm",label:"pnpm"},l.createElement(C.s,{className:"language-bash"},r.pnpm)),l.createElement(tt.c,{value:"yarn",label:"yarn"},l.createElement(C.s,{className:"language-bash"},r.yarn),l.createElement(z.s,null,"> Only supports yarn@1 version.")))},InstallPackagesCommand:({args:e,children:t})=>{const r={npm:`npm i ${e}`,pnpm:`pnpm add ${e}`,yarn:`yarn add ${e}`};return l.createElement(ke,null,l.createElement(tt.c,{value:"npm",label:"npm",default:!0},l.createElement(C.s,{className:"language-bash"},r.npm),t),l.createElement(tt.c,{value:"pnpm",label:"pnpm"},l.createElement(C.s,{className:"language-bash"},r.pnpm),t),l.createElement(tt.c,{value:"yarn",label:"yarn"},l.createElement(C.s,{className:"language-bash"},r.yarn),t))},FullTable:et.Ih,TutorialConditional:({parameter:e,value:t,children:r})=>{var n;const{parameters:a}=(0,rt.iC)();return(null===(n=a)||void 0===n?void 0:n[e])===t?l.createElement(l.Fragment,null,r):null},VideoInView:e=>{const t=l.useRef(null),r=(0,nt.c)(t);return l.useEffect((()=>{var e,n,l,a;r?null===(n=t.current)||void 0===n||null===(e=n.play)||void 0===e||e.call(n):null===(a=t.current)||void 0===a||null===(l=a.pause)||void 0===l||l.call(a)}),[r]),l.createElement("video",at(function(e){for(var t=1;t{var e,r,n,l,a;(null===(e=t.current)||void 0===e?void 0:e.paused)?null===(n=t.current)||void 0===n||null===(r=n.play)||void 0===r||r.call(n):null===(a=t.current)||void 0===a||null===(l=a.pause)||void 0===l||l.call(a)},className:(0,a.c)(e.className,"w-full","h-auto","max-w-full","max-h-full","rounded-xl","object-contain")}))},DocThumbsUpDownFeedbackWidget:e=>{const t=(0,We.IT)(),[r,n]=(0,l.useState)(""),[c,o]=(0,l.useState)(null),[i,s]=(0,l.useState)(!1),[u,f]=(0,l.useState)(!1),m=i||u,{survey:d,createSurvey:p,updateSurvey:b}=(e=>{const[t,r]=(0,l.useState)(null),n=Ye[e.type];return{survey:t,setSurvey:r,createSurvey:async({body:e})=>{const t=await fetch(`${n}/responses`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(!t.ok)return null;const l=await t.json();return l?(r(l),l):void 0},updateSurvey:async({surveyId:e,body:t})=>{const l=await fetch(`${n}/responses/${e}`,{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(!l.ok)return null;const a=await l.json();return a?(r(a),a):void 0}}})({type:Te.THUMBS}),g=async r=>{o(r),s(!0),d?await b({surveyId:d.id,body:{response:r}}):await p({body:{response:r,entityId:t.pathname,metaData:{sectionId:e.id}}})};return l.createElement("div",{className:"group"},e.children,l.createElement("div",{className:(0,a.c)("relative","z-popover","hidden md:flex","items-center","gap-5","w-max h-[40px]","pt-1 pr-1 pb-1 pl-4","bg-[#99A1B31A] dark:bg-[#2F333C]","rounded-[28px]","transition-all duration-300 ease-in-out",!m&&"opacity-0","group-hover:opacity-100")},l.createElement("div",{className:(0,a.c)("text-xs","whitespace-nowrap","text-[#23272F] dark:text-[#E3E4E5]")},"Was this helpful?"),l.createElement("div",{className:(0,a.c)("flex","items-center","gap-1","widget-actions")},l.createElement("button",{type:"button",onClick:()=>g(Qe.UP),className:(0,a.c)("w-8 h-8","flex items-center justify-center","rounded-full","text-gray-500","hover:text-green-500 hover:bg-green-500/20","transition-all duration-200 ease-in-out",1===c&&"text-green-500 bg-green-500/20")},l.createElement(Me,null)),l.createElement("button",{type:"button",onClick:()=>g(Qe.DOWN),className:(0,a.c)("w-8 h-8","flex items-center justify-center","rounded-full","text-gray-500","hover:text-red-500 hover:bg-red-500/20","transition-all duration-200 ease-in-out",2===c&&"text-red-500 bg-red-500/20")},l.createElement(Re,null))),l.createElement(Je,{isOpen:m,onOpenChange:e=>{u||e||(s(!1),f(!1))},arrowStyle:{right:1===c?"150px":"115px"}},!u&&l.createElement("form",{className:(0,a.c)("flex flex-col","p-2"),onSubmit:e=>{e.preventDefault(),(async()=>{const e=r.trim();e&&(await b({surveyId:d.id,body:{response:c,responseText:e}}),f(!0),setTimeout((()=>{s(!1),f(!1)}),2e3))})()}},l.createElement("textarea",{rows:3,required:!0,minLength:3,placeholder:"Your thumbs tells us a lot, but If you have any additional thoughts or suggestions, we'd love to hear them!",onChange:e=>n(e.target.value),value:r,className:(0,a.c)("w-full","bg-white dark:bg-[#343A46]","text-[#23272F] dark:text-[#E3E4E5]","resize-none","rounded-xl","text-xs","py-2 px-3")}),l.createElement("button",{type:"submit",className:(0,a.c)("w-16 h-6","flex items-center justify-center","bg-refine-react-light-link dark:bg-refine-react-dark-link","text-xs","text-white","rounded-full","mt-2 ml-auto")},"Send")),u&&l.createElement("div",{className:(0,a.c)("flex items-center","p-4","text-xs","text-gray-500")},l.createElement("span",null,"Thank you for your feedback!")))))}},st=null!=st?st:{},Object.getOwnPropertyDescriptors?Object.defineProperties(it,Object.getOwnPropertyDescriptors(st)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(st)).forEach((function(e){Object.defineProperty(it,e,Object.getOwnPropertyDescriptor(st,e))})),it);var it,st},8092:(e,t,r)=>{"use strict";r.d(t,{c:()=>c});var n=r(1504),l=r(4971),a=r(9184);function c({permalink:e,label:t,isActive:r,size:c="small",variant:o="default"}){return n.createElement(a.c,{href:e,className:(0,l.c)("no-underline hover:no-underline","rounded-full","small"===c&&"text-xs","small"===c&&"py-1","small"===c&&"px-3","medium"===c&&"text-sm","medium"===c&&"py-2","medium"===c&&"px-4",!r&&"bg-gray-100 dark:bg-gray-700",!r&&"text-gray-600 dark:text-gray-400","text-refine-react-8 dark:text-refine-react-3","default"===o&&"bg-refine-react-3 dark:bg-refine-react-7","inverted"===o&&"bg-refine-react-3 dark:bg-refine-react-8")},t)}},7008:(e,t,r)=>{"use strict";r.d(t,{C:()=>N});var n,l=r(1504),a=r(7616),c=r(9648),o=r(7368),i=r(1403),s=r(5948),u=r(1792),f=r(7168),m=r(3048),d=r(2448),p=r(8512);let b=null!=(n=l.startTransition)?n:function(e){e()};var g,h=((g=h||{})[g.Open=0]="Open",g[g.Closed=1]="Closed",g),O=(e=>(e[e.ToggleDisclosure=0]="ToggleDisclosure",e[e.CloseDisclosure=1]="CloseDisclosure",e[e.SetButtonId=2]="SetButtonId",e[e.SetPanelId=3]="SetPanelId",e[e.LinkPanel=4]="LinkPanel",e[e.UnlinkPanel=5]="UnlinkPanel",e))(O||{});let v={0:e=>({...e,disclosureState:(0,a._)(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}},y=(0,l.createContext)(null);function w(e){let t=(0,l.useContext)(y);if(null===t){let t=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,w),t}return t}y.displayName="DisclosureContext";let j=(0,l.createContext)(null);function E(e){let t=(0,l.useContext)(j);if(null===t){let t=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,E),t}return t}j.displayName="DisclosureAPIContext";let x=(0,l.createContext)(null);function P(e,t){return(0,a._)(t.type,v,e,t)}x.displayName="DisclosurePanelContext";let k=l.Fragment;let C=c.B4.RenderStrategy|c.B4.Static;let A=(0,c.op)((function(e,t){let{defaultOpen:r=!1,...n}=e,i=(0,l.useRef)(null),s=(0,o.q)(t,(0,o.s)((e=>{i.current=e}),void 0===e.as||e.as===l.Fragment)),u=(0,l.useRef)(null),m=(0,l.useRef)(null),b=(0,l.useReducer)(P,{disclosureState:r?0:1,linkedPanel:!1,buttonRef:m,panelRef:u,buttonId:null,panelId:null}),[{disclosureState:g,buttonId:h},O]=b,v=(0,p.y)((e=>{O({type:1});let t=(0,d.e)(i);if(!t||!h)return;let r=e?e instanceof HTMLElement?e:e.current instanceof HTMLElement?e.current:t.getElementById(h):t.getElementById(h);null==r||r.focus()})),w=(0,l.useMemo)((()=>({close:v})),[v]),E=(0,l.useMemo)((()=>({open:0===g,close:v})),[g,v]),x={ref:s};return l.createElement(y.Provider,{value:b},l.createElement(j.Provider,{value:w},l.createElement(f.uR,{value:(0,a._)(g,{0:f.Ad.Open,1:f.Ad.Closed})},(0,c.ai)({ourProps:x,theirProps:n,slot:E,defaultTag:k,name:"Disclosure"}))))})),H=(0,c.op)((function(e,t){let r=(0,i.I)(),{id:n=`headlessui-disclosure-button-${r}`,...a}=e,[f,d]=w("Disclosure.Button"),b=(0,l.useContext)(x),g=null!==b&&b===f.panelId,h=(0,l.useRef)(null),O=(0,o.q)(h,t,g?null:f.buttonRef);(0,l.useEffect)((()=>{if(!g)return d({type:2,buttonId:n}),()=>{d({type:2,buttonId:null})}}),[n,d,g]);let v=(0,p.y)((e=>{var t;if(g){if(1===f.disclosureState)return;switch(e.key){case s.g.Space:case s.g.Enter:e.preventDefault(),e.stopPropagation(),d({type:0}),null==(t=f.buttonRef.current)||t.focus()}}else switch(e.key){case s.g.Space:case s.g.Enter:e.preventDefault(),e.stopPropagation(),d({type:0})}})),y=(0,p.y)((e=>{if(e.key===s.g.Space)e.preventDefault()})),j=(0,p.y)((t=>{var r;(0,u.g)(t.currentTarget)||e.disabled||(g?(d({type:0}),null==(r=f.buttonRef.current)||r.focus()):d({type:0}))})),E=(0,l.useMemo)((()=>({open:0===f.disclosureState})),[f]),P=(0,m.y)(e,h),k=g?{ref:O,type:P,onKeyDown:v,onClick:j}:{ref:O,id:n,type:P,"aria-expanded":e.disabled?void 0:0===f.disclosureState,"aria-controls":f.linkedPanel?f.panelId:void 0,onKeyDown:v,onKeyUp:y,onClick:j};return(0,c.ai)({ourProps:k,theirProps:a,slot:E,defaultTag:"button",name:"Disclosure.Button"})})),S=(0,c.op)((function(e,t){let r=(0,i.I)(),{id:n=`headlessui-disclosure-panel-${r}`,...a}=e,[s,u]=w("Disclosure.Panel"),{close:m}=E("Disclosure.Panel"),d=(0,o.q)(t,s.panelRef,(e=>{b((()=>u({type:e?4:5})))}));(0,l.useEffect)((()=>(u({type:3,panelId:n}),()=>{u({type:3,panelId:null})})),[n,u]);let p=(0,f.qc)(),g=null!==p?(p&f.Ad.Open)===f.Ad.Open:0===s.disclosureState,h=(0,l.useMemo)((()=>({open:0===s.disclosureState,close:m})),[s,m]),O={ref:d,id:n};return l.createElement(x.Provider,{value:s.panelId},(0,c.ai)({ourProps:O,theirProps:a,slot:h,defaultTag:"div",features:C,visible:g,name:"Disclosure.Panel"}))})),N=Object.assign(A,{Button:H,Panel:S})}}]); \ No newline at end of file +(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[6752],{6324:(e,t,r)=>{var n={"./plugin-route-context-module-100.json":[4634,4634]};function l(e){if(!r.o(n,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=n[e],l=t[0];return r.e(t[1]).then((()=>r.t(l,19)))}l.keys=()=>Object.keys(n),l.id=6324,e.exports=l},4464:(e,t,r)=>{"use strict";r.d(t,{c:()=>c});var n=r(1504),l=r(6684),a=r(2288);function c(){const{metadata:e,frontMatter:t,assets:r}=(0,a.G)();var c;return n.createElement(l.U7,{title:e.title,description:e.description,keywords:t.keywords,image:null!==(c=r.image)&&void 0!==c?c:t.image})}},5904:(e,t,r)=>{"use strict";r.d(t,{I7:()=>a,kz:()=>o,aI:()=>u,sL:()=>m,uU:()=>Ye,UZ:()=>Xe,sH:()=>Ie,W4:()=>Ke,g3:()=>qe,Ou:()=>Gt,M7:()=>b,gv:()=>$e,U7:()=>Dt,K6:()=>xt,sT:()=>h,Dp:()=>v,m4:()=>E,Yv:()=>k,UJ:()=>A,QR:()=>rt,y:()=>S,AD:()=>lt,WA:()=>D,ai:()=>Rt,m0:()=>L,Gg:()=>B,kB:()=>T,mK:()=>F,em:()=>I,E5:()=>Mt,sP:()=>Ft,_$:()=>X,gF:()=>Q,Iv:()=>$,Qh:()=>te,yK:()=>st,sW:()=>ft,Uf:()=>le,cF:()=>pt,aA:()=>ce,mO:()=>se,I1:()=>fe,_A:()=>de,CS:()=>ot,U$:()=>Ot,yw:()=>gt,wA:()=>Lt,yM:()=>be,Ep:()=>Oe,qy:()=>jt,sN:()=>Ce,Cu:()=>we,qQ:()=>xe,oe:()=>Ve,Oq:()=>He,yS:()=>ze,Og:()=>Be,kn:()=>Te,od:()=>St});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const u=e=>{var{withBrandColor:t=!0}=e,r=s(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const b=e=>{var{withBrandColor:t=!0}=e,r=p(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const E=e=>{var{className:t}=e,r=j(e,["className"]);return n.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const k=e=>{var{className:t}=e,r=P(e,["className"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const B=e=>{var{withBrandColor:t=!0}=e,r=M(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",V(function(e){for(var t=1;tn.createElement("svg",W(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",K(function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const $=e=>{var{withBrandColor:t=!0}=e,r=_(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const le=e=>{var{withBrandColor:t=!0}=e,r=ne(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",ie(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const Oe=e=>{var{className:t}=e,r=he(e,["className"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",ye(function(e){for(var t=1;tn.createElement("svg",Ee(function(e){for(var t=1;tn.createElement("svg",ke(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",tt(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",ct(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",dt(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const jt=e=>{var{className:t}=e,r=wt(e,["className"]);return n.createElement("svg",yt(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{c:()=>u});var n=r(1504),l=r(5684),a=r(9072),c=r(8164),o=r(9400);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const s={id:"comments",repo:"PrepVerse/CodePoint",repoId:"R_kgDOItEdJw",category:"Q&A",categoryId:"DIC_kwDOItEdJ84CZ4tA",mapping:"pathname",reactionsEnabled:"1",emitMetadata:"0",inputPosition:"top",lang:"en",theme:"light",darkTheme:"dark_dimmed"};function u(){const e=(0,l.y)(),t=function(e){for(var t=1;tn.createElement(o.c,t)))}},4752:(e,t,r)=>{"use strict";r.d(t,{c:()=>a});var n=r(1504),l=r(9184);const a=()=>n.createElement("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4 md:gap-0 h-auto md:h-[150px] bg-[#5865F2] w-full rounded-2xl py-5 px-5 md:px-12"},n.createElement("div",{className:"flex items-center gap-16"},n.createElement("img",{className:"hidden md:block",src:"/img/blog-static/discord-banner.png",alt:"Discord Logo"}),n.createElement("div",{className:"text-white font-montserrat font-bold max-w-md text-center md:text-left"},n.createElement("h1",{className:"text-2xl uppercase leading-tight mb-0 font-montserrat"},"Join to refine discord server"),n.createElement("p",{className:"mb-0 text-base"},"to get help, share ideas, and discuss the latest news."))),n.createElement(l.c,{to:"https://discord.gg/refine"},n.createElement("button",{className:"bg-transparent text-white font-bold py-2 px-4 rounded-lg h-12 w-44 border-white cursor-pointer font-montserrat uppercase text-xl border-solid active:scale-[0.99]"},"Join Us")))},7396:(e,t,r)=>{"use strict";r.d(t,{c:()=>o});var n=r(1504),l=r(9184),a=r(3540);const c="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",o=()=>{const[e,t]=n.useState(0);return n.useEffect((()=>{(async()=>{const e=await fetch(`https://api.github.com/repos/pankod/refine?access_token=${c}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`token ${c}`}}),r=await e.json();var n;t(null!==(n=r.stargazers_count)&&void 0!==n?n:2e3)})()}),[]),n.createElement("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4 md:gap-0 h-auto md:h-[150px] w-full rounded-2xl py-5 px-5 md:px-12 github-banner-bg"},n.createElement("div",{className:"flex items-center gap-16"},n.createElement("img",{className:"hidden md:block",src:"/img/blog-static/github-banner-icon.png",alt:"Github Logo"}),n.createElement("div",{className:"font-montserrat max-w-md text-center md:text-left"},n.createElement("h1",{className:"text-2xl uppercase leading-tight mb-0 font-montserrat font-bold"},"Star us on github"),n.createElement("p",{className:"mb-0 text-base leading-tight"},n.createElement("b",null,"refine")," is an"," ",n.createElement("b",null,"open-source React-based framework"),"for building ",n.createElement("b",null,"CRUD applications")," without constraints. Please show us your ",n.createElement("b",null,"support")," with a shining ",n.createElement("b",null,"GitHub star"),"."))),n.createElement(l.c,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",rel:"noopener",className:"bg-[#211d21] no-underline rounded-xl h-[54px] flex gap-2 pl-3.5 py-2.5 pr-2.5 items-center"},n.createElement(a.A9,null),n.createElement("div",{className:"font-bold font-montserrat text-base text-white"},"Star"),n.createElement("div",{className:"flex items-start h-full"},n.createElement(a.qq,{className:"mt-2 -mr-px"}),n.createElement("div",{className:"cloud rounded-md bg-white text-[#211d21] h-full flex items-center justify-center px-1.5 font-montserrat font-bold text-base"},`${e}`.padStart(4,"0")))))}},5524:(e,t,r)=>{"use strict";r.d(t,{c:()=>a});var n=r(1504),l=r(9184);const a=({children:e})=>n.createElement("div",{className:"flex flex-col md:flex-row items-center twitter-banner-bg px-5 md:px-10 py-5 rounded-xl gap-2"},n.createElement("div",{className:"flex flex-col justify-center items-center md:items-start gap-4"},n.createElement("div",{className:"text-center md:text-left"},n.createElement("h1",{className:"text-white font-montserrat text-2xl leading-tight mb-0"},"WANT TO HEAR THE LATEST DEVELOPMENTS ABOUT refine?"),n.createElement("p",{className:"mb-0 uppercase font-montserrat text-white"},"Follow us on Twitter.")),n.createElement(l.c,{to:"https://twitter.com/refine_dev"},n.createElement("button",{className:"bg-transparent text-white font-bold py-2 px-8 rounded-lg border-white cursor-pointer font-montserrat uppercase text-xl border-solid active:scale-[0.99]"},"Follow Us"))),n.createElement("div",{className:"w-[350px]"},e||n.createElement("blockquote",{className:"twitter-tweet","data-cards":"hidden"},n.createElement("p",{lang:"en",dir:"ltr"},"\ud83d\udca5New Blog Post!",n.createElement("br",null),n.createElement("br",null),"Animations in React with Framer Motion",n.createElement("a",{href:"https://t.co/7kWU1ROPYd"},"https://t.co/7kWU1ROPYd"),n.createElement("a",{href:"https://twitter.com/hashtag/opensource?src=hash&ref_src=twsrc%5Etfw"},"#opensource")," ",n.createElement("a",{href:"https://twitter.com/hashtag/ReactJS?src=hash&ref_src=twsrc%5Etfw"},"#ReactJS")),"\u2014 refine (@refine_dev)"," ",n.createElement("a",{href:"https://twitter.com/refine_dev/status/1565321477628510208?ref_src=twsrc%5Etfw"},"September 1, 2022"))))},3540:(e,t,r)=>{"use strict";r.d(t,{Wr:()=>o,ef:()=>u,qq:()=>m,A9:()=>p,cn:()=>h,gZ:()=>y,aA:()=>E,Wu:()=>k});var n=r(4971),l=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const o=e=>l.createElement("svg",c(function(e){for(var t=1;tl.createElement("svg",s(function(e){for(var t=1;tl.createElement("svg",function(e){for(var t=1;tl.createElement("svg",function(e){for(var t=1;tl.createElement("svg",g(function(e){for(var t=1;tl.createElement("svg",v(function(e){for(var t=1;tl.createElement("svg",j(function(e){for(var t=1;tl.createElement("svg",P(function(e){for(var t=1;t{"use strict";r.d(t,{q:()=>c,y:()=>o});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a="tutorial-checklist-store",c=n.createContext({store:{},toggle:()=>{}}),o=({children:e})=>{const[t,r]=n.useState((()=>{if("undefined"!=typeof window){const t=localStorage.getItem(a);if(t)try{const e=JSON.parse(t);if("object"==typeof e)return e}catch(e){return{}}}return{}})),o=n.useCallback(((e,t,n)=>{r((r=>{const a=function(e){for(var t=1;t{"undefined"!=typeof window&&localStorage.setItem(a,JSON.stringify(t))}),[t]),n.createElement(c.Provider,{value:{store:t,toggle:o}},e)}},1648:(e,t,r)=>{"use strict";r.d(t,{g5:()=>i,mk:()=>s,sH:()=>a});var n=r(1504),l=r(2288);r(5904);const a=["headless","antd","chakra-ui","mantine","mui"],c=e=>{if(a.includes(e))return e},o="tutorial-preferred-ui-package",i=n.createContext({preferred:"headless",current:void 0,setPreferred:()=>{}}),s=({children:e})=>{const{metadata:t}=(0,l.G)(),r=(e=>{const t=e.match(/\/(headless|antd|chakra-ui|mantine|mui)\//);if(t&&c(t[1]))return t[1]})(t.id),[a,s]=n.useState("headless");n.useEffect((()=>{if("undefined"!=typeof window){const e=localStorage.getItem(o),t=c(e);t&&s(t)}}),[]);const u=e=>{c(e)&&("undefined"!=typeof window&&localStorage.setItem(o,e),s(e))};return n.useEffect((()=>{r&&r!==a&&u(r)}),[r,a]),n.createElement(i.Provider,{value:{preferred:a,setPreferred:u,current:r||a}},e)}},9092:(e,t,r)=>{"use strict";r.d(t,{WO:()=>m,iC:()=>d});var n=r(1504),l=r(640),a=r(2064);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;t0}),s="tutorial-parameters",u=(e,t)=>{for(const r of t)if(e.includes(`/${r.value}`))return r.value},f=()=>{const{pathname:e}=(0,l.IT)();return n.useMemo((()=>(e=>{const t={};for(const[r,n]of Object.entries(a.Sm.parameterOptions)){const l=u(e,n);l&&(t[r]=l)}return t})(e)),[e])},m=({children:e})=>{const[t,r]=n.useState(void 0),[l,c]=n.useState(!1),u=f(),m=n.useCallback((e=>{r((t=>{try{localStorage.setItem(s,JSON.stringify(o({},t,e)))}catch(r){console.error(r)}return o({},t,e)}))}),[]);return n.useEffect((()=>{try{const e=localStorage.getItem(s);m(e?o({},a.Sm.defaultParameters,JSON.parse(e),u):o({},a.Sm.defaultParameters,u))}catch(e){m(o({},a.Sm.defaultParameters,u))}c(!0)}),[]),n.createElement(i.Provider,{value:{parameters:t,setParameters:m,settled:l,options:a.Sm.parameterOptions}},e)},d=()=>n.useContext(i)},3376:(e,t,r)=>{"use strict";r.d(t,{U:()=>p});var n=r(2288),l=r(1688),a=(r(1504),r(3908));function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;t{var e,t,r,c;const f=(0,n.G)(),{docs:p}=(0,l.E)(),{frontMatter:b,metadata:{id:g}}=f,{tutorial:{units:h}}=(0,u.e)(),{current:O}=(0,a.U)(),v=e=>{const t=e.id.split("/"),r=s.sH.filter((e=>e!==O));return!t.find((e=>r.includes(e)))},y=!!(null===(e=b)||void 0===e?void 0:e.tutorial),w=g.split("/")[1],j=function({frontMatter:e}){const{docs:t}=(0,l.E)(),{current:r}=(0,a.U)(),n=e=>{if(e.includes("{preferredUI}")||r)return e.replace("{preferredUI}",r)},c=e=>"/docs/"+e,{tutorial:s}=e,{next:u,prev:f}=null!=s?s:{},m=u?n(u):void 0,d=t[f?n(f):void 0],p=t[m];return{previous:d?i(o({},d),{permalink:c(d.id)}):void 0,next:p?i(o({},p),{permalink:c(p.id)}):void 0}}(f),E=Object.entries(p).filter((([e])=>e.startsWith("tutorial/"))).reduce(((e,[t,r])=>{const n=t.split("/")[1];return n.startsWith("partial-")||(e[n]||(e[n]=[]),e[n].push(r)),e}),{}),x=Object.entries(E).map((([e,r])=>d(m({unit:e,no:null===(t=h[e])||void 0===t?void 0:t.no,title:h[e].label},e===w&&y&&{current:!0}),{docs:r.map((e=>m({},e,e.id===g&&y&&{current:!0}))).filter(v)}))).sort(((e,t)=>(null===(r=e)||void 0===r?void 0:r.no)-(null===(c=t)||void 0===c?void 0:c.no)));return y?{id:g,isTutorial:y,unit:w,pagination:j,units:x}:void 0}},5560:(e,t,r)=>{"use strict";r.d(t,{c:()=>l});var n=r(1504);const l=(e,t="0px")=>{const[r,l]=n.useState(!1);return n.useEffect((()=>{var r;const n=null===(r=e)||void 0===r?void 0:r.current,a=new IntersectionObserver((([e])=>{l(e.isIntersecting)}),{rootMargin:t});return n&&a.observe(n),()=>{n&&a.unobserve(n)}}),[]),r}},8840:(e,t,r)=>{"use strict";r.d(t,{ot:()=>s,GC:()=>u});var n=r(1504);const l={items:[]};var a=r(3740);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;tt.filter((t=>t.unit===e));function u(){const{store:e,toggle:t}=n.useContext(a.q);return{items:n.useMemo((()=>{var t,r,n,a;return null!==(a=null===(n=l)||void 0===n||null===(t=(r=n.items).map)||void 0===t?void 0:t.call(r,(t=>{const{id:r}=t;return i(o({},t),{checklist:t.checklist.map((t=>{var n;return i(o({},t),{checked:null!==(n=e[r]?.[t.id])&&void 0!==n&&n})})).sort(((e,t)=>e.index-t.index))})})))&&void 0!==a?a:[]}),[e]),toggle:t}}},380:(e,t,r)=>{"use strict";r.d(t,{e:()=>l});var n=r(9936);r(1504);const l=()=>{const{siteConfig:{customFields:e}}=(0,n.c)(),{tutorial:t}=e;return t}},3908:(e,t,r)=>{"use strict";r.d(t,{U:()=>a});var n=r(1504),l=r(1648);const a=()=>n.useContext(l.g5)},7500:(e,t,r)=>{"use strict";r.d(t,{Ih:()=>o,oJ:()=>c,yg:()=>a});var n=r(4971),l=r(1504);const a="preferred-full-table-width",c=e=>l.createElement("div",{className:(0,n.c)("table-container")},l.createElement("table",e)),o=({children:e})=>l.createElement("div",{className:"table-full-width"},e)},3624:(e,t,r)=>{"use strict";r.d(t,{O:()=>h});var n=r(1504),l=r(4971),a=r(9184),c=r(844),o=r(8472),i=r(3652);function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const u=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const[t,r]=n.useState(!0),[l,a]=n.useState(!0),[c,o]=n.useState(!0),[i,s]=n.useState(!0),[u,f]=n.useState(!1);return n.useEffect((()=>{if("undefined"!=typeof window){const[t,n,l,c,i]=d[e.variant].map((e=>window.matchMedia(`(min-width: ${e}px)`))),u=e=>{r(e.matches)},m=e=>{a(e.matches)},p=e=>{o(e.matches)},b=e=>{s(e.matches)},g=e=>{f(e.matches)};return t.addEventListener("change",u),n.addEventListener("change",m),l.addEventListener("change",p),c.addEventListener("change",b),i.addEventListener("change",g),r(t.matches),a(n.matches),o(l.matches),s(c.matches),f(i.matches),()=>{t.removeEventListener("change",u),n.removeEventListener("change",m),l.removeEventListener("change",p),c.removeEventListener("change",b),i.removeEventListener("change",g)}}}),[]),{sm:t,md:l,lg:c,xl:i,xxl:u}};function b(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const h=()=>{const e=p(),t=(0,c.js)(),r=(0,o.Y5)();if(!t)return null;const[s,f]=(0,n.useMemo)((()=>{const r=t.length>3&&!e.sm;return[t.map(((e,t,n)=>g(function(e){for(var t=1;t0&&t"Examples"===e.label))&&n.createElement("div",{className:(0,l.c)("example-full-title","hidden","h-0 w-0","overflow-hidden"),"aria-hidden":!0},s.slice(2).map((e=>e.label)).join(" ")," Example"),n.createElement("ul",{className:(0,l.c)("breadcrumbs","flex flex-wrap items-center"),itemScope:!0,itemType:"https://schema.org/BreadcrumbList"},r&&n.createElement("li",{itemScope:!0,itemProp:"itemListElement",itemType:"https://schema.org/ListItem"},n.createElement(a.c,{href:"https://prepverse.vercel.app/docs",itemProp:"item"},n.createElement(u,{className:"text-gray-400 dark:text-gray-500"}),n.createElement("span",{className:"sr-only",itemProp:"name"},"Documentation"),n.createElement("meta",{itemProp:"position",content:"1"}))),s.map(((e,r)=>{const c=r===t.length-1;return n.createElement(n.Fragment,{key:r},n.createElement("li",{className:(0,l.c)("flex-row flex-nowrap",e.hideOnMobile?"hidden":"flex"),itemScope:!0,itemProp:"itemListElement",itemType:"https://schema.org/ListItem"},n.createElement(m,{className:"text-gray-400 dark:text-gray-500"}),e.href&&!c?n.createElement(a.c,{href:e.href,className:(0,l.c)("text-gray-500 dark:text-gray-400","text-base"),itemProp:"item",itemID:e.href},n.createElement("span",{itemProp:"name"},e.label)):n.createElement("span",{className:(0,l.c)(c?"text-gray-400 dark:text-gray-500":"text-gray-500 dark:text-gray-400"),itemProp:"item",itemID:"#"},n.createElement("span",{itemProp:"name"},e.label)),n.createElement("meta",{itemProp:"position",content:String(r+2)})),0===r&&s.length>1&&f?n.createElement("li",{className:(0,l.c)("flex flex-row flex-nowrap")},n.createElement(m,{className:"text-gray-400 dark:text-gray-500"}),n.createElement("div",{className:"text-gray-500 dark:text-gray-400"},"...")):null)}))))}},8692:(e,t,r)=>{"use strict";r.d(t,{l:()=>a});var n=r(1504),l=r(4971);const a=({version:e})=>n.createElement("div",{className:(0,l.c)("z-[1]","relative")},n.createElement("div",{className:(0,l.c)("absolute","-left-0.5","-top-0.5","blur","overflow-hidden","rounded-full","w-[calc(100%+0.25rem)] h-[calc(100%+0.25rem)]","z-[-1]")},n.createElement("div",{className:(0,l.c)("absolute","w-[150%] aspect-square h-auto","left-[-20%]","top-[-100px]","bg-landing-rainbow","animate-spin-slow","animation-slower-speed","animation-running","group-hover:animation-paused")})),n.createElement("div",{className:(0,l.c)("text-xm","py-[7px] px-4","rounded-[32px]","font-jetBrains-mono","border border-solid","border-orange-500 dark:border-green-800","text-gray-0 dark:text-gray-0","bg-orange-500 dark:bg-green-800")},e))},5636:(e,t,r)=>{"use strict";r.d(t,{C:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{G:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{A:()=>c,i:()=>o});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e){for(var t=1;tn.createElement("svg",a({width:12,height:12,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.053 0A10.904 10.904 0 0 0 3.89 2.685 11.34 11.34 0 0 0 .142 9.472a11.48 11.48 0 0 0 1.456 7.65 11.087 11.087 0 0 0 5.964 4.86c.556.103.752-.25.752-.547v-1.918C5.23 20.202 4.58 18 4.58 18a3.012 3.012 0 0 0-1.227-1.655c-.997-.692.081-.692.081-.692.35.05.683.18.975.382.293.202.536.469.713.78.15.278.352.523.595.721a2.312 2.312 0 0 0 2.618.221c.042-.57.283-1.105.678-1.509-2.454-.284-5.03-1.253-5.03-5.539a4.415 4.415 0 0 1 1.132-3.025A4.194 4.194 0 0 1 5.224 4.7s.928-.305 3.036 1.156c1.81-.508 3.72-.508 5.531 0 2.108-1.46 3.03-1.156 3.03-1.156.406.936.455 1.993.135 2.963a4.415 4.415 0 0 1 1.132 3.026c0 4.334-2.582 5.282-5.043 5.538.264.271.468.597.598.955.13.358.182.741.155 1.122V21.4c0 .367.196.65.759.54a11.093 11.093 0 0 0 5.88-4.878 11.481 11.481 0 0 0 1.419-7.6 11.34 11.34 0 0 0-3.71-6.746A10.907 10.907 0 0 0 11.053 0Z",fill:"currentColor"})),o=e=>n.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.066.001a11.91 11.91 0 0 1 7.745 2.966 12.326 12.326 0 0 1 4.032 7.33 12.46 12.46 0 0 1-1.54 8.245 12.088 12.088 0 0 1-6.406 5.314l-.105.037-.11.021c-.508.1-1.232.093-1.83-.422-.577-.498-.681-1.166-.681-1.565v-3.008l.004-.053a1.102 1.102 0 0 0-.062-.453 1.058 1.058 0 0 0-.235-.377l-.839-.86-.863.882a.802.802 0 0 0-.224.502l-.015.217v3.183c0 .434-.14 1.029-.628 1.492-.541.514-1.246.62-1.864.505l-.108-.02-.104-.035a12.082 12.082 0 0 1-6.498-5.296 12.457 12.457 0 0 1-1.58-8.298c.45-2.86 1.891-5.471 4.073-7.375A11.909 11.909 0 0 1 12.05.001h.016Zm-10.43 10.54a10.957 10.957 0 0 0 1.39 7.303 10.58 10.58 0 0 0 5.693 4.638c.53.099.717-.238.717-.522v-1.83c-.588.13-1.083.15-1.5.1a2.95 2.95 0 0 1-.542-.117 2.551 2.551 0 0 1-.422-.176 2.362 2.362 0 0 1-.82-.72c-.208-.294-.28-.535-.28-.535a2.876 2.876 0 0 0-1.17-1.58l-.016-.01c-.925-.65.093-.65.093-.65.106.015.21.038.313.068l.017.005a2.172 2.172 0 0 1 .962.603c.122.13.23.276.319.433a2.29 2.29 0 0 0 .68.775h.002s0 .001 0 0a2.211 2.211 0 0 0 2.385.124v-.014a2.302 2.302 0 0 1 .647-1.427 8.754 8.754 0 0 1-1.625-.328 4.865 4.865 0 0 1-1.416-.695 3.883 3.883 0 0 1-.432-.365c-.8-.786-1.328-2.002-1.328-3.899a4.214 4.214 0 0 1 1.08-2.887 4.003 4.003 0 0 1 .104-2.848s.886-.291 2.898 1.103a9.762 9.762 0 0 1 5.28 0c2.011-1.393 2.891-1.103 2.891-1.103.388.893.434 1.902.13 2.828a4.214 4.214 0 0 1 1.08 2.888c0 3.166-1.444 4.44-3.174 4.972a8.617 8.617 0 0 1-1.64.314 2.558 2.558 0 0 1 .699 1.425c.026.184.033.371.02.558v2.955c0 .35.187.62.724.515a10.588 10.588 0 0 0 5.613-4.656 10.958 10.958 0 0 0 1.354-7.254 10.824 10.824 0 0 0-3.541-6.439 10.41 10.41 0 0 0-6.77-2.592 10.408 10.408 0 0 0-6.837 2.563 10.824 10.824 0 0 0-3.578 6.478ZM16.374 7.8a8.003 8.003 0 0 0-.856.524l-.58.401-.679-.19a8.262 8.262 0 0 0-4.469 0l-.68.19-.58-.402a7.982 7.982 0 0 0-.846-.519c.019.186.059.37.12.549l.282.832-.588.653a2.714 2.714 0 0 0-.696 1.86v.024c0 1.724.503 2.513.998 2.937.563.481 1.397.736 2.476.86l1.567.182 1.954-.204c1.082-.112 1.912-.358 2.47-.833.492-.418.999-1.209.999-2.96v-.026a2.714 2.714 0 0 0-.696-1.86l-.582-.647.273-.826c.058-.178.096-.36.113-.545Z",clipRule:"evenodd"}))},2108:(e,t,r)=>{"use strict";r.d(t,{G:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{o:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{D:()=>f});var n=r(1504),l=r(4971),a=r(9184);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const o=e=>n.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const f=e=>{var{children:t,href:r,className:c,onClick:f,buttonClassname:m}=e,d=u(e,["children","href","className","onClick","buttonClassname"]);const p=r?a.c:"button";return n.createElement(p,s(function(e){for(var t=1;t{"use strict";r.d(t,{ED:()=>i,Ip:()=>s,_i:()=>m,Mx:()=>u,iG:()=>d,Yv:()=>o,Sm:()=>c,G_:()=>f});var n=r(2411);const l=JSON.parse('{"label":"Tutorial","path_prefix_segment":"tutorial","defaultParameters":{"language":"cpp"},"parameterOptions":{"language":[{"label":"C++","value":"cpp"},{"label":"Python","value":"py"},{"label":"Java","value":"java","status":"coming-soon"}]},"units":[{"title":"DSA","id":"dsa","items":["dsa/:language/index"]}]}');var a=r(1688);const c=l,o=(e,t)=>e.split("/").map((e=>{if(e.startsWith(":")){const r=e.slice(1);return t[r]}return e})).join("/"),i=(e,t)=>{for(const r of c.units)for(const n of r.items)if(e===o(n,t))return r},s=(e,t)=>{let r=!1;for(const n of c.units)for(const l of n.items){if(r)return l;o(l,t)===e&&(r=!0)}},u=(e,t)=>{let r=null;for(const n of c.units)for(const l of n.items){if(o(l,t)===e)return r;r=l}},f=()=>{const{docs:e}=(0,a.E)(),{versions:t}=(0,n.MP)("docusaurus-plugin-content-docs","tutorial"),r=t[0].docs;for(const n of r)n.title=e[n.id].title;return Object.fromEntries(r.map((e=>[e.id,e])))},m=(e,t)=>{const r=t[e];if(!r)throw new Error(`Cannot find item with id ${e}`);return r.path},d=(e,t)=>{const r=t[e];if(!r)throw new Error(`Cannot find doc with id ${e}`);return r.title}},1240:(e,t,r)=>{"use strict";r.d(t,{c:()=>C});var n=r(1504),l=r(4971);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{var a;const c=null!==(a=p[e])&&void 0!==a?a:()=>null;var o;const i=null!==(o=b[e])&&void 0!==o?o:"tex-inherit";var s;const u=null!==(s=g[e])&&void 0!==s?s:"bg-inherit";return"simple"===e?n.createElement(v,{type:e,title:t},r):n.createElement("div",{className:(0,l.c)("rounded-lg","admonition",`admonition-${e}`,"mb-6","refine-wider-container",u)},n.createElement("div",{className:(0,l.c)("border-l-4","border-l-solid","border-l-inherit","rounded-tl-lg","rounded-bl-lg","py-4","pr-4","pl-3","flex flex-col","gap-2 sm:gap-4")},(t||h[e])&&n.createElement("div",{className:(0,l.c)("flex","items-center","gap-2","text-xs sm:text-base 2xl:text-base 2xl:leading-7","font-semibold",i)},n.createElement(c,null),n.createElement("span",{className:"uppercase"},null!==(f=null!=t?t:h[e])&&void 0!==f?f:"")),n.createElement("div",{className:(0,l.c)("text-gray-0","text-base","last:mb-0")},r)));var f},v=({type:e,title:t,children:r})=>{var a;const c=null!==(a=b[e])&&void 0!==a?a:"tex-inherit";var o;const i=null!==(o=g[e])&&void 0!==o?o:"bg-inherit";return n.createElement("div",{className:(0,l.c)("rounded-lg","admonition",`admonition-${e}`,"mb-6",i)},n.createElement("div",{className:(0,l.c)("flex flex-col","gap-2",!t&&"pt-4")},t&&n.createElement("div",{className:(0,l.c)("px-4","pt-4","text-sm","leading-5","-mt-0.5",c)},n.createElement("span",{className:"font-semibold"},null!=t?t:""),n.createElement("span",null,":")),n.createElement("div",{className:(0,l.c)("text-gray-0","text-base","last:mb-0","px-4 pb-4","admonition-content")},r)))};function y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function w(e){for(var t=1;tn.isValidElement(e)&&"mdxAdmonitionTitle"===(null===(t=e.props)||void 0===t?void 0:t.mdxType))),a=n.createElement(n.Fragment,null,r.filter((e=>e!==l)));return{mdxAdmonitionTitle:l,rest:a}}(e.children);var l;return j(w({},e),{title:null!==(l=e.title)&&void 0!==l?l:t,children:r})}const k=e=>{const{children:t,type:r,title:l}=P(e);return n.createElement(O,{type:r,title:l},t)};function C(e){return"info-tip"===e.type?n.createElement(k,e):"additional"===e.type?n.createElement(k,j(w({},e),{type:"note",title:"ADDITIONAL INFO"})):"sourcecode"===e.type?n.createElement(k,j(w({},e),{icon:n.createElement(E,null),title:n.createElement("a",{href:e.path,target:"_blank",rel:"noreferrer",style:{marginLeft:"4px"}},"SOURCE CODE"),titleProps:{style:{marginBottom:"-4px"}}}),e.children):"create-example"===e.type?n.createElement(k,j(w({},e),{type:"caution",icon:n.createElement(x,null),title:n.createElement("span",{style:{marginLeft:"4px"}},"RUN IN YOUR LOCAL")}),e.children):n.createElement(n.Fragment,null,n.createElement(k,e))}},8560:(e,t,r)=>{"use strict";r.d(t,{s:()=>Z});var n=r(1504),l=r(8952),a=r(8796),c=r(5684),o=r(6564),i=r(2184),s=r(6616),u=r(5952),f=r(4971),m=r(1373);function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function b(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},a=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const g=e=>{var{as:t}=e,r=b(e,["as"]);return n.createElement(t,p(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const[r,l]=(0,n.useState)(!1),a=(0,n.useRef)(void 0),c=(0,n.useCallback)((()=>{try{navigator.clipboard.writeText(e).then((()=>{l(!0),a.current=window.setTimeout((()=>{l(!1)}),1e3)}))}catch(t){}}),[e]);return(0,n.useEffect)((()=>()=>window.clearTimeout(a.current)),[]),n.createElement("button",{type:"button","aria-label":r?"Copied!":"Copy code to clipboard",title:"Copy code to clipboard",className:(0,f.c)("w-6 h-6","flex justify-center items-center","bg-gray-200","dark:bg-gray-800","hover:bg-gray-300","dark:hover:bg-refine-react-dark-code","rounded","group","transition-[background-color] duration-200 ease-in-out"),onClick:c},n.createElement(O,{className:(0,f.c)("w-3 h-3","text-gray-500","dark:text-gray-400",r&&"rotate-[360deg]","transition-all duration-200 ease-in-out")}))};function y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const w=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const r=t?w:E;return n.createElement("button",{type:"button",onClick:()=>e(),className:(0,f.c)("w-6 h-6","flex justify-center items-center","bg-gray-200","dark:bg-gray-800","hover:bg-gray-300","dark:hover:bg-refine-react-dark-code","rounded","group","transition-[background-color] duration-200 ease-in-out"),"aria-label":"Toggle word wrap",title:"Toggle word wrap"},n.createElement(r,{className:(0,f.c)("w-3 h-3","text-gray-500","dark:text-gray-400",t&&"rotate-[360deg]","transition-all duration-200 ease-in-out")}))};function P(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function k(e){for(var t=1;tn.createElement("svg",k({xmlns:"http://www.w3.org/2000/svg",width:12,height:14,viewBox:"0 0 12 14",fill:"none"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M11 4.994V11.6A1.4 1.4 0 0 1 9.6 13H2.4A1.4 1.4 0 0 1 1 11.6V2.4A1.4 1.4 0 0 1 2.4 1h4.606a1.4 1.4 0 0 1 .99.41l2.594 2.594a1.4 1.4 0 0 1 .41.99ZM0 2.4A2.4 2.4 0 0 1 2.4 0h4.606a2.4 2.4 0 0 1 1.697.703l2.594 2.594A2.4 2.4 0 0 1 12 4.994V11.6A2.4 2.4 0 0 1 9.6 14H2.4A2.4 2.4 0 0 1 0 11.6V2.4ZM3.5 6a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5Zm0 2a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5Zm0 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3Z",clipRule:"evenodd"})),H=({children:e,icon:t=n.createElement(A,null)})=>n.createElement("div",{className:(0,f.c)("py-3","px-4","bg-gray-100 dark:bg-gray-700","text-gray-800","dark:text-gray-100","text-xs","flex items-center","gap-2","rounded-tl-lg","rounded-tr-lg")},t,e),S=({children:e,className:t="",metastring:r,title:l,showLineNumbers:a,language:d,icon:p,style:b})=>{const{prism:{defaultLanguage:h,magicComments:O}}=(0,c.y)();var y;const w=null!==(y=null!=d?d:(0,i.K2)(t))&&void 0!==y?y:h,j=(0,o.i)(),E=(0,s._)(),P=(0,i.QH)(r)||l,{lineClassNames:A,code:S}=(0,i.cj)(e,{metastring:r,language:w,magicComments:O}),N=null!=a?a:(0,i.OO)(r);return n.createElement(g,{as:"div",className:(0,f.c)("refine-common-code-block",w&&`language-${w}`,"rounded-lg","bg-gray-200","dark:bg-gray-900","border","border-gray-300","dark:border-0","mb-6","relative","refine-wider-container"),style:b},P&&n.createElement(H,{icon:p},P),n.createElement("div",{className:(0,f.c)("relative","pt-3","pb-0","not-prose")},n.createElement(m.cp,C(k({},m.wB),{theme:j,code:S,language:null!=w?w:"text"}),(({className:e,tokens:t,getLineProps:r,getTokenProps:l})=>n.createElement("pre",{tabIndex:0,ref:E.codeBlockRef,className:(0,f.c)(e,"bg-transparent","!mt-0","!mb-0","m-0","px-0","pt-0","font-jetBrains-mono","pb-3")},n.createElement("code",{className:(0,f.c)("font-[inherit]","bg-transparent","inline-block","min-w-full")},t.map(((e,t)=>n.createElement(u.c,{key:t,line:e,getLineProps:r,getTokenProps:l,classNames:(0,f.c)(A[t],"px-4","text-xs sm:text-sm 2xl:text-sm"),showLineNumbers:N})))))))),n.createElement("div",{className:(0,f.c)("absolute",P?"top-2 right-2":"top-3 right-3","flex items-center gap-2")},(E.isEnabled||E.isCodeScrollable)&&n.createElement(x,{onClick:E.toggle,isEnabled:E.isEnabled}),n.createElement(v,{className:(0,f.c)(),code:S})))};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}function D(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},a=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const Z=e=>{var{children:t}=e,r=D(e,["children"]);const c=(0,l.c)(),o=function(e){return n.Children.toArray(e).some((e=>(0,n.isValidElement)(e)))?e:Array.isArray(e)?e.join(""):e}(t),i="string"==typeof o?S:a.c;return n.createElement(i,function(e){for(var t=1;t{"use strict";r.d(t,{c:()=>H});var n=r(1504),l=r(8560),a=r(4971),c=r(9936),o=r(7748),i=r.n(o),s=r(1688);const u="playgroundPreview_jwe9";function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function m({children:e,minHeight:t,url:r="http://localhost:3000",hasBottom:l=!1}){return n.createElement("div",{className:(0,a.c)("flex","flex-col","h-full")},n.createElement("div",{className:(0,a.c)("flex-shrink-0","rounded-tl-lg","rounded-tr-lg","border","border-gray-300 dark:border-gray-700","px-4 py-3","flex items-center justify-start","gap-2","bg-gray-100 dark:bg-gray-700","relative","text-gray-800 dark:text-gray-100","border-b-0")},n.createElement(d,{className:"w-4 h-4"}),n.createElement("div",{className:(0,a.c)("text-xs")},`${r}`.replace(/^http(s?):\/\//,""))),n.createElement("div",{className:(0,a.c)("flex-1","overflow-hidden","bg-gray-100 dark:bg-gray-700","border border-gray-300 dark:border-gray-700",!l&&"rounded-bl-lg rounded-br-lg",l&&"border-b-gray-300 dark:border-b-gray-900",l&&"border-b"),style:{minHeight:t}},e))}const d=e=>n.createElement("svg",function(e){for(var t=1;t{const[l,a]=n.useState(e),[c]=n.useState(t);n.useEffect((()=>{!l&&e&&a(!0)}),[e]),n.useEffect((()=>{if(c){const e=setTimeout((()=>{a(!0)}),c);return()=>clearTimeout(e)}}),[c]);const o=n.useMemo((()=>l&&"function"==typeof r?r():null),[l]);if(void 0!==r&&"function"!=typeof r)throw new Error("Conditional component requires a function as a child");return o};var g=r(9128),h=r(3296);function O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.g.Buffer=r.g.Buffer||h.Sn;const v=({query:e,code:t,css:r})=>{const{siteConfig:{customFields:l}}=(0,c.c)(),[a,o]=n.useState(void 0),s=n.useCallback((async t=>{if("undefined"!=typeof window&&window.Worker){const n=new Worker(`${location.protocol}//${location.host}/workers/lz-worker.js`);n.onmessage=function({data:t}){t.compressed&&o(`${l.LIVE_PREVIEW_URL}?code=${t.compressed}${r?`&css=${i().encode(r)}`:""}${e?`${e}`:""}`),n.terminate()},n.postMessage({code:t})}}),[e]);return n.useEffect((()=>{s(t)}),[t,s]),a?n.createElement("iframe",{loading:"lazy",src:a,width:"100%",height:"100%",style:{position:"absolute",left:0,top:0,width:"100%",height:"100%"}}):null},y=n.memo(v,((e,t)=>e.code===t.code&&e.query===t.query&&e.css===t.css)),w=e=>n.createElement("svg",function(e){for(var t=1;t{l?(i(!1),setTimeout((()=>{c((e=>!e)),setTimeout((()=>{i(!0)}),300)}),100)):(i(!1),c((e=>!e)),setTimeout((()=>{i(!0)}),300))}},n.createElement(w,{className:(0,a.c)(l&&"rotate-180","transition-transform","duration-200","ease-in-out")}),n.createElement("span",{className:(0,a.c)("text-base","block","overflow-hidden","h-6")},n.createElement("span",{className:(0,a.c)("block",l&&"opacity-0","transition-opacity duration-200 ease-in-out")},"Show Code"),n.createElement("span",{className:(0,a.c)("block","transition-transform duration-200 ease-in-out","bg-gray-100 dark:bg-gray-700",l&&"-translate-y-6")},"Hide Code"))),n.createElement("div",{className:(0,a.c)("rounded-bl-lg","rounded-br-lg"),style:{maxHeight:l?o?"unset":"100vh":"0px",transition:"0.3s all ease-in-out",overflow:"hidden"},ref:r},n.createElement(H,{language:"tsx",style:{marginBottom:0,marginRight:"0",marginLeft:"0",borderTopLeftRadius:"0",borderTopRightRadius:"0",borderBottomLeftRadius:"0.5rem",borderBottomRightRadius:"0.5rem"}},t)))}const E=({children:e,disableScroll:t,previewHeight:r,hideCode:l=!1,url:o="http://localhost:3000",previewOnly:i=!1,tailwind:f=!1})=>{const d=String(e),{shared:h,sharedCss:O}=(0,g.UF)(),{visible:v}=(e=>{const t="// visible-block-start";let r=e.indexOf(t);r=r>0?r+22:0;let n=e.indexOf("// visible-block-end");n=n>0?n:e.length;const l=e.slice(0,r),a=e.slice(r,n).trimEnd().trimStart(),c=e.slice(n);return{visible:a,join:e=>`${l}\n${e}\n${c}`}})(`\n ${null!=h?h:""}\n ${d}\n `.replace(/\n$/,"")),w=n.useRef(null),E=(0,p.c)(w),{siteConfig:{customFields:x}}=(0,c.c)(),{isLast:P}=(0,s.E)();return n.createElement("div",{className:(0,a.c)("overflow-hidden","mb-6","refine-wider-container")},n.createElement(n.Fragment,null,n.createElement(m,{url:o,hasBottom:!i},n.createElement("div",{className:(0,a.c)(u,"live-editor-wrapper"),style:{maxHeight:r,minHeight:r,overflow:t?"hidden":void 0,position:"relative"},ref:w},P?n.createElement(b,{if:E,maxWait:3e3},(()=>n.createElement(y,{code:`\n${null!=h?h:""}\n${d}\n `,css:O,query:`${t?"&disableScroll=true":""}${f?"&tailwind=true":""}`}))):n.createElement("div",{style:{height:"100%",minHeight:"inherit",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"1.25rem"}},n.createElement("span",null,"Live previews only work with the latest documentation.")))),!i&&n.createElement(j,{hidden:l,code:v})))},x=n.memo(E,((e,t)=>String(e.children)===String(t.children))),P=({children:e})=>{const{setShared:t}=(0,g.UF)();return n.useEffect((()=>(t(String(e)),()=>{t(void 0)})),[e]),null},k=n.memo(P,((e,t)=>String(e.children)===String(t.children))),C=({children:e})=>{const{setSharedCss:t}=(0,g.UF)();return n.useEffect((()=>(t(String(e)),()=>{t(void 0)})),[e]),null},A=n.memo(C,((e,t)=>String(e.children)===String(t.children)));function H(e){var t,r;return e.live&&e.live&&(null===(r=e.className)||void 0===r||null===(t=r.includes)||void 0===t?void 0:t.call(r,"language-css"))?n.createElement(A,e):e.shared&&e.live?n.createElement(k,e):e.live?n.createElement(x,e):n.createElement(l.s,e)}},8492:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>ue});var n=r(1504),l=r(2288),a=r(4464),c=r(1688),o=r(4971),i=r(5628),s=r(9040),u=r(56);function f({children:e}){const t=function(){const{metadata:e,frontMatter:t,contentTitle:r}=(0,l.G)();return t.hide_title||void 0!==r?null:e.title}();return n.createElement("div",{className:(0,o.c)(i.W.docs.docMarkdown,"markdown")},t&&n.createElement("header",null,n.createElement(s.c,{as:"h1"},t)),n.createElement(u.c,null,e))}var m=r(5792),d=r(3652),p=r(8092);const b={tags:"tags_jXut",tag:"tag_QGVx"};function g({tags:e}){return n.createElement(n.Fragment,null,n.createElement("b",null,n.createElement(d.c,{id:"theme.tags.tagsListLabel",description:"The label alongside a tag list"},"Tags:")),n.createElement("ul",{className:(0,o.c)(b.tags,"padding--none","margin-left--sm")},e.map((({label:e,permalink:t})=>n.createElement("li",{key:t,className:b.tag},n.createElement(p.c,{label:e,permalink:t}))))))}function h(e){return n.createElement("div",{className:(0,o.c)(i.W.docs.docFooterTagsRow,"row margin-bottom--sm")},n.createElement("div",{className:"col"},n.createElement(g,e)))}function O({editUrl:e,lastUpdatedAt:t,lastUpdatedBy:r,formattedLastUpdatedAt:l}){return n.createElement("div",{className:(0,o.c)("flex items-start justify-between content-md:items-center","flex-col content-md:flex-row","gap-4")},n.createElement("div",{className:(0,o.c)("rounded-2xl border dark:border-gray-700 border-gray-300 p-2")},n.createElement("a",{href:e,target:"_blank",rel:"noreferrer noopener",className:(0,o.c)("text-refine-link-light dark:text-refine-link-dark","text-xs content-4xl:text-sm","flex gap-2 items-center")},n.createElement(m.A,{className:"w-4 h-4"})," Edit this page")),n.createElement("div",{className:(0,o.c)("text-gray-500","text-xs leading-4 content-4xl:text-base content-4xl:leading-6")},n.createElement("span",null,"Last updated on "),n.createElement("span",null,l," "),n.createElement("span",null,"by ",r)))}const v=()=>{const{metadata:e}=(0,l.G)(),{editUrl:t,lastUpdatedAt:r,formattedLastUpdatedAt:a,lastUpdatedBy:c,tags:i}=e,s=i.length>0,u=!!(t||r||c);return s||u?n.createElement("footer",{className:(0,o.c)("flex","flex-col","gap-6","mt-16","mb-6")},s&&n.createElement(h,{tags:i}),u&&n.createElement(O,{editUrl:t,lastUpdatedAt:r,lastUpdatedBy:c,formattedLastUpdatedAt:a})):null};var y=r(6008),w=r(3376);function j(){const{metadata:e}=(0,l.G)(),t=(0,w.U)(),r=!!t,a=r?t.pagination.previous:e.previous,c=r?t.pagination.next:e.next;return n.createElement(y.c,{previous:a,next:c})}var E={"":["",""],_:["",""],"*":["",""],"~":["",""],"\n":["
    "]," ":["
    "],"-":["
    "]};function x(e){return e.replace(RegExp("^"+(e.match(/^(\t| )+/)||"")[0],"gm"),"")}function P(e){return(e+"").replace(/"/g,""").replace(//g,">")}function k(e,t){var r,n,l,a,c,o=/((?:^|\n+)(?:\n---+|\* \*(?: \*)+)\n)|(?:^``` *(\w*)\n([\s\S]*?)\n```$)|((?:(?:^|\n+)(?:\t| {2,}).+)+\n*)|((?:(?:^|\n)([>*+-]|\d+\.)\s+.*)+)|(?:!\[([^\]]*?)\]\(([^)]+?)\))|(\[)|(\](?:\(([^)]+?)\))?)|(?:(?:^|\n+)([^\s].*)\n(-{3,}|={3,})(?:\n+|$))|(?:(?:^|\n+)(#{1,6})\s*(.+)(?:\n+|$))|(?:`([^`].*?)`)|( \n\n*|\n{2,}|__|\*\*|[_*]|~~)/gm,i=[],s="",u=t||{},f=0;function m(e){var t=E[e[1]||""],r=i[i.length-1]==e;return t?t[1]?(r?i.pop():i.push(e),t[0|r]):t[0]:e}function d(){for(var e="";i.length;)e+=m(i[i.length-1]);return e}for(e=e.replace(/^\[(.+?)\]:\s*(.+)$/gm,(function(e,t,r){return u[t.toLowerCase()]=r,""})).replace(/^\n+|\n+$/g,"");l=o.exec(e);)n=e.substring(f,l.index),f=o.lastIndex,r=l[0],n.match(/[^\\](\\\\)*\\$/)||((c=l[3]||l[4])?r='
    "+x(P(c).replace(/^\n+|\n+$/g,""))+"
    ":(c=l[6])?(c.match(/\./)&&(l[5]=l[5].replace(/^\d+/gm,"")),a=k(x(l[5].replace(/^\s*[>*+.-]/gm,""))),">"==c?c="blockquote":(c=c.match(/\./)?"ol":"ul",a=a.replace(/^(.*)(\n|$)/gm,"
  • $1
  • ")),r="<"+c+">"+a+""):l[8]?r=''+P(l[7])+'':l[10]?(s=s.replace("
    ",''),r=d()+""):l[9]?r="":l[12]||l[14]?r="<"+(c="h"+(l[14]?l[14].length:l[13]>"="?1:2))+">"+k(l[12]||l[15],u)+"":l[16]?r=""+P(l[16])+"":(l[17]||l[1])&&(r=m(l[17]||"--"))),s+=n,s+=r;return(s+e.substring(f)+d()).replace(/^\n+|\n+$/g,"")}var C=r(1080),A=r(640),H=r(1648),S=r(8840),N=r(3908);function D(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Z(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const L=({unit:e,isSelected:t,width:r="100px",height:l="100px"})=>{const{units:a}=(0,w.U)(),{items:c}=(0,S.GC)(),{current:i}=(0,N.U)(),s=[...(0,S.ot)(e,c)].filter((e=>(e=>{const t=e.id.split("/"),r=H.sH.filter((e=>e!==i));return!t.find((e=>r.includes(e)))})(e))).sort(((e,t)=>{var r,n;return null===(n=`${e.title}`)||void 0===n||null===(r=n.localeCompare)||void 0===r?void 0:r.call(n,`${t.title}`)})),u=s.map((e=>{const t=e.checklist.length>0&&e.checklist.every((e=>e.checked)),r=e.checklist.length>0&&e.checklist.some((e=>e.checked));return Z(function(e){for(var t=1;tt.unit===e)),m=s.length,d=2*Math.PI*45,p=360/m,b=d/360*p,g=d/360*(90-p)-10,h=b-20,O=`${h} 20`,v=`${h} ${d-b+20}`,y=g,j=e=>(e=>b*e*-1+b)(e)+g;return n.createElement("svg",{width:r,height:l,viewBox:"0 0 100 100"},n.createElement("circle",{className:"empty-dashes stroke-gray-500 dark:stroke-gray-600",cx:50,cy:50,r:45,fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:6,strokeDasharray:O,strokeDashoffset:y}),u.map(((e,t)=>"completed"===e.status?n.createElement("circle",{key:t,className:"filled-dash",cx:50,cy:50,r:45,fill:"none",strokeLinecap:"round",strokeLinejoin:"round",stroke:"#48bb78",strokeWidth:6,strokeDasharray:v,strokeDashoffset:j(t)}):null)),n.createElement("text",{x:"50%",y:"54%",dominantBaseline:"middle",textAnchor:"middle",fill:"currentColor",className:(0,o.c)("text-[2.5rem]",{"text-gray-500 dark:text-gray-400":!t,"text-gray-800 dark:text-gray-0":t})},f.no))};function z(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function M(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const B=({id:e,width:t="100px",height:r="100px",unitNo:l,isCurrent:a})=>{var c;const{items:i}=(0,S.GC)(),s=((null===(c=i.find((t=>t.id===e)))||void 0===c?void 0:c.checklist)||[]).map((e=>{const t=e.checked;return M(function(e){for(var t=1;t(e=>d*e*-1+d)(e)+p;return n.createElement("svg",{width:t,height:r,viewBox:"0 0 100 100"},n.createElement("circle",{className:(0,o.c)("empty-dashes","text-gray-300 dark:text-gray-500"),cx:50,cy:50,r:45,fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:6,strokeDasharray:g,strokeDashoffset:O,stroke:"currentColor"}),l&&n.createElement("text",{x:"50%",y:"54%",dominantBaseline:"middle",textAnchor:"middle",fill:"currentColor",className:(0,o.c)("text-[2.5rem]",{"text-gray-500 dark:text-gray-400":!a,"text-gray-800 dark:text-gray-0":a})},l),s.map(((e,t)=>"completed"===e.status?n.createElement("circle",{key:t,className:"filled-dash",cx:50,cy:50,r:45,fill:"none",strokeLinecap:"round",strokeLinejoin:"round",stroke:"#48bb78",strokeWidth:6,strokeDasharray:h,strokeDashoffset:v(t)}):null)))};function R(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function T(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function G(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},a=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const V={headless:"Headless",antd:"Ant Design",mui:"Material UI",mantine:"Mantine","chakra-ui":"Chakra UI"},F=e=>{var{id:t,isCurrent:r,className:l,dangerouslySetInnerHTML:a}=e,c=G(e,["id","isCurrent","className","dangerouslySetInnerHTML"]);const i=(0,C.c)(`/docs/${t}`,{forcePrependBaseUrl:!0});return n.createElement("a",T(function(e){for(var t=1;t{var t;const r=/^\d+\.\s?/g;null===(t=e.match(r))||void 0===t||t[0];return`${k(e.replace(r,""))}`},W=()=>{const{preferred:e}=(0,N.U)();return n.createElement("div",{className:"mt-4"},n.createElement("div",{className:(0,o.c)("rounded"," bg-gray-50 dark:bg-gray-800","p-4")},n.createElement("div",{className:(0,o.c)("font-semibold text-sm leading-6")},"Current Framework"),n.createElement("div",{className:(0,o.c)("flex items-center justify-between","pt-3")},n.createElement("div",{className:"flex items-center gap-2"},n.createElement("img",{src:`https://refine.ams3.cdn.digitaloceanspaces.com/website/static/icons/colored/ui-framework-${e}.svg`,className:"h-auto w-6"}),n.createElement("span",{className:"text-sm leading-6"},V[e])),n.createElement("div",null,n.createElement(F,{id:"tutorial/introduction/select-framework",className:(0,o.c)("underline","text-sm","text-refine-link-light","dark:text-refine-link-dark")},"Change")))))},I=({item:e,activeId:t,setActiveId:r})=>{const l=(0,A.IT)(),{hash:a}=((0,A.Uz)(),l);return n.useEffect((()=>{const t=document.getElementById(e.id);if(t){const n=new IntersectionObserver((t=>{t.forEach((t=>{if(t.isIntersecting){const t=`#${e.id}`;t!==a&&(r(e.id),window.history.replaceState({},"",t))}}))}),{rootMargin:"0px 0px -80% 0px"});return n.observe(t),()=>{n.unobserve(t)}}}),[e.id]),n.createElement("a",{href:`#${e.id}`,dangerouslySetInnerHTML:{__html:e.value},className:(0,o.c)("text-gray-800 dark:text-gray-0 hover:!text-refine-link active:!text-refine-link dark:hover:!text-refine-link-dark dark:active:!text-refine-link-dark",t===e.id&&"!text-refine-link-light dark:!text-refine-link-dark")})},U=()=>{var e,t,r,a,c,i,s,u,f,m;const{toc:d,metadata:{id:p}}=(0,l.G)(),b=(0,w.U)(),{hash:g}=(0,A.IT)(),h=`${g}`.replace("#",""),[O,v]=(0,n.useState)(b.unit),[y,j]=n.useState(h);n.useEffect((()=>{j(h)}),[h]);const E=e=>n.createElement("li",{key:e.id,style:{marginLeft:12*(e.level-2)},className:"mb-1"},n.createElement(I,{item:e,activeId:y,setActiveId:j})),x=e=>{const t=Y(e.title),r=e.title.split(".")[0];return n.createElement("li",{key:e.id,className:(0,o.c)("flex flex-row items-start gap-2","pb-4")},n.createElement("div",{className:(0,o.c)("mt-0.5","h-8 w-8","flex-shrink-0")},n.createElement(B,{id:e.id,width:"100%",height:"100%",unitNo:isNaN(Number(r))?void 0:r,isCurrent:e.current})),n.createElement("div",{className:"flex flex-col gap-2 pt-[6px]"},n.createElement(F,{id:e.id,isCurrent:e.current,className:(0,o.c)("leading-[22px]","no-underline",{"text-gray-900 dark:text-white":p===e.id,"hover:cursor-default hover:no-underline hover:text-gray-900":e.current}),dangerouslySetInnerHTML:{__html:t}}),e.current&&(0===d.length?null:n.createElement("ul",{className:"mt-1 list-none pl-0"},d.map(E)))))},P=null===(r=b)||void 0===r||null===(e=(t=r.units).find)||void 0===e?void 0:e.call(t,(e=>e.unit===O)),k=1===(null===(a=null===(i=null===(s=b)||void 0===s?void 0:s.units)||void 0===i||null===(c=i.find)||void 0===c?void 0:c.call(i,(e=>e?.unit===b?.unit)))||void 0===a?void 0:a.no);return n.createElement("div",{className:(0,o.c)("tutorial-tracker","max-h-[calc(100vh-6rem]")},n.createElement("div",{className:(0,o.c)("tutorial-units","mb-1 px-2","flex items-center gap-0.5")},null===(m=b)||void 0===m||null===(u=(f=m.units).map)||void 0===u?void 0:u.call(f,(e=>n.createElement("button",{key:e.no,type:"button","data-unit-title":e.title,"data-unit-no":e.no,"data-unit-current":e.unit===O?"true":void 0,onClick:()=>v(e.unit),className:(0,o.c)("tutorial-unit",e.unit===O&&"bg-gradient-to-t from-gray-50 dark:from-gray-700 from-40% to-gray-200 dark:to-gray-600","-mb-1","flex items-center justify-center","w-[40px] h-[44px]","cursor-pointer","rounded-tl-[24px] rounded-tr-[24px]","border-none","font-semibold")},n.createElement(L,{unit:e.unit,width:"32px",height:"32px",isSelected:e.unit===O}))))),n.createElement("div",{className:(0,o.c)("rounded","pt-6 px-3 pb-2","bg-gray-50 dark:bg-gray-700")},n.createElement("div",{className:(0,o.c)("text-sm")},(e=>{var t,r,l,a,c;return n.createElement("div",null,n.createElement("ul",{className:(0,o.c)("list-none","pl-0")},null===(c=e)||void 0===c||null===(t=(r=null===(l=(a=c.docs).sort)||void 0===l?void 0:l.call(a,((e,t)=>`${e.title}`?.localeCompare(`${t.title}`)))).map)||void 0===t?void 0:t.call(r,x)))})(P))),!k&&"tutorial/introduction/select-framework"!==p&&n.createElement(W,null))};var X=r(3624),J=r(6280);const K=({path:e})=>{const t=e.startsWith("https://")?e:`https://github.com/PrepVerse/PrepVerse/blob/master${e.startsWith("/")?"":"/"}${e}`;return n.createElement("a",{href:t,target:"_blank",rel:"noreferrer noopener",className:(0,o.c)("text-xs","font-mono","text-gray-0","bg-refine-purple","py-2 pl-2 pr-4","rounded-[32px]","flex gap-2 items-center","hover:no-underline hover:text-gray-0")},n.createElement(m.A,{className:"w-4 h-4"}),n.createElement("span",null,"Source Code"))};var Q=r(2108);const q=()=>n.createElement("div",{className:(0,o.c)("text-xs","font-mono","text-gray-0","bg-refine-indigo","py-2 pl-2 pr-4","rounded-[32px]","flex gap-2 items-center")},n.createElement(Q.G,{className:"w-4 h-4"}),n.createElement("span",null,"Swizzle Ready")),_=({id:e,value:t,level:r,activeId:l,onIdChange:a})=>(n.useEffect((()=>{const t=document.getElementById(e);if(t){const r=new IntersectionObserver((t=>{t.forEach((t=>{t.isIntersecting&&a(e)}))}),{rootMargin:"0px 0px -80% 0px"});return r.observe(t),()=>{r.unobserve(t)}}}),[e]),n.createElement("a",{href:`#${e}`,className:(0,o.c)("refine-toc-item","py-2 pr-4",2===r&&"pl-4",3===r&&"pl-6",4===r&&"pl-8",5===r&&"pl-8",l===e&&"bg-refine-blue-2-light dark:bg-gray-700/80 dark:bg-opacity-10",l===e&&"text-refine-react-light-link dark:text-refine-react-dark-link",l!==e&&"text-refine-600 dark:text-refine-300",l!==e&&"hover:bg-gray-100 dark:hover:bg-gray-700",l!==e&&"hover:text-gray-600 dark:hover:text-gray-300","rounded-[18px]","block","text-sm","no-underline hover:no-underline","transition-colors duration-200 ease-in-out"),dangerouslySetInnerHTML:{__html:t}})),$=()=>{const e=(0,A.IT)(),{toc:t,hasTOC:r,activeId:l,setActiveId:a}=((0,A.Uz)(),ee()),c=t=>{var r;t!==`${null!==(r=e.hash)&&void 0!==r?r:""}`.replace("#","")&&(a(t),window.history.replaceState({},"",`#${t}`))};return n.createElement("div",{className:(0,o.c)("hidden xl:block","w-full","sticky right-0 top-[65px]","max-w-[260px]","overflow-auto","h-[calc(100vh-65px)]","px-4","py-4","border-l border-l-gray-300 dark:border-l-gray-700",!r&&"invisible")},n.createElement("ul",null,t.filter((e=>e.level<5)).map((e=>n.createElement("li",{key:e.id},n.createElement(_,{id:e.id,value:e.value,activeId:l,level:e.level,onIdChange:c}))))))},ee=()=>{var e;const{hash:t}=(0,A.IT)(),r=`${t}`.replace("#",""),[a,c]=n.useState(r);n.useEffect((()=>{c(r)}),[r]);const{toc:o}=(0,l.G)(),i=(null===(e=o)||void 0===e?void 0:e.length)>0;return{toc:o,activeId:a,setActiveId:c,hasTOC:i}};var te=r(7008),re=r(2424),ne=r(4604);const le=()=>{const{hasTOC:e,activeId:t,toc:r}=ee();return e?n.createElement("div",{className:(0,o.c)("xl:hidden block w-full mb-10","max-w-screen-content-sm")},n.createElement(te.C,null,(({open:e})=>n.createElement("div",{className:(0,o.c)("rounded-lg","border gray-300 dark:border-gray-700","bg-gray-100 dark:bg-gray-700")},n.createElement(te.C.Button,{className:(0,o.c)("w-full","flex items-center gap-2","px-2 py-2")},n.createElement(ne.o,{className:(0,o.c)("h-5 w-5","text-gray-500","transition-transform duration-200 ease-in-out",{"transform -rotate-90":!e})}),n.createElement("span",{className:(0,o.c)("text-base","text-gray-800 dark:text-gray-100")},"On this page")),n.createElement(re.O,{show:e,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-y-95",enterTo:"transform opacity-100 scale-y-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-y-100",leaveTo:"transform opacity-0 scale-y-95"},n.createElement(te.C.Panel,{className:"h-[328px] rounded-bl-lg rounded-br-lg overflow-auto bg-gray-0 dark:bg-gray-800"},n.createElement("ul",{className:"p-4"},r.map((({id:e,value:r,level:l})=>{const a=t===e;return n.createElement("a",{key:e,href:`#${e}`,className:(0,o.c)("refine-toc-item",2===l&&"pl-4",3===l&&"pl-6",4===l&&"pl-8","py-2 pr-4","rounded-[18px]","transition-colors duration-200 ease-in-out","block","text-sm","leading-5","no-underline hover:no-underline",{"text-gray-800 dark:text-gray-300":!a,"text-refine-react-light-link dark:text-refine-react-dark-link":a,"bg-refine-blue-2-light dark:bg-refine-blue dark:bg-opacity-10":a,"hover:bg-gray-100 dark:hover:bg-gray-700":!a,"hover:text-gray-800 dark:hover:text-gray-300":!a}),dangerouslySetInnerHTML:{__html:r}})}))))))))):null};var ae=r(8692),ce=r(940),oe=r(7500);const ie=({children:e})=>{var t,r,a;const i=(()=>{var e;const t=(0,w.U)(),{frontMatter:r,toc:a}=(0,l.G)(),c=r.hide_table_of_contents;return{hidden:c,tutorialTOC:!c&&a.length>0||(null===(e=t)||void 0===e?void 0:e.isTutorial)?n.createElement(U,null):void 0}})(),s=(0,w.U)(),{frontMatter:{swizzle:u,source:m}}=(0,l.G)(),{badge:d,label:p}=(0,c.E)(),b=n.useRef(null);return n.useLayoutEffect((()=>{const e=b.current;if(e){const t=e.getBoundingClientRect().width;e.style.setProperty(`--${oe.yg}`,`${t}px`)}const t=()=>{const t=e.getBoundingClientRect().width;e.style.setProperty(`--${oe.yg}`,`${t}px`)};return window.addEventListener("resize",t),()=>{window.removeEventListener("resize",t)}}),[b]),n.createElement(n.Fragment,null,n.createElement("div",{ref:b,className:(0,o.c)("flex-1","flex flex-col","items-center justify-start","px-4 sm:px-0 py-4 sm:py-14","relative","w-full")},n.createElement("div",{className:(0,o.c)("max-w-screen-content w-full")},n.createElement("div",{className:(0,o.c)("flex flex-col","mb-6 sm:mb-10")},(null===(t=s)||void 0===t?void 0:t.isTutorial)?null:n.createElement(X.O,null),n.createElement("div",{className:(0,o.c)("flex","flex-row","gap-2","items-center")},d&&n.createElement(ae.l,{version:p}),u&&n.createElement(q,null),m&&n.createElement(K,{path:m}))),(null===(r=s)||void 0===r?void 0:r.isTutorial)?n.createElement("div",{className:(0,o.c)("my-4","xl:hidden block")},i.tutorialTOC):n.createElement(le,null),n.createElement("div",{className:(0,o.c)("refine-prose")},n.createElement(f,null,e)),n.createElement(v,null),n.createElement(J.c,null)),n.createElement("div",{className:(0,o.c)("max-w-screen-content","w-full")},n.createElement(j,null),n.createElement(ce.c,null))),(null===(a=s)||void 0===a?void 0:a.isTutorial)?n.createElement("div",{className:(0,o.c)("mt-16","hidden xl:block","sticky top-[120px]","w-[280px]","px-3")},i.tutorialTOC):n.createElement($,null))};var se=r(3740);const ue=e=>{const t=e.content;return n.createElement(l.A,{content:e.content},n.createElement(H.mk,null,n.createElement(se.y,null,n.createElement(a.c,null),n.createElement(ie,null,n.createElement(t,null)))))}},6008:(e,t,r)=>{"use strict";r.d(t,{c:()=>i});var n=r(1504),l=r(4971),a=r(9184),c=r(5636),o=r(6112);const i=e=>{const{previous:t,next:r}=e;return n.createElement("div",{className:(0,l.c)("grid grid-cols-2","gap-4 2xl:gap-8","w-full")},t&&n.createElement(a.c,{href:t.permalink,className:(0,l.c)("group","flex-1","p-4","rounded-lg","border border-gray-300 dark:border-gray-600","hover:bg-gray-100 hover:dark:bg-gray-700","hover:no-underline")},n.createElement("div",{className:"flex-1 flex items-start justify-center flex-col gap-2 text-left"},n.createElement("div",{className:(0,l.c)("flex items-center gap-2","text-base","text-gray-800 dark:text-gray-100")},n.createElement("span",{className:(0,l.c)("flex items-center justify-center","w-6 h-6")},n.createElement(c.C,{className:"text-gray-400 dark:text-gray-500"})),"Previous"),n.createElement("span",{className:(0,l.c)("text-base","text-refine-react-light-link dark:text-refine-react-dark-link","ml-8")},t.title))),r&&n.createElement(a.c,{href:r.permalink,className:(0,l.c)("group","flex-1","p-4","rounded-lg","border border-gray-300 dark:border-gray-600","hover:bg-gray-100 hover:dark:bg-gray-700","hover:no-underline",!t&&"col-start-2")},n.createElement("div",{className:"flex-1 flex items-end justify-center flex-col gap-2 text-right"},n.createElement("div",{className:(0,l.c)("flex items-center gap-2","text-base","text-gray-800 dark:text-gray-100")},"Next",n.createElement("span",{className:(0,l.c)("flex items-center justify-center","w-6 h-6")},n.createElement(o.G,{className:"text-gray-400 dark:text-gray-500"}))),n.createElement("span",{className:(0,l.c)("text-base","text-refine-react-light-link dark:text-refine-react-dark-link","mr-8")},r.title))))}},3704:(e,t,r)=>{"use strict";r.d(t,{c:()=>f});var n=r(1504),l=r(9184),a=r(1724);const c=e=>{var t,r,n,l,c,o;let i="noopener noreferrer nofollow";const s=(0,a.c)(e);return(null===(r=e)||void 0===r||null===(t=r.includes)||void 0===t?void 0:t.call(r,"github.com/refinedev/refine"))&&(i="noopener"),(s||(null===(l=e)||void 0===l||null===(n=l.includes)||void 0===n?void 0:n.call(l,"refine.dev")))&&(i="noopener dofollow"),(s||(null===(o=e)||void 0===o||null===(c=o.includes)||void 0===c?void 0:c.call(o,"reactadminpanel.com")))&&(i="noopener dofollow"),i};var o=r(640);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e){for(var t=1;t{"use strict";r.d(t,{c:()=>ot});var n=r(7584),l=r(1504),a=r(4971),c=r(6192),o=r(6112),i=r(9184);const s=({title:e,description:t,image:r,variant:n="purple",button:s={text:"Explore Now",href:"https://prepverse.github.io/portfolio",onClick:void 0},bannerName:u})=>{var f,m,d,p,b,g;return l.useEffect((()=>{"undefined"!=typeof window&&void 0!==window.gtag&&u&&window.gtag("event","view_banner",{banner_name:u,banner_text:e,banner_description:t,banner_image:r.src})}),[u]),l.createElement("div",{className:(0,a.c)("relative","rounded-2xl","p-6","flex","flex-col 2xl:flex-row","items-center","gap-4 2xl:gap-10","not-prose","gray"===n&&"bg-banner-examples-gray","purple"===n&&"bg-banner-examples-purple")},l.createElement(i.c,{to:null!==(b=null===(f=r)||void 0===f?void 0:f.href)&&void 0!==b?b:null===(m=s)||void 0===m?void 0:m.href,target:"_blank",rel:"noopener noreferrer",className:(0,a.c)("flex","max-w-[360px]","h-auto","flex-shrink-0","rounded-lg","overflow-hidden")},l.createElement("img",{src:null===(d=r)||void 0===d?void 0:d.src,alt:null!==(g=null===(p=r)||void 0===p?void 0:p.alt)&&void 0!==g?g:e,loading:"lazy"})),l.createElement("div",{className:(0,a.c)("flex","flex-col","gap-6","justify-center 2xl:justify-start","items-center 2xl:items-start","text-center 2xl:text-start","not-prose")},e&&l.createElement("h2",{className:(0,a.c)("text-xl md:text-2xl","text-gray-0")},e),l.createElement("p",{className:(0,a.c)("text-sm md:text-base","text-gray-100")},t),l.createElement(c.D,{className:(0,a.c)("w-max"),buttonClassname:(0,a.c)("!px-4","!py-2"),href:s.href,onClick:s.onClick,target:"_blank",rel:"noopener noreferrer"},l.createElement("div",{className:(0,a.c)("text-gray-900","text-sm md:text-base","font-bold")},s.text),l.createElement(o.G,{className:(0,a.c)("ml-1 md:ml-2","w-[14px] h-[14px]","md:w-4 md:h-4")}))))},u=({title:e="My Portfolio",description:t="Click here to discover my latest projects, skills, and achievements on my portfolio website. My journey into creativity begins now!",button:r={text:"Explore Now",href:"https://prepverse.github.io/portfolio?ref=banner-retool-alternative",onClick:void 0}})=>(l.useEffect((()=>{"undefined"!=typeof window&&void 0!==window.gtag&&e&&t&&window.gtag("event","view_banner",{banner_name:"banner-retool-alternative",banner_text:e,banner_description:t})}),[e,t]),l.createElement("div",{className:(0,a.c)("relative","rounded-2xl","p-8","flex","flex-col","justify-center","items-center","not-prose","bg-banner-examples-gray")},l.createElement("h2",{className:(0,a.c)("text-2xl","font-semibold","bg-banner-examples-text","bg-clip-text","text-transparent")},e),l.createElement("p",{className:(0,a.c)("mt-2","text-sm","text-gray-300")},t),l.createElement(c.D,{className:(0,a.c)("mt-9"),href:r.href,onClick:r.onClick,target:"_blank",rel:"noopener noreferrer"},l.createElement("div",{className:(0,a.c)("text-gray-900","text-base","font-bold")},r.text))));var f=r(8164);const m=[],d=Math.floor(Math.random()*(m.length+1));var p=r(4752),b=r(7396);const g=({image:e,title:t,description:r,isDark:n})=>{let a;a="refineNew"===r?l.createElement("div",null," ",l.createElement("a",{href:"https://s.refine.dev/new-blog",target:"_blank"},"refine.new")," ","enables you to create React-based, headless UI enterprise applications within your browser that you can preview, tweak and download instantly.",l.createElement("br",null),l.createElement("br",null),"\ud83d\ude80 By visually combining options for your preferred \u2728",l.createElement("b",null," React platform,")," \u2728 ",l.createElement("b",null,"UI framework"),", \u2728"," ",l.createElement("b",null,"backend connector"),", and \u2728 ",l.createElement("b",null,"auth provider"),"; you can create tailor-made architectures for your project in seconds. It feels like having access to thousands of project templates at your fingertips, allowing you to choose the one that best suits your needs!",l.createElement("br",null),l.createElement("br",null),l.createElement("br",null)):null!=r?r:l.createElement("div",null,"Meet the headless, React-based solution to build sleek"," ",l.createElement("b",null,"CRUD")," applications. With refine, you can be confident that your codebase will always stay clean and boilerplate-free.",l.createElement("br",null),l.createElement("br",null),"Try"," ",l.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank"},"PrepVerse")," ","to rapidly build your next ",l.createElement("b",null,"CRUD")," project, whether ","it's"," ","an admin panel, dashboard, internal tool or storefront.");const c=null!=e?e:"https://refine.ams3.cdn.digitaloceanspaces.com/website/static/img/generic_banner.png";c.startsWith("http")||c.startsWith("/");return l.createElement("a",{href:"https://s.refine.dev/hackathon2",target:"_blank",rel:"noreferrer"},l.createElement("img",{src:"https://refine.ams3.cdn.digitaloceanspaces.com/hackathon-2/hackathon_cover.png"}))};var h=r(5524),O=r(3896),v=r(3376),y=r(8840);function w(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const j=e=>l.createElement("svg",function(e){for(var t=1;t{var t,r,n;const c=l.useRef(!1),{id:o}=(0,v.U)(),[i,s]=l.useState(!1),{items:u}=(0,y.GC)(),{reward:f}=(0,O.yh)(`checklist-${o}`,"confetti",{angle:90,elementCount:120,startVelocity:30,decay:.95,spread:100,position:"absolute",lifetime:150}),m=null===(n=u.find((e=>e.id===o)))||void 0===n||null===(t=(r=n.checklist).every)||void 0===t?void 0:t.call(r,(e=>e.checked));return l.useEffect((()=>{setTimeout((()=>{c.current=!0}),1e3)}),[]),l.useEffect((()=>{!i&&m&&c.current&&(s(!0),f())}),[m,i]),l.createElement("div",{className:(0,a.c)("rounded-lg","border-l-gray-400 dark:border-l-gray-600","dark:bg-gray-800 bg-gray-50")},l.createElement("div",{className:(0,a.c)("border-l-4","border-l-solid","border-l-inherit","rounded-tl-lg","rounded-bl-lg","p-4","flex flex-col")},l.createElement("div",{className:"border-b border-gray-400 dark:border-gray-500 border-opacity-50 dark:border-opacity-50"},l.createElement("div",{className:(0,a.c)("not-prose","mt-0 mb-4","flex items-center","gap-2")},l.createElement(j,{className:(0,a.c)("w-4 h-4","dark:text-gray-100 text-gray-800")}),l.createElement("h3",{className:(0,a.c)("m-0 p-0","font-semibold","dark:text-gray-100 text-gray-800","uppercase","text-base leading-6")},"Checklist"))),l.createElement("div",null,e),l.createElement("div",{className:"flex items-center justify-center"},l.createElement("div",{id:`checklist-${o}`}))))};function x(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const P=e=>l.createElement("svg",function(e){for(var t=1;t{var r,n,c,o;const{id:i}=(0,v.U)(),{items:s,toggle:u}=(0,y.GC)(),f=null===(r=null===(o=s.find((e=>e.id===i)))||void 0===o||null===(n=(c=o.checklist).find)||void 0===n?void 0:n.call(c,(e=>e.id===t)))||void 0===r?void 0:r.checked;return l.createElement("label",{className:(0,a.c)("mt-4","flex","items-center justify-start","flex-nowrap","gap-2","cursor-pointer")},l.createElement("div",{className:"flex-shrink-0"},l.createElement("button",{type:"button",onClick:()=>{u(i,t)},className:(0,a.c)("appearance-none","flex items-center justify-center","w-4 h-4","rounded","border",{"border-gray-400 dark:border-gray-500":!f,"border-refine-react-dark-link dark:border-refine-react-dark-link":f,"bg-refine-react-dark-link":f})},f&&l.createElement(P,null))),l.createElement("div",{className:(0,a.c)(f&&"line-through dark:text-gray-100 dark:text-opacity-50 text-gray-800 text-opacity-50",!f&&"text-gray-800 dark:text-gray-100")},e))};var C=r(8560),A=r(2108);const H=({path:e})=>l.createElement(C.s,{language:"bash",title:"Run on your local",icon:l.createElement(A.G,null)},`npm create refine-app@latest -- --example ${e}`);var S=r(5792);const N=({path:e})=>l.createElement("div",{className:(0,a.c)("refine-wider-container","py-2","px-2","text-base","font-sans","flex items-center","gap-2","rounded-lg","dark:bg-gray-700","bg-gray-100","mb-6")},l.createElement(S.A,{className:"ml-1.5 w-5 h-5 text-gray-800 dark:text-gray-100"}),l.createElement("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:(0,a.c)("text-base","leading-8","text-refine-react-light-link dark:text-refine-react-dark-link")},l.createElement("span",null,"View Source Code"))),D=({path:e})=>{const t=`https://github.com/PrepVerse/PrepVerse/tree/master/examples/${e}`;return l.createElement(N,{path:t})},Z=({path:e,hideSource:t,hideLocal:r,hideSandbox:n})=>{const a=`${`https://codesandbox.io/embed/github/refinedev/refine/tree/master/examples/${e}`}?view=preview&theme=dark&runonclick=1&codemirror=1`;return l.createElement("div",null,!t&&l.createElement(D,{path:e}),!r&&l.createElement(H,{path:e}),!n&&l.createElement("iframe",{loading:"lazy",src:a,style:{width:"100%",height:"80vh",border:"0px",borderRadius:"8px",overflow:"hidden"},title:e,allow:"accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking",sandbox:"allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"}))};var L=r(1240),z=r(7916);const M=()=>l.createElement("div",null,l.createElement(L.c,{type:"simple",title:"Good to know"},l.createElement(z.s,null,"\nAll the data related hooks (useTable, useForm, useList etc.) of Refine can be given some common properties like `resource`, `meta` etc.\n\nFor more information, refer to the [General Concepts documentation](/docs/guides-concepts/general-concepts).\n"))),B=({children:e,content:t})=>l.createElement("div",{className:(0,a.c)("refine-info-badge","relative","group","inline-flex","align-middle")},e,l.createElement("div",{className:(0,a.c)("absolute","-left-1","top-0","translate-x-0","-translate-y-0","scale-0","group-hover:scale-100","group-hover:-translate-y-full","transition-transform","origin-top-left","pb-2","w-60","pointer-events-none")},l.createElement("div",{className:(0,a.c)("text-xs","text-gray-600","bg-gray-0","border","border-gray-200","shadow-sm","rounded","py-1","px-2","font-normal")},null!=t?t:"Check the guide for more information"))),R=({id:e,icon:t,color:r,text:n,description:c})=>{const o=(0,a.c)("orange"===r&&(0,a.c)("bg-refine-react-light-orange-bg dark:bg-refine-react-dark-orange","dark:bg-opacity-[0.15]","text-refine-react-light-orange dark:text-refine-react-dark-orange"),"green"===r&&(0,a.c)("bg-refine-react-light-green-bg dark:bg-refine-react-dark-green","dark:bg-opacity-[0.15]","text-refine-react-light-green dark:text-refine-react-dark-green"),"purple"===r&&(0,a.c)("bg-refine-react-light-purple-bg dark:bg-refine-react-dark-purple","dark:bg-opacity-[0.15]","text-refine-react-light-purple dark:text-refine-react-dark-purple"));return l.createElement(B,{content:c},l.createElement(i.c,{to:`/docs/${e}`,className:(0,a.c)("-mt-px","rounded-[10px]","inline-flex","items-center","justify-center","text-sm","no-underline","gap-1.5","[&>svg]:hover:scale-110","[&>svg]:transition-transform [&>svg]:duration-200 [&>svg]:ease-in-out",o)},t,n&&l.createElement("span",{className:"text-xs leading-[0.875rem]"},n)))};function T(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const G=e=>l.createElement("svg",function(e){for(var t=1;tl.createElement("svg",function(e){for(var t=1;tr?l.createElement("div",{className:(0,a.c)("inline-flex","text-sm","py-0.5","px-2","rounded-xl","bg-refine-orange","bg-opacity-10","text-refine-orange","tracking-wide","align-middle","font-normal","mr-1"),title:o},null!=e?e:"deprecated"):t?l.createElement("div",{className:(0,a.c)("inline-flex","justify-center items-center","text-sm","text-refine-red","rounded-full","bg-refine-red bg-opacity-10","ml-1","w-6 h-6","align-middle")},null!=e?e:"\ufe61"):n?l.createElement("div",{className:(0,a.c)("inline-flex","text-sm","py-0.5","px-2","rounded-xl","bg-refine-red","bg-opacity-10","text-refine-red","tracking-wide","align-middle","font-normal","mr-1"),title:o},null!=e?e:"required"):c?l.createElement("div",{className:(0,a.c)("inline-flex","text-sm","py-0.5","px-2","rounded-xl","bg-refine-green","bg-opacity-10","text-refine-green","tracking-wide","align-middle","font-normal","mr-1"),title:o},null!=e?e:"featured"):e?l.createElement("div",{className:(0,a.c)("inline","text-gray-0","text-xs","leading-6","py-0.5","px-2","rounded","bg-gray-800","tracking-wide","align-middle","mr-1"),title:o},e):null,W="tooltip__Ymd",I="tooltipContainer_l6r7",U="tooltipContent_UeXm",X="tooltipArrow_mOyh",J=({label:e,children:t})=>e?l.createElement("div",{className:`${W} group`},t,l.createElement("div",{className:`${I} group-hover:visible`},l.createElement("span",{className:U},e),l.createElement("div",{className:X}))):l.createElement(l.Fragment,null,t);function K(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},a=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const Q=({prop:e,overrides:t})=>{var r,n,a;const c=null!==(a=t[`${e.name}-required`])&&void 0!==a?a:e.required;var o;const i=null!==(o=t[`${e.name}-deprecated`])&&void 0!==o?o:null===(r=e.tags)||void 0===r?void 0:r.deprecated;var s,u;const f=null!==(u=null!==(s=t[`${e.name}-deprecated`])&&void 0!==s?s:null===(n=e.tags)||void 0===n?void 0:n.deprecated)&&void 0!==u?u:"",m=(0,l.useMemo)((()=>{const e="props-table--name";return i?`${e} props-table--name__deprecated`:e}),[e,t]),d=(0,l.useMemo)((()=>f?l.createElement(z.s,null,f):null),[e,t]);var p;return l.createElement(J,{label:d},l.createElement(l.Fragment,null,l.createElement("span",{className:m},null!==(p=t[`${e.name}-name`])&&void 0!==p?p:e.name),c&&l.createElement(Y,{asterisk:!0})))},q=({prop:e,overrides:t})=>{var r;const n=null!==(r=t[`${e.name}-type`])&&void 0!==r?r:e.type.name,a=n.split(" | "),c=a.length>1,o=a.some((e=>e.length>20)),i=/`/.test(n);return l.createElement(l.Fragment,null,i?l.createElement(z.s,null,n):o&&c?l.createElement(l.Fragment,null,a.map(((e,t)=>l.createElement("code",{className:"max-w-xs h-min",key:t},l.createElement(z.s,null,e))))):l.createElement("code",{className:"max-w-xs h-min"},l.createElement(z.s,null,n)))},_=({prop:e,overrides:t})=>{var r,n;return l.createElement(z.s,null,null!==(n=null!==(r=t[`${e.name}-description`])&&void 0!==r?r:e.tags.description)&&void 0!==n?n:e.description)},$=({prop:e,overrides:t})=>{var r,n,a,c;const o=null===(r=e.tags)||void 0===r?void 0:r.default,i=(null===(n=e.defaultValue)||void 0===n?void 0:n.value)&&(null===(a=e.defaultValue)||void 0===a?void 0:a.value)!==o?null===(c=e.defaultValue)||void 0===c?void 0:c.value:void 0,s=t[`${e.name}-default`];return o||s?l.createElement(z.s,null,null!=s?s:o):l.createElement("div",{className:"flex flex-wrap gap-1"},void 0!==i?l.createElement("code",{className:"max-w-xs h-min"},l.createElement(z.s,null,i)):null)},ee=({prop:e,overrides:t})=>l.createElement("td",null,l.createElement("div",{className:"flex items-center"},l.createElement(Q,{prop:e,overrides:t}))),te=({prop:e,overrides:t})=>l.createElement("td",{className:"props-table__type-cell"},l.createElement("div",{className:"flex flex-wrap gap-1"},l.createElement(q,{prop:e,overrides:t}))),re=({prop:e,overrides:t})=>l.createElement("td",{className:"props-table__description-cell"},l.createElement(_,{prop:e,overrides:t})),ne=({prop:e,overrides:t})=>l.createElement("td",{className:"props-table__default-value-cell"},l.createElement($,{prop:e,overrides:t})),le=e=>{var{module:t,hideDefaults:n,children:a}=e,c=K(e,["module","hideDefaults","children"]);const o=((e,t="@refinedev/")=>{const[n,a]=(0,l.useState)(null);return(0,l.useEffect)((()=>{let n=!1;return r(6324)(`./${e.startsWith(t)?e:`${t}${e}`}.json`).then((e=>{n||(n=!0,a(e.default))})).catch(console.warn),()=>{n=!0}}),[e]),n})(t),i=(0,l.useMemo)((()=>{var e;if(n)return!1;if(Object.keys(c).some((e=>e.endsWith("-default"))))return!1;var t;return!Object.values(null!==(t=null===(e=o)||void 0===e?void 0:e.props)&&void 0!==t?t:{}).some((e=>{var t;return null===(t=e.defaultValue)||void 0===t?void 0:t.value}))}),[c]);if(!o)return null;const s=[...Object.values(o.props)];return l.createElement("div",{className:"table-container"},l.createElement("table",{className:"props-table"},l.createElement("thead",null,l.createElement("tr",null,l.createElement("th",null,"Property"),l.createElement("th",null,"Type"),l.createElement("th",null,"Description"),i?null:l.createElement("th",null,"Default"))),l.createElement("tbody",null,s.map((e=>c[`${e.name}-hidden`]?null:l.createElement("tr",{key:e.name},l.createElement(ee,{prop:e,overrides:c}),l.createElement(te,{prop:e,overrides:c}),l.createElement(re,{prop:e,overrides:c}),i?null:l.createElement(ne,{prop:e,overrides:c})))))),a)};function ae(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ce=e=>l.createElement("svg",function(e){for(var t=1;t{const{current:r}=(0,oe.U)();return e&&r===e?l.createElement(l.Fragment,null,t):null};var se=r(8530);function ue(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fe(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const me=e=>{var t;const r=l.Children.toArray(e.children),n=r.find((e=>l.isValidElement(e)&&"summary"===(null===(t=e.props)||void 0===t?void 0:t.mdxType))),c=l.createElement(l.Fragment,null,r.filter((e=>e!==n)));return l.createElement(se.S,fe(function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const ge=e=>{var{children:t,className:r}=e,n=be(e,["children","className"]);return l.createElement("summary",function(e){for(var t=1;t{const t=e.currentTarget,l=s.indexOf(t),a=c[l].value;a!==r&&(u(t),n(a))},m=e=>{var t,r;let n=null;switch(e.key){case"Enter":f(e);break;case"ArrowRight":{const t=s.indexOf(e.currentTarget)+1;var l;n=null!==(l=s[t])&&void 0!==l?l:s[0];break}case"ArrowLeft":{const t=s.indexOf(e.currentTarget)-1;var a;n=null!==(a=s[t])&&void 0!==a?a:s[s.length-1];break}}null===(r=n)||void 0===r||null===(t=r.focus)||void 0===t||t.call(r)};return l.createElement("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,a.c)(e,"!my-0","flex-wrap","list-none","m-0 mb-0 mt-0","px-4","flex gap-4","bg-gray-100 dark:bg-gray-700","rounded-tl-lg rounded-tr-lg",!o&&"rounded-bl-lg rounded-br-lg","items-stretch")},c.map((({value:e,label:t,attributes:n})=>l.createElement("li",je(we({role:"tab",tabIndex:r===e?0:-1,"aria-selected":r===e,key:e,ref:e=>s.push(e),onKeyDown:m,onClick:f},n),{className:(0,a.c)("!my-0","mx-0 mt-0","px-2 py-3","flex items-center justify-center","min-w-[60px]","cursor-pointer","transition-all duration-200 ease-in-out","border-b border-solid","select-none",i&&"!text-xs",!i&&"!text-base",r!==e&&"text-gray-800 dark:text-gray-100",r===e&&"text-refine-react-light-link dark:text-refine-react-dark-link",r!==e&&"hover:text-refine-react-light-link dark:hover:text-refine-react-dark-link",r!==e&&"border-b-transparent",r===e&&"border-b-refine-react-light-link dark:border-b-refine-react-dark-link",r!==e&&"hover:border-b-refine-react-light-link dark:hover:border-b-refine-react-dark-link")}),null!=t?t:e))))}function xe({lazy:e,children:t,selectedValue:r,smallTabs:n}){const c=(Array.isArray(t)?t:[t]).filter(Boolean);if(e){const e=c.find((e=>e.props.value===r));return e?(0,l.cloneElement)(e,{className:"margin-top--md refine-tab-content"}):null}var o;return l.createElement("div",{className:"p-4"},c.map(((e,t)=>(0,l.cloneElement)(e,{key:t,hidden:e.props.value!==r,className:(0,a.c)(null!==(o=e.props.className)&&void 0!==o?o:[],"refine-tab-content")}))))}function Pe(e){const t=(0,Oe.a)(e),{wrapContent:r=!0}=e;return l.createElement("div",{className:(0,a.c)("tabs-container","rounded-lg","border-gray-300 dark:border-gray-700",r?"border":"border-0","mb-6","refine-wider-container")},l.createElement(Ee,we({},e,t)),l.createElement(xe,we({},e,t)))}function ke(e){const t=(0,ve.c)();return l.createElement(Pe,we({key:String(t)},e))}function Ce(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ae(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},a=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}var He=r(4472),Se=r(4896),Ne=r(1488),De=r(8620),Ze=r(6076),Le=r(9072);function ze(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Me=e=>l.createElement("svg",function(e){for(var t=1;tl.createElement("svg",function(e){for(var t=1;t{var t,r;const[n,c]=(0,l.useState)(!1),{refs:o,floatingStyles:i,context:s}=(0,He.gR)({placement:"bottom-start",open:e.isOpen,onOpenChange:e.onOpenChange,whileElementsMounted:Se.kN,middleware:[(0,Ne.E3)((({middlewareData:e})=>{var t;return(null===(t=e)||void 0===t?void 0:t.flip)?{mainAxis:12}:{mainAxis:52}})),(0,Se.EB)((({placement:e})=>(e.includes("bottom")&&c(!1),e.includes("top")&&c(!0),{fallbackPlacements:["top-start"]})))]}),u=(0,He.ug)(s,{outsidePress:e=>!(null===(r=e.target)||void 0===r||null===(t=r.closest)||void 0===t?void 0:t.call(r,".widget-actions"))}),{getReferenceProps:f,getFloatingProps:m}=(0,He.M3)([u]);return l.createElement(l.Fragment,null,l.createElement("div",Xe(Ue({ref:o.setReference},f()),{style:{position:"absolute",top:"0",left:0}})),l.createElement(De.I,null,s.open&&l.createElement(Ze.q.div,Xe(Ue({initial:{opacity:0},animate:{opacity:1,transition:{duration:.2}},exit:{opacity:0},ref:o.setFloating,style:i},m()),{className:(0,a.c)("w-[320px]","bg-[#EAEBEF] dark:bg-refine-react-dark-code","border border-[#E3E4E5] dark:border-[#343A46]","rounded-[20px]","relative")}),e.children,l.createElement(Ke,{style:Ue({position:"absolute",top:n?"unset":"-10px",bottom:n?"-10px":"unset",transform:n?"rotate(180deg)":"rotate(0deg)",transition:"right 0.2s ease-in-out",willChange:"right"},e.arrowStyle)}))))},Ke=e=>{const{colorMode:t}=(0,Le.U)(),r="dark"===t;return l.createElement("svg",Ue({xmlns:"http://www.w3.org/2000/svg",width:42,height:18,viewBox:"0 0 42 18",fill:"none"},e),l.createElement("title",null,"Popover Pointer"),l.createElement("path",{fill:r?"#16181D":"#EAEBEF",stroke:"url(#a)",d:"M18.303 2.077C18.892 1.105 19.9.5 21 .5s2.108.605 2.697 1.577l3.026 4.992c.928 1.532 2.476 2.431 4.11 2.431H41.5v8H.5v-8h10.667c1.634 0 3.182-.899 4.11-2.431l3.026-4.992Z"}),l.createElement("defs",null,l.createElement("linearGradient",{id:"a",x1:21,x2:21,y1:1,y2:16,gradientUnits:"userSpaceOnUse"},l.createElement("stop",{offset:.59,stopColor:r?"#343A46":"#E3E4E5"}),l.createElement("stop",{offset:.602,stopColor:r?"#343A46":"#E3E4E5",stopOpacity:0}))))},Qe={UP:1,DOWN:2};function qe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _e(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}var $e;var et=r(7500),tt=r(9104);var rt=r(9092);var nt=r(5560);function lt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function at(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function ct(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ot=(it=function(e){for(var t=1;t{var{className:t}=e,r=Ae(e,["className"]);return l.createElement("blockquote",function(e){for(var t=1;td===m.length?l.createElement(f.c,null,(()=>l.createElement(u,null))):l.createElement(f.c,null,(()=>l.createElement(s,m[d]))),GuideBadge:({id:e,description:t="Please check the guide for more information on this topic.",text:r})=>l.createElement(R,{id:e,color:"green",icon:l.createElement(F,null),text:r,description:l.createElement(l.Fragment,null,l.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Check the guide"),l.createElement("div",{className:"text-xs"},t))}),RouterBadge:({id:e="guides-concepts/routing/",description:t="This value can be inferred from the route. Click to see the guide for more information.",text:r})=>l.createElement(R,{id:e,color:"orange",text:r,icon:l.createElement(ce,null),description:l.createElement(l.Fragment,null,l.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Router Integrated"),l.createElement("div",{className:"text-xs"},t))}),GlobalConfigBadge:({id:e="core/refine-component",description:t="This value can be configured globally. Click to see the guide for more information.",text:r})=>l.createElement(R,{color:"purple",icon:l.createElement(G,null),text:r,id:e,description:l.createElement(l.Fragment,null,l.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Globally Configurable"),l.createElement("div",{className:"text-xs"},t))}),Image:e=>l.createElement("img",_e(function(e){for(var t=1;t{const t=e?`-- ${e}`:"",r={npm:`npm create refine-app@latest ${t}`,pnpm:`pnpm create refine-app@latest ${t}`,yarn:`yarn create refine-app@latest ${t}`};return l.createElement(ke,null,l.createElement(tt.c,{value:"npm",label:"npm",default:!0},l.createElement(C.s,{className:"language-bash"},r.npm)),l.createElement(tt.c,{value:"pnpm",label:"pnpm"},l.createElement(C.s,{className:"language-bash"},r.pnpm)),l.createElement(tt.c,{value:"yarn",label:"yarn"},l.createElement(C.s,{className:"language-bash"},r.yarn),l.createElement(z.s,null,"> Only supports yarn@1 version.")))},InstallPackagesCommand:({args:e,children:t})=>{const r={npm:`npm i ${e}`,pnpm:`pnpm add ${e}`,yarn:`yarn add ${e}`};return l.createElement(ke,null,l.createElement(tt.c,{value:"npm",label:"npm",default:!0},l.createElement(C.s,{className:"language-bash"},r.npm),t),l.createElement(tt.c,{value:"pnpm",label:"pnpm"},l.createElement(C.s,{className:"language-bash"},r.pnpm),t),l.createElement(tt.c,{value:"yarn",label:"yarn"},l.createElement(C.s,{className:"language-bash"},r.yarn),t))},FullTable:et.Ih,TutorialConditional:({parameter:e,value:t,children:r})=>{var n;const{parameters:a}=(0,rt.iC)();return(null===(n=a)||void 0===n?void 0:n[e])===t?l.createElement(l.Fragment,null,r):null},VideoInView:e=>{const t=l.useRef(null),r=(0,nt.c)(t);return l.useEffect((()=>{var e,n,l,a;r?null===(n=t.current)||void 0===n||null===(e=n.play)||void 0===e||e.call(n):null===(a=t.current)||void 0===a||null===(l=a.pause)||void 0===l||l.call(a)}),[r]),l.createElement("video",at(function(e){for(var t=1;t{var e,r,n,l,a;(null===(e=t.current)||void 0===e?void 0:e.paused)?null===(n=t.current)||void 0===n||null===(r=n.play)||void 0===r||r.call(n):null===(a=t.current)||void 0===a||null===(l=a.pause)||void 0===l||l.call(a)},className:(0,a.c)(e.className,"w-full","h-auto","max-w-full","max-h-full","rounded-xl","object-contain")}))},DocThumbsUpDownFeedbackWidget:e=>{const t=(0,We.IT)(),[r,n]=(0,l.useState)(""),[c,o]=(0,l.useState)(null),[i,s]=(0,l.useState)(!1),[u,f]=(0,l.useState)(!1),m=i||u,{survey:d,createSurvey:p,updateSurvey:b}=(e=>{const[t,r]=(0,l.useState)(null),n=Ye[e.type];return{survey:t,setSurvey:r,createSurvey:async({body:e})=>{const t=await fetch(`${n}/responses`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(!t.ok)return null;const l=await t.json();return l?(r(l),l):void 0},updateSurvey:async({surveyId:e,body:t})=>{const l=await fetch(`${n}/responses/${e}`,{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(!l.ok)return null;const a=await l.json();return a?(r(a),a):void 0}}})({type:Te.THUMBS}),g=async r=>{o(r),s(!0),d?await b({surveyId:d.id,body:{response:r}}):await p({body:{response:r,entityId:t.pathname,metaData:{sectionId:e.id}}})};return l.createElement("div",{className:"group"},e.children,l.createElement("div",{className:(0,a.c)("relative","z-popover","hidden md:flex","items-center","gap-5","w-max h-[40px]","pt-1 pr-1 pb-1 pl-4","bg-[#99A1B31A] dark:bg-[#2F333C]","rounded-[28px]","transition-all duration-300 ease-in-out",!m&&"opacity-0","group-hover:opacity-100")},l.createElement("div",{className:(0,a.c)("text-xs","whitespace-nowrap","text-[#23272F] dark:text-[#E3E4E5]")},"Was this helpful?"),l.createElement("div",{className:(0,a.c)("flex","items-center","gap-1","widget-actions")},l.createElement("button",{type:"button",onClick:()=>g(Qe.UP),className:(0,a.c)("w-8 h-8","flex items-center justify-center","rounded-full","text-gray-500","hover:text-green-500 hover:bg-green-500/20","transition-all duration-200 ease-in-out",1===c&&"text-green-500 bg-green-500/20")},l.createElement(Me,null)),l.createElement("button",{type:"button",onClick:()=>g(Qe.DOWN),className:(0,a.c)("w-8 h-8","flex items-center justify-center","rounded-full","text-gray-500","hover:text-red-500 hover:bg-red-500/20","transition-all duration-200 ease-in-out",2===c&&"text-red-500 bg-red-500/20")},l.createElement(Re,null))),l.createElement(Je,{isOpen:m,onOpenChange:e=>{u||e||(s(!1),f(!1))},arrowStyle:{right:1===c?"150px":"115px"}},!u&&l.createElement("form",{className:(0,a.c)("flex flex-col","p-2"),onSubmit:e=>{e.preventDefault(),(async()=>{const e=r.trim();e&&(await b({surveyId:d.id,body:{response:c,responseText:e}}),f(!0),setTimeout((()=>{s(!1),f(!1)}),2e3))})()}},l.createElement("textarea",{rows:3,required:!0,minLength:3,placeholder:"Your thumbs tells us a lot, but If you have any additional thoughts or suggestions, we'd love to hear them!",onChange:e=>n(e.target.value),value:r,className:(0,a.c)("w-full","bg-white dark:bg-[#343A46]","text-[#23272F] dark:text-[#E3E4E5]","resize-none","rounded-xl","text-xs","py-2 px-3")}),l.createElement("button",{type:"submit",className:(0,a.c)("w-16 h-6","flex items-center justify-center","bg-refine-react-light-link dark:bg-refine-react-dark-link","text-xs","text-white","rounded-full","mt-2 ml-auto")},"Send")),u&&l.createElement("div",{className:(0,a.c)("flex items-center","p-4","text-xs","text-gray-500")},l.createElement("span",null,"Thank you for your feedback!")))))}},st=null!=st?st:{},Object.getOwnPropertyDescriptors?Object.defineProperties(it,Object.getOwnPropertyDescriptors(st)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(st)).forEach((function(e){Object.defineProperty(it,e,Object.getOwnPropertyDescriptor(st,e))})),it);var it,st},8092:(e,t,r)=>{"use strict";r.d(t,{c:()=>c});var n=r(1504),l=r(4971),a=r(9184);function c({permalink:e,label:t,isActive:r,size:c="small",variant:o="default"}){return n.createElement(a.c,{href:e,className:(0,l.c)("no-underline hover:no-underline","rounded-full","small"===c&&"text-xs","small"===c&&"py-1","small"===c&&"px-3","medium"===c&&"text-sm","medium"===c&&"py-2","medium"===c&&"px-4",!r&&"bg-gray-100 dark:bg-gray-700",!r&&"text-gray-600 dark:text-gray-400","text-refine-react-8 dark:text-refine-react-3","default"===o&&"bg-refine-react-3 dark:bg-refine-react-7","inverted"===o&&"bg-refine-react-3 dark:bg-refine-react-8")},t)}},7008:(e,t,r)=>{"use strict";r.d(t,{C:()=>N});var n,l=r(1504),a=r(7616),c=r(9648),o=r(7368),i=r(1403),s=r(5948),u=r(1792),f=r(7168),m=r(3048),d=r(2448),p=r(8512);let b=null!=(n=l.startTransition)?n:function(e){e()};var g,h=((g=h||{})[g.Open=0]="Open",g[g.Closed=1]="Closed",g),O=(e=>(e[e.ToggleDisclosure=0]="ToggleDisclosure",e[e.CloseDisclosure=1]="CloseDisclosure",e[e.SetButtonId=2]="SetButtonId",e[e.SetPanelId=3]="SetPanelId",e[e.LinkPanel=4]="LinkPanel",e[e.UnlinkPanel=5]="UnlinkPanel",e))(O||{});let v={0:e=>({...e,disclosureState:(0,a._)(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}},y=(0,l.createContext)(null);function w(e){let t=(0,l.useContext)(y);if(null===t){let t=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,w),t}return t}y.displayName="DisclosureContext";let j=(0,l.createContext)(null);function E(e){let t=(0,l.useContext)(j);if(null===t){let t=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,E),t}return t}j.displayName="DisclosureAPIContext";let x=(0,l.createContext)(null);function P(e,t){return(0,a._)(t.type,v,e,t)}x.displayName="DisclosurePanelContext";let k=l.Fragment;let C=c.B4.RenderStrategy|c.B4.Static;let A=(0,c.op)((function(e,t){let{defaultOpen:r=!1,...n}=e,i=(0,l.useRef)(null),s=(0,o.q)(t,(0,o.s)((e=>{i.current=e}),void 0===e.as||e.as===l.Fragment)),u=(0,l.useRef)(null),m=(0,l.useRef)(null),b=(0,l.useReducer)(P,{disclosureState:r?0:1,linkedPanel:!1,buttonRef:m,panelRef:u,buttonId:null,panelId:null}),[{disclosureState:g,buttonId:h},O]=b,v=(0,p.y)((e=>{O({type:1});let t=(0,d.e)(i);if(!t||!h)return;let r=e?e instanceof HTMLElement?e:e.current instanceof HTMLElement?e.current:t.getElementById(h):t.getElementById(h);null==r||r.focus()})),w=(0,l.useMemo)((()=>({close:v})),[v]),E=(0,l.useMemo)((()=>({open:0===g,close:v})),[g,v]),x={ref:s};return l.createElement(y.Provider,{value:b},l.createElement(j.Provider,{value:w},l.createElement(f.uR,{value:(0,a._)(g,{0:f.Ad.Open,1:f.Ad.Closed})},(0,c.ai)({ourProps:x,theirProps:n,slot:E,defaultTag:k,name:"Disclosure"}))))})),H=(0,c.op)((function(e,t){let r=(0,i.I)(),{id:n=`headlessui-disclosure-button-${r}`,...a}=e,[f,d]=w("Disclosure.Button"),b=(0,l.useContext)(x),g=null!==b&&b===f.panelId,h=(0,l.useRef)(null),O=(0,o.q)(h,t,g?null:f.buttonRef);(0,l.useEffect)((()=>{if(!g)return d({type:2,buttonId:n}),()=>{d({type:2,buttonId:null})}}),[n,d,g]);let v=(0,p.y)((e=>{var t;if(g){if(1===f.disclosureState)return;switch(e.key){case s.g.Space:case s.g.Enter:e.preventDefault(),e.stopPropagation(),d({type:0}),null==(t=f.buttonRef.current)||t.focus()}}else switch(e.key){case s.g.Space:case s.g.Enter:e.preventDefault(),e.stopPropagation(),d({type:0})}})),y=(0,p.y)((e=>{if(e.key===s.g.Space)e.preventDefault()})),j=(0,p.y)((t=>{var r;(0,u.g)(t.currentTarget)||e.disabled||(g?(d({type:0}),null==(r=f.buttonRef.current)||r.focus()):d({type:0}))})),E=(0,l.useMemo)((()=>({open:0===f.disclosureState})),[f]),P=(0,m.y)(e,h),k=g?{ref:O,type:P,onKeyDown:v,onClick:j}:{ref:O,id:n,type:P,"aria-expanded":e.disabled?void 0:0===f.disclosureState,"aria-controls":f.linkedPanel?f.panelId:void 0,onKeyDown:v,onKeyUp:y,onClick:j};return(0,c.ai)({ourProps:k,theirProps:a,slot:E,defaultTag:"button",name:"Disclosure.Button"})})),S=(0,c.op)((function(e,t){let r=(0,i.I)(),{id:n=`headlessui-disclosure-panel-${r}`,...a}=e,[s,u]=w("Disclosure.Panel"),{close:m}=E("Disclosure.Panel"),d=(0,o.q)(t,s.panelRef,(e=>{b((()=>u({type:e?4:5})))}));(0,l.useEffect)((()=>(u({type:3,panelId:n}),()=>{u({type:3,panelId:null})})),[n,u]);let p=(0,f.qc)(),g=null!==p?(p&f.Ad.Open)===f.Ad.Open:0===s.disclosureState,h=(0,l.useMemo)((()=>({open:0===s.disclosureState,close:m})),[s,m]),O={ref:d,id:n};return l.createElement(x.Provider,{value:s.panelId},(0,c.ai)({ourProps:O,theirProps:a,slot:h,defaultTag:"div",features:C,visible:g,name:"Disclosure.Panel"}))})),N=Object.assign(A,{Button:H,Panel:S})}}]); \ No newline at end of file diff --git a/assets/js/1be78505.15ed3d4f.js b/assets/js/1be78505.15ed3d4f.js deleted file mode 100644 index 3d81b70d..00000000 --- a/assets/js/1be78505.15ed3d4f.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[9656,2512],{2512:(e,t,r)=>{r.r(t),r.d(t,{default:()=>c});var n=r(1504),l=r(3652),a=r(6684),o=r(2192);function c(){return n.createElement(n.Fragment,null,n.createElement(a.U7,{title:(0,l.G)({id:"theme.NotFound.title",message:"Page Not Found"})}),n.createElement(o.c,null,n.createElement("main",{className:"container margin-vert--xl"},n.createElement("div",{className:"row"},n.createElement("div",{className:"col col--6 col--offset-3"},n.createElement("h1",{className:"hero__title"},n.createElement(l.c,{id:"theme.NotFound.title",description:"The title of the 404 page"},"Page Not Found")),n.createElement("p",null,n.createElement(l.c,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page"},"We could not find what you were looking for.")),n.createElement("p",null,n.createElement(l.c,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page"},"Please contact the owner of the site that linked you to the original URL and let them know their link is broken.")))))))}},5628:(e,t,r)=>{r.d(t,{W:()=>n});const n={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-page",docsDocPage:"docs-doc-page",docsTagsListPage:"docs-tags-list-page",docsTagDocListPage:"docs-tags-doc-list-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docsPages:"docs-wrapper",mdxPages:"mdx-wrapper"},common:{editThisPage:"theme-edit-this-page",lastUpdated:"theme-last-updated",backToTopButton:"theme-back-to-top-button",codeBlock:"theme-code-block",admonition:"theme-admonition",admonitionType:e=>`theme-admonition-${e}`},layout:{},docs:{docVersionBanner:"theme-doc-version-banner",docVersionBadge:"theme-doc-version-badge",docBreadcrumbs:"theme-doc-breadcrumbs",docMarkdown:"theme-doc-markdown",docTocMobile:"theme-doc-toc-mobile",docTocDesktop:"theme-doc-toc-desktop",docFooter:"theme-doc-footer",docFooterTagsRow:"theme-doc-footer-tags-row",docFooterEditMetaRow:"theme-doc-footer-edit-meta-row",docSidebarContainer:"theme-doc-sidebar-container",docSidebarMenu:"theme-doc-sidebar-menu",docSidebarItemCategory:"theme-doc-sidebar-item-category",docSidebarItemLink:"theme-doc-sidebar-item-link",docSidebarItemCategoryLevel:e=>`theme-doc-sidebar-item-category-level-${e}`,docSidebarItemLinkLevel:e=>`theme-doc-sidebar-item-link-level-${e}`},blog:{}}},380:(e,t,r)=>{r.d(t,{e:()=>l});var n=r(9936);r(1504);const l=()=>{const{siteConfig:{customFields:e}}=(0,n.c)(),{tutorial:t}=e;return t}},3951:(e,t,r)=>{r.d(t,{A:()=>c});var n=r(4971),l=r(1504),a=r(7708),o=r(204);const c=()=>l.createElement("footer",{className:(0,n.c)("py-4","px-4","dark:bg-gray-800 bg-gray-0","border-t dark:border-t-gray-700 border-t-gray-300")},l.createElement("div",{className:(0,n.c)("mx-auto","flex w-full items-center justify-between","flex-col-reverse sm:flex-row gap-8")},l.createElement("div",{className:(0,n.c)("text-sm","leading-6","dark:text-gray-400 text-gray-500")},"Copyright \xa9 ",(new Date).getFullYear()," PrepVerse"," ",l.createElement(o.Q,{className:"text-refine-red ml-2 inline leading-6"})," ",l.createElement("br",null),"Built with Docusaurus & Refine."),l.createElement("div",{className:(0,n.c)("flex flex-col sm:flex-row justify-center items-center")},l.createElement("div",{className:(0,n.c)("dark:text-gray-100 text-gray-800","text-sm leading-6","sm:mr-4")},"Connect with me on"),l.createElement("div",{className:(0,n.c)("flex gap-4","dark:text-gray-400 text-gray-500","mt-4 sm:mt-0")},a.AR.map((({href:e,icon:t},r)=>l.createElement("a",{key:r,href:e,target:"_blank",rel:"noreferrer",className:(0,n.c)("flex items-center no-underline")},l.createElement(t,{className:(0,n.c)("w-9 h-9 sm:w-8 sm:h-8")}))))))))},1180:(e,t,r)=>{r.d(t,{O:()=>c});var n=r(4971),l=r(1504),a=r(1980),o=r(2268);const c=({active:e,className:t,onClick:r})=>l.createElement("button",{className:(0,n.c)("w-8 h-8","flex items-center justify-center flex-shrink-0","text-gray-800 dark:text-gray-100","rounded-full","hover:bg-gray-200 hover:dark:bg-gray-700","transition-[background-color]","duration-200","ease-in-out",t),onClick:r},e?l.createElement(o.O,null):l.createElement(a.m,null))},9253:(e,t,r)=>{r.d(t,{C:()=>i,O:()=>u});var n=r(1504),l=r(4971),a=r(9072),o=r(3756),c=r(5372);const i=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,a.U)();return n.createElement("button",{type:"button",className:(0,l.c)("appearance-none","focus:outline-none","relative","w-10 h-10","rounded-full","border","border-solid","border-gray-300 dark:border-gray-700","text-gray-500","transition-colors","duration-150","ease-in-out","overflow-hidden","flex-shrink-0","group",e),onClick:()=>{r("dark"===t?"light":"dark")}},n.createElement("div",{className:(0,l.c)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","translate-y-0","dark:-translate-y-10","duration-200","ease-in-out","transition-transform")},n.createElement(o.G,null)),n.createElement("div",{className:(0,l.c)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","-translate-y-10","dark:translate-y-0","duration-200","ease-in-out","transition-transform")},n.createElement(c.g,null)))},s=[{name:"light",icon:o.G,label:"Light"},{name:"dark",icon:c.g,label:"Dark"}],u=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,a.U)();return n.createElement("div",{className:(0,l.c)("flex","items-center","gap-4","justify-start",e)},s.map((({name:e,label:a,icon:o})=>n.createElement("button",{type:"button",key:e,className:(0,l.c)("appearance-none","focus:outline-none","py-1","pl-1.5","pr-3","flex","items-center","justify-center","gap-1","rounded-[40px]","text-gray-400","border border-solid","border-gray-200","dark:border-gray-600",t===e&&"bg-gray-100 dark:bg-gray-700"),onClick:()=>{r(e)}},n.createElement(o,{className:(0,l.c)("w-4 h-4")}),n.createElement("span",{className:(0,l.c)("text-sm")},a)))))}},3146:(e,t,r)=>{r.d(t,{o:()=>u});var n=r(4971),l=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const o=e=>l.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const u=l.forwardRef((function(e,t){var{iconOnly:r=!1,iconClassName:a,className:u,placeholder:f,isPermanentDark:m}=e,p=s(e,["iconOnly","iconClassName","className","placeholder","isPermanentDark"]);return l.createElement("button",i(function(e){for(var t=1;t{r.d(t,{o0:()=>d,yw:()=>m,wd:()=>p,AR:()=>b});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var u=r(6098),f=r(4252);const m=[{label:"Resources",items:[{label:"Getting Started",href:"/docs"},{label:"Blog",href:"/blog"},{label:"Project Showcase",icon:n.createElement(u.KU,null),href:"/showcase"},{label:"Community",icon:n.createElement(u.KU,null),href:"/prepverse-community"}]},{label:"Product",items:[{label:"CodePoint",icon:n.createElement(f.i,null),href:"https://prepverse.github.io/CodePoint"},{label:"LeetVerse",icon:n.createElement(f.i,null),href:"https://prepverse.github.io/LeetVerse"}]},{label:"About",items:[{label:"About Me",href:"/AkashSingh3031"},{label:"Portfolio",icon:n.createElement(f.i,null),href:"https://prepverse.github.io/portfolio"}]}],p=[{label:"License",href:"https://github.com/PrepVerse/prepverse.github.io/blob/master/LICENSE"}],d="Thank you for visiting, Connect with me over socials.",b=[{icon:e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{r.d(t,{w:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{g:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{i:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{A:()=>o,i:()=>c});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e){for(var t=1;tn.createElement("svg",a({width:12,height:12,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.053 0A10.904 10.904 0 0 0 3.89 2.685 11.34 11.34 0 0 0 .142 9.472a11.48 11.48 0 0 0 1.456 7.65 11.087 11.087 0 0 0 5.964 4.86c.556.103.752-.25.752-.547v-1.918C5.23 20.202 4.58 18 4.58 18a3.012 3.012 0 0 0-1.227-1.655c-.997-.692.081-.692.081-.692.35.05.683.18.975.382.293.202.536.469.713.78.15.278.352.523.595.721a2.312 2.312 0 0 0 2.618.221c.042-.57.283-1.105.678-1.509-2.454-.284-5.03-1.253-5.03-5.539a4.415 4.415 0 0 1 1.132-3.025A4.194 4.194 0 0 1 5.224 4.7s.928-.305 3.036 1.156c1.81-.508 3.72-.508 5.531 0 2.108-1.46 3.03-1.156 3.03-1.156.406.936.455 1.993.135 2.963a4.415 4.415 0 0 1 1.132 3.026c0 4.334-2.582 5.282-5.043 5.538.264.271.468.597.598.955.13.358.182.741.155 1.122V21.4c0 .367.196.65.759.54a11.093 11.093 0 0 0 5.88-4.878 11.481 11.481 0 0 0 1.419-7.6 11.34 11.34 0 0 0-3.71-6.746A10.907 10.907 0 0 0 11.053 0Z",fill:"currentColor"})),c=e=>n.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.066.001a11.91 11.91 0 0 1 7.745 2.966 12.326 12.326 0 0 1 4.032 7.33 12.46 12.46 0 0 1-1.54 8.245 12.088 12.088 0 0 1-6.406 5.314l-.105.037-.11.021c-.508.1-1.232.093-1.83-.422-.577-.498-.681-1.166-.681-1.565v-3.008l.004-.053a1.102 1.102 0 0 0-.062-.453 1.058 1.058 0 0 0-.235-.377l-.839-.86-.863.882a.802.802 0 0 0-.224.502l-.015.217v3.183c0 .434-.14 1.029-.628 1.492-.541.514-1.246.62-1.864.505l-.108-.02-.104-.035a12.082 12.082 0 0 1-6.498-5.296 12.457 12.457 0 0 1-1.58-8.298c.45-2.86 1.891-5.471 4.073-7.375A11.909 11.909 0 0 1 12.05.001h.016Zm-10.43 10.54a10.957 10.957 0 0 0 1.39 7.303 10.58 10.58 0 0 0 5.693 4.638c.53.099.717-.238.717-.522v-1.83c-.588.13-1.083.15-1.5.1a2.95 2.95 0 0 1-.542-.117 2.551 2.551 0 0 1-.422-.176 2.362 2.362 0 0 1-.82-.72c-.208-.294-.28-.535-.28-.535a2.876 2.876 0 0 0-1.17-1.58l-.016-.01c-.925-.65.093-.65.093-.65.106.015.21.038.313.068l.017.005a2.172 2.172 0 0 1 .962.603c.122.13.23.276.319.433a2.29 2.29 0 0 0 .68.775h.002s0 .001 0 0a2.211 2.211 0 0 0 2.385.124v-.014a2.302 2.302 0 0 1 .647-1.427 8.754 8.754 0 0 1-1.625-.328 4.865 4.865 0 0 1-1.416-.695 3.883 3.883 0 0 1-.432-.365c-.8-.786-1.328-2.002-1.328-3.899a4.214 4.214 0 0 1 1.08-2.887 4.003 4.003 0 0 1 .104-2.848s.886-.291 2.898 1.103a9.762 9.762 0 0 1 5.28 0c2.011-1.393 2.891-1.103 2.891-1.103.388.893.434 1.902.13 2.828a4.214 4.214 0 0 1 1.08 2.888c0 3.166-1.444 4.44-3.174 4.972a8.617 8.617 0 0 1-1.64.314 2.558 2.558 0 0 1 .699 1.425c.026.184.033.371.02.558v2.955c0 .35.187.62.724.515a10.588 10.588 0 0 0 5.613-4.656 10.958 10.958 0 0 0 1.354-7.254 10.824 10.824 0 0 0-3.541-6.439 10.41 10.41 0 0 0-6.77-2.592 10.408 10.408 0 0 0-6.837 2.563 10.824 10.824 0 0 0-3.578 6.478ZM16.374 7.8a8.003 8.003 0 0 0-.856.524l-.58.401-.679-.19a8.262 8.262 0 0 0-4.469 0l-.68.19-.58-.402a7.982 7.982 0 0 0-.846-.519c.019.186.059.37.12.549l.282.832-.588.653a2.714 2.714 0 0 0-.696 1.86v.024c0 1.724.503 2.513.998 2.937.563.481 1.397.736 2.476.86l1.567.182 1.954-.204c1.082-.112 1.912-.358 2.47-.833.492-.418.999-1.209.999-2.96v-.026a2.714 2.714 0 0 0-.696-1.86l-.582-.647.273-.826c.058-.178.096-.36.113-.545Z",clipRule:"evenodd"}))},1980:(e,t,r)=>{r.d(t,{m:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{Q:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{G:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{s1:()=>c,wR:()=>s,QD:()=>f,vn:()=>p,kv:()=>b,uI:()=>h,A9:()=>w,_2:()=>O,Ew:()=>C,Yf:()=>j,oh:()=>k,Ed:()=>S,BE:()=>M,KU:()=>Z,WR:()=>T,w9:()=>$,CC:()=>U,AH:()=>Q,oz:()=>K,C3:()=>q});var n=r(1504);var l=r(4971);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const c=e=>n.createElement("svg",o(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const{colorMode:t}=(0,D.U)();return n.createElement("div",{className:(0,l.c)("relative","flex","items-center","justify-center","rounded-full","overflow-hidden","p-px","dark:bg-[#194b3a] bg-[#b7dbff]"),style:{transform:"translateZ(0)"}},n.createElement("div",{className:(0,l.c)("z-[1]","absolute","inset-0","dark:bg-new-badge-border-dark bg-new-badge-border-light","animate-new-badge-border")}),n.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}var H,F;const T=e=>{var{variant:t="landing"}=e,r=A(e,["variant"]);return n.createElement("svg",R(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",_(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{r.d(t,{o:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{c:()=>i});var n=r(4971),l=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const i=e=>{var{className:t,wrapperProps:r}=e,a=c(e,["className","wrapperProps"]);return l.createElement("div",o({role:"status"},r),l.createElement("svg",o({"aria-hidden":"true",width:24,height:24,viewBox:"0 0 100 100",className:(0,n.c)("text-gray-200 animate-spin dark:text-gray-600 fill-refine-blue",t),fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),l.createElement("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),l.createElement("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})),l.createElement("span",{className:"sr-only"},"Loading..."))}},252:(e,t,r)=>{r.d(t,{Q:()=>i});var n=r(4971),l=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;tl.createElement("div",{className:(0,n.c)("w-full h-12","relative","bg-top-announcement","not-prose","font-inter","z-top-announcement")},l.createElement("div",{className:(0,n.c)("hidden lg:flex","w-full h-full","max-w-screen","overflow-hidden","border-b border-solid border-[#47ebeb26]","top-announcement-mask")},l.createElement("div",{className:(0,n.c)("w-[1280px] h-full","mx-auto","flex","justify-between")},l.createElement("div",{className:(0,n.c)("w-[calc(50%-300px)] h-full","relative")},l.createElement(u,{style:{animationDelay:"1.5s"},className:(0,n.c)("absolute","top-[2px]","right-[220px]"),id:"1"}),l.createElement(u,{style:{animationDelay:"1s"},className:(0,n.c)("absolute","rotate-180","top-[8px] right-[100px]"),id:"2"}),l.createElement(f,{className:(0,n.c)("absolute","right-[10px]"),id:"3"})),l.createElement("div",{className:(0,n.c)("w-[calc(50%-300px)] h-full","relative")},l.createElement(u,{style:{animationDelay:"2s"},className:(0,n.c)("absolute","rotate-180","top-[6px] right-[180px]"),id:"4"}),l.createElement(u,{style:{animationDelay:"0.5s"},className:(0,n.c)("delay-[1300]","absolute","top-[2px]","right-[40px]"),id:"5"}),l.createElement(f,{className:(0,n.c)("absolute","right-[-70px]"),id:"6"})))),l.createElement(s,null)),s=()=>l.createElement("a",{href:"https://github.com/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,n.c)("relative lg:absolute","px-2 lg:px-0","top-0","left-[50%]","translate-x-[-50%]","bg-top-announcement-text","h-full w-full lg:w-[450px]","flex items-center justify-center","text-white","text-xs sm:text-sm","text-center","no-underline","hover:no-underline","hover:text-white","not-prose")},l.createElement("div",{className:(0,n.c)("ml-2","not-prose")},"For more updates follow","",l.createElement("span",{className:(0,n.c)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")},"@AkashSingh3031"),".")),u=e=>l.createElement("svg",c(o({xmlns:"http://www.w3.org/2000/svg",width:80,height:40,fill:"none"},e),{className:(0,n.c)("animate-top-announcement-glow","opacity-1",e.className)}),l.createElement("circle",{cx:40,r:40,fill:`url(#${e.id}-a)`,fillOpacity:.5}),l.createElement("defs",null,l.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 40 -40 0 40 0)",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{stopColor:"#47EBEB"}),l.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0})))),f=e=>l.createElement("svg",c(o({xmlns:"http://www.w3.org/2000/svg",width:120,height:48,fill:"none"},e),{className:(0,n.c)("animate-top-announcement-glow","opacity-1",e.className)}),l.createElement("circle",{cx:60,cy:24,r:60,fill:`url(#${e.id}-a)`,fillOpacity:.5}),l.createElement("defs",null,l.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 60 -60 0 60 24)",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{stopColor:"#47EBEB"}),l.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0}))))},4226:(e,t,r)=>{r.r(t),r.d(t,{default:()=>fe});var n=r(1504),l=r(4971),a=r(6684),o=r(5628),c=r(4559),i=r(844),s=r(1688),u=r(3024),f=r(2192),m=r(3951),p=r(2444),d=r(2700),b=r(5792),g=r(6936);const h=({className:e})=>{const{githubStarCountText:t,loading:r}=(0,d.wx)();return n.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank",rel:"noreferrer",className:(0,l.c)("text-sm","text-gray-500 dark:text-gray-400","rounded-[32px]","border border-solid border-gray-300 dark:border-gray-700","flex gap-2 items-center","py-2 pl-2.5 pr-4","no-underline",e)},n.createElement(b.A,{className:(0,l.c)("w-5 h-5")}),n.createElement("div",{className:(0,l.c)("flex items-center","min-w-[76px] h-6")},"Star:\xa0",r?n.createElement(g.c,{className:(0,l.c)("w-5 h-5"),wrapperProps:{className:(0,l.c)("mx-auto")}}):n.createElement("span",{className:(0,l.c)("tabular-nums text-gray-800 dark:text-gray-100")},t)))};var y=r(1180),w=r(9253),v=r(3146),O=r(2424),x=r(2276),C=r(9184);const E=({className:e})=>n.createElement(C.c,{href:"/",className:(0,l.c)("text-base","text-gray-500 dark:text-gray-400","no-underline","transition-colors","duration-200","ease-in-out","whitespace-nowrap",e)},"PrepVerse Home");var j=r(640),P=r(8472),k=r(4577);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}const S=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("div",{className:(0,l.c)("relative","flex","items-center","justify-center","rounded-full","overflow-hidden","p-px","dark:bg-refine-enterprise-purple bg-refine-enterprise-purple/30",e),style:{transform:"translateZ(0)"}},n.createElement("div",{className:(0,l.c)("z-[1]","absolute","inset-0","dark:bg-purple-new-badge-border-dark bg-purple-new-badge-border-light","animate-new-badge-border")}),n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:31,height:14,viewBox:"0 0 31 14",fill:"none",className:(0,l.c)("z-[2]","bg-gray-0 dark:bg-refine-enterprise-purple-4","text-refine-enterprise-purple dark:text-refine-enterprise-purple-3","rounded-full")},n.createElement("rect",{width:31,height:14,x:0,y:0,fill:"currentColor",fillOpacity:.15,rx:6.5}),n.createElement("path",{fill:"currentColor",stroke:"0",d:"M11.433 4.182V10h-.937L7.754 6.037h-.048V10H6.652V4.182h.943l2.739 3.966h.05V4.182h1.05ZM12.582 10V4.182h3.784v.883h-2.73v1.58h2.534v.883h-2.534v1.588h2.753V10h-3.807Zm6.084 0-1.643-5.818h1.134l1.048 4.275h.054l1.12-4.275h1.03l1.123 4.278h.051l1.048-4.278h1.134L23.123 10h-1.04l-1.165-4.082h-.045L19.705 10h-1.04Z"})));function M(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function D(e){for(var t=1;t/gi,B=({item:e,path:t,line:r,variant:a,onLinkClick:o,deferred:c})=>{var s,u,f;const m=(0,j.IT)(),p=null===(u=e.className)||void 0===u||null===(s=u.includes)||void 0===s?void 0:s.call(u,"category-as-header"),d=(0,i.Md)(e,t),b=(0,P.Sc)(e.href,t),{collapsible:g}=e,h=!p&&!d&&e.collapsed,[y,w]=n.useState(!1!==g&&h),[v,O]=n.useState(!1);n.useEffect((()=>{const e=setTimeout((()=>{O(!0)}),210);return()=>{clearTimeout(e)}}),[y]);n.useEffect((()=>{const e=document.querySelector(`#prepverse-docs-sidebar a[href="${m.pathname}"]`);if(!e)return;const t=document.querySelector("#prepverse-docs-sidebar");t&&t.scrollTo({top:e.getBoundingClientRect().top-200,behavior:"smooth"})}),[]);const x=p||!e.href||b?"button":C.c;var E;return n.createElement("div",{className:(0,l.c)(!r&&"pl-0",r&&"pl-2",r&&"ml-[12px]","relative")},n.createElement(x,V(D({type:"button",onClick:p?()=>0:()=>{!1!==g&&(w(!y),O(!1))}},"button"===x?{}:{isNavLink:!0}),{href:e.href,className:(0,l.c)(p&&"cursor-default","w-full","min-h-[28px]","border-0","appearance-none","focus:outline-none",!p&&"text-gray-500 dark:text-gray-300",p&&"text-green-500 dark:text-red-400",p&&"font-semibold",!p&&"hover:text-gray-600 dark:hover:text-gray-300","flex items-center",p?"pt-0 pb-2":"py-2","pr-2",p&&"pl-2",!p&&"pl-0.5",p?"text-base":"text-sm","relative",!p&&"group","transition-colors duration-200 ease-in-out",!p&&"no-underline")}),!p&&n.createElement(k.w,{className:(0,l.c)("opacity-70","text-gray-500 dark:text-gray-400","h-5 w-5","flex-shrink-0","z-[1]","transition-transform duration-200 ease-in-out","group-hover:text-gray-600 dark:group-hover:text-gray-300",{"-rotate-90 transform":y})}),n.createElement("span",{className:"z-[1]"},e.label),n.createElement("div",{className:(0,l.c)("absolute","rounded-[18px]","transition-opacity","duration-200 ease-in-out","top-0",{"group-hover:bg-gray-100 dark:group-hover:bg-gray-700":!d&&!b,"bg-refine-blue-2-light dark:bg-gray-700/80 dark:bg-opacity-10":d&&b,"right-0":"desktop"===a,"-left-2":"mobile"===a},"h-full"),style:{width:"desktop"===a?"calc(260px - 32px)":"calc(100% + 16px)"}})),r&&n.createElement("div",{className:"z-[1] absolute left-0 top-1/2 -translate-y-1/2 border-l border-l-gray-300 dark:border-l-gray-600 h-full w-px"}),n.createElement("div",{className:(0,l.c)(y&&"max-h-0 opacity-0",y&&"overflow-hidden",!y&&"opacity-100",!y&&!v&&"max-h-screen",!y&&v&&"max-h-max")},(!c||!y)&&T({items:null!==(E=null===(f=e)||void 0===f?void 0:f.items)&&void 0!==E?E:[],path:t,line:!p,fromHeader:p,variant:a,onLinkClick:o,deferred:c})))},R=({item:e,onClick:t})=>n.createElement(C.c,{href:e.href,isNavLink:!0,onClick:t,className:(0,l.c)("flex-shrink-0","relative","min-h-[28px]","rounded-[18px]","bg-refine-enterprise-purple-2 bg-opacity-10","dark-bg-refine-enterprise-purple-2 dark:bg-opacity-30","text-refine-enterprise-purple","dark:text-refine-enterprise-purple-3","pl-6 pr-3 py-2","text-sm font-normal","flex items-start justify-start","group","transition-colors duration-200 ease-in-out","no-underline",e.className)},n.createElement("div",{className:"flex items-center flex-1"},n.createElement("span",{className:"z-[1] flex-shrink-0"},e.label),n.createElement(L,{className:"flex-shrink-0 ml-auto"}))),A=e=>n.createElement("svg",D({xmlns:"http://www.w3.org/2000/svg",width:12,height:12,viewBox:"0 0 12 12",fill:"none"},e),n.createElement("g",{fill:"currentColor"},n.createElement("path",{d:"M1 2.65C1 1.739 1.739 1 2.65 1H5.5a.5.5 0 0 0 0-1H2.65A2.65 2.65 0 0 0 0 2.65v6.7A2.65 2.65 0 0 0 2.65 12h6.7A2.65 2.65 0 0 0 12 9.35V6.5a.5.5 0 0 0-1 0v2.85A1.65 1.65 0 0 1 9.35 11h-6.7A1.65 1.65 0 0 1 1 9.35v-6.7Z"}),n.createElement("path",{d:"M8.5 0a.5.5 0 0 0 0 1h1.793L5.646 5.646a.5.5 0 1 0 .708.708L11 1.707V3.5a.5.5 0 0 0 1 0v-2A1.5 1.5 0 0 0 10.5 0h-2Z"}))),H=({item:e,path:t,dashed:r,line:a,variant:o,onClick:c})=>{var s,u,f;const m=n.useRef(!1),p=n.useRef(null),d=(0,i.Md)(e,t),b=(0,P.Sc)(e.href,t),g=(null===(u=e.className)||void 0===u||null===(s=u.includes)||void 0===s?void 0:s.call(u,"enterprise-badge"))||!1;if(n.useEffect((()=>{if(d&&!m.current){const r=document.querySelector("#prepverse-docs-sidebar");var e,t;if(r&&p.current)r.scrollTop=(null===(e=p.current)||void 0===e?void 0:e.offsetTop)-r.clientHeight/2+(null===(t=p.current)||void 0===t?void 0:t.clientHeight)/2}m.current=!0}),[d]),g)return n.createElement(R,{item:e,onClick:c});const h=Z.test(e.label);return n.createElement(C.c,{ref:p,href:e.href,isNavLink:!0,onClick:c,className:(0,l.c)("relative","min-h-[28px]",!d&&"text-gray-600 dark:text-gray-300",!d&&"hover:text-gray-600 dark:hover:text-gray-300",d&&"text-refine-react-light-link dark:text-refine-react-dark-link","px-4 py-2","text-sm font-normal","flex items-start justify-start",r&&!a&&"pl-0.5",a&&r&&"pl-2",a&&"ml-[12px]","group","transition-colors duration-200 ease-in-out","no-underline",e.className)},r&&n.createElement(S,{className:(0,l.c)("z-[1] h-5 w-5 flex-shrink-0","text-gray-300 dark:text-gray-600",d&&"text-refine-react-light-link dark:text-refine-react-dark-link text-opacity-50 dark:text-opacity-50")}),n.createElement("div",{className:(0,l.c)("flex items-center",h&&"break-all")},n.createElement("span",{className:"z-[1]"},e.label)),(null===(f=e.customProps)||void 0===f?void 0:f.external)&&n.createElement(A,{className:(0,l.c)("z-[1]","text-inherit","w-5 h-5","p-1","ml-1")}),n.createElement("div",{className:(0,l.c)("absolute","rounded-[18px]","transition-opacity","duration-200 ease-in-out",{"group-hover:bg-gray-100 dark:group-hover:bg-gray-700":!d&&!b,"bg-refine-blue-2-light dark:bg-gray-700/80 dark:bg-opacity-10":d&&b,"right-0":"desktop"===o,"-left-2":"mobile"===o},"top-0","h-full"),style:{width:"desktop"===o?"calc(260px - 32px)":"calc(100% + 16px)"}}),a&&n.createElement("div",{className:"absolute left-0 top-1/2 -translate-y-1/2 border-l border-l-gray-300 dark:border-l-gray-600 h-full w-px"}))},F=({item:e,line:t})=>n.createElement("div",{className:(0,l.c)("relative","text-xs","flex items-start justify-start","px-0.5 py-1",t&&"pl-2",t&&"ml-[12px]","group","transition-colors duration-200 ease-in-out","no-underline","text-gray-500 dark:text-gray-400","after:content-['']","after:w-[calc(100%)]","after:h-px","after:bg-gray-300","dark:after:bg-gray-600","after:absolute","after:left-0","after:top-1/2","after:-translate-y-1/2")},t&&n.createElement("div",{className:"absolute left-0 top-1/2 -translate-y-1/2 border-l border-l-gray-300 dark:border-l-gray-600 h-full w-px"}),n.createElement("span",{className:(0,l.c)("z-[1]","-ml-1","px-1","bg-gray-0","dark:bg-gray-900"),dangerouslySetInnerHTML:{__html:e.value}})),T=({items:e=[],path:t,root:r,line:l,variant:a,onLinkClick:o,deferred:c})=>{var i,s,u,f;const m=null===(s=e)||void 0===s||null===(i=s.some)||void 0===i?void 0:i.call(s,(e=>"category"===e.type)),p=!r&&m;var d;return null!==(d=null===(f=e)||void 0===f||null===(u=f.map)||void 0===u?void 0:u.call(f,((e,r)=>{switch(e.type){case"category":return n.createElement(B,{key:`${e.label}:${e.href}:${e.type}`,item:e,path:t,line:!!l,variant:a,onLinkClick:o,deferred:c});case"html":return n.createElement(F,{key:`${e.type}:${e.value}`,item:e,path:t,line:!!l,variant:a});case"link":return n.createElement(H,{key:`${e.label}:${e.href}:${e.type}`,item:e,path:t,dashed:p,line:!!l,variant:a,onClick:o});default:return null}})))&&void 0!==d?d:[]},I=()=>{var e;const t=(0,u.m)(),{pathname:r}=(0,j.IT)();return n.createElement("div",{id:"prepverse-docs-sidebar",className:(0,l.c)("hidden lg:block","sticky","left-0","overflow-auto","w-full"),style:{maxWidth:"260px",top:`${te}px`,height:`calc(100vh - ${te}px)`}},n.createElement("div",{className:(0,l.c)("px-4","py-4","border-r border-r-gray-300 dark:border-r-gray-700","flex flex-col gap-6")},T({items:null===(e=t)||void 0===e?void 0:e.items,path:r,root:!0,variant:"desktop"})))};const $=({className:e})=>n.createElement("div",{className:(0,l.c)("flex","items-center justify-start","gap-2","no-underline",e)},n.createElement(C.c,{to:"/",className:(0,l.c)("no-underline","flex items-center gap-2")},n.createElement("span",{className:(0,l.c)("text-gray-1000 dark:text-gray-0","text-base","font-semibold")},"PrepVerse")),n.createElement("span",{className:(0,l.c)("block","h-6","w-px","mx-1","bg-gray-300 dark:bg-gray-600")}),n.createElement(C.c,{to:"/docs",className:(0,l.c)("no-underline")},n.createElement("span",{className:(0,l.c)("text-gray-1000 dark:text-gray-0","text-base font-normal")},"Docs")));var z=r(4604),U=r(4245),G=r(8484);const _=()=>{const{search:e,hash:t}=(0,j.IT)(),r=(0,U.wB)(),n=(0,U.gN)();return{links:n.map((n=>{var l;const a=null!==(l=r.alternateDocVersions[n.name])&&void 0!==l?l:(e=>e.docs.find((t=>t.id===e.mainDocId)))(n);return{to:`${a.path}${e}${t}`,label:n.label}}))}};function Q(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const W=e=>n.createElement("svg",function(e){for(var t=1;t{const r=(0,U.wB)(),{links:a}=_();return n.createElement("div",{className:t},n.createElement(G.i,null,(({open:t})=>n.createElement(n.Fragment,null,n.createElement(G.i.Button,{className:(0,l.c)("appearance-none","focus:outline-none","border border-solid border-gray-300 dark:border-gray-600 lg:dark:border-gray-700","rounded-[32px]","py-1.5","pl-3","pr-2","bg-gray-0 dark:bg-gray-800","lg:bg-transparent lg:dark:bg-transparent","lg:pl-4 lg:pr-3","lg:py-[9px]","flex","items-center","justify-center","gap-1","lg:gap-2","select-none",e)},n.createElement("span",{className:(0,l.c)("text-gray-500 dark:text-gray-100","text-sm leading-5","block")},r.activeVersion.label),n.createElement(z.o,{className:"text-gray-400 w-4 h-4"})),n.createElement(O.O,{show:t,className:"relative z-10",enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95"},n.createElement(W,{className:(0,l.c)("absolute right-[11px] top-1 origin-bottom-right","text-gray-700 dark:text-white")}),n.createElement(G.i.Items,{static:!0,className:(0,l.c)("absolute right-0 top-2 origin-bottom-right","flex flex-col gap-2","w-[120px]","p-2","bg-gray-700 dark:bg-white","rounded-lg")},a.map((e=>n.createElement(G.i.Item,{key:e.label},(()=>{const t=e.label===r.activeVersion.label;return n.createElement(C.c,{to:e.to,className:(0,l.c)("px-2 py-1","rounded-[4px]","no-underline",{"text-white hover:text-white":t,"bg-refine-blue":t,"text-gray-300 dark:text-gray-700":!t,"hover:bg-gray-600 hover:dark:bg-gray-100 hover:text-gray-300 dark:hover:text-gray-700":!t})},e.label)}))))))))))},Y=({isOpen:e,onClose:t})=>{const{items:r}=(({variant:e,onLinkClick:t,deferred:r})=>{var n;const l=(0,u.m)(),{pathname:a}=(0,j.IT)();return{items:T({items:null===(n=l)||void 0===n?void 0:n.items,path:a,root:!0,variant:e,onLinkClick:t,deferred:r})}})({variant:"mobile",onLinkClick:t,deferred:!0});return n.createElement(O.O,{appear:!0,show:e,as:n.Fragment},n.createElement(x.C,{as:"div",className:"relative z-mobileNavbar",onClose:t},n.createElement(O.O.Child,{as:n.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},n.createElement("div",{className:"fixed inset-0 bg-gray-0 dark:bg-gray-800"})),n.createElement("div",{className:"fixed inset-0 overflow-y-auto"},n.createElement("div",{className:"flex min-h-full items-start justify-center"},n.createElement(O.O.Child,{as:n.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},n.createElement(x.C.Panel,{className:(0,l.c)("w-full h-[100dvh]","flex flex-col","px-2")},n.createElement("div",{className:(0,l.c)("py-4","px-2","w-full h-16","flex items-center justify-between")},n.createElement($,null),n.createElement("div",{className:(0,l.c)("flex items-center gap-4")},n.createElement(y.O,{onClick:t,active:!0}))),n.createElement("div",{className:(0,l.c)("relative","w-full max-w-[480px]","flex","flex-col","flex-1","mx-auto","rounded-lg","border border-gray-300 dark:border-gray-600")},n.createElement("div",{className:(0,l.c)("h-12","rounded-tl-lg rounded-tr-lg","bg-gray-100 dark:bg-gray-700","border-b border-gray-300 dark:border-gray-600","flex items-center gap-2","px-4 py-2","justify-end")},n.createElement(K,null)),n.createElement("div",{className:(0,l.c)("flex-1","overflow-hidden","relative")},n.createElement("div",{className:(0,l.c)("inset-0","overflow-scroll","h-full","px-8","absolute","flex flex-col gap-6","py-6")},r))),n.createElement("div",{className:(0,l.c)("flex","flex-col","gap-0")},n.createElement("div",{className:(0,l.c)("flex items-center justify-start","gap-10","px-2","py-4")},n.createElement("span",{className:(0,l.c)("text-sm","text-gray-800","dark:text-gray-100")},"Appearance"),n.createElement(w.O,null)),n.createElement("div",{className:(0,l.c)("border-t","border-t-gray-300 dark:border-t-gray-700","px-4","py-2","flex","items-center","justify-between")},n.createElement(E,null),n.createElement(h,null)))))))))};var q=r(252);function J(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function X(e){for(var t=1;tn.createElement("div",{className:(0,l.c)("w-full","hidden lg:flex items-center","mx-auto")},n.createElement($,{className:(0,l.c)("lg:min-w-[256px]")}),n.createElement("div",{className:(0,l.c)("flex-1","flex","justify-end","items-center","gap-4")},n.createElement("div",{className:(0,l.c)("hidden lg:flex items-center justify-start")},n.createElement(p.c,null)),n.createElement("div",{className:(0,l.c)("lg:hidden flex")},n.createElement(p.c,{CustomButton:n.forwardRef((function(e,t){return n.createElement(v.o,ee(X({ref:t},e),{iconOnly:!0}))}))})),n.createElement(K,null),n.createElement(h,null),n.createElement(w.C,{className:(0,l.c)("scale-75","sm:scale-100")}))),ne=()=>{const[e,t]=(0,n.useState)(!1);return n.createElement("div",{className:(0,l.c)("w-full","flex lg:hidden items-center justify-between")},n.createElement($,null),n.createElement("div",{className:(0,l.c)("flex items-center gap-4")},n.createElement(p.c,{CustomButton:n.forwardRef((function(e,t){return n.createElement(v.o,ee(X({ref:t},e),{iconOnly:!0}))}))}),n.createElement(y.O,{onClick:()=>t(!0),active:e})),n.createElement(Y,{isOpen:e,onClose:()=>t(!1)}))},le=()=>n.createElement(n.Fragment,null,n.createElement(q.Q,null),n.createElement("div",{className:(0,l.c)("flex items-center","h-16","z-10","sticky","top-0","py-4 sm:py-3 px-4 sm:px-6","bg-gray-0 dark:bg-gray-800","border-b border-gray-300 dark:border-gray-700")},n.createElement(re,null),n.createElement(ne,null))),ae=({children:e})=>n.createElement(n.Fragment,null,n.createElement(le,null),n.createElement("div",{className:(0,l.c)("flex items-start justify-start","w-full flex-1","mx-auto")},n.createElement(I,null),e),n.createElement(m.A,null));function oe({children:e}){return n.createElement(f.c,null,n.createElement(ae,null,e))}var ce=r(2512),ie=r(6108),se=r(380);function ue(e){const{versionMetadata:t}=e;return n.createElement(n.Fragment,null,n.createElement(ie.c,{version:t.version,tag:(0,c.SE)(t.pluginId,t.version)}),n.createElement(a.U7,null,t.noIndex&&n.createElement("meta",{name:"robots",content:"noindex, nofollow"})))}function fe(e){const{versionMetadata:t}=e,r=(0,i.sr)(e),{tutorial:{path_prefix:c}}=(0,se.e)();if(!r)return n.createElement(ce.default,null);const f=Object.keys(t.docsSidebars)[0],m=t.docsSidebars[f],{docElement:p,sidebarName:d,sidebarItems:b}=(e.location.pathname.startsWith(c),r);return n.createElement(n.Fragment,null,n.createElement(ue,e),n.createElement(a.cr,{className:(0,l.c)(o.W.wrapper.docsPages,o.W.page.docsDocPage,e.versionMetadata.className)},n.createElement(s.Q,{version:t},n.createElement(u.y,{name:null!=d?d:f,items:null!=b?b:m},n.createElement(oe,null,p)))))}},2444:(e,t,r)=>{r.d(t,{c:()=>j});var n=r(7652),l=r(6424),a=r(9184),o=r(640),c=r(9500),i=r(3928),s=r(1088),u=r(9488),f=r(3652),m=r(9936),p=r(3146),d=r(3796),b=r(1504),g=r(7104);function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function y(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}let O=null;function x({hit:e,children:t}){return b.createElement(a.c,{to:e.url},t)}function C({state:e,onClose:t}){const r=(0,c.Y)();return b.createElement(a.c,{to:r(e.query),onClick:t},b.createElement(f.c,{id:"theme.SearchBar.seeAll",values:{count:e.context.nbHits}},"See all {count} results"))}function E(e){var t,{contextualSearch:a,externalUrlRegex:c,CustomButton:f}=e,h=v(e,["contextualSearch","externalUrlRegex","CustomButton"]);const{siteMetadata:E}=(0,m.c)(),j=(0,s.Q)(),P=(0,u.Q)();var k;const N=null!==(k=null===(t=h.searchParameters)||void 0===t?void 0:t.facetFilters)&&void 0!==k?k:[],S=a?function(e,t){const r=e=>"string"==typeof e?[e]:e;return[...r(e),...r(t)]}(P,N):N,L=w(y({},h.searchParameters),{facetFilters:S}),M=(0,o.Uz)(),D=(0,b.useRef)(null),V=(0,b.useRef)(null),[Z,B]=(0,b.useState)(!1),[R,A]=(0,b.useState)(void 0),H=(0,b.useCallback)((async()=>O?Promise.resolve():Promise.all([r.e(6652).then(r.bind(r,6652)),Promise.all([r.e(2176),r.e(1676)]).then(r.bind(r,1676)),Promise.all([r.e(2176),r.e(5640)]).then(r.bind(r,3260))]).then((([{DocSearchModal:e}])=>{O=e}))),[]),F=(0,b.useCallback)((()=>{H().then((()=>{D.current=document.createElement("div"),document.body.insertBefore(D.current,document.body.firstChild),B(!0)}))}),[H,B]),T=(0,b.useCallback)((()=>{var e,t;B(!1),null===(t=D.current)||void 0===t||null===(e=t.remove)||void 0===e||e.call(t)}),[B]),I=(0,b.useCallback)((e=>{H().then((()=>{B(!0),A(e.key)}))}),[H,B,A]),$=(0,b.useRef)({navigate({itemUrl:e}){(0,i._)(c,e)?window.location.href=e:M.push(e)}}).current,z=(0,b.useRef)((e=>h.transformItems?h.transformItems(e):e.map((e=>w(y({},e),{url:j(e.url)}))))).current,U=(0,b.useMemo)((()=>function(e){return b.createElement(C,w(y({},e),{onClose:T}))}),[T]),G=(0,b.useCallback)((e=>(e.addAlgoliaAgent("docusaurus",E.docusaurusVersion),e)),[E.docusaurusVersion]);(0,n._)({isOpen:Z,onOpen:F,onClose:T,onInput:I,searchButtonRef:V});const _=null!=f?f:p.o,{apiKey:Q,appId:W,searchPagePath:K,indexName:Y,searchParameters:q}=h,J=v(h,["apiKey","appId","searchPagePath","indexName","searchParameters"]);return b.createElement(b.Fragment,null,b.createElement(l.c,null,b.createElement("link",{rel:"preconnect",href:`https://${h.appId}-dsn.algolia.net`,crossOrigin:"anonymous"})),b.createElement(_,y({onTouchStart:H,onFocus:H,onMouseOver:H,onClick:F,ref:V},J)),Z&&O&&D.current&&(0,g.createPortal)(b.createElement(O,w(y({onClose:T,initialScrollY:window.scrollY,initialQuery:R,navigator:$,transformItems:z,hitComponent:x,transformSearchClient:G},h.searchPagePath&&{resultsFooterComponent:U},h),{searchParameters:L,placeholder:d.c.placeholder,translations:d.c.modal})),D.current))}function j({CustomButton:e}){const{siteConfig:t}=(0,m.c)();return b.createElement(E,w(y({},t.themeConfig.algolia),{CustomButton:e}))}}}]); \ No newline at end of file diff --git a/assets/js/1be78505.87041569.js b/assets/js/1be78505.87041569.js new file mode 100644 index 00000000..25bfa967 --- /dev/null +++ b/assets/js/1be78505.87041569.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[9656,2512],{2512:(e,t,r)=>{r.r(t),r.d(t,{default:()=>c});var n=r(1504),l=r(3652),a=r(6684),o=r(2192);function c(){return n.createElement(n.Fragment,null,n.createElement(a.U7,{title:(0,l.G)({id:"theme.NotFound.title",message:"Page Not Found"})}),n.createElement(o.c,null,n.createElement("main",{className:"container margin-vert--xl"},n.createElement("div",{className:"row"},n.createElement("div",{className:"col col--6 col--offset-3"},n.createElement("h1",{className:"hero__title"},n.createElement(l.c,{id:"theme.NotFound.title",description:"The title of the 404 page"},"Page Not Found")),n.createElement("p",null,n.createElement(l.c,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page"},"We could not find what you were looking for.")),n.createElement("p",null,n.createElement(l.c,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page"},"Please contact the owner of the site that linked you to the original URL and let them know their link is broken.")))))))}},5628:(e,t,r)=>{r.d(t,{W:()=>n});const n={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-page",docsDocPage:"docs-doc-page",docsTagsListPage:"docs-tags-list-page",docsTagDocListPage:"docs-tags-doc-list-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docsPages:"docs-wrapper",mdxPages:"mdx-wrapper"},common:{editThisPage:"theme-edit-this-page",lastUpdated:"theme-last-updated",backToTopButton:"theme-back-to-top-button",codeBlock:"theme-code-block",admonition:"theme-admonition",admonitionType:e=>`theme-admonition-${e}`},layout:{},docs:{docVersionBanner:"theme-doc-version-banner",docVersionBadge:"theme-doc-version-badge",docBreadcrumbs:"theme-doc-breadcrumbs",docMarkdown:"theme-doc-markdown",docTocMobile:"theme-doc-toc-mobile",docTocDesktop:"theme-doc-toc-desktop",docFooter:"theme-doc-footer",docFooterTagsRow:"theme-doc-footer-tags-row",docFooterEditMetaRow:"theme-doc-footer-edit-meta-row",docSidebarContainer:"theme-doc-sidebar-container",docSidebarMenu:"theme-doc-sidebar-menu",docSidebarItemCategory:"theme-doc-sidebar-item-category",docSidebarItemLink:"theme-doc-sidebar-item-link",docSidebarItemCategoryLevel:e=>`theme-doc-sidebar-item-category-level-${e}`,docSidebarItemLinkLevel:e=>`theme-doc-sidebar-item-link-level-${e}`},blog:{}}},380:(e,t,r)=>{r.d(t,{e:()=>l});var n=r(9936);r(1504);const l=()=>{const{siteConfig:{customFields:e}}=(0,n.c)(),{tutorial:t}=e;return t}},3951:(e,t,r)=>{r.d(t,{A:()=>c});var n=r(4971),l=r(1504),a=r(7708),o=r(204);const c=()=>l.createElement("footer",{className:(0,n.c)("py-4","px-4","dark:bg-gray-800 bg-gray-0","border-t dark:border-t-gray-700 border-t-gray-300")},l.createElement("div",{className:(0,n.c)("mx-auto","flex w-full items-center justify-between","flex-col-reverse sm:flex-row gap-8")},l.createElement("div",{className:(0,n.c)("text-sm","leading-6","dark:text-gray-400 text-gray-500")},"Copyright \xa9 ",(new Date).getFullYear()," PrepVerse"," ",l.createElement(o.Q,{className:"text-refine-red ml-2 inline leading-6"})," ",l.createElement("br",null),"Built with Docusaurus & Refine."),l.createElement("div",{className:(0,n.c)("flex flex-col sm:flex-row justify-center items-center")},l.createElement("div",{className:(0,n.c)("dark:text-gray-100 text-gray-800","text-sm leading-6","sm:mr-4")},"Connect with me on"),l.createElement("div",{className:(0,n.c)("flex gap-4","dark:text-gray-400 text-gray-500","mt-4 sm:mt-0")},a.AR.map((({href:e,icon:t},r)=>l.createElement("a",{key:r,href:e,target:"_blank",rel:"noreferrer",className:(0,n.c)("flex items-center no-underline")},l.createElement(t,{className:(0,n.c)("w-9 h-9 sm:w-8 sm:h-8")}))))))))},1180:(e,t,r)=>{r.d(t,{O:()=>c});var n=r(4971),l=r(1504),a=r(1980),o=r(2268);const c=({active:e,className:t,onClick:r})=>l.createElement("button",{className:(0,n.c)("w-8 h-8","flex items-center justify-center flex-shrink-0","text-gray-800 dark:text-gray-100","rounded-full","hover:bg-gray-200 hover:dark:bg-gray-700","transition-[background-color]","duration-200","ease-in-out",t),onClick:r},e?l.createElement(o.O,null):l.createElement(a.m,null))},9253:(e,t,r)=>{r.d(t,{C:()=>i,O:()=>u});var n=r(1504),l=r(4971),a=r(9072),o=r(3756),c=r(5372);const i=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,a.U)();return n.createElement("button",{type:"button",className:(0,l.c)("appearance-none","focus:outline-none","relative","w-10 h-10","rounded-full","border","border-solid","border-gray-300 dark:border-gray-700","text-gray-500","transition-colors","duration-150","ease-in-out","overflow-hidden","flex-shrink-0","group",e),onClick:()=>{r("dark"===t?"light":"dark")}},n.createElement("div",{className:(0,l.c)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","translate-y-0","dark:-translate-y-10","duration-200","ease-in-out","transition-transform")},n.createElement(o.G,null)),n.createElement("div",{className:(0,l.c)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","-translate-y-10","dark:translate-y-0","duration-200","ease-in-out","transition-transform")},n.createElement(c.g,null)))},s=[{name:"light",icon:o.G,label:"Light"},{name:"dark",icon:c.g,label:"Dark"}],u=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,a.U)();return n.createElement("div",{className:(0,l.c)("flex","items-center","gap-4","justify-start",e)},s.map((({name:e,label:a,icon:o})=>n.createElement("button",{type:"button",key:e,className:(0,l.c)("appearance-none","focus:outline-none","py-1","pl-1.5","pr-3","flex","items-center","justify-center","gap-1","rounded-[40px]","text-gray-400","border border-solid","border-gray-200","dark:border-gray-600",t===e&&"bg-gray-100 dark:bg-gray-700"),onClick:()=>{r(e)}},n.createElement(o,{className:(0,l.c)("w-4 h-4")}),n.createElement("span",{className:(0,l.c)("text-sm")},a)))))}},3146:(e,t,r)=>{r.d(t,{o:()=>u});var n=r(4971),l=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const o=e=>l.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const u=l.forwardRef((function(e,t){var{iconOnly:r=!1,iconClassName:a,className:u,placeholder:f,isPermanentDark:m}=e,p=s(e,["iconOnly","iconClassName","className","placeholder","isPermanentDark"]);return l.createElement("button",i(function(e){for(var t=1;t{r.d(t,{o0:()=>d,yw:()=>m,wd:()=>p,AR:()=>b});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var u=r(6098),f=r(4252);const m=[{label:"Resources",items:[{label:"Getting Started",href:"https://prepverse.vercel.app/docs"},{label:"Blog",href:"https://prepverse.vercel.app/blog"},{label:"Project Showcase",icon:n.createElement(u.KU,null),href:"https://prepverse.vercel.app/showcase"},{label:"Community",icon:n.createElement(u.KU,null),href:"https://prepverse.vercel.app/prepverse-community"}]},{label:"Product",items:[{label:"CodePoint",icon:n.createElement(f.i,null),href:"https://prepverse.github.io/CodePoint"},{label:"LeetVerse",icon:n.createElement(f.i,null),href:"https://prepverse.github.io/LeetVerse"}]},{label:"About",items:[{label:"About Me",href:"https://prepverse.vercel.app/AkashSingh3031"},{label:"Portfolio",icon:n.createElement(f.i,null),href:"https://prepverse.github.io/portfolio"}]}],p=[{label:"License",href:"https://github.com/PrepVerse/prepverse.github.io/blob/master/LICENSE"}],d="Thank you for visiting, Connect with me over socials.",b=[{icon:e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{r.d(t,{w:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{g:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{i:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{A:()=>o,i:()=>c});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e){for(var t=1;tn.createElement("svg",a({width:12,height:12,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.053 0A10.904 10.904 0 0 0 3.89 2.685 11.34 11.34 0 0 0 .142 9.472a11.48 11.48 0 0 0 1.456 7.65 11.087 11.087 0 0 0 5.964 4.86c.556.103.752-.25.752-.547v-1.918C5.23 20.202 4.58 18 4.58 18a3.012 3.012 0 0 0-1.227-1.655c-.997-.692.081-.692.081-.692.35.05.683.18.975.382.293.202.536.469.713.78.15.278.352.523.595.721a2.312 2.312 0 0 0 2.618.221c.042-.57.283-1.105.678-1.509-2.454-.284-5.03-1.253-5.03-5.539a4.415 4.415 0 0 1 1.132-3.025A4.194 4.194 0 0 1 5.224 4.7s.928-.305 3.036 1.156c1.81-.508 3.72-.508 5.531 0 2.108-1.46 3.03-1.156 3.03-1.156.406.936.455 1.993.135 2.963a4.415 4.415 0 0 1 1.132 3.026c0 4.334-2.582 5.282-5.043 5.538.264.271.468.597.598.955.13.358.182.741.155 1.122V21.4c0 .367.196.65.759.54a11.093 11.093 0 0 0 5.88-4.878 11.481 11.481 0 0 0 1.419-7.6 11.34 11.34 0 0 0-3.71-6.746A10.907 10.907 0 0 0 11.053 0Z",fill:"currentColor"})),c=e=>n.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.066.001a11.91 11.91 0 0 1 7.745 2.966 12.326 12.326 0 0 1 4.032 7.33 12.46 12.46 0 0 1-1.54 8.245 12.088 12.088 0 0 1-6.406 5.314l-.105.037-.11.021c-.508.1-1.232.093-1.83-.422-.577-.498-.681-1.166-.681-1.565v-3.008l.004-.053a1.102 1.102 0 0 0-.062-.453 1.058 1.058 0 0 0-.235-.377l-.839-.86-.863.882a.802.802 0 0 0-.224.502l-.015.217v3.183c0 .434-.14 1.029-.628 1.492-.541.514-1.246.62-1.864.505l-.108-.02-.104-.035a12.082 12.082 0 0 1-6.498-5.296 12.457 12.457 0 0 1-1.58-8.298c.45-2.86 1.891-5.471 4.073-7.375A11.909 11.909 0 0 1 12.05.001h.016Zm-10.43 10.54a10.957 10.957 0 0 0 1.39 7.303 10.58 10.58 0 0 0 5.693 4.638c.53.099.717-.238.717-.522v-1.83c-.588.13-1.083.15-1.5.1a2.95 2.95 0 0 1-.542-.117 2.551 2.551 0 0 1-.422-.176 2.362 2.362 0 0 1-.82-.72c-.208-.294-.28-.535-.28-.535a2.876 2.876 0 0 0-1.17-1.58l-.016-.01c-.925-.65.093-.65.093-.65.106.015.21.038.313.068l.017.005a2.172 2.172 0 0 1 .962.603c.122.13.23.276.319.433a2.29 2.29 0 0 0 .68.775h.002s0 .001 0 0a2.211 2.211 0 0 0 2.385.124v-.014a2.302 2.302 0 0 1 .647-1.427 8.754 8.754 0 0 1-1.625-.328 4.865 4.865 0 0 1-1.416-.695 3.883 3.883 0 0 1-.432-.365c-.8-.786-1.328-2.002-1.328-3.899a4.214 4.214 0 0 1 1.08-2.887 4.003 4.003 0 0 1 .104-2.848s.886-.291 2.898 1.103a9.762 9.762 0 0 1 5.28 0c2.011-1.393 2.891-1.103 2.891-1.103.388.893.434 1.902.13 2.828a4.214 4.214 0 0 1 1.08 2.888c0 3.166-1.444 4.44-3.174 4.972a8.617 8.617 0 0 1-1.64.314 2.558 2.558 0 0 1 .699 1.425c.026.184.033.371.02.558v2.955c0 .35.187.62.724.515a10.588 10.588 0 0 0 5.613-4.656 10.958 10.958 0 0 0 1.354-7.254 10.824 10.824 0 0 0-3.541-6.439 10.41 10.41 0 0 0-6.77-2.592 10.408 10.408 0 0 0-6.837 2.563 10.824 10.824 0 0 0-3.578 6.478ZM16.374 7.8a8.003 8.003 0 0 0-.856.524l-.58.401-.679-.19a8.262 8.262 0 0 0-4.469 0l-.68.19-.58-.402a7.982 7.982 0 0 0-.846-.519c.019.186.059.37.12.549l.282.832-.588.653a2.714 2.714 0 0 0-.696 1.86v.024c0 1.724.503 2.513.998 2.937.563.481 1.397.736 2.476.86l1.567.182 1.954-.204c1.082-.112 1.912-.358 2.47-.833.492-.418.999-1.209.999-2.96v-.026a2.714 2.714 0 0 0-.696-1.86l-.582-.647.273-.826c.058-.178.096-.36.113-.545Z",clipRule:"evenodd"}))},1980:(e,t,r)=>{r.d(t,{m:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{Q:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{G:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{s1:()=>c,wR:()=>s,QD:()=>f,vn:()=>p,kv:()=>b,uI:()=>h,A9:()=>v,_2:()=>O,Ew:()=>C,Yf:()=>j,oh:()=>k,Ed:()=>S,BE:()=>M,KU:()=>Z,WR:()=>T,w9:()=>$,CC:()=>U,AH:()=>Q,oz:()=>K,C3:()=>q});var n=r(1504);var l=r(4971);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const c=e=>n.createElement("svg",o(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const{colorMode:t}=(0,D.U)();return n.createElement("div",{className:(0,l.c)("relative","flex","items-center","justify-center","rounded-full","overflow-hidden","p-px","dark:bg-[#194b3a] bg-[#b7dbff]"),style:{transform:"translateZ(0)"}},n.createElement("div",{className:(0,l.c)("z-[1]","absolute","inset-0","dark:bg-new-badge-border-dark bg-new-badge-border-light","animate-new-badge-border")}),n.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}var H,F;const T=e=>{var{variant:t="landing"}=e,r=A(e,["variant"]);return n.createElement("svg",R(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",_(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{r.d(t,{o:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{c:()=>i});var n=r(4971),l=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const i=e=>{var{className:t,wrapperProps:r}=e,a=c(e,["className","wrapperProps"]);return l.createElement("div",o({role:"status"},r),l.createElement("svg",o({"aria-hidden":"true",width:24,height:24,viewBox:"0 0 100 100",className:(0,n.c)("text-gray-200 animate-spin dark:text-gray-600 fill-refine-blue",t),fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),l.createElement("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),l.createElement("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})),l.createElement("span",{className:"sr-only"},"Loading..."))}},252:(e,t,r)=>{r.d(t,{Q:()=>i});var n=r(4971),l=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;tl.createElement("div",{className:(0,n.c)("w-full h-12","relative","bg-top-announcement","not-prose","font-inter","z-top-announcement")},l.createElement("div",{className:(0,n.c)("hidden lg:flex","w-full h-full","max-w-screen","overflow-hidden","border-b border-solid border-[#47ebeb26]","top-announcement-mask")},l.createElement("div",{className:(0,n.c)("w-[1280px] h-full","mx-auto","flex","justify-between")},l.createElement("div",{className:(0,n.c)("w-[calc(50%-300px)] h-full","relative")},l.createElement(u,{style:{animationDelay:"1.5s"},className:(0,n.c)("absolute","top-[2px]","right-[220px]"),id:"1"}),l.createElement(u,{style:{animationDelay:"1s"},className:(0,n.c)("absolute","rotate-180","top-[8px] right-[100px]"),id:"2"}),l.createElement(f,{className:(0,n.c)("absolute","right-[10px]"),id:"3"})),l.createElement("div",{className:(0,n.c)("w-[calc(50%-300px)] h-full","relative")},l.createElement(u,{style:{animationDelay:"2s"},className:(0,n.c)("absolute","rotate-180","top-[6px] right-[180px]"),id:"4"}),l.createElement(u,{style:{animationDelay:"0.5s"},className:(0,n.c)("delay-[1300]","absolute","top-[2px]","right-[40px]"),id:"5"}),l.createElement(f,{className:(0,n.c)("absolute","right-[-70px]"),id:"6"})))),l.createElement(s,null)),s=()=>l.createElement("a",{href:"https://prepverse.vercel.app/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,n.c)("relative lg:absolute","px-2 lg:px-0","top-0","left-[50%]","translate-x-[-50%]","bg-top-announcement-text","h-full w-full lg:w-[450px]","flex items-center justify-center","text-white","text-xs sm:text-sm","text-center","no-underline","hover:no-underline","hover:text-white","not-prose")},l.createElement("div",{className:(0,n.c)("ml-2","not-prose")},"For more updates follow","",l.createElement("span",{className:(0,n.c)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")},"@AkashSingh3031"),".")),u=e=>l.createElement("svg",c(o({xmlns:"http://www.w3.org/2000/svg",width:80,height:40,fill:"none"},e),{className:(0,n.c)("animate-top-announcement-glow","opacity-1",e.className)}),l.createElement("circle",{cx:40,r:40,fill:`url(#${e.id}-a)`,fillOpacity:.5}),l.createElement("defs",null,l.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 40 -40 0 40 0)",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{stopColor:"#47EBEB"}),l.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0})))),f=e=>l.createElement("svg",c(o({xmlns:"http://www.w3.org/2000/svg",width:120,height:48,fill:"none"},e),{className:(0,n.c)("animate-top-announcement-glow","opacity-1",e.className)}),l.createElement("circle",{cx:60,cy:24,r:60,fill:`url(#${e.id}-a)`,fillOpacity:.5}),l.createElement("defs",null,l.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 60 -60 0 60 24)",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{stopColor:"#47EBEB"}),l.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0}))))},4226:(e,t,r)=>{r.r(t),r.d(t,{default:()=>fe});var n=r(1504),l=r(4971),a=r(6684),o=r(5628),c=r(4559),i=r(844),s=r(1688),u=r(3024),f=r(2192),m=r(3951),p=r(2444),d=r(2700),b=r(5792),g=r(6936);const h=({className:e})=>{const{githubStarCountText:t,loading:r}=(0,d.wx)();return n.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank",rel:"noreferrer",className:(0,l.c)("text-sm","text-gray-500 dark:text-gray-400","rounded-[32px]","border border-solid border-gray-300 dark:border-gray-700","flex gap-2 items-center","py-2 pl-2.5 pr-4","no-underline",e)},n.createElement(b.A,{className:(0,l.c)("w-5 h-5")}),n.createElement("div",{className:(0,l.c)("flex items-center","min-w-[76px] h-6")},"Star:\xa0",r?n.createElement(g.c,{className:(0,l.c)("w-5 h-5"),wrapperProps:{className:(0,l.c)("mx-auto")}}):n.createElement("span",{className:(0,l.c)("tabular-nums text-gray-800 dark:text-gray-100")},t)))};var y=r(1180),v=r(9253),w=r(3146),O=r(2424),x=r(2276),C=r(9184);const E=({className:e})=>n.createElement(C.c,{href:"/",className:(0,l.c)("text-base","text-gray-500 dark:text-gray-400","no-underline","transition-colors","duration-200","ease-in-out","whitespace-nowrap",e)},"PrepVerse Home");var j=r(640),P=r(8472),k=r(4577);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}const S=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("div",{className:(0,l.c)("relative","flex","items-center","justify-center","rounded-full","overflow-hidden","p-px","dark:bg-refine-enterprise-purple bg-refine-enterprise-purple/30",e),style:{transform:"translateZ(0)"}},n.createElement("div",{className:(0,l.c)("z-[1]","absolute","inset-0","dark:bg-purple-new-badge-border-dark bg-purple-new-badge-border-light","animate-new-badge-border")}),n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:31,height:14,viewBox:"0 0 31 14",fill:"none",className:(0,l.c)("z-[2]","bg-gray-0 dark:bg-refine-enterprise-purple-4","text-refine-enterprise-purple dark:text-refine-enterprise-purple-3","rounded-full")},n.createElement("rect",{width:31,height:14,x:0,y:0,fill:"currentColor",fillOpacity:.15,rx:6.5}),n.createElement("path",{fill:"currentColor",stroke:"0",d:"M11.433 4.182V10h-.937L7.754 6.037h-.048V10H6.652V4.182h.943l2.739 3.966h.05V4.182h1.05ZM12.582 10V4.182h3.784v.883h-2.73v1.58h2.534v.883h-2.534v1.588h2.753V10h-3.807Zm6.084 0-1.643-5.818h1.134l1.048 4.275h.054l1.12-4.275h1.03l1.123 4.278h.051l1.048-4.278h1.134L23.123 10h-1.04l-1.165-4.082h-.045L19.705 10h-1.04Z"})));function M(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function D(e){for(var t=1;t/gi,B=({item:e,path:t,line:r,variant:a,onLinkClick:o,deferred:c})=>{var s,u,f;const m=(0,j.IT)(),p=null===(u=e.className)||void 0===u||null===(s=u.includes)||void 0===s?void 0:s.call(u,"category-as-header"),d=(0,i.Md)(e,t),b=(0,P.Sc)(e.href,t),{collapsible:g}=e,h=!p&&!d&&e.collapsed,[y,v]=n.useState(!1!==g&&h),[w,O]=n.useState(!1);n.useEffect((()=>{const e=setTimeout((()=>{O(!0)}),210);return()=>{clearTimeout(e)}}),[y]);n.useEffect((()=>{const e=document.querySelector(`#prepverse-docs-sidebar a[href="${m.pathname}"]`);if(!e)return;const t=document.querySelector("#prepverse-docs-sidebar");t&&t.scrollTo({top:e.getBoundingClientRect().top-200,behavior:"smooth"})}),[]);const x=p||!e.href||b?"button":C.c;var E;return n.createElement("div",{className:(0,l.c)(!r&&"pl-0",r&&"pl-2",r&&"ml-[12px]","relative")},n.createElement(x,V(D({type:"button",onClick:p?()=>0:()=>{!1!==g&&(v(!y),O(!1))}},"button"===x?{}:{isNavLink:!0}),{href:e.href,className:(0,l.c)(p&&"cursor-default","w-full","min-h-[28px]","border-0","appearance-none","focus:outline-none",!p&&"text-gray-500 dark:text-gray-300",p&&"text-green-500 dark:text-red-400",p&&"font-semibold",!p&&"hover:text-gray-600 dark:hover:text-gray-300","flex items-center",p?"pt-0 pb-2":"py-2","pr-2",p&&"pl-2",!p&&"pl-0.5",p?"text-base":"text-sm","relative",!p&&"group","transition-colors duration-200 ease-in-out",!p&&"no-underline")}),!p&&n.createElement(k.w,{className:(0,l.c)("opacity-70","text-gray-500 dark:text-gray-400","h-5 w-5","flex-shrink-0","z-[1]","transition-transform duration-200 ease-in-out","group-hover:text-gray-600 dark:group-hover:text-gray-300",{"-rotate-90 transform":y})}),n.createElement("span",{className:"z-[1]"},e.label),n.createElement("div",{className:(0,l.c)("absolute","rounded-[18px]","transition-opacity","duration-200 ease-in-out","top-0",{"group-hover:bg-gray-100 dark:group-hover:bg-gray-700":!d&&!b,"bg-refine-blue-2-light dark:bg-gray-700/80 dark:bg-opacity-10":d&&b,"right-0":"desktop"===a,"-left-2":"mobile"===a},"h-full"),style:{width:"desktop"===a?"calc(260px - 32px)":"calc(100% + 16px)"}})),r&&n.createElement("div",{className:"z-[1] absolute left-0 top-1/2 -translate-y-1/2 border-l border-l-gray-300 dark:border-l-gray-600 h-full w-px"}),n.createElement("div",{className:(0,l.c)(y&&"max-h-0 opacity-0",y&&"overflow-hidden",!y&&"opacity-100",!y&&!w&&"max-h-screen",!y&&w&&"max-h-max")},(!c||!y)&&T({items:null!==(E=null===(f=e)||void 0===f?void 0:f.items)&&void 0!==E?E:[],path:t,line:!p,fromHeader:p,variant:a,onLinkClick:o,deferred:c})))},R=({item:e,onClick:t})=>n.createElement(C.c,{href:e.href,isNavLink:!0,onClick:t,className:(0,l.c)("flex-shrink-0","relative","min-h-[28px]","rounded-[18px]","bg-refine-enterprise-purple-2 bg-opacity-10","dark-bg-refine-enterprise-purple-2 dark:bg-opacity-30","text-refine-enterprise-purple","dark:text-refine-enterprise-purple-3","pl-6 pr-3 py-2","text-sm font-normal","flex items-start justify-start","group","transition-colors duration-200 ease-in-out","no-underline",e.className)},n.createElement("div",{className:"flex items-center flex-1"},n.createElement("span",{className:"z-[1] flex-shrink-0"},e.label),n.createElement(L,{className:"flex-shrink-0 ml-auto"}))),A=e=>n.createElement("svg",D({xmlns:"http://www.w3.org/2000/svg",width:12,height:12,viewBox:"0 0 12 12",fill:"none"},e),n.createElement("g",{fill:"currentColor"},n.createElement("path",{d:"M1 2.65C1 1.739 1.739 1 2.65 1H5.5a.5.5 0 0 0 0-1H2.65A2.65 2.65 0 0 0 0 2.65v6.7A2.65 2.65 0 0 0 2.65 12h6.7A2.65 2.65 0 0 0 12 9.35V6.5a.5.5 0 0 0-1 0v2.85A1.65 1.65 0 0 1 9.35 11h-6.7A1.65 1.65 0 0 1 1 9.35v-6.7Z"}),n.createElement("path",{d:"M8.5 0a.5.5 0 0 0 0 1h1.793L5.646 5.646a.5.5 0 1 0 .708.708L11 1.707V3.5a.5.5 0 0 0 1 0v-2A1.5 1.5 0 0 0 10.5 0h-2Z"}))),H=({item:e,path:t,dashed:r,line:a,variant:o,onClick:c})=>{var s,u,f;const m=n.useRef(!1),p=n.useRef(null),d=(0,i.Md)(e,t),b=(0,P.Sc)(e.href,t),g=(null===(u=e.className)||void 0===u||null===(s=u.includes)||void 0===s?void 0:s.call(u,"enterprise-badge"))||!1;if(n.useEffect((()=>{if(d&&!m.current){const r=document.querySelector("#prepverse-docs-sidebar");var e,t;if(r&&p.current)r.scrollTop=(null===(e=p.current)||void 0===e?void 0:e.offsetTop)-r.clientHeight/2+(null===(t=p.current)||void 0===t?void 0:t.clientHeight)/2}m.current=!0}),[d]),g)return n.createElement(R,{item:e,onClick:c});const h=Z.test(e.label);return n.createElement(C.c,{ref:p,href:e.href,isNavLink:!0,onClick:c,className:(0,l.c)("relative","min-h-[28px]",!d&&"text-gray-600 dark:text-gray-300",!d&&"hover:text-gray-600 dark:hover:text-gray-300",d&&"text-refine-react-light-link dark:text-refine-react-dark-link","px-4 py-2","text-sm font-normal","flex items-start justify-start",r&&!a&&"pl-0.5",a&&r&&"pl-2",a&&"ml-[12px]","group","transition-colors duration-200 ease-in-out","no-underline",e.className)},r&&n.createElement(S,{className:(0,l.c)("z-[1] h-5 w-5 flex-shrink-0","text-gray-300 dark:text-gray-600",d&&"text-refine-react-light-link dark:text-refine-react-dark-link text-opacity-50 dark:text-opacity-50")}),n.createElement("div",{className:(0,l.c)("flex items-center",h&&"break-all")},n.createElement("span",{className:"z-[1]"},e.label)),(null===(f=e.customProps)||void 0===f?void 0:f.external)&&n.createElement(A,{className:(0,l.c)("z-[1]","text-inherit","w-5 h-5","p-1","ml-1")}),n.createElement("div",{className:(0,l.c)("absolute","rounded-[18px]","transition-opacity","duration-200 ease-in-out",{"group-hover:bg-gray-100 dark:group-hover:bg-gray-700":!d&&!b,"bg-refine-blue-2-light dark:bg-gray-700/80 dark:bg-opacity-10":d&&b,"right-0":"desktop"===o,"-left-2":"mobile"===o},"top-0","h-full"),style:{width:"desktop"===o?"calc(260px - 32px)":"calc(100% + 16px)"}}),a&&n.createElement("div",{className:"absolute left-0 top-1/2 -translate-y-1/2 border-l border-l-gray-300 dark:border-l-gray-600 h-full w-px"}))},F=({item:e,line:t})=>n.createElement("div",{className:(0,l.c)("relative","text-xs","flex items-start justify-start","px-0.5 py-1",t&&"pl-2",t&&"ml-[12px]","group","transition-colors duration-200 ease-in-out","no-underline","text-gray-500 dark:text-gray-400","after:content-['']","after:w-[calc(100%)]","after:h-px","after:bg-gray-300","dark:after:bg-gray-600","after:absolute","after:left-0","after:top-1/2","after:-translate-y-1/2")},t&&n.createElement("div",{className:"absolute left-0 top-1/2 -translate-y-1/2 border-l border-l-gray-300 dark:border-l-gray-600 h-full w-px"}),n.createElement("span",{className:(0,l.c)("z-[1]","-ml-1","px-1","bg-gray-0","dark:bg-gray-900"),dangerouslySetInnerHTML:{__html:e.value}})),T=({items:e=[],path:t,root:r,line:l,variant:a,onLinkClick:o,deferred:c})=>{var i,s,u,f;const m=null===(s=e)||void 0===s||null===(i=s.some)||void 0===i?void 0:i.call(s,(e=>"category"===e.type)),p=!r&&m;var d;return null!==(d=null===(f=e)||void 0===f||null===(u=f.map)||void 0===u?void 0:u.call(f,((e,r)=>{switch(e.type){case"category":return n.createElement(B,{key:`${e.label}:${e.href}:${e.type}`,item:e,path:t,line:!!l,variant:a,onLinkClick:o,deferred:c});case"html":return n.createElement(F,{key:`${e.type}:${e.value}`,item:e,path:t,line:!!l,variant:a});case"link":return n.createElement(H,{key:`${e.label}:${e.href}:${e.type}`,item:e,path:t,dashed:p,line:!!l,variant:a,onClick:o});default:return null}})))&&void 0!==d?d:[]},I=()=>{var e;const t=(0,u.m)(),{pathname:r}=(0,j.IT)();return n.createElement("div",{id:"prepverse-docs-sidebar",className:(0,l.c)("hidden lg:block","sticky","left-0","overflow-auto","w-full"),style:{maxWidth:"260px",top:`${te}px`,height:`calc(100vh - ${te}px)`}},n.createElement("div",{className:(0,l.c)("px-4","py-4","border-r border-r-gray-300 dark:border-r-gray-700","flex flex-col gap-6")},T({items:null===(e=t)||void 0===e?void 0:e.items,path:r,root:!0,variant:"desktop"})))};const $=({className:e})=>n.createElement("div",{className:(0,l.c)("flex","items-center justify-start","gap-2","no-underline",e)},n.createElement(C.c,{to:"https://prepverse.vercel.app",className:(0,l.c)("no-underline","flex items-center gap-2")},n.createElement("span",{className:(0,l.c)("text-gray-1000 dark:text-gray-0","text-base","font-semibold")},"PrepVerse")),n.createElement("span",{className:(0,l.c)("block","h-6","w-px","mx-1","bg-gray-300 dark:bg-gray-600")}),n.createElement(C.c,{to:"https://prepverse.vercel.app/docs",className:(0,l.c)("no-underline")},n.createElement("span",{className:(0,l.c)("text-gray-1000 dark:text-gray-0","text-base font-normal")},"Docs")));var z=r(4604),U=r(4245),G=r(8484);const _=()=>{const{search:e,hash:t}=(0,j.IT)(),r=(0,U.wB)(),n=(0,U.gN)();return{links:n.map((n=>{var l;const a=null!==(l=r.alternateDocVersions[n.name])&&void 0!==l?l:(e=>e.docs.find((t=>t.id===e.mainDocId)))(n);return{to:`${a.path}${e}${t}`,label:n.label}}))}};function Q(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const W=e=>n.createElement("svg",function(e){for(var t=1;t{const r=(0,U.wB)(),{links:a}=_();return n.createElement("div",{className:t},n.createElement(G.i,null,(({open:t})=>n.createElement(n.Fragment,null,n.createElement(G.i.Button,{className:(0,l.c)("appearance-none","focus:outline-none","border border-solid border-gray-300 dark:border-gray-600 lg:dark:border-gray-700","rounded-[32px]","py-1.5","pl-3","pr-2","bg-gray-0 dark:bg-gray-800","lg:bg-transparent lg:dark:bg-transparent","lg:pl-4 lg:pr-3","lg:py-[9px]","flex","items-center","justify-center","gap-1","lg:gap-2","select-none",e)},n.createElement("span",{className:(0,l.c)("text-gray-500 dark:text-gray-100","text-sm leading-5","block")},r.activeVersion.label),n.createElement(z.o,{className:"text-gray-400 w-4 h-4"})),n.createElement(O.O,{show:t,className:"relative z-10",enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95"},n.createElement(W,{className:(0,l.c)("absolute right-[11px] top-1 origin-bottom-right","text-gray-700 dark:text-white")}),n.createElement(G.i.Items,{static:!0,className:(0,l.c)("absolute right-0 top-2 origin-bottom-right","flex flex-col gap-2","w-[120px]","p-2","bg-gray-700 dark:bg-white","rounded-lg")},a.map((e=>n.createElement(G.i.Item,{key:e.label},(()=>{const t=e.label===r.activeVersion.label;return n.createElement(C.c,{to:e.to,className:(0,l.c)("px-2 py-1","rounded-[4px]","no-underline",{"text-white hover:text-white":t,"bg-refine-blue":t,"text-gray-300 dark:text-gray-700":!t,"hover:bg-gray-600 hover:dark:bg-gray-100 hover:text-gray-300 dark:hover:text-gray-700":!t})},e.label)}))))))))))},Y=({isOpen:e,onClose:t})=>{const{items:r}=(({variant:e,onLinkClick:t,deferred:r})=>{var n;const l=(0,u.m)(),{pathname:a}=(0,j.IT)();return{items:T({items:null===(n=l)||void 0===n?void 0:n.items,path:a,root:!0,variant:e,onLinkClick:t,deferred:r})}})({variant:"mobile",onLinkClick:t,deferred:!0});return n.createElement(O.O,{appear:!0,show:e,as:n.Fragment},n.createElement(x.C,{as:"div",className:"relative z-mobileNavbar",onClose:t},n.createElement(O.O.Child,{as:n.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},n.createElement("div",{className:"fixed inset-0 bg-gray-0 dark:bg-gray-800"})),n.createElement("div",{className:"fixed inset-0 overflow-y-auto"},n.createElement("div",{className:"flex min-h-full items-start justify-center"},n.createElement(O.O.Child,{as:n.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},n.createElement(x.C.Panel,{className:(0,l.c)("w-full h-[100dvh]","flex flex-col","px-2")},n.createElement("div",{className:(0,l.c)("py-4","px-2","w-full h-16","flex items-center justify-between")},n.createElement($,null),n.createElement("div",{className:(0,l.c)("flex items-center gap-4")},n.createElement(y.O,{onClick:t,active:!0}))),n.createElement("div",{className:(0,l.c)("relative","w-full max-w-[480px]","flex","flex-col","flex-1","mx-auto","rounded-lg","border border-gray-300 dark:border-gray-600")},n.createElement("div",{className:(0,l.c)("h-12","rounded-tl-lg rounded-tr-lg","bg-gray-100 dark:bg-gray-700","border-b border-gray-300 dark:border-gray-600","flex items-center gap-2","px-4 py-2","justify-end")},n.createElement(K,null)),n.createElement("div",{className:(0,l.c)("flex-1","overflow-hidden","relative")},n.createElement("div",{className:(0,l.c)("inset-0","overflow-scroll","h-full","px-8","absolute","flex flex-col gap-6","py-6")},r))),n.createElement("div",{className:(0,l.c)("flex","flex-col","gap-0")},n.createElement("div",{className:(0,l.c)("flex items-center justify-start","gap-10","px-2","py-4")},n.createElement("span",{className:(0,l.c)("text-sm","text-gray-800","dark:text-gray-100")},"Appearance"),n.createElement(v.O,null)),n.createElement("div",{className:(0,l.c)("border-t","border-t-gray-300 dark:border-t-gray-700","px-4","py-2","flex","items-center","justify-between")},n.createElement(E,null),n.createElement(h,null)))))))))};var q=r(252);function J(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function X(e){for(var t=1;tn.createElement("div",{className:(0,l.c)("w-full","hidden lg:flex items-center","mx-auto")},n.createElement($,{className:(0,l.c)("lg:min-w-[256px]")}),n.createElement("div",{className:(0,l.c)("flex-1","flex","justify-end","items-center","gap-4")},n.createElement("div",{className:(0,l.c)("hidden lg:flex items-center justify-start")},n.createElement(p.c,null)),n.createElement("div",{className:(0,l.c)("lg:hidden flex")},n.createElement(p.c,{CustomButton:n.forwardRef((function(e,t){return n.createElement(w.o,ee(X({ref:t},e),{iconOnly:!0}))}))})),n.createElement(K,null),n.createElement(h,null),n.createElement(v.C,{className:(0,l.c)("scale-75","sm:scale-100")}))),ne=()=>{const[e,t]=(0,n.useState)(!1);return n.createElement("div",{className:(0,l.c)("w-full","flex lg:hidden items-center justify-between")},n.createElement($,null),n.createElement("div",{className:(0,l.c)("flex items-center gap-4")},n.createElement(p.c,{CustomButton:n.forwardRef((function(e,t){return n.createElement(w.o,ee(X({ref:t},e),{iconOnly:!0}))}))}),n.createElement(y.O,{onClick:()=>t(!0),active:e})),n.createElement(Y,{isOpen:e,onClose:()=>t(!1)}))},le=()=>n.createElement(n.Fragment,null,n.createElement(q.Q,null),n.createElement("div",{className:(0,l.c)("flex items-center","h-16","z-10","sticky","top-0","py-4 sm:py-3 px-4 sm:px-6","bg-gray-0 dark:bg-gray-800","border-b border-gray-300 dark:border-gray-700")},n.createElement(re,null),n.createElement(ne,null))),ae=({children:e})=>n.createElement(n.Fragment,null,n.createElement(le,null),n.createElement("div",{className:(0,l.c)("flex items-start justify-start","w-full flex-1","mx-auto")},n.createElement(I,null),e),n.createElement(m.A,null));function oe({children:e}){return n.createElement(f.c,null,n.createElement(ae,null,e))}var ce=r(2512),ie=r(6108),se=r(380);function ue(e){const{versionMetadata:t}=e;return n.createElement(n.Fragment,null,n.createElement(ie.c,{version:t.version,tag:(0,c.SE)(t.pluginId,t.version)}),n.createElement(a.U7,null,t.noIndex&&n.createElement("meta",{name:"robots",content:"noindex, nofollow"})))}function fe(e){const{versionMetadata:t}=e,r=(0,i.sr)(e),{tutorial:{path_prefix:c}}=(0,se.e)();if(!r)return n.createElement(ce.default,null);const f=Object.keys(t.docsSidebars)[0],m=t.docsSidebars[f],{docElement:p,sidebarName:d,sidebarItems:b}=(e.location.pathname.startsWith(c),r);return n.createElement(n.Fragment,null,n.createElement(ue,e),n.createElement(a.cr,{className:(0,l.c)(o.W.wrapper.docsPages,o.W.page.docsDocPage,e.versionMetadata.className)},n.createElement(s.Q,{version:t},n.createElement(u.y,{name:null!=d?d:f,items:null!=b?b:m},n.createElement(oe,null,p)))))}},2444:(e,t,r)=>{r.d(t,{c:()=>j});var n=r(7652),l=r(6424),a=r(9184),o=r(640),c=r(9500),i=r(3928),s=r(1088),u=r(9488),f=r(3652),m=r(9936),p=r(3146),d=r(3796),b=r(1504),g=r(7104);function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function y(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}let O=null;function x({hit:e,children:t}){return b.createElement(a.c,{to:e.url},t)}function C({state:e,onClose:t}){const r=(0,c.Y)();return b.createElement(a.c,{to:r(e.query),onClick:t},b.createElement(f.c,{id:"theme.SearchBar.seeAll",values:{count:e.context.nbHits}},"See all {count} results"))}function E(e){var t,{contextualSearch:a,externalUrlRegex:c,CustomButton:f}=e,h=w(e,["contextualSearch","externalUrlRegex","CustomButton"]);const{siteMetadata:E}=(0,m.c)(),j=(0,s.Q)(),P=(0,u.Q)();var k;const N=null!==(k=null===(t=h.searchParameters)||void 0===t?void 0:t.facetFilters)&&void 0!==k?k:[],S=a?function(e,t){const r=e=>"string"==typeof e?[e]:e;return[...r(e),...r(t)]}(P,N):N,L=v(y({},h.searchParameters),{facetFilters:S}),M=(0,o.Uz)(),D=(0,b.useRef)(null),V=(0,b.useRef)(null),[Z,B]=(0,b.useState)(!1),[R,A]=(0,b.useState)(void 0),H=(0,b.useCallback)((async()=>O?Promise.resolve():Promise.all([r.e(6652).then(r.bind(r,6652)),Promise.all([r.e(2176),r.e(1676)]).then(r.bind(r,1676)),Promise.all([r.e(2176),r.e(5640)]).then(r.bind(r,3260))]).then((([{DocSearchModal:e}])=>{O=e}))),[]),F=(0,b.useCallback)((()=>{H().then((()=>{D.current=document.createElement("div"),document.body.insertBefore(D.current,document.body.firstChild),B(!0)}))}),[H,B]),T=(0,b.useCallback)((()=>{var e,t;B(!1),null===(t=D.current)||void 0===t||null===(e=t.remove)||void 0===e||e.call(t)}),[B]),I=(0,b.useCallback)((e=>{H().then((()=>{B(!0),A(e.key)}))}),[H,B,A]),$=(0,b.useRef)({navigate({itemUrl:e}){(0,i._)(c,e)?window.location.href=e:M.push(e)}}).current,z=(0,b.useRef)((e=>h.transformItems?h.transformItems(e):e.map((e=>v(y({},e),{url:j(e.url)}))))).current,U=(0,b.useMemo)((()=>function(e){return b.createElement(C,v(y({},e),{onClose:T}))}),[T]),G=(0,b.useCallback)((e=>(e.addAlgoliaAgent("docusaurus",E.docusaurusVersion),e)),[E.docusaurusVersion]);(0,n._)({isOpen:Z,onOpen:F,onClose:T,onInput:I,searchButtonRef:V});const _=null!=f?f:p.o,{apiKey:Q,appId:W,searchPagePath:K,indexName:Y,searchParameters:q}=h,J=w(h,["apiKey","appId","searchPagePath","indexName","searchParameters"]);return b.createElement(b.Fragment,null,b.createElement(l.c,null,b.createElement("link",{rel:"preconnect",href:`https://${h.appId}-dsn.algolia.net`,crossOrigin:"anonymous"})),b.createElement(_,y({onTouchStart:H,onFocus:H,onMouseOver:H,onClick:F,ref:V},J)),Z&&O&&D.current&&(0,g.createPortal)(b.createElement(O,v(y({onClose:T,initialScrollY:window.scrollY,initialQuery:R,navigator:$,transformItems:z,hitComponent:x,transformSearchClient:G},h.searchPagePath&&{resultsFooterComponent:U},h),{searchParameters:L,placeholder:d.c.placeholder,translations:d.c.modal})),D.current))}function j({CustomButton:e}){const{siteConfig:t}=(0,m.c)();return b.createElement(E,v(y({},t.themeConfig.algolia),{CustomButton:e}))}}}]); \ No newline at end of file diff --git a/assets/js/1df93b7f.3c052920.js b/assets/js/1df93b7f.3c052920.js deleted file mode 100644 index db74702a..00000000 --- a/assets/js/1df93b7f.3c052920.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[8552],{3540:(e,t,r)=>{r.d(t,{Wr:()=>c,ef:()=>m,qq:()=>p,A9:()=>d,cn:()=>h,gZ:()=>v,aA:()=>E,Wu:()=>k});var n=r(4971),l=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const c=e=>l.createElement("svg",o(function(e){for(var t=1;tl.createElement("svg",s(function(e){for(var t=1;tl.createElement("svg",function(e){for(var t=1;tl.createElement("svg",function(e){for(var t=1;tl.createElement("svg",b(function(e){for(var t=1;tl.createElement("svg",w(function(e){for(var t=1;tl.createElement("svg",O(function(e){for(var t=1;tl.createElement("svg",j(function(e){for(var t=1;t{r.r(t),r.d(t,{default:()=>R});var n=r(6424),l=r(4971),a=r(1504),o=r(8480),c=r(6968),i=r(3540),s=r(9980);const m=[{icon:a.createElement(i.aA,null),title:"Data Structure and Algorithms",description:"Master Data Structures and Algorithms with our comprehensive guides, tutorials, and practice problems.",view:a.createElement(s.q,null),source:"https://prepverse.github.io/docs/1.DS.Algo"},{icon:a.createElement(i.cn,null),title:"Web Development",description:"Master web development with our tutorials and resources. Learn HTML, CSS, JavaScript, and more to build stunning websites.",view:a.createElement(s.q,null),source:"https://prepverse.github.io/showcase"},{icon:a.createElement(i.Wu,null),title:"AI ML & Data Science",description:"Discover cutting-edge resources in AI, ML, and Data Science. Enhance your skills with tutorials, guides, and practice tests.",view:a.createElement(s.q,null),source:"https://prepverse.github.io/"},{icon:a.createElement(i.Wr,null),title:"Languages",description:"Discover a diverse array of programming languages tailored for every project and proficiency level.",view:a.createElement(s.q,null),source:"https://prepverse.github.io/docs"},{icon:a.createElement(i.ef,null),title:"CS Subjects",description:"Explore essential Computer Science subjects: OS, DBMS, CN, OOPs - learn key concepts and applications in just one click",view:a.createElement(s.q,null),source:"https://prepverse.github.io/"},{icon:a.createElement(i.gZ,null),title:"Databases",description:"Discover the backbone of data management with Databases\u2014efficiently store, retrieve, and manage structured information for applications.",view:a.createElement(s.q,null),source:"https://prepverse.github.io/"}],u=({className:e})=>a.createElement("div",{className:(0,l.c)(e,"max-w-[344px] sm:max-w-[620px] md:max-w-[944px] lg:max-w-[1020px] mx-auto")},a.createElement("div",{className:(0,l.c)("not-prose","w-full","px-4 landing-md:px-10")},a.createElement("h2",{className:(0,l.c)("text-2xl landing-sm:text-[32px] landing-sm:leading-[40px]","tracking-tight","text-center","p-0","dark:text-gray-0 text-gray-900")},a.createElement("span",{className:(0,l.c)("font-semibold","dark:text-refine-cyan-alt dark:drop-shadow-[0_0_30px_rgba(71,235,235,0.25)]","text-refine-blue drop-shadow-[0_0_30px_rgba(0,128,255,0.3)]")},"Explore")),a.createElement("p",{className:(0,l.c)("mt-4 landing-sm:mt-6","text-center","dark:text-gray-400 text-gray-600")},"Discover computer science with our resources: study guides, tutorials, and practice tests to enhance your skills.")),a.createElement("div",{className:(0,l.c)("mt-8 landing-sm:mt-12 landing-lg:mt-20","grid","grid-cols-1 landing-md:grid-cols-2 landing-lg:grid-cols-3","gap-4 landing-sm:gap-12 landing-md:gap-6","mb-4 landing-sm:mb-12 landing-md:mb-6")},m.map(((e,t)=>a.createElement("div",{className:(0,l.c)("p-2","dark:bg-landing-noise","dark:bg-gray-900 bg-gray-100","rounded-2xl landing-sm:rounded-3xl","flex","flex-col","justify-between")},a.createElement("div",{key:t,className:(0,l.c)("not-prose","p-4 landing-sm:p-10","flex","flex-col landing-sm:flex-row landing-md:flex-col","items-start","gap-6")},a.createElement("div",null,e.icon),a.createElement("div",{className:(0,l.c)("flex","flex-col","gap-4")},a.createElement("h3",{className:(0,l.c)("text-xl","font-semibold","text-gray-900 dark:text-gray-0")},e.title),a.createElement("h4",{className:(0,l.c)("text-base","dark:text-gray-400 text-gray-600")},e.description))),a.createElement("div",{className:(0,l.c)("pb-2","pt-2","mt-auto")},a.createElement("a",{target:"_blank",href:e.source,rel:"noreferrer"},e.view)))))),a.createElement(s.q,{to:"/blog"},"Explore More"));var p=r(3120),f=r(6192),d=r(9184);function g(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const b=e=>a.createElement("svg",function(e){for(var t=1;ta.createElement(d.c,{href:"/docs",className:(0,l.c)("relative","text-gray-0","hover:no-underline","hover:text-gray-0","z-[1]","group")},a.createElement("div",{className:(0,l.c)("absolute","-left-[1.5px]","-top-[1.5px]","overflow-hidden","rounded-full","w-[calc(100%+2.5px)] h-[calc(100%+2.5px)]","z-[-1]")},a.createElement("div",{className:(0,l.c)("absolute","w-[125%] aspect-square h-auto","left-[-12.5%]","top-[-100px]","bg-landing-ghost","animate-spin-slow","animation-slow-speed")})),a.createElement("div",{className:(0,l.c)("bg-refine-bg","rounded-full","px-10 py-3")},a.createElement("div",{className:(0,l.c)("gap-2","flex items-center justify-center","group-hover:scale-105","duration-100 ease-in-out transition-transform")},a.createElement(b,null),a.createElement("span",{className:"text-base font-semibold"},"Get started")))),y=()=>a.createElement("div",{className:(0,l.c)("pt-10","landing-sm:pt-4","landing-lg:pt-6","flex flex-col","justify-center","gap-10","landing-md:gap-16","landing-lg:gap-8","mt-4")},a.createElement("div",null,a.createElement("h1",{className:(0,l.c)("flex items-center justify-center","flex-col","gap-2","text-[24px] leading-[32px]","landing-md:gap-0","landing-md:text-[32px] landing-md:leading-[40px]","landing-lg:gap-2","landing-lg:text-[40px] landing-lg:leading-[48px]")},a.createElement("span",{className:(0,l.c)("text-center","block bg-landing-text-bg bg-clip-text text-transparent","font-semibold")},a.createElement("span",{className:(0,l.c)("font-semibold","dark:text-refine-green-alt dark:drop-shadow-[0_0_30px_rgba(71,235,235,0.3)]","text-refine-blue drop-shadow-[0_0_30px_rgba(0,128,255,0.3)]")},"Computer Science"," ",a.createElement("br",{className:"inline landing-md:hidden"})),a.createElement("span",{className:(0,l.c)("font-semibold","dark:text-transparent bg-clip-text bg-gradient-to-r text-gradient-to-r from-[#FF9933] to-[#FF4C4D]","text-refine-purple drop-shadow-[0_0_30px_rgba(128,0,255,0.3)]")},"Preparations")),a.createElement("span",{className:(0,l.c)("text-base sm:text-xl xl:text-2xl","max-w-[328px] sm:max-w-[480px] xl:max-w-max","text-center","block bg-landing-text-bg bg-clip-text text-transparent","font-light")}))),a.createElement("div",{className:(0,l.c)("flex items-center justify-center","flex-col landing-sm:flex-row","gap-6","landing-sm:gap-8","landing-lg:gap-10")},a.createElement(h,null),a.createElement(f.D,{href:"/AkashSingh3031"}))),w=()=>a.createElement("div",{className:"relative pointer-events-none"},a.createElement("div",{className:(0,l.c)("w-full","h-[200px]","landing-lg:h-[150px]","absolute","-bottom-[125px]","landing-lg:-bottom-[120px]","bg-landing-linear-spectrum","bg-center","bg-no-repeat","bg-[length:1920px]","blur-[75px]","landing-lg:blur-[125px]","opacity-50","landing-sm:opacity-25","landing-lg:opacity-25"),style:{transform:"translateZ(0)"}}),a.createElement("div",{className:(0,l.c)("mt-16","landing-md:mt-20","mb-6","landing-sm:mb-10","landing-md:mb-16","block landing-lg:hidden","mx-auto","max-w-[300px]","landing-sm:max-w-[208px]","landing-md:max-w-[592px]","max-h-[100px]","aspect-[592/100]","w-full h-full","z-[1]","relative","animation-parent")}),a.createElement("div",{className:(0,l.c)("hidden landing-lg:block","z-[1]","-mt-16","max-w-[948px]","max-h-[248px]","w-full h-full","mx-auto","bg-contain bg-no-repeat bg-center","relative","animation-parent")},a.createElement("video",{autoPlay:!0,muted:!0,loop:!0,playsInline:!0,controls:!1,className:"w-full h-full mt-auto opacity-[0.99]"})));var v=r(344),x=r(6076),O=r(5680),E=r(6972);function C(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const j=e=>a.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;t{const o=(0,v.s)(n,[e-1,e,e+1],[0,1,0]);return a.createElement(x.q.div,{key:e,className:(0,l.c)("text-center text-transparent","bg-landing-sliding-highlight-bg bg-clip-text","font-bold","absolute left-0","h-full w-full","flex items-center justify-center gap-3"),style:{top:100*e+"%",opacity:o}},a.createElement(r,{className:"w-4 h-4 md:w-6 md:h-6"}),a.createElement("span",null,t))},D=()=>{const e=(0,O.Y)(0),t=(0,v.s)(e,[0,Z.length-1],["0%",100*-(Z.length-1)+"%"]);return a.useEffect((()=>{const t=setInterval((async()=>{const t=e.get()+1,r=t>Z.length-1?0:t,n=r===Z.length-1;await(0,E.C)(e,r,{duration:.3,type:"spring",bounce:.5,stiffness:100,onComplete:()=>{n&&(e.stop(),e.set(0))}})}),4200);return()=>{clearInterval(t)}}),[e]),a.createElement("div",{className:(0,l.c)("h-8 md:h-12 overflow-hidden w-full max-w-[300px]","animation-parent")},a.createElement(x.q.div,{style:{translateY:t},className:(0,l.c)("h-8 md:h-12 w-full relative")},Z.map((({title:t,icon:r},n)=>a.createElement(M,{key:n,index:n,title:t,Icon:r,y:e})))))},A=()=>a.createElement("div",{className:"relative min-h-[288px] animation-parent"},a.createElement("div",{className:(0,l.c)("hidden landing-lg:block","w-full","h-[288px]","-mt-[14px]","bg-refine-bg dark:bg-landing-stars","landing-mask-image-bg")}),a.createElement("div",{className:(0,l.c)("block landing-lg:hidden","w-full","h-[288px]","-mt-[14px]","bg-refine-bg dark:bg-landing-stars","landing-image-bottom-mobile-bg","bg-[length:620px_350px]","landing-sm:bg-[length:720px_316px]","landing-md:bg-[length:1080px_474px]","bg-top")}),a.createElement("div",{className:(0,l.c)("hidden landing-lg:block","absolute","left-0","bg-landing-video-bottom-line","bg-[length:1920px_327px]","bg-top","top-[-7px]","w-full","h-[288px]","-mt-[14px]")}),a.createElement("div",{className:(0,l.c)("hidden landing-lg:block","absolute","left-0","bg-landing-video-bottom-line-glow","bg-[length:1920px_327px]","bg-top","top-[-7px]","w-full","h-[288px]","-mt-[14px]","animate-beat","will-change-[opacity]")}),a.createElement("div",{className:(0,l.c)("z-[1]","block","w-full","-mt-[290px]","landing-sm:-mt-[304px]","landing-lg:-mt-[288px]","relative")},a.createElement("div",{className:(0,l.c)("flex items-center justify-center","flex-col","text-gray-0 text-2xl pt-9")},a.createElement("h2",{className:(0,l.c)("text-base","landing-md:text-2xl","font-normal","bg-landing-text-bg bg-clip-text","dark:text-gray-300 text-orange-700","mb-2","landing-md:mb-0")},"Resources for Computer Science Preparations"),a.createElement("div",{className:"relative w-[300px]"},a.createElement(D,null))))),L=()=>a.createElement(a.Fragment,null,a.createElement(y,null),a.createElement(w,null),a.createElement(A,null));var F=r(5792),V=r(6098),H=r(9072);const B=()=>{const{colorMode:e}=(0,H.U)();return a.createElement("div",null,a.createElement("h2",{className:(0,l.c)("max-w-[344px] sm:max-w-[620px] lg:max-w-[944px] mx-auto","text-start lg:text-center","text-[32px] leading-[40px] font-bold","dark:text-refine-cyan-alt dark:drop-shadow-[0_0_30px_rgba(71,235,235,0.25)]","text-refine-blue drop-shadow-[0_0_30px_rgba(0,128,255,0.3)]")},"My Social Network Profiles"),a.createElement("div",{className:(0,l.c)("no-prose","flex flex-wrap gap-4 justify-center items-center","mt-6 lg:mt-10")},a.createElement("a",{target:"_blank",href:"https://github.com/AkashSingh3031",className:(0,l.c)("flex h-max flex-row justify-start gap-3","dark:bg-gray-900 bg-gray-100","border border-gray-200 dark:border-gray-700","rounded-xl p-4","no-underline hover:no-underline"),rel:"noreferrer"},a.createElement("div",null,a.createElement(F.A,{className:"text-2xl text-gray-900 dark:text-gray-0",width:"24px",height:"24px"})),a.createElement("div",{className:"text-xs md:text-base"},a.createElement("h3",{className:"mb-0 text-gray-500 dark:text-gray-400"},"Visit our"),a.createElement("h3",{className:"font-semibold text-gray-900 dark:text-gray-0 no-underline hover:no-underline"},"GitHub Profile"))),a.createElement("a",{target:"_blank",href:"https://www.linkedin.com/in/akashsingh3031/",rel:"noreferrer",className:(0,l.c)("flex h-max flex-row justify-start gap-3","dark:bg-gray-900 bg-gray-100","border border-gray-200 dark:border-gray-700","p-4 rounded-xl","no-underline hover:no-underline")},a.createElement("div",null,a.createElement(V.Ed,{className:"text-2xl",width:"24px",height:"24px"})),a.createElement("div",{className:"text-xs md:text-base"},a.createElement("h3",{className:"mb-0 text-gray-500 dark:text-gray-400"},"Follow me on"),a.createElement("h3",{className:"font-semibold text-gray-900 dark:text-gray-0 no-underline hover:no-underline"},"LinkedIn"))),a.createElement("a",{target:"_blank",href:"https://www.instagram.com/akash.singh3031",rel:"noreferrer",className:(0,l.c)("flex h-max flex-row justify-start gap-3","dark:bg-gray-900 bg-gray-100","border border-gray-200 dark:border-gray-700","p-4 rounded-xl","no-underline hover:no-underline")},a.createElement("div",null,a.createElement(V.Yf,{className:"text-2xl",width:"24px",height:"24px"})),a.createElement("div",{className:"text-xs md:text-base"},a.createElement("h3",{className:"mb-0 text-gray-500 dark:text-gray-400"},"Follow me on"),a.createElement("h3",{className:"font-semibold text-gray-900 dark:text-gray-0 no-underline hover:no-underline"},"Instagram"))),a.createElement("a",{target:"_blank",href:"https://x.com/akashsingh3031",rel:"noreferrer",className:(0,l.c)("flex h-max flex-row justify-start gap-3","dark:bg-gray-900 bg-gray-100","border border-gray-200 dark:border-gray-700","p-4 rounded-xl","no-underline hover:no-underline")},a.createElement("div",null,a.createElement(V.CC,{className:"text-2xl",width:"24px",height:"24px"})),a.createElement("div",{className:"text-xs md:text-base"},a.createElement("h3",{className:"mb-0 text-gray-500 dark:text-gray-400"},"Follow me on"),a.createElement("h3",{className:"font-semibold text-gray-900 dark:text-gray-0 no-underline hover:no-underline"},"Twitter")))))},R=function(){const e="PrepVerse | Comprehensive Computer Science Resources";return a.createElement(a.Fragment,null,a.createElement(n.c,null,a.createElement("html",{"data-active-page":"index"}),a.createElement("title",null,e),a.createElement("meta",{property:"og:title",content:e}),a.createElement("link",{rel:"preload",href:"https://prepverse.github.io",as:"document"})),a.createElement(o.C,{description:"Explore PrepVerse for a wide range of computer science resources. Access study guides, tutorials, and practice tests to enhance your knowledge and skills."},a.createElement("div",{className:(0,l.c)("dark:bg-refine-bg")},a.createElement(c.m,{className:(0,l.c)("dark:bg-landing-stars")}),a.createElement("div",{className:(0,l.c)("top-section","dark:bg-landing-stars","mb-12 -mt-[100px] md:-mt-[110px] lg:-mt-[90px] xl:-mt-[110px]","pt-[100px] lg:pt-[90px] xl:-pt-[110px]","landing-mask-image-hero-wide")},a.createElement(L,null)),a.createElement(u,null),a.createElement("div",{className:"h-[48px] landing-lg:h-[80px]"}),a.createElement(B,null),a.createElement("div",{className:"h-[96px] landing-lg:h-[160px]"}),a.createElement(p.E,null))))}},6968:(e,t,r)=>{r.d(t,{m:()=>q});var n=r(9184),l=r(4971),a=r(3200),o=r(344),c=r(6076),i=r(1504),s=r(1980),m=r(8804),u=r(6098);const p=[{isPopover:!0,label:"Docs",items:[{label:"Foundation Docs",description:"Learn C++, Python & Java",link:"/docs",icon:u.C3},{label:"DSA Docs",description:"Learning DSA in C++, Python & Java",link:"/docs/1.DS.Algo",icon:u.uI}]},{isPopover:!0,label:"CodePoint",items:[{label:"Expert Sheet Solutions",description:"Most popular coding questions solutions asked during SDE interviews.",link:"https://prepverse.github.io/CodePoint/preface",icon:u.C3},{label:"Coding Ninjas Series",description:"Coding Ninjas Studio Guided Path Solutions",link:"https://prepverse.github.io/CodePoint/learning_resources/CN_Series/preface",icon:u.oh},{label:"LeetVerse",description:"Leetcode problem solutions with full probelm statements in C++, Python & Java",link:"https://prepverse.github.io/LeetVerse",icon:u.Ew}]},{isPopover:!0,label:"About",items:[{label:"About Me",description:"My information.",link:"/AkashSingh3031",icon:u.kv},{label:"Project Showcase",description:"PrepVerse open-source projects",link:"/showcase",icon:u.w9},{label:"My Portfolio",description:"All info about me",link:"https://prepverse.github.io/portfolio",icon:u.BE}]},{isPopover:!1,label:"Blog",href:"/blog",icon:u.s1},{isPopover:!1,label:"PrepVerse Community",href:"/prepverse-community",icon:u.vn}],f=({item:e,variant:t="landing"})=>{const r=e.icon;return i.createElement(n.c,{to:e.link,className:"no-underline"},i.createElement("div",{className:(0,l.c)("flex items-center","p-4","transition duration-150 ease-in-out","rounded-lg","hover:bg-gray-100","landing"===t&&"dark:hover:bg-gray-800","blog"===t&&"dark:hover:bg-refine-react-8")},i.createElement("div",{className:"shrink-0"},i.createElement(r,null)),i.createElement("div",{className:"ml-2"},i.createElement("div",{className:(0,l.c)("landing"===t&&"text-gray-900 dark:text-white","blog"===t&&"text-refine-react-8 dark:text-refine-react-3","font-semibold")},e.label),i.createElement("div",{className:(0,l.c)("landing"===t&&"text-gray-500 dark:text-gray-400","blog"===t&&"text-refine-react-5 dark:text-refine-react-4","text-xs")},e.description))))},d=({item:e})=>{const[t,r]=(0,i.useState)(null);(0,i.useEffect)((()=>(r(localStorage.getItem("theme")||null),window.addEventListener("storage",a,!1),()=>{window.removeEventListener("storage",a,!1)})),[]);const a=()=>{r(localStorage.getItem("theme")||null)};let o=e.icon;return"Cloud"===e.label&&(o="light"===t?u.oz:e.icon),i.createElement(n.c,{key:e.label,to:e.href,className:(0,l.c)("inline-flex items-center gap-2","text-sm leading-6 font-normal text-gray-900 dark:text-gray-300","transition-colors duration-150 ease-in-out","no-underline","Hackathon"===e.label?["py-1","px-2","rounded-lg","bg-hackathon-button-bg","animate-hackathon-button-bg","bg-refine-bg","text-gray-0","bg-[length:200%_100%]","text-[14px]","hover:text-gray-0"]:["hover:text-gray-900 dark:hover:text-white"])},e.icon&&i.createElement(o,null),e.label)};var g=r(640),b=r(5224),h=r(2424),y=r(4577);const w=({item:e,variant:t="landing",children:r})=>{const[n,a]=(0,i.useState)(!1),o=i.useRef(null),c=i.useRef(null),s=(0,g.IT)();return i.useEffect((()=>{a(!1)}),[s]),i.createElement(b._,{id:`popover-${e.label}`,key:e.label,className:(0,l.c)("relative","inline-flex items-center"),onMouseEnter:()=>{c.current=setTimeout((()=>a(!0)),210),clearTimeout(o.current)},onMouseLeave:()=>{o.current=setTimeout((()=>a(!1)),210),clearTimeout(c.current)}},(()=>i.createElement(i.Fragment,null,i.createElement(b._.Button,{className:(0,l.c)("inline-flex items-center","text-sm leading-6","font-normal")},i.createElement("span",{className:(0,l.c)("landing"===t&&"text-gray-900 dark:text-gray-300","blog"===t&&"text-refine-react-8 dark:text-refine-react-3","transition-colors duration-150 ease-in-out inline-block")},e.label),i.createElement(y.w,{"aria-hidden":"true",className:(0,l.c)("transition duration-150 ease-out","-mr-2","landing"===t&&"text-gray-500 dark:text-gray-400","blog"===t&&"text-refine-react-4",n?"translate-y-0.5":"")})),i.createElement(h.O,{as:i.Fragment,enter:"transition ease-in duration-150",enterFrom:"opacity-0 translate-y-3",enterTo:"opacity-100 translate-y-0",leave:"transition ease-out duration-150",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 translate-y-3",show:n},i.createElement(b._.Panel,{className:(0,l.c)("absolute","z-50","top-12",{"-left-32 center-point":"Docs"===e.label||"About"===e.label,"left-point":"CodePoint"===e.label})},i.createElement(u.WR,{id:e.label,variant:t,className:(0,l.c)("absolute","top-[-9px]",{"left-1/2":"CodePoint"!==e.label,"left-12":"CodePoint"===e.label}),style:{transform:"translateX(-50%)"}}),i.createElement("div",{className:(0,l.c)("overflow-hidden","rounded-xl","landing"===t&&"border dark:border-gray-700 border-gray-200","landing"===t&&"dark:shadow-menu-dark shadow-menu-light","blog"===t&&"border border-refine-react-3 dark:border-refine-react-6","blog"===t&&"dark:shadow-menu-blog-dark shadow-menu-blog-light")},r))))))},v=({variant:e="landing"})=>i.createElement(i.Fragment,null,p.map((t=>t.isPopover?i.createElement(w,{key:`navbar-${t.label}`,item:t,variant:e},"CodePoint"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,l.c)("grid grid-cols-2 gap-4","p-4","w-[672px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(f,{key:t.label,item:t,variant:e})))),i.createElement(n.c,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,l.c)("border-t","blog"===e&&"border-refine-react-3 dark:border-refine-react-6","landing"===e&&"border-gray-300 dark:border-gray-700","landing"===e&&"bg-gray-100 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-7","flex items-center","py-4 px-7")},i.createElement(u._2,null),i.createElement("div",{className:(0,l.c)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))),"About"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,l.c)("grid gap-4","p-4","w-[336px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(f,{key:t.label,item:t,variant:e})))),i.createElement("div",{className:(0,l.c)("border-t","blog"===e&&"border-refine-react-3 dark:border-refine-react-6","landing"===e&&"border-gray-300 dark:border-gray-700","landing"===e&&"bg-gray-100 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-7","flex justify-between items-center","py-4 px-7")},i.createElement("div",{className:(0,l.c)("landing"===e&&"text-gray-600 dark:text-gray-400 ","blog"===e&&"text-refine-react-5 dark:text-refine-react-4")},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.c,{to:"https://github.com/AkashSingh3031",className:(0,l.c)("no-underline","hover:text-inherit")},i.createElement(u.A9,{className:"dark:text-gray-400 text-gray-500"})),i.createElement(n.c,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(u.Ed,null)),i.createElement(n.c,{to:"https://instagram.com/akash.singh3031"},i.createElement(u.Yf,null)),i.createElement(n.c,{to:"https://x.com/akashsingh3031"},i.createElement(u.CC,null))))),"Docs"===t.label&&i.createElement("div",{className:(0,l.c)("grid gap-4","p-4","w-[336px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(f,{key:t.label,item:t,variant:e}))))):i.createElement(d,{key:`navbar-${t.label}`,item:t,variant:e}))));var x=r(2276),O=r(7008),E=r(9072),C=r(2268);function j(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const k=e=>i.createElement("svg",function(e){for(var t=1;ti.createElement("svg",function(e){for(var t=1;t{const[c,s]=(0,i.useState)(null),m=null!=r?r:n.c,p=void 0!==a&&void 0===t;return(0,i.useEffect)((()=>{const e=document.querySelector("html").getAttribute("data-theme");s(e)}),[]),i.createElement(m,function(e){for(var t=1;t{const r=(0,g.IT)();return i.useEffect((()=>{t(!1)}),[r]),i.createElement(F,{isModalOpen:e,setIsModalOpen:t},i.createElement(V,{className:(0,l.c)("hidden landing-sm:block","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}),i.createElement(H,{className:(0,l.c)("block landing-sm:hidden","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}))},F=({isModalOpen:e,setIsModalOpen:t,children:r})=>i.createElement(h.O,{appear:!0,show:e,as:i.Fragment},i.createElement(x.C,{as:"div",className:"relative z-10",onClose:()=>t(!1)},i.createElement(h.O.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},i.createElement("div",{className:(0,l.c)("fixed inset-0","bg-gray-0 dark:bg-gray-900","flex","flex-col")},i.createElement(M.Q,null),i.createElement("div",{className:(0,l.c)("flex items-center justify-between","p-4","landing-sm:px-8")},i.createElement(m.m,{className:"dark:text-gray-0 text-gray-900"}),i.createElement("button",{type:"button",className:(0,l.c)("rounded-lg","hover:brightness-105","active:scale-90","transition-transform duration-75 ease-in-out")},i.createElement(C.O,{className:"text-gray-900 dark:text-white",onClick:()=>t(!1)}))),i.createElement(h.O.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-75",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95"},i.createElement("div",{className:(0,l.c)("flex-1","overflow-y-auto","px-4","pb-4")},r)))))),V=e=>i.createElement("div",{className:(0,l.c)(e.className)},p.map(((e,t)=>{const r="icon"in e&&e.icon;return i.createElement("div",{key:t,className:(0,l.c)("not-prose","p-4","border-t dark:border-gray-700 border-gray-200")},i.createElement(n.c,{to:"href"in e?e.href:void 0,className:(0,l.c)("appearance-none","block","no-underline","dark:text-gray-0 text-gray-900","font-bold")},i.createElement("div",{className:(0,l.c)("flex items-center gap-2")},i.createElement("div",null,e.label),r&&i.createElement(r,null))),"items"in e&&i.createElement("div",{className:(0,l.c)("mt-2","grid grid-cols-2 min-[800px]:grid-cols-3","gap-x-8 gap-y-4")},e.items.map((e=>i.createElement(f,{key:e.label,item:e})))))})),i.createElement(_,null),i.createElement(R,{id:"tablet"}),i.createElement(B,{id:"tablet"})),H=e=>i.createElement("div",{className:(0,l.c)(e.className)},i.createElement("div",{className:"flex-grow"},p.map((e=>e.isPopover?i.createElement(O.C,{key:`modal-${e.label}`},(({open:t})=>i.createElement(i.Fragment,null,i.createElement(Z,{component:O.C.Button,label:e.label,open:t}),i.createElement(O.C.Panel,{className:(0,l.c)(t&&"pb-4",t&&"border-b border-gray-200 dark:border-gray-700")},e.items.map((e=>i.createElement(f,{key:e.label,item:e}))))))):i.createElement(Z,{key:`modal-${e.label}`,label:e.label,href:e.href,icon:e.icon})))),i.createElement(_,null),i.createElement(R,{id:"phone"}),i.createElement(B,{id:"phone"})),B=e=>{var t;return i.createElement(n.c,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,l.c)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex items-center","p-4")},i.createElement(u._2,{id:(null===(t=e)||void 0===t?void 0:t.id)||""}),i.createElement("div",{className:(0,l.c)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))},R=e=>{var t;return i.createElement("div",{className:(0,l.c)("bg-white dark:bg-gray-700 header-sm:bg-inherit","flex justify-between items-center","header-sm:flex-col header-sm:gap-4","header-sm:border-b border-gray-200 dark:border-gray-600","py-3 px-4")},i.createElement("p",{className:"text-gray-500 dark:text-gray-300 font-semibold"},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.c,{to:"https://github.com/AkashSingh3031"},i.createElement(u.A9,{className:"h-10 w-10"})),i.createElement(n.c,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(u.Ed,{className:"h-10 w-10"})),i.createElement(n.c,{to:"https://instagram.com/akash.singh3031"},i.createElement(u.Yf,{className:"h-10 w-10",id:(null===(t=e)||void 0===t?void 0:t.id)||""})),i.createElement(n.c,{to:"https://x.com/akashsingh3031"},i.createElement(u.CC,{className:"h-10 w-10"}))))},_=()=>{const{colorMode:e,setColorMode:t}=(0,E.U)(),r=()=>{t("dark"===e?"light":"dark")},n="dark"===e,a="light"===e;return i.createElement("div",{className:(0,l.c)("not-prose","p-4","flex items-center")},i.createElement("div",{className:(0,l.c)("text-sm","mr-10","dark:text-gray-400 text-gray-600")},"Apperance"),i.createElement("button",{onClick:r,className:(0,l.c)("mr-4","rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200","text-gray-500",a&&"bg-gray-50")},i.createElement(A.G,null),"Light"),i.createElement("button",{onClick:r,className:(0,l.c)("rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200",n?"text-gray-400":"text-gray-500",n&&"bg-gray-700")},i.createElement(D.g,null),"Dark"))};var U=r(9253),G=r(2700),z=r(5792),T=r(6936);const I=()=>{const{loading:e,githubStarCountText:t}=(0,G.wx)();return i.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank",rel:"noreferrer",className:(0,l.c)("flex gap-2 items-center","font-normal","text-sm leading-6","text-gray-500 dark:text-gray-400","hover:text-gray-400 dark:hover:text-gray-300","hover:no-underline","transition-colors","duration-200","ease-in-out")},i.createElement(z.A,{className:(0,l.c)("w-5 h-5")}),i.createElement("div",{className:(0,l.c)("flex items-center","w-10 h-6")},e?i.createElement(T.c,{className:(0,l.c)("w-5 h-5"),wrapperProps:{className:(0,l.c)("mx-auto")}}):i.createElement("span",null,t)))},q=({trackProgress:e,variant:t="landing",className:r})=>{const[u,p]=(0,i.useState)(!1),{scrollYProgress:f}=(0,a.Q)(),d=(0,o.s)(f,[.03,.95],["0%","100%"]);return i.createElement(i.Fragment,null,i.createElement(M.Q,null),i.createElement("header",{className:(0,l.c)("sticky","top-0","z-10")},i.createElement("div",{className:(0,l.c)("absolute","top-0 left-0 right-0","backdrop-blur-[6px]","landing-md:backdrop-blur-[12px]","z-[-1]","bg-gray-0 dark:bg-gray-800","bg-opacity-80 dark:bg-opacity-80","pointer-events-none",r),style:{top:"-20px",bottom:"-80px",WebkitMaskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))",maskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))"}}),i.createElement("div",{className:(0,l.c)("relative","z-[1]","p-4","landing-sm:px-8","landing-md:py-5")},i.createElement("div",{className:(0,l.c)("mx-auto","flex","items-center","justify-between","max-w-[896px]","landing-lg:max-w-[1200px]")},i.createElement("div",{className:(0,l.c)("w-[130px]","landing-lg:w-[200px]")},i.createElement(n.c,{to:"/"},i.createElement(m.m,{className:"text-gray-900 dark:text-gray-0"}))),i.createElement("button",{type:"button",className:(0,l.c)("text-gray-900 dark:text-gray-0","block landing-md:hidden"),onClick:()=>p(!0)},i.createElement(s.m,null)),i.createElement("div",{className:(0,l.c)("hidden landing-md:flex","flex-1","items-center","gap-8")},i.createElement(v,{variant:t})),i.createElement("div",{className:(0,l.c)("hidden landing-md:flex","items-center","justify-end","gap-4","w-[130px]","landing-lg:w-[200px]")},i.createElement(I,null),i.createElement(U.C,null)),i.createElement(L,{isModalOpen:u,setIsModalOpen:p}))),e&&i.createElement("div",{className:(0,l.c)("w-full","h-[1.5px]","translate","bg-refine-react-3 dark:bg-refine-react-7")},i.createElement(c.q.div,{className:(0,l.c)("h-full","bg-refine-react-light-link dark:bg-refine-react-dark-link"),style:{width:d}}))))}},9253:(e,t,r)=>{r.d(t,{C:()=>i,O:()=>m});var n=r(1504),l=r(4971),a=r(9072),o=r(3756),c=r(5372);const i=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,a.U)();return n.createElement("button",{type:"button",className:(0,l.c)("appearance-none","focus:outline-none","relative","w-10 h-10","rounded-full","border","border-solid","border-gray-300 dark:border-gray-700","text-gray-500","transition-colors","duration-150","ease-in-out","overflow-hidden","flex-shrink-0","group",e),onClick:()=>{r("dark"===t?"light":"dark")}},n.createElement("div",{className:(0,l.c)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","translate-y-0","dark:-translate-y-10","duration-200","ease-in-out","transition-transform")},n.createElement(o.G,null)),n.createElement("div",{className:(0,l.c)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","-translate-y-10","dark:translate-y-0","duration-200","ease-in-out","transition-transform")},n.createElement(c.g,null)))},s=[{name:"light",icon:o.G,label:"Light"},{name:"dark",icon:c.g,label:"Dark"}],m=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,a.U)();return n.createElement("div",{className:(0,l.c)("flex","items-center","gap-4","justify-start",e)},s.map((({name:e,label:a,icon:o})=>n.createElement("button",{type:"button",key:e,className:(0,l.c)("appearance-none","focus:outline-none","py-1","pl-1.5","pr-3","flex","items-center","justify-center","gap-1","rounded-[40px]","text-gray-400","border border-solid","border-gray-200","dark:border-gray-600",t===e&&"bg-gray-100 dark:bg-gray-700"),onClick:()=>{r(e)}},n.createElement(o,{className:(0,l.c)("w-4 h-4")}),n.createElement("span",{className:(0,l.c)("text-sm")},a)))))}},7708:(e,t,r)=>{r.d(t,{o0:()=>d,yw:()=>p,wd:()=>f,AR:()=>g});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var m=r(6098),u=r(4252);const p=[{label:"Resources",items:[{label:"Getting Started",href:"/docs"},{label:"Blog",href:"/blog"},{label:"Project Showcase",icon:n.createElement(m.KU,null),href:"/showcase"},{label:"Community",icon:n.createElement(m.KU,null),href:"/prepverse-community"}]},{label:"Product",items:[{label:"CodePoint",icon:n.createElement(u.i,null),href:"https://prepverse.github.io/CodePoint"},{label:"LeetVerse",icon:n.createElement(u.i,null),href:"https://prepverse.github.io/LeetVerse"}]},{label:"About",items:[{label:"About Me",href:"/AkashSingh3031"},{label:"Portfolio",icon:n.createElement(u.i,null),href:"https://prepverse.github.io/portfolio"}]}],f=[{label:"License",href:"https://github.com/PrepVerse/prepverse.github.io/blob/master/LICENSE"}],d="Thank you for visiting, Connect with me over socials.",g=[{icon:e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{r.d(t,{w:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{g:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{i:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{A:()=>o,i:()=>c});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e){for(var t=1;tn.createElement("svg",a({width:12,height:12,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.053 0A10.904 10.904 0 0 0 3.89 2.685 11.34 11.34 0 0 0 .142 9.472a11.48 11.48 0 0 0 1.456 7.65 11.087 11.087 0 0 0 5.964 4.86c.556.103.752-.25.752-.547v-1.918C5.23 20.202 4.58 18 4.58 18a3.012 3.012 0 0 0-1.227-1.655c-.997-.692.081-.692.081-.692.35.05.683.18.975.382.293.202.536.469.713.78.15.278.352.523.595.721a2.312 2.312 0 0 0 2.618.221c.042-.57.283-1.105.678-1.509-2.454-.284-5.03-1.253-5.03-5.539a4.415 4.415 0 0 1 1.132-3.025A4.194 4.194 0 0 1 5.224 4.7s.928-.305 3.036 1.156c1.81-.508 3.72-.508 5.531 0 2.108-1.46 3.03-1.156 3.03-1.156.406.936.455 1.993.135 2.963a4.415 4.415 0 0 1 1.132 3.026c0 4.334-2.582 5.282-5.043 5.538.264.271.468.597.598.955.13.358.182.741.155 1.122V21.4c0 .367.196.65.759.54a11.093 11.093 0 0 0 5.88-4.878 11.481 11.481 0 0 0 1.419-7.6 11.34 11.34 0 0 0-3.71-6.746A10.907 10.907 0 0 0 11.053 0Z",fill:"currentColor"})),c=e=>n.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.066.001a11.91 11.91 0 0 1 7.745 2.966 12.326 12.326 0 0 1 4.032 7.33 12.46 12.46 0 0 1-1.54 8.245 12.088 12.088 0 0 1-6.406 5.314l-.105.037-.11.021c-.508.1-1.232.093-1.83-.422-.577-.498-.681-1.166-.681-1.565v-3.008l.004-.053a1.102 1.102 0 0 0-.062-.453 1.058 1.058 0 0 0-.235-.377l-.839-.86-.863.882a.802.802 0 0 0-.224.502l-.015.217v3.183c0 .434-.14 1.029-.628 1.492-.541.514-1.246.62-1.864.505l-.108-.02-.104-.035a12.082 12.082 0 0 1-6.498-5.296 12.457 12.457 0 0 1-1.58-8.298c.45-2.86 1.891-5.471 4.073-7.375A11.909 11.909 0 0 1 12.05.001h.016Zm-10.43 10.54a10.957 10.957 0 0 0 1.39 7.303 10.58 10.58 0 0 0 5.693 4.638c.53.099.717-.238.717-.522v-1.83c-.588.13-1.083.15-1.5.1a2.95 2.95 0 0 1-.542-.117 2.551 2.551 0 0 1-.422-.176 2.362 2.362 0 0 1-.82-.72c-.208-.294-.28-.535-.28-.535a2.876 2.876 0 0 0-1.17-1.58l-.016-.01c-.925-.65.093-.65.093-.65.106.015.21.038.313.068l.017.005a2.172 2.172 0 0 1 .962.603c.122.13.23.276.319.433a2.29 2.29 0 0 0 .68.775h.002s0 .001 0 0a2.211 2.211 0 0 0 2.385.124v-.014a2.302 2.302 0 0 1 .647-1.427 8.754 8.754 0 0 1-1.625-.328 4.865 4.865 0 0 1-1.416-.695 3.883 3.883 0 0 1-.432-.365c-.8-.786-1.328-2.002-1.328-3.899a4.214 4.214 0 0 1 1.08-2.887 4.003 4.003 0 0 1 .104-2.848s.886-.291 2.898 1.103a9.762 9.762 0 0 1 5.28 0c2.011-1.393 2.891-1.103 2.891-1.103.388.893.434 1.902.13 2.828a4.214 4.214 0 0 1 1.08 2.888c0 3.166-1.444 4.44-3.174 4.972a8.617 8.617 0 0 1-1.64.314 2.558 2.558 0 0 1 .699 1.425c.026.184.033.371.02.558v2.955c0 .35.187.62.724.515a10.588 10.588 0 0 0 5.613-4.656 10.958 10.958 0 0 0 1.354-7.254 10.824 10.824 0 0 0-3.541-6.439 10.41 10.41 0 0 0-6.77-2.592 10.408 10.408 0 0 0-6.837 2.563 10.824 10.824 0 0 0-3.578 6.478ZM16.374 7.8a8.003 8.003 0 0 0-.856.524l-.58.401-.679-.19a8.262 8.262 0 0 0-4.469 0l-.68.19-.58-.402a7.982 7.982 0 0 0-.846-.519c.019.186.059.37.12.549l.282.832-.588.653a2.714 2.714 0 0 0-.696 1.86v.024c0 1.724.503 2.513.998 2.937.563.481 1.397.736 2.476.86l1.567.182 1.954-.204c1.082-.112 1.912-.358 2.47-.833.492-.418.999-1.209.999-2.96v-.026a2.714 2.714 0 0 0-.696-1.86l-.582-.647.273-.826c.058-.178.096-.36.113-.545Z",clipRule:"evenodd"}))},1980:(e,t,r)=>{r.d(t,{m:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{Q:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{G:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{s1:()=>c,wR:()=>s,QD:()=>u,vn:()=>f,kv:()=>g,uI:()=>h,A9:()=>w,_2:()=>x,Ew:()=>E,Yf:()=>j,oh:()=>P,Ed:()=>S,BE:()=>M,KU:()=>L,WR:()=>_,w9:()=>G,CC:()=>T,AH:()=>$,oz:()=>Q,C3:()=>J});var n=r(1504);var l=r(4971);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const c=e=>n.createElement("svg",o(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const{colorMode:t}=(0,D.U)();return n.createElement("div",{className:(0,l.c)("relative","flex","items-center","justify-center","rounded-full","overflow-hidden","p-px","dark:bg-[#194b3a] bg-[#b7dbff]"),style:{transform:"translateZ(0)"}},n.createElement("div",{className:(0,l.c)("z-[1]","absolute","inset-0","dark:bg-new-badge-border-dark bg-new-badge-border-light","animate-new-badge-border")}),n.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}var B,R;const _=e=>{var{variant:t="landing"}=e,r=H(e,["variant"]);return n.createElement("svg",V(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",q(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{r.d(t,{m:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{E:()=>d});var n=r(4971),l=r(1504),a=r(9184),o=r(7708),c=r(204);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const s=e=>l.createElement("svg",function(e){for(var t=1;t{const t=l.createElement("div",{className:(0,n.c)("py-6 landing-lg:py-0","flex","flex-col","gap-4","landing-lg:max-w-[224px]")},l.createElement("div",{className:(0,n.c)("font-semibold","text-sm","leading-6","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},"Contacts"),l.createElement("a",{href:"https://wa.me/+919794423031",target:"_blank",className:(0,n.c)("font-normal","text-sm","leading-5","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},"+91 9794423031"),l.createElement("a",{href:"https://mail.google.com/mail/u/0/?fs=1&to=codewithsky@gmail.com&tf=cm",target:"_blank",className:(0,n.c)("font-normal","text-sm","leading-5","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:180,height:40,viewBox:"0 0 180 40",fill:"none"},l.createElement("text",{x:"1",y:"15",fontFamily:"Arial, sans-serif",fontSize:"16",fill:"currentColor"},"codewithsky@gmail.com")))),r=l.createElement("div",{className:(0,n.c)("py-6 landing-lg:py-0","flex","flex-col","landing-sm:items-end")},l.createElement("div",{className:(0,n.c)("flex","flex-col","gap-4")},l.createElement("div",{className:(0,n.c)("text-sm","leading-6","font-semibold","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3","landing-lg:text-right")},"Connect with me on"),l.createElement("div",{className:(0,n.c)("flex","items-center","gap-8","landing-lg:gap-4","justify-start")},o.AR.map((({href:t,icon:r})=>l.createElement("a",{href:t,key:t,target:"_blank",rel:"noreferrer",className:(0,n.c)("landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},l.createElement(r,{className:(0,n.c)("w-6 h-6","landing-lg:w-8 landing-lg:h-8")})))))));return l.createElement("footer",{className:(0,n.c)("w-full")},l.createElement("div",{className:(0,n.c)("border-t border-t-solid","landing"===e&&"border-t-gray-100 dark:border-t-gray-700","blog"===e&&"border-t-refine-react-3 dark:border-t-refine-react-7","landing"===e&&"dark:bg-footer-landing-dark-bg","blog"===e&&"bg-footer-blog-light-bg dark:bg-footer-blog-dark-bg")},l.createElement("div",{className:(0,n.c)("grid","grid-cols-1","max-w-screen-landing-md","landing-lg:max-w-screen-landing-lg","mx-auto")},l.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8 landing-lg:px-12","py-4 landing-lg:py-6","flex","items-center","justify-between")},l.createElement(a.c,{to:"/",className:(0,n.c)("hover:no-underline","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},l.createElement(m.m,null)),l.createElement("a",{href:"https://github.com/sponsors/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,n.c)("hover:no-underline")},l.createElement(s,null))),l.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8 landing-lg:px-12","flex","flex-row","flex-wrap","items-start","justify-start","text-gray-500 dark:text-gray-500")},o.o0),l.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8 landing-lg:px-12","py-6 landing-lg:pt-8 landing-lg:pb-12","flex","flex-row","flex-wrap","items-start","justify-start","gap-6")},l.createElement("div",{className:(0,n.c)("hidden","landing-lg:flex","max-w-[282px]","w-full")},t),o.yw.map((t=>l.createElement("div",{className:(0,n.c)("flex flex-col gap-4","min-w-[152px]"),key:t.label},l.createElement("div",{className:(0,n.c)("text-sm","leading-6","font-semibold","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},t.label),l.createElement("div",{className:(0,n.c)("flex","flex-col","gap-2")},t.items.map((t=>l.createElement("a",f(p({href:t.href,key:t.label},t.href.startsWith("http")?{target:"_blank",rel:"noopener noreferrer"}:{}),{className:(0,n.c)("text-sm","leading-5","hover:no-underline","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300")}),l.createElement("div",{className:(0,n.c)("flex","items-center","gap-2")},t.label,t.icon)))))))),l.createElement("div",{className:(0,n.c)("hidden","landing-lg:flex","ml-auto")},r)),l.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8","grid","grid-cols-1","landing-sm:grid-cols-2","landing-sm:gap-8","landing-lg:hidden")},t,r))),l.createElement("div",{className:(0,n.c)("border-t border-t-solid","landing"===e&&"border-t-gray-100 dark:border-t-gray-700","blog"===e&&"border-t-gray-100 dark:border-t-gray-700","landing"===e&&"bg-gray-50 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-8")},l.createElement("div",{className:(0,n.c)("py-6 landing-sm:py-8 landing-lg:py-6","px-4 landing-sm:px-8 landing-lg:px-12","grid","grid-cols-1","landing-md:grid-cols-2","gap-8","max-w-screen-landing-md","landing-lg:max-w-screen-landing-lg","mx-auto")},l.createElement("div",{className:(0,n.c)("flex","flex-col","landing-sm:flex-row","gap-4","items-start","justify-start")},o.wd.map((t=>l.createElement("a",f(p({href:t.href,key:t.label},t.href.startsWith("http")?{target:"_blank",rel:"noopener noreferrer"}:{}),{className:(0,n.c)("text-sm","leading-5","font-normal","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:no-underline","hover:text-gray-800 dark:hover:text-gray-300")}),t.label)))),l.createElement("div",{className:(0,n.c)("text-left","landing-md:text-right","text-sm","pr-6 landing-sm:pr-0","leading-5","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3","font-normal")},l.createElement("div",{className:(0,n.c)("text-base","text-gray-500 dark:text-gray-400")},"Copyright \xa9 ",(new Date).getFullYear()," PrepVerse"," ",l.createElement(c.Q,{className:"text-refine-red ml-2 inline leading-6"}),l.createElement("br",null),"Built with Docusaurus & Refine.")))))}},6192:(e,t,r)=>{r.d(t,{D:()=>u});var n=r(1504),l=r(4971),a=r(9184);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=e=>n.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const u=e=>{var{children:t,href:r,className:o,onClick:u,buttonClassname:p}=e,f=m(e,["children","href","className","onClick","buttonClassname"]);const d=r?a.c:"button";return n.createElement(d,s(function(e){for(var t=1;t{r.d(t,{m:()=>c,q:()=>i});var n=r(9184),l=r(4971),a=r(1504);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=({children:e,className:t,to:r,onClick:o,icon:c})=>a.createElement(n.c,{to:r,target:"_blank",rel:"noopener noreferrer",onClick:o,className:(0,l.c)(t,"select-none","group/cta-button","relative","no-underline","rounded-full","flex","items-center","justify-center","gap-2","py-2 pr-2 pl-4","landing-sm:py-3 landing-sm:pr-4 landing-sm:pl-6","text-xs landing-sm:text-base","font-semibold","dark:text-refine-cyan-alt text-refine-blue","dark:bg-refine-cyan-alt/10 bg-refine-blue/10","overflow-hidden")},e,c||a.createElement(s,null),a.createElement("div",{className:(0,l.c)("select-none","rounded-3xl","absolute","left-0","top-0","w-full","h-full","scale-[2]","origin-center","transition-[opacity,transform]","duration-300","ease-in-out","opacity-0","group-hover/cta-button:opacity-100","group-hover/cta-button:scale-100","pointer-events-none","bg-landing-copy-command-hover-bg-light dark:bg-landing-copy-command-hover-bg-dark")})),i=({children:e,className:t,to:r,onClick:o,icon:c})=>a.createElement(n.c,{to:r,target:"_blank",rel:"noopener noreferrer",onClick:o,className:(0,l.c)(t,"select-none","landing-sm:max-w-[293px]","mx-auto","group/cta-button","relative","no-underline","rounded-full","flex","items-center","justify-center","gap-2","py-3 pr-4 pl-6","text-base","font-semibold","dark:text-refine-cyan-alt text-refine-blue","dark:bg-refine-cyan-alt/10 bg-refine-blue/10","overflow-hidden")},e,c||a.createElement(s,null),a.createElement("div",{className:(0,l.c)("select-none","rounded-3xl","absolute","left-0","top-0","w-full","h-full","scale-[2]","origin-center","transition-[opacity,transform]","duration-300","ease-in-out","opacity-0","group-hover/cta-button:opacity-100","group-hover/cta-button:scale-100","pointer-events-none","bg-landing-copy-command-hover-bg-light dark:bg-landing-copy-command-hover-bg-dark")})),s=e=>a.createElement("svg",function(e){for(var t=1;t{r.d(t,{c:()=>i});var n=r(4971),l=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const i=e=>{var{className:t,wrapperProps:r}=e,a=c(e,["className","wrapperProps"]);return l.createElement("div",o({role:"status"},r),l.createElement("svg",o({"aria-hidden":"true",width:24,height:24,viewBox:"0 0 100 100",className:(0,n.c)("text-gray-200 animate-spin dark:text-gray-600 fill-refine-blue",t),fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),l.createElement("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),l.createElement("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})),l.createElement("span",{className:"sr-only"},"Loading..."))}},252:(e,t,r)=>{r.d(t,{Q:()=>i});var n=r(4971),l=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;tl.createElement("div",{className:(0,n.c)("w-full h-12","relative","bg-top-announcement","not-prose","font-inter","z-top-announcement")},l.createElement("div",{className:(0,n.c)("hidden lg:flex","w-full h-full","max-w-screen","overflow-hidden","border-b border-solid border-[#47ebeb26]","top-announcement-mask")},l.createElement("div",{className:(0,n.c)("w-[1280px] h-full","mx-auto","flex","justify-between")},l.createElement("div",{className:(0,n.c)("w-[calc(50%-300px)] h-full","relative")},l.createElement(m,{style:{animationDelay:"1.5s"},className:(0,n.c)("absolute","top-[2px]","right-[220px]"),id:"1"}),l.createElement(m,{style:{animationDelay:"1s"},className:(0,n.c)("absolute","rotate-180","top-[8px] right-[100px]"),id:"2"}),l.createElement(u,{className:(0,n.c)("absolute","right-[10px]"),id:"3"})),l.createElement("div",{className:(0,n.c)("w-[calc(50%-300px)] h-full","relative")},l.createElement(m,{style:{animationDelay:"2s"},className:(0,n.c)("absolute","rotate-180","top-[6px] right-[180px]"),id:"4"}),l.createElement(m,{style:{animationDelay:"0.5s"},className:(0,n.c)("delay-[1300]","absolute","top-[2px]","right-[40px]"),id:"5"}),l.createElement(u,{className:(0,n.c)("absolute","right-[-70px]"),id:"6"})))),l.createElement(s,null)),s=()=>l.createElement("a",{href:"https://github.com/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,n.c)("relative lg:absolute","px-2 lg:px-0","top-0","left-[50%]","translate-x-[-50%]","bg-top-announcement-text","h-full w-full lg:w-[450px]","flex items-center justify-center","text-white","text-xs sm:text-sm","text-center","no-underline","hover:no-underline","hover:text-white","not-prose")},l.createElement("div",{className:(0,n.c)("ml-2","not-prose")},"For more updates follow","",l.createElement("span",{className:(0,n.c)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")},"@AkashSingh3031"),".")),m=e=>l.createElement("svg",c(o({xmlns:"http://www.w3.org/2000/svg",width:80,height:40,fill:"none"},e),{className:(0,n.c)("animate-top-announcement-glow","opacity-1",e.className)}),l.createElement("circle",{cx:40,r:40,fill:`url(#${e.id}-a)`,fillOpacity:.5}),l.createElement("defs",null,l.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 40 -40 0 40 0)",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{stopColor:"#47EBEB"}),l.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0})))),u=e=>l.createElement("svg",c(o({xmlns:"http://www.w3.org/2000/svg",width:120,height:48,fill:"none"},e),{className:(0,n.c)("animate-top-announcement-glow","opacity-1",e.className)}),l.createElement("circle",{cx:60,cy:24,r:60,fill:`url(#${e.id}-a)`,fillOpacity:.5}),l.createElement("defs",null,l.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 60 -60 0 60 24)",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{stopColor:"#47EBEB"}),l.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0}))))}}]); \ No newline at end of file diff --git a/assets/js/1df93b7f.dbd07c41.js b/assets/js/1df93b7f.dbd07c41.js new file mode 100644 index 00000000..30db754f --- /dev/null +++ b/assets/js/1df93b7f.dbd07c41.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[8552],{3540:(e,t,r)=>{r.d(t,{Wr:()=>c,ef:()=>m,qq:()=>u,A9:()=>d,cn:()=>h,gZ:()=>w,aA:()=>E,Wu:()=>k});var n=r(4971),l=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const c=e=>l.createElement("svg",o(function(e){for(var t=1;tl.createElement("svg",s(function(e){for(var t=1;tl.createElement("svg",function(e){for(var t=1;tl.createElement("svg",function(e){for(var t=1;tl.createElement("svg",b(function(e){for(var t=1;tl.createElement("svg",v(function(e){for(var t=1;tl.createElement("svg",O(function(e){for(var t=1;tl.createElement("svg",j(function(e){for(var t=1;t{r.r(t),r.d(t,{default:()=>R});var n=r(6424),l=r(4971),a=r(1504),o=r(8480),c=r(6968),i=r(3540),s=r(9980);const m=[{icon:a.createElement(i.aA,null),title:"Data Structure and Algorithms",description:"Master Data Structures and Algorithms with our comprehensive guides, tutorials, and practice problems.",view:a.createElement(s.q,null),source:"https://prepverse.vercel.app/docs/1.DS.Algo"},{icon:a.createElement(i.cn,null),title:"Web Development",description:"Master web development with our tutorials and resources. Learn HTML, CSS, JavaScript, and more to build stunning websites.",view:a.createElement(s.q,null),source:"https://prepverse.vercel.app/showcase"},{icon:a.createElement(i.Wu,null),title:"AI ML & Data Science",description:"Discover cutting-edge resources in AI, ML, and Data Science. Enhance your skills with tutorials, guides, and practice tests.",view:a.createElement(s.q,null),source:"https://prepverse.vercel.app"},{icon:a.createElement(i.Wr,null),title:"Languages",description:"Discover a diverse array of programming languages tailored for every project and proficiency level.",view:a.createElement(s.q,null),source:"https://prepverse.vercel.app/docs"},{icon:a.createElement(i.ef,null),title:"CS Subjects",description:"Explore essential Computer Science subjects: OS, DBMS, CN, OOPs - learn key concepts and applications in just one click",view:a.createElement(s.q,null),source:"https://prepverse.vercel.app"},{icon:a.createElement(i.gZ,null),title:"Databases",description:"Discover the backbone of data management with Databases\u2014efficiently store, retrieve, and manage structured information for applications.",view:a.createElement(s.q,null),source:"https://prepverse.vercel.app"}],p=({className:e})=>a.createElement("div",{className:(0,l.c)(e,"max-w-[344px] sm:max-w-[620px] md:max-w-[944px] lg:max-w-[1020px] mx-auto")},a.createElement("div",{className:(0,l.c)("not-prose","w-full","px-4 landing-md:px-10")},a.createElement("h2",{className:(0,l.c)("text-2xl landing-sm:text-[32px] landing-sm:leading-[40px]","tracking-tight","text-center","p-0","dark:text-gray-0 text-gray-900")},a.createElement("span",{className:(0,l.c)("font-semibold","dark:text-refine-cyan-alt dark:drop-shadow-[0_0_30px_rgba(71,235,235,0.25)]","text-refine-blue drop-shadow-[0_0_30px_rgba(0,128,255,0.3)]")},"Explore")),a.createElement("p",{className:(0,l.c)("mt-4 landing-sm:mt-6","text-center","dark:text-gray-400 text-gray-600")},"Discover computer science with our resources: study guides, tutorials, and practice tests to enhance your skills.")),a.createElement("div",{className:(0,l.c)("mt-8 landing-sm:mt-12 landing-lg:mt-20","grid","grid-cols-1 landing-md:grid-cols-2 landing-lg:grid-cols-3","gap-4 landing-sm:gap-12 landing-md:gap-6","mb-4 landing-sm:mb-12 landing-md:mb-6")},m.map(((e,t)=>a.createElement("div",{className:(0,l.c)("p-2","dark:bg-landing-noise","dark:bg-gray-900 bg-gray-100","rounded-2xl landing-sm:rounded-3xl","flex","flex-col","justify-between")},a.createElement("div",{key:t,className:(0,l.c)("not-prose","p-4 landing-sm:p-10","flex","flex-col landing-sm:flex-row landing-md:flex-col","items-start","gap-6")},a.createElement("div",null,e.icon),a.createElement("div",{className:(0,l.c)("flex","flex-col","gap-4")},a.createElement("h3",{className:(0,l.c)("text-xl","font-semibold","text-gray-900 dark:text-gray-0")},e.title),a.createElement("h4",{className:(0,l.c)("text-base","dark:text-gray-400 text-gray-600")},e.description))),a.createElement("div",{className:(0,l.c)("pb-2","pt-2","mt-auto")},a.createElement("a",{target:"_blank",href:e.source,rel:"noreferrer"},e.view)))))),a.createElement(s.q,{to:"https://prepverse.vercel.app/blog"},"Explore More"));var u=r(3120),f=r(6192),d=r(9184);function g(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const b=e=>a.createElement("svg",function(e){for(var t=1;ta.createElement(d.c,{href:"https://prepverse.vercel.app/docs",className:(0,l.c)("relative","text-gray-0","hover:no-underline","hover:text-gray-0","z-[1]","group")},a.createElement("div",{className:(0,l.c)("absolute","-left-[1.5px]","-top-[1.5px]","overflow-hidden","rounded-full","w-[calc(100%+2.5px)] h-[calc(100%+2.5px)]","z-[-1]")},a.createElement("div",{className:(0,l.c)("absolute","w-[125%] aspect-square h-auto","left-[-12.5%]","top-[-100px]","bg-landing-ghost","animate-spin-slow","animation-slow-speed")})),a.createElement("div",{className:(0,l.c)("bg-refine-bg","rounded-full","px-10 py-3")},a.createElement("div",{className:(0,l.c)("gap-2","flex items-center justify-center","group-hover:scale-105","duration-100 ease-in-out transition-transform")},a.createElement(b,null),a.createElement("span",{className:"text-base font-semibold"},"Get started")))),y=()=>a.createElement("div",{className:(0,l.c)("pt-10","landing-sm:pt-4","landing-lg:pt-6","flex flex-col","justify-center","gap-10","landing-md:gap-16","landing-lg:gap-8","mt-4")},a.createElement("div",null,a.createElement("h1",{className:(0,l.c)("flex items-center justify-center","flex-col","gap-2","text-[24px] leading-[32px]","landing-md:gap-0","landing-md:text-[32px] landing-md:leading-[40px]","landing-lg:gap-2","landing-lg:text-[40px] landing-lg:leading-[48px]")},a.createElement("span",{className:(0,l.c)("text-center","block bg-landing-text-bg bg-clip-text text-transparent","font-semibold")},a.createElement("span",{className:(0,l.c)("font-semibold","dark:text-refine-green-alt dark:drop-shadow-[0_0_30px_rgba(71,235,235,0.3)]","text-refine-blue drop-shadow-[0_0_30px_rgba(0,128,255,0.3)]")},"Computer Science"," ",a.createElement("br",{className:"inline landing-md:hidden"})),a.createElement("span",{className:(0,l.c)("font-semibold","dark:text-transparent bg-clip-text bg-gradient-to-r text-gradient-to-r from-[#FF9933] to-[#FF4C4D]","text-refine-purple drop-shadow-[0_0_30px_rgba(128,0,255,0.3)]")},"Preparations")),a.createElement("span",{className:(0,l.c)("text-base sm:text-xl xl:text-2xl","max-w-[328px] sm:max-w-[480px] xl:max-w-max","text-center","block bg-landing-text-bg bg-clip-text text-transparent","font-light")}))),a.createElement("div",{className:(0,l.c)("flex items-center justify-center","flex-col landing-sm:flex-row","gap-6","landing-sm:gap-8","landing-lg:gap-10")},a.createElement(h,null),a.createElement(f.D,{href:"https://prepverse.vercel.app/AkashSingh3031"}))),v=()=>a.createElement("div",{className:"relative pointer-events-none"},a.createElement("div",{className:(0,l.c)("w-full","h-[200px]","landing-lg:h-[150px]","absolute","-bottom-[125px]","landing-lg:-bottom-[120px]","bg-landing-linear-spectrum","bg-center","bg-no-repeat","bg-[length:1920px]","blur-[75px]","landing-lg:blur-[125px]","opacity-50","landing-sm:opacity-25","landing-lg:opacity-25"),style:{transform:"translateZ(0)"}}),a.createElement("div",{className:(0,l.c)("mt-16","landing-md:mt-20","mb-6","landing-sm:mb-10","landing-md:mb-16","block landing-lg:hidden","mx-auto","max-w-[300px]","landing-sm:max-w-[208px]","landing-md:max-w-[592px]","max-h-[100px]","aspect-[592/100]","w-full h-full","z-[1]","relative","animation-parent")}),a.createElement("div",{className:(0,l.c)("hidden landing-lg:block","z-[1]","-mt-16","max-w-[948px]","max-h-[248px]","w-full h-full","mx-auto","bg-contain bg-no-repeat bg-center","relative","animation-parent")},a.createElement("video",{autoPlay:!0,muted:!0,loop:!0,playsInline:!0,controls:!1,className:"w-full h-full mt-auto opacity-[0.99]"})));var w=r(344),x=r(6076),O=r(5680),E=r(6972);function C(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const j=e=>a.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;t{const o=(0,w.s)(n,[e-1,e,e+1],[0,1,0]);return a.createElement(x.q.div,{key:e,className:(0,l.c)("text-center text-transparent","bg-landing-sliding-highlight-bg bg-clip-text","font-bold","absolute left-0","h-full w-full","flex items-center justify-center gap-3"),style:{top:100*e+"%",opacity:o}},a.createElement(r,{className:"w-4 h-4 md:w-6 md:h-6"}),a.createElement("span",null,t))},D=()=>{const e=(0,O.Y)(0),t=(0,w.s)(e,[0,Z.length-1],["0%",100*-(Z.length-1)+"%"]);return a.useEffect((()=>{const t=setInterval((async()=>{const t=e.get()+1,r=t>Z.length-1?0:t,n=r===Z.length-1;await(0,E.C)(e,r,{duration:.3,type:"spring",bounce:.5,stiffness:100,onComplete:()=>{n&&(e.stop(),e.set(0))}})}),4200);return()=>{clearInterval(t)}}),[e]),a.createElement("div",{className:(0,l.c)("h-8 md:h-12 overflow-hidden w-full max-w-[300px]","animation-parent")},a.createElement(x.q.div,{style:{translateY:t},className:(0,l.c)("h-8 md:h-12 w-full relative")},Z.map((({title:t,icon:r},n)=>a.createElement(M,{key:n,index:n,title:t,Icon:r,y:e})))))},A=()=>a.createElement("div",{className:"relative min-h-[288px] animation-parent"},a.createElement("div",{className:(0,l.c)("hidden landing-lg:block","w-full","h-[288px]","-mt-[14px]","bg-refine-bg dark:bg-landing-stars","landing-mask-image-bg")}),a.createElement("div",{className:(0,l.c)("block landing-lg:hidden","w-full","h-[288px]","-mt-[14px]","bg-refine-bg dark:bg-landing-stars","landing-image-bottom-mobile-bg","bg-[length:620px_350px]","landing-sm:bg-[length:720px_316px]","landing-md:bg-[length:1080px_474px]","bg-top")}),a.createElement("div",{className:(0,l.c)("hidden landing-lg:block","absolute","left-0","bg-landing-video-bottom-line","bg-[length:1920px_327px]","bg-top","top-[-7px]","w-full","h-[288px]","-mt-[14px]")}),a.createElement("div",{className:(0,l.c)("hidden landing-lg:block","absolute","left-0","bg-landing-video-bottom-line-glow","bg-[length:1920px_327px]","bg-top","top-[-7px]","w-full","h-[288px]","-mt-[14px]","animate-beat","will-change-[opacity]")}),a.createElement("div",{className:(0,l.c)("z-[1]","block","w-full","-mt-[290px]","landing-sm:-mt-[304px]","landing-lg:-mt-[288px]","relative")},a.createElement("div",{className:(0,l.c)("flex items-center justify-center","flex-col","text-gray-0 text-2xl pt-9")},a.createElement("h2",{className:(0,l.c)("text-base","landing-md:text-2xl","font-normal","bg-landing-text-bg bg-clip-text","dark:text-gray-300 text-orange-700","mb-2","landing-md:mb-0")},"Resources for Computer Science Preparations"),a.createElement("div",{className:"relative w-[300px]"},a.createElement(D,null))))),L=()=>a.createElement(a.Fragment,null,a.createElement(y,null),a.createElement(v,null),a.createElement(A,null));var F=r(5792),V=r(6098),H=r(9072);const B=()=>{const{colorMode:e}=(0,H.U)();return a.createElement("div",null,a.createElement("h2",{className:(0,l.c)("max-w-[344px] sm:max-w-[620px] lg:max-w-[944px] mx-auto","text-start lg:text-center","text-[32px] leading-[40px] font-bold","dark:text-refine-cyan-alt dark:drop-shadow-[0_0_30px_rgba(71,235,235,0.25)]","text-refine-blue drop-shadow-[0_0_30px_rgba(0,128,255,0.3)]")},"My Social Network Profiles"),a.createElement("div",{className:(0,l.c)("no-prose","flex flex-wrap gap-4 justify-center items-center","mt-6 lg:mt-10")},a.createElement("a",{target:"_blank",href:"https://github.com/AkashSingh3031",className:(0,l.c)("flex h-max flex-row justify-start gap-3","dark:bg-gray-900 bg-gray-100","border border-gray-200 dark:border-gray-700","rounded-xl p-4","no-underline hover:no-underline"),rel:"noreferrer"},a.createElement("div",null,a.createElement(F.A,{className:"text-2xl text-gray-900 dark:text-gray-0",width:"24px",height:"24px"})),a.createElement("div",{className:"text-xs md:text-base"},a.createElement("h3",{className:"mb-0 text-gray-500 dark:text-gray-400"},"Visit our"),a.createElement("h3",{className:"font-semibold text-gray-900 dark:text-gray-0 no-underline hover:no-underline"},"GitHub Profile"))),a.createElement("a",{target:"_blank",href:"https://www.linkedin.com/in/akashsingh3031/",rel:"noreferrer",className:(0,l.c)("flex h-max flex-row justify-start gap-3","dark:bg-gray-900 bg-gray-100","border border-gray-200 dark:border-gray-700","p-4 rounded-xl","no-underline hover:no-underline")},a.createElement("div",null,a.createElement(V.Ed,{className:"text-2xl",width:"24px",height:"24px"})),a.createElement("div",{className:"text-xs md:text-base"},a.createElement("h3",{className:"mb-0 text-gray-500 dark:text-gray-400"},"Follow me on"),a.createElement("h3",{className:"font-semibold text-gray-900 dark:text-gray-0 no-underline hover:no-underline"},"LinkedIn"))),a.createElement("a",{target:"_blank",href:"https://www.instagram.com/akash.singh3031",rel:"noreferrer",className:(0,l.c)("flex h-max flex-row justify-start gap-3","dark:bg-gray-900 bg-gray-100","border border-gray-200 dark:border-gray-700","p-4 rounded-xl","no-underline hover:no-underline")},a.createElement("div",null,a.createElement(V.Yf,{className:"text-2xl",width:"24px",height:"24px"})),a.createElement("div",{className:"text-xs md:text-base"},a.createElement("h3",{className:"mb-0 text-gray-500 dark:text-gray-400"},"Follow me on"),a.createElement("h3",{className:"font-semibold text-gray-900 dark:text-gray-0 no-underline hover:no-underline"},"Instagram"))),a.createElement("a",{target:"_blank",href:"https://x.com/akashsingh3031",rel:"noreferrer",className:(0,l.c)("flex h-max flex-row justify-start gap-3","dark:bg-gray-900 bg-gray-100","border border-gray-200 dark:border-gray-700","p-4 rounded-xl","no-underline hover:no-underline")},a.createElement("div",null,a.createElement(V.CC,{className:"text-2xl",width:"24px",height:"24px"})),a.createElement("div",{className:"text-xs md:text-base"},a.createElement("h3",{className:"mb-0 text-gray-500 dark:text-gray-400"},"Follow me on"),a.createElement("h3",{className:"font-semibold text-gray-900 dark:text-gray-0 no-underline hover:no-underline"},"Twitter")))))},R=function(){const e="PrepVerse | Comprehensive Computer Science Resources";return a.createElement(a.Fragment,null,a.createElement(n.c,null,a.createElement("html",{"data-active-page":"index"}),a.createElement("title",null,e),a.createElement("meta",{property:"og:title",content:e}),a.createElement("link",{rel:"preload",href:"https://prepverse.vercel.app",as:"document"})),a.createElement(o.C,{description:"Explore PrepVerse for a wide range of computer science resources. Access study guides, tutorials, and practice tests to enhance your knowledge and skills."},a.createElement("div",{className:(0,l.c)("dark:bg-refine-bg")},a.createElement(c.m,{className:(0,l.c)("dark:bg-landing-stars")}),a.createElement("div",{className:(0,l.c)("top-section","dark:bg-landing-stars","mb-12 -mt-[100px] md:-mt-[110px] lg:-mt-[90px] xl:-mt-[110px]","pt-[100px] lg:pt-[90px] xl:-pt-[110px]","landing-mask-image-hero-wide")},a.createElement(L,null)),a.createElement(p,null),a.createElement("div",{className:"h-[48px] landing-lg:h-[80px]"}),a.createElement(B,null),a.createElement("div",{className:"h-[96px] landing-lg:h-[160px]"}),a.createElement(u.E,null))))}},6968:(e,t,r)=>{r.d(t,{m:()=>q});var n=r(9184),l=r(4971),a=r(3200),o=r(344),c=r(6076),i=r(1504),s=r(1980),m=r(8804),p=r(6098);const u=[{isPopover:!0,label:"Docs",items:[{label:"Foundation Docs",description:"Learn C++, Python & Java",link:"https://prepverse.vercel.app/docs",icon:p.C3},{label:"DSA Docs",description:"Learning DSA in C++, Python & Java",link:"https://prepverse.vercel.app/docs/1.DS.Algo",icon:p.uI}]},{isPopover:!0,label:"CodePoint",items:[{label:"Expert Sheet Solutions",description:"Most popular coding questions solutions asked during SDE interviews.",link:"https://prepverse.github.io/CodePoint/preface",icon:p.C3},{label:"Coding Ninjas Series",description:"Coding Ninjas Studio Guided Path Solutions",link:"https://prepverse.github.io/CodePoint/learning_resources/CN_Series/preface",icon:p.oh},{label:"LeetVerse",description:"Leetcode problem solutions with full probelm statements in C++, Python & Java",link:"https://prepverse.github.io/LeetVerse",icon:p.Ew}]},{isPopover:!0,label:"About",items:[{label:"About Me",description:"My information.",link:"https://prepverse.vercel.app/AkashSingh3031",icon:p.kv},{label:"Project Showcase",description:"PrepVerse open-source projects",link:"https://prepverse.vercel.app/showcase",icon:p.w9},{label:"My Portfolio",description:"All info about me",link:"https://prepverse.github.io/portfolio",icon:p.BE}]},{isPopover:!1,label:"Blog",href:"https://prepverse.vercel.app/blog",icon:p.s1},{isPopover:!1,label:"PrepVerse Community",href:"https://prepverse.vercel.app/prepverse-community",icon:p.vn}],f=({item:e,variant:t="landing"})=>{const r=e.icon;return i.createElement(n.c,{to:e.link,className:"no-underline"},i.createElement("div",{className:(0,l.c)("flex items-center","p-4","transition duration-150 ease-in-out","rounded-lg","hover:bg-gray-100","landing"===t&&"dark:hover:bg-gray-800","blog"===t&&"dark:hover:bg-refine-react-8")},i.createElement("div",{className:"shrink-0"},i.createElement(r,null)),i.createElement("div",{className:"ml-2"},i.createElement("div",{className:(0,l.c)("landing"===t&&"text-gray-900 dark:text-white","blog"===t&&"text-refine-react-8 dark:text-refine-react-3","font-semibold")},e.label),i.createElement("div",{className:(0,l.c)("landing"===t&&"text-gray-500 dark:text-gray-400","blog"===t&&"text-refine-react-5 dark:text-refine-react-4","text-xs")},e.description))))},d=({item:e})=>{const[t,r]=(0,i.useState)(null);(0,i.useEffect)((()=>(r(localStorage.getItem("theme")||null),window.addEventListener("storage",a,!1),()=>{window.removeEventListener("storage",a,!1)})),[]);const a=()=>{r(localStorage.getItem("theme")||null)};let o=e.icon;return"Cloud"===e.label&&(o="light"===t?p.oz:e.icon),i.createElement(n.c,{key:e.label,to:e.href,className:(0,l.c)("inline-flex items-center gap-2","text-sm leading-6 font-normal text-gray-900 dark:text-gray-300","transition-colors duration-150 ease-in-out","no-underline","Hackathon"===e.label?["py-1","px-2","rounded-lg","bg-hackathon-button-bg","animate-hackathon-button-bg","bg-refine-bg","text-gray-0","bg-[length:200%_100%]","text-[14px]","hover:text-gray-0"]:["hover:text-gray-900 dark:hover:text-white"])},e.icon&&i.createElement(o,null),e.label)};var g=r(640),b=r(5224),h=r(2424),y=r(4577);const v=({item:e,variant:t="landing",children:r})=>{const[n,a]=(0,i.useState)(!1),o=i.useRef(null),c=i.useRef(null),s=(0,g.IT)();return i.useEffect((()=>{a(!1)}),[s]),i.createElement(b._,{id:`popover-${e.label}`,key:e.label,className:(0,l.c)("relative","inline-flex items-center"),onMouseEnter:()=>{c.current=setTimeout((()=>a(!0)),210),clearTimeout(o.current)},onMouseLeave:()=>{o.current=setTimeout((()=>a(!1)),210),clearTimeout(c.current)}},(()=>i.createElement(i.Fragment,null,i.createElement(b._.Button,{className:(0,l.c)("inline-flex items-center","text-sm leading-6","font-normal")},i.createElement("span",{className:(0,l.c)("landing"===t&&"text-gray-900 dark:text-gray-300","blog"===t&&"text-refine-react-8 dark:text-refine-react-3","transition-colors duration-150 ease-in-out inline-block")},e.label),i.createElement(y.w,{"aria-hidden":"true",className:(0,l.c)("transition duration-150 ease-out","-mr-2","landing"===t&&"text-gray-500 dark:text-gray-400","blog"===t&&"text-refine-react-4",n?"translate-y-0.5":"")})),i.createElement(h.O,{as:i.Fragment,enter:"transition ease-in duration-150",enterFrom:"opacity-0 translate-y-3",enterTo:"opacity-100 translate-y-0",leave:"transition ease-out duration-150",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 translate-y-3",show:n},i.createElement(b._.Panel,{className:(0,l.c)("absolute","z-50","top-12",{"-left-32 center-point":"Docs"===e.label||"About"===e.label,"left-point":"CodePoint"===e.label})},i.createElement(p.WR,{id:e.label,variant:t,className:(0,l.c)("absolute","top-[-9px]",{"left-1/2":"CodePoint"!==e.label,"left-12":"CodePoint"===e.label}),style:{transform:"translateX(-50%)"}}),i.createElement("div",{className:(0,l.c)("overflow-hidden","rounded-xl","landing"===t&&"border dark:border-gray-700 border-gray-200","landing"===t&&"dark:shadow-menu-dark shadow-menu-light","blog"===t&&"border border-refine-react-3 dark:border-refine-react-6","blog"===t&&"dark:shadow-menu-blog-dark shadow-menu-blog-light")},r))))))},w=({variant:e="landing"})=>i.createElement(i.Fragment,null,u.map((t=>t.isPopover?i.createElement(v,{key:`navbar-${t.label}`,item:t,variant:e},"CodePoint"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,l.c)("grid grid-cols-2 gap-4","p-4","w-[672px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(f,{key:t.label,item:t,variant:e})))),i.createElement(n.c,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,l.c)("border-t","blog"===e&&"border-refine-react-3 dark:border-refine-react-6","landing"===e&&"border-gray-300 dark:border-gray-700","landing"===e&&"bg-gray-100 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-7","flex items-center","py-4 px-7")},i.createElement(p._2,null),i.createElement("div",{className:(0,l.c)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))),"About"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,l.c)("grid gap-4","p-4","w-[336px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(f,{key:t.label,item:t,variant:e})))),i.createElement("div",{className:(0,l.c)("border-t","blog"===e&&"border-refine-react-3 dark:border-refine-react-6","landing"===e&&"border-gray-300 dark:border-gray-700","landing"===e&&"bg-gray-100 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-7","flex justify-between items-center","py-4 px-7")},i.createElement("div",{className:(0,l.c)("landing"===e&&"text-gray-600 dark:text-gray-400 ","blog"===e&&"text-refine-react-5 dark:text-refine-react-4")},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.c,{to:"https://github.com/AkashSingh3031",className:(0,l.c)("no-underline","hover:text-inherit")},i.createElement(p.A9,{className:"dark:text-gray-400 text-gray-500"})),i.createElement(n.c,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(p.Ed,null)),i.createElement(n.c,{to:"https://instagram.com/akash.singh3031"},i.createElement(p.Yf,null)),i.createElement(n.c,{to:"https://x.com/akashsingh3031"},i.createElement(p.CC,null))))),"Docs"===t.label&&i.createElement("div",{className:(0,l.c)("grid gap-4","p-4","w-[336px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(f,{key:t.label,item:t,variant:e}))))):i.createElement(d,{key:`navbar-${t.label}`,item:t,variant:e}))));var x=r(2276),O=r(7008),E=r(9072),C=r(2268);function j(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const k=e=>i.createElement("svg",function(e){for(var t=1;ti.createElement("svg",function(e){for(var t=1;t{const[c,s]=(0,i.useState)(null),m=null!=r?r:n.c,u=void 0!==a&&void 0===t;return(0,i.useEffect)((()=>{const e=document.querySelector("html").getAttribute("data-theme");s(e)}),[]),i.createElement(m,function(e){for(var t=1;t{const r=(0,g.IT)();return i.useEffect((()=>{t(!1)}),[r]),i.createElement(F,{isModalOpen:e,setIsModalOpen:t},i.createElement(V,{className:(0,l.c)("hidden landing-sm:block","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}),i.createElement(H,{className:(0,l.c)("block landing-sm:hidden","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}))},F=({isModalOpen:e,setIsModalOpen:t,children:r})=>i.createElement(h.O,{appear:!0,show:e,as:i.Fragment},i.createElement(x.C,{as:"div",className:"relative z-10",onClose:()=>t(!1)},i.createElement(h.O.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},i.createElement("div",{className:(0,l.c)("fixed inset-0","bg-gray-0 dark:bg-gray-900","flex","flex-col")},i.createElement(M.Q,null),i.createElement("div",{className:(0,l.c)("flex items-center justify-between","p-4","landing-sm:px-8")},i.createElement(m.m,{className:"dark:text-gray-0 text-gray-900"}),i.createElement("button",{type:"button",className:(0,l.c)("rounded-lg","hover:brightness-105","active:scale-90","transition-transform duration-75 ease-in-out")},i.createElement(C.O,{className:"text-gray-900 dark:text-white",onClick:()=>t(!1)}))),i.createElement(h.O.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-75",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95"},i.createElement("div",{className:(0,l.c)("flex-1","overflow-y-auto","px-4","pb-4")},r)))))),V=e=>i.createElement("div",{className:(0,l.c)(e.className)},u.map(((e,t)=>{const r="icon"in e&&e.icon;return i.createElement("div",{key:t,className:(0,l.c)("not-prose","p-4","border-t dark:border-gray-700 border-gray-200")},i.createElement(n.c,{to:"href"in e?e.href:void 0,className:(0,l.c)("appearance-none","block","no-underline","dark:text-gray-0 text-gray-900","font-bold")},i.createElement("div",{className:(0,l.c)("flex items-center gap-2")},i.createElement("div",null,e.label),r&&i.createElement(r,null))),"items"in e&&i.createElement("div",{className:(0,l.c)("mt-2","grid grid-cols-2 min-[800px]:grid-cols-3","gap-x-8 gap-y-4")},e.items.map((e=>i.createElement(f,{key:e.label,item:e})))))})),i.createElement(_,null),i.createElement(R,{id:"tablet"}),i.createElement(B,{id:"tablet"})),H=e=>i.createElement("div",{className:(0,l.c)(e.className)},i.createElement("div",{className:"flex-grow"},u.map((e=>e.isPopover?i.createElement(O.C,{key:`modal-${e.label}`},(({open:t})=>i.createElement(i.Fragment,null,i.createElement(Z,{component:O.C.Button,label:e.label,open:t}),i.createElement(O.C.Panel,{className:(0,l.c)(t&&"pb-4",t&&"border-b border-gray-200 dark:border-gray-700")},e.items.map((e=>i.createElement(f,{key:e.label,item:e}))))))):i.createElement(Z,{key:`modal-${e.label}`,label:e.label,href:e.href,icon:e.icon})))),i.createElement(_,null),i.createElement(R,{id:"phone"}),i.createElement(B,{id:"phone"})),B=e=>{var t;return i.createElement(n.c,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,l.c)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex items-center","p-4")},i.createElement(p._2,{id:(null===(t=e)||void 0===t?void 0:t.id)||""}),i.createElement("div",{className:(0,l.c)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))},R=e=>{var t;return i.createElement("div",{className:(0,l.c)("bg-white dark:bg-gray-700 header-sm:bg-inherit","flex justify-between items-center","header-sm:flex-col header-sm:gap-4","header-sm:border-b border-gray-200 dark:border-gray-600","py-3 px-4")},i.createElement("p",{className:"text-gray-500 dark:text-gray-300 font-semibold"},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.c,{to:"https://github.com/AkashSingh3031"},i.createElement(p.A9,{className:"h-10 w-10"})),i.createElement(n.c,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(p.Ed,{className:"h-10 w-10"})),i.createElement(n.c,{to:"https://instagram.com/akash.singh3031"},i.createElement(p.Yf,{className:"h-10 w-10",id:(null===(t=e)||void 0===t?void 0:t.id)||""})),i.createElement(n.c,{to:"https://x.com/akashsingh3031"},i.createElement(p.CC,{className:"h-10 w-10"}))))},_=()=>{const{colorMode:e,setColorMode:t}=(0,E.U)(),r=()=>{t("dark"===e?"light":"dark")},n="dark"===e,a="light"===e;return i.createElement("div",{className:(0,l.c)("not-prose","p-4","flex items-center")},i.createElement("div",{className:(0,l.c)("text-sm","mr-10","dark:text-gray-400 text-gray-600")},"Apperance"),i.createElement("button",{onClick:r,className:(0,l.c)("mr-4","rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200","text-gray-500",a&&"bg-gray-50")},i.createElement(A.G,null),"Light"),i.createElement("button",{onClick:r,className:(0,l.c)("rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200",n?"text-gray-400":"text-gray-500",n&&"bg-gray-700")},i.createElement(D.g,null),"Dark"))};var U=r(9253),G=r(2700),z=r(5792),T=r(6936);const I=()=>{const{loading:e,githubStarCountText:t}=(0,G.wx)();return i.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank",rel:"noreferrer",className:(0,l.c)("flex gap-2 items-center","font-normal","text-sm leading-6","text-gray-500 dark:text-gray-400","hover:text-gray-400 dark:hover:text-gray-300","hover:no-underline","transition-colors","duration-200","ease-in-out")},i.createElement(z.A,{className:(0,l.c)("w-5 h-5")}),i.createElement("div",{className:(0,l.c)("flex items-center","w-10 h-6")},e?i.createElement(T.c,{className:(0,l.c)("w-5 h-5"),wrapperProps:{className:(0,l.c)("mx-auto")}}):i.createElement("span",null,t)))},q=({trackProgress:e,variant:t="landing",className:r})=>{const[p,u]=(0,i.useState)(!1),{scrollYProgress:f}=(0,a.Q)(),d=(0,o.s)(f,[.03,.95],["0%","100%"]);return i.createElement(i.Fragment,null,i.createElement(M.Q,null),i.createElement("header",{className:(0,l.c)("sticky","top-0","z-10")},i.createElement("div",{className:(0,l.c)("absolute","top-0 left-0 right-0","backdrop-blur-[6px]","landing-md:backdrop-blur-[12px]","z-[-1]","bg-gray-0 dark:bg-gray-800","bg-opacity-80 dark:bg-opacity-80","pointer-events-none",r),style:{top:"-20px",bottom:"-80px",WebkitMaskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))",maskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))"}}),i.createElement("div",{className:(0,l.c)("relative","z-[1]","p-4","landing-sm:px-8","landing-md:py-5")},i.createElement("div",{className:(0,l.c)("mx-auto","flex","items-center","justify-between","max-w-[896px]","landing-lg:max-w-[1200px]")},i.createElement("div",{className:(0,l.c)("w-[130px]","landing-lg:w-[200px]")},i.createElement(n.c,{to:"https://prepverse.vercel.app"},i.createElement(m.m,{className:"text-gray-900 dark:text-gray-0"}))),i.createElement("button",{type:"button",className:(0,l.c)("text-gray-900 dark:text-gray-0","block landing-md:hidden"),onClick:()=>u(!0)},i.createElement(s.m,null)),i.createElement("div",{className:(0,l.c)("hidden landing-md:flex","flex-1","items-center","gap-8")},i.createElement(w,{variant:t})),i.createElement("div",{className:(0,l.c)("hidden landing-md:flex","items-center","justify-end","gap-4","w-[130px]","landing-lg:w-[200px]")},i.createElement(I,null),i.createElement(U.C,null)),i.createElement(L,{isModalOpen:p,setIsModalOpen:u}))),e&&i.createElement("div",{className:(0,l.c)("w-full","h-[1.5px]","translate","bg-refine-react-3 dark:bg-refine-react-7")},i.createElement(c.q.div,{className:(0,l.c)("h-full","bg-refine-react-light-link dark:bg-refine-react-dark-link"),style:{width:d}}))))}},9253:(e,t,r)=>{r.d(t,{C:()=>i,O:()=>m});var n=r(1504),l=r(4971),a=r(9072),o=r(3756),c=r(5372);const i=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,a.U)();return n.createElement("button",{type:"button",className:(0,l.c)("appearance-none","focus:outline-none","relative","w-10 h-10","rounded-full","border","border-solid","border-gray-300 dark:border-gray-700","text-gray-500","transition-colors","duration-150","ease-in-out","overflow-hidden","flex-shrink-0","group",e),onClick:()=>{r("dark"===t?"light":"dark")}},n.createElement("div",{className:(0,l.c)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","translate-y-0","dark:-translate-y-10","duration-200","ease-in-out","transition-transform")},n.createElement(o.G,null)),n.createElement("div",{className:(0,l.c)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","-translate-y-10","dark:translate-y-0","duration-200","ease-in-out","transition-transform")},n.createElement(c.g,null)))},s=[{name:"light",icon:o.G,label:"Light"},{name:"dark",icon:c.g,label:"Dark"}],m=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,a.U)();return n.createElement("div",{className:(0,l.c)("flex","items-center","gap-4","justify-start",e)},s.map((({name:e,label:a,icon:o})=>n.createElement("button",{type:"button",key:e,className:(0,l.c)("appearance-none","focus:outline-none","py-1","pl-1.5","pr-3","flex","items-center","justify-center","gap-1","rounded-[40px]","text-gray-400","border border-solid","border-gray-200","dark:border-gray-600",t===e&&"bg-gray-100 dark:bg-gray-700"),onClick:()=>{r(e)}},n.createElement(o,{className:(0,l.c)("w-4 h-4")}),n.createElement("span",{className:(0,l.c)("text-sm")},a)))))}},7708:(e,t,r)=>{r.d(t,{o0:()=>d,yw:()=>u,wd:()=>f,AR:()=>g});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var m=r(6098),p=r(4252);const u=[{label:"Resources",items:[{label:"Getting Started",href:"https://prepverse.vercel.app/docs"},{label:"Blog",href:"https://prepverse.vercel.app/blog"},{label:"Project Showcase",icon:n.createElement(m.KU,null),href:"https://prepverse.vercel.app/showcase"},{label:"Community",icon:n.createElement(m.KU,null),href:"https://prepverse.vercel.app/prepverse-community"}]},{label:"Product",items:[{label:"CodePoint",icon:n.createElement(p.i,null),href:"https://prepverse.github.io/CodePoint"},{label:"LeetVerse",icon:n.createElement(p.i,null),href:"https://prepverse.github.io/LeetVerse"}]},{label:"About",items:[{label:"About Me",href:"https://prepverse.vercel.app/AkashSingh3031"},{label:"Portfolio",icon:n.createElement(p.i,null),href:"https://prepverse.github.io/portfolio"}]}],f=[{label:"License",href:"https://github.com/PrepVerse/prepverse.github.io/blob/master/LICENSE"}],d="Thank you for visiting, Connect with me over socials.",g=[{icon:e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{r.d(t,{w:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{g:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{i:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{A:()=>o,i:()=>c});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e){for(var t=1;tn.createElement("svg",a({width:12,height:12,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.053 0A10.904 10.904 0 0 0 3.89 2.685 11.34 11.34 0 0 0 .142 9.472a11.48 11.48 0 0 0 1.456 7.65 11.087 11.087 0 0 0 5.964 4.86c.556.103.752-.25.752-.547v-1.918C5.23 20.202 4.58 18 4.58 18a3.012 3.012 0 0 0-1.227-1.655c-.997-.692.081-.692.081-.692.35.05.683.18.975.382.293.202.536.469.713.78.15.278.352.523.595.721a2.312 2.312 0 0 0 2.618.221c.042-.57.283-1.105.678-1.509-2.454-.284-5.03-1.253-5.03-5.539a4.415 4.415 0 0 1 1.132-3.025A4.194 4.194 0 0 1 5.224 4.7s.928-.305 3.036 1.156c1.81-.508 3.72-.508 5.531 0 2.108-1.46 3.03-1.156 3.03-1.156.406.936.455 1.993.135 2.963a4.415 4.415 0 0 1 1.132 3.026c0 4.334-2.582 5.282-5.043 5.538.264.271.468.597.598.955.13.358.182.741.155 1.122V21.4c0 .367.196.65.759.54a11.093 11.093 0 0 0 5.88-4.878 11.481 11.481 0 0 0 1.419-7.6 11.34 11.34 0 0 0-3.71-6.746A10.907 10.907 0 0 0 11.053 0Z",fill:"currentColor"})),c=e=>n.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.066.001a11.91 11.91 0 0 1 7.745 2.966 12.326 12.326 0 0 1 4.032 7.33 12.46 12.46 0 0 1-1.54 8.245 12.088 12.088 0 0 1-6.406 5.314l-.105.037-.11.021c-.508.1-1.232.093-1.83-.422-.577-.498-.681-1.166-.681-1.565v-3.008l.004-.053a1.102 1.102 0 0 0-.062-.453 1.058 1.058 0 0 0-.235-.377l-.839-.86-.863.882a.802.802 0 0 0-.224.502l-.015.217v3.183c0 .434-.14 1.029-.628 1.492-.541.514-1.246.62-1.864.505l-.108-.02-.104-.035a12.082 12.082 0 0 1-6.498-5.296 12.457 12.457 0 0 1-1.58-8.298c.45-2.86 1.891-5.471 4.073-7.375A11.909 11.909 0 0 1 12.05.001h.016Zm-10.43 10.54a10.957 10.957 0 0 0 1.39 7.303 10.58 10.58 0 0 0 5.693 4.638c.53.099.717-.238.717-.522v-1.83c-.588.13-1.083.15-1.5.1a2.95 2.95 0 0 1-.542-.117 2.551 2.551 0 0 1-.422-.176 2.362 2.362 0 0 1-.82-.72c-.208-.294-.28-.535-.28-.535a2.876 2.876 0 0 0-1.17-1.58l-.016-.01c-.925-.65.093-.65.093-.65.106.015.21.038.313.068l.017.005a2.172 2.172 0 0 1 .962.603c.122.13.23.276.319.433a2.29 2.29 0 0 0 .68.775h.002s0 .001 0 0a2.211 2.211 0 0 0 2.385.124v-.014a2.302 2.302 0 0 1 .647-1.427 8.754 8.754 0 0 1-1.625-.328 4.865 4.865 0 0 1-1.416-.695 3.883 3.883 0 0 1-.432-.365c-.8-.786-1.328-2.002-1.328-3.899a4.214 4.214 0 0 1 1.08-2.887 4.003 4.003 0 0 1 .104-2.848s.886-.291 2.898 1.103a9.762 9.762 0 0 1 5.28 0c2.011-1.393 2.891-1.103 2.891-1.103.388.893.434 1.902.13 2.828a4.214 4.214 0 0 1 1.08 2.888c0 3.166-1.444 4.44-3.174 4.972a8.617 8.617 0 0 1-1.64.314 2.558 2.558 0 0 1 .699 1.425c.026.184.033.371.02.558v2.955c0 .35.187.62.724.515a10.588 10.588 0 0 0 5.613-4.656 10.958 10.958 0 0 0 1.354-7.254 10.824 10.824 0 0 0-3.541-6.439 10.41 10.41 0 0 0-6.77-2.592 10.408 10.408 0 0 0-6.837 2.563 10.824 10.824 0 0 0-3.578 6.478ZM16.374 7.8a8.003 8.003 0 0 0-.856.524l-.58.401-.679-.19a8.262 8.262 0 0 0-4.469 0l-.68.19-.58-.402a7.982 7.982 0 0 0-.846-.519c.019.186.059.37.12.549l.282.832-.588.653a2.714 2.714 0 0 0-.696 1.86v.024c0 1.724.503 2.513.998 2.937.563.481 1.397.736 2.476.86l1.567.182 1.954-.204c1.082-.112 1.912-.358 2.47-.833.492-.418.999-1.209.999-2.96v-.026a2.714 2.714 0 0 0-.696-1.86l-.582-.647.273-.826c.058-.178.096-.36.113-.545Z",clipRule:"evenodd"}))},1980:(e,t,r)=>{r.d(t,{m:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{Q:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{G:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{s1:()=>c,wR:()=>s,QD:()=>p,vn:()=>f,kv:()=>g,uI:()=>h,A9:()=>v,_2:()=>x,Ew:()=>E,Yf:()=>j,oh:()=>P,Ed:()=>S,BE:()=>M,KU:()=>L,WR:()=>_,w9:()=>G,CC:()=>T,AH:()=>$,oz:()=>Q,C3:()=>J});var n=r(1504);var l=r(4971);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const c=e=>n.createElement("svg",o(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const{colorMode:t}=(0,D.U)();return n.createElement("div",{className:(0,l.c)("relative","flex","items-center","justify-center","rounded-full","overflow-hidden","p-px","dark:bg-[#194b3a] bg-[#b7dbff]"),style:{transform:"translateZ(0)"}},n.createElement("div",{className:(0,l.c)("z-[1]","absolute","inset-0","dark:bg-new-badge-border-dark bg-new-badge-border-light","animate-new-badge-border")}),n.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}var B,R;const _=e=>{var{variant:t="landing"}=e,r=H(e,["variant"]);return n.createElement("svg",V(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",q(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{r.d(t,{m:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{E:()=>d});var n=r(4971),l=r(1504),a=r(9184),o=r(7708),c=r(204);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const s=e=>l.createElement("svg",function(e){for(var t=1;t{const t=l.createElement("div",{className:(0,n.c)("py-6 landing-lg:py-0","flex","flex-col","gap-4","landing-lg:max-w-[224px]")},l.createElement("div",{className:(0,n.c)("font-semibold","text-sm","leading-6","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},"Contacts"),l.createElement("a",{href:"https://wa.me/+919794423031",target:"_blank",className:(0,n.c)("font-normal","text-sm","leading-5","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},"+91 9794423031"),l.createElement("a",{href:"https://mail.google.com/mail/u/0/?fs=1&to=codewithsky@gmail.com&tf=cm",target:"_blank",className:(0,n.c)("font-normal","text-sm","leading-5","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:180,height:40,viewBox:"0 0 180 40",fill:"none"},l.createElement("text",{x:"1",y:"15",fontFamily:"Arial, sans-serif",fontSize:"16",fill:"currentColor"},"codewithsky@gmail.com")))),r=l.createElement("div",{className:(0,n.c)("py-6 landing-lg:py-0","flex","flex-col","landing-sm:items-end")},l.createElement("div",{className:(0,n.c)("flex","flex-col","gap-4")},l.createElement("div",{className:(0,n.c)("text-sm","leading-6","font-semibold","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3","landing-lg:text-right")},"Connect with me on"),l.createElement("div",{className:(0,n.c)("flex","items-center","gap-8","landing-lg:gap-4","justify-start")},o.AR.map((({href:t,icon:r})=>l.createElement("a",{href:t,key:t,target:"_blank",rel:"noreferrer",className:(0,n.c)("landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},l.createElement(r,{className:(0,n.c)("w-6 h-6","landing-lg:w-8 landing-lg:h-8")})))))));return l.createElement("footer",{className:(0,n.c)("w-full")},l.createElement("div",{className:(0,n.c)("border-t border-t-solid","landing"===e&&"border-t-gray-100 dark:border-t-gray-700","blog"===e&&"border-t-refine-react-3 dark:border-t-refine-react-7","landing"===e&&"dark:bg-footer-landing-dark-bg","blog"===e&&"bg-footer-blog-light-bg dark:bg-footer-blog-dark-bg")},l.createElement("div",{className:(0,n.c)("grid","grid-cols-1","max-w-screen-landing-md","landing-lg:max-w-screen-landing-lg","mx-auto")},l.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8 landing-lg:px-12","py-4 landing-lg:py-6","flex","items-center","justify-between")},l.createElement(a.c,{to:"https://prepverse.vercel.app",className:(0,n.c)("hover:no-underline","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},l.createElement(m.m,null)),l.createElement("a",{href:"https://github.com/sponsors/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,n.c)("hover:no-underline")},l.createElement(s,null))),l.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8 landing-lg:px-12","flex","flex-row","flex-wrap","items-start","justify-start","text-gray-500 dark:text-gray-500")},o.o0),l.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8 landing-lg:px-12","py-6 landing-lg:pt-8 landing-lg:pb-12","flex","flex-row","flex-wrap","items-start","justify-start","gap-6")},l.createElement("div",{className:(0,n.c)("hidden","landing-lg:flex","max-w-[282px]","w-full")},t),o.yw.map((t=>l.createElement("div",{className:(0,n.c)("flex flex-col gap-4","min-w-[152px]"),key:t.label},l.createElement("div",{className:(0,n.c)("text-sm","leading-6","font-semibold","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},t.label),l.createElement("div",{className:(0,n.c)("flex","flex-col","gap-2")},t.items.map((t=>l.createElement("a",f(u({href:t.href,key:t.label},t.href.startsWith("http")?{target:"_blank",rel:"noopener noreferrer"}:{}),{className:(0,n.c)("text-sm","leading-5","hover:no-underline","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300")}),l.createElement("div",{className:(0,n.c)("flex","items-center","gap-2")},t.label,t.icon)))))))),l.createElement("div",{className:(0,n.c)("hidden","landing-lg:flex","ml-auto")},r)),l.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8","grid","grid-cols-1","landing-sm:grid-cols-2","landing-sm:gap-8","landing-lg:hidden")},t,r))),l.createElement("div",{className:(0,n.c)("border-t border-t-solid","landing"===e&&"border-t-gray-100 dark:border-t-gray-700","blog"===e&&"border-t-gray-100 dark:border-t-gray-700","landing"===e&&"bg-gray-50 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-8")},l.createElement("div",{className:(0,n.c)("py-6 landing-sm:py-8 landing-lg:py-6","px-4 landing-sm:px-8 landing-lg:px-12","grid","grid-cols-1","landing-md:grid-cols-2","gap-8","max-w-screen-landing-md","landing-lg:max-w-screen-landing-lg","mx-auto")},l.createElement("div",{className:(0,n.c)("flex","flex-col","landing-sm:flex-row","gap-4","items-start","justify-start")},o.wd.map((t=>l.createElement("a",f(u({href:t.href,key:t.label},t.href.startsWith("http")?{target:"_blank",rel:"noopener noreferrer"}:{}),{className:(0,n.c)("text-sm","leading-5","font-normal","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:no-underline","hover:text-gray-800 dark:hover:text-gray-300")}),t.label)))),l.createElement("div",{className:(0,n.c)("text-left","landing-md:text-right","text-sm","pr-6 landing-sm:pr-0","leading-5","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3","font-normal")},l.createElement("div",{className:(0,n.c)("text-base","text-gray-500 dark:text-gray-400")},"Copyright \xa9 ",(new Date).getFullYear()," PrepVerse"," ",l.createElement(c.Q,{className:"text-refine-red ml-2 inline leading-6"}),l.createElement("br",null),"Built with Docusaurus & Refine.")))))}},6192:(e,t,r)=>{r.d(t,{D:()=>p});var n=r(1504),l=r(4971),a=r(9184);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=e=>n.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const p=e=>{var{children:t,href:r,className:o,onClick:p,buttonClassname:u}=e,f=m(e,["children","href","className","onClick","buttonClassname"]);const d=r?a.c:"button";return n.createElement(d,s(function(e){for(var t=1;t{r.d(t,{m:()=>c,q:()=>i});var n=r(9184),l=r(4971),a=r(1504);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=({children:e,className:t,to:r,onClick:o,icon:c})=>a.createElement(n.c,{to:r,target:"_blank",rel:"noopener noreferrer",onClick:o,className:(0,l.c)(t,"select-none","group/cta-button","relative","no-underline","rounded-full","flex","items-center","justify-center","gap-2","py-2 pr-2 pl-4","landing-sm:py-3 landing-sm:pr-4 landing-sm:pl-6","text-xs landing-sm:text-base","font-semibold","dark:text-refine-cyan-alt text-refine-blue","dark:bg-refine-cyan-alt/10 bg-refine-blue/10","overflow-hidden")},e,c||a.createElement(s,null),a.createElement("div",{className:(0,l.c)("select-none","rounded-3xl","absolute","left-0","top-0","w-full","h-full","scale-[2]","origin-center","transition-[opacity,transform]","duration-300","ease-in-out","opacity-0","group-hover/cta-button:opacity-100","group-hover/cta-button:scale-100","pointer-events-none","bg-landing-copy-command-hover-bg-light dark:bg-landing-copy-command-hover-bg-dark")})),i=({children:e,className:t,to:r,onClick:o,icon:c})=>a.createElement(n.c,{to:r,target:"_blank",rel:"noopener noreferrer",onClick:o,className:(0,l.c)(t,"select-none","landing-sm:max-w-[293px]","mx-auto","group/cta-button","relative","no-underline","rounded-full","flex","items-center","justify-center","gap-2","py-3 pr-4 pl-6","text-base","font-semibold","dark:text-refine-cyan-alt text-refine-blue","dark:bg-refine-cyan-alt/10 bg-refine-blue/10","overflow-hidden")},e,c||a.createElement(s,null),a.createElement("div",{className:(0,l.c)("select-none","rounded-3xl","absolute","left-0","top-0","w-full","h-full","scale-[2]","origin-center","transition-[opacity,transform]","duration-300","ease-in-out","opacity-0","group-hover/cta-button:opacity-100","group-hover/cta-button:scale-100","pointer-events-none","bg-landing-copy-command-hover-bg-light dark:bg-landing-copy-command-hover-bg-dark")})),s=e=>a.createElement("svg",function(e){for(var t=1;t{r.d(t,{c:()=>i});var n=r(4971),l=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const i=e=>{var{className:t,wrapperProps:r}=e,a=c(e,["className","wrapperProps"]);return l.createElement("div",o({role:"status"},r),l.createElement("svg",o({"aria-hidden":"true",width:24,height:24,viewBox:"0 0 100 100",className:(0,n.c)("text-gray-200 animate-spin dark:text-gray-600 fill-refine-blue",t),fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),l.createElement("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),l.createElement("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})),l.createElement("span",{className:"sr-only"},"Loading..."))}},252:(e,t,r)=>{r.d(t,{Q:()=>i});var n=r(4971),l=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;tl.createElement("div",{className:(0,n.c)("w-full h-12","relative","bg-top-announcement","not-prose","font-inter","z-top-announcement")},l.createElement("div",{className:(0,n.c)("hidden lg:flex","w-full h-full","max-w-screen","overflow-hidden","border-b border-solid border-[#47ebeb26]","top-announcement-mask")},l.createElement("div",{className:(0,n.c)("w-[1280px] h-full","mx-auto","flex","justify-between")},l.createElement("div",{className:(0,n.c)("w-[calc(50%-300px)] h-full","relative")},l.createElement(m,{style:{animationDelay:"1.5s"},className:(0,n.c)("absolute","top-[2px]","right-[220px]"),id:"1"}),l.createElement(m,{style:{animationDelay:"1s"},className:(0,n.c)("absolute","rotate-180","top-[8px] right-[100px]"),id:"2"}),l.createElement(p,{className:(0,n.c)("absolute","right-[10px]"),id:"3"})),l.createElement("div",{className:(0,n.c)("w-[calc(50%-300px)] h-full","relative")},l.createElement(m,{style:{animationDelay:"2s"},className:(0,n.c)("absolute","rotate-180","top-[6px] right-[180px]"),id:"4"}),l.createElement(m,{style:{animationDelay:"0.5s"},className:(0,n.c)("delay-[1300]","absolute","top-[2px]","right-[40px]"),id:"5"}),l.createElement(p,{className:(0,n.c)("absolute","right-[-70px]"),id:"6"})))),l.createElement(s,null)),s=()=>l.createElement("a",{href:"https://prepverse.vercel.app/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,n.c)("relative lg:absolute","px-2 lg:px-0","top-0","left-[50%]","translate-x-[-50%]","bg-top-announcement-text","h-full w-full lg:w-[450px]","flex items-center justify-center","text-white","text-xs sm:text-sm","text-center","no-underline","hover:no-underline","hover:text-white","not-prose")},l.createElement("div",{className:(0,n.c)("ml-2","not-prose")},"For more updates follow","",l.createElement("span",{className:(0,n.c)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")},"@AkashSingh3031"),".")),m=e=>l.createElement("svg",c(o({xmlns:"http://www.w3.org/2000/svg",width:80,height:40,fill:"none"},e),{className:(0,n.c)("animate-top-announcement-glow","opacity-1",e.className)}),l.createElement("circle",{cx:40,r:40,fill:`url(#${e.id}-a)`,fillOpacity:.5}),l.createElement("defs",null,l.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 40 -40 0 40 0)",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{stopColor:"#47EBEB"}),l.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0})))),p=e=>l.createElement("svg",c(o({xmlns:"http://www.w3.org/2000/svg",width:120,height:48,fill:"none"},e),{className:(0,n.c)("animate-top-announcement-glow","opacity-1",e.className)}),l.createElement("circle",{cx:60,cy:24,r:60,fill:`url(#${e.id}-a)`,fillOpacity:.5}),l.createElement("defs",null,l.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 60 -60 0 60 24)",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{stopColor:"#47EBEB"}),l.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0}))))}}]); \ No newline at end of file diff --git a/assets/js/24a8236d.147d806f.js b/assets/js/24a8236d.147d806f.js new file mode 100644 index 00000000..2b2e448c --- /dev/null +++ b/assets/js/24a8236d.147d806f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[6350],{5788:(e,t,n)=>{n.d(t,{Iu:()=>m,yg:()=>g});var a=n(1504);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function i(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var s=a.createContext({}),p=function(e){var t=a.useContext(s),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},m=function(e){var t=p(e.components);return a.createElement(s.Provider,{value:t},e.children)},h="mdxType",u={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},c=a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,o=e.originalType,s=e.parentName,m=l(e,["components","mdxType","originalType","parentName"]),h=p(n),c=r,g=h["".concat(s,".").concat(c)]||h[c]||u[c]||o;return n?a.createElement(g,i(i({ref:t},m),{},{components:n})):a.createElement(g,i({ref:t},m))}));function g(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var o=n.length,i=new Array(o);i[0]=c;var l={};for(var s in t)hasOwnProperty.call(t,s)&&(l[s]=t[s]);l.originalType=e,l[h]="string"==typeof e?e:r,i[1]=l;for(var p=2;p{n.r(t),n.d(t,{assets:()=>m,contentTitle:()=>s,default:()=>d,frontMatter:()=>l,metadata:()=>p,toc:()=>h});n(1504);var a=n(5788);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})),e}function i(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}const l={title:"Two Sum Explained",description:"DSA problem two sum explained",slug:"two-sum",authors:"AkashSingh3031",tags:["Array","LeetCode"],is_featured:!1,image:"https://miro.medium.com/v2/resize:fit:1400/1*2x-CAwfeui5YM4148VxgRA.jpeg",hide_table_of_contents:!1},s=void 0,p={permalink:"/blog/two-sum",source:"@site/blog/2024-08-07-two-sum-explain.md",title:"Two Sum Explained",description:"DSA problem two sum explained",date:"2024-08-07T00:00:00.000Z",formattedDate:"August 7, 2024",tags:[{label:"Array",permalink:"/blog/tags/array"},{label:"LeetCode",permalink:"/blog/tags/leet-code"}],readingTime:2.945,hasTruncateMarker:!1,authors:[{name:"Akash Singh",title:"Founder, PrepVerse",github:"https://github.com/AkashSingh3031",linkedin:"https://www.linkedin.com/in/akashsingh3031",twitter:"https://x.com/akashsingh3031",imageURL:"https://github.com/AkashSingh3031.png",key:"AkashSingh3031"}],frontMatter:{title:"Two Sum Explained",description:"DSA problem two sum explained",slug:"two-sum",authors:"AkashSingh3031",tags:["Array","LeetCode"],is_featured:!1,image:"https://miro.medium.com/v2/resize:fit:1400/1*2x-CAwfeui5YM4148VxgRA.jpeg",hide_table_of_contents:!1},nextItem:{title:"The Complete Life Cycle of Creator God Brahma",permalink:"/blog/god-brahma"},relatedPosts:[],authorPosts:[{title:"The Complete Life Cycle of Creator God Brahma",description:"Exploring the Complete Life Cycle of Brahma & the Age of the Universe According to Vedas",permalink:"/blog/god-brahma",formattedDate:"February 18, 2024",authors:[{name:"Akash Singh",title:"Founder, PrepVerse",github:"https://github.com/AkashSingh3031",linkedin:"https://www.linkedin.com/in/akashsingh3031",twitter:"https://x.com/akashsingh3031",imageURL:"https://github.com/AkashSingh3031.png",key:"AkashSingh3031"}],readingTime:8.63,date:"2024-02-18T00:00:00.000Z"},{title:"The History of Bharatvarsha",description:"A Journey Through the History of Bharatvarsha from Satyug",permalink:"/blog/bharatvarsha",formattedDate:"February 1, 2024",authors:[{name:"Akash Singh",title:"Founder, PrepVerse",github:"https://github.com/AkashSingh3031",linkedin:"https://www.linkedin.com/in/akashsingh3031",twitter:"https://x.com/akashsingh3031",imageURL:"https://github.com/AkashSingh3031.png",key:"AkashSingh3031"}],readingTime:3.3,date:"2024-02-01T00:00:00.000Z"}]},m={authorsImageUrls:[void 0]},h=[{value:"PrepVerse | Three Approaches to Solving the Two Sum Problem",id:"prepverse--three-approaches-to-solving-the-two-sum-problem",level:2},{value:"Approach 1: Brute Force",id:"approach-1-brute-force",level:3},{value:"Approach 2: Two-pass Hash Table",id:"approach-2-two-pass-hash-table",level:3},{value:"Approach 3: One-pass Hash Table",id:"approach-3-one-pass-hash-table",level:3},{value:"Conclusion",id:"conclusion",level:3}],u=e=>function(t){return console.warn("Component "+e+" was not imported, exported, or provided by MDXProvider as global scope"),(0,a.yg)("div",t)},c=u("Tabs"),g=u("TabItem"),y={toc:h},b="wrapper";function d(e){var{components:t}=e,n=i(e,["components"]);return(0,a.yg)(b,o(function(e){for(var t=1;t{t.d(a,{Iu:()=>d,yg:()=>p});var n=t(1504);function i(e,a,t){return a in e?Object.defineProperty(e,a,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[a]=t,e}function r(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function o(e){for(var a=1;a=0||(i[t]=e[t]);return i}(e,a);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}var l=n.createContext({}),h=function(e){var a=n.useContext(l),t=a;return e&&(t="function"==typeof e?e(a):o(o({},a),e)),t},d=function(e){var a=h(e.components);return n.createElement(l.Provider,{value:a},e.children)},u="mdxType",c={inlineCode:"code",wrapper:function(e){var a=e.children;return n.createElement(n.Fragment,{},a)}},g=n.forwardRef((function(e,a){var t=e.components,i=e.mdxType,r=e.originalType,l=e.parentName,d=s(e,["components","mdxType","originalType","parentName"]),u=h(t),g=i,p=u["".concat(l,".").concat(g)]||u[g]||c[g]||r;return t?n.createElement(p,o(o({ref:a},d),{},{components:t})):n.createElement(p,o({ref:a},d))}));function p(e,a){var t=arguments,i=a&&a.mdxType;if("string"==typeof e||i){var r=t.length,o=new Array(r);o[0]=g;var s={};for(var l in a)hasOwnProperty.call(a,l)&&(s[l]=a[l]);s.originalType=e,s[u]="string"==typeof e?e:i,o[1]=s;for(var h=2;h{t.r(a),t.d(a,{assets:()=>d,contentTitle:()=>l,default:()=>p,frontMatter:()=>s,metadata:()=>h,toc:()=>u});t(1504);var n=t(5788);function i(e,a,t){return a in e?Object.defineProperty(e,a,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[a]=t,e}function r(e,a){return a=null!=a?a:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):function(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})),e}function o(e,a){if(null==e)return{};var t,n,i=function(e,a){if(null==e)return{};var t,n,i={},r=Object.keys(e);for(n=0;n=0||(i[t]=e[t]);return i}(e,a);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}const s={title:"The History of Bharatvarsha",description:"A Journey Through the History of Bharatvarsha from Satyug",slug:"bharatvarsha",authors:"AkashSingh3031",tags:["Bharatvarsha","Jambudweep","Bharatkhand","Bharat","Hindustan","Aryavarta","Ajnabhavarsh","Tenjiku","India"],is_featured:!1,image:"https://sc0.blr1.digitaloceanspaces.com/large/805990-article-dhyrizbzrt-1459438492.jpeg",hide_table_of_contents:!1},l=void 0,h={permalink:"/blog/bharatvarsha",source:"@site/blog/2024-02-01-history-of-bharatvarsha.md",title:"The History of Bharatvarsha",description:"A Journey Through the History of Bharatvarsha from Satyug",date:"2024-02-01T00:00:00.000Z",formattedDate:"February 1, 2024",tags:[{label:"Bharatvarsha",permalink:"/blog/tags/bharatvarsha"},{label:"Jambudweep",permalink:"/blog/tags/jambudweep"},{label:"Bharatkhand",permalink:"/blog/tags/bharatkhand"},{label:"Bharat",permalink:"/blog/tags/bharat"},{label:"Hindustan",permalink:"/blog/tags/hindustan"},{label:"Aryavarta",permalink:"/blog/tags/aryavarta"},{label:"Ajnabhavarsh",permalink:"/blog/tags/ajnabhavarsh"},{label:"Tenjiku",permalink:"/blog/tags/tenjiku"},{label:"India",permalink:"/blog/tags/india"}],readingTime:3.3,hasTruncateMarker:!1,authors:[{name:"Akash Singh",title:"Founder, PrepVerse",github:"https://github.com/AkashSingh3031",linkedin:"https://www.linkedin.com/in/akashsingh3031",twitter:"https://x.com/akashsingh3031",imageURL:"https://github.com/AkashSingh3031.png",key:"AkashSingh3031"}],frontMatter:{title:"The History of Bharatvarsha",description:"A Journey Through the History of Bharatvarsha from Satyug",slug:"bharatvarsha",authors:"AkashSingh3031",tags:["Bharatvarsha","Jambudweep","Bharatkhand","Bharat","Hindustan","Aryavarta","Ajnabhavarsh","Tenjiku","India"],is_featured:!1,image:"https://sc0.blr1.digitaloceanspaces.com/large/805990-article-dhyrizbzrt-1459438492.jpeg",hide_table_of_contents:!1},prevItem:{title:"The Complete Life Cycle of Creator God Brahma",permalink:"/blog/god-brahma"},relatedPosts:[{title:"The Complete Life Cycle of Creator God Brahma",description:"Exploring the Complete Life Cycle of Brahma & the Age of the Universe According to Vedas",permalink:"/blog/god-brahma",formattedDate:"February 18, 2024",authors:[{name:"Akash Singh",title:"Founder, PrepVerse",github:"https://github.com/AkashSingh3031",linkedin:"https://www.linkedin.com/in/akashsingh3031",twitter:"https://x.com/akashsingh3031",imageURL:"https://github.com/AkashSingh3031.png",key:"AkashSingh3031"}],readingTime:8.63,date:"2024-02-18T00:00:00.000Z"}],authorPosts:[{title:"The Complete Life Cycle of Creator God Brahma",description:"Exploring the Complete Life Cycle of Brahma & the Age of the Universe According to Vedas",permalink:"/blog/god-brahma",formattedDate:"February 18, 2024",authors:[{name:"Akash Singh",title:"Founder, PrepVerse",github:"https://github.com/AkashSingh3031",linkedin:"https://www.linkedin.com/in/akashsingh3031",twitter:"https://x.com/akashsingh3031",imageURL:"https://github.com/AkashSingh3031.png",key:"AkashSingh3031"}],readingTime:8.63,date:"2024-02-18T00:00:00.000Z"},{title:"Two Sum Explained",description:"DSA problem two sum explained",permalink:"/blog/two-sum",formattedDate:"August 7, 2024",authors:[{name:"Akash Singh",title:"Founder, PrepVerse",github:"https://github.com/AkashSingh3031",linkedin:"https://www.linkedin.com/in/akashsingh3031",twitter:"https://x.com/akashsingh3031",imageURL:"https://github.com/AkashSingh3031.png",key:"AkashSingh3031"}],readingTime:2.945,date:"2024-08-07T00:00:00.000Z"}]},d={authorsImageUrls:[void 0]},u=[{value:"Introduction:",id:"introduction",level:2},{value:"Satyug: The Age of Truth and Virtue",id:"satyug-the-age-of-truth-and-virtue",level:2},{value:"Treta Yuga: The Age of Sacred Epics",id:"treta-yuga-the-age-of-sacred-epics",level:2},{value:"Dvapara Yuga: The Age of Epic Battles and Divine Incarnations",id:"dvapara-yuga-the-age-of-epic-battles-and-divine-incarnations",level:2},{value:"Kali Yuga: The Age of Darkness and Spiritual Decline",id:"kali-yuga-the-age-of-darkness-and-spiritual-decline",level:2},{value:"Ancient Civilizations and Empires",id:"ancient-civilizations-and-empires",level:2},{value:"Medieval Dynasties and Cultural Flourishing",id:"medieval-dynasties-and-cultural-flourishing",level:2},{value:"Colonial Rule and Independence Struggle",id:"colonial-rule-and-independence-struggle",level:2},{value:"Modern India and Beyond",id:"modern-india-and-beyond",level:2},{value:"Conclusion:",id:"conclusion",level:3}],c={toc:u},g="wrapper";function p(e){var{components:a}=e,t=o(e,["components"]);return(0,n.yg)(g,r(function(e){for(var a=1;a{t.d(a,{Iu:()=>d,yg:()=>p});var n=t(1504);function r(e,a,t){return a in e?Object.defineProperty(e,a,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[a]=t,e}function i(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function o(e){for(var a=1;a=0||(r[t]=e[t]);return r}(e,a);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var l=n.createContext({}),h=function(e){var a=n.useContext(l),t=a;return e&&(t="function"==typeof e?e(a):o(o({},a),e)),t},d=function(e){var a=h(e.components);return n.createElement(l.Provider,{value:a},e.children)},u="mdxType",c={inlineCode:"code",wrapper:function(e){var a=e.children;return n.createElement(n.Fragment,{},a)}},g=n.forwardRef((function(e,a){var t=e.components,r=e.mdxType,i=e.originalType,l=e.parentName,d=s(e,["components","mdxType","originalType","parentName"]),u=h(t),g=r,p=u["".concat(l,".").concat(g)]||u[g]||c[g]||i;return t?n.createElement(p,o(o({ref:a},d),{},{components:t})):n.createElement(p,o({ref:a},d))}));function p(e,a){var t=arguments,r=a&&a.mdxType;if("string"==typeof e||r){var i=t.length,o=new Array(i);o[0]=g;var s={};for(var l in a)hasOwnProperty.call(a,l)&&(s[l]=a[l]);s.originalType=e,s[u]="string"==typeof e?e:r,o[1]=s;for(var h=2;h{t.r(a),t.d(a,{assets:()=>d,contentTitle:()=>l,default:()=>p,frontMatter:()=>s,metadata:()=>h,toc:()=>u});t(1504);var n=t(5788);function r(e,a,t){return a in e?Object.defineProperty(e,a,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[a]=t,e}function i(e,a){return a=null!=a?a:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):function(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})),e}function o(e,a){if(null==e)return{};var t,n,r=function(e,a){if(null==e)return{};var t,n,r={},i=Object.keys(e);for(n=0;n=0||(r[t]=e[t]);return r}(e,a);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}const s={title:"The History of Bharatvarsha",description:"A Journey Through the History of Bharatvarsha from Satyug",slug:"bharatvarsha",authors:"AkashSingh3031",tags:["Bharatvarsha","Jambudweep","Bharatkhand","Bharat","Hindustan","Aryavarta","Ajnabhavarsh","Tenjiku","India"],is_featured:!1,image:"https://sc0.blr1.digitaloceanspaces.com/large/805990-article-dhyrizbzrt-1459438492.jpeg",hide_table_of_contents:!1},l=void 0,h={permalink:"/blog/bharatvarsha",source:"@site/blog/2024-02-01-history-of-bharatvarsha.md",title:"The History of Bharatvarsha",description:"A Journey Through the History of Bharatvarsha from Satyug",date:"2024-02-01T00:00:00.000Z",formattedDate:"February 1, 2024",tags:[{label:"Bharatvarsha",permalink:"/blog/tags/bharatvarsha"},{label:"Jambudweep",permalink:"/blog/tags/jambudweep"},{label:"Bharatkhand",permalink:"/blog/tags/bharatkhand"},{label:"Bharat",permalink:"/blog/tags/bharat"},{label:"Hindustan",permalink:"/blog/tags/hindustan"},{label:"Aryavarta",permalink:"/blog/tags/aryavarta"},{label:"Ajnabhavarsh",permalink:"/blog/tags/ajnabhavarsh"},{label:"Tenjiku",permalink:"/blog/tags/tenjiku"},{label:"India",permalink:"/blog/tags/india"}],readingTime:3.3,hasTruncateMarker:!1,authors:[{name:"Akash Singh",title:"Founder, PrepVerse",github:"https://github.com/AkashSingh3031",linkedin:"https://www.linkedin.com/in/akashsingh3031",twitter:"https://x.com/akashsingh3031",imageURL:"https://github.com/AkashSingh3031.png",key:"AkashSingh3031"}],frontMatter:{title:"The History of Bharatvarsha",description:"A Journey Through the History of Bharatvarsha from Satyug",slug:"bharatvarsha",authors:"AkashSingh3031",tags:["Bharatvarsha","Jambudweep","Bharatkhand","Bharat","Hindustan","Aryavarta","Ajnabhavarsh","Tenjiku","India"],is_featured:!1,image:"https://sc0.blr1.digitaloceanspaces.com/large/805990-article-dhyrizbzrt-1459438492.jpeg",hide_table_of_contents:!1},prevItem:{title:"The Complete Life Cycle of Creator God Brahma",permalink:"/blog/god-brahma"},relatedPosts:[{title:"The Complete Life Cycle of Creator God Brahma",description:"Exploring the Complete Life Cycle of Brahma & the Age of the Universe According to Vedas",permalink:"/blog/god-brahma",formattedDate:"February 18, 2024",authors:[{name:"Akash Singh",title:"Founder, PrepVerse",github:"https://github.com/AkashSingh3031",linkedin:"https://www.linkedin.com/in/akashsingh3031",twitter:"https://x.com/akashsingh3031",imageURL:"https://github.com/AkashSingh3031.png",key:"AkashSingh3031"}],readingTime:8.63,date:"2024-02-18T00:00:00.000Z"}],authorPosts:[{title:"The Complete Life Cycle of Creator God Brahma",description:"Exploring the Complete Life Cycle of Brahma & the Age of the Universe According to Vedas",permalink:"/blog/god-brahma",formattedDate:"February 18, 2024",authors:[{name:"Akash Singh",title:"Founder, PrepVerse",github:"https://github.com/AkashSingh3031",linkedin:"https://www.linkedin.com/in/akashsingh3031",twitter:"https://x.com/akashsingh3031",imageURL:"https://github.com/AkashSingh3031.png",key:"AkashSingh3031"}],readingTime:8.63,date:"2024-02-18T00:00:00.000Z"}]},d={authorsImageUrls:[void 0]},u=[{value:"Introduction:",id:"introduction",level:2},{value:"Satyug: The Age of Truth and Virtue",id:"satyug-the-age-of-truth-and-virtue",level:2},{value:"Treta Yuga: The Age of Sacred Epics",id:"treta-yuga-the-age-of-sacred-epics",level:2},{value:"Dvapara Yuga: The Age of Epic Battles and Divine Incarnations",id:"dvapara-yuga-the-age-of-epic-battles-and-divine-incarnations",level:2},{value:"Kali Yuga: The Age of Darkness and Spiritual Decline",id:"kali-yuga-the-age-of-darkness-and-spiritual-decline",level:2},{value:"Ancient Civilizations and Empires",id:"ancient-civilizations-and-empires",level:2},{value:"Medieval Dynasties and Cultural Flourishing",id:"medieval-dynasties-and-cultural-flourishing",level:2},{value:"Colonial Rule and Independence Struggle",id:"colonial-rule-and-independence-struggle",level:2},{value:"Modern India and Beyond",id:"modern-india-and-beyond",level:2},{value:"Conclusion:",id:"conclusion",level:3}],c={toc:u},g="wrapper";function p(e){var{components:a}=e,t=o(e,["components"]);return(0,n.yg)(g,i(function(e){for(var a=1;a{e.d(t,{Iu:()=>u,yg:()=>d});var n=e(1504);function r(a,t,e){return t in a?Object.defineProperty(a,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):a[t]=e,a}function l(a,t){var e=Object.keys(a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(a);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(a,t).enumerable}))),e.push.apply(e,n)}return e}function i(a){for(var t=1;t=0||(r[e]=a[e]);return r}(a,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(a);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(a,e)&&(r[e]=a[e])}return r}var y=n.createContext({}),o=function(a){var t=n.useContext(y),e=t;return a&&(e="function"==typeof a?a(t):i(i({},t),a)),e},u=function(a){var t=o(a.components);return n.createElement(y.Provider,{value:t},a.children)},m="mdxType",s={inlineCode:"code",wrapper:function(a){var t=a.children;return n.createElement(n.Fragment,{},t)}},p=n.forwardRef((function(a,t){var e=a.components,r=a.mdxType,l=a.originalType,y=a.parentName,u=g(a,["components","mdxType","originalType","parentName"]),m=o(e),p=r,d=m["".concat(y,".").concat(p)]||m[p]||s[p]||l;return e?n.createElement(d,i(i({ref:t},u),{},{components:e})):n.createElement(d,i({ref:t},u))}));function d(a,t){var e=arguments,r=t&&t.mdxType;if("string"==typeof a||r){var l=e.length,i=new Array(l);i[0]=p;var g={};for(var y in t)hasOwnProperty.call(t,y)&&(g[y]=t[y]);g.originalType=a,g[m]="string"==typeof a?a:r,i[1]=g;for(var o=2;o{e.r(t),e.d(t,{assets:()=>u,contentTitle:()=>y,default:()=>d,frontMatter:()=>g,metadata:()=>o,toc:()=>m});e(1504);var n=e(5788);function r(a,t,e){return t in a?Object.defineProperty(a,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):a[t]=e,a}function l(a,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(t)):function(a,t){var e=Object.keys(a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(a);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(a,t).enumerable}))),e.push.apply(e,n)}return e}(Object(t)).forEach((function(e){Object.defineProperty(a,e,Object.getOwnPropertyDescriptor(t,e))})),a}function i(a,t){if(null==a)return{};var e,n,r=function(a,t){if(null==a)return{};var e,n,r={},l=Object.keys(a);for(n=0;n=0||(r[e]=a[e]);return r}(a,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(a);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(a,e)&&(r[e]=a[e])}return r}const g={title:"The Complete Life Cycle of Creator God Brahma",description:"Exploring the Complete Life Cycle of Brahma & the Age of the Universe According to Vedas",slug:"god-brahma",authors:"AkashSingh3031",tags:["Creator","God","Brahma","Universe","Bharat"],is_featured:!0,image:"https://i.redd.it/9rvim06rvdwb1.jpg",hide_table_of_contents:!1},y=void 0,o={permalink:"/blog/god-brahma",source:"@site/blog/2024-02-18-lifecycle-of-creator-god-brahma.md",title:"The Complete Life Cycle of Creator God Brahma",description:"Exploring the Complete Life Cycle of Brahma & the Age of the Universe According to Vedas",date:"2024-02-18T00:00:00.000Z",formattedDate:"February 18, 2024",tags:[{label:"Creator",permalink:"/blog/tags/creator"},{label:"God",permalink:"/blog/tags/god"},{label:"Brahma",permalink:"/blog/tags/brahma"},{label:"Universe",permalink:"/blog/tags/universe"},{label:"Bharat",permalink:"/blog/tags/bharat"}],readingTime:8.63,hasTruncateMarker:!1,authors:[{name:"Akash Singh",title:"Founder, PrepVerse",github:"https://github.com/AkashSingh3031",linkedin:"https://www.linkedin.com/in/akashsingh3031",twitter:"https://x.com/akashsingh3031",imageURL:"https://github.com/AkashSingh3031.png",key:"AkashSingh3031"}],frontMatter:{title:"The Complete Life Cycle of Creator God Brahma",description:"Exploring the Complete Life Cycle of Brahma & the Age of the Universe According to Vedas",slug:"god-brahma",authors:"AkashSingh3031",tags:["Creator","God","Brahma","Universe","Bharat"],is_featured:!0,image:"https://i.redd.it/9rvim06rvdwb1.jpg",hide_table_of_contents:!1},nextItem:{title:"The History of Bharatvarsha",permalink:"/blog/bharatvarsha"},relatedPosts:[{title:"The History of Bharatvarsha",description:"A Journey Through the History of Bharatvarsha from Satyug",permalink:"/blog/bharatvarsha",formattedDate:"February 1, 2024",authors:[{name:"Akash Singh",title:"Founder, PrepVerse",github:"https://github.com/AkashSingh3031",linkedin:"https://www.linkedin.com/in/akashsingh3031",twitter:"https://x.com/akashsingh3031",imageURL:"https://github.com/AkashSingh3031.png",key:"AkashSingh3031"}],readingTime:3.3,date:"2024-02-01T00:00:00.000Z"}],authorPosts:[{title:"The History of Bharatvarsha",description:"A Journey Through the History of Bharatvarsha from Satyug",permalink:"/blog/bharatvarsha",formattedDate:"February 1, 2024",authors:[{name:"Akash Singh",title:"Founder, PrepVerse",github:"https://github.com/AkashSingh3031",linkedin:"https://www.linkedin.com/in/akashsingh3031",twitter:"https://x.com/akashsingh3031",imageURL:"https://github.com/AkashSingh3031.png",key:"AkashSingh3031"}],readingTime:3.3,date:"2024-02-01T00:00:00.000Z"}]},u={authorsImageUrls:[void 0]},m=[{value:"100 Years (Lifespan: 2 Parardhas) of Brahma:",id:"100-years-lifespan-2-parardhas-of-brahma",level:3},{value:"50 Years (Parardhas) of Brahma:",id:"50-years-parardhas-of-brahma",level:3},{value:"1 Year of Brahma:",id:"1-year-of-brahma",level:3},{value:"1 Month of Brahma:",id:"1-month-of-brahma",level:3},{value:"1 Day(Kalpa) and 1 Night (Pralaya) of Brahma:",id:"1-daykalpa-and-1-night-pralaya-of-brahma",level:3},{value:"Maha-Kalpa and Maha-Pralaya:",id:"maha-kalpa-and-maha-pralaya",level:3},{value:"Current State within Brahma's Life Cycle:",id:"current-state-within-brahmas-life-cycle",level:2},{value:"Start date of current Kali Yuga:",id:"start-date-of-current-kali-yuga",level:2},{value:"Time Scales Between Humans and Brahma in Hindu Cosmology",id:"time-scales-between-humans-and-brahma-in-hindu-cosmology",level:2}],s={toc:m},p="wrapper";function d(a){var{components:t}=a,g=i(a,["components"]);return(0,n.yg)(p,l(function(a){for(var t=1;t{e.d(t,{c:()=>n});const n=e.p+"assets/images/BHALKA-d74d941a00e1d5ddec78c16a0f2d43b4.jpg"},5724:(a,t,e)=>{e.d(t,{c:()=>n});const n=e.p+"assets/images/God-Brahma-Lifecycle-7eb8c86b506d92e1986f56a018e255c1.png"},3712:(a,t,e)=>{e.d(t,{c:()=>n});const n=e.p+"assets/images/chatur-yuga-duration-04a7ccad6d16221847299c6fd2e3c078.png"},4700:(a,t,e)=>{e.d(t,{c:()=>n});const n=e.p+"assets/images/kali-yuga-duration-91eb26ae67cf727aa054f60ec8698dcf.png"},9904:(a,t,e)=>{e.d(t,{c:()=>n});const n=e.p+"assets/images/kalpa-duration-a7c424d93c104818edefae6311dbd6a1.png"},8864:(a,t,e)=>{e.d(t,{c:()=>n});const n=e.p+"assets/images/manavantara-duration-587a0311e3edcdc03a77f0aed782fd6d.png"}}]); \ No newline at end of file diff --git a/assets/js/4aa98c60.bb01c954.js b/assets/js/4aa98c60.bb01c954.js new file mode 100644 index 00000000..4798ee19 --- /dev/null +++ b/assets/js/4aa98c60.bb01c954.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[1768],{5788:(a,t,e)=>{e.d(t,{Iu:()=>u,yg:()=>d});var n=e(1504);function r(a,t,e){return t in a?Object.defineProperty(a,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):a[t]=e,a}function l(a,t){var e=Object.keys(a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(a);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(a,t).enumerable}))),e.push.apply(e,n)}return e}function i(a){for(var t=1;t=0||(r[e]=a[e]);return r}(a,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(a);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(a,e)&&(r[e]=a[e])}return r}var y=n.createContext({}),o=function(a){var t=n.useContext(y),e=t;return a&&(e="function"==typeof a?a(t):i(i({},t),a)),e},u=function(a){var t=o(a.components);return n.createElement(y.Provider,{value:t},a.children)},m="mdxType",s={inlineCode:"code",wrapper:function(a){var t=a.children;return n.createElement(n.Fragment,{},t)}},p=n.forwardRef((function(a,t){var e=a.components,r=a.mdxType,l=a.originalType,y=a.parentName,u=g(a,["components","mdxType","originalType","parentName"]),m=o(e),p=r,d=m["".concat(y,".").concat(p)]||m[p]||s[p]||l;return e?n.createElement(d,i(i({ref:t},u),{},{components:e})):n.createElement(d,i({ref:t},u))}));function d(a,t){var e=arguments,r=t&&t.mdxType;if("string"==typeof a||r){var l=e.length,i=new Array(l);i[0]=p;var g={};for(var y in t)hasOwnProperty.call(t,y)&&(g[y]=t[y]);g.originalType=a,g[m]="string"==typeof a?a:r,i[1]=g;for(var o=2;o{e.r(t),e.d(t,{assets:()=>u,contentTitle:()=>y,default:()=>d,frontMatter:()=>g,metadata:()=>o,toc:()=>m});e(1504);var n=e(5788);function r(a,t,e){return t in a?Object.defineProperty(a,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):a[t]=e,a}function l(a,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(t)):function(a,t){var e=Object.keys(a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(a);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(a,t).enumerable}))),e.push.apply(e,n)}return e}(Object(t)).forEach((function(e){Object.defineProperty(a,e,Object.getOwnPropertyDescriptor(t,e))})),a}function i(a,t){if(null==a)return{};var e,n,r=function(a,t){if(null==a)return{};var e,n,r={},l=Object.keys(a);for(n=0;n=0||(r[e]=a[e]);return r}(a,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(a);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(a,e)&&(r[e]=a[e])}return r}const g={title:"The Complete Life Cycle of Creator God Brahma",description:"Exploring the Complete Life Cycle of Brahma & the Age of the Universe According to Vedas",slug:"god-brahma",authors:"AkashSingh3031",tags:["Creator","God","Brahma","Universe","Bharat"],is_featured:!0,image:"https://i.redd.it/9rvim06rvdwb1.jpg",hide_table_of_contents:!1},y=void 0,o={permalink:"/blog/god-brahma",source:"@site/blog/2024-02-18-lifecycle-of-creator-god-brahma.md",title:"The Complete Life Cycle of Creator God Brahma",description:"Exploring the Complete Life Cycle of Brahma & the Age of the Universe According to Vedas",date:"2024-02-18T00:00:00.000Z",formattedDate:"February 18, 2024",tags:[{label:"Creator",permalink:"/blog/tags/creator"},{label:"God",permalink:"/blog/tags/god"},{label:"Brahma",permalink:"/blog/tags/brahma"},{label:"Universe",permalink:"/blog/tags/universe"},{label:"Bharat",permalink:"/blog/tags/bharat"}],readingTime:8.63,hasTruncateMarker:!1,authors:[{name:"Akash Singh",title:"Founder, PrepVerse",github:"https://github.com/AkashSingh3031",linkedin:"https://www.linkedin.com/in/akashsingh3031",twitter:"https://x.com/akashsingh3031",imageURL:"https://github.com/AkashSingh3031.png",key:"AkashSingh3031"}],frontMatter:{title:"The Complete Life Cycle of Creator God Brahma",description:"Exploring the Complete Life Cycle of Brahma & the Age of the Universe According to Vedas",slug:"god-brahma",authors:"AkashSingh3031",tags:["Creator","God","Brahma","Universe","Bharat"],is_featured:!0,image:"https://i.redd.it/9rvim06rvdwb1.jpg",hide_table_of_contents:!1},prevItem:{title:"Two Sum Explained",permalink:"/blog/two-sum"},nextItem:{title:"The History of Bharatvarsha",permalink:"/blog/bharatvarsha"},relatedPosts:[{title:"The History of Bharatvarsha",description:"A Journey Through the History of Bharatvarsha from Satyug",permalink:"/blog/bharatvarsha",formattedDate:"February 1, 2024",authors:[{name:"Akash Singh",title:"Founder, PrepVerse",github:"https://github.com/AkashSingh3031",linkedin:"https://www.linkedin.com/in/akashsingh3031",twitter:"https://x.com/akashsingh3031",imageURL:"https://github.com/AkashSingh3031.png",key:"AkashSingh3031"}],readingTime:3.3,date:"2024-02-01T00:00:00.000Z"}],authorPosts:[{title:"The History of Bharatvarsha",description:"A Journey Through the History of Bharatvarsha from Satyug",permalink:"/blog/bharatvarsha",formattedDate:"February 1, 2024",authors:[{name:"Akash Singh",title:"Founder, PrepVerse",github:"https://github.com/AkashSingh3031",linkedin:"https://www.linkedin.com/in/akashsingh3031",twitter:"https://x.com/akashsingh3031",imageURL:"https://github.com/AkashSingh3031.png",key:"AkashSingh3031"}],readingTime:3.3,date:"2024-02-01T00:00:00.000Z"},{title:"Two Sum Explained",description:"DSA problem two sum explained",permalink:"/blog/two-sum",formattedDate:"August 7, 2024",authors:[{name:"Akash Singh",title:"Founder, PrepVerse",github:"https://github.com/AkashSingh3031",linkedin:"https://www.linkedin.com/in/akashsingh3031",twitter:"https://x.com/akashsingh3031",imageURL:"https://github.com/AkashSingh3031.png",key:"AkashSingh3031"}],readingTime:2.945,date:"2024-08-07T00:00:00.000Z"}]},u={authorsImageUrls:[void 0]},m=[{value:"100 Years (Lifespan: 2 Parardhas) of Brahma:",id:"100-years-lifespan-2-parardhas-of-brahma",level:3},{value:"50 Years (Parardhas) of Brahma:",id:"50-years-parardhas-of-brahma",level:3},{value:"1 Year of Brahma:",id:"1-year-of-brahma",level:3},{value:"1 Month of Brahma:",id:"1-month-of-brahma",level:3},{value:"1 Day(Kalpa) and 1 Night (Pralaya) of Brahma:",id:"1-daykalpa-and-1-night-pralaya-of-brahma",level:3},{value:"Maha-Kalpa and Maha-Pralaya:",id:"maha-kalpa-and-maha-pralaya",level:3},{value:"Current State within Brahma's Life Cycle:",id:"current-state-within-brahmas-life-cycle",level:2},{value:"Start date of current Kali Yuga:",id:"start-date-of-current-kali-yuga",level:2},{value:"Time Scales Between Humans and Brahma in Hindu Cosmology",id:"time-scales-between-humans-and-brahma-in-hindu-cosmology",level:2}],s={toc:m},p="wrapper";function d(a){var{components:t}=a,g=i(a,["components"]);return(0,n.yg)(p,l(function(a){for(var t=1;t{e.d(t,{c:()=>n});const n=e.p+"assets/images/BHALKA-d74d941a00e1d5ddec78c16a0f2d43b4.jpg"},5724:(a,t,e)=>{e.d(t,{c:()=>n});const n=e.p+"assets/images/God-Brahma-Lifecycle-7eb8c86b506d92e1986f56a018e255c1.png"},3712:(a,t,e)=>{e.d(t,{c:()=>n});const n=e.p+"assets/images/chatur-yuga-duration-04a7ccad6d16221847299c6fd2e3c078.png"},4700:(a,t,e)=>{e.d(t,{c:()=>n});const n=e.p+"assets/images/kali-yuga-duration-91eb26ae67cf727aa054f60ec8698dcf.png"},9904:(a,t,e)=>{e.d(t,{c:()=>n});const n=e.p+"assets/images/kalpa-duration-a7c424d93c104818edefae6311dbd6a1.png"},8864:(a,t,e)=>{e.d(t,{c:()=>n});const n=e.p+"assets/images/manavantara-duration-587a0311e3edcdc03a77f0aed782fd6d.png"}}]); \ No newline at end of file diff --git a/assets/js/4ce25c6f.1e269035.js b/assets/js/4ce25c6f.1e269035.js deleted file mode 100644 index 5e9d850d..00000000 --- a/assets/js/4ce25c6f.1e269035.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[104],{1440:e=>{e.exports=JSON.parse('{"pluginId":"default","version":"1.DS.Algo","label":"1.DS.Algo","banner":"unmaintained","badge":true,"noIndex":false,"className":"docs-version-1.DS.Algo","isLast":false,"docsSidebars":{"someSidebar":[{"type":"category","label":"Getting Started","className":"category-as-header","items":[{"type":"link","label":"Overview","href":"/docs/1.DS.Algo/","docId":"getting-started/overview"}],"collapsed":true,"collapsible":true},{"type":"link","href":"/prepverse-community","label":"Prepverse Community","className":"enterprise-badge"},{"type":"category","label":"Data Structures","className":"category-as-header","items":[{"type":"category","label":"Array","items":[{"type":"link","label":"Introductio to Array","href":"/docs/1.DS.Algo/data-structures/array/arrayIntro","docId":"data-structures/array/arrayIntro"}],"collapsed":true,"collapsible":true}],"collapsed":true,"collapsible":true},{"type":"category","label":"Algorithms","className":"category-as-header","items":[{"type":"category","label":"Analysis of Algorithms","items":[{"type":"link","label":"Quick Start Guide","href":"/docs/1.DS.Algo/getting-started/quickstart","docId":"getting-started/quickstart"}],"collapsed":true,"collapsible":true}],"collapsed":true,"collapsible":true}]},"docs":{"data-structures/array/arrayIntro":{"id":"data-structures/array/arrayIntro","title":"Introductio to Array","description":"An array is a basic data structure to store a collection of elements sequentially. But elements can be accessed randomly since each element in the array can be identified by an array index.","sidebar":"someSidebar"},"getting-started/overview":{"id":"getting-started/overview","title":"Overview","description":"","sidebar":"someSidebar"},"getting-started/quickstart":{"id":"getting-started/quickstart","title":"Quick Start Guide","description":"","sidebar":"someSidebar"}}}')}}]); \ No newline at end of file diff --git a/assets/js/4ce25c6f.fed28d05.js b/assets/js/4ce25c6f.fed28d05.js new file mode 100644 index 00000000..93fcce60 --- /dev/null +++ b/assets/js/4ce25c6f.fed28d05.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[104],{1440:e=>{e.exports=JSON.parse('{"pluginId":"default","version":"1.DS.Algo","label":"1.DS.Algo","banner":"unmaintained","badge":true,"noIndex":false,"className":"docs-version-1.DS.Algo","isLast":false,"docsSidebars":{"someSidebar":[{"type":"category","label":"Getting Started","className":"category-as-header","items":[{"type":"link","label":"Overview","href":"/docs/1.DS.Algo/","docId":"getting-started/overview"}],"collapsed":true,"collapsible":true},{"type":"link","href":"https://prepverse.vercel.app/prepverse-community","label":"Prepverse Community","className":"enterprise-badge"},{"type":"category","label":"Data Structures","className":"category-as-header","items":[{"type":"category","label":"Array","items":[{"type":"link","label":"Introductio to Array","href":"/docs/1.DS.Algo/data-structures/array/arrayIntro","docId":"data-structures/array/arrayIntro"}],"collapsed":true,"collapsible":true}],"collapsed":true,"collapsible":true},{"type":"category","label":"Algorithms","className":"category-as-header","items":[{"type":"category","label":"Analysis of Algorithms","items":[{"type":"link","label":"Quick Start Guide","href":"/docs/1.DS.Algo/getting-started/quickstart","docId":"getting-started/quickstart"}],"collapsed":true,"collapsible":true}],"collapsed":true,"collapsible":true}]},"docs":{"data-structures/array/arrayIntro":{"id":"data-structures/array/arrayIntro","title":"Introductio to Array","description":"An array is a basic data structure to store a collection of elements sequentially. But elements can be accessed randomly since each element in the array can be identified by an array index.","sidebar":"someSidebar"},"getting-started/overview":{"id":"getting-started/overview","title":"Overview","description":"","sidebar":"someSidebar"},"getting-started/quickstart":{"id":"getting-started/quickstart","title":"Quick Start Guide","description":"","sidebar":"someSidebar"}}}')}}]); \ No newline at end of file diff --git a/assets/js/6875c492.7cf81a90.js b/assets/js/6875c492.7cf81a90.js new file mode 100644 index 00000000..17c9a967 --- /dev/null +++ b/assets/js/6875c492.7cf81a90.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2392],{8164:(e,t,r)=>{r.d(t,{c:()=>l});var n=r(1504),a=r(8952);function l({children:e,fallback:t}){var r;return(0,a.c)()?n.createElement(n.Fragment,null,null===(r=e)||void 0===r?void 0:r()):null!=t?t:null}},6280:(e,t,r)=>{r.d(t,{c:()=>m});var n=r(1504),a=r(4971),l=r(3652),o=r(5628),c=r(476),i=r(1580);const s={backToTopButton:"backToTopButton_sjWU",backToTopButtonShow:"backToTopButtonShow_xfvO"};function m(){const{shown:e,scrollToTop:t}=function({threshold:e}){const[t,r]=(0,n.useState)(!1),a=(0,n.useRef)(!1),{startScroll:l,cancelScroll:o}=(0,c.yI)();return(0,c.SM)((({scrollY:t},n)=>{var l;const c=null===(l=n)||void 0===l?void 0:l.scrollY;c&&(a.current?a.current=!1:t>=c?(o(),r(!1)):t{e.location.hash&&(a.current=!0,r(!1))})),{shown:t,scrollToTop:()=>l(0)}}({threshold:300});return n.createElement("button",{"aria-label":(0,l.G)({id:"theme.BackToTopButton.buttonAriaLabel",message:"Scroll back to top",description:"The ARIA label for the back to top button"}),className:(0,a.c)("clean-btn",o.W.common.backToTopButton,s.backToTopButton,e&&s.backToTopButtonShow),type:"button",onClick:t})}},3270:(e,t,r)=>{r.d(t,{c:()=>o});var n=r(1504),a=r(1080),l=r(468);function o({children:e,className:t}){const{frontMatter:r,assets:o}=(0,l.g)(),{withBaseUrl:c}=(0,a.E)();var i;const s=null!==(i=o.image)&&void 0!==i?i:r.image;return n.createElement("article",{className:t,itemProp:"blogPost",itemScope:!0,itemType:"http://schema.org/BlogPosting"},s&&n.createElement("meta",{itemProp:"image",content:c(s,{absolute:!0})}),e)}},468:(e,t,r)=>{r.d(t,{E:()=>o,g:()=>c});var n=r(1504),a=r(8476);const l=n.createContext(null);function o({children:e,content:t,isBlogPostPage:r=!1}){const a=function({content:e,isBlogPostPage:t}){return(0,n.useMemo)((()=>({metadata:e.metadata,frontMatter:e.frontMatter,assets:e.assets,toc:e.toc,isBlogPostPage:t})),[e,t])}({content:t,isBlogPostPage:r});return n.createElement(l.Provider,{value:a},e)}function c(){const e=(0,n.useContext)(l);if(null===e)throw new a.AH("BlogPostProvider");return e}},5628:(e,t,r)=>{r.d(t,{W:()=>n});const n={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-page",docsDocPage:"docs-doc-page",docsTagsListPage:"docs-tags-list-page",docsTagDocListPage:"docs-tags-doc-list-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docsPages:"docs-wrapper",mdxPages:"mdx-wrapper"},common:{editThisPage:"theme-edit-this-page",lastUpdated:"theme-last-updated",backToTopButton:"theme-back-to-top-button",codeBlock:"theme-code-block",admonition:"theme-admonition",admonitionType:e=>`theme-admonition-${e}`},layout:{},docs:{docVersionBanner:"theme-doc-version-banner",docVersionBadge:"theme-doc-version-badge",docBreadcrumbs:"theme-doc-breadcrumbs",docMarkdown:"theme-doc-markdown",docTocMobile:"theme-doc-toc-mobile",docTocDesktop:"theme-doc-toc-desktop",docFooter:"theme-doc-footer",docFooterTagsRow:"theme-doc-footer-tags-row",docFooterEditMetaRow:"theme-doc-footer-edit-meta-row",docSidebarContainer:"theme-doc-sidebar-container",docSidebarMenu:"theme-doc-sidebar-menu",docSidebarItemCategory:"theme-doc-sidebar-item-category",docSidebarItemLink:"theme-doc-sidebar-item-link",docSidebarItemCategoryLevel:e=>`theme-doc-sidebar-item-category-level-${e}`,docSidebarItemLinkLevel:e=>`theme-doc-sidebar-item-link-level-${e}`},blog:{}}},3688:(e,t,r)=>{r.d(t,{A:()=>s});var n=r(1504),a=r(9936);const l=["zero","one","two","few","many","other"];function o(e){return l.filter((t=>e.includes(t)))}const c={locale:"en",pluralForms:o(["one","other"]),select:e=>1===e?"one":"other"};function i(){const{i18n:{currentLocale:e}}=(0,a.c)();return(0,n.useMemo)((()=>{try{return function(e){const t=new Intl.PluralRules(e);return{locale:e,pluralForms:o(t.resolvedOptions().pluralCategories),select:e=>t.select(e)}}(e)}catch(t){return console.error(`Failed to use Intl.PluralRules for locale "${e}".\nDocusaurus will fallback to the default (English) implementation.\nError: ${t.message}\n`),c}}),[e])}function s(){const e=i();return{selectMessage:(t,r)=>function(e,t,r){const n=e.split("|");if(1===n.length)return n[0];n.length>r.pluralForms.length&&console.error(`For locale=${r.locale}, a maximum of ${r.pluralForms.length} plural forms are expected (${r.pluralForms.join(",")}), but the message contains ${n.length}: ${e}`);const a=r.select(t),l=r.pluralForms.indexOf(a);return n[Math.min(l,n.length-1)]}(r,t,e)}}},1904:(e,t,r)=>{r.d(t,{iI:()=>a,S_:()=>c});var n=r(1504);function a({date:e,formattedDate:t}){return n.createElement("time",{dateTime:e,itemProp:"datePublished"},t)}var l=r(3688),o=r(3652);function c({readingTime:e}){const t=function(){const{selectMessage:e}=(0,l.A)();return t=>{const r=Math.ceil(t);return e(r,(0,o.G)({id:"theme.blog.post.readingTime.plurals",description:'Pluralized label for "{readingTime} min read". Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)',message:"One min read|{readingTime} min read"},{readingTime:r}))}}();return n.createElement(n.Fragment,null,t(e))}},3680:(e,t,r)=>{r.d(t,{u:()=>l});var n=r(1504),a=r(3120);const l=e=>n.createElement(a.E,e)},5880:(e,t,r)=>{r.d(t,{E:()=>m});var n=r(4971),a=r(1504),l=r(2268),o=r(2424),c=r(7104),i=r(3200),s=r(8164);const m=e=>(a.useEffect((()=>(e.open?document.body.style.overflow="hidden":document.body.style.overflow="auto",()=>{document.body.style.overflow="auto"})),[e.open]),a.createElement(s.c,null,(()=>(0,c.createPortal)(a.createElement(u,e),document.body)))),u=({children:e,title:t,open:r,onClose:c,variant:s})=>{const[m,u]=a.useState(48),{scrollY:d}=(0,i.Q)(),f=a.useRef(null);var g,p;return g=f,p=e=>{e.stopPropagation(),c()},a.useEffect((()=>{const e=e=>{g.current&&!g.current.contains(e.target)&&(e.preventDefault(),p(e))};return document.addEventListener("click",e,!0),()=>{document.removeEventListener("click",e,!0)}}),[g]),((e,t,r)=>{a.useEffect((()=>{const n=n=>{e.current&&t.includes(n.key)&&(n.preventDefault(),r(n))};return document.addEventListener("keydown",n,!0),()=>{document.removeEventListener("keydown",n,!0)}}),[e])})(f,["Escape"],(()=>{c()})),a.useEffect((()=>{const e=d.onChange((e=>{u(e>=48?0:48-e)}));return()=>e()}),[]),a.createElement("div",{style:{top:m},className:(0,n.c)("fixed","right-0 bottom-0","z-modal",!r&&"pointer-events-none")},a.createElement(o.O,{ref:f,as:"div",className:(0,n.c)("z-modal","flex flex-col","w-[240px] h-full","ml-auto","p-4","templates"===s&&"bg-gray-0 dark:bg-gray-900","blog"===s&&"bg-white dark:bg-refine-react-7","border-l dark:border-gray-800","dark:shadow-[0_0_72px_24px_#14141F]","shadow-[0_0_72px_24px_rgba(20, 20, 31, 0.50)]"),show:r,enter:"transition-transform duration-300 transition-ease-in-out",enterFrom:"translate-x-full",enterTo:"translate-x-0",leave:"transition-transform duration-300 transition-ease-in-out",leaveFrom:"translate-x-0",leaveTo:"translate-x-full"},a.createElement("div",{className:(0,n.c)("flex","items-center","justify-between","mb-10","dark:text-gray-300 text-gray-900")},a.createElement("h3",{className:(0,n.c)("text-base","font-semibold")},t),a.createElement("button",{type:"button",className:(0,n.c)("appearance-none"),onClick:c},a.createElement(l.O,null))),a.createElement("div",{className:(0,n.c)("overflow-auto h-full")},e)))}},6968:(e,t,r)=>{r.d(t,{m:()=>U});var n=r(9184),a=r(4971),l=r(3200),o=r(344),c=r(6076),i=r(1504),s=r(1980),m=r(8804),u=r(6098);const d=[{isPopover:!0,label:"Docs",items:[{label:"Foundation Docs",description:"Learn C++, Python & Java",link:"https://prepverse.vercel.app/docs",icon:u.C3},{label:"DSA Docs",description:"Learning DSA in C++, Python & Java",link:"https://prepverse.vercel.app/docs/1.DS.Algo",icon:u.uI}]},{isPopover:!0,label:"CodePoint",items:[{label:"Expert Sheet Solutions",description:"Most popular coding questions solutions asked during SDE interviews.",link:"https://prepverse.github.io/CodePoint/preface",icon:u.C3},{label:"Coding Ninjas Series",description:"Coding Ninjas Studio Guided Path Solutions",link:"https://prepverse.github.io/CodePoint/learning_resources/CN_Series/preface",icon:u.oh},{label:"LeetVerse",description:"Leetcode problem solutions with full probelm statements in C++, Python & Java",link:"https://prepverse.github.io/LeetVerse",icon:u.Ew}]},{isPopover:!0,label:"About",items:[{label:"About Me",description:"My information.",link:"https://prepverse.vercel.app/AkashSingh3031",icon:u.kv},{label:"Project Showcase",description:"PrepVerse open-source projects",link:"https://prepverse.vercel.app/showcase",icon:u.w9},{label:"My Portfolio",description:"All info about me",link:"https://prepverse.github.io/portfolio",icon:u.BE}]},{isPopover:!1,label:"Blog",href:"https://prepverse.vercel.app/blog",icon:u.s1},{isPopover:!1,label:"PrepVerse Community",href:"https://prepverse.vercel.app/prepverse-community",icon:u.vn}],f=({item:e,variant:t="landing"})=>{const r=e.icon;return i.createElement(n.c,{to:e.link,className:"no-underline"},i.createElement("div",{className:(0,a.c)("flex items-center","p-4","transition duration-150 ease-in-out","rounded-lg","hover:bg-gray-100","landing"===t&&"dark:hover:bg-gray-800","blog"===t&&"dark:hover:bg-refine-react-8")},i.createElement("div",{className:"shrink-0"},i.createElement(r,null)),i.createElement("div",{className:"ml-2"},i.createElement("div",{className:(0,a.c)("landing"===t&&"text-gray-900 dark:text-white","blog"===t&&"text-refine-react-8 dark:text-refine-react-3","font-semibold")},e.label),i.createElement("div",{className:(0,a.c)("landing"===t&&"text-gray-500 dark:text-gray-400","blog"===t&&"text-refine-react-5 dark:text-refine-react-4","text-xs")},e.description))))},g=({item:e})=>{const[t,r]=(0,i.useState)(null);(0,i.useEffect)((()=>(r(localStorage.getItem("theme")||null),window.addEventListener("storage",l,!1),()=>{window.removeEventListener("storage",l,!1)})),[]);const l=()=>{r(localStorage.getItem("theme")||null)};let o=e.icon;return"Cloud"===e.label&&(o="light"===t?u.oz:e.icon),i.createElement(n.c,{key:e.label,to:e.href,className:(0,a.c)("inline-flex items-center gap-2","text-sm leading-6 font-normal text-gray-900 dark:text-gray-300","transition-colors duration-150 ease-in-out","no-underline","Hackathon"===e.label?["py-1","px-2","rounded-lg","bg-hackathon-button-bg","animate-hackathon-button-bg","bg-refine-bg","text-gray-0","bg-[length:200%_100%]","text-[14px]","hover:text-gray-0"]:["hover:text-gray-900 dark:hover:text-white"])},e.icon&&i.createElement(o,null),e.label)};var p=r(640),b=r(5224),h=r(2424),y=r(4577);const v=({item:e,variant:t="landing",children:r})=>{const[n,l]=(0,i.useState)(!1),o=i.useRef(null),c=i.useRef(null),s=(0,p.IT)();return i.useEffect((()=>{l(!1)}),[s]),i.createElement(b._,{id:`popover-${e.label}`,key:e.label,className:(0,a.c)("relative","inline-flex items-center"),onMouseEnter:()=>{c.current=setTimeout((()=>l(!0)),210),clearTimeout(o.current)},onMouseLeave:()=>{o.current=setTimeout((()=>l(!1)),210),clearTimeout(c.current)}},(()=>i.createElement(i.Fragment,null,i.createElement(b._.Button,{className:(0,a.c)("inline-flex items-center","text-sm leading-6","font-normal")},i.createElement("span",{className:(0,a.c)("landing"===t&&"text-gray-900 dark:text-gray-300","blog"===t&&"text-refine-react-8 dark:text-refine-react-3","transition-colors duration-150 ease-in-out inline-block")},e.label),i.createElement(y.w,{"aria-hidden":"true",className:(0,a.c)("transition duration-150 ease-out","-mr-2","landing"===t&&"text-gray-500 dark:text-gray-400","blog"===t&&"text-refine-react-4",n?"translate-y-0.5":"")})),i.createElement(h.O,{as:i.Fragment,enter:"transition ease-in duration-150",enterFrom:"opacity-0 translate-y-3",enterTo:"opacity-100 translate-y-0",leave:"transition ease-out duration-150",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 translate-y-3",show:n},i.createElement(b._.Panel,{className:(0,a.c)("absolute","z-50","top-12",{"-left-32 center-point":"Docs"===e.label||"About"===e.label,"left-point":"CodePoint"===e.label})},i.createElement(u.WR,{id:e.label,variant:t,className:(0,a.c)("absolute","top-[-9px]",{"left-1/2":"CodePoint"!==e.label,"left-12":"CodePoint"===e.label}),style:{transform:"translateX(-50%)"}}),i.createElement("div",{className:(0,a.c)("overflow-hidden","rounded-xl","landing"===t&&"border dark:border-gray-700 border-gray-200","landing"===t&&"dark:shadow-menu-dark shadow-menu-light","blog"===t&&"border border-refine-react-3 dark:border-refine-react-6","blog"===t&&"dark:shadow-menu-blog-dark shadow-menu-blog-light")},r))))))},w=({variant:e="landing"})=>i.createElement(i.Fragment,null,d.map((t=>t.isPopover?i.createElement(v,{key:`navbar-${t.label}`,item:t,variant:e},"CodePoint"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,a.c)("grid grid-cols-2 gap-4","p-4","w-[672px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(f,{key:t.label,item:t,variant:e})))),i.createElement(n.c,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,a.c)("border-t","blog"===e&&"border-refine-react-3 dark:border-refine-react-6","landing"===e&&"border-gray-300 dark:border-gray-700","landing"===e&&"bg-gray-100 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-7","flex items-center","py-4 px-7")},i.createElement(u._2,null),i.createElement("div",{className:(0,a.c)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))),"About"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,a.c)("grid gap-4","p-4","w-[336px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(f,{key:t.label,item:t,variant:e})))),i.createElement("div",{className:(0,a.c)("border-t","blog"===e&&"border-refine-react-3 dark:border-refine-react-6","landing"===e&&"border-gray-300 dark:border-gray-700","landing"===e&&"bg-gray-100 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-7","flex justify-between items-center","py-4 px-7")},i.createElement("div",{className:(0,a.c)("landing"===e&&"text-gray-600 dark:text-gray-400 ","blog"===e&&"text-refine-react-5 dark:text-refine-react-4")},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.c,{to:"https://github.com/AkashSingh3031",className:(0,a.c)("no-underline","hover:text-inherit")},i.createElement(u.A9,{className:"dark:text-gray-400 text-gray-500"})),i.createElement(n.c,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(u.Ed,null)),i.createElement(n.c,{to:"https://instagram.com/akash.singh3031"},i.createElement(u.Yf,null)),i.createElement(n.c,{to:"https://x.com/akashsingh3031"},i.createElement(u.CC,null))))),"Docs"===t.label&&i.createElement("div",{className:(0,a.c)("grid gap-4","p-4","w-[336px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(f,{key:t.label,item:t,variant:e}))))):i.createElement(g,{key:`navbar-${t.label}`,item:t,variant:e}))));var x=r(2276),O=r(7008),E=r(9072),C=r(2268);function k(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const j=e=>i.createElement("svg",function(e){for(var t=1;ti.createElement("svg",function(e){for(var t=1;t{const[c,s]=(0,i.useState)(null),m=null!=r?r:n.c,d=void 0!==l&&void 0===t;return(0,i.useEffect)((()=>{const e=document.querySelector("html").getAttribute("data-theme");s(e)}),[]),i.createElement(m,function(e){for(var t=1;t{const r=(0,p.IT)();return i.useEffect((()=>{t(!1)}),[r]),i.createElement(F,{isModalOpen:e,setIsModalOpen:t},i.createElement(V,{className:(0,a.c)("hidden landing-sm:block","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}),i.createElement(Z,{className:(0,a.c)("block landing-sm:hidden","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}))},F=({isModalOpen:e,setIsModalOpen:t,children:r})=>i.createElement(h.O,{appear:!0,show:e,as:i.Fragment},i.createElement(x.C,{as:"div",className:"relative z-10",onClose:()=>t(!1)},i.createElement(h.O.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},i.createElement("div",{className:(0,a.c)("fixed inset-0","bg-gray-0 dark:bg-gray-900","flex","flex-col")},i.createElement(M.Q,null),i.createElement("div",{className:(0,a.c)("flex items-center justify-between","p-4","landing-sm:px-8")},i.createElement(m.m,{className:"dark:text-gray-0 text-gray-900"}),i.createElement("button",{type:"button",className:(0,a.c)("rounded-lg","hover:brightness-105","active:scale-90","transition-transform duration-75 ease-in-out")},i.createElement(C.O,{className:"text-gray-900 dark:text-white",onClick:()=>t(!1)}))),i.createElement(h.O.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-75",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95"},i.createElement("div",{className:(0,a.c)("flex-1","overflow-y-auto","px-4","pb-4")},r)))))),V=e=>i.createElement("div",{className:(0,a.c)(e.className)},d.map(((e,t)=>{const r="icon"in e&&e.icon;return i.createElement("div",{key:t,className:(0,a.c)("not-prose","p-4","border-t dark:border-gray-700 border-gray-200")},i.createElement(n.c,{to:"href"in e?e.href:void 0,className:(0,a.c)("appearance-none","block","no-underline","dark:text-gray-0 text-gray-900","font-bold")},i.createElement("div",{className:(0,a.c)("flex items-center gap-2")},i.createElement("div",null,e.label),r&&i.createElement(r,null))),"items"in e&&i.createElement("div",{className:(0,a.c)("mt-2","grid grid-cols-2 min-[800px]:grid-cols-3","gap-x-8 gap-y-4")},e.items.map((e=>i.createElement(f,{key:e.label,item:e})))))})),i.createElement(R,null),i.createElement(H,{id:"tablet"}),i.createElement(T,{id:"tablet"})),Z=e=>i.createElement("div",{className:(0,a.c)(e.className)},i.createElement("div",{className:"flex-grow"},d.map((e=>e.isPopover?i.createElement(O.C,{key:`modal-${e.label}`},(({open:t})=>i.createElement(i.Fragment,null,i.createElement(L,{component:O.C.Button,label:e.label,open:t}),i.createElement(O.C.Panel,{className:(0,a.c)(t&&"pb-4",t&&"border-b border-gray-200 dark:border-gray-700")},e.items.map((e=>i.createElement(f,{key:e.label,item:e}))))))):i.createElement(L,{key:`modal-${e.label}`,label:e.label,href:e.href,icon:e.icon})))),i.createElement(R,null),i.createElement(H,{id:"phone"}),i.createElement(T,{id:"phone"})),T=e=>{var t;return i.createElement(n.c,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,a.c)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex items-center","p-4")},i.createElement(u._2,{id:(null===(t=e)||void 0===t?void 0:t.id)||""}),i.createElement("div",{className:(0,a.c)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))},H=e=>{var t;return i.createElement("div",{className:(0,a.c)("bg-white dark:bg-gray-700 header-sm:bg-inherit","flex justify-between items-center","header-sm:flex-col header-sm:gap-4","header-sm:border-b border-gray-200 dark:border-gray-600","py-3 px-4")},i.createElement("p",{className:"text-gray-500 dark:text-gray-300 font-semibold"},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.c,{to:"https://github.com/AkashSingh3031"},i.createElement(u.A9,{className:"h-10 w-10"})),i.createElement(n.c,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(u.Ed,{className:"h-10 w-10"})),i.createElement(n.c,{to:"https://instagram.com/akash.singh3031"},i.createElement(u.Yf,{className:"h-10 w-10",id:(null===(t=e)||void 0===t?void 0:t.id)||""})),i.createElement(n.c,{to:"https://x.com/akashsingh3031"},i.createElement(u.CC,{className:"h-10 w-10"}))))},R=()=>{const{colorMode:e,setColorMode:t}=(0,E.U)(),r=()=>{t("dark"===e?"light":"dark")},n="dark"===e,l="light"===e;return i.createElement("div",{className:(0,a.c)("not-prose","p-4","flex items-center")},i.createElement("div",{className:(0,a.c)("text-sm","mr-10","dark:text-gray-400 text-gray-600")},"Apperance"),i.createElement("button",{onClick:r,className:(0,a.c)("mr-4","rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200","text-gray-500",l&&"bg-gray-50")},i.createElement(A.G,null),"Light"),i.createElement("button",{onClick:r,className:(0,a.c)("rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200",n?"text-gray-400":"text-gray-500",n&&"bg-gray-700")},i.createElement(D.g,null),"Dark"))};var _=r(9253),z=r(2700),I=r(5792),$=r(6936);const G=()=>{const{loading:e,githubStarCountText:t}=(0,z.wx)();return i.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank",rel:"noreferrer",className:(0,a.c)("flex gap-2 items-center","font-normal","text-sm leading-6","text-gray-500 dark:text-gray-400","hover:text-gray-400 dark:hover:text-gray-300","hover:no-underline","transition-colors","duration-200","ease-in-out")},i.createElement(I.A,{className:(0,a.c)("w-5 h-5")}),i.createElement("div",{className:(0,a.c)("flex items-center","w-10 h-6")},e?i.createElement($.c,{className:(0,a.c)("w-5 h-5"),wrapperProps:{className:(0,a.c)("mx-auto")}}):i.createElement("span",null,t)))},U=({trackProgress:e,variant:t="landing",className:r})=>{const[u,d]=(0,i.useState)(!1),{scrollYProgress:f}=(0,l.Q)(),g=(0,o.s)(f,[.03,.95],["0%","100%"]);return i.createElement(i.Fragment,null,i.createElement(M.Q,null),i.createElement("header",{className:(0,a.c)("sticky","top-0","z-10")},i.createElement("div",{className:(0,a.c)("absolute","top-0 left-0 right-0","backdrop-blur-[6px]","landing-md:backdrop-blur-[12px]","z-[-1]","bg-gray-0 dark:bg-gray-800","bg-opacity-80 dark:bg-opacity-80","pointer-events-none",r),style:{top:"-20px",bottom:"-80px",WebkitMaskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))",maskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))"}}),i.createElement("div",{className:(0,a.c)("relative","z-[1]","p-4","landing-sm:px-8","landing-md:py-5")},i.createElement("div",{className:(0,a.c)("mx-auto","flex","items-center","justify-between","max-w-[896px]","landing-lg:max-w-[1200px]")},i.createElement("div",{className:(0,a.c)("w-[130px]","landing-lg:w-[200px]")},i.createElement(n.c,{to:"https://prepverse.vercel.app"},i.createElement(m.m,{className:"text-gray-900 dark:text-gray-0"}))),i.createElement("button",{type:"button",className:(0,a.c)("text-gray-900 dark:text-gray-0","block landing-md:hidden"),onClick:()=>d(!0)},i.createElement(s.m,null)),i.createElement("div",{className:(0,a.c)("hidden landing-md:flex","flex-1","items-center","gap-8")},i.createElement(w,{variant:t})),i.createElement("div",{className:(0,a.c)("hidden landing-md:flex","items-center","justify-end","gap-4","w-[130px]","landing-lg:w-[200px]")},i.createElement(G,null),i.createElement(_.C,null)),i.createElement(B,{isModalOpen:u,setIsModalOpen:d}))),e&&i.createElement("div",{className:(0,a.c)("w-full","h-[1.5px]","translate","bg-refine-react-3 dark:bg-refine-react-7")},i.createElement(c.q.div,{className:(0,a.c)("h-full","bg-refine-react-light-link dark:bg-refine-react-dark-link"),style:{width:g}}))))}},9253:(e,t,r)=>{r.d(t,{C:()=>i,O:()=>m});var n=r(1504),a=r(4971),l=r(9072),o=r(3756),c=r(5372);const i=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,l.U)();return n.createElement("button",{type:"button",className:(0,a.c)("appearance-none","focus:outline-none","relative","w-10 h-10","rounded-full","border","border-solid","border-gray-300 dark:border-gray-700","text-gray-500","transition-colors","duration-150","ease-in-out","overflow-hidden","flex-shrink-0","group",e),onClick:()=>{r("dark"===t?"light":"dark")}},n.createElement("div",{className:(0,a.c)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","translate-y-0","dark:-translate-y-10","duration-200","ease-in-out","transition-transform")},n.createElement(o.G,null)),n.createElement("div",{className:(0,a.c)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","-translate-y-10","dark:translate-y-0","duration-200","ease-in-out","transition-transform")},n.createElement(c.g,null)))},s=[{name:"light",icon:o.G,label:"Light"},{name:"dark",icon:c.g,label:"Dark"}],m=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,l.U)();return n.createElement("div",{className:(0,a.c)("flex","items-center","gap-4","justify-start",e)},s.map((({name:e,label:l,icon:o})=>n.createElement("button",{type:"button",key:e,className:(0,a.c)("appearance-none","focus:outline-none","py-1","pl-1.5","pr-3","flex","items-center","justify-center","gap-1","rounded-[40px]","text-gray-400","border border-solid","border-gray-200","dark:border-gray-600",t===e&&"bg-gray-100 dark:bg-gray-700"),onClick:()=>{r(e)}},n.createElement(o,{className:(0,a.c)("w-4 h-4")}),n.createElement("span",{className:(0,a.c)("text-sm")},l)))))}},7708:(e,t,r)=>{r.d(t,{o0:()=>g,yw:()=>d,wd:()=>f,AR:()=>p});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var m=r(6098),u=r(4252);const d=[{label:"Resources",items:[{label:"Getting Started",href:"https://prepverse.vercel.app/docs"},{label:"Blog",href:"https://prepverse.vercel.app/blog"},{label:"Project Showcase",icon:n.createElement(m.KU,null),href:"https://prepverse.vercel.app/showcase"},{label:"Community",icon:n.createElement(m.KU,null),href:"https://prepverse.vercel.app/prepverse-community"}]},{label:"Product",items:[{label:"CodePoint",icon:n.createElement(u.i,null),href:"https://prepverse.github.io/CodePoint"},{label:"LeetVerse",icon:n.createElement(u.i,null),href:"https://prepverse.github.io/LeetVerse"}]},{label:"About",items:[{label:"About Me",href:"https://prepverse.vercel.app/AkashSingh3031"},{label:"Portfolio",icon:n.createElement(u.i,null),href:"https://prepverse.github.io/portfolio"}]}],f=[{label:"License",href:"https://github.com/PrepVerse/prepverse.github.io/blob/master/LICENSE"}],g="Thank you for visiting, Connect with me over socials.",p=[{icon:e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{r.d(t,{G:()=>l});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{w:()=>l});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{g:()=>l});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{i:()=>l});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{y:()=>c});var n=r(4971),a=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const c=e=>a.createElement("svg",o(function(e){for(var t=1;t{r.d(t,{A:()=>o,i:()=>c});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e){for(var t=1;tn.createElement("svg",l({width:12,height:12,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.053 0A10.904 10.904 0 0 0 3.89 2.685 11.34 11.34 0 0 0 .142 9.472a11.48 11.48 0 0 0 1.456 7.65 11.087 11.087 0 0 0 5.964 4.86c.556.103.752-.25.752-.547v-1.918C5.23 20.202 4.58 18 4.58 18a3.012 3.012 0 0 0-1.227-1.655c-.997-.692.081-.692.081-.692.35.05.683.18.975.382.293.202.536.469.713.78.15.278.352.523.595.721a2.312 2.312 0 0 0 2.618.221c.042-.57.283-1.105.678-1.509-2.454-.284-5.03-1.253-5.03-5.539a4.415 4.415 0 0 1 1.132-3.025A4.194 4.194 0 0 1 5.224 4.7s.928-.305 3.036 1.156c1.81-.508 3.72-.508 5.531 0 2.108-1.46 3.03-1.156 3.03-1.156.406.936.455 1.993.135 2.963a4.415 4.415 0 0 1 1.132 3.026c0 4.334-2.582 5.282-5.043 5.538.264.271.468.597.598.955.13.358.182.741.155 1.122V21.4c0 .367.196.65.759.54a11.093 11.093 0 0 0 5.88-4.878 11.481 11.481 0 0 0 1.419-7.6 11.34 11.34 0 0 0-3.71-6.746A10.907 10.907 0 0 0 11.053 0Z",fill:"currentColor"})),c=e=>n.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.066.001a11.91 11.91 0 0 1 7.745 2.966 12.326 12.326 0 0 1 4.032 7.33 12.46 12.46 0 0 1-1.54 8.245 12.088 12.088 0 0 1-6.406 5.314l-.105.037-.11.021c-.508.1-1.232.093-1.83-.422-.577-.498-.681-1.166-.681-1.565v-3.008l.004-.053a1.102 1.102 0 0 0-.062-.453 1.058 1.058 0 0 0-.235-.377l-.839-.86-.863.882a.802.802 0 0 0-.224.502l-.015.217v3.183c0 .434-.14 1.029-.628 1.492-.541.514-1.246.62-1.864.505l-.108-.02-.104-.035a12.082 12.082 0 0 1-6.498-5.296 12.457 12.457 0 0 1-1.58-8.298c.45-2.86 1.891-5.471 4.073-7.375A11.909 11.909 0 0 1 12.05.001h.016Zm-10.43 10.54a10.957 10.957 0 0 0 1.39 7.303 10.58 10.58 0 0 0 5.693 4.638c.53.099.717-.238.717-.522v-1.83c-.588.13-1.083.15-1.5.1a2.95 2.95 0 0 1-.542-.117 2.551 2.551 0 0 1-.422-.176 2.362 2.362 0 0 1-.82-.72c-.208-.294-.28-.535-.28-.535a2.876 2.876 0 0 0-1.17-1.58l-.016-.01c-.925-.65.093-.65.093-.65.106.015.21.038.313.068l.017.005a2.172 2.172 0 0 1 .962.603c.122.13.23.276.319.433a2.29 2.29 0 0 0 .68.775h.002s0 .001 0 0a2.211 2.211 0 0 0 2.385.124v-.014a2.302 2.302 0 0 1 .647-1.427 8.754 8.754 0 0 1-1.625-.328 4.865 4.865 0 0 1-1.416-.695 3.883 3.883 0 0 1-.432-.365c-.8-.786-1.328-2.002-1.328-3.899a4.214 4.214 0 0 1 1.08-2.887 4.003 4.003 0 0 1 .104-2.848s.886-.291 2.898 1.103a9.762 9.762 0 0 1 5.28 0c2.011-1.393 2.891-1.103 2.891-1.103.388.893.434 1.902.13 2.828a4.214 4.214 0 0 1 1.08 2.888c0 3.166-1.444 4.44-3.174 4.972a8.617 8.617 0 0 1-1.64.314 2.558 2.558 0 0 1 .699 1.425c.026.184.033.371.02.558v2.955c0 .35.187.62.724.515a10.588 10.588 0 0 0 5.613-4.656 10.958 10.958 0 0 0 1.354-7.254 10.824 10.824 0 0 0-3.541-6.439 10.41 10.41 0 0 0-6.77-2.592 10.408 10.408 0 0 0-6.837 2.563 10.824 10.824 0 0 0-3.578 6.478ZM16.374 7.8a8.003 8.003 0 0 0-.856.524l-.58.401-.679-.19a8.262 8.262 0 0 0-4.469 0l-.68.19-.58-.402a7.982 7.982 0 0 0-.846-.519c.019.186.059.37.12.549l.282.832-.588.653a2.714 2.714 0 0 0-.696 1.86v.024c0 1.724.503 2.513.998 2.937.563.481 1.397.736 2.476.86l1.567.182 1.954-.204c1.082-.112 1.912-.358 2.47-.833.492-.418.999-1.209.999-2.96v-.026a2.714 2.714 0 0 0-.696-1.86l-.582-.647.273-.826c.058-.178.096-.36.113-.545Z",clipRule:"evenodd"}))},1980:(e,t,r)=>{r.d(t,{m:()=>l});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{Q:()=>l});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{G:()=>l});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{s1:()=>c,wR:()=>s,QD:()=>u,vn:()=>f,kv:()=>p,uI:()=>h,A9:()=>v,_2:()=>x,Ew:()=>E,Yf:()=>k,oh:()=>P,Ed:()=>S,BE:()=>M,KU:()=>B,WR:()=>R,w9:()=>z,CC:()=>$,AH:()=>Y,oz:()=>Q,C3:()=>q});var n=r(1504);var a=r(4971);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const c=e=>n.createElement("svg",o(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const{colorMode:t}=(0,D.U)();return n.createElement("div",{className:(0,a.c)("relative","flex","items-center","justify-center","rounded-full","overflow-hidden","p-px","dark:bg-[#194b3a] bg-[#b7dbff]"),style:{transform:"translateZ(0)"}},n.createElement("div",{className:(0,a.c)("z-[1]","absolute","inset-0","dark:bg-new-badge-border-dark bg-new-badge-border-light","animate-new-badge-border")}),n.createElement("svg",function(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var T,H;const R=e=>{var{variant:t="landing"}=e,r=Z(e,["variant"]);return n.createElement("svg",V(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",U(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{r.d(t,{m:()=>l});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{E:()=>g});var n=r(4971),a=r(1504),l=r(9184),o=r(7708),c=r(204);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const s=e=>a.createElement("svg",function(e){for(var t=1;t{const t=a.createElement("div",{className:(0,n.c)("py-6 landing-lg:py-0","flex","flex-col","gap-4","landing-lg:max-w-[224px]")},a.createElement("div",{className:(0,n.c)("font-semibold","text-sm","leading-6","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},"Contacts"),a.createElement("a",{href:"https://wa.me/+919794423031",target:"_blank",className:(0,n.c)("font-normal","text-sm","leading-5","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},"+91 9794423031"),a.createElement("a",{href:"https://mail.google.com/mail/u/0/?fs=1&to=codewithsky@gmail.com&tf=cm",target:"_blank",className:(0,n.c)("font-normal","text-sm","leading-5","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:180,height:40,viewBox:"0 0 180 40",fill:"none"},a.createElement("text",{x:"1",y:"15",fontFamily:"Arial, sans-serif",fontSize:"16",fill:"currentColor"},"codewithsky@gmail.com")))),r=a.createElement("div",{className:(0,n.c)("py-6 landing-lg:py-0","flex","flex-col","landing-sm:items-end")},a.createElement("div",{className:(0,n.c)("flex","flex-col","gap-4")},a.createElement("div",{className:(0,n.c)("text-sm","leading-6","font-semibold","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3","landing-lg:text-right")},"Connect with me on"),a.createElement("div",{className:(0,n.c)("flex","items-center","gap-8","landing-lg:gap-4","justify-start")},o.AR.map((({href:t,icon:r})=>a.createElement("a",{href:t,key:t,target:"_blank",rel:"noreferrer",className:(0,n.c)("landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},a.createElement(r,{className:(0,n.c)("w-6 h-6","landing-lg:w-8 landing-lg:h-8")})))))));return a.createElement("footer",{className:(0,n.c)("w-full")},a.createElement("div",{className:(0,n.c)("border-t border-t-solid","landing"===e&&"border-t-gray-100 dark:border-t-gray-700","blog"===e&&"border-t-refine-react-3 dark:border-t-refine-react-7","landing"===e&&"dark:bg-footer-landing-dark-bg","blog"===e&&"bg-footer-blog-light-bg dark:bg-footer-blog-dark-bg")},a.createElement("div",{className:(0,n.c)("grid","grid-cols-1","max-w-screen-landing-md","landing-lg:max-w-screen-landing-lg","mx-auto")},a.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8 landing-lg:px-12","py-4 landing-lg:py-6","flex","items-center","justify-between")},a.createElement(l.c,{to:"https://prepverse.vercel.app",className:(0,n.c)("hover:no-underline","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},a.createElement(m.m,null)),a.createElement("a",{href:"https://github.com/sponsors/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,n.c)("hover:no-underline")},a.createElement(s,null))),a.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8 landing-lg:px-12","flex","flex-row","flex-wrap","items-start","justify-start","text-gray-500 dark:text-gray-500")},o.o0),a.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8 landing-lg:px-12","py-6 landing-lg:pt-8 landing-lg:pb-12","flex","flex-row","flex-wrap","items-start","justify-start","gap-6")},a.createElement("div",{className:(0,n.c)("hidden","landing-lg:flex","max-w-[282px]","w-full")},t),o.yw.map((t=>a.createElement("div",{className:(0,n.c)("flex flex-col gap-4","min-w-[152px]"),key:t.label},a.createElement("div",{className:(0,n.c)("text-sm","leading-6","font-semibold","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},t.label),a.createElement("div",{className:(0,n.c)("flex","flex-col","gap-2")},t.items.map((t=>a.createElement("a",f(d({href:t.href,key:t.label},t.href.startsWith("http")?{target:"_blank",rel:"noopener noreferrer"}:{}),{className:(0,n.c)("text-sm","leading-5","hover:no-underline","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300")}),a.createElement("div",{className:(0,n.c)("flex","items-center","gap-2")},t.label,t.icon)))))))),a.createElement("div",{className:(0,n.c)("hidden","landing-lg:flex","ml-auto")},r)),a.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8","grid","grid-cols-1","landing-sm:grid-cols-2","landing-sm:gap-8","landing-lg:hidden")},t,r))),a.createElement("div",{className:(0,n.c)("border-t border-t-solid","landing"===e&&"border-t-gray-100 dark:border-t-gray-700","blog"===e&&"border-t-gray-100 dark:border-t-gray-700","landing"===e&&"bg-gray-50 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-8")},a.createElement("div",{className:(0,n.c)("py-6 landing-sm:py-8 landing-lg:py-6","px-4 landing-sm:px-8 landing-lg:px-12","grid","grid-cols-1","landing-md:grid-cols-2","gap-8","max-w-screen-landing-md","landing-lg:max-w-screen-landing-lg","mx-auto")},a.createElement("div",{className:(0,n.c)("flex","flex-col","landing-sm:flex-row","gap-4","items-start","justify-start")},o.wd.map((t=>a.createElement("a",f(d({href:t.href,key:t.label},t.href.startsWith("http")?{target:"_blank",rel:"noopener noreferrer"}:{}),{className:(0,n.c)("text-sm","leading-5","font-normal","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:no-underline","hover:text-gray-800 dark:hover:text-gray-300")}),t.label)))),a.createElement("div",{className:(0,n.c)("text-left","landing-md:text-right","text-sm","pr-6 landing-sm:pr-0","leading-5","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3","font-normal")},a.createElement("div",{className:(0,n.c)("text-base","text-gray-500 dark:text-gray-400")},"Copyright \xa9 ",(new Date).getFullYear()," PrepVerse"," ",a.createElement(c.Q,{className:"text-refine-red ml-2 inline leading-6"}),a.createElement("br",null),"Built with Docusaurus & Refine.")))))}},6192:(e,t,r)=>{r.d(t,{D:()=>u});var n=r(1504),a=r(4971),l=r(9184);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=e=>n.createElement("svg",function(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const u=e=>{var{children:t,href:r,className:o,onClick:u,buttonClassname:d}=e,f=m(e,["children","href","className","onClick","buttonClassname"]);const g=r?l.c:"button";return n.createElement(g,s(function(e){for(var t=1;t{r.d(t,{c:()=>i});var n=r(4971),a=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const i=e=>{var{className:t,wrapperProps:r}=e,l=c(e,["className","wrapperProps"]);return a.createElement("div",o({role:"status"},r),a.createElement("svg",o({"aria-hidden":"true",width:24,height:24,viewBox:"0 0 100 100",className:(0,n.c)("text-gray-200 animate-spin dark:text-gray-600 fill-refine-blue",t),fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),a.createElement("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),a.createElement("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})),a.createElement("span",{className:"sr-only"},"Loading..."))}},252:(e,t,r)=>{r.d(t,{Q:()=>i});var n=r(4971),a=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;ta.createElement("div",{className:(0,n.c)("w-full h-12","relative","bg-top-announcement","not-prose","font-inter","z-top-announcement")},a.createElement("div",{className:(0,n.c)("hidden lg:flex","w-full h-full","max-w-screen","overflow-hidden","border-b border-solid border-[#47ebeb26]","top-announcement-mask")},a.createElement("div",{className:(0,n.c)("w-[1280px] h-full","mx-auto","flex","justify-between")},a.createElement("div",{className:(0,n.c)("w-[calc(50%-300px)] h-full","relative")},a.createElement(m,{style:{animationDelay:"1.5s"},className:(0,n.c)("absolute","top-[2px]","right-[220px]"),id:"1"}),a.createElement(m,{style:{animationDelay:"1s"},className:(0,n.c)("absolute","rotate-180","top-[8px] right-[100px]"),id:"2"}),a.createElement(u,{className:(0,n.c)("absolute","right-[10px]"),id:"3"})),a.createElement("div",{className:(0,n.c)("w-[calc(50%-300px)] h-full","relative")},a.createElement(m,{style:{animationDelay:"2s"},className:(0,n.c)("absolute","rotate-180","top-[6px] right-[180px]"),id:"4"}),a.createElement(m,{style:{animationDelay:"0.5s"},className:(0,n.c)("delay-[1300]","absolute","top-[2px]","right-[40px]"),id:"5"}),a.createElement(u,{className:(0,n.c)("absolute","right-[-70px]"),id:"6"})))),a.createElement(s,null)),s=()=>a.createElement("a",{href:"https://prepverse.vercel.app/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,n.c)("relative lg:absolute","px-2 lg:px-0","top-0","left-[50%]","translate-x-[-50%]","bg-top-announcement-text","h-full w-full lg:w-[450px]","flex items-center justify-center","text-white","text-xs sm:text-sm","text-center","no-underline","hover:no-underline","hover:text-white","not-prose")},a.createElement("div",{className:(0,n.c)("ml-2","not-prose")},"For more updates follow","",a.createElement("span",{className:(0,n.c)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")},"@AkashSingh3031"),".")),m=e=>a.createElement("svg",c(o({xmlns:"http://www.w3.org/2000/svg",width:80,height:40,fill:"none"},e),{className:(0,n.c)("animate-top-announcement-glow","opacity-1",e.className)}),a.createElement("circle",{cx:40,r:40,fill:`url(#${e.id}-a)`,fillOpacity:.5}),a.createElement("defs",null,a.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 40 -40 0 40 0)",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#47EBEB"}),a.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0})))),u=e=>a.createElement("svg",c(o({xmlns:"http://www.w3.org/2000/svg",width:120,height:48,fill:"none"},e),{className:(0,n.c)("animate-top-announcement-glow","opacity-1",e.className)}),a.createElement("circle",{cx:60,cy:24,r:60,fill:`url(#${e.id}-a)`,fillOpacity:.5}),a.createElement("defs",null,a.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 60 -60 0 60 24)",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#47EBEB"}),a.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0}))))},7328:(e,t,r)=>{r.d(t,{c:()=>j});var n=r(4971),a=r(1504);const l=({className:e})=>a.createElement("div",{className:(0,n.c)("relative","w-full","landing-md:mx-auto","w-full","pt-4 blog-md:pt-12 pb-6 px-6","bg-white dark:bg-gray-800",e)},a.createElement("div",{className:(0,n.c)("blog-sm:max-w-[592px]","blog-md:max-w-[656px]","blog-lg:max-w-[896px]","blog-max:max-w-[1200px]","w-full","mx-auto","flex","flex-col","items-start justify-start blog-lg:items-center blog-lg:justify-center","gap-4","not-prose")},a.createElement("h2",{className:(0,n.c)("flex","flex-wrap","gap-2","text-[32px] leading-[40px] landing-sm:text-[56px] landing-sm:leading-[72px]")},a.createElement("div",{className:(0,n.c)("dark:text-gray-0 text-gray-900")},"PrepVerse "),a.createElement("div",{className:(0,n.c)("font-semibold","dark:text-refine-green-alt dark:drop-shadow-[0_0_30px_rgba(71,235,235,0.25)]","text-refine-blue drop-shadow-[0_0_30px_rgba(51,51,255,0.3)]","whitespace-nowrap")},"Technical Blog")),a.createElement("p",{className:(0,n.c)("text-base","text-start landing-md:text-center","max-w-[588px]","dark:text-gray-400 text-gray-600","pb-2")},"contains all the DSA, Core Subjects, Web Tech, Data Science & FAANG Interview questions based blogs.")));var o=r(3680),c=r(8480),i=r(6968),s=r(6192),m=r(6112),u=r(9184),d=r(2424),f=r(2276),g=r(2268);function p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function b(e){for(var t=1;t{const[r,n]=(0,a.useState)({scrollDepths:e,scrollY:0}),{scrollDepths:l,scrollY:o}=r;return(0,a.useEffect)((()=>{"undefined"!=typeof window&&0!==window.pageYOffset&&n((e=>h(b({},e),{scrollY:window.pageYOffset})))}),[]),(0,a.useEffect)((()=>{if("undefined"==typeof window)return;const e=()=>window.removeEventListener("scroll",a),a=()=>{const a=document.documentElement,o=document.body,c=a.scrollTop||o.scrollTop,i=a.scrollHeight||o.scrollHeight,s=c/(i-a.clientHeight)*100;if(l){const r=Math.min(...l,i);if(s>=r){const a=l.filter((e=>e!==r));0===a.length&&e(),t&&t({scrollY:r,scrollPercent:s,remainingDepths:a}),n({scrollY:r,scrollDepths:a})}}else n(h(b({},r),{scrollY:s}))};return window.addEventListener("scroll",a),e}),[l,o,r]),{scrollY:o}},v=(e,t)=>{const[r,n]=(0,a.useState)((()=>{if("undefined"==typeof window)return t;try{const r="undefined"!=typeof window?window.localStorage.getItem(e):void 0;return r?JSON.parse(r):t}catch(r){return console.log(r),t}}));return[r,t=>{try{const a=t instanceof Function?t(r):t;n(a),"undefined"!=typeof window&&window.localStorage.setItem(e,JSON.stringify(a))}catch(a){console.log(a)}}]};var w=r(640);const x=({title:e="Click here to discover my latest projects, skills, and achievements on my portfolio website. My journey into creativity begins now!",variant:t="purple",image:r={src:"https://github.com/AkashSingh3031.png",alt:"My Portfolio",href:"https://prepverse.github.io/portfolio"},button:l={text:"Explore Now",href:"https://prepverse.github.io/portfolio",onClick:void 0}})=>{var o,c,i,p;const{pathname:b}=(0,w.IT)(),[h,x]=(0,a.useState)(!1),[O,E]=v("banner-modal",null),C=(0,a.useRef)(!1),k=y();var j,P;return(0,a.useEffect)((()=>{"/blog/"!==b&&"/blog"!==b&&(C.current||h||k.scrollY>79&&k.scrollY<100&&(C.current=!0,9===O||null===O?(x(!0),E(0)):(E(O+1),C.current=!0)))}),[k.scrollY]),(0,a.useEffect)((()=>{h&&"undefined"!=typeof window&&void 0!==window.gtag&&window.gtag("event","view_banner",{banner_name:"banner-modal",banner_text:e,banner_image:r.src})}),[h]),a.createElement(d.O,{appear:!0,show:h,as:a.Fragment},a.createElement(f.C,{as:"div",className:"relative z-modal",onClose:()=>x(!1)},a.createElement(d.O.Child,{as:a.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},a.createElement("div",{className:"fixed inset-0 bg-gray-900/70"})),a.createElement("div",{className:"fixed inset-0 overflow-y-auto"},a.createElement("div",{className:"flex min-h-full items-start justify-center"},a.createElement(d.O.Child,{as:a.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},a.createElement(f.C.Panel,{className:(0,n.c)("w-full min-h-screen","flex flex-col justify-center items-center")},a.createElement("div",{className:(0,n.c)("relative","rounded-3xl","max-w-[576px]","py-8","px-4 md:px-8","gray"===t&&"bg-banner-examples-modal-gray","purple"===t&&"bg-banner-examples-modal-purple")},a.createElement("div",{className:(0,n.c)("flex","flex-col","items-center","gap-8","text-center","not-prose")},a.createElement(u.c,{to:null!==(j=null===(o=r)||void 0===o?void 0:o.href)&&void 0!==j?j:null===(c=l)||void 0===c?void 0:c.href,target:"_blank",rel:"noopener noreferrer",className:(0,n.c)("flex","h-auto xl:h-[192px]","flex-shrink-0","rounded-lg","overflow-hidden","focus:outline-none")},a.createElement("img",{className:(0,n.c)("object-contain"),src:null===(i=r)||void 0===i?void 0:i.src,alt:null!==(P=null===(p=r)||void 0===p?void 0:p.alt)&&void 0!==P?P:e,loading:"lazy"})),a.createElement("p",{className:(0,n.c)("text-2xl","font-semibold","gray"===t&&"bg-clip-text","gray"===t&&"text-transparent","gray"===t&&"bg-banner-examples-text","purple"===t&&"text-gray-0")},e),a.createElement(s.D,{className:(0,n.c)("w-max"),buttonClassname:(0,n.c)("!px-4","!py-4"),href:l.href,onClick:l.onClick,target:"_blank",rel:"noopener noreferrer"},a.createElement("div",{className:(0,n.c)("text-gray-900","text-base","font-bold")},l.text),a.createElement(m.G,{className:(0,n.c)("w-4","h-4")}))),a.createElement("button",{className:(0,n.c)("absolute","top-2 right-2","w-8 h-8","flex items-center justify-center flex-shrink-0","text-gray-0","rounded-full","bg-gray-900/20"),onClick:()=>x(!1)},a.createElement(g.O,{className:"w-4 h-4"})))))))))};var O=r(6280);function E(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function C(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function k(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},l=Object.keys(e);for(n=0;n=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const j=e=>{const[t,r]=(0,a.useState)(!1),{children:s,toc:m,showSidebarBanner:u=!0}=e,d=k(e,["children","toc","showSidebarBanner"]),f=y();return(0,a.useEffect)((()=>{t&&(f.scrollY>20&&r(!0),f.scrollY<20&&r(!1))}),[f.scrollY,u]),a.createElement(c.C,C(function(e){for(var t=1;t{r.d(t,{c:()=>u});var n=r(1504),a=r(3652),l=r(9184),o=r(2460);const c="...",i=(e,t)=>{const r=t-e+1;return Array.from({length:r},((t,r)=>r+e))},s=({totalPages:e,siblingCount:t=1,currentPage:r})=>(0,n.useMemo)((()=>{if(t+5>=e)return i(1,e);const n=Math.max(r-t,1),a=Math.min(r+t,e),l=n>2,o=ae===c?n.createElement("li",{key:`page:${e}`,className:(0,m.c)("flex items-center justify-center","text-gray-500 dark:text-gray-400","rounded-full","hover:no-underline","no-underline","h-[32px] w-[32px]")},"\u2026"):n.createElement("li",{key:e},n.createElement(l.c,{to:1===e?r:`${r}/page/${e}`,className:(0,m.c)("text-sm","flex items-center justify-center","text-gray-500 dark:text-gray-400","rounded-full","hover:no-underline","h-[32px] w-[32px]","no-underline",e!==u&&"text-refine-react-5 dark:text-refine-react-4",e===u&&"text-refine-react-8 dark:text-refine-react-3",e===u&&"bg-refine-react-3 dark:bg-refine-react-7")},e)))),n.createElement("li",null,n.createElement(l.c,{to:u===f?void 0:`${r}/page/${u+1}`,className:(0,m.c)("rounded-full","hover:no-underline","text-refine-react-5 dark:text-refine-react-4",u!==f&&"opacity-70",u===f&&"pointer-events-none opacity-20")},n.createElement(o.yu,null)))))}},2668:(e,t,r)=>{r.d(t,{c:()=>u});var n=r(1504),a=r(468),l=r(2032),o=r(9184),c=r(3270),i=r(1904),s=r(4971);function m({className:e}){var t,r;const{metadata:l}=(0,a.g)(),{permalink:m,title:u,date:d,formattedDate:f,frontMatter:g,description:p,tags:b}=l,h=l.authors[0];return n.createElement(c.c,{className:e},n.createElement("div",null,n.createElement(o.c,{itemProp:"url",to:m,className:(0,s.c)("block","w-full h-auto","aspect-[592/334]")},n.createElement("div",{className:(0,s.c)("not-prose relative m-0 hover:brightness-90","h-full w-full")},n.createElement("img",{src:`${g.image}?h=432`,alt:u,className:(0,s.c)("absolute inset-0 mt-0 h-full w-full rounded-[10px] object-cover"),loading:"lazy"})))),n.createElement("div",{className:"px-4 py-4 md:px-6 md:py-6"},n.createElement("div",{className:(0,s.c)("flex flex-wrap items-center","mb-6","gap-2")},b.map((e=>n.createElement(o.c,{className:(0,s.c)("text-xs","bg-refine-react-3 dark:bg-refine-react-7","text-refine-react-8 dark:text-refine-react-3","no-underline","rounded-full","px-2 py-1"),href:e.permalink,key:e.permalink},e.label)))),n.createElement("div",{className:"mb-2 md:mb-4"},n.createElement(o.c,{itemProp:"url",to:m,className:"no-underline hover:no-underline",rel:"noopener dofollow"},n.createElement("div",{className:(0,s.c)("mb-4","text-gray-700 dark:text-refine-react-3","text-xl","font-lg","font-bold")},u)),n.createElement("div",{className:(0,s.c)("line-clamp-3","text-gray-700 dark:text-refine-react-4","text-sm")},p)),n.createElement("div",{className:"flex items-center gap-2"},n.createElement(o.c,{href:`/blog/author/${null===(t=h)||void 0===t?void 0:t.key}`,itemProp:"url",className:(0,s.c)("text-gray-600 hover:text-gray-600","dark:text-gray-400 hover:dark:text-gray-400","text-xs","no-underline")},null===(r=h)||void 0===r?void 0:r.name),n.createElement("span",{className:(0,s.c)("h-[4px] w-[4px] rounded-full","bg-gray-600 dark:bg-gray-500")}),n.createElement("span",{className:(0,s.c)("text-gray-600 dark:text-refine-react-5","text-xs","leading-6","no-underline")},n.createElement(i.iI,{date:d,formattedDate:f})))))}function u({items:e,tags:t,component:r=m,isAuthorPage:o,isTagsPage:c}){return n.createElement("div",{className:(0,s.c)("w-full","bg-white dark:bg-gray-800")},n.createElement("div",{className:(0,s.c)("blog-sm:max-w-[592px]","blog-md:max-w-[656px]","blog-lg:max-w-[896px]","blog-max:max-w-[1200px]","w-full","px-6 blog-sm:px-0","pt-14 blog-md:pt-12","pb-6","mx-auto","not-prose")},!o&&!c&&n.createElement(n.Fragment,null,n.createElement("div",{className:(0,s.c)("flex flex-row blog-lg:flex-col justify-between","items-center blog-lg:items-start","not-prose","px-6","mb-6 blog-lg:mb-12","gap-6")},n.createElement("h2",{className:(0,s.c)("!m-0 !mt-0 !mb-0 p-0","blog-lg:mb-12 blog-md:mb-8 mb-8","text-2xl blog-sm:text-[32px] blog-sm:leading-10","text-refine-react-8 dark:text-refine-react-3","font-semibold","whitespace-nowrap")},"All Posts"),n.createElement(l.c,{tags:t}))),n.createElement("div",{className:(0,s.c)("grid grid-cols-1 blog-md:grid-cols-2 blog-max:grid-cols-3","gap-6")},e.map((({content:e})=>n.createElement(a.E,{key:e.metadata.permalink,content:e},n.createElement(r,null,n.createElement(e,null))))))))}},8364:(e,t,r)=>{r.r(t),r.d(t,{default:()=>v});var n=r(1504),a=r(4971),l=r(3652),o=r(9184),c=r(3688),i=r(6684),s=r(5628),m=r(7328),u=r(8048),d=r(6108),f=r(2668),g=r(2032),p=r(2460);function b(e){const t=function(){const{selectMessage:e}=(0,c.A)();return t=>e(t,(0,l.G)({id:"theme.blog.post.plurals",description:'Pluralized label for "{count} posts". Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)',message:"One post|{count} posts"},{count:t}))}();return(0,l.G)({id:"theme.blog.tagTitle",description:"The title of the page for a blog tag",message:'{nPosts} tagged with "{tagName}"'},{nPosts:t(e.count),tagName:e.label})}function h({tag:e}){const t=b(e);return n.createElement(n.Fragment,null,n.createElement(i.U7,{title:t}),n.createElement(d.c,{tag:"blog_tags_posts"}))}function y({tags:e,tag:t,items:r,sidebar:l,listMetadata:c}){return n.createElement(m.c,{showSidebarBanner:!1,sidebar:l},n.createElement("div",{className:(0,a.c)("py-8","blog-md:py-16","w-full","mx-auto")},n.createElement("div",{className:(0,a.c)("flex","px-4","gap-6","flex-row blog-lg:flex-col","justify-between","blog-sm:max-w-[592px]","blog-md:max-w-[656px]","blog-lg:max-w-[896px]","blog-max:max-w-[1200px]","w-full")},n.createElement(o.c,{to:"/blog",className:(0,a.c)("text-refine-react-5 dark:text-refine-react-4","text-sm no-underline","flex","items-center","gap-2")},n.createElement(p.Ux,null)," Back to blog"),n.createElement(g.c,{tags:e})),n.createElement("div",{className:(0,a.c)("pt-8 blog-md:pt-16","px-4")},n.createElement("div",{className:"text-gray-500 dark:text-gray-400"},"Posts tagged with"),n.createElement("h1",{className:"!mb-0"},t.label)),n.createElement(f.c,{items:r,showTitle:!1,isTagsPage:!0}),n.createElement("div",{className:(0,a.c)(c.totalPages>1&&"blog-md:border-t border-t-gray-200 dark:border-t-gray-700")},n.createElement(u.c,{metadata:c,basePath:`/blog/tags/${t.label}`}))))}function v(e){return n.createElement(i.cr,{className:(0,a.c)(s.W.wrapper.blogPages,s.W.page.blogTagPostListPage)},n.createElement(h,e),n.createElement(y,e))}},8092:(e,t,r)=>{r.d(t,{c:()=>o});var n=r(1504),a=r(4971),l=r(9184);function o({permalink:e,label:t,isActive:r,size:o="small",variant:c="default"}){return n.createElement(l.c,{href:e,className:(0,a.c)("no-underline hover:no-underline","rounded-full","small"===o&&"text-xs","small"===o&&"py-1","small"===o&&"px-3","medium"===o&&"text-sm","medium"===o&&"py-2","medium"===o&&"px-4",!r&&"bg-gray-100 dark:bg-gray-700",!r&&"text-gray-600 dark:text-gray-400","text-refine-react-8 dark:text-refine-react-3","default"===c&&"bg-refine-react-3 dark:bg-refine-react-7","inverted"===c&&"bg-refine-react-3 dark:bg-refine-react-8")},t)}},2032:(e,t,r)=>{r.d(t,{c:()=>b});var n=r(1504),a=r(8092),l=/\b(?:an?d?|a[st]|because|but|by|en|for|i[fn]|neither|nor|o[fnr]|only|over|per|so|some|tha[tn]|the|to|up|upon|vs?\.?|versus|via|when|with|without|yet)\b/i,o=/[^\s:\u2013\u2014-]+|./g,c=/\s/,i=/.(?=[A-Z]|\..)/,s=/[A-Za-z0-9\u00C0-\u00FF]/;var m=r(4971),u=r(320),d=r(5880);function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g(e){for(var t=1;t{const r=l.indexOf(e.label),n=l.indexOf(t.label);return-1===r?-1===n?0:1:-1===n?-1:r-n}));return n.createElement(n.Fragment,null,n.createElement(h,{collapsed:r,tags:o,className:(0,m.c)("hidden blog-lg:flex",t),onShowMoreClick:e=>a(e)}),n.createElement(y,{tags:o,className:(0,m.c)("block blog-lg:hidden",t)}))}const h=({tags:e,collapsed:t,className:r,onShowMoreClick:l})=>n.createElement("div",{className:(0,m.c)("bg-gray-50 dark:bg-refine-react-dark-code","justify-between","items-start","p-5",t&&"rounded-full",!t&&"rounded-3xl","not-prose",r)},n.createElement("ul",{className:(0,m.c)("overflow-hidden","flex-1",!t&&"h-24",t&&"h-8","m-0 p-0","mr-16","transition-all duration-300 ease-in-out")},e.map((e=>n.createElement("li",{className:(0,m.c)("inline-flex","m-1","mr-3"),key:e.permalink},n.createElement(a.c,p(g({},e),{label:w(e.label)})))))),n.createElement("button",{type:"button",onClick:()=>l(!t),className:(0,m.c)("appearance-none","flex","items-center","justify-center","gap-2","cursor-pointer","flex-shrink","no-underline hover:no-underline","text-xs","rounded-full","py-1","pl-3","pr-1","mt-1","text-refine-react-8 dark:text-refine-react-3","bg-refine-react-3 dark:bg-refine-react-7")},"Show More"," ",n.createElement(v,{className:(0,m.c)("opacity-30","transition-transform duration-200 ease-in-out",{"rotate-180 transform":!t})}))),y=({tags:e,className:t})=>{const[r,l]=n.useState(!1);return n.createElement(n.Fragment,null,n.createElement("div",{className:(0,m.c)(t)},n.createElement("button",{type:"button",onClick:()=>l(!0),className:(0,m.c)("flex","items-center","justify-center","gap-2","rounded-full","px-6 py-3","bg-refine-react-3 dark:bg-refine-react-6","text-refine-react-8 dark:text-white")},n.createElement(u.y,null),n.createElement("div",null,"Filter Tags"))),n.createElement(d.E,{onClose:()=>l(!1),open:r,title:"Filter Tags",variant:"blog"},n.createElement("ul",{className:(0,m.c)("overflow-hidden","flex","flex-col","gap-6"),style:{margin:0,padding:0}},e.map((e=>n.createElement("li",{className:(0,m.c)("flex"),key:e.permalink},n.createElement(a.c,p(g({},e),{label:w(e.label),variant:"inverted",size:"medium"}))))))))},v=e=>n.createElement("svg",{width:16,height:16,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e.className},n.createElement("title",null,"chevron"),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M15 8A7 7 0 1 1 1 8a7 7 0 0 1 14 0Zm1 0A8 8 0 1 1 0 8a8 8 0 0 1 16 0ZM5.854 6.646a.5.5 0 1 0-.708.708l2.5 2.5a.5.5 0 0 0 .708 0l2.5-2.5a.5.5 0 0 0-.708-.708L8 8.793 5.854 6.646Z",clipRule:"evenodd"})),w=e=>{let t=`${e}`;t=e.replace(/-/g," ");return[["html","HTML"],["css","CSS"],["javascript","JavaScript"]].forEach((r=>{t=e.replace(r[0],r[1])})),function(e){for(var t,r="";null!==(t=o.exec(e));){var n=t[0],a=t.index;i.test(n)||l.test(n)&&0!==a&&a+n.length!==e.length||":"===e.charAt(a+n.length)&&!c.test(e.charAt(a+n.length+1))?r+=n:r+=n.replace(s,(function(e){return e.toUpperCase()}))}return r}(e)}}}]); \ No newline at end of file diff --git a/assets/js/6875c492.9ec658f1.js b/assets/js/6875c492.9ec658f1.js deleted file mode 100644 index e58397d2..00000000 --- a/assets/js/6875c492.9ec658f1.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2392],{8164:(e,t,r)=>{r.d(t,{c:()=>l});var n=r(1504),a=r(8952);function l({children:e,fallback:t}){var r;return(0,a.c)()?n.createElement(n.Fragment,null,null===(r=e)||void 0===r?void 0:r()):null!=t?t:null}},6280:(e,t,r)=>{r.d(t,{c:()=>m});var n=r(1504),a=r(4971),l=r(3652),o=r(5628),c=r(476),i=r(1580);const s={backToTopButton:"backToTopButton_sjWU",backToTopButtonShow:"backToTopButtonShow_xfvO"};function m(){const{shown:e,scrollToTop:t}=function({threshold:e}){const[t,r]=(0,n.useState)(!1),a=(0,n.useRef)(!1),{startScroll:l,cancelScroll:o}=(0,c.yI)();return(0,c.SM)((({scrollY:t},n)=>{var l;const c=null===(l=n)||void 0===l?void 0:l.scrollY;c&&(a.current?a.current=!1:t>=c?(o(),r(!1)):t{e.location.hash&&(a.current=!0,r(!1))})),{shown:t,scrollToTop:()=>l(0)}}({threshold:300});return n.createElement("button",{"aria-label":(0,l.G)({id:"theme.BackToTopButton.buttonAriaLabel",message:"Scroll back to top",description:"The ARIA label for the back to top button"}),className:(0,a.c)("clean-btn",o.W.common.backToTopButton,s.backToTopButton,e&&s.backToTopButtonShow),type:"button",onClick:t})}},3270:(e,t,r)=>{r.d(t,{c:()=>o});var n=r(1504),a=r(1080),l=r(468);function o({children:e,className:t}){const{frontMatter:r,assets:o}=(0,l.g)(),{withBaseUrl:c}=(0,a.E)();var i;const s=null!==(i=o.image)&&void 0!==i?i:r.image;return n.createElement("article",{className:t,itemProp:"blogPost",itemScope:!0,itemType:"http://schema.org/BlogPosting"},s&&n.createElement("meta",{itemProp:"image",content:c(s,{absolute:!0})}),e)}},468:(e,t,r)=>{r.d(t,{E:()=>o,g:()=>c});var n=r(1504),a=r(8476);const l=n.createContext(null);function o({children:e,content:t,isBlogPostPage:r=!1}){const a=function({content:e,isBlogPostPage:t}){return(0,n.useMemo)((()=>({metadata:e.metadata,frontMatter:e.frontMatter,assets:e.assets,toc:e.toc,isBlogPostPage:t})),[e,t])}({content:t,isBlogPostPage:r});return n.createElement(l.Provider,{value:a},e)}function c(){const e=(0,n.useContext)(l);if(null===e)throw new a.AH("BlogPostProvider");return e}},5628:(e,t,r)=>{r.d(t,{W:()=>n});const n={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-page",docsDocPage:"docs-doc-page",docsTagsListPage:"docs-tags-list-page",docsTagDocListPage:"docs-tags-doc-list-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docsPages:"docs-wrapper",mdxPages:"mdx-wrapper"},common:{editThisPage:"theme-edit-this-page",lastUpdated:"theme-last-updated",backToTopButton:"theme-back-to-top-button",codeBlock:"theme-code-block",admonition:"theme-admonition",admonitionType:e=>`theme-admonition-${e}`},layout:{},docs:{docVersionBanner:"theme-doc-version-banner",docVersionBadge:"theme-doc-version-badge",docBreadcrumbs:"theme-doc-breadcrumbs",docMarkdown:"theme-doc-markdown",docTocMobile:"theme-doc-toc-mobile",docTocDesktop:"theme-doc-toc-desktop",docFooter:"theme-doc-footer",docFooterTagsRow:"theme-doc-footer-tags-row",docFooterEditMetaRow:"theme-doc-footer-edit-meta-row",docSidebarContainer:"theme-doc-sidebar-container",docSidebarMenu:"theme-doc-sidebar-menu",docSidebarItemCategory:"theme-doc-sidebar-item-category",docSidebarItemLink:"theme-doc-sidebar-item-link",docSidebarItemCategoryLevel:e=>`theme-doc-sidebar-item-category-level-${e}`,docSidebarItemLinkLevel:e=>`theme-doc-sidebar-item-link-level-${e}`},blog:{}}},3688:(e,t,r)=>{r.d(t,{A:()=>s});var n=r(1504),a=r(9936);const l=["zero","one","two","few","many","other"];function o(e){return l.filter((t=>e.includes(t)))}const c={locale:"en",pluralForms:o(["one","other"]),select:e=>1===e?"one":"other"};function i(){const{i18n:{currentLocale:e}}=(0,a.c)();return(0,n.useMemo)((()=>{try{return function(e){const t=new Intl.PluralRules(e);return{locale:e,pluralForms:o(t.resolvedOptions().pluralCategories),select:e=>t.select(e)}}(e)}catch(t){return console.error(`Failed to use Intl.PluralRules for locale "${e}".\nDocusaurus will fallback to the default (English) implementation.\nError: ${t.message}\n`),c}}),[e])}function s(){const e=i();return{selectMessage:(t,r)=>function(e,t,r){const n=e.split("|");if(1===n.length)return n[0];n.length>r.pluralForms.length&&console.error(`For locale=${r.locale}, a maximum of ${r.pluralForms.length} plural forms are expected (${r.pluralForms.join(",")}), but the message contains ${n.length}: ${e}`);const a=r.select(t),l=r.pluralForms.indexOf(a);return n[Math.min(l,n.length-1)]}(r,t,e)}}},1904:(e,t,r)=>{r.d(t,{iI:()=>a,S_:()=>c});var n=r(1504);function a({date:e,formattedDate:t}){return n.createElement("time",{dateTime:e,itemProp:"datePublished"},t)}var l=r(3688),o=r(3652);function c({readingTime:e}){const t=function(){const{selectMessage:e}=(0,l.A)();return t=>{const r=Math.ceil(t);return e(r,(0,o.G)({id:"theme.blog.post.readingTime.plurals",description:'Pluralized label for "{readingTime} min read". Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)',message:"One min read|{readingTime} min read"},{readingTime:r}))}}();return n.createElement(n.Fragment,null,t(e))}},3680:(e,t,r)=>{r.d(t,{u:()=>l});var n=r(1504),a=r(3120);const l=e=>n.createElement(a.E,e)},5880:(e,t,r)=>{r.d(t,{E:()=>m});var n=r(4971),a=r(1504),l=r(2268),o=r(2424),c=r(7104),i=r(3200),s=r(8164);const m=e=>(a.useEffect((()=>(e.open?document.body.style.overflow="hidden":document.body.style.overflow="auto",()=>{document.body.style.overflow="auto"})),[e.open]),a.createElement(s.c,null,(()=>(0,c.createPortal)(a.createElement(u,e),document.body)))),u=({children:e,title:t,open:r,onClose:c,variant:s})=>{const[m,u]=a.useState(48),{scrollY:d}=(0,i.Q)(),f=a.useRef(null);var g,p;return g=f,p=e=>{e.stopPropagation(),c()},a.useEffect((()=>{const e=e=>{g.current&&!g.current.contains(e.target)&&(e.preventDefault(),p(e))};return document.addEventListener("click",e,!0),()=>{document.removeEventListener("click",e,!0)}}),[g]),((e,t,r)=>{a.useEffect((()=>{const n=n=>{e.current&&t.includes(n.key)&&(n.preventDefault(),r(n))};return document.addEventListener("keydown",n,!0),()=>{document.removeEventListener("keydown",n,!0)}}),[e])})(f,["Escape"],(()=>{c()})),a.useEffect((()=>{const e=d.onChange((e=>{u(e>=48?0:48-e)}));return()=>e()}),[]),a.createElement("div",{style:{top:m},className:(0,n.c)("fixed","right-0 bottom-0","z-modal",!r&&"pointer-events-none")},a.createElement(o.O,{ref:f,as:"div",className:(0,n.c)("z-modal","flex flex-col","w-[240px] h-full","ml-auto","p-4","templates"===s&&"bg-gray-0 dark:bg-gray-900","blog"===s&&"bg-white dark:bg-refine-react-7","border-l dark:border-gray-800","dark:shadow-[0_0_72px_24px_#14141F]","shadow-[0_0_72px_24px_rgba(20, 20, 31, 0.50)]"),show:r,enter:"transition-transform duration-300 transition-ease-in-out",enterFrom:"translate-x-full",enterTo:"translate-x-0",leave:"transition-transform duration-300 transition-ease-in-out",leaveFrom:"translate-x-0",leaveTo:"translate-x-full"},a.createElement("div",{className:(0,n.c)("flex","items-center","justify-between","mb-10","dark:text-gray-300 text-gray-900")},a.createElement("h3",{className:(0,n.c)("text-base","font-semibold")},t),a.createElement("button",{type:"button",className:(0,n.c)("appearance-none"),onClick:c},a.createElement(l.O,null))),a.createElement("div",{className:(0,n.c)("overflow-auto h-full")},e)))}},6968:(e,t,r)=>{r.d(t,{m:()=>U});var n=r(9184),a=r(4971),l=r(3200),o=r(344),c=r(6076),i=r(1504),s=r(1980),m=r(8804),u=r(6098);const d=[{isPopover:!0,label:"Docs",items:[{label:"Foundation Docs",description:"Learn C++, Python & Java",link:"/docs",icon:u.C3},{label:"DSA Docs",description:"Learning DSA in C++, Python & Java",link:"/docs/1.DS.Algo",icon:u.uI}]},{isPopover:!0,label:"CodePoint",items:[{label:"Expert Sheet Solutions",description:"Most popular coding questions solutions asked during SDE interviews.",link:"https://prepverse.github.io/CodePoint/preface",icon:u.C3},{label:"Coding Ninjas Series",description:"Coding Ninjas Studio Guided Path Solutions",link:"https://prepverse.github.io/CodePoint/learning_resources/CN_Series/preface",icon:u.oh},{label:"LeetVerse",description:"Leetcode problem solutions with full probelm statements in C++, Python & Java",link:"https://prepverse.github.io/LeetVerse",icon:u.Ew}]},{isPopover:!0,label:"About",items:[{label:"About Me",description:"My information.",link:"/AkashSingh3031",icon:u.kv},{label:"Project Showcase",description:"PrepVerse open-source projects",link:"/showcase",icon:u.w9},{label:"My Portfolio",description:"All info about me",link:"https://prepverse.github.io/portfolio",icon:u.BE}]},{isPopover:!1,label:"Blog",href:"/blog",icon:u.s1},{isPopover:!1,label:"PrepVerse Community",href:"/prepverse-community",icon:u.vn}],f=({item:e,variant:t="landing"})=>{const r=e.icon;return i.createElement(n.c,{to:e.link,className:"no-underline"},i.createElement("div",{className:(0,a.c)("flex items-center","p-4","transition duration-150 ease-in-out","rounded-lg","hover:bg-gray-100","landing"===t&&"dark:hover:bg-gray-800","blog"===t&&"dark:hover:bg-refine-react-8")},i.createElement("div",{className:"shrink-0"},i.createElement(r,null)),i.createElement("div",{className:"ml-2"},i.createElement("div",{className:(0,a.c)("landing"===t&&"text-gray-900 dark:text-white","blog"===t&&"text-refine-react-8 dark:text-refine-react-3","font-semibold")},e.label),i.createElement("div",{className:(0,a.c)("landing"===t&&"text-gray-500 dark:text-gray-400","blog"===t&&"text-refine-react-5 dark:text-refine-react-4","text-xs")},e.description))))},g=({item:e})=>{const[t,r]=(0,i.useState)(null);(0,i.useEffect)((()=>(r(localStorage.getItem("theme")||null),window.addEventListener("storage",l,!1),()=>{window.removeEventListener("storage",l,!1)})),[]);const l=()=>{r(localStorage.getItem("theme")||null)};let o=e.icon;return"Cloud"===e.label&&(o="light"===t?u.oz:e.icon),i.createElement(n.c,{key:e.label,to:e.href,className:(0,a.c)("inline-flex items-center gap-2","text-sm leading-6 font-normal text-gray-900 dark:text-gray-300","transition-colors duration-150 ease-in-out","no-underline","Hackathon"===e.label?["py-1","px-2","rounded-lg","bg-hackathon-button-bg","animate-hackathon-button-bg","bg-refine-bg","text-gray-0","bg-[length:200%_100%]","text-[14px]","hover:text-gray-0"]:["hover:text-gray-900 dark:hover:text-white"])},e.icon&&i.createElement(o,null),e.label)};var p=r(640),b=r(5224),h=r(2424),y=r(4577);const w=({item:e,variant:t="landing",children:r})=>{const[n,l]=(0,i.useState)(!1),o=i.useRef(null),c=i.useRef(null),s=(0,p.IT)();return i.useEffect((()=>{l(!1)}),[s]),i.createElement(b._,{id:`popover-${e.label}`,key:e.label,className:(0,a.c)("relative","inline-flex items-center"),onMouseEnter:()=>{c.current=setTimeout((()=>l(!0)),210),clearTimeout(o.current)},onMouseLeave:()=>{o.current=setTimeout((()=>l(!1)),210),clearTimeout(c.current)}},(()=>i.createElement(i.Fragment,null,i.createElement(b._.Button,{className:(0,a.c)("inline-flex items-center","text-sm leading-6","font-normal")},i.createElement("span",{className:(0,a.c)("landing"===t&&"text-gray-900 dark:text-gray-300","blog"===t&&"text-refine-react-8 dark:text-refine-react-3","transition-colors duration-150 ease-in-out inline-block")},e.label),i.createElement(y.w,{"aria-hidden":"true",className:(0,a.c)("transition duration-150 ease-out","-mr-2","landing"===t&&"text-gray-500 dark:text-gray-400","blog"===t&&"text-refine-react-4",n?"translate-y-0.5":"")})),i.createElement(h.O,{as:i.Fragment,enter:"transition ease-in duration-150",enterFrom:"opacity-0 translate-y-3",enterTo:"opacity-100 translate-y-0",leave:"transition ease-out duration-150",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 translate-y-3",show:n},i.createElement(b._.Panel,{className:(0,a.c)("absolute","z-50","top-12",{"-left-32 center-point":"Docs"===e.label||"About"===e.label,"left-point":"CodePoint"===e.label})},i.createElement(u.WR,{id:e.label,variant:t,className:(0,a.c)("absolute","top-[-9px]",{"left-1/2":"CodePoint"!==e.label,"left-12":"CodePoint"===e.label}),style:{transform:"translateX(-50%)"}}),i.createElement("div",{className:(0,a.c)("overflow-hidden","rounded-xl","landing"===t&&"border dark:border-gray-700 border-gray-200","landing"===t&&"dark:shadow-menu-dark shadow-menu-light","blog"===t&&"border border-refine-react-3 dark:border-refine-react-6","blog"===t&&"dark:shadow-menu-blog-dark shadow-menu-blog-light")},r))))))},v=({variant:e="landing"})=>i.createElement(i.Fragment,null,d.map((t=>t.isPopover?i.createElement(w,{key:`navbar-${t.label}`,item:t,variant:e},"CodePoint"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,a.c)("grid grid-cols-2 gap-4","p-4","w-[672px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(f,{key:t.label,item:t,variant:e})))),i.createElement(n.c,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,a.c)("border-t","blog"===e&&"border-refine-react-3 dark:border-refine-react-6","landing"===e&&"border-gray-300 dark:border-gray-700","landing"===e&&"bg-gray-100 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-7","flex items-center","py-4 px-7")},i.createElement(u._2,null),i.createElement("div",{className:(0,a.c)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))),"About"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,a.c)("grid gap-4","p-4","w-[336px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(f,{key:t.label,item:t,variant:e})))),i.createElement("div",{className:(0,a.c)("border-t","blog"===e&&"border-refine-react-3 dark:border-refine-react-6","landing"===e&&"border-gray-300 dark:border-gray-700","landing"===e&&"bg-gray-100 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-7","flex justify-between items-center","py-4 px-7")},i.createElement("div",{className:(0,a.c)("landing"===e&&"text-gray-600 dark:text-gray-400 ","blog"===e&&"text-refine-react-5 dark:text-refine-react-4")},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.c,{to:"https://github.com/AkashSingh3031",className:(0,a.c)("no-underline","hover:text-inherit")},i.createElement(u.A9,{className:"dark:text-gray-400 text-gray-500"})),i.createElement(n.c,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(u.Ed,null)),i.createElement(n.c,{to:"https://instagram.com/akash.singh3031"},i.createElement(u.Yf,null)),i.createElement(n.c,{to:"https://x.com/akashsingh3031"},i.createElement(u.CC,null))))),"Docs"===t.label&&i.createElement("div",{className:(0,a.c)("grid gap-4","p-4","w-[336px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(f,{key:t.label,item:t,variant:e}))))):i.createElement(g,{key:`navbar-${t.label}`,item:t,variant:e}))));var x=r(2276),O=r(7008),E=r(9072),C=r(2268);function k(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const j=e=>i.createElement("svg",function(e){for(var t=1;ti.createElement("svg",function(e){for(var t=1;t{const[c,s]=(0,i.useState)(null),m=null!=r?r:n.c,d=void 0!==l&&void 0===t;return(0,i.useEffect)((()=>{const e=document.querySelector("html").getAttribute("data-theme");s(e)}),[]),i.createElement(m,function(e){for(var t=1;t{const r=(0,p.IT)();return i.useEffect((()=>{t(!1)}),[r]),i.createElement(F,{isModalOpen:e,setIsModalOpen:t},i.createElement(V,{className:(0,a.c)("hidden landing-sm:block","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}),i.createElement(Z,{className:(0,a.c)("block landing-sm:hidden","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}))},F=({isModalOpen:e,setIsModalOpen:t,children:r})=>i.createElement(h.O,{appear:!0,show:e,as:i.Fragment},i.createElement(x.C,{as:"div",className:"relative z-10",onClose:()=>t(!1)},i.createElement(h.O.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},i.createElement("div",{className:(0,a.c)("fixed inset-0","bg-gray-0 dark:bg-gray-900","flex","flex-col")},i.createElement(M.Q,null),i.createElement("div",{className:(0,a.c)("flex items-center justify-between","p-4","landing-sm:px-8")},i.createElement(m.m,{className:"dark:text-gray-0 text-gray-900"}),i.createElement("button",{type:"button",className:(0,a.c)("rounded-lg","hover:brightness-105","active:scale-90","transition-transform duration-75 ease-in-out")},i.createElement(C.O,{className:"text-gray-900 dark:text-white",onClick:()=>t(!1)}))),i.createElement(h.O.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-75",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95"},i.createElement("div",{className:(0,a.c)("flex-1","overflow-y-auto","px-4","pb-4")},r)))))),V=e=>i.createElement("div",{className:(0,a.c)(e.className)},d.map(((e,t)=>{const r="icon"in e&&e.icon;return i.createElement("div",{key:t,className:(0,a.c)("not-prose","p-4","border-t dark:border-gray-700 border-gray-200")},i.createElement(n.c,{to:"href"in e?e.href:void 0,className:(0,a.c)("appearance-none","block","no-underline","dark:text-gray-0 text-gray-900","font-bold")},i.createElement("div",{className:(0,a.c)("flex items-center gap-2")},i.createElement("div",null,e.label),r&&i.createElement(r,null))),"items"in e&&i.createElement("div",{className:(0,a.c)("mt-2","grid grid-cols-2 min-[800px]:grid-cols-3","gap-x-8 gap-y-4")},e.items.map((e=>i.createElement(f,{key:e.label,item:e})))))})),i.createElement(R,null),i.createElement(H,{id:"tablet"}),i.createElement(T,{id:"tablet"})),Z=e=>i.createElement("div",{className:(0,a.c)(e.className)},i.createElement("div",{className:"flex-grow"},d.map((e=>e.isPopover?i.createElement(O.C,{key:`modal-${e.label}`},(({open:t})=>i.createElement(i.Fragment,null,i.createElement(L,{component:O.C.Button,label:e.label,open:t}),i.createElement(O.C.Panel,{className:(0,a.c)(t&&"pb-4",t&&"border-b border-gray-200 dark:border-gray-700")},e.items.map((e=>i.createElement(f,{key:e.label,item:e}))))))):i.createElement(L,{key:`modal-${e.label}`,label:e.label,href:e.href,icon:e.icon})))),i.createElement(R,null),i.createElement(H,{id:"phone"}),i.createElement(T,{id:"phone"})),T=e=>{var t;return i.createElement(n.c,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,a.c)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex items-center","p-4")},i.createElement(u._2,{id:(null===(t=e)||void 0===t?void 0:t.id)||""}),i.createElement("div",{className:(0,a.c)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))},H=e=>{var t;return i.createElement("div",{className:(0,a.c)("bg-white dark:bg-gray-700 header-sm:bg-inherit","flex justify-between items-center","header-sm:flex-col header-sm:gap-4","header-sm:border-b border-gray-200 dark:border-gray-600","py-3 px-4")},i.createElement("p",{className:"text-gray-500 dark:text-gray-300 font-semibold"},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.c,{to:"https://github.com/AkashSingh3031"},i.createElement(u.A9,{className:"h-10 w-10"})),i.createElement(n.c,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(u.Ed,{className:"h-10 w-10"})),i.createElement(n.c,{to:"https://instagram.com/akash.singh3031"},i.createElement(u.Yf,{className:"h-10 w-10",id:(null===(t=e)||void 0===t?void 0:t.id)||""})),i.createElement(n.c,{to:"https://x.com/akashsingh3031"},i.createElement(u.CC,{className:"h-10 w-10"}))))},R=()=>{const{colorMode:e,setColorMode:t}=(0,E.U)(),r=()=>{t("dark"===e?"light":"dark")},n="dark"===e,l="light"===e;return i.createElement("div",{className:(0,a.c)("not-prose","p-4","flex items-center")},i.createElement("div",{className:(0,a.c)("text-sm","mr-10","dark:text-gray-400 text-gray-600")},"Apperance"),i.createElement("button",{onClick:r,className:(0,a.c)("mr-4","rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200","text-gray-500",l&&"bg-gray-50")},i.createElement(A.G,null),"Light"),i.createElement("button",{onClick:r,className:(0,a.c)("rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200",n?"text-gray-400":"text-gray-500",n&&"bg-gray-700")},i.createElement(D.g,null),"Dark"))};var _=r(9253),z=r(2700),I=r(5792),$=r(6936);const G=()=>{const{loading:e,githubStarCountText:t}=(0,z.wx)();return i.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank",rel:"noreferrer",className:(0,a.c)("flex gap-2 items-center","font-normal","text-sm leading-6","text-gray-500 dark:text-gray-400","hover:text-gray-400 dark:hover:text-gray-300","hover:no-underline","transition-colors","duration-200","ease-in-out")},i.createElement(I.A,{className:(0,a.c)("w-5 h-5")}),i.createElement("div",{className:(0,a.c)("flex items-center","w-10 h-6")},e?i.createElement($.c,{className:(0,a.c)("w-5 h-5"),wrapperProps:{className:(0,a.c)("mx-auto")}}):i.createElement("span",null,t)))},U=({trackProgress:e,variant:t="landing",className:r})=>{const[u,d]=(0,i.useState)(!1),{scrollYProgress:f}=(0,l.Q)(),g=(0,o.s)(f,[.03,.95],["0%","100%"]);return i.createElement(i.Fragment,null,i.createElement(M.Q,null),i.createElement("header",{className:(0,a.c)("sticky","top-0","z-10")},i.createElement("div",{className:(0,a.c)("absolute","top-0 left-0 right-0","backdrop-blur-[6px]","landing-md:backdrop-blur-[12px]","z-[-1]","bg-gray-0 dark:bg-gray-800","bg-opacity-80 dark:bg-opacity-80","pointer-events-none",r),style:{top:"-20px",bottom:"-80px",WebkitMaskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))",maskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))"}}),i.createElement("div",{className:(0,a.c)("relative","z-[1]","p-4","landing-sm:px-8","landing-md:py-5")},i.createElement("div",{className:(0,a.c)("mx-auto","flex","items-center","justify-between","max-w-[896px]","landing-lg:max-w-[1200px]")},i.createElement("div",{className:(0,a.c)("w-[130px]","landing-lg:w-[200px]")},i.createElement(n.c,{to:"/"},i.createElement(m.m,{className:"text-gray-900 dark:text-gray-0"}))),i.createElement("button",{type:"button",className:(0,a.c)("text-gray-900 dark:text-gray-0","block landing-md:hidden"),onClick:()=>d(!0)},i.createElement(s.m,null)),i.createElement("div",{className:(0,a.c)("hidden landing-md:flex","flex-1","items-center","gap-8")},i.createElement(v,{variant:t})),i.createElement("div",{className:(0,a.c)("hidden landing-md:flex","items-center","justify-end","gap-4","w-[130px]","landing-lg:w-[200px]")},i.createElement(G,null),i.createElement(_.C,null)),i.createElement(B,{isModalOpen:u,setIsModalOpen:d}))),e&&i.createElement("div",{className:(0,a.c)("w-full","h-[1.5px]","translate","bg-refine-react-3 dark:bg-refine-react-7")},i.createElement(c.q.div,{className:(0,a.c)("h-full","bg-refine-react-light-link dark:bg-refine-react-dark-link"),style:{width:g}}))))}},9253:(e,t,r)=>{r.d(t,{C:()=>i,O:()=>m});var n=r(1504),a=r(4971),l=r(9072),o=r(3756),c=r(5372);const i=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,l.U)();return n.createElement("button",{type:"button",className:(0,a.c)("appearance-none","focus:outline-none","relative","w-10 h-10","rounded-full","border","border-solid","border-gray-300 dark:border-gray-700","text-gray-500","transition-colors","duration-150","ease-in-out","overflow-hidden","flex-shrink-0","group",e),onClick:()=>{r("dark"===t?"light":"dark")}},n.createElement("div",{className:(0,a.c)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","translate-y-0","dark:-translate-y-10","duration-200","ease-in-out","transition-transform")},n.createElement(o.G,null)),n.createElement("div",{className:(0,a.c)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","-translate-y-10","dark:translate-y-0","duration-200","ease-in-out","transition-transform")},n.createElement(c.g,null)))},s=[{name:"light",icon:o.G,label:"Light"},{name:"dark",icon:c.g,label:"Dark"}],m=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,l.U)();return n.createElement("div",{className:(0,a.c)("flex","items-center","gap-4","justify-start",e)},s.map((({name:e,label:l,icon:o})=>n.createElement("button",{type:"button",key:e,className:(0,a.c)("appearance-none","focus:outline-none","py-1","pl-1.5","pr-3","flex","items-center","justify-center","gap-1","rounded-[40px]","text-gray-400","border border-solid","border-gray-200","dark:border-gray-600",t===e&&"bg-gray-100 dark:bg-gray-700"),onClick:()=>{r(e)}},n.createElement(o,{className:(0,a.c)("w-4 h-4")}),n.createElement("span",{className:(0,a.c)("text-sm")},l)))))}},7708:(e,t,r)=>{r.d(t,{o0:()=>g,yw:()=>d,wd:()=>f,AR:()=>p});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var m=r(6098),u=r(4252);const d=[{label:"Resources",items:[{label:"Getting Started",href:"/docs"},{label:"Blog",href:"/blog"},{label:"Project Showcase",icon:n.createElement(m.KU,null),href:"/showcase"},{label:"Community",icon:n.createElement(m.KU,null),href:"/prepverse-community"}]},{label:"Product",items:[{label:"CodePoint",icon:n.createElement(u.i,null),href:"https://prepverse.github.io/CodePoint"},{label:"LeetVerse",icon:n.createElement(u.i,null),href:"https://prepverse.github.io/LeetVerse"}]},{label:"About",items:[{label:"About Me",href:"/AkashSingh3031"},{label:"Portfolio",icon:n.createElement(u.i,null),href:"https://prepverse.github.io/portfolio"}]}],f=[{label:"License",href:"https://github.com/PrepVerse/prepverse.github.io/blob/master/LICENSE"}],g="Thank you for visiting, Connect with me over socials.",p=[{icon:e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{r.d(t,{G:()=>l});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{w:()=>l});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{g:()=>l});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{i:()=>l});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{y:()=>c});var n=r(4971),a=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const c=e=>a.createElement("svg",o(function(e){for(var t=1;t{r.d(t,{A:()=>o,i:()=>c});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e){for(var t=1;tn.createElement("svg",l({width:12,height:12,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.053 0A10.904 10.904 0 0 0 3.89 2.685 11.34 11.34 0 0 0 .142 9.472a11.48 11.48 0 0 0 1.456 7.65 11.087 11.087 0 0 0 5.964 4.86c.556.103.752-.25.752-.547v-1.918C5.23 20.202 4.58 18 4.58 18a3.012 3.012 0 0 0-1.227-1.655c-.997-.692.081-.692.081-.692.35.05.683.18.975.382.293.202.536.469.713.78.15.278.352.523.595.721a2.312 2.312 0 0 0 2.618.221c.042-.57.283-1.105.678-1.509-2.454-.284-5.03-1.253-5.03-5.539a4.415 4.415 0 0 1 1.132-3.025A4.194 4.194 0 0 1 5.224 4.7s.928-.305 3.036 1.156c1.81-.508 3.72-.508 5.531 0 2.108-1.46 3.03-1.156 3.03-1.156.406.936.455 1.993.135 2.963a4.415 4.415 0 0 1 1.132 3.026c0 4.334-2.582 5.282-5.043 5.538.264.271.468.597.598.955.13.358.182.741.155 1.122V21.4c0 .367.196.65.759.54a11.093 11.093 0 0 0 5.88-4.878 11.481 11.481 0 0 0 1.419-7.6 11.34 11.34 0 0 0-3.71-6.746A10.907 10.907 0 0 0 11.053 0Z",fill:"currentColor"})),c=e=>n.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.066.001a11.91 11.91 0 0 1 7.745 2.966 12.326 12.326 0 0 1 4.032 7.33 12.46 12.46 0 0 1-1.54 8.245 12.088 12.088 0 0 1-6.406 5.314l-.105.037-.11.021c-.508.1-1.232.093-1.83-.422-.577-.498-.681-1.166-.681-1.565v-3.008l.004-.053a1.102 1.102 0 0 0-.062-.453 1.058 1.058 0 0 0-.235-.377l-.839-.86-.863.882a.802.802 0 0 0-.224.502l-.015.217v3.183c0 .434-.14 1.029-.628 1.492-.541.514-1.246.62-1.864.505l-.108-.02-.104-.035a12.082 12.082 0 0 1-6.498-5.296 12.457 12.457 0 0 1-1.58-8.298c.45-2.86 1.891-5.471 4.073-7.375A11.909 11.909 0 0 1 12.05.001h.016Zm-10.43 10.54a10.957 10.957 0 0 0 1.39 7.303 10.58 10.58 0 0 0 5.693 4.638c.53.099.717-.238.717-.522v-1.83c-.588.13-1.083.15-1.5.1a2.95 2.95 0 0 1-.542-.117 2.551 2.551 0 0 1-.422-.176 2.362 2.362 0 0 1-.82-.72c-.208-.294-.28-.535-.28-.535a2.876 2.876 0 0 0-1.17-1.58l-.016-.01c-.925-.65.093-.65.093-.65.106.015.21.038.313.068l.017.005a2.172 2.172 0 0 1 .962.603c.122.13.23.276.319.433a2.29 2.29 0 0 0 .68.775h.002s0 .001 0 0a2.211 2.211 0 0 0 2.385.124v-.014a2.302 2.302 0 0 1 .647-1.427 8.754 8.754 0 0 1-1.625-.328 4.865 4.865 0 0 1-1.416-.695 3.883 3.883 0 0 1-.432-.365c-.8-.786-1.328-2.002-1.328-3.899a4.214 4.214 0 0 1 1.08-2.887 4.003 4.003 0 0 1 .104-2.848s.886-.291 2.898 1.103a9.762 9.762 0 0 1 5.28 0c2.011-1.393 2.891-1.103 2.891-1.103.388.893.434 1.902.13 2.828a4.214 4.214 0 0 1 1.08 2.888c0 3.166-1.444 4.44-3.174 4.972a8.617 8.617 0 0 1-1.64.314 2.558 2.558 0 0 1 .699 1.425c.026.184.033.371.02.558v2.955c0 .35.187.62.724.515a10.588 10.588 0 0 0 5.613-4.656 10.958 10.958 0 0 0 1.354-7.254 10.824 10.824 0 0 0-3.541-6.439 10.41 10.41 0 0 0-6.77-2.592 10.408 10.408 0 0 0-6.837 2.563 10.824 10.824 0 0 0-3.578 6.478ZM16.374 7.8a8.003 8.003 0 0 0-.856.524l-.58.401-.679-.19a8.262 8.262 0 0 0-4.469 0l-.68.19-.58-.402a7.982 7.982 0 0 0-.846-.519c.019.186.059.37.12.549l.282.832-.588.653a2.714 2.714 0 0 0-.696 1.86v.024c0 1.724.503 2.513.998 2.937.563.481 1.397.736 2.476.86l1.567.182 1.954-.204c1.082-.112 1.912-.358 2.47-.833.492-.418.999-1.209.999-2.96v-.026a2.714 2.714 0 0 0-.696-1.86l-.582-.647.273-.826c.058-.178.096-.36.113-.545Z",clipRule:"evenodd"}))},1980:(e,t,r)=>{r.d(t,{m:()=>l});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{Q:()=>l});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{G:()=>l});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{s1:()=>c,wR:()=>s,QD:()=>u,vn:()=>f,kv:()=>p,uI:()=>h,A9:()=>w,_2:()=>x,Ew:()=>E,Yf:()=>k,oh:()=>P,Ed:()=>S,BE:()=>M,KU:()=>B,WR:()=>R,w9:()=>z,CC:()=>$,AH:()=>Y,oz:()=>Q,C3:()=>q});var n=r(1504);var a=r(4971);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const c=e=>n.createElement("svg",o(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const{colorMode:t}=(0,D.U)();return n.createElement("div",{className:(0,a.c)("relative","flex","items-center","justify-center","rounded-full","overflow-hidden","p-px","dark:bg-[#194b3a] bg-[#b7dbff]"),style:{transform:"translateZ(0)"}},n.createElement("div",{className:(0,a.c)("z-[1]","absolute","inset-0","dark:bg-new-badge-border-dark bg-new-badge-border-light","animate-new-badge-border")}),n.createElement("svg",function(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var T,H;const R=e=>{var{variant:t="landing"}=e,r=Z(e,["variant"]);return n.createElement("svg",V(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",U(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{r.d(t,{m:()=>l});var n=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{E:()=>g});var n=r(4971),a=r(1504),l=r(9184),o=r(7708),c=r(204);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const s=e=>a.createElement("svg",function(e){for(var t=1;t{const t=a.createElement("div",{className:(0,n.c)("py-6 landing-lg:py-0","flex","flex-col","gap-4","landing-lg:max-w-[224px]")},a.createElement("div",{className:(0,n.c)("font-semibold","text-sm","leading-6","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},"Contacts"),a.createElement("a",{href:"https://wa.me/+919794423031",target:"_blank",className:(0,n.c)("font-normal","text-sm","leading-5","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},"+91 9794423031"),a.createElement("a",{href:"https://mail.google.com/mail/u/0/?fs=1&to=codewithsky@gmail.com&tf=cm",target:"_blank",className:(0,n.c)("font-normal","text-sm","leading-5","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:180,height:40,viewBox:"0 0 180 40",fill:"none"},a.createElement("text",{x:"1",y:"15",fontFamily:"Arial, sans-serif",fontSize:"16",fill:"currentColor"},"codewithsky@gmail.com")))),r=a.createElement("div",{className:(0,n.c)("py-6 landing-lg:py-0","flex","flex-col","landing-sm:items-end")},a.createElement("div",{className:(0,n.c)("flex","flex-col","gap-4")},a.createElement("div",{className:(0,n.c)("text-sm","leading-6","font-semibold","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3","landing-lg:text-right")},"Connect with me on"),a.createElement("div",{className:(0,n.c)("flex","items-center","gap-8","landing-lg:gap-4","justify-start")},o.AR.map((({href:t,icon:r})=>a.createElement("a",{href:t,key:t,target:"_blank",rel:"noreferrer",className:(0,n.c)("landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},a.createElement(r,{className:(0,n.c)("w-6 h-6","landing-lg:w-8 landing-lg:h-8")})))))));return a.createElement("footer",{className:(0,n.c)("w-full")},a.createElement("div",{className:(0,n.c)("border-t border-t-solid","landing"===e&&"border-t-gray-100 dark:border-t-gray-700","blog"===e&&"border-t-refine-react-3 dark:border-t-refine-react-7","landing"===e&&"dark:bg-footer-landing-dark-bg","blog"===e&&"bg-footer-blog-light-bg dark:bg-footer-blog-dark-bg")},a.createElement("div",{className:(0,n.c)("grid","grid-cols-1","max-w-screen-landing-md","landing-lg:max-w-screen-landing-lg","mx-auto")},a.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8 landing-lg:px-12","py-4 landing-lg:py-6","flex","items-center","justify-between")},a.createElement(l.c,{to:"/",className:(0,n.c)("hover:no-underline","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},a.createElement(m.m,null)),a.createElement("a",{href:"https://github.com/sponsors/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,n.c)("hover:no-underline")},a.createElement(s,null))),a.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8 landing-lg:px-12","flex","flex-row","flex-wrap","items-start","justify-start","text-gray-500 dark:text-gray-500")},o.o0),a.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8 landing-lg:px-12","py-6 landing-lg:pt-8 landing-lg:pb-12","flex","flex-row","flex-wrap","items-start","justify-start","gap-6")},a.createElement("div",{className:(0,n.c)("hidden","landing-lg:flex","max-w-[282px]","w-full")},t),o.yw.map((t=>a.createElement("div",{className:(0,n.c)("flex flex-col gap-4","min-w-[152px]"),key:t.label},a.createElement("div",{className:(0,n.c)("text-sm","leading-6","font-semibold","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},t.label),a.createElement("div",{className:(0,n.c)("flex","flex-col","gap-2")},t.items.map((t=>a.createElement("a",f(d({href:t.href,key:t.label},t.href.startsWith("http")?{target:"_blank",rel:"noopener noreferrer"}:{}),{className:(0,n.c)("text-sm","leading-5","hover:no-underline","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300")}),a.createElement("div",{className:(0,n.c)("flex","items-center","gap-2")},t.label,t.icon)))))))),a.createElement("div",{className:(0,n.c)("hidden","landing-lg:flex","ml-auto")},r)),a.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8","grid","grid-cols-1","landing-sm:grid-cols-2","landing-sm:gap-8","landing-lg:hidden")},t,r))),a.createElement("div",{className:(0,n.c)("border-t border-t-solid","landing"===e&&"border-t-gray-100 dark:border-t-gray-700","blog"===e&&"border-t-gray-100 dark:border-t-gray-700","landing"===e&&"bg-gray-50 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-8")},a.createElement("div",{className:(0,n.c)("py-6 landing-sm:py-8 landing-lg:py-6","px-4 landing-sm:px-8 landing-lg:px-12","grid","grid-cols-1","landing-md:grid-cols-2","gap-8","max-w-screen-landing-md","landing-lg:max-w-screen-landing-lg","mx-auto")},a.createElement("div",{className:(0,n.c)("flex","flex-col","landing-sm:flex-row","gap-4","items-start","justify-start")},o.wd.map((t=>a.createElement("a",f(d({href:t.href,key:t.label},t.href.startsWith("http")?{target:"_blank",rel:"noopener noreferrer"}:{}),{className:(0,n.c)("text-sm","leading-5","font-normal","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:no-underline","hover:text-gray-800 dark:hover:text-gray-300")}),t.label)))),a.createElement("div",{className:(0,n.c)("text-left","landing-md:text-right","text-sm","pr-6 landing-sm:pr-0","leading-5","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3","font-normal")},a.createElement("div",{className:(0,n.c)("text-base","text-gray-500 dark:text-gray-400")},"Copyright \xa9 ",(new Date).getFullYear()," PrepVerse"," ",a.createElement(c.Q,{className:"text-refine-red ml-2 inline leading-6"}),a.createElement("br",null),"Built with Docusaurus & Refine.")))))}},6192:(e,t,r)=>{r.d(t,{D:()=>u});var n=r(1504),a=r(4971),l=r(9184);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=e=>n.createElement("svg",function(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const u=e=>{var{children:t,href:r,className:o,onClick:u,buttonClassname:d}=e,f=m(e,["children","href","className","onClick","buttonClassname"]);const g=r?l.c:"button";return n.createElement(g,s(function(e){for(var t=1;t{r.d(t,{c:()=>i});var n=r(4971),a=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const i=e=>{var{className:t,wrapperProps:r}=e,l=c(e,["className","wrapperProps"]);return a.createElement("div",o({role:"status"},r),a.createElement("svg",o({"aria-hidden":"true",width:24,height:24,viewBox:"0 0 100 100",className:(0,n.c)("text-gray-200 animate-spin dark:text-gray-600 fill-refine-blue",t),fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),a.createElement("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),a.createElement("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})),a.createElement("span",{className:"sr-only"},"Loading..."))}},252:(e,t,r)=>{r.d(t,{Q:()=>i});var n=r(4971),a=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;ta.createElement("div",{className:(0,n.c)("w-full h-12","relative","bg-top-announcement","not-prose","font-inter","z-top-announcement")},a.createElement("div",{className:(0,n.c)("hidden lg:flex","w-full h-full","max-w-screen","overflow-hidden","border-b border-solid border-[#47ebeb26]","top-announcement-mask")},a.createElement("div",{className:(0,n.c)("w-[1280px] h-full","mx-auto","flex","justify-between")},a.createElement("div",{className:(0,n.c)("w-[calc(50%-300px)] h-full","relative")},a.createElement(m,{style:{animationDelay:"1.5s"},className:(0,n.c)("absolute","top-[2px]","right-[220px]"),id:"1"}),a.createElement(m,{style:{animationDelay:"1s"},className:(0,n.c)("absolute","rotate-180","top-[8px] right-[100px]"),id:"2"}),a.createElement(u,{className:(0,n.c)("absolute","right-[10px]"),id:"3"})),a.createElement("div",{className:(0,n.c)("w-[calc(50%-300px)] h-full","relative")},a.createElement(m,{style:{animationDelay:"2s"},className:(0,n.c)("absolute","rotate-180","top-[6px] right-[180px]"),id:"4"}),a.createElement(m,{style:{animationDelay:"0.5s"},className:(0,n.c)("delay-[1300]","absolute","top-[2px]","right-[40px]"),id:"5"}),a.createElement(u,{className:(0,n.c)("absolute","right-[-70px]"),id:"6"})))),a.createElement(s,null)),s=()=>a.createElement("a",{href:"https://github.com/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,n.c)("relative lg:absolute","px-2 lg:px-0","top-0","left-[50%]","translate-x-[-50%]","bg-top-announcement-text","h-full w-full lg:w-[450px]","flex items-center justify-center","text-white","text-xs sm:text-sm","text-center","no-underline","hover:no-underline","hover:text-white","not-prose")},a.createElement("div",{className:(0,n.c)("ml-2","not-prose")},"For more updates follow","",a.createElement("span",{className:(0,n.c)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")},"@AkashSingh3031"),".")),m=e=>a.createElement("svg",c(o({xmlns:"http://www.w3.org/2000/svg",width:80,height:40,fill:"none"},e),{className:(0,n.c)("animate-top-announcement-glow","opacity-1",e.className)}),a.createElement("circle",{cx:40,r:40,fill:`url(#${e.id}-a)`,fillOpacity:.5}),a.createElement("defs",null,a.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 40 -40 0 40 0)",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#47EBEB"}),a.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0})))),u=e=>a.createElement("svg",c(o({xmlns:"http://www.w3.org/2000/svg",width:120,height:48,fill:"none"},e),{className:(0,n.c)("animate-top-announcement-glow","opacity-1",e.className)}),a.createElement("circle",{cx:60,cy:24,r:60,fill:`url(#${e.id}-a)`,fillOpacity:.5}),a.createElement("defs",null,a.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 60 -60 0 60 24)",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#47EBEB"}),a.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0}))))},7328:(e,t,r)=>{r.d(t,{c:()=>j});var n=r(4971),a=r(1504);const l=({className:e})=>a.createElement("div",{className:(0,n.c)("relative","w-full","landing-md:mx-auto","w-full","pt-4 blog-md:pt-12 pb-6 px-6","bg-white dark:bg-gray-800",e)},a.createElement("div",{className:(0,n.c)("blog-sm:max-w-[592px]","blog-md:max-w-[656px]","blog-lg:max-w-[896px]","blog-max:max-w-[1200px]","w-full","mx-auto","flex","flex-col","items-start justify-start blog-lg:items-center blog-lg:justify-center","gap-4","not-prose")},a.createElement("h2",{className:(0,n.c)("flex","flex-wrap","gap-2","text-[32px] leading-[40px] landing-sm:text-[56px] landing-sm:leading-[72px]")},a.createElement("div",{className:(0,n.c)("dark:text-gray-0 text-gray-900")},"PrepVerse "),a.createElement("div",{className:(0,n.c)("font-semibold","dark:text-refine-green-alt dark:drop-shadow-[0_0_30px_rgba(71,235,235,0.25)]","text-refine-blue drop-shadow-[0_0_30px_rgba(51,51,255,0.3)]","whitespace-nowrap")},"Technical Blog")),a.createElement("p",{className:(0,n.c)("text-base","text-start landing-md:text-center","max-w-[588px]","dark:text-gray-400 text-gray-600","pb-2")},"contains all the DSA, Core Subjects, Web Tech, Data Science & FAANG Interview questions based blogs.")));var o=r(3680),c=r(8480),i=r(6968),s=r(6192),m=r(6112),u=r(9184),d=r(2424),f=r(2276),g=r(2268);function p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function b(e){for(var t=1;t{const[r,n]=(0,a.useState)({scrollDepths:e,scrollY:0}),{scrollDepths:l,scrollY:o}=r;return(0,a.useEffect)((()=>{"undefined"!=typeof window&&0!==window.pageYOffset&&n((e=>h(b({},e),{scrollY:window.pageYOffset})))}),[]),(0,a.useEffect)((()=>{if("undefined"==typeof window)return;const e=()=>window.removeEventListener("scroll",a),a=()=>{const a=document.documentElement,o=document.body,c=a.scrollTop||o.scrollTop,i=a.scrollHeight||o.scrollHeight,s=c/(i-a.clientHeight)*100;if(l){const r=Math.min(...l,i);if(s>=r){const a=l.filter((e=>e!==r));0===a.length&&e(),t&&t({scrollY:r,scrollPercent:s,remainingDepths:a}),n({scrollY:r,scrollDepths:a})}}else n(h(b({},r),{scrollY:s}))};return window.addEventListener("scroll",a),e}),[l,o,r]),{scrollY:o}},w=(e,t)=>{const[r,n]=(0,a.useState)((()=>{if("undefined"==typeof window)return t;try{const r="undefined"!=typeof window?window.localStorage.getItem(e):void 0;return r?JSON.parse(r):t}catch(r){return console.log(r),t}}));return[r,t=>{try{const a=t instanceof Function?t(r):t;n(a),"undefined"!=typeof window&&window.localStorage.setItem(e,JSON.stringify(a))}catch(a){console.log(a)}}]};var v=r(640);const x=({title:e="Click here to discover my latest projects, skills, and achievements on my portfolio website. My journey into creativity begins now!",variant:t="purple",image:r={src:"https://github.com/AkashSingh3031.png",alt:"My Portfolio",href:"https://prepverse.github.io/portfolio"},button:l={text:"Explore Now",href:"https://prepverse.github.io/portfolio",onClick:void 0}})=>{var o,c,i,p;const{pathname:b}=(0,v.IT)(),[h,x]=(0,a.useState)(!1),[O,E]=w("banner-modal",null),C=(0,a.useRef)(!1),k=y();var j,P;return(0,a.useEffect)((()=>{"/blog/"!==b&&"/blog"!==b&&(C.current||h||k.scrollY>79&&k.scrollY<100&&(C.current=!0,9===O||null===O?(x(!0),E(0)):(E(O+1),C.current=!0)))}),[k.scrollY]),(0,a.useEffect)((()=>{h&&"undefined"!=typeof window&&void 0!==window.gtag&&window.gtag("event","view_banner",{banner_name:"banner-modal",banner_text:e,banner_image:r.src})}),[h]),a.createElement(d.O,{appear:!0,show:h,as:a.Fragment},a.createElement(f.C,{as:"div",className:"relative z-modal",onClose:()=>x(!1)},a.createElement(d.O.Child,{as:a.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},a.createElement("div",{className:"fixed inset-0 bg-gray-900/70"})),a.createElement("div",{className:"fixed inset-0 overflow-y-auto"},a.createElement("div",{className:"flex min-h-full items-start justify-center"},a.createElement(d.O.Child,{as:a.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},a.createElement(f.C.Panel,{className:(0,n.c)("w-full min-h-screen","flex flex-col justify-center items-center")},a.createElement("div",{className:(0,n.c)("relative","rounded-3xl","max-w-[576px]","py-8","px-4 md:px-8","gray"===t&&"bg-banner-examples-modal-gray","purple"===t&&"bg-banner-examples-modal-purple")},a.createElement("div",{className:(0,n.c)("flex","flex-col","items-center","gap-8","text-center","not-prose")},a.createElement(u.c,{to:null!==(j=null===(o=r)||void 0===o?void 0:o.href)&&void 0!==j?j:null===(c=l)||void 0===c?void 0:c.href,target:"_blank",rel:"noopener noreferrer",className:(0,n.c)("flex","h-auto xl:h-[192px]","flex-shrink-0","rounded-lg","overflow-hidden","focus:outline-none")},a.createElement("img",{className:(0,n.c)("object-contain"),src:null===(i=r)||void 0===i?void 0:i.src,alt:null!==(P=null===(p=r)||void 0===p?void 0:p.alt)&&void 0!==P?P:e,loading:"lazy"})),a.createElement("p",{className:(0,n.c)("text-2xl","font-semibold","gray"===t&&"bg-clip-text","gray"===t&&"text-transparent","gray"===t&&"bg-banner-examples-text","purple"===t&&"text-gray-0")},e),a.createElement(s.D,{className:(0,n.c)("w-max"),buttonClassname:(0,n.c)("!px-4","!py-4"),href:l.href,onClick:l.onClick,target:"_blank",rel:"noopener noreferrer"},a.createElement("div",{className:(0,n.c)("text-gray-900","text-base","font-bold")},l.text),a.createElement(m.G,{className:(0,n.c)("w-4","h-4")}))),a.createElement("button",{className:(0,n.c)("absolute","top-2 right-2","w-8 h-8","flex items-center justify-center flex-shrink-0","text-gray-0","rounded-full","bg-gray-900/20"),onClick:()=>x(!1)},a.createElement(g.O,{className:"w-4 h-4"})))))))))};var O=r(6280);function E(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function C(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function k(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},l=Object.keys(e);for(n=0;n=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const j=e=>{const[t,r]=(0,a.useState)(!1),{children:s,toc:m,showSidebarBanner:u=!0}=e,d=k(e,["children","toc","showSidebarBanner"]),f=y();return(0,a.useEffect)((()=>{t&&(f.scrollY>20&&r(!0),f.scrollY<20&&r(!1))}),[f.scrollY,u]),a.createElement(c.C,C(function(e){for(var t=1;t{r.d(t,{c:()=>u});var n=r(1504),a=r(3652),l=r(9184),o=r(2460);const c="...",i=(e,t)=>{const r=t-e+1;return Array.from({length:r},((t,r)=>r+e))},s=({totalPages:e,siblingCount:t=1,currentPage:r})=>(0,n.useMemo)((()=>{if(t+5>=e)return i(1,e);const n=Math.max(r-t,1),a=Math.min(r+t,e),l=n>2,o=ae===c?n.createElement("li",{key:`page:${e}`,className:(0,m.c)("flex items-center justify-center","text-gray-500 dark:text-gray-400","rounded-full","hover:no-underline","no-underline","h-[32px] w-[32px]")},"\u2026"):n.createElement("li",{key:e},n.createElement(l.c,{to:1===e?r:`${r}/page/${e}`,className:(0,m.c)("text-sm","flex items-center justify-center","text-gray-500 dark:text-gray-400","rounded-full","hover:no-underline","h-[32px] w-[32px]","no-underline",e!==u&&"text-refine-react-5 dark:text-refine-react-4",e===u&&"text-refine-react-8 dark:text-refine-react-3",e===u&&"bg-refine-react-3 dark:bg-refine-react-7")},e)))),n.createElement("li",null,n.createElement(l.c,{to:u===f?void 0:`${r}/page/${u+1}`,className:(0,m.c)("rounded-full","hover:no-underline","text-refine-react-5 dark:text-refine-react-4",u!==f&&"opacity-70",u===f&&"pointer-events-none opacity-20")},n.createElement(o.yu,null)))))}},2668:(e,t,r)=>{r.d(t,{c:()=>u});var n=r(1504),a=r(468),l=r(2032),o=r(9184),c=r(3270),i=r(1904),s=r(4971);function m({className:e}){var t,r;const{metadata:l}=(0,a.g)(),{permalink:m,title:u,date:d,formattedDate:f,frontMatter:g,description:p,tags:b}=l,h=l.authors[0];return n.createElement(c.c,{className:e},n.createElement("div",null,n.createElement(o.c,{itemProp:"url",to:m,className:(0,s.c)("block","w-full h-auto","aspect-[592/334]")},n.createElement("div",{className:(0,s.c)("not-prose relative m-0 hover:brightness-90","h-full w-full")},n.createElement("img",{src:`${g.image}?h=432`,alt:u,className:(0,s.c)("absolute inset-0 mt-0 h-full w-full rounded-[10px] object-cover"),loading:"lazy"})))),n.createElement("div",{className:"px-4 py-4 md:px-6 md:py-6"},n.createElement("div",{className:(0,s.c)("flex flex-wrap items-center","mb-6","gap-2")},b.map((e=>n.createElement(o.c,{className:(0,s.c)("text-xs","bg-refine-react-3 dark:bg-refine-react-7","text-refine-react-8 dark:text-refine-react-3","no-underline","rounded-full","px-2 py-1"),href:e.permalink,key:e.permalink},e.label)))),n.createElement("div",{className:"mb-2 md:mb-4"},n.createElement(o.c,{itemProp:"url",to:m,className:"no-underline hover:no-underline",rel:"noopener dofollow"},n.createElement("div",{className:(0,s.c)("mb-4","text-gray-700 dark:text-refine-react-3","text-xl","font-lg","font-bold")},u)),n.createElement("div",{className:(0,s.c)("line-clamp-3","text-gray-700 dark:text-refine-react-4","text-sm")},p)),n.createElement("div",{className:"flex items-center gap-2"},n.createElement(o.c,{href:`/blog/author/${null===(t=h)||void 0===t?void 0:t.key}`,itemProp:"url",className:(0,s.c)("text-gray-600 hover:text-gray-600","dark:text-gray-400 hover:dark:text-gray-400","text-xs","no-underline")},null===(r=h)||void 0===r?void 0:r.name),n.createElement("span",{className:(0,s.c)("h-[4px] w-[4px] rounded-full","bg-gray-600 dark:bg-gray-500")}),n.createElement("span",{className:(0,s.c)("text-gray-600 dark:text-refine-react-5","text-xs","leading-6","no-underline")},n.createElement(i.iI,{date:d,formattedDate:f})))))}function u({items:e,tags:t,component:r=m,isAuthorPage:o,isTagsPage:c}){return n.createElement("div",{className:(0,s.c)("w-full","bg-white dark:bg-gray-800")},n.createElement("div",{className:(0,s.c)("blog-sm:max-w-[592px]","blog-md:max-w-[656px]","blog-lg:max-w-[896px]","blog-max:max-w-[1200px]","w-full","px-6 blog-sm:px-0","pt-14 blog-md:pt-12","pb-6","mx-auto","not-prose")},!o&&!c&&n.createElement(n.Fragment,null,n.createElement("div",{className:(0,s.c)("flex flex-row blog-lg:flex-col justify-between","items-center blog-lg:items-start","not-prose","px-6","mb-6 blog-lg:mb-12","gap-6")},n.createElement("h2",{className:(0,s.c)("!m-0 !mt-0 !mb-0 p-0","blog-lg:mb-12 blog-md:mb-8 mb-8","text-2xl blog-sm:text-[32px] blog-sm:leading-10","text-refine-react-8 dark:text-refine-react-3","font-semibold","whitespace-nowrap")},"All Posts"),n.createElement(l.c,{tags:t}))),n.createElement("div",{className:(0,s.c)("grid grid-cols-1 blog-md:grid-cols-2 blog-max:grid-cols-3","gap-6")},e.map((({content:e})=>n.createElement(a.E,{key:e.metadata.permalink,content:e},n.createElement(r,null,n.createElement(e,null))))))))}},8364:(e,t,r)=>{r.r(t),r.d(t,{default:()=>w});var n=r(1504),a=r(4971),l=r(3652),o=r(9184),c=r(3688),i=r(6684),s=r(5628),m=r(7328),u=r(8048),d=r(6108),f=r(2668),g=r(2032),p=r(2460);function b(e){const t=function(){const{selectMessage:e}=(0,c.A)();return t=>e(t,(0,l.G)({id:"theme.blog.post.plurals",description:'Pluralized label for "{count} posts". Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)',message:"One post|{count} posts"},{count:t}))}();return(0,l.G)({id:"theme.blog.tagTitle",description:"The title of the page for a blog tag",message:'{nPosts} tagged with "{tagName}"'},{nPosts:t(e.count),tagName:e.label})}function h({tag:e}){const t=b(e);return n.createElement(n.Fragment,null,n.createElement(i.U7,{title:t}),n.createElement(d.c,{tag:"blog_tags_posts"}))}function y({tags:e,tag:t,items:r,sidebar:l,listMetadata:c}){return n.createElement(m.c,{showSidebarBanner:!1,sidebar:l},n.createElement("div",{className:(0,a.c)("py-8","blog-md:py-16","w-full","mx-auto")},n.createElement("div",{className:(0,a.c)("flex","px-4","gap-6","flex-row blog-lg:flex-col","justify-between","blog-sm:max-w-[592px]","blog-md:max-w-[656px]","blog-lg:max-w-[896px]","blog-max:max-w-[1200px]","w-full")},n.createElement(o.c,{to:"/blog",className:(0,a.c)("text-refine-react-5 dark:text-refine-react-4","text-sm no-underline","flex","items-center","gap-2")},n.createElement(p.Ux,null)," Back to blog"),n.createElement(g.c,{tags:e})),n.createElement("div",{className:(0,a.c)("pt-8 blog-md:pt-16","px-4")},n.createElement("div",{className:"text-gray-500 dark:text-gray-400"},"Posts tagged with"),n.createElement("h1",{className:"!mb-0"},t.label)),n.createElement(f.c,{items:r,showTitle:!1,isTagsPage:!0}),n.createElement("div",{className:(0,a.c)(c.totalPages>1&&"blog-md:border-t border-t-gray-200 dark:border-t-gray-700")},n.createElement(u.c,{metadata:c,basePath:`/blog/tags/${t.label}`}))))}function w(e){return n.createElement(i.cr,{className:(0,a.c)(s.W.wrapper.blogPages,s.W.page.blogTagPostListPage)},n.createElement(h,e),n.createElement(y,e))}},8092:(e,t,r)=>{r.d(t,{c:()=>o});var n=r(1504),a=r(4971),l=r(9184);function o({permalink:e,label:t,isActive:r,size:o="small",variant:c="default"}){return n.createElement(l.c,{href:e,className:(0,a.c)("no-underline hover:no-underline","rounded-full","small"===o&&"text-xs","small"===o&&"py-1","small"===o&&"px-3","medium"===o&&"text-sm","medium"===o&&"py-2","medium"===o&&"px-4",!r&&"bg-gray-100 dark:bg-gray-700",!r&&"text-gray-600 dark:text-gray-400","text-refine-react-8 dark:text-refine-react-3","default"===c&&"bg-refine-react-3 dark:bg-refine-react-7","inverted"===c&&"bg-refine-react-3 dark:bg-refine-react-8")},t)}},2032:(e,t,r)=>{r.d(t,{c:()=>b});var n=r(1504),a=r(8092),l=/\b(?:an?d?|a[st]|because|but|by|en|for|i[fn]|neither|nor|o[fnr]|only|over|per|so|some|tha[tn]|the|to|up|upon|vs?\.?|versus|via|when|with|without|yet)\b/i,o=/[^\s:\u2013\u2014-]+|./g,c=/\s/,i=/.(?=[A-Z]|\..)/,s=/[A-Za-z0-9\u00C0-\u00FF]/;var m=r(4971),u=r(320),d=r(5880);function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g(e){for(var t=1;t{const r=l.indexOf(e.label),n=l.indexOf(t.label);return-1===r?-1===n?0:1:-1===n?-1:r-n}));return n.createElement(n.Fragment,null,n.createElement(h,{collapsed:r,tags:o,className:(0,m.c)("hidden blog-lg:flex",t),onShowMoreClick:e=>a(e)}),n.createElement(y,{tags:o,className:(0,m.c)("block blog-lg:hidden",t)}))}const h=({tags:e,collapsed:t,className:r,onShowMoreClick:l})=>n.createElement("div",{className:(0,m.c)("bg-gray-50 dark:bg-refine-react-dark-code","justify-between","items-start","p-5",t&&"rounded-full",!t&&"rounded-3xl","not-prose",r)},n.createElement("ul",{className:(0,m.c)("overflow-hidden","flex-1",!t&&"h-24",t&&"h-8","m-0 p-0","mr-16","transition-all duration-300 ease-in-out")},e.map((e=>n.createElement("li",{className:(0,m.c)("inline-flex","m-1","mr-3"),key:e.permalink},n.createElement(a.c,p(g({},e),{label:v(e.label)})))))),n.createElement("button",{type:"button",onClick:()=>l(!t),className:(0,m.c)("appearance-none","flex","items-center","justify-center","gap-2","cursor-pointer","flex-shrink","no-underline hover:no-underline","text-xs","rounded-full","py-1","pl-3","pr-1","mt-1","text-refine-react-8 dark:text-refine-react-3","bg-refine-react-3 dark:bg-refine-react-7")},"Show More"," ",n.createElement(w,{className:(0,m.c)("opacity-30","transition-transform duration-200 ease-in-out",{"rotate-180 transform":!t})}))),y=({tags:e,className:t})=>{const[r,l]=n.useState(!1);return n.createElement(n.Fragment,null,n.createElement("div",{className:(0,m.c)(t)},n.createElement("button",{type:"button",onClick:()=>l(!0),className:(0,m.c)("flex","items-center","justify-center","gap-2","rounded-full","px-6 py-3","bg-refine-react-3 dark:bg-refine-react-6","text-refine-react-8 dark:text-white")},n.createElement(u.y,null),n.createElement("div",null,"Filter Tags"))),n.createElement(d.E,{onClose:()=>l(!1),open:r,title:"Filter Tags",variant:"blog"},n.createElement("ul",{className:(0,m.c)("overflow-hidden","flex","flex-col","gap-6"),style:{margin:0,padding:0}},e.map((e=>n.createElement("li",{className:(0,m.c)("flex"),key:e.permalink},n.createElement(a.c,p(g({},e),{label:v(e.label),variant:"inverted",size:"medium"}))))))))},w=e=>n.createElement("svg",{width:16,height:16,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e.className},n.createElement("title",null,"chevron"),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M15 8A7 7 0 1 1 1 8a7 7 0 0 1 14 0Zm1 0A8 8 0 1 1 0 8a8 8 0 0 1 16 0ZM5.854 6.646a.5.5 0 1 0-.708.708l2.5 2.5a.5.5 0 0 0 .708 0l2.5-2.5a.5.5 0 0 0-.708-.708L8 8.793 5.854 6.646Z",clipRule:"evenodd"})),v=e=>{let t=`${e}`;t=e.replace(/-/g," ");return[["html","HTML"],["css","CSS"],["javascript","JavaScript"]].forEach((r=>{t=e.replace(r[0],r[1])})),function(e){for(var t,r="";null!==(t=o.exec(e));){var n=t[0],a=t.index;i.test(n)||l.test(n)&&0!==a&&a+n.length!==e.length||":"===e.charAt(a+n.length)&&!c.test(e.charAt(a+n.length+1))?r+=n:r+=n.replace(s,(function(e){return e.toUpperCase()}))}return r}(e)}}}]); \ No newline at end of file diff --git a/assets/js/6a790c72.905591a6.js b/assets/js/6a790c72.7b0f664e.js similarity index 74% rename from assets/js/6a790c72.905591a6.js rename to assets/js/6a790c72.7b0f664e.js index 7d33eda0..10fe987d 100644 --- a/assets/js/6a790c72.905591a6.js +++ b/assets/js/6a790c72.7b0f664e.js @@ -1 +1 @@ -(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[8032],{6324:(e,t,r)=>{var n={"./plugin-route-context-module-100.json":[4634,4634]};function l(e){if(!r.o(n,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=n[e],l=t[0];return r.e(t[1]).then((()=>r.t(l,19)))}l.keys=()=>Object.keys(n),l.id=6324,e.exports=l},4464:(e,t,r)=>{"use strict";r.d(t,{c:()=>a});var n=r(1504),l=r(6684),c=r(2288);function a(){const{metadata:e,frontMatter:t,assets:r}=(0,c.G)();var a;return n.createElement(l.U7,{title:e.title,description:e.description,keywords:t.keywords,image:null!==(a=r.image)&&void 0!==a?a:t.image})}},5904:(e,t,r)=>{"use strict";r.d(t,{I7:()=>c,kz:()=>o,aI:()=>u,sL:()=>m,uU:()=>Ye,UZ:()=>Xe,sH:()=>Ie,W4:()=>Ke,g3:()=>qe,Ou:()=>Tt,M7:()=>b,gv:()=>$e,U7:()=>Zt,K6:()=>xt,sT:()=>h,Dp:()=>y,m4:()=>E,Yv:()=>k,UJ:()=>A,QR:()=>rt,y:()=>S,AD:()=>lt,WA:()=>Z,ai:()=>Rt,m0:()=>L,Gg:()=>B,kB:()=>G,mK:()=>F,em:()=>I,E5:()=>zt,sP:()=>Ft,_$:()=>X,gF:()=>Q,Iv:()=>$,Qh:()=>te,yK:()=>st,sW:()=>ft,Uf:()=>le,cF:()=>dt,aA:()=>ae,mO:()=>se,I1:()=>fe,_A:()=>pe,CS:()=>ot,U$:()=>Ot,yw:()=>gt,wA:()=>Lt,yM:()=>be,Ep:()=>Oe,qy:()=>jt,sN:()=>Ce,Cu:()=>we,qQ:()=>xe,oe:()=>Ve,Oq:()=>He,yS:()=>Me,Og:()=>Be,kn:()=>Ge,od:()=>St});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const u=e=>{var{withBrandColor:t=!0}=e,r=s(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const b=e=>{var{withBrandColor:t=!0}=e,r=d(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const E=e=>{var{className:t}=e,r=j(e,["className"]);return n.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const k=e=>{var{className:t}=e,r=P(e,["className"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const B=e=>{var{withBrandColor:t=!0}=e,r=z(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",V(function(e){for(var t=1;tn.createElement("svg",W(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",K(function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const $=e=>{var{withBrandColor:t=!0}=e,r=_(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const le=e=>{var{withBrandColor:t=!0}=e,r=ne(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",ie(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const Oe=e=>{var{className:t}=e,r=he(e,["className"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",ve(function(e){for(var t=1;tn.createElement("svg",Ee(function(e){for(var t=1;tn.createElement("svg",ke(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",tt(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",at(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",pt(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const jt=e=>{var{className:t}=e,r=wt(e,["className"]);return n.createElement("svg",vt(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{c:()=>c});var n=r(1504),l=r(9184);const c=()=>n.createElement("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4 md:gap-0 h-auto md:h-[150px] bg-[#5865F2] w-full rounded-2xl py-5 px-5 md:px-12"},n.createElement("div",{className:"flex items-center gap-16"},n.createElement("img",{className:"hidden md:block",src:"/img/blog-static/discord-banner.png",alt:"Discord Logo"}),n.createElement("div",{className:"text-white font-montserrat font-bold max-w-md text-center md:text-left"},n.createElement("h1",{className:"text-2xl uppercase leading-tight mb-0 font-montserrat"},"Join to refine discord server"),n.createElement("p",{className:"mb-0 text-base"},"to get help, share ideas, and discuss the latest news."))),n.createElement(l.c,{to:"https://discord.gg/refine"},n.createElement("button",{className:"bg-transparent text-white font-bold py-2 px-4 rounded-lg h-12 w-44 border-white cursor-pointer font-montserrat uppercase text-xl border-solid active:scale-[0.99]"},"Join Us")))},7396:(e,t,r)=>{"use strict";r.d(t,{c:()=>o});var n=r(1504),l=r(9184),c=r(3540);const a="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",o=()=>{const[e,t]=n.useState(0);return n.useEffect((()=>{(async()=>{const e=await fetch(`https://api.github.com/repos/pankod/refine?access_token=${a}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`token ${a}`}}),r=await e.json();var n;t(null!==(n=r.stargazers_count)&&void 0!==n?n:2e3)})()}),[]),n.createElement("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4 md:gap-0 h-auto md:h-[150px] w-full rounded-2xl py-5 px-5 md:px-12 github-banner-bg"},n.createElement("div",{className:"flex items-center gap-16"},n.createElement("img",{className:"hidden md:block",src:"/img/blog-static/github-banner-icon.png",alt:"Github Logo"}),n.createElement("div",{className:"font-montserrat max-w-md text-center md:text-left"},n.createElement("h1",{className:"text-2xl uppercase leading-tight mb-0 font-montserrat font-bold"},"Star us on github"),n.createElement("p",{className:"mb-0 text-base leading-tight"},n.createElement("b",null,"refine")," is an"," ",n.createElement("b",null,"open-source React-based framework"),"for building ",n.createElement("b",null,"CRUD applications")," without constraints. Please show us your ",n.createElement("b",null,"support")," with a shining ",n.createElement("b",null,"GitHub star"),"."))),n.createElement(l.c,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",rel:"noopener",className:"bg-[#211d21] no-underline rounded-xl h-[54px] flex gap-2 pl-3.5 py-2.5 pr-2.5 items-center"},n.createElement(c.A9,null),n.createElement("div",{className:"font-bold font-montserrat text-base text-white"},"Star"),n.createElement("div",{className:"flex items-start h-full"},n.createElement(c.qq,{className:"mt-2 -mr-px"}),n.createElement("div",{className:"cloud rounded-md bg-white text-[#211d21] h-full flex items-center justify-center px-1.5 font-montserrat font-bold text-base"},`${e}`.padStart(4,"0")))))}},5524:(e,t,r)=>{"use strict";r.d(t,{c:()=>c});var n=r(1504),l=r(9184);const c=({children:e})=>n.createElement("div",{className:"flex flex-col md:flex-row items-center twitter-banner-bg px-5 md:px-10 py-5 rounded-xl gap-2"},n.createElement("div",{className:"flex flex-col justify-center items-center md:items-start gap-4"},n.createElement("div",{className:"text-center md:text-left"},n.createElement("h1",{className:"text-white font-montserrat text-2xl leading-tight mb-0"},"WANT TO HEAR THE LATEST DEVELOPMENTS ABOUT refine?"),n.createElement("p",{className:"mb-0 uppercase font-montserrat text-white"},"Follow us on Twitter.")),n.createElement(l.c,{to:"https://twitter.com/refine_dev"},n.createElement("button",{className:"bg-transparent text-white font-bold py-2 px-8 rounded-lg border-white cursor-pointer font-montserrat uppercase text-xl border-solid active:scale-[0.99]"},"Follow Us"))),n.createElement("div",{className:"w-[350px]"},e||n.createElement("blockquote",{className:"twitter-tweet","data-cards":"hidden"},n.createElement("p",{lang:"en",dir:"ltr"},"\ud83d\udca5New Blog Post!",n.createElement("br",null),n.createElement("br",null),"Animations in React with Framer Motion",n.createElement("a",{href:"https://t.co/7kWU1ROPYd"},"https://t.co/7kWU1ROPYd"),n.createElement("a",{href:"https://twitter.com/hashtag/opensource?src=hash&ref_src=twsrc%5Etfw"},"#opensource")," ",n.createElement("a",{href:"https://twitter.com/hashtag/ReactJS?src=hash&ref_src=twsrc%5Etfw"},"#ReactJS")),"\u2014 refine (@refine_dev)"," ",n.createElement("a",{href:"https://twitter.com/refine_dev/status/1565321477628510208?ref_src=twsrc%5Etfw"},"September 1, 2022"))))},3540:(e,t,r)=>{"use strict";r.d(t,{Wr:()=>o,ef:()=>u,qq:()=>m,A9:()=>d,cn:()=>h,gZ:()=>v,aA:()=>E,Wu:()=>k});var n=r(4971),l=r(1504);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const o=e=>l.createElement("svg",a(function(e){for(var t=1;tl.createElement("svg",s(function(e){for(var t=1;tl.createElement("svg",function(e){for(var t=1;tl.createElement("svg",function(e){for(var t=1;tl.createElement("svg",g(function(e){for(var t=1;tl.createElement("svg",y(function(e){for(var t=1;tl.createElement("svg",j(function(e){for(var t=1;tl.createElement("svg",P(function(e){for(var t=1;t{"use strict";r.d(t,{q:()=>a,y:()=>o});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c="tutorial-checklist-store",a=n.createContext({store:{},toggle:()=>{}}),o=({children:e})=>{const[t,r]=n.useState((()=>{if("undefined"!=typeof window){const t=localStorage.getItem(c);if(t)try{const e=JSON.parse(t);if("object"==typeof e)return e}catch(e){return{}}}return{}})),o=n.useCallback(((e,t,n)=>{r((r=>{const c=function(e){for(var t=1;t{"undefined"!=typeof window&&localStorage.setItem(c,JSON.stringify(t))}),[t]),n.createElement(a.Provider,{value:{store:t,toggle:o}},e)}},1648:(e,t,r)=>{"use strict";r.d(t,{g5:()=>i,mk:()=>s,sH:()=>c});var n=r(1504),l=r(2288);r(5904);const c=["headless","antd","chakra-ui","mantine","mui"],a=e=>{if(c.includes(e))return e},o="tutorial-preferred-ui-package",i=n.createContext({preferred:"headless",current:void 0,setPreferred:()=>{}}),s=({children:e})=>{const{metadata:t}=(0,l.G)(),r=(e=>{const t=e.match(/\/(headless|antd|chakra-ui|mantine|mui)\//);if(t&&a(t[1]))return t[1]})(t.id),[c,s]=n.useState("headless");n.useEffect((()=>{if("undefined"!=typeof window){const e=localStorage.getItem(o),t=a(e);t&&s(t)}}),[]);const u=e=>{a(e)&&("undefined"!=typeof window&&localStorage.setItem(o,e),s(e))};return n.useEffect((()=>{r&&r!==c&&u(r)}),[r,c]),n.createElement(i.Provider,{value:{preferred:c,setPreferred:u,current:r||c}},e)}},9092:(e,t,r)=>{"use strict";r.d(t,{WO:()=>m,iC:()=>p});var n=r(1504),l=r(640),c=r(2064);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;t0}),s="tutorial-parameters",u=(e,t)=>{for(const r of t)if(e.includes(`/${r.value}`))return r.value},f=()=>{const{pathname:e}=(0,l.IT)();return n.useMemo((()=>(e=>{const t={};for(const[r,n]of Object.entries(c.Sm.parameterOptions)){const l=u(e,n);l&&(t[r]=l)}return t})(e)),[e])},m=({children:e})=>{const[t,r]=n.useState(void 0),[l,a]=n.useState(!1),u=f(),m=n.useCallback((e=>{r((t=>{try{localStorage.setItem(s,JSON.stringify(o({},t,e)))}catch(r){console.error(r)}return o({},t,e)}))}),[]);return n.useEffect((()=>{try{const e=localStorage.getItem(s);m(e?o({},c.Sm.defaultParameters,JSON.parse(e),u):o({},c.Sm.defaultParameters,u))}catch(e){m(o({},c.Sm.defaultParameters,u))}a(!0)}),[]),n.createElement(i.Provider,{value:{parameters:t,setParameters:m,settled:l,options:c.Sm.parameterOptions}},e)},p=()=>n.useContext(i)},8872:(e,t,r)=>{"use strict";r.d(t,{Cw:()=>s,W_:()=>i});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const a=n.createContext({visited:{},setVisited:()=>0}),o="tutorial-visits",i=({children:e})=>{const[t,r]=n.useState({});n.useEffect((()=>{try{const e=localStorage.getItem(o);e&&r(JSON.parse(e))}catch(e){console.error(e)}}),[]);const i=n.useCallback(((e,t=!0)=>{r((r=>{const n=c(function(e){for(var t=1;tn.useContext(a)},3376:(e,t,r)=>{"use strict";r.d(t,{U:()=>d});var n=r(2288),l=r(1688),c=(r(1504),r(3908));function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;t{var e,t,r,a;const f=(0,n.G)(),{docs:d}=(0,l.E)(),{frontMatter:b,metadata:{id:g}}=f,{tutorial:{units:h}}=(0,u.e)(),{current:O}=(0,c.U)(),y=e=>{const t=e.id.split("/"),r=s.sH.filter((e=>e!==O));return!t.find((e=>r.includes(e)))},v=!!(null===(e=b)||void 0===e?void 0:e.tutorial),w=g.split("/")[1],j=function({frontMatter:e}){const{docs:t}=(0,l.E)(),{current:r}=(0,c.U)(),n=e=>{if(e.includes("{preferredUI}")||r)return e.replace("{preferredUI}",r)},a=e=>"/docs/"+e,{tutorial:s}=e,{next:u,prev:f}=null!=s?s:{},m=u?n(u):void 0,p=t[f?n(f):void 0],d=t[m];return{previous:p?i(o({},p),{permalink:a(p.id)}):void 0,next:d?i(o({},d),{permalink:a(d.id)}):void 0}}(f),E=Object.entries(d).filter((([e])=>e.startsWith("tutorial/"))).reduce(((e,[t,r])=>{const n=t.split("/")[1];return n.startsWith("partial-")||(e[n]||(e[n]=[]),e[n].push(r)),e}),{}),x=Object.entries(E).map((([e,r])=>p(m({unit:e,no:null===(t=h[e])||void 0===t?void 0:t.no,title:h[e].label},e===w&&v&&{current:!0}),{docs:r.map((e=>m({},e,e.id===g&&v&&{current:!0}))).filter(y)}))).sort(((e,t)=>(null===(r=e)||void 0===r?void 0:r.no)-(null===(a=t)||void 0===a?void 0:a.no)));return v?{id:g,isTutorial:v,unit:w,pagination:j,units:x}:void 0}},5560:(e,t,r)=>{"use strict";r.d(t,{c:()=>l});var n=r(1504);const l=(e,t="0px")=>{const[r,l]=n.useState(!1);return n.useEffect((()=>{var r;const n=null===(r=e)||void 0===r?void 0:r.current,c=new IntersectionObserver((([e])=>{l(e.isIntersecting)}),{rootMargin:t});return n&&c.observe(n),()=>{n&&c.unobserve(n)}}),[]),r}},8840:(e,t,r)=>{"use strict";r.d(t,{ot:()=>s,GC:()=>u});var n=r(1504);const l={items:[]};var c=r(3740);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;tt.filter((t=>t.unit===e));function u(){const{store:e,toggle:t}=n.useContext(c.q);return{items:n.useMemo((()=>{var t,r,n,c;return null!==(c=null===(n=l)||void 0===n||null===(t=(r=n.items).map)||void 0===t?void 0:t.call(r,(t=>{const{id:r}=t;return i(o({},t),{checklist:t.checklist.map((t=>{var n;return i(o({},t),{checked:null!==(n=e[r]?.[t.id])&&void 0!==n&&n})})).sort(((e,t)=>e.index-t.index))})})))&&void 0!==c?c:[]}),[e]),toggle:t}}},380:(e,t,r)=>{"use strict";r.d(t,{e:()=>l});var n=r(9936);r(1504);const l=()=>{const{siteConfig:{customFields:e}}=(0,n.c)(),{tutorial:t}=e;return t}},3908:(e,t,r)=>{"use strict";r.d(t,{U:()=>c});var n=r(1504),l=r(1648);const c=()=>n.useContext(l.g5)},7132:(e,t,r)=>{"use strict";r.d(t,{Y:()=>c});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{O:()=>o});var n=r(4971),l=r(1504),c=r(1980),a=r(2268);const o=({active:e,className:t,onClick:r})=>l.createElement("button",{className:(0,n.c)("w-8 h-8","flex items-center justify-center flex-shrink-0","text-gray-800 dark:text-gray-100","rounded-full","hover:bg-gray-200 hover:dark:bg-gray-700","transition-[background-color]","duration-200","ease-in-out",t),onClick:r},e?l.createElement(a.O,null):l.createElement(c.m,null))},7500:(e,t,r)=>{"use strict";r.d(t,{Ih:()=>o,oJ:()=>a,yg:()=>c});var n=r(4971),l=r(1504);const c="preferred-full-table-width",a=e=>l.createElement("div",{className:(0,n.c)("table-container")},l.createElement("table",e)),o=({children:e})=>l.createElement("div",{className:"table-full-width"},e)},9253:(e,t,r)=>{"use strict";r.d(t,{C:()=>i,O:()=>u});var n=r(1504),l=r(4971),c=r(9072),a=r(3756),o=r(5372);const i=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,c.U)();return n.createElement("button",{type:"button",className:(0,l.c)("appearance-none","focus:outline-none","relative","w-10 h-10","rounded-full","border","border-solid","border-gray-300 dark:border-gray-700","text-gray-500","transition-colors","duration-150","ease-in-out","overflow-hidden","flex-shrink-0","group",e),onClick:()=>{r("dark"===t?"light":"dark")}},n.createElement("div",{className:(0,l.c)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","translate-y-0","dark:-translate-y-10","duration-200","ease-in-out","transition-transform")},n.createElement(a.G,null)),n.createElement("div",{className:(0,l.c)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","-translate-y-10","dark:translate-y-0","duration-200","ease-in-out","transition-transform")},n.createElement(o.g,null)))},s=[{name:"light",icon:a.G,label:"Light"},{name:"dark",icon:o.g,label:"Dark"}],u=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,c.U)();return n.createElement("div",{className:(0,l.c)("flex","items-center","gap-4","justify-start",e)},s.map((({name:e,label:c,icon:a})=>n.createElement("button",{type:"button",key:e,className:(0,l.c)("appearance-none","focus:outline-none","py-1","pl-1.5","pr-3","flex","items-center","justify-center","gap-1","rounded-[40px]","text-gray-400","border border-solid","border-gray-200","dark:border-gray-600",t===e&&"bg-gray-100 dark:bg-gray-700"),onClick:()=>{r(e)}},n.createElement(a,{className:(0,l.c)("w-4 h-4")}),n.createElement("span",{className:(0,l.c)("text-sm")},c)))))}},3146:(e,t,r)=>{"use strict";r.d(t,{o:()=>u});var n=r(4971),l=r(1504);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>l.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const u=l.forwardRef((function(e,t){var{iconOnly:r=!1,iconClassName:c,className:u,placeholder:f,isPermanentDark:m}=e,p=s(e,["iconOnly","iconClassName","className","placeholder","isPermanentDark"]);return l.createElement("button",i(function(e){for(var t=1;t{"use strict";r.d(t,{o0:()=>d,yw:()=>m,wd:()=>p,AR:()=>b});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var u=r(6098),f=r(4252);const m=[{label:"Resources",items:[{label:"Getting Started",href:"/docs"},{label:"Blog",href:"/blog"},{label:"Project Showcase",icon:n.createElement(u.KU,null),href:"/showcase"},{label:"Community",icon:n.createElement(u.KU,null),href:"/prepverse-community"}]},{label:"Product",items:[{label:"CodePoint",icon:n.createElement(f.i,null),href:"https://prepverse.github.io/CodePoint"},{label:"LeetVerse",icon:n.createElement(f.i,null),href:"https://prepverse.github.io/LeetVerse"}]},{label:"About",items:[{label:"About Me",href:"/AkashSingh3031"},{label:"Portfolio",icon:n.createElement(f.i,null),href:"https://prepverse.github.io/portfolio"}]}],p=[{label:"License",href:"https://github.com/PrepVerse/prepverse.github.io/blob/master/LICENSE"}],d="Thank you for visiting, Connect with me over socials.",b=[{icon:e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{G:()=>c});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{g:()=>c});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{i:()=>c});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{A:()=>a,i:()=>o});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){for(var t=1;tn.createElement("svg",c({width:12,height:12,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.053 0A10.904 10.904 0 0 0 3.89 2.685 11.34 11.34 0 0 0 .142 9.472a11.48 11.48 0 0 0 1.456 7.65 11.087 11.087 0 0 0 5.964 4.86c.556.103.752-.25.752-.547v-1.918C5.23 20.202 4.58 18 4.58 18a3.012 3.012 0 0 0-1.227-1.655c-.997-.692.081-.692.081-.692.35.05.683.18.975.382.293.202.536.469.713.78.15.278.352.523.595.721a2.312 2.312 0 0 0 2.618.221c.042-.57.283-1.105.678-1.509-2.454-.284-5.03-1.253-5.03-5.539a4.415 4.415 0 0 1 1.132-3.025A4.194 4.194 0 0 1 5.224 4.7s.928-.305 3.036 1.156c1.81-.508 3.72-.508 5.531 0 2.108-1.46 3.03-1.156 3.03-1.156.406.936.455 1.993.135 2.963a4.415 4.415 0 0 1 1.132 3.026c0 4.334-2.582 5.282-5.043 5.538.264.271.468.597.598.955.13.358.182.741.155 1.122V21.4c0 .367.196.65.759.54a11.093 11.093 0 0 0 5.88-4.878 11.481 11.481 0 0 0 1.419-7.6 11.34 11.34 0 0 0-3.71-6.746A10.907 10.907 0 0 0 11.053 0Z",fill:"currentColor"})),o=e=>n.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.066.001a11.91 11.91 0 0 1 7.745 2.966 12.326 12.326 0 0 1 4.032 7.33 12.46 12.46 0 0 1-1.54 8.245 12.088 12.088 0 0 1-6.406 5.314l-.105.037-.11.021c-.508.1-1.232.093-1.83-.422-.577-.498-.681-1.166-.681-1.565v-3.008l.004-.053a1.102 1.102 0 0 0-.062-.453 1.058 1.058 0 0 0-.235-.377l-.839-.86-.863.882a.802.802 0 0 0-.224.502l-.015.217v3.183c0 .434-.14 1.029-.628 1.492-.541.514-1.246.62-1.864.505l-.108-.02-.104-.035a12.082 12.082 0 0 1-6.498-5.296 12.457 12.457 0 0 1-1.58-8.298c.45-2.86 1.891-5.471 4.073-7.375A11.909 11.909 0 0 1 12.05.001h.016Zm-10.43 10.54a10.957 10.957 0 0 0 1.39 7.303 10.58 10.58 0 0 0 5.693 4.638c.53.099.717-.238.717-.522v-1.83c-.588.13-1.083.15-1.5.1a2.95 2.95 0 0 1-.542-.117 2.551 2.551 0 0 1-.422-.176 2.362 2.362 0 0 1-.82-.72c-.208-.294-.28-.535-.28-.535a2.876 2.876 0 0 0-1.17-1.58l-.016-.01c-.925-.65.093-.65.093-.65.106.015.21.038.313.068l.017.005a2.172 2.172 0 0 1 .962.603c.122.13.23.276.319.433a2.29 2.29 0 0 0 .68.775h.002s0 .001 0 0a2.211 2.211 0 0 0 2.385.124v-.014a2.302 2.302 0 0 1 .647-1.427 8.754 8.754 0 0 1-1.625-.328 4.865 4.865 0 0 1-1.416-.695 3.883 3.883 0 0 1-.432-.365c-.8-.786-1.328-2.002-1.328-3.899a4.214 4.214 0 0 1 1.08-2.887 4.003 4.003 0 0 1 .104-2.848s.886-.291 2.898 1.103a9.762 9.762 0 0 1 5.28 0c2.011-1.393 2.891-1.103 2.891-1.103.388.893.434 1.902.13 2.828a4.214 4.214 0 0 1 1.08 2.888c0 3.166-1.444 4.44-3.174 4.972a8.617 8.617 0 0 1-1.64.314 2.558 2.558 0 0 1 .699 1.425c.026.184.033.371.02.558v2.955c0 .35.187.62.724.515a10.588 10.588 0 0 0 5.613-4.656 10.958 10.958 0 0 0 1.354-7.254 10.824 10.824 0 0 0-3.541-6.439 10.41 10.41 0 0 0-6.77-2.592 10.408 10.408 0 0 0-6.837 2.563 10.824 10.824 0 0 0-3.578 6.478ZM16.374 7.8a8.003 8.003 0 0 0-.856.524l-.58.401-.679-.19a8.262 8.262 0 0 0-4.469 0l-.68.19-.58-.402a7.982 7.982 0 0 0-.846-.519c.019.186.059.37.12.549l.282.832-.588.653a2.714 2.714 0 0 0-.696 1.86v.024c0 1.724.503 2.513.998 2.937.563.481 1.397.736 2.476.86l1.567.182 1.954-.204c1.082-.112 1.912-.358 2.47-.833.492-.418.999-1.209.999-2.96v-.026a2.714 2.714 0 0 0-.696-1.86l-.582-.647.273-.826c.058-.178.096-.36.113-.545Z",clipRule:"evenodd"}))},1980:(e,t,r)=>{"use strict";r.d(t,{m:()=>c});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{G:()=>c});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{s1:()=>o,wR:()=>s,QD:()=>f,vn:()=>p,kv:()=>b,uI:()=>h,A9:()=>y,_2:()=>w,Ew:()=>E,Yf:()=>P,oh:()=>C,Ed:()=>H,BE:()=>N,KU:()=>L,WR:()=>T,w9:()=>F,CC:()=>W,AH:()=>X,oz:()=>K,C3:()=>q});var n=r(1504);var l=r(4971);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const o=e=>n.createElement("svg",a(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const{colorMode:t}=(0,Z.U)();return n.createElement("div",{className:(0,l.c)("relative","flex","items-center","justify-center","rounded-full","overflow-hidden","p-px","dark:bg-[#194b3a] bg-[#b7dbff]"),style:{transform:"translateZ(0)"}},n.createElement("div",{className:(0,l.c)("z-[1]","absolute","inset-0","dark:bg-new-badge-border-dark bg-new-badge-border-light","animate-new-badge-border")}),n.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}var R,G;const T=e=>{var{variant:t="landing"}=e,r=B(e,["variant"]);return n.createElement("svg",z(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",U(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{G:()=>c});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{o:()=>c});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{D:()=>f});var n=r(1504),l=r(4971),c=r(9184);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const o=e=>n.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const f=e=>{var{children:t,href:r,className:a,onClick:f,buttonClassname:m}=e,p=u(e,["children","href","className","onClick","buttonClassname"]);const d=r?c.c:"button";return n.createElement(d,s(function(e){for(var t=1;t{"use strict";r.d(t,{Q:()=>i});var n=r(4971),l=r(1504);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e){for(var t=1;tl.createElement("div",{className:(0,n.c)("w-full h-12","relative","bg-top-announcement","not-prose","font-inter","z-top-announcement")},l.createElement("div",{className:(0,n.c)("hidden lg:flex","w-full h-full","max-w-screen","overflow-hidden","border-b border-solid border-[#47ebeb26]","top-announcement-mask")},l.createElement("div",{className:(0,n.c)("w-[1280px] h-full","mx-auto","flex","justify-between")},l.createElement("div",{className:(0,n.c)("w-[calc(50%-300px)] h-full","relative")},l.createElement(u,{style:{animationDelay:"1.5s"},className:(0,n.c)("absolute","top-[2px]","right-[220px]"),id:"1"}),l.createElement(u,{style:{animationDelay:"1s"},className:(0,n.c)("absolute","rotate-180","top-[8px] right-[100px]"),id:"2"}),l.createElement(f,{className:(0,n.c)("absolute","right-[10px]"),id:"3"})),l.createElement("div",{className:(0,n.c)("w-[calc(50%-300px)] h-full","relative")},l.createElement(u,{style:{animationDelay:"2s"},className:(0,n.c)("absolute","rotate-180","top-[6px] right-[180px]"),id:"4"}),l.createElement(u,{style:{animationDelay:"0.5s"},className:(0,n.c)("delay-[1300]","absolute","top-[2px]","right-[40px]"),id:"5"}),l.createElement(f,{className:(0,n.c)("absolute","right-[-70px]"),id:"6"})))),l.createElement(s,null)),s=()=>l.createElement("a",{href:"https://github.com/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,n.c)("relative lg:absolute","px-2 lg:px-0","top-0","left-[50%]","translate-x-[-50%]","bg-top-announcement-text","h-full w-full lg:w-[450px]","flex items-center justify-center","text-white","text-xs sm:text-sm","text-center","no-underline","hover:no-underline","hover:text-white","not-prose")},l.createElement("div",{className:(0,n.c)("ml-2","not-prose")},"For more updates follow","",l.createElement("span",{className:(0,n.c)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")},"@AkashSingh3031"),".")),u=e=>l.createElement("svg",o(a({xmlns:"http://www.w3.org/2000/svg",width:80,height:40,fill:"none"},e),{className:(0,n.c)("animate-top-announcement-glow","opacity-1",e.className)}),l.createElement("circle",{cx:40,r:40,fill:`url(#${e.id}-a)`,fillOpacity:.5}),l.createElement("defs",null,l.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 40 -40 0 40 0)",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{stopColor:"#47EBEB"}),l.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0})))),f=e=>l.createElement("svg",o(a({xmlns:"http://www.w3.org/2000/svg",width:120,height:48,fill:"none"},e),{className:(0,n.c)("animate-top-announcement-glow","opacity-1",e.className)}),l.createElement("circle",{cx:60,cy:24,r:60,fill:`url(#${e.id}-a)`,fillOpacity:.5}),l.createElement("defs",null,l.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 60 -60 0 60 24)",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{stopColor:"#47EBEB"}),l.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0}))))},2120:(e,t,r)=>{"use strict";r.d(t,{u:()=>b});var n=r(4971),l=r(1504),c=r(4604),a=r(8484),o=r(2424),i=r(640),s=r(2288),u=r(9092);function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function m(e){for(var t=1;tl.createElement("svg",m({xmlns:"http://www.w3.org/2000/svg",width:20,height:12,fill:"none"},e),l.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M10 0a1 1 0 0 1 .78.375l3.1 3.874A2 2 0 0 0 15.442 5H19a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h3.558a2 2 0 0 0 1.562-.75L9.22.374A1 1 0 0 1 10 0Z",clipRule:"evenodd"})),b=({label:e,parameter:t,className:r})=>{var f,b;const{parameters:g,options:h,setParameters:O}=(0,u.iC)(),{replace:y}=(0,i.Uz)(),{metadata:{permalink:v}}=(0,s.G)();var w;return l.createElement("div",{className:r},l.createElement(a.i,null,(({open:r})=>l.createElement(l.Fragment,null,l.createElement(a.i.Button,{className:(0,n.c)("appearance-none","focus:outline-none","flex-shrink-0","py-2.5","pl-4 pr-3","rounded-[40px]","border border-solid","border-gray-300 dark:border-gray-700","text-xs","tutorial-lg:text-sm","flex","items-center","justify-center","gap-2")},l.createElement("div",{className:(0,n.c)("select-none","whitespace-nowrap")},l.createElement("span",{className:(0,n.c)("text-gray-500 dark:text-gray-400")},`${e}: `),l.createElement("span",{className:"text-gray-800 dark:text-gray-100"},null!==(w=null===(f=h[t].find((e=>e.value===(null===(b=g)||void 0===b?void 0:b[t]))))||void 0===f?void 0:f.label)&&void 0!==w?w:"Unknown")),l.createElement(c.o,{className:(0,n.c)("w-4 h-4","text-gray-400")})),l.createElement(o.O,{show:r,className:"relative z-10",enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95"},l.createElement(d,{className:(0,n.c)("absolute right-[11px] top-1 origin-bottom-right","text-gray-700 dark:text-gray-0")}),l.createElement(a.i.Items,{static:!0,className:(0,n.c)("absolute right-0 top-2 origin-bottom-right","flex flex-col gap-2","w-auto","p-2","bg-gray-700 dark:bg-gray-0","rounded-lg")},h[t].map((e=>l.createElement(a.i.Item,{key:e.value},(()=>{var r;const c=(null===(r=g)||void 0===r?void 0:r[t])===e.value;return l.createElement("button",{type:"button",disabled:"coming-soon"===e.status,title:"coming-soon"===e.status?"This option is coming soon!":"",onClick:()=>{var r;y(v.replace(null===(r=g)||void 0===r?void 0:r[t],e.value)),O(p(m({},null!=g?g:{}),{[t]:e.value}))},className:(0,n.c)("px-2 py-1","rounded-[4px]","no-underline",{"text-white hover:text-white":c,"bg-refine-blue":c,"text-gray-300 dark:text-gray-700":!c,"hover:bg-gray-600 hover:dark:bg-gray-100 hover:text-gray-300 dark:hover:text-gray-700":!c},"coming-soon"===e.status&&["flex","items-center","justify-between"])},l.createElement("span",{className:(0,n.c)("coming-soon"===e.status&&"opacity-50")},e.label),"coming-soon"===e.status&&l.createElement("span",{className:(0,n.c)("w-min","break-keep","whitespace-nowrap","inline-flex","justify-center","items-center","translate-x-1.5","py-0.5","px-1","border border-refine-orange","rounded-[8px]","text-refine-orange","text-[8px]","leading-[9px]","font-semibold","uppercase")},"soon"))}))))))))))}},2064:(e,t,r)=>{"use strict";r.d(t,{ED:()=>i,Ip:()=>s,_i:()=>m,Mx:()=>u,iG:()=>p,Yv:()=>o,Sm:()=>a,G_:()=>f});var n=r(2411);const l=JSON.parse('{"label":"Tutorial","path_prefix_segment":"tutorial","defaultParameters":{"language":"cpp"},"parameterOptions":{"language":[{"label":"C++","value":"cpp"},{"label":"Python","value":"py"},{"label":"Java","value":"java","status":"coming-soon"}]},"units":[{"title":"DSA","id":"dsa","items":["dsa/:language/index"]}]}');var c=r(1688);const a=l,o=(e,t)=>e.split("/").map((e=>{if(e.startsWith(":")){const r=e.slice(1);return t[r]}return e})).join("/"),i=(e,t)=>{for(const r of a.units)for(const n of r.items)if(e===o(n,t))return r},s=(e,t)=>{let r=!1;for(const n of a.units)for(const l of n.items){if(r)return l;o(l,t)===e&&(r=!0)}},u=(e,t)=>{let r=null;for(const n of a.units)for(const l of n.items){if(o(l,t)===e)return r;r=l}},f=()=>{const{docs:e}=(0,c.E)(),{versions:t}=(0,n.MP)("docusaurus-plugin-content-docs","tutorial"),r=t[0].docs;for(const n of r)n.title=e[n.id].title;return Object.fromEntries(r.map((e=>[e.id,e])))},m=(e,t)=>{const r=t[e];if(!r)throw new Error(`Cannot find item with id ${e}`);return r.path},p=(e,t)=>{const r=t[e];if(!r)throw new Error(`Cannot find doc with id ${e}`);return r.title}},1240:(e,t,r)=>{"use strict";r.d(t,{c:()=>C});var n=r(1504),l=r(4971);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{var c;const a=null!==(c=d[e])&&void 0!==c?c:()=>null;var o;const i=null!==(o=b[e])&&void 0!==o?o:"tex-inherit";var s;const u=null!==(s=g[e])&&void 0!==s?s:"bg-inherit";return"simple"===e?n.createElement(y,{type:e,title:t},r):n.createElement("div",{className:(0,l.c)("rounded-lg","admonition",`admonition-${e}`,"mb-6","refine-wider-container",u)},n.createElement("div",{className:(0,l.c)("border-l-4","border-l-solid","border-l-inherit","rounded-tl-lg","rounded-bl-lg","py-4","pr-4","pl-3","flex flex-col","gap-2 sm:gap-4")},(t||h[e])&&n.createElement("div",{className:(0,l.c)("flex","items-center","gap-2","text-xs sm:text-base 2xl:text-base 2xl:leading-7","font-semibold",i)},n.createElement(a,null),n.createElement("span",{className:"uppercase"},null!==(f=null!=t?t:h[e])&&void 0!==f?f:"")),n.createElement("div",{className:(0,l.c)("text-gray-0","text-base","last:mb-0")},r)));var f},y=({type:e,title:t,children:r})=>{var c;const a=null!==(c=b[e])&&void 0!==c?c:"tex-inherit";var o;const i=null!==(o=g[e])&&void 0!==o?o:"bg-inherit";return n.createElement("div",{className:(0,l.c)("rounded-lg","admonition",`admonition-${e}`,"mb-6",i)},n.createElement("div",{className:(0,l.c)("flex flex-col","gap-2",!t&&"pt-4")},t&&n.createElement("div",{className:(0,l.c)("px-4","pt-4","text-sm","leading-5","-mt-0.5",a)},n.createElement("span",{className:"font-semibold"},null!=t?t:""),n.createElement("span",null,":")),n.createElement("div",{className:(0,l.c)("text-gray-0","text-base","last:mb-0","px-4 pb-4","admonition-content")},r)))};function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function w(e){for(var t=1;tn.isValidElement(e)&&"mdxAdmonitionTitle"===(null===(t=e.props)||void 0===t?void 0:t.mdxType))),c=n.createElement(n.Fragment,null,r.filter((e=>e!==l)));return{mdxAdmonitionTitle:l,rest:c}}(e.children);var l;return j(w({},e),{title:null!==(l=e.title)&&void 0!==l?l:t,children:r})}const k=e=>{const{children:t,type:r,title:l}=P(e);return n.createElement(O,{type:r,title:l},t)};function C(e){return"info-tip"===e.type?n.createElement(k,e):"additional"===e.type?n.createElement(k,j(w({},e),{type:"note",title:"ADDITIONAL INFO"})):"sourcecode"===e.type?n.createElement(k,j(w({},e),{icon:n.createElement(E,null),title:n.createElement("a",{href:e.path,target:"_blank",rel:"noreferrer",style:{marginLeft:"4px"}},"SOURCE CODE"),titleProps:{style:{marginBottom:"-4px"}}}),e.children):"create-example"===e.type?n.createElement(k,j(w({},e),{type:"caution",icon:n.createElement(x,null),title:n.createElement("span",{style:{marginLeft:"4px"}},"RUN IN YOUR LOCAL")}),e.children):n.createElement(n.Fragment,null,n.createElement(k,e))}},8560:(e,t,r)=>{"use strict";r.d(t,{s:()=>D});var n=r(1504),l=r(8952),c=r(8796),a=r(5684),o=r(6564),i=r(2184),s=r(6616),u=r(5952),f=r(4971),m=r(1373);function p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function b(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},c=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const g=e=>{var{as:t}=e,r=b(e,["as"]);return n.createElement(t,d(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const[r,l]=(0,n.useState)(!1),c=(0,n.useRef)(void 0),a=(0,n.useCallback)((()=>{try{navigator.clipboard.writeText(e).then((()=>{l(!0),c.current=window.setTimeout((()=>{l(!1)}),1e3)}))}catch(t){}}),[e]);return(0,n.useEffect)((()=>()=>window.clearTimeout(c.current)),[]),n.createElement("button",{type:"button","aria-label":r?"Copied!":"Copy code to clipboard",title:"Copy code to clipboard",className:(0,f.c)("w-6 h-6","flex justify-center items-center","bg-gray-200","dark:bg-gray-800","hover:bg-gray-300","dark:hover:bg-refine-react-dark-code","rounded","group","transition-[background-color] duration-200 ease-in-out"),onClick:a},n.createElement(O,{className:(0,f.c)("w-3 h-3","text-gray-500","dark:text-gray-400",r&&"rotate-[360deg]","transition-all duration-200 ease-in-out")}))};function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const w=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const r=t?w:E;return n.createElement("button",{type:"button",onClick:()=>e(),className:(0,f.c)("w-6 h-6","flex justify-center items-center","bg-gray-200","dark:bg-gray-800","hover:bg-gray-300","dark:hover:bg-refine-react-dark-code","rounded","group","transition-[background-color] duration-200 ease-in-out"),"aria-label":"Toggle word wrap",title:"Toggle word wrap"},n.createElement(r,{className:(0,f.c)("w-3 h-3","text-gray-500","dark:text-gray-400",t&&"rotate-[360deg]","transition-all duration-200 ease-in-out")}))};function P(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function k(e){for(var t=1;tn.createElement("svg",k({xmlns:"http://www.w3.org/2000/svg",width:12,height:14,viewBox:"0 0 12 14",fill:"none"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M11 4.994V11.6A1.4 1.4 0 0 1 9.6 13H2.4A1.4 1.4 0 0 1 1 11.6V2.4A1.4 1.4 0 0 1 2.4 1h4.606a1.4 1.4 0 0 1 .99.41l2.594 2.594a1.4 1.4 0 0 1 .41.99ZM0 2.4A2.4 2.4 0 0 1 2.4 0h4.606a2.4 2.4 0 0 1 1.697.703l2.594 2.594A2.4 2.4 0 0 1 12 4.994V11.6A2.4 2.4 0 0 1 9.6 14H2.4A2.4 2.4 0 0 1 0 11.6V2.4ZM3.5 6a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5Zm0 2a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5Zm0 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3Z",clipRule:"evenodd"})),H=({children:e,icon:t=n.createElement(A,null)})=>n.createElement("div",{className:(0,f.c)("py-3","px-4","bg-gray-100 dark:bg-gray-700","text-gray-800","dark:text-gray-100","text-xs","flex items-center","gap-2","rounded-tl-lg","rounded-tr-lg")},t,e),S=({children:e,className:t="",metastring:r,title:l,showLineNumbers:c,language:p,icon:d,style:b})=>{const{prism:{defaultLanguage:h,magicComments:O}}=(0,a.y)();var v;const w=null!==(v=null!=p?p:(0,i.K2)(t))&&void 0!==v?v:h,j=(0,o.i)(),E=(0,s._)(),P=(0,i.QH)(r)||l,{lineClassNames:A,code:S}=(0,i.cj)(e,{metastring:r,language:w,magicComments:O}),N=null!=c?c:(0,i.OO)(r);return n.createElement(g,{as:"div",className:(0,f.c)("refine-common-code-block",w&&`language-${w}`,"rounded-lg","bg-gray-200","dark:bg-gray-900","border","border-gray-300","dark:border-0","mb-6","relative","refine-wider-container"),style:b},P&&n.createElement(H,{icon:d},P),n.createElement("div",{className:(0,f.c)("relative","pt-3","pb-0","not-prose")},n.createElement(m.cp,C(k({},m.wB),{theme:j,code:S,language:null!=w?w:"text"}),(({className:e,tokens:t,getLineProps:r,getTokenProps:l})=>n.createElement("pre",{tabIndex:0,ref:E.codeBlockRef,className:(0,f.c)(e,"bg-transparent","!mt-0","!mb-0","m-0","px-0","pt-0","font-jetBrains-mono","pb-3")},n.createElement("code",{className:(0,f.c)("font-[inherit]","bg-transparent","inline-block","min-w-full")},t.map(((e,t)=>n.createElement(u.c,{key:t,line:e,getLineProps:r,getTokenProps:l,classNames:(0,f.c)(A[t],"px-4","text-xs sm:text-sm 2xl:text-sm"),showLineNumbers:N})))))))),n.createElement("div",{className:(0,f.c)("absolute",P?"top-2 right-2":"top-3 right-3","flex items-center gap-2")},(E.isEnabled||E.isCodeScrollable)&&n.createElement(x,{onClick:E.toggle,isEnabled:E.isEnabled}),n.createElement(y,{className:(0,f.c)(),code:S})))};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}function Z(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},c=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const D=e=>{var{children:t}=e,r=Z(e,["children"]);const a=(0,l.c)(),o=function(e){return n.Children.toArray(e).some((e=>(0,n.isValidElement)(e)))?e:Array.isArray(e)?e.join(""):e}(t),i="string"==typeof o?S:c.c;return n.createElement(i,function(e){for(var t=1;t{"use strict";r.d(t,{c:()=>H});var n=r(1504),l=r(8560),c=r(4971),a=r(9936),o=r(7748),i=r.n(o),s=r(1688);const u="playgroundPreview_jwe9";function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function m({children:e,minHeight:t,url:r="http://localhost:3000",hasBottom:l=!1}){return n.createElement("div",{className:(0,c.c)("flex","flex-col","h-full")},n.createElement("div",{className:(0,c.c)("flex-shrink-0","rounded-tl-lg","rounded-tr-lg","border","border-gray-300 dark:border-gray-700","px-4 py-3","flex items-center justify-start","gap-2","bg-gray-100 dark:bg-gray-700","relative","text-gray-800 dark:text-gray-100","border-b-0")},n.createElement(p,{className:"w-4 h-4"}),n.createElement("div",{className:(0,c.c)("text-xs")},`${r}`.replace(/^http(s?):\/\//,""))),n.createElement("div",{className:(0,c.c)("flex-1","overflow-hidden","bg-gray-100 dark:bg-gray-700","border border-gray-300 dark:border-gray-700",!l&&"rounded-bl-lg rounded-br-lg",l&&"border-b-gray-300 dark:border-b-gray-900",l&&"border-b"),style:{minHeight:t}},e))}const p=e=>n.createElement("svg",function(e){for(var t=1;t{const[l,c]=n.useState(e),[a]=n.useState(t);n.useEffect((()=>{!l&&e&&c(!0)}),[e]),n.useEffect((()=>{if(a){const e=setTimeout((()=>{c(!0)}),a);return()=>clearTimeout(e)}}),[a]);const o=n.useMemo((()=>l&&"function"==typeof r?r():null),[l]);if(void 0!==r&&"function"!=typeof r)throw new Error("Conditional component requires a function as a child");return o};var g=r(9128),h=r(3296);function O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.g.Buffer=r.g.Buffer||h.Sn;const y=({query:e,code:t,css:r})=>{const{siteConfig:{customFields:l}}=(0,a.c)(),[c,o]=n.useState(void 0),s=n.useCallback((async t=>{if("undefined"!=typeof window&&window.Worker){const n=new Worker(`${location.protocol}//${location.host}/workers/lz-worker.js`);n.onmessage=function({data:t}){t.compressed&&o(`${l.LIVE_PREVIEW_URL}?code=${t.compressed}${r?`&css=${i().encode(r)}`:""}${e?`${e}`:""}`),n.terminate()},n.postMessage({code:t})}}),[e]);return n.useEffect((()=>{s(t)}),[t,s]),c?n.createElement("iframe",{loading:"lazy",src:c,width:"100%",height:"100%",style:{position:"absolute",left:0,top:0,width:"100%",height:"100%"}}):null},v=n.memo(y,((e,t)=>e.code===t.code&&e.query===t.query&&e.css===t.css)),w=e=>n.createElement("svg",function(e){for(var t=1;t{l?(i(!1),setTimeout((()=>{a((e=>!e)),setTimeout((()=>{i(!0)}),300)}),100)):(i(!1),a((e=>!e)),setTimeout((()=>{i(!0)}),300))}},n.createElement(w,{className:(0,c.c)(l&&"rotate-180","transition-transform","duration-200","ease-in-out")}),n.createElement("span",{className:(0,c.c)("text-base","block","overflow-hidden","h-6")},n.createElement("span",{className:(0,c.c)("block",l&&"opacity-0","transition-opacity duration-200 ease-in-out")},"Show Code"),n.createElement("span",{className:(0,c.c)("block","transition-transform duration-200 ease-in-out","bg-gray-100 dark:bg-gray-700",l&&"-translate-y-6")},"Hide Code"))),n.createElement("div",{className:(0,c.c)("rounded-bl-lg","rounded-br-lg"),style:{maxHeight:l?o?"unset":"100vh":"0px",transition:"0.3s all ease-in-out",overflow:"hidden"},ref:r},n.createElement(H,{language:"tsx",style:{marginBottom:0,marginRight:"0",marginLeft:"0",borderTopLeftRadius:"0",borderTopRightRadius:"0",borderBottomLeftRadius:"0.5rem",borderBottomRightRadius:"0.5rem"}},t)))}const E=({children:e,disableScroll:t,previewHeight:r,hideCode:l=!1,url:o="http://localhost:3000",previewOnly:i=!1,tailwind:f=!1})=>{const p=String(e),{shared:h,sharedCss:O}=(0,g.UF)(),{visible:y}=(e=>{const t="// visible-block-start";let r=e.indexOf(t);r=r>0?r+22:0;let n=e.indexOf("// visible-block-end");n=n>0?n:e.length;const l=e.slice(0,r),c=e.slice(r,n).trimEnd().trimStart(),a=e.slice(n);return{visible:c,join:e=>`${l}\n${e}\n${a}`}})(`\n ${null!=h?h:""}\n ${p}\n `.replace(/\n$/,"")),w=n.useRef(null),E=(0,d.c)(w),{siteConfig:{customFields:x}}=(0,a.c)(),{isLast:P}=(0,s.E)();return n.createElement("div",{className:(0,c.c)("overflow-hidden","mb-6","refine-wider-container")},n.createElement(n.Fragment,null,n.createElement(m,{url:o,hasBottom:!i},n.createElement("div",{className:(0,c.c)(u,"live-editor-wrapper"),style:{maxHeight:r,minHeight:r,overflow:t?"hidden":void 0,position:"relative"},ref:w},P?n.createElement(b,{if:E,maxWait:3e3},(()=>n.createElement(v,{code:`\n${null!=h?h:""}\n${p}\n `,css:O,query:`${t?"&disableScroll=true":""}${f?"&tailwind=true":""}`}))):n.createElement("div",{style:{height:"100%",minHeight:"inherit",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"1.25rem"}},n.createElement("span",null,"Live previews only work with the latest documentation.")))),!i&&n.createElement(j,{hidden:l,code:y})))},x=n.memo(E,((e,t)=>String(e.children)===String(t.children))),P=({children:e})=>{const{setShared:t}=(0,g.UF)();return n.useEffect((()=>(t(String(e)),()=>{t(void 0)})),[e]),null},k=n.memo(P,((e,t)=>String(e.children)===String(t.children))),C=({children:e})=>{const{setSharedCss:t}=(0,g.UF)();return n.useEffect((()=>(t(String(e)),()=>{t(void 0)})),[e]),null},A=n.memo(C,((e,t)=>String(e.children)===String(t.children)));function H(e){var t,r;return e.live&&e.live&&(null===(r=e.className)||void 0===r||null===(t=r.includes)||void 0===t?void 0:t.call(r,"language-css"))?n.createElement(A,e):e.shared&&e.live?n.createElement(k,e):e.live?n.createElement(x,e):n.createElement(l.s,e)}},3704:(e,t,r)=>{"use strict";r.d(t,{c:()=>f});var n=r(1504),l=r(9184),c=r(1724);const a=e=>{var t,r,n,l,a,o;let i="noopener noreferrer nofollow";const s=(0,c.c)(e);return(null===(r=e)||void 0===r||null===(t=r.includes)||void 0===t?void 0:t.call(r,"github.com/refinedev/refine"))&&(i="noopener"),(s||(null===(l=e)||void 0===l||null===(n=l.includes)||void 0===n?void 0:n.call(l,"refine.dev")))&&(i="noopener dofollow"),(s||(null===(o=e)||void 0===o||null===(a=o.includes)||void 0===a?void 0:a.call(o,"reactadminpanel.com")))&&(i="noopener dofollow"),i};var o=r(640);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e){for(var t=1;t{"use strict";r.d(t,{c:()=>ot});var n=r(7584),l=r(1504),c=r(4971),a=r(6192),o=r(6112),i=r(9184);const s=({title:e,description:t,image:r,variant:n="purple",button:s={text:"Explore Now",href:"https://prepverse.github.io/portfolio",onClick:void 0},bannerName:u})=>{var f,m,p,d,b,g;return l.useEffect((()=>{"undefined"!=typeof window&&void 0!==window.gtag&&u&&window.gtag("event","view_banner",{banner_name:u,banner_text:e,banner_description:t,banner_image:r.src})}),[u]),l.createElement("div",{className:(0,c.c)("relative","rounded-2xl","p-6","flex","flex-col 2xl:flex-row","items-center","gap-4 2xl:gap-10","not-prose","gray"===n&&"bg-banner-examples-gray","purple"===n&&"bg-banner-examples-purple")},l.createElement(i.c,{to:null!==(b=null===(f=r)||void 0===f?void 0:f.href)&&void 0!==b?b:null===(m=s)||void 0===m?void 0:m.href,target:"_blank",rel:"noopener noreferrer",className:(0,c.c)("flex","max-w-[360px]","h-auto","flex-shrink-0","rounded-lg","overflow-hidden")},l.createElement("img",{src:null===(p=r)||void 0===p?void 0:p.src,alt:null!==(g=null===(d=r)||void 0===d?void 0:d.alt)&&void 0!==g?g:e,loading:"lazy"})),l.createElement("div",{className:(0,c.c)("flex","flex-col","gap-6","justify-center 2xl:justify-start","items-center 2xl:items-start","text-center 2xl:text-start","not-prose")},e&&l.createElement("h2",{className:(0,c.c)("text-xl md:text-2xl","text-gray-0")},e),l.createElement("p",{className:(0,c.c)("text-sm md:text-base","text-gray-100")},t),l.createElement(a.D,{className:(0,c.c)("w-max"),buttonClassname:(0,c.c)("!px-4","!py-2"),href:s.href,onClick:s.onClick,target:"_blank",rel:"noopener noreferrer"},l.createElement("div",{className:(0,c.c)("text-gray-900","text-sm md:text-base","font-bold")},s.text),l.createElement(o.G,{className:(0,c.c)("ml-1 md:ml-2","w-[14px] h-[14px]","md:w-4 md:h-4")}))))},u=({title:e="My Portfolio",description:t="Click here to discover my latest projects, skills, and achievements on my portfolio website. My journey into creativity begins now!",button:r={text:"Explore Now",href:"https://prepverse.github.io/portfolio?ref=banner-retool-alternative",onClick:void 0}})=>(l.useEffect((()=>{"undefined"!=typeof window&&void 0!==window.gtag&&e&&t&&window.gtag("event","view_banner",{banner_name:"banner-retool-alternative",banner_text:e,banner_description:t})}),[e,t]),l.createElement("div",{className:(0,c.c)("relative","rounded-2xl","p-8","flex","flex-col","justify-center","items-center","not-prose","bg-banner-examples-gray")},l.createElement("h2",{className:(0,c.c)("text-2xl","font-semibold","bg-banner-examples-text","bg-clip-text","text-transparent")},e),l.createElement("p",{className:(0,c.c)("mt-2","text-sm","text-gray-300")},t),l.createElement(a.D,{className:(0,c.c)("mt-9"),href:r.href,onClick:r.onClick,target:"_blank",rel:"noopener noreferrer"},l.createElement("div",{className:(0,c.c)("text-gray-900","text-base","font-bold")},r.text))));var f=r(8164);const m=[],p=Math.floor(Math.random()*(m.length+1));var d=r(4752),b=r(7396);const g=({image:e,title:t,description:r,isDark:n})=>{let c;c="refineNew"===r?l.createElement("div",null," ",l.createElement("a",{href:"https://s.refine.dev/new-blog",target:"_blank"},"refine.new")," ","enables you to create React-based, headless UI enterprise applications within your browser that you can preview, tweak and download instantly.",l.createElement("br",null),l.createElement("br",null),"\ud83d\ude80 By visually combining options for your preferred \u2728",l.createElement("b",null," React platform,")," \u2728 ",l.createElement("b",null,"UI framework"),", \u2728"," ",l.createElement("b",null,"backend connector"),", and \u2728 ",l.createElement("b",null,"auth provider"),"; you can create tailor-made architectures for your project in seconds. It feels like having access to thousands of project templates at your fingertips, allowing you to choose the one that best suits your needs!",l.createElement("br",null),l.createElement("br",null),l.createElement("br",null)):null!=r?r:l.createElement("div",null,"Meet the headless, React-based solution to build sleek"," ",l.createElement("b",null,"CRUD")," applications. With refine, you can be confident that your codebase will always stay clean and boilerplate-free.",l.createElement("br",null),l.createElement("br",null),"Try"," ",l.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank"},"PrepVerse")," ","to rapidly build your next ",l.createElement("b",null,"CRUD")," project, whether ","it's"," ","an admin panel, dashboard, internal tool or storefront.");const a=null!=e?e:"https://refine.ams3.cdn.digitaloceanspaces.com/website/static/img/generic_banner.png";a.startsWith("http")||a.startsWith("/");return l.createElement("a",{href:"https://s.refine.dev/hackathon2",target:"_blank",rel:"noreferrer"},l.createElement("img",{src:"https://refine.ams3.cdn.digitaloceanspaces.com/hackathon-2/hackathon_cover.png"}))};var h=r(5524),O=r(3896),y=r(3376),v=r(8840);function w(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const j=e=>l.createElement("svg",function(e){for(var t=1;t{var t,r,n;const a=l.useRef(!1),{id:o}=(0,y.U)(),[i,s]=l.useState(!1),{items:u}=(0,v.GC)(),{reward:f}=(0,O.yh)(`checklist-${o}`,"confetti",{angle:90,elementCount:120,startVelocity:30,decay:.95,spread:100,position:"absolute",lifetime:150}),m=null===(n=u.find((e=>e.id===o)))||void 0===n||null===(t=(r=n.checklist).every)||void 0===t?void 0:t.call(r,(e=>e.checked));return l.useEffect((()=>{setTimeout((()=>{a.current=!0}),1e3)}),[]),l.useEffect((()=>{!i&&m&&a.current&&(s(!0),f())}),[m,i]),l.createElement("div",{className:(0,c.c)("rounded-lg","border-l-gray-400 dark:border-l-gray-600","dark:bg-gray-800 bg-gray-50")},l.createElement("div",{className:(0,c.c)("border-l-4","border-l-solid","border-l-inherit","rounded-tl-lg","rounded-bl-lg","p-4","flex flex-col")},l.createElement("div",{className:"border-b border-gray-400 dark:border-gray-500 border-opacity-50 dark:border-opacity-50"},l.createElement("div",{className:(0,c.c)("not-prose","mt-0 mb-4","flex items-center","gap-2")},l.createElement(j,{className:(0,c.c)("w-4 h-4","dark:text-gray-100 text-gray-800")}),l.createElement("h3",{className:(0,c.c)("m-0 p-0","font-semibold","dark:text-gray-100 text-gray-800","uppercase","text-base leading-6")},"Checklist"))),l.createElement("div",null,e),l.createElement("div",{className:"flex items-center justify-center"},l.createElement("div",{id:`checklist-${o}`}))))};function x(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const P=e=>l.createElement("svg",function(e){for(var t=1;t{var r,n,a,o;const{id:i}=(0,y.U)(),{items:s,toggle:u}=(0,v.GC)(),f=null===(r=null===(o=s.find((e=>e.id===i)))||void 0===o||null===(n=(a=o.checklist).find)||void 0===n?void 0:n.call(a,(e=>e.id===t)))||void 0===r?void 0:r.checked;return l.createElement("label",{className:(0,c.c)("mt-4","flex","items-center justify-start","flex-nowrap","gap-2","cursor-pointer")},l.createElement("div",{className:"flex-shrink-0"},l.createElement("button",{type:"button",onClick:()=>{u(i,t)},className:(0,c.c)("appearance-none","flex items-center justify-center","w-4 h-4","rounded","border",{"border-gray-400 dark:border-gray-500":!f,"border-refine-react-dark-link dark:border-refine-react-dark-link":f,"bg-refine-react-dark-link":f})},f&&l.createElement(P,null))),l.createElement("div",{className:(0,c.c)(f&&"line-through dark:text-gray-100 dark:text-opacity-50 text-gray-800 text-opacity-50",!f&&"text-gray-800 dark:text-gray-100")},e))};var C=r(8560),A=r(2108);const H=({path:e})=>l.createElement(C.s,{language:"bash",title:"Run on your local",icon:l.createElement(A.G,null)},`npm create refine-app@latest -- --example ${e}`);var S=r(5792);const N=({path:e})=>l.createElement("div",{className:(0,c.c)("refine-wider-container","py-2","px-2","text-base","font-sans","flex items-center","gap-2","rounded-lg","dark:bg-gray-700","bg-gray-100","mb-6")},l.createElement(S.A,{className:"ml-1.5 w-5 h-5 text-gray-800 dark:text-gray-100"}),l.createElement("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:(0,c.c)("text-base","leading-8","text-refine-react-light-link dark:text-refine-react-dark-link")},l.createElement("span",null,"View Source Code"))),Z=({path:e})=>{const t=`https://github.com/PrepVerse/PrepVerse/tree/master/examples/${e}`;return l.createElement(N,{path:t})},D=({path:e,hideSource:t,hideLocal:r,hideSandbox:n})=>{const c=`${`https://codesandbox.io/embed/github/refinedev/refine/tree/master/examples/${e}`}?view=preview&theme=dark&runonclick=1&codemirror=1`;return l.createElement("div",null,!t&&l.createElement(Z,{path:e}),!r&&l.createElement(H,{path:e}),!n&&l.createElement("iframe",{loading:"lazy",src:c,style:{width:"100%",height:"80vh",border:"0px",borderRadius:"8px",overflow:"hidden"},title:e,allow:"accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking",sandbox:"allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"}))};var L=r(1240),M=r(7916);const z=()=>l.createElement("div",null,l.createElement(L.c,{type:"simple",title:"Good to know"},l.createElement(M.s,null,"\nAll the data related hooks (useTable, useForm, useList etc.) of Refine can be given some common properties like `resource`, `meta` etc.\n\nFor more information, refer to the [General Concepts documentation](/docs/guides-concepts/general-concepts).\n"))),B=({children:e,content:t})=>l.createElement("div",{className:(0,c.c)("refine-info-badge","relative","group","inline-flex","align-middle")},e,l.createElement("div",{className:(0,c.c)("absolute","-left-1","top-0","translate-x-0","-translate-y-0","scale-0","group-hover:scale-100","group-hover:-translate-y-full","transition-transform","origin-top-left","pb-2","w-60","pointer-events-none")},l.createElement("div",{className:(0,c.c)("text-xs","text-gray-600","bg-gray-0","border","border-gray-200","shadow-sm","rounded","py-1","px-2","font-normal")},null!=t?t:"Check the guide for more information"))),R=({id:e,icon:t,color:r,text:n,description:a})=>{const o=(0,c.c)("orange"===r&&(0,c.c)("bg-refine-react-light-orange-bg dark:bg-refine-react-dark-orange","dark:bg-opacity-[0.15]","text-refine-react-light-orange dark:text-refine-react-dark-orange"),"green"===r&&(0,c.c)("bg-refine-react-light-green-bg dark:bg-refine-react-dark-green","dark:bg-opacity-[0.15]","text-refine-react-light-green dark:text-refine-react-dark-green"),"purple"===r&&(0,c.c)("bg-refine-react-light-purple-bg dark:bg-refine-react-dark-purple","dark:bg-opacity-[0.15]","text-refine-react-light-purple dark:text-refine-react-dark-purple"));return l.createElement(B,{content:a},l.createElement(i.c,{to:`/docs/${e}`,className:(0,c.c)("-mt-px","rounded-[10px]","inline-flex","items-center","justify-center","text-sm","no-underline","gap-1.5","[&>svg]:hover:scale-110","[&>svg]:transition-transform [&>svg]:duration-200 [&>svg]:ease-in-out",o)},t,n&&l.createElement("span",{className:"text-xs leading-[0.875rem]"},n)))};function G(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const T=e=>l.createElement("svg",function(e){for(var t=1;tl.createElement("svg",function(e){for(var t=1;tr?l.createElement("div",{className:(0,c.c)("inline-flex","text-sm","py-0.5","px-2","rounded-xl","bg-refine-orange","bg-opacity-10","text-refine-orange","tracking-wide","align-middle","font-normal","mr-1"),title:o},null!=e?e:"deprecated"):t?l.createElement("div",{className:(0,c.c)("inline-flex","justify-center items-center","text-sm","text-refine-red","rounded-full","bg-refine-red bg-opacity-10","ml-1","w-6 h-6","align-middle")},null!=e?e:"\ufe61"):n?l.createElement("div",{className:(0,c.c)("inline-flex","text-sm","py-0.5","px-2","rounded-xl","bg-refine-red","bg-opacity-10","text-refine-red","tracking-wide","align-middle","font-normal","mr-1"),title:o},null!=e?e:"required"):a?l.createElement("div",{className:(0,c.c)("inline-flex","text-sm","py-0.5","px-2","rounded-xl","bg-refine-green","bg-opacity-10","text-refine-green","tracking-wide","align-middle","font-normal","mr-1"),title:o},null!=e?e:"featured"):e?l.createElement("div",{className:(0,c.c)("inline","text-gray-0","text-xs","leading-6","py-0.5","px-2","rounded","bg-gray-800","tracking-wide","align-middle","mr-1"),title:o},e):null,W="tooltip__Ymd",I="tooltipContainer_l6r7",U="tooltipContent_UeXm",X="tooltipArrow_mOyh",J=({label:e,children:t})=>e?l.createElement("div",{className:`${W} group`},t,l.createElement("div",{className:`${I} group-hover:visible`},l.createElement("span",{className:U},e),l.createElement("div",{className:X}))):l.createElement(l.Fragment,null,t);function K(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},c=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const Q=({prop:e,overrides:t})=>{var r,n,c;const a=null!==(c=t[`${e.name}-required`])&&void 0!==c?c:e.required;var o;const i=null!==(o=t[`${e.name}-deprecated`])&&void 0!==o?o:null===(r=e.tags)||void 0===r?void 0:r.deprecated;var s,u;const f=null!==(u=null!==(s=t[`${e.name}-deprecated`])&&void 0!==s?s:null===(n=e.tags)||void 0===n?void 0:n.deprecated)&&void 0!==u?u:"",m=(0,l.useMemo)((()=>{const e="props-table--name";return i?`${e} props-table--name__deprecated`:e}),[e,t]),p=(0,l.useMemo)((()=>f?l.createElement(M.s,null,f):null),[e,t]);var d;return l.createElement(J,{label:p},l.createElement(l.Fragment,null,l.createElement("span",{className:m},null!==(d=t[`${e.name}-name`])&&void 0!==d?d:e.name),a&&l.createElement(Y,{asterisk:!0})))},q=({prop:e,overrides:t})=>{var r;const n=null!==(r=t[`${e.name}-type`])&&void 0!==r?r:e.type.name,c=n.split(" | "),a=c.length>1,o=c.some((e=>e.length>20)),i=/`/.test(n);return l.createElement(l.Fragment,null,i?l.createElement(M.s,null,n):o&&a?l.createElement(l.Fragment,null,c.map(((e,t)=>l.createElement("code",{className:"max-w-xs h-min",key:t},l.createElement(M.s,null,e))))):l.createElement("code",{className:"max-w-xs h-min"},l.createElement(M.s,null,n)))},_=({prop:e,overrides:t})=>{var r,n;return l.createElement(M.s,null,null!==(n=null!==(r=t[`${e.name}-description`])&&void 0!==r?r:e.tags.description)&&void 0!==n?n:e.description)},$=({prop:e,overrides:t})=>{var r,n,c,a;const o=null===(r=e.tags)||void 0===r?void 0:r.default,i=(null===(n=e.defaultValue)||void 0===n?void 0:n.value)&&(null===(c=e.defaultValue)||void 0===c?void 0:c.value)!==o?null===(a=e.defaultValue)||void 0===a?void 0:a.value:void 0,s=t[`${e.name}-default`];return o||s?l.createElement(M.s,null,null!=s?s:o):l.createElement("div",{className:"flex flex-wrap gap-1"},void 0!==i?l.createElement("code",{className:"max-w-xs h-min"},l.createElement(M.s,null,i)):null)},ee=({prop:e,overrides:t})=>l.createElement("td",null,l.createElement("div",{className:"flex items-center"},l.createElement(Q,{prop:e,overrides:t}))),te=({prop:e,overrides:t})=>l.createElement("td",{className:"props-table__type-cell"},l.createElement("div",{className:"flex flex-wrap gap-1"},l.createElement(q,{prop:e,overrides:t}))),re=({prop:e,overrides:t})=>l.createElement("td",{className:"props-table__description-cell"},l.createElement(_,{prop:e,overrides:t})),ne=({prop:e,overrides:t})=>l.createElement("td",{className:"props-table__default-value-cell"},l.createElement($,{prop:e,overrides:t})),le=e=>{var{module:t,hideDefaults:n,children:c}=e,a=K(e,["module","hideDefaults","children"]);const o=((e,t="@refinedev/")=>{const[n,c]=(0,l.useState)(null);return(0,l.useEffect)((()=>{let n=!1;return r(6324)(`./${e.startsWith(t)?e:`${t}${e}`}.json`).then((e=>{n||(n=!0,c(e.default))})).catch(console.warn),()=>{n=!0}}),[e]),n})(t),i=(0,l.useMemo)((()=>{var e;if(n)return!1;if(Object.keys(a).some((e=>e.endsWith("-default"))))return!1;var t;return!Object.values(null!==(t=null===(e=o)||void 0===e?void 0:e.props)&&void 0!==t?t:{}).some((e=>{var t;return null===(t=e.defaultValue)||void 0===t?void 0:t.value}))}),[a]);if(!o)return null;const s=[...Object.values(o.props)];return l.createElement("div",{className:"table-container"},l.createElement("table",{className:"props-table"},l.createElement("thead",null,l.createElement("tr",null,l.createElement("th",null,"Property"),l.createElement("th",null,"Type"),l.createElement("th",null,"Description"),i?null:l.createElement("th",null,"Default"))),l.createElement("tbody",null,s.map((e=>a[`${e.name}-hidden`]?null:l.createElement("tr",{key:e.name},l.createElement(ee,{prop:e,overrides:a}),l.createElement(te,{prop:e,overrides:a}),l.createElement(re,{prop:e,overrides:a}),i?null:l.createElement(ne,{prop:e,overrides:a})))))),c)};function ce(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ae=e=>l.createElement("svg",function(e){for(var t=1;t{const{current:r}=(0,oe.U)();return e&&r===e?l.createElement(l.Fragment,null,t):null};var se=r(8530);function ue(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fe(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const me=e=>{var t;const r=l.Children.toArray(e.children),n=r.find((e=>l.isValidElement(e)&&"summary"===(null===(t=e.props)||void 0===t?void 0:t.mdxType))),a=l.createElement(l.Fragment,null,r.filter((e=>e!==n)));return l.createElement(se.S,fe(function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const ge=e=>{var{children:t,className:r}=e,n=be(e,["children","className"]);return l.createElement("summary",function(e){for(var t=1;t{const t=e.currentTarget,l=s.indexOf(t),c=a[l].value;c!==r&&(u(t),n(c))},m=e=>{var t,r;let n=null;switch(e.key){case"Enter":f(e);break;case"ArrowRight":{const t=s.indexOf(e.currentTarget)+1;var l;n=null!==(l=s[t])&&void 0!==l?l:s[0];break}case"ArrowLeft":{const t=s.indexOf(e.currentTarget)-1;var c;n=null!==(c=s[t])&&void 0!==c?c:s[s.length-1];break}}null===(r=n)||void 0===r||null===(t=r.focus)||void 0===t||t.call(r)};return l.createElement("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,c.c)(e,"!my-0","flex-wrap","list-none","m-0 mb-0 mt-0","px-4","flex gap-4","bg-gray-100 dark:bg-gray-700","rounded-tl-lg rounded-tr-lg",!o&&"rounded-bl-lg rounded-br-lg","items-stretch")},a.map((({value:e,label:t,attributes:n})=>l.createElement("li",je(we({role:"tab",tabIndex:r===e?0:-1,"aria-selected":r===e,key:e,ref:e=>s.push(e),onKeyDown:m,onClick:f},n),{className:(0,c.c)("!my-0","mx-0 mt-0","px-2 py-3","flex items-center justify-center","min-w-[60px]","cursor-pointer","transition-all duration-200 ease-in-out","border-b border-solid","select-none",i&&"!text-xs",!i&&"!text-base",r!==e&&"text-gray-800 dark:text-gray-100",r===e&&"text-refine-react-light-link dark:text-refine-react-dark-link",r!==e&&"hover:text-refine-react-light-link dark:hover:text-refine-react-dark-link",r!==e&&"border-b-transparent",r===e&&"border-b-refine-react-light-link dark:border-b-refine-react-dark-link",r!==e&&"hover:border-b-refine-react-light-link dark:hover:border-b-refine-react-dark-link")}),null!=t?t:e))))}function xe({lazy:e,children:t,selectedValue:r,smallTabs:n}){const a=(Array.isArray(t)?t:[t]).filter(Boolean);if(e){const e=a.find((e=>e.props.value===r));return e?(0,l.cloneElement)(e,{className:"margin-top--md refine-tab-content"}):null}var o;return l.createElement("div",{className:"p-4"},a.map(((e,t)=>(0,l.cloneElement)(e,{key:t,hidden:e.props.value!==r,className:(0,c.c)(null!==(o=e.props.className)&&void 0!==o?o:[],"refine-tab-content")}))))}function Pe(e){const t=(0,Oe.a)(e),{wrapContent:r=!0}=e;return l.createElement("div",{className:(0,c.c)("tabs-container","rounded-lg","border-gray-300 dark:border-gray-700",r?"border":"border-0","mb-6","refine-wider-container")},l.createElement(Ee,we({},e,t)),l.createElement(xe,we({},e,t)))}function ke(e){const t=(0,ye.c)();return l.createElement(Pe,we({key:String(t)},e))}function Ce(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ae(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},c=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}var He=r(4472),Se=r(4896),Ne=r(1488),Ze=r(8620),De=r(6076),Le=r(9072);function Me(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ze=e=>l.createElement("svg",function(e){for(var t=1;tl.createElement("svg",function(e){for(var t=1;t{var t,r;const[n,a]=(0,l.useState)(!1),{refs:o,floatingStyles:i,context:s}=(0,He.gR)({placement:"bottom-start",open:e.isOpen,onOpenChange:e.onOpenChange,whileElementsMounted:Se.kN,middleware:[(0,Ne.E3)((({middlewareData:e})=>{var t;return(null===(t=e)||void 0===t?void 0:t.flip)?{mainAxis:12}:{mainAxis:52}})),(0,Se.EB)((({placement:e})=>(e.includes("bottom")&&a(!1),e.includes("top")&&a(!0),{fallbackPlacements:["top-start"]})))]}),u=(0,He.ug)(s,{outsidePress:e=>!(null===(r=e.target)||void 0===r||null===(t=r.closest)||void 0===t?void 0:t.call(r,".widget-actions"))}),{getReferenceProps:f,getFloatingProps:m}=(0,He.M3)([u]);return l.createElement(l.Fragment,null,l.createElement("div",Xe(Ue({ref:o.setReference},f()),{style:{position:"absolute",top:"0",left:0}})),l.createElement(Ze.I,null,s.open&&l.createElement(De.q.div,Xe(Ue({initial:{opacity:0},animate:{opacity:1,transition:{duration:.2}},exit:{opacity:0},ref:o.setFloating,style:i},m()),{className:(0,c.c)("w-[320px]","bg-[#EAEBEF] dark:bg-refine-react-dark-code","border border-[#E3E4E5] dark:border-[#343A46]","rounded-[20px]","relative")}),e.children,l.createElement(Ke,{style:Ue({position:"absolute",top:n?"unset":"-10px",bottom:n?"-10px":"unset",transform:n?"rotate(180deg)":"rotate(0deg)",transition:"right 0.2s ease-in-out",willChange:"right"},e.arrowStyle)}))))},Ke=e=>{const{colorMode:t}=(0,Le.U)(),r="dark"===t;return l.createElement("svg",Ue({xmlns:"http://www.w3.org/2000/svg",width:42,height:18,viewBox:"0 0 42 18",fill:"none"},e),l.createElement("title",null,"Popover Pointer"),l.createElement("path",{fill:r?"#16181D":"#EAEBEF",stroke:"url(#a)",d:"M18.303 2.077C18.892 1.105 19.9.5 21 .5s2.108.605 2.697 1.577l3.026 4.992c.928 1.532 2.476 2.431 4.11 2.431H41.5v8H.5v-8h10.667c1.634 0 3.182-.899 4.11-2.431l3.026-4.992Z"}),l.createElement("defs",null,l.createElement("linearGradient",{id:"a",x1:21,x2:21,y1:1,y2:16,gradientUnits:"userSpaceOnUse"},l.createElement("stop",{offset:.59,stopColor:r?"#343A46":"#E3E4E5"}),l.createElement("stop",{offset:.602,stopColor:r?"#343A46":"#E3E4E5",stopOpacity:0}))))},Qe={UP:1,DOWN:2};function qe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _e(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}var $e;var et=r(7500),tt=r(9104);var rt=r(9092);var nt=r(5560);function lt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ct(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function at(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ot=(it=function(e){for(var t=1;t{var{className:t}=e,r=Ae(e,["className"]);return l.createElement("blockquote",function(e){for(var t=1;tp===m.length?l.createElement(f.c,null,(()=>l.createElement(u,null))):l.createElement(f.c,null,(()=>l.createElement(s,m[p]))),GuideBadge:({id:e,description:t="Please check the guide for more information on this topic.",text:r})=>l.createElement(R,{id:e,color:"green",icon:l.createElement(F,null),text:r,description:l.createElement(l.Fragment,null,l.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Check the guide"),l.createElement("div",{className:"text-xs"},t))}),RouterBadge:({id:e="guides-concepts/routing/",description:t="This value can be inferred from the route. Click to see the guide for more information.",text:r})=>l.createElement(R,{id:e,color:"orange",text:r,icon:l.createElement(ae,null),description:l.createElement(l.Fragment,null,l.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Router Integrated"),l.createElement("div",{className:"text-xs"},t))}),GlobalConfigBadge:({id:e="core/refine-component",description:t="This value can be configured globally. Click to see the guide for more information.",text:r})=>l.createElement(R,{color:"purple",icon:l.createElement(T,null),text:r,id:e,description:l.createElement(l.Fragment,null,l.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Globally Configurable"),l.createElement("div",{className:"text-xs"},t))}),Image:e=>l.createElement("img",_e(function(e){for(var t=1;t{const t=e?`-- ${e}`:"",r={npm:`npm create refine-app@latest ${t}`,pnpm:`pnpm create refine-app@latest ${t}`,yarn:`yarn create refine-app@latest ${t}`};return l.createElement(ke,null,l.createElement(tt.c,{value:"npm",label:"npm",default:!0},l.createElement(C.s,{className:"language-bash"},r.npm)),l.createElement(tt.c,{value:"pnpm",label:"pnpm"},l.createElement(C.s,{className:"language-bash"},r.pnpm)),l.createElement(tt.c,{value:"yarn",label:"yarn"},l.createElement(C.s,{className:"language-bash"},r.yarn),l.createElement(M.s,null,"> Only supports yarn@1 version.")))},InstallPackagesCommand:({args:e,children:t})=>{const r={npm:`npm i ${e}`,pnpm:`pnpm add ${e}`,yarn:`yarn add ${e}`};return l.createElement(ke,null,l.createElement(tt.c,{value:"npm",label:"npm",default:!0},l.createElement(C.s,{className:"language-bash"},r.npm),t),l.createElement(tt.c,{value:"pnpm",label:"pnpm"},l.createElement(C.s,{className:"language-bash"},r.pnpm),t),l.createElement(tt.c,{value:"yarn",label:"yarn"},l.createElement(C.s,{className:"language-bash"},r.yarn),t))},FullTable:et.Ih,TutorialConditional:({parameter:e,value:t,children:r})=>{var n;const{parameters:c}=(0,rt.iC)();return(null===(n=c)||void 0===n?void 0:n[e])===t?l.createElement(l.Fragment,null,r):null},VideoInView:e=>{const t=l.useRef(null),r=(0,nt.c)(t);return l.useEffect((()=>{var e,n,l,c;r?null===(n=t.current)||void 0===n||null===(e=n.play)||void 0===e||e.call(n):null===(c=t.current)||void 0===c||null===(l=c.pause)||void 0===l||l.call(c)}),[r]),l.createElement("video",ct(function(e){for(var t=1;t{var e,r,n,l,c;(null===(e=t.current)||void 0===e?void 0:e.paused)?null===(n=t.current)||void 0===n||null===(r=n.play)||void 0===r||r.call(n):null===(c=t.current)||void 0===c||null===(l=c.pause)||void 0===l||l.call(c)},className:(0,c.c)(e.className,"w-full","h-auto","max-w-full","max-h-full","rounded-xl","object-contain")}))},DocThumbsUpDownFeedbackWidget:e=>{const t=(0,We.IT)(),[r,n]=(0,l.useState)(""),[a,o]=(0,l.useState)(null),[i,s]=(0,l.useState)(!1),[u,f]=(0,l.useState)(!1),m=i||u,{survey:p,createSurvey:d,updateSurvey:b}=(e=>{const[t,r]=(0,l.useState)(null),n=Ye[e.type];return{survey:t,setSurvey:r,createSurvey:async({body:e})=>{const t=await fetch(`${n}/responses`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(!t.ok)return null;const l=await t.json();return l?(r(l),l):void 0},updateSurvey:async({surveyId:e,body:t})=>{const l=await fetch(`${n}/responses/${e}`,{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(!l.ok)return null;const c=await l.json();return c?(r(c),c):void 0}}})({type:Ge.THUMBS}),g=async r=>{o(r),s(!0),p?await b({surveyId:p.id,body:{response:r}}):await d({body:{response:r,entityId:t.pathname,metaData:{sectionId:e.id}}})};return l.createElement("div",{className:"group"},e.children,l.createElement("div",{className:(0,c.c)("relative","z-popover","hidden md:flex","items-center","gap-5","w-max h-[40px]","pt-1 pr-1 pb-1 pl-4","bg-[#99A1B31A] dark:bg-[#2F333C]","rounded-[28px]","transition-all duration-300 ease-in-out",!m&&"opacity-0","group-hover:opacity-100")},l.createElement("div",{className:(0,c.c)("text-xs","whitespace-nowrap","text-[#23272F] dark:text-[#E3E4E5]")},"Was this helpful?"),l.createElement("div",{className:(0,c.c)("flex","items-center","gap-1","widget-actions")},l.createElement("button",{type:"button",onClick:()=>g(Qe.UP),className:(0,c.c)("w-8 h-8","flex items-center justify-center","rounded-full","text-gray-500","hover:text-green-500 hover:bg-green-500/20","transition-all duration-200 ease-in-out",1===a&&"text-green-500 bg-green-500/20")},l.createElement(ze,null)),l.createElement("button",{type:"button",onClick:()=>g(Qe.DOWN),className:(0,c.c)("w-8 h-8","flex items-center justify-center","rounded-full","text-gray-500","hover:text-red-500 hover:bg-red-500/20","transition-all duration-200 ease-in-out",2===a&&"text-red-500 bg-red-500/20")},l.createElement(Re,null))),l.createElement(Je,{isOpen:m,onOpenChange:e=>{u||e||(s(!1),f(!1))},arrowStyle:{right:1===a?"150px":"115px"}},!u&&l.createElement("form",{className:(0,c.c)("flex flex-col","p-2"),onSubmit:e=>{e.preventDefault(),(async()=>{const e=r.trim();e&&(await b({surveyId:p.id,body:{response:a,responseText:e}}),f(!0),setTimeout((()=>{s(!1),f(!1)}),2e3))})()}},l.createElement("textarea",{rows:3,required:!0,minLength:3,placeholder:"Your thumbs tells us a lot, but If you have any additional thoughts or suggestions, we'd love to hear them!",onChange:e=>n(e.target.value),value:r,className:(0,c.c)("w-full","bg-white dark:bg-[#343A46]","text-[#23272F] dark:text-[#E3E4E5]","resize-none","rounded-xl","text-xs","py-2 px-3")}),l.createElement("button",{type:"submit",className:(0,c.c)("w-16 h-6","flex items-center justify-center","bg-refine-react-light-link dark:bg-refine-react-dark-link","text-xs","text-white","rounded-full","mt-2 ml-auto")},"Send")),u&&l.createElement("div",{className:(0,c.c)("flex items-center","p-4","text-xs","text-gray-500")},l.createElement("span",null,"Thank you for your feedback!")))))}},st=null!=st?st:{},Object.getOwnPropertyDescriptors?Object.defineProperties(it,Object.getOwnPropertyDescriptors(st)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(st)).forEach((function(e){Object.defineProperty(it,e,Object.getOwnPropertyDescriptor(st,e))})),it);var it,st},2444:(e,t,r)=>{"use strict";r.d(t,{c:()=>P});var n=r(7652),l=r(6424),c=r(9184),a=r(640),o=r(9500),i=r(3928),s=r(1088),u=r(9488),f=r(3652),m=r(9936),p=r(3146),d=r(3796),b=r(1504),g=r(7104);function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function O(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}let w=null;function j({hit:e,children:t}){return b.createElement(c.c,{to:e.url},t)}function E({state:e,onClose:t}){const r=(0,o.Y)();return b.createElement(c.c,{to:r(e.query),onClick:t},b.createElement(f.c,{id:"theme.SearchBar.seeAll",values:{count:e.context.nbHits}},"See all {count} results"))}function x(e){var t,{contextualSearch:c,externalUrlRegex:o,CustomButton:f}=e,h=v(e,["contextualSearch","externalUrlRegex","CustomButton"]);const{siteMetadata:x}=(0,m.c)(),P=(0,s.Q)(),k=(0,u.Q)();var C;const A=null!==(C=null===(t=h.searchParameters)||void 0===t?void 0:t.facetFilters)&&void 0!==C?C:[],H=c?function(e,t){const r=e=>"string"==typeof e?[e]:e;return[...r(e),...r(t)]}(k,A):A,S=y(O({},h.searchParameters),{facetFilters:H}),N=(0,a.Uz)(),Z=(0,b.useRef)(null),D=(0,b.useRef)(null),[L,M]=(0,b.useState)(!1),[z,B]=(0,b.useState)(void 0),R=(0,b.useCallback)((async()=>w?Promise.resolve():Promise.all([r.e(6652).then(r.bind(r,6652)),Promise.all([r.e(2176),r.e(1676)]).then(r.bind(r,1676)),Promise.all([r.e(2176),r.e(5640)]).then(r.bind(r,3260))]).then((([{DocSearchModal:e}])=>{w=e}))),[]),G=(0,b.useCallback)((()=>{R().then((()=>{Z.current=document.createElement("div"),document.body.insertBefore(Z.current,document.body.firstChild),M(!0)}))}),[R,M]),T=(0,b.useCallback)((()=>{var e,t;M(!1),null===(t=Z.current)||void 0===t||null===(e=t.remove)||void 0===e||e.call(t)}),[M]),V=(0,b.useCallback)((e=>{R().then((()=>{M(!0),B(e.key)}))}),[R,M,B]),F=(0,b.useRef)({navigate({itemUrl:e}){(0,i._)(o,e)?window.location.href=e:N.push(e)}}).current,Y=(0,b.useRef)((e=>h.transformItems?h.transformItems(e):e.map((e=>y(O({},e),{url:P(e.url)}))))).current,W=(0,b.useMemo)((()=>function(e){return b.createElement(E,y(O({},e),{onClose:T}))}),[T]),I=(0,b.useCallback)((e=>(e.addAlgoliaAgent("docusaurus",x.docusaurusVersion),e)),[x.docusaurusVersion]);(0,n._)({isOpen:L,onOpen:G,onClose:T,onInput:V,searchButtonRef:D});const U=null!=f?f:p.o,{apiKey:X,appId:J,searchPagePath:K,indexName:Q,searchParameters:q}=h,_=v(h,["apiKey","appId","searchPagePath","indexName","searchParameters"]);return b.createElement(b.Fragment,null,b.createElement(l.c,null,b.createElement("link",{rel:"preconnect",href:`https://${h.appId}-dsn.algolia.net`,crossOrigin:"anonymous"})),b.createElement(U,O({onTouchStart:R,onFocus:R,onMouseOver:R,onClick:G,ref:D},_)),L&&w&&Z.current&&(0,g.createPortal)(b.createElement(w,y(O({onClose:T,initialScrollY:window.scrollY,initialQuery:z,navigator:F,transformItems:Y,hitComponent:j,transformSearchClient:I},h.searchPagePath&&{resultsFooterComponent:W},h),{searchParameters:S,placeholder:d.c.placeholder,translations:d.c.modal})),Z.current))}function P({CustomButton:e}){const{siteConfig:t}=(0,m.c)();return b.createElement(x,y(O({},t.themeConfig.algolia),{CustomButton:e}))}},4588:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>G});var n=r(1504),l=r(4971),c=r(2288),a=r(4464),o=r(56);const i=({children:e})=>n.createElement(o.c,null,e);var s=r(2444),u=r(9184);const f=({className:e})=>n.createElement("div",{className:(0,l.c)("flex","items-center justify-start","gap-2","no-underline",e)},n.createElement(u.c,{to:"/",className:(0,l.c)("no-underline","flex items-center gap-2")},n.createElement("span",{className:(0,l.c)("text-gray-1000 dark:text-gray-0","text-base","font-semibold")},"PrepVerse")),n.createElement("span",{className:(0,l.c)("block","h-6","w-px","mx-1","bg-gray-300 dark:bg-gray-600")}),n.createElement(u.c,{to:"/tutorial",className:(0,l.c)("no-underline")},n.createElement("span",{className:(0,l.c)("text-gray-1000 dark:text-gray-0","text-base font-normal")},"Tutorial")));var m=r(1180),p=r(9253),d=r(3146),b=r(2120),g=r(4604),h=r(7132),O=r(9092),y=r(2064),v=r(8872);function w(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function j(e){for(var t=1;tn.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},e),n.createElement("rect",{width:15,height:15,fill:"none",x:4.5,y:4.5,stroke:"currentColor",rx:7.5})),P=e=>n.createElement("svg",E(j({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},e),{className:(0,l.c)(e.className,"fill-refine-tutorial-green")}),n.createElement("rect",{width:16,height:16,x:4,y:4,fill:"currentFill",rx:8}),n.createElement("path",{stroke:"currentColor",strokeLinecap:"round",fill:"none",strokeLinejoin:"round",strokeWidth:2,d:"m9 12 2 2 4-4"})),k=()=>{var e,t,r;const a=(0,c.G)(),o=(0,y.G_)(),{parameters:i,settled:s}=(0,O.iC)(),{visited:f,setVisited:m}=(0,v.Cw)(),p=s?(0,y.ED)(a.metadata.id,i):void 0,d=s?y.Sm.units.map((e=>E(j({},e),{items:e.items.map((e=>(0,y.Yv)(e,i)))}))):[],[b,h]=n.useState(!1),w=n.useRef(null),k=n.useRef(null);n.useEffect((()=>{const e=e=>{!w.current||w.current.contains(e.target)||k.current.contains(e.target)||h(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}}),[w]),n.useEffect((()=>{var e;if(!(null===(e=f[a.metadata.id])||void 0===e?void 0:e.visited)){const e=setTimeout((()=>{m(a.metadata.id)}),1e4);return()=>clearTimeout(e)}return()=>0}),[null===(e=null===(t=a)||void 0===t?void 0:t.metadata)||void 0===e?void 0:e.id,f]);const C=e=>{var t,r,n;return null===(n=d.find((t=>t.id===e)))||void 0===n||null===(t=(r=n.items).every)||void 0===t?void 0:t.call(r,(e=>f[e]?.visited))};return n.createElement("div",{className:(0,l.c)("flex-1","relative","flex","max-w-[384px]")},n.createElement("button",{type:"button",ref:k,onClick:()=>h(!b),className:(0,l.c)("appearance-none","border-none","outline-none","flex-1","py-2 tutorial-md:py-2.5","pl-4 tutorial-md:pl-6","pr-3","bg-gray-200 dark:bg-gray-700","flex","gap-2","items-center","justify-start","rounded-[40px]")},n.createElement("div",{className:(0,l.c)("h-4 tutorial-md:h-5","flex-1","text-xs tutorial-md:text-sm","leading-4 tutorial-md:leading-5","text-gray-800 dark:text-gray-100","relative")},n.createElement("div",{className:(0,l.c)("max-w-full","w-full","text-ellipsis","whitespace-nowrap","overflow-hidden","absolute","inset-0","text-left","select-none")},p?n.createElement("span",null,n.createElement("span",{className:(0,l.c)("font-normal")},null===(r=p)||void 0===r?void 0:r.title),n.createElement("span",{className:(0,l.c)("text-gray-400")}," / "),n.createElement("span",{className:(0,l.c)("font-semibold")},a.metadata.title)):null)),n.createElement("div",{className:(0,l.c)("flex-shrink-0","flex","items-center","justify-center","text-gray-400")},n.createElement(g.o,{className:"w-4 h-4"}))),n.createElement("div",{ref:w,className:(0,l.c)("overflow-scroll","scrollbar-hidden","absolute","top-full",b?"opacity-100 max-h-[calc(100dvh-104px-64px-8px)] tutorial-sm:max-h-[calc(100dvh-55px-64px-8px)] tutorial-md:max-h-[calc(100dvh-60px-57px-8px)] translate-y-2":"opacity-0 max-h-0 -translate-y-8","transition-all ease-in-out duration-200","shadow","w-full","h-fit","bg-gray-100 dark:bg-gray-700","rounded-[20px]")},n.createElement("div",{className:(0,l.c)("inline")},n.createElement("div",{className:(0,l.c)("py-8","text-sm","leading-6","flex","flex-col","gap-8")},d.map((e=>n.createElement("div",{key:e.id,className:(0,l.c)("flex","flex-col","gap-0")},n.createElement("div",{className:(0,l.c)("py-1","px-4","flex","items-center","gap-1")},C(e.id)?n.createElement(P,{className:"text-gray-100 dark:text-gray-700"}):n.createElement(x,{className:"text-gray-400 dark:text-gray-500"}),n.createElement("span",{className:(0,l.c)("font-semibold",!C(e.id)&&"text-gray-700 dark:text-gray-200",C(e.id)&&"text-gray-500 dark:text-gray-400")},e.title)),e.items.map((e=>{var t,r,c;return n.createElement(u.c,{key:e,to:(0,y._i)(e,o),className:(0,l.c)("py-1","pl-8 pr-4","flex",e===a.metadata.id&&"bg-gray-200 dark:bg-gray-600","items-center","gap-1","text-gray-700 dark:text-gray-200","no-underline","hover:bg-gray-200 dark:hover:bg-gray-600")},(null===(t=f[e])||void 0===t?void 0:t.visited)?n.createElement(P,{className:"text-gray-100 dark:text-gray-700"}):n.createElement(x,{className:"text-gray-400 dark:text-gray-500"}),n.createElement("span",{className:(0,l.c)(!(null===(r=f[e])||void 0===r?void 0:r.visited)&&"text-gray-700 dark:text-gray-200",(null===(c=f[e])||void 0===c?void 0:c.visited)&&"text-gray-500 dark:text-gray-400")},(0,y.iG)(e,o)))})))))))))},C=()=>{const e=(0,c.G)(),t=(0,y.G_)(),{parameters:r,settled:a}=(0,O.iC)(),o=a?(0,y.Ip)(e.metadata.id,r):void 0,i=a?(0,y.Mx)(e.metadata.id,r):void 0,s=a&&o?(0,y._i)((0,y.Yv)(o,r),t):void 0,f=a&&i?(0,y._i)((0,y.Yv)(i,r),t):void 0;return n.createElement("div",{className:(0,l.c)("flex","flex-1","items-center","justify-start","max-w-[464px]","gap-2")},n.createElement(u.c,{to:f,id:"previous-doc-button",onClick:f?void 0:e=>e.preventDefault(),className:(0,l.c)(f?"opacity-100":"opacity-50",f?"cursor-pointer":"cursor-not-allowed","p-2 tutorial-md:p-2.5","text-gray-400 dark:text-gray-400","hover:text-gray-400 dark:hover:text-gray-400","bg-gray-100 dark:bg-refine-react-dark-code","rounded-full")},n.createElement(h.Y,{className:"w-4 h-4 tutorial-md:w-5 tutorial-md:h-5"})),n.createElement(k,null),n.createElement(u.c,{to:s,id:"next-doc-button",onClick:s?void 0:e=>e.preventDefault(),className:(0,l.c)(s?"opacity-100":"opacity-50",s?"cursor-pointer":"cursor-not-allowed","p-2 tutorial-md:p-2.5","text-gray-400 dark:text-gray-400","hover:text-gray-400 dark:hover:text-gray-400","bg-gray-100 dark:bg-refine-react-dark-code","rounded-full")},n.createElement(h.Y,{className:"rotate-180 w-4 h-4 tutorial-md:w-5 tutorial-md:h-5"})))};var A=r(2424),H=r(2276),S=r(252),N=r(7708);function Z(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function D(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const L=({isOpen:e,onClose:t})=>n.createElement(A.O,{appear:!0,show:e,as:n.Fragment},n.createElement(H.C,{as:"div",className:"relative z-mobileNavbar",onClose:t},n.createElement(A.O.Child,{as:n.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},n.createElement("div",{className:"fixed inset-0 bg-gray-0 dark:bg-gray-800"})),n.createElement("div",{className:"fixed inset-0 overflow-y-auto"},n.createElement("div",{className:"flex min-h-full items-start justify-center"},n.createElement(A.O.Child,{as:n.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},n.createElement(H.C.Panel,{className:(0,l.c)("w-full h-[100dvh]","flex flex-col","px-2")},n.createElement("div",{className:(0,l.c)("py-4","px-2","w-full h-16","flex items-center justify-between")},n.createElement(f,null),n.createElement("div",{className:(0,l.c)("flex items-center gap-4")},n.createElement(m.O,{onClick:t,active:!0}))),n.createElement("div",{className:(0,l.c)("relative","w-full max-w-[480px]","flex","flex-col","mx-auto","rounded-lg","border border-gray-300 dark:border-gray-600","flex flex-col gap-0")},n.createElement("div",{className:(0,l.c)("flex items-center justify-between","gap-10","px-4","py-4","border-b border-b-gray-200 dark:border-b-gray-600")},n.createElement("span",{className:(0,l.c)("text-sm","text-gray-800","dark:text-gray-100")},"Appearance"),n.createElement(p.O,null)),n.createElement("div",{className:(0,l.c)("flex items-center justify-between","gap-10","px-4","py-4","border-b border-b-gray-200 dark:border-b-gray-600")},n.createElement(u.c,{to:"/",className:(0,l.c)("text-sm","no-underline","hover:no-underline","font-semibold","text-gray-800 dark:text-gray-100")},"PrepVerse Home")),n.createElement("div",{className:(0,l.c)("flex items-center justify-between","gap-10","px-4","py-4","border-b border-b-gray-200 dark:border-b-gray-600")},n.createElement(u.c,{to:"/docs",className:(0,l.c)("text-sm","no-underline","hover:no-underline","font-semibold","text-gray-800 dark:text-gray-100")},"Docs")),n.createElement("div",{className:(0,l.c)("flex items-start justify-between","px-4","py-4","bg-gray-100 dark:bg-gray-700","flex-col tutorial-sm:flex-row","gap-4")},n.createElement("div",{className:(0,l.c)("dark:text-gray-100 text-gray-800","text-sm leading-6")},"Connect with me on"),n.createElement("div",{className:(0,l.c)("flex gap-4","dark:text-gray-400 text-gray-500")},N.AR.map((({href:e,icon:t},r)=>n.createElement("a",{key:r,href:e,target:"_blank",rel:"noreferrer",className:(0,l.c)("flex items-center no-underline")},n.createElement(t,{className:(0,l.c)("w-9 h-9 tutorial-sm:w-6 tutorial-sm:h-6")}))))))))))))),M=()=>{const[e,t]=n.useState(!1);return n.createElement("div",{className:(0,l.c)("w-full","flex","items-center","mx-auto","gap-6")},n.createElement("div",{className:(0,l.c)("flex-1","flex","justify-start","items-center","gap-6","tutorial-md:gap-12","max-w-[656px]")},n.createElement(f,null),n.createElement("div",{className:(0,l.c)("hidden","tutorial-sm:flex","flex-1")},n.createElement(C,null))),n.createElement("div",{className:(0,l.c)("flex-shrink-0","ml-auto","tutorial-lg:flex-1","flex","justify-end","items-center","gap-2")},n.createElement("div",{className:(0,l.c)("hidden tutorial-lg:flex","flex-1","items-center","justify-start","gap-2")},n.createElement(b.u,{label:"Language",parameter:"language"})),n.createElement("div",{className:(0,l.c)("hidden tutorial-md:flex items-center justify-start")},n.createElement(s.c,null)),n.createElement("div",{className:(0,l.c)("tutorial-md:hidden flex")},n.createElement(s.c,{CustomButton:n.forwardRef((function(e,t){return n.createElement(d.o,D(function(e){for(var t=1;tt(!0),active:e,className:"flex tutorial-md:!hidden"})),n.createElement(L,{isOpen:e,onClose:()=>t(!1)}))},z=()=>n.createElement("div",{className:(0,l.c)("flex tutorial-sm:hidden","pt-4","w-full","max-w-[464px]")},n.createElement(C,null)),B=n.memo((function(){return n.createElement(n.Fragment,null,n.createElement(S.Q,null),n.createElement("div",{className:(0,l.c)("flex items-center justify-center","flex-col","z-10","sticky","top-0","py-4 pb-[15px] tutorial-sm:pt-[15px] tutorial-sm:pb-[16px] px-4 tutorial-md:px-6 tutorial-md:pt-[11px] tutorial-md:pb-[10px]","bg-gray-0 dark:bg-gray-800","border-b border-gray-300 dark:border-gray-700")},n.createElement(M,null),n.createElement(z,null)))})),R=()=>n.createElement("footer",{className:(0,l.c)("hidden tutorial-md:block","py-4","px-4","dark:bg-gray-800 bg-gray-0","border-t dark:border-t-gray-700 border-t-gray-300")},n.createElement("div",{className:(0,l.c)("mx-auto","flex w-full items-center justify-between","flex-col-reverse sm:flex-row gap-8")},n.createElement("div",{className:(0,l.c)("text-sm","leading-6","dark:text-gray-400 text-gray-500")},"PrepVerse \xa9 ",(new Date).getFullYear()),n.createElement("div",{className:(0,l.c)("flex","flex-row","items-center","justify-end","flex-1","gap-12")},n.createElement(u.c,{to:"/",className:(0,l.c)("hover:no-underline","hover:text-refine-link-light","dark:hover:text-refine-link-dark")},"PrepVerse Home"),n.createElement(u.c,{to:"/docs",className:(0,l.c)("hover:no-underline","hover:text-refine-link-light","dark:hover:text-refine-link-dark")},"Docs"),n.createElement("div",{className:(0,l.c)("flex flex-col sm:flex-row justify-center items-center")},n.createElement("div",{className:(0,l.c)("dark:text-gray-100 text-gray-800","text-sm leading-6","sm:mr-4")},"Connect with me on"),n.createElement("div",{className:(0,l.c)("flex gap-4","dark:text-gray-400 text-gray-500","mt-4 sm:mt-0")},N.AR.map((({href:e,icon:t},r)=>n.createElement("a",{key:r,href:e,target:"_blank",rel:"noreferrer",className:(0,l.c)("flex items-center no-underline","hover:text-refine-link-light","dark:hover:text-refine-link-dark")},n.createElement(t,{className:(0,l.c)("w-9 h-9 sm:w-6 sm:h-6")}))))))))),G=e=>{const t=e.content;return n.createElement(c.A,{content:e.content},n.createElement(B,null),n.createElement("div",{className:(0,l.c)("flex items-start justify-start","w-full flex-1","flex-col","mx-auto")},n.createElement(a.c,null),n.createElement(i,null,n.createElement(t,null))),n.createElement(R,null))}}}]); \ No newline at end of file +(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[8032],{6324:(e,t,r)=>{var n={"./plugin-route-context-module-100.json":[4634,4634]};function l(e){if(!r.o(n,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=n[e],l=t[0];return r.e(t[1]).then((()=>r.t(l,19)))}l.keys=()=>Object.keys(n),l.id=6324,e.exports=l},4464:(e,t,r)=>{"use strict";r.d(t,{c:()=>a});var n=r(1504),l=r(6684),c=r(2288);function a(){const{metadata:e,frontMatter:t,assets:r}=(0,c.G)();var a;return n.createElement(l.U7,{title:e.title,description:e.description,keywords:t.keywords,image:null!==(a=r.image)&&void 0!==a?a:t.image})}},5904:(e,t,r)=>{"use strict";r.d(t,{I7:()=>c,kz:()=>o,aI:()=>u,sL:()=>m,uU:()=>Ye,UZ:()=>Xe,sH:()=>Ie,W4:()=>Ke,g3:()=>qe,Ou:()=>Tt,M7:()=>b,gv:()=>$e,U7:()=>Zt,K6:()=>xt,sT:()=>h,Dp:()=>y,m4:()=>E,Yv:()=>k,UJ:()=>A,QR:()=>rt,y:()=>S,AD:()=>lt,WA:()=>Z,ai:()=>Rt,m0:()=>L,Gg:()=>B,kB:()=>G,mK:()=>F,em:()=>I,E5:()=>zt,sP:()=>Ft,_$:()=>X,gF:()=>Q,Iv:()=>$,Qh:()=>te,yK:()=>st,sW:()=>ft,Uf:()=>le,cF:()=>dt,aA:()=>ae,mO:()=>se,I1:()=>fe,_A:()=>pe,CS:()=>ot,U$:()=>Ot,yw:()=>gt,wA:()=>Lt,yM:()=>be,Ep:()=>Oe,qy:()=>jt,sN:()=>Ce,Cu:()=>we,qQ:()=>xe,oe:()=>Ve,Oq:()=>He,yS:()=>Me,Og:()=>Be,kn:()=>Ge,od:()=>St});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const u=e=>{var{withBrandColor:t=!0}=e,r=s(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const b=e=>{var{withBrandColor:t=!0}=e,r=d(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const E=e=>{var{className:t}=e,r=j(e,["className"]);return n.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const k=e=>{var{className:t}=e,r=P(e,["className"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const B=e=>{var{withBrandColor:t=!0}=e,r=z(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",V(function(e){for(var t=1;tn.createElement("svg",W(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",K(function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const $=e=>{var{withBrandColor:t=!0}=e,r=_(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const le=e=>{var{withBrandColor:t=!0}=e,r=ne(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",ie(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const Oe=e=>{var{className:t}=e,r=he(e,["className"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",ve(function(e){for(var t=1;tn.createElement("svg",Ee(function(e){for(var t=1;tn.createElement("svg",ke(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",tt(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",at(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",pt(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const jt=e=>{var{className:t}=e,r=wt(e,["className"]);return n.createElement("svg",vt(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{c:()=>c});var n=r(1504),l=r(9184);const c=()=>n.createElement("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4 md:gap-0 h-auto md:h-[150px] bg-[#5865F2] w-full rounded-2xl py-5 px-5 md:px-12"},n.createElement("div",{className:"flex items-center gap-16"},n.createElement("img",{className:"hidden md:block",src:"/img/blog-static/discord-banner.png",alt:"Discord Logo"}),n.createElement("div",{className:"text-white font-montserrat font-bold max-w-md text-center md:text-left"},n.createElement("h1",{className:"text-2xl uppercase leading-tight mb-0 font-montserrat"},"Join to refine discord server"),n.createElement("p",{className:"mb-0 text-base"},"to get help, share ideas, and discuss the latest news."))),n.createElement(l.c,{to:"https://discord.gg/refine"},n.createElement("button",{className:"bg-transparent text-white font-bold py-2 px-4 rounded-lg h-12 w-44 border-white cursor-pointer font-montserrat uppercase text-xl border-solid active:scale-[0.99]"},"Join Us")))},7396:(e,t,r)=>{"use strict";r.d(t,{c:()=>o});var n=r(1504),l=r(9184),c=r(3540);const a="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",o=()=>{const[e,t]=n.useState(0);return n.useEffect((()=>{(async()=>{const e=await fetch(`https://api.github.com/repos/pankod/refine?access_token=${a}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`token ${a}`}}),r=await e.json();var n;t(null!==(n=r.stargazers_count)&&void 0!==n?n:2e3)})()}),[]),n.createElement("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4 md:gap-0 h-auto md:h-[150px] w-full rounded-2xl py-5 px-5 md:px-12 github-banner-bg"},n.createElement("div",{className:"flex items-center gap-16"},n.createElement("img",{className:"hidden md:block",src:"/img/blog-static/github-banner-icon.png",alt:"Github Logo"}),n.createElement("div",{className:"font-montserrat max-w-md text-center md:text-left"},n.createElement("h1",{className:"text-2xl uppercase leading-tight mb-0 font-montserrat font-bold"},"Star us on github"),n.createElement("p",{className:"mb-0 text-base leading-tight"},n.createElement("b",null,"refine")," is an"," ",n.createElement("b",null,"open-source React-based framework"),"for building ",n.createElement("b",null,"CRUD applications")," without constraints. Please show us your ",n.createElement("b",null,"support")," with a shining ",n.createElement("b",null,"GitHub star"),"."))),n.createElement(l.c,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",rel:"noopener",className:"bg-[#211d21] no-underline rounded-xl h-[54px] flex gap-2 pl-3.5 py-2.5 pr-2.5 items-center"},n.createElement(c.A9,null),n.createElement("div",{className:"font-bold font-montserrat text-base text-white"},"Star"),n.createElement("div",{className:"flex items-start h-full"},n.createElement(c.qq,{className:"mt-2 -mr-px"}),n.createElement("div",{className:"cloud rounded-md bg-white text-[#211d21] h-full flex items-center justify-center px-1.5 font-montserrat font-bold text-base"},`${e}`.padStart(4,"0")))))}},5524:(e,t,r)=>{"use strict";r.d(t,{c:()=>c});var n=r(1504),l=r(9184);const c=({children:e})=>n.createElement("div",{className:"flex flex-col md:flex-row items-center twitter-banner-bg px-5 md:px-10 py-5 rounded-xl gap-2"},n.createElement("div",{className:"flex flex-col justify-center items-center md:items-start gap-4"},n.createElement("div",{className:"text-center md:text-left"},n.createElement("h1",{className:"text-white font-montserrat text-2xl leading-tight mb-0"},"WANT TO HEAR THE LATEST DEVELOPMENTS ABOUT refine?"),n.createElement("p",{className:"mb-0 uppercase font-montserrat text-white"},"Follow us on Twitter.")),n.createElement(l.c,{to:"https://twitter.com/refine_dev"},n.createElement("button",{className:"bg-transparent text-white font-bold py-2 px-8 rounded-lg border-white cursor-pointer font-montserrat uppercase text-xl border-solid active:scale-[0.99]"},"Follow Us"))),n.createElement("div",{className:"w-[350px]"},e||n.createElement("blockquote",{className:"twitter-tweet","data-cards":"hidden"},n.createElement("p",{lang:"en",dir:"ltr"},"\ud83d\udca5New Blog Post!",n.createElement("br",null),n.createElement("br",null),"Animations in React with Framer Motion",n.createElement("a",{href:"https://t.co/7kWU1ROPYd"},"https://t.co/7kWU1ROPYd"),n.createElement("a",{href:"https://twitter.com/hashtag/opensource?src=hash&ref_src=twsrc%5Etfw"},"#opensource")," ",n.createElement("a",{href:"https://twitter.com/hashtag/ReactJS?src=hash&ref_src=twsrc%5Etfw"},"#ReactJS")),"\u2014 refine (@refine_dev)"," ",n.createElement("a",{href:"https://twitter.com/refine_dev/status/1565321477628510208?ref_src=twsrc%5Etfw"},"September 1, 2022"))))},3540:(e,t,r)=>{"use strict";r.d(t,{Wr:()=>o,ef:()=>u,qq:()=>m,A9:()=>d,cn:()=>h,gZ:()=>v,aA:()=>E,Wu:()=>k});var n=r(4971),l=r(1504);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const o=e=>l.createElement("svg",a(function(e){for(var t=1;tl.createElement("svg",s(function(e){for(var t=1;tl.createElement("svg",function(e){for(var t=1;tl.createElement("svg",function(e){for(var t=1;tl.createElement("svg",g(function(e){for(var t=1;tl.createElement("svg",y(function(e){for(var t=1;tl.createElement("svg",j(function(e){for(var t=1;tl.createElement("svg",P(function(e){for(var t=1;t{"use strict";r.d(t,{q:()=>a,y:()=>o});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c="tutorial-checklist-store",a=n.createContext({store:{},toggle:()=>{}}),o=({children:e})=>{const[t,r]=n.useState((()=>{if("undefined"!=typeof window){const t=localStorage.getItem(c);if(t)try{const e=JSON.parse(t);if("object"==typeof e)return e}catch(e){return{}}}return{}})),o=n.useCallback(((e,t,n)=>{r((r=>{const c=function(e){for(var t=1;t{"undefined"!=typeof window&&localStorage.setItem(c,JSON.stringify(t))}),[t]),n.createElement(a.Provider,{value:{store:t,toggle:o}},e)}},1648:(e,t,r)=>{"use strict";r.d(t,{g5:()=>i,mk:()=>s,sH:()=>c});var n=r(1504),l=r(2288);r(5904);const c=["headless","antd","chakra-ui","mantine","mui"],a=e=>{if(c.includes(e))return e},o="tutorial-preferred-ui-package",i=n.createContext({preferred:"headless",current:void 0,setPreferred:()=>{}}),s=({children:e})=>{const{metadata:t}=(0,l.G)(),r=(e=>{const t=e.match(/\/(headless|antd|chakra-ui|mantine|mui)\//);if(t&&a(t[1]))return t[1]})(t.id),[c,s]=n.useState("headless");n.useEffect((()=>{if("undefined"!=typeof window){const e=localStorage.getItem(o),t=a(e);t&&s(t)}}),[]);const u=e=>{a(e)&&("undefined"!=typeof window&&localStorage.setItem(o,e),s(e))};return n.useEffect((()=>{r&&r!==c&&u(r)}),[r,c]),n.createElement(i.Provider,{value:{preferred:c,setPreferred:u,current:r||c}},e)}},9092:(e,t,r)=>{"use strict";r.d(t,{WO:()=>m,iC:()=>p});var n=r(1504),l=r(640),c=r(2064);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;t0}),s="tutorial-parameters",u=(e,t)=>{for(const r of t)if(e.includes(`/${r.value}`))return r.value},f=()=>{const{pathname:e}=(0,l.IT)();return n.useMemo((()=>(e=>{const t={};for(const[r,n]of Object.entries(c.Sm.parameterOptions)){const l=u(e,n);l&&(t[r]=l)}return t})(e)),[e])},m=({children:e})=>{const[t,r]=n.useState(void 0),[l,a]=n.useState(!1),u=f(),m=n.useCallback((e=>{r((t=>{try{localStorage.setItem(s,JSON.stringify(o({},t,e)))}catch(r){console.error(r)}return o({},t,e)}))}),[]);return n.useEffect((()=>{try{const e=localStorage.getItem(s);m(e?o({},c.Sm.defaultParameters,JSON.parse(e),u):o({},c.Sm.defaultParameters,u))}catch(e){m(o({},c.Sm.defaultParameters,u))}a(!0)}),[]),n.createElement(i.Provider,{value:{parameters:t,setParameters:m,settled:l,options:c.Sm.parameterOptions}},e)},p=()=>n.useContext(i)},8872:(e,t,r)=>{"use strict";r.d(t,{Cw:()=>s,W_:()=>i});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const a=n.createContext({visited:{},setVisited:()=>0}),o="tutorial-visits",i=({children:e})=>{const[t,r]=n.useState({});n.useEffect((()=>{try{const e=localStorage.getItem(o);e&&r(JSON.parse(e))}catch(e){console.error(e)}}),[]);const i=n.useCallback(((e,t=!0)=>{r((r=>{const n=c(function(e){for(var t=1;tn.useContext(a)},3376:(e,t,r)=>{"use strict";r.d(t,{U:()=>d});var n=r(2288),l=r(1688),c=(r(1504),r(3908));function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;t{var e,t,r,a;const f=(0,n.G)(),{docs:d}=(0,l.E)(),{frontMatter:b,metadata:{id:g}}=f,{tutorial:{units:h}}=(0,u.e)(),{current:O}=(0,c.U)(),y=e=>{const t=e.id.split("/"),r=s.sH.filter((e=>e!==O));return!t.find((e=>r.includes(e)))},v=!!(null===(e=b)||void 0===e?void 0:e.tutorial),w=g.split("/")[1],j=function({frontMatter:e}){const{docs:t}=(0,l.E)(),{current:r}=(0,c.U)(),n=e=>{if(e.includes("{preferredUI}")||r)return e.replace("{preferredUI}",r)},a=e=>"/docs/"+e,{tutorial:s}=e,{next:u,prev:f}=null!=s?s:{},m=u?n(u):void 0,p=t[f?n(f):void 0],d=t[m];return{previous:p?i(o({},p),{permalink:a(p.id)}):void 0,next:d?i(o({},d),{permalink:a(d.id)}):void 0}}(f),E=Object.entries(d).filter((([e])=>e.startsWith("tutorial/"))).reduce(((e,[t,r])=>{const n=t.split("/")[1];return n.startsWith("partial-")||(e[n]||(e[n]=[]),e[n].push(r)),e}),{}),x=Object.entries(E).map((([e,r])=>p(m({unit:e,no:null===(t=h[e])||void 0===t?void 0:t.no,title:h[e].label},e===w&&v&&{current:!0}),{docs:r.map((e=>m({},e,e.id===g&&v&&{current:!0}))).filter(y)}))).sort(((e,t)=>(null===(r=e)||void 0===r?void 0:r.no)-(null===(a=t)||void 0===a?void 0:a.no)));return v?{id:g,isTutorial:v,unit:w,pagination:j,units:x}:void 0}},5560:(e,t,r)=>{"use strict";r.d(t,{c:()=>l});var n=r(1504);const l=(e,t="0px")=>{const[r,l]=n.useState(!1);return n.useEffect((()=>{var r;const n=null===(r=e)||void 0===r?void 0:r.current,c=new IntersectionObserver((([e])=>{l(e.isIntersecting)}),{rootMargin:t});return n&&c.observe(n),()=>{n&&c.unobserve(n)}}),[]),r}},8840:(e,t,r)=>{"use strict";r.d(t,{ot:()=>s,GC:()=>u});var n=r(1504);const l={items:[]};var c=r(3740);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;tt.filter((t=>t.unit===e));function u(){const{store:e,toggle:t}=n.useContext(c.q);return{items:n.useMemo((()=>{var t,r,n,c;return null!==(c=null===(n=l)||void 0===n||null===(t=(r=n.items).map)||void 0===t?void 0:t.call(r,(t=>{const{id:r}=t;return i(o({},t),{checklist:t.checklist.map((t=>{var n;return i(o({},t),{checked:null!==(n=e[r]?.[t.id])&&void 0!==n&&n})})).sort(((e,t)=>e.index-t.index))})})))&&void 0!==c?c:[]}),[e]),toggle:t}}},380:(e,t,r)=>{"use strict";r.d(t,{e:()=>l});var n=r(9936);r(1504);const l=()=>{const{siteConfig:{customFields:e}}=(0,n.c)(),{tutorial:t}=e;return t}},3908:(e,t,r)=>{"use strict";r.d(t,{U:()=>c});var n=r(1504),l=r(1648);const c=()=>n.useContext(l.g5)},7132:(e,t,r)=>{"use strict";r.d(t,{Y:()=>c});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{O:()=>o});var n=r(4971),l=r(1504),c=r(1980),a=r(2268);const o=({active:e,className:t,onClick:r})=>l.createElement("button",{className:(0,n.c)("w-8 h-8","flex items-center justify-center flex-shrink-0","text-gray-800 dark:text-gray-100","rounded-full","hover:bg-gray-200 hover:dark:bg-gray-700","transition-[background-color]","duration-200","ease-in-out",t),onClick:r},e?l.createElement(a.O,null):l.createElement(c.m,null))},7500:(e,t,r)=>{"use strict";r.d(t,{Ih:()=>o,oJ:()=>a,yg:()=>c});var n=r(4971),l=r(1504);const c="preferred-full-table-width",a=e=>l.createElement("div",{className:(0,n.c)("table-container")},l.createElement("table",e)),o=({children:e})=>l.createElement("div",{className:"table-full-width"},e)},9253:(e,t,r)=>{"use strict";r.d(t,{C:()=>i,O:()=>u});var n=r(1504),l=r(4971),c=r(9072),a=r(3756),o=r(5372);const i=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,c.U)();return n.createElement("button",{type:"button",className:(0,l.c)("appearance-none","focus:outline-none","relative","w-10 h-10","rounded-full","border","border-solid","border-gray-300 dark:border-gray-700","text-gray-500","transition-colors","duration-150","ease-in-out","overflow-hidden","flex-shrink-0","group",e),onClick:()=>{r("dark"===t?"light":"dark")}},n.createElement("div",{className:(0,l.c)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","translate-y-0","dark:-translate-y-10","duration-200","ease-in-out","transition-transform")},n.createElement(a.G,null)),n.createElement("div",{className:(0,l.c)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","-translate-y-10","dark:translate-y-0","duration-200","ease-in-out","transition-transform")},n.createElement(o.g,null)))},s=[{name:"light",icon:a.G,label:"Light"},{name:"dark",icon:o.g,label:"Dark"}],u=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,c.U)();return n.createElement("div",{className:(0,l.c)("flex","items-center","gap-4","justify-start",e)},s.map((({name:e,label:c,icon:a})=>n.createElement("button",{type:"button",key:e,className:(0,l.c)("appearance-none","focus:outline-none","py-1","pl-1.5","pr-3","flex","items-center","justify-center","gap-1","rounded-[40px]","text-gray-400","border border-solid","border-gray-200","dark:border-gray-600",t===e&&"bg-gray-100 dark:bg-gray-700"),onClick:()=>{r(e)}},n.createElement(a,{className:(0,l.c)("w-4 h-4")}),n.createElement("span",{className:(0,l.c)("text-sm")},c)))))}},3146:(e,t,r)=>{"use strict";r.d(t,{o:()=>u});var n=r(4971),l=r(1504);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>l.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const u=l.forwardRef((function(e,t){var{iconOnly:r=!1,iconClassName:c,className:u,placeholder:f,isPermanentDark:m}=e,p=s(e,["iconOnly","iconClassName","className","placeholder","isPermanentDark"]);return l.createElement("button",i(function(e){for(var t=1;t{"use strict";r.d(t,{o0:()=>d,yw:()=>m,wd:()=>p,AR:()=>b});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var u=r(6098),f=r(4252);const m=[{label:"Resources",items:[{label:"Getting Started",href:"https://prepverse.vercel.app/docs"},{label:"Blog",href:"https://prepverse.vercel.app/blog"},{label:"Project Showcase",icon:n.createElement(u.KU,null),href:"https://prepverse.vercel.app/showcase"},{label:"Community",icon:n.createElement(u.KU,null),href:"https://prepverse.vercel.app/prepverse-community"}]},{label:"Product",items:[{label:"CodePoint",icon:n.createElement(f.i,null),href:"https://prepverse.github.io/CodePoint"},{label:"LeetVerse",icon:n.createElement(f.i,null),href:"https://prepverse.github.io/LeetVerse"}]},{label:"About",items:[{label:"About Me",href:"https://prepverse.vercel.app/AkashSingh3031"},{label:"Portfolio",icon:n.createElement(f.i,null),href:"https://prepverse.github.io/portfolio"}]}],p=[{label:"License",href:"https://github.com/PrepVerse/prepverse.github.io/blob/master/LICENSE"}],d="Thank you for visiting, Connect with me over socials.",b=[{icon:e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{G:()=>c});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{g:()=>c});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{i:()=>c});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{A:()=>a,i:()=>o});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){for(var t=1;tn.createElement("svg",c({width:12,height:12,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.053 0A10.904 10.904 0 0 0 3.89 2.685 11.34 11.34 0 0 0 .142 9.472a11.48 11.48 0 0 0 1.456 7.65 11.087 11.087 0 0 0 5.964 4.86c.556.103.752-.25.752-.547v-1.918C5.23 20.202 4.58 18 4.58 18a3.012 3.012 0 0 0-1.227-1.655c-.997-.692.081-.692.081-.692.35.05.683.18.975.382.293.202.536.469.713.78.15.278.352.523.595.721a2.312 2.312 0 0 0 2.618.221c.042-.57.283-1.105.678-1.509-2.454-.284-5.03-1.253-5.03-5.539a4.415 4.415 0 0 1 1.132-3.025A4.194 4.194 0 0 1 5.224 4.7s.928-.305 3.036 1.156c1.81-.508 3.72-.508 5.531 0 2.108-1.46 3.03-1.156 3.03-1.156.406.936.455 1.993.135 2.963a4.415 4.415 0 0 1 1.132 3.026c0 4.334-2.582 5.282-5.043 5.538.264.271.468.597.598.955.13.358.182.741.155 1.122V21.4c0 .367.196.65.759.54a11.093 11.093 0 0 0 5.88-4.878 11.481 11.481 0 0 0 1.419-7.6 11.34 11.34 0 0 0-3.71-6.746A10.907 10.907 0 0 0 11.053 0Z",fill:"currentColor"})),o=e=>n.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.066.001a11.91 11.91 0 0 1 7.745 2.966 12.326 12.326 0 0 1 4.032 7.33 12.46 12.46 0 0 1-1.54 8.245 12.088 12.088 0 0 1-6.406 5.314l-.105.037-.11.021c-.508.1-1.232.093-1.83-.422-.577-.498-.681-1.166-.681-1.565v-3.008l.004-.053a1.102 1.102 0 0 0-.062-.453 1.058 1.058 0 0 0-.235-.377l-.839-.86-.863.882a.802.802 0 0 0-.224.502l-.015.217v3.183c0 .434-.14 1.029-.628 1.492-.541.514-1.246.62-1.864.505l-.108-.02-.104-.035a12.082 12.082 0 0 1-6.498-5.296 12.457 12.457 0 0 1-1.58-8.298c.45-2.86 1.891-5.471 4.073-7.375A11.909 11.909 0 0 1 12.05.001h.016Zm-10.43 10.54a10.957 10.957 0 0 0 1.39 7.303 10.58 10.58 0 0 0 5.693 4.638c.53.099.717-.238.717-.522v-1.83c-.588.13-1.083.15-1.5.1a2.95 2.95 0 0 1-.542-.117 2.551 2.551 0 0 1-.422-.176 2.362 2.362 0 0 1-.82-.72c-.208-.294-.28-.535-.28-.535a2.876 2.876 0 0 0-1.17-1.58l-.016-.01c-.925-.65.093-.65.093-.65.106.015.21.038.313.068l.017.005a2.172 2.172 0 0 1 .962.603c.122.13.23.276.319.433a2.29 2.29 0 0 0 .68.775h.002s0 .001 0 0a2.211 2.211 0 0 0 2.385.124v-.014a2.302 2.302 0 0 1 .647-1.427 8.754 8.754 0 0 1-1.625-.328 4.865 4.865 0 0 1-1.416-.695 3.883 3.883 0 0 1-.432-.365c-.8-.786-1.328-2.002-1.328-3.899a4.214 4.214 0 0 1 1.08-2.887 4.003 4.003 0 0 1 .104-2.848s.886-.291 2.898 1.103a9.762 9.762 0 0 1 5.28 0c2.011-1.393 2.891-1.103 2.891-1.103.388.893.434 1.902.13 2.828a4.214 4.214 0 0 1 1.08 2.888c0 3.166-1.444 4.44-3.174 4.972a8.617 8.617 0 0 1-1.64.314 2.558 2.558 0 0 1 .699 1.425c.026.184.033.371.02.558v2.955c0 .35.187.62.724.515a10.588 10.588 0 0 0 5.613-4.656 10.958 10.958 0 0 0 1.354-7.254 10.824 10.824 0 0 0-3.541-6.439 10.41 10.41 0 0 0-6.77-2.592 10.408 10.408 0 0 0-6.837 2.563 10.824 10.824 0 0 0-3.578 6.478ZM16.374 7.8a8.003 8.003 0 0 0-.856.524l-.58.401-.679-.19a8.262 8.262 0 0 0-4.469 0l-.68.19-.58-.402a7.982 7.982 0 0 0-.846-.519c.019.186.059.37.12.549l.282.832-.588.653a2.714 2.714 0 0 0-.696 1.86v.024c0 1.724.503 2.513.998 2.937.563.481 1.397.736 2.476.86l1.567.182 1.954-.204c1.082-.112 1.912-.358 2.47-.833.492-.418.999-1.209.999-2.96v-.026a2.714 2.714 0 0 0-.696-1.86l-.582-.647.273-.826c.058-.178.096-.36.113-.545Z",clipRule:"evenodd"}))},1980:(e,t,r)=>{"use strict";r.d(t,{m:()=>c});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{G:()=>c});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{s1:()=>o,wR:()=>s,QD:()=>f,vn:()=>p,kv:()=>b,uI:()=>h,A9:()=>y,_2:()=>w,Ew:()=>E,Yf:()=>P,oh:()=>C,Ed:()=>H,BE:()=>N,KU:()=>L,WR:()=>T,w9:()=>F,CC:()=>W,AH:()=>X,oz:()=>K,C3:()=>q});var n=r(1504);var l=r(4971);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const o=e=>n.createElement("svg",a(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const{colorMode:t}=(0,Z.U)();return n.createElement("div",{className:(0,l.c)("relative","flex","items-center","justify-center","rounded-full","overflow-hidden","p-px","dark:bg-[#194b3a] bg-[#b7dbff]"),style:{transform:"translateZ(0)"}},n.createElement("div",{className:(0,l.c)("z-[1]","absolute","inset-0","dark:bg-new-badge-border-dark bg-new-badge-border-light","animate-new-badge-border")}),n.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}var R,G;const T=e=>{var{variant:t="landing"}=e,r=B(e,["variant"]);return n.createElement("svg",z(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",U(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{G:()=>c});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{o:()=>c});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{D:()=>f});var n=r(1504),l=r(4971),c=r(9184);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const o=e=>n.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const f=e=>{var{children:t,href:r,className:a,onClick:f,buttonClassname:m}=e,p=u(e,["children","href","className","onClick","buttonClassname"]);const d=r?c.c:"button";return n.createElement(d,s(function(e){for(var t=1;t{"use strict";r.d(t,{Q:()=>i});var n=r(4971),l=r(1504);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e){for(var t=1;tl.createElement("div",{className:(0,n.c)("w-full h-12","relative","bg-top-announcement","not-prose","font-inter","z-top-announcement")},l.createElement("div",{className:(0,n.c)("hidden lg:flex","w-full h-full","max-w-screen","overflow-hidden","border-b border-solid border-[#47ebeb26]","top-announcement-mask")},l.createElement("div",{className:(0,n.c)("w-[1280px] h-full","mx-auto","flex","justify-between")},l.createElement("div",{className:(0,n.c)("w-[calc(50%-300px)] h-full","relative")},l.createElement(u,{style:{animationDelay:"1.5s"},className:(0,n.c)("absolute","top-[2px]","right-[220px]"),id:"1"}),l.createElement(u,{style:{animationDelay:"1s"},className:(0,n.c)("absolute","rotate-180","top-[8px] right-[100px]"),id:"2"}),l.createElement(f,{className:(0,n.c)("absolute","right-[10px]"),id:"3"})),l.createElement("div",{className:(0,n.c)("w-[calc(50%-300px)] h-full","relative")},l.createElement(u,{style:{animationDelay:"2s"},className:(0,n.c)("absolute","rotate-180","top-[6px] right-[180px]"),id:"4"}),l.createElement(u,{style:{animationDelay:"0.5s"},className:(0,n.c)("delay-[1300]","absolute","top-[2px]","right-[40px]"),id:"5"}),l.createElement(f,{className:(0,n.c)("absolute","right-[-70px]"),id:"6"})))),l.createElement(s,null)),s=()=>l.createElement("a",{href:"https://prepverse.vercel.app/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,n.c)("relative lg:absolute","px-2 lg:px-0","top-0","left-[50%]","translate-x-[-50%]","bg-top-announcement-text","h-full w-full lg:w-[450px]","flex items-center justify-center","text-white","text-xs sm:text-sm","text-center","no-underline","hover:no-underline","hover:text-white","not-prose")},l.createElement("div",{className:(0,n.c)("ml-2","not-prose")},"For more updates follow","",l.createElement("span",{className:(0,n.c)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")},"@AkashSingh3031"),".")),u=e=>l.createElement("svg",o(a({xmlns:"http://www.w3.org/2000/svg",width:80,height:40,fill:"none"},e),{className:(0,n.c)("animate-top-announcement-glow","opacity-1",e.className)}),l.createElement("circle",{cx:40,r:40,fill:`url(#${e.id}-a)`,fillOpacity:.5}),l.createElement("defs",null,l.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 40 -40 0 40 0)",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{stopColor:"#47EBEB"}),l.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0})))),f=e=>l.createElement("svg",o(a({xmlns:"http://www.w3.org/2000/svg",width:120,height:48,fill:"none"},e),{className:(0,n.c)("animate-top-announcement-glow","opacity-1",e.className)}),l.createElement("circle",{cx:60,cy:24,r:60,fill:`url(#${e.id}-a)`,fillOpacity:.5}),l.createElement("defs",null,l.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 60 -60 0 60 24)",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{stopColor:"#47EBEB"}),l.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0}))))},2120:(e,t,r)=>{"use strict";r.d(t,{u:()=>b});var n=r(4971),l=r(1504),c=r(4604),a=r(8484),o=r(2424),i=r(640),s=r(2288),u=r(9092);function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function m(e){for(var t=1;tl.createElement("svg",m({xmlns:"http://www.w3.org/2000/svg",width:20,height:12,fill:"none"},e),l.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M10 0a1 1 0 0 1 .78.375l3.1 3.874A2 2 0 0 0 15.442 5H19a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h3.558a2 2 0 0 0 1.562-.75L9.22.374A1 1 0 0 1 10 0Z",clipRule:"evenodd"})),b=({label:e,parameter:t,className:r})=>{var f,b;const{parameters:g,options:h,setParameters:O}=(0,u.iC)(),{replace:y}=(0,i.Uz)(),{metadata:{permalink:v}}=(0,s.G)();var w;return l.createElement("div",{className:r},l.createElement(a.i,null,(({open:r})=>l.createElement(l.Fragment,null,l.createElement(a.i.Button,{className:(0,n.c)("appearance-none","focus:outline-none","flex-shrink-0","py-2.5","pl-4 pr-3","rounded-[40px]","border border-solid","border-gray-300 dark:border-gray-700","text-xs","tutorial-lg:text-sm","flex","items-center","justify-center","gap-2")},l.createElement("div",{className:(0,n.c)("select-none","whitespace-nowrap")},l.createElement("span",{className:(0,n.c)("text-gray-500 dark:text-gray-400")},`${e}: `),l.createElement("span",{className:"text-gray-800 dark:text-gray-100"},null!==(w=null===(f=h[t].find((e=>e.value===(null===(b=g)||void 0===b?void 0:b[t]))))||void 0===f?void 0:f.label)&&void 0!==w?w:"Unknown")),l.createElement(c.o,{className:(0,n.c)("w-4 h-4","text-gray-400")})),l.createElement(o.O,{show:r,className:"relative z-10",enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95"},l.createElement(d,{className:(0,n.c)("absolute right-[11px] top-1 origin-bottom-right","text-gray-700 dark:text-gray-0")}),l.createElement(a.i.Items,{static:!0,className:(0,n.c)("absolute right-0 top-2 origin-bottom-right","flex flex-col gap-2","w-auto","p-2","bg-gray-700 dark:bg-gray-0","rounded-lg")},h[t].map((e=>l.createElement(a.i.Item,{key:e.value},(()=>{var r;const c=(null===(r=g)||void 0===r?void 0:r[t])===e.value;return l.createElement("button",{type:"button",disabled:"coming-soon"===e.status,title:"coming-soon"===e.status?"This option is coming soon!":"",onClick:()=>{var r;y(v.replace(null===(r=g)||void 0===r?void 0:r[t],e.value)),O(p(m({},null!=g?g:{}),{[t]:e.value}))},className:(0,n.c)("px-2 py-1","rounded-[4px]","no-underline",{"text-white hover:text-white":c,"bg-refine-blue":c,"text-gray-300 dark:text-gray-700":!c,"hover:bg-gray-600 hover:dark:bg-gray-100 hover:text-gray-300 dark:hover:text-gray-700":!c},"coming-soon"===e.status&&["flex","items-center","justify-between"])},l.createElement("span",{className:(0,n.c)("coming-soon"===e.status&&"opacity-50")},e.label),"coming-soon"===e.status&&l.createElement("span",{className:(0,n.c)("w-min","break-keep","whitespace-nowrap","inline-flex","justify-center","items-center","translate-x-1.5","py-0.5","px-1","border border-refine-orange","rounded-[8px]","text-refine-orange","text-[8px]","leading-[9px]","font-semibold","uppercase")},"soon"))}))))))))))}},2064:(e,t,r)=>{"use strict";r.d(t,{ED:()=>i,Ip:()=>s,_i:()=>m,Mx:()=>u,iG:()=>p,Yv:()=>o,Sm:()=>a,G_:()=>f});var n=r(2411);const l=JSON.parse('{"label":"Tutorial","path_prefix_segment":"tutorial","defaultParameters":{"language":"cpp"},"parameterOptions":{"language":[{"label":"C++","value":"cpp"},{"label":"Python","value":"py"},{"label":"Java","value":"java","status":"coming-soon"}]},"units":[{"title":"DSA","id":"dsa","items":["dsa/:language/index"]}]}');var c=r(1688);const a=l,o=(e,t)=>e.split("/").map((e=>{if(e.startsWith(":")){const r=e.slice(1);return t[r]}return e})).join("/"),i=(e,t)=>{for(const r of a.units)for(const n of r.items)if(e===o(n,t))return r},s=(e,t)=>{let r=!1;for(const n of a.units)for(const l of n.items){if(r)return l;o(l,t)===e&&(r=!0)}},u=(e,t)=>{let r=null;for(const n of a.units)for(const l of n.items){if(o(l,t)===e)return r;r=l}},f=()=>{const{docs:e}=(0,c.E)(),{versions:t}=(0,n.MP)("docusaurus-plugin-content-docs","tutorial"),r=t[0].docs;for(const n of r)n.title=e[n.id].title;return Object.fromEntries(r.map((e=>[e.id,e])))},m=(e,t)=>{const r=t[e];if(!r)throw new Error(`Cannot find item with id ${e}`);return r.path},p=(e,t)=>{const r=t[e];if(!r)throw new Error(`Cannot find doc with id ${e}`);return r.title}},1240:(e,t,r)=>{"use strict";r.d(t,{c:()=>C});var n=r(1504),l=r(4971);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{var c;const a=null!==(c=d[e])&&void 0!==c?c:()=>null;var o;const i=null!==(o=b[e])&&void 0!==o?o:"tex-inherit";var s;const u=null!==(s=g[e])&&void 0!==s?s:"bg-inherit";return"simple"===e?n.createElement(y,{type:e,title:t},r):n.createElement("div",{className:(0,l.c)("rounded-lg","admonition",`admonition-${e}`,"mb-6","refine-wider-container",u)},n.createElement("div",{className:(0,l.c)("border-l-4","border-l-solid","border-l-inherit","rounded-tl-lg","rounded-bl-lg","py-4","pr-4","pl-3","flex flex-col","gap-2 sm:gap-4")},(t||h[e])&&n.createElement("div",{className:(0,l.c)("flex","items-center","gap-2","text-xs sm:text-base 2xl:text-base 2xl:leading-7","font-semibold",i)},n.createElement(a,null),n.createElement("span",{className:"uppercase"},null!==(f=null!=t?t:h[e])&&void 0!==f?f:"")),n.createElement("div",{className:(0,l.c)("text-gray-0","text-base","last:mb-0")},r)));var f},y=({type:e,title:t,children:r})=>{var c;const a=null!==(c=b[e])&&void 0!==c?c:"tex-inherit";var o;const i=null!==(o=g[e])&&void 0!==o?o:"bg-inherit";return n.createElement("div",{className:(0,l.c)("rounded-lg","admonition",`admonition-${e}`,"mb-6",i)},n.createElement("div",{className:(0,l.c)("flex flex-col","gap-2",!t&&"pt-4")},t&&n.createElement("div",{className:(0,l.c)("px-4","pt-4","text-sm","leading-5","-mt-0.5",a)},n.createElement("span",{className:"font-semibold"},null!=t?t:""),n.createElement("span",null,":")),n.createElement("div",{className:(0,l.c)("text-gray-0","text-base","last:mb-0","px-4 pb-4","admonition-content")},r)))};function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function w(e){for(var t=1;tn.isValidElement(e)&&"mdxAdmonitionTitle"===(null===(t=e.props)||void 0===t?void 0:t.mdxType))),c=n.createElement(n.Fragment,null,r.filter((e=>e!==l)));return{mdxAdmonitionTitle:l,rest:c}}(e.children);var l;return j(w({},e),{title:null!==(l=e.title)&&void 0!==l?l:t,children:r})}const k=e=>{const{children:t,type:r,title:l}=P(e);return n.createElement(O,{type:r,title:l},t)};function C(e){return"info-tip"===e.type?n.createElement(k,e):"additional"===e.type?n.createElement(k,j(w({},e),{type:"note",title:"ADDITIONAL INFO"})):"sourcecode"===e.type?n.createElement(k,j(w({},e),{icon:n.createElement(E,null),title:n.createElement("a",{href:e.path,target:"_blank",rel:"noreferrer",style:{marginLeft:"4px"}},"SOURCE CODE"),titleProps:{style:{marginBottom:"-4px"}}}),e.children):"create-example"===e.type?n.createElement(k,j(w({},e),{type:"caution",icon:n.createElement(x,null),title:n.createElement("span",{style:{marginLeft:"4px"}},"RUN IN YOUR LOCAL")}),e.children):n.createElement(n.Fragment,null,n.createElement(k,e))}},8560:(e,t,r)=>{"use strict";r.d(t,{s:()=>D});var n=r(1504),l=r(8952),c=r(8796),a=r(5684),o=r(6564),i=r(2184),s=r(6616),u=r(5952),f=r(4971),m=r(1373);function p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function b(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},c=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const g=e=>{var{as:t}=e,r=b(e,["as"]);return n.createElement(t,d(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const[r,l]=(0,n.useState)(!1),c=(0,n.useRef)(void 0),a=(0,n.useCallback)((()=>{try{navigator.clipboard.writeText(e).then((()=>{l(!0),c.current=window.setTimeout((()=>{l(!1)}),1e3)}))}catch(t){}}),[e]);return(0,n.useEffect)((()=>()=>window.clearTimeout(c.current)),[]),n.createElement("button",{type:"button","aria-label":r?"Copied!":"Copy code to clipboard",title:"Copy code to clipboard",className:(0,f.c)("w-6 h-6","flex justify-center items-center","bg-gray-200","dark:bg-gray-800","hover:bg-gray-300","dark:hover:bg-refine-react-dark-code","rounded","group","transition-[background-color] duration-200 ease-in-out"),onClick:a},n.createElement(O,{className:(0,f.c)("w-3 h-3","text-gray-500","dark:text-gray-400",r&&"rotate-[360deg]","transition-all duration-200 ease-in-out")}))};function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const w=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const r=t?w:E;return n.createElement("button",{type:"button",onClick:()=>e(),className:(0,f.c)("w-6 h-6","flex justify-center items-center","bg-gray-200","dark:bg-gray-800","hover:bg-gray-300","dark:hover:bg-refine-react-dark-code","rounded","group","transition-[background-color] duration-200 ease-in-out"),"aria-label":"Toggle word wrap",title:"Toggle word wrap"},n.createElement(r,{className:(0,f.c)("w-3 h-3","text-gray-500","dark:text-gray-400",t&&"rotate-[360deg]","transition-all duration-200 ease-in-out")}))};function P(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function k(e){for(var t=1;tn.createElement("svg",k({xmlns:"http://www.w3.org/2000/svg",width:12,height:14,viewBox:"0 0 12 14",fill:"none"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M11 4.994V11.6A1.4 1.4 0 0 1 9.6 13H2.4A1.4 1.4 0 0 1 1 11.6V2.4A1.4 1.4 0 0 1 2.4 1h4.606a1.4 1.4 0 0 1 .99.41l2.594 2.594a1.4 1.4 0 0 1 .41.99ZM0 2.4A2.4 2.4 0 0 1 2.4 0h4.606a2.4 2.4 0 0 1 1.697.703l2.594 2.594A2.4 2.4 0 0 1 12 4.994V11.6A2.4 2.4 0 0 1 9.6 14H2.4A2.4 2.4 0 0 1 0 11.6V2.4ZM3.5 6a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5Zm0 2a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5Zm0 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3Z",clipRule:"evenodd"})),H=({children:e,icon:t=n.createElement(A,null)})=>n.createElement("div",{className:(0,f.c)("py-3","px-4","bg-gray-100 dark:bg-gray-700","text-gray-800","dark:text-gray-100","text-xs","flex items-center","gap-2","rounded-tl-lg","rounded-tr-lg")},t,e),S=({children:e,className:t="",metastring:r,title:l,showLineNumbers:c,language:p,icon:d,style:b})=>{const{prism:{defaultLanguage:h,magicComments:O}}=(0,a.y)();var v;const w=null!==(v=null!=p?p:(0,i.K2)(t))&&void 0!==v?v:h,j=(0,o.i)(),E=(0,s._)(),P=(0,i.QH)(r)||l,{lineClassNames:A,code:S}=(0,i.cj)(e,{metastring:r,language:w,magicComments:O}),N=null!=c?c:(0,i.OO)(r);return n.createElement(g,{as:"div",className:(0,f.c)("refine-common-code-block",w&&`language-${w}`,"rounded-lg","bg-gray-200","dark:bg-gray-900","border","border-gray-300","dark:border-0","mb-6","relative","refine-wider-container"),style:b},P&&n.createElement(H,{icon:d},P),n.createElement("div",{className:(0,f.c)("relative","pt-3","pb-0","not-prose")},n.createElement(m.cp,C(k({},m.wB),{theme:j,code:S,language:null!=w?w:"text"}),(({className:e,tokens:t,getLineProps:r,getTokenProps:l})=>n.createElement("pre",{tabIndex:0,ref:E.codeBlockRef,className:(0,f.c)(e,"bg-transparent","!mt-0","!mb-0","m-0","px-0","pt-0","font-jetBrains-mono","pb-3")},n.createElement("code",{className:(0,f.c)("font-[inherit]","bg-transparent","inline-block","min-w-full")},t.map(((e,t)=>n.createElement(u.c,{key:t,line:e,getLineProps:r,getTokenProps:l,classNames:(0,f.c)(A[t],"px-4","text-xs sm:text-sm 2xl:text-sm"),showLineNumbers:N})))))))),n.createElement("div",{className:(0,f.c)("absolute",P?"top-2 right-2":"top-3 right-3","flex items-center gap-2")},(E.isEnabled||E.isCodeScrollable)&&n.createElement(x,{onClick:E.toggle,isEnabled:E.isEnabled}),n.createElement(y,{className:(0,f.c)(),code:S})))};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}function Z(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},c=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const D=e=>{var{children:t}=e,r=Z(e,["children"]);const a=(0,l.c)(),o=function(e){return n.Children.toArray(e).some((e=>(0,n.isValidElement)(e)))?e:Array.isArray(e)?e.join(""):e}(t),i="string"==typeof o?S:c.c;return n.createElement(i,function(e){for(var t=1;t{"use strict";r.d(t,{c:()=>H});var n=r(1504),l=r(8560),c=r(4971),a=r(9936),o=r(7748),i=r.n(o),s=r(1688);const u="playgroundPreview_jwe9";function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function m({children:e,minHeight:t,url:r="http://localhost:3000",hasBottom:l=!1}){return n.createElement("div",{className:(0,c.c)("flex","flex-col","h-full")},n.createElement("div",{className:(0,c.c)("flex-shrink-0","rounded-tl-lg","rounded-tr-lg","border","border-gray-300 dark:border-gray-700","px-4 py-3","flex items-center justify-start","gap-2","bg-gray-100 dark:bg-gray-700","relative","text-gray-800 dark:text-gray-100","border-b-0")},n.createElement(p,{className:"w-4 h-4"}),n.createElement("div",{className:(0,c.c)("text-xs")},`${r}`.replace(/^http(s?):\/\//,""))),n.createElement("div",{className:(0,c.c)("flex-1","overflow-hidden","bg-gray-100 dark:bg-gray-700","border border-gray-300 dark:border-gray-700",!l&&"rounded-bl-lg rounded-br-lg",l&&"border-b-gray-300 dark:border-b-gray-900",l&&"border-b"),style:{minHeight:t}},e))}const p=e=>n.createElement("svg",function(e){for(var t=1;t{const[l,c]=n.useState(e),[a]=n.useState(t);n.useEffect((()=>{!l&&e&&c(!0)}),[e]),n.useEffect((()=>{if(a){const e=setTimeout((()=>{c(!0)}),a);return()=>clearTimeout(e)}}),[a]);const o=n.useMemo((()=>l&&"function"==typeof r?r():null),[l]);if(void 0!==r&&"function"!=typeof r)throw new Error("Conditional component requires a function as a child");return o};var g=r(9128),h=r(3296);function O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.g.Buffer=r.g.Buffer||h.Sn;const y=({query:e,code:t,css:r})=>{const{siteConfig:{customFields:l}}=(0,a.c)(),[c,o]=n.useState(void 0),s=n.useCallback((async t=>{if("undefined"!=typeof window&&window.Worker){const n=new Worker(`${location.protocol}//${location.host}/workers/lz-worker.js`);n.onmessage=function({data:t}){t.compressed&&o(`${l.LIVE_PREVIEW_URL}?code=${t.compressed}${r?`&css=${i().encode(r)}`:""}${e?`${e}`:""}`),n.terminate()},n.postMessage({code:t})}}),[e]);return n.useEffect((()=>{s(t)}),[t,s]),c?n.createElement("iframe",{loading:"lazy",src:c,width:"100%",height:"100%",style:{position:"absolute",left:0,top:0,width:"100%",height:"100%"}}):null},v=n.memo(y,((e,t)=>e.code===t.code&&e.query===t.query&&e.css===t.css)),w=e=>n.createElement("svg",function(e){for(var t=1;t{l?(i(!1),setTimeout((()=>{a((e=>!e)),setTimeout((()=>{i(!0)}),300)}),100)):(i(!1),a((e=>!e)),setTimeout((()=>{i(!0)}),300))}},n.createElement(w,{className:(0,c.c)(l&&"rotate-180","transition-transform","duration-200","ease-in-out")}),n.createElement("span",{className:(0,c.c)("text-base","block","overflow-hidden","h-6")},n.createElement("span",{className:(0,c.c)("block",l&&"opacity-0","transition-opacity duration-200 ease-in-out")},"Show Code"),n.createElement("span",{className:(0,c.c)("block","transition-transform duration-200 ease-in-out","bg-gray-100 dark:bg-gray-700",l&&"-translate-y-6")},"Hide Code"))),n.createElement("div",{className:(0,c.c)("rounded-bl-lg","rounded-br-lg"),style:{maxHeight:l?o?"unset":"100vh":"0px",transition:"0.3s all ease-in-out",overflow:"hidden"},ref:r},n.createElement(H,{language:"tsx",style:{marginBottom:0,marginRight:"0",marginLeft:"0",borderTopLeftRadius:"0",borderTopRightRadius:"0",borderBottomLeftRadius:"0.5rem",borderBottomRightRadius:"0.5rem"}},t)))}const E=({children:e,disableScroll:t,previewHeight:r,hideCode:l=!1,url:o="http://localhost:3000",previewOnly:i=!1,tailwind:f=!1})=>{const p=String(e),{shared:h,sharedCss:O}=(0,g.UF)(),{visible:y}=(e=>{const t="// visible-block-start";let r=e.indexOf(t);r=r>0?r+22:0;let n=e.indexOf("// visible-block-end");n=n>0?n:e.length;const l=e.slice(0,r),c=e.slice(r,n).trimEnd().trimStart(),a=e.slice(n);return{visible:c,join:e=>`${l}\n${e}\n${a}`}})(`\n ${null!=h?h:""}\n ${p}\n `.replace(/\n$/,"")),w=n.useRef(null),E=(0,d.c)(w),{siteConfig:{customFields:x}}=(0,a.c)(),{isLast:P}=(0,s.E)();return n.createElement("div",{className:(0,c.c)("overflow-hidden","mb-6","refine-wider-container")},n.createElement(n.Fragment,null,n.createElement(m,{url:o,hasBottom:!i},n.createElement("div",{className:(0,c.c)(u,"live-editor-wrapper"),style:{maxHeight:r,minHeight:r,overflow:t?"hidden":void 0,position:"relative"},ref:w},P?n.createElement(b,{if:E,maxWait:3e3},(()=>n.createElement(v,{code:`\n${null!=h?h:""}\n${p}\n `,css:O,query:`${t?"&disableScroll=true":""}${f?"&tailwind=true":""}`}))):n.createElement("div",{style:{height:"100%",minHeight:"inherit",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"1.25rem"}},n.createElement("span",null,"Live previews only work with the latest documentation.")))),!i&&n.createElement(j,{hidden:l,code:y})))},x=n.memo(E,((e,t)=>String(e.children)===String(t.children))),P=({children:e})=>{const{setShared:t}=(0,g.UF)();return n.useEffect((()=>(t(String(e)),()=>{t(void 0)})),[e]),null},k=n.memo(P,((e,t)=>String(e.children)===String(t.children))),C=({children:e})=>{const{setSharedCss:t}=(0,g.UF)();return n.useEffect((()=>(t(String(e)),()=>{t(void 0)})),[e]),null},A=n.memo(C,((e,t)=>String(e.children)===String(t.children)));function H(e){var t,r;return e.live&&e.live&&(null===(r=e.className)||void 0===r||null===(t=r.includes)||void 0===t?void 0:t.call(r,"language-css"))?n.createElement(A,e):e.shared&&e.live?n.createElement(k,e):e.live?n.createElement(x,e):n.createElement(l.s,e)}},3704:(e,t,r)=>{"use strict";r.d(t,{c:()=>f});var n=r(1504),l=r(9184),c=r(1724);const a=e=>{var t,r,n,l,a,o;let i="noopener noreferrer nofollow";const s=(0,c.c)(e);return(null===(r=e)||void 0===r||null===(t=r.includes)||void 0===t?void 0:t.call(r,"github.com/refinedev/refine"))&&(i="noopener"),(s||(null===(l=e)||void 0===l||null===(n=l.includes)||void 0===n?void 0:n.call(l,"refine.dev")))&&(i="noopener dofollow"),(s||(null===(o=e)||void 0===o||null===(a=o.includes)||void 0===a?void 0:a.call(o,"reactadminpanel.com")))&&(i="noopener dofollow"),i};var o=r(640);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e){for(var t=1;t{"use strict";r.d(t,{c:()=>ot});var n=r(7584),l=r(1504),c=r(4971),a=r(6192),o=r(6112),i=r(9184);const s=({title:e,description:t,image:r,variant:n="purple",button:s={text:"Explore Now",href:"https://prepverse.github.io/portfolio",onClick:void 0},bannerName:u})=>{var f,m,p,d,b,g;return l.useEffect((()=>{"undefined"!=typeof window&&void 0!==window.gtag&&u&&window.gtag("event","view_banner",{banner_name:u,banner_text:e,banner_description:t,banner_image:r.src})}),[u]),l.createElement("div",{className:(0,c.c)("relative","rounded-2xl","p-6","flex","flex-col 2xl:flex-row","items-center","gap-4 2xl:gap-10","not-prose","gray"===n&&"bg-banner-examples-gray","purple"===n&&"bg-banner-examples-purple")},l.createElement(i.c,{to:null!==(b=null===(f=r)||void 0===f?void 0:f.href)&&void 0!==b?b:null===(m=s)||void 0===m?void 0:m.href,target:"_blank",rel:"noopener noreferrer",className:(0,c.c)("flex","max-w-[360px]","h-auto","flex-shrink-0","rounded-lg","overflow-hidden")},l.createElement("img",{src:null===(p=r)||void 0===p?void 0:p.src,alt:null!==(g=null===(d=r)||void 0===d?void 0:d.alt)&&void 0!==g?g:e,loading:"lazy"})),l.createElement("div",{className:(0,c.c)("flex","flex-col","gap-6","justify-center 2xl:justify-start","items-center 2xl:items-start","text-center 2xl:text-start","not-prose")},e&&l.createElement("h2",{className:(0,c.c)("text-xl md:text-2xl","text-gray-0")},e),l.createElement("p",{className:(0,c.c)("text-sm md:text-base","text-gray-100")},t),l.createElement(a.D,{className:(0,c.c)("w-max"),buttonClassname:(0,c.c)("!px-4","!py-2"),href:s.href,onClick:s.onClick,target:"_blank",rel:"noopener noreferrer"},l.createElement("div",{className:(0,c.c)("text-gray-900","text-sm md:text-base","font-bold")},s.text),l.createElement(o.G,{className:(0,c.c)("ml-1 md:ml-2","w-[14px] h-[14px]","md:w-4 md:h-4")}))))},u=({title:e="My Portfolio",description:t="Click here to discover my latest projects, skills, and achievements on my portfolio website. My journey into creativity begins now!",button:r={text:"Explore Now",href:"https://prepverse.github.io/portfolio?ref=banner-retool-alternative",onClick:void 0}})=>(l.useEffect((()=>{"undefined"!=typeof window&&void 0!==window.gtag&&e&&t&&window.gtag("event","view_banner",{banner_name:"banner-retool-alternative",banner_text:e,banner_description:t})}),[e,t]),l.createElement("div",{className:(0,c.c)("relative","rounded-2xl","p-8","flex","flex-col","justify-center","items-center","not-prose","bg-banner-examples-gray")},l.createElement("h2",{className:(0,c.c)("text-2xl","font-semibold","bg-banner-examples-text","bg-clip-text","text-transparent")},e),l.createElement("p",{className:(0,c.c)("mt-2","text-sm","text-gray-300")},t),l.createElement(a.D,{className:(0,c.c)("mt-9"),href:r.href,onClick:r.onClick,target:"_blank",rel:"noopener noreferrer"},l.createElement("div",{className:(0,c.c)("text-gray-900","text-base","font-bold")},r.text))));var f=r(8164);const m=[],p=Math.floor(Math.random()*(m.length+1));var d=r(4752),b=r(7396);const g=({image:e,title:t,description:r,isDark:n})=>{let c;c="refineNew"===r?l.createElement("div",null," ",l.createElement("a",{href:"https://s.refine.dev/new-blog",target:"_blank"},"refine.new")," ","enables you to create React-based, headless UI enterprise applications within your browser that you can preview, tweak and download instantly.",l.createElement("br",null),l.createElement("br",null),"\ud83d\ude80 By visually combining options for your preferred \u2728",l.createElement("b",null," React platform,")," \u2728 ",l.createElement("b",null,"UI framework"),", \u2728"," ",l.createElement("b",null,"backend connector"),", and \u2728 ",l.createElement("b",null,"auth provider"),"; you can create tailor-made architectures for your project in seconds. It feels like having access to thousands of project templates at your fingertips, allowing you to choose the one that best suits your needs!",l.createElement("br",null),l.createElement("br",null),l.createElement("br",null)):null!=r?r:l.createElement("div",null,"Meet the headless, React-based solution to build sleek"," ",l.createElement("b",null,"CRUD")," applications. With refine, you can be confident that your codebase will always stay clean and boilerplate-free.",l.createElement("br",null),l.createElement("br",null),"Try"," ",l.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank"},"PrepVerse")," ","to rapidly build your next ",l.createElement("b",null,"CRUD")," project, whether ","it's"," ","an admin panel, dashboard, internal tool or storefront.");const a=null!=e?e:"https://refine.ams3.cdn.digitaloceanspaces.com/website/static/img/generic_banner.png";a.startsWith("http")||a.startsWith("/");return l.createElement("a",{href:"https://s.refine.dev/hackathon2",target:"_blank",rel:"noreferrer"},l.createElement("img",{src:"https://refine.ams3.cdn.digitaloceanspaces.com/hackathon-2/hackathon_cover.png"}))};var h=r(5524),O=r(3896),y=r(3376),v=r(8840);function w(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const j=e=>l.createElement("svg",function(e){for(var t=1;t{var t,r,n;const a=l.useRef(!1),{id:o}=(0,y.U)(),[i,s]=l.useState(!1),{items:u}=(0,v.GC)(),{reward:f}=(0,O.yh)(`checklist-${o}`,"confetti",{angle:90,elementCount:120,startVelocity:30,decay:.95,spread:100,position:"absolute",lifetime:150}),m=null===(n=u.find((e=>e.id===o)))||void 0===n||null===(t=(r=n.checklist).every)||void 0===t?void 0:t.call(r,(e=>e.checked));return l.useEffect((()=>{setTimeout((()=>{a.current=!0}),1e3)}),[]),l.useEffect((()=>{!i&&m&&a.current&&(s(!0),f())}),[m,i]),l.createElement("div",{className:(0,c.c)("rounded-lg","border-l-gray-400 dark:border-l-gray-600","dark:bg-gray-800 bg-gray-50")},l.createElement("div",{className:(0,c.c)("border-l-4","border-l-solid","border-l-inherit","rounded-tl-lg","rounded-bl-lg","p-4","flex flex-col")},l.createElement("div",{className:"border-b border-gray-400 dark:border-gray-500 border-opacity-50 dark:border-opacity-50"},l.createElement("div",{className:(0,c.c)("not-prose","mt-0 mb-4","flex items-center","gap-2")},l.createElement(j,{className:(0,c.c)("w-4 h-4","dark:text-gray-100 text-gray-800")}),l.createElement("h3",{className:(0,c.c)("m-0 p-0","font-semibold","dark:text-gray-100 text-gray-800","uppercase","text-base leading-6")},"Checklist"))),l.createElement("div",null,e),l.createElement("div",{className:"flex items-center justify-center"},l.createElement("div",{id:`checklist-${o}`}))))};function x(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const P=e=>l.createElement("svg",function(e){for(var t=1;t{var r,n,a,o;const{id:i}=(0,y.U)(),{items:s,toggle:u}=(0,v.GC)(),f=null===(r=null===(o=s.find((e=>e.id===i)))||void 0===o||null===(n=(a=o.checklist).find)||void 0===n?void 0:n.call(a,(e=>e.id===t)))||void 0===r?void 0:r.checked;return l.createElement("label",{className:(0,c.c)("mt-4","flex","items-center justify-start","flex-nowrap","gap-2","cursor-pointer")},l.createElement("div",{className:"flex-shrink-0"},l.createElement("button",{type:"button",onClick:()=>{u(i,t)},className:(0,c.c)("appearance-none","flex items-center justify-center","w-4 h-4","rounded","border",{"border-gray-400 dark:border-gray-500":!f,"border-refine-react-dark-link dark:border-refine-react-dark-link":f,"bg-refine-react-dark-link":f})},f&&l.createElement(P,null))),l.createElement("div",{className:(0,c.c)(f&&"line-through dark:text-gray-100 dark:text-opacity-50 text-gray-800 text-opacity-50",!f&&"text-gray-800 dark:text-gray-100")},e))};var C=r(8560),A=r(2108);const H=({path:e})=>l.createElement(C.s,{language:"bash",title:"Run on your local",icon:l.createElement(A.G,null)},`npm create refine-app@latest -- --example ${e}`);var S=r(5792);const N=({path:e})=>l.createElement("div",{className:(0,c.c)("refine-wider-container","py-2","px-2","text-base","font-sans","flex items-center","gap-2","rounded-lg","dark:bg-gray-700","bg-gray-100","mb-6")},l.createElement(S.A,{className:"ml-1.5 w-5 h-5 text-gray-800 dark:text-gray-100"}),l.createElement("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:(0,c.c)("text-base","leading-8","text-refine-react-light-link dark:text-refine-react-dark-link")},l.createElement("span",null,"View Source Code"))),Z=({path:e})=>{const t=`https://github.com/PrepVerse/PrepVerse/tree/master/examples/${e}`;return l.createElement(N,{path:t})},D=({path:e,hideSource:t,hideLocal:r,hideSandbox:n})=>{const c=`${`https://codesandbox.io/embed/github/refinedev/refine/tree/master/examples/${e}`}?view=preview&theme=dark&runonclick=1&codemirror=1`;return l.createElement("div",null,!t&&l.createElement(Z,{path:e}),!r&&l.createElement(H,{path:e}),!n&&l.createElement("iframe",{loading:"lazy",src:c,style:{width:"100%",height:"80vh",border:"0px",borderRadius:"8px",overflow:"hidden"},title:e,allow:"accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking",sandbox:"allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"}))};var L=r(1240),M=r(7916);const z=()=>l.createElement("div",null,l.createElement(L.c,{type:"simple",title:"Good to know"},l.createElement(M.s,null,"\nAll the data related hooks (useTable, useForm, useList etc.) of Refine can be given some common properties like `resource`, `meta` etc.\n\nFor more information, refer to the [General Concepts documentation](/docs/guides-concepts/general-concepts).\n"))),B=({children:e,content:t})=>l.createElement("div",{className:(0,c.c)("refine-info-badge","relative","group","inline-flex","align-middle")},e,l.createElement("div",{className:(0,c.c)("absolute","-left-1","top-0","translate-x-0","-translate-y-0","scale-0","group-hover:scale-100","group-hover:-translate-y-full","transition-transform","origin-top-left","pb-2","w-60","pointer-events-none")},l.createElement("div",{className:(0,c.c)("text-xs","text-gray-600","bg-gray-0","border","border-gray-200","shadow-sm","rounded","py-1","px-2","font-normal")},null!=t?t:"Check the guide for more information"))),R=({id:e,icon:t,color:r,text:n,description:a})=>{const o=(0,c.c)("orange"===r&&(0,c.c)("bg-refine-react-light-orange-bg dark:bg-refine-react-dark-orange","dark:bg-opacity-[0.15]","text-refine-react-light-orange dark:text-refine-react-dark-orange"),"green"===r&&(0,c.c)("bg-refine-react-light-green-bg dark:bg-refine-react-dark-green","dark:bg-opacity-[0.15]","text-refine-react-light-green dark:text-refine-react-dark-green"),"purple"===r&&(0,c.c)("bg-refine-react-light-purple-bg dark:bg-refine-react-dark-purple","dark:bg-opacity-[0.15]","text-refine-react-light-purple dark:text-refine-react-dark-purple"));return l.createElement(B,{content:a},l.createElement(i.c,{to:`/docs/${e}`,className:(0,c.c)("-mt-px","rounded-[10px]","inline-flex","items-center","justify-center","text-sm","no-underline","gap-1.5","[&>svg]:hover:scale-110","[&>svg]:transition-transform [&>svg]:duration-200 [&>svg]:ease-in-out",o)},t,n&&l.createElement("span",{className:"text-xs leading-[0.875rem]"},n)))};function G(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const T=e=>l.createElement("svg",function(e){for(var t=1;tl.createElement("svg",function(e){for(var t=1;tr?l.createElement("div",{className:(0,c.c)("inline-flex","text-sm","py-0.5","px-2","rounded-xl","bg-refine-orange","bg-opacity-10","text-refine-orange","tracking-wide","align-middle","font-normal","mr-1"),title:o},null!=e?e:"deprecated"):t?l.createElement("div",{className:(0,c.c)("inline-flex","justify-center items-center","text-sm","text-refine-red","rounded-full","bg-refine-red bg-opacity-10","ml-1","w-6 h-6","align-middle")},null!=e?e:"\ufe61"):n?l.createElement("div",{className:(0,c.c)("inline-flex","text-sm","py-0.5","px-2","rounded-xl","bg-refine-red","bg-opacity-10","text-refine-red","tracking-wide","align-middle","font-normal","mr-1"),title:o},null!=e?e:"required"):a?l.createElement("div",{className:(0,c.c)("inline-flex","text-sm","py-0.5","px-2","rounded-xl","bg-refine-green","bg-opacity-10","text-refine-green","tracking-wide","align-middle","font-normal","mr-1"),title:o},null!=e?e:"featured"):e?l.createElement("div",{className:(0,c.c)("inline","text-gray-0","text-xs","leading-6","py-0.5","px-2","rounded","bg-gray-800","tracking-wide","align-middle","mr-1"),title:o},e):null,W="tooltip__Ymd",I="tooltipContainer_l6r7",U="tooltipContent_UeXm",X="tooltipArrow_mOyh",J=({label:e,children:t})=>e?l.createElement("div",{className:`${W} group`},t,l.createElement("div",{className:`${I} group-hover:visible`},l.createElement("span",{className:U},e),l.createElement("div",{className:X}))):l.createElement(l.Fragment,null,t);function K(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},c=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const Q=({prop:e,overrides:t})=>{var r,n,c;const a=null!==(c=t[`${e.name}-required`])&&void 0!==c?c:e.required;var o;const i=null!==(o=t[`${e.name}-deprecated`])&&void 0!==o?o:null===(r=e.tags)||void 0===r?void 0:r.deprecated;var s,u;const f=null!==(u=null!==(s=t[`${e.name}-deprecated`])&&void 0!==s?s:null===(n=e.tags)||void 0===n?void 0:n.deprecated)&&void 0!==u?u:"",m=(0,l.useMemo)((()=>{const e="props-table--name";return i?`${e} props-table--name__deprecated`:e}),[e,t]),p=(0,l.useMemo)((()=>f?l.createElement(M.s,null,f):null),[e,t]);var d;return l.createElement(J,{label:p},l.createElement(l.Fragment,null,l.createElement("span",{className:m},null!==(d=t[`${e.name}-name`])&&void 0!==d?d:e.name),a&&l.createElement(Y,{asterisk:!0})))},q=({prop:e,overrides:t})=>{var r;const n=null!==(r=t[`${e.name}-type`])&&void 0!==r?r:e.type.name,c=n.split(" | "),a=c.length>1,o=c.some((e=>e.length>20)),i=/`/.test(n);return l.createElement(l.Fragment,null,i?l.createElement(M.s,null,n):o&&a?l.createElement(l.Fragment,null,c.map(((e,t)=>l.createElement("code",{className:"max-w-xs h-min",key:t},l.createElement(M.s,null,e))))):l.createElement("code",{className:"max-w-xs h-min"},l.createElement(M.s,null,n)))},_=({prop:e,overrides:t})=>{var r,n;return l.createElement(M.s,null,null!==(n=null!==(r=t[`${e.name}-description`])&&void 0!==r?r:e.tags.description)&&void 0!==n?n:e.description)},$=({prop:e,overrides:t})=>{var r,n,c,a;const o=null===(r=e.tags)||void 0===r?void 0:r.default,i=(null===(n=e.defaultValue)||void 0===n?void 0:n.value)&&(null===(c=e.defaultValue)||void 0===c?void 0:c.value)!==o?null===(a=e.defaultValue)||void 0===a?void 0:a.value:void 0,s=t[`${e.name}-default`];return o||s?l.createElement(M.s,null,null!=s?s:o):l.createElement("div",{className:"flex flex-wrap gap-1"},void 0!==i?l.createElement("code",{className:"max-w-xs h-min"},l.createElement(M.s,null,i)):null)},ee=({prop:e,overrides:t})=>l.createElement("td",null,l.createElement("div",{className:"flex items-center"},l.createElement(Q,{prop:e,overrides:t}))),te=({prop:e,overrides:t})=>l.createElement("td",{className:"props-table__type-cell"},l.createElement("div",{className:"flex flex-wrap gap-1"},l.createElement(q,{prop:e,overrides:t}))),re=({prop:e,overrides:t})=>l.createElement("td",{className:"props-table__description-cell"},l.createElement(_,{prop:e,overrides:t})),ne=({prop:e,overrides:t})=>l.createElement("td",{className:"props-table__default-value-cell"},l.createElement($,{prop:e,overrides:t})),le=e=>{var{module:t,hideDefaults:n,children:c}=e,a=K(e,["module","hideDefaults","children"]);const o=((e,t="@refinedev/")=>{const[n,c]=(0,l.useState)(null);return(0,l.useEffect)((()=>{let n=!1;return r(6324)(`./${e.startsWith(t)?e:`${t}${e}`}.json`).then((e=>{n||(n=!0,c(e.default))})).catch(console.warn),()=>{n=!0}}),[e]),n})(t),i=(0,l.useMemo)((()=>{var e;if(n)return!1;if(Object.keys(a).some((e=>e.endsWith("-default"))))return!1;var t;return!Object.values(null!==(t=null===(e=o)||void 0===e?void 0:e.props)&&void 0!==t?t:{}).some((e=>{var t;return null===(t=e.defaultValue)||void 0===t?void 0:t.value}))}),[a]);if(!o)return null;const s=[...Object.values(o.props)];return l.createElement("div",{className:"table-container"},l.createElement("table",{className:"props-table"},l.createElement("thead",null,l.createElement("tr",null,l.createElement("th",null,"Property"),l.createElement("th",null,"Type"),l.createElement("th",null,"Description"),i?null:l.createElement("th",null,"Default"))),l.createElement("tbody",null,s.map((e=>a[`${e.name}-hidden`]?null:l.createElement("tr",{key:e.name},l.createElement(ee,{prop:e,overrides:a}),l.createElement(te,{prop:e,overrides:a}),l.createElement(re,{prop:e,overrides:a}),i?null:l.createElement(ne,{prop:e,overrides:a})))))),c)};function ce(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ae=e=>l.createElement("svg",function(e){for(var t=1;t{const{current:r}=(0,oe.U)();return e&&r===e?l.createElement(l.Fragment,null,t):null};var se=r(8530);function ue(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fe(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const me=e=>{var t;const r=l.Children.toArray(e.children),n=r.find((e=>l.isValidElement(e)&&"summary"===(null===(t=e.props)||void 0===t?void 0:t.mdxType))),a=l.createElement(l.Fragment,null,r.filter((e=>e!==n)));return l.createElement(se.S,fe(function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const ge=e=>{var{children:t,className:r}=e,n=be(e,["children","className"]);return l.createElement("summary",function(e){for(var t=1;t{const t=e.currentTarget,l=s.indexOf(t),c=a[l].value;c!==r&&(u(t),n(c))},m=e=>{var t,r;let n=null;switch(e.key){case"Enter":f(e);break;case"ArrowRight":{const t=s.indexOf(e.currentTarget)+1;var l;n=null!==(l=s[t])&&void 0!==l?l:s[0];break}case"ArrowLeft":{const t=s.indexOf(e.currentTarget)-1;var c;n=null!==(c=s[t])&&void 0!==c?c:s[s.length-1];break}}null===(r=n)||void 0===r||null===(t=r.focus)||void 0===t||t.call(r)};return l.createElement("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,c.c)(e,"!my-0","flex-wrap","list-none","m-0 mb-0 mt-0","px-4","flex gap-4","bg-gray-100 dark:bg-gray-700","rounded-tl-lg rounded-tr-lg",!o&&"rounded-bl-lg rounded-br-lg","items-stretch")},a.map((({value:e,label:t,attributes:n})=>l.createElement("li",je(we({role:"tab",tabIndex:r===e?0:-1,"aria-selected":r===e,key:e,ref:e=>s.push(e),onKeyDown:m,onClick:f},n),{className:(0,c.c)("!my-0","mx-0 mt-0","px-2 py-3","flex items-center justify-center","min-w-[60px]","cursor-pointer","transition-all duration-200 ease-in-out","border-b border-solid","select-none",i&&"!text-xs",!i&&"!text-base",r!==e&&"text-gray-800 dark:text-gray-100",r===e&&"text-refine-react-light-link dark:text-refine-react-dark-link",r!==e&&"hover:text-refine-react-light-link dark:hover:text-refine-react-dark-link",r!==e&&"border-b-transparent",r===e&&"border-b-refine-react-light-link dark:border-b-refine-react-dark-link",r!==e&&"hover:border-b-refine-react-light-link dark:hover:border-b-refine-react-dark-link")}),null!=t?t:e))))}function xe({lazy:e,children:t,selectedValue:r,smallTabs:n}){const a=(Array.isArray(t)?t:[t]).filter(Boolean);if(e){const e=a.find((e=>e.props.value===r));return e?(0,l.cloneElement)(e,{className:"margin-top--md refine-tab-content"}):null}var o;return l.createElement("div",{className:"p-4"},a.map(((e,t)=>(0,l.cloneElement)(e,{key:t,hidden:e.props.value!==r,className:(0,c.c)(null!==(o=e.props.className)&&void 0!==o?o:[],"refine-tab-content")}))))}function Pe(e){const t=(0,Oe.a)(e),{wrapContent:r=!0}=e;return l.createElement("div",{className:(0,c.c)("tabs-container","rounded-lg","border-gray-300 dark:border-gray-700",r?"border":"border-0","mb-6","refine-wider-container")},l.createElement(Ee,we({},e,t)),l.createElement(xe,we({},e,t)))}function ke(e){const t=(0,ye.c)();return l.createElement(Pe,we({key:String(t)},e))}function Ce(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ae(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},c=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}var He=r(4472),Se=r(4896),Ne=r(1488),Ze=r(8620),De=r(6076),Le=r(9072);function Me(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ze=e=>l.createElement("svg",function(e){for(var t=1;tl.createElement("svg",function(e){for(var t=1;t{var t,r;const[n,a]=(0,l.useState)(!1),{refs:o,floatingStyles:i,context:s}=(0,He.gR)({placement:"bottom-start",open:e.isOpen,onOpenChange:e.onOpenChange,whileElementsMounted:Se.kN,middleware:[(0,Ne.E3)((({middlewareData:e})=>{var t;return(null===(t=e)||void 0===t?void 0:t.flip)?{mainAxis:12}:{mainAxis:52}})),(0,Se.EB)((({placement:e})=>(e.includes("bottom")&&a(!1),e.includes("top")&&a(!0),{fallbackPlacements:["top-start"]})))]}),u=(0,He.ug)(s,{outsidePress:e=>!(null===(r=e.target)||void 0===r||null===(t=r.closest)||void 0===t?void 0:t.call(r,".widget-actions"))}),{getReferenceProps:f,getFloatingProps:m}=(0,He.M3)([u]);return l.createElement(l.Fragment,null,l.createElement("div",Xe(Ue({ref:o.setReference},f()),{style:{position:"absolute",top:"0",left:0}})),l.createElement(Ze.I,null,s.open&&l.createElement(De.q.div,Xe(Ue({initial:{opacity:0},animate:{opacity:1,transition:{duration:.2}},exit:{opacity:0},ref:o.setFloating,style:i},m()),{className:(0,c.c)("w-[320px]","bg-[#EAEBEF] dark:bg-refine-react-dark-code","border border-[#E3E4E5] dark:border-[#343A46]","rounded-[20px]","relative")}),e.children,l.createElement(Ke,{style:Ue({position:"absolute",top:n?"unset":"-10px",bottom:n?"-10px":"unset",transform:n?"rotate(180deg)":"rotate(0deg)",transition:"right 0.2s ease-in-out",willChange:"right"},e.arrowStyle)}))))},Ke=e=>{const{colorMode:t}=(0,Le.U)(),r="dark"===t;return l.createElement("svg",Ue({xmlns:"http://www.w3.org/2000/svg",width:42,height:18,viewBox:"0 0 42 18",fill:"none"},e),l.createElement("title",null,"Popover Pointer"),l.createElement("path",{fill:r?"#16181D":"#EAEBEF",stroke:"url(#a)",d:"M18.303 2.077C18.892 1.105 19.9.5 21 .5s2.108.605 2.697 1.577l3.026 4.992c.928 1.532 2.476 2.431 4.11 2.431H41.5v8H.5v-8h10.667c1.634 0 3.182-.899 4.11-2.431l3.026-4.992Z"}),l.createElement("defs",null,l.createElement("linearGradient",{id:"a",x1:21,x2:21,y1:1,y2:16,gradientUnits:"userSpaceOnUse"},l.createElement("stop",{offset:.59,stopColor:r?"#343A46":"#E3E4E5"}),l.createElement("stop",{offset:.602,stopColor:r?"#343A46":"#E3E4E5",stopOpacity:0}))))},Qe={UP:1,DOWN:2};function qe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _e(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}var $e;var et=r(7500),tt=r(9104);var rt=r(9092);var nt=r(5560);function lt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ct(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function at(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ot=(it=function(e){for(var t=1;t{var{className:t}=e,r=Ae(e,["className"]);return l.createElement("blockquote",function(e){for(var t=1;tp===m.length?l.createElement(f.c,null,(()=>l.createElement(u,null))):l.createElement(f.c,null,(()=>l.createElement(s,m[p]))),GuideBadge:({id:e,description:t="Please check the guide for more information on this topic.",text:r})=>l.createElement(R,{id:e,color:"green",icon:l.createElement(F,null),text:r,description:l.createElement(l.Fragment,null,l.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Check the guide"),l.createElement("div",{className:"text-xs"},t))}),RouterBadge:({id:e="guides-concepts/routing/",description:t="This value can be inferred from the route. Click to see the guide for more information.",text:r})=>l.createElement(R,{id:e,color:"orange",text:r,icon:l.createElement(ae,null),description:l.createElement(l.Fragment,null,l.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Router Integrated"),l.createElement("div",{className:"text-xs"},t))}),GlobalConfigBadge:({id:e="core/refine-component",description:t="This value can be configured globally. Click to see the guide for more information.",text:r})=>l.createElement(R,{color:"purple",icon:l.createElement(T,null),text:r,id:e,description:l.createElement(l.Fragment,null,l.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Globally Configurable"),l.createElement("div",{className:"text-xs"},t))}),Image:e=>l.createElement("img",_e(function(e){for(var t=1;t{const t=e?`-- ${e}`:"",r={npm:`npm create refine-app@latest ${t}`,pnpm:`pnpm create refine-app@latest ${t}`,yarn:`yarn create refine-app@latest ${t}`};return l.createElement(ke,null,l.createElement(tt.c,{value:"npm",label:"npm",default:!0},l.createElement(C.s,{className:"language-bash"},r.npm)),l.createElement(tt.c,{value:"pnpm",label:"pnpm"},l.createElement(C.s,{className:"language-bash"},r.pnpm)),l.createElement(tt.c,{value:"yarn",label:"yarn"},l.createElement(C.s,{className:"language-bash"},r.yarn),l.createElement(M.s,null,"> Only supports yarn@1 version.")))},InstallPackagesCommand:({args:e,children:t})=>{const r={npm:`npm i ${e}`,pnpm:`pnpm add ${e}`,yarn:`yarn add ${e}`};return l.createElement(ke,null,l.createElement(tt.c,{value:"npm",label:"npm",default:!0},l.createElement(C.s,{className:"language-bash"},r.npm),t),l.createElement(tt.c,{value:"pnpm",label:"pnpm"},l.createElement(C.s,{className:"language-bash"},r.pnpm),t),l.createElement(tt.c,{value:"yarn",label:"yarn"},l.createElement(C.s,{className:"language-bash"},r.yarn),t))},FullTable:et.Ih,TutorialConditional:({parameter:e,value:t,children:r})=>{var n;const{parameters:c}=(0,rt.iC)();return(null===(n=c)||void 0===n?void 0:n[e])===t?l.createElement(l.Fragment,null,r):null},VideoInView:e=>{const t=l.useRef(null),r=(0,nt.c)(t);return l.useEffect((()=>{var e,n,l,c;r?null===(n=t.current)||void 0===n||null===(e=n.play)||void 0===e||e.call(n):null===(c=t.current)||void 0===c||null===(l=c.pause)||void 0===l||l.call(c)}),[r]),l.createElement("video",ct(function(e){for(var t=1;t{var e,r,n,l,c;(null===(e=t.current)||void 0===e?void 0:e.paused)?null===(n=t.current)||void 0===n||null===(r=n.play)||void 0===r||r.call(n):null===(c=t.current)||void 0===c||null===(l=c.pause)||void 0===l||l.call(c)},className:(0,c.c)(e.className,"w-full","h-auto","max-w-full","max-h-full","rounded-xl","object-contain")}))},DocThumbsUpDownFeedbackWidget:e=>{const t=(0,We.IT)(),[r,n]=(0,l.useState)(""),[a,o]=(0,l.useState)(null),[i,s]=(0,l.useState)(!1),[u,f]=(0,l.useState)(!1),m=i||u,{survey:p,createSurvey:d,updateSurvey:b}=(e=>{const[t,r]=(0,l.useState)(null),n=Ye[e.type];return{survey:t,setSurvey:r,createSurvey:async({body:e})=>{const t=await fetch(`${n}/responses`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(!t.ok)return null;const l=await t.json();return l?(r(l),l):void 0},updateSurvey:async({surveyId:e,body:t})=>{const l=await fetch(`${n}/responses/${e}`,{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(!l.ok)return null;const c=await l.json();return c?(r(c),c):void 0}}})({type:Ge.THUMBS}),g=async r=>{o(r),s(!0),p?await b({surveyId:p.id,body:{response:r}}):await d({body:{response:r,entityId:t.pathname,metaData:{sectionId:e.id}}})};return l.createElement("div",{className:"group"},e.children,l.createElement("div",{className:(0,c.c)("relative","z-popover","hidden md:flex","items-center","gap-5","w-max h-[40px]","pt-1 pr-1 pb-1 pl-4","bg-[#99A1B31A] dark:bg-[#2F333C]","rounded-[28px]","transition-all duration-300 ease-in-out",!m&&"opacity-0","group-hover:opacity-100")},l.createElement("div",{className:(0,c.c)("text-xs","whitespace-nowrap","text-[#23272F] dark:text-[#E3E4E5]")},"Was this helpful?"),l.createElement("div",{className:(0,c.c)("flex","items-center","gap-1","widget-actions")},l.createElement("button",{type:"button",onClick:()=>g(Qe.UP),className:(0,c.c)("w-8 h-8","flex items-center justify-center","rounded-full","text-gray-500","hover:text-green-500 hover:bg-green-500/20","transition-all duration-200 ease-in-out",1===a&&"text-green-500 bg-green-500/20")},l.createElement(ze,null)),l.createElement("button",{type:"button",onClick:()=>g(Qe.DOWN),className:(0,c.c)("w-8 h-8","flex items-center justify-center","rounded-full","text-gray-500","hover:text-red-500 hover:bg-red-500/20","transition-all duration-200 ease-in-out",2===a&&"text-red-500 bg-red-500/20")},l.createElement(Re,null))),l.createElement(Je,{isOpen:m,onOpenChange:e=>{u||e||(s(!1),f(!1))},arrowStyle:{right:1===a?"150px":"115px"}},!u&&l.createElement("form",{className:(0,c.c)("flex flex-col","p-2"),onSubmit:e=>{e.preventDefault(),(async()=>{const e=r.trim();e&&(await b({surveyId:p.id,body:{response:a,responseText:e}}),f(!0),setTimeout((()=>{s(!1),f(!1)}),2e3))})()}},l.createElement("textarea",{rows:3,required:!0,minLength:3,placeholder:"Your thumbs tells us a lot, but If you have any additional thoughts or suggestions, we'd love to hear them!",onChange:e=>n(e.target.value),value:r,className:(0,c.c)("w-full","bg-white dark:bg-[#343A46]","text-[#23272F] dark:text-[#E3E4E5]","resize-none","rounded-xl","text-xs","py-2 px-3")}),l.createElement("button",{type:"submit",className:(0,c.c)("w-16 h-6","flex items-center justify-center","bg-refine-react-light-link dark:bg-refine-react-dark-link","text-xs","text-white","rounded-full","mt-2 ml-auto")},"Send")),u&&l.createElement("div",{className:(0,c.c)("flex items-center","p-4","text-xs","text-gray-500")},l.createElement("span",null,"Thank you for your feedback!")))))}},st=null!=st?st:{},Object.getOwnPropertyDescriptors?Object.defineProperties(it,Object.getOwnPropertyDescriptors(st)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(st)).forEach((function(e){Object.defineProperty(it,e,Object.getOwnPropertyDescriptor(st,e))})),it);var it,st},2444:(e,t,r)=>{"use strict";r.d(t,{c:()=>P});var n=r(7652),l=r(6424),c=r(9184),a=r(640),o=r(9500),i=r(3928),s=r(1088),u=r(9488),f=r(3652),m=r(9936),p=r(3146),d=r(3796),b=r(1504),g=r(7104);function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function O(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}let w=null;function j({hit:e,children:t}){return b.createElement(c.c,{to:e.url},t)}function E({state:e,onClose:t}){const r=(0,o.Y)();return b.createElement(c.c,{to:r(e.query),onClick:t},b.createElement(f.c,{id:"theme.SearchBar.seeAll",values:{count:e.context.nbHits}},"See all {count} results"))}function x(e){var t,{contextualSearch:c,externalUrlRegex:o,CustomButton:f}=e,h=v(e,["contextualSearch","externalUrlRegex","CustomButton"]);const{siteMetadata:x}=(0,m.c)(),P=(0,s.Q)(),k=(0,u.Q)();var C;const A=null!==(C=null===(t=h.searchParameters)||void 0===t?void 0:t.facetFilters)&&void 0!==C?C:[],H=c?function(e,t){const r=e=>"string"==typeof e?[e]:e;return[...r(e),...r(t)]}(k,A):A,S=y(O({},h.searchParameters),{facetFilters:H}),N=(0,a.Uz)(),Z=(0,b.useRef)(null),D=(0,b.useRef)(null),[L,M]=(0,b.useState)(!1),[z,B]=(0,b.useState)(void 0),R=(0,b.useCallback)((async()=>w?Promise.resolve():Promise.all([r.e(6652).then(r.bind(r,6652)),Promise.all([r.e(2176),r.e(1676)]).then(r.bind(r,1676)),Promise.all([r.e(2176),r.e(5640)]).then(r.bind(r,3260))]).then((([{DocSearchModal:e}])=>{w=e}))),[]),G=(0,b.useCallback)((()=>{R().then((()=>{Z.current=document.createElement("div"),document.body.insertBefore(Z.current,document.body.firstChild),M(!0)}))}),[R,M]),T=(0,b.useCallback)((()=>{var e,t;M(!1),null===(t=Z.current)||void 0===t||null===(e=t.remove)||void 0===e||e.call(t)}),[M]),V=(0,b.useCallback)((e=>{R().then((()=>{M(!0),B(e.key)}))}),[R,M,B]),F=(0,b.useRef)({navigate({itemUrl:e}){(0,i._)(o,e)?window.location.href=e:N.push(e)}}).current,Y=(0,b.useRef)((e=>h.transformItems?h.transformItems(e):e.map((e=>y(O({},e),{url:P(e.url)}))))).current,W=(0,b.useMemo)((()=>function(e){return b.createElement(E,y(O({},e),{onClose:T}))}),[T]),I=(0,b.useCallback)((e=>(e.addAlgoliaAgent("docusaurus",x.docusaurusVersion),e)),[x.docusaurusVersion]);(0,n._)({isOpen:L,onOpen:G,onClose:T,onInput:V,searchButtonRef:D});const U=null!=f?f:p.o,{apiKey:X,appId:J,searchPagePath:K,indexName:Q,searchParameters:q}=h,_=v(h,["apiKey","appId","searchPagePath","indexName","searchParameters"]);return b.createElement(b.Fragment,null,b.createElement(l.c,null,b.createElement("link",{rel:"preconnect",href:`https://${h.appId}-dsn.algolia.net`,crossOrigin:"anonymous"})),b.createElement(U,O({onTouchStart:R,onFocus:R,onMouseOver:R,onClick:G,ref:D},_)),L&&w&&Z.current&&(0,g.createPortal)(b.createElement(w,y(O({onClose:T,initialScrollY:window.scrollY,initialQuery:z,navigator:F,transformItems:Y,hitComponent:j,transformSearchClient:I},h.searchPagePath&&{resultsFooterComponent:W},h),{searchParameters:S,placeholder:d.c.placeholder,translations:d.c.modal})),Z.current))}function P({CustomButton:e}){const{siteConfig:t}=(0,m.c)();return b.createElement(x,y(O({},t.themeConfig.algolia),{CustomButton:e}))}},4588:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>G});var n=r(1504),l=r(4971),c=r(2288),a=r(4464),o=r(56);const i=({children:e})=>n.createElement(o.c,null,e);var s=r(2444),u=r(9184);const f=({className:e})=>n.createElement("div",{className:(0,l.c)("flex","items-center justify-start","gap-2","no-underline",e)},n.createElement(u.c,{to:"/",className:(0,l.c)("no-underline","flex items-center gap-2")},n.createElement("span",{className:(0,l.c)("text-gray-1000 dark:text-gray-0","text-base","font-semibold")},"PrepVerse")),n.createElement("span",{className:(0,l.c)("block","h-6","w-px","mx-1","bg-gray-300 dark:bg-gray-600")}),n.createElement(u.c,{to:"/tutorial",className:(0,l.c)("no-underline")},n.createElement("span",{className:(0,l.c)("text-gray-1000 dark:text-gray-0","text-base font-normal")},"Tutorial")));var m=r(1180),p=r(9253),d=r(3146),b=r(2120),g=r(4604),h=r(7132),O=r(9092),y=r(2064),v=r(8872);function w(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function j(e){for(var t=1;tn.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},e),n.createElement("rect",{width:15,height:15,fill:"none",x:4.5,y:4.5,stroke:"currentColor",rx:7.5})),P=e=>n.createElement("svg",E(j({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},e),{className:(0,l.c)(e.className,"fill-refine-tutorial-green")}),n.createElement("rect",{width:16,height:16,x:4,y:4,fill:"currentFill",rx:8}),n.createElement("path",{stroke:"currentColor",strokeLinecap:"round",fill:"none",strokeLinejoin:"round",strokeWidth:2,d:"m9 12 2 2 4-4"})),k=()=>{var e,t,r;const a=(0,c.G)(),o=(0,y.G_)(),{parameters:i,settled:s}=(0,O.iC)(),{visited:f,setVisited:m}=(0,v.Cw)(),p=s?(0,y.ED)(a.metadata.id,i):void 0,d=s?y.Sm.units.map((e=>E(j({},e),{items:e.items.map((e=>(0,y.Yv)(e,i)))}))):[],[b,h]=n.useState(!1),w=n.useRef(null),k=n.useRef(null);n.useEffect((()=>{const e=e=>{!w.current||w.current.contains(e.target)||k.current.contains(e.target)||h(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}}),[w]),n.useEffect((()=>{var e;if(!(null===(e=f[a.metadata.id])||void 0===e?void 0:e.visited)){const e=setTimeout((()=>{m(a.metadata.id)}),1e4);return()=>clearTimeout(e)}return()=>0}),[null===(e=null===(t=a)||void 0===t?void 0:t.metadata)||void 0===e?void 0:e.id,f]);const C=e=>{var t,r,n;return null===(n=d.find((t=>t.id===e)))||void 0===n||null===(t=(r=n.items).every)||void 0===t?void 0:t.call(r,(e=>f[e]?.visited))};return n.createElement("div",{className:(0,l.c)("flex-1","relative","flex","max-w-[384px]")},n.createElement("button",{type:"button",ref:k,onClick:()=>h(!b),className:(0,l.c)("appearance-none","border-none","outline-none","flex-1","py-2 tutorial-md:py-2.5","pl-4 tutorial-md:pl-6","pr-3","bg-gray-200 dark:bg-gray-700","flex","gap-2","items-center","justify-start","rounded-[40px]")},n.createElement("div",{className:(0,l.c)("h-4 tutorial-md:h-5","flex-1","text-xs tutorial-md:text-sm","leading-4 tutorial-md:leading-5","text-gray-800 dark:text-gray-100","relative")},n.createElement("div",{className:(0,l.c)("max-w-full","w-full","text-ellipsis","whitespace-nowrap","overflow-hidden","absolute","inset-0","text-left","select-none")},p?n.createElement("span",null,n.createElement("span",{className:(0,l.c)("font-normal")},null===(r=p)||void 0===r?void 0:r.title),n.createElement("span",{className:(0,l.c)("text-gray-400")}," / "),n.createElement("span",{className:(0,l.c)("font-semibold")},a.metadata.title)):null)),n.createElement("div",{className:(0,l.c)("flex-shrink-0","flex","items-center","justify-center","text-gray-400")},n.createElement(g.o,{className:"w-4 h-4"}))),n.createElement("div",{ref:w,className:(0,l.c)("overflow-scroll","scrollbar-hidden","absolute","top-full",b?"opacity-100 max-h-[calc(100dvh-104px-64px-8px)] tutorial-sm:max-h-[calc(100dvh-55px-64px-8px)] tutorial-md:max-h-[calc(100dvh-60px-57px-8px)] translate-y-2":"opacity-0 max-h-0 -translate-y-8","transition-all ease-in-out duration-200","shadow","w-full","h-fit","bg-gray-100 dark:bg-gray-700","rounded-[20px]")},n.createElement("div",{className:(0,l.c)("inline")},n.createElement("div",{className:(0,l.c)("py-8","text-sm","leading-6","flex","flex-col","gap-8")},d.map((e=>n.createElement("div",{key:e.id,className:(0,l.c)("flex","flex-col","gap-0")},n.createElement("div",{className:(0,l.c)("py-1","px-4","flex","items-center","gap-1")},C(e.id)?n.createElement(P,{className:"text-gray-100 dark:text-gray-700"}):n.createElement(x,{className:"text-gray-400 dark:text-gray-500"}),n.createElement("span",{className:(0,l.c)("font-semibold",!C(e.id)&&"text-gray-700 dark:text-gray-200",C(e.id)&&"text-gray-500 dark:text-gray-400")},e.title)),e.items.map((e=>{var t,r,c;return n.createElement(u.c,{key:e,to:(0,y._i)(e,o),className:(0,l.c)("py-1","pl-8 pr-4","flex",e===a.metadata.id&&"bg-gray-200 dark:bg-gray-600","items-center","gap-1","text-gray-700 dark:text-gray-200","no-underline","hover:bg-gray-200 dark:hover:bg-gray-600")},(null===(t=f[e])||void 0===t?void 0:t.visited)?n.createElement(P,{className:"text-gray-100 dark:text-gray-700"}):n.createElement(x,{className:"text-gray-400 dark:text-gray-500"}),n.createElement("span",{className:(0,l.c)(!(null===(r=f[e])||void 0===r?void 0:r.visited)&&"text-gray-700 dark:text-gray-200",(null===(c=f[e])||void 0===c?void 0:c.visited)&&"text-gray-500 dark:text-gray-400")},(0,y.iG)(e,o)))})))))))))},C=()=>{const e=(0,c.G)(),t=(0,y.G_)(),{parameters:r,settled:a}=(0,O.iC)(),o=a?(0,y.Ip)(e.metadata.id,r):void 0,i=a?(0,y.Mx)(e.metadata.id,r):void 0,s=a&&o?(0,y._i)((0,y.Yv)(o,r),t):void 0,f=a&&i?(0,y._i)((0,y.Yv)(i,r),t):void 0;return n.createElement("div",{className:(0,l.c)("flex","flex-1","items-center","justify-start","max-w-[464px]","gap-2")},n.createElement(u.c,{to:f,id:"previous-doc-button",onClick:f?void 0:e=>e.preventDefault(),className:(0,l.c)(f?"opacity-100":"opacity-50",f?"cursor-pointer":"cursor-not-allowed","p-2 tutorial-md:p-2.5","text-gray-400 dark:text-gray-400","hover:text-gray-400 dark:hover:text-gray-400","bg-gray-100 dark:bg-refine-react-dark-code","rounded-full")},n.createElement(h.Y,{className:"w-4 h-4 tutorial-md:w-5 tutorial-md:h-5"})),n.createElement(k,null),n.createElement(u.c,{to:s,id:"next-doc-button",onClick:s?void 0:e=>e.preventDefault(),className:(0,l.c)(s?"opacity-100":"opacity-50",s?"cursor-pointer":"cursor-not-allowed","p-2 tutorial-md:p-2.5","text-gray-400 dark:text-gray-400","hover:text-gray-400 dark:hover:text-gray-400","bg-gray-100 dark:bg-refine-react-dark-code","rounded-full")},n.createElement(h.Y,{className:"rotate-180 w-4 h-4 tutorial-md:w-5 tutorial-md:h-5"})))};var A=r(2424),H=r(2276),S=r(252),N=r(7708);function Z(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function D(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const L=({isOpen:e,onClose:t})=>n.createElement(A.O,{appear:!0,show:e,as:n.Fragment},n.createElement(H.C,{as:"div",className:"relative z-mobileNavbar",onClose:t},n.createElement(A.O.Child,{as:n.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},n.createElement("div",{className:"fixed inset-0 bg-gray-0 dark:bg-gray-800"})),n.createElement("div",{className:"fixed inset-0 overflow-y-auto"},n.createElement("div",{className:"flex min-h-full items-start justify-center"},n.createElement(A.O.Child,{as:n.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},n.createElement(H.C.Panel,{className:(0,l.c)("w-full h-[100dvh]","flex flex-col","px-2")},n.createElement("div",{className:(0,l.c)("py-4","px-2","w-full h-16","flex items-center justify-between")},n.createElement(f,null),n.createElement("div",{className:(0,l.c)("flex items-center gap-4")},n.createElement(m.O,{onClick:t,active:!0}))),n.createElement("div",{className:(0,l.c)("relative","w-full max-w-[480px]","flex","flex-col","mx-auto","rounded-lg","border border-gray-300 dark:border-gray-600","flex flex-col gap-0")},n.createElement("div",{className:(0,l.c)("flex items-center justify-between","gap-10","px-4","py-4","border-b border-b-gray-200 dark:border-b-gray-600")},n.createElement("span",{className:(0,l.c)("text-sm","text-gray-800","dark:text-gray-100")},"Appearance"),n.createElement(p.O,null)),n.createElement("div",{className:(0,l.c)("flex items-center justify-between","gap-10","px-4","py-4","border-b border-b-gray-200 dark:border-b-gray-600")},n.createElement(u.c,{to:"/",className:(0,l.c)("text-sm","no-underline","hover:no-underline","font-semibold","text-gray-800 dark:text-gray-100")},"PrepVerse Home")),n.createElement("div",{className:(0,l.c)("flex items-center justify-between","gap-10","px-4","py-4","border-b border-b-gray-200 dark:border-b-gray-600")},n.createElement(u.c,{to:"/docs",className:(0,l.c)("text-sm","no-underline","hover:no-underline","font-semibold","text-gray-800 dark:text-gray-100")},"Docs")),n.createElement("div",{className:(0,l.c)("flex items-start justify-between","px-4","py-4","bg-gray-100 dark:bg-gray-700","flex-col tutorial-sm:flex-row","gap-4")},n.createElement("div",{className:(0,l.c)("dark:text-gray-100 text-gray-800","text-sm leading-6")},"Connect with me on"),n.createElement("div",{className:(0,l.c)("flex gap-4","dark:text-gray-400 text-gray-500")},N.AR.map((({href:e,icon:t},r)=>n.createElement("a",{key:r,href:e,target:"_blank",rel:"noreferrer",className:(0,l.c)("flex items-center no-underline")},n.createElement(t,{className:(0,l.c)("w-9 h-9 tutorial-sm:w-6 tutorial-sm:h-6")}))))))))))))),M=()=>{const[e,t]=n.useState(!1);return n.createElement("div",{className:(0,l.c)("w-full","flex","items-center","mx-auto","gap-6")},n.createElement("div",{className:(0,l.c)("flex-1","flex","justify-start","items-center","gap-6","tutorial-md:gap-12","max-w-[656px]")},n.createElement(f,null),n.createElement("div",{className:(0,l.c)("hidden","tutorial-sm:flex","flex-1")},n.createElement(C,null))),n.createElement("div",{className:(0,l.c)("flex-shrink-0","ml-auto","tutorial-lg:flex-1","flex","justify-end","items-center","gap-2")},n.createElement("div",{className:(0,l.c)("hidden tutorial-lg:flex","flex-1","items-center","justify-start","gap-2")},n.createElement(b.u,{label:"Language",parameter:"language"})),n.createElement("div",{className:(0,l.c)("hidden tutorial-md:flex items-center justify-start")},n.createElement(s.c,null)),n.createElement("div",{className:(0,l.c)("tutorial-md:hidden flex")},n.createElement(s.c,{CustomButton:n.forwardRef((function(e,t){return n.createElement(d.o,D(function(e){for(var t=1;tt(!0),active:e,className:"flex tutorial-md:!hidden"})),n.createElement(L,{isOpen:e,onClose:()=>t(!1)}))},z=()=>n.createElement("div",{className:(0,l.c)("flex tutorial-sm:hidden","pt-4","w-full","max-w-[464px]")},n.createElement(C,null)),B=n.memo((function(){return n.createElement(n.Fragment,null,n.createElement(S.Q,null),n.createElement("div",{className:(0,l.c)("flex items-center justify-center","flex-col","z-10","sticky","top-0","py-4 pb-[15px] tutorial-sm:pt-[15px] tutorial-sm:pb-[16px] px-4 tutorial-md:px-6 tutorial-md:pt-[11px] tutorial-md:pb-[10px]","bg-gray-0 dark:bg-gray-800","border-b border-gray-300 dark:border-gray-700")},n.createElement(M,null),n.createElement(z,null)))})),R=()=>n.createElement("footer",{className:(0,l.c)("hidden tutorial-md:block","py-4","px-4","dark:bg-gray-800 bg-gray-0","border-t dark:border-t-gray-700 border-t-gray-300")},n.createElement("div",{className:(0,l.c)("mx-auto","flex w-full items-center justify-between","flex-col-reverse sm:flex-row gap-8")},n.createElement("div",{className:(0,l.c)("text-sm","leading-6","dark:text-gray-400 text-gray-500")},"PrepVerse \xa9 ",(new Date).getFullYear()),n.createElement("div",{className:(0,l.c)("flex","flex-row","items-center","justify-end","flex-1","gap-12")},n.createElement(u.c,{to:"/",className:(0,l.c)("hover:no-underline","hover:text-refine-link-light","dark:hover:text-refine-link-dark")},"PrepVerse Home"),n.createElement(u.c,{to:"/docs",className:(0,l.c)("hover:no-underline","hover:text-refine-link-light","dark:hover:text-refine-link-dark")},"Docs"),n.createElement("div",{className:(0,l.c)("flex flex-col sm:flex-row justify-center items-center")},n.createElement("div",{className:(0,l.c)("dark:text-gray-100 text-gray-800","text-sm leading-6","sm:mr-4")},"Connect with me on"),n.createElement("div",{className:(0,l.c)("flex gap-4","dark:text-gray-400 text-gray-500","mt-4 sm:mt-0")},N.AR.map((({href:e,icon:t},r)=>n.createElement("a",{key:r,href:e,target:"_blank",rel:"noreferrer",className:(0,l.c)("flex items-center no-underline","hover:text-refine-link-light","dark:hover:text-refine-link-dark")},n.createElement(t,{className:(0,l.c)("w-9 h-9 sm:w-6 sm:h-6")}))))))))),G=e=>{const t=e.content;return n.createElement(c.A,{content:e.content},n.createElement(B,null),n.createElement("div",{className:(0,l.c)("flex items-start justify-start","w-full flex-1","flex-col","mx-auto")},n.createElement(a.c,null),n.createElement(i,null,n.createElement(t,null))),n.createElement(R,null))}}}]); \ No newline at end of file diff --git a/assets/js/7dfb83d7.19aed1c9.js b/assets/js/7dfb83d7.19aed1c9.js deleted file mode 100644 index 796615b9..00000000 --- a/assets/js/7dfb83d7.19aed1c9.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[7188],{5560:(e,t,r)=>{r.d(t,{c:()=>o});var a=r(1504);const o=(e,t="0px")=>{const[r,o]=a.useState(!1);return a.useEffect((()=>{var r;const a=null===(r=e)||void 0===r?void 0:r.current,n=new IntersectionObserver((([e])=>{o(e.isIntersecting)}),{rootMargin:t});return a&&n.observe(a),()=>{a&&n.unobserve(a)}}),[]),r}},9048:(e,t,r)=>{r.r(t),r.d(t,{default:()=>be,prepareUserState:()=>le});var a=r(1504),o=r(4971),n=r(3680),l=r(6968),c=r(8480),i=r(2640),s=r(3652),p=r(640),u=r(3688),m=r(9184),g=r(6280);const h={svgIcon:"svgIcon_Nx5c",small:"small_C5SE",medium:"medium_WaWC",large:"large_qndz",primary:"primary_G5ip",secondary:"secondary_OfjU",success:"success_LNW9",error:"error_HcRA",warning:"warning_iWaY",inherit:"inherit__8jQ"};function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function b(e,t){if(null==e)return{};var r,a,o=function(e,t){if(null==e)return{};var r,a,o={},n=Object.keys(e);for(a=0;a=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function f(e){const{svgClass:t,colorAttr:r,children:n,color:l="inherit",size:c="medium",viewBox:i="0 0 24 24"}=e,s=b(e,["svgClass","colorAttr","children","color","size","viewBox"]);return a.createElement("svg",function(e){for(var t=1;tt(e)>t(r)?1:t(r)>t(e)?-1:0)),r}const y=[{title:"3d-Background-Boxes",description:"3d-Background-Boxes",preview:null,website:"https://prepverse.github.io/portfolio/projects/General/3d-Background-Boxes",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/Others/21).%20%20JavaScript%203d-background-boxes",tags:["html","css","js"]},{title:"Age Calculator",description:"Age Calculator is a simple app that calculates your age based on the year you were born.",preview:null,website:"https://prepverse.github.io/portfolio/projects/Calculators/Age-Calculator",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/05%5D.%20Calculators%20Based%20Project/01).%20JavaScript%20Age-Calculator",tags:["html","css","js","calculators"]},{title:"Analog-Clock",description:"Analog-Clock",preview:null,website:"https://prepverse.github.io/portfolio/projects/Clock/Analog-Clock",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/06%5D.%20Clock%20Based%20Project/01).%20JavaScript%20Analog%20Clock",tags:["html","css","js","clock"]},{title:"Analog+Digital-Clock",description:"Analog+Digital-Clock",preview:null,website:"https://prepverse.github.io/portfolio/projects/Clock/Analog+Digital-Clock",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/06%5D.%20Clock%20Based%20Project/03).%20JavaScript%20Analog%2BDigital%20Clock",tags:["html","css","js","clock"]},{title:"Animated-Countdown",description:"Animated-Countdown",preview:null,website:"https://prepverse.github.io/portfolio/projects/Calculators/Animated-Countdown",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/05%5D.%20Calculators%20Based%20Project/08).%20JavaScript%20Animated-Countdown",tags:["html","css","js","calculators"]},{title:"Animated-Navigation",description:"Animated-Navigation",preview:null,website:"https://prepverse.github.io/portfolio/projects/Blog-Page/Animated-Navigation",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/02%5D.%20Blog%20Page%20Based%20Project/06).%20JavaScript%20Animated-Navigation",tags:["html","css","js","blogs"]},{title:"Auto-Text-Effect",description:"Auto-Text-Effect",preview:null,website:"https://prepverse.github.io/portfolio/projects/Editor-Based/Auto-Text-Effect",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/04%5D.%20Editor%20Based%20Project/08).%20JavaScript%20Auto-Text-Effect",tags:["html","css","js","editor"]},{title:"Background-Slider",description:"Background-Slider",preview:null,website:"https://prepverse.github.io/portfolio/projects/General/Background-Slider",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/Others/18).%20%20JavaScript%20Background-Slider",tags:["html","css","js"]},{title:"Blurry-Loading",description:"Blurry-Loading",preview:null,website:"https://prepverse.github.io/portfolio/projects/Blog-Page/Blurry-Loading",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/02%5D.%20Blog%20Page%20Based%20Project/19).%20JavaScript%20Blurry-Loading",tags:["html","css","js","blogs"]},{title:"Calculator With Voice Recognition",description:"Calculator With Voice Recognition Is A Simple App That Can Perform Basic Arithmetic Operations.",preview:null,website:"https://prepverse.github.io/portfolio/projects/Calculators/Calculator-with-Voice-Command",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/05%5D.%20Calculators%20Based%20Project/03).%20JavaScript%20Calculator-with-Voice-Command",tags:["html","css","js","calculators"]},{title:"Checkboxes",description:"Checkboxes",preview:null,website:"https://prepverse.github.io/portfolio/projects/General/Checkboxes",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/Others/26).%20%20JavaScript%20Checkboxes",tags:["html","css","js"]},{title:"Click-and-Drag",description:"Click-and-Drag",preview:null,website:"https://prepverse.github.io/portfolio/projects/General/Click-and-Drag",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/Others/16).%20JavaScript%20Click%20and%20Drag",tags:["html","css","js"]},{title:"CodePoint",description:"Personal site",preview:null,website:"https://prepverse.github.io/CodePoint",source:"https://github.com/PrepVerse/CodePoint",tags:["favorite","personal","design","opensource"]},{title:"Color Flipper",description:"Color Flipper Is A Simple App That Can Change The Background Color Of The Page.",preview:null,website:"https://prepverse.github.io/portfolio/projects/General/Color-flipper",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/Others/12).%20JavaScript%20color-flipper",tags:["html","css","js"]},{title:"Content-Placeholder",description:"Content-Placeholder",preview:null,website:"https://prepverse.github.io/portfolio/projects/Blog-Page/Content-Placeholder",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/02%5D.%20Blog%20Page%20Based%20Project/10).%20JavaScript%20content-placeholder",tags:["html","css","js","blogs"]},{title:"Countdown Timer",description:"Countdown Timer Is A Simple App That Can Count Down From A Given Time.",preview:null,website:"https://prepverse.github.io/portfolio/projects/Clock/Countdown-Timer",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/06%5D.%20Clock%20Based%20Project/06).%20JavaScript%20Countdown%20Timer",tags:["html","css","js","clock"]},{title:"Counter",description:"Counter",preview:null,website:"https://prepverse.github.io/portfolio/projects/Calculators/Counter",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/05%5D.%20Calculators%20Based%20Project/07).%20JavaScript%20counter",tags:["html","css","js","calculators"]},{title:"Country-Search-App",description:"Country Search App",preview:null,website:"https://prepverse.github.io/portfolio/projects/API-Based/Country-Search-App",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/01%5D.%20API%20Based%20Project/06).%20JavaScript%20Country-Search-App",tags:["html","css","js","api"]},{title:"CSS Variables With JS",description:"CSS Variables With JS Is A Simple App That Can Change Radius Of Image, Blur Effect On Image And Border Color Of Image.",preview:null,website:"https://prepverse.github.io/portfolio/projects/General/CSS-Variables/",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/Others/06).%20JavaScript%20CSS%20Variables",tags:["html","css","js"]},{title:"Custom-Video-Player",description:"Custom-Video-Player",preview:null,website:"https://prepverse.github.io/portfolio/projects/General/Custom-Video-Player",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/Others/03).%20JavaScript%20Custom%20Video%20Player",tags:["html","css","js"]},{title:"Digital-Clock",description:"Digital-Clock",preview:null,website:"https://prepverse.github.io/portfolio/projects/Clock/Digital-Clock",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/06%5D.%20Clock%20Based%20Project/02).%20JavaScript%20Digital%20Clock",tags:["html","css","js","clock"]},{title:"Double-Heart-Click",description:"Double-Heart-Click",preview:null,website:"https://prepverse.github.io/portfolio/projects/Blog-Page/Double-Heart-Click",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/02%5D.%20Blog%20Page%20Based%20Project/15).%20JavaScript%20double-heart-click",tags:["html","css","js","blogs"]},{title:"Double-Vertical-Slider",description:"Double-Vertical-Slider",preview:null,website:"https://prepverse.github.io/portfolio/projects/General/Double-Vertical-Slider",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/Others/19).%20%20JavaScript%20double-vertical-slider",tags:["html","css","js"]},{title:"Drag-n-Drop",description:"Drag-n-Drop",preview:null,website:"https://prepverse.github.io/portfolio/projects/General/Drag-n-Drop",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/Others/17).%20%20JavaScript%20drag-n-drop",tags:["html","css","js"]},{title:"Drawing-App",description:"Drawing-App",preview:null,website:"https://prepverse.github.io/portfolio/projects/Editor-Based/Drawing-App",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/04%5D.%20Editor%20Based%20Project/02).%20JavaScript%20Drawing-App",tags:["html","css","js","editor"]},{title:"Drink-Water",description:"Drink-Water",preview:null,website:"https://prepverse.github.io/portfolio/projects/Games/Drink-Water",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/03%5D.%20Games/05).%20JavaScript%20drink-water",tags:["html","css","js","games"]},{title:"Event-Keycodes",description:"Event-Keycodes",preview:null,website:"https://prepverse.github.io/portfolio/projects/General/Event-Keycodes",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/Others/24).%20%20JavaScript%20event-keycodes",tags:["html","css","js"]},{title:"Expanding-Cards",description:"Expanding-Cards",preview:null,website:"https://prepverse.github.io/portfolio/projects/General/Expanding-Cards",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/Others/08).%20%20JavaScript%20expanding-cards",tags:["html","css","js"]},{title:"FAQ-Collapse",description:"FAQ-Collapse",preview:null,website:"https://prepverse.github.io/portfolio/projects/Blog-Page/faq-Collapse",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/02%5D.%20Blog%20Page%20Based%20Project/11).%20JavaScript%20faq-collapse",tags:["html","css","js","blogs"]},{title:"Feedback-UI-Design",description:"Feedback-UI-Design",preview:null,website:"https://prepverse.github.io/portfolio/projects/Blog-Page/Feedback-UI-Design",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/02%5D.%20Blog%20Page%20Based%20Project/12).%20JavaScript%20feedback-ui-design",tags:["html","css","js","blogs"]},{title:"Flex-Panel-Gallery",description:"Flex-Panel-Gallery",preview:null,website:"https://prepverse.github.io/portfolio/projects/General/Flex-Panel-Gallery",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/Others/07).%20JavaScript%20Flex%20Panel%20Gallery",tags:["html","css","js"]},{title:"Follow-Along-Link-Highlighter",description:"Follow-Along-Link-Highlighter",preview:null,website:"https://prepverse.github.io/portfolio/projects/Blog-Page/Follow-Along-Link-Highlighter",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/02%5D.%20Blog%20Page%20Based%20Project/04).%20JavaScript%20Follow%20Along%20Link%20Highlighter",tags:["html","css","js","blogs"]},{title:"Form-Wave-Animation",description:"Form-Wave-Animation",preview:null,website:"https://prepverse.github.io/portfolio/projects/Blog-Page/Form-Wave-Animation",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/02%5D.%20Blog%20Page%20Based%20Project/17).%20JavaScript%20form-wave-animation",tags:["html","css","js","blogs"]},{title:"Fun-with-Drawing",description:"Fun-with-Drawing",preview:null,website:"https://prepverse.github.io/portfolio/projects/Editor-Based/Fun-with-Drawing",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/04%5D.%20Editor%20Based%20Project/01).%20JavaScript%20Fun%20with%20Drawing",tags:["html","css","js","editor"]},{title:"Github-Profiles",description:"Github Profiles",preview:null,website:"https://prepverse.github.io/portfolio/projects/API-Based/Github-Profiles",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/01%5D.%20API%20Based%20Project/01).%20JavaScript%20github-profiles",tags:["html","css","js","api"]},{title:"Grade-Percentage-Calcy",description:"Grade-Percentage-Calcy",preview:null,website:"https://prepverse.github.io/portfolio/projects/Calculators/Grade-Percentage-Calcy",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/05%5D.%20Calculators%20Based%20Project/04).%20JavaScript%20Grade-Percentage-Calcy",tags:["html","css","js","calculators"]},{title:"Hidden-Search-Widget",description:"Hidden-Search-Widget",preview:null,website:"https://prepverse.github.io/portfolio/projects/Blog-Page/Hidden-Search-Widget",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/02%5D.%20Blog%20Page%20Based%20Project/05).%20JavaScript%20hidden-search-widget",tags:["html","css","js","blogs"]},{title:"HMS-React-Php-GOLANG",description:"HMS-React-Php-GOLANG",preview:null,website:"https://hms-nikhil.netlify.app",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/02%5D.%20Blog%20Page%20Based%20Project/23).%20HMS-React-Php-GOLANG",tags:["html","css","js","react","php","blogs"]},{title:"Hold-Shift-and-Check-Checkboxes",description:"Hold-Shift-and-Check-Checkboxes",preview:null,website:"https://prepverse.github.io/portfolio/projects/General/Hold-Shift-and-Check-Checkboxes",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/Others/15).%20JavaScript%20Hold%20Shift%20and%20Check%20Checkboxes",tags:["html","css","js"]},{title:"Hoverboard",description:"Hoverboard",preview:null,website:"https://prepverse.github.io/portfolio/projects/General/Hoverboard",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/Others/11).%20%20JavaScript%20hoverboard",tags:["html","css","js"]},{title:"Image-Carousel",description:"Image-Carousel",preview:null,website:"https://prepverse.github.io/portfolio/projects/General/Image-Carousel",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/Others/20).%20%20JavaScript%20image-carousel",tags:["html","css","js"]},{title:"Incrementing-Counter",description:"Incrementing-Counter",preview:null,website:"https://prepverse.github.io/portfolio/projects/Blog-Page/Incrementing-Counter",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/02%5D.%20Blog%20Page%20Based%20Project/13).%20JavaScript%20incrementing-counter",tags:["html","css","js","blogs"]},{title:"Insect-Catch-Game",description:"Insect-Catch-Game",preview:null,website:"https://prepverse.github.io/portfolio/projects/Games/Insect-Catch-Game",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/03%5D.%20Games/02).%20JavaScript%20insect-catch-game",tags:["html","css","js","games"]},{title:"JS-Issue-Tracker",description:"JS-Issue-Tracker",preview:null,website:"https://prepverse.github.io/portfolio/projects/API-Based/JS-Issue-Tracker",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/01%5D.%20API%20Based%20Project/05).%20JS-Issue-Tracker",tags:["html","css","js","api"]},{title:"Kinetic-CSS-Loader",description:"Kinetic-CSS-Loader",preview:null,website:"https://prepverse.github.io/portfolio/projects/Blog-Page/Kinetic-CSS-Loader",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/02%5D.%20Blog%20Page%20Based%20Project/08).%20JavaScript%20kinetic-css-loader",tags:["html","css","js","blogs"]},{title:"LeetVerse",description:"Personal site",preview:null,website:"https://prepverse.github.io/LeetVerse",source:"https://github.com/PrepVerse/LeetVerse",tags:["favorite","personal","design","opensource","api"]},{title:"LocalStorage",description:"LocalStorage",preview:null,website:"https://prepverse.github.io/portfolio/projects/General/LocalStorage/",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/Others/13).%20JavaScript%20LocalStorage",tags:["html","css","js"]},{title:"Mobile-Tab-Navigation",description:"Mobile-Tab-Navigation",preview:null,website:"https://prepverse.github.io/portfolio/projects/Blog-Page/Mobile-Tab-Navigation",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/02%5D.%20Blog%20Page%20Based%20Project/14).%20JavaScript%20mobile-tab-navigation",tags:["html","css","js","blogs"]},{title:"Mouse-Move-Shadow",description:"Mouse-Move-Shadow",preview:null,website:"https://prepverse.github.io/portfolio/projects/General/Mouse-Move-Shadow/",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/Others/10).%20JavaScript%20Mouse%20Move%20Shadow",tags:["html","css","js"]},{title:"Movie-App",description:"Movie-App",preview:null,website:"https://prepverse.github.io/portfolio/projects/API-Based/Movie-App",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/01%5D.%20API%20Based%20Project/04).%20JavaScript%20movie-app",tags:["html","css","js","api"]},{title:"Music-Player",description:"Music-Player",preview:null,website:"https://prepverse.github.io/portfolio/projects/General/Music-Player",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/Others/02).%20%20JavaScript%20Music-Player",tags:["html","css","js"]},{title:"Netflix-Clone",description:"Netflix-Clone",preview:null,website:"https://netflix-clone-b1517.web.app",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/ReactJS%20Projects/02).%20Netflix%20Clone",tags:["react"]},{title:"Notes-App",description:"Notes-App",preview:null,website:"https://prepverse.github.io/portfolio/projects/Editor-Based/Notes-App",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/04%5D.%20Editor%20Based%20Project/04).%20JavaScript%20Notes-App",tags:["html","css","js","editor"]},{title:"Number-Guess",description:"Number-Guess",preview:null,website:"https://prepverse.github.io/portfolio/projects/Games/Number-Guess",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/03%5D.%20Games/04).%20JavaScript%20Number-Guess",tags:["html","css","js","games"]},{title:"Paragraph-Generator",description:"Paragraph-Generator",preview:null,website:"https://prepverse.github.io/portfolio/projects/Editor-Based/Paragraph-Generator",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/04%5D.%20Editor%20Based%20Project/12).%20JavaScript%20Paragraph%20Generator",tags:["html","css","js","editor"]},{title:"Password-Generator",description:"Password-Generator",preview:null,website:"https://prepverse.github.io/portfolio/projects/Editor-Based/Password-Generator",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/04%5D.%20Editor%20Based%20Project/11).%20JavaScript%20Password%20Generator",tags:["html","css","js","editor"]},{title:"Password-Strength-Background",description:"Password-Strength-Background",preview:null,website:"https://prepverse.github.io/portfolio/projects/Blog-Page/Password-Strength-Background",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/02%5D.%20Blog%20Page%20Based%20Project/21).%20JavaScript%20password-strength-background",tags:["html","css","js","blogs"]},{title:"Percentage-Calculator",description:"Percentage-Calculator",preview:null,website:"https://prepverse.github.io/portfolio/projects/Calculators/Percentage-Calculator",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/05%5D.%20Calculators%20Based%20Project/02).%20JavaScript%20Percentage%20Calculator",tags:["html","css","js","calculators"]},{title:"Portfolio",description:"My portfolio web page",preview:null,website:"https://prepverse.github.io/portfolio",source:"https://github.com/PrepVerse/portfolio",tags:["favorite","personal","design","html","css","js"]},{title:"Progress-Steps",description:"Progress-Steps",preview:null,website:"https://prepverse.github.io/portfolio/projects/General/Progress-Steps",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/Others/25).%20%20JavaScript%20progress-steps",tags:["html","css","js"]},{title:"Quiz-Application-with-Timer",description:"Quiz-Application-with-Timer",preview:null,website:"https://prepverse.github.io/portfolio/projects/General/Quiz-Application-with-Timer",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/Others/23).%20JavaScript%20Quiz%20Application%20with%20Timer",tags:["html","css","js"]},{title:"Random-Choice-Picker",description:"Random-Choice-Picker",preview:null,website:"https://prepverse.github.io/portfolio/projects/Editor-Based/Random-Choice-Picker",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/04%5D.%20Editor%20Based%20Project/06).%20JavaScript%20random-choice-picker",tags:["html","css","js","editor"]},{title:"Random-Image-Feed",description:"Random-Image-Feed",preview:null,website:"https://prepverse.github.io/portfolio/projects/General/Random-Image-Feed",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/Others/22).%20%20JavaScript%20random-image-feed",tags:["html","css","js"]},{title:"Rotation-Navigation",description:"Rotation-Navigation",preview:null,website:"https://prepverse.github.io/portfolio/projects/Blog-Page/Rotation-Navigation",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/02%5D.%20Blog%20Page%20Based%20Project/07).%20JavaScript%20rotation-navigation",tags:["html","css","js","blogs"]},{title:"Scroll-Animation",description:"Scroll-Animation",preview:null,website:"https://prepverse.github.io/portfolio/projects/Blog-Page/Scroll-Animation",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/02%5D.%20Blog%20Page%20Based%20Project/20).%20JavaScript%20scroll-animation",tags:["html","css","js","blogs"]},{title:"Simple-Text-Editor",description:"Simple-Text-Editor",preview:null,website:"https://prepverse.github.io/portfolio/projects/Editor-Based/Simple-Text-Editor",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/04%5D.%20Editor%20Based%20Project/05).%20JavaScript%20Simple-Text-Editor",tags:["html","css","js","editor"]},{title:"Slide-in-on-Scroll",description:"Slide-in-on-Scroll",preview:null,website:"https://prepverse.github.io/portfolio/projects/Blog-Page/Slide-in-on-Scroll",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/02%5D.%20Blog%20Page%20Based%20Project/09).%20JavaScript%20Slide%20in%20on%20Scroll",tags:["html","css","js","blogs"]},{title:"Solar-System",description:"Solar-System",preview:null,website:"https://prepverse.github.io/portfolio/projects/Games/Solar-System",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/03%5D.%20Games/05).%20JavaScript%20Solar-System",tags:["html","css","js","games"]},{title:"Sound-btn",description:"Sound-btn",preview:null,website:"https://prepverse.github.io/portfolio/projects/General/Sound-btn",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/Others/05).%20%20JavaScript%20sound-btn",tags:["html","css","js"]},{title:"Speech-Synthesis",description:"Speech-Synthesis",preview:null,website:"https://prepverse.github.io/portfolio/projects/Editor-Based/Speech-Synthesis",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/04%5D.%20Editor%20Based%20Project/09).%20JavaScript%20Speech%20Synthesis",tags:["html","css","js","editor"]},{title:"Speech-Text-Reader",description:"Speech-Text-Reader",preview:null,website:"https://prepverse.github.io/portfolio/projects/Editor-Based/Speech-Text-Reader",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/04%5D.%20Editor%20Based%20Project/10).%20JavaScript%20Speech-Text-Reader",tags:["html","css","js","editor"]},{title:"Split-Landing-Page",description:"Split-Landing-Page",preview:null,website:"https://prepverse.github.io/portfolio/projects/Blog-Page/Split-Landing-Page",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/02%5D.%20Blog%20Page%20Based%20Project/22).%20JavaScript%20split-landing-page",tags:["html","css","js","blogs"]},{title:"Sticky-Nav",description:"Sticky-Nav",preview:null,website:"https://prepverse.github.io/portfolio/projects/Blog-Page/Sticky-Nav",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/02%5D.%20Blog%20Page%20Based%20Project/02).%20JavaScript%20Sticky%20Nav",tags:["html","css","js","blogs"]},{title:"Sticky-Navbar",description:"Sticky-Navbar",preview:null,website:"https://prepverse.github.io/portfolio/projects/Blog-Page/Sticky-Navbar",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/02%5D.%20Blog%20Page%20Based%20Project/03).%20JavaScript%20Sticky-Navbar",tags:["html","css","js","blogs"]},{title:"Stop-Watch",description:"Stop-Watch",preview:null,website:"https://prepverse.github.io/portfolio/projects/Clock/Stop-Watch",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/06%5D.%20Clock%20Based%20Project/05).%20JavaScript%20Stop-Watch",tags:["html","css","js","clock"]},{title:"Stripe-Follow-Along-Nav",description:"Stripe-Follow-Along-Nav",preview:null,website:"https://prepverse.github.io/portfolio/projects/Blog-Page/Stripe-Follow-Along-Nav",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/02%5D.%20Blog%20Page%20Based%20Project/01).%20JavaScript%20%20Stripe%20Follow%20Along%20Nav",tags:["html","css","js","blogs"]},{title:"Temperature-Converter",description:"Temperature-Converter",preview:null,website:"https://prepverse.github.io/portfolio/projects/Calculators/Temperature-Converter",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/05%5D.%20Calculators%20Based%20Project/05).%20JavaScript%20Temperature-Converter",tags:["html","css","js","calculators"]},{title:"Testimonial-Box-Switcher",description:"Testimonial-Box-Switcher",preview:null,website:"https://prepverse.github.io/portfolio/projects/Blog-Page/Testimonial-Box-Switcher",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/02%5D.%20Blog%20Page%20Based%20Project/16).%20JavaScript%20testimonial-box-switcher",tags:["html","css","js","blogs"]},{title:"Tetris-Game",description:"Tetris-Game",preview:null,website:"https://prepverse.github.io/portfolio/projects/Games/Tetris-Game",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/03%5D.%20Games/03).%20JavaScript%20Tetris-Game",tags:["html","css","js","games"]},{title:"Textogram",description:"Textogram",preview:null,website:"https://prepverse.github.io/portfolio/projects/Editor-Based/Textogram",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/04%5D.%20Editor%20Based%20Project/07).%20JavaScript-Textogram",tags:["html","css","js","editor"]},{title:"Theme-Clock",description:"Theme-Clock",preview:null,website:"https://prepverse.github.io/portfolio/projects/Clock/Theme-Clock",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/06%5D.%20Clock%20Based%20Project/04).%20JavaScript%20Theme-Clock",tags:["html","css","js","clock"]},{title:"Todo App",description:"Todo App",preview:null,website:"https://prepverse.github.io/portfolio/projects/General/Todo App",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/Others/14).%20Javascript%20Todo%20App",tags:["html","css","js"]},{title:"Type-Ahead",description:"Type-Ahead",preview:null,website:"https://prepverse.github.io/portfolio/projects/API-Based/Type-Ahead",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/01%5D.%20API%20Based%20Project/07).%20JavaScript%20Type%20Ahead",tags:["html","css","js","api"]},{title:"University-Website",description:"University-Website",preview:null,website:"https://prepverse.github.io/portfolio/projects/Blog-Page/University-Website",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/02%5D.%20Blog%20Page%20Based%20Project/24).%20University%20Website%20Using%20Javascript%20And%20Bootstrap",tags:["html","css","js","blogs"]},{title:"Verify-Account-UI",description:"Verify-Account-UI",preview:null,website:"https://prepverse.github.io/portfolio/projects/Blog-Page/Verify-Account-UI",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/02%5D.%20Blog%20Page%20Based%20Project/18).%20JavaScript%20verify-account-ui",tags:["html","css","js","blogs"]},{title:"Video-Speed-Controller",description:"Video-Speed-Controller",preview:null,website:"https://prepverse.github.io/portfolio/projects/General/Video-Speed-Controller/",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/Others/04).%20JavaScript%20Video%20Speed%20Controller",tags:["html","css","js"]},{title:"Weather",description:"Weather",preview:null,website:"https://prepverse.github.io/portfolio/projects/API-Based/Weather",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/01%5D.%20API%20Based%20Project/03).%20JavaScript%20Weather",tags:["html","css","js","api"]},{title:"Weather-App",description:"Weather-App",preview:null,website:"https://prepverse.github.io/portfolio/projects/API-Based/Weather-App",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/01%5D.%20API%20Based%20Project/02).%20JavaScript%20weather-app",tags:["html","css","js","api"]},{title:"Webcam-Fun",description:"Webcam-Fun",preview:null,website:"https://prepverse.github.io/portfolio/projects/General/Webcam-Fun",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/Others/09).%20JavaScript%20Webcam%20Fun",tags:["html","css","js"]},{title:"Web Drum Kit",description:"Web Drum Kit Is A Simple App That Can Play A Drum Sound When A Key Is Pressed.",preview:null,website:"https://prepverse.github.io/portfolio/projects/General/Drum-Kit/",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/Others/01).%20JavaScript%20Drum%20Kit",tags:["html","css","js"]},{title:"WeKeep-Notes",description:"WeKeep-Notes",preview:null,website:"https://prepverse.github.io/portfolio/projects/Editor-Based/WeKeep-Notes",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/04%5D.%20Editor%20Based%20Project/03).%20JavaScript%20WeKeep-Notes",tags:["html","css","js","editor"]},{title:"Whack-A-Mole",description:"Whack-A-Mole",preview:null,website:"https://prepverse.github.io/portfolio/projects/Games/Whack-A-Mole/",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/03%5D.%20Games/01).%20JavaScript%20Whack%20A%20Mole",tags:["html","css","js","games"]},{title:"Words-Counter",description:"Words-Counter",preview:null,website:"https://prepverse.github.io/portfolio/projects/Calculators/Words-Counter",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/05%5D.%20Calculators%20Based%20Project/06).%20JavaScript%20Words-Counter",tags:["html","css","js","calculators"]}],j={favorite:{label:(0,s.G)({message:"Favorite"}),description:(0,s.G)({message:"Our favorite PrepVerse projects that you must absolutely check out!",id:"showcase.tag.favorite.description"}),color:"#e9669e"},api:{label:(0,s.G)({message:"API"}),description:(0,s.G)({message:"API based PrepVerse projects that you must absolutely check out!",id:"showcase.tag.api.description"}),color:"#39ca30"},blogs:{label:(0,s.G)({message:"Blogs"}),description:(0,s.G)({message:"Blogs elements as PrepVerse projects",id:"showcase.tag.blogs.description"}),color:"#ff6347"},calculators:{label:(0,s.G)({message:"Calculators"}),description:(0,s.G)({message:"Calculators based PrepVerse projects",id:"showcase.tag.calculators.description"}),color:"#dfd545"},clock:{label:(0,s.G)({message:"Clock"}),description:(0,s.G)({message:"Clock based PrepVerse projects",id:"showcase.tag.clock.description"}),color:"#ff0000"},design:{label:(0,s.G)({message:"Design"}),description:(0,s.G)({message:"Beautiful PrepVerse projects, polished and standing out from the initial template!",id:"showcase.tag.design.description"}),color:"#a44fb7"},editor:{label:(0,s.G)({message:"Editor"}),description:(0,s.G)({message:"Editor elements as PrepVerse projects",id:"showcase.tag.editor.description"}),color:"#dfd545"},games:{label:(0,s.G)({message:"Games"}),description:(0,s.G)({message:"Games based PrepVerse projects",id:"showcase.tag.games.description"}),color:"#00ff7f"},opensource:{label:(0,s.G)({message:"Open-Source"}),description:(0,s.G)({message:"Open-Source PrepVerse projects can be useful for inspiration!",id:"showcase.tag.opensource.description"}),color:"#39ca30"},personal:{label:(0,s.G)({message:"Personal"}),description:(0,s.G)({message:"Personal websites, blogs and digital gardens",id:"showcase.tag.personal.description"}),color:"#14cfc3"},html:{label:(0,s.G)({message:"HTML"}),description:(0,s.G)({message:"PrepVerse projects using the html feature",id:"showcase.tag.html.description"}),color:"#fe6829"},css:{label:(0,s.G)({message:"CSS"}),description:(0,s.G)({message:"PrepVerse projects using the css feature",id:"showcase.tag.css.description"}),color:"#127f82"},js:{label:(0,s.G)({message:"JavaScript"}),description:(0,s.G)({message:"PrepVerse projects using the js feature",id:"showcase.tag.js.description"}),color:"#dfd545"},react:{label:(0,s.G)({message:"ReactJS"}),description:(0,s.G)({message:"PrepVerse projects using the react feature",id:"showcase.tag.react.description"}),color:"#008b8b"},node:{label:(0,s.G)({message:"NodeJS"}),description:(0,s.G)({message:"PrepVerse projects using the node feature",id:"showcase.tag.node.description"}),color:"#006400"},php:{label:(0,s.G)({message:"PHP"}),description:(0,s.G)({message:"PrepVerse projects using the php feature",id:"showcase.tag.php.description"}),color:"#1e90fe"}},P=Object.keys(j);const C=function(){let e=y;return e=w(e,(e=>e.title.toLowerCase())),e=w(e,(e=>!e.tags.includes("favorite"))),e}(),O="checkboxLabel_vxMa";function E(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function x(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}const A="tags";function D(e){return new URLSearchParams(e).getAll(A)}function N(e,t){var{id:r,icon:o,label:n,tag:l}=e,c=k(e,["id","icon","label","tag"]);const i=(0,p.IT)(),s=(0,p.Uz)(),[u,m]=(0,a.useState)(!1);(0,a.useEffect)((()=>{const e=D(i.search);m(e.includes(l))}),[l,i]);const g=(0,a.useCallback)((()=>{const e=function(e,t){const r=e.indexOf(t);if(-1===r)return e.concat(t);const a=[...e];return a.splice(r,1),a}(D(i.search),l),t=function(e,t){const r=new URLSearchParams(e);return r.delete(A),t.forEach((e=>r.append(A,e))),r.toString()}(i.search,e);s.push(S(x({},i),{search:t,state:le()}))}),[l,i,s]);return a.createElement(a.Fragment,null,a.createElement("input",x({type:"checkbox",id:r,className:"screen-reader-only",onKeyDown:e=>{"Enter"===e.key&&g()},onFocus:e=>{var t,r;e.relatedTarget&&(null===(r=e.target.nextElementSibling)||void 0===r||null===(t=r.dispatchEvent)||void 0===t||t.call(r,new KeyboardEvent("focus")))},onBlur:e=>{var t,r;null===(r=e.target.nextElementSibling)||void 0===r||null===(t=r.dispatchEvent)||void 0===t||t.call(r,new KeyboardEvent("blur"))},onChange:g,checked:u},c)),a.createElement("label",{ref:t,htmlFor:r,className:O},n,o))}const B=a.forwardRef(N),G={checkboxLabel:"checkboxLabel_WGTY"};function F(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function T(e){for(var t=1;t{l("AND"===M(t.search))}),[t]);const c=(0,a.useCallback)((()=>{l((e=>!e));const e=new URLSearchParams(t.search);e.delete(J),n||e.append(J,"AND"),r.push(L(T({},t),{search:e.toString(),state:le()}))}),[n,t,r]);return a.createElement("div",{className:"row",style:{alignItems:"center"}},a.createElement("input",{type:"checkbox",id:e,className:"screen-reader-only","aria-label":"Toggle between or and and for the tags you selected",onChange:c,onKeyDown:e=>{"Enter"===e.key&&c()},checked:n}),a.createElement("label",{htmlFor:e,className:(0,o.c)(G.checkboxLabel,"shadow--md")},a.createElement("span",{className:G.checkboxLabelOr},"OR"),a.createElement("span",{className:G.checkboxLabelAnd},"AND")),a.createElement("button",{className:"button button--outline button--primary",type:"button",onClick:()=>{r.push(L(T({},t),{search:"",state:le()}))}},"Clear All"))}var V=r(7104),H=r(4864);const R={tooltip:"tooltip_j_Qe",tooltipArrow:"tooltipArrow_NLUH"};function I(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Z({children:e,id:t,anchorEl:r,text:o}){const[n,l]=(0,a.useState)(!1),[c,i]=(0,a.useState)(null),[s,p]=(0,a.useState)(null),[u,m]=(0,a.useState)(null),[g,h]=(0,a.useState)(null),{styles:d,attributes:b}=(0,H.W)(c,s,{modifiers:[{name:"arrow",options:{element:u}},{name:"offset",options:{offset:[0,8]}}]}),f=(0,a.useRef)(null),v=`${t}_tooltip`;return(0,a.useEffect)((()=>{h(r?"string"==typeof r?document.querySelector(r):r:document.body)}),[g,r]),(0,a.useEffect)((()=>{const e=["mouseenter","focus"],t=["mouseleave","blur"],r=()=>{var e,t;""!==o&&(null===(t=c)||void 0===t||null===(e=t.removeAttribute)||void 0===e||e.call(t,"title"),f.current=window.setTimeout((()=>{l(!0)}),400))},a=()=>{clearInterval(f.current),l(!1)};return c&&(e.forEach((e=>{c.addEventListener(e,r)})),t.forEach((e=>{c.addEventListener(e,a)}))),()=>{c&&(e.forEach((e=>{c.removeEventListener(e,r)})),t.forEach((e=>{c.removeEventListener(e,a)})))}}),[c,o]),a.createElement(a.Fragment,null,a.cloneElement(e,{ref:i,"aria-describedby":n?v:void 0}),g?V.createPortal(n&&a.createElement("div",function(e){for(var t=1;ta.createElement("li",{ref:o,className:_.tag,title:r},a.createElement("span",{className:_.textLabel},e.toLowerCase()),a.createElement("span",{className:_.colorLabel,style:{backgroundColor:t}}))));function q({tags:e}){const t=w(e.map((e=>K({tag:e},j[e]))),(e=>P.indexOf(e.tag)));return a.createElement(a.Fragment,null,t.map(((e,t)=>{const r=`showcase_card_tag_${e.tag}`;return a.createElement(Z,{key:t,text:e.description,anchorEl:"#__docusaurus",id:r},a.createElement(Q,K({key:t},e)))})))}function Y({user:e}){const t=function(e){var t;return null!==(t=e.preview)&&void 0!==t?t:`https://slorber-api-screenshot.netlify.app/${encodeURIComponent(e.website)}/showcase`}(e);return a.createElement("li",{key:e.title,className:"card shadow--md"},a.createElement("div",{className:(0,o.c)("card__image",_.showcaseCardImage)},a.createElement("img",{src:t,alt:e.title})),a.createElement("div",{className:"card__body"},a.createElement("div",{className:(0,o.c)(_.showcaseCardHeader)},a.createElement("h4",{className:(0,o.c)("text-cyan-800 dark:text-cyan-500","font-bold",_.showcaseCardTitle)},e.title),e.tags.includes("favorite")&&a.createElement(v,{svgClass:_.svgIconFavorite,size:"small"})),a.createElement("p",{className:_.showcaseCardBody},e.description)),a.createElement("ul",{className:(0,o.c)("card__footer",_.cardFooter)},a.createElement(q,{tags:e.tags})),a.createElement("div",{className:(0,o.c)("flex justify-between items-center","px-4 2xl:px-4 pt-4 2xl:pt-6 pb-2 2xl:pb-2 mt-auto","text-sm 2xl:text-base")},e.source&&a.createElement(m.c,{href:e.source,className:(0,o.c)("no-underline","select-none","group/project-link-button","relative","w-max","flex","items-center","gap-1 landing-md:gap-1","pl-2 py-2 pr-3","landing-md:pl-2 landing-md:py-2 landing-md:pr-3","rounded-full","dark:bg-refine-cyan-alt/10 bg-refine-blue/10","dark:text-refine-cyan-alt text-refine-blue","hover:no-underline","overflow-hidden",_.showcaseCardLink)},a.createElement(U.i,{width:16,height:16}),a.createElement("span",{className:(0,o.c)("font-semibold","text-xs landing-md:text-base")},"Source code")),e.website&&a.createElement(m.c,{href:e.website,className:(0,o.c)("no-underline","select-none","group/project-link-button","relative","w-max","flex","items-center","gap-1 landing-md:gap-1","pl-2 py-2 pr-3","rounded-full","dark:bg-refine-cyan-alt/10 bg-refine-blue/10","dark:text-refine-cyan-alt text-refine-blue","hover:no-underline","overflow-hidden",_.showcaseCardLink)},a.createElement(z.i,{width:16,height:16}),a.createElement("span",{className:(0,o.c)("font-semibold","text-xs landing-md:text-base")},"Live demo"))))}const X=a.memo(Y),ee={filterCheckbox:"filterCheckbox_IByC",checkboxList:"checkboxList_TMoE",checkboxListItem:"checkboxListItem_bvhq",searchContainer:"searchContainer_AU74",showcaseList:"showcaseList_IWjR",showcaseFavorite:"showcaseFavorite_dfS5",showcaseFavoriteHeader:"showcaseFavoriteHeader_INmp",svgIconFavoriteXs:"svgIconFavoriteXs_REdU",svgIconFavorite:"svgIconFavorite_glga",dragBox:"dragBox_jKWK",siteInfo:"siteInfo_cbUr"};r(9928);function te(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function re(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const ae=(0,s.G)({message:"Open Source Projects Showcase"}),oe=(0,s.G)({message:"List of Open Source projects in web-devlopments, app-devlopments, machine-learning, data-science"}),ne="https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects";function le(){var e;if(i.c.canUseDOM)return{scrollTopPosition:window.scrollY,focusedElementId:null===(e=document.activeElement)||void 0===e?void 0:e.id}}const ce="name";function ie(e){return new URLSearchParams(e).get(ce)}function se(){const e=(0,p.IT)(),[t,r]=(0,a.useState)("OR"),[o,n]=(0,a.useState)([]),[l,c]=(0,a.useState)(null);return(0,a.useEffect)((()=>{n(D(e.search)),r(M(e.search)),c(ie(e.search)),function(e){var t,r;const{scrollTopPosition:a,focusedElementId:o}=null!=e?e:{scrollTopPosition:0,focusedElementId:void 0};null===(r=document.getElementById(o))||void 0===r||null===(t=r.focus)||void 0===t||t.call(r),window.scrollTo({top:a})}(e.state)}),[e]),(0,a.useMemo)((()=>function(e,t,r,a){return a&&(e=e.filter((e=>e.title.toLowerCase().includes(a.toLowerCase())))),0===t.length?e:e.filter((e=>0!==e.tags.length&&("AND"===r?t.every((t=>e.tags.includes(t))):t.some((t=>e.tags.includes(t))))))}(C,o,t,l)),[o,t,l])}function pe(){return a.createElement("section",{className:"margin-top--lg text--center"},a.createElement("h1",{className:(0,o.c)("text-3xl","font-bold","text-transparent bg-clip-text bg-gradient-to-r text-gradient-to-r from-[#FF9933] to-[#FF4C4D]")},ae),a.createElement("p",null,oe),a.createElement(m.c,{className:"margin-top--lg button button--primary rounded-full",to:ne},a.createElement(s.c,{id:"showcase.header.button"},"Add your projects")))}function ue(){const e=se(),t=function(){const{selectMessage:e}=(0,u.A)();return t=>e(t,(0,s.G)({id:"showcase.filters.resultCount",description:'Pluralized label for the number of sites found on the showcase. Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)',message:"1 site|{sitesCount} sites"},{sitesCount:t}))}();return a.createElement("section",{className:"container margin-top--l margin-bottom--lg"},a.createElement("div",{className:(0,o.c)("margin-bottom--sm",ee.filterCheckbox)},a.createElement("div",null,a.createElement("h2",{className:(0,o.c)("text-2xl","font-bold")},a.createElement(s.c,{id:"showcase.filters.title"},"Filters")),a.createElement("span",null,t(e.length))),a.createElement(W,null)),a.createElement("ul",{className:(0,o.c)("clean-list",ee.checkboxList)},P.map(((e,t)=>{const{label:r,description:o,color:n}=j[e],l=`showcase_checkbox_id_${e}`;return a.createElement("li",{key:t,className:ee.checkboxListItem},a.createElement(Z,{id:l,text:o,anchorEl:"#__docusaurus"},a.createElement(B,{tag:e,id:l,label:r,icon:"favorite"===e?a.createElement(v,{svgClass:ee.svgIconFavoriteXs}):a.createElement("span",{style:{backgroundColor:n,width:10,height:10,borderRadius:"50%",marginLeft:8}})})))}))))}const me=C.filter((e=>e.tags.includes("favorite"))),ge=C.filter((e=>!e.tags.includes("favorite")));function he(){const e=(0,p.Uz)(),t=(0,p.IT)(),[r,o]=(0,a.useState)(null);return(0,a.useEffect)((()=>{o(ie(t.search))}),[t]),a.createElement("div",{className:ee.searchContainer},a.createElement("input",{id:"searchbar",placeholder:(0,s.G)({message:"Search for site name...",id:"showcase.searchBar.placeholder"}),value:null!=r?r:void 0,onInput:r=>{o(r.currentTarget.value);const a=new URLSearchParams(t.search);a.delete(ce),r.currentTarget.value&&a.set(ce,r.currentTarget.value),e.push(re(function(e){for(var t=1;t{var e,t;null===(t=document.getElementById("searchbar"))||void 0===t||null===(e=t.focus)||void 0===e||e.call(t)}),0)}}))}function de(){const e=se();return 0===e.length?a.createElement("section",{className:"margin-top--lg margin-bottom--xl"},a.createElement("div",{className:"container padding-vert--md text--center"},a.createElement("h2",{className:(0,o.c)("text-xl","font-bold")},a.createElement(s.c,{id:"showcase.usersList.noResult"},"No result")))):a.createElement("section",{className:"margin-top--lg margin-bottom--xl"},e.length===C.length?a.createElement(a.Fragment,null,a.createElement("div",{className:ee.showcaseFavorite},a.createElement("div",{className:"container"},a.createElement("div",{className:(0,o.c)("margin-bottom--md",ee.showcaseFavoriteHeader)},a.createElement("h2",{className:(0,o.c)("text-xl","font-bold")},a.createElement(s.c,{id:"showcase.favoritesList.title"},"My favorites")),a.createElement(v,{svgClass:ee.svgIconFavorite})),a.createElement("ul",{className:(0,o.c)("container","clean-list",ee.showcaseList)},me.map((e=>a.createElement(X,{key:e.title,user:e})))))),a.createElement("div",{className:"container margin-top--lg"},a.createElement("h2",{className:(0,o.c)("text-xl","font-bold")},a.createElement(s.c,{id:"showcase.usersList.allUsers"},"All Projects")),a.createElement("ul",{className:(0,o.c)("clean-list",ee.showcaseList)},ge.map((e=>a.createElement(X,{key:e.title,user:e})))))):a.createElement("div",{className:"container"},a.createElement("div",{className:(0,o.c)("margin-bottom--md",ee.showcaseFavoriteHeader)}),a.createElement("ul",{className:(0,o.c)("clean-list",ee.showcaseList)},e.map((e=>a.createElement(X,{key:e.title,user:e}))))))}function be(){a.useRef(null);return a.createElement(c.C,null,a.createElement(l.m,null),a.createElement("div",{className:(0,o.c)("w-full","mx-auto","landing-lg:max-w-[1300px]")},a.createElement(pe,null),a.createElement(ue,null),a.createElement("div",{style:{display:"flex",marginLeft:"auto"},className:"container"},a.createElement(he,null)),a.createElement(de,null)),a.createElement(n.u,null),a.createElement(g.c,null))}},3680:(e,t,r)=>{r.d(t,{u:()=>n});var a=r(1504),o=r(3120);const n=e=>a.createElement(o.E,e)},6968:(e,t,r)=>{r.d(t,{m:()=>U});var a=r(9184),o=r(4971),n=r(3200),l=r(344),c=r(6076),i=r(1504),s=r(1980),p=r(8804),u=r(6098);const m=[{isPopover:!0,label:"Docs",items:[{label:"Foundation Docs",description:"Learn C++, Python & Java",link:"/docs",icon:u.C3},{label:"DSA Docs",description:"Learning DSA in C++, Python & Java",link:"/docs/1.DS.Algo",icon:u.uI}]},{isPopover:!0,label:"CodePoint",items:[{label:"Expert Sheet Solutions",description:"Most popular coding questions solutions asked during SDE interviews.",link:"https://prepverse.github.io/CodePoint/preface",icon:u.C3},{label:"Coding Ninjas Series",description:"Coding Ninjas Studio Guided Path Solutions",link:"https://prepverse.github.io/CodePoint/learning_resources/CN_Series/preface",icon:u.oh},{label:"LeetVerse",description:"Leetcode problem solutions with full probelm statements in C++, Python & Java",link:"https://prepverse.github.io/LeetVerse",icon:u.Ew}]},{isPopover:!0,label:"About",items:[{label:"About Me",description:"My information.",link:"/AkashSingh3031",icon:u.kv},{label:"Project Showcase",description:"PrepVerse open-source projects",link:"/showcase",icon:u.w9},{label:"My Portfolio",description:"All info about me",link:"https://prepverse.github.io/portfolio",icon:u.BE}]},{isPopover:!1,label:"Blog",href:"/blog",icon:u.s1},{isPopover:!1,label:"PrepVerse Community",href:"/prepverse-community",icon:u.vn}],g=({item:e,variant:t="landing"})=>{const r=e.icon;return i.createElement(a.c,{to:e.link,className:"no-underline"},i.createElement("div",{className:(0,o.c)("flex items-center","p-4","transition duration-150 ease-in-out","rounded-lg","hover:bg-gray-100","landing"===t&&"dark:hover:bg-gray-800","blog"===t&&"dark:hover:bg-refine-react-8")},i.createElement("div",{className:"shrink-0"},i.createElement(r,null)),i.createElement("div",{className:"ml-2"},i.createElement("div",{className:(0,o.c)("landing"===t&&"text-gray-900 dark:text-white","blog"===t&&"text-refine-react-8 dark:text-refine-react-3","font-semibold")},e.label),i.createElement("div",{className:(0,o.c)("landing"===t&&"text-gray-500 dark:text-gray-400","blog"===t&&"text-refine-react-5 dark:text-refine-react-4","text-xs")},e.description))))},h=({item:e})=>{const[t,r]=(0,i.useState)(null);(0,i.useEffect)((()=>(r(localStorage.getItem("theme")||null),window.addEventListener("storage",n,!1),()=>{window.removeEventListener("storage",n,!1)})),[]);const n=()=>{r(localStorage.getItem("theme")||null)};let l=e.icon;return"Cloud"===e.label&&(l="light"===t?u.oz:e.icon),i.createElement(a.c,{key:e.label,to:e.href,className:(0,o.c)("inline-flex items-center gap-2","text-sm leading-6 font-normal text-gray-900 dark:text-gray-300","transition-colors duration-150 ease-in-out","no-underline","Hackathon"===e.label?["py-1","px-2","rounded-lg","bg-hackathon-button-bg","animate-hackathon-button-bg","bg-refine-bg","text-gray-0","bg-[length:200%_100%]","text-[14px]","hover:text-gray-0"]:["hover:text-gray-900 dark:hover:text-white"])},e.icon&&i.createElement(l,null),e.label)};var d=r(640),b=r(5224),f=r(2424),v=r(4577);const w=({item:e,variant:t="landing",children:r})=>{const[a,n]=(0,i.useState)(!1),l=i.useRef(null),c=i.useRef(null),s=(0,d.IT)();return i.useEffect((()=>{n(!1)}),[s]),i.createElement(b._,{id:`popover-${e.label}`,key:e.label,className:(0,o.c)("relative","inline-flex items-center"),onMouseEnter:()=>{c.current=setTimeout((()=>n(!0)),210),clearTimeout(l.current)},onMouseLeave:()=>{l.current=setTimeout((()=>n(!1)),210),clearTimeout(c.current)}},(()=>i.createElement(i.Fragment,null,i.createElement(b._.Button,{className:(0,o.c)("inline-flex items-center","text-sm leading-6","font-normal")},i.createElement("span",{className:(0,o.c)("landing"===t&&"text-gray-900 dark:text-gray-300","blog"===t&&"text-refine-react-8 dark:text-refine-react-3","transition-colors duration-150 ease-in-out inline-block")},e.label),i.createElement(v.w,{"aria-hidden":"true",className:(0,o.c)("transition duration-150 ease-out","-mr-2","landing"===t&&"text-gray-500 dark:text-gray-400","blog"===t&&"text-refine-react-4",a?"translate-y-0.5":"")})),i.createElement(f.O,{as:i.Fragment,enter:"transition ease-in duration-150",enterFrom:"opacity-0 translate-y-3",enterTo:"opacity-100 translate-y-0",leave:"transition ease-out duration-150",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 translate-y-3",show:a},i.createElement(b._.Panel,{className:(0,o.c)("absolute","z-50","top-12",{"-left-32 center-point":"Docs"===e.label||"About"===e.label,"left-point":"CodePoint"===e.label})},i.createElement(u.WR,{id:e.label,variant:t,className:(0,o.c)("absolute","top-[-9px]",{"left-1/2":"CodePoint"!==e.label,"left-12":"CodePoint"===e.label}),style:{transform:"translateX(-50%)"}}),i.createElement("div",{className:(0,o.c)("overflow-hidden","rounded-xl","landing"===t&&"border dark:border-gray-700 border-gray-200","landing"===t&&"dark:shadow-menu-dark shadow-menu-light","blog"===t&&"border border-refine-react-3 dark:border-refine-react-6","blog"===t&&"dark:shadow-menu-blog-dark shadow-menu-blog-light")},r))))))},y=({variant:e="landing"})=>i.createElement(i.Fragment,null,m.map((t=>t.isPopover?i.createElement(w,{key:`navbar-${t.label}`,item:t,variant:e},"CodePoint"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,o.c)("grid grid-cols-2 gap-4","p-4","w-[672px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(g,{key:t.label,item:t,variant:e})))),i.createElement(a.c,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,o.c)("border-t","blog"===e&&"border-refine-react-3 dark:border-refine-react-6","landing"===e&&"border-gray-300 dark:border-gray-700","landing"===e&&"bg-gray-100 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-7","flex items-center","py-4 px-7")},i.createElement(u._2,null),i.createElement("div",{className:(0,o.c)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))),"About"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,o.c)("grid gap-4","p-4","w-[336px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(g,{key:t.label,item:t,variant:e})))),i.createElement("div",{className:(0,o.c)("border-t","blog"===e&&"border-refine-react-3 dark:border-refine-react-6","landing"===e&&"border-gray-300 dark:border-gray-700","landing"===e&&"bg-gray-100 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-7","flex justify-between items-center","py-4 px-7")},i.createElement("div",{className:(0,o.c)("landing"===e&&"text-gray-600 dark:text-gray-400 ","blog"===e&&"text-refine-react-5 dark:text-refine-react-4")},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(a.c,{to:"https://github.com/AkashSingh3031",className:(0,o.c)("no-underline","hover:text-inherit")},i.createElement(u.A9,{className:"dark:text-gray-400 text-gray-500"})),i.createElement(a.c,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(u.Ed,null)),i.createElement(a.c,{to:"https://instagram.com/akash.singh3031"},i.createElement(u.Yf,null)),i.createElement(a.c,{to:"https://x.com/akashsingh3031"},i.createElement(u.CC,null))))),"Docs"===t.label&&i.createElement("div",{className:(0,o.c)("grid gap-4","p-4","w-[336px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(g,{key:t.label,item:t,variant:e}))))):i.createElement(h,{key:`navbar-${t.label}`,item:t,variant:e}))));var j=r(2276),P=r(7008),C=r(9072),O=r(2268);function E(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const x=e=>i.createElement("svg",function(e){for(var t=1;ti.createElement("svg",function(e){for(var t=1;t{const[c,s]=(0,i.useState)(null),p=null!=r?r:a.c,m=void 0!==n&&void 0===t;return(0,i.useEffect)((()=>{const e=document.querySelector("html").getAttribute("data-theme");s(e)}),[]),i.createElement(p,function(e){for(var t=1;t{const r=(0,d.IT)();return i.useEffect((()=>{t(!1)}),[r]),i.createElement(T,{isModalOpen:e,setIsModalOpen:t},i.createElement(L,{className:(0,o.c)("hidden landing-sm:block","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}),i.createElement(J,{className:(0,o.c)("block landing-sm:hidden","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}))},T=({isModalOpen:e,setIsModalOpen:t,children:r})=>i.createElement(f.O,{appear:!0,show:e,as:i.Fragment},i.createElement(j.C,{as:"div",className:"relative z-10",onClose:()=>t(!1)},i.createElement(f.O.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},i.createElement("div",{className:(0,o.c)("fixed inset-0","bg-gray-0 dark:bg-gray-900","flex","flex-col")},i.createElement(N.Q,null),i.createElement("div",{className:(0,o.c)("flex items-center justify-between","p-4","landing-sm:px-8")},i.createElement(p.m,{className:"dark:text-gray-0 text-gray-900"}),i.createElement("button",{type:"button",className:(0,o.c)("rounded-lg","hover:brightness-105","active:scale-90","transition-transform duration-75 ease-in-out")},i.createElement(O.O,{className:"text-gray-900 dark:text-white",onClick:()=>t(!1)}))),i.createElement(f.O.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-75",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95"},i.createElement("div",{className:(0,o.c)("flex-1","overflow-y-auto","px-4","pb-4")},r)))))),L=e=>i.createElement("div",{className:(0,o.c)(e.className)},m.map(((e,t)=>{const r="icon"in e&&e.icon;return i.createElement("div",{key:t,className:(0,o.c)("not-prose","p-4","border-t dark:border-gray-700 border-gray-200")},i.createElement(a.c,{to:"href"in e?e.href:void 0,className:(0,o.c)("appearance-none","block","no-underline","dark:text-gray-0 text-gray-900","font-bold")},i.createElement("div",{className:(0,o.c)("flex items-center gap-2")},i.createElement("div",null,e.label),r&&i.createElement(r,null))),"items"in e&&i.createElement("div",{className:(0,o.c)("mt-2","grid grid-cols-2 min-[800px]:grid-cols-3","gap-x-8 gap-y-4")},e.items.map((e=>i.createElement(g,{key:e.label,item:e})))))})),i.createElement(V,null),i.createElement(W,{id:"tablet"}),i.createElement(M,{id:"tablet"})),J=e=>i.createElement("div",{className:(0,o.c)(e.className)},i.createElement("div",{className:"flex-grow"},m.map((e=>e.isPopover?i.createElement(P.C,{key:`modal-${e.label}`},(({open:t})=>i.createElement(i.Fragment,null,i.createElement(D,{component:P.C.Button,label:e.label,open:t}),i.createElement(P.C.Panel,{className:(0,o.c)(t&&"pb-4",t&&"border-b border-gray-200 dark:border-gray-700")},e.items.map((e=>i.createElement(g,{key:e.label,item:e}))))))):i.createElement(D,{key:`modal-${e.label}`,label:e.label,href:e.href,icon:e.icon})))),i.createElement(V,null),i.createElement(W,{id:"phone"}),i.createElement(M,{id:"phone"})),M=e=>{var t;return i.createElement(a.c,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,o.c)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex items-center","p-4")},i.createElement(u._2,{id:(null===(t=e)||void 0===t?void 0:t.id)||""}),i.createElement("div",{className:(0,o.c)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))},W=e=>{var t;return i.createElement("div",{className:(0,o.c)("bg-white dark:bg-gray-700 header-sm:bg-inherit","flex justify-between items-center","header-sm:flex-col header-sm:gap-4","header-sm:border-b border-gray-200 dark:border-gray-600","py-3 px-4")},i.createElement("p",{className:"text-gray-500 dark:text-gray-300 font-semibold"},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(a.c,{to:"https://github.com/AkashSingh3031"},i.createElement(u.A9,{className:"h-10 w-10"})),i.createElement(a.c,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(u.Ed,{className:"h-10 w-10"})),i.createElement(a.c,{to:"https://instagram.com/akash.singh3031"},i.createElement(u.Yf,{className:"h-10 w-10",id:(null===(t=e)||void 0===t?void 0:t.id)||""})),i.createElement(a.c,{to:"https://x.com/akashsingh3031"},i.createElement(u.CC,{className:"h-10 w-10"}))))},V=()=>{const{colorMode:e,setColorMode:t}=(0,C.U)(),r=()=>{t("dark"===e?"light":"dark")},a="dark"===e,n="light"===e;return i.createElement("div",{className:(0,o.c)("not-prose","p-4","flex items-center")},i.createElement("div",{className:(0,o.c)("text-sm","mr-10","dark:text-gray-400 text-gray-600")},"Apperance"),i.createElement("button",{onClick:r,className:(0,o.c)("mr-4","rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200","text-gray-500",n&&"bg-gray-50")},i.createElement(G.G,null),"Light"),i.createElement("button",{onClick:r,className:(0,o.c)("rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200",a?"text-gray-400":"text-gray-500",a&&"bg-gray-700")},i.createElement(B.g,null),"Dark"))};var H=r(9253),R=r(2700),I=r(5792),Z=r(6936);const _=()=>{const{loading:e,githubStarCountText:t}=(0,R.wx)();return i.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank",rel:"noreferrer",className:(0,o.c)("flex gap-2 items-center","font-normal","text-sm leading-6","text-gray-500 dark:text-gray-400","hover:text-gray-400 dark:hover:text-gray-300","hover:no-underline","transition-colors","duration-200","ease-in-out")},i.createElement(I.A,{className:(0,o.c)("w-5 h-5")}),i.createElement("div",{className:(0,o.c)("flex items-center","w-10 h-6")},e?i.createElement(Z.c,{className:(0,o.c)("w-5 h-5"),wrapperProps:{className:(0,o.c)("mx-auto")}}):i.createElement("span",null,t)))},U=({trackProgress:e,variant:t="landing",className:r})=>{const[u,m]=(0,i.useState)(!1),{scrollYProgress:g}=(0,n.Q)(),h=(0,l.s)(g,[.03,.95],["0%","100%"]);return i.createElement(i.Fragment,null,i.createElement(N.Q,null),i.createElement("header",{className:(0,o.c)("sticky","top-0","z-10")},i.createElement("div",{className:(0,o.c)("absolute","top-0 left-0 right-0","backdrop-blur-[6px]","landing-md:backdrop-blur-[12px]","z-[-1]","bg-gray-0 dark:bg-gray-800","bg-opacity-80 dark:bg-opacity-80","pointer-events-none",r),style:{top:"-20px",bottom:"-80px",WebkitMaskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))",maskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))"}}),i.createElement("div",{className:(0,o.c)("relative","z-[1]","p-4","landing-sm:px-8","landing-md:py-5")},i.createElement("div",{className:(0,o.c)("mx-auto","flex","items-center","justify-between","max-w-[896px]","landing-lg:max-w-[1200px]")},i.createElement("div",{className:(0,o.c)("w-[130px]","landing-lg:w-[200px]")},i.createElement(a.c,{to:"/"},i.createElement(p.m,{className:"text-gray-900 dark:text-gray-0"}))),i.createElement("button",{type:"button",className:(0,o.c)("text-gray-900 dark:text-gray-0","block landing-md:hidden"),onClick:()=>m(!0)},i.createElement(s.m,null)),i.createElement("div",{className:(0,o.c)("hidden landing-md:flex","flex-1","items-center","gap-8")},i.createElement(y,{variant:t})),i.createElement("div",{className:(0,o.c)("hidden landing-md:flex","items-center","justify-end","gap-4","w-[130px]","landing-lg:w-[200px]")},i.createElement(_,null),i.createElement(H.C,null)),i.createElement(F,{isModalOpen:u,setIsModalOpen:m}))),e&&i.createElement("div",{className:(0,o.c)("w-full","h-[1.5px]","translate","bg-refine-react-3 dark:bg-refine-react-7")},i.createElement(c.q.div,{className:(0,o.c)("h-full","bg-refine-react-light-link dark:bg-refine-react-dark-link"),style:{width:h}}))))}},9253:(e,t,r)=>{r.d(t,{C:()=>i,O:()=>p});var a=r(1504),o=r(4971),n=r(9072),l=r(3756),c=r(5372);const i=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,n.U)();return a.createElement("button",{type:"button",className:(0,o.c)("appearance-none","focus:outline-none","relative","w-10 h-10","rounded-full","border","border-solid","border-gray-300 dark:border-gray-700","text-gray-500","transition-colors","duration-150","ease-in-out","overflow-hidden","flex-shrink-0","group",e),onClick:()=>{r("dark"===t?"light":"dark")}},a.createElement("div",{className:(0,o.c)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","translate-y-0","dark:-translate-y-10","duration-200","ease-in-out","transition-transform")},a.createElement(l.G,null)),a.createElement("div",{className:(0,o.c)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","-translate-y-10","dark:translate-y-0","duration-200","ease-in-out","transition-transform")},a.createElement(c.g,null)))},s=[{name:"light",icon:l.G,label:"Light"},{name:"dark",icon:c.g,label:"Dark"}],p=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,n.U)();return a.createElement("div",{className:(0,o.c)("flex","items-center","gap-4","justify-start",e)},s.map((({name:e,label:n,icon:l})=>a.createElement("button",{type:"button",key:e,className:(0,o.c)("appearance-none","focus:outline-none","py-1","pl-1.5","pr-3","flex","items-center","justify-center","gap-1","rounded-[40px]","text-gray-400","border border-solid","border-gray-200","dark:border-gray-600",t===e&&"bg-gray-100 dark:bg-gray-700"),onClick:()=>{r(e)}},a.createElement(l,{className:(0,o.c)("w-4 h-4")}),a.createElement("span",{className:(0,o.c)("text-sm")},n)))))}},7708:(e,t,r)=>{r.d(t,{o0:()=>h,yw:()=>m,wd:()=>g,AR:()=>d});var a=r(1504);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}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}function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var p=r(6098),u=r(4252);const m=[{label:"Resources",items:[{label:"Getting Started",href:"/docs"},{label:"Blog",href:"/blog"},{label:"Project Showcase",icon:a.createElement(p.KU,null),href:"/showcase"},{label:"Community",icon:a.createElement(p.KU,null),href:"/prepverse-community"}]},{label:"Product",items:[{label:"CodePoint",icon:a.createElement(u.i,null),href:"https://prepverse.github.io/CodePoint"},{label:"LeetVerse",icon:a.createElement(u.i,null),href:"https://prepverse.github.io/LeetVerse"}]},{label:"About",items:[{label:"About Me",href:"/AkashSingh3031"},{label:"Portfolio",icon:a.createElement(u.i,null),href:"https://prepverse.github.io/portfolio"}]}],g=[{label:"License",href:"https://github.com/PrepVerse/prepverse.github.io/blob/master/LICENSE"}],h="Thank you for visiting, Connect with me over socials.",d=[{icon:e=>a.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;t{r.d(t,{w:()=>n});var a=r(1504);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const n=e=>a.createElement("svg",function(e){for(var t=1;t{r.d(t,{g:()=>n});var a=r(1504);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const n=e=>a.createElement("svg",function(e){for(var t=1;t{r.d(t,{i:()=>n});var a=r(1504);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const n=e=>a.createElement("svg",function(e){for(var t=1;t{r.d(t,{A:()=>l,i:()=>c});var a=r(1504);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function n(e){for(var t=1;ta.createElement("svg",n({width:12,height:12,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.053 0A10.904 10.904 0 0 0 3.89 2.685 11.34 11.34 0 0 0 .142 9.472a11.48 11.48 0 0 0 1.456 7.65 11.087 11.087 0 0 0 5.964 4.86c.556.103.752-.25.752-.547v-1.918C5.23 20.202 4.58 18 4.58 18a3.012 3.012 0 0 0-1.227-1.655c-.997-.692.081-.692.081-.692.35.05.683.18.975.382.293.202.536.469.713.78.15.278.352.523.595.721a2.312 2.312 0 0 0 2.618.221c.042-.57.283-1.105.678-1.509-2.454-.284-5.03-1.253-5.03-5.539a4.415 4.415 0 0 1 1.132-3.025A4.194 4.194 0 0 1 5.224 4.7s.928-.305 3.036 1.156c1.81-.508 3.72-.508 5.531 0 2.108-1.46 3.03-1.156 3.03-1.156.406.936.455 1.993.135 2.963a4.415 4.415 0 0 1 1.132 3.026c0 4.334-2.582 5.282-5.043 5.538.264.271.468.597.598.955.13.358.182.741.155 1.122V21.4c0 .367.196.65.759.54a11.093 11.093 0 0 0 5.88-4.878 11.481 11.481 0 0 0 1.419-7.6 11.34 11.34 0 0 0-3.71-6.746A10.907 10.907 0 0 0 11.053 0Z",fill:"currentColor"})),c=e=>a.createElement("svg",n({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},e),a.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.066.001a11.91 11.91 0 0 1 7.745 2.966 12.326 12.326 0 0 1 4.032 7.33 12.46 12.46 0 0 1-1.54 8.245 12.088 12.088 0 0 1-6.406 5.314l-.105.037-.11.021c-.508.1-1.232.093-1.83-.422-.577-.498-.681-1.166-.681-1.565v-3.008l.004-.053a1.102 1.102 0 0 0-.062-.453 1.058 1.058 0 0 0-.235-.377l-.839-.86-.863.882a.802.802 0 0 0-.224.502l-.015.217v3.183c0 .434-.14 1.029-.628 1.492-.541.514-1.246.62-1.864.505l-.108-.02-.104-.035a12.082 12.082 0 0 1-6.498-5.296 12.457 12.457 0 0 1-1.58-8.298c.45-2.86 1.891-5.471 4.073-7.375A11.909 11.909 0 0 1 12.05.001h.016Zm-10.43 10.54a10.957 10.957 0 0 0 1.39 7.303 10.58 10.58 0 0 0 5.693 4.638c.53.099.717-.238.717-.522v-1.83c-.588.13-1.083.15-1.5.1a2.95 2.95 0 0 1-.542-.117 2.551 2.551 0 0 1-.422-.176 2.362 2.362 0 0 1-.82-.72c-.208-.294-.28-.535-.28-.535a2.876 2.876 0 0 0-1.17-1.58l-.016-.01c-.925-.65.093-.65.093-.65.106.015.21.038.313.068l.017.005a2.172 2.172 0 0 1 .962.603c.122.13.23.276.319.433a2.29 2.29 0 0 0 .68.775h.002s0 .001 0 0a2.211 2.211 0 0 0 2.385.124v-.014a2.302 2.302 0 0 1 .647-1.427 8.754 8.754 0 0 1-1.625-.328 4.865 4.865 0 0 1-1.416-.695 3.883 3.883 0 0 1-.432-.365c-.8-.786-1.328-2.002-1.328-3.899a4.214 4.214 0 0 1 1.08-2.887 4.003 4.003 0 0 1 .104-2.848s.886-.291 2.898 1.103a9.762 9.762 0 0 1 5.28 0c2.011-1.393 2.891-1.103 2.891-1.103.388.893.434 1.902.13 2.828a4.214 4.214 0 0 1 1.08 2.888c0 3.166-1.444 4.44-3.174 4.972a8.617 8.617 0 0 1-1.64.314 2.558 2.558 0 0 1 .699 1.425c.026.184.033.371.02.558v2.955c0 .35.187.62.724.515a10.588 10.588 0 0 0 5.613-4.656 10.958 10.958 0 0 0 1.354-7.254 10.824 10.824 0 0 0-3.541-6.439 10.41 10.41 0 0 0-6.77-2.592 10.408 10.408 0 0 0-6.837 2.563 10.824 10.824 0 0 0-3.578 6.478ZM16.374 7.8a8.003 8.003 0 0 0-.856.524l-.58.401-.679-.19a8.262 8.262 0 0 0-4.469 0l-.68.19-.58-.402a7.982 7.982 0 0 0-.846-.519c.019.186.059.37.12.549l.282.832-.588.653a2.714 2.714 0 0 0-.696 1.86v.024c0 1.724.503 2.513.998 2.937.563.481 1.397.736 2.476.86l1.567.182 1.954-.204c1.082-.112 1.912-.358 2.47-.833.492-.418.999-1.209.999-2.96v-.026a2.714 2.714 0 0 0-.696-1.86l-.582-.647.273-.826c.058-.178.096-.36.113-.545Z",clipRule:"evenodd"}))},1980:(e,t,r)=>{r.d(t,{m:()=>n});var a=r(1504);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const n=e=>a.createElement("svg",function(e){for(var t=1;t{r.d(t,{Q:()=>n});var a=r(1504);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const n=e=>a.createElement("svg",function(e){for(var t=1;t{r.d(t,{G:()=>n});var a=r(1504);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const n=e=>a.createElement("svg",function(e){for(var t=1;t{r.d(t,{s1:()=>c,wR:()=>s,QD:()=>u,vn:()=>g,kv:()=>d,uI:()=>f,A9:()=>w,_2:()=>j,Ew:()=>C,Yf:()=>E,oh:()=>S,Ed:()=>A,BE:()=>N,KU:()=>F,WR:()=>V,w9:()=>R,CC:()=>Z,AH:()=>z,oz:()=>K,C3:()=>q});var a=r(1504);var o=r(4971);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}function l(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const c=e=>a.createElement("svg",l(function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;t{const{colorMode:t}=(0,B.U)();return a.createElement("div",{className:(0,o.c)("relative","flex","items-center","justify-center","rounded-full","overflow-hidden","p-px","dark:bg-[#194b3a] bg-[#b7dbff]"),style:{transform:"translateZ(0)"}},a.createElement("div",{className:(0,o.c)("z-[1]","absolute","inset-0","dark:bg-new-badge-border-dark bg-new-badge-border-light","animate-new-badge-border")}),a.createElement("svg",function(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var M,W;const V=e=>{var{variant:t="landing"}=e,r=J(e,["variant"]);return a.createElement("svg",L(function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",U(function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;t{r.d(t,{m:()=>n});var a=r(1504);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const n=e=>a.createElement("svg",function(e){for(var t=1;t{r.d(t,{E:()=>h});var a=r(4971),o=r(1504),n=r(9184),l=r(7708),c=r(204);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const s=e=>o.createElement("svg",function(e){for(var t=1;t{const t=o.createElement("div",{className:(0,a.c)("py-6 landing-lg:py-0","flex","flex-col","gap-4","landing-lg:max-w-[224px]")},o.createElement("div",{className:(0,a.c)("font-semibold","text-sm","leading-6","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},"Contacts"),o.createElement("a",{href:"https://wa.me/+919794423031",target:"_blank",className:(0,a.c)("font-normal","text-sm","leading-5","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},"+91 9794423031"),o.createElement("a",{href:"https://mail.google.com/mail/u/0/?fs=1&to=codewithsky@gmail.com&tf=cm",target:"_blank",className:(0,a.c)("font-normal","text-sm","leading-5","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:180,height:40,viewBox:"0 0 180 40",fill:"none"},o.createElement("text",{x:"1",y:"15",fontFamily:"Arial, sans-serif",fontSize:"16",fill:"currentColor"},"codewithsky@gmail.com")))),r=o.createElement("div",{className:(0,a.c)("py-6 landing-lg:py-0","flex","flex-col","landing-sm:items-end")},o.createElement("div",{className:(0,a.c)("flex","flex-col","gap-4")},o.createElement("div",{className:(0,a.c)("text-sm","leading-6","font-semibold","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3","landing-lg:text-right")},"Connect with me on"),o.createElement("div",{className:(0,a.c)("flex","items-center","gap-8","landing-lg:gap-4","justify-start")},l.AR.map((({href:t,icon:r})=>o.createElement("a",{href:t,key:t,target:"_blank",rel:"noreferrer",className:(0,a.c)("landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},o.createElement(r,{className:(0,a.c)("w-6 h-6","landing-lg:w-8 landing-lg:h-8")})))))));return o.createElement("footer",{className:(0,a.c)("w-full")},o.createElement("div",{className:(0,a.c)("border-t border-t-solid","landing"===e&&"border-t-gray-100 dark:border-t-gray-700","blog"===e&&"border-t-refine-react-3 dark:border-t-refine-react-7","landing"===e&&"dark:bg-footer-landing-dark-bg","blog"===e&&"bg-footer-blog-light-bg dark:bg-footer-blog-dark-bg")},o.createElement("div",{className:(0,a.c)("grid","grid-cols-1","max-w-screen-landing-md","landing-lg:max-w-screen-landing-lg","mx-auto")},o.createElement("div",{className:(0,a.c)("px-4 landing-sm:px-8 landing-lg:px-12","py-4 landing-lg:py-6","flex","items-center","justify-between")},o.createElement(n.c,{to:"/",className:(0,a.c)("hover:no-underline","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},o.createElement(p.m,null)),o.createElement("a",{href:"https://github.com/sponsors/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,a.c)("hover:no-underline")},o.createElement(s,null))),o.createElement("div",{className:(0,a.c)("px-4 landing-sm:px-8 landing-lg:px-12","flex","flex-row","flex-wrap","items-start","justify-start","text-gray-500 dark:text-gray-500")},l.o0),o.createElement("div",{className:(0,a.c)("px-4 landing-sm:px-8 landing-lg:px-12","py-6 landing-lg:pt-8 landing-lg:pb-12","flex","flex-row","flex-wrap","items-start","justify-start","gap-6")},o.createElement("div",{className:(0,a.c)("hidden","landing-lg:flex","max-w-[282px]","w-full")},t),l.yw.map((t=>o.createElement("div",{className:(0,a.c)("flex flex-col gap-4","min-w-[152px]"),key:t.label},o.createElement("div",{className:(0,a.c)("text-sm","leading-6","font-semibold","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},t.label),o.createElement("div",{className:(0,a.c)("flex","flex-col","gap-2")},t.items.map((t=>o.createElement("a",g(m({href:t.href,key:t.label},t.href.startsWith("http")?{target:"_blank",rel:"noopener noreferrer"}:{}),{className:(0,a.c)("text-sm","leading-5","hover:no-underline","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300")}),o.createElement("div",{className:(0,a.c)("flex","items-center","gap-2")},t.label,t.icon)))))))),o.createElement("div",{className:(0,a.c)("hidden","landing-lg:flex","ml-auto")},r)),o.createElement("div",{className:(0,a.c)("px-4 landing-sm:px-8","grid","grid-cols-1","landing-sm:grid-cols-2","landing-sm:gap-8","landing-lg:hidden")},t,r))),o.createElement("div",{className:(0,a.c)("border-t border-t-solid","landing"===e&&"border-t-gray-100 dark:border-t-gray-700","blog"===e&&"border-t-gray-100 dark:border-t-gray-700","landing"===e&&"bg-gray-50 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-8")},o.createElement("div",{className:(0,a.c)("py-6 landing-sm:py-8 landing-lg:py-6","px-4 landing-sm:px-8 landing-lg:px-12","grid","grid-cols-1","landing-md:grid-cols-2","gap-8","max-w-screen-landing-md","landing-lg:max-w-screen-landing-lg","mx-auto")},o.createElement("div",{className:(0,a.c)("flex","flex-col","landing-sm:flex-row","gap-4","items-start","justify-start")},l.wd.map((t=>o.createElement("a",g(m({href:t.href,key:t.label},t.href.startsWith("http")?{target:"_blank",rel:"noopener noreferrer"}:{}),{className:(0,a.c)("text-sm","leading-5","font-normal","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:no-underline","hover:text-gray-800 dark:hover:text-gray-300")}),t.label)))),o.createElement("div",{className:(0,a.c)("text-left","landing-md:text-right","text-sm","pr-6 landing-sm:pr-0","leading-5","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3","font-normal")},o.createElement("div",{className:(0,a.c)("text-base","text-gray-500 dark:text-gray-400")},"Copyright \xa9 ",(new Date).getFullYear()," PrepVerse"," ",o.createElement(c.Q,{className:"text-refine-red ml-2 inline leading-6"}),o.createElement("br",null),"Built with Docusaurus & Refine.")))))}},6936:(e,t,r)=>{r.d(t,{c:()=>i});var a=r(4971),o=r(1504);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}function l(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}const i=e=>{var{className:t,wrapperProps:r}=e,n=c(e,["className","wrapperProps"]);return o.createElement("div",l({role:"status"},r),o.createElement("svg",l({"aria-hidden":"true",width:24,height:24,viewBox:"0 0 100 100",className:(0,a.c)("text-gray-200 animate-spin dark:text-gray-600 fill-refine-blue",t),fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),o.createElement("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),o.createElement("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})),o.createElement("span",{className:"sr-only"},"Loading..."))}},252:(e,t,r)=>{r.d(t,{Q:()=>i});var a=r(4971),o=r(1504);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}function l(e){for(var t=1;to.createElement("div",{className:(0,a.c)("w-full h-12","relative","bg-top-announcement","not-prose","font-inter","z-top-announcement")},o.createElement("div",{className:(0,a.c)("hidden lg:flex","w-full h-full","max-w-screen","overflow-hidden","border-b border-solid border-[#47ebeb26]","top-announcement-mask")},o.createElement("div",{className:(0,a.c)("w-[1280px] h-full","mx-auto","flex","justify-between")},o.createElement("div",{className:(0,a.c)("w-[calc(50%-300px)] h-full","relative")},o.createElement(p,{style:{animationDelay:"1.5s"},className:(0,a.c)("absolute","top-[2px]","right-[220px]"),id:"1"}),o.createElement(p,{style:{animationDelay:"1s"},className:(0,a.c)("absolute","rotate-180","top-[8px] right-[100px]"),id:"2"}),o.createElement(u,{className:(0,a.c)("absolute","right-[10px]"),id:"3"})),o.createElement("div",{className:(0,a.c)("w-[calc(50%-300px)] h-full","relative")},o.createElement(p,{style:{animationDelay:"2s"},className:(0,a.c)("absolute","rotate-180","top-[6px] right-[180px]"),id:"4"}),o.createElement(p,{style:{animationDelay:"0.5s"},className:(0,a.c)("delay-[1300]","absolute","top-[2px]","right-[40px]"),id:"5"}),o.createElement(u,{className:(0,a.c)("absolute","right-[-70px]"),id:"6"})))),o.createElement(s,null)),s=()=>o.createElement("a",{href:"https://github.com/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,a.c)("relative lg:absolute","px-2 lg:px-0","top-0","left-[50%]","translate-x-[-50%]","bg-top-announcement-text","h-full w-full lg:w-[450px]","flex items-center justify-center","text-white","text-xs sm:text-sm","text-center","no-underline","hover:no-underline","hover:text-white","not-prose")},o.createElement("div",{className:(0,a.c)("ml-2","not-prose")},"For more updates follow","",o.createElement("span",{className:(0,a.c)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")},"@AkashSingh3031"),".")),p=e=>o.createElement("svg",c(l({xmlns:"http://www.w3.org/2000/svg",width:80,height:40,fill:"none"},e),{className:(0,a.c)("animate-top-announcement-glow","opacity-1",e.className)}),o.createElement("circle",{cx:40,r:40,fill:`url(#${e.id}-a)`,fillOpacity:.5}),o.createElement("defs",null,o.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 40 -40 0 40 0)",gradientUnits:"userSpaceOnUse"},o.createElement("stop",{stopColor:"#47EBEB"}),o.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0})))),u=e=>o.createElement("svg",c(l({xmlns:"http://www.w3.org/2000/svg",width:120,height:48,fill:"none"},e),{className:(0,a.c)("animate-top-announcement-glow","opacity-1",e.className)}),o.createElement("circle",{cx:60,cy:24,r:60,fill:`url(#${e.id}-a)`,fillOpacity:.5}),o.createElement("defs",null,o.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 60 -60 0 60 24)",gradientUnits:"userSpaceOnUse"},o.createElement("stop",{stopColor:"#47EBEB"}),o.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0}))))},8560:(e,t,r)=>{r.d(t,{s:()=>G});var a=r(1504),o=r(8952),n=r(8796),l=r(5684),c=r(6564),i=r(2184),s=r(6616),p=r(5952),u=r(4971),m=r(1373);function g(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function d(e,t){if(null==e)return{};var r,a,o=function(e,t){if(null==e)return{};var r,a,o={},n=Object.keys(e);for(a=0;a=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}const b=e=>{var{as:t}=e,r=d(e,["as"]);return a.createElement(t,h(function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;t{const[r,o]=(0,a.useState)(!1),n=(0,a.useRef)(void 0),l=(0,a.useCallback)((()=>{try{navigator.clipboard.writeText(e).then((()=>{o(!0),n.current=window.setTimeout((()=>{o(!1)}),1e3)}))}catch(t){}}),[e]);return(0,a.useEffect)((()=>()=>window.clearTimeout(n.current)),[]),a.createElement("button",{type:"button","aria-label":r?"Copied!":"Copy code to clipboard",title:"Copy code to clipboard",className:(0,u.c)("w-6 h-6","flex justify-center items-center","bg-gray-200","dark:bg-gray-800","hover:bg-gray-300","dark:hover:bg-refine-react-dark-code","rounded","group","transition-[background-color] duration-200 ease-in-out"),onClick:l},a.createElement(v,{className:(0,u.c)("w-3 h-3","text-gray-500","dark:text-gray-400",r&&"rotate-[360deg]","transition-all duration-200 ease-in-out")}))};function y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const j=e=>a.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;t{const r=t?j:C;return a.createElement("button",{type:"button",onClick:()=>e(),className:(0,u.c)("w-6 h-6","flex justify-center items-center","bg-gray-200","dark:bg-gray-800","hover:bg-gray-300","dark:hover:bg-refine-react-dark-code","rounded","group","transition-[background-color] duration-200 ease-in-out"),"aria-label":"Toggle word wrap",title:"Toggle word wrap"},a.createElement(r,{className:(0,u.c)("w-3 h-3","text-gray-500","dark:text-gray-400",t&&"rotate-[360deg]","transition-all duration-200 ease-in-out")}))};function E(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function x(e){for(var t=1;ta.createElement("svg",x({xmlns:"http://www.w3.org/2000/svg",width:12,height:14,viewBox:"0 0 12 14",fill:"none"},e),a.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M11 4.994V11.6A1.4 1.4 0 0 1 9.6 13H2.4A1.4 1.4 0 0 1 1 11.6V2.4A1.4 1.4 0 0 1 2.4 1h4.606a1.4 1.4 0 0 1 .99.41l2.594 2.594a1.4 1.4 0 0 1 .41.99ZM0 2.4A2.4 2.4 0 0 1 2.4 0h4.606a2.4 2.4 0 0 1 1.697.703l2.594 2.594A2.4 2.4 0 0 1 12 4.994V11.6A2.4 2.4 0 0 1 9.6 14H2.4A2.4 2.4 0 0 1 0 11.6V2.4ZM3.5 6a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5Zm0 2a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5Zm0 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3Z",clipRule:"evenodd"})),A=({children:e,icon:t=a.createElement(k,null)})=>a.createElement("div",{className:(0,u.c)("py-3","px-4","bg-gray-100 dark:bg-gray-700","text-gray-800","dark:text-gray-100","text-xs","flex items-center","gap-2","rounded-tl-lg","rounded-tr-lg")},t,e),D=({children:e,className:t="",metastring:r,title:o,showLineNumbers:n,language:g,icon:h,style:d})=>{const{prism:{defaultLanguage:f,magicComments:v}}=(0,l.y)();var y;const j=null!==(y=null!=g?g:(0,i.K2)(t))&&void 0!==y?y:f,P=(0,c.i)(),C=(0,s._)(),E=(0,i.QH)(r)||o,{lineClassNames:k,code:D}=(0,i.cj)(e,{metastring:r,language:j,magicComments:v}),N=null!=n?n:(0,i.OO)(r);return a.createElement(b,{as:"div",className:(0,u.c)("refine-common-code-block",j&&`language-${j}`,"rounded-lg","bg-gray-200","dark:bg-gray-900","border","border-gray-300","dark:border-0","mb-6","relative","refine-wider-container"),style:d},E&&a.createElement(A,{icon:h},E),a.createElement("div",{className:(0,u.c)("relative","pt-3","pb-0","not-prose")},a.createElement(m.cp,S(x({},m.wB),{theme:P,code:D,language:null!=j?j:"text"}),(({className:e,tokens:t,getLineProps:r,getTokenProps:o})=>a.createElement("pre",{tabIndex:0,ref:C.codeBlockRef,className:(0,u.c)(e,"bg-transparent","!mt-0","!mb-0","m-0","px-0","pt-0","font-jetBrains-mono","pb-3")},a.createElement("code",{className:(0,u.c)("font-[inherit]","bg-transparent","inline-block","min-w-full")},t.map(((e,t)=>a.createElement(p.c,{key:t,line:e,getLineProps:r,getTokenProps:o,classNames:(0,u.c)(k[t],"px-4","text-xs sm:text-sm 2xl:text-sm"),showLineNumbers:N})))))))),a.createElement("div",{className:(0,u.c)("absolute",E?"top-2 right-2":"top-3 right-3","flex items-center gap-2")},(C.isEnabled||C.isCodeScrollable)&&a.createElement(O,{onClick:C.toggle,isEnabled:C.isEnabled}),a.createElement(w,{className:(0,u.c)(),code:D})))};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}function B(e,t){if(null==e)return{};var r,a,o=function(e,t){if(null==e)return{};var r,a,o={},n=Object.keys(e);for(a=0;a=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}const G=e=>{var{children:t}=e,r=B(e,["children"]);const l=(0,o.c)(),c=function(e){return a.Children.toArray(e).some((e=>(0,a.isValidElement)(e)))?e:Array.isArray(e)?e.join(""):e}(t),i="string"==typeof c?D:n.c;return a.createElement(i,function(e){for(var t=1;t{r.d(t,{c:()=>A});var a=r(1504),o=r(8560),n=r(4971),l=r(9936),c=r(7748),i=r.n(c),s=r(1688);const p="playgroundPreview_jwe9";function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function m({children:e,minHeight:t,url:r="http://localhost:3000",hasBottom:o=!1}){return a.createElement("div",{className:(0,n.c)("flex","flex-col","h-full")},a.createElement("div",{className:(0,n.c)("flex-shrink-0","rounded-tl-lg","rounded-tr-lg","border","border-gray-300 dark:border-gray-700","px-4 py-3","flex items-center justify-start","gap-2","bg-gray-100 dark:bg-gray-700","relative","text-gray-800 dark:text-gray-100","border-b-0")},a.createElement(g,{className:"w-4 h-4"}),a.createElement("div",{className:(0,n.c)("text-xs")},`${r}`.replace(/^http(s?):\/\//,""))),a.createElement("div",{className:(0,n.c)("flex-1","overflow-hidden","bg-gray-100 dark:bg-gray-700","border border-gray-300 dark:border-gray-700",!o&&"rounded-bl-lg rounded-br-lg",o&&"border-b-gray-300 dark:border-b-gray-900",o&&"border-b"),style:{minHeight:t}},e))}const g=e=>a.createElement("svg",function(e){for(var t=1;t{const[o,n]=a.useState(e),[l]=a.useState(t);a.useEffect((()=>{!o&&e&&n(!0)}),[e]),a.useEffect((()=>{if(l){const e=setTimeout((()=>{n(!0)}),l);return()=>clearTimeout(e)}}),[l]);const c=a.useMemo((()=>o&&"function"==typeof r?r():null),[o]);if(void 0!==r&&"function"!=typeof r)throw new Error("Conditional component requires a function as a child");return c};var b=r(9128),f=r(3296);function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.g.Buffer=r.g.Buffer||f.Sn;const w=({query:e,code:t,css:r})=>{const{siteConfig:{customFields:o}}=(0,l.c)(),[n,c]=a.useState(void 0),s=a.useCallback((async t=>{if("undefined"!=typeof window&&window.Worker){const a=new Worker(`${location.protocol}//${location.host}/workers/lz-worker.js`);a.onmessage=function({data:t}){t.compressed&&c(`${o.LIVE_PREVIEW_URL}?code=${t.compressed}${r?`&css=${i().encode(r)}`:""}${e?`${e}`:""}`),a.terminate()},a.postMessage({code:t})}}),[e]);return a.useEffect((()=>{s(t)}),[t,s]),n?a.createElement("iframe",{loading:"lazy",src:n,width:"100%",height:"100%",style:{position:"absolute",left:0,top:0,width:"100%",height:"100%"}}):null},y=a.memo(w,((e,t)=>e.code===t.code&&e.query===t.query&&e.css===t.css)),j=e=>a.createElement("svg",function(e){for(var t=1;t{o?(i(!1),setTimeout((()=>{l((e=>!e)),setTimeout((()=>{i(!0)}),300)}),100)):(i(!1),l((e=>!e)),setTimeout((()=>{i(!0)}),300))}},a.createElement(j,{className:(0,n.c)(o&&"rotate-180","transition-transform","duration-200","ease-in-out")}),a.createElement("span",{className:(0,n.c)("text-base","block","overflow-hidden","h-6")},a.createElement("span",{className:(0,n.c)("block",o&&"opacity-0","transition-opacity duration-200 ease-in-out")},"Show Code"),a.createElement("span",{className:(0,n.c)("block","transition-transform duration-200 ease-in-out","bg-gray-100 dark:bg-gray-700",o&&"-translate-y-6")},"Hide Code"))),a.createElement("div",{className:(0,n.c)("rounded-bl-lg","rounded-br-lg"),style:{maxHeight:o?c?"unset":"100vh":"0px",transition:"0.3s all ease-in-out",overflow:"hidden"},ref:r},a.createElement(A,{language:"tsx",style:{marginBottom:0,marginRight:"0",marginLeft:"0",borderTopLeftRadius:"0",borderTopRightRadius:"0",borderBottomLeftRadius:"0.5rem",borderBottomRightRadius:"0.5rem"}},t)))}const C=({children:e,disableScroll:t,previewHeight:r,hideCode:o=!1,url:c="http://localhost:3000",previewOnly:i=!1,tailwind:u=!1})=>{const g=String(e),{shared:f,sharedCss:v}=(0,b.UF)(),{visible:w}=(e=>{const t="// visible-block-start";let r=e.indexOf(t);r=r>0?r+22:0;let a=e.indexOf("// visible-block-end");a=a>0?a:e.length;const o=e.slice(0,r),n=e.slice(r,a).trimEnd().trimStart(),l=e.slice(a);return{visible:n,join:e=>`${o}\n${e}\n${l}`}})(`\n ${null!=f?f:""}\n ${g}\n `.replace(/\n$/,"")),j=a.useRef(null),C=(0,h.c)(j),{siteConfig:{customFields:O}}=(0,l.c)(),{isLast:E}=(0,s.E)();return a.createElement("div",{className:(0,n.c)("overflow-hidden","mb-6","refine-wider-container")},a.createElement(a.Fragment,null,a.createElement(m,{url:c,hasBottom:!i},a.createElement("div",{className:(0,n.c)(p,"live-editor-wrapper"),style:{maxHeight:r,minHeight:r,overflow:t?"hidden":void 0,position:"relative"},ref:j},E?a.createElement(d,{if:C,maxWait:3e3},(()=>a.createElement(y,{code:`\n${null!=f?f:""}\n${g}\n `,css:v,query:`${t?"&disableScroll=true":""}${u?"&tailwind=true":""}`}))):a.createElement("div",{style:{height:"100%",minHeight:"inherit",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"1.25rem"}},a.createElement("span",null,"Live previews only work with the latest documentation.")))),!i&&a.createElement(P,{hidden:o,code:w})))},O=a.memo(C,((e,t)=>String(e.children)===String(t.children))),E=({children:e})=>{const{setShared:t}=(0,b.UF)();return a.useEffect((()=>(t(String(e)),()=>{t(void 0)})),[e]),null},x=a.memo(E,((e,t)=>String(e.children)===String(t.children))),S=({children:e})=>{const{setSharedCss:t}=(0,b.UF)();return a.useEffect((()=>(t(String(e)),()=>{t(void 0)})),[e]),null},k=a.memo(S,((e,t)=>String(e.children)===String(t.children)));function A(e){var t,r;return e.live&&e.live&&(null===(r=e.className)||void 0===r||null===(t=r.includes)||void 0===t?void 0:t.call(r,"language-css"))?a.createElement(k,e):e.shared&&e.live?a.createElement(x,e):e.live?a.createElement(O,e):a.createElement(o.s,e)}}}]); \ No newline at end of file diff --git a/assets/js/7dfb83d7.91d1eb72.js b/assets/js/7dfb83d7.91d1eb72.js new file mode 100644 index 00000000..16fc6868 --- /dev/null +++ b/assets/js/7dfb83d7.91d1eb72.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[7188],{5560:(e,t,r)=>{r.d(t,{c:()=>o});var a=r(1504);const o=(e,t="0px")=>{const[r,o]=a.useState(!1);return a.useEffect((()=>{var r;const a=null===(r=e)||void 0===r?void 0:r.current,n=new IntersectionObserver((([e])=>{o(e.isIntersecting)}),{rootMargin:t});return a&&n.observe(a),()=>{a&&n.unobserve(a)}}),[]),r}},9048:(e,t,r)=>{r.r(t),r.d(t,{default:()=>be,prepareUserState:()=>le});var a=r(1504),o=r(4971),n=r(3680),l=r(6968),c=r(8480),i=r(2640),s=r(3652),p=r(640),u=r(3688),m=r(9184),g=r(6280);const h={svgIcon:"svgIcon_Nx5c",small:"small_C5SE",medium:"medium_WaWC",large:"large_qndz",primary:"primary_G5ip",secondary:"secondary_OfjU",success:"success_LNW9",error:"error_HcRA",warning:"warning_iWaY",inherit:"inherit__8jQ"};function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function b(e,t){if(null==e)return{};var r,a,o=function(e,t){if(null==e)return{};var r,a,o={},n=Object.keys(e);for(a=0;a=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function f(e){const{svgClass:t,colorAttr:r,children:n,color:l="inherit",size:c="medium",viewBox:i="0 0 24 24"}=e,s=b(e,["svgClass","colorAttr","children","color","size","viewBox"]);return a.createElement("svg",function(e){for(var t=1;tt(e)>t(r)?1:t(r)>t(e)?-1:0)),r}const y=[{title:"3d-Background-Boxes",description:"3d-Background-Boxes",preview:null,website:"https://prepverse.github.io/portfolio/projects/General/3d-Background-Boxes",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/Others/21).%20%20JavaScript%203d-background-boxes",tags:["html","css","js"]},{title:"Age Calculator",description:"Age Calculator is a simple app that calculates your age based on the year you were born.",preview:null,website:"https://prepverse.github.io/portfolio/projects/Calculators/Age-Calculator",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/05%5D.%20Calculators%20Based%20Project/01).%20JavaScript%20Age-Calculator",tags:["html","css","js","calculators"]},{title:"Analog-Clock",description:"Analog-Clock",preview:null,website:"https://prepverse.github.io/portfolio/projects/Clock/Analog-Clock",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/06%5D.%20Clock%20Based%20Project/01).%20JavaScript%20Analog%20Clock",tags:["html","css","js","clock"]},{title:"Analog+Digital-Clock",description:"Analog+Digital-Clock",preview:null,website:"https://prepverse.github.io/portfolio/projects/Clock/Analog+Digital-Clock",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/06%5D.%20Clock%20Based%20Project/03).%20JavaScript%20Analog%2BDigital%20Clock",tags:["html","css","js","clock"]},{title:"Animated-Countdown",description:"Animated-Countdown",preview:null,website:"https://prepverse.github.io/portfolio/projects/Calculators/Animated-Countdown",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/05%5D.%20Calculators%20Based%20Project/08).%20JavaScript%20Animated-Countdown",tags:["html","css","js","calculators"]},{title:"Animated-Navigation",description:"Animated-Navigation",preview:null,website:"https://prepverse.github.io/portfolio/projects/Blog-Page/Animated-Navigation",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/02%5D.%20Blog%20Page%20Based%20Project/06).%20JavaScript%20Animated-Navigation",tags:["html","css","js","blogs"]},{title:"Auto-Text-Effect",description:"Auto-Text-Effect",preview:null,website:"https://prepverse.github.io/portfolio/projects/Editor-Based/Auto-Text-Effect",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/04%5D.%20Editor%20Based%20Project/08).%20JavaScript%20Auto-Text-Effect",tags:["html","css","js","editor"]},{title:"Background-Slider",description:"Background-Slider",preview:null,website:"https://prepverse.github.io/portfolio/projects/General/Background-Slider",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/Others/18).%20%20JavaScript%20Background-Slider",tags:["html","css","js"]},{title:"Blurry-Loading",description:"Blurry-Loading",preview:null,website:"https://prepverse.github.io/portfolio/projects/Blog-Page/Blurry-Loading",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/02%5D.%20Blog%20Page%20Based%20Project/19).%20JavaScript%20Blurry-Loading",tags:["html","css","js","blogs"]},{title:"Calculator With Voice Recognition",description:"Calculator With Voice Recognition Is A Simple App That Can Perform Basic Arithmetic Operations.",preview:null,website:"https://prepverse.github.io/portfolio/projects/Calculators/Calculator-with-Voice-Command",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/05%5D.%20Calculators%20Based%20Project/03).%20JavaScript%20Calculator-with-Voice-Command",tags:["html","css","js","calculators"]},{title:"Checkboxes",description:"Checkboxes",preview:null,website:"https://prepverse.github.io/portfolio/projects/General/Checkboxes",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/Others/26).%20%20JavaScript%20Checkboxes",tags:["html","css","js"]},{title:"Click-and-Drag",description:"Click-and-Drag",preview:null,website:"https://prepverse.github.io/portfolio/projects/General/Click-and-Drag",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/Others/16).%20JavaScript%20Click%20and%20Drag",tags:["html","css","js"]},{title:"CodePoint",description:"Personal site",preview:null,website:"https://prepverse.github.io/CodePoint",source:"https://github.com/PrepVerse/CodePoint",tags:["favorite","personal","design","opensource"]},{title:"Color Flipper",description:"Color Flipper Is A Simple App That Can Change The Background Color Of The Page.",preview:null,website:"https://prepverse.github.io/portfolio/projects/General/Color-flipper",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/Others/12).%20JavaScript%20color-flipper",tags:["html","css","js"]},{title:"Content-Placeholder",description:"Content-Placeholder",preview:null,website:"https://prepverse.github.io/portfolio/projects/Blog-Page/Content-Placeholder",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/02%5D.%20Blog%20Page%20Based%20Project/10).%20JavaScript%20content-placeholder",tags:["html","css","js","blogs"]},{title:"Countdown Timer",description:"Countdown Timer Is A Simple App That Can Count Down From A Given Time.",preview:null,website:"https://prepverse.github.io/portfolio/projects/Clock/Countdown-Timer",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/06%5D.%20Clock%20Based%20Project/06).%20JavaScript%20Countdown%20Timer",tags:["html","css","js","clock"]},{title:"Counter",description:"Counter",preview:null,website:"https://prepverse.github.io/portfolio/projects/Calculators/Counter",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/05%5D.%20Calculators%20Based%20Project/07).%20JavaScript%20counter",tags:["html","css","js","calculators"]},{title:"Country-Search-App",description:"Country Search App",preview:null,website:"https://prepverse.github.io/portfolio/projects/API-Based/Country-Search-App",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/01%5D.%20API%20Based%20Project/06).%20JavaScript%20Country-Search-App",tags:["html","css","js","api"]},{title:"CSS Variables With JS",description:"CSS Variables With JS Is A Simple App That Can Change Radius Of Image, Blur Effect On Image And Border Color Of Image.",preview:null,website:"https://prepverse.github.io/portfolio/projects/General/CSS-Variables/",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/Others/06).%20JavaScript%20CSS%20Variables",tags:["html","css","js"]},{title:"Custom-Video-Player",description:"Custom-Video-Player",preview:null,website:"https://prepverse.github.io/portfolio/projects/General/Custom-Video-Player",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/Others/03).%20JavaScript%20Custom%20Video%20Player",tags:["html","css","js"]},{title:"Digital-Clock",description:"Digital-Clock",preview:null,website:"https://prepverse.github.io/portfolio/projects/Clock/Digital-Clock",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/06%5D.%20Clock%20Based%20Project/02).%20JavaScript%20Digital%20Clock",tags:["html","css","js","clock"]},{title:"Double-Heart-Click",description:"Double-Heart-Click",preview:null,website:"https://prepverse.github.io/portfolio/projects/Blog-Page/Double-Heart-Click",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/02%5D.%20Blog%20Page%20Based%20Project/15).%20JavaScript%20double-heart-click",tags:["html","css","js","blogs"]},{title:"Double-Vertical-Slider",description:"Double-Vertical-Slider",preview:null,website:"https://prepverse.github.io/portfolio/projects/General/Double-Vertical-Slider",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/Others/19).%20%20JavaScript%20double-vertical-slider",tags:["html","css","js"]},{title:"Drag-n-Drop",description:"Drag-n-Drop",preview:null,website:"https://prepverse.github.io/portfolio/projects/General/Drag-n-Drop",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/Others/17).%20%20JavaScript%20drag-n-drop",tags:["html","css","js"]},{title:"Drawing-App",description:"Drawing-App",preview:null,website:"https://prepverse.github.io/portfolio/projects/Editor-Based/Drawing-App",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/04%5D.%20Editor%20Based%20Project/02).%20JavaScript%20Drawing-App",tags:["html","css","js","editor"]},{title:"Drink-Water",description:"Drink-Water",preview:null,website:"https://prepverse.github.io/portfolio/projects/Games/Drink-Water",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/03%5D.%20Games/05).%20JavaScript%20drink-water",tags:["html","css","js","games"]},{title:"Event-Keycodes",description:"Event-Keycodes",preview:null,website:"https://prepverse.github.io/portfolio/projects/General/Event-Keycodes",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/Others/24).%20%20JavaScript%20event-keycodes",tags:["html","css","js"]},{title:"Expanding-Cards",description:"Expanding-Cards",preview:null,website:"https://prepverse.github.io/portfolio/projects/General/Expanding-Cards",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/Others/08).%20%20JavaScript%20expanding-cards",tags:["html","css","js"]},{title:"FAQ-Collapse",description:"FAQ-Collapse",preview:null,website:"https://prepverse.github.io/portfolio/projects/Blog-Page/faq-Collapse",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/02%5D.%20Blog%20Page%20Based%20Project/11).%20JavaScript%20faq-collapse",tags:["html","css","js","blogs"]},{title:"Feedback-UI-Design",description:"Feedback-UI-Design",preview:null,website:"https://prepverse.github.io/portfolio/projects/Blog-Page/Feedback-UI-Design",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/02%5D.%20Blog%20Page%20Based%20Project/12).%20JavaScript%20feedback-ui-design",tags:["html","css","js","blogs"]},{title:"Flex-Panel-Gallery",description:"Flex-Panel-Gallery",preview:null,website:"https://prepverse.github.io/portfolio/projects/General/Flex-Panel-Gallery",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/Others/07).%20JavaScript%20Flex%20Panel%20Gallery",tags:["html","css","js"]},{title:"Follow-Along-Link-Highlighter",description:"Follow-Along-Link-Highlighter",preview:null,website:"https://prepverse.github.io/portfolio/projects/Blog-Page/Follow-Along-Link-Highlighter",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/02%5D.%20Blog%20Page%20Based%20Project/04).%20JavaScript%20Follow%20Along%20Link%20Highlighter",tags:["html","css","js","blogs"]},{title:"Form-Wave-Animation",description:"Form-Wave-Animation",preview:null,website:"https://prepverse.github.io/portfolio/projects/Blog-Page/Form-Wave-Animation",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/02%5D.%20Blog%20Page%20Based%20Project/17).%20JavaScript%20form-wave-animation",tags:["html","css","js","blogs"]},{title:"Fun-with-Drawing",description:"Fun-with-Drawing",preview:null,website:"https://prepverse.github.io/portfolio/projects/Editor-Based/Fun-with-Drawing",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/04%5D.%20Editor%20Based%20Project/01).%20JavaScript%20Fun%20with%20Drawing",tags:["html","css","js","editor"]},{title:"Github-Profiles",description:"Github Profiles",preview:null,website:"https://prepverse.github.io/portfolio/projects/API-Based/Github-Profiles",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/01%5D.%20API%20Based%20Project/01).%20JavaScript%20github-profiles",tags:["html","css","js","api"]},{title:"Grade-Percentage-Calcy",description:"Grade-Percentage-Calcy",preview:null,website:"https://prepverse.github.io/portfolio/projects/Calculators/Grade-Percentage-Calcy",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/05%5D.%20Calculators%20Based%20Project/04).%20JavaScript%20Grade-Percentage-Calcy",tags:["html","css","js","calculators"]},{title:"Hidden-Search-Widget",description:"Hidden-Search-Widget",preview:null,website:"https://prepverse.github.io/portfolio/projects/Blog-Page/Hidden-Search-Widget",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/02%5D.%20Blog%20Page%20Based%20Project/05).%20JavaScript%20hidden-search-widget",tags:["html","css","js","blogs"]},{title:"HMS-React-Php-GOLANG",description:"HMS-React-Php-GOLANG",preview:null,website:"https://hms-nikhil.netlify.app",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/02%5D.%20Blog%20Page%20Based%20Project/23).%20HMS-React-Php-GOLANG",tags:["html","css","js","react","php","blogs"]},{title:"Hold-Shift-and-Check-Checkboxes",description:"Hold-Shift-and-Check-Checkboxes",preview:null,website:"https://prepverse.github.io/portfolio/projects/General/Hold-Shift-and-Check-Checkboxes",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/Others/15).%20JavaScript%20Hold%20Shift%20and%20Check%20Checkboxes",tags:["html","css","js"]},{title:"Hoverboard",description:"Hoverboard",preview:null,website:"https://prepverse.github.io/portfolio/projects/General/Hoverboard",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/Others/11).%20%20JavaScript%20hoverboard",tags:["html","css","js"]},{title:"Image-Carousel",description:"Image-Carousel",preview:null,website:"https://prepverse.github.io/portfolio/projects/General/Image-Carousel",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/Others/20).%20%20JavaScript%20image-carousel",tags:["html","css","js"]},{title:"Incrementing-Counter",description:"Incrementing-Counter",preview:null,website:"https://prepverse.github.io/portfolio/projects/Blog-Page/Incrementing-Counter",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/02%5D.%20Blog%20Page%20Based%20Project/13).%20JavaScript%20incrementing-counter",tags:["html","css","js","blogs"]},{title:"Insect-Catch-Game",description:"Insect-Catch-Game",preview:null,website:"https://prepverse.github.io/portfolio/projects/Games/Insect-Catch-Game",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/03%5D.%20Games/02).%20JavaScript%20insect-catch-game",tags:["html","css","js","games"]},{title:"JS-Issue-Tracker",description:"JS-Issue-Tracker",preview:null,website:"https://prepverse.github.io/portfolio/projects/API-Based/JS-Issue-Tracker",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/01%5D.%20API%20Based%20Project/05).%20JS-Issue-Tracker",tags:["html","css","js","api"]},{title:"Kinetic-CSS-Loader",description:"Kinetic-CSS-Loader",preview:null,website:"https://prepverse.github.io/portfolio/projects/Blog-Page/Kinetic-CSS-Loader",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/02%5D.%20Blog%20Page%20Based%20Project/08).%20JavaScript%20kinetic-css-loader",tags:["html","css","js","blogs"]},{title:"LeetVerse",description:"Personal site",preview:null,website:"https://prepverse.github.io/LeetVerse",source:"https://github.com/PrepVerse/LeetVerse",tags:["favorite","personal","design","opensource","api"]},{title:"LocalStorage",description:"LocalStorage",preview:null,website:"https://prepverse.github.io/portfolio/projects/General/LocalStorage/",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/Others/13).%20JavaScript%20LocalStorage",tags:["html","css","js"]},{title:"Mobile-Tab-Navigation",description:"Mobile-Tab-Navigation",preview:null,website:"https://prepverse.github.io/portfolio/projects/Blog-Page/Mobile-Tab-Navigation",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/02%5D.%20Blog%20Page%20Based%20Project/14).%20JavaScript%20mobile-tab-navigation",tags:["html","css","js","blogs"]},{title:"Mouse-Move-Shadow",description:"Mouse-Move-Shadow",preview:null,website:"https://prepverse.github.io/portfolio/projects/General/Mouse-Move-Shadow/",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/Others/10).%20JavaScript%20Mouse%20Move%20Shadow",tags:["html","css","js"]},{title:"Movie-App",description:"Movie-App",preview:null,website:"https://prepverse.github.io/portfolio/projects/API-Based/Movie-App",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/01%5D.%20API%20Based%20Project/04).%20JavaScript%20movie-app",tags:["html","css","js","api"]},{title:"Music-Player",description:"Music-Player",preview:null,website:"https://prepverse.github.io/portfolio/projects/General/Music-Player",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/Others/02).%20%20JavaScript%20Music-Player",tags:["html","css","js"]},{title:"Netflix-Clone",description:"Netflix-Clone",preview:null,website:"https://netflix-clone-b1517.web.app",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/ReactJS%20Projects/02).%20Netflix%20Clone",tags:["react"]},{title:"Notes-App",description:"Notes-App",preview:null,website:"https://prepverse.github.io/portfolio/projects/Editor-Based/Notes-App",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/04%5D.%20Editor%20Based%20Project/04).%20JavaScript%20Notes-App",tags:["html","css","js","editor"]},{title:"Number-Guess",description:"Number-Guess",preview:null,website:"https://prepverse.github.io/portfolio/projects/Games/Number-Guess",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/03%5D.%20Games/04).%20JavaScript%20Number-Guess",tags:["html","css","js","games"]},{title:"Paragraph-Generator",description:"Paragraph-Generator",preview:null,website:"https://prepverse.github.io/portfolio/projects/Editor-Based/Paragraph-Generator",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/04%5D.%20Editor%20Based%20Project/12).%20JavaScript%20Paragraph%20Generator",tags:["html","css","js","editor"]},{title:"Password-Generator",description:"Password-Generator",preview:null,website:"https://prepverse.github.io/portfolio/projects/Editor-Based/Password-Generator",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/04%5D.%20Editor%20Based%20Project/11).%20JavaScript%20Password%20Generator",tags:["html","css","js","editor"]},{title:"Password-Strength-Background",description:"Password-Strength-Background",preview:null,website:"https://prepverse.github.io/portfolio/projects/Blog-Page/Password-Strength-Background",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/02%5D.%20Blog%20Page%20Based%20Project/21).%20JavaScript%20password-strength-background",tags:["html","css","js","blogs"]},{title:"Percentage-Calculator",description:"Percentage-Calculator",preview:null,website:"https://prepverse.github.io/portfolio/projects/Calculators/Percentage-Calculator",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/05%5D.%20Calculators%20Based%20Project/02).%20JavaScript%20Percentage%20Calculator",tags:["html","css","js","calculators"]},{title:"Portfolio",description:"My portfolio web page",preview:null,website:"https://prepverse.github.io/portfolio",source:"https://github.com/PrepVerse/portfolio",tags:["favorite","personal","design","html","css","js"]},{title:"Progress-Steps",description:"Progress-Steps",preview:null,website:"https://prepverse.github.io/portfolio/projects/General/Progress-Steps",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/Others/25).%20%20JavaScript%20progress-steps",tags:["html","css","js"]},{title:"Quiz-Application-with-Timer",description:"Quiz-Application-with-Timer",preview:null,website:"https://prepverse.github.io/portfolio/projects/General/Quiz-Application-with-Timer",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/Others/23).%20JavaScript%20Quiz%20Application%20with%20Timer",tags:["html","css","js"]},{title:"Random-Choice-Picker",description:"Random-Choice-Picker",preview:null,website:"https://prepverse.github.io/portfolio/projects/Editor-Based/Random-Choice-Picker",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/04%5D.%20Editor%20Based%20Project/06).%20JavaScript%20random-choice-picker",tags:["html","css","js","editor"]},{title:"Random-Image-Feed",description:"Random-Image-Feed",preview:null,website:"https://prepverse.github.io/portfolio/projects/General/Random-Image-Feed",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/Others/22).%20%20JavaScript%20random-image-feed",tags:["html","css","js"]},{title:"Rotation-Navigation",description:"Rotation-Navigation",preview:null,website:"https://prepverse.github.io/portfolio/projects/Blog-Page/Rotation-Navigation",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/02%5D.%20Blog%20Page%20Based%20Project/07).%20JavaScript%20rotation-navigation",tags:["html","css","js","blogs"]},{title:"Scroll-Animation",description:"Scroll-Animation",preview:null,website:"https://prepverse.github.io/portfolio/projects/Blog-Page/Scroll-Animation",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/02%5D.%20Blog%20Page%20Based%20Project/20).%20JavaScript%20scroll-animation",tags:["html","css","js","blogs"]},{title:"Simple-Text-Editor",description:"Simple-Text-Editor",preview:null,website:"https://prepverse.github.io/portfolio/projects/Editor-Based/Simple-Text-Editor",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/04%5D.%20Editor%20Based%20Project/05).%20JavaScript%20Simple-Text-Editor",tags:["html","css","js","editor"]},{title:"Slide-in-on-Scroll",description:"Slide-in-on-Scroll",preview:null,website:"https://prepverse.github.io/portfolio/projects/Blog-Page/Slide-in-on-Scroll",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/02%5D.%20Blog%20Page%20Based%20Project/09).%20JavaScript%20Slide%20in%20on%20Scroll",tags:["html","css","js","blogs"]},{title:"Solar-System",description:"Solar-System",preview:null,website:"https://prepverse.github.io/portfolio/projects/Games/Solar-System",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/03%5D.%20Games/05).%20JavaScript%20Solar-System",tags:["html","css","js","games"]},{title:"Sound-btn",description:"Sound-btn",preview:null,website:"https://prepverse.github.io/portfolio/projects/General/Sound-btn",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/Others/05).%20%20JavaScript%20sound-btn",tags:["html","css","js"]},{title:"Speech-Synthesis",description:"Speech-Synthesis",preview:null,website:"https://prepverse.github.io/portfolio/projects/Editor-Based/Speech-Synthesis",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/04%5D.%20Editor%20Based%20Project/09).%20JavaScript%20Speech%20Synthesis",tags:["html","css","js","editor"]},{title:"Speech-Text-Reader",description:"Speech-Text-Reader",preview:null,website:"https://prepverse.github.io/portfolio/projects/Editor-Based/Speech-Text-Reader",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/04%5D.%20Editor%20Based%20Project/10).%20JavaScript%20Speech-Text-Reader",tags:["html","css","js","editor"]},{title:"Split-Landing-Page",description:"Split-Landing-Page",preview:null,website:"https://prepverse.github.io/portfolio/projects/Blog-Page/Split-Landing-Page",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/02%5D.%20Blog%20Page%20Based%20Project/22).%20JavaScript%20split-landing-page",tags:["html","css","js","blogs"]},{title:"Sticky-Nav",description:"Sticky-Nav",preview:null,website:"https://prepverse.github.io/portfolio/projects/Blog-Page/Sticky-Nav",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/02%5D.%20Blog%20Page%20Based%20Project/02).%20JavaScript%20Sticky%20Nav",tags:["html","css","js","blogs"]},{title:"Sticky-Navbar",description:"Sticky-Navbar",preview:null,website:"https://prepverse.github.io/portfolio/projects/Blog-Page/Sticky-Navbar",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/02%5D.%20Blog%20Page%20Based%20Project/03).%20JavaScript%20Sticky-Navbar",tags:["html","css","js","blogs"]},{title:"Stop-Watch",description:"Stop-Watch",preview:null,website:"https://prepverse.github.io/portfolio/projects/Clock/Stop-Watch",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/06%5D.%20Clock%20Based%20Project/05).%20JavaScript%20Stop-Watch",tags:["html","css","js","clock"]},{title:"Stripe-Follow-Along-Nav",description:"Stripe-Follow-Along-Nav",preview:null,website:"https://prepverse.github.io/portfolio/projects/Blog-Page/Stripe-Follow-Along-Nav",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/02%5D.%20Blog%20Page%20Based%20Project/01).%20JavaScript%20%20Stripe%20Follow%20Along%20Nav",tags:["html","css","js","blogs"]},{title:"Temperature-Converter",description:"Temperature-Converter",preview:null,website:"https://prepverse.github.io/portfolio/projects/Calculators/Temperature-Converter",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/05%5D.%20Calculators%20Based%20Project/05).%20JavaScript%20Temperature-Converter",tags:["html","css","js","calculators"]},{title:"Testimonial-Box-Switcher",description:"Testimonial-Box-Switcher",preview:null,website:"https://prepverse.github.io/portfolio/projects/Blog-Page/Testimonial-Box-Switcher",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/02%5D.%20Blog%20Page%20Based%20Project/16).%20JavaScript%20testimonial-box-switcher",tags:["html","css","js","blogs"]},{title:"Tetris-Game",description:"Tetris-Game",preview:null,website:"https://prepverse.github.io/portfolio/projects/Games/Tetris-Game",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/03%5D.%20Games/03).%20JavaScript%20Tetris-Game",tags:["html","css","js","games"]},{title:"Textogram",description:"Textogram",preview:null,website:"https://prepverse.github.io/portfolio/projects/Editor-Based/Textogram",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/04%5D.%20Editor%20Based%20Project/07).%20JavaScript-Textogram",tags:["html","css","js","editor"]},{title:"Theme-Clock",description:"Theme-Clock",preview:null,website:"https://prepverse.github.io/portfolio/projects/Clock/Theme-Clock",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/06%5D.%20Clock%20Based%20Project/04).%20JavaScript%20Theme-Clock",tags:["html","css","js","clock"]},{title:"Todo App",description:"Todo App",preview:null,website:"https://prepverse.github.io/portfolio/projects/General/Todo App",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/Others/14).%20Javascript%20Todo%20App",tags:["html","css","js"]},{title:"Type-Ahead",description:"Type-Ahead",preview:null,website:"https://prepverse.github.io/portfolio/projects/API-Based/Type-Ahead",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/01%5D.%20API%20Based%20Project/07).%20JavaScript%20Type%20Ahead",tags:["html","css","js","api"]},{title:"University-Website",description:"University-Website",preview:null,website:"https://prepverse.github.io/portfolio/projects/Blog-Page/University-Website",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/02%5D.%20Blog%20Page%20Based%20Project/24).%20University%20Website%20Using%20Javascript%20And%20Bootstrap",tags:["html","css","js","blogs"]},{title:"Verify-Account-UI",description:"Verify-Account-UI",preview:null,website:"https://prepverse.github.io/portfolio/projects/Blog-Page/Verify-Account-UI",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/02%5D.%20Blog%20Page%20Based%20Project/18).%20JavaScript%20verify-account-ui",tags:["html","css","js","blogs"]},{title:"Video-Speed-Controller",description:"Video-Speed-Controller",preview:null,website:"https://prepverse.github.io/portfolio/projects/General/Video-Speed-Controller/",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/Others/04).%20JavaScript%20Video%20Speed%20Controller",tags:["html","css","js"]},{title:"Weather",description:"Weather",preview:null,website:"https://prepverse.github.io/portfolio/projects/API-Based/Weather",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/01%5D.%20API%20Based%20Project/03).%20JavaScript%20Weather",tags:["html","css","js","api"]},{title:"Weather-App",description:"Weather-App",preview:null,website:"https://prepverse.github.io/portfolio/projects/API-Based/Weather-App",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/01%5D.%20API%20Based%20Project/02).%20JavaScript%20weather-app",tags:["html","css","js","api"]},{title:"Webcam-Fun",description:"Webcam-Fun",preview:null,website:"https://prepverse.github.io/portfolio/projects/General/Webcam-Fun",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/Others/09).%20JavaScript%20Webcam%20Fun",tags:["html","css","js"]},{title:"Web Drum Kit",description:"Web Drum Kit Is A Simple App That Can Play A Drum Sound When A Key Is Pressed.",preview:null,website:"https://prepverse.github.io/portfolio/projects/General/Drum-Kit/",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/Others/01).%20JavaScript%20Drum%20Kit",tags:["html","css","js"]},{title:"WeKeep-Notes",description:"WeKeep-Notes",preview:null,website:"https://prepverse.github.io/portfolio/projects/Editor-Based/WeKeep-Notes",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/04%5D.%20Editor%20Based%20Project/03).%20JavaScript%20WeKeep-Notes",tags:["html","css","js","editor"]},{title:"Whack-A-Mole",description:"Whack-A-Mole",preview:null,website:"https://prepverse.github.io/portfolio/projects/Games/Whack-A-Mole/",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/03%5D.%20Games/01).%20JavaScript%20Whack%20A%20Mole",tags:["html","css","js","games"]},{title:"Words-Counter",description:"Words-Counter",preview:null,website:"https://prepverse.github.io/portfolio/projects/Calculators/Words-Counter",source:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects/Web%20Development/JavaScript%20Projects/05%5D.%20Calculators%20Based%20Project/06).%20JavaScript%20Words-Counter",tags:["html","css","js","calculators"]}],j={favorite:{label:(0,s.G)({message:"Favorite"}),description:(0,s.G)({message:"Our favorite PrepVerse projects that you must absolutely check out!",id:"showcase.tag.favorite.description"}),color:"#e9669e"},api:{label:(0,s.G)({message:"API"}),description:(0,s.G)({message:"API based PrepVerse projects that you must absolutely check out!",id:"showcase.tag.api.description"}),color:"#39ca30"},blogs:{label:(0,s.G)({message:"Blogs"}),description:(0,s.G)({message:"Blogs elements as PrepVerse projects",id:"showcase.tag.blogs.description"}),color:"#ff6347"},calculators:{label:(0,s.G)({message:"Calculators"}),description:(0,s.G)({message:"Calculators based PrepVerse projects",id:"showcase.tag.calculators.description"}),color:"#dfd545"},clock:{label:(0,s.G)({message:"Clock"}),description:(0,s.G)({message:"Clock based PrepVerse projects",id:"showcase.tag.clock.description"}),color:"#ff0000"},design:{label:(0,s.G)({message:"Design"}),description:(0,s.G)({message:"Beautiful PrepVerse projects, polished and standing out from the initial template!",id:"showcase.tag.design.description"}),color:"#a44fb7"},editor:{label:(0,s.G)({message:"Editor"}),description:(0,s.G)({message:"Editor elements as PrepVerse projects",id:"showcase.tag.editor.description"}),color:"#dfd545"},games:{label:(0,s.G)({message:"Games"}),description:(0,s.G)({message:"Games based PrepVerse projects",id:"showcase.tag.games.description"}),color:"#00ff7f"},opensource:{label:(0,s.G)({message:"Open-Source"}),description:(0,s.G)({message:"Open-Source PrepVerse projects can be useful for inspiration!",id:"showcase.tag.opensource.description"}),color:"#39ca30"},personal:{label:(0,s.G)({message:"Personal"}),description:(0,s.G)({message:"Personal websites, blogs and digital gardens",id:"showcase.tag.personal.description"}),color:"#14cfc3"},html:{label:(0,s.G)({message:"HTML"}),description:(0,s.G)({message:"PrepVerse projects using the html feature",id:"showcase.tag.html.description"}),color:"#fe6829"},css:{label:(0,s.G)({message:"CSS"}),description:(0,s.G)({message:"PrepVerse projects using the css feature",id:"showcase.tag.css.description"}),color:"#127f82"},js:{label:(0,s.G)({message:"JavaScript"}),description:(0,s.G)({message:"PrepVerse projects using the js feature",id:"showcase.tag.js.description"}),color:"#dfd545"},react:{label:(0,s.G)({message:"ReactJS"}),description:(0,s.G)({message:"PrepVerse projects using the react feature",id:"showcase.tag.react.description"}),color:"#008b8b"},node:{label:(0,s.G)({message:"NodeJS"}),description:(0,s.G)({message:"PrepVerse projects using the node feature",id:"showcase.tag.node.description"}),color:"#006400"},php:{label:(0,s.G)({message:"PHP"}),description:(0,s.G)({message:"PrepVerse projects using the php feature",id:"showcase.tag.php.description"}),color:"#1e90fe"}},P=Object.keys(j);const C=function(){let e=y;return e=w(e,(e=>e.title.toLowerCase())),e=w(e,(e=>!e.tags.includes("favorite"))),e}(),O="checkboxLabel_vxMa";function E(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function x(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}const A="tags";function D(e){return new URLSearchParams(e).getAll(A)}function N(e,t){var{id:r,icon:o,label:n,tag:l}=e,c=k(e,["id","icon","label","tag"]);const i=(0,p.IT)(),s=(0,p.Uz)(),[u,m]=(0,a.useState)(!1);(0,a.useEffect)((()=>{const e=D(i.search);m(e.includes(l))}),[l,i]);const g=(0,a.useCallback)((()=>{const e=function(e,t){const r=e.indexOf(t);if(-1===r)return e.concat(t);const a=[...e];return a.splice(r,1),a}(D(i.search),l),t=function(e,t){const r=new URLSearchParams(e);return r.delete(A),t.forEach((e=>r.append(A,e))),r.toString()}(i.search,e);s.push(S(x({},i),{search:t,state:le()}))}),[l,i,s]);return a.createElement(a.Fragment,null,a.createElement("input",x({type:"checkbox",id:r,className:"screen-reader-only",onKeyDown:e=>{"Enter"===e.key&&g()},onFocus:e=>{var t,r;e.relatedTarget&&(null===(r=e.target.nextElementSibling)||void 0===r||null===(t=r.dispatchEvent)||void 0===t||t.call(r,new KeyboardEvent("focus")))},onBlur:e=>{var t,r;null===(r=e.target.nextElementSibling)||void 0===r||null===(t=r.dispatchEvent)||void 0===t||t.call(r,new KeyboardEvent("blur"))},onChange:g,checked:u},c)),a.createElement("label",{ref:t,htmlFor:r,className:O},n,o))}const B=a.forwardRef(N),G={checkboxLabel:"checkboxLabel_WGTY"};function F(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function T(e){for(var t=1;t{l("AND"===M(t.search))}),[t]);const c=(0,a.useCallback)((()=>{l((e=>!e));const e=new URLSearchParams(t.search);e.delete(J),n||e.append(J,"AND"),r.push(L(T({},t),{search:e.toString(),state:le()}))}),[n,t,r]);return a.createElement("div",{className:"row",style:{alignItems:"center"}},a.createElement("input",{type:"checkbox",id:e,className:"screen-reader-only","aria-label":"Toggle between or and and for the tags you selected",onChange:c,onKeyDown:e=>{"Enter"===e.key&&c()},checked:n}),a.createElement("label",{htmlFor:e,className:(0,o.c)(G.checkboxLabel,"shadow--md")},a.createElement("span",{className:G.checkboxLabelOr},"OR"),a.createElement("span",{className:G.checkboxLabelAnd},"AND")),a.createElement("button",{className:"button button--outline button--primary",type:"button",onClick:()=>{r.push(L(T({},t),{search:"",state:le()}))}},"Clear All"))}var V=r(7104),H=r(4864);const R={tooltip:"tooltip_j_Qe",tooltipArrow:"tooltipArrow_NLUH"};function I(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Z({children:e,id:t,anchorEl:r,text:o}){const[n,l]=(0,a.useState)(!1),[c,i]=(0,a.useState)(null),[s,p]=(0,a.useState)(null),[u,m]=(0,a.useState)(null),[g,h]=(0,a.useState)(null),{styles:d,attributes:b}=(0,H.W)(c,s,{modifiers:[{name:"arrow",options:{element:u}},{name:"offset",options:{offset:[0,8]}}]}),f=(0,a.useRef)(null),v=`${t}_tooltip`;return(0,a.useEffect)((()=>{h(r?"string"==typeof r?document.querySelector(r):r:document.body)}),[g,r]),(0,a.useEffect)((()=>{const e=["mouseenter","focus"],t=["mouseleave","blur"],r=()=>{var e,t;""!==o&&(null===(t=c)||void 0===t||null===(e=t.removeAttribute)||void 0===e||e.call(t,"title"),f.current=window.setTimeout((()=>{l(!0)}),400))},a=()=>{clearInterval(f.current),l(!1)};return c&&(e.forEach((e=>{c.addEventListener(e,r)})),t.forEach((e=>{c.addEventListener(e,a)}))),()=>{c&&(e.forEach((e=>{c.removeEventListener(e,r)})),t.forEach((e=>{c.removeEventListener(e,a)})))}}),[c,o]),a.createElement(a.Fragment,null,a.cloneElement(e,{ref:i,"aria-describedby":n?v:void 0}),g?V.createPortal(n&&a.createElement("div",function(e){for(var t=1;ta.createElement("li",{ref:o,className:_.tag,title:r},a.createElement("span",{className:_.textLabel},e.toLowerCase()),a.createElement("span",{className:_.colorLabel,style:{backgroundColor:t}}))));function q({tags:e}){const t=w(e.map((e=>K({tag:e},j[e]))),(e=>P.indexOf(e.tag)));return a.createElement(a.Fragment,null,t.map(((e,t)=>{const r=`showcase_card_tag_${e.tag}`;return a.createElement(Z,{key:t,text:e.description,anchorEl:"#__docusaurus",id:r},a.createElement(Q,K({key:t},e)))})))}function Y({user:e}){const t=function(e){var t;return null!==(t=e.preview)&&void 0!==t?t:`https://slorber-api-screenshot.netlify.app/${encodeURIComponent(e.website)}/showcase`}(e);return a.createElement("li",{key:e.title,className:"card shadow--md"},a.createElement("div",{className:(0,o.c)("card__image",_.showcaseCardImage)},a.createElement("img",{src:t,alt:e.title})),a.createElement("div",{className:"card__body"},a.createElement("div",{className:(0,o.c)(_.showcaseCardHeader)},a.createElement("h4",{className:(0,o.c)("text-cyan-800 dark:text-cyan-500","font-bold",_.showcaseCardTitle)},e.title),e.tags.includes("favorite")&&a.createElement(v,{svgClass:_.svgIconFavorite,size:"small"})),a.createElement("p",{className:_.showcaseCardBody},e.description)),a.createElement("ul",{className:(0,o.c)("card__footer",_.cardFooter)},a.createElement(q,{tags:e.tags})),a.createElement("div",{className:(0,o.c)("flex justify-between items-center","px-4 2xl:px-4 pt-4 2xl:pt-6 pb-2 2xl:pb-2 mt-auto","text-sm 2xl:text-base")},e.source&&a.createElement(m.c,{href:e.source,className:(0,o.c)("no-underline","select-none","group/project-link-button","relative","w-max","flex","items-center","gap-1 landing-md:gap-1","pl-2 py-2 pr-3","landing-md:pl-2 landing-md:py-2 landing-md:pr-3","rounded-full","dark:bg-refine-cyan-alt/10 bg-refine-blue/10","dark:text-refine-cyan-alt text-refine-blue","hover:no-underline","overflow-hidden",_.showcaseCardLink)},a.createElement(U.i,{width:16,height:16}),a.createElement("span",{className:(0,o.c)("font-semibold","text-xs landing-md:text-base")},"Source code")),e.website&&a.createElement(m.c,{href:e.website,className:(0,o.c)("no-underline","select-none","group/project-link-button","relative","w-max","flex","items-center","gap-1 landing-md:gap-1","pl-2 py-2 pr-3","rounded-full","dark:bg-refine-cyan-alt/10 bg-refine-blue/10","dark:text-refine-cyan-alt text-refine-blue","hover:no-underline","overflow-hidden",_.showcaseCardLink)},a.createElement(z.i,{width:16,height:16}),a.createElement("span",{className:(0,o.c)("font-semibold","text-xs landing-md:text-base")},"Live demo"))))}const X=a.memo(Y),ee={filterCheckbox:"filterCheckbox_IByC",checkboxList:"checkboxList_TMoE",checkboxListItem:"checkboxListItem_bvhq",searchContainer:"searchContainer_AU74",showcaseList:"showcaseList_IWjR",showcaseFavorite:"showcaseFavorite_dfS5",showcaseFavoriteHeader:"showcaseFavoriteHeader_INmp",svgIconFavoriteXs:"svgIconFavoriteXs_REdU",svgIconFavorite:"svgIconFavorite_glga",dragBox:"dragBox_jKWK",siteInfo:"siteInfo_cbUr"};r(9928);function te(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function re(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const ae=(0,s.G)({message:"Open Source Projects Showcase"}),oe=(0,s.G)({message:"List of Open Source projects in web-devlopments, app-devlopments, machine-learning, data-science"}),ne="https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation/tree/master/4%5D.%20Projects";function le(){var e;if(i.c.canUseDOM)return{scrollTopPosition:window.scrollY,focusedElementId:null===(e=document.activeElement)||void 0===e?void 0:e.id}}const ce="name";function ie(e){return new URLSearchParams(e).get(ce)}function se(){const e=(0,p.IT)(),[t,r]=(0,a.useState)("OR"),[o,n]=(0,a.useState)([]),[l,c]=(0,a.useState)(null);return(0,a.useEffect)((()=>{n(D(e.search)),r(M(e.search)),c(ie(e.search)),function(e){var t,r;const{scrollTopPosition:a,focusedElementId:o}=null!=e?e:{scrollTopPosition:0,focusedElementId:void 0};null===(r=document.getElementById(o))||void 0===r||null===(t=r.focus)||void 0===t||t.call(r),window.scrollTo({top:a})}(e.state)}),[e]),(0,a.useMemo)((()=>function(e,t,r,a){return a&&(e=e.filter((e=>e.title.toLowerCase().includes(a.toLowerCase())))),0===t.length?e:e.filter((e=>0!==e.tags.length&&("AND"===r?t.every((t=>e.tags.includes(t))):t.some((t=>e.tags.includes(t))))))}(C,o,t,l)),[o,t,l])}function pe(){return a.createElement("section",{className:"margin-top--lg text--center"},a.createElement("h1",{className:(0,o.c)("text-3xl","font-bold","text-transparent bg-clip-text bg-gradient-to-r text-gradient-to-r from-[#FF9933] to-[#FF4C4D]")},ae),a.createElement("p",null,oe),a.createElement(m.c,{className:"margin-top--lg button button--primary rounded-full",to:ne},a.createElement(s.c,{id:"showcase.header.button"},"Add your projects")))}function ue(){const e=se(),t=function(){const{selectMessage:e}=(0,u.A)();return t=>e(t,(0,s.G)({id:"showcase.filters.resultCount",description:'Pluralized label for the number of sites found on the showcase. Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)',message:"1 site|{sitesCount} sites"},{sitesCount:t}))}();return a.createElement("section",{className:"container margin-top--l margin-bottom--lg"},a.createElement("div",{className:(0,o.c)("margin-bottom--sm",ee.filterCheckbox)},a.createElement("div",null,a.createElement("h2",{className:(0,o.c)("text-2xl","font-bold")},a.createElement(s.c,{id:"showcase.filters.title"},"Filters")),a.createElement("span",null,t(e.length))),a.createElement(W,null)),a.createElement("ul",{className:(0,o.c)("clean-list",ee.checkboxList)},P.map(((e,t)=>{const{label:r,description:o,color:n}=j[e],l=`showcase_checkbox_id_${e}`;return a.createElement("li",{key:t,className:ee.checkboxListItem},a.createElement(Z,{id:l,text:o,anchorEl:"#__docusaurus"},a.createElement(B,{tag:e,id:l,label:r,icon:"favorite"===e?a.createElement(v,{svgClass:ee.svgIconFavoriteXs}):a.createElement("span",{style:{backgroundColor:n,width:10,height:10,borderRadius:"50%",marginLeft:8}})})))}))))}const me=C.filter((e=>e.tags.includes("favorite"))),ge=C.filter((e=>!e.tags.includes("favorite")));function he(){const e=(0,p.Uz)(),t=(0,p.IT)(),[r,o]=(0,a.useState)(null);return(0,a.useEffect)((()=>{o(ie(t.search))}),[t]),a.createElement("div",{className:ee.searchContainer},a.createElement("input",{id:"searchbar",placeholder:(0,s.G)({message:"Search for site name...",id:"showcase.searchBar.placeholder"}),value:null!=r?r:void 0,onInput:r=>{o(r.currentTarget.value);const a=new URLSearchParams(t.search);a.delete(ce),r.currentTarget.value&&a.set(ce,r.currentTarget.value),e.push(re(function(e){for(var t=1;t{var e,t;null===(t=document.getElementById("searchbar"))||void 0===t||null===(e=t.focus)||void 0===e||e.call(t)}),0)}}))}function de(){const e=se();return 0===e.length?a.createElement("section",{className:"margin-top--lg margin-bottom--xl"},a.createElement("div",{className:"container padding-vert--md text--center"},a.createElement("h2",{className:(0,o.c)("text-xl","font-bold")},a.createElement(s.c,{id:"showcase.usersList.noResult"},"No result")))):a.createElement("section",{className:"margin-top--lg margin-bottom--xl"},e.length===C.length?a.createElement(a.Fragment,null,a.createElement("div",{className:ee.showcaseFavorite},a.createElement("div",{className:"container"},a.createElement("div",{className:(0,o.c)("margin-bottom--md",ee.showcaseFavoriteHeader)},a.createElement("h2",{className:(0,o.c)("text-xl","font-bold")},a.createElement(s.c,{id:"showcase.favoritesList.title"},"My favorites")),a.createElement(v,{svgClass:ee.svgIconFavorite})),a.createElement("ul",{className:(0,o.c)("container","clean-list",ee.showcaseList)},me.map((e=>a.createElement(X,{key:e.title,user:e})))))),a.createElement("div",{className:"container margin-top--lg"},a.createElement("h2",{className:(0,o.c)("text-xl","font-bold")},a.createElement(s.c,{id:"showcase.usersList.allUsers"},"All Projects")),a.createElement("ul",{className:(0,o.c)("clean-list",ee.showcaseList)},ge.map((e=>a.createElement(X,{key:e.title,user:e})))))):a.createElement("div",{className:"container"},a.createElement("div",{className:(0,o.c)("margin-bottom--md",ee.showcaseFavoriteHeader)}),a.createElement("ul",{className:(0,o.c)("clean-list",ee.showcaseList)},e.map((e=>a.createElement(X,{key:e.title,user:e}))))))}function be(){a.useRef(null);return a.createElement(c.C,null,a.createElement(l.m,null),a.createElement("div",{className:(0,o.c)("w-full","mx-auto","landing-lg:max-w-[1300px]")},a.createElement(pe,null),a.createElement(ue,null),a.createElement("div",{style:{display:"flex",marginLeft:"auto"},className:"container"},a.createElement(he,null)),a.createElement(de,null)),a.createElement(n.u,null),a.createElement(g.c,null))}},3680:(e,t,r)=>{r.d(t,{u:()=>n});var a=r(1504),o=r(3120);const n=e=>a.createElement(o.E,e)},6968:(e,t,r)=>{r.d(t,{m:()=>U});var a=r(9184),o=r(4971),n=r(3200),l=r(344),c=r(6076),i=r(1504),s=r(1980),p=r(8804),u=r(6098);const m=[{isPopover:!0,label:"Docs",items:[{label:"Foundation Docs",description:"Learn C++, Python & Java",link:"https://prepverse.vercel.app/docs",icon:u.C3},{label:"DSA Docs",description:"Learning DSA in C++, Python & Java",link:"https://prepverse.vercel.app/docs/1.DS.Algo",icon:u.uI}]},{isPopover:!0,label:"CodePoint",items:[{label:"Expert Sheet Solutions",description:"Most popular coding questions solutions asked during SDE interviews.",link:"https://prepverse.github.io/CodePoint/preface",icon:u.C3},{label:"Coding Ninjas Series",description:"Coding Ninjas Studio Guided Path Solutions",link:"https://prepverse.github.io/CodePoint/learning_resources/CN_Series/preface",icon:u.oh},{label:"LeetVerse",description:"Leetcode problem solutions with full probelm statements in C++, Python & Java",link:"https://prepverse.github.io/LeetVerse",icon:u.Ew}]},{isPopover:!0,label:"About",items:[{label:"About Me",description:"My information.",link:"https://prepverse.vercel.app/AkashSingh3031",icon:u.kv},{label:"Project Showcase",description:"PrepVerse open-source projects",link:"https://prepverse.vercel.app/showcase",icon:u.w9},{label:"My Portfolio",description:"All info about me",link:"https://prepverse.github.io/portfolio",icon:u.BE}]},{isPopover:!1,label:"Blog",href:"https://prepverse.vercel.app/blog",icon:u.s1},{isPopover:!1,label:"PrepVerse Community",href:"https://prepverse.vercel.app/prepverse-community",icon:u.vn}],g=({item:e,variant:t="landing"})=>{const r=e.icon;return i.createElement(a.c,{to:e.link,className:"no-underline"},i.createElement("div",{className:(0,o.c)("flex items-center","p-4","transition duration-150 ease-in-out","rounded-lg","hover:bg-gray-100","landing"===t&&"dark:hover:bg-gray-800","blog"===t&&"dark:hover:bg-refine-react-8")},i.createElement("div",{className:"shrink-0"},i.createElement(r,null)),i.createElement("div",{className:"ml-2"},i.createElement("div",{className:(0,o.c)("landing"===t&&"text-gray-900 dark:text-white","blog"===t&&"text-refine-react-8 dark:text-refine-react-3","font-semibold")},e.label),i.createElement("div",{className:(0,o.c)("landing"===t&&"text-gray-500 dark:text-gray-400","blog"===t&&"text-refine-react-5 dark:text-refine-react-4","text-xs")},e.description))))},h=({item:e})=>{const[t,r]=(0,i.useState)(null);(0,i.useEffect)((()=>(r(localStorage.getItem("theme")||null),window.addEventListener("storage",n,!1),()=>{window.removeEventListener("storage",n,!1)})),[]);const n=()=>{r(localStorage.getItem("theme")||null)};let l=e.icon;return"Cloud"===e.label&&(l="light"===t?u.oz:e.icon),i.createElement(a.c,{key:e.label,to:e.href,className:(0,o.c)("inline-flex items-center gap-2","text-sm leading-6 font-normal text-gray-900 dark:text-gray-300","transition-colors duration-150 ease-in-out","no-underline","Hackathon"===e.label?["py-1","px-2","rounded-lg","bg-hackathon-button-bg","animate-hackathon-button-bg","bg-refine-bg","text-gray-0","bg-[length:200%_100%]","text-[14px]","hover:text-gray-0"]:["hover:text-gray-900 dark:hover:text-white"])},e.icon&&i.createElement(l,null),e.label)};var d=r(640),b=r(5224),f=r(2424),v=r(4577);const w=({item:e,variant:t="landing",children:r})=>{const[a,n]=(0,i.useState)(!1),l=i.useRef(null),c=i.useRef(null),s=(0,d.IT)();return i.useEffect((()=>{n(!1)}),[s]),i.createElement(b._,{id:`popover-${e.label}`,key:e.label,className:(0,o.c)("relative","inline-flex items-center"),onMouseEnter:()=>{c.current=setTimeout((()=>n(!0)),210),clearTimeout(l.current)},onMouseLeave:()=>{l.current=setTimeout((()=>n(!1)),210),clearTimeout(c.current)}},(()=>i.createElement(i.Fragment,null,i.createElement(b._.Button,{className:(0,o.c)("inline-flex items-center","text-sm leading-6","font-normal")},i.createElement("span",{className:(0,o.c)("landing"===t&&"text-gray-900 dark:text-gray-300","blog"===t&&"text-refine-react-8 dark:text-refine-react-3","transition-colors duration-150 ease-in-out inline-block")},e.label),i.createElement(v.w,{"aria-hidden":"true",className:(0,o.c)("transition duration-150 ease-out","-mr-2","landing"===t&&"text-gray-500 dark:text-gray-400","blog"===t&&"text-refine-react-4",a?"translate-y-0.5":"")})),i.createElement(f.O,{as:i.Fragment,enter:"transition ease-in duration-150",enterFrom:"opacity-0 translate-y-3",enterTo:"opacity-100 translate-y-0",leave:"transition ease-out duration-150",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 translate-y-3",show:a},i.createElement(b._.Panel,{className:(0,o.c)("absolute","z-50","top-12",{"-left-32 center-point":"Docs"===e.label||"About"===e.label,"left-point":"CodePoint"===e.label})},i.createElement(u.WR,{id:e.label,variant:t,className:(0,o.c)("absolute","top-[-9px]",{"left-1/2":"CodePoint"!==e.label,"left-12":"CodePoint"===e.label}),style:{transform:"translateX(-50%)"}}),i.createElement("div",{className:(0,o.c)("overflow-hidden","rounded-xl","landing"===t&&"border dark:border-gray-700 border-gray-200","landing"===t&&"dark:shadow-menu-dark shadow-menu-light","blog"===t&&"border border-refine-react-3 dark:border-refine-react-6","blog"===t&&"dark:shadow-menu-blog-dark shadow-menu-blog-light")},r))))))},y=({variant:e="landing"})=>i.createElement(i.Fragment,null,m.map((t=>t.isPopover?i.createElement(w,{key:`navbar-${t.label}`,item:t,variant:e},"CodePoint"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,o.c)("grid grid-cols-2 gap-4","p-4","w-[672px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(g,{key:t.label,item:t,variant:e})))),i.createElement(a.c,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,o.c)("border-t","blog"===e&&"border-refine-react-3 dark:border-refine-react-6","landing"===e&&"border-gray-300 dark:border-gray-700","landing"===e&&"bg-gray-100 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-7","flex items-center","py-4 px-7")},i.createElement(u._2,null),i.createElement("div",{className:(0,o.c)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))),"About"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,o.c)("grid gap-4","p-4","w-[336px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(g,{key:t.label,item:t,variant:e})))),i.createElement("div",{className:(0,o.c)("border-t","blog"===e&&"border-refine-react-3 dark:border-refine-react-6","landing"===e&&"border-gray-300 dark:border-gray-700","landing"===e&&"bg-gray-100 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-7","flex justify-between items-center","py-4 px-7")},i.createElement("div",{className:(0,o.c)("landing"===e&&"text-gray-600 dark:text-gray-400 ","blog"===e&&"text-refine-react-5 dark:text-refine-react-4")},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(a.c,{to:"https://github.com/AkashSingh3031",className:(0,o.c)("no-underline","hover:text-inherit")},i.createElement(u.A9,{className:"dark:text-gray-400 text-gray-500"})),i.createElement(a.c,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(u.Ed,null)),i.createElement(a.c,{to:"https://instagram.com/akash.singh3031"},i.createElement(u.Yf,null)),i.createElement(a.c,{to:"https://x.com/akashsingh3031"},i.createElement(u.CC,null))))),"Docs"===t.label&&i.createElement("div",{className:(0,o.c)("grid gap-4","p-4","w-[336px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(g,{key:t.label,item:t,variant:e}))))):i.createElement(h,{key:`navbar-${t.label}`,item:t,variant:e}))));var j=r(2276),P=r(7008),C=r(9072),O=r(2268);function E(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const x=e=>i.createElement("svg",function(e){for(var t=1;ti.createElement("svg",function(e){for(var t=1;t{const[c,s]=(0,i.useState)(null),p=null!=r?r:a.c,m=void 0!==n&&void 0===t;return(0,i.useEffect)((()=>{const e=document.querySelector("html").getAttribute("data-theme");s(e)}),[]),i.createElement(p,function(e){for(var t=1;t{const r=(0,d.IT)();return i.useEffect((()=>{t(!1)}),[r]),i.createElement(T,{isModalOpen:e,setIsModalOpen:t},i.createElement(L,{className:(0,o.c)("hidden landing-sm:block","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}),i.createElement(J,{className:(0,o.c)("block landing-sm:hidden","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}))},T=({isModalOpen:e,setIsModalOpen:t,children:r})=>i.createElement(f.O,{appear:!0,show:e,as:i.Fragment},i.createElement(j.C,{as:"div",className:"relative z-10",onClose:()=>t(!1)},i.createElement(f.O.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},i.createElement("div",{className:(0,o.c)("fixed inset-0","bg-gray-0 dark:bg-gray-900","flex","flex-col")},i.createElement(N.Q,null),i.createElement("div",{className:(0,o.c)("flex items-center justify-between","p-4","landing-sm:px-8")},i.createElement(p.m,{className:"dark:text-gray-0 text-gray-900"}),i.createElement("button",{type:"button",className:(0,o.c)("rounded-lg","hover:brightness-105","active:scale-90","transition-transform duration-75 ease-in-out")},i.createElement(O.O,{className:"text-gray-900 dark:text-white",onClick:()=>t(!1)}))),i.createElement(f.O.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-75",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95"},i.createElement("div",{className:(0,o.c)("flex-1","overflow-y-auto","px-4","pb-4")},r)))))),L=e=>i.createElement("div",{className:(0,o.c)(e.className)},m.map(((e,t)=>{const r="icon"in e&&e.icon;return i.createElement("div",{key:t,className:(0,o.c)("not-prose","p-4","border-t dark:border-gray-700 border-gray-200")},i.createElement(a.c,{to:"href"in e?e.href:void 0,className:(0,o.c)("appearance-none","block","no-underline","dark:text-gray-0 text-gray-900","font-bold")},i.createElement("div",{className:(0,o.c)("flex items-center gap-2")},i.createElement("div",null,e.label),r&&i.createElement(r,null))),"items"in e&&i.createElement("div",{className:(0,o.c)("mt-2","grid grid-cols-2 min-[800px]:grid-cols-3","gap-x-8 gap-y-4")},e.items.map((e=>i.createElement(g,{key:e.label,item:e})))))})),i.createElement(V,null),i.createElement(W,{id:"tablet"}),i.createElement(M,{id:"tablet"})),J=e=>i.createElement("div",{className:(0,o.c)(e.className)},i.createElement("div",{className:"flex-grow"},m.map((e=>e.isPopover?i.createElement(P.C,{key:`modal-${e.label}`},(({open:t})=>i.createElement(i.Fragment,null,i.createElement(D,{component:P.C.Button,label:e.label,open:t}),i.createElement(P.C.Panel,{className:(0,o.c)(t&&"pb-4",t&&"border-b border-gray-200 dark:border-gray-700")},e.items.map((e=>i.createElement(g,{key:e.label,item:e}))))))):i.createElement(D,{key:`modal-${e.label}`,label:e.label,href:e.href,icon:e.icon})))),i.createElement(V,null),i.createElement(W,{id:"phone"}),i.createElement(M,{id:"phone"})),M=e=>{var t;return i.createElement(a.c,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,o.c)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex items-center","p-4")},i.createElement(u._2,{id:(null===(t=e)||void 0===t?void 0:t.id)||""}),i.createElement("div",{className:(0,o.c)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))},W=e=>{var t;return i.createElement("div",{className:(0,o.c)("bg-white dark:bg-gray-700 header-sm:bg-inherit","flex justify-between items-center","header-sm:flex-col header-sm:gap-4","header-sm:border-b border-gray-200 dark:border-gray-600","py-3 px-4")},i.createElement("p",{className:"text-gray-500 dark:text-gray-300 font-semibold"},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(a.c,{to:"https://github.com/AkashSingh3031"},i.createElement(u.A9,{className:"h-10 w-10"})),i.createElement(a.c,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(u.Ed,{className:"h-10 w-10"})),i.createElement(a.c,{to:"https://instagram.com/akash.singh3031"},i.createElement(u.Yf,{className:"h-10 w-10",id:(null===(t=e)||void 0===t?void 0:t.id)||""})),i.createElement(a.c,{to:"https://x.com/akashsingh3031"},i.createElement(u.CC,{className:"h-10 w-10"}))))},V=()=>{const{colorMode:e,setColorMode:t}=(0,C.U)(),r=()=>{t("dark"===e?"light":"dark")},a="dark"===e,n="light"===e;return i.createElement("div",{className:(0,o.c)("not-prose","p-4","flex items-center")},i.createElement("div",{className:(0,o.c)("text-sm","mr-10","dark:text-gray-400 text-gray-600")},"Apperance"),i.createElement("button",{onClick:r,className:(0,o.c)("mr-4","rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200","text-gray-500",n&&"bg-gray-50")},i.createElement(G.G,null),"Light"),i.createElement("button",{onClick:r,className:(0,o.c)("rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200",a?"text-gray-400":"text-gray-500",a&&"bg-gray-700")},i.createElement(B.g,null),"Dark"))};var H=r(9253),R=r(2700),I=r(5792),Z=r(6936);const _=()=>{const{loading:e,githubStarCountText:t}=(0,R.wx)();return i.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank",rel:"noreferrer",className:(0,o.c)("flex gap-2 items-center","font-normal","text-sm leading-6","text-gray-500 dark:text-gray-400","hover:text-gray-400 dark:hover:text-gray-300","hover:no-underline","transition-colors","duration-200","ease-in-out")},i.createElement(I.A,{className:(0,o.c)("w-5 h-5")}),i.createElement("div",{className:(0,o.c)("flex items-center","w-10 h-6")},e?i.createElement(Z.c,{className:(0,o.c)("w-5 h-5"),wrapperProps:{className:(0,o.c)("mx-auto")}}):i.createElement("span",null,t)))},U=({trackProgress:e,variant:t="landing",className:r})=>{const[u,m]=(0,i.useState)(!1),{scrollYProgress:g}=(0,n.Q)(),h=(0,l.s)(g,[.03,.95],["0%","100%"]);return i.createElement(i.Fragment,null,i.createElement(N.Q,null),i.createElement("header",{className:(0,o.c)("sticky","top-0","z-10")},i.createElement("div",{className:(0,o.c)("absolute","top-0 left-0 right-0","backdrop-blur-[6px]","landing-md:backdrop-blur-[12px]","z-[-1]","bg-gray-0 dark:bg-gray-800","bg-opacity-80 dark:bg-opacity-80","pointer-events-none",r),style:{top:"-20px",bottom:"-80px",WebkitMaskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))",maskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))"}}),i.createElement("div",{className:(0,o.c)("relative","z-[1]","p-4","landing-sm:px-8","landing-md:py-5")},i.createElement("div",{className:(0,o.c)("mx-auto","flex","items-center","justify-between","max-w-[896px]","landing-lg:max-w-[1200px]")},i.createElement("div",{className:(0,o.c)("w-[130px]","landing-lg:w-[200px]")},i.createElement(a.c,{to:"https://prepverse.vercel.app"},i.createElement(p.m,{className:"text-gray-900 dark:text-gray-0"}))),i.createElement("button",{type:"button",className:(0,o.c)("text-gray-900 dark:text-gray-0","block landing-md:hidden"),onClick:()=>m(!0)},i.createElement(s.m,null)),i.createElement("div",{className:(0,o.c)("hidden landing-md:flex","flex-1","items-center","gap-8")},i.createElement(y,{variant:t})),i.createElement("div",{className:(0,o.c)("hidden landing-md:flex","items-center","justify-end","gap-4","w-[130px]","landing-lg:w-[200px]")},i.createElement(_,null),i.createElement(H.C,null)),i.createElement(F,{isModalOpen:u,setIsModalOpen:m}))),e&&i.createElement("div",{className:(0,o.c)("w-full","h-[1.5px]","translate","bg-refine-react-3 dark:bg-refine-react-7")},i.createElement(c.q.div,{className:(0,o.c)("h-full","bg-refine-react-light-link dark:bg-refine-react-dark-link"),style:{width:h}}))))}},9253:(e,t,r)=>{r.d(t,{C:()=>i,O:()=>p});var a=r(1504),o=r(4971),n=r(9072),l=r(3756),c=r(5372);const i=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,n.U)();return a.createElement("button",{type:"button",className:(0,o.c)("appearance-none","focus:outline-none","relative","w-10 h-10","rounded-full","border","border-solid","border-gray-300 dark:border-gray-700","text-gray-500","transition-colors","duration-150","ease-in-out","overflow-hidden","flex-shrink-0","group",e),onClick:()=>{r("dark"===t?"light":"dark")}},a.createElement("div",{className:(0,o.c)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","translate-y-0","dark:-translate-y-10","duration-200","ease-in-out","transition-transform")},a.createElement(l.G,null)),a.createElement("div",{className:(0,o.c)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","-translate-y-10","dark:translate-y-0","duration-200","ease-in-out","transition-transform")},a.createElement(c.g,null)))},s=[{name:"light",icon:l.G,label:"Light"},{name:"dark",icon:c.g,label:"Dark"}],p=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,n.U)();return a.createElement("div",{className:(0,o.c)("flex","items-center","gap-4","justify-start",e)},s.map((({name:e,label:n,icon:l})=>a.createElement("button",{type:"button",key:e,className:(0,o.c)("appearance-none","focus:outline-none","py-1","pl-1.5","pr-3","flex","items-center","justify-center","gap-1","rounded-[40px]","text-gray-400","border border-solid","border-gray-200","dark:border-gray-600",t===e&&"bg-gray-100 dark:bg-gray-700"),onClick:()=>{r(e)}},a.createElement(l,{className:(0,o.c)("w-4 h-4")}),a.createElement("span",{className:(0,o.c)("text-sm")},n)))))}},7708:(e,t,r)=>{r.d(t,{o0:()=>h,yw:()=>m,wd:()=>g,AR:()=>d});var a=r(1504);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}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}function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var p=r(6098),u=r(4252);const m=[{label:"Resources",items:[{label:"Getting Started",href:"https://prepverse.vercel.app/docs"},{label:"Blog",href:"https://prepverse.vercel.app/blog"},{label:"Project Showcase",icon:a.createElement(p.KU,null),href:"https://prepverse.vercel.app/showcase"},{label:"Community",icon:a.createElement(p.KU,null),href:"https://prepverse.vercel.app/prepverse-community"}]},{label:"Product",items:[{label:"CodePoint",icon:a.createElement(u.i,null),href:"https://prepverse.github.io/CodePoint"},{label:"LeetVerse",icon:a.createElement(u.i,null),href:"https://prepverse.github.io/LeetVerse"}]},{label:"About",items:[{label:"About Me",href:"https://prepverse.vercel.app/AkashSingh3031"},{label:"Portfolio",icon:a.createElement(u.i,null),href:"https://prepverse.github.io/portfolio"}]}],g=[{label:"License",href:"https://github.com/PrepVerse/prepverse.github.io/blob/master/LICENSE"}],h="Thank you for visiting, Connect with me over socials.",d=[{icon:e=>a.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;t{r.d(t,{w:()=>n});var a=r(1504);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const n=e=>a.createElement("svg",function(e){for(var t=1;t{r.d(t,{g:()=>n});var a=r(1504);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const n=e=>a.createElement("svg",function(e){for(var t=1;t{r.d(t,{i:()=>n});var a=r(1504);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const n=e=>a.createElement("svg",function(e){for(var t=1;t{r.d(t,{A:()=>l,i:()=>c});var a=r(1504);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function n(e){for(var t=1;ta.createElement("svg",n({width:12,height:12,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.053 0A10.904 10.904 0 0 0 3.89 2.685 11.34 11.34 0 0 0 .142 9.472a11.48 11.48 0 0 0 1.456 7.65 11.087 11.087 0 0 0 5.964 4.86c.556.103.752-.25.752-.547v-1.918C5.23 20.202 4.58 18 4.58 18a3.012 3.012 0 0 0-1.227-1.655c-.997-.692.081-.692.081-.692.35.05.683.18.975.382.293.202.536.469.713.78.15.278.352.523.595.721a2.312 2.312 0 0 0 2.618.221c.042-.57.283-1.105.678-1.509-2.454-.284-5.03-1.253-5.03-5.539a4.415 4.415 0 0 1 1.132-3.025A4.194 4.194 0 0 1 5.224 4.7s.928-.305 3.036 1.156c1.81-.508 3.72-.508 5.531 0 2.108-1.46 3.03-1.156 3.03-1.156.406.936.455 1.993.135 2.963a4.415 4.415 0 0 1 1.132 3.026c0 4.334-2.582 5.282-5.043 5.538.264.271.468.597.598.955.13.358.182.741.155 1.122V21.4c0 .367.196.65.759.54a11.093 11.093 0 0 0 5.88-4.878 11.481 11.481 0 0 0 1.419-7.6 11.34 11.34 0 0 0-3.71-6.746A10.907 10.907 0 0 0 11.053 0Z",fill:"currentColor"})),c=e=>a.createElement("svg",n({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},e),a.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.066.001a11.91 11.91 0 0 1 7.745 2.966 12.326 12.326 0 0 1 4.032 7.33 12.46 12.46 0 0 1-1.54 8.245 12.088 12.088 0 0 1-6.406 5.314l-.105.037-.11.021c-.508.1-1.232.093-1.83-.422-.577-.498-.681-1.166-.681-1.565v-3.008l.004-.053a1.102 1.102 0 0 0-.062-.453 1.058 1.058 0 0 0-.235-.377l-.839-.86-.863.882a.802.802 0 0 0-.224.502l-.015.217v3.183c0 .434-.14 1.029-.628 1.492-.541.514-1.246.62-1.864.505l-.108-.02-.104-.035a12.082 12.082 0 0 1-6.498-5.296 12.457 12.457 0 0 1-1.58-8.298c.45-2.86 1.891-5.471 4.073-7.375A11.909 11.909 0 0 1 12.05.001h.016Zm-10.43 10.54a10.957 10.957 0 0 0 1.39 7.303 10.58 10.58 0 0 0 5.693 4.638c.53.099.717-.238.717-.522v-1.83c-.588.13-1.083.15-1.5.1a2.95 2.95 0 0 1-.542-.117 2.551 2.551 0 0 1-.422-.176 2.362 2.362 0 0 1-.82-.72c-.208-.294-.28-.535-.28-.535a2.876 2.876 0 0 0-1.17-1.58l-.016-.01c-.925-.65.093-.65.093-.65.106.015.21.038.313.068l.017.005a2.172 2.172 0 0 1 .962.603c.122.13.23.276.319.433a2.29 2.29 0 0 0 .68.775h.002s0 .001 0 0a2.211 2.211 0 0 0 2.385.124v-.014a2.302 2.302 0 0 1 .647-1.427 8.754 8.754 0 0 1-1.625-.328 4.865 4.865 0 0 1-1.416-.695 3.883 3.883 0 0 1-.432-.365c-.8-.786-1.328-2.002-1.328-3.899a4.214 4.214 0 0 1 1.08-2.887 4.003 4.003 0 0 1 .104-2.848s.886-.291 2.898 1.103a9.762 9.762 0 0 1 5.28 0c2.011-1.393 2.891-1.103 2.891-1.103.388.893.434 1.902.13 2.828a4.214 4.214 0 0 1 1.08 2.888c0 3.166-1.444 4.44-3.174 4.972a8.617 8.617 0 0 1-1.64.314 2.558 2.558 0 0 1 .699 1.425c.026.184.033.371.02.558v2.955c0 .35.187.62.724.515a10.588 10.588 0 0 0 5.613-4.656 10.958 10.958 0 0 0 1.354-7.254 10.824 10.824 0 0 0-3.541-6.439 10.41 10.41 0 0 0-6.77-2.592 10.408 10.408 0 0 0-6.837 2.563 10.824 10.824 0 0 0-3.578 6.478ZM16.374 7.8a8.003 8.003 0 0 0-.856.524l-.58.401-.679-.19a8.262 8.262 0 0 0-4.469 0l-.68.19-.58-.402a7.982 7.982 0 0 0-.846-.519c.019.186.059.37.12.549l.282.832-.588.653a2.714 2.714 0 0 0-.696 1.86v.024c0 1.724.503 2.513.998 2.937.563.481 1.397.736 2.476.86l1.567.182 1.954-.204c1.082-.112 1.912-.358 2.47-.833.492-.418.999-1.209.999-2.96v-.026a2.714 2.714 0 0 0-.696-1.86l-.582-.647.273-.826c.058-.178.096-.36.113-.545Z",clipRule:"evenodd"}))},1980:(e,t,r)=>{r.d(t,{m:()=>n});var a=r(1504);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const n=e=>a.createElement("svg",function(e){for(var t=1;t{r.d(t,{Q:()=>n});var a=r(1504);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const n=e=>a.createElement("svg",function(e){for(var t=1;t{r.d(t,{G:()=>n});var a=r(1504);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const n=e=>a.createElement("svg",function(e){for(var t=1;t{r.d(t,{s1:()=>c,wR:()=>s,QD:()=>u,vn:()=>g,kv:()=>d,uI:()=>f,A9:()=>w,_2:()=>j,Ew:()=>C,Yf:()=>E,oh:()=>S,Ed:()=>A,BE:()=>N,KU:()=>F,WR:()=>V,w9:()=>R,CC:()=>Z,AH:()=>z,oz:()=>K,C3:()=>q});var a=r(1504);var o=r(4971);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}function l(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const c=e=>a.createElement("svg",l(function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;t{const{colorMode:t}=(0,B.U)();return a.createElement("div",{className:(0,o.c)("relative","flex","items-center","justify-center","rounded-full","overflow-hidden","p-px","dark:bg-[#194b3a] bg-[#b7dbff]"),style:{transform:"translateZ(0)"}},a.createElement("div",{className:(0,o.c)("z-[1]","absolute","inset-0","dark:bg-new-badge-border-dark bg-new-badge-border-light","animate-new-badge-border")}),a.createElement("svg",function(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var M,W;const V=e=>{var{variant:t="landing"}=e,r=J(e,["variant"]);return a.createElement("svg",L(function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",U(function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;t{r.d(t,{m:()=>n});var a=r(1504);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const n=e=>a.createElement("svg",function(e){for(var t=1;t{r.d(t,{E:()=>h});var a=r(4971),o=r(1504),n=r(9184),l=r(7708),c=r(204);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const s=e=>o.createElement("svg",function(e){for(var t=1;t{const t=o.createElement("div",{className:(0,a.c)("py-6 landing-lg:py-0","flex","flex-col","gap-4","landing-lg:max-w-[224px]")},o.createElement("div",{className:(0,a.c)("font-semibold","text-sm","leading-6","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},"Contacts"),o.createElement("a",{href:"https://wa.me/+919794423031",target:"_blank",className:(0,a.c)("font-normal","text-sm","leading-5","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},"+91 9794423031"),o.createElement("a",{href:"https://mail.google.com/mail/u/0/?fs=1&to=codewithsky@gmail.com&tf=cm",target:"_blank",className:(0,a.c)("font-normal","text-sm","leading-5","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:180,height:40,viewBox:"0 0 180 40",fill:"none"},o.createElement("text",{x:"1",y:"15",fontFamily:"Arial, sans-serif",fontSize:"16",fill:"currentColor"},"codewithsky@gmail.com")))),r=o.createElement("div",{className:(0,a.c)("py-6 landing-lg:py-0","flex","flex-col","landing-sm:items-end")},o.createElement("div",{className:(0,a.c)("flex","flex-col","gap-4")},o.createElement("div",{className:(0,a.c)("text-sm","leading-6","font-semibold","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3","landing-lg:text-right")},"Connect with me on"),o.createElement("div",{className:(0,a.c)("flex","items-center","gap-8","landing-lg:gap-4","justify-start")},l.AR.map((({href:t,icon:r})=>o.createElement("a",{href:t,key:t,target:"_blank",rel:"noreferrer",className:(0,a.c)("landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},o.createElement(r,{className:(0,a.c)("w-6 h-6","landing-lg:w-8 landing-lg:h-8")})))))));return o.createElement("footer",{className:(0,a.c)("w-full")},o.createElement("div",{className:(0,a.c)("border-t border-t-solid","landing"===e&&"border-t-gray-100 dark:border-t-gray-700","blog"===e&&"border-t-refine-react-3 dark:border-t-refine-react-7","landing"===e&&"dark:bg-footer-landing-dark-bg","blog"===e&&"bg-footer-blog-light-bg dark:bg-footer-blog-dark-bg")},o.createElement("div",{className:(0,a.c)("grid","grid-cols-1","max-w-screen-landing-md","landing-lg:max-w-screen-landing-lg","mx-auto")},o.createElement("div",{className:(0,a.c)("px-4 landing-sm:px-8 landing-lg:px-12","py-4 landing-lg:py-6","flex","items-center","justify-between")},o.createElement(n.c,{to:"https://prepverse.vercel.app",className:(0,a.c)("hover:no-underline","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},o.createElement(p.m,null)),o.createElement("a",{href:"https://github.com/sponsors/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,a.c)("hover:no-underline")},o.createElement(s,null))),o.createElement("div",{className:(0,a.c)("px-4 landing-sm:px-8 landing-lg:px-12","flex","flex-row","flex-wrap","items-start","justify-start","text-gray-500 dark:text-gray-500")},l.o0),o.createElement("div",{className:(0,a.c)("px-4 landing-sm:px-8 landing-lg:px-12","py-6 landing-lg:pt-8 landing-lg:pb-12","flex","flex-row","flex-wrap","items-start","justify-start","gap-6")},o.createElement("div",{className:(0,a.c)("hidden","landing-lg:flex","max-w-[282px]","w-full")},t),l.yw.map((t=>o.createElement("div",{className:(0,a.c)("flex flex-col gap-4","min-w-[152px]"),key:t.label},o.createElement("div",{className:(0,a.c)("text-sm","leading-6","font-semibold","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},t.label),o.createElement("div",{className:(0,a.c)("flex","flex-col","gap-2")},t.items.map((t=>o.createElement("a",g(m({href:t.href,key:t.label},t.href.startsWith("http")?{target:"_blank",rel:"noopener noreferrer"}:{}),{className:(0,a.c)("text-sm","leading-5","hover:no-underline","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300")}),o.createElement("div",{className:(0,a.c)("flex","items-center","gap-2")},t.label,t.icon)))))))),o.createElement("div",{className:(0,a.c)("hidden","landing-lg:flex","ml-auto")},r)),o.createElement("div",{className:(0,a.c)("px-4 landing-sm:px-8","grid","grid-cols-1","landing-sm:grid-cols-2","landing-sm:gap-8","landing-lg:hidden")},t,r))),o.createElement("div",{className:(0,a.c)("border-t border-t-solid","landing"===e&&"border-t-gray-100 dark:border-t-gray-700","blog"===e&&"border-t-gray-100 dark:border-t-gray-700","landing"===e&&"bg-gray-50 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-8")},o.createElement("div",{className:(0,a.c)("py-6 landing-sm:py-8 landing-lg:py-6","px-4 landing-sm:px-8 landing-lg:px-12","grid","grid-cols-1","landing-md:grid-cols-2","gap-8","max-w-screen-landing-md","landing-lg:max-w-screen-landing-lg","mx-auto")},o.createElement("div",{className:(0,a.c)("flex","flex-col","landing-sm:flex-row","gap-4","items-start","justify-start")},l.wd.map((t=>o.createElement("a",g(m({href:t.href,key:t.label},t.href.startsWith("http")?{target:"_blank",rel:"noopener noreferrer"}:{}),{className:(0,a.c)("text-sm","leading-5","font-normal","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:no-underline","hover:text-gray-800 dark:hover:text-gray-300")}),t.label)))),o.createElement("div",{className:(0,a.c)("text-left","landing-md:text-right","text-sm","pr-6 landing-sm:pr-0","leading-5","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3","font-normal")},o.createElement("div",{className:(0,a.c)("text-base","text-gray-500 dark:text-gray-400")},"Copyright \xa9 ",(new Date).getFullYear()," PrepVerse"," ",o.createElement(c.Q,{className:"text-refine-red ml-2 inline leading-6"}),o.createElement("br",null),"Built with Docusaurus & Refine.")))))}},6936:(e,t,r)=>{r.d(t,{c:()=>i});var a=r(4971),o=r(1504);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}function l(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}const i=e=>{var{className:t,wrapperProps:r}=e,n=c(e,["className","wrapperProps"]);return o.createElement("div",l({role:"status"},r),o.createElement("svg",l({"aria-hidden":"true",width:24,height:24,viewBox:"0 0 100 100",className:(0,a.c)("text-gray-200 animate-spin dark:text-gray-600 fill-refine-blue",t),fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),o.createElement("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),o.createElement("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})),o.createElement("span",{className:"sr-only"},"Loading..."))}},252:(e,t,r)=>{r.d(t,{Q:()=>i});var a=r(4971),o=r(1504);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}function l(e){for(var t=1;to.createElement("div",{className:(0,a.c)("w-full h-12","relative","bg-top-announcement","not-prose","font-inter","z-top-announcement")},o.createElement("div",{className:(0,a.c)("hidden lg:flex","w-full h-full","max-w-screen","overflow-hidden","border-b border-solid border-[#47ebeb26]","top-announcement-mask")},o.createElement("div",{className:(0,a.c)("w-[1280px] h-full","mx-auto","flex","justify-between")},o.createElement("div",{className:(0,a.c)("w-[calc(50%-300px)] h-full","relative")},o.createElement(p,{style:{animationDelay:"1.5s"},className:(0,a.c)("absolute","top-[2px]","right-[220px]"),id:"1"}),o.createElement(p,{style:{animationDelay:"1s"},className:(0,a.c)("absolute","rotate-180","top-[8px] right-[100px]"),id:"2"}),o.createElement(u,{className:(0,a.c)("absolute","right-[10px]"),id:"3"})),o.createElement("div",{className:(0,a.c)("w-[calc(50%-300px)] h-full","relative")},o.createElement(p,{style:{animationDelay:"2s"},className:(0,a.c)("absolute","rotate-180","top-[6px] right-[180px]"),id:"4"}),o.createElement(p,{style:{animationDelay:"0.5s"},className:(0,a.c)("delay-[1300]","absolute","top-[2px]","right-[40px]"),id:"5"}),o.createElement(u,{className:(0,a.c)("absolute","right-[-70px]"),id:"6"})))),o.createElement(s,null)),s=()=>o.createElement("a",{href:"https://prepverse.vercel.app/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,a.c)("relative lg:absolute","px-2 lg:px-0","top-0","left-[50%]","translate-x-[-50%]","bg-top-announcement-text","h-full w-full lg:w-[450px]","flex items-center justify-center","text-white","text-xs sm:text-sm","text-center","no-underline","hover:no-underline","hover:text-white","not-prose")},o.createElement("div",{className:(0,a.c)("ml-2","not-prose")},"For more updates follow","",o.createElement("span",{className:(0,a.c)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")},"@AkashSingh3031"),".")),p=e=>o.createElement("svg",c(l({xmlns:"http://www.w3.org/2000/svg",width:80,height:40,fill:"none"},e),{className:(0,a.c)("animate-top-announcement-glow","opacity-1",e.className)}),o.createElement("circle",{cx:40,r:40,fill:`url(#${e.id}-a)`,fillOpacity:.5}),o.createElement("defs",null,o.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 40 -40 0 40 0)",gradientUnits:"userSpaceOnUse"},o.createElement("stop",{stopColor:"#47EBEB"}),o.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0})))),u=e=>o.createElement("svg",c(l({xmlns:"http://www.w3.org/2000/svg",width:120,height:48,fill:"none"},e),{className:(0,a.c)("animate-top-announcement-glow","opacity-1",e.className)}),o.createElement("circle",{cx:60,cy:24,r:60,fill:`url(#${e.id}-a)`,fillOpacity:.5}),o.createElement("defs",null,o.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 60 -60 0 60 24)",gradientUnits:"userSpaceOnUse"},o.createElement("stop",{stopColor:"#47EBEB"}),o.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0}))))},8560:(e,t,r)=>{r.d(t,{s:()=>G});var a=r(1504),o=r(8952),n=r(8796),l=r(5684),c=r(6564),i=r(2184),s=r(6616),p=r(5952),u=r(4971),m=r(1373);function g(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function d(e,t){if(null==e)return{};var r,a,o=function(e,t){if(null==e)return{};var r,a,o={},n=Object.keys(e);for(a=0;a=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}const b=e=>{var{as:t}=e,r=d(e,["as"]);return a.createElement(t,h(function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;t{const[r,o]=(0,a.useState)(!1),n=(0,a.useRef)(void 0),l=(0,a.useCallback)((()=>{try{navigator.clipboard.writeText(e).then((()=>{o(!0),n.current=window.setTimeout((()=>{o(!1)}),1e3)}))}catch(t){}}),[e]);return(0,a.useEffect)((()=>()=>window.clearTimeout(n.current)),[]),a.createElement("button",{type:"button","aria-label":r?"Copied!":"Copy code to clipboard",title:"Copy code to clipboard",className:(0,u.c)("w-6 h-6","flex justify-center items-center","bg-gray-200","dark:bg-gray-800","hover:bg-gray-300","dark:hover:bg-refine-react-dark-code","rounded","group","transition-[background-color] duration-200 ease-in-out"),onClick:l},a.createElement(v,{className:(0,u.c)("w-3 h-3","text-gray-500","dark:text-gray-400",r&&"rotate-[360deg]","transition-all duration-200 ease-in-out")}))};function y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const j=e=>a.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;t{const r=t?j:C;return a.createElement("button",{type:"button",onClick:()=>e(),className:(0,u.c)("w-6 h-6","flex justify-center items-center","bg-gray-200","dark:bg-gray-800","hover:bg-gray-300","dark:hover:bg-refine-react-dark-code","rounded","group","transition-[background-color] duration-200 ease-in-out"),"aria-label":"Toggle word wrap",title:"Toggle word wrap"},a.createElement(r,{className:(0,u.c)("w-3 h-3","text-gray-500","dark:text-gray-400",t&&"rotate-[360deg]","transition-all duration-200 ease-in-out")}))};function E(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function x(e){for(var t=1;ta.createElement("svg",x({xmlns:"http://www.w3.org/2000/svg",width:12,height:14,viewBox:"0 0 12 14",fill:"none"},e),a.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M11 4.994V11.6A1.4 1.4 0 0 1 9.6 13H2.4A1.4 1.4 0 0 1 1 11.6V2.4A1.4 1.4 0 0 1 2.4 1h4.606a1.4 1.4 0 0 1 .99.41l2.594 2.594a1.4 1.4 0 0 1 .41.99ZM0 2.4A2.4 2.4 0 0 1 2.4 0h4.606a2.4 2.4 0 0 1 1.697.703l2.594 2.594A2.4 2.4 0 0 1 12 4.994V11.6A2.4 2.4 0 0 1 9.6 14H2.4A2.4 2.4 0 0 1 0 11.6V2.4ZM3.5 6a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5Zm0 2a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5Zm0 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3Z",clipRule:"evenodd"})),A=({children:e,icon:t=a.createElement(k,null)})=>a.createElement("div",{className:(0,u.c)("py-3","px-4","bg-gray-100 dark:bg-gray-700","text-gray-800","dark:text-gray-100","text-xs","flex items-center","gap-2","rounded-tl-lg","rounded-tr-lg")},t,e),D=({children:e,className:t="",metastring:r,title:o,showLineNumbers:n,language:g,icon:h,style:d})=>{const{prism:{defaultLanguage:f,magicComments:v}}=(0,l.y)();var y;const j=null!==(y=null!=g?g:(0,i.K2)(t))&&void 0!==y?y:f,P=(0,c.i)(),C=(0,s._)(),E=(0,i.QH)(r)||o,{lineClassNames:k,code:D}=(0,i.cj)(e,{metastring:r,language:j,magicComments:v}),N=null!=n?n:(0,i.OO)(r);return a.createElement(b,{as:"div",className:(0,u.c)("refine-common-code-block",j&&`language-${j}`,"rounded-lg","bg-gray-200","dark:bg-gray-900","border","border-gray-300","dark:border-0","mb-6","relative","refine-wider-container"),style:d},E&&a.createElement(A,{icon:h},E),a.createElement("div",{className:(0,u.c)("relative","pt-3","pb-0","not-prose")},a.createElement(m.cp,S(x({},m.wB),{theme:P,code:D,language:null!=j?j:"text"}),(({className:e,tokens:t,getLineProps:r,getTokenProps:o})=>a.createElement("pre",{tabIndex:0,ref:C.codeBlockRef,className:(0,u.c)(e,"bg-transparent","!mt-0","!mb-0","m-0","px-0","pt-0","font-jetBrains-mono","pb-3")},a.createElement("code",{className:(0,u.c)("font-[inherit]","bg-transparent","inline-block","min-w-full")},t.map(((e,t)=>a.createElement(p.c,{key:t,line:e,getLineProps:r,getTokenProps:o,classNames:(0,u.c)(k[t],"px-4","text-xs sm:text-sm 2xl:text-sm"),showLineNumbers:N})))))))),a.createElement("div",{className:(0,u.c)("absolute",E?"top-2 right-2":"top-3 right-3","flex items-center gap-2")},(C.isEnabled||C.isCodeScrollable)&&a.createElement(O,{onClick:C.toggle,isEnabled:C.isEnabled}),a.createElement(w,{className:(0,u.c)(),code:D})))};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}function B(e,t){if(null==e)return{};var r,a,o=function(e,t){if(null==e)return{};var r,a,o={},n=Object.keys(e);for(a=0;a=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}const G=e=>{var{children:t}=e,r=B(e,["children"]);const l=(0,o.c)(),c=function(e){return a.Children.toArray(e).some((e=>(0,a.isValidElement)(e)))?e:Array.isArray(e)?e.join(""):e}(t),i="string"==typeof c?D:n.c;return a.createElement(i,function(e){for(var t=1;t{r.d(t,{c:()=>A});var a=r(1504),o=r(8560),n=r(4971),l=r(9936),c=r(7748),i=r.n(c),s=r(1688);const p="playgroundPreview_jwe9";function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function m({children:e,minHeight:t,url:r="http://localhost:3000",hasBottom:o=!1}){return a.createElement("div",{className:(0,n.c)("flex","flex-col","h-full")},a.createElement("div",{className:(0,n.c)("flex-shrink-0","rounded-tl-lg","rounded-tr-lg","border","border-gray-300 dark:border-gray-700","px-4 py-3","flex items-center justify-start","gap-2","bg-gray-100 dark:bg-gray-700","relative","text-gray-800 dark:text-gray-100","border-b-0")},a.createElement(g,{className:"w-4 h-4"}),a.createElement("div",{className:(0,n.c)("text-xs")},`${r}`.replace(/^http(s?):\/\//,""))),a.createElement("div",{className:(0,n.c)("flex-1","overflow-hidden","bg-gray-100 dark:bg-gray-700","border border-gray-300 dark:border-gray-700",!o&&"rounded-bl-lg rounded-br-lg",o&&"border-b-gray-300 dark:border-b-gray-900",o&&"border-b"),style:{minHeight:t}},e))}const g=e=>a.createElement("svg",function(e){for(var t=1;t{const[o,n]=a.useState(e),[l]=a.useState(t);a.useEffect((()=>{!o&&e&&n(!0)}),[e]),a.useEffect((()=>{if(l){const e=setTimeout((()=>{n(!0)}),l);return()=>clearTimeout(e)}}),[l]);const c=a.useMemo((()=>o&&"function"==typeof r?r():null),[o]);if(void 0!==r&&"function"!=typeof r)throw new Error("Conditional component requires a function as a child");return c};var b=r(9128),f=r(3296);function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.g.Buffer=r.g.Buffer||f.Sn;const w=({query:e,code:t,css:r})=>{const{siteConfig:{customFields:o}}=(0,l.c)(),[n,c]=a.useState(void 0),s=a.useCallback((async t=>{if("undefined"!=typeof window&&window.Worker){const a=new Worker(`${location.protocol}//${location.host}/workers/lz-worker.js`);a.onmessage=function({data:t}){t.compressed&&c(`${o.LIVE_PREVIEW_URL}?code=${t.compressed}${r?`&css=${i().encode(r)}`:""}${e?`${e}`:""}`),a.terminate()},a.postMessage({code:t})}}),[e]);return a.useEffect((()=>{s(t)}),[t,s]),n?a.createElement("iframe",{loading:"lazy",src:n,width:"100%",height:"100%",style:{position:"absolute",left:0,top:0,width:"100%",height:"100%"}}):null},y=a.memo(w,((e,t)=>e.code===t.code&&e.query===t.query&&e.css===t.css)),j=e=>a.createElement("svg",function(e){for(var t=1;t{o?(i(!1),setTimeout((()=>{l((e=>!e)),setTimeout((()=>{i(!0)}),300)}),100)):(i(!1),l((e=>!e)),setTimeout((()=>{i(!0)}),300))}},a.createElement(j,{className:(0,n.c)(o&&"rotate-180","transition-transform","duration-200","ease-in-out")}),a.createElement("span",{className:(0,n.c)("text-base","block","overflow-hidden","h-6")},a.createElement("span",{className:(0,n.c)("block",o&&"opacity-0","transition-opacity duration-200 ease-in-out")},"Show Code"),a.createElement("span",{className:(0,n.c)("block","transition-transform duration-200 ease-in-out","bg-gray-100 dark:bg-gray-700",o&&"-translate-y-6")},"Hide Code"))),a.createElement("div",{className:(0,n.c)("rounded-bl-lg","rounded-br-lg"),style:{maxHeight:o?c?"unset":"100vh":"0px",transition:"0.3s all ease-in-out",overflow:"hidden"},ref:r},a.createElement(A,{language:"tsx",style:{marginBottom:0,marginRight:"0",marginLeft:"0",borderTopLeftRadius:"0",borderTopRightRadius:"0",borderBottomLeftRadius:"0.5rem",borderBottomRightRadius:"0.5rem"}},t)))}const C=({children:e,disableScroll:t,previewHeight:r,hideCode:o=!1,url:c="http://localhost:3000",previewOnly:i=!1,tailwind:u=!1})=>{const g=String(e),{shared:f,sharedCss:v}=(0,b.UF)(),{visible:w}=(e=>{const t="// visible-block-start";let r=e.indexOf(t);r=r>0?r+22:0;let a=e.indexOf("// visible-block-end");a=a>0?a:e.length;const o=e.slice(0,r),n=e.slice(r,a).trimEnd().trimStart(),l=e.slice(a);return{visible:n,join:e=>`${o}\n${e}\n${l}`}})(`\n ${null!=f?f:""}\n ${g}\n `.replace(/\n$/,"")),j=a.useRef(null),C=(0,h.c)(j),{siteConfig:{customFields:O}}=(0,l.c)(),{isLast:E}=(0,s.E)();return a.createElement("div",{className:(0,n.c)("overflow-hidden","mb-6","refine-wider-container")},a.createElement(a.Fragment,null,a.createElement(m,{url:c,hasBottom:!i},a.createElement("div",{className:(0,n.c)(p,"live-editor-wrapper"),style:{maxHeight:r,minHeight:r,overflow:t?"hidden":void 0,position:"relative"},ref:j},E?a.createElement(d,{if:C,maxWait:3e3},(()=>a.createElement(y,{code:`\n${null!=f?f:""}\n${g}\n `,css:v,query:`${t?"&disableScroll=true":""}${u?"&tailwind=true":""}`}))):a.createElement("div",{style:{height:"100%",minHeight:"inherit",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"1.25rem"}},a.createElement("span",null,"Live previews only work with the latest documentation.")))),!i&&a.createElement(P,{hidden:o,code:w})))},O=a.memo(C,((e,t)=>String(e.children)===String(t.children))),E=({children:e})=>{const{setShared:t}=(0,b.UF)();return a.useEffect((()=>(t(String(e)),()=>{t(void 0)})),[e]),null},x=a.memo(E,((e,t)=>String(e.children)===String(t.children))),S=({children:e})=>{const{setSharedCss:t}=(0,b.UF)();return a.useEffect((()=>(t(String(e)),()=>{t(void 0)})),[e]),null},k=a.memo(S,((e,t)=>String(e.children)===String(t.children)));function A(e){var t,r;return e.live&&e.live&&(null===(r=e.className)||void 0===r||null===(t=r.includes)||void 0===t?void 0:t.call(r,"language-css"))?a.createElement(k,e):e.shared&&e.live?a.createElement(x,e):e.live?a.createElement(O,e):a.createElement(o.s,e)}}}]); \ No newline at end of file diff --git a/assets/js/8d7ffaf4.0c25598f.js b/assets/js/8d7ffaf4.0c25598f.js new file mode 100644 index 00000000..32a183bf --- /dev/null +++ b/assets/js/8d7ffaf4.0c25598f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[9686],{1964:e=>{e.exports=JSON.parse('{"permalink":"/blog/tags/leet-code","page":1,"postsPerPage":12,"totalPages":1,"totalCount":1,"blogDescription":"A Docusaurus powered blog!","blogTitle":"Blog"}')}}]); \ No newline at end of file diff --git a/assets/js/8dca341e.8a2a3ee3.js b/assets/js/8dca341e.7bc3cfc7.js similarity index 80% rename from assets/js/8dca341e.8a2a3ee3.js rename to assets/js/8dca341e.7bc3cfc7.js index 6f852433..12015b51 100644 --- a/assets/js/8dca341e.8a2a3ee3.js +++ b/assets/js/8dca341e.7bc3cfc7.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[1084],{8164:(e,t,r)=>{r.d(t,{c:()=>a});var n=r(1504),l=r(8952);function a({children:e,fallback:t}){var r;return(0,l.c)()?n.createElement(n.Fragment,null,null===(r=e)||void 0===r?void 0:r()):null!=t?t:null}},5904:(e,t,r)=>{r.d(t,{I7:()=>a,kz:()=>o,aI:()=>f,sL:()=>m,uU:()=>Ye,UZ:()=>Ue,sH:()=>Xe,W4:()=>Je,g3:()=>qe,Ou:()=>Vt,M7:()=>p,gv:()=>$e,U7:()=>St,K6:()=>Et,sT:()=>h,Dp:()=>v,m4:()=>x,Yv:()=>C,UJ:()=>A,QR:()=>rt,y:()=>L,AD:()=>lt,WA:()=>S,ai:()=>Gt,m0:()=>D,Gg:()=>Z,kB:()=>R,mK:()=>F,em:()=>X,E5:()=>Bt,sP:()=>Ft,_$:()=>U,gF:()=>Q,Iv:()=>$,Qh:()=>te,yK:()=>st,sW:()=>ut,Uf:()=>le,cF:()=>bt,aA:()=>ce,mO:()=>se,I1:()=>ue,_A:()=>de,CS:()=>ot,U$:()=>Ot,yw:()=>gt,wA:()=>Dt,yM:()=>pe,Ep:()=>Oe,qy:()=>jt,sN:()=>ke,Cu:()=>ye,qQ:()=>Ee,oe:()=>Te,Oq:()=>He,yS:()=>Me,Og:()=>Ze,kn:()=>Re,od:()=>Lt});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const f=e=>{var{withBrandColor:t=!0}=e,r=s(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const p=e=>{var{withBrandColor:t=!0}=e,r=b(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const x=e=>{var{className:t}=e,r=j(e,["className"]);return n.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const C=e=>{var{className:t}=e,r=P(e,["className"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const Z=e=>{var{withBrandColor:t=!0}=e,r=B(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",T(function(e){for(var t=1;tn.createElement("svg",W(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",J(function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const $=e=>{var{withBrandColor:t=!0}=e,r=_(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const le=e=>{var{withBrandColor:t=!0}=e,r=ne(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",ie(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const Oe=e=>{var{className:t}=e,r=he(e,["className"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",we(function(e){for(var t=1;tn.createElement("svg",xe(function(e){for(var t=1;tn.createElement("svg",Ce(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",tt(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",ct(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",dt(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const jt=e=>{var{className:t}=e,r=yt(e,["className"]);return n.createElement("svg",wt(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{r.r(t),r.d(t,{default:()=>x});var n=r(4971),l=r(1504),a=r(6424),c=r(6968),o=r(8480),i=r(3120),s=r(5048);const f=({className:e})=>l.createElement("div",{className:(0,n.c)("relative","flex","flex-col","items-start landing-md:items-center landing-md:justify-center","gap-6 landing-md:gap-12","not-prose","landing-md:mx-auto","w-full","landing-md:h-[264px]","landing-md:overflow-hidden",e)},l.createElement(s.G,{className:(0,n.c)("absolute","hidden landing-md:block","w-[1200px]","max-w-[1200px]"),srcDark:"https://refine.ams3.cdn.digitaloceanspaces.com/templates/templates-hero-dark.png",srcLight:"https://refine.ams3.cdn.digitaloceanspaces.com/templates/templates-hero-light.png",alt:"CodeVerse"}),l.createElement("h2",{className:(0,n.c)("flex","items-center","justify-center","gap-2","text-[32px] leading-[40px] landing-sm:text-[56px] landing-sm:leading-[72px]")},l.createElement("span",{className:(0,n.c)("dark:text-gray-0 text-gray-900")},"Practice"," "),l.createElement("span",{className:(0,n.c)("font-semibold","dark:text-refine-green-alt dark:drop-shadow-[0_0_30px_rgba(71,235,235,0.25)]","text-refine-blue drop-shadow-[0_0_30px_rgba(51,51,255,0.3)]")},"DSA & CP")),l.createElement("p",{className:(0,n.c)("text-base","text-start landing-md:text-center","max-w-[588px]","dark:text-gray-400 text-gray-600")},"Practice Data-Structures and Algorithms & Competitive Programming Problems with LeetCode"));var u=r(5904),m=r(9184);const d=({className:e,data:t})=>l.createElement("div",{className:(0,n.c)("not-prose",e)},l.createElement("div",{className:(0,n.c)("grid","grid-cols-1 landing-sm:grid-cols-2 landing-lg:grid-cols-3","gap-8 landing-sm:gap-6","not-prose",e)},t.map((e=>l.createElement(m.c,{to:e.to,key:e.title,className:(0,n.c)("h-full","flex","flex-col","dark:bg-gray-800 bg-gray-50","border dark:border-gray-700 border-transparent","rounded-2xl","hover:no-underline","not-prose")},l.createElement("img",{className:(0,n.c)("aspect-[590/405]","rounded-t-2xl"),src:e.image}),l.createElement("div",{className:(0,n.c)("h-full","flex","flex-col","p-6","not-prose")},l.createElement("div",{className:(0,n.c)("text-base","font-semibold","dark:text-gray-300","text-gray-900")},e.title),l.createElement("div",{className:(0,n.c)("text-sm","dark:text-gray-400","text-gray-600","mt-4","mb-6")},e.description),l.createElement("div",{className:(0,n.c)("mt-auto","flex items-center flex-wrap","gap-2")},e.integrations.map((e=>{const t=e.icon;return l.createElement("div",{key:e.label,className:(0,n.c)("flex","items-center","gap-2","py-2 pl-2 pr-4","rounded-full","dark:bg-gray-900 bg-gray-0")},l.createElement(t,{id:"template-list"}),l.createElement("div",{className:(0,n.c)("text-xs","dark:text-gray-400","text-gray-500")},e.label))}))))))))),b=({svgId:e,className:t,data:r,selected:a,onLanguageFiltersChange:c,onTopicFiltersChange:o})=>l.createElement("div",{className:(0,n.c)("flex","flex-col","not-prose",t)},l.createElement("h4",{className:(0,n.c)("pl-4","text-sm","font-semibold","dark:text-gray-400 text-gray-700")},"Languages"),l.createElement("div",{className:(0,n.c)("flex","flex-col","items-start","gap-4","mt-3")},r.languageFilters.map((t=>{const r=a.languageFilters.includes(t.label),o=t.icon;return l.createElement("div",{key:t.label,onClick:()=>c(t.label),role:"button",className:(0,n.c)("flex","items-center","py-2 pl-2 pr-4","gap-2","rounded-full","cursor-pointer","border dark:border-gray-700 border-gray-200",r&&"dark:bg-gray-700 bg-gray-50","transition-colors duration-200 ease-in-out")},l.createElement(o,{id:e}),l.createElement("span",{className:(0,n.c)("text-sm",!r&&"dark:text-gray-400 text-gray-600",r&&"dark:text-gray-0 text-gray-900")},t.label))}))),l.createElement("h4",{className:(0,n.c)("pl-4","text-sm","font-semibold","dark:text-gray-400 text-gray-700","mt-10")},"Topics"),l.createElement("div",{className:(0,n.c)("flex","flex-col","items-start","gap-3","mt-4")},r.topicFilters.map((t=>{const r=a.topicFilters.includes(t.label),c=t.icon;return l.createElement("div",{key:t.label,onClick:()=>o(t.label),role:"button",className:(0,n.c)("flex","items-center","py-2 pl-2 pr-4","gap-2","rounded-full","cursor-pointer","border dark:border-gray-700 border-gray-200",r&&"dark:bg-gray-700 bg-gray-50")},l.createElement(c,{id:e}),l.createElement("span",{className:(0,n.c)("text-sm",!r&&"dark:text-gray-400 text-gray-600",r&&"dark:text-gray-0 text-gray-900")},t.label))}))));var p=r(320);const g=({className:e,onClick:t})=>l.createElement("button",{onClick:t,className:(0,n.c)("appearance-none","flex","items-center","w-max","gap-2","px-6 py-3","rounded-full","dark:bg-gray-700 bg-gray-200",e)},l.createElement(p.y,null),l.createElement("span",{className:(0,n.c)("dark:text-gray-0 text-gray-900")},"Filter Templates"));var h=r(5880);function O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function v(e){for(var t=1;tl.createElement(u.Gg,v({width:16,height:16},e))},{label:"Algorithms",icon:e=>l.createElement(u.Gg,v({width:16,height:16},e))},{label:"Competitive Programming",icon:e=>l.createElement(u.Gg,v({width:16,height:16},e))}],languageFilters:[{label:"C++",icon:e=>l.createElement(u.U7,v({width:16,height:16},e))},{label:"Python",icon:e=>l.createElement(u.wA,v({width:16,height:16},e))},{label:"Java",icon:e=>l.createElement(u.E5,v({width:16,height:16},e))},{label:"HTML",icon:e=>l.createElement(u.ai,v({width:16,height:16},e))},{label:"CSS",icon:e=>l.createElement(u.Ou,v({width:16,height:16},e))},{label:"JavaScript",icon:e=>l.createElement(u.sP,v({width:16,height:16},e))}]},j=[{to:"/CodeVerse/dsa",title:"Data Structure and Algorithm",description:"Solving complex computational tasks efficiently through organized data representation and strategic problem-solving methodologies.",image:"https://miro.medium.com/v2/resize:fit:1358/1*4ZcW5tSdizlbtDQyVpRTuA.jpeg",integrations:[{label:"C++",icon:e=>l.createElement(u.U7,v({width:16,height:16},e))},{label:"Python",icon:e=>l.createElement(u.wA,v({width:16,height:16},e))},{label:"Data Structures",icon:e=>l.createElement(u.Gg,v({width:16,height:16},e))},{label:"Algorithms",icon:e=>l.createElement(u.Gg,v({width:16,height:16},e))}]},{to:"/CodeVerse/cp",title:"Competitive Programming",description:"Solve algorithmic puzzles under time constraints to optimize problem-solving skills and code efficiency.",image:"https://www.andreafiori.net/img/social/og/competitive-programming.gif",integrations:[{label:"C++",icon:e=>l.createElement(u.U7,v({width:16,height:16},e))},{label:"Competitive Programming",icon:e=>l.createElement(u.Gg,v({width:16,height:16},e))}]}],x=()=>{const e="PrepVerse | DSA+CP Practice",[t,r]=l.useState(!1),[s,u]=l.useState({topicFilters:[],languageFilters:[]}),m=l.useMemo((()=>s.topicFilters.length||s.languageFilters.length?j.filter((e=>e.integrations.some((e=>s.topicFilters.includes(e.label)||s.languageFilters.includes(e.label))))):j),[s]),p=(e,t)=>{u((r=>{const n=r[t].includes(e);return w(v({},r),n?{[t]:r[t].filter((t=>t!==e))}:{[t]:[...r[t],e]})}))};return l.createElement(l.Fragment,null,l.createElement(a.c,null,l.createElement("html",{"data-active-page":"index"}),l.createElement("title",null,e),l.createElement("meta",{property:"og:title",content:e}),l.createElement("link",{rel:"preload",href:"https://prepverse.github.io",as:"document"})),l.createElement(o.C,{description:"DSA+CP Practice"},l.createElement("div",null,l.createElement(c.m,null),l.createElement("div",{className:(0,n.c)("flex flex-col","pb-12 landing-sm:pb-16 landing-md:pb-20","px-2 landing-sm:px-0")},l.createElement("div",{className:(0,n.c)("w-full","mx-auto","px-2 landing-sm:px-8 landing-md:px-0","pt-4","landing-sm:pt-12","landing-md:pt-0","w-full max-w-[592px] landing-sm:max-w-[656px] landing-md:max-w-full")},l.createElement(f,null),l.createElement(g,{className:(0,n.c)("flex landing-md:hidden","mt-6"),onClick:()=>{r(!0)}})),l.createElement("div",{className:(0,n.c)("w-full max-w-[592px] landing-sm:max-w-[656px] landing-md:max-w-[896px] landing-lg:max-w-[1200px]","flex","items-start","gap-6","mx-auto","mt-12","relative","not-prose")},l.createElement("div",{className:(0,n.c)("hidden landing-md:flex","flex-col","not-prose","sticky top-24 left-0")},l.createElement("h3",{className:(0,n.c)("text-base","font-semibold","dark:text-gray-300 text-gray-900","pl-4")},"Filter CodeVerse"),l.createElement(b,{svgId:"sider",onLanguageFiltersChange:e=>{p(e,"languageFilters")},onTopicFiltersChange:e=>{p(e,"topicFilters")},className:(0,n.c)("min-w-[180px]","mt-10"),selected:s,data:y})),l.createElement(d,{data:m}))),l.createElement(i.E,null)),l.createElement(h.E,{onClose:()=>r(!1),open:t,title:"Filter Templates",variant:"templates"},l.createElement("div",{className:(0,n.c)("flex","flex-col","not-prose")},l.createElement(b,{svgId:"drawer",onLanguageFiltersChange:e=>{p(e,"languageFilters")},onTopicFiltersChange:e=>{p(e,"topicFilters")},className:(0,n.c)("min-w-[180px]"),selected:s,data:y})))))}},5880:(e,t,r)=>{r.d(t,{E:()=>f});var n=r(4971),l=r(1504),a=r(2268),c=r(2424),o=r(7104),i=r(3200),s=r(8164);const f=e=>(l.useEffect((()=>(e.open?document.body.style.overflow="hidden":document.body.style.overflow="auto",()=>{document.body.style.overflow="auto"})),[e.open]),l.createElement(s.c,null,(()=>(0,o.createPortal)(l.createElement(u,e),document.body)))),u=({children:e,title:t,open:r,onClose:o,variant:s})=>{const[f,u]=l.useState(48),{scrollY:m}=(0,i.Q)(),d=l.useRef(null);var b,p;return b=d,p=e=>{e.stopPropagation(),o()},l.useEffect((()=>{const e=e=>{b.current&&!b.current.contains(e.target)&&(e.preventDefault(),p(e))};return document.addEventListener("click",e,!0),()=>{document.removeEventListener("click",e,!0)}}),[b]),((e,t,r)=>{l.useEffect((()=>{const n=n=>{e.current&&t.includes(n.key)&&(n.preventDefault(),r(n))};return document.addEventListener("keydown",n,!0),()=>{document.removeEventListener("keydown",n,!0)}}),[e])})(d,["Escape"],(()=>{o()})),l.useEffect((()=>{const e=m.onChange((e=>{u(e>=48?0:48-e)}));return()=>e()}),[]),l.createElement("div",{style:{top:f},className:(0,n.c)("fixed","right-0 bottom-0","z-modal",!r&&"pointer-events-none")},l.createElement(c.O,{ref:d,as:"div",className:(0,n.c)("z-modal","flex flex-col","w-[240px] h-full","ml-auto","p-4","templates"===s&&"bg-gray-0 dark:bg-gray-900","blog"===s&&"bg-white dark:bg-refine-react-7","border-l dark:border-gray-800","dark:shadow-[0_0_72px_24px_#14141F]","shadow-[0_0_72px_24px_rgba(20, 20, 31, 0.50)]"),show:r,enter:"transition-transform duration-300 transition-ease-in-out",enterFrom:"translate-x-full",enterTo:"translate-x-0",leave:"transition-transform duration-300 transition-ease-in-out",leaveFrom:"translate-x-0",leaveTo:"translate-x-full"},l.createElement("div",{className:(0,n.c)("flex","items-center","justify-between","mb-10","dark:text-gray-300 text-gray-900")},l.createElement("h3",{className:(0,n.c)("text-base","font-semibold")},t),l.createElement("button",{type:"button",className:(0,n.c)("appearance-none"),onClick:o},l.createElement(a.O,null))),l.createElement("div",{className:(0,n.c)("overflow-auto h-full")},e)))}},6968:(e,t,r)=>{r.d(t,{m:()=>I});var n=r(9184),l=r(4971),a=r(3200),c=r(344),o=r(6076),i=r(1504),s=r(1980),f=r(8804),u=r(6098);const m=[{isPopover:!0,label:"Docs",items:[{label:"Foundation Docs",description:"Learn C++, Python & Java",link:"/docs",icon:u.C3},{label:"DSA Docs",description:"Learning DSA in C++, Python & Java",link:"/docs/1.DS.Algo",icon:u.uI}]},{isPopover:!0,label:"CodePoint",items:[{label:"Expert Sheet Solutions",description:"Most popular coding questions solutions asked during SDE interviews.",link:"https://prepverse.github.io/CodePoint/preface",icon:u.C3},{label:"Coding Ninjas Series",description:"Coding Ninjas Studio Guided Path Solutions",link:"https://prepverse.github.io/CodePoint/learning_resources/CN_Series/preface",icon:u.oh},{label:"LeetVerse",description:"Leetcode problem solutions with full probelm statements in C++, Python & Java",link:"https://prepverse.github.io/LeetVerse",icon:u.Ew}]},{isPopover:!0,label:"About",items:[{label:"About Me",description:"My information.",link:"/AkashSingh3031",icon:u.kv},{label:"Project Showcase",description:"PrepVerse open-source projects",link:"/showcase",icon:u.w9},{label:"My Portfolio",description:"All info about me",link:"https://prepverse.github.io/portfolio",icon:u.BE}]},{isPopover:!1,label:"Blog",href:"/blog",icon:u.s1},{isPopover:!1,label:"PrepVerse Community",href:"/prepverse-community",icon:u.vn}],d=({item:e,variant:t="landing"})=>{const r=e.icon;return i.createElement(n.c,{to:e.link,className:"no-underline"},i.createElement("div",{className:(0,l.c)("flex items-center","p-4","transition duration-150 ease-in-out","rounded-lg","hover:bg-gray-100","landing"===t&&"dark:hover:bg-gray-800","blog"===t&&"dark:hover:bg-refine-react-8")},i.createElement("div",{className:"shrink-0"},i.createElement(r,null)),i.createElement("div",{className:"ml-2"},i.createElement("div",{className:(0,l.c)("landing"===t&&"text-gray-900 dark:text-white","blog"===t&&"text-refine-react-8 dark:text-refine-react-3","font-semibold")},e.label),i.createElement("div",{className:(0,l.c)("landing"===t&&"text-gray-500 dark:text-gray-400","blog"===t&&"text-refine-react-5 dark:text-refine-react-4","text-xs")},e.description))))},b=({item:e})=>{const[t,r]=(0,i.useState)(null);(0,i.useEffect)((()=>(r(localStorage.getItem("theme")||null),window.addEventListener("storage",a,!1),()=>{window.removeEventListener("storage",a,!1)})),[]);const a=()=>{r(localStorage.getItem("theme")||null)};let c=e.icon;return"Cloud"===e.label&&(c="light"===t?u.oz:e.icon),i.createElement(n.c,{key:e.label,to:e.href,className:(0,l.c)("inline-flex items-center gap-2","text-sm leading-6 font-normal text-gray-900 dark:text-gray-300","transition-colors duration-150 ease-in-out","no-underline","Hackathon"===e.label?["py-1","px-2","rounded-lg","bg-hackathon-button-bg","animate-hackathon-button-bg","bg-refine-bg","text-gray-0","bg-[length:200%_100%]","text-[14px]","hover:text-gray-0"]:["hover:text-gray-900 dark:hover:text-white"])},e.icon&&i.createElement(c,null),e.label)};var p=r(640),g=r(5224),h=r(2424),O=r(4577);const v=({item:e,variant:t="landing",children:r})=>{const[n,a]=(0,i.useState)(!1),c=i.useRef(null),o=i.useRef(null),s=(0,p.IT)();return i.useEffect((()=>{a(!1)}),[s]),i.createElement(g._,{id:`popover-${e.label}`,key:e.label,className:(0,l.c)("relative","inline-flex items-center"),onMouseEnter:()=>{o.current=setTimeout((()=>a(!0)),210),clearTimeout(c.current)},onMouseLeave:()=>{c.current=setTimeout((()=>a(!1)),210),clearTimeout(o.current)}},(()=>i.createElement(i.Fragment,null,i.createElement(g._.Button,{className:(0,l.c)("inline-flex items-center","text-sm leading-6","font-normal")},i.createElement("span",{className:(0,l.c)("landing"===t&&"text-gray-900 dark:text-gray-300","blog"===t&&"text-refine-react-8 dark:text-refine-react-3","transition-colors duration-150 ease-in-out inline-block")},e.label),i.createElement(O.w,{"aria-hidden":"true",className:(0,l.c)("transition duration-150 ease-out","-mr-2","landing"===t&&"text-gray-500 dark:text-gray-400","blog"===t&&"text-refine-react-4",n?"translate-y-0.5":"")})),i.createElement(h.O,{as:i.Fragment,enter:"transition ease-in duration-150",enterFrom:"opacity-0 translate-y-3",enterTo:"opacity-100 translate-y-0",leave:"transition ease-out duration-150",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 translate-y-3",show:n},i.createElement(g._.Panel,{className:(0,l.c)("absolute","z-50","top-12",{"-left-32 center-point":"Docs"===e.label||"About"===e.label,"left-point":"CodePoint"===e.label})},i.createElement(u.WR,{id:e.label,variant:t,className:(0,l.c)("absolute","top-[-9px]",{"left-1/2":"CodePoint"!==e.label,"left-12":"CodePoint"===e.label}),style:{transform:"translateX(-50%)"}}),i.createElement("div",{className:(0,l.c)("overflow-hidden","rounded-xl","landing"===t&&"border dark:border-gray-700 border-gray-200","landing"===t&&"dark:shadow-menu-dark shadow-menu-light","blog"===t&&"border border-refine-react-3 dark:border-refine-react-6","blog"===t&&"dark:shadow-menu-blog-dark shadow-menu-blog-light")},r))))))},w=({variant:e="landing"})=>i.createElement(i.Fragment,null,m.map((t=>t.isPopover?i.createElement(v,{key:`navbar-${t.label}`,item:t,variant:e},"CodePoint"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,l.c)("grid grid-cols-2 gap-4","p-4","w-[672px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(d,{key:t.label,item:t,variant:e})))),i.createElement(n.c,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,l.c)("border-t","blog"===e&&"border-refine-react-3 dark:border-refine-react-6","landing"===e&&"border-gray-300 dark:border-gray-700","landing"===e&&"bg-gray-100 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-7","flex items-center","py-4 px-7")},i.createElement(u._2,null),i.createElement("div",{className:(0,l.c)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))),"About"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,l.c)("grid gap-4","p-4","w-[336px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(d,{key:t.label,item:t,variant:e})))),i.createElement("div",{className:(0,l.c)("border-t","blog"===e&&"border-refine-react-3 dark:border-refine-react-6","landing"===e&&"border-gray-300 dark:border-gray-700","landing"===e&&"bg-gray-100 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-7","flex justify-between items-center","py-4 px-7")},i.createElement("div",{className:(0,l.c)("landing"===e&&"text-gray-600 dark:text-gray-400 ","blog"===e&&"text-refine-react-5 dark:text-refine-react-4")},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.c,{to:"https://github.com/AkashSingh3031",className:(0,l.c)("no-underline","hover:text-inherit")},i.createElement(u.A9,{className:"dark:text-gray-400 text-gray-500"})),i.createElement(n.c,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(u.Ed,null)),i.createElement(n.c,{to:"https://instagram.com/akash.singh3031"},i.createElement(u.Yf,null)),i.createElement(n.c,{to:"https://x.com/akashsingh3031"},i.createElement(u.CC,null))))),"Docs"===t.label&&i.createElement("div",{className:(0,l.c)("grid gap-4","p-4","w-[336px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(d,{key:t.label,item:t,variant:e}))))):i.createElement(b,{key:`navbar-${t.label}`,item:t,variant:e}))));var y=r(2276),j=r(7008),x=r(9072),E=r(2268);function P(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const C=e=>i.createElement("svg",function(e){for(var t=1;ti.createElement("svg",function(e){for(var t=1;t{const[o,s]=(0,i.useState)(null),f=null!=r?r:n.c,m=void 0!==a&&void 0===t;return(0,i.useEffect)((()=>{const e=document.querySelector("html").getAttribute("data-theme");s(e)}),[]),i.createElement(f,function(e){for(var t=1;t{const r=(0,p.IT)();return i.useEffect((()=>{t(!1)}),[r]),i.createElement(M,{isModalOpen:e,setIsModalOpen:t},i.createElement(B,{className:(0,l.c)("hidden landing-sm:block","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}),i.createElement(Z,{className:(0,l.c)("block landing-sm:hidden","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}))},M=({isModalOpen:e,setIsModalOpen:t,children:r})=>i.createElement(h.O,{appear:!0,show:e,as:i.Fragment},i.createElement(y.C,{as:"div",className:"relative z-10",onClose:()=>t(!1)},i.createElement(h.O.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},i.createElement("div",{className:(0,l.c)("fixed inset-0","bg-gray-0 dark:bg-gray-900","flex","flex-col")},i.createElement(z.Q,null),i.createElement("div",{className:(0,l.c)("flex items-center justify-between","p-4","landing-sm:px-8")},i.createElement(f.m,{className:"dark:text-gray-0 text-gray-900"}),i.createElement("button",{type:"button",className:(0,l.c)("rounded-lg","hover:brightness-105","active:scale-90","transition-transform duration-75 ease-in-out")},i.createElement(E.O,{className:"text-gray-900 dark:text-white",onClick:()=>t(!1)}))),i.createElement(h.O.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-75",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95"},i.createElement("div",{className:(0,l.c)("flex-1","overflow-y-auto","px-4","pb-4")},r)))))),B=e=>i.createElement("div",{className:(0,l.c)(e.className)},m.map(((e,t)=>{const r="icon"in e&&e.icon;return i.createElement("div",{key:t,className:(0,l.c)("not-prose","p-4","border-t dark:border-gray-700 border-gray-200")},i.createElement(n.c,{to:"href"in e?e.href:void 0,className:(0,l.c)("appearance-none","block","no-underline","dark:text-gray-0 text-gray-900","font-bold")},i.createElement("div",{className:(0,l.c)("flex items-center gap-2")},i.createElement("div",null,e.label),r&&i.createElement(r,null))),"items"in e&&i.createElement("div",{className:(0,l.c)("mt-2","grid grid-cols-2 min-[800px]:grid-cols-3","gap-x-8 gap-y-4")},e.items.map((e=>i.createElement(d,{key:e.label,item:e})))))})),i.createElement(V,null),i.createElement(R,{id:"tablet"}),i.createElement(G,{id:"tablet"})),Z=e=>i.createElement("div",{className:(0,l.c)(e.className)},i.createElement("div",{className:"flex-grow"},m.map((e=>e.isPopover?i.createElement(j.C,{key:`modal-${e.label}`},(({open:t})=>i.createElement(i.Fragment,null,i.createElement(L,{component:j.C.Button,label:e.label,open:t}),i.createElement(j.C.Panel,{className:(0,l.c)(t&&"pb-4",t&&"border-b border-gray-200 dark:border-gray-700")},e.items.map((e=>i.createElement(d,{key:e.label,item:e}))))))):i.createElement(L,{key:`modal-${e.label}`,label:e.label,href:e.href,icon:e.icon})))),i.createElement(V,null),i.createElement(R,{id:"phone"}),i.createElement(G,{id:"phone"})),G=e=>{var t;return i.createElement(n.c,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,l.c)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex items-center","p-4")},i.createElement(u._2,{id:(null===(t=e)||void 0===t?void 0:t.id)||""}),i.createElement("div",{className:(0,l.c)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))},R=e=>{var t;return i.createElement("div",{className:(0,l.c)("bg-white dark:bg-gray-700 header-sm:bg-inherit","flex justify-between items-center","header-sm:flex-col header-sm:gap-4","header-sm:border-b border-gray-200 dark:border-gray-600","py-3 px-4")},i.createElement("p",{className:"text-gray-500 dark:text-gray-300 font-semibold"},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.c,{to:"https://github.com/AkashSingh3031"},i.createElement(u.A9,{className:"h-10 w-10"})),i.createElement(n.c,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(u.Ed,{className:"h-10 w-10"})),i.createElement(n.c,{to:"https://instagram.com/akash.singh3031"},i.createElement(u.Yf,{className:"h-10 w-10",id:(null===(t=e)||void 0===t?void 0:t.id)||""})),i.createElement(n.c,{to:"https://x.com/akashsingh3031"},i.createElement(u.CC,{className:"h-10 w-10"}))))},V=()=>{const{colorMode:e,setColorMode:t}=(0,x.U)(),r=()=>{t("dark"===e?"light":"dark")},n="dark"===e,a="light"===e;return i.createElement("div",{className:(0,l.c)("not-prose","p-4","flex items-center")},i.createElement("div",{className:(0,l.c)("text-sm","mr-10","dark:text-gray-400 text-gray-600")},"Apperance"),i.createElement("button",{onClick:r,className:(0,l.c)("mr-4","rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200","text-gray-500",a&&"bg-gray-50")},i.createElement(N.G,null),"Light"),i.createElement("button",{onClick:r,className:(0,l.c)("rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200",n?"text-gray-400":"text-gray-500",n&&"bg-gray-700")},i.createElement(S.g,null),"Dark"))};var T=r(9253),F=r(2700),Y=r(5792),W=r(6936);const X=()=>{const{loading:e,githubStarCountText:t}=(0,F.wx)();return i.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank",rel:"noreferrer",className:(0,l.c)("flex gap-2 items-center","font-normal","text-sm leading-6","text-gray-500 dark:text-gray-400","hover:text-gray-400 dark:hover:text-gray-300","hover:no-underline","transition-colors","duration-200","ease-in-out")},i.createElement(Y.A,{className:(0,l.c)("w-5 h-5")}),i.createElement("div",{className:(0,l.c)("flex items-center","w-10 h-6")},e?i.createElement(W.c,{className:(0,l.c)("w-5 h-5"),wrapperProps:{className:(0,l.c)("mx-auto")}}):i.createElement("span",null,t)))},I=({trackProgress:e,variant:t="landing",className:r})=>{const[u,m]=(0,i.useState)(!1),{scrollYProgress:d}=(0,a.Q)(),b=(0,c.s)(d,[.03,.95],["0%","100%"]);return i.createElement(i.Fragment,null,i.createElement(z.Q,null),i.createElement("header",{className:(0,l.c)("sticky","top-0","z-10")},i.createElement("div",{className:(0,l.c)("absolute","top-0 left-0 right-0","backdrop-blur-[6px]","landing-md:backdrop-blur-[12px]","z-[-1]","bg-gray-0 dark:bg-gray-800","bg-opacity-80 dark:bg-opacity-80","pointer-events-none",r),style:{top:"-20px",bottom:"-80px",WebkitMaskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))",maskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))"}}),i.createElement("div",{className:(0,l.c)("relative","z-[1]","p-4","landing-sm:px-8","landing-md:py-5")},i.createElement("div",{className:(0,l.c)("mx-auto","flex","items-center","justify-between","max-w-[896px]","landing-lg:max-w-[1200px]")},i.createElement("div",{className:(0,l.c)("w-[130px]","landing-lg:w-[200px]")},i.createElement(n.c,{to:"/"},i.createElement(f.m,{className:"text-gray-900 dark:text-gray-0"}))),i.createElement("button",{type:"button",className:(0,l.c)("text-gray-900 dark:text-gray-0","block landing-md:hidden"),onClick:()=>m(!0)},i.createElement(s.m,null)),i.createElement("div",{className:(0,l.c)("hidden landing-md:flex","flex-1","items-center","gap-8")},i.createElement(w,{variant:t})),i.createElement("div",{className:(0,l.c)("hidden landing-md:flex","items-center","justify-end","gap-4","w-[130px]","landing-lg:w-[200px]")},i.createElement(X,null),i.createElement(T.C,null)),i.createElement(D,{isModalOpen:u,setIsModalOpen:m}))),e&&i.createElement("div",{className:(0,l.c)("w-full","h-[1.5px]","translate","bg-refine-react-3 dark:bg-refine-react-7")},i.createElement(o.q.div,{className:(0,l.c)("h-full","bg-refine-react-light-link dark:bg-refine-react-dark-link"),style:{width:b}}))))}},9253:(e,t,r)=>{r.d(t,{C:()=>i,O:()=>f});var n=r(1504),l=r(4971),a=r(9072),c=r(3756),o=r(5372);const i=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,a.U)();return n.createElement("button",{type:"button",className:(0,l.c)("appearance-none","focus:outline-none","relative","w-10 h-10","rounded-full","border","border-solid","border-gray-300 dark:border-gray-700","text-gray-500","transition-colors","duration-150","ease-in-out","overflow-hidden","flex-shrink-0","group",e),onClick:()=>{r("dark"===t?"light":"dark")}},n.createElement("div",{className:(0,l.c)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","translate-y-0","dark:-translate-y-10","duration-200","ease-in-out","transition-transform")},n.createElement(c.G,null)),n.createElement("div",{className:(0,l.c)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","-translate-y-10","dark:translate-y-0","duration-200","ease-in-out","transition-transform")},n.createElement(o.g,null)))},s=[{name:"light",icon:c.G,label:"Light"},{name:"dark",icon:o.g,label:"Dark"}],f=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,a.U)();return n.createElement("div",{className:(0,l.c)("flex","items-center","gap-4","justify-start",e)},s.map((({name:e,label:a,icon:c})=>n.createElement("button",{type:"button",key:e,className:(0,l.c)("appearance-none","focus:outline-none","py-1","pl-1.5","pr-3","flex","items-center","justify-center","gap-1","rounded-[40px]","text-gray-400","border border-solid","border-gray-200","dark:border-gray-600",t===e&&"bg-gray-100 dark:bg-gray-700"),onClick:()=>{r(e)}},n.createElement(c,{className:(0,l.c)("w-4 h-4")}),n.createElement("span",{className:(0,l.c)("text-sm")},a)))))}},5048:(e,t,r)=>{r.d(t,{G:()=>s});var n=r(1504),l=r(9072),a=r(8164);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function i(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},a=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const s=e=>{var{srcDark:t,srcLight:r,srcSetDark:s,srcSetLight:f}=e,u=i(e,["srcDark","srcLight","srcSetDark","srcSetLight"]);const{colorMode:m}=(0,l.U)(),d="dark"===m?t:r,b="dark"===m?s:f;return n.createElement(a.c,null,(()=>n.createElement("img",o(function(e){for(var t=1;t{r.d(t,{o0:()=>b,yw:()=>m,wd:()=>d,AR:()=>p});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var f=r(6098),u=r(4252);const m=[{label:"Resources",items:[{label:"Getting Started",href:"/docs"},{label:"Blog",href:"/blog"},{label:"Project Showcase",icon:n.createElement(f.KU,null),href:"/showcase"},{label:"Community",icon:n.createElement(f.KU,null),href:"/prepverse-community"}]},{label:"Product",items:[{label:"CodePoint",icon:n.createElement(u.i,null),href:"https://prepverse.github.io/CodePoint"},{label:"LeetVerse",icon:n.createElement(u.i,null),href:"https://prepverse.github.io/LeetVerse"}]},{label:"About",items:[{label:"About Me",href:"/AkashSingh3031"},{label:"Portfolio",icon:n.createElement(u.i,null),href:"https://prepverse.github.io/portfolio"}]}],d=[{label:"License",href:"https://github.com/PrepVerse/prepverse.github.io/blob/master/LICENSE"}],b="Thank you for visiting, Connect with me over socials.",p=[{icon:e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{r.d(t,{w:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{g:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{i:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{y:()=>o});var n=r(4971),l=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const o=e=>l.createElement("svg",c(function(e){for(var t=1;t{r.d(t,{A:()=>c,i:()=>o});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e){for(var t=1;tn.createElement("svg",a({width:12,height:12,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.053 0A10.904 10.904 0 0 0 3.89 2.685 11.34 11.34 0 0 0 .142 9.472a11.48 11.48 0 0 0 1.456 7.65 11.087 11.087 0 0 0 5.964 4.86c.556.103.752-.25.752-.547v-1.918C5.23 20.202 4.58 18 4.58 18a3.012 3.012 0 0 0-1.227-1.655c-.997-.692.081-.692.081-.692.35.05.683.18.975.382.293.202.536.469.713.78.15.278.352.523.595.721a2.312 2.312 0 0 0 2.618.221c.042-.57.283-1.105.678-1.509-2.454-.284-5.03-1.253-5.03-5.539a4.415 4.415 0 0 1 1.132-3.025A4.194 4.194 0 0 1 5.224 4.7s.928-.305 3.036 1.156c1.81-.508 3.72-.508 5.531 0 2.108-1.46 3.03-1.156 3.03-1.156.406.936.455 1.993.135 2.963a4.415 4.415 0 0 1 1.132 3.026c0 4.334-2.582 5.282-5.043 5.538.264.271.468.597.598.955.13.358.182.741.155 1.122V21.4c0 .367.196.65.759.54a11.093 11.093 0 0 0 5.88-4.878 11.481 11.481 0 0 0 1.419-7.6 11.34 11.34 0 0 0-3.71-6.746A10.907 10.907 0 0 0 11.053 0Z",fill:"currentColor"})),o=e=>n.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.066.001a11.91 11.91 0 0 1 7.745 2.966 12.326 12.326 0 0 1 4.032 7.33 12.46 12.46 0 0 1-1.54 8.245 12.088 12.088 0 0 1-6.406 5.314l-.105.037-.11.021c-.508.1-1.232.093-1.83-.422-.577-.498-.681-1.166-.681-1.565v-3.008l.004-.053a1.102 1.102 0 0 0-.062-.453 1.058 1.058 0 0 0-.235-.377l-.839-.86-.863.882a.802.802 0 0 0-.224.502l-.015.217v3.183c0 .434-.14 1.029-.628 1.492-.541.514-1.246.62-1.864.505l-.108-.02-.104-.035a12.082 12.082 0 0 1-6.498-5.296 12.457 12.457 0 0 1-1.58-8.298c.45-2.86 1.891-5.471 4.073-7.375A11.909 11.909 0 0 1 12.05.001h.016Zm-10.43 10.54a10.957 10.957 0 0 0 1.39 7.303 10.58 10.58 0 0 0 5.693 4.638c.53.099.717-.238.717-.522v-1.83c-.588.13-1.083.15-1.5.1a2.95 2.95 0 0 1-.542-.117 2.551 2.551 0 0 1-.422-.176 2.362 2.362 0 0 1-.82-.72c-.208-.294-.28-.535-.28-.535a2.876 2.876 0 0 0-1.17-1.58l-.016-.01c-.925-.65.093-.65.093-.65.106.015.21.038.313.068l.017.005a2.172 2.172 0 0 1 .962.603c.122.13.23.276.319.433a2.29 2.29 0 0 0 .68.775h.002s0 .001 0 0a2.211 2.211 0 0 0 2.385.124v-.014a2.302 2.302 0 0 1 .647-1.427 8.754 8.754 0 0 1-1.625-.328 4.865 4.865 0 0 1-1.416-.695 3.883 3.883 0 0 1-.432-.365c-.8-.786-1.328-2.002-1.328-3.899a4.214 4.214 0 0 1 1.08-2.887 4.003 4.003 0 0 1 .104-2.848s.886-.291 2.898 1.103a9.762 9.762 0 0 1 5.28 0c2.011-1.393 2.891-1.103 2.891-1.103.388.893.434 1.902.13 2.828a4.214 4.214 0 0 1 1.08 2.888c0 3.166-1.444 4.44-3.174 4.972a8.617 8.617 0 0 1-1.64.314 2.558 2.558 0 0 1 .699 1.425c.026.184.033.371.02.558v2.955c0 .35.187.62.724.515a10.588 10.588 0 0 0 5.613-4.656 10.958 10.958 0 0 0 1.354-7.254 10.824 10.824 0 0 0-3.541-6.439 10.41 10.41 0 0 0-6.77-2.592 10.408 10.408 0 0 0-6.837 2.563 10.824 10.824 0 0 0-3.578 6.478ZM16.374 7.8a8.003 8.003 0 0 0-.856.524l-.58.401-.679-.19a8.262 8.262 0 0 0-4.469 0l-.68.19-.58-.402a7.982 7.982 0 0 0-.846-.519c.019.186.059.37.12.549l.282.832-.588.653a2.714 2.714 0 0 0-.696 1.86v.024c0 1.724.503 2.513.998 2.937.563.481 1.397.736 2.476.86l1.567.182 1.954-.204c1.082-.112 1.912-.358 2.47-.833.492-.418.999-1.209.999-2.96v-.026a2.714 2.714 0 0 0-.696-1.86l-.582-.647.273-.826c.058-.178.096-.36.113-.545Z",clipRule:"evenodd"}))},1980:(e,t,r)=>{r.d(t,{m:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{Q:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{G:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{s1:()=>o,wR:()=>s,QD:()=>u,vn:()=>d,kv:()=>p,uI:()=>h,A9:()=>v,_2:()=>y,Ew:()=>x,Yf:()=>P,oh:()=>k,Ed:()=>H,BE:()=>z,KU:()=>D,WR:()=>V,w9:()=>F,CC:()=>W,AH:()=>U,oz:()=>J,C3:()=>q});var n=r(1504);var l=r(4971);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const o=e=>n.createElement("svg",c(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const{colorMode:t}=(0,S.U)();return n.createElement("div",{className:(0,l.c)("relative","flex","items-center","justify-center","rounded-full","overflow-hidden","p-px","dark:bg-[#194b3a] bg-[#b7dbff]"),style:{transform:"translateZ(0)"}},n.createElement("div",{className:(0,l.c)("z-[1]","absolute","inset-0","dark:bg-new-badge-border-dark bg-new-badge-border-light","animate-new-badge-border")}),n.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}var G,R;const V=e=>{var{variant:t="landing"}=e,r=Z(e,["variant"]);return n.createElement("svg",B(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",I(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{r.d(t,{m:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{E:()=>b});var n=r(4971),l=r(1504),a=r(9184),c=r(7708),o=r(204);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const s=e=>l.createElement("svg",function(e){for(var t=1;t{const t=l.createElement("div",{className:(0,n.c)("py-6 landing-lg:py-0","flex","flex-col","gap-4","landing-lg:max-w-[224px]")},l.createElement("div",{className:(0,n.c)("font-semibold","text-sm","leading-6","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},"Contacts"),l.createElement("a",{href:"https://wa.me/+919794423031",target:"_blank",className:(0,n.c)("font-normal","text-sm","leading-5","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},"+91 9794423031"),l.createElement("a",{href:"https://mail.google.com/mail/u/0/?fs=1&to=codewithsky@gmail.com&tf=cm",target:"_blank",className:(0,n.c)("font-normal","text-sm","leading-5","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:180,height:40,viewBox:"0 0 180 40",fill:"none"},l.createElement("text",{x:"1",y:"15",fontFamily:"Arial, sans-serif",fontSize:"16",fill:"currentColor"},"codewithsky@gmail.com")))),r=l.createElement("div",{className:(0,n.c)("py-6 landing-lg:py-0","flex","flex-col","landing-sm:items-end")},l.createElement("div",{className:(0,n.c)("flex","flex-col","gap-4")},l.createElement("div",{className:(0,n.c)("text-sm","leading-6","font-semibold","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3","landing-lg:text-right")},"Connect with me on"),l.createElement("div",{className:(0,n.c)("flex","items-center","gap-8","landing-lg:gap-4","justify-start")},c.AR.map((({href:t,icon:r})=>l.createElement("a",{href:t,key:t,target:"_blank",rel:"noreferrer",className:(0,n.c)("landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},l.createElement(r,{className:(0,n.c)("w-6 h-6","landing-lg:w-8 landing-lg:h-8")})))))));return l.createElement("footer",{className:(0,n.c)("w-full")},l.createElement("div",{className:(0,n.c)("border-t border-t-solid","landing"===e&&"border-t-gray-100 dark:border-t-gray-700","blog"===e&&"border-t-refine-react-3 dark:border-t-refine-react-7","landing"===e&&"dark:bg-footer-landing-dark-bg","blog"===e&&"bg-footer-blog-light-bg dark:bg-footer-blog-dark-bg")},l.createElement("div",{className:(0,n.c)("grid","grid-cols-1","max-w-screen-landing-md","landing-lg:max-w-screen-landing-lg","mx-auto")},l.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8 landing-lg:px-12","py-4 landing-lg:py-6","flex","items-center","justify-between")},l.createElement(a.c,{to:"/",className:(0,n.c)("hover:no-underline","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},l.createElement(f.m,null)),l.createElement("a",{href:"https://github.com/sponsors/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,n.c)("hover:no-underline")},l.createElement(s,null))),l.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8 landing-lg:px-12","flex","flex-row","flex-wrap","items-start","justify-start","text-gray-500 dark:text-gray-500")},c.o0),l.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8 landing-lg:px-12","py-6 landing-lg:pt-8 landing-lg:pb-12","flex","flex-row","flex-wrap","items-start","justify-start","gap-6")},l.createElement("div",{className:(0,n.c)("hidden","landing-lg:flex","max-w-[282px]","w-full")},t),c.yw.map((t=>l.createElement("div",{className:(0,n.c)("flex flex-col gap-4","min-w-[152px]"),key:t.label},l.createElement("div",{className:(0,n.c)("text-sm","leading-6","font-semibold","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},t.label),l.createElement("div",{className:(0,n.c)("flex","flex-col","gap-2")},t.items.map((t=>l.createElement("a",d(m({href:t.href,key:t.label},t.href.startsWith("http")?{target:"_blank",rel:"noopener noreferrer"}:{}),{className:(0,n.c)("text-sm","leading-5","hover:no-underline","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300")}),l.createElement("div",{className:(0,n.c)("flex","items-center","gap-2")},t.label,t.icon)))))))),l.createElement("div",{className:(0,n.c)("hidden","landing-lg:flex","ml-auto")},r)),l.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8","grid","grid-cols-1","landing-sm:grid-cols-2","landing-sm:gap-8","landing-lg:hidden")},t,r))),l.createElement("div",{className:(0,n.c)("border-t border-t-solid","landing"===e&&"border-t-gray-100 dark:border-t-gray-700","blog"===e&&"border-t-gray-100 dark:border-t-gray-700","landing"===e&&"bg-gray-50 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-8")},l.createElement("div",{className:(0,n.c)("py-6 landing-sm:py-8 landing-lg:py-6","px-4 landing-sm:px-8 landing-lg:px-12","grid","grid-cols-1","landing-md:grid-cols-2","gap-8","max-w-screen-landing-md","landing-lg:max-w-screen-landing-lg","mx-auto")},l.createElement("div",{className:(0,n.c)("flex","flex-col","landing-sm:flex-row","gap-4","items-start","justify-start")},c.wd.map((t=>l.createElement("a",d(m({href:t.href,key:t.label},t.href.startsWith("http")?{target:"_blank",rel:"noopener noreferrer"}:{}),{className:(0,n.c)("text-sm","leading-5","font-normal","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:no-underline","hover:text-gray-800 dark:hover:text-gray-300")}),t.label)))),l.createElement("div",{className:(0,n.c)("text-left","landing-md:text-right","text-sm","pr-6 landing-sm:pr-0","leading-5","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3","font-normal")},l.createElement("div",{className:(0,n.c)("text-base","text-gray-500 dark:text-gray-400")},"Copyright \xa9 ",(new Date).getFullYear()," PrepVerse"," ",l.createElement(o.Q,{className:"text-refine-red ml-2 inline leading-6"}),l.createElement("br",null),"Built with Docusaurus & Refine.")))))}},6936:(e,t,r)=>{r.d(t,{c:()=>i});var n=r(4971),l=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const i=e=>{var{className:t,wrapperProps:r}=e,a=o(e,["className","wrapperProps"]);return l.createElement("div",c({role:"status"},r),l.createElement("svg",c({"aria-hidden":"true",width:24,height:24,viewBox:"0 0 100 100",className:(0,n.c)("text-gray-200 animate-spin dark:text-gray-600 fill-refine-blue",t),fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),l.createElement("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),l.createElement("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})),l.createElement("span",{className:"sr-only"},"Loading..."))}},252:(e,t,r)=>{r.d(t,{Q:()=>i});var n=r(4971),l=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){for(var t=1;tl.createElement("div",{className:(0,n.c)("w-full h-12","relative","bg-top-announcement","not-prose","font-inter","z-top-announcement")},l.createElement("div",{className:(0,n.c)("hidden lg:flex","w-full h-full","max-w-screen","overflow-hidden","border-b border-solid border-[#47ebeb26]","top-announcement-mask")},l.createElement("div",{className:(0,n.c)("w-[1280px] h-full","mx-auto","flex","justify-between")},l.createElement("div",{className:(0,n.c)("w-[calc(50%-300px)] h-full","relative")},l.createElement(f,{style:{animationDelay:"1.5s"},className:(0,n.c)("absolute","top-[2px]","right-[220px]"),id:"1"}),l.createElement(f,{style:{animationDelay:"1s"},className:(0,n.c)("absolute","rotate-180","top-[8px] right-[100px]"),id:"2"}),l.createElement(u,{className:(0,n.c)("absolute","right-[10px]"),id:"3"})),l.createElement("div",{className:(0,n.c)("w-[calc(50%-300px)] h-full","relative")},l.createElement(f,{style:{animationDelay:"2s"},className:(0,n.c)("absolute","rotate-180","top-[6px] right-[180px]"),id:"4"}),l.createElement(f,{style:{animationDelay:"0.5s"},className:(0,n.c)("delay-[1300]","absolute","top-[2px]","right-[40px]"),id:"5"}),l.createElement(u,{className:(0,n.c)("absolute","right-[-70px]"),id:"6"})))),l.createElement(s,null)),s=()=>l.createElement("a",{href:"https://github.com/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,n.c)("relative lg:absolute","px-2 lg:px-0","top-0","left-[50%]","translate-x-[-50%]","bg-top-announcement-text","h-full w-full lg:w-[450px]","flex items-center justify-center","text-white","text-xs sm:text-sm","text-center","no-underline","hover:no-underline","hover:text-white","not-prose")},l.createElement("div",{className:(0,n.c)("ml-2","not-prose")},"For more updates follow","",l.createElement("span",{className:(0,n.c)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")},"@AkashSingh3031"),".")),f=e=>l.createElement("svg",o(c({xmlns:"http://www.w3.org/2000/svg",width:80,height:40,fill:"none"},e),{className:(0,n.c)("animate-top-announcement-glow","opacity-1",e.className)}),l.createElement("circle",{cx:40,r:40,fill:`url(#${e.id}-a)`,fillOpacity:.5}),l.createElement("defs",null,l.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 40 -40 0 40 0)",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{stopColor:"#47EBEB"}),l.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0})))),u=e=>l.createElement("svg",o(c({xmlns:"http://www.w3.org/2000/svg",width:120,height:48,fill:"none"},e),{className:(0,n.c)("animate-top-announcement-glow","opacity-1",e.className)}),l.createElement("circle",{cx:60,cy:24,r:60,fill:`url(#${e.id}-a)`,fillOpacity:.5}),l.createElement("defs",null,l.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 60 -60 0 60 24)",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{stopColor:"#47EBEB"}),l.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0}))))}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[1084],{8164:(e,t,r)=>{r.d(t,{c:()=>a});var n=r(1504),l=r(8952);function a({children:e,fallback:t}){var r;return(0,l.c)()?n.createElement(n.Fragment,null,null===(r=e)||void 0===r?void 0:r()):null!=t?t:null}},5904:(e,t,r)=>{r.d(t,{I7:()=>a,kz:()=>o,aI:()=>f,sL:()=>m,uU:()=>Ye,UZ:()=>Ue,sH:()=>Xe,W4:()=>Je,g3:()=>qe,Ou:()=>Vt,M7:()=>b,gv:()=>$e,U7:()=>St,K6:()=>Et,sT:()=>h,Dp:()=>v,m4:()=>x,Yv:()=>C,UJ:()=>A,QR:()=>rt,y:()=>L,AD:()=>lt,WA:()=>S,ai:()=>Gt,m0:()=>D,Gg:()=>Z,kB:()=>R,mK:()=>F,em:()=>X,E5:()=>Bt,sP:()=>Ft,_$:()=>U,gF:()=>Q,Iv:()=>$,Qh:()=>te,yK:()=>st,sW:()=>ut,Uf:()=>le,cF:()=>dt,aA:()=>ce,mO:()=>se,I1:()=>ue,_A:()=>pe,CS:()=>ot,U$:()=>Ot,yw:()=>gt,wA:()=>Dt,yM:()=>be,Ep:()=>Oe,qy:()=>jt,sN:()=>ke,Cu:()=>ye,qQ:()=>Ee,oe:()=>Te,Oq:()=>He,yS:()=>Me,Og:()=>Ze,kn:()=>Re,od:()=>Lt});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const f=e=>{var{withBrandColor:t=!0}=e,r=s(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const b=e=>{var{withBrandColor:t=!0}=e,r=d(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const x=e=>{var{className:t}=e,r=j(e,["className"]);return n.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const C=e=>{var{className:t}=e,r=P(e,["className"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const Z=e=>{var{withBrandColor:t=!0}=e,r=B(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",T(function(e){for(var t=1;tn.createElement("svg",W(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",J(function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const $=e=>{var{withBrandColor:t=!0}=e,r=_(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const le=e=>{var{withBrandColor:t=!0}=e,r=ne(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",ie(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const Oe=e=>{var{className:t}=e,r=he(e,["className"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",we(function(e){for(var t=1;tn.createElement("svg",xe(function(e){for(var t=1;tn.createElement("svg",Ce(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",tt(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",ct(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",pt(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const jt=e=>{var{className:t}=e,r=yt(e,["className"]);return n.createElement("svg",wt(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{r.r(t),r.d(t,{default:()=>x});var n=r(4971),l=r(1504),a=r(6424),c=r(6968),o=r(8480),i=r(3120),s=r(5048);const f=({className:e})=>l.createElement("div",{className:(0,n.c)("relative","flex","flex-col","items-start landing-md:items-center landing-md:justify-center","gap-6 landing-md:gap-12","not-prose","landing-md:mx-auto","w-full","landing-md:h-[264px]","landing-md:overflow-hidden",e)},l.createElement(s.G,{className:(0,n.c)("absolute","hidden landing-md:block","w-[1200px]","max-w-[1200px]"),srcDark:"https://refine.ams3.cdn.digitaloceanspaces.com/templates/templates-hero-dark.png",srcLight:"https://refine.ams3.cdn.digitaloceanspaces.com/templates/templates-hero-light.png",alt:"CodeVerse"}),l.createElement("h2",{className:(0,n.c)("flex","items-center","justify-center","gap-2","text-[32px] leading-[40px] landing-sm:text-[56px] landing-sm:leading-[72px]")},l.createElement("span",{className:(0,n.c)("dark:text-gray-0 text-gray-900")},"Practice"," "),l.createElement("span",{className:(0,n.c)("font-semibold","dark:text-refine-green-alt dark:drop-shadow-[0_0_30px_rgba(71,235,235,0.25)]","text-refine-blue drop-shadow-[0_0_30px_rgba(51,51,255,0.3)]")},"DSA & CP")),l.createElement("p",{className:(0,n.c)("text-base","text-start landing-md:text-center","max-w-[588px]","dark:text-gray-400 text-gray-600")},"Practice Data-Structures and Algorithms & Competitive Programming Problems with LeetCode"));var u=r(5904),m=r(9184);const p=({className:e,data:t})=>l.createElement("div",{className:(0,n.c)("not-prose",e)},l.createElement("div",{className:(0,n.c)("grid","grid-cols-1 landing-sm:grid-cols-2 landing-lg:grid-cols-3","gap-8 landing-sm:gap-6","not-prose",e)},t.map((e=>l.createElement(m.c,{to:e.to,key:e.title,className:(0,n.c)("h-full","flex","flex-col","dark:bg-gray-800 bg-gray-50","border dark:border-gray-700 border-transparent","rounded-2xl","hover:no-underline","not-prose")},l.createElement("img",{className:(0,n.c)("aspect-[590/405]","rounded-t-2xl"),src:e.image}),l.createElement("div",{className:(0,n.c)("h-full","flex","flex-col","p-6","not-prose")},l.createElement("div",{className:(0,n.c)("text-base","font-semibold","dark:text-gray-300","text-gray-900")},e.title),l.createElement("div",{className:(0,n.c)("text-sm","dark:text-gray-400","text-gray-600","mt-4","mb-6")},e.description),l.createElement("div",{className:(0,n.c)("mt-auto","flex items-center flex-wrap","gap-2")},e.integrations.map((e=>{const t=e.icon;return l.createElement("div",{key:e.label,className:(0,n.c)("flex","items-center","gap-2","py-2 pl-2 pr-4","rounded-full","dark:bg-gray-900 bg-gray-0")},l.createElement(t,{id:"template-list"}),l.createElement("div",{className:(0,n.c)("text-xs","dark:text-gray-400","text-gray-500")},e.label))}))))))))),d=({svgId:e,className:t,data:r,selected:a,onLanguageFiltersChange:c,onTopicFiltersChange:o})=>l.createElement("div",{className:(0,n.c)("flex","flex-col","not-prose",t)},l.createElement("h4",{className:(0,n.c)("pl-4","text-sm","font-semibold","dark:text-gray-400 text-gray-700")},"Languages"),l.createElement("div",{className:(0,n.c)("flex","flex-col","items-start","gap-4","mt-3")},r.languageFilters.map((t=>{const r=a.languageFilters.includes(t.label),o=t.icon;return l.createElement("div",{key:t.label,onClick:()=>c(t.label),role:"button",className:(0,n.c)("flex","items-center","py-2 pl-2 pr-4","gap-2","rounded-full","cursor-pointer","border dark:border-gray-700 border-gray-200",r&&"dark:bg-gray-700 bg-gray-50","transition-colors duration-200 ease-in-out")},l.createElement(o,{id:e}),l.createElement("span",{className:(0,n.c)("text-sm",!r&&"dark:text-gray-400 text-gray-600",r&&"dark:text-gray-0 text-gray-900")},t.label))}))),l.createElement("h4",{className:(0,n.c)("pl-4","text-sm","font-semibold","dark:text-gray-400 text-gray-700","mt-10")},"Topics"),l.createElement("div",{className:(0,n.c)("flex","flex-col","items-start","gap-3","mt-4")},r.topicFilters.map((t=>{const r=a.topicFilters.includes(t.label),c=t.icon;return l.createElement("div",{key:t.label,onClick:()=>o(t.label),role:"button",className:(0,n.c)("flex","items-center","py-2 pl-2 pr-4","gap-2","rounded-full","cursor-pointer","border dark:border-gray-700 border-gray-200",r&&"dark:bg-gray-700 bg-gray-50")},l.createElement(c,{id:e}),l.createElement("span",{className:(0,n.c)("text-sm",!r&&"dark:text-gray-400 text-gray-600",r&&"dark:text-gray-0 text-gray-900")},t.label))}))));var b=r(320);const g=({className:e,onClick:t})=>l.createElement("button",{onClick:t,className:(0,n.c)("appearance-none","flex","items-center","w-max","gap-2","px-6 py-3","rounded-full","dark:bg-gray-700 bg-gray-200",e)},l.createElement(b.y,null),l.createElement("span",{className:(0,n.c)("dark:text-gray-0 text-gray-900")},"Filter Templates"));var h=r(5880);function O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function v(e){for(var t=1;tl.createElement(u.Gg,v({width:16,height:16},e))},{label:"Algorithms",icon:e=>l.createElement(u.Gg,v({width:16,height:16},e))},{label:"Competitive Programming",icon:e=>l.createElement(u.Gg,v({width:16,height:16},e))}],languageFilters:[{label:"C++",icon:e=>l.createElement(u.U7,v({width:16,height:16},e))},{label:"Python",icon:e=>l.createElement(u.wA,v({width:16,height:16},e))},{label:"Java",icon:e=>l.createElement(u.E5,v({width:16,height:16},e))},{label:"HTML",icon:e=>l.createElement(u.ai,v({width:16,height:16},e))},{label:"CSS",icon:e=>l.createElement(u.Ou,v({width:16,height:16},e))},{label:"JavaScript",icon:e=>l.createElement(u.sP,v({width:16,height:16},e))}]},j=[{to:"/CodeVerse/dsa",title:"Data Structure and Algorithm",description:"Solving complex computational tasks efficiently through organized data representation and strategic problem-solving methodologies.",image:"https://miro.medium.com/v2/resize:fit:1358/1*4ZcW5tSdizlbtDQyVpRTuA.jpeg",integrations:[{label:"C++",icon:e=>l.createElement(u.U7,v({width:16,height:16},e))},{label:"Python",icon:e=>l.createElement(u.wA,v({width:16,height:16},e))},{label:"Data Structures",icon:e=>l.createElement(u.Gg,v({width:16,height:16},e))},{label:"Algorithms",icon:e=>l.createElement(u.Gg,v({width:16,height:16},e))}]},{to:"/CodeVerse/cp",title:"Competitive Programming",description:"Solve algorithmic puzzles under time constraints to optimize problem-solving skills and code efficiency.",image:"https://www.andreafiori.net/img/social/og/competitive-programming.gif",integrations:[{label:"C++",icon:e=>l.createElement(u.U7,v({width:16,height:16},e))},{label:"Competitive Programming",icon:e=>l.createElement(u.Gg,v({width:16,height:16},e))}]}],x=()=>{const e="PrepVerse | DSA+CP Practice",[t,r]=l.useState(!1),[s,u]=l.useState({topicFilters:[],languageFilters:[]}),m=l.useMemo((()=>s.topicFilters.length||s.languageFilters.length?j.filter((e=>e.integrations.some((e=>s.topicFilters.includes(e.label)||s.languageFilters.includes(e.label))))):j),[s]),b=(e,t)=>{u((r=>{const n=r[t].includes(e);return w(v({},r),n?{[t]:r[t].filter((t=>t!==e))}:{[t]:[...r[t],e]})}))};return l.createElement(l.Fragment,null,l.createElement(a.c,null,l.createElement("html",{"data-active-page":"index"}),l.createElement("title",null,e),l.createElement("meta",{property:"og:title",content:e}),l.createElement("link",{rel:"preload",href:"https://prepverse.github.io",as:"document"})),l.createElement(o.C,{description:"DSA+CP Practice"},l.createElement("div",null,l.createElement(c.m,null),l.createElement("div",{className:(0,n.c)("flex flex-col","pb-12 landing-sm:pb-16 landing-md:pb-20","px-2 landing-sm:px-0")},l.createElement("div",{className:(0,n.c)("w-full","mx-auto","px-2 landing-sm:px-8 landing-md:px-0","pt-4","landing-sm:pt-12","landing-md:pt-0","w-full max-w-[592px] landing-sm:max-w-[656px] landing-md:max-w-full")},l.createElement(f,null),l.createElement(g,{className:(0,n.c)("flex landing-md:hidden","mt-6"),onClick:()=>{r(!0)}})),l.createElement("div",{className:(0,n.c)("w-full max-w-[592px] landing-sm:max-w-[656px] landing-md:max-w-[896px] landing-lg:max-w-[1200px]","flex","items-start","gap-6","mx-auto","mt-12","relative","not-prose")},l.createElement("div",{className:(0,n.c)("hidden landing-md:flex","flex-col","not-prose","sticky top-24 left-0")},l.createElement("h3",{className:(0,n.c)("text-base","font-semibold","dark:text-gray-300 text-gray-900","pl-4")},"Filter CodeVerse"),l.createElement(d,{svgId:"sider",onLanguageFiltersChange:e=>{b(e,"languageFilters")},onTopicFiltersChange:e=>{b(e,"topicFilters")},className:(0,n.c)("min-w-[180px]","mt-10"),selected:s,data:y})),l.createElement(p,{data:m}))),l.createElement(i.E,null)),l.createElement(h.E,{onClose:()=>r(!1),open:t,title:"Filter Templates",variant:"templates"},l.createElement("div",{className:(0,n.c)("flex","flex-col","not-prose")},l.createElement(d,{svgId:"drawer",onLanguageFiltersChange:e=>{b(e,"languageFilters")},onTopicFiltersChange:e=>{b(e,"topicFilters")},className:(0,n.c)("min-w-[180px]"),selected:s,data:y})))))}},5880:(e,t,r)=>{r.d(t,{E:()=>f});var n=r(4971),l=r(1504),a=r(2268),c=r(2424),o=r(7104),i=r(3200),s=r(8164);const f=e=>(l.useEffect((()=>(e.open?document.body.style.overflow="hidden":document.body.style.overflow="auto",()=>{document.body.style.overflow="auto"})),[e.open]),l.createElement(s.c,null,(()=>(0,o.createPortal)(l.createElement(u,e),document.body)))),u=({children:e,title:t,open:r,onClose:o,variant:s})=>{const[f,u]=l.useState(48),{scrollY:m}=(0,i.Q)(),p=l.useRef(null);var d,b;return d=p,b=e=>{e.stopPropagation(),o()},l.useEffect((()=>{const e=e=>{d.current&&!d.current.contains(e.target)&&(e.preventDefault(),b(e))};return document.addEventListener("click",e,!0),()=>{document.removeEventListener("click",e,!0)}}),[d]),((e,t,r)=>{l.useEffect((()=>{const n=n=>{e.current&&t.includes(n.key)&&(n.preventDefault(),r(n))};return document.addEventListener("keydown",n,!0),()=>{document.removeEventListener("keydown",n,!0)}}),[e])})(p,["Escape"],(()=>{o()})),l.useEffect((()=>{const e=m.onChange((e=>{u(e>=48?0:48-e)}));return()=>e()}),[]),l.createElement("div",{style:{top:f},className:(0,n.c)("fixed","right-0 bottom-0","z-modal",!r&&"pointer-events-none")},l.createElement(c.O,{ref:p,as:"div",className:(0,n.c)("z-modal","flex flex-col","w-[240px] h-full","ml-auto","p-4","templates"===s&&"bg-gray-0 dark:bg-gray-900","blog"===s&&"bg-white dark:bg-refine-react-7","border-l dark:border-gray-800","dark:shadow-[0_0_72px_24px_#14141F]","shadow-[0_0_72px_24px_rgba(20, 20, 31, 0.50)]"),show:r,enter:"transition-transform duration-300 transition-ease-in-out",enterFrom:"translate-x-full",enterTo:"translate-x-0",leave:"transition-transform duration-300 transition-ease-in-out",leaveFrom:"translate-x-0",leaveTo:"translate-x-full"},l.createElement("div",{className:(0,n.c)("flex","items-center","justify-between","mb-10","dark:text-gray-300 text-gray-900")},l.createElement("h3",{className:(0,n.c)("text-base","font-semibold")},t),l.createElement("button",{type:"button",className:(0,n.c)("appearance-none"),onClick:o},l.createElement(a.O,null))),l.createElement("div",{className:(0,n.c)("overflow-auto h-full")},e)))}},6968:(e,t,r)=>{r.d(t,{m:()=>I});var n=r(9184),l=r(4971),a=r(3200),c=r(344),o=r(6076),i=r(1504),s=r(1980),f=r(8804),u=r(6098);const m=[{isPopover:!0,label:"Docs",items:[{label:"Foundation Docs",description:"Learn C++, Python & Java",link:"https://prepverse.vercel.app/docs",icon:u.C3},{label:"DSA Docs",description:"Learning DSA in C++, Python & Java",link:"https://prepverse.vercel.app/docs/1.DS.Algo",icon:u.uI}]},{isPopover:!0,label:"CodePoint",items:[{label:"Expert Sheet Solutions",description:"Most popular coding questions solutions asked during SDE interviews.",link:"https://prepverse.github.io/CodePoint/preface",icon:u.C3},{label:"Coding Ninjas Series",description:"Coding Ninjas Studio Guided Path Solutions",link:"https://prepverse.github.io/CodePoint/learning_resources/CN_Series/preface",icon:u.oh},{label:"LeetVerse",description:"Leetcode problem solutions with full probelm statements in C++, Python & Java",link:"https://prepverse.github.io/LeetVerse",icon:u.Ew}]},{isPopover:!0,label:"About",items:[{label:"About Me",description:"My information.",link:"https://prepverse.vercel.app/AkashSingh3031",icon:u.kv},{label:"Project Showcase",description:"PrepVerse open-source projects",link:"https://prepverse.vercel.app/showcase",icon:u.w9},{label:"My Portfolio",description:"All info about me",link:"https://prepverse.github.io/portfolio",icon:u.BE}]},{isPopover:!1,label:"Blog",href:"https://prepverse.vercel.app/blog",icon:u.s1},{isPopover:!1,label:"PrepVerse Community",href:"https://prepverse.vercel.app/prepverse-community",icon:u.vn}],p=({item:e,variant:t="landing"})=>{const r=e.icon;return i.createElement(n.c,{to:e.link,className:"no-underline"},i.createElement("div",{className:(0,l.c)("flex items-center","p-4","transition duration-150 ease-in-out","rounded-lg","hover:bg-gray-100","landing"===t&&"dark:hover:bg-gray-800","blog"===t&&"dark:hover:bg-refine-react-8")},i.createElement("div",{className:"shrink-0"},i.createElement(r,null)),i.createElement("div",{className:"ml-2"},i.createElement("div",{className:(0,l.c)("landing"===t&&"text-gray-900 dark:text-white","blog"===t&&"text-refine-react-8 dark:text-refine-react-3","font-semibold")},e.label),i.createElement("div",{className:(0,l.c)("landing"===t&&"text-gray-500 dark:text-gray-400","blog"===t&&"text-refine-react-5 dark:text-refine-react-4","text-xs")},e.description))))},d=({item:e})=>{const[t,r]=(0,i.useState)(null);(0,i.useEffect)((()=>(r(localStorage.getItem("theme")||null),window.addEventListener("storage",a,!1),()=>{window.removeEventListener("storage",a,!1)})),[]);const a=()=>{r(localStorage.getItem("theme")||null)};let c=e.icon;return"Cloud"===e.label&&(c="light"===t?u.oz:e.icon),i.createElement(n.c,{key:e.label,to:e.href,className:(0,l.c)("inline-flex items-center gap-2","text-sm leading-6 font-normal text-gray-900 dark:text-gray-300","transition-colors duration-150 ease-in-out","no-underline","Hackathon"===e.label?["py-1","px-2","rounded-lg","bg-hackathon-button-bg","animate-hackathon-button-bg","bg-refine-bg","text-gray-0","bg-[length:200%_100%]","text-[14px]","hover:text-gray-0"]:["hover:text-gray-900 dark:hover:text-white"])},e.icon&&i.createElement(c,null),e.label)};var b=r(640),g=r(5224),h=r(2424),O=r(4577);const v=({item:e,variant:t="landing",children:r})=>{const[n,a]=(0,i.useState)(!1),c=i.useRef(null),o=i.useRef(null),s=(0,b.IT)();return i.useEffect((()=>{a(!1)}),[s]),i.createElement(g._,{id:`popover-${e.label}`,key:e.label,className:(0,l.c)("relative","inline-flex items-center"),onMouseEnter:()=>{o.current=setTimeout((()=>a(!0)),210),clearTimeout(c.current)},onMouseLeave:()=>{c.current=setTimeout((()=>a(!1)),210),clearTimeout(o.current)}},(()=>i.createElement(i.Fragment,null,i.createElement(g._.Button,{className:(0,l.c)("inline-flex items-center","text-sm leading-6","font-normal")},i.createElement("span",{className:(0,l.c)("landing"===t&&"text-gray-900 dark:text-gray-300","blog"===t&&"text-refine-react-8 dark:text-refine-react-3","transition-colors duration-150 ease-in-out inline-block")},e.label),i.createElement(O.w,{"aria-hidden":"true",className:(0,l.c)("transition duration-150 ease-out","-mr-2","landing"===t&&"text-gray-500 dark:text-gray-400","blog"===t&&"text-refine-react-4",n?"translate-y-0.5":"")})),i.createElement(h.O,{as:i.Fragment,enter:"transition ease-in duration-150",enterFrom:"opacity-0 translate-y-3",enterTo:"opacity-100 translate-y-0",leave:"transition ease-out duration-150",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 translate-y-3",show:n},i.createElement(g._.Panel,{className:(0,l.c)("absolute","z-50","top-12",{"-left-32 center-point":"Docs"===e.label||"About"===e.label,"left-point":"CodePoint"===e.label})},i.createElement(u.WR,{id:e.label,variant:t,className:(0,l.c)("absolute","top-[-9px]",{"left-1/2":"CodePoint"!==e.label,"left-12":"CodePoint"===e.label}),style:{transform:"translateX(-50%)"}}),i.createElement("div",{className:(0,l.c)("overflow-hidden","rounded-xl","landing"===t&&"border dark:border-gray-700 border-gray-200","landing"===t&&"dark:shadow-menu-dark shadow-menu-light","blog"===t&&"border border-refine-react-3 dark:border-refine-react-6","blog"===t&&"dark:shadow-menu-blog-dark shadow-menu-blog-light")},r))))))},w=({variant:e="landing"})=>i.createElement(i.Fragment,null,m.map((t=>t.isPopover?i.createElement(v,{key:`navbar-${t.label}`,item:t,variant:e},"CodePoint"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,l.c)("grid grid-cols-2 gap-4","p-4","w-[672px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(p,{key:t.label,item:t,variant:e})))),i.createElement(n.c,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,l.c)("border-t","blog"===e&&"border-refine-react-3 dark:border-refine-react-6","landing"===e&&"border-gray-300 dark:border-gray-700","landing"===e&&"bg-gray-100 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-7","flex items-center","py-4 px-7")},i.createElement(u._2,null),i.createElement("div",{className:(0,l.c)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))),"About"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,l.c)("grid gap-4","p-4","w-[336px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(p,{key:t.label,item:t,variant:e})))),i.createElement("div",{className:(0,l.c)("border-t","blog"===e&&"border-refine-react-3 dark:border-refine-react-6","landing"===e&&"border-gray-300 dark:border-gray-700","landing"===e&&"bg-gray-100 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-7","flex justify-between items-center","py-4 px-7")},i.createElement("div",{className:(0,l.c)("landing"===e&&"text-gray-600 dark:text-gray-400 ","blog"===e&&"text-refine-react-5 dark:text-refine-react-4")},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.c,{to:"https://github.com/AkashSingh3031",className:(0,l.c)("no-underline","hover:text-inherit")},i.createElement(u.A9,{className:"dark:text-gray-400 text-gray-500"})),i.createElement(n.c,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(u.Ed,null)),i.createElement(n.c,{to:"https://instagram.com/akash.singh3031"},i.createElement(u.Yf,null)),i.createElement(n.c,{to:"https://x.com/akashsingh3031"},i.createElement(u.CC,null))))),"Docs"===t.label&&i.createElement("div",{className:(0,l.c)("grid gap-4","p-4","w-[336px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(p,{key:t.label,item:t,variant:e}))))):i.createElement(d,{key:`navbar-${t.label}`,item:t,variant:e}))));var y=r(2276),j=r(7008),x=r(9072),E=r(2268);function P(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const C=e=>i.createElement("svg",function(e){for(var t=1;ti.createElement("svg",function(e){for(var t=1;t{const[o,s]=(0,i.useState)(null),f=null!=r?r:n.c,m=void 0!==a&&void 0===t;return(0,i.useEffect)((()=>{const e=document.querySelector("html").getAttribute("data-theme");s(e)}),[]),i.createElement(f,function(e){for(var t=1;t{const r=(0,b.IT)();return i.useEffect((()=>{t(!1)}),[r]),i.createElement(M,{isModalOpen:e,setIsModalOpen:t},i.createElement(B,{className:(0,l.c)("hidden landing-sm:block","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}),i.createElement(Z,{className:(0,l.c)("block landing-sm:hidden","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}))},M=({isModalOpen:e,setIsModalOpen:t,children:r})=>i.createElement(h.O,{appear:!0,show:e,as:i.Fragment},i.createElement(y.C,{as:"div",className:"relative z-10",onClose:()=>t(!1)},i.createElement(h.O.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},i.createElement("div",{className:(0,l.c)("fixed inset-0","bg-gray-0 dark:bg-gray-900","flex","flex-col")},i.createElement(z.Q,null),i.createElement("div",{className:(0,l.c)("flex items-center justify-between","p-4","landing-sm:px-8")},i.createElement(f.m,{className:"dark:text-gray-0 text-gray-900"}),i.createElement("button",{type:"button",className:(0,l.c)("rounded-lg","hover:brightness-105","active:scale-90","transition-transform duration-75 ease-in-out")},i.createElement(E.O,{className:"text-gray-900 dark:text-white",onClick:()=>t(!1)}))),i.createElement(h.O.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-75",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95"},i.createElement("div",{className:(0,l.c)("flex-1","overflow-y-auto","px-4","pb-4")},r)))))),B=e=>i.createElement("div",{className:(0,l.c)(e.className)},m.map(((e,t)=>{const r="icon"in e&&e.icon;return i.createElement("div",{key:t,className:(0,l.c)("not-prose","p-4","border-t dark:border-gray-700 border-gray-200")},i.createElement(n.c,{to:"href"in e?e.href:void 0,className:(0,l.c)("appearance-none","block","no-underline","dark:text-gray-0 text-gray-900","font-bold")},i.createElement("div",{className:(0,l.c)("flex items-center gap-2")},i.createElement("div",null,e.label),r&&i.createElement(r,null))),"items"in e&&i.createElement("div",{className:(0,l.c)("mt-2","grid grid-cols-2 min-[800px]:grid-cols-3","gap-x-8 gap-y-4")},e.items.map((e=>i.createElement(p,{key:e.label,item:e})))))})),i.createElement(V,null),i.createElement(R,{id:"tablet"}),i.createElement(G,{id:"tablet"})),Z=e=>i.createElement("div",{className:(0,l.c)(e.className)},i.createElement("div",{className:"flex-grow"},m.map((e=>e.isPopover?i.createElement(j.C,{key:`modal-${e.label}`},(({open:t})=>i.createElement(i.Fragment,null,i.createElement(L,{component:j.C.Button,label:e.label,open:t}),i.createElement(j.C.Panel,{className:(0,l.c)(t&&"pb-4",t&&"border-b border-gray-200 dark:border-gray-700")},e.items.map((e=>i.createElement(p,{key:e.label,item:e}))))))):i.createElement(L,{key:`modal-${e.label}`,label:e.label,href:e.href,icon:e.icon})))),i.createElement(V,null),i.createElement(R,{id:"phone"}),i.createElement(G,{id:"phone"})),G=e=>{var t;return i.createElement(n.c,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,l.c)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex items-center","p-4")},i.createElement(u._2,{id:(null===(t=e)||void 0===t?void 0:t.id)||""}),i.createElement("div",{className:(0,l.c)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))},R=e=>{var t;return i.createElement("div",{className:(0,l.c)("bg-white dark:bg-gray-700 header-sm:bg-inherit","flex justify-between items-center","header-sm:flex-col header-sm:gap-4","header-sm:border-b border-gray-200 dark:border-gray-600","py-3 px-4")},i.createElement("p",{className:"text-gray-500 dark:text-gray-300 font-semibold"},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.c,{to:"https://github.com/AkashSingh3031"},i.createElement(u.A9,{className:"h-10 w-10"})),i.createElement(n.c,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(u.Ed,{className:"h-10 w-10"})),i.createElement(n.c,{to:"https://instagram.com/akash.singh3031"},i.createElement(u.Yf,{className:"h-10 w-10",id:(null===(t=e)||void 0===t?void 0:t.id)||""})),i.createElement(n.c,{to:"https://x.com/akashsingh3031"},i.createElement(u.CC,{className:"h-10 w-10"}))))},V=()=>{const{colorMode:e,setColorMode:t}=(0,x.U)(),r=()=>{t("dark"===e?"light":"dark")},n="dark"===e,a="light"===e;return i.createElement("div",{className:(0,l.c)("not-prose","p-4","flex items-center")},i.createElement("div",{className:(0,l.c)("text-sm","mr-10","dark:text-gray-400 text-gray-600")},"Apperance"),i.createElement("button",{onClick:r,className:(0,l.c)("mr-4","rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200","text-gray-500",a&&"bg-gray-50")},i.createElement(N.G,null),"Light"),i.createElement("button",{onClick:r,className:(0,l.c)("rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200",n?"text-gray-400":"text-gray-500",n&&"bg-gray-700")},i.createElement(S.g,null),"Dark"))};var T=r(9253),F=r(2700),Y=r(5792),W=r(6936);const X=()=>{const{loading:e,githubStarCountText:t}=(0,F.wx)();return i.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank",rel:"noreferrer",className:(0,l.c)("flex gap-2 items-center","font-normal","text-sm leading-6","text-gray-500 dark:text-gray-400","hover:text-gray-400 dark:hover:text-gray-300","hover:no-underline","transition-colors","duration-200","ease-in-out")},i.createElement(Y.A,{className:(0,l.c)("w-5 h-5")}),i.createElement("div",{className:(0,l.c)("flex items-center","w-10 h-6")},e?i.createElement(W.c,{className:(0,l.c)("w-5 h-5"),wrapperProps:{className:(0,l.c)("mx-auto")}}):i.createElement("span",null,t)))},I=({trackProgress:e,variant:t="landing",className:r})=>{const[u,m]=(0,i.useState)(!1),{scrollYProgress:p}=(0,a.Q)(),d=(0,c.s)(p,[.03,.95],["0%","100%"]);return i.createElement(i.Fragment,null,i.createElement(z.Q,null),i.createElement("header",{className:(0,l.c)("sticky","top-0","z-10")},i.createElement("div",{className:(0,l.c)("absolute","top-0 left-0 right-0","backdrop-blur-[6px]","landing-md:backdrop-blur-[12px]","z-[-1]","bg-gray-0 dark:bg-gray-800","bg-opacity-80 dark:bg-opacity-80","pointer-events-none",r),style:{top:"-20px",bottom:"-80px",WebkitMaskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))",maskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))"}}),i.createElement("div",{className:(0,l.c)("relative","z-[1]","p-4","landing-sm:px-8","landing-md:py-5")},i.createElement("div",{className:(0,l.c)("mx-auto","flex","items-center","justify-between","max-w-[896px]","landing-lg:max-w-[1200px]")},i.createElement("div",{className:(0,l.c)("w-[130px]","landing-lg:w-[200px]")},i.createElement(n.c,{to:"https://prepverse.vercel.app"},i.createElement(f.m,{className:"text-gray-900 dark:text-gray-0"}))),i.createElement("button",{type:"button",className:(0,l.c)("text-gray-900 dark:text-gray-0","block landing-md:hidden"),onClick:()=>m(!0)},i.createElement(s.m,null)),i.createElement("div",{className:(0,l.c)("hidden landing-md:flex","flex-1","items-center","gap-8")},i.createElement(w,{variant:t})),i.createElement("div",{className:(0,l.c)("hidden landing-md:flex","items-center","justify-end","gap-4","w-[130px]","landing-lg:w-[200px]")},i.createElement(X,null),i.createElement(T.C,null)),i.createElement(D,{isModalOpen:u,setIsModalOpen:m}))),e&&i.createElement("div",{className:(0,l.c)("w-full","h-[1.5px]","translate","bg-refine-react-3 dark:bg-refine-react-7")},i.createElement(o.q.div,{className:(0,l.c)("h-full","bg-refine-react-light-link dark:bg-refine-react-dark-link"),style:{width:d}}))))}},9253:(e,t,r)=>{r.d(t,{C:()=>i,O:()=>f});var n=r(1504),l=r(4971),a=r(9072),c=r(3756),o=r(5372);const i=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,a.U)();return n.createElement("button",{type:"button",className:(0,l.c)("appearance-none","focus:outline-none","relative","w-10 h-10","rounded-full","border","border-solid","border-gray-300 dark:border-gray-700","text-gray-500","transition-colors","duration-150","ease-in-out","overflow-hidden","flex-shrink-0","group",e),onClick:()=>{r("dark"===t?"light":"dark")}},n.createElement("div",{className:(0,l.c)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","translate-y-0","dark:-translate-y-10","duration-200","ease-in-out","transition-transform")},n.createElement(c.G,null)),n.createElement("div",{className:(0,l.c)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","-translate-y-10","dark:translate-y-0","duration-200","ease-in-out","transition-transform")},n.createElement(o.g,null)))},s=[{name:"light",icon:c.G,label:"Light"},{name:"dark",icon:o.g,label:"Dark"}],f=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,a.U)();return n.createElement("div",{className:(0,l.c)("flex","items-center","gap-4","justify-start",e)},s.map((({name:e,label:a,icon:c})=>n.createElement("button",{type:"button",key:e,className:(0,l.c)("appearance-none","focus:outline-none","py-1","pl-1.5","pr-3","flex","items-center","justify-center","gap-1","rounded-[40px]","text-gray-400","border border-solid","border-gray-200","dark:border-gray-600",t===e&&"bg-gray-100 dark:bg-gray-700"),onClick:()=>{r(e)}},n.createElement(c,{className:(0,l.c)("w-4 h-4")}),n.createElement("span",{className:(0,l.c)("text-sm")},a)))))}},5048:(e,t,r)=>{r.d(t,{G:()=>s});var n=r(1504),l=r(9072),a=r(8164);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function i(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},a=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const s=e=>{var{srcDark:t,srcLight:r,srcSetDark:s,srcSetLight:f}=e,u=i(e,["srcDark","srcLight","srcSetDark","srcSetLight"]);const{colorMode:m}=(0,l.U)(),p="dark"===m?t:r,d="dark"===m?s:f;return n.createElement(a.c,null,(()=>n.createElement("img",o(function(e){for(var t=1;t{r.d(t,{o0:()=>d,yw:()=>m,wd:()=>p,AR:()=>b});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var f=r(6098),u=r(4252);const m=[{label:"Resources",items:[{label:"Getting Started",href:"https://prepverse.vercel.app/docs"},{label:"Blog",href:"https://prepverse.vercel.app/blog"},{label:"Project Showcase",icon:n.createElement(f.KU,null),href:"https://prepverse.vercel.app/showcase"},{label:"Community",icon:n.createElement(f.KU,null),href:"https://prepverse.vercel.app/prepverse-community"}]},{label:"Product",items:[{label:"CodePoint",icon:n.createElement(u.i,null),href:"https://prepverse.github.io/CodePoint"},{label:"LeetVerse",icon:n.createElement(u.i,null),href:"https://prepverse.github.io/LeetVerse"}]},{label:"About",items:[{label:"About Me",href:"https://prepverse.vercel.app/AkashSingh3031"},{label:"Portfolio",icon:n.createElement(u.i,null),href:"https://prepverse.github.io/portfolio"}]}],p=[{label:"License",href:"https://github.com/PrepVerse/prepverse.github.io/blob/master/LICENSE"}],d="Thank you for visiting, Connect with me over socials.",b=[{icon:e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{r.d(t,{w:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{g:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{i:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{y:()=>o});var n=r(4971),l=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const o=e=>l.createElement("svg",c(function(e){for(var t=1;t{r.d(t,{A:()=>c,i:()=>o});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e){for(var t=1;tn.createElement("svg",a({width:12,height:12,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.053 0A10.904 10.904 0 0 0 3.89 2.685 11.34 11.34 0 0 0 .142 9.472a11.48 11.48 0 0 0 1.456 7.65 11.087 11.087 0 0 0 5.964 4.86c.556.103.752-.25.752-.547v-1.918C5.23 20.202 4.58 18 4.58 18a3.012 3.012 0 0 0-1.227-1.655c-.997-.692.081-.692.081-.692.35.05.683.18.975.382.293.202.536.469.713.78.15.278.352.523.595.721a2.312 2.312 0 0 0 2.618.221c.042-.57.283-1.105.678-1.509-2.454-.284-5.03-1.253-5.03-5.539a4.415 4.415 0 0 1 1.132-3.025A4.194 4.194 0 0 1 5.224 4.7s.928-.305 3.036 1.156c1.81-.508 3.72-.508 5.531 0 2.108-1.46 3.03-1.156 3.03-1.156.406.936.455 1.993.135 2.963a4.415 4.415 0 0 1 1.132 3.026c0 4.334-2.582 5.282-5.043 5.538.264.271.468.597.598.955.13.358.182.741.155 1.122V21.4c0 .367.196.65.759.54a11.093 11.093 0 0 0 5.88-4.878 11.481 11.481 0 0 0 1.419-7.6 11.34 11.34 0 0 0-3.71-6.746A10.907 10.907 0 0 0 11.053 0Z",fill:"currentColor"})),o=e=>n.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.066.001a11.91 11.91 0 0 1 7.745 2.966 12.326 12.326 0 0 1 4.032 7.33 12.46 12.46 0 0 1-1.54 8.245 12.088 12.088 0 0 1-6.406 5.314l-.105.037-.11.021c-.508.1-1.232.093-1.83-.422-.577-.498-.681-1.166-.681-1.565v-3.008l.004-.053a1.102 1.102 0 0 0-.062-.453 1.058 1.058 0 0 0-.235-.377l-.839-.86-.863.882a.802.802 0 0 0-.224.502l-.015.217v3.183c0 .434-.14 1.029-.628 1.492-.541.514-1.246.62-1.864.505l-.108-.02-.104-.035a12.082 12.082 0 0 1-6.498-5.296 12.457 12.457 0 0 1-1.58-8.298c.45-2.86 1.891-5.471 4.073-7.375A11.909 11.909 0 0 1 12.05.001h.016Zm-10.43 10.54a10.957 10.957 0 0 0 1.39 7.303 10.58 10.58 0 0 0 5.693 4.638c.53.099.717-.238.717-.522v-1.83c-.588.13-1.083.15-1.5.1a2.95 2.95 0 0 1-.542-.117 2.551 2.551 0 0 1-.422-.176 2.362 2.362 0 0 1-.82-.72c-.208-.294-.28-.535-.28-.535a2.876 2.876 0 0 0-1.17-1.58l-.016-.01c-.925-.65.093-.65.093-.65.106.015.21.038.313.068l.017.005a2.172 2.172 0 0 1 .962.603c.122.13.23.276.319.433a2.29 2.29 0 0 0 .68.775h.002s0 .001 0 0a2.211 2.211 0 0 0 2.385.124v-.014a2.302 2.302 0 0 1 .647-1.427 8.754 8.754 0 0 1-1.625-.328 4.865 4.865 0 0 1-1.416-.695 3.883 3.883 0 0 1-.432-.365c-.8-.786-1.328-2.002-1.328-3.899a4.214 4.214 0 0 1 1.08-2.887 4.003 4.003 0 0 1 .104-2.848s.886-.291 2.898 1.103a9.762 9.762 0 0 1 5.28 0c2.011-1.393 2.891-1.103 2.891-1.103.388.893.434 1.902.13 2.828a4.214 4.214 0 0 1 1.08 2.888c0 3.166-1.444 4.44-3.174 4.972a8.617 8.617 0 0 1-1.64.314 2.558 2.558 0 0 1 .699 1.425c.026.184.033.371.02.558v2.955c0 .35.187.62.724.515a10.588 10.588 0 0 0 5.613-4.656 10.958 10.958 0 0 0 1.354-7.254 10.824 10.824 0 0 0-3.541-6.439 10.41 10.41 0 0 0-6.77-2.592 10.408 10.408 0 0 0-6.837 2.563 10.824 10.824 0 0 0-3.578 6.478ZM16.374 7.8a8.003 8.003 0 0 0-.856.524l-.58.401-.679-.19a8.262 8.262 0 0 0-4.469 0l-.68.19-.58-.402a7.982 7.982 0 0 0-.846-.519c.019.186.059.37.12.549l.282.832-.588.653a2.714 2.714 0 0 0-.696 1.86v.024c0 1.724.503 2.513.998 2.937.563.481 1.397.736 2.476.86l1.567.182 1.954-.204c1.082-.112 1.912-.358 2.47-.833.492-.418.999-1.209.999-2.96v-.026a2.714 2.714 0 0 0-.696-1.86l-.582-.647.273-.826c.058-.178.096-.36.113-.545Z",clipRule:"evenodd"}))},1980:(e,t,r)=>{r.d(t,{m:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{Q:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{G:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{s1:()=>o,wR:()=>s,QD:()=>u,vn:()=>p,kv:()=>b,uI:()=>h,A9:()=>v,_2:()=>y,Ew:()=>x,Yf:()=>P,oh:()=>k,Ed:()=>H,BE:()=>z,KU:()=>D,WR:()=>V,w9:()=>F,CC:()=>W,AH:()=>U,oz:()=>J,C3:()=>q});var n=r(1504);var l=r(4971);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const o=e=>n.createElement("svg",c(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const{colorMode:t}=(0,S.U)();return n.createElement("div",{className:(0,l.c)("relative","flex","items-center","justify-center","rounded-full","overflow-hidden","p-px","dark:bg-[#194b3a] bg-[#b7dbff]"),style:{transform:"translateZ(0)"}},n.createElement("div",{className:(0,l.c)("z-[1]","absolute","inset-0","dark:bg-new-badge-border-dark bg-new-badge-border-light","animate-new-badge-border")}),n.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}var G,R;const V=e=>{var{variant:t="landing"}=e,r=Z(e,["variant"]);return n.createElement("svg",B(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",I(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{r.d(t,{m:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{E:()=>d});var n=r(4971),l=r(1504),a=r(9184),c=r(7708),o=r(204);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const s=e=>l.createElement("svg",function(e){for(var t=1;t{const t=l.createElement("div",{className:(0,n.c)("py-6 landing-lg:py-0","flex","flex-col","gap-4","landing-lg:max-w-[224px]")},l.createElement("div",{className:(0,n.c)("font-semibold","text-sm","leading-6","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},"Contacts"),l.createElement("a",{href:"https://wa.me/+919794423031",target:"_blank",className:(0,n.c)("font-normal","text-sm","leading-5","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},"+91 9794423031"),l.createElement("a",{href:"https://mail.google.com/mail/u/0/?fs=1&to=codewithsky@gmail.com&tf=cm",target:"_blank",className:(0,n.c)("font-normal","text-sm","leading-5","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:180,height:40,viewBox:"0 0 180 40",fill:"none"},l.createElement("text",{x:"1",y:"15",fontFamily:"Arial, sans-serif",fontSize:"16",fill:"currentColor"},"codewithsky@gmail.com")))),r=l.createElement("div",{className:(0,n.c)("py-6 landing-lg:py-0","flex","flex-col","landing-sm:items-end")},l.createElement("div",{className:(0,n.c)("flex","flex-col","gap-4")},l.createElement("div",{className:(0,n.c)("text-sm","leading-6","font-semibold","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3","landing-lg:text-right")},"Connect with me on"),l.createElement("div",{className:(0,n.c)("flex","items-center","gap-8","landing-lg:gap-4","justify-start")},c.AR.map((({href:t,icon:r})=>l.createElement("a",{href:t,key:t,target:"_blank",rel:"noreferrer",className:(0,n.c)("landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},l.createElement(r,{className:(0,n.c)("w-6 h-6","landing-lg:w-8 landing-lg:h-8")})))))));return l.createElement("footer",{className:(0,n.c)("w-full")},l.createElement("div",{className:(0,n.c)("border-t border-t-solid","landing"===e&&"border-t-gray-100 dark:border-t-gray-700","blog"===e&&"border-t-refine-react-3 dark:border-t-refine-react-7","landing"===e&&"dark:bg-footer-landing-dark-bg","blog"===e&&"bg-footer-blog-light-bg dark:bg-footer-blog-dark-bg")},l.createElement("div",{className:(0,n.c)("grid","grid-cols-1","max-w-screen-landing-md","landing-lg:max-w-screen-landing-lg","mx-auto")},l.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8 landing-lg:px-12","py-4 landing-lg:py-6","flex","items-center","justify-between")},l.createElement(a.c,{to:"https://prepverse.vercel.app",className:(0,n.c)("hover:no-underline","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},l.createElement(f.m,null)),l.createElement("a",{href:"https://github.com/sponsors/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,n.c)("hover:no-underline")},l.createElement(s,null))),l.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8 landing-lg:px-12","flex","flex-row","flex-wrap","items-start","justify-start","text-gray-500 dark:text-gray-500")},c.o0),l.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8 landing-lg:px-12","py-6 landing-lg:pt-8 landing-lg:pb-12","flex","flex-row","flex-wrap","items-start","justify-start","gap-6")},l.createElement("div",{className:(0,n.c)("hidden","landing-lg:flex","max-w-[282px]","w-full")},t),c.yw.map((t=>l.createElement("div",{className:(0,n.c)("flex flex-col gap-4","min-w-[152px]"),key:t.label},l.createElement("div",{className:(0,n.c)("text-sm","leading-6","font-semibold","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},t.label),l.createElement("div",{className:(0,n.c)("flex","flex-col","gap-2")},t.items.map((t=>l.createElement("a",p(m({href:t.href,key:t.label},t.href.startsWith("http")?{target:"_blank",rel:"noopener noreferrer"}:{}),{className:(0,n.c)("text-sm","leading-5","hover:no-underline","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300")}),l.createElement("div",{className:(0,n.c)("flex","items-center","gap-2")},t.label,t.icon)))))))),l.createElement("div",{className:(0,n.c)("hidden","landing-lg:flex","ml-auto")},r)),l.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8","grid","grid-cols-1","landing-sm:grid-cols-2","landing-sm:gap-8","landing-lg:hidden")},t,r))),l.createElement("div",{className:(0,n.c)("border-t border-t-solid","landing"===e&&"border-t-gray-100 dark:border-t-gray-700","blog"===e&&"border-t-gray-100 dark:border-t-gray-700","landing"===e&&"bg-gray-50 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-8")},l.createElement("div",{className:(0,n.c)("py-6 landing-sm:py-8 landing-lg:py-6","px-4 landing-sm:px-8 landing-lg:px-12","grid","grid-cols-1","landing-md:grid-cols-2","gap-8","max-w-screen-landing-md","landing-lg:max-w-screen-landing-lg","mx-auto")},l.createElement("div",{className:(0,n.c)("flex","flex-col","landing-sm:flex-row","gap-4","items-start","justify-start")},c.wd.map((t=>l.createElement("a",p(m({href:t.href,key:t.label},t.href.startsWith("http")?{target:"_blank",rel:"noopener noreferrer"}:{}),{className:(0,n.c)("text-sm","leading-5","font-normal","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:no-underline","hover:text-gray-800 dark:hover:text-gray-300")}),t.label)))),l.createElement("div",{className:(0,n.c)("text-left","landing-md:text-right","text-sm","pr-6 landing-sm:pr-0","leading-5","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3","font-normal")},l.createElement("div",{className:(0,n.c)("text-base","text-gray-500 dark:text-gray-400")},"Copyright \xa9 ",(new Date).getFullYear()," PrepVerse"," ",l.createElement(o.Q,{className:"text-refine-red ml-2 inline leading-6"}),l.createElement("br",null),"Built with Docusaurus & Refine.")))))}},6936:(e,t,r)=>{r.d(t,{c:()=>i});var n=r(4971),l=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const i=e=>{var{className:t,wrapperProps:r}=e,a=o(e,["className","wrapperProps"]);return l.createElement("div",c({role:"status"},r),l.createElement("svg",c({"aria-hidden":"true",width:24,height:24,viewBox:"0 0 100 100",className:(0,n.c)("text-gray-200 animate-spin dark:text-gray-600 fill-refine-blue",t),fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),l.createElement("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),l.createElement("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})),l.createElement("span",{className:"sr-only"},"Loading..."))}},252:(e,t,r)=>{r.d(t,{Q:()=>i});var n=r(4971),l=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){for(var t=1;tl.createElement("div",{className:(0,n.c)("w-full h-12","relative","bg-top-announcement","not-prose","font-inter","z-top-announcement")},l.createElement("div",{className:(0,n.c)("hidden lg:flex","w-full h-full","max-w-screen","overflow-hidden","border-b border-solid border-[#47ebeb26]","top-announcement-mask")},l.createElement("div",{className:(0,n.c)("w-[1280px] h-full","mx-auto","flex","justify-between")},l.createElement("div",{className:(0,n.c)("w-[calc(50%-300px)] h-full","relative")},l.createElement(f,{style:{animationDelay:"1.5s"},className:(0,n.c)("absolute","top-[2px]","right-[220px]"),id:"1"}),l.createElement(f,{style:{animationDelay:"1s"},className:(0,n.c)("absolute","rotate-180","top-[8px] right-[100px]"),id:"2"}),l.createElement(u,{className:(0,n.c)("absolute","right-[10px]"),id:"3"})),l.createElement("div",{className:(0,n.c)("w-[calc(50%-300px)] h-full","relative")},l.createElement(f,{style:{animationDelay:"2s"},className:(0,n.c)("absolute","rotate-180","top-[6px] right-[180px]"),id:"4"}),l.createElement(f,{style:{animationDelay:"0.5s"},className:(0,n.c)("delay-[1300]","absolute","top-[2px]","right-[40px]"),id:"5"}),l.createElement(u,{className:(0,n.c)("absolute","right-[-70px]"),id:"6"})))),l.createElement(s,null)),s=()=>l.createElement("a",{href:"https://prepverse.vercel.app/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,n.c)("relative lg:absolute","px-2 lg:px-0","top-0","left-[50%]","translate-x-[-50%]","bg-top-announcement-text","h-full w-full lg:w-[450px]","flex items-center justify-center","text-white","text-xs sm:text-sm","text-center","no-underline","hover:no-underline","hover:text-white","not-prose")},l.createElement("div",{className:(0,n.c)("ml-2","not-prose")},"For more updates follow","",l.createElement("span",{className:(0,n.c)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")},"@AkashSingh3031"),".")),f=e=>l.createElement("svg",o(c({xmlns:"http://www.w3.org/2000/svg",width:80,height:40,fill:"none"},e),{className:(0,n.c)("animate-top-announcement-glow","opacity-1",e.className)}),l.createElement("circle",{cx:40,r:40,fill:`url(#${e.id}-a)`,fillOpacity:.5}),l.createElement("defs",null,l.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 40 -40 0 40 0)",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{stopColor:"#47EBEB"}),l.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0})))),u=e=>l.createElement("svg",o(c({xmlns:"http://www.w3.org/2000/svg",width:120,height:48,fill:"none"},e),{className:(0,n.c)("animate-top-announcement-glow","opacity-1",e.className)}),l.createElement("circle",{cx:60,cy:24,r:60,fill:`url(#${e.id}-a)`,fillOpacity:.5}),l.createElement("defs",null,l.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 60 -60 0 60 24)",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{stopColor:"#47EBEB"}),l.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0}))))}}]); \ No newline at end of file diff --git a/assets/js/92c79b5e.5351d598.js b/assets/js/92c79b5e.5351d598.js new file mode 100644 index 00000000..51e5a43e --- /dev/null +++ b/assets/js/92c79b5e.5351d598.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[8968],{1996:(e,t,r)=>{r.r(t),r.d(t,{default:()=>D});var a=r(6424),n=r(4971),l=r(1504),o=r(5652),c=r(3951),i=r(6968),s=r(8480),m=r(9072),d=r(5048);function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const g=e=>l.createElement("svg",function(e){for(var t=1;tl.createElement("svg",function(e){for(var t=1;t{const{githubFollowersCount:e,loading:t}=(0,h.wx)();return l.createElement("a",{href:"https://github.com/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,n.c)("text-sm","text-gray-500 dark:text-gray-400","rounded-[32px]","border border-solid border-gray-300 dark:border-gray-700","flex gap-2 items-center","py-2 pl-2.5 pr-4","no-underline")},l.createElement(x,{className:(0,n.c)("w-5 h-5")}),l.createElement("div",{className:(0,n.c)("flex items-center","min-w-[75px] h-6")},"Followers:\xa0",t?l.createElement(v.c,{className:(0,n.c)("w-5 h-5"),wrapperProps:{className:(0,n.c)("mx-auto")}}):l.createElement("span",{className:(0,n.c)("tabular-nums text-gray-800 dark:text-gray-100")},e)))},E=()=>{const{githubAvatarUrl:e,githubAvatarName:t,githubAvatarPageUrl:r,loading:a}=(0,h.wx)(),[o,c]=(0,l.useState)([]),[i,s]=(0,l.useState)([]);return(0,l.useEffect)((()=>{const t=e.map((()=>function(){const e=Math.floor(256*Math.random()),t=Math.floor(256*Math.random()),r=Math.floor(256*Math.random());return`rgb(${e},${t},${r})`}()));c(t);const r=t.map((e=>`${e.slice(0,-1)},0.2)`));s(r)}),[e]),l.createElement("div",{className:(0,n.c)("tabular-nums text-gray-800 dark:text-gray-100","flex flex-wrap mt-10","grid grid-cols-2 md:grid-cols-3 lg:grid-cols-5","gap-4 2xl:gap-8")},e.map(((e,a)=>l.createElement("div",{key:a,className:(0,n.c)("rounded-2xl landing-sm:rounded-3xl","flex flex-col items-center")},l.createElement(d.G,{className:(0,n.c)("h-[75px] w-[75px]","rounded-2xl landing-sm:rounded-3xl","border-double border-4","p-1"),srcDark:e,srcLight:e,alt:t[a],style:{borderColor:o[a],backgroundColor:i[a]}}),a+1,l.createElement("a",{target:"_blank",href:r[a],className:(0,n.c)("text-sm","no-underline","rounded-lg m-2 p-1","border-2","transition ease-in-out delay-50 hover:-translate-y-1 hover:scale-110 duration-300","dark:text-gray-400 text-gray-600","font-semibold","flex flex-row","text-center"),style:{borderColor:o[a],backgroundColor:i[a]},rel:"noreferrer"},t[a])))))},O=[{name:"Experience",showcase:({className:e})=>l.createElement("div",{className:(0,n.c)("flex flex-col gap-5")},l.createElement("div",{className:(0,n.c)("flex flex-col gap-5","dark:bg-enterprise-data-source-dark dark:bg-gray-800 bg-gray-0","bg-blend-overlay","bg-no-repeat","rounded-2xl landing-sm:rounded-3xl","dark:bg-gray-900","rounded-xl p-4","border border-b-4 dark:border-gray-700 border-gray-200")},l.createElement("h2",{className:(0,n.c)("text-base","dark:text-gray-400 text-gray-600","font-semibold")},"Feb 2023 \u2014 Present"),l.createElement("div",{className:(0,n.c)("flex flex-\u1e5bow gap-5")},l.createElement("div",{className:"relative"},l.createElement("img",{className:(0,n.c)("h-[50px]","rounded-full"),src:"https://www.enatyam.com/public/images/logos.webp",alt:"Enatyam India"})),l.createElement("div",{className:"text-xs md:text-base"},l.createElement("h2",{className:(0,n.c)("text-base landing-sm:text-xl","dark:text-gray-300 text-gray-900","font-semibold")},"Enatyam India"),l.createElement("p",{className:(0,n.c)("text-base","dark:text-gray-400 text-gray-600")},"Web Developer | SEO Specialist")))),l.createElement("div",{className:(0,n.c)("flex flex-col gap-5","dark:bg-enterprise-data-source-dark dark:bg-gray-800 bg-gray-0","bg-blend-overlay","bg-no-repeat","rounded-2xl landing-sm:rounded-3xl","dark:bg-gray-900","rounded-xl p-4","border border-b-4 dark:border-gray-700 border-gray-200")},l.createElement("h2",{className:(0,n.c)("text-base","dark:text-gray-400 text-gray-600","font-semibold")},"Feb 2023 \u2014 July 2024 (1.5 years)"),l.createElement("div",{className:(0,n.c)("flex flex-\u1e5bow gap-5")},l.createElement("div",{className:"relative"},l.createElement("img",{className:(0,n.c)("h-[50px]","rounded-full"),src:"https://miro.medium.com/v2/resize:fit:2400/1*22Iy0RdK_ikn84caG5WBGg.png",alt:"Coding Ninjas"})),l.createElement("div",{className:"text-xs md:text-base"},l.createElement("h2",{className:(0,n.c)("text-base landing-sm:text-xl","dark:text-gray-300 text-gray-900","font-semibold")},"Coding Ninjas"),l.createElement("p",{className:(0,n.c)("text-base","dark:text-gray-400 text-gray-600")},"Teaching Assistant")))),l.createElement("div",{className:(0,n.c)("flex flex-col gap-5","dark:bg-enterprise-data-source-dark dark:bg-gray-800 bg-gray-0","bg-blend-overlay","bg-no-repeat","rounded-2xl landing-sm:rounded-3xl","dark:bg-gray-900","rounded-xl p-4","border border-b-4 dark:border-gray-700 border-gray-200")},l.createElement("h2",{className:(0,n.c)("text-base","dark:text-gray-400 text-gray-600","font-semibold")},"Jul 2022 \u2014 Jan 2023 (7 months)"),l.createElement("div",{className:(0,n.c)("flex flex-\u1e5bow gap-5")},l.createElement("div",{className:"relative"},l.createElement("img",{className:(0,n.c)("h-[50px]","rounded-full"),src:"https://itbots.in/uploads/company_logos/logo_thumbs/6475b3cb91400_thumb.png",alt:"CCTech"})),l.createElement("div",{className:"text-xs md:text-base"},l.createElement("h2",{className:(0,n.c)("text-base landing-sm:text-xl","dark:text-gray-300 text-gray-900","font-semibold")},"Centre for Computational Technologies Pvt. Ltd. (CCTech)"),l.createElement("p",{className:(0,n.c)("text-base","dark:text-gray-400 text-gray-600")},"Python Developer")))))},{name:"Education",showcase:({className:e})=>l.createElement("div",{className:(0,n.c)("flex flex-col gap-5")},l.createElement("div",{className:(0,n.c)("flex flex-col gap-5","dark:bg-enterprise-data-source-dark dark:bg-gray-800 bg-gray-0","bg-blend-overlay","bg-no-repeat","rounded-2xl landing-sm:rounded-3xl","dark:bg-gray-900","rounded-xl p-4","border border-b-4 dark:border-gray-700 border-gray-200")},l.createElement("h2",{className:(0,n.c)("text-base","dark:text-gray-400 text-gray-600","font-semibold")},"Jul 2018 \u2014 Jul 2022 (4 years)"),l.createElement("div",{className:(0,n.c)("flex flex-\u1e5bow gap-5")},l.createElement("div",{className:"relative"},l.createElement("img",{className:(0,n.c)("h-[50px]","rounded-full"),src:"https://prepverse.github.io/portfolio/assets/images/educat/college-1.jpg",alt:"Graduation"})),l.createElement("div",{className:"text-xs md:text-base"},l.createElement("h2",{className:(0,n.c)("text-base landing-sm:text-xl","dark:text-gray-300 text-gray-900","font-semibold")},"Sagar Institute of Research, Technology and Science, Bhopal"),l.createElement("p",{className:(0,n.c)("text-base","dark:text-gray-400 text-gray-600")},"B.Tech | 8.62 CGPA")))),l.createElement("div",{className:(0,n.c)("flex flex-col gap-5","dark:bg-enterprise-data-source-dark dark:bg-gray-800 bg-gray-0","bg-blend-overlay","bg-no-repeat","rounded-2xl landing-sm:rounded-3xl","dark:bg-gray-900","rounded-xl p-4","border border-b-4 dark:border-gray-700 border-gray-200")},l.createElement("h2",{className:(0,n.c)("text-base","dark:text-gray-400 text-gray-600","font-semibold")},"Jul 2017 \u2014 Jul 2018 (1 year)"),l.createElement("div",{className:(0,n.c)("flex flex-\u1e5bow gap-5")},l.createElement("div",{className:"relative"},l.createElement("img",{className:(0,n.c)("h-[50px]","rounded-full"),src:"https://prepverse.github.io/portfolio/assets/images/educat/school.jpg",alt:"Intermediate"})),l.createElement("div",{className:"text-xs md:text-base"},l.createElement("h2",{className:(0,n.c)("text-base landing-sm:text-xl","dark:text-gray-300 text-gray-900","font-semibold")},"R Tripathi Inter College Prabhupur, Chandauli"),l.createElement("p",{className:(0,n.c)("text-base","dark:text-gray-400 text-gray-600")},"12th | 78.20 %")))),l.createElement("div",{className:(0,n.c)("flex flex-col gap-5","dark:bg-enterprise-data-source-dark dark:bg-gray-800 bg-gray-0","bg-blend-overlay","bg-no-repeat","rounded-2xl landing-sm:rounded-3xl","dark:bg-gray-900","rounded-xl p-4","border border-b-4 dark:border-gray-700 border-gray-200")},l.createElement("h2",{className:(0,n.c)("text-base","dark:text-gray-400 text-gray-600","font-semibold")},"Jul 2015 \u2014 Jul 2016 (1 year)"),l.createElement("div",{className:(0,n.c)("flex flex-\u1e5bow gap-5")},l.createElement("div",{className:"relative"},l.createElement("img",{className:(0,n.c)("h-[50px]","rounded-full"),src:"https://prepverse.github.io/portfolio/assets/images/educat/school.jpg",alt:"High School"})),l.createElement("div",{className:"text-xs md:text-base"},l.createElement("h2",{className:(0,n.c)("text-base landing-sm:text-xl","dark:text-gray-300 text-gray-900","font-semibold")},"A V M High School Mahagaon Papaura, Chandauli"),l.createElement("p",{className:(0,n.c)("text-base","dark:text-gray-400 text-gray-600")},"10th | 86.67 %")))))}],C=()=>{const[e,t]=l.useState(O[0]),r=l.useMemo((()=>e.showcase),[e.name]);return l.createElement("div",{className:(0,n.c)("flex flex-wrap","border dark:border-gray-700 border-gray-200","bg-gray-50 dark:bg-gray-900","w-full","rounded-2xl landing-sm:rounded-[32px]","gap-2 landing-sm:gap-4","p-2 landing-sm:p-4","relative","group/showcase","landing-lg:overflow-hidden")},l.createElement("div",{className:(0,n.c)("flex","w-auto","gap-2")},l.createElement("div",{className:(0,n.c)("rounded-xl","overflow-y-auto","flex","w-full","gap-2","scrollbar-hidden","snap snap-x snap-mandatory","snap-mandatory")},l.createElement("div",{className:(0,n.c)("rounded-xl","border-b-2 border-gray-500","flex","w-auto","landing-lg:w-auto","items-center","justify-start","gap-2","relative")},l.createElement("div",{className:(0,n.c)("hidden landing-sm:block","flex-1","rounded-xl","h-full","bg-gray-200 dark:bg-gray-700","absolute","left-0","top-0","transition-transform","duration-150","ease-out"),style:{width:`calc((100% - (${O.length-1} * 8px)) / ${O.length})`,minWidth:"200px",transform:`translateX(calc((100% + 8px) * ${O.findIndex((t=>t.name===e.name))})) translateZ(0px)`}}),O.map(((r,a)=>l.createElement("button",{key:r.name,type:"button",onClick:e=>{var n,l,o;t(r),null===(l=null===(o=e.currentTarget.parentElement)||void 0===o?void 0:o.parentElement)||void 0===l||null===(n=l.scrollTo)||void 0===n||n.call(l,{left:a>=2?252*a:0,behavior:"smooth"})},className:(0,n.c)("z-[1]","snap-start","appearance-none","focus:outline-none","flex-1","break-keep","whitespace-nowrap","landing-sm:min-w-[200px]","py-2","landing-sm:py-3.5","px-4","rounded-xl","transition-colors","ease-in-out","duration-150",e.name!==r.name&&"bg-transparent",e.name===r.name&&"bg-gray-200 dark:bg-gray-700",e.name===r.name&&"border-b-4 border-green-500 dark:border-blue-700",e.name!==r.name&&"hover:text-gray-900 dark:hover:text-gray-200",e.name===r.name&&"text-green-700 dark:text-blue-400",e.name!==r.name&&"text-gray-600 dark:text-gray-400",e.name===r.name&&"text-gray-900 dark:text-gray-0",e.name!==r.name&&"border-b-2 border-transparent hover:bg-gray-200 dark:hover:bg-gray-700","landing-sm:bg-transparent","dark:landing-sm:bg-transparent","transition-colors","duration-150","ease-out","text-xs","landing-sm:text-sm")},r.name)))))),l.createElement("div",{className:(0,n.c)("rounded-lg","landing-md:rounded-xl","landing-lg:rounded-2xl","overflow-hidden","shadow-sm shadow-gray-200 dark:shadow-none","relative","group/showcase-inner","w-full")},l.createElement(r,{className:(0,n.c)("animate-showcase-reveal","absolute","left-0","top-0","w-full","rounded-lg","landing-md:rounded-xl","landing-lg:rounded-2xl","overflow-hidden")})))};function k(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const N=e=>l.createElement("svg",function(e){for(var t=1;t{const{lcStreakCount:t,totalLCProblem:r,totalLCEasy:a,totalLCMedium:o,totalLCHard:c,solvedProblem:i,easySolved:s,mediumSolved:m,hardSolved:d,loading:u}=(0,h.wx)();return l.createElement("div",null,l.createElement("div",{className:(0,n.c)("flex flex-row","gap-2")},l.createElement("a",{href:"https://leetcode.com/akashsingh3031",target:"_blank",rel:"noreferrer",className:(0,n.c)("text-sm","text-gray-500 dark:text-gray-400","rounded-[32px]","border-2 border-solid border-gray-300 dark:border-gray-700","flex gap-2 items-center justify-center","py-2 pl-2.5 pr-4","w-60","font-semibold","no-underline")},l.createElement("div",{className:(0,n.c)("flex flex-row items-center")},"Total Solved Problem:\xa0",u?l.createElement(v.c,{className:(0,n.c)("w-5 h-5"),wrapperProps:{className:(0,n.c)("mx-auto")}}):l.createElement("span",{className:(0,n.c)("tabular-nums text-gray-800 dark:text-gray-100")},i))),l.createElement("div",{className:(0,n.c)("text-sm","text-gray-500 dark:text-gray-400","rounded-[32px]","border-2 border-solid border-gray-300 dark:border-gray-700","flex gap-2 items-center justify-center","py-2 pl-2.5 pr-4","w-56","font-semibold","no-underline")},l.createElement(N,null),l.createElement("div",{className:(0,n.c)("flex flex-row items-center")},"Longest Streak:\xa0",u?l.createElement(v.c,{className:(0,n.c)("w-5 h-5"),wrapperProps:{className:(0,n.c)("mx-auto")}}):l.createElement("span",{className:(0,n.c)("tabular-nums text-orange-700 dark:text-orange-500")},t)))),u?l.createElement(v.c,{className:(0,n.c)("w-20 h-20"),wrapperProps:{className:(0,n.c)("flex justify-center items-center mt-4")}}):l.createElement("div",{className:"flex lg:flex-row sm:flex-col flex-col w-[calc(100%-8px)] mx-auto justify-between"},l.createElement("div",{className:"lg:w-[calc(100%)] sm:w-full sm:h-[240px] h-[450px]mt-[8px] rounded-lg relative"},l.createElement("div",{className:"flex sm:flex-row flex-col justify-between"},l.createElement("div",null,l.createElement("div",{className:"text-[22px] font-bold mt-[40px] dark:text-green-600 text-red-600 ml-[50px]"},"Solved Problems"),l.createElement("div",{className:"text-[60px] font-bold mt-[32px] dark:text-yellow-400 text-orange-600 ml-[50px]"},i," ",l.createElement("span",{className:"text-gray-500 text-[14px]"},"/ ",r))),l.createElement("div",{className:"flex flex-col relative mr-[50px] mt-[40px] w-[200px] sm:w-[280px] ml-[50px] sm:ml-0"},l.createElement("div",{className:"text-[14px] relative"},l.createElement("div",{className:"flex flex-row justify-between"},l.createElement("div",{className:"mb-[8px] text-green-500"},"Easy"),l.createElement("div",{className:"mb-[8px] text-green-500"},s," / ",a)),l.createElement("div",{className:"sm:w-[280px] w-[200px] h-[8px] bg-borders mb-[16px] relative after:absolute easy-line after:h-[8px] after:rounded rounded after:bg-green-500",style:{backgroundColor:"rgba(52, 211, 153, 0.2)"}})),l.createElement("div",{className:"text-[14px] relative"},l.createElement("div",{className:"flex flex-row justify-between"},l.createElement("div",{className:"mb-[8px] text-orange-500"},"Medium"),l.createElement("div",{className:"mb-[8px] text-orange-500"},m," / ",o)),l.createElement("div",{className:"sm:w-[280px] w-[200px] h-[8px] bg-borders mb-[16px] relative after:absolute medium-line after:h-[8px] after:rounded rounded after:bg-orange-500",style:{backgroundColor:"rgba(255, 159, 64, 0.2)"}})),l.createElement("div",{className:"text-[14px] relative"},l.createElement("div",{className:"flex flex-row justify-between"},l.createElement("div",{className:"mb-[8px] text-red-500"},"Hard"),l.createElement("div",{className:"mb-[8px] text-red-500"},d," / ",c)),l.createElement("div",{className:"sm:w-[280px] w-[200px] h-[8px] bg-borders mb-[16px] relative after:absolute hard-line after:h-[8px] after:rounded rounded after:bg-red-500",style:{backgroundColor:"rgba(239, 68, 68, 0.2)"}}),l.createElement("style",null,`.easy-line::after { width: ${s/a*100}%; }`,`.medium-line::after { width: ${m/o*100}%; }`,`.hard-line::after { width: ${d/c*100}%; }`)))))))}},{name:"Leecode Badges",showcase:({className:e})=>{const{leetcodeBadgeImg:t,leetcodeBadgeCount:r,loading:a}=(0,h.wx)(),[o,c]=(0,l.useState)([]),[i,s]=(0,l.useState)([]);(0,l.useEffect)((()=>{const e=t.map((()=>function(){const e=Math.floor(256*Math.random()),t=Math.floor(256*Math.random()),r=Math.floor(256*Math.random());return`rgb(${e},${t},${r})`}()));c(e);const r=e.map((e=>`${e.slice(0,-1)},0.1)`));s(r)}),[t]);const m=(e,t)=>l.createElement("div",{key:e},l.createElement("div",{className:(0,n.c)("text-xl","no-underline","rounded-lg m-2 p-1","border-b-4","dark:text-orange-400 text-green-600","dark:border-orange-400 border-green-600","font-semibold","flex flex-col","text-center")},e),l.createElement("div",{className:(0,n.c)("tabular-nums text-gray-800 dark:text-gray-100","flex flex-wrap mt-10","grid grid-cols-2 md:grid-cols-3 lg:grid-cols-5","gap-4 2xl:gap-8")},t.map(((e,t)=>l.createElement("div",{key:t,className:(0,n.c)("rounded-2xl landing-sm:rounded-3xl","flex flex-col items-center")},l.createElement(d.G,{className:(0,n.c)("h-[75px] w-[75px]","rounded-2xl landing-sm:rounded-3xl","p-1"),srcDark:e.icon,srcLight:e.icon,alt:e.displayName,style:{borderColor:o[t],backgroundColor:i[t]}}),t+1,l.createElement("div",{className:(0,n.c)("text-sm","no-underline","rounded-lg mt-2 p-1","transition ease-in-out delay-50 hover:-translate-y-1 hover:scale-110 duration-300","dark:text-gray-100 text-gray-800","font-semibold","flex flex-row","text-center"),style:{borderColor:o[t],backgroundColor:i[t]}},e.displayName),l.createElement("div",{className:(0,n.c)("text-sm","no-underline","rounded-lg p-1","dark:text-gray-400 text-gray-600","font-semibold","flex flex-row","text-center")},e.creationDate))))));return l.createElement("div",null,l.createElement("a",{href:"https://leetcode.com/akashsingh3031",target:"_blank",rel:"noreferrer",className:(0,n.c)("text-sm","text-gray-500 dark:text-gray-400","rounded-[32px]","border-2 border-solid border-gray-300 dark:border-gray-700","flex gap-2 items-center justify-center","py-2 pl-2.5 pr-4","w-40","font-semibold","no-underline")},l.createElement("div",{className:(0,n.c)("flex flex-row items-center")},"Total Badges:\xa0",a?l.createElement(v.c,{className:(0,n.c)("w-5 h-5"),wrapperProps:{className:(0,n.c)("mx-auto")}}):l.createElement("span",{className:(0,n.c)("tabular-nums text-gray-800 dark:text-gray-100")},r))),a?l.createElement(v.c,{className:(0,n.c)("w-20 h-20"),wrapperProps:{className:(0,n.c)("flex justify-center items-center mt-4")}}):l.createElement("div",null,m("Competition Medals",t.filter((e=>e.displayName.includes("Annual Badge")||e.displayName.includes("Days Badge")))),m("Daily Medals",t.filter((e=>e.displayName.includes("LeetCoding Challenge")))),m("Study Plan Medals",t.filter((e=>!e.displayName.includes("Annual Badge")&&!e.displayName.includes("LeetCoding Challenge")&&!e.displayName.includes("Days Badge"))))))}}],P=()=>{const[e,t]=l.useState(j[0]),r=l.useMemo((()=>e.showcase),[e.name]);return l.createElement("div",{className:(0,n.c)("flex flex-wrap","border dark:border-gray-700 border-gray-200","bg-gray-50 dark:bg-gray-900","w-full","rounded-2xl landing-sm:rounded-[32px]","gap-2 landing-sm:gap-4","p-2 landing-sm:p-4","relative","group/showcase","landing-lg:overflow-hidden")},l.createElement("div",{className:(0,n.c)("flex","w-auto","gap-2")},l.createElement("div",{className:(0,n.c)("rounded-xl","overflow-y-auto","flex","w-full","gap-2","scrollbar-hidden","snap snap-x snap-mandatory","snap-mandatory")},l.createElement("div",{className:(0,n.c)("rounded-xl","border-b-2 border-gray-500","flex","w-auto","landing-lg:w-auto","items-center","justify-start","gap-2","relative")},l.createElement("div",{className:(0,n.c)("hidden landing-sm:block","flex-1","rounded-xl","h-full","bg-gray-200 dark:bg-gray-700","absolute","left-0","top-0","transition-transform","duration-150","ease-out"),style:{width:`calc((100% - (${j.length-1} * 8px)) / ${j.length})`,minWidth:"200px",transform:`translateX(calc((100% + 8px) * ${j.findIndex((t=>t.name===e.name))})) translateZ(0px)`}}),j.map(((r,a)=>l.createElement("button",{key:r.name,type:"button",onClick:e=>{var n,l,o;t(r),null===(l=null===(o=e.currentTarget.parentElement)||void 0===o?void 0:o.parentElement)||void 0===l||null===(n=l.scrollTo)||void 0===n||n.call(l,{left:a>=2?252*a:0,behavior:"smooth"})},className:(0,n.c)("z-[1]","snap-start","appearance-none","focus:outline-none","flex-1","break-keep","whitespace-nowrap","landing-sm:min-w-[200px]","py-2","landing-sm:py-3.5","px-4","rounded-xl","transition-colors","ease-in-out","duration-150",e.name!==r.name&&"bg-transparent",e.name===r.name&&"bg-gray-200 dark:bg-gray-700",e.name===r.name&&"border-b-4 border-green-500 dark:border-orange-700",e.name!==r.name&&"hover:text-gray-900 dark:hover:text-gray-200",e.name===r.name&&"text-green-700 dark:text-orange-400",e.name!==r.name&&"text-gray-600 dark:text-gray-400",e.name===r.name&&"text-gray-900 dark:text-gray-0",e.name!==r.name&&"border-b-2 border-transparent hover:bg-gray-200 dark:hover:bg-gray-700","landing-sm:bg-transparent","dark:landing-sm:bg-transparent","transition-colors","duration-150","ease-out","text-xs","landing-sm:text-sm")},r.name)))))),l.createElement("div",{className:(0,n.c)("rounded-lg","landing-md:rounded-xl","landing-lg:rounded-2xl","overflow-hidden","shadow-sm shadow-gray-200 dark:shadow-none","relative","group/showcase-inner","w-full")},l.createElement(r,{className:(0,n.c)("animate-showcase-reveal","absolute","left-0","top-0","w-full","rounded-lg","landing-md:rounded-xl","landing-lg:rounded-2xl","overflow-hidden")})))},S=[{name:"LeetCode Stats",showcase:({className:e})=>l.createElement(P,null)},{name:"GitHub Followers",showcase:({className:e})=>l.createElement("div",{className:"text-xs md:text-base"},l.createElement("h2",{className:(0,n.c)("text-base landing-sm:text-2xl","dark:text-gray-300 text-gray-900","font-semibold","flex items-center")},l.createElement(w,null)),l.createElement("div",{className:(0,n.c)("my-4","border-b border-gray-200 dark:border-gray-700")}),l.createElement(E,null))},{name:"My Journey",showcase:({className:e})=>l.createElement(C,null)}],M=({className:e})=>{const[t,r]=l.useState(S[0]),a=l.useMemo((()=>t.showcase),[t.name]);return l.createElement("div",{className:(0,n.c)("flex flex-col justify-center landing-md:flex-row gap-2 landing-lg:max-w-[1200px] w-full mx-auto")},l.createElement("div",{className:(0,n.c)("landing-lg:w-[435px]","landing-lg:h-[500px] landing-md:h-[545px]","flex flex-wrap","p-5","mt-6 lg:mt-10","dark:bg-enterprise-data-source-dark dark:bg-gray-900 bg-gray-0","bg-blend-overlay","bg-no-repeat","rounded-2xl landing-sm:rounded-3xl","border dark:border-gray-700 border-gray-200")},l.createElement("div",{className:(0,n.c)("flex flex-col gap-4")},l.createElement("div",{className:(0,n.c)("landing-lg:min-w-[400px]","flex flex-\u1e5bow gap-5","dark:bg-enterprise-data-source-dark dark:bg-gray-900 bg-gray-0","bg-blend-overlay","bg-no-repeat","rounded-2xl landing-sm:rounded-3xl","dark:bg-gray-900","rounded-xl p-4")},l.createElement("a",{target:"_blank",href:"https://github.com/AkashSingh3031",rel:"noreferrer"},l.createElement(d.G,{className:(0,n.c)("h-[100px] w-[100px]","rounded-2xl landing-sm:rounded-3xl"),srcDark:"https://github.com/AkashSingh3031.png",srcLight:"https://github.com/AkashSingh3031.png",alt:"Akash Singh"})),l.createElement("div",{className:"text-xs md:text-base"},l.createElement("h2",{className:(0,n.c)("text-base landing-sm:text-2xl","dark:text-gray-300 text-gray-900","font-semibold")},"Akash Singh\xa0",l.createElement(g,{className:"inline"})),l.createElement("p",{className:(0,n.c)("text-base","dark:text-gray-400 text-gray-600")},"akashsingh3031"))),l.createElement("div",{className:(0,n.c)("flex flex-col")},l.createElement("p",{className:(0,n.c)("text-base","dark:text-gray-400 text-gray-600")},"\ud83d\udc68\u200d\ud83d\udcbb Software Developer Engineer\ud83d\udd38||\ud83d\udd38TA at Coding Ninjas\ud83d\udd38||\ud83d\udd386086 Rating Points (Grand Master) on Code360 by Coding Ninjas Studio"),l.createElement(b.m,{to:"https://github.com/AkashSingh3031",className:(0,n.c)("mt-4","mb-4")},"Follow Me"),l.createElement("a",{target:"_blank",href:"https://github.com/AkashSingh3031",className:(0,n.c)("flex h-max flex-row justify-start gap-3","dark:bg-gray-900","p-2","no-underline hover:no-underline"),rel:"noreferrer"},l.createElement("div",null,l.createElement(p.A,{className:"text-2xl text-gray-900 dark:text-gray-0",width:"20px",height:"20px"})),l.createElement("div",{className:"text-xs md:text-base"},l.createElement("div",{className:"mb-0 text-gray-500 dark:text-gray-400"},"AkashSingh3031"))),l.createElement("a",{target:"_blank",href:"https://www.linkedin.com/in/akashsingh3031/",rel:"noreferrer",className:(0,n.c)("flex h-max flex-row justify-start gap-3","dark:bg-gray-900","p-2","no-underline hover:no-underline")},l.createElement("div",null,l.createElement(f.Ed,{className:"text-2xl",width:"20px",height:"20px"})),l.createElement("div",{className:"text-xs md:text-base"},l.createElement("div",{className:"mb-0 text-gray-500 dark:text-gray-400"},"akashsingh3031"))),l.createElement("a",{target:"_blank",href:"https://www.instagram.com/akash.singh3031",rel:"noreferrer",className:(0,n.c)("flex h-max flex-row justify-start gap-3","dark:bg-gray-900","p-2","no-underline hover:no-underline")},l.createElement("div",null,l.createElement(f.Yf,{className:"text-2xl",width:"20px",height:"20px"})),l.createElement("div",{className:"text-xs md:text-base"},l.createElement("div",{className:"mb-0 text-gray-500 dark:text-gray-400"},"akash.singh3031"))),l.createElement("a",{target:"_blank",href:"https://x.com/akashsingh3031",rel:"noreferrer",className:(0,n.c)("flex h-max flex-row justify-start gap-3","dark:bg-gray-900","p-2","no-underline hover:no-underline")},l.createElement("div",null,l.createElement(f.AH,{className:"text-2xl",width:"20px",height:"20px"})),l.createElement("div",{className:"text-xs md:text-base"},l.createElement("div",{className:"mb-0 text-gray-500 dark:text-gray-400"},"akashsingh3031")))))),l.createElement("div",{className:(0,n.c)("flex flex-col landing-md:flex-col gap-1 landing-lg:max-w-[800px] w-full mx-auto")},l.createElement("div",{className:(0,n.c)("landing-lg:min-w-[735px]","flex flex-wrap","mt-6 lg:mt-10","border dark:border-gray-700 border-gray-200","bg-gray-50 dark:bg-gray-800","w-full","rounded-2xl landing-sm:rounded-[32px]","gap-2 landing-sm:gap-4","p-2 landing-sm:p-4","relative","group/showcase","landing-lg:overflow-hidden")},l.createElement("div",{className:(0,n.c)("flex","w-full","gap-2")},l.createElement("div",{className:(0,n.c)("rounded-3xl","overflow-y-auto","flex","w-full","gap-2","scrollbar-hidden","snap snap-x snap-mandatory","snap-mandatory")},l.createElement("div",{className:(0,n.c)("rounded-3xl","flex","w-auto","landing-lg:w-full","items-center","justify-start","gap-2","relative","bg-gray-0 dark:bg-gray-900")},l.createElement("div",{className:(0,n.c)("hidden landing-sm:block","flex-1","rounded-3xl","h-full","bg-gray-200 dark:bg-gray-700","absolute","left-0","top-0","transition-transform","duration-150","ease-out"),style:{width:`calc((100% - (${S.length-1} * 8px)) / ${S.length})`,minWidth:"244px",transform:`translateX(calc((100% + 8px) * ${S.findIndex((e=>e.name===t.name))})) translateZ(0px)`}}),S.map(((e,a)=>l.createElement("button",{key:e.name,type:"button",onClick:t=>{var n,l,o;r(e),null===(l=null===(o=t.currentTarget.parentElement)||void 0===o?void 0:o.parentElement)||void 0===l||null===(n=l.scrollTo)||void 0===n||n.call(l,{left:a>=2?252*a:0,behavior:"smooth"})},className:(0,n.c)("z-[1]","snap-start","appearance-none","focus:outline-none","border-none","flex-1","break-keep","whitespace-nowrap","landing-sm:min-w-[244px]","py-2","landing-sm:py-3.5","px-4","rounded-3xl","transition-colors","ease-in-out","duration-150",t.name!==e.name&&"bg-transparent",t.name===e.name&&"bg-gray-200 dark:bg-gray-700",t.name!==e.name&&"text-gray-600 dark:text-gray-400",t.name===e.name&&"text-gray-900 dark:text-gray-0","landing-sm:bg-transparent","dark:landing-sm:bg-transparent","transition-colors","duration-150","ease-out","text-xs","landing-sm:text-sm")},e.name)))))),l.createElement("div",{className:(0,n.c)("rounded-lg","landing-md:rounded-xl","landing-lg:rounded-2xl","overflow-hidden","shadow-sm shadow-gray-200 dark:shadow-none","relative","group/showcase-inner","w-full")},l.createElement(a,{className:(0,n.c)("animate-showcase-reveal","absolute","left-0","top-0","w-full","rounded-lg","landing-md:rounded-xl","landing-lg:rounded-2xl","overflow-hidden")})))))};var L=r(6280);const A=()=>{const{colorMode:e}=(0,m.U)();return l.createElement(l.Fragment,null,l.createElement(a.c,{title:"About | AkashSingh3031"},l.createElement("html",{"data-page":"about","data-customized":"true"})),l.createElement(s.C,{description:"Explore AkashSingh3031's future goals and aspirations. Learn about his plans for web development and Machine Learning. Click to see his vision."},l.createElement("div",{className:(0,n.c)()},l.createElement(i.m,null),l.createElement("div",{className:(0,n.c)("flex flex-col","gap-12 landing-sm:gap-20 landing-md:gap-28 landing-lg:gap-40","pb-12 landing-sm:pb-16 landing-md:pb-20 landing-lg:pb-40","mx-auto")},l.createElement(M,{className:(0,n.c)("h-auto landing-md:h-[432px]","mt-4 landing-sm:mt-8 landing-lg:mt-8","px-4 landing-sm:px-0","landing-lg:pr-12")})),l.createElement(c.A,null))))};function D(){const e=l.useRef(null),[t,r]=l.useState(!0);return l.useEffect((()=>{r(!0);const t=new o.w(e.current,{intensity:38,explosion:8});t.start();const a=setTimeout((()=>{r(!1),setTimeout((()=>{t.pause(),t.clear(),t.stop()}),500)}),8e3);return()=>{r(!1),setTimeout((()=>{t.pause(),t.clear(),t.stop()}),500),clearTimeout(a)}}),[]),l.createElement(s.C,null,l.createElement(A,null),l.createElement("div",{ref:e,style:{top:0,left:0,width:"100%",height:"100%",position:"fixed",zIndex:99999,pointerEvents:"none",opacity:t?1:0,transition:"opacity 500ms ease-in-out"}}),l.createElement(L.c,null))}},3951:(e,t,r)=>{r.d(t,{A:()=>c});var a=r(4971),n=r(1504),l=r(7708),o=r(204);const c=()=>n.createElement("footer",{className:(0,a.c)("py-4","px-4","dark:bg-gray-800 bg-gray-0","border-t dark:border-t-gray-700 border-t-gray-300")},n.createElement("div",{className:(0,a.c)("mx-auto","flex w-full items-center justify-between","flex-col-reverse sm:flex-row gap-8")},n.createElement("div",{className:(0,a.c)("text-sm","leading-6","dark:text-gray-400 text-gray-500")},"Copyright \xa9 ",(new Date).getFullYear()," PrepVerse"," ",n.createElement(o.Q,{className:"text-refine-red ml-2 inline leading-6"})," ",n.createElement("br",null),"Built with Docusaurus & Refine."),n.createElement("div",{className:(0,a.c)("flex flex-col sm:flex-row justify-center items-center")},n.createElement("div",{className:(0,a.c)("dark:text-gray-100 text-gray-800","text-sm leading-6","sm:mr-4")},"Connect with me on"),n.createElement("div",{className:(0,a.c)("flex gap-4","dark:text-gray-400 text-gray-500","mt-4 sm:mt-0")},l.AR.map((({href:e,icon:t},r)=>n.createElement("a",{key:r,href:e,target:"_blank",rel:"noreferrer",className:(0,a.c)("flex items-center no-underline")},n.createElement(t,{className:(0,a.c)("w-9 h-9 sm:w-8 sm:h-8")}))))))))},6968:(e,t,r)=>{r.d(t,{m:()=>U});var a=r(9184),n=r(4971),l=r(3200),o=r(344),c=r(6076),i=r(1504),s=r(1980),m=r(8804),d=r(6098);const u=[{isPopover:!0,label:"Docs",items:[{label:"Foundation Docs",description:"Learn C++, Python & Java",link:"https://prepverse.vercel.app/docs",icon:d.C3},{label:"DSA Docs",description:"Learning DSA in C++, Python & Java",link:"https://prepverse.vercel.app/docs/1.DS.Algo",icon:d.uI}]},{isPopover:!0,label:"CodePoint",items:[{label:"Expert Sheet Solutions",description:"Most popular coding questions solutions asked during SDE interviews.",link:"https://prepverse.github.io/CodePoint/preface",icon:d.C3},{label:"Coding Ninjas Series",description:"Coding Ninjas Studio Guided Path Solutions",link:"https://prepverse.github.io/CodePoint/learning_resources/CN_Series/preface",icon:d.oh},{label:"LeetVerse",description:"Leetcode problem solutions with full probelm statements in C++, Python & Java",link:"https://prepverse.github.io/LeetVerse",icon:d.Ew}]},{isPopover:!0,label:"About",items:[{label:"About Me",description:"My information.",link:"https://prepverse.vercel.app/AkashSingh3031",icon:d.kv},{label:"Project Showcase",description:"PrepVerse open-source projects",link:"https://prepverse.vercel.app/showcase",icon:d.w9},{label:"My Portfolio",description:"All info about me",link:"https://prepverse.github.io/portfolio",icon:d.BE}]},{isPopover:!1,label:"Blog",href:"https://prepverse.vercel.app/blog",icon:d.s1},{isPopover:!1,label:"PrepVerse Community",href:"https://prepverse.vercel.app/prepverse-community",icon:d.vn}],g=({item:e,variant:t="landing"})=>{const r=e.icon;return i.createElement(a.c,{to:e.link,className:"no-underline"},i.createElement("div",{className:(0,n.c)("flex items-center","p-4","transition duration-150 ease-in-out","rounded-lg","hover:bg-gray-100","landing"===t&&"dark:hover:bg-gray-800","blog"===t&&"dark:hover:bg-refine-react-8")},i.createElement("div",{className:"shrink-0"},i.createElement(r,null)),i.createElement("div",{className:"ml-2"},i.createElement("div",{className:(0,n.c)("landing"===t&&"text-gray-900 dark:text-white","blog"===t&&"text-refine-react-8 dark:text-refine-react-3","font-semibold")},e.label),i.createElement("div",{className:(0,n.c)("landing"===t&&"text-gray-500 dark:text-gray-400","blog"===t&&"text-refine-react-5 dark:text-refine-react-4","text-xs")},e.description))))},p=({item:e})=>{const[t,r]=(0,i.useState)(null);(0,i.useEffect)((()=>(r(localStorage.getItem("theme")||null),window.addEventListener("storage",l,!1),()=>{window.removeEventListener("storage",l,!1)})),[]);const l=()=>{r(localStorage.getItem("theme")||null)};let o=e.icon;return"Cloud"===e.label&&(o="light"===t?d.oz:e.icon),i.createElement(a.c,{key:e.label,to:e.href,className:(0,n.c)("inline-flex items-center gap-2","text-sm leading-6 font-normal text-gray-900 dark:text-gray-300","transition-colors duration-150 ease-in-out","no-underline","Hackathon"===e.label?["py-1","px-2","rounded-lg","bg-hackathon-button-bg","animate-hackathon-button-bg","bg-refine-bg","text-gray-0","bg-[length:200%_100%]","text-[14px]","hover:text-gray-0"]:["hover:text-gray-900 dark:hover:text-white"])},e.icon&&i.createElement(o,null),e.label)};var f=r(640),b=r(5224),h=r(2424),y=r(4577);const x=({item:e,variant:t="landing",children:r})=>{const[a,l]=(0,i.useState)(!1),o=i.useRef(null),c=i.useRef(null),s=(0,f.IT)();return i.useEffect((()=>{l(!1)}),[s]),i.createElement(b._,{id:`popover-${e.label}`,key:e.label,className:(0,n.c)("relative","inline-flex items-center"),onMouseEnter:()=>{c.current=setTimeout((()=>l(!0)),210),clearTimeout(o.current)},onMouseLeave:()=>{o.current=setTimeout((()=>l(!1)),210),clearTimeout(c.current)}},(()=>i.createElement(i.Fragment,null,i.createElement(b._.Button,{className:(0,n.c)("inline-flex items-center","text-sm leading-6","font-normal")},i.createElement("span",{className:(0,n.c)("landing"===t&&"text-gray-900 dark:text-gray-300","blog"===t&&"text-refine-react-8 dark:text-refine-react-3","transition-colors duration-150 ease-in-out inline-block")},e.label),i.createElement(y.w,{"aria-hidden":"true",className:(0,n.c)("transition duration-150 ease-out","-mr-2","landing"===t&&"text-gray-500 dark:text-gray-400","blog"===t&&"text-refine-react-4",a?"translate-y-0.5":"")})),i.createElement(h.O,{as:i.Fragment,enter:"transition ease-in duration-150",enterFrom:"opacity-0 translate-y-3",enterTo:"opacity-100 translate-y-0",leave:"transition ease-out duration-150",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 translate-y-3",show:a},i.createElement(b._.Panel,{className:(0,n.c)("absolute","z-50","top-12",{"-left-32 center-point":"Docs"===e.label||"About"===e.label,"left-point":"CodePoint"===e.label})},i.createElement(d.WR,{id:e.label,variant:t,className:(0,n.c)("absolute","top-[-9px]",{"left-1/2":"CodePoint"!==e.label,"left-12":"CodePoint"===e.label}),style:{transform:"translateX(-50%)"}}),i.createElement("div",{className:(0,n.c)("overflow-hidden","rounded-xl","landing"===t&&"border dark:border-gray-700 border-gray-200","landing"===t&&"dark:shadow-menu-dark shadow-menu-light","blog"===t&&"border border-refine-react-3 dark:border-refine-react-6","blog"===t&&"dark:shadow-menu-blog-dark shadow-menu-blog-light")},r))))))},v=({variant:e="landing"})=>i.createElement(i.Fragment,null,u.map((t=>t.isPopover?i.createElement(x,{key:`navbar-${t.label}`,item:t,variant:e},"CodePoint"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,n.c)("grid grid-cols-2 gap-4","p-4","w-[672px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(g,{key:t.label,item:t,variant:e})))),i.createElement(a.c,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,n.c)("border-t","blog"===e&&"border-refine-react-3 dark:border-refine-react-6","landing"===e&&"border-gray-300 dark:border-gray-700","landing"===e&&"bg-gray-100 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-7","flex items-center","py-4 px-7")},i.createElement(d._2,null),i.createElement("div",{className:(0,n.c)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))),"About"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,n.c)("grid gap-4","p-4","w-[336px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(g,{key:t.label,item:t,variant:e})))),i.createElement("div",{className:(0,n.c)("border-t","blog"===e&&"border-refine-react-3 dark:border-refine-react-6","landing"===e&&"border-gray-300 dark:border-gray-700","landing"===e&&"bg-gray-100 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-7","flex justify-between items-center","py-4 px-7")},i.createElement("div",{className:(0,n.c)("landing"===e&&"text-gray-600 dark:text-gray-400 ","blog"===e&&"text-refine-react-5 dark:text-refine-react-4")},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(a.c,{to:"https://github.com/AkashSingh3031",className:(0,n.c)("no-underline","hover:text-inherit")},i.createElement(d.A9,{className:"dark:text-gray-400 text-gray-500"})),i.createElement(a.c,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(d.Ed,null)),i.createElement(a.c,{to:"https://instagram.com/akash.singh3031"},i.createElement(d.Yf,null)),i.createElement(a.c,{to:"https://x.com/akashsingh3031"},i.createElement(d.CC,null))))),"Docs"===t.label&&i.createElement("div",{className:(0,n.c)("grid gap-4","p-4","w-[336px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(g,{key:t.label,item:t,variant:e}))))):i.createElement(p,{key:`navbar-${t.label}`,item:t,variant:e}))));var w=r(2276),E=r(7008),O=r(9072),C=r(2268);function k(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const N=e=>i.createElement("svg",function(e){for(var t=1;ti.createElement("svg",function(e){for(var t=1;t{const[c,s]=(0,i.useState)(null),m=null!=r?r:a.c,u=void 0!==l&&void 0===t;return(0,i.useEffect)((()=>{const e=document.querySelector("html").getAttribute("data-theme");s(e)}),[]),i.createElement(m,function(e){for(var t=1;t{const r=(0,f.IT)();return i.useEffect((()=>{t(!1)}),[r]),i.createElement(Z,{isModalOpen:e,setIsModalOpen:t},i.createElement(B,{className:(0,n.c)("hidden landing-sm:block","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}),i.createElement(H,{className:(0,n.c)("block landing-sm:hidden","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}))},Z=({isModalOpen:e,setIsModalOpen:t,children:r})=>i.createElement(h.O,{appear:!0,show:e,as:i.Fragment},i.createElement(w.C,{as:"div",className:"relative z-10",onClose:()=>t(!1)},i.createElement(h.O.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},i.createElement("div",{className:(0,n.c)("fixed inset-0","bg-gray-0 dark:bg-gray-900","flex","flex-col")},i.createElement(L.Q,null),i.createElement("div",{className:(0,n.c)("flex items-center justify-between","p-4","landing-sm:px-8")},i.createElement(m.m,{className:"dark:text-gray-0 text-gray-900"}),i.createElement("button",{type:"button",className:(0,n.c)("rounded-lg","hover:brightness-105","active:scale-90","transition-transform duration-75 ease-in-out")},i.createElement(C.O,{className:"text-gray-900 dark:text-white",onClick:()=>t(!1)}))),i.createElement(h.O.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-75",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95"},i.createElement("div",{className:(0,n.c)("flex-1","overflow-y-auto","px-4","pb-4")},r)))))),B=e=>i.createElement("div",{className:(0,n.c)(e.className)},u.map(((e,t)=>{const r="icon"in e&&e.icon;return i.createElement("div",{key:t,className:(0,n.c)("not-prose","p-4","border-t dark:border-gray-700 border-gray-200")},i.createElement(a.c,{to:"href"in e?e.href:void 0,className:(0,n.c)("appearance-none","block","no-underline","dark:text-gray-0 text-gray-900","font-bold")},i.createElement("div",{className:(0,n.c)("flex items-center gap-2")},i.createElement("div",null,e.label),r&&i.createElement(r,null))),"items"in e&&i.createElement("div",{className:(0,n.c)("mt-2","grid grid-cols-2 min-[800px]:grid-cols-3","gap-x-8 gap-y-4")},e.items.map((e=>i.createElement(g,{key:e.label,item:e})))))})),i.createElement(_,null),i.createElement(F,{id:"tablet"}),i.createElement(R,{id:"tablet"})),H=e=>i.createElement("div",{className:(0,n.c)(e.className)},i.createElement("div",{className:"flex-grow"},u.map((e=>e.isPopover?i.createElement(E.C,{key:`modal-${e.label}`},(({open:t})=>i.createElement(i.Fragment,null,i.createElement(M,{component:E.C.Button,label:e.label,open:t}),i.createElement(E.C.Panel,{className:(0,n.c)(t&&"pb-4",t&&"border-b border-gray-200 dark:border-gray-700")},e.items.map((e=>i.createElement(g,{key:e.label,item:e}))))))):i.createElement(M,{key:`modal-${e.label}`,label:e.label,href:e.href,icon:e.icon})))),i.createElement(_,null),i.createElement(F,{id:"phone"}),i.createElement(R,{id:"phone"})),R=e=>{var t;return i.createElement(a.c,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,n.c)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex items-center","p-4")},i.createElement(d._2,{id:(null===(t=e)||void 0===t?void 0:t.id)||""}),i.createElement("div",{className:(0,n.c)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))},F=e=>{var t;return i.createElement("div",{className:(0,n.c)("bg-white dark:bg-gray-700 header-sm:bg-inherit","flex justify-between items-center","header-sm:flex-col header-sm:gap-4","header-sm:border-b border-gray-200 dark:border-gray-600","py-3 px-4")},i.createElement("p",{className:"text-gray-500 dark:text-gray-300 font-semibold"},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(a.c,{to:"https://github.com/AkashSingh3031"},i.createElement(d.A9,{className:"h-10 w-10"})),i.createElement(a.c,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(d.Ed,{className:"h-10 w-10"})),i.createElement(a.c,{to:"https://instagram.com/akash.singh3031"},i.createElement(d.Yf,{className:"h-10 w-10",id:(null===(t=e)||void 0===t?void 0:t.id)||""})),i.createElement(a.c,{to:"https://x.com/akashsingh3031"},i.createElement(d.CC,{className:"h-10 w-10"}))))},_=()=>{const{colorMode:e,setColorMode:t}=(0,O.U)(),r=()=>{t("dark"===e?"light":"dark")},a="dark"===e,l="light"===e;return i.createElement("div",{className:(0,n.c)("not-prose","p-4","flex items-center")},i.createElement("div",{className:(0,n.c)("text-sm","mr-10","dark:text-gray-400 text-gray-600")},"Apperance"),i.createElement("button",{onClick:r,className:(0,n.c)("mr-4","rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200","text-gray-500",l&&"bg-gray-50")},i.createElement(D.G,null),"Light"),i.createElement("button",{onClick:r,className:(0,n.c)("rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200",a?"text-gray-400":"text-gray-500",a&&"bg-gray-700")},i.createElement(A.g,null),"Dark"))};var T=r(9253),G=r(2700),$=r(5792),I=r(6936);const z=()=>{const{loading:e,githubStarCountText:t}=(0,G.wx)();return i.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank",rel:"noreferrer",className:(0,n.c)("flex gap-2 items-center","font-normal","text-sm leading-6","text-gray-500 dark:text-gray-400","hover:text-gray-400 dark:hover:text-gray-300","hover:no-underline","transition-colors","duration-200","ease-in-out")},i.createElement($.A,{className:(0,n.c)("w-5 h-5")}),i.createElement("div",{className:(0,n.c)("flex items-center","w-10 h-6")},e?i.createElement(I.c,{className:(0,n.c)("w-5 h-5"),wrapperProps:{className:(0,n.c)("mx-auto")}}):i.createElement("span",null,t)))},U=({trackProgress:e,variant:t="landing",className:r})=>{const[d,u]=(0,i.useState)(!1),{scrollYProgress:g}=(0,l.Q)(),p=(0,o.s)(g,[.03,.95],["0%","100%"]);return i.createElement(i.Fragment,null,i.createElement(L.Q,null),i.createElement("header",{className:(0,n.c)("sticky","top-0","z-10")},i.createElement("div",{className:(0,n.c)("absolute","top-0 left-0 right-0","backdrop-blur-[6px]","landing-md:backdrop-blur-[12px]","z-[-1]","bg-gray-0 dark:bg-gray-800","bg-opacity-80 dark:bg-opacity-80","pointer-events-none",r),style:{top:"-20px",bottom:"-80px",WebkitMaskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))",maskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))"}}),i.createElement("div",{className:(0,n.c)("relative","z-[1]","p-4","landing-sm:px-8","landing-md:py-5")},i.createElement("div",{className:(0,n.c)("mx-auto","flex","items-center","justify-between","max-w-[896px]","landing-lg:max-w-[1200px]")},i.createElement("div",{className:(0,n.c)("w-[130px]","landing-lg:w-[200px]")},i.createElement(a.c,{to:"https://prepverse.vercel.app"},i.createElement(m.m,{className:"text-gray-900 dark:text-gray-0"}))),i.createElement("button",{type:"button",className:(0,n.c)("text-gray-900 dark:text-gray-0","block landing-md:hidden"),onClick:()=>u(!0)},i.createElement(s.m,null)),i.createElement("div",{className:(0,n.c)("hidden landing-md:flex","flex-1","items-center","gap-8")},i.createElement(v,{variant:t})),i.createElement("div",{className:(0,n.c)("hidden landing-md:flex","items-center","justify-end","gap-4","w-[130px]","landing-lg:w-[200px]")},i.createElement(z,null),i.createElement(T.C,null)),i.createElement(V,{isModalOpen:d,setIsModalOpen:u}))),e&&i.createElement("div",{className:(0,n.c)("w-full","h-[1.5px]","translate","bg-refine-react-3 dark:bg-refine-react-7")},i.createElement(c.q.div,{className:(0,n.c)("h-full","bg-refine-react-light-link dark:bg-refine-react-dark-link"),style:{width:p}}))))}},9253:(e,t,r)=>{r.d(t,{C:()=>i,O:()=>m});var a=r(1504),n=r(4971),l=r(9072),o=r(3756),c=r(5372);const i=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,l.U)();return a.createElement("button",{type:"button",className:(0,n.c)("appearance-none","focus:outline-none","relative","w-10 h-10","rounded-full","border","border-solid","border-gray-300 dark:border-gray-700","text-gray-500","transition-colors","duration-150","ease-in-out","overflow-hidden","flex-shrink-0","group",e),onClick:()=>{r("dark"===t?"light":"dark")}},a.createElement("div",{className:(0,n.c)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","translate-y-0","dark:-translate-y-10","duration-200","ease-in-out","transition-transform")},a.createElement(o.G,null)),a.createElement("div",{className:(0,n.c)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","-translate-y-10","dark:translate-y-0","duration-200","ease-in-out","transition-transform")},a.createElement(c.g,null)))},s=[{name:"light",icon:o.G,label:"Light"},{name:"dark",icon:c.g,label:"Dark"}],m=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,l.U)();return a.createElement("div",{className:(0,n.c)("flex","items-center","gap-4","justify-start",e)},s.map((({name:e,label:l,icon:o})=>a.createElement("button",{type:"button",key:e,className:(0,n.c)("appearance-none","focus:outline-none","py-1","pl-1.5","pr-3","flex","items-center","justify-center","gap-1","rounded-[40px]","text-gray-400","border border-solid","border-gray-200","dark:border-gray-600",t===e&&"bg-gray-100 dark:bg-gray-700"),onClick:()=>{r(e)}},a.createElement(o,{className:(0,n.c)("w-4 h-4")}),a.createElement("span",{className:(0,n.c)("text-sm")},l)))))}},5048:(e,t,r)=>{r.d(t,{G:()=>s});var a=r(1504),n=r(9072),l=r(8164);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function i(e,t){if(null==e)return{};var r,a,n=function(e,t){if(null==e)return{};var r,a,n={},l=Object.keys(e);for(a=0;a=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}const s=e=>{var{srcDark:t,srcLight:r,srcSetDark:s,srcSetLight:m}=e,d=i(e,["srcDark","srcLight","srcSetDark","srcSetLight"]);const{colorMode:u}=(0,n.U)(),g="dark"===u?t:r,p="dark"===u?s:m;return a.createElement(l.c,null,(()=>a.createElement("img",c(function(e){for(var t=1;t{r.d(t,{o0:()=>p,yw:()=>u,wd:()=>g,AR:()=>f});var a=r(1504);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}function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var m=r(6098),d=r(4252);const u=[{label:"Resources",items:[{label:"Getting Started",href:"https://prepverse.vercel.app/docs"},{label:"Blog",href:"https://prepverse.vercel.app/blog"},{label:"Project Showcase",icon:a.createElement(m.KU,null),href:"https://prepverse.vercel.app/showcase"},{label:"Community",icon:a.createElement(m.KU,null),href:"https://prepverse.vercel.app/prepverse-community"}]},{label:"Product",items:[{label:"CodePoint",icon:a.createElement(d.i,null),href:"https://prepverse.github.io/CodePoint"},{label:"LeetVerse",icon:a.createElement(d.i,null),href:"https://prepverse.github.io/LeetVerse"}]},{label:"About",items:[{label:"About Me",href:"https://prepverse.vercel.app/AkashSingh3031"},{label:"Portfolio",icon:a.createElement(d.i,null),href:"https://prepverse.github.io/portfolio"}]}],g=[{label:"License",href:"https://github.com/PrepVerse/prepverse.github.io/blob/master/LICENSE"}],p="Thank you for visiting, Connect with me over socials.",f=[{icon:e=>a.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;t{r.d(t,{w:()=>l});var a=r(1504);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}const l=e=>a.createElement("svg",function(e){for(var t=1;t{r.d(t,{g:()=>l});var a=r(1504);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}const l=e=>a.createElement("svg",function(e){for(var t=1;t{r.d(t,{i:()=>l});var a=r(1504);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}const l=e=>a.createElement("svg",function(e){for(var t=1;t{r.d(t,{A:()=>o,i:()=>c});var a=r(1504);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}function l(e){for(var t=1;ta.createElement("svg",l({width:12,height:12,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.053 0A10.904 10.904 0 0 0 3.89 2.685 11.34 11.34 0 0 0 .142 9.472a11.48 11.48 0 0 0 1.456 7.65 11.087 11.087 0 0 0 5.964 4.86c.556.103.752-.25.752-.547v-1.918C5.23 20.202 4.58 18 4.58 18a3.012 3.012 0 0 0-1.227-1.655c-.997-.692.081-.692.081-.692.35.05.683.18.975.382.293.202.536.469.713.78.15.278.352.523.595.721a2.312 2.312 0 0 0 2.618.221c.042-.57.283-1.105.678-1.509-2.454-.284-5.03-1.253-5.03-5.539a4.415 4.415 0 0 1 1.132-3.025A4.194 4.194 0 0 1 5.224 4.7s.928-.305 3.036 1.156c1.81-.508 3.72-.508 5.531 0 2.108-1.46 3.03-1.156 3.03-1.156.406.936.455 1.993.135 2.963a4.415 4.415 0 0 1 1.132 3.026c0 4.334-2.582 5.282-5.043 5.538.264.271.468.597.598.955.13.358.182.741.155 1.122V21.4c0 .367.196.65.759.54a11.093 11.093 0 0 0 5.88-4.878 11.481 11.481 0 0 0 1.419-7.6 11.34 11.34 0 0 0-3.71-6.746A10.907 10.907 0 0 0 11.053 0Z",fill:"currentColor"})),c=e=>a.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},e),a.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.066.001a11.91 11.91 0 0 1 7.745 2.966 12.326 12.326 0 0 1 4.032 7.33 12.46 12.46 0 0 1-1.54 8.245 12.088 12.088 0 0 1-6.406 5.314l-.105.037-.11.021c-.508.1-1.232.093-1.83-.422-.577-.498-.681-1.166-.681-1.565v-3.008l.004-.053a1.102 1.102 0 0 0-.062-.453 1.058 1.058 0 0 0-.235-.377l-.839-.86-.863.882a.802.802 0 0 0-.224.502l-.015.217v3.183c0 .434-.14 1.029-.628 1.492-.541.514-1.246.62-1.864.505l-.108-.02-.104-.035a12.082 12.082 0 0 1-6.498-5.296 12.457 12.457 0 0 1-1.58-8.298c.45-2.86 1.891-5.471 4.073-7.375A11.909 11.909 0 0 1 12.05.001h.016Zm-10.43 10.54a10.957 10.957 0 0 0 1.39 7.303 10.58 10.58 0 0 0 5.693 4.638c.53.099.717-.238.717-.522v-1.83c-.588.13-1.083.15-1.5.1a2.95 2.95 0 0 1-.542-.117 2.551 2.551 0 0 1-.422-.176 2.362 2.362 0 0 1-.82-.72c-.208-.294-.28-.535-.28-.535a2.876 2.876 0 0 0-1.17-1.58l-.016-.01c-.925-.65.093-.65.093-.65.106.015.21.038.313.068l.017.005a2.172 2.172 0 0 1 .962.603c.122.13.23.276.319.433a2.29 2.29 0 0 0 .68.775h.002s0 .001 0 0a2.211 2.211 0 0 0 2.385.124v-.014a2.302 2.302 0 0 1 .647-1.427 8.754 8.754 0 0 1-1.625-.328 4.865 4.865 0 0 1-1.416-.695 3.883 3.883 0 0 1-.432-.365c-.8-.786-1.328-2.002-1.328-3.899a4.214 4.214 0 0 1 1.08-2.887 4.003 4.003 0 0 1 .104-2.848s.886-.291 2.898 1.103a9.762 9.762 0 0 1 5.28 0c2.011-1.393 2.891-1.103 2.891-1.103.388.893.434 1.902.13 2.828a4.214 4.214 0 0 1 1.08 2.888c0 3.166-1.444 4.44-3.174 4.972a8.617 8.617 0 0 1-1.64.314 2.558 2.558 0 0 1 .699 1.425c.026.184.033.371.02.558v2.955c0 .35.187.62.724.515a10.588 10.588 0 0 0 5.613-4.656 10.958 10.958 0 0 0 1.354-7.254 10.824 10.824 0 0 0-3.541-6.439 10.41 10.41 0 0 0-6.77-2.592 10.408 10.408 0 0 0-6.837 2.563 10.824 10.824 0 0 0-3.578 6.478ZM16.374 7.8a8.003 8.003 0 0 0-.856.524l-.58.401-.679-.19a8.262 8.262 0 0 0-4.469 0l-.68.19-.58-.402a7.982 7.982 0 0 0-.846-.519c.019.186.059.37.12.549l.282.832-.588.653a2.714 2.714 0 0 0-.696 1.86v.024c0 1.724.503 2.513.998 2.937.563.481 1.397.736 2.476.86l1.567.182 1.954-.204c1.082-.112 1.912-.358 2.47-.833.492-.418.999-1.209.999-2.96v-.026a2.714 2.714 0 0 0-.696-1.86l-.582-.647.273-.826c.058-.178.096-.36.113-.545Z",clipRule:"evenodd"}))},1980:(e,t,r)=>{r.d(t,{m:()=>l});var a=r(1504);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}const l=e=>a.createElement("svg",function(e){for(var t=1;t{r.d(t,{Q:()=>l});var a=r(1504);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}const l=e=>a.createElement("svg",function(e){for(var t=1;t{r.d(t,{G:()=>l});var a=r(1504);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}const l=e=>a.createElement("svg",function(e){for(var t=1;t{r.d(t,{s1:()=>c,wR:()=>s,QD:()=>d,vn:()=>g,kv:()=>f,uI:()=>h,A9:()=>x,_2:()=>w,Ew:()=>O,Yf:()=>k,oh:()=>j,Ed:()=>S,BE:()=>L,KU:()=>V,WR:()=>_,w9:()=>G,CC:()=>I,AH:()=>J,oz:()=>Q,C3:()=>q});var a=r(1504);var n=r(4971);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const c=e=>a.createElement("svg",o(function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;t{const{colorMode:t}=(0,A.U)();return a.createElement("div",{className:(0,n.c)("relative","flex","items-center","justify-center","rounded-full","overflow-hidden","p-px","dark:bg-[#194b3a] bg-[#b7dbff]"),style:{transform:"translateZ(0)"}},a.createElement("div",{className:(0,n.c)("z-[1]","absolute","inset-0","dark:bg-new-badge-border-dark bg-new-badge-border-light","animate-new-badge-border")}),a.createElement("svg",function(e){for(var t=1;t=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var R,F;const _=e=>{var{variant:t="landing"}=e,r=H(e,["variant"]);return a.createElement("svg",B(function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",U(function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;t{r.d(t,{m:()=>l});var a=r(1504);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}const l=e=>a.createElement("svg",function(e){for(var t=1;t{r.d(t,{m:()=>c,q:()=>i});var a=r(9184),n=r(4971),l=r(1504);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=({children:e,className:t,to:r,onClick:o,icon:c})=>l.createElement(a.c,{to:r,target:"_blank",rel:"noopener noreferrer",onClick:o,className:(0,n.c)(t,"select-none","group/cta-button","relative","no-underline","rounded-full","flex","items-center","justify-center","gap-2","py-2 pr-2 pl-4","landing-sm:py-3 landing-sm:pr-4 landing-sm:pl-6","text-xs landing-sm:text-base","font-semibold","dark:text-refine-cyan-alt text-refine-blue","dark:bg-refine-cyan-alt/10 bg-refine-blue/10","overflow-hidden")},e,c||l.createElement(s,null),l.createElement("div",{className:(0,n.c)("select-none","rounded-3xl","absolute","left-0","top-0","w-full","h-full","scale-[2]","origin-center","transition-[opacity,transform]","duration-300","ease-in-out","opacity-0","group-hover/cta-button:opacity-100","group-hover/cta-button:scale-100","pointer-events-none","bg-landing-copy-command-hover-bg-light dark:bg-landing-copy-command-hover-bg-dark")})),i=({children:e,className:t,to:r,onClick:o,icon:c})=>l.createElement(a.c,{to:r,target:"_blank",rel:"noopener noreferrer",onClick:o,className:(0,n.c)(t,"select-none","landing-sm:max-w-[293px]","mx-auto","group/cta-button","relative","no-underline","rounded-full","flex","items-center","justify-center","gap-2","py-3 pr-4 pl-6","text-base","font-semibold","dark:text-refine-cyan-alt text-refine-blue","dark:bg-refine-cyan-alt/10 bg-refine-blue/10","overflow-hidden")},e,c||l.createElement(s,null),l.createElement("div",{className:(0,n.c)("select-none","rounded-3xl","absolute","left-0","top-0","w-full","h-full","scale-[2]","origin-center","transition-[opacity,transform]","duration-300","ease-in-out","opacity-0","group-hover/cta-button:opacity-100","group-hover/cta-button:scale-100","pointer-events-none","bg-landing-copy-command-hover-bg-light dark:bg-landing-copy-command-hover-bg-dark")})),s=e=>l.createElement("svg",function(e){for(var t=1;t{r.d(t,{c:()=>i});var a=r(4971),n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;t=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}const i=e=>{var{className:t,wrapperProps:r}=e,l=c(e,["className","wrapperProps"]);return n.createElement("div",o({role:"status"},r),n.createElement("svg",o({"aria-hidden":"true",width:24,height:24,viewBox:"0 0 100 100",className:(0,a.c)("text-gray-200 animate-spin dark:text-gray-600 fill-refine-blue",t),fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),n.createElement("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),n.createElement("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})),n.createElement("span",{className:"sr-only"},"Loading..."))}},252:(e,t,r)=>{r.d(t,{Q:()=>i});var a=r(4971),n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;tn.createElement("div",{className:(0,a.c)("w-full h-12","relative","bg-top-announcement","not-prose","font-inter","z-top-announcement")},n.createElement("div",{className:(0,a.c)("hidden lg:flex","w-full h-full","max-w-screen","overflow-hidden","border-b border-solid border-[#47ebeb26]","top-announcement-mask")},n.createElement("div",{className:(0,a.c)("w-[1280px] h-full","mx-auto","flex","justify-between")},n.createElement("div",{className:(0,a.c)("w-[calc(50%-300px)] h-full","relative")},n.createElement(m,{style:{animationDelay:"1.5s"},className:(0,a.c)("absolute","top-[2px]","right-[220px]"),id:"1"}),n.createElement(m,{style:{animationDelay:"1s"},className:(0,a.c)("absolute","rotate-180","top-[8px] right-[100px]"),id:"2"}),n.createElement(d,{className:(0,a.c)("absolute","right-[10px]"),id:"3"})),n.createElement("div",{className:(0,a.c)("w-[calc(50%-300px)] h-full","relative")},n.createElement(m,{style:{animationDelay:"2s"},className:(0,a.c)("absolute","rotate-180","top-[6px] right-[180px]"),id:"4"}),n.createElement(m,{style:{animationDelay:"0.5s"},className:(0,a.c)("delay-[1300]","absolute","top-[2px]","right-[40px]"),id:"5"}),n.createElement(d,{className:(0,a.c)("absolute","right-[-70px]"),id:"6"})))),n.createElement(s,null)),s=()=>n.createElement("a",{href:"https://prepverse.vercel.app/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,a.c)("relative lg:absolute","px-2 lg:px-0","top-0","left-[50%]","translate-x-[-50%]","bg-top-announcement-text","h-full w-full lg:w-[450px]","flex items-center justify-center","text-white","text-xs sm:text-sm","text-center","no-underline","hover:no-underline","hover:text-white","not-prose")},n.createElement("div",{className:(0,a.c)("ml-2","not-prose")},"For more updates follow","",n.createElement("span",{className:(0,a.c)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")},"@AkashSingh3031"),".")),m=e=>n.createElement("svg",c(o({xmlns:"http://www.w3.org/2000/svg",width:80,height:40,fill:"none"},e),{className:(0,a.c)("animate-top-announcement-glow","opacity-1",e.className)}),n.createElement("circle",{cx:40,r:40,fill:`url(#${e.id}-a)`,fillOpacity:.5}),n.createElement("defs",null,n.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 40 -40 0 40 0)",gradientUnits:"userSpaceOnUse"},n.createElement("stop",{stopColor:"#47EBEB"}),n.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0})))),d=e=>n.createElement("svg",c(o({xmlns:"http://www.w3.org/2000/svg",width:120,height:48,fill:"none"},e),{className:(0,a.c)("animate-top-announcement-glow","opacity-1",e.className)}),n.createElement("circle",{cx:60,cy:24,r:60,fill:`url(#${e.id}-a)`,fillOpacity:.5}),n.createElement("defs",null,n.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 60 -60 0 60 24)",gradientUnits:"userSpaceOnUse"},n.createElement("stop",{stopColor:"#47EBEB"}),n.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0}))))}}]); \ No newline at end of file diff --git a/assets/js/92c79b5e.d05995e5.js b/assets/js/92c79b5e.d05995e5.js deleted file mode 100644 index 25c40a56..00000000 --- a/assets/js/92c79b5e.d05995e5.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[8968],{1996:(e,t,r)=>{r.r(t),r.d(t,{default:()=>D});var a=r(6424),n=r(4971),l=r(1504),o=r(5652),c=r(3951),i=r(6968),s=r(8480),m=r(9072),d=r(5048);function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const g=e=>l.createElement("svg",function(e){for(var t=1;tl.createElement("svg",function(e){for(var t=1;t{const{githubFollowersCount:e,loading:t}=(0,h.wx)();return l.createElement("a",{href:"https://github.com/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,n.c)("text-sm","text-gray-500 dark:text-gray-400","rounded-[32px]","border border-solid border-gray-300 dark:border-gray-700","flex gap-2 items-center","py-2 pl-2.5 pr-4","no-underline")},l.createElement(x,{className:(0,n.c)("w-5 h-5")}),l.createElement("div",{className:(0,n.c)("flex items-center","min-w-[75px] h-6")},"Followers:\xa0",t?l.createElement(v.c,{className:(0,n.c)("w-5 h-5"),wrapperProps:{className:(0,n.c)("mx-auto")}}):l.createElement("span",{className:(0,n.c)("tabular-nums text-gray-800 dark:text-gray-100")},e)))},E=()=>{const{githubAvatarUrl:e,githubAvatarName:t,githubAvatarPageUrl:r,loading:a}=(0,h.wx)(),[o,c]=(0,l.useState)([]),[i,s]=(0,l.useState)([]);return(0,l.useEffect)((()=>{const t=e.map((()=>function(){const e=Math.floor(256*Math.random()),t=Math.floor(256*Math.random()),r=Math.floor(256*Math.random());return`rgb(${e},${t},${r})`}()));c(t);const r=t.map((e=>`${e.slice(0,-1)},0.2)`));s(r)}),[e]),l.createElement("div",{className:(0,n.c)("tabular-nums text-gray-800 dark:text-gray-100","flex flex-wrap mt-10","grid grid-cols-2 md:grid-cols-3 lg:grid-cols-5","gap-4 2xl:gap-8")},e.map(((e,a)=>l.createElement("div",{key:a,className:(0,n.c)("rounded-2xl landing-sm:rounded-3xl","flex flex-col items-center")},l.createElement(d.G,{className:(0,n.c)("h-[75px] w-[75px]","rounded-2xl landing-sm:rounded-3xl","border-double border-4","p-1"),srcDark:e,srcLight:e,alt:t[a],style:{borderColor:o[a],backgroundColor:i[a]}}),a+1,l.createElement("a",{target:"_blank",href:r[a],className:(0,n.c)("text-sm","no-underline","rounded-lg m-2 p-1","border-2","transition ease-in-out delay-50 hover:-translate-y-1 hover:scale-110 duration-300","dark:text-gray-400 text-gray-600","font-semibold","flex flex-row","text-center"),style:{borderColor:o[a],backgroundColor:i[a]},rel:"noreferrer"},t[a])))))},O=[{name:"Experience",showcase:({className:e})=>l.createElement("div",{className:(0,n.c)("flex flex-col gap-5")},l.createElement("div",{className:(0,n.c)("flex flex-col gap-5","dark:bg-enterprise-data-source-dark dark:bg-gray-800 bg-gray-0","bg-blend-overlay","bg-no-repeat","rounded-2xl landing-sm:rounded-3xl","dark:bg-gray-900","rounded-xl p-4","border border-b-4 dark:border-gray-700 border-gray-200")},l.createElement("h2",{className:(0,n.c)("text-base","dark:text-gray-400 text-gray-600","font-semibold")},"Feb 2023 \u2014 Present (1 year)"),l.createElement("div",{className:(0,n.c)("flex flex-\u1e5bow gap-5")},l.createElement("div",{className:"relative"},l.createElement("img",{className:(0,n.c)("h-[50px]","rounded-full"),src:"https://miro.medium.com/v2/resize:fit:2400/1*22Iy0RdK_ikn84caG5WBGg.png",alt:"Coding Ninjas"})),l.createElement("div",{className:"text-xs md:text-base"},l.createElement("h2",{className:(0,n.c)("text-base landing-sm:text-xl","dark:text-gray-300 text-gray-900","font-semibold")},"Coding Ninjas"),l.createElement("p",{className:(0,n.c)("text-base","dark:text-gray-400 text-gray-600")},"Teaching Assistant")))),l.createElement("div",{className:(0,n.c)("flex flex-col gap-5","dark:bg-enterprise-data-source-dark dark:bg-gray-800 bg-gray-0","bg-blend-overlay","bg-no-repeat","rounded-2xl landing-sm:rounded-3xl","dark:bg-gray-900","rounded-xl p-4","border border-b-4 dark:border-gray-700 border-gray-200")},l.createElement("h2",{className:(0,n.c)("text-base","dark:text-gray-400 text-gray-600","font-semibold")},"Dec 2023 \u2014 Jan 2024 (2 months)"),l.createElement("div",{className:(0,n.c)("flex flex-\u1e5bow gap-5")},l.createElement("div",{className:"relative"},l.createElement("img",{className:(0,n.c)("h-[50px]","rounded-full"),src:"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTPZ-5knMTRbKQ7nuyeI8cKDll55V5M4K-Oa4A39VvBtOjoUhYdjKYdJvacP5p0ivBARlI&usqp=CAU",alt:"Homaid Services"})),l.createElement("div",{className:"text-xs md:text-base"},l.createElement("h2",{className:(0,n.c)("text-base landing-sm:text-xl","dark:text-gray-300 text-gray-900","font-semibold")},"Homaid Services"),l.createElement("p",{className:(0,n.c)("text-base","dark:text-gray-400 text-gray-600")},"Software Developer Engineer")))),l.createElement("div",{className:(0,n.c)("flex flex-col gap-5","dark:bg-enterprise-data-source-dark dark:bg-gray-800 bg-gray-0","bg-blend-overlay","bg-no-repeat","rounded-2xl landing-sm:rounded-3xl","dark:bg-gray-900","rounded-xl p-4","border border-b-4 dark:border-gray-700 border-gray-200")},l.createElement("h2",{className:(0,n.c)("text-base","dark:text-gray-400 text-gray-600","font-semibold")},"Jul 2022 \u2014 Jan 2023 (7 months)"),l.createElement("div",{className:(0,n.c)("flex flex-\u1e5bow gap-5")},l.createElement("div",{className:"relative"},l.createElement("img",{className:(0,n.c)("h-[50px]","rounded-full"),src:"https://itbots.in/uploads/company_logos/logo_thumbs/6475b3cb91400_thumb.png",alt:"CCTech"})),l.createElement("div",{className:"text-xs md:text-base"},l.createElement("h2",{className:(0,n.c)("text-base landing-sm:text-xl","dark:text-gray-300 text-gray-900","font-semibold")},"Centre for Computational Technologies Pvt. Ltd. (CCTech)"),l.createElement("p",{className:(0,n.c)("text-base","dark:text-gray-400 text-gray-600")},"Python Developer")))))},{name:"Education",showcase:({className:e})=>l.createElement("div",{className:(0,n.c)("flex flex-col gap-5")},l.createElement("div",{className:(0,n.c)("flex flex-col gap-5","dark:bg-enterprise-data-source-dark dark:bg-gray-800 bg-gray-0","bg-blend-overlay","bg-no-repeat","rounded-2xl landing-sm:rounded-3xl","dark:bg-gray-900","rounded-xl p-4","border border-b-4 dark:border-gray-700 border-gray-200")},l.createElement("h2",{className:(0,n.c)("text-base","dark:text-gray-400 text-gray-600","font-semibold")},"Jul 2018 \u2014 Jul 2022 (4 years)"),l.createElement("div",{className:(0,n.c)("flex flex-\u1e5bow gap-5")},l.createElement("div",{className:"relative"},l.createElement("img",{className:(0,n.c)("h-[50px]","rounded-full"),src:"https://prepverse.github.io/portfolio/assets/images/educat/college-1.jpg",alt:"Graduation"})),l.createElement("div",{className:"text-xs md:text-base"},l.createElement("h2",{className:(0,n.c)("text-base landing-sm:text-xl","dark:text-gray-300 text-gray-900","font-semibold")},"Sagar Institute of Research, Technology and Science, Bhopal"),l.createElement("p",{className:(0,n.c)("text-base","dark:text-gray-400 text-gray-600")},"B.Tech | 8.62 CGPA")))),l.createElement("div",{className:(0,n.c)("flex flex-col gap-5","dark:bg-enterprise-data-source-dark dark:bg-gray-800 bg-gray-0","bg-blend-overlay","bg-no-repeat","rounded-2xl landing-sm:rounded-3xl","dark:bg-gray-900","rounded-xl p-4","border border-b-4 dark:border-gray-700 border-gray-200")},l.createElement("h2",{className:(0,n.c)("text-base","dark:text-gray-400 text-gray-600","font-semibold")},"Jul 2017 \u2014 Jul 2018 (1 year)"),l.createElement("div",{className:(0,n.c)("flex flex-\u1e5bow gap-5")},l.createElement("div",{className:"relative"},l.createElement("img",{className:(0,n.c)("h-[50px]","rounded-full"),src:"https://prepverse.github.io/portfolio/assets/images/educat/school.jpg",alt:"Intermediate"})),l.createElement("div",{className:"text-xs md:text-base"},l.createElement("h2",{className:(0,n.c)("text-base landing-sm:text-xl","dark:text-gray-300 text-gray-900","font-semibold")},"R Tripathi Inter College Prabhupur, Chandauli"),l.createElement("p",{className:(0,n.c)("text-base","dark:text-gray-400 text-gray-600")},"12th | 78.20 %")))),l.createElement("div",{className:(0,n.c)("flex flex-col gap-5","dark:bg-enterprise-data-source-dark dark:bg-gray-800 bg-gray-0","bg-blend-overlay","bg-no-repeat","rounded-2xl landing-sm:rounded-3xl","dark:bg-gray-900","rounded-xl p-4","border border-b-4 dark:border-gray-700 border-gray-200")},l.createElement("h2",{className:(0,n.c)("text-base","dark:text-gray-400 text-gray-600","font-semibold")},"Jul 2015 \u2014 Jul 2016 (1 year)"),l.createElement("div",{className:(0,n.c)("flex flex-\u1e5bow gap-5")},l.createElement("div",{className:"relative"},l.createElement("img",{className:(0,n.c)("h-[50px]","rounded-full"),src:"https://prepverse.github.io/portfolio/assets/images/educat/school.jpg",alt:"High School"})),l.createElement("div",{className:"text-xs md:text-base"},l.createElement("h2",{className:(0,n.c)("text-base landing-sm:text-xl","dark:text-gray-300 text-gray-900","font-semibold")},"A V M High School Mahagaon Papaura, Chandauli"),l.createElement("p",{className:(0,n.c)("text-base","dark:text-gray-400 text-gray-600")},"10th | 86.67 %")))))}],C=()=>{const[e,t]=l.useState(O[0]),r=l.useMemo((()=>e.showcase),[e.name]);return l.createElement("div",{className:(0,n.c)("flex flex-wrap","border dark:border-gray-700 border-gray-200","bg-gray-50 dark:bg-gray-900","w-full","rounded-2xl landing-sm:rounded-[32px]","gap-2 landing-sm:gap-4","p-2 landing-sm:p-4","relative","group/showcase","landing-lg:overflow-hidden")},l.createElement("div",{className:(0,n.c)("flex","w-auto","gap-2")},l.createElement("div",{className:(0,n.c)("rounded-xl","overflow-y-auto","flex","w-full","gap-2","scrollbar-hidden","snap snap-x snap-mandatory","snap-mandatory")},l.createElement("div",{className:(0,n.c)("rounded-xl","border-b-2 border-gray-500","flex","w-auto","landing-lg:w-auto","items-center","justify-start","gap-2","relative")},l.createElement("div",{className:(0,n.c)("hidden landing-sm:block","flex-1","rounded-xl","h-full","bg-gray-200 dark:bg-gray-700","absolute","left-0","top-0","transition-transform","duration-150","ease-out"),style:{width:`calc((100% - (${O.length-1} * 8px)) / ${O.length})`,minWidth:"200px",transform:`translateX(calc((100% + 8px) * ${O.findIndex((t=>t.name===e.name))})) translateZ(0px)`}}),O.map(((r,a)=>l.createElement("button",{key:r.name,type:"button",onClick:e=>{var n,l,o;t(r),null===(l=null===(o=e.currentTarget.parentElement)||void 0===o?void 0:o.parentElement)||void 0===l||null===(n=l.scrollTo)||void 0===n||n.call(l,{left:a>=2?252*a:0,behavior:"smooth"})},className:(0,n.c)("z-[1]","snap-start","appearance-none","focus:outline-none","flex-1","break-keep","whitespace-nowrap","landing-sm:min-w-[200px]","py-2","landing-sm:py-3.5","px-4","rounded-xl","transition-colors","ease-in-out","duration-150",e.name!==r.name&&"bg-transparent",e.name===r.name&&"bg-gray-200 dark:bg-gray-700",e.name===r.name&&"border-b-4 border-green-500 dark:border-blue-700",e.name!==r.name&&"hover:text-gray-900 dark:hover:text-gray-200",e.name===r.name&&"text-green-700 dark:text-blue-400",e.name!==r.name&&"text-gray-600 dark:text-gray-400",e.name===r.name&&"text-gray-900 dark:text-gray-0",e.name!==r.name&&"border-b-2 border-transparent hover:bg-gray-200 dark:hover:bg-gray-700","landing-sm:bg-transparent","dark:landing-sm:bg-transparent","transition-colors","duration-150","ease-out","text-xs","landing-sm:text-sm")},r.name)))))),l.createElement("div",{className:(0,n.c)("rounded-lg","landing-md:rounded-xl","landing-lg:rounded-2xl","overflow-hidden","shadow-sm shadow-gray-200 dark:shadow-none","relative","group/showcase-inner","w-full")},l.createElement(r,{className:(0,n.c)("animate-showcase-reveal","absolute","left-0","top-0","w-full","rounded-lg","landing-md:rounded-xl","landing-lg:rounded-2xl","overflow-hidden")})))};function k(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const N=e=>l.createElement("svg",function(e){for(var t=1;t{const{lcStreakCount:t,totalLCProblem:r,totalLCEasy:a,totalLCMedium:o,totalLCHard:c,solvedProblem:i,easySolved:s,mediumSolved:m,hardSolved:d,loading:u}=(0,h.wx)();return l.createElement("div",null,l.createElement("div",{className:(0,n.c)("flex flex-row","gap-2")},l.createElement("a",{href:"https://leetcode.com/akashsingh3031",target:"_blank",rel:"noreferrer",className:(0,n.c)("text-sm","text-gray-500 dark:text-gray-400","rounded-[32px]","border-2 border-solid border-gray-300 dark:border-gray-700","flex gap-2 items-center justify-center","py-2 pl-2.5 pr-4","w-60","font-semibold","no-underline")},l.createElement("div",{className:(0,n.c)("flex flex-row items-center")},"Total Solved Problem:\xa0",u?l.createElement(v.c,{className:(0,n.c)("w-5 h-5"),wrapperProps:{className:(0,n.c)("mx-auto")}}):l.createElement("span",{className:(0,n.c)("tabular-nums text-gray-800 dark:text-gray-100")},i))),l.createElement("div",{className:(0,n.c)("text-sm","text-gray-500 dark:text-gray-400","rounded-[32px]","border-2 border-solid border-gray-300 dark:border-gray-700","flex gap-2 items-center justify-center","py-2 pl-2.5 pr-4","w-56","font-semibold","no-underline")},l.createElement(N,null),l.createElement("div",{className:(0,n.c)("flex flex-row items-center")},"Longest Streak:\xa0",u?l.createElement(v.c,{className:(0,n.c)("w-5 h-5"),wrapperProps:{className:(0,n.c)("mx-auto")}}):l.createElement("span",{className:(0,n.c)("tabular-nums text-orange-700 dark:text-orange-500")},t)))),u?l.createElement(v.c,{className:(0,n.c)("w-20 h-20"),wrapperProps:{className:(0,n.c)("flex justify-center items-center mt-4")}}):l.createElement("div",{className:"flex lg:flex-row sm:flex-col flex-col w-[calc(100%-8px)] mx-auto justify-between"},l.createElement("div",{className:"lg:w-[calc(100%)] sm:w-full sm:h-[240px] h-[450px]mt-[8px] rounded-lg relative"},l.createElement("div",{className:"flex sm:flex-row flex-col justify-between"},l.createElement("div",null,l.createElement("div",{className:"text-[22px] font-bold mt-[40px] dark:text-green-600 text-red-600 ml-[50px]"},"Solved Problems"),l.createElement("div",{className:"text-[60px] font-bold mt-[32px] dark:text-yellow-400 text-orange-600 ml-[50px]"},i," ",l.createElement("span",{className:"text-gray-500 text-[14px]"},"/ ",r))),l.createElement("div",{className:"flex flex-col relative mr-[50px] mt-[40px] w-[200px] sm:w-[280px] ml-[50px] sm:ml-0"},l.createElement("div",{className:"text-[14px] relative"},l.createElement("div",{className:"flex flex-row justify-between"},l.createElement("div",{className:"mb-[8px] text-green-500"},"Easy"),l.createElement("div",{className:"mb-[8px] text-green-500"},s," / ",a)),l.createElement("div",{className:"sm:w-[280px] w-[200px] h-[8px] bg-borders mb-[16px] relative after:absolute easy-line after:h-[8px] after:rounded rounded after:bg-green-500",style:{backgroundColor:"rgba(52, 211, 153, 0.2)"}})),l.createElement("div",{className:"text-[14px] relative"},l.createElement("div",{className:"flex flex-row justify-between"},l.createElement("div",{className:"mb-[8px] text-orange-500"},"Medium"),l.createElement("div",{className:"mb-[8px] text-orange-500"},m," / ",o)),l.createElement("div",{className:"sm:w-[280px] w-[200px] h-[8px] bg-borders mb-[16px] relative after:absolute medium-line after:h-[8px] after:rounded rounded after:bg-orange-500",style:{backgroundColor:"rgba(255, 159, 64, 0.2)"}})),l.createElement("div",{className:"text-[14px] relative"},l.createElement("div",{className:"flex flex-row justify-between"},l.createElement("div",{className:"mb-[8px] text-red-500"},"Hard"),l.createElement("div",{className:"mb-[8px] text-red-500"},d," / ",c)),l.createElement("div",{className:"sm:w-[280px] w-[200px] h-[8px] bg-borders mb-[16px] relative after:absolute hard-line after:h-[8px] after:rounded rounded after:bg-red-500",style:{backgroundColor:"rgba(239, 68, 68, 0.2)"}}),l.createElement("style",null,`.easy-line::after { width: ${s/a*100}%; }`,`.medium-line::after { width: ${m/o*100}%; }`,`.hard-line::after { width: ${d/c*100}%; }`)))))))}},{name:"Leecode Badges",showcase:({className:e})=>{const{leetcodeBadgeImg:t,leetcodeBadgeCount:r,loading:a}=(0,h.wx)(),[o,c]=(0,l.useState)([]),[i,s]=(0,l.useState)([]);(0,l.useEffect)((()=>{const e=t.map((()=>function(){const e=Math.floor(256*Math.random()),t=Math.floor(256*Math.random()),r=Math.floor(256*Math.random());return`rgb(${e},${t},${r})`}()));c(e);const r=e.map((e=>`${e.slice(0,-1)},0.1)`));s(r)}),[t]);const m=(e,t)=>l.createElement("div",{key:e},l.createElement("div",{className:(0,n.c)("text-xl","no-underline","rounded-lg m-2 p-1","border-b-4","dark:text-orange-400 text-green-600","dark:border-orange-400 border-green-600","font-semibold","flex flex-col","text-center")},e),l.createElement("div",{className:(0,n.c)("tabular-nums text-gray-800 dark:text-gray-100","flex flex-wrap mt-10","grid grid-cols-2 md:grid-cols-3 lg:grid-cols-5","gap-4 2xl:gap-8")},t.map(((e,t)=>l.createElement("div",{key:t,className:(0,n.c)("rounded-2xl landing-sm:rounded-3xl","flex flex-col items-center")},l.createElement(d.G,{className:(0,n.c)("h-[75px] w-[75px]","rounded-2xl landing-sm:rounded-3xl","p-1"),srcDark:e.icon,srcLight:e.icon,alt:e.displayName,style:{borderColor:o[t],backgroundColor:i[t]}}),t+1,l.createElement("div",{className:(0,n.c)("text-sm","no-underline","rounded-lg mt-2 p-1","transition ease-in-out delay-50 hover:-translate-y-1 hover:scale-110 duration-300","dark:text-gray-100 text-gray-800","font-semibold","flex flex-row","text-center"),style:{borderColor:o[t],backgroundColor:i[t]}},e.displayName),l.createElement("div",{className:(0,n.c)("text-sm","no-underline","rounded-lg p-1","dark:text-gray-400 text-gray-600","font-semibold","flex flex-row","text-center")},e.creationDate))))));return l.createElement("div",null,l.createElement("a",{href:"https://leetcode.com/akashsingh3031",target:"_blank",rel:"noreferrer",className:(0,n.c)("text-sm","text-gray-500 dark:text-gray-400","rounded-[32px]","border-2 border-solid border-gray-300 dark:border-gray-700","flex gap-2 items-center justify-center","py-2 pl-2.5 pr-4","w-40","font-semibold","no-underline")},l.createElement("div",{className:(0,n.c)("flex flex-row items-center")},"Total Badges:\xa0",a?l.createElement(v.c,{className:(0,n.c)("w-5 h-5"),wrapperProps:{className:(0,n.c)("mx-auto")}}):l.createElement("span",{className:(0,n.c)("tabular-nums text-gray-800 dark:text-gray-100")},r))),a?l.createElement(v.c,{className:(0,n.c)("w-20 h-20"),wrapperProps:{className:(0,n.c)("flex justify-center items-center mt-4")}}):l.createElement("div",null,m("Competition Medals",t.filter((e=>e.displayName.includes("Annual Badge")||e.displayName.includes("Days Badge")))),m("Daily Medals",t.filter((e=>e.displayName.includes("LeetCoding Challenge")))),m("Study Plan Medals",t.filter((e=>!e.displayName.includes("Annual Badge")&&!e.displayName.includes("LeetCoding Challenge")&&!e.displayName.includes("Days Badge"))))))}}],P=()=>{const[e,t]=l.useState(j[0]),r=l.useMemo((()=>e.showcase),[e.name]);return l.createElement("div",{className:(0,n.c)("flex flex-wrap","border dark:border-gray-700 border-gray-200","bg-gray-50 dark:bg-gray-900","w-full","rounded-2xl landing-sm:rounded-[32px]","gap-2 landing-sm:gap-4","p-2 landing-sm:p-4","relative","group/showcase","landing-lg:overflow-hidden")},l.createElement("div",{className:(0,n.c)("flex","w-auto","gap-2")},l.createElement("div",{className:(0,n.c)("rounded-xl","overflow-y-auto","flex","w-full","gap-2","scrollbar-hidden","snap snap-x snap-mandatory","snap-mandatory")},l.createElement("div",{className:(0,n.c)("rounded-xl","border-b-2 border-gray-500","flex","w-auto","landing-lg:w-auto","items-center","justify-start","gap-2","relative")},l.createElement("div",{className:(0,n.c)("hidden landing-sm:block","flex-1","rounded-xl","h-full","bg-gray-200 dark:bg-gray-700","absolute","left-0","top-0","transition-transform","duration-150","ease-out"),style:{width:`calc((100% - (${j.length-1} * 8px)) / ${j.length})`,minWidth:"200px",transform:`translateX(calc((100% + 8px) * ${j.findIndex((t=>t.name===e.name))})) translateZ(0px)`}}),j.map(((r,a)=>l.createElement("button",{key:r.name,type:"button",onClick:e=>{var n,l,o;t(r),null===(l=null===(o=e.currentTarget.parentElement)||void 0===o?void 0:o.parentElement)||void 0===l||null===(n=l.scrollTo)||void 0===n||n.call(l,{left:a>=2?252*a:0,behavior:"smooth"})},className:(0,n.c)("z-[1]","snap-start","appearance-none","focus:outline-none","flex-1","break-keep","whitespace-nowrap","landing-sm:min-w-[200px]","py-2","landing-sm:py-3.5","px-4","rounded-xl","transition-colors","ease-in-out","duration-150",e.name!==r.name&&"bg-transparent",e.name===r.name&&"bg-gray-200 dark:bg-gray-700",e.name===r.name&&"border-b-4 border-green-500 dark:border-orange-700",e.name!==r.name&&"hover:text-gray-900 dark:hover:text-gray-200",e.name===r.name&&"text-green-700 dark:text-orange-400",e.name!==r.name&&"text-gray-600 dark:text-gray-400",e.name===r.name&&"text-gray-900 dark:text-gray-0",e.name!==r.name&&"border-b-2 border-transparent hover:bg-gray-200 dark:hover:bg-gray-700","landing-sm:bg-transparent","dark:landing-sm:bg-transparent","transition-colors","duration-150","ease-out","text-xs","landing-sm:text-sm")},r.name)))))),l.createElement("div",{className:(0,n.c)("rounded-lg","landing-md:rounded-xl","landing-lg:rounded-2xl","overflow-hidden","shadow-sm shadow-gray-200 dark:shadow-none","relative","group/showcase-inner","w-full")},l.createElement(r,{className:(0,n.c)("animate-showcase-reveal","absolute","left-0","top-0","w-full","rounded-lg","landing-md:rounded-xl","landing-lg:rounded-2xl","overflow-hidden")})))},S=[{name:"LeetCode Stats",showcase:({className:e})=>l.createElement(P,null)},{name:"GitHub Followers",showcase:({className:e})=>l.createElement("div",{className:"text-xs md:text-base"},l.createElement("h2",{className:(0,n.c)("text-base landing-sm:text-2xl","dark:text-gray-300 text-gray-900","font-semibold","flex items-center")},l.createElement(w,null)),l.createElement("div",{className:(0,n.c)("my-4","border-b border-gray-200 dark:border-gray-700")}),l.createElement(E,null))},{name:"My Journey",showcase:({className:e})=>l.createElement(C,null)}],M=({className:e})=>{const[t,r]=l.useState(S[0]),a=l.useMemo((()=>t.showcase),[t.name]);return l.createElement("div",{className:(0,n.c)("flex flex-col justify-center landing-md:flex-row gap-2 landing-lg:max-w-[1200px] w-full mx-auto")},l.createElement("div",{className:(0,n.c)("landing-lg:w-[435px]","landing-lg:h-[500px] landing-md:h-[545px]","flex flex-wrap","p-5","mt-6 lg:mt-10","dark:bg-enterprise-data-source-dark dark:bg-gray-900 bg-gray-0","bg-blend-overlay","bg-no-repeat","rounded-2xl landing-sm:rounded-3xl","border dark:border-gray-700 border-gray-200")},l.createElement("div",{className:(0,n.c)("flex flex-col gap-4")},l.createElement("div",{className:(0,n.c)("landing-lg:min-w-[400px]","flex flex-\u1e5bow gap-5","dark:bg-enterprise-data-source-dark dark:bg-gray-900 bg-gray-0","bg-blend-overlay","bg-no-repeat","rounded-2xl landing-sm:rounded-3xl","dark:bg-gray-900","rounded-xl p-4")},l.createElement("a",{target:"_blank",href:"https://github.com/AkashSingh3031",rel:"noreferrer"},l.createElement(d.G,{className:(0,n.c)("h-[100px] w-[100px]","rounded-2xl landing-sm:rounded-3xl"),srcDark:"https://github.com/AkashSingh3031.png",srcLight:"https://github.com/AkashSingh3031.png",alt:"Akash Singh"})),l.createElement("div",{className:"text-xs md:text-base"},l.createElement("h2",{className:(0,n.c)("text-base landing-sm:text-2xl","dark:text-gray-300 text-gray-900","font-semibold")},"Akash Singh\xa0",l.createElement(g,{className:"inline"})),l.createElement("p",{className:(0,n.c)("text-base","dark:text-gray-400 text-gray-600")},"akashsingh3031"))),l.createElement("div",{className:(0,n.c)("flex flex-col")},l.createElement("p",{className:(0,n.c)("text-base","dark:text-gray-400 text-gray-600")},"\ud83d\udc68\u200d\ud83d\udcbb Software Developer Engineer\ud83d\udd38||\ud83d\udd38TA at Coding Ninjas\ud83d\udd38||\ud83d\udd386086 Rating Points (Grand Master) on Code360 by Coding Ninjas Studio"),l.createElement(b.m,{to:"https://github.com/AkashSingh3031",className:(0,n.c)("mt-4","mb-4")},"Follow Me"),l.createElement("a",{target:"_blank",href:"https://github.com/AkashSingh3031",className:(0,n.c)("flex h-max flex-row justify-start gap-3","dark:bg-gray-900","p-2","no-underline hover:no-underline"),rel:"noreferrer"},l.createElement("div",null,l.createElement(f.A,{className:"text-2xl text-gray-900 dark:text-gray-0",width:"20px",height:"20px"})),l.createElement("div",{className:"text-xs md:text-base"},l.createElement("div",{className:"mb-0 text-gray-500 dark:text-gray-400"},"AkashSingh3031"))),l.createElement("a",{target:"_blank",href:"https://www.linkedin.com/in/akashsingh3031/",rel:"noreferrer",className:(0,n.c)("flex h-max flex-row justify-start gap-3","dark:bg-gray-900","p-2","no-underline hover:no-underline")},l.createElement("div",null,l.createElement(p.Ed,{className:"text-2xl",width:"20px",height:"20px"})),l.createElement("div",{className:"text-xs md:text-base"},l.createElement("div",{className:"mb-0 text-gray-500 dark:text-gray-400"},"akashsingh3031"))),l.createElement("a",{target:"_blank",href:"https://www.instagram.com/akash.singh3031",rel:"noreferrer",className:(0,n.c)("flex h-max flex-row justify-start gap-3","dark:bg-gray-900","p-2","no-underline hover:no-underline")},l.createElement("div",null,l.createElement(p.Yf,{className:"text-2xl",width:"20px",height:"20px"})),l.createElement("div",{className:"text-xs md:text-base"},l.createElement("div",{className:"mb-0 text-gray-500 dark:text-gray-400"},"akash.singh3031"))),l.createElement("a",{target:"_blank",href:"https://x.com/akashsingh3031",rel:"noreferrer",className:(0,n.c)("flex h-max flex-row justify-start gap-3","dark:bg-gray-900","p-2","no-underline hover:no-underline")},l.createElement("div",null,l.createElement(p.AH,{className:"text-2xl",width:"20px",height:"20px"})),l.createElement("div",{className:"text-xs md:text-base"},l.createElement("div",{className:"mb-0 text-gray-500 dark:text-gray-400"},"akashsingh3031")))))),l.createElement("div",{className:(0,n.c)("flex flex-col landing-md:flex-col gap-1 landing-lg:max-w-[800px] w-full mx-auto")},l.createElement("div",{className:(0,n.c)("landing-lg:min-w-[735px]","flex flex-wrap","mt-6 lg:mt-10","border dark:border-gray-700 border-gray-200","bg-gray-50 dark:bg-gray-800","w-full","rounded-2xl landing-sm:rounded-[32px]","gap-2 landing-sm:gap-4","p-2 landing-sm:p-4","relative","group/showcase","landing-lg:overflow-hidden")},l.createElement("div",{className:(0,n.c)("flex","w-full","gap-2")},l.createElement("div",{className:(0,n.c)("rounded-3xl","overflow-y-auto","flex","w-full","gap-2","scrollbar-hidden","snap snap-x snap-mandatory","snap-mandatory")},l.createElement("div",{className:(0,n.c)("rounded-3xl","flex","w-auto","landing-lg:w-full","items-center","justify-start","gap-2","relative","bg-gray-0 dark:bg-gray-900")},l.createElement("div",{className:(0,n.c)("hidden landing-sm:block","flex-1","rounded-3xl","h-full","bg-gray-200 dark:bg-gray-700","absolute","left-0","top-0","transition-transform","duration-150","ease-out"),style:{width:`calc((100% - (${S.length-1} * 8px)) / ${S.length})`,minWidth:"244px",transform:`translateX(calc((100% + 8px) * ${S.findIndex((e=>e.name===t.name))})) translateZ(0px)`}}),S.map(((e,a)=>l.createElement("button",{key:e.name,type:"button",onClick:t=>{var n,l,o;r(e),null===(l=null===(o=t.currentTarget.parentElement)||void 0===o?void 0:o.parentElement)||void 0===l||null===(n=l.scrollTo)||void 0===n||n.call(l,{left:a>=2?252*a:0,behavior:"smooth"})},className:(0,n.c)("z-[1]","snap-start","appearance-none","focus:outline-none","border-none","flex-1","break-keep","whitespace-nowrap","landing-sm:min-w-[244px]","py-2","landing-sm:py-3.5","px-4","rounded-3xl","transition-colors","ease-in-out","duration-150",t.name!==e.name&&"bg-transparent",t.name===e.name&&"bg-gray-200 dark:bg-gray-700",t.name!==e.name&&"text-gray-600 dark:text-gray-400",t.name===e.name&&"text-gray-900 dark:text-gray-0","landing-sm:bg-transparent","dark:landing-sm:bg-transparent","transition-colors","duration-150","ease-out","text-xs","landing-sm:text-sm")},e.name)))))),l.createElement("div",{className:(0,n.c)("rounded-lg","landing-md:rounded-xl","landing-lg:rounded-2xl","overflow-hidden","shadow-sm shadow-gray-200 dark:shadow-none","relative","group/showcase-inner","w-full")},l.createElement(a,{className:(0,n.c)("animate-showcase-reveal","absolute","left-0","top-0","w-full","rounded-lg","landing-md:rounded-xl","landing-lg:rounded-2xl","overflow-hidden")})))))};var L=r(6280);const A=()=>{const{colorMode:e}=(0,m.U)();return l.createElement(l.Fragment,null,l.createElement(a.c,{title:"About | AkashSingh3031"},l.createElement("html",{"data-page":"about","data-customized":"true"})),l.createElement(s.C,{description:"Explore AkashSingh3031's future goals and aspirations. Learn about his plans for web development and Machine Learning. Click to see his vision."},l.createElement("div",{className:(0,n.c)()},l.createElement(i.m,null),l.createElement("div",{className:(0,n.c)("flex flex-col","gap-12 landing-sm:gap-20 landing-md:gap-28 landing-lg:gap-40","pb-12 landing-sm:pb-16 landing-md:pb-20 landing-lg:pb-40","mx-auto")},l.createElement(M,{className:(0,n.c)("h-auto landing-md:h-[432px]","mt-4 landing-sm:mt-8 landing-lg:mt-8","px-4 landing-sm:px-0","landing-lg:pr-12")})),l.createElement(c.A,null))))};function D(){const e=l.useRef(null),[t,r]=l.useState(!0);return l.useEffect((()=>{r(!0);const t=new o.w(e.current,{intensity:38,explosion:8});t.start();const a=setTimeout((()=>{r(!1),setTimeout((()=>{t.pause(),t.clear(),t.stop()}),500)}),8e3);return()=>{r(!1),setTimeout((()=>{t.pause(),t.clear(),t.stop()}),500),clearTimeout(a)}}),[]),l.createElement(s.C,null,l.createElement(A,null),l.createElement("div",{ref:e,style:{top:0,left:0,width:"100%",height:"100%",position:"fixed",zIndex:99999,pointerEvents:"none",opacity:t?1:0,transition:"opacity 500ms ease-in-out"}}),l.createElement(L.c,null))}},3951:(e,t,r)=>{r.d(t,{A:()=>c});var a=r(4971),n=r(1504),l=r(7708),o=r(204);const c=()=>n.createElement("footer",{className:(0,a.c)("py-4","px-4","dark:bg-gray-800 bg-gray-0","border-t dark:border-t-gray-700 border-t-gray-300")},n.createElement("div",{className:(0,a.c)("mx-auto","flex w-full items-center justify-between","flex-col-reverse sm:flex-row gap-8")},n.createElement("div",{className:(0,a.c)("text-sm","leading-6","dark:text-gray-400 text-gray-500")},"Copyright \xa9 ",(new Date).getFullYear()," PrepVerse"," ",n.createElement(o.Q,{className:"text-refine-red ml-2 inline leading-6"})," ",n.createElement("br",null),"Built with Docusaurus & Refine."),n.createElement("div",{className:(0,a.c)("flex flex-col sm:flex-row justify-center items-center")},n.createElement("div",{className:(0,a.c)("dark:text-gray-100 text-gray-800","text-sm leading-6","sm:mr-4")},"Connect with me on"),n.createElement("div",{className:(0,a.c)("flex gap-4","dark:text-gray-400 text-gray-500","mt-4 sm:mt-0")},l.AR.map((({href:e,icon:t},r)=>n.createElement("a",{key:r,href:e,target:"_blank",rel:"noreferrer",className:(0,a.c)("flex items-center no-underline")},n.createElement(t,{className:(0,a.c)("w-9 h-9 sm:w-8 sm:h-8")}))))))))},6968:(e,t,r)=>{r.d(t,{m:()=>z});var a=r(9184),n=r(4971),l=r(3200),o=r(344),c=r(6076),i=r(1504),s=r(1980),m=r(8804),d=r(6098);const u=[{isPopover:!0,label:"Docs",items:[{label:"Foundation Docs",description:"Learn C++, Python & Java",link:"/docs",icon:d.C3},{label:"DSA Docs",description:"Learning DSA in C++, Python & Java",link:"/docs/1.DS.Algo",icon:d.uI}]},{isPopover:!0,label:"CodePoint",items:[{label:"Expert Sheet Solutions",description:"Most popular coding questions solutions asked during SDE interviews.",link:"https://prepverse.github.io/CodePoint/preface",icon:d.C3},{label:"Coding Ninjas Series",description:"Coding Ninjas Studio Guided Path Solutions",link:"https://prepverse.github.io/CodePoint/learning_resources/CN_Series/preface",icon:d.oh},{label:"LeetVerse",description:"Leetcode problem solutions with full probelm statements in C++, Python & Java",link:"https://prepverse.github.io/LeetVerse",icon:d.Ew}]},{isPopover:!0,label:"About",items:[{label:"About Me",description:"My information.",link:"/AkashSingh3031",icon:d.kv},{label:"Project Showcase",description:"PrepVerse open-source projects",link:"/showcase",icon:d.w9},{label:"My Portfolio",description:"All info about me",link:"https://prepverse.github.io/portfolio",icon:d.BE}]},{isPopover:!1,label:"Blog",href:"/blog",icon:d.s1},{isPopover:!1,label:"PrepVerse Community",href:"/prepverse-community",icon:d.vn}],g=({item:e,variant:t="landing"})=>{const r=e.icon;return i.createElement(a.c,{to:e.link,className:"no-underline"},i.createElement("div",{className:(0,n.c)("flex items-center","p-4","transition duration-150 ease-in-out","rounded-lg","hover:bg-gray-100","landing"===t&&"dark:hover:bg-gray-800","blog"===t&&"dark:hover:bg-refine-react-8")},i.createElement("div",{className:"shrink-0"},i.createElement(r,null)),i.createElement("div",{className:"ml-2"},i.createElement("div",{className:(0,n.c)("landing"===t&&"text-gray-900 dark:text-white","blog"===t&&"text-refine-react-8 dark:text-refine-react-3","font-semibold")},e.label),i.createElement("div",{className:(0,n.c)("landing"===t&&"text-gray-500 dark:text-gray-400","blog"===t&&"text-refine-react-5 dark:text-refine-react-4","text-xs")},e.description))))},f=({item:e})=>{const[t,r]=(0,i.useState)(null);(0,i.useEffect)((()=>(r(localStorage.getItem("theme")||null),window.addEventListener("storage",l,!1),()=>{window.removeEventListener("storage",l,!1)})),[]);const l=()=>{r(localStorage.getItem("theme")||null)};let o=e.icon;return"Cloud"===e.label&&(o="light"===t?d.oz:e.icon),i.createElement(a.c,{key:e.label,to:e.href,className:(0,n.c)("inline-flex items-center gap-2","text-sm leading-6 font-normal text-gray-900 dark:text-gray-300","transition-colors duration-150 ease-in-out","no-underline","Hackathon"===e.label?["py-1","px-2","rounded-lg","bg-hackathon-button-bg","animate-hackathon-button-bg","bg-refine-bg","text-gray-0","bg-[length:200%_100%]","text-[14px]","hover:text-gray-0"]:["hover:text-gray-900 dark:hover:text-white"])},e.icon&&i.createElement(o,null),e.label)};var p=r(640),b=r(5224),h=r(2424),y=r(4577);const x=({item:e,variant:t="landing",children:r})=>{const[a,l]=(0,i.useState)(!1),o=i.useRef(null),c=i.useRef(null),s=(0,p.IT)();return i.useEffect((()=>{l(!1)}),[s]),i.createElement(b._,{id:`popover-${e.label}`,key:e.label,className:(0,n.c)("relative","inline-flex items-center"),onMouseEnter:()=>{c.current=setTimeout((()=>l(!0)),210),clearTimeout(o.current)},onMouseLeave:()=>{o.current=setTimeout((()=>l(!1)),210),clearTimeout(c.current)}},(()=>i.createElement(i.Fragment,null,i.createElement(b._.Button,{className:(0,n.c)("inline-flex items-center","text-sm leading-6","font-normal")},i.createElement("span",{className:(0,n.c)("landing"===t&&"text-gray-900 dark:text-gray-300","blog"===t&&"text-refine-react-8 dark:text-refine-react-3","transition-colors duration-150 ease-in-out inline-block")},e.label),i.createElement(y.w,{"aria-hidden":"true",className:(0,n.c)("transition duration-150 ease-out","-mr-2","landing"===t&&"text-gray-500 dark:text-gray-400","blog"===t&&"text-refine-react-4",a?"translate-y-0.5":"")})),i.createElement(h.O,{as:i.Fragment,enter:"transition ease-in duration-150",enterFrom:"opacity-0 translate-y-3",enterTo:"opacity-100 translate-y-0",leave:"transition ease-out duration-150",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 translate-y-3",show:a},i.createElement(b._.Panel,{className:(0,n.c)("absolute","z-50","top-12",{"-left-32 center-point":"Docs"===e.label||"About"===e.label,"left-point":"CodePoint"===e.label})},i.createElement(d.WR,{id:e.label,variant:t,className:(0,n.c)("absolute","top-[-9px]",{"left-1/2":"CodePoint"!==e.label,"left-12":"CodePoint"===e.label}),style:{transform:"translateX(-50%)"}}),i.createElement("div",{className:(0,n.c)("overflow-hidden","rounded-xl","landing"===t&&"border dark:border-gray-700 border-gray-200","landing"===t&&"dark:shadow-menu-dark shadow-menu-light","blog"===t&&"border border-refine-react-3 dark:border-refine-react-6","blog"===t&&"dark:shadow-menu-blog-dark shadow-menu-blog-light")},r))))))},v=({variant:e="landing"})=>i.createElement(i.Fragment,null,u.map((t=>t.isPopover?i.createElement(x,{key:`navbar-${t.label}`,item:t,variant:e},"CodePoint"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,n.c)("grid grid-cols-2 gap-4","p-4","w-[672px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(g,{key:t.label,item:t,variant:e})))),i.createElement(a.c,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,n.c)("border-t","blog"===e&&"border-refine-react-3 dark:border-refine-react-6","landing"===e&&"border-gray-300 dark:border-gray-700","landing"===e&&"bg-gray-100 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-7","flex items-center","py-4 px-7")},i.createElement(d._2,null),i.createElement("div",{className:(0,n.c)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))),"About"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,n.c)("grid gap-4","p-4","w-[336px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(g,{key:t.label,item:t,variant:e})))),i.createElement("div",{className:(0,n.c)("border-t","blog"===e&&"border-refine-react-3 dark:border-refine-react-6","landing"===e&&"border-gray-300 dark:border-gray-700","landing"===e&&"bg-gray-100 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-7","flex justify-between items-center","py-4 px-7")},i.createElement("div",{className:(0,n.c)("landing"===e&&"text-gray-600 dark:text-gray-400 ","blog"===e&&"text-refine-react-5 dark:text-refine-react-4")},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(a.c,{to:"https://github.com/AkashSingh3031",className:(0,n.c)("no-underline","hover:text-inherit")},i.createElement(d.A9,{className:"dark:text-gray-400 text-gray-500"})),i.createElement(a.c,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(d.Ed,null)),i.createElement(a.c,{to:"https://instagram.com/akash.singh3031"},i.createElement(d.Yf,null)),i.createElement(a.c,{to:"https://x.com/akashsingh3031"},i.createElement(d.CC,null))))),"Docs"===t.label&&i.createElement("div",{className:(0,n.c)("grid gap-4","p-4","w-[336px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(g,{key:t.label,item:t,variant:e}))))):i.createElement(f,{key:`navbar-${t.label}`,item:t,variant:e}))));var w=r(2276),E=r(7008),O=r(9072),C=r(2268);function k(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const N=e=>i.createElement("svg",function(e){for(var t=1;ti.createElement("svg",function(e){for(var t=1;t{const[c,s]=(0,i.useState)(null),m=null!=r?r:a.c,u=void 0!==l&&void 0===t;return(0,i.useEffect)((()=>{const e=document.querySelector("html").getAttribute("data-theme");s(e)}),[]),i.createElement(m,function(e){for(var t=1;t{const r=(0,p.IT)();return i.useEffect((()=>{t(!1)}),[r]),i.createElement(Z,{isModalOpen:e,setIsModalOpen:t},i.createElement(B,{className:(0,n.c)("hidden landing-sm:block","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}),i.createElement(H,{className:(0,n.c)("block landing-sm:hidden","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}))},Z=({isModalOpen:e,setIsModalOpen:t,children:r})=>i.createElement(h.O,{appear:!0,show:e,as:i.Fragment},i.createElement(w.C,{as:"div",className:"relative z-10",onClose:()=>t(!1)},i.createElement(h.O.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},i.createElement("div",{className:(0,n.c)("fixed inset-0","bg-gray-0 dark:bg-gray-900","flex","flex-col")},i.createElement(L.Q,null),i.createElement("div",{className:(0,n.c)("flex items-center justify-between","p-4","landing-sm:px-8")},i.createElement(m.m,{className:"dark:text-gray-0 text-gray-900"}),i.createElement("button",{type:"button",className:(0,n.c)("rounded-lg","hover:brightness-105","active:scale-90","transition-transform duration-75 ease-in-out")},i.createElement(C.O,{className:"text-gray-900 dark:text-white",onClick:()=>t(!1)}))),i.createElement(h.O.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-75",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95"},i.createElement("div",{className:(0,n.c)("flex-1","overflow-y-auto","px-4","pb-4")},r)))))),B=e=>i.createElement("div",{className:(0,n.c)(e.className)},u.map(((e,t)=>{const r="icon"in e&&e.icon;return i.createElement("div",{key:t,className:(0,n.c)("not-prose","p-4","border-t dark:border-gray-700 border-gray-200")},i.createElement(a.c,{to:"href"in e?e.href:void 0,className:(0,n.c)("appearance-none","block","no-underline","dark:text-gray-0 text-gray-900","font-bold")},i.createElement("div",{className:(0,n.c)("flex items-center gap-2")},i.createElement("div",null,e.label),r&&i.createElement(r,null))),"items"in e&&i.createElement("div",{className:(0,n.c)("mt-2","grid grid-cols-2 min-[800px]:grid-cols-3","gap-x-8 gap-y-4")},e.items.map((e=>i.createElement(g,{key:e.label,item:e})))))})),i.createElement(_,null),i.createElement(F,{id:"tablet"}),i.createElement(R,{id:"tablet"})),H=e=>i.createElement("div",{className:(0,n.c)(e.className)},i.createElement("div",{className:"flex-grow"},u.map((e=>e.isPopover?i.createElement(E.C,{key:`modal-${e.label}`},(({open:t})=>i.createElement(i.Fragment,null,i.createElement(M,{component:E.C.Button,label:e.label,open:t}),i.createElement(E.C.Panel,{className:(0,n.c)(t&&"pb-4",t&&"border-b border-gray-200 dark:border-gray-700")},e.items.map((e=>i.createElement(g,{key:e.label,item:e}))))))):i.createElement(M,{key:`modal-${e.label}`,label:e.label,href:e.href,icon:e.icon})))),i.createElement(_,null),i.createElement(F,{id:"phone"}),i.createElement(R,{id:"phone"})),R=e=>{var t;return i.createElement(a.c,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,n.c)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex items-center","p-4")},i.createElement(d._2,{id:(null===(t=e)||void 0===t?void 0:t.id)||""}),i.createElement("div",{className:(0,n.c)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))},F=e=>{var t;return i.createElement("div",{className:(0,n.c)("bg-white dark:bg-gray-700 header-sm:bg-inherit","flex justify-between items-center","header-sm:flex-col header-sm:gap-4","header-sm:border-b border-gray-200 dark:border-gray-600","py-3 px-4")},i.createElement("p",{className:"text-gray-500 dark:text-gray-300 font-semibold"},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(a.c,{to:"https://github.com/AkashSingh3031"},i.createElement(d.A9,{className:"h-10 w-10"})),i.createElement(a.c,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(d.Ed,{className:"h-10 w-10"})),i.createElement(a.c,{to:"https://instagram.com/akash.singh3031"},i.createElement(d.Yf,{className:"h-10 w-10",id:(null===(t=e)||void 0===t?void 0:t.id)||""})),i.createElement(a.c,{to:"https://x.com/akashsingh3031"},i.createElement(d.CC,{className:"h-10 w-10"}))))},_=()=>{const{colorMode:e,setColorMode:t}=(0,O.U)(),r=()=>{t("dark"===e?"light":"dark")},a="dark"===e,l="light"===e;return i.createElement("div",{className:(0,n.c)("not-prose","p-4","flex items-center")},i.createElement("div",{className:(0,n.c)("text-sm","mr-10","dark:text-gray-400 text-gray-600")},"Apperance"),i.createElement("button",{onClick:r,className:(0,n.c)("mr-4","rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200","text-gray-500",l&&"bg-gray-50")},i.createElement(D.G,null),"Light"),i.createElement("button",{onClick:r,className:(0,n.c)("rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200",a?"text-gray-400":"text-gray-500",a&&"bg-gray-700")},i.createElement(A.g,null),"Dark"))};var T=r(9253),G=r(2700),$=r(5792),I=r(6936);const U=()=>{const{loading:e,githubStarCountText:t}=(0,G.wx)();return i.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank",rel:"noreferrer",className:(0,n.c)("flex gap-2 items-center","font-normal","text-sm leading-6","text-gray-500 dark:text-gray-400","hover:text-gray-400 dark:hover:text-gray-300","hover:no-underline","transition-colors","duration-200","ease-in-out")},i.createElement($.A,{className:(0,n.c)("w-5 h-5")}),i.createElement("div",{className:(0,n.c)("flex items-center","w-10 h-6")},e?i.createElement(I.c,{className:(0,n.c)("w-5 h-5"),wrapperProps:{className:(0,n.c)("mx-auto")}}):i.createElement("span",null,t)))},z=({trackProgress:e,variant:t="landing",className:r})=>{const[d,u]=(0,i.useState)(!1),{scrollYProgress:g}=(0,l.Q)(),f=(0,o.s)(g,[.03,.95],["0%","100%"]);return i.createElement(i.Fragment,null,i.createElement(L.Q,null),i.createElement("header",{className:(0,n.c)("sticky","top-0","z-10")},i.createElement("div",{className:(0,n.c)("absolute","top-0 left-0 right-0","backdrop-blur-[6px]","landing-md:backdrop-blur-[12px]","z-[-1]","bg-gray-0 dark:bg-gray-800","bg-opacity-80 dark:bg-opacity-80","pointer-events-none",r),style:{top:"-20px",bottom:"-80px",WebkitMaskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))",maskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))"}}),i.createElement("div",{className:(0,n.c)("relative","z-[1]","p-4","landing-sm:px-8","landing-md:py-5")},i.createElement("div",{className:(0,n.c)("mx-auto","flex","items-center","justify-between","max-w-[896px]","landing-lg:max-w-[1200px]")},i.createElement("div",{className:(0,n.c)("w-[130px]","landing-lg:w-[200px]")},i.createElement(a.c,{to:"/"},i.createElement(m.m,{className:"text-gray-900 dark:text-gray-0"}))),i.createElement("button",{type:"button",className:(0,n.c)("text-gray-900 dark:text-gray-0","block landing-md:hidden"),onClick:()=>u(!0)},i.createElement(s.m,null)),i.createElement("div",{className:(0,n.c)("hidden landing-md:flex","flex-1","items-center","gap-8")},i.createElement(v,{variant:t})),i.createElement("div",{className:(0,n.c)("hidden landing-md:flex","items-center","justify-end","gap-4","w-[130px]","landing-lg:w-[200px]")},i.createElement(U,null),i.createElement(T.C,null)),i.createElement(V,{isModalOpen:d,setIsModalOpen:u}))),e&&i.createElement("div",{className:(0,n.c)("w-full","h-[1.5px]","translate","bg-refine-react-3 dark:bg-refine-react-7")},i.createElement(c.q.div,{className:(0,n.c)("h-full","bg-refine-react-light-link dark:bg-refine-react-dark-link"),style:{width:f}}))))}},9253:(e,t,r)=>{r.d(t,{C:()=>i,O:()=>m});var a=r(1504),n=r(4971),l=r(9072),o=r(3756),c=r(5372);const i=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,l.U)();return a.createElement("button",{type:"button",className:(0,n.c)("appearance-none","focus:outline-none","relative","w-10 h-10","rounded-full","border","border-solid","border-gray-300 dark:border-gray-700","text-gray-500","transition-colors","duration-150","ease-in-out","overflow-hidden","flex-shrink-0","group",e),onClick:()=>{r("dark"===t?"light":"dark")}},a.createElement("div",{className:(0,n.c)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","translate-y-0","dark:-translate-y-10","duration-200","ease-in-out","transition-transform")},a.createElement(o.G,null)),a.createElement("div",{className:(0,n.c)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","-translate-y-10","dark:translate-y-0","duration-200","ease-in-out","transition-transform")},a.createElement(c.g,null)))},s=[{name:"light",icon:o.G,label:"Light"},{name:"dark",icon:c.g,label:"Dark"}],m=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,l.U)();return a.createElement("div",{className:(0,n.c)("flex","items-center","gap-4","justify-start",e)},s.map((({name:e,label:l,icon:o})=>a.createElement("button",{type:"button",key:e,className:(0,n.c)("appearance-none","focus:outline-none","py-1","pl-1.5","pr-3","flex","items-center","justify-center","gap-1","rounded-[40px]","text-gray-400","border border-solid","border-gray-200","dark:border-gray-600",t===e&&"bg-gray-100 dark:bg-gray-700"),onClick:()=>{r(e)}},a.createElement(o,{className:(0,n.c)("w-4 h-4")}),a.createElement("span",{className:(0,n.c)("text-sm")},l)))))}},5048:(e,t,r)=>{r.d(t,{G:()=>s});var a=r(1504),n=r(9072),l=r(8164);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function i(e,t){if(null==e)return{};var r,a,n=function(e,t){if(null==e)return{};var r,a,n={},l=Object.keys(e);for(a=0;a=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}const s=e=>{var{srcDark:t,srcLight:r,srcSetDark:s,srcSetLight:m}=e,d=i(e,["srcDark","srcLight","srcSetDark","srcSetLight"]);const{colorMode:u}=(0,n.U)(),g="dark"===u?t:r,f="dark"===u?s:m;return a.createElement(l.c,null,(()=>a.createElement("img",c(function(e){for(var t=1;t{r.d(t,{o0:()=>f,yw:()=>u,wd:()=>g,AR:()=>p});var a=r(1504);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}function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var m=r(6098),d=r(4252);const u=[{label:"Resources",items:[{label:"Getting Started",href:"/docs"},{label:"Blog",href:"/blog"},{label:"Project Showcase",icon:a.createElement(m.KU,null),href:"/showcase"},{label:"Community",icon:a.createElement(m.KU,null),href:"/prepverse-community"}]},{label:"Product",items:[{label:"CodePoint",icon:a.createElement(d.i,null),href:"https://prepverse.github.io/CodePoint"},{label:"LeetVerse",icon:a.createElement(d.i,null),href:"https://prepverse.github.io/LeetVerse"}]},{label:"About",items:[{label:"About Me",href:"/AkashSingh3031"},{label:"Portfolio",icon:a.createElement(d.i,null),href:"https://prepverse.github.io/portfolio"}]}],g=[{label:"License",href:"https://github.com/PrepVerse/prepverse.github.io/blob/master/LICENSE"}],f="Thank you for visiting, Connect with me over socials.",p=[{icon:e=>a.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;t{r.d(t,{w:()=>l});var a=r(1504);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}const l=e=>a.createElement("svg",function(e){for(var t=1;t{r.d(t,{g:()=>l});var a=r(1504);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}const l=e=>a.createElement("svg",function(e){for(var t=1;t{r.d(t,{i:()=>l});var a=r(1504);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}const l=e=>a.createElement("svg",function(e){for(var t=1;t{r.d(t,{A:()=>o,i:()=>c});var a=r(1504);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}function l(e){for(var t=1;ta.createElement("svg",l({width:12,height:12,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.053 0A10.904 10.904 0 0 0 3.89 2.685 11.34 11.34 0 0 0 .142 9.472a11.48 11.48 0 0 0 1.456 7.65 11.087 11.087 0 0 0 5.964 4.86c.556.103.752-.25.752-.547v-1.918C5.23 20.202 4.58 18 4.58 18a3.012 3.012 0 0 0-1.227-1.655c-.997-.692.081-.692.081-.692.35.05.683.18.975.382.293.202.536.469.713.78.15.278.352.523.595.721a2.312 2.312 0 0 0 2.618.221c.042-.57.283-1.105.678-1.509-2.454-.284-5.03-1.253-5.03-5.539a4.415 4.415 0 0 1 1.132-3.025A4.194 4.194 0 0 1 5.224 4.7s.928-.305 3.036 1.156c1.81-.508 3.72-.508 5.531 0 2.108-1.46 3.03-1.156 3.03-1.156.406.936.455 1.993.135 2.963a4.415 4.415 0 0 1 1.132 3.026c0 4.334-2.582 5.282-5.043 5.538.264.271.468.597.598.955.13.358.182.741.155 1.122V21.4c0 .367.196.65.759.54a11.093 11.093 0 0 0 5.88-4.878 11.481 11.481 0 0 0 1.419-7.6 11.34 11.34 0 0 0-3.71-6.746A10.907 10.907 0 0 0 11.053 0Z",fill:"currentColor"})),c=e=>a.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},e),a.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.066.001a11.91 11.91 0 0 1 7.745 2.966 12.326 12.326 0 0 1 4.032 7.33 12.46 12.46 0 0 1-1.54 8.245 12.088 12.088 0 0 1-6.406 5.314l-.105.037-.11.021c-.508.1-1.232.093-1.83-.422-.577-.498-.681-1.166-.681-1.565v-3.008l.004-.053a1.102 1.102 0 0 0-.062-.453 1.058 1.058 0 0 0-.235-.377l-.839-.86-.863.882a.802.802 0 0 0-.224.502l-.015.217v3.183c0 .434-.14 1.029-.628 1.492-.541.514-1.246.62-1.864.505l-.108-.02-.104-.035a12.082 12.082 0 0 1-6.498-5.296 12.457 12.457 0 0 1-1.58-8.298c.45-2.86 1.891-5.471 4.073-7.375A11.909 11.909 0 0 1 12.05.001h.016Zm-10.43 10.54a10.957 10.957 0 0 0 1.39 7.303 10.58 10.58 0 0 0 5.693 4.638c.53.099.717-.238.717-.522v-1.83c-.588.13-1.083.15-1.5.1a2.95 2.95 0 0 1-.542-.117 2.551 2.551 0 0 1-.422-.176 2.362 2.362 0 0 1-.82-.72c-.208-.294-.28-.535-.28-.535a2.876 2.876 0 0 0-1.17-1.58l-.016-.01c-.925-.65.093-.65.093-.65.106.015.21.038.313.068l.017.005a2.172 2.172 0 0 1 .962.603c.122.13.23.276.319.433a2.29 2.29 0 0 0 .68.775h.002s0 .001 0 0a2.211 2.211 0 0 0 2.385.124v-.014a2.302 2.302 0 0 1 .647-1.427 8.754 8.754 0 0 1-1.625-.328 4.865 4.865 0 0 1-1.416-.695 3.883 3.883 0 0 1-.432-.365c-.8-.786-1.328-2.002-1.328-3.899a4.214 4.214 0 0 1 1.08-2.887 4.003 4.003 0 0 1 .104-2.848s.886-.291 2.898 1.103a9.762 9.762 0 0 1 5.28 0c2.011-1.393 2.891-1.103 2.891-1.103.388.893.434 1.902.13 2.828a4.214 4.214 0 0 1 1.08 2.888c0 3.166-1.444 4.44-3.174 4.972a8.617 8.617 0 0 1-1.64.314 2.558 2.558 0 0 1 .699 1.425c.026.184.033.371.02.558v2.955c0 .35.187.62.724.515a10.588 10.588 0 0 0 5.613-4.656 10.958 10.958 0 0 0 1.354-7.254 10.824 10.824 0 0 0-3.541-6.439 10.41 10.41 0 0 0-6.77-2.592 10.408 10.408 0 0 0-6.837 2.563 10.824 10.824 0 0 0-3.578 6.478ZM16.374 7.8a8.003 8.003 0 0 0-.856.524l-.58.401-.679-.19a8.262 8.262 0 0 0-4.469 0l-.68.19-.58-.402a7.982 7.982 0 0 0-.846-.519c.019.186.059.37.12.549l.282.832-.588.653a2.714 2.714 0 0 0-.696 1.86v.024c0 1.724.503 2.513.998 2.937.563.481 1.397.736 2.476.86l1.567.182 1.954-.204c1.082-.112 1.912-.358 2.47-.833.492-.418.999-1.209.999-2.96v-.026a2.714 2.714 0 0 0-.696-1.86l-.582-.647.273-.826c.058-.178.096-.36.113-.545Z",clipRule:"evenodd"}))},1980:(e,t,r)=>{r.d(t,{m:()=>l});var a=r(1504);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}const l=e=>a.createElement("svg",function(e){for(var t=1;t{r.d(t,{Q:()=>l});var a=r(1504);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}const l=e=>a.createElement("svg",function(e){for(var t=1;t{r.d(t,{G:()=>l});var a=r(1504);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}const l=e=>a.createElement("svg",function(e){for(var t=1;t{r.d(t,{s1:()=>c,wR:()=>s,QD:()=>d,vn:()=>g,kv:()=>p,uI:()=>h,A9:()=>x,_2:()=>w,Ew:()=>O,Yf:()=>k,oh:()=>j,Ed:()=>S,BE:()=>L,KU:()=>V,WR:()=>_,w9:()=>G,CC:()=>I,AH:()=>J,oz:()=>K,C3:()=>Y});var a=r(1504);var n=r(4971);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const c=e=>a.createElement("svg",o(function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;t{const{colorMode:t}=(0,A.U)();return a.createElement("div",{className:(0,n.c)("relative","flex","items-center","justify-center","rounded-full","overflow-hidden","p-px","dark:bg-[#194b3a] bg-[#b7dbff]"),style:{transform:"translateZ(0)"}},a.createElement("div",{className:(0,n.c)("z-[1]","absolute","inset-0","dark:bg-new-badge-border-dark bg-new-badge-border-light","animate-new-badge-border")}),a.createElement("svg",function(e){for(var t=1;t=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var R,F;const _=e=>{var{variant:t="landing"}=e,r=H(e,["variant"]);return a.createElement("svg",B(function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",z(function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;t{r.d(t,{m:()=>l});var a=r(1504);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}const l=e=>a.createElement("svg",function(e){for(var t=1;t{r.d(t,{m:()=>c,q:()=>i});var a=r(9184),n=r(4971),l=r(1504);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=({children:e,className:t,to:r,onClick:o,icon:c})=>l.createElement(a.c,{to:r,target:"_blank",rel:"noopener noreferrer",onClick:o,className:(0,n.c)(t,"select-none","group/cta-button","relative","no-underline","rounded-full","flex","items-center","justify-center","gap-2","py-2 pr-2 pl-4","landing-sm:py-3 landing-sm:pr-4 landing-sm:pl-6","text-xs landing-sm:text-base","font-semibold","dark:text-refine-cyan-alt text-refine-blue","dark:bg-refine-cyan-alt/10 bg-refine-blue/10","overflow-hidden")},e,c||l.createElement(s,null),l.createElement("div",{className:(0,n.c)("select-none","rounded-3xl","absolute","left-0","top-0","w-full","h-full","scale-[2]","origin-center","transition-[opacity,transform]","duration-300","ease-in-out","opacity-0","group-hover/cta-button:opacity-100","group-hover/cta-button:scale-100","pointer-events-none","bg-landing-copy-command-hover-bg-light dark:bg-landing-copy-command-hover-bg-dark")})),i=({children:e,className:t,to:r,onClick:o,icon:c})=>l.createElement(a.c,{to:r,target:"_blank",rel:"noopener noreferrer",onClick:o,className:(0,n.c)(t,"select-none","landing-sm:max-w-[293px]","mx-auto","group/cta-button","relative","no-underline","rounded-full","flex","items-center","justify-center","gap-2","py-3 pr-4 pl-6","text-base","font-semibold","dark:text-refine-cyan-alt text-refine-blue","dark:bg-refine-cyan-alt/10 bg-refine-blue/10","overflow-hidden")},e,c||l.createElement(s,null),l.createElement("div",{className:(0,n.c)("select-none","rounded-3xl","absolute","left-0","top-0","w-full","h-full","scale-[2]","origin-center","transition-[opacity,transform]","duration-300","ease-in-out","opacity-0","group-hover/cta-button:opacity-100","group-hover/cta-button:scale-100","pointer-events-none","bg-landing-copy-command-hover-bg-light dark:bg-landing-copy-command-hover-bg-dark")})),s=e=>l.createElement("svg",function(e){for(var t=1;t{r.d(t,{c:()=>i});var a=r(4971),n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;t=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}const i=e=>{var{className:t,wrapperProps:r}=e,l=c(e,["className","wrapperProps"]);return n.createElement("div",o({role:"status"},r),n.createElement("svg",o({"aria-hidden":"true",width:24,height:24,viewBox:"0 0 100 100",className:(0,a.c)("text-gray-200 animate-spin dark:text-gray-600 fill-refine-blue",t),fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),n.createElement("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),n.createElement("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})),n.createElement("span",{className:"sr-only"},"Loading..."))}},252:(e,t,r)=>{r.d(t,{Q:()=>i});var a=r(4971),n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;tn.createElement("div",{className:(0,a.c)("w-full h-12","relative","bg-top-announcement","not-prose","font-inter","z-top-announcement")},n.createElement("div",{className:(0,a.c)("hidden lg:flex","w-full h-full","max-w-screen","overflow-hidden","border-b border-solid border-[#47ebeb26]","top-announcement-mask")},n.createElement("div",{className:(0,a.c)("w-[1280px] h-full","mx-auto","flex","justify-between")},n.createElement("div",{className:(0,a.c)("w-[calc(50%-300px)] h-full","relative")},n.createElement(m,{style:{animationDelay:"1.5s"},className:(0,a.c)("absolute","top-[2px]","right-[220px]"),id:"1"}),n.createElement(m,{style:{animationDelay:"1s"},className:(0,a.c)("absolute","rotate-180","top-[8px] right-[100px]"),id:"2"}),n.createElement(d,{className:(0,a.c)("absolute","right-[10px]"),id:"3"})),n.createElement("div",{className:(0,a.c)("w-[calc(50%-300px)] h-full","relative")},n.createElement(m,{style:{animationDelay:"2s"},className:(0,a.c)("absolute","rotate-180","top-[6px] right-[180px]"),id:"4"}),n.createElement(m,{style:{animationDelay:"0.5s"},className:(0,a.c)("delay-[1300]","absolute","top-[2px]","right-[40px]"),id:"5"}),n.createElement(d,{className:(0,a.c)("absolute","right-[-70px]"),id:"6"})))),n.createElement(s,null)),s=()=>n.createElement("a",{href:"https://github.com/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,a.c)("relative lg:absolute","px-2 lg:px-0","top-0","left-[50%]","translate-x-[-50%]","bg-top-announcement-text","h-full w-full lg:w-[450px]","flex items-center justify-center","text-white","text-xs sm:text-sm","text-center","no-underline","hover:no-underline","hover:text-white","not-prose")},n.createElement("div",{className:(0,a.c)("ml-2","not-prose")},"For more updates follow","",n.createElement("span",{className:(0,a.c)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")},"@AkashSingh3031"),".")),m=e=>n.createElement("svg",c(o({xmlns:"http://www.w3.org/2000/svg",width:80,height:40,fill:"none"},e),{className:(0,a.c)("animate-top-announcement-glow","opacity-1",e.className)}),n.createElement("circle",{cx:40,r:40,fill:`url(#${e.id}-a)`,fillOpacity:.5}),n.createElement("defs",null,n.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 40 -40 0 40 0)",gradientUnits:"userSpaceOnUse"},n.createElement("stop",{stopColor:"#47EBEB"}),n.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0})))),d=e=>n.createElement("svg",c(o({xmlns:"http://www.w3.org/2000/svg",width:120,height:48,fill:"none"},e),{className:(0,a.c)("animate-top-announcement-glow","opacity-1",e.className)}),n.createElement("circle",{cx:60,cy:24,r:60,fill:`url(#${e.id}-a)`,fillOpacity:.5}),n.createElement("defs",null,n.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 60 -60 0 60 24)",gradientUnits:"userSpaceOnUse"},n.createElement("stop",{stopColor:"#47EBEB"}),n.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0}))))}}]); \ No newline at end of file diff --git a/assets/js/935f2afb.00761e4e.js b/assets/js/935f2afb.00761e4e.js new file mode 100644 index 00000000..e4f3e350 --- /dev/null +++ b/assets/js/935f2afb.00761e4e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[5696],{5988:e=>{e.exports=JSON.parse('{"pluginId":"default","version":"current","label":"Foundation","banner":null,"badge":true,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"someSidebar":[{"type":"category","label":"Getting Started","className":"category-as-header","items":[{"type":"link","label":"Overview","href":"/docs/","docId":"getting-started/overview"}],"collapsed":true,"collapsible":true},{"type":"link","href":"https://prepverse.vercel.app/prepverse-community","label":"Prepverse Community","className":"enterprise-badge"},{"type":"category","label":"Python","className":"category-as-header","items":[{"type":"category","label":"Python Foundation","items":[{"type":"link","label":"Introduction to Python","href":"/docs/python-foundation/introduction-to-python","docId":"python-foundation/introduction-to-python"},{"type":"category","label":"Python Basics","items":[{"type":"link","label":"print() in Python","href":"/docs/python-foundation/print","docId":"python-foundation/print"},{"type":"link","label":"Comments in Python","href":"/docs/python-foundation/comments","docId":"python-foundation/comments"}],"collapsed":true,"collapsible":true,"href":"/docs/python-foundation/python-basics"}],"collapsed":true,"collapsible":true,"href":"/docs/python-foundation"}],"collapsed":true,"collapsible":true}]},"docs":{"getting-started/overview":{"id":"getting-started/overview","title":"Overview","description":"Unlock a Treasure Trove of Knowledge with Our Comprehensive Repository!","sidebar":"someSidebar"},"python-foundation/comments":{"id":"python-foundation/comments","title":"Comments in Python","description":"In Python, comments play a crucial role in making your code understandable and maintainable. Let\'s explore how comments can be utilized effectively in your Python scripts:","sidebar":"someSidebar"},"python-foundation/data-types":{"id":"python-foundation/data-types","title":"Variable and Data Types","description":""},"python-foundation/getting-started":{"id":"python-foundation/getting-started","title":"Getting Started","description":"Welcome to our Python 3 tutorial! Whether you\'re new to programming or looking to expand your skills, Python is an excellent language to learn. In this tutorial, we\'ll cover the basics of Python 3, the current recommended version. While Python 2 still exists in some legacy codebases, Python 3 is the preferred choice for new projects due to its improvements and ongoing support."},"python-foundation/introduction-to-python":{"id":"python-foundation/introduction-to-python","title":"Introduction to Python","description":"Python is a widely used, general-purpose, high-level programming language.","sidebar":"someSidebar"},"python-foundation/print":{"id":"python-foundation/print","title":"print() in Python","description":"The print() function in Python is used to output messages to the screen or any other standard output device.","sidebar":"someSidebar"}}}')}}]); \ No newline at end of file diff --git a/assets/js/935f2afb.ed2c65ce.js b/assets/js/935f2afb.ed2c65ce.js deleted file mode 100644 index 67fd5950..00000000 --- a/assets/js/935f2afb.ed2c65ce.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[5696],{5988:e=>{e.exports=JSON.parse('{"pluginId":"default","version":"current","label":"Foundation","banner":null,"badge":true,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"someSidebar":[{"type":"category","label":"Getting Started","className":"category-as-header","items":[{"type":"link","label":"Overview","href":"/docs/","docId":"getting-started/overview"}],"collapsed":true,"collapsible":true},{"type":"link","href":"/prepverse-community","label":"Prepverse Community","className":"enterprise-badge"},{"type":"category","label":"Python","className":"category-as-header","items":[{"type":"category","label":"Python Foundation","items":[{"type":"link","label":"Introduction to Python","href":"/docs/python-foundation/introduction-to-python","docId":"python-foundation/introduction-to-python"},{"type":"category","label":"Python Basics","items":[{"type":"link","label":"print() in Python","href":"/docs/python-foundation/print","docId":"python-foundation/print"},{"type":"link","label":"Comments in Python","href":"/docs/python-foundation/comments","docId":"python-foundation/comments"}],"collapsed":true,"collapsible":true,"href":"/docs/python-foundation/python-basics"}],"collapsed":true,"collapsible":true,"href":"/docs/python-foundation"}],"collapsed":true,"collapsible":true}]},"docs":{"getting-started/overview":{"id":"getting-started/overview","title":"Overview","description":"Unlock a Treasure Trove of Knowledge with Our Comprehensive Repository!","sidebar":"someSidebar"},"python-foundation/comments":{"id":"python-foundation/comments","title":"Comments in Python","description":"In Python, comments play a crucial role in making your code understandable and maintainable. Let\'s explore how comments can be utilized effectively in your Python scripts:","sidebar":"someSidebar"},"python-foundation/data-types":{"id":"python-foundation/data-types","title":"Variable and Data Types","description":""},"python-foundation/getting-started":{"id":"python-foundation/getting-started","title":"Getting Started","description":"Welcome to our Python 3 tutorial! Whether you\'re new to programming or looking to expand your skills, Python is an excellent language to learn. In this tutorial, we\'ll cover the basics of Python 3, the current recommended version. While Python 2 still exists in some legacy codebases, Python 3 is the preferred choice for new projects due to its improvements and ongoing support."},"python-foundation/introduction-to-python":{"id":"python-foundation/introduction-to-python","title":"Introduction to Python","description":"Python is a widely used, general-purpose, high-level programming language.","sidebar":"someSidebar"},"python-foundation/print":{"id":"python-foundation/print","title":"print() in Python","description":"The print() function in Python is used to output messages to the screen or any other standard output device.","sidebar":"someSidebar"}}}')}}]); \ No newline at end of file diff --git a/assets/js/a6aa9e1f.4fa8bc18.js b/assets/js/a6aa9e1f.dd38e380.js similarity index 71% rename from assets/js/a6aa9e1f.4fa8bc18.js rename to assets/js/a6aa9e1f.dd38e380.js index 009235a2..58f5af11 100644 --- a/assets/js/a6aa9e1f.4fa8bc18.js +++ b/assets/js/a6aa9e1f.dd38e380.js @@ -1 +1 @@ -(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[4976],{6324:(e,t,r)=>{var n={"./plugin-route-context-module-100.json":[4634,4634]};function l(e){if(!r.o(n,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=n[e],l=t[0];return r.e(t[1]).then((()=>r.t(l,19)))}l.keys=()=>Object.keys(n),l.id=6324,e.exports=l},6280:(e,t,r)=>{"use strict";r.d(t,{c:()=>u});var n=r(1504),l=r(4971),a=r(3652),c=r(5628),o=r(476),i=r(1580);const s={backToTopButton:"backToTopButton_sjWU",backToTopButtonShow:"backToTopButtonShow_xfvO"};function u(){const{shown:e,scrollToTop:t}=function({threshold:e}){const[t,r]=(0,n.useState)(!1),l=(0,n.useRef)(!1),{startScroll:a,cancelScroll:c}=(0,o.yI)();return(0,o.SM)((({scrollY:t},n)=>{var a;const o=null===(a=n)||void 0===a?void 0:a.scrollY;o&&(l.current?l.current=!1:t>=o?(c(),r(!1)):t{e.location.hash&&(l.current=!0,r(!1))})),{shown:t,scrollToTop:()=>a(0)}}({threshold:300});return n.createElement("button",{"aria-label":(0,a.G)({id:"theme.BackToTopButton.buttonAriaLabel",message:"Scroll back to top",description:"The ARIA label for the back to top button"}),className:(0,l.c)("clean-btn",c.W.common.backToTopButton,s.backToTopButton,e&&s.backToTopButtonShow),type:"button",onClick:t})}},3270:(e,t,r)=>{"use strict";r.d(t,{c:()=>c});var n=r(1504),l=r(1080),a=r(468);function c({children:e,className:t}){const{frontMatter:r,assets:c}=(0,a.g)(),{withBaseUrl:o}=(0,l.E)();var i;const s=null!==(i=c.image)&&void 0!==i?i:r.image;return n.createElement("article",{className:t,itemProp:"blogPost",itemScope:!0,itemType:"http://schema.org/BlogPosting"},s&&n.createElement("meta",{itemProp:"image",content:o(s,{absolute:!0})}),e)}},468:(e,t,r)=>{"use strict";r.d(t,{E:()=>c,g:()=>o});var n=r(1504),l=r(8476);const a=n.createContext(null);function c({children:e,content:t,isBlogPostPage:r=!1}){const l=function({content:e,isBlogPostPage:t}){return(0,n.useMemo)((()=>({metadata:e.metadata,frontMatter:e.frontMatter,assets:e.assets,toc:e.toc,isBlogPostPage:t})),[e,t])}({content:t,isBlogPostPage:r});return n.createElement(a.Provider,{value:l},e)}function o(){const e=(0,n.useContext)(a);if(null===e)throw new l.AH("BlogPostProvider");return e}},3688:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(1504),l=r(9936);const a=["zero","one","two","few","many","other"];function c(e){return a.filter((t=>e.includes(t)))}const o={locale:"en",pluralForms:c(["one","other"]),select:e=>1===e?"one":"other"};function i(){const{i18n:{currentLocale:e}}=(0,l.c)();return(0,n.useMemo)((()=>{try{return function(e){const t=new Intl.PluralRules(e);return{locale:e,pluralForms:c(t.resolvedOptions().pluralCategories),select:e=>t.select(e)}}(e)}catch(t){return console.error(`Failed to use Intl.PluralRules for locale "${e}".\nDocusaurus will fallback to the default (English) implementation.\nError: ${t.message}\n`),o}}),[e])}function s(){const e=i();return{selectMessage:(t,r)=>function(e,t,r){const n=e.split("|");if(1===n.length)return n[0];n.length>r.pluralForms.length&&console.error(`For locale=${r.locale}, a maximum of ${r.pluralForms.length} plural forms are expected (${r.pluralForms.join(",")}), but the message contains ${n.length}: ${e}`);const l=r.select(t),a=r.pluralForms.indexOf(l);return n[Math.min(a,n.length-1)]}(r,t,e)}}},5904:(e,t,r)=>{"use strict";r.d(t,{I7:()=>a,kz:()=>o,aI:()=>u,sL:()=>m,uU:()=>Ye,UZ:()=>Xe,sH:()=>Ie,W4:()=>Ke,g3:()=>qe,Ou:()=>Gt,M7:()=>b,gv:()=>$e,U7:()=>Dt,K6:()=>jt,sT:()=>h,Dp:()=>v,m4:()=>E,Yv:()=>k,UJ:()=>N,QR:()=>rt,y:()=>S,AD:()=>lt,WA:()=>D,ai:()=>Rt,m0:()=>M,Gg:()=>B,kB:()=>T,mK:()=>F,em:()=>I,E5:()=>zt,sP:()=>Ft,_$:()=>X,gF:()=>Q,Iv:()=>$,Qh:()=>te,yK:()=>st,sW:()=>ft,Uf:()=>le,cF:()=>pt,aA:()=>ce,mO:()=>se,I1:()=>fe,_A:()=>de,CS:()=>ot,U$:()=>yt,yw:()=>gt,wA:()=>Mt,yM:()=>be,Ep:()=>ye,qy:()=>xt,sN:()=>Ce,Cu:()=>we,qQ:()=>je,oe:()=>Ve,Oq:()=>Ae,yS:()=>Le,Og:()=>Be,kn:()=>Te,od:()=>St});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const u=e=>{var{withBrandColor:t=!0}=e,r=s(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const b=e=>{var{withBrandColor:t=!0}=e,r=p(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const E=e=>{var{className:t}=e,r=x(e,["className"]);return n.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const k=e=>{var{className:t}=e,r=P(e,["className"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const B=e=>{var{withBrandColor:t=!0}=e,r=z(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",V(function(e){for(var t=1;tn.createElement("svg",W(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",K(function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const $=e=>{var{withBrandColor:t=!0}=e,r=_(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const le=e=>{var{withBrandColor:t=!0}=e,r=ne(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",ie(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const ye=e=>{var{className:t}=e,r=he(e,["className"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",Oe(function(e){for(var t=1;tn.createElement("svg",Ee(function(e){for(var t=1;tn.createElement("svg",ke(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",tt(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",ct(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",dt(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const xt=e=>{var{className:t}=e,r=wt(e,["className"]);return n.createElement("svg",Ot(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{iI:()=>l,S_:()=>o});var n=r(1504);function l({date:e,formattedDate:t}){return n.createElement("time",{dateTime:e,itemProp:"datePublished"},t)}var a=r(3688),c=r(3652);function o({readingTime:e}){const t=function(){const{selectMessage:e}=(0,a.A)();return t=>{const r=Math.ceil(t);return e(r,(0,c.G)({id:"theme.blog.post.readingTime.plurals",description:'Pluralized label for "{readingTime} min read". Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)',message:"One min read|{readingTime} min read"},{readingTime:r}))}}();return n.createElement(n.Fragment,null,t(e))}},4752:(e,t,r)=>{"use strict";r.d(t,{c:()=>a});var n=r(1504),l=r(9184);const a=()=>n.createElement("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4 md:gap-0 h-auto md:h-[150px] bg-[#5865F2] w-full rounded-2xl py-5 px-5 md:px-12"},n.createElement("div",{className:"flex items-center gap-16"},n.createElement("img",{className:"hidden md:block",src:"/img/blog-static/discord-banner.png",alt:"Discord Logo"}),n.createElement("div",{className:"text-white font-montserrat font-bold max-w-md text-center md:text-left"},n.createElement("h1",{className:"text-2xl uppercase leading-tight mb-0 font-montserrat"},"Join to refine discord server"),n.createElement("p",{className:"mb-0 text-base"},"to get help, share ideas, and discuss the latest news."))),n.createElement(l.c,{to:"https://discord.gg/refine"},n.createElement("button",{className:"bg-transparent text-white font-bold py-2 px-4 rounded-lg h-12 w-44 border-white cursor-pointer font-montserrat uppercase text-xl border-solid active:scale-[0.99]"},"Join Us")))},7396:(e,t,r)=>{"use strict";r.d(t,{c:()=>o});var n=r(1504),l=r(9184),a=r(3540);const c="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",o=()=>{const[e,t]=n.useState(0);return n.useEffect((()=>{(async()=>{const e=await fetch(`https://api.github.com/repos/pankod/refine?access_token=${c}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`token ${c}`}}),r=await e.json();var n;t(null!==(n=r.stargazers_count)&&void 0!==n?n:2e3)})()}),[]),n.createElement("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4 md:gap-0 h-auto md:h-[150px] w-full rounded-2xl py-5 px-5 md:px-12 github-banner-bg"},n.createElement("div",{className:"flex items-center gap-16"},n.createElement("img",{className:"hidden md:block",src:"/img/blog-static/github-banner-icon.png",alt:"Github Logo"}),n.createElement("div",{className:"font-montserrat max-w-md text-center md:text-left"},n.createElement("h1",{className:"text-2xl uppercase leading-tight mb-0 font-montserrat font-bold"},"Star us on github"),n.createElement("p",{className:"mb-0 text-base leading-tight"},n.createElement("b",null,"refine")," is an"," ",n.createElement("b",null,"open-source React-based framework"),"for building ",n.createElement("b",null,"CRUD applications")," without constraints. Please show us your ",n.createElement("b",null,"support")," with a shining ",n.createElement("b",null,"GitHub star"),"."))),n.createElement(l.c,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",rel:"noopener",className:"bg-[#211d21] no-underline rounded-xl h-[54px] flex gap-2 pl-3.5 py-2.5 pr-2.5 items-center"},n.createElement(a.A9,null),n.createElement("div",{className:"font-bold font-montserrat text-base text-white"},"Star"),n.createElement("div",{className:"flex items-start h-full"},n.createElement(a.qq,{className:"mt-2 -mr-px"}),n.createElement("div",{className:"cloud rounded-md bg-white text-[#211d21] h-full flex items-center justify-center px-1.5 font-montserrat font-bold text-base"},`${e}`.padStart(4,"0")))))}},1628:(e,t,r)=>{"use strict";r.d(t,{qu:()=>o,cN:()=>k,CS:()=>N,E$:()=>A,us:()=>S});var n=r(1504),l=r(4971),a=r(9184),c=r(2460);const o=({author:e,className:t})=>n.createElement(i,{author:e,className:t}),i=({author:e})=>{var t,r,o,i,s,u,f,m,d,p,b;const g=e.github||e.twitter||e.linkedin;return n.createElement("div",{className:(0,l.c)("flex","px-4","gap-6","flex-row blog-lg:flex-col","justify-between","blog-sm:max-w-[592px]","blog-md:max-w-[656px]","blog-lg:max-w-[896px]","blog-max:max-w-[1200px]","w-full")},n.createElement("div",{className:(0,l.c)("flex","justify-between","items-center")},n.createElement("div",{className:(0,l.c)("w-full","flex items-center justify-between flex-wrap")},n.createElement("div",{className:(0,l.c)("flex items-center","gap-2 sm:gap-6")},n.createElement(a.c,{to:`/blog/author/${null===(t=e)||void 0===t?void 0:t.key}`,itemProp:"url",className:"flex-shrink-0"},n.createElement("img",{src:null===(r=e)||void 0===r?void 0:r.imageURL,alt:null===(o=e)||void 0===o?void 0:o.name,loading:"lazy",className:(0,l.c)("flex flex-shrink-0","h-12 w-12","blog-sm:h-[88px] blog-sm:w-[88px]","blog-md:h-[120px] blog-md:w-[120px]","rounded-full object-cover")})),n.createElement("div",{className:(0,l.c)("not-prose flex flex-col justify-between")},n.createElement("h1",{className:(0,l.c)("text-xl sm:text-[40px] sm:leading-[56px]","m-0 p-0 pb-2 font-bold text-gray-900 dark:text-gray-200")},null===(i=e)||void 0===i?void 0:i.name),n.createElement("div",{className:(0,l.c)("text-xs sm:text-base","text-gray-600 dark:text-gray-400")},null===(s=e)||void 0===s?void 0:s.title))),g&&n.createElement("div",{className:"flex justify-center gap-3"},(null===(u=e)||void 0===u?void 0:u.github)&&n.createElement(a.c,{to:null===(f=e)||void 0===f?void 0:f.github},n.createElement(c.qO,{className:"h-6 w-6"})),(null===(m=e)||void 0===m?void 0:m.twitter)&&n.createElement(a.c,{to:null===(d=e)||void 0===d?void 0:d.twitter},n.createElement(c.mk,{className:"h-6 w-6"})),(null===(p=e)||void 0===p?void 0:p.linkedin)&&n.createElement(a.c,{to:null===(b=e)||void 0===b?void 0:b.linkedin},n.createElement(c.wd,{className:"h-6 w-6"}))))),n.createElement("div",{className:"border-b border-gray-200 dark:border-gray-700 mb-8"}))};var s=r(468),u=r(2656),f=r(56),m=r(3270),d=r(9936),p=r(7760),b=r(6224),g=r(3784),h=r(4776),y=r(2788),v=r(8368);const O=(0,v.c)("telegram",(function(e,t){var r=t.title;return(0,h.c)(e,"telegram.url"),"https://telegram.me/share/url"+(0,y.c)({url:e,text:r})}),(function(e){return{title:e.title}}),{windowWidth:550,windowHeight:400});var w=r(2544);const x=(0,w.c)({color:"#37aee2",networkName:"telegram",path:"m45.90873,15.44335c-0.6901,-0.0281 -1.37668,0.14048 -1.96142,0.41265c-0.84989,0.32661 -8.63939,3.33986 -16.5237,6.39174c-3.9685,1.53296 -7.93349,3.06593 -10.98537,4.24067c-3.05012,1.1765 -5.34694,2.05098 -5.4681,2.09312c-0.80775,0.28096 -1.89996,0.63566 -2.82712,1.72788c-0.23354,0.27218 -0.46884,0.62161 -0.58825,1.10275c-0.11941,0.48114 -0.06673,1.09222 0.16682,1.5716c0.46533,0.96052 1.25376,1.35737 2.18443,1.71383c3.09051,0.99037 6.28638,1.93508 8.93263,2.8236c0.97632,3.44171 1.91401,6.89571 2.84116,10.34268c0.30554,0.69185 0.97105,0.94823 1.65764,0.95525l-0.00351,0.03512c0,0 0.53908,0.05268 1.06412,-0.07375c0.52679,-0.12292 1.18879,-0.42846 1.79109,-0.99212c0.662,-0.62161 2.45836,-2.38812 3.47683,-3.38552l7.6736,5.66477l0.06146,0.03512c0,0 0.84989,0.59703 2.09312,0.68132c0.62161,0.04214 1.4399,-0.07726 2.14229,-0.59176c0.70766,-0.51626 1.1765,-1.34683 1.396,-2.29506c0.65673,-2.86224 5.00979,-23.57745 5.75257,-27.00686l-0.02107,0.08077c0.51977,-1.93157 0.32837,-3.70159 -0.87096,-4.74991c-0.60054,-0.52152 -1.2924,-0.7498 -1.98425,-0.77965l0,0.00176zm-0.2072,3.29069c0.04741,0.0439 0.0439,0.0439 0.00351,0.04741c-0.01229,-0.00351 0.14048,0.2072 -0.15804,1.32576l-0.01229,0.04214l-0.00878,0.03863c-0.75858,3.50668 -5.15554,24.40802 -5.74203,26.96472c-0.08077,0.34417 -0.11414,0.31959 -0.09482,0.29852c-0.1756,-0.02634 -0.50045,-0.16506 -0.52679,-0.1756l-13.13468,-9.70175c4.4988,-4.33199 9.09945,-8.25307 13.744,-12.43229c0.8218,-0.41265 0.68483,-1.68573 -0.29852,-1.70681c-1.04305,0.24584 -1.92279,0.99564 -2.8798,1.47502c-5.49971,3.2626 -11.11882,6.13186 -16.55882,9.49279c-2.792,-0.97105 -5.57873,-1.77704 -8.15298,-2.57601c2.2336,-0.89555 4.00889,-1.55579 5.75608,-2.23009c3.05188,-1.1765 7.01687,-2.7042 10.98537,-4.24067c7.94051,-3.06944 15.92667,-6.16346 16.62028,-6.43037l0.05619,-0.02283l0.05268,-0.02283c0.19316,-0.0878 0.30378,-0.09658 0.35471,-0.10009c0,0 -0.01756,-0.05795 -0.00351,-0.04566l-0.00176,0zm-20.91715,22.0638l2.16687,1.60145c-0.93418,0.91311 -1.81743,1.77353 -2.45485,2.38812l0.28798,-3.98957"});const E=(0,v.c)("facebook",(function(e,t){var r=t.quote,n=t.hashtag;return(0,h.c)(e,"facebook.url"),"https://www.facebook.com/sharer/sharer.php"+(0,y.c)({u:e,quote:r,hashtag:n})}),(function(e){return{quote:e.quote,hashtag:e.hashtag}}),{windowWidth:550,windowHeight:400});const j=(0,w.c)({color:"#3b5998",networkName:"facebook",path:"M34.1,47V33.3h4.6l0.7-5.3h-5.3v-3.4c0-1.5,0.4-2.6,2.6-2.6l2.8,0v-4.8c-0.5-0.1-2.2-0.2-4.1-0.2 c-4.1,0-6.9,2.5-6.9,7V28H24v5.3h4.6V47H34.1z"});var P=r(1904);const k=({children:e})=>{var t,r,o,i,h,y;const{metadata:v,isBlogPostPage:w}=(0,s.g)(),{permalink:k,title:C,date:N,formattedDate:A,readingTime:S,frontMatter:H,tags:D,description:Z,authors:M}=v,L=M[0],{siteConfig:{url:z}}=(0,d.c)();return n.createElement(m.c,{className:(0,l.c)("pb-10","pt-4 blog-lg:pt-8","ml-auto","w-full","blog-lg:max-w-[894px]","px-2 blog-md:px-8 blog-lg:px-0")},n.createElement("div",{className:(0,l.c)("hidden blog-md:flex","justify-between","items-center","blog-sm:px-6","pb-6 blog-lg:pb-10","not-prose")},n.createElement(a.c,{to:"/blog",className:(0,l.c)("text-refine-react-5 dark:text-refine-react-4","text-sm no-underline","flex","items-center","gap-2")},n.createElement(c.Ux,null)," Back to blog"),n.createElement("div",{className:"flex items-center gap-3 px-2 py-1 not-prose"},n.createElement("span",{className:"text-refine-react-5 dark:text-refine-react-4 text-sm"},"Share on"),n.createElement(p.c,{url:z+k,title:C,source:z,summary:Z,hashtags:D.map((e=>e.label)),className:"flex"},n.createElement(b.c,{size:26,round:!0})),n.createElement(g.c,{windowWidth:750,windowHeight:800,url:z+k,title:C,hashtags:D.map((e=>e.label)),className:"flex"},n.createElement(c.mk,{width:26,height:26})),n.createElement(O,{windowWidth:750,windowHeight:800,url:z+k,title:C,hashtags:D.map((e=>e.label)),className:"flex"},n.createElement(x,{size:26,round:!0})),n.createElement(E,{windowWidth:750,windowHeight:800,url:z+k,title:C,hashtags:D.map((e=>e.label)),className:"flex"},n.createElement(j,{size:26,round:!0})))),n.createElement("div",{className:"not-prose"},n.createElement("img",{className:"w-full rounded-xl aspect-[894/468]",src:`${H.image}?w=160`,alt:C})),n.createElement("div",{className:"blog-sm:px-6"},n.createElement("div",{className:"mt-6 blog-lg:mt-10 mb-6 text-sm"},n.createElement("div",{className:(0,l.c)("flex","justify-between","sm:flex-row flex-col")},n.createElement("div",{className:"flex justify-center items-center gap-2"},n.createElement(a.c,{to:`/blog/author/${null===(t=L)||void 0===t?void 0:t.key}`,itemProp:"url"},n.createElement("img",{src:null===(r=L)||void 0===r?void 0:r.imageURL,alt:null===(o=L)||void 0===o?void 0:o.name,loading:"lazy",className:"flex h-[32px] w-[32px] rounded-full object-cover"})),n.createElement(a.c,{to:`/blog/author/${null===(i=L)||void 0===i?void 0:i.key}`,itemProp:"url",className:(0,l.c)("flex-1","text-gray-900 dark:text-gray-200","text-sm","no-underline","hover:no-underline")},null===(h=L)||void 0===h?void 0:h.name),n.createElement("span",{className:"w-[4px] h-[4px] rounded-full bg-refine-react-5 dark:bg-refine-react-4"}),n.createElement("span",{className:"text-gray-600 dark:text-gray-400"},null===(y=L)||void 0===y?void 0:y.title)),n.createElement("div",{className:"flex items-center gap-2 text-gray-600 dark:text-gray-400"},n.createElement(P.iI,{date:N,formattedDate:A}),void 0!==S&&n.createElement(n.Fragment,null,n.createElement("span",{className:"w-[4px] h-[4px] rounded-full bg-refine-react-5 dark:bg-refine-react-4"}),n.createElement(P.S_,{readingTime:S}))))),n.createElement("h1",{className:"text-xl md:text-4xl",itemProp:"headline"},w?C:n.createElement(a.c,{itemProp:"url",to:k},C)),n.createElement("div",{id:u.blogPostContainerID,className:"markdown",itemProp:"articleBody"},n.createElement(f.c,null,e))))};r(4752);const C=()=>{var e,t;const{metadata:r}=(0,s.g)(),{permalink:c,title:o,date:i,formattedDate:u,frontMatter:f,description:d,tags:p}=r,b=r.authors[0];return n.createElement(m.c,null,n.createElement(a.c,{itemProp:"url",to:c,className:(0,l.c)("block","w-full h-auto","aspect-[592/334]")},n.createElement("div",{className:(0,l.c)("not-prose relative m-0 hover:brightness-90","h-full w-full")},n.createElement("img",{src:`${f.image}?h=256`,alt:o,className:(0,l.c)("absolute inset-0 mt-0 h-full w-full rounded-[10px] object-cover"),loading:"lazy"}))),n.createElement("div",{className:"px-4 py-4 md:px-6 md:py-6"},n.createElement("div",{className:(0,l.c)("flex flex-wrap items-center","mb-6","gap-2")},p.map((e=>n.createElement(a.c,{className:(0,l.c)("text-xs","bg-refine-react-3 dark:bg-refine-react-7","text-refine-react-8 dark:text-refine-react-3","no-underline","rounded-full","px-2 py-1"),href:e.permalink,key:e.permalink},e.label)))),n.createElement("div",{className:"mb-4"},n.createElement(a.c,{itemProp:"url",to:c,className:"no-underline hover:no-underline",rel:"noopener dofollow"},n.createElement("div",{className:(0,l.c)("mb-4","text-gray-700 dark:text-refine-react-3","text-xl","font-lg","font-bold")},o)),n.createElement("div",{className:(0,l.c)("line-clamp-3","text-gray-700 dark:text-refine-react-4","text-sm")},d)),n.createElement("div",{className:"flex items-center gap-2"},n.createElement(a.c,{href:`/blog/author/${null===(e=b)||void 0===e?void 0:e.key}`,itemProp:"url",className:(0,l.c)("text-gray-600 hover:text-gray-600","dark:text-gray-400 hover:dark:text-gray-400","text-xs 2xl:text-base","no-underline")},null===(t=b)||void 0===t?void 0:t.name),n.createElement("span",{className:(0,l.c)("h-[4px] w-[4px] rounded-full","bg-gray-600 dark:bg-gray-500")}),n.createElement("span",{className:(0,l.c)("text-gray-600 dark:text-gray-500","text-xs","leading-6","no-underline")},n.createElement(P.iI,{date:i,formattedDate:u})))))},N=({items:e})=>n.createElement("div",{className:(0,l.c)("w-screen","bg-refine-react-1 dark:bg-refine-react-dark-code")},n.createElement("div",{className:(0,l.c)("blog-sm:max-w-[592px]","blog-md:max-w-[656px]","blog-lg:max-w-[896px]","blog-max:max-w-[1200px]","w-full","mx-auto","px-6 blog-sm:px-0","py-6 blog-md:py-12","not-prose")},n.createElement("h2",{className:(0,l.c)("m-0 p-0","px-6","mb-6 blog-lg:mb-12","text-2xl blog-sm:text-[32px] blog-sm:leading-10","dark:text-refine-green-alt dark:drop-shadow-[0_0_30px_rgba(71,235,235,0.25)]","text-refine-blue drop-shadow-[0_0_30px_rgba(51,51,255,0.3)]","font-semibold")},"Featured Posts"),n.createElement("div",{className:"grid grid-cols-1 blog-md:grid-cols-2 blog-max:grid-cols-3 gap-6"},e.map((({content:e})=>n.createElement(s.E,{key:e.metadata.permalink,content:e},n.createElement(C,null)))))));r(7396);const A=({posts:e,title:t})=>{var r,c,o;return e.length<1?null:n.createElement("div",{className:(0,l.c)("mx-auto w-full","py-10","blog-sm:py-12","blog-md:py-16","max-w-[512px]","blog-sm:max-w-screen-blog-sm","blog-lg:max-w-screen-content-2xl")},n.createElement("div",{className:"blog-sm:px-6 w-full px-4"},n.createElement("h2",{className:"m-0 mb-4 p-0 pl-4 text-2xl font-semibold text-refine-react-8 dark:text-refine-react-1"},t),n.createElement("div",{className:"flex flex-col not-prose"},e.map((e=>n.createElement(a.c,{to:e.permalink,rel:"dofollow",key:null!==(o=e.permalink)&&void 0!==o?o:e.id,className:(0,l.c)("flex","flex-col","gap-2","p-5","mb-5","rounded-lg","border border-refine-react-3 dark:border-refine-react-6","bg-white dark:bg-refine-react-8","hover:bg-gray-100 dark:hover:bg-refine-react-7","not-prose","no-underline")},n.createElement("div",{to:e.permalink,rel:"dofollow",className:(0,l.c)("font-bold","text-refine-react-8 dark:text-refine-react-1","no-underline","hover:text-gray-800 hover:no-underline dark:hover:text-gray-200","mb-2")},e.title),n.createElement("p",{className:(0,l.c)("font-sm","text-refine-react-5 dark:text-refine-react-4")},e.description),n.createElement("div",{id:"post-info",className:"flex items-center gap-2 text-sm text-refine-react-4 dark:text-refine-react-5"},n.createElement(a.c,{to:`/blog/author/${null===(r=e.authors[0])||void 0===r?void 0:r.key}`,itemProp:"url",id:"author-name",className:"text-gray-600 no-underline hover:text-gray-600 hover:no-underline dark:text-gray-400"},null===(c=e.authors[0])||void 0===c?void 0:c.name),n.createElement("span",{className:"h-[4px] w-[4px] rounded-full bg-gray-600 dark:bg-gray-500"}),n.createElement(P.iI,{date:e.date,formattedDate:e.formattedDate}))))))))},S=()=>{const{metadata:e}=(0,s.g)();return n.createElement("div",{className:"flex flex-wrap gap-2"},e.tags.map((e=>n.createElement(a.c,{to:e.permalink,className:(0,l.c)("no-underline hover:no-underline","text-xs","rounded-full","py-1","px-3","text-refine-react-8 dark:text-refine-react-3","bg-refine-react-3 dark:bg-refine-react-7","whitespace-nowrap"),key:e.permalink},e.label))))};r(5524)},5524:(e,t,r)=>{"use strict";r.d(t,{c:()=>a});var n=r(1504),l=r(9184);const a=({children:e})=>n.createElement("div",{className:"flex flex-col md:flex-row items-center twitter-banner-bg px-5 md:px-10 py-5 rounded-xl gap-2"},n.createElement("div",{className:"flex flex-col justify-center items-center md:items-start gap-4"},n.createElement("div",{className:"text-center md:text-left"},n.createElement("h1",{className:"text-white font-montserrat text-2xl leading-tight mb-0"},"WANT TO HEAR THE LATEST DEVELOPMENTS ABOUT refine?"),n.createElement("p",{className:"mb-0 uppercase font-montserrat text-white"},"Follow us on Twitter.")),n.createElement(l.c,{to:"https://twitter.com/refine_dev"},n.createElement("button",{className:"bg-transparent text-white font-bold py-2 px-8 rounded-lg border-white cursor-pointer font-montserrat uppercase text-xl border-solid active:scale-[0.99]"},"Follow Us"))),n.createElement("div",{className:"w-[350px]"},e||n.createElement("blockquote",{className:"twitter-tweet","data-cards":"hidden"},n.createElement("p",{lang:"en",dir:"ltr"},"\ud83d\udca5New Blog Post!",n.createElement("br",null),n.createElement("br",null),"Animations in React with Framer Motion",n.createElement("a",{href:"https://t.co/7kWU1ROPYd"},"https://t.co/7kWU1ROPYd"),n.createElement("a",{href:"https://twitter.com/hashtag/opensource?src=hash&ref_src=twsrc%5Etfw"},"#opensource")," ",n.createElement("a",{href:"https://twitter.com/hashtag/ReactJS?src=hash&ref_src=twsrc%5Etfw"},"#ReactJS")),"\u2014 refine (@refine_dev)"," ",n.createElement("a",{href:"https://twitter.com/refine_dev/status/1565321477628510208?ref_src=twsrc%5Etfw"},"September 1, 2022"))))},3540:(e,t,r)=>{"use strict";r.d(t,{Wr:()=>o,ef:()=>u,qq:()=>m,A9:()=>p,cn:()=>h,gZ:()=>O,aA:()=>E,Wu:()=>k});var n=r(4971),l=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const o=e=>l.createElement("svg",c(function(e){for(var t=1;tl.createElement("svg",s(function(e){for(var t=1;tl.createElement("svg",function(e){for(var t=1;tl.createElement("svg",function(e){for(var t=1;tl.createElement("svg",g(function(e){for(var t=1;tl.createElement("svg",v(function(e){for(var t=1;tl.createElement("svg",x(function(e){for(var t=1;tl.createElement("svg",P(function(e){for(var t=1;t{"use strict";r.d(t,{q:()=>c,y:()=>o});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a="tutorial-checklist-store",c=n.createContext({store:{},toggle:()=>{}}),o=({children:e})=>{const[t,r]=n.useState((()=>{if("undefined"!=typeof window){const t=localStorage.getItem(a);if(t)try{const e=JSON.parse(t);if("object"==typeof e)return e}catch(e){return{}}}return{}})),o=n.useCallback(((e,t,n)=>{r((r=>{const a=function(e){for(var t=1;t{"undefined"!=typeof window&&localStorage.setItem(a,JSON.stringify(t))}),[t]),n.createElement(c.Provider,{value:{store:t,toggle:o}},e)}},1648:(e,t,r)=>{"use strict";r.d(t,{g5:()=>i,mk:()=>s,sH:()=>a});var n=r(1504),l=r(2288);r(5904);const a=["headless","antd","chakra-ui","mantine","mui"],c=e=>{if(a.includes(e))return e},o="tutorial-preferred-ui-package",i=n.createContext({preferred:"headless",current:void 0,setPreferred:()=>{}}),s=({children:e})=>{const{metadata:t}=(0,l.G)(),r=(e=>{const t=e.match(/\/(headless|antd|chakra-ui|mantine|mui)\//);if(t&&c(t[1]))return t[1]})(t.id),[a,s]=n.useState("headless");n.useEffect((()=>{if("undefined"!=typeof window){const e=localStorage.getItem(o),t=c(e);t&&s(t)}}),[]);const u=e=>{c(e)&&("undefined"!=typeof window&&localStorage.setItem(o,e),s(e))};return n.useEffect((()=>{r&&r!==a&&u(r)}),[r,a]),n.createElement(i.Provider,{value:{preferred:a,setPreferred:u,current:r||a}},e)}},9092:(e,t,r)=>{"use strict";r.d(t,{WO:()=>m,iC:()=>d});var n=r(1504),l=r(640),a=r(2064);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;t0}),s="tutorial-parameters",u=(e,t)=>{for(const r of t)if(e.includes(`/${r.value}`))return r.value},f=()=>{const{pathname:e}=(0,l.IT)();return n.useMemo((()=>(e=>{const t={};for(const[r,n]of Object.entries(a.Sm.parameterOptions)){const l=u(e,n);l&&(t[r]=l)}return t})(e)),[e])},m=({children:e})=>{const[t,r]=n.useState(void 0),[l,c]=n.useState(!1),u=f(),m=n.useCallback((e=>{r((t=>{try{localStorage.setItem(s,JSON.stringify(o({},t,e)))}catch(r){console.error(r)}return o({},t,e)}))}),[]);return n.useEffect((()=>{try{const e=localStorage.getItem(s);m(e?o({},a.Sm.defaultParameters,JSON.parse(e),u):o({},a.Sm.defaultParameters,u))}catch(e){m(o({},a.Sm.defaultParameters,u))}c(!0)}),[]),n.createElement(i.Provider,{value:{parameters:t,setParameters:m,settled:l,options:a.Sm.parameterOptions}},e)},d=()=>n.useContext(i)},3376:(e,t,r)=>{"use strict";r.d(t,{U:()=>p});var n=r(2288),l=r(1688),a=(r(1504),r(3908));function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;t{var e,t,r,c;const f=(0,n.G)(),{docs:p}=(0,l.E)(),{frontMatter:b,metadata:{id:g}}=f,{tutorial:{units:h}}=(0,u.e)(),{current:y}=(0,a.U)(),v=e=>{const t=e.id.split("/"),r=s.sH.filter((e=>e!==y));return!t.find((e=>r.includes(e)))},O=!!(null===(e=b)||void 0===e?void 0:e.tutorial),w=g.split("/")[1],x=function({frontMatter:e}){const{docs:t}=(0,l.E)(),{current:r}=(0,a.U)(),n=e=>{if(e.includes("{preferredUI}")||r)return e.replace("{preferredUI}",r)},c=e=>"/docs/"+e,{tutorial:s}=e,{next:u,prev:f}=null!=s?s:{},m=u?n(u):void 0,d=t[f?n(f):void 0],p=t[m];return{previous:d?i(o({},d),{permalink:c(d.id)}):void 0,next:p?i(o({},p),{permalink:c(p.id)}):void 0}}(f),E=Object.entries(p).filter((([e])=>e.startsWith("tutorial/"))).reduce(((e,[t,r])=>{const n=t.split("/")[1];return n.startsWith("partial-")||(e[n]||(e[n]=[]),e[n].push(r)),e}),{}),j=Object.entries(E).map((([e,r])=>d(m({unit:e,no:null===(t=h[e])||void 0===t?void 0:t.no,title:h[e].label},e===w&&O&&{current:!0}),{docs:r.map((e=>m({},e,e.id===g&&O&&{current:!0}))).filter(v)}))).sort(((e,t)=>(null===(r=e)||void 0===r?void 0:r.no)-(null===(c=t)||void 0===c?void 0:c.no)));return O?{id:g,isTutorial:O,unit:w,pagination:x,units:j}:void 0}},5560:(e,t,r)=>{"use strict";r.d(t,{c:()=>l});var n=r(1504);const l=(e,t="0px")=>{const[r,l]=n.useState(!1);return n.useEffect((()=>{var r;const n=null===(r=e)||void 0===r?void 0:r.current,a=new IntersectionObserver((([e])=>{l(e.isIntersecting)}),{rootMargin:t});return n&&a.observe(n),()=>{n&&a.unobserve(n)}}),[]),r}},8840:(e,t,r)=>{"use strict";r.d(t,{ot:()=>s,GC:()=>u});var n=r(1504);const l={items:[]};var a=r(3740);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;tt.filter((t=>t.unit===e));function u(){const{store:e,toggle:t}=n.useContext(a.q);return{items:n.useMemo((()=>{var t,r,n,a;return null!==(a=null===(n=l)||void 0===n||null===(t=(r=n.items).map)||void 0===t?void 0:t.call(r,(t=>{const{id:r}=t;return i(o({},t),{checklist:t.checklist.map((t=>{var n;return i(o({},t),{checked:null!==(n=e[r]?.[t.id])&&void 0!==n&&n})})).sort(((e,t)=>e.index-t.index))})})))&&void 0!==a?a:[]}),[e]),toggle:t}}},380:(e,t,r)=>{"use strict";r.d(t,{e:()=>l});var n=r(9936);r(1504);const l=()=>{const{siteConfig:{customFields:e}}=(0,n.c)(),{tutorial:t}=e;return t}},3908:(e,t,r)=>{"use strict";r.d(t,{U:()=>a});var n=r(1504),l=r(1648);const a=()=>n.useContext(l.g5)},3680:(e,t,r)=>{"use strict";r.d(t,{u:()=>a});var n=r(1504),l=r(3120);const a=e=>n.createElement(l.E,e)},5880:(e,t,r)=>{"use strict";r.d(t,{E:()=>u});var n=r(4971),l=r(1504),a=r(2268),c=r(2424),o=r(7104),i=r(3200),s=r(8164);const u=e=>(l.useEffect((()=>(e.open?document.body.style.overflow="hidden":document.body.style.overflow="auto",()=>{document.body.style.overflow="auto"})),[e.open]),l.createElement(s.c,null,(()=>(0,o.createPortal)(l.createElement(f,e),document.body)))),f=({children:e,title:t,open:r,onClose:o,variant:s})=>{const[u,f]=l.useState(48),{scrollY:m}=(0,i.Q)(),d=l.useRef(null);var p,b;return p=d,b=e=>{e.stopPropagation(),o()},l.useEffect((()=>{const e=e=>{p.current&&!p.current.contains(e.target)&&(e.preventDefault(),b(e))};return document.addEventListener("click",e,!0),()=>{document.removeEventListener("click",e,!0)}}),[p]),((e,t,r)=>{l.useEffect((()=>{const n=n=>{e.current&&t.includes(n.key)&&(n.preventDefault(),r(n))};return document.addEventListener("keydown",n,!0),()=>{document.removeEventListener("keydown",n,!0)}}),[e])})(d,["Escape"],(()=>{o()})),l.useEffect((()=>{const e=m.onChange((e=>{f(e>=48?0:48-e)}));return()=>e()}),[]),l.createElement("div",{style:{top:u},className:(0,n.c)("fixed","right-0 bottom-0","z-modal",!r&&"pointer-events-none")},l.createElement(c.O,{ref:d,as:"div",className:(0,n.c)("z-modal","flex flex-col","w-[240px] h-full","ml-auto","p-4","templates"===s&&"bg-gray-0 dark:bg-gray-900","blog"===s&&"bg-white dark:bg-refine-react-7","border-l dark:border-gray-800","dark:shadow-[0_0_72px_24px_#14141F]","shadow-[0_0_72px_24px_rgba(20, 20, 31, 0.50)]"),show:r,enter:"transition-transform duration-300 transition-ease-in-out",enterFrom:"translate-x-full",enterTo:"translate-x-0",leave:"transition-transform duration-300 transition-ease-in-out",leaveFrom:"translate-x-0",leaveTo:"translate-x-full"},l.createElement("div",{className:(0,n.c)("flex","items-center","justify-between","mb-10","dark:text-gray-300 text-gray-900")},l.createElement("h3",{className:(0,n.c)("text-base","font-semibold")},t),l.createElement("button",{type:"button",className:(0,n.c)("appearance-none"),onClick:o},l.createElement(a.O,null))),l.createElement("div",{className:(0,n.c)("overflow-auto h-full")},e)))}},6968:(e,t,r)=>{"use strict";r.d(t,{m:()=>U});var n=r(9184),l=r(4971),a=r(3200),c=r(344),o=r(6076),i=r(1504),s=r(1980),u=r(8804),f=r(6098);const m=[{isPopover:!0,label:"Docs",items:[{label:"Foundation Docs",description:"Learn C++, Python & Java",link:"/docs",icon:f.C3},{label:"DSA Docs",description:"Learning DSA in C++, Python & Java",link:"/docs/1.DS.Algo",icon:f.uI}]},{isPopover:!0,label:"CodePoint",items:[{label:"Expert Sheet Solutions",description:"Most popular coding questions solutions asked during SDE interviews.",link:"https://prepverse.github.io/CodePoint/preface",icon:f.C3},{label:"Coding Ninjas Series",description:"Coding Ninjas Studio Guided Path Solutions",link:"https://prepverse.github.io/CodePoint/learning_resources/CN_Series/preface",icon:f.oh},{label:"LeetVerse",description:"Leetcode problem solutions with full probelm statements in C++, Python & Java",link:"https://prepverse.github.io/LeetVerse",icon:f.Ew}]},{isPopover:!0,label:"About",items:[{label:"About Me",description:"My information.",link:"/AkashSingh3031",icon:f.kv},{label:"Project Showcase",description:"PrepVerse open-source projects",link:"/showcase",icon:f.w9},{label:"My Portfolio",description:"All info about me",link:"https://prepverse.github.io/portfolio",icon:f.BE}]},{isPopover:!1,label:"Blog",href:"/blog",icon:f.s1},{isPopover:!1,label:"PrepVerse Community",href:"/prepverse-community",icon:f.vn}],d=({item:e,variant:t="landing"})=>{const r=e.icon;return i.createElement(n.c,{to:e.link,className:"no-underline"},i.createElement("div",{className:(0,l.c)("flex items-center","p-4","transition duration-150 ease-in-out","rounded-lg","hover:bg-gray-100","landing"===t&&"dark:hover:bg-gray-800","blog"===t&&"dark:hover:bg-refine-react-8")},i.createElement("div",{className:"shrink-0"},i.createElement(r,null)),i.createElement("div",{className:"ml-2"},i.createElement("div",{className:(0,l.c)("landing"===t&&"text-gray-900 dark:text-white","blog"===t&&"text-refine-react-8 dark:text-refine-react-3","font-semibold")},e.label),i.createElement("div",{className:(0,l.c)("landing"===t&&"text-gray-500 dark:text-gray-400","blog"===t&&"text-refine-react-5 dark:text-refine-react-4","text-xs")},e.description))))},p=({item:e})=>{const[t,r]=(0,i.useState)(null);(0,i.useEffect)((()=>(r(localStorage.getItem("theme")||null),window.addEventListener("storage",a,!1),()=>{window.removeEventListener("storage",a,!1)})),[]);const a=()=>{r(localStorage.getItem("theme")||null)};let c=e.icon;return"Cloud"===e.label&&(c="light"===t?f.oz:e.icon),i.createElement(n.c,{key:e.label,to:e.href,className:(0,l.c)("inline-flex items-center gap-2","text-sm leading-6 font-normal text-gray-900 dark:text-gray-300","transition-colors duration-150 ease-in-out","no-underline","Hackathon"===e.label?["py-1","px-2","rounded-lg","bg-hackathon-button-bg","animate-hackathon-button-bg","bg-refine-bg","text-gray-0","bg-[length:200%_100%]","text-[14px]","hover:text-gray-0"]:["hover:text-gray-900 dark:hover:text-white"])},e.icon&&i.createElement(c,null),e.label)};var b=r(640),g=r(5224),h=r(2424),y=r(4577);const v=({item:e,variant:t="landing",children:r})=>{const[n,a]=(0,i.useState)(!1),c=i.useRef(null),o=i.useRef(null),s=(0,b.IT)();return i.useEffect((()=>{a(!1)}),[s]),i.createElement(g._,{id:`popover-${e.label}`,key:e.label,className:(0,l.c)("relative","inline-flex items-center"),onMouseEnter:()=>{o.current=setTimeout((()=>a(!0)),210),clearTimeout(c.current)},onMouseLeave:()=>{c.current=setTimeout((()=>a(!1)),210),clearTimeout(o.current)}},(()=>i.createElement(i.Fragment,null,i.createElement(g._.Button,{className:(0,l.c)("inline-flex items-center","text-sm leading-6","font-normal")},i.createElement("span",{className:(0,l.c)("landing"===t&&"text-gray-900 dark:text-gray-300","blog"===t&&"text-refine-react-8 dark:text-refine-react-3","transition-colors duration-150 ease-in-out inline-block")},e.label),i.createElement(y.w,{"aria-hidden":"true",className:(0,l.c)("transition duration-150 ease-out","-mr-2","landing"===t&&"text-gray-500 dark:text-gray-400","blog"===t&&"text-refine-react-4",n?"translate-y-0.5":"")})),i.createElement(h.O,{as:i.Fragment,enter:"transition ease-in duration-150",enterFrom:"opacity-0 translate-y-3",enterTo:"opacity-100 translate-y-0",leave:"transition ease-out duration-150",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 translate-y-3",show:n},i.createElement(g._.Panel,{className:(0,l.c)("absolute","z-50","top-12",{"-left-32 center-point":"Docs"===e.label||"About"===e.label,"left-point":"CodePoint"===e.label})},i.createElement(f.WR,{id:e.label,variant:t,className:(0,l.c)("absolute","top-[-9px]",{"left-1/2":"CodePoint"!==e.label,"left-12":"CodePoint"===e.label}),style:{transform:"translateX(-50%)"}}),i.createElement("div",{className:(0,l.c)("overflow-hidden","rounded-xl","landing"===t&&"border dark:border-gray-700 border-gray-200","landing"===t&&"dark:shadow-menu-dark shadow-menu-light","blog"===t&&"border border-refine-react-3 dark:border-refine-react-6","blog"===t&&"dark:shadow-menu-blog-dark shadow-menu-blog-light")},r))))))},O=({variant:e="landing"})=>i.createElement(i.Fragment,null,m.map((t=>t.isPopover?i.createElement(v,{key:`navbar-${t.label}`,item:t,variant:e},"CodePoint"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,l.c)("grid grid-cols-2 gap-4","p-4","w-[672px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(d,{key:t.label,item:t,variant:e})))),i.createElement(n.c,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,l.c)("border-t","blog"===e&&"border-refine-react-3 dark:border-refine-react-6","landing"===e&&"border-gray-300 dark:border-gray-700","landing"===e&&"bg-gray-100 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-7","flex items-center","py-4 px-7")},i.createElement(f._2,null),i.createElement("div",{className:(0,l.c)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))),"About"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,l.c)("grid gap-4","p-4","w-[336px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(d,{key:t.label,item:t,variant:e})))),i.createElement("div",{className:(0,l.c)("border-t","blog"===e&&"border-refine-react-3 dark:border-refine-react-6","landing"===e&&"border-gray-300 dark:border-gray-700","landing"===e&&"bg-gray-100 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-7","flex justify-between items-center","py-4 px-7")},i.createElement("div",{className:(0,l.c)("landing"===e&&"text-gray-600 dark:text-gray-400 ","blog"===e&&"text-refine-react-5 dark:text-refine-react-4")},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.c,{to:"https://github.com/AkashSingh3031",className:(0,l.c)("no-underline","hover:text-inherit")},i.createElement(f.A9,{className:"dark:text-gray-400 text-gray-500"})),i.createElement(n.c,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(f.Ed,null)),i.createElement(n.c,{to:"https://instagram.com/akash.singh3031"},i.createElement(f.Yf,null)),i.createElement(n.c,{to:"https://x.com/akashsingh3031"},i.createElement(f.CC,null))))),"Docs"===t.label&&i.createElement("div",{className:(0,l.c)("grid gap-4","p-4","w-[336px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(d,{key:t.label,item:t,variant:e}))))):i.createElement(p,{key:`navbar-${t.label}`,item:t,variant:e}))));var w=r(2276),x=r(7008),E=r(9072),j=r(2268);function P(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const k=e=>i.createElement("svg",function(e){for(var t=1;ti.createElement("svg",function(e){for(var t=1;t{const[o,s]=(0,i.useState)(null),u=null!=r?r:n.c,m=void 0!==a&&void 0===t;return(0,i.useEffect)((()=>{const e=document.querySelector("html").getAttribute("data-theme");s(e)}),[]),i.createElement(u,function(e){for(var t=1;t{const r=(0,b.IT)();return i.useEffect((()=>{t(!1)}),[r]),i.createElement(L,{isModalOpen:e,setIsModalOpen:t},i.createElement(z,{className:(0,l.c)("hidden landing-sm:block","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}),i.createElement(B,{className:(0,l.c)("block landing-sm:hidden","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}))},L=({isModalOpen:e,setIsModalOpen:t,children:r})=>i.createElement(h.O,{appear:!0,show:e,as:i.Fragment},i.createElement(w.C,{as:"div",className:"relative z-10",onClose:()=>t(!1)},i.createElement(h.O.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},i.createElement("div",{className:(0,l.c)("fixed inset-0","bg-gray-0 dark:bg-gray-900","flex","flex-col")},i.createElement(H.Q,null),i.createElement("div",{className:(0,l.c)("flex items-center justify-between","p-4","landing-sm:px-8")},i.createElement(u.m,{className:"dark:text-gray-0 text-gray-900"}),i.createElement("button",{type:"button",className:(0,l.c)("rounded-lg","hover:brightness-105","active:scale-90","transition-transform duration-75 ease-in-out")},i.createElement(j.O,{className:"text-gray-900 dark:text-white",onClick:()=>t(!1)}))),i.createElement(h.O.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-75",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95"},i.createElement("div",{className:(0,l.c)("flex-1","overflow-y-auto","px-4","pb-4")},r)))))),z=e=>i.createElement("div",{className:(0,l.c)(e.className)},m.map(((e,t)=>{const r="icon"in e&&e.icon;return i.createElement("div",{key:t,className:(0,l.c)("not-prose","p-4","border-t dark:border-gray-700 border-gray-200")},i.createElement(n.c,{to:"href"in e?e.href:void 0,className:(0,l.c)("appearance-none","block","no-underline","dark:text-gray-0 text-gray-900","font-bold")},i.createElement("div",{className:(0,l.c)("flex items-center gap-2")},i.createElement("div",null,e.label),r&&i.createElement(r,null))),"items"in e&&i.createElement("div",{className:(0,l.c)("mt-2","grid grid-cols-2 min-[800px]:grid-cols-3","gap-x-8 gap-y-4")},e.items.map((e=>i.createElement(d,{key:e.label,item:e})))))})),i.createElement(G,null),i.createElement(T,{id:"tablet"}),i.createElement(R,{id:"tablet"})),B=e=>i.createElement("div",{className:(0,l.c)(e.className)},i.createElement("div",{className:"flex-grow"},m.map((e=>e.isPopover?i.createElement(x.C,{key:`modal-${e.label}`},(({open:t})=>i.createElement(i.Fragment,null,i.createElement(S,{component:x.C.Button,label:e.label,open:t}),i.createElement(x.C.Panel,{className:(0,l.c)(t&&"pb-4",t&&"border-b border-gray-200 dark:border-gray-700")},e.items.map((e=>i.createElement(d,{key:e.label,item:e}))))))):i.createElement(S,{key:`modal-${e.label}`,label:e.label,href:e.href,icon:e.icon})))),i.createElement(G,null),i.createElement(T,{id:"phone"}),i.createElement(R,{id:"phone"})),R=e=>{var t;return i.createElement(n.c,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,l.c)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex items-center","p-4")},i.createElement(f._2,{id:(null===(t=e)||void 0===t?void 0:t.id)||""}),i.createElement("div",{className:(0,l.c)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))},T=e=>{var t;return i.createElement("div",{className:(0,l.c)("bg-white dark:bg-gray-700 header-sm:bg-inherit","flex justify-between items-center","header-sm:flex-col header-sm:gap-4","header-sm:border-b border-gray-200 dark:border-gray-600","py-3 px-4")},i.createElement("p",{className:"text-gray-500 dark:text-gray-300 font-semibold"},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.c,{to:"https://github.com/AkashSingh3031"},i.createElement(f.A9,{className:"h-10 w-10"})),i.createElement(n.c,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(f.Ed,{className:"h-10 w-10"})),i.createElement(n.c,{to:"https://instagram.com/akash.singh3031"},i.createElement(f.Yf,{className:"h-10 w-10",id:(null===(t=e)||void 0===t?void 0:t.id)||""})),i.createElement(n.c,{to:"https://x.com/akashsingh3031"},i.createElement(f.CC,{className:"h-10 w-10"}))))},G=()=>{const{colorMode:e,setColorMode:t}=(0,E.U)(),r=()=>{t("dark"===e?"light":"dark")},n="dark"===e,a="light"===e;return i.createElement("div",{className:(0,l.c)("not-prose","p-4","flex items-center")},i.createElement("div",{className:(0,l.c)("text-sm","mr-10","dark:text-gray-400 text-gray-600")},"Apperance"),i.createElement("button",{onClick:r,className:(0,l.c)("mr-4","rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200","text-gray-500",a&&"bg-gray-50")},i.createElement(Z.G,null),"Light"),i.createElement("button",{onClick:r,className:(0,l.c)("rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200",n?"text-gray-400":"text-gray-500",n&&"bg-gray-700")},i.createElement(D.g,null),"Dark"))};var V=r(9253),F=r(2700),Y=r(5792),W=r(6936);const I=()=>{const{loading:e,githubStarCountText:t}=(0,F.wx)();return i.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank",rel:"noreferrer",className:(0,l.c)("flex gap-2 items-center","font-normal","text-sm leading-6","text-gray-500 dark:text-gray-400","hover:text-gray-400 dark:hover:text-gray-300","hover:no-underline","transition-colors","duration-200","ease-in-out")},i.createElement(Y.A,{className:(0,l.c)("w-5 h-5")}),i.createElement("div",{className:(0,l.c)("flex items-center","w-10 h-6")},e?i.createElement(W.c,{className:(0,l.c)("w-5 h-5"),wrapperProps:{className:(0,l.c)("mx-auto")}}):i.createElement("span",null,t)))},U=({trackProgress:e,variant:t="landing",className:r})=>{const[f,m]=(0,i.useState)(!1),{scrollYProgress:d}=(0,a.Q)(),p=(0,c.s)(d,[.03,.95],["0%","100%"]);return i.createElement(i.Fragment,null,i.createElement(H.Q,null),i.createElement("header",{className:(0,l.c)("sticky","top-0","z-10")},i.createElement("div",{className:(0,l.c)("absolute","top-0 left-0 right-0","backdrop-blur-[6px]","landing-md:backdrop-blur-[12px]","z-[-1]","bg-gray-0 dark:bg-gray-800","bg-opacity-80 dark:bg-opacity-80","pointer-events-none",r),style:{top:"-20px",bottom:"-80px",WebkitMaskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))",maskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))"}}),i.createElement("div",{className:(0,l.c)("relative","z-[1]","p-4","landing-sm:px-8","landing-md:py-5")},i.createElement("div",{className:(0,l.c)("mx-auto","flex","items-center","justify-between","max-w-[896px]","landing-lg:max-w-[1200px]")},i.createElement("div",{className:(0,l.c)("w-[130px]","landing-lg:w-[200px]")},i.createElement(n.c,{to:"/"},i.createElement(u.m,{className:"text-gray-900 dark:text-gray-0"}))),i.createElement("button",{type:"button",className:(0,l.c)("text-gray-900 dark:text-gray-0","block landing-md:hidden"),onClick:()=>m(!0)},i.createElement(s.m,null)),i.createElement("div",{className:(0,l.c)("hidden landing-md:flex","flex-1","items-center","gap-8")},i.createElement(O,{variant:t})),i.createElement("div",{className:(0,l.c)("hidden landing-md:flex","items-center","justify-end","gap-4","w-[130px]","landing-lg:w-[200px]")},i.createElement(I,null),i.createElement(V.C,null)),i.createElement(M,{isModalOpen:f,setIsModalOpen:m}))),e&&i.createElement("div",{className:(0,l.c)("w-full","h-[1.5px]","translate","bg-refine-react-3 dark:bg-refine-react-7")},i.createElement(o.q.div,{className:(0,l.c)("h-full","bg-refine-react-light-link dark:bg-refine-react-dark-link"),style:{width:p}}))))}},7500:(e,t,r)=>{"use strict";r.d(t,{Ih:()=>o,oJ:()=>c,yg:()=>a});var n=r(4971),l=r(1504);const a="preferred-full-table-width",c=e=>l.createElement("div",{className:(0,n.c)("table-container")},l.createElement("table",e)),o=({children:e})=>l.createElement("div",{className:"table-full-width"},e)},9253:(e,t,r)=>{"use strict";r.d(t,{C:()=>i,O:()=>u});var n=r(1504),l=r(4971),a=r(9072),c=r(3756),o=r(5372);const i=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,a.U)();return n.createElement("button",{type:"button",className:(0,l.c)("appearance-none","focus:outline-none","relative","w-10 h-10","rounded-full","border","border-solid","border-gray-300 dark:border-gray-700","text-gray-500","transition-colors","duration-150","ease-in-out","overflow-hidden","flex-shrink-0","group",e),onClick:()=>{r("dark"===t?"light":"dark")}},n.createElement("div",{className:(0,l.c)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","translate-y-0","dark:-translate-y-10","duration-200","ease-in-out","transition-transform")},n.createElement(c.G,null)),n.createElement("div",{className:(0,l.c)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","-translate-y-10","dark:translate-y-0","duration-200","ease-in-out","transition-transform")},n.createElement(o.g,null)))},s=[{name:"light",icon:c.G,label:"Light"},{name:"dark",icon:o.g,label:"Dark"}],u=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,a.U)();return n.createElement("div",{className:(0,l.c)("flex","items-center","gap-4","justify-start",e)},s.map((({name:e,label:a,icon:c})=>n.createElement("button",{type:"button",key:e,className:(0,l.c)("appearance-none","focus:outline-none","py-1","pl-1.5","pr-3","flex","items-center","justify-center","gap-1","rounded-[40px]","text-gray-400","border border-solid","border-gray-200","dark:border-gray-600",t===e&&"bg-gray-100 dark:bg-gray-700"),onClick:()=>{r(e)}},n.createElement(c,{className:(0,l.c)("w-4 h-4")}),n.createElement("span",{className:(0,l.c)("text-sm")},a)))))}},7708:(e,t,r)=>{"use strict";r.d(t,{o0:()=>p,yw:()=>m,wd:()=>d,AR:()=>b});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var u=r(6098),f=r(4252);const m=[{label:"Resources",items:[{label:"Getting Started",href:"/docs"},{label:"Blog",href:"/blog"},{label:"Project Showcase",icon:n.createElement(u.KU,null),href:"/showcase"},{label:"Community",icon:n.createElement(u.KU,null),href:"/prepverse-community"}]},{label:"Product",items:[{label:"CodePoint",icon:n.createElement(f.i,null),href:"https://prepverse.github.io/CodePoint"},{label:"LeetVerse",icon:n.createElement(f.i,null),href:"https://prepverse.github.io/LeetVerse"}]},{label:"About",items:[{label:"About Me",href:"/AkashSingh3031"},{label:"Portfolio",icon:n.createElement(f.i,null),href:"https://prepverse.github.io/portfolio"}]}],d=[{label:"License",href:"https://github.com/PrepVerse/prepverse.github.io/blob/master/LICENSE"}],p="Thank you for visiting, Connect with me over socials.",b=[{icon:e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{G:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{w:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{g:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{i:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{y:()=>o});var n=r(4971),l=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const o=e=>l.createElement("svg",c(function(e){for(var t=1;t{"use strict";r.d(t,{A:()=>c,i:()=>o});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e){for(var t=1;tn.createElement("svg",a({width:12,height:12,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.053 0A10.904 10.904 0 0 0 3.89 2.685 11.34 11.34 0 0 0 .142 9.472a11.48 11.48 0 0 0 1.456 7.65 11.087 11.087 0 0 0 5.964 4.86c.556.103.752-.25.752-.547v-1.918C5.23 20.202 4.58 18 4.58 18a3.012 3.012 0 0 0-1.227-1.655c-.997-.692.081-.692.081-.692.35.05.683.18.975.382.293.202.536.469.713.78.15.278.352.523.595.721a2.312 2.312 0 0 0 2.618.221c.042-.57.283-1.105.678-1.509-2.454-.284-5.03-1.253-5.03-5.539a4.415 4.415 0 0 1 1.132-3.025A4.194 4.194 0 0 1 5.224 4.7s.928-.305 3.036 1.156c1.81-.508 3.72-.508 5.531 0 2.108-1.46 3.03-1.156 3.03-1.156.406.936.455 1.993.135 2.963a4.415 4.415 0 0 1 1.132 3.026c0 4.334-2.582 5.282-5.043 5.538.264.271.468.597.598.955.13.358.182.741.155 1.122V21.4c0 .367.196.65.759.54a11.093 11.093 0 0 0 5.88-4.878 11.481 11.481 0 0 0 1.419-7.6 11.34 11.34 0 0 0-3.71-6.746A10.907 10.907 0 0 0 11.053 0Z",fill:"currentColor"})),o=e=>n.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.066.001a11.91 11.91 0 0 1 7.745 2.966 12.326 12.326 0 0 1 4.032 7.33 12.46 12.46 0 0 1-1.54 8.245 12.088 12.088 0 0 1-6.406 5.314l-.105.037-.11.021c-.508.1-1.232.093-1.83-.422-.577-.498-.681-1.166-.681-1.565v-3.008l.004-.053a1.102 1.102 0 0 0-.062-.453 1.058 1.058 0 0 0-.235-.377l-.839-.86-.863.882a.802.802 0 0 0-.224.502l-.015.217v3.183c0 .434-.14 1.029-.628 1.492-.541.514-1.246.62-1.864.505l-.108-.02-.104-.035a12.082 12.082 0 0 1-6.498-5.296 12.457 12.457 0 0 1-1.58-8.298c.45-2.86 1.891-5.471 4.073-7.375A11.909 11.909 0 0 1 12.05.001h.016Zm-10.43 10.54a10.957 10.957 0 0 0 1.39 7.303 10.58 10.58 0 0 0 5.693 4.638c.53.099.717-.238.717-.522v-1.83c-.588.13-1.083.15-1.5.1a2.95 2.95 0 0 1-.542-.117 2.551 2.551 0 0 1-.422-.176 2.362 2.362 0 0 1-.82-.72c-.208-.294-.28-.535-.28-.535a2.876 2.876 0 0 0-1.17-1.58l-.016-.01c-.925-.65.093-.65.093-.65.106.015.21.038.313.068l.017.005a2.172 2.172 0 0 1 .962.603c.122.13.23.276.319.433a2.29 2.29 0 0 0 .68.775h.002s0 .001 0 0a2.211 2.211 0 0 0 2.385.124v-.014a2.302 2.302 0 0 1 .647-1.427 8.754 8.754 0 0 1-1.625-.328 4.865 4.865 0 0 1-1.416-.695 3.883 3.883 0 0 1-.432-.365c-.8-.786-1.328-2.002-1.328-3.899a4.214 4.214 0 0 1 1.08-2.887 4.003 4.003 0 0 1 .104-2.848s.886-.291 2.898 1.103a9.762 9.762 0 0 1 5.28 0c2.011-1.393 2.891-1.103 2.891-1.103.388.893.434 1.902.13 2.828a4.214 4.214 0 0 1 1.08 2.888c0 3.166-1.444 4.44-3.174 4.972a8.617 8.617 0 0 1-1.64.314 2.558 2.558 0 0 1 .699 1.425c.026.184.033.371.02.558v2.955c0 .35.187.62.724.515a10.588 10.588 0 0 0 5.613-4.656 10.958 10.958 0 0 0 1.354-7.254 10.824 10.824 0 0 0-3.541-6.439 10.41 10.41 0 0 0-6.77-2.592 10.408 10.408 0 0 0-6.837 2.563 10.824 10.824 0 0 0-3.578 6.478ZM16.374 7.8a8.003 8.003 0 0 0-.856.524l-.58.401-.679-.19a8.262 8.262 0 0 0-4.469 0l-.68.19-.58-.402a7.982 7.982 0 0 0-.846-.519c.019.186.059.37.12.549l.282.832-.588.653a2.714 2.714 0 0 0-.696 1.86v.024c0 1.724.503 2.513.998 2.937.563.481 1.397.736 2.476.86l1.567.182 1.954-.204c1.082-.112 1.912-.358 2.47-.833.492-.418.999-1.209.999-2.96v-.026a2.714 2.714 0 0 0-.696-1.86l-.582-.647.273-.826c.058-.178.096-.36.113-.545Z",clipRule:"evenodd"}))},1980:(e,t,r)=>{"use strict";r.d(t,{m:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{Q:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{G:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{s1:()=>o,wR:()=>s,QD:()=>f,vn:()=>d,kv:()=>b,uI:()=>h,A9:()=>v,_2:()=>w,Ew:()=>E,Yf:()=>P,oh:()=>C,Ed:()=>A,BE:()=>H,KU:()=>M,WR:()=>G,w9:()=>F,CC:()=>W,AH:()=>X,oz:()=>K,C3:()=>q});var n=r(1504);var l=r(4971);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const o=e=>n.createElement("svg",c(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const{colorMode:t}=(0,D.U)();return n.createElement("div",{className:(0,l.c)("relative","flex","items-center","justify-center","rounded-full","overflow-hidden","p-px","dark:bg-[#194b3a] bg-[#b7dbff]"),style:{transform:"translateZ(0)"}},n.createElement("div",{className:(0,l.c)("z-[1]","absolute","inset-0","dark:bg-new-badge-border-dark bg-new-badge-border-light","animate-new-badge-border")}),n.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}var R,T;const G=e=>{var{variant:t="landing"}=e,r=B(e,["variant"]);return n.createElement("svg",z(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",U(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{m:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{G:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{o:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{E:()=>p});var n=r(4971),l=r(1504),a=r(9184),c=r(7708),o=r(204);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const s=e=>l.createElement("svg",function(e){for(var t=1;t{const t=l.createElement("div",{className:(0,n.c)("py-6 landing-lg:py-0","flex","flex-col","gap-4","landing-lg:max-w-[224px]")},l.createElement("div",{className:(0,n.c)("font-semibold","text-sm","leading-6","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},"Contacts"),l.createElement("a",{href:"https://wa.me/+919794423031",target:"_blank",className:(0,n.c)("font-normal","text-sm","leading-5","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},"+91 9794423031"),l.createElement("a",{href:"https://mail.google.com/mail/u/0/?fs=1&to=codewithsky@gmail.com&tf=cm",target:"_blank",className:(0,n.c)("font-normal","text-sm","leading-5","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:180,height:40,viewBox:"0 0 180 40",fill:"none"},l.createElement("text",{x:"1",y:"15",fontFamily:"Arial, sans-serif",fontSize:"16",fill:"currentColor"},"codewithsky@gmail.com")))),r=l.createElement("div",{className:(0,n.c)("py-6 landing-lg:py-0","flex","flex-col","landing-sm:items-end")},l.createElement("div",{className:(0,n.c)("flex","flex-col","gap-4")},l.createElement("div",{className:(0,n.c)("text-sm","leading-6","font-semibold","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3","landing-lg:text-right")},"Connect with me on"),l.createElement("div",{className:(0,n.c)("flex","items-center","gap-8","landing-lg:gap-4","justify-start")},c.AR.map((({href:t,icon:r})=>l.createElement("a",{href:t,key:t,target:"_blank",rel:"noreferrer",className:(0,n.c)("landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},l.createElement(r,{className:(0,n.c)("w-6 h-6","landing-lg:w-8 landing-lg:h-8")})))))));return l.createElement("footer",{className:(0,n.c)("w-full")},l.createElement("div",{className:(0,n.c)("border-t border-t-solid","landing"===e&&"border-t-gray-100 dark:border-t-gray-700","blog"===e&&"border-t-refine-react-3 dark:border-t-refine-react-7","landing"===e&&"dark:bg-footer-landing-dark-bg","blog"===e&&"bg-footer-blog-light-bg dark:bg-footer-blog-dark-bg")},l.createElement("div",{className:(0,n.c)("grid","grid-cols-1","max-w-screen-landing-md","landing-lg:max-w-screen-landing-lg","mx-auto")},l.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8 landing-lg:px-12","py-4 landing-lg:py-6","flex","items-center","justify-between")},l.createElement(a.c,{to:"/",className:(0,n.c)("hover:no-underline","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},l.createElement(u.m,null)),l.createElement("a",{href:"https://github.com/sponsors/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,n.c)("hover:no-underline")},l.createElement(s,null))),l.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8 landing-lg:px-12","flex","flex-row","flex-wrap","items-start","justify-start","text-gray-500 dark:text-gray-500")},c.o0),l.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8 landing-lg:px-12","py-6 landing-lg:pt-8 landing-lg:pb-12","flex","flex-row","flex-wrap","items-start","justify-start","gap-6")},l.createElement("div",{className:(0,n.c)("hidden","landing-lg:flex","max-w-[282px]","w-full")},t),c.yw.map((t=>l.createElement("div",{className:(0,n.c)("flex flex-col gap-4","min-w-[152px]"),key:t.label},l.createElement("div",{className:(0,n.c)("text-sm","leading-6","font-semibold","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},t.label),l.createElement("div",{className:(0,n.c)("flex","flex-col","gap-2")},t.items.map((t=>l.createElement("a",d(m({href:t.href,key:t.label},t.href.startsWith("http")?{target:"_blank",rel:"noopener noreferrer"}:{}),{className:(0,n.c)("text-sm","leading-5","hover:no-underline","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300")}),l.createElement("div",{className:(0,n.c)("flex","items-center","gap-2")},t.label,t.icon)))))))),l.createElement("div",{className:(0,n.c)("hidden","landing-lg:flex","ml-auto")},r)),l.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8","grid","grid-cols-1","landing-sm:grid-cols-2","landing-sm:gap-8","landing-lg:hidden")},t,r))),l.createElement("div",{className:(0,n.c)("border-t border-t-solid","landing"===e&&"border-t-gray-100 dark:border-t-gray-700","blog"===e&&"border-t-gray-100 dark:border-t-gray-700","landing"===e&&"bg-gray-50 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-8")},l.createElement("div",{className:(0,n.c)("py-6 landing-sm:py-8 landing-lg:py-6","px-4 landing-sm:px-8 landing-lg:px-12","grid","grid-cols-1","landing-md:grid-cols-2","gap-8","max-w-screen-landing-md","landing-lg:max-w-screen-landing-lg","mx-auto")},l.createElement("div",{className:(0,n.c)("flex","flex-col","landing-sm:flex-row","gap-4","items-start","justify-start")},c.wd.map((t=>l.createElement("a",d(m({href:t.href,key:t.label},t.href.startsWith("http")?{target:"_blank",rel:"noopener noreferrer"}:{}),{className:(0,n.c)("text-sm","leading-5","font-normal","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:no-underline","hover:text-gray-800 dark:hover:text-gray-300")}),t.label)))),l.createElement("div",{className:(0,n.c)("text-left","landing-md:text-right","text-sm","pr-6 landing-sm:pr-0","leading-5","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3","font-normal")},l.createElement("div",{className:(0,n.c)("text-base","text-gray-500 dark:text-gray-400")},"Copyright \xa9 ",(new Date).getFullYear()," PrepVerse"," ",l.createElement(o.Q,{className:"text-refine-red ml-2 inline leading-6"}),l.createElement("br",null),"Built with Docusaurus & Refine.")))))}},6192:(e,t,r)=>{"use strict";r.d(t,{D:()=>f});var n=r(1504),l=r(4971),a=r(9184);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const o=e=>n.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const f=e=>{var{children:t,href:r,className:c,onClick:f,buttonClassname:m}=e,d=u(e,["children","href","className","onClick","buttonClassname"]);const p=r?a.c:"button";return n.createElement(p,s(function(e){for(var t=1;t{"use strict";r.d(t,{c:()=>i});var n=r(4971),l=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const i=e=>{var{className:t,wrapperProps:r}=e,a=o(e,["className","wrapperProps"]);return l.createElement("div",c({role:"status"},r),l.createElement("svg",c({"aria-hidden":"true",width:24,height:24,viewBox:"0 0 100 100",className:(0,n.c)("text-gray-200 animate-spin dark:text-gray-600 fill-refine-blue",t),fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),l.createElement("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),l.createElement("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})),l.createElement("span",{className:"sr-only"},"Loading..."))}},252:(e,t,r)=>{"use strict";r.d(t,{Q:()=>i});var n=r(4971),l=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){for(var t=1;tl.createElement("div",{className:(0,n.c)("w-full h-12","relative","bg-top-announcement","not-prose","font-inter","z-top-announcement")},l.createElement("div",{className:(0,n.c)("hidden lg:flex","w-full h-full","max-w-screen","overflow-hidden","border-b border-solid border-[#47ebeb26]","top-announcement-mask")},l.createElement("div",{className:(0,n.c)("w-[1280px] h-full","mx-auto","flex","justify-between")},l.createElement("div",{className:(0,n.c)("w-[calc(50%-300px)] h-full","relative")},l.createElement(u,{style:{animationDelay:"1.5s"},className:(0,n.c)("absolute","top-[2px]","right-[220px]"),id:"1"}),l.createElement(u,{style:{animationDelay:"1s"},className:(0,n.c)("absolute","rotate-180","top-[8px] right-[100px]"),id:"2"}),l.createElement(f,{className:(0,n.c)("absolute","right-[10px]"),id:"3"})),l.createElement("div",{className:(0,n.c)("w-[calc(50%-300px)] h-full","relative")},l.createElement(u,{style:{animationDelay:"2s"},className:(0,n.c)("absolute","rotate-180","top-[6px] right-[180px]"),id:"4"}),l.createElement(u,{style:{animationDelay:"0.5s"},className:(0,n.c)("delay-[1300]","absolute","top-[2px]","right-[40px]"),id:"5"}),l.createElement(f,{className:(0,n.c)("absolute","right-[-70px]"),id:"6"})))),l.createElement(s,null)),s=()=>l.createElement("a",{href:"https://github.com/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,n.c)("relative lg:absolute","px-2 lg:px-0","top-0","left-[50%]","translate-x-[-50%]","bg-top-announcement-text","h-full w-full lg:w-[450px]","flex items-center justify-center","text-white","text-xs sm:text-sm","text-center","no-underline","hover:no-underline","hover:text-white","not-prose")},l.createElement("div",{className:(0,n.c)("ml-2","not-prose")},"For more updates follow","",l.createElement("span",{className:(0,n.c)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")},"@AkashSingh3031"),".")),u=e=>l.createElement("svg",o(c({xmlns:"http://www.w3.org/2000/svg",width:80,height:40,fill:"none"},e),{className:(0,n.c)("animate-top-announcement-glow","opacity-1",e.className)}),l.createElement("circle",{cx:40,r:40,fill:`url(#${e.id}-a)`,fillOpacity:.5}),l.createElement("defs",null,l.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 40 -40 0 40 0)",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{stopColor:"#47EBEB"}),l.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0})))),f=e=>l.createElement("svg",o(c({xmlns:"http://www.w3.org/2000/svg",width:120,height:48,fill:"none"},e),{className:(0,n.c)("animate-top-announcement-glow","opacity-1",e.className)}),l.createElement("circle",{cx:60,cy:24,r:60,fill:`url(#${e.id}-a)`,fillOpacity:.5}),l.createElement("defs",null,l.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 60 -60 0 60 24)",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{stopColor:"#47EBEB"}),l.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0}))))},2064:(e,t,r)=>{"use strict";r.d(t,{ED:()=>i,Ip:()=>s,_i:()=>m,Mx:()=>u,iG:()=>d,Yv:()=>o,Sm:()=>c,G_:()=>f});var n=r(2411);const l=JSON.parse('{"label":"Tutorial","path_prefix_segment":"tutorial","defaultParameters":{"language":"cpp"},"parameterOptions":{"language":[{"label":"C++","value":"cpp"},{"label":"Python","value":"py"},{"label":"Java","value":"java","status":"coming-soon"}]},"units":[{"title":"DSA","id":"dsa","items":["dsa/:language/index"]}]}');var a=r(1688);const c=l,o=(e,t)=>e.split("/").map((e=>{if(e.startsWith(":")){const r=e.slice(1);return t[r]}return e})).join("/"),i=(e,t)=>{for(const r of c.units)for(const n of r.items)if(e===o(n,t))return r},s=(e,t)=>{let r=!1;for(const n of c.units)for(const l of n.items){if(r)return l;o(l,t)===e&&(r=!0)}},u=(e,t)=>{let r=null;for(const n of c.units)for(const l of n.items){if(o(l,t)===e)return r;r=l}},f=()=>{const{docs:e}=(0,a.E)(),{versions:t}=(0,n.MP)("docusaurus-plugin-content-docs","tutorial"),r=t[0].docs;for(const n of r)n.title=e[n.id].title;return Object.fromEntries(r.map((e=>[e.id,e])))},m=(e,t)=>{const r=t[e];if(!r)throw new Error(`Cannot find item with id ${e}`);return r.path},d=(e,t)=>{const r=t[e];if(!r)throw new Error(`Cannot find doc with id ${e}`);return r.title}},1240:(e,t,r)=>{"use strict";r.d(t,{c:()=>C});var n=r(1504),l=r(4971);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{var a;const c=null!==(a=p[e])&&void 0!==a?a:()=>null;var o;const i=null!==(o=b[e])&&void 0!==o?o:"tex-inherit";var s;const u=null!==(s=g[e])&&void 0!==s?s:"bg-inherit";return"simple"===e?n.createElement(v,{type:e,title:t},r):n.createElement("div",{className:(0,l.c)("rounded-lg","admonition",`admonition-${e}`,"mb-6","refine-wider-container",u)},n.createElement("div",{className:(0,l.c)("border-l-4","border-l-solid","border-l-inherit","rounded-tl-lg","rounded-bl-lg","py-4","pr-4","pl-3","flex flex-col","gap-2 sm:gap-4")},(t||h[e])&&n.createElement("div",{className:(0,l.c)("flex","items-center","gap-2","text-xs sm:text-base 2xl:text-base 2xl:leading-7","font-semibold",i)},n.createElement(c,null),n.createElement("span",{className:"uppercase"},null!==(f=null!=t?t:h[e])&&void 0!==f?f:"")),n.createElement("div",{className:(0,l.c)("text-gray-0","text-base","last:mb-0")},r)));var f},v=({type:e,title:t,children:r})=>{var a;const c=null!==(a=b[e])&&void 0!==a?a:"tex-inherit";var o;const i=null!==(o=g[e])&&void 0!==o?o:"bg-inherit";return n.createElement("div",{className:(0,l.c)("rounded-lg","admonition",`admonition-${e}`,"mb-6",i)},n.createElement("div",{className:(0,l.c)("flex flex-col","gap-2",!t&&"pt-4")},t&&n.createElement("div",{className:(0,l.c)("px-4","pt-4","text-sm","leading-5","-mt-0.5",c)},n.createElement("span",{className:"font-semibold"},null!=t?t:""),n.createElement("span",null,":")),n.createElement("div",{className:(0,l.c)("text-gray-0","text-base","last:mb-0","px-4 pb-4","admonition-content")},r)))};function O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function w(e){for(var t=1;tn.isValidElement(e)&&"mdxAdmonitionTitle"===(null===(t=e.props)||void 0===t?void 0:t.mdxType))),a=n.createElement(n.Fragment,null,r.filter((e=>e!==l)));return{mdxAdmonitionTitle:l,rest:a}}(e.children);var l;return x(w({},e),{title:null!==(l=e.title)&&void 0!==l?l:t,children:r})}const k=e=>{const{children:t,type:r,title:l}=P(e);return n.createElement(y,{type:r,title:l},t)};function C(e){return"info-tip"===e.type?n.createElement(k,e):"additional"===e.type?n.createElement(k,x(w({},e),{type:"note",title:"ADDITIONAL INFO"})):"sourcecode"===e.type?n.createElement(k,x(w({},e),{icon:n.createElement(E,null),title:n.createElement("a",{href:e.path,target:"_blank",rel:"noreferrer",style:{marginLeft:"4px"}},"SOURCE CODE"),titleProps:{style:{marginBottom:"-4px"}}}),e.children):"create-example"===e.type?n.createElement(k,x(w({},e),{type:"caution",icon:n.createElement(j,null),title:n.createElement("span",{style:{marginLeft:"4px"}},"RUN IN YOUR LOCAL")}),e.children):n.createElement(n.Fragment,null,n.createElement(k,e))}},7328:(e,t,r)=>{"use strict";r.d(t,{c:()=>k});var n=r(4971),l=r(1504);const a=({className:e})=>l.createElement("div",{className:(0,n.c)("relative","w-full","landing-md:mx-auto","w-full","pt-4 blog-md:pt-12 pb-6 px-6","bg-white dark:bg-gray-800",e)},l.createElement("div",{className:(0,n.c)("blog-sm:max-w-[592px]","blog-md:max-w-[656px]","blog-lg:max-w-[896px]","blog-max:max-w-[1200px]","w-full","mx-auto","flex","flex-col","items-start justify-start blog-lg:items-center blog-lg:justify-center","gap-4","not-prose")},l.createElement("h2",{className:(0,n.c)("flex","flex-wrap","gap-2","text-[32px] leading-[40px] landing-sm:text-[56px] landing-sm:leading-[72px]")},l.createElement("div",{className:(0,n.c)("dark:text-gray-0 text-gray-900")},"PrepVerse "),l.createElement("div",{className:(0,n.c)("font-semibold","dark:text-refine-green-alt dark:drop-shadow-[0_0_30px_rgba(71,235,235,0.25)]","text-refine-blue drop-shadow-[0_0_30px_rgba(51,51,255,0.3)]","whitespace-nowrap")},"Technical Blog")),l.createElement("p",{className:(0,n.c)("text-base","text-start landing-md:text-center","max-w-[588px]","dark:text-gray-400 text-gray-600","pb-2")},"contains all the DSA, Core Subjects, Web Tech, Data Science & FAANG Interview questions based blogs.")));var c=r(3680),o=r(8480),i=r(6968),s=r(6192),u=r(6112),f=r(9184),m=r(2424),d=r(2276),p=r(2268);function b(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g(e){for(var t=1;t{const[r,n]=(0,l.useState)({scrollDepths:e,scrollY:0}),{scrollDepths:a,scrollY:c}=r;return(0,l.useEffect)((()=>{"undefined"!=typeof window&&0!==window.pageYOffset&&n((e=>h(g({},e),{scrollY:window.pageYOffset})))}),[]),(0,l.useEffect)((()=>{if("undefined"==typeof window)return;const e=()=>window.removeEventListener("scroll",l),l=()=>{const l=document.documentElement,c=document.body,o=l.scrollTop||c.scrollTop,i=l.scrollHeight||c.scrollHeight,s=o/(i-l.clientHeight)*100;if(a){const r=Math.min(...a,i);if(s>=r){const l=a.filter((e=>e!==r));0===l.length&&e(),t&&t({scrollY:r,scrollPercent:s,remainingDepths:l}),n({scrollY:r,scrollDepths:l})}}else n(h(g({},r),{scrollY:s}))};return window.addEventListener("scroll",l),e}),[a,c,r]),{scrollY:c}},v=(e,t)=>{const[r,n]=(0,l.useState)((()=>{if("undefined"==typeof window)return t;try{const r="undefined"!=typeof window?window.localStorage.getItem(e):void 0;return r?JSON.parse(r):t}catch(r){return console.log(r),t}}));return[r,t=>{try{const l=t instanceof Function?t(r):t;n(l),"undefined"!=typeof window&&window.localStorage.setItem(e,JSON.stringify(l))}catch(l){console.log(l)}}]};var O=r(640);const w=({title:e="Click here to discover my latest projects, skills, and achievements on my portfolio website. My journey into creativity begins now!",variant:t="purple",image:r={src:"https://github.com/AkashSingh3031.png",alt:"My Portfolio",href:"https://prepverse.github.io/portfolio"},button:a={text:"Explore Now",href:"https://prepverse.github.io/portfolio",onClick:void 0}})=>{var c,o,i,b;const{pathname:g}=(0,O.IT)(),[h,w]=(0,l.useState)(!1),[x,E]=v("banner-modal",null),j=(0,l.useRef)(!1),P=y();var k,C;return(0,l.useEffect)((()=>{"/blog/"!==g&&"/blog"!==g&&(j.current||h||P.scrollY>79&&P.scrollY<100&&(j.current=!0,9===x||null===x?(w(!0),E(0)):(E(x+1),j.current=!0)))}),[P.scrollY]),(0,l.useEffect)((()=>{h&&"undefined"!=typeof window&&void 0!==window.gtag&&window.gtag("event","view_banner",{banner_name:"banner-modal",banner_text:e,banner_image:r.src})}),[h]),l.createElement(m.O,{appear:!0,show:h,as:l.Fragment},l.createElement(d.C,{as:"div",className:"relative z-modal",onClose:()=>w(!1)},l.createElement(m.O.Child,{as:l.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},l.createElement("div",{className:"fixed inset-0 bg-gray-900/70"})),l.createElement("div",{className:"fixed inset-0 overflow-y-auto"},l.createElement("div",{className:"flex min-h-full items-start justify-center"},l.createElement(m.O.Child,{as:l.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},l.createElement(d.C.Panel,{className:(0,n.c)("w-full min-h-screen","flex flex-col justify-center items-center")},l.createElement("div",{className:(0,n.c)("relative","rounded-3xl","max-w-[576px]","py-8","px-4 md:px-8","gray"===t&&"bg-banner-examples-modal-gray","purple"===t&&"bg-banner-examples-modal-purple")},l.createElement("div",{className:(0,n.c)("flex","flex-col","items-center","gap-8","text-center","not-prose")},l.createElement(f.c,{to:null!==(k=null===(c=r)||void 0===c?void 0:c.href)&&void 0!==k?k:null===(o=a)||void 0===o?void 0:o.href,target:"_blank",rel:"noopener noreferrer",className:(0,n.c)("flex","h-auto xl:h-[192px]","flex-shrink-0","rounded-lg","overflow-hidden","focus:outline-none")},l.createElement("img",{className:(0,n.c)("object-contain"),src:null===(i=r)||void 0===i?void 0:i.src,alt:null!==(C=null===(b=r)||void 0===b?void 0:b.alt)&&void 0!==C?C:e,loading:"lazy"})),l.createElement("p",{className:(0,n.c)("text-2xl","font-semibold","gray"===t&&"bg-clip-text","gray"===t&&"text-transparent","gray"===t&&"bg-banner-examples-text","purple"===t&&"text-gray-0")},e),l.createElement(s.D,{className:(0,n.c)("w-max"),buttonClassname:(0,n.c)("!px-4","!py-4"),href:a.href,onClick:a.onClick,target:"_blank",rel:"noopener noreferrer"},l.createElement("div",{className:(0,n.c)("text-gray-900","text-base","font-bold")},a.text),l.createElement(u.G,{className:(0,n.c)("w-4","h-4")}))),l.createElement("button",{className:(0,n.c)("absolute","top-2 right-2","w-8 h-8","flex items-center justify-center flex-shrink-0","text-gray-0","rounded-full","bg-gray-900/20"),onClick:()=>w(!1)},l.createElement(p.O,{className:"w-4 h-4"})))))))))};var x=r(6280);function E(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function j(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function P(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},a=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const k=e=>{const[t,r]=(0,l.useState)(!1),{children:s,toc:u,showSidebarBanner:f=!0}=e,m=P(e,["children","toc","showSidebarBanner"]),d=y();return(0,l.useEffect)((()=>{t&&(d.scrollY>20&&r(!0),d.scrollY<20&&r(!1))}),[d.scrollY,f]),l.createElement(o.C,j(function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>b});var n=r(1504),l=r(4971),a=r(9936),c=r(6684),o=r(5628),i=r(7328),s=r(6108),u=r(2668),f=r(8048),m=r(1628);function d(e){const{metadata:t}=e,{siteConfig:{title:r}}=(0,a.c)(),{blogDescription:l,blogTitle:o,permalink:i}=t,u="/"===i?r:o;return n.createElement(n.Fragment,null,n.createElement(c.U7,{title:u,description:l}),n.createElement(s.c,{tag:"blog_posts_list"}))}function p(e){const{metadata:t,tags:r,items:a}=e,c=1===t.page,o=a.filter((e=>!0===e.content.metadata.frontMatter.is_featured)),s=a.filter((e=>!0!==e.content.metadata.frontMatter.is_featured));return n.createElement(i.c,{showSidebarBanner:!1,showHero:!0},c&&n.createElement(m.CS,{items:o}),n.createElement(u.c,{items:s,tags:r,metadata:t}),n.createElement("div",{className:(0,l.c)("w-full","mx-auto","blog-sm:max-w-[592px]","blog-md:max-w-[656px]","blog-lg:max-w-[896px]","blog-max:max-w-[1200px]","blog-max:border-t border-t-refine-react-3 dark:border-t-refine-react-7","mb-12")},n.createElement(f.c,{metadata:t})))}function b(e){return n.createElement(c.cr,{className:(0,l.c)(o.W.wrapper.blogPages,o.W.page.blogListPage)},n.createElement(d,e),n.createElement(p,e))}},8048:(e,t,r)=>{"use strict";r.d(t,{c:()=>f});var n=r(1504),l=r(3652),a=r(9184),c=r(2460);const o="...",i=(e,t)=>{const r=t-e+1;return Array.from({length:r},((t,r)=>r+e))},s=({totalPages:e,siblingCount:t=1,currentPage:r})=>(0,n.useMemo)((()=>{if(t+5>=e)return i(1,e);const n=Math.max(r-t,1),l=Math.min(r+t,e),a=n>2,c=le===o?n.createElement("li",{key:`page:${e}`,className:(0,u.c)("flex items-center justify-center","text-gray-500 dark:text-gray-400","rounded-full","hover:no-underline","no-underline","h-[32px] w-[32px]")},"\u2026"):n.createElement("li",{key:e},n.createElement(a.c,{to:1===e?r:`${r}/page/${e}`,className:(0,u.c)("text-sm","flex items-center justify-center","text-gray-500 dark:text-gray-400","rounded-full","hover:no-underline","h-[32px] w-[32px]","no-underline",e!==f&&"text-refine-react-5 dark:text-refine-react-4",e===f&&"text-refine-react-8 dark:text-refine-react-3",e===f&&"bg-refine-react-3 dark:bg-refine-react-7")},e)))),n.createElement("li",null,n.createElement(a.c,{to:f===d?void 0:`${r}/page/${f+1}`,className:(0,u.c)("rounded-full","hover:no-underline","text-refine-react-5 dark:text-refine-react-4",f!==d&&"opacity-70",f===d&&"pointer-events-none opacity-20")},n.createElement(c.yu,null)))))}},2668:(e,t,r)=>{"use strict";r.d(t,{c:()=>f});var n=r(1504),l=r(468),a=r(2032),c=r(9184),o=r(3270),i=r(1904),s=r(4971);function u({className:e}){var t,r;const{metadata:a}=(0,l.g)(),{permalink:u,title:f,date:m,formattedDate:d,frontMatter:p,description:b,tags:g}=a,h=a.authors[0];return n.createElement(o.c,{className:e},n.createElement("div",null,n.createElement(c.c,{itemProp:"url",to:u,className:(0,s.c)("block","w-full h-auto","aspect-[592/334]")},n.createElement("div",{className:(0,s.c)("not-prose relative m-0 hover:brightness-90","h-full w-full")},n.createElement("img",{src:`${p.image}?h=432`,alt:f,className:(0,s.c)("absolute inset-0 mt-0 h-full w-full rounded-[10px] object-cover"),loading:"lazy"})))),n.createElement("div",{className:"px-4 py-4 md:px-6 md:py-6"},n.createElement("div",{className:(0,s.c)("flex flex-wrap items-center","mb-6","gap-2")},g.map((e=>n.createElement(c.c,{className:(0,s.c)("text-xs","bg-refine-react-3 dark:bg-refine-react-7","text-refine-react-8 dark:text-refine-react-3","no-underline","rounded-full","px-2 py-1"),href:e.permalink,key:e.permalink},e.label)))),n.createElement("div",{className:"mb-2 md:mb-4"},n.createElement(c.c,{itemProp:"url",to:u,className:"no-underline hover:no-underline",rel:"noopener dofollow"},n.createElement("div",{className:(0,s.c)("mb-4","text-gray-700 dark:text-refine-react-3","text-xl","font-lg","font-bold")},f)),n.createElement("div",{className:(0,s.c)("line-clamp-3","text-gray-700 dark:text-refine-react-4","text-sm")},b)),n.createElement("div",{className:"flex items-center gap-2"},n.createElement(c.c,{href:`/blog/author/${null===(t=h)||void 0===t?void 0:t.key}`,itemProp:"url",className:(0,s.c)("text-gray-600 hover:text-gray-600","dark:text-gray-400 hover:dark:text-gray-400","text-xs","no-underline")},null===(r=h)||void 0===r?void 0:r.name),n.createElement("span",{className:(0,s.c)("h-[4px] w-[4px] rounded-full","bg-gray-600 dark:bg-gray-500")}),n.createElement("span",{className:(0,s.c)("text-gray-600 dark:text-refine-react-5","text-xs","leading-6","no-underline")},n.createElement(i.iI,{date:m,formattedDate:d})))))}function f({items:e,tags:t,component:r=u,isAuthorPage:c,isTagsPage:o}){return n.createElement("div",{className:(0,s.c)("w-full","bg-white dark:bg-gray-800")},n.createElement("div",{className:(0,s.c)("blog-sm:max-w-[592px]","blog-md:max-w-[656px]","blog-lg:max-w-[896px]","blog-max:max-w-[1200px]","w-full","px-6 blog-sm:px-0","pt-14 blog-md:pt-12","pb-6","mx-auto","not-prose")},!c&&!o&&n.createElement(n.Fragment,null,n.createElement("div",{className:(0,s.c)("flex flex-row blog-lg:flex-col justify-between","items-center blog-lg:items-start","not-prose","px-6","mb-6 blog-lg:mb-12","gap-6")},n.createElement("h2",{className:(0,s.c)("!m-0 !mt-0 !mb-0 p-0","blog-lg:mb-12 blog-md:mb-8 mb-8","text-2xl blog-sm:text-[32px] blog-sm:leading-10","text-refine-react-8 dark:text-refine-react-3","font-semibold","whitespace-nowrap")},"All Posts"),n.createElement(a.c,{tags:t}))),n.createElement("div",{className:(0,s.c)("grid grid-cols-1 blog-md:grid-cols-2 blog-max:grid-cols-3","gap-6")},e.map((({content:e})=>n.createElement(l.E,{key:e.metadata.permalink,content:e},n.createElement(r,null,n.createElement(e,null))))))))}},8560:(e,t,r)=>{"use strict";r.d(t,{s:()=>Z});var n=r(1504),l=r(8952),a=r(8796),c=r(5684),o=r(6564),i=r(2184),s=r(6616),u=r(5952),f=r(4971),m=r(1373);function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function b(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},a=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const g=e=>{var{as:t}=e,r=b(e,["as"]);return n.createElement(t,p(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const[r,l]=(0,n.useState)(!1),a=(0,n.useRef)(void 0),c=(0,n.useCallback)((()=>{try{navigator.clipboard.writeText(e).then((()=>{l(!0),a.current=window.setTimeout((()=>{l(!1)}),1e3)}))}catch(t){}}),[e]);return(0,n.useEffect)((()=>()=>window.clearTimeout(a.current)),[]),n.createElement("button",{type:"button","aria-label":r?"Copied!":"Copy code to clipboard",title:"Copy code to clipboard",className:(0,f.c)("w-6 h-6","flex justify-center items-center","bg-gray-200","dark:bg-gray-800","hover:bg-gray-300","dark:hover:bg-refine-react-dark-code","rounded","group","transition-[background-color] duration-200 ease-in-out"),onClick:c},n.createElement(y,{className:(0,f.c)("w-3 h-3","text-gray-500","dark:text-gray-400",r&&"rotate-[360deg]","transition-all duration-200 ease-in-out")}))};function O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const w=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const r=t?w:E;return n.createElement("button",{type:"button",onClick:()=>e(),className:(0,f.c)("w-6 h-6","flex justify-center items-center","bg-gray-200","dark:bg-gray-800","hover:bg-gray-300","dark:hover:bg-refine-react-dark-code","rounded","group","transition-[background-color] duration-200 ease-in-out"),"aria-label":"Toggle word wrap",title:"Toggle word wrap"},n.createElement(r,{className:(0,f.c)("w-3 h-3","text-gray-500","dark:text-gray-400",t&&"rotate-[360deg]","transition-all duration-200 ease-in-out")}))};function P(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function k(e){for(var t=1;tn.createElement("svg",k({xmlns:"http://www.w3.org/2000/svg",width:12,height:14,viewBox:"0 0 12 14",fill:"none"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M11 4.994V11.6A1.4 1.4 0 0 1 9.6 13H2.4A1.4 1.4 0 0 1 1 11.6V2.4A1.4 1.4 0 0 1 2.4 1h4.606a1.4 1.4 0 0 1 .99.41l2.594 2.594a1.4 1.4 0 0 1 .41.99ZM0 2.4A2.4 2.4 0 0 1 2.4 0h4.606a2.4 2.4 0 0 1 1.697.703l2.594 2.594A2.4 2.4 0 0 1 12 4.994V11.6A2.4 2.4 0 0 1 9.6 14H2.4A2.4 2.4 0 0 1 0 11.6V2.4ZM3.5 6a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5Zm0 2a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5Zm0 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3Z",clipRule:"evenodd"})),A=({children:e,icon:t=n.createElement(N,null)})=>n.createElement("div",{className:(0,f.c)("py-3","px-4","bg-gray-100 dark:bg-gray-700","text-gray-800","dark:text-gray-100","text-xs","flex items-center","gap-2","rounded-tl-lg","rounded-tr-lg")},t,e),S=({children:e,className:t="",metastring:r,title:l,showLineNumbers:a,language:d,icon:p,style:b})=>{const{prism:{defaultLanguage:h,magicComments:y}}=(0,c.y)();var O;const w=null!==(O=null!=d?d:(0,i.K2)(t))&&void 0!==O?O:h,x=(0,o.i)(),E=(0,s._)(),P=(0,i.QH)(r)||l,{lineClassNames:N,code:S}=(0,i.cj)(e,{metastring:r,language:w,magicComments:y}),H=null!=a?a:(0,i.OO)(r);return n.createElement(g,{as:"div",className:(0,f.c)("refine-common-code-block",w&&`language-${w}`,"rounded-lg","bg-gray-200","dark:bg-gray-900","border","border-gray-300","dark:border-0","mb-6","relative","refine-wider-container"),style:b},P&&n.createElement(A,{icon:p},P),n.createElement("div",{className:(0,f.c)("relative","pt-3","pb-0","not-prose")},n.createElement(m.cp,C(k({},m.wB),{theme:x,code:S,language:null!=w?w:"text"}),(({className:e,tokens:t,getLineProps:r,getTokenProps:l})=>n.createElement("pre",{tabIndex:0,ref:E.codeBlockRef,className:(0,f.c)(e,"bg-transparent","!mt-0","!mb-0","m-0","px-0","pt-0","font-jetBrains-mono","pb-3")},n.createElement("code",{className:(0,f.c)("font-[inherit]","bg-transparent","inline-block","min-w-full")},t.map(((e,t)=>n.createElement(u.c,{key:t,line:e,getLineProps:r,getTokenProps:l,classNames:(0,f.c)(N[t],"px-4","text-xs sm:text-sm 2xl:text-sm"),showLineNumbers:H})))))))),n.createElement("div",{className:(0,f.c)("absolute",P?"top-2 right-2":"top-3 right-3","flex items-center gap-2")},(E.isEnabled||E.isCodeScrollable)&&n.createElement(j,{onClick:E.toggle,isEnabled:E.isEnabled}),n.createElement(v,{className:(0,f.c)(),code:S})))};function H(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function D(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},a=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const Z=e=>{var{children:t}=e,r=D(e,["children"]);const c=(0,l.c)(),o=function(e){return n.Children.toArray(e).some((e=>(0,n.isValidElement)(e)))?e:Array.isArray(e)?e.join(""):e}(t),i="string"==typeof o?S:a.c;return n.createElement(i,function(e){for(var t=1;t{"use strict";r.d(t,{c:()=>A});var n=r(1504),l=r(8560),a=r(4971),c=r(9936),o=r(7748),i=r.n(o),s=r(1688);const u="playgroundPreview_jwe9";function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function m({children:e,minHeight:t,url:r="http://localhost:3000",hasBottom:l=!1}){return n.createElement("div",{className:(0,a.c)("flex","flex-col","h-full")},n.createElement("div",{className:(0,a.c)("flex-shrink-0","rounded-tl-lg","rounded-tr-lg","border","border-gray-300 dark:border-gray-700","px-4 py-3","flex items-center justify-start","gap-2","bg-gray-100 dark:bg-gray-700","relative","text-gray-800 dark:text-gray-100","border-b-0")},n.createElement(d,{className:"w-4 h-4"}),n.createElement("div",{className:(0,a.c)("text-xs")},`${r}`.replace(/^http(s?):\/\//,""))),n.createElement("div",{className:(0,a.c)("flex-1","overflow-hidden","bg-gray-100 dark:bg-gray-700","border border-gray-300 dark:border-gray-700",!l&&"rounded-bl-lg rounded-br-lg",l&&"border-b-gray-300 dark:border-b-gray-900",l&&"border-b"),style:{minHeight:t}},e))}const d=e=>n.createElement("svg",function(e){for(var t=1;t{const[l,a]=n.useState(e),[c]=n.useState(t);n.useEffect((()=>{!l&&e&&a(!0)}),[e]),n.useEffect((()=>{if(c){const e=setTimeout((()=>{a(!0)}),c);return()=>clearTimeout(e)}}),[c]);const o=n.useMemo((()=>l&&"function"==typeof r?r():null),[l]);if(void 0!==r&&"function"!=typeof r)throw new Error("Conditional component requires a function as a child");return o};var g=r(9128),h=r(3296);function y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.g.Buffer=r.g.Buffer||h.Sn;const v=({query:e,code:t,css:r})=>{const{siteConfig:{customFields:l}}=(0,c.c)(),[a,o]=n.useState(void 0),s=n.useCallback((async t=>{if("undefined"!=typeof window&&window.Worker){const n=new Worker(`${location.protocol}//${location.host}/workers/lz-worker.js`);n.onmessage=function({data:t}){t.compressed&&o(`${l.LIVE_PREVIEW_URL}?code=${t.compressed}${r?`&css=${i().encode(r)}`:""}${e?`${e}`:""}`),n.terminate()},n.postMessage({code:t})}}),[e]);return n.useEffect((()=>{s(t)}),[t,s]),a?n.createElement("iframe",{loading:"lazy",src:a,width:"100%",height:"100%",style:{position:"absolute",left:0,top:0,width:"100%",height:"100%"}}):null},O=n.memo(v,((e,t)=>e.code===t.code&&e.query===t.query&&e.css===t.css)),w=e=>n.createElement("svg",function(e){for(var t=1;t{l?(i(!1),setTimeout((()=>{c((e=>!e)),setTimeout((()=>{i(!0)}),300)}),100)):(i(!1),c((e=>!e)),setTimeout((()=>{i(!0)}),300))}},n.createElement(w,{className:(0,a.c)(l&&"rotate-180","transition-transform","duration-200","ease-in-out")}),n.createElement("span",{className:(0,a.c)("text-base","block","overflow-hidden","h-6")},n.createElement("span",{className:(0,a.c)("block",l&&"opacity-0","transition-opacity duration-200 ease-in-out")},"Show Code"),n.createElement("span",{className:(0,a.c)("block","transition-transform duration-200 ease-in-out","bg-gray-100 dark:bg-gray-700",l&&"-translate-y-6")},"Hide Code"))),n.createElement("div",{className:(0,a.c)("rounded-bl-lg","rounded-br-lg"),style:{maxHeight:l?o?"unset":"100vh":"0px",transition:"0.3s all ease-in-out",overflow:"hidden"},ref:r},n.createElement(A,{language:"tsx",style:{marginBottom:0,marginRight:"0",marginLeft:"0",borderTopLeftRadius:"0",borderTopRightRadius:"0",borderBottomLeftRadius:"0.5rem",borderBottomRightRadius:"0.5rem"}},t)))}const E=({children:e,disableScroll:t,previewHeight:r,hideCode:l=!1,url:o="http://localhost:3000",previewOnly:i=!1,tailwind:f=!1})=>{const d=String(e),{shared:h,sharedCss:y}=(0,g.UF)(),{visible:v}=(e=>{const t="// visible-block-start";let r=e.indexOf(t);r=r>0?r+22:0;let n=e.indexOf("// visible-block-end");n=n>0?n:e.length;const l=e.slice(0,r),a=e.slice(r,n).trimEnd().trimStart(),c=e.slice(n);return{visible:a,join:e=>`${l}\n${e}\n${c}`}})(`\n ${null!=h?h:""}\n ${d}\n `.replace(/\n$/,"")),w=n.useRef(null),E=(0,p.c)(w),{siteConfig:{customFields:j}}=(0,c.c)(),{isLast:P}=(0,s.E)();return n.createElement("div",{className:(0,a.c)("overflow-hidden","mb-6","refine-wider-container")},n.createElement(n.Fragment,null,n.createElement(m,{url:o,hasBottom:!i},n.createElement("div",{className:(0,a.c)(u,"live-editor-wrapper"),style:{maxHeight:r,minHeight:r,overflow:t?"hidden":void 0,position:"relative"},ref:w},P?n.createElement(b,{if:E,maxWait:3e3},(()=>n.createElement(O,{code:`\n${null!=h?h:""}\n${d}\n `,css:y,query:`${t?"&disableScroll=true":""}${f?"&tailwind=true":""}`}))):n.createElement("div",{style:{height:"100%",minHeight:"inherit",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"1.25rem"}},n.createElement("span",null,"Live previews only work with the latest documentation.")))),!i&&n.createElement(x,{hidden:l,code:v})))},j=n.memo(E,((e,t)=>String(e.children)===String(t.children))),P=({children:e})=>{const{setShared:t}=(0,g.UF)();return n.useEffect((()=>(t(String(e)),()=>{t(void 0)})),[e]),null},k=n.memo(P,((e,t)=>String(e.children)===String(t.children))),C=({children:e})=>{const{setSharedCss:t}=(0,g.UF)();return n.useEffect((()=>(t(String(e)),()=>{t(void 0)})),[e]),null},N=n.memo(C,((e,t)=>String(e.children)===String(t.children)));function A(e){var t,r;return e.live&&e.live&&(null===(r=e.className)||void 0===r||null===(t=r.includes)||void 0===t?void 0:t.call(r,"language-css"))?n.createElement(N,e):e.shared&&e.live?n.createElement(k,e):e.live?n.createElement(j,e):n.createElement(l.s,e)}},3704:(e,t,r)=>{"use strict";r.d(t,{c:()=>f});var n=r(1504),l=r(9184),a=r(1724);const c=e=>{var t,r,n,l,c,o;let i="noopener noreferrer nofollow";const s=(0,a.c)(e);return(null===(r=e)||void 0===r||null===(t=r.includes)||void 0===t?void 0:t.call(r,"github.com/refinedev/refine"))&&(i="noopener"),(s||(null===(l=e)||void 0===l||null===(n=l.includes)||void 0===n?void 0:n.call(l,"refine.dev")))&&(i="noopener dofollow"),(s||(null===(o=e)||void 0===o||null===(c=o.includes)||void 0===c?void 0:c.call(o,"reactadminpanel.com")))&&(i="noopener dofollow"),i};var o=r(640);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e){for(var t=1;t{"use strict";r.d(t,{c:()=>ot});var n=r(7584),l=r(1504),a=r(4971),c=r(6192),o=r(6112),i=r(9184);const s=({title:e,description:t,image:r,variant:n="purple",button:s={text:"Explore Now",href:"https://prepverse.github.io/portfolio",onClick:void 0},bannerName:u})=>{var f,m,d,p,b,g;return l.useEffect((()=>{"undefined"!=typeof window&&void 0!==window.gtag&&u&&window.gtag("event","view_banner",{banner_name:u,banner_text:e,banner_description:t,banner_image:r.src})}),[u]),l.createElement("div",{className:(0,a.c)("relative","rounded-2xl","p-6","flex","flex-col 2xl:flex-row","items-center","gap-4 2xl:gap-10","not-prose","gray"===n&&"bg-banner-examples-gray","purple"===n&&"bg-banner-examples-purple")},l.createElement(i.c,{to:null!==(b=null===(f=r)||void 0===f?void 0:f.href)&&void 0!==b?b:null===(m=s)||void 0===m?void 0:m.href,target:"_blank",rel:"noopener noreferrer",className:(0,a.c)("flex","max-w-[360px]","h-auto","flex-shrink-0","rounded-lg","overflow-hidden")},l.createElement("img",{src:null===(d=r)||void 0===d?void 0:d.src,alt:null!==(g=null===(p=r)||void 0===p?void 0:p.alt)&&void 0!==g?g:e,loading:"lazy"})),l.createElement("div",{className:(0,a.c)("flex","flex-col","gap-6","justify-center 2xl:justify-start","items-center 2xl:items-start","text-center 2xl:text-start","not-prose")},e&&l.createElement("h2",{className:(0,a.c)("text-xl md:text-2xl","text-gray-0")},e),l.createElement("p",{className:(0,a.c)("text-sm md:text-base","text-gray-100")},t),l.createElement(c.D,{className:(0,a.c)("w-max"),buttonClassname:(0,a.c)("!px-4","!py-2"),href:s.href,onClick:s.onClick,target:"_blank",rel:"noopener noreferrer"},l.createElement("div",{className:(0,a.c)("text-gray-900","text-sm md:text-base","font-bold")},s.text),l.createElement(o.G,{className:(0,a.c)("ml-1 md:ml-2","w-[14px] h-[14px]","md:w-4 md:h-4")}))))},u=({title:e="My Portfolio",description:t="Click here to discover my latest projects, skills, and achievements on my portfolio website. My journey into creativity begins now!",button:r={text:"Explore Now",href:"https://prepverse.github.io/portfolio?ref=banner-retool-alternative",onClick:void 0}})=>(l.useEffect((()=>{"undefined"!=typeof window&&void 0!==window.gtag&&e&&t&&window.gtag("event","view_banner",{banner_name:"banner-retool-alternative",banner_text:e,banner_description:t})}),[e,t]),l.createElement("div",{className:(0,a.c)("relative","rounded-2xl","p-8","flex","flex-col","justify-center","items-center","not-prose","bg-banner-examples-gray")},l.createElement("h2",{className:(0,a.c)("text-2xl","font-semibold","bg-banner-examples-text","bg-clip-text","text-transparent")},e),l.createElement("p",{className:(0,a.c)("mt-2","text-sm","text-gray-300")},t),l.createElement(c.D,{className:(0,a.c)("mt-9"),href:r.href,onClick:r.onClick,target:"_blank",rel:"noopener noreferrer"},l.createElement("div",{className:(0,a.c)("text-gray-900","text-base","font-bold")},r.text))));var f=r(8164);const m=[],d=Math.floor(Math.random()*(m.length+1));var p=r(4752),b=r(7396);const g=({image:e,title:t,description:r,isDark:n})=>{let a;a="refineNew"===r?l.createElement("div",null," ",l.createElement("a",{href:"https://s.refine.dev/new-blog",target:"_blank"},"refine.new")," ","enables you to create React-based, headless UI enterprise applications within your browser that you can preview, tweak and download instantly.",l.createElement("br",null),l.createElement("br",null),"\ud83d\ude80 By visually combining options for your preferred \u2728",l.createElement("b",null," React platform,")," \u2728 ",l.createElement("b",null,"UI framework"),", \u2728"," ",l.createElement("b",null,"backend connector"),", and \u2728 ",l.createElement("b",null,"auth provider"),"; you can create tailor-made architectures for your project in seconds. It feels like having access to thousands of project templates at your fingertips, allowing you to choose the one that best suits your needs!",l.createElement("br",null),l.createElement("br",null),l.createElement("br",null)):null!=r?r:l.createElement("div",null,"Meet the headless, React-based solution to build sleek"," ",l.createElement("b",null,"CRUD")," applications. With refine, you can be confident that your codebase will always stay clean and boilerplate-free.",l.createElement("br",null),l.createElement("br",null),"Try"," ",l.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank"},"PrepVerse")," ","to rapidly build your next ",l.createElement("b",null,"CRUD")," project, whether ","it's"," ","an admin panel, dashboard, internal tool or storefront.");const c=null!=e?e:"https://refine.ams3.cdn.digitaloceanspaces.com/website/static/img/generic_banner.png";c.startsWith("http")||c.startsWith("/");return l.createElement("a",{href:"https://s.refine.dev/hackathon2",target:"_blank",rel:"noreferrer"},l.createElement("img",{src:"https://refine.ams3.cdn.digitaloceanspaces.com/hackathon-2/hackathon_cover.png"}))};var h=r(5524),y=r(3896),v=r(3376),O=r(8840);function w(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const x=e=>l.createElement("svg",function(e){for(var t=1;t{var t,r,n;const c=l.useRef(!1),{id:o}=(0,v.U)(),[i,s]=l.useState(!1),{items:u}=(0,O.GC)(),{reward:f}=(0,y.yh)(`checklist-${o}`,"confetti",{angle:90,elementCount:120,startVelocity:30,decay:.95,spread:100,position:"absolute",lifetime:150}),m=null===(n=u.find((e=>e.id===o)))||void 0===n||null===(t=(r=n.checklist).every)||void 0===t?void 0:t.call(r,(e=>e.checked));return l.useEffect((()=>{setTimeout((()=>{c.current=!0}),1e3)}),[]),l.useEffect((()=>{!i&&m&&c.current&&(s(!0),f())}),[m,i]),l.createElement("div",{className:(0,a.c)("rounded-lg","border-l-gray-400 dark:border-l-gray-600","dark:bg-gray-800 bg-gray-50")},l.createElement("div",{className:(0,a.c)("border-l-4","border-l-solid","border-l-inherit","rounded-tl-lg","rounded-bl-lg","p-4","flex flex-col")},l.createElement("div",{className:"border-b border-gray-400 dark:border-gray-500 border-opacity-50 dark:border-opacity-50"},l.createElement("div",{className:(0,a.c)("not-prose","mt-0 mb-4","flex items-center","gap-2")},l.createElement(x,{className:(0,a.c)("w-4 h-4","dark:text-gray-100 text-gray-800")}),l.createElement("h3",{className:(0,a.c)("m-0 p-0","font-semibold","dark:text-gray-100 text-gray-800","uppercase","text-base leading-6")},"Checklist"))),l.createElement("div",null,e),l.createElement("div",{className:"flex items-center justify-center"},l.createElement("div",{id:`checklist-${o}`}))))};function j(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const P=e=>l.createElement("svg",function(e){for(var t=1;t{var r,n,c,o;const{id:i}=(0,v.U)(),{items:s,toggle:u}=(0,O.GC)(),f=null===(r=null===(o=s.find((e=>e.id===i)))||void 0===o||null===(n=(c=o.checklist).find)||void 0===n?void 0:n.call(c,(e=>e.id===t)))||void 0===r?void 0:r.checked;return l.createElement("label",{className:(0,a.c)("mt-4","flex","items-center justify-start","flex-nowrap","gap-2","cursor-pointer")},l.createElement("div",{className:"flex-shrink-0"},l.createElement("button",{type:"button",onClick:()=>{u(i,t)},className:(0,a.c)("appearance-none","flex items-center justify-center","w-4 h-4","rounded","border",{"border-gray-400 dark:border-gray-500":!f,"border-refine-react-dark-link dark:border-refine-react-dark-link":f,"bg-refine-react-dark-link":f})},f&&l.createElement(P,null))),l.createElement("div",{className:(0,a.c)(f&&"line-through dark:text-gray-100 dark:text-opacity-50 text-gray-800 text-opacity-50",!f&&"text-gray-800 dark:text-gray-100")},e))};var C=r(8560),N=r(2108);const A=({path:e})=>l.createElement(C.s,{language:"bash",title:"Run on your local",icon:l.createElement(N.G,null)},`npm create refine-app@latest -- --example ${e}`);var S=r(5792);const H=({path:e})=>l.createElement("div",{className:(0,a.c)("refine-wider-container","py-2","px-2","text-base","font-sans","flex items-center","gap-2","rounded-lg","dark:bg-gray-700","bg-gray-100","mb-6")},l.createElement(S.A,{className:"ml-1.5 w-5 h-5 text-gray-800 dark:text-gray-100"}),l.createElement("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:(0,a.c)("text-base","leading-8","text-refine-react-light-link dark:text-refine-react-dark-link")},l.createElement("span",null,"View Source Code"))),D=({path:e})=>{const t=`https://github.com/PrepVerse/PrepVerse/tree/master/examples/${e}`;return l.createElement(H,{path:t})},Z=({path:e,hideSource:t,hideLocal:r,hideSandbox:n})=>{const a=`${`https://codesandbox.io/embed/github/refinedev/refine/tree/master/examples/${e}`}?view=preview&theme=dark&runonclick=1&codemirror=1`;return l.createElement("div",null,!t&&l.createElement(D,{path:e}),!r&&l.createElement(A,{path:e}),!n&&l.createElement("iframe",{loading:"lazy",src:a,style:{width:"100%",height:"80vh",border:"0px",borderRadius:"8px",overflow:"hidden"},title:e,allow:"accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking",sandbox:"allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"}))};var M=r(1240),L=r(7916);const z=()=>l.createElement("div",null,l.createElement(M.c,{type:"simple",title:"Good to know"},l.createElement(L.s,null,"\nAll the data related hooks (useTable, useForm, useList etc.) of Refine can be given some common properties like `resource`, `meta` etc.\n\nFor more information, refer to the [General Concepts documentation](/docs/guides-concepts/general-concepts).\n"))),B=({children:e,content:t})=>l.createElement("div",{className:(0,a.c)("refine-info-badge","relative","group","inline-flex","align-middle")},e,l.createElement("div",{className:(0,a.c)("absolute","-left-1","top-0","translate-x-0","-translate-y-0","scale-0","group-hover:scale-100","group-hover:-translate-y-full","transition-transform","origin-top-left","pb-2","w-60","pointer-events-none")},l.createElement("div",{className:(0,a.c)("text-xs","text-gray-600","bg-gray-0","border","border-gray-200","shadow-sm","rounded","py-1","px-2","font-normal")},null!=t?t:"Check the guide for more information"))),R=({id:e,icon:t,color:r,text:n,description:c})=>{const o=(0,a.c)("orange"===r&&(0,a.c)("bg-refine-react-light-orange-bg dark:bg-refine-react-dark-orange","dark:bg-opacity-[0.15]","text-refine-react-light-orange dark:text-refine-react-dark-orange"),"green"===r&&(0,a.c)("bg-refine-react-light-green-bg dark:bg-refine-react-dark-green","dark:bg-opacity-[0.15]","text-refine-react-light-green dark:text-refine-react-dark-green"),"purple"===r&&(0,a.c)("bg-refine-react-light-purple-bg dark:bg-refine-react-dark-purple","dark:bg-opacity-[0.15]","text-refine-react-light-purple dark:text-refine-react-dark-purple"));return l.createElement(B,{content:c},l.createElement(i.c,{to:`/docs/${e}`,className:(0,a.c)("-mt-px","rounded-[10px]","inline-flex","items-center","justify-center","text-sm","no-underline","gap-1.5","[&>svg]:hover:scale-110","[&>svg]:transition-transform [&>svg]:duration-200 [&>svg]:ease-in-out",o)},t,n&&l.createElement("span",{className:"text-xs leading-[0.875rem]"},n)))};function T(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const G=e=>l.createElement("svg",function(e){for(var t=1;tl.createElement("svg",function(e){for(var t=1;tr?l.createElement("div",{className:(0,a.c)("inline-flex","text-sm","py-0.5","px-2","rounded-xl","bg-refine-orange","bg-opacity-10","text-refine-orange","tracking-wide","align-middle","font-normal","mr-1"),title:o},null!=e?e:"deprecated"):t?l.createElement("div",{className:(0,a.c)("inline-flex","justify-center items-center","text-sm","text-refine-red","rounded-full","bg-refine-red bg-opacity-10","ml-1","w-6 h-6","align-middle")},null!=e?e:"\ufe61"):n?l.createElement("div",{className:(0,a.c)("inline-flex","text-sm","py-0.5","px-2","rounded-xl","bg-refine-red","bg-opacity-10","text-refine-red","tracking-wide","align-middle","font-normal","mr-1"),title:o},null!=e?e:"required"):c?l.createElement("div",{className:(0,a.c)("inline-flex","text-sm","py-0.5","px-2","rounded-xl","bg-refine-green","bg-opacity-10","text-refine-green","tracking-wide","align-middle","font-normal","mr-1"),title:o},null!=e?e:"featured"):e?l.createElement("div",{className:(0,a.c)("inline","text-gray-0","text-xs","leading-6","py-0.5","px-2","rounded","bg-gray-800","tracking-wide","align-middle","mr-1"),title:o},e):null,W="tooltip__Ymd",I="tooltipContainer_l6r7",U="tooltipContent_UeXm",X="tooltipArrow_mOyh",J=({label:e,children:t})=>e?l.createElement("div",{className:`${W} group`},t,l.createElement("div",{className:`${I} group-hover:visible`},l.createElement("span",{className:U},e),l.createElement("div",{className:X}))):l.createElement(l.Fragment,null,t);function K(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},a=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const Q=({prop:e,overrides:t})=>{var r,n,a;const c=null!==(a=t[`${e.name}-required`])&&void 0!==a?a:e.required;var o;const i=null!==(o=t[`${e.name}-deprecated`])&&void 0!==o?o:null===(r=e.tags)||void 0===r?void 0:r.deprecated;var s,u;const f=null!==(u=null!==(s=t[`${e.name}-deprecated`])&&void 0!==s?s:null===(n=e.tags)||void 0===n?void 0:n.deprecated)&&void 0!==u?u:"",m=(0,l.useMemo)((()=>{const e="props-table--name";return i?`${e} props-table--name__deprecated`:e}),[e,t]),d=(0,l.useMemo)((()=>f?l.createElement(L.s,null,f):null),[e,t]);var p;return l.createElement(J,{label:d},l.createElement(l.Fragment,null,l.createElement("span",{className:m},null!==(p=t[`${e.name}-name`])&&void 0!==p?p:e.name),c&&l.createElement(Y,{asterisk:!0})))},q=({prop:e,overrides:t})=>{var r;const n=null!==(r=t[`${e.name}-type`])&&void 0!==r?r:e.type.name,a=n.split(" | "),c=a.length>1,o=a.some((e=>e.length>20)),i=/`/.test(n);return l.createElement(l.Fragment,null,i?l.createElement(L.s,null,n):o&&c?l.createElement(l.Fragment,null,a.map(((e,t)=>l.createElement("code",{className:"max-w-xs h-min",key:t},l.createElement(L.s,null,e))))):l.createElement("code",{className:"max-w-xs h-min"},l.createElement(L.s,null,n)))},_=({prop:e,overrides:t})=>{var r,n;return l.createElement(L.s,null,null!==(n=null!==(r=t[`${e.name}-description`])&&void 0!==r?r:e.tags.description)&&void 0!==n?n:e.description)},$=({prop:e,overrides:t})=>{var r,n,a,c;const o=null===(r=e.tags)||void 0===r?void 0:r.default,i=(null===(n=e.defaultValue)||void 0===n?void 0:n.value)&&(null===(a=e.defaultValue)||void 0===a?void 0:a.value)!==o?null===(c=e.defaultValue)||void 0===c?void 0:c.value:void 0,s=t[`${e.name}-default`];return o||s?l.createElement(L.s,null,null!=s?s:o):l.createElement("div",{className:"flex flex-wrap gap-1"},void 0!==i?l.createElement("code",{className:"max-w-xs h-min"},l.createElement(L.s,null,i)):null)},ee=({prop:e,overrides:t})=>l.createElement("td",null,l.createElement("div",{className:"flex items-center"},l.createElement(Q,{prop:e,overrides:t}))),te=({prop:e,overrides:t})=>l.createElement("td",{className:"props-table__type-cell"},l.createElement("div",{className:"flex flex-wrap gap-1"},l.createElement(q,{prop:e,overrides:t}))),re=({prop:e,overrides:t})=>l.createElement("td",{className:"props-table__description-cell"},l.createElement(_,{prop:e,overrides:t})),ne=({prop:e,overrides:t})=>l.createElement("td",{className:"props-table__default-value-cell"},l.createElement($,{prop:e,overrides:t})),le=e=>{var{module:t,hideDefaults:n,children:a}=e,c=K(e,["module","hideDefaults","children"]);const o=((e,t="@refinedev/")=>{const[n,a]=(0,l.useState)(null);return(0,l.useEffect)((()=>{let n=!1;return r(6324)(`./${e.startsWith(t)?e:`${t}${e}`}.json`).then((e=>{n||(n=!0,a(e.default))})).catch(console.warn),()=>{n=!0}}),[e]),n})(t),i=(0,l.useMemo)((()=>{var e;if(n)return!1;if(Object.keys(c).some((e=>e.endsWith("-default"))))return!1;var t;return!Object.values(null!==(t=null===(e=o)||void 0===e?void 0:e.props)&&void 0!==t?t:{}).some((e=>{var t;return null===(t=e.defaultValue)||void 0===t?void 0:t.value}))}),[c]);if(!o)return null;const s=[...Object.values(o.props)];return l.createElement("div",{className:"table-container"},l.createElement("table",{className:"props-table"},l.createElement("thead",null,l.createElement("tr",null,l.createElement("th",null,"Property"),l.createElement("th",null,"Type"),l.createElement("th",null,"Description"),i?null:l.createElement("th",null,"Default"))),l.createElement("tbody",null,s.map((e=>c[`${e.name}-hidden`]?null:l.createElement("tr",{key:e.name},l.createElement(ee,{prop:e,overrides:c}),l.createElement(te,{prop:e,overrides:c}),l.createElement(re,{prop:e,overrides:c}),i?null:l.createElement(ne,{prop:e,overrides:c})))))),a)};function ae(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ce=e=>l.createElement("svg",function(e){for(var t=1;t{const{current:r}=(0,oe.U)();return e&&r===e?l.createElement(l.Fragment,null,t):null};var se=r(8530);function ue(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fe(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const me=e=>{var t;const r=l.Children.toArray(e.children),n=r.find((e=>l.isValidElement(e)&&"summary"===(null===(t=e.props)||void 0===t?void 0:t.mdxType))),c=l.createElement(l.Fragment,null,r.filter((e=>e!==n)));return l.createElement(se.S,fe(function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const ge=e=>{var{children:t,className:r}=e,n=be(e,["children","className"]);return l.createElement("summary",function(e){for(var t=1;t{const t=e.currentTarget,l=s.indexOf(t),a=c[l].value;a!==r&&(u(t),n(a))},m=e=>{var t,r;let n=null;switch(e.key){case"Enter":f(e);break;case"ArrowRight":{const t=s.indexOf(e.currentTarget)+1;var l;n=null!==(l=s[t])&&void 0!==l?l:s[0];break}case"ArrowLeft":{const t=s.indexOf(e.currentTarget)-1;var a;n=null!==(a=s[t])&&void 0!==a?a:s[s.length-1];break}}null===(r=n)||void 0===r||null===(t=r.focus)||void 0===t||t.call(r)};return l.createElement("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,a.c)(e,"!my-0","flex-wrap","list-none","m-0 mb-0 mt-0","px-4","flex gap-4","bg-gray-100 dark:bg-gray-700","rounded-tl-lg rounded-tr-lg",!o&&"rounded-bl-lg rounded-br-lg","items-stretch")},c.map((({value:e,label:t,attributes:n})=>l.createElement("li",xe(we({role:"tab",tabIndex:r===e?0:-1,"aria-selected":r===e,key:e,ref:e=>s.push(e),onKeyDown:m,onClick:f},n),{className:(0,a.c)("!my-0","mx-0 mt-0","px-2 py-3","flex items-center justify-center","min-w-[60px]","cursor-pointer","transition-all duration-200 ease-in-out","border-b border-solid","select-none",i&&"!text-xs",!i&&"!text-base",r!==e&&"text-gray-800 dark:text-gray-100",r===e&&"text-refine-react-light-link dark:text-refine-react-dark-link",r!==e&&"hover:text-refine-react-light-link dark:hover:text-refine-react-dark-link",r!==e&&"border-b-transparent",r===e&&"border-b-refine-react-light-link dark:border-b-refine-react-dark-link",r!==e&&"hover:border-b-refine-react-light-link dark:hover:border-b-refine-react-dark-link")}),null!=t?t:e))))}function je({lazy:e,children:t,selectedValue:r,smallTabs:n}){const c=(Array.isArray(t)?t:[t]).filter(Boolean);if(e){const e=c.find((e=>e.props.value===r));return e?(0,l.cloneElement)(e,{className:"margin-top--md refine-tab-content"}):null}var o;return l.createElement("div",{className:"p-4"},c.map(((e,t)=>(0,l.cloneElement)(e,{key:t,hidden:e.props.value!==r,className:(0,a.c)(null!==(o=e.props.className)&&void 0!==o?o:[],"refine-tab-content")}))))}function Pe(e){const t=(0,ye.a)(e),{wrapContent:r=!0}=e;return l.createElement("div",{className:(0,a.c)("tabs-container","rounded-lg","border-gray-300 dark:border-gray-700",r?"border":"border-0","mb-6","refine-wider-container")},l.createElement(Ee,we({},e,t)),l.createElement(je,we({},e,t)))}function ke(e){const t=(0,ve.c)();return l.createElement(Pe,we({key:String(t)},e))}function Ce(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ne(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},a=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}var Ae=r(4472),Se=r(4896),He=r(1488),De=r(8620),Ze=r(6076),Me=r(9072);function Le(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ze=e=>l.createElement("svg",function(e){for(var t=1;tl.createElement("svg",function(e){for(var t=1;t{var t,r;const[n,c]=(0,l.useState)(!1),{refs:o,floatingStyles:i,context:s}=(0,Ae.gR)({placement:"bottom-start",open:e.isOpen,onOpenChange:e.onOpenChange,whileElementsMounted:Se.kN,middleware:[(0,He.E3)((({middlewareData:e})=>{var t;return(null===(t=e)||void 0===t?void 0:t.flip)?{mainAxis:12}:{mainAxis:52}})),(0,Se.EB)((({placement:e})=>(e.includes("bottom")&&c(!1),e.includes("top")&&c(!0),{fallbackPlacements:["top-start"]})))]}),u=(0,Ae.ug)(s,{outsidePress:e=>!(null===(r=e.target)||void 0===r||null===(t=r.closest)||void 0===t?void 0:t.call(r,".widget-actions"))}),{getReferenceProps:f,getFloatingProps:m}=(0,Ae.M3)([u]);return l.createElement(l.Fragment,null,l.createElement("div",Xe(Ue({ref:o.setReference},f()),{style:{position:"absolute",top:"0",left:0}})),l.createElement(De.I,null,s.open&&l.createElement(Ze.q.div,Xe(Ue({initial:{opacity:0},animate:{opacity:1,transition:{duration:.2}},exit:{opacity:0},ref:o.setFloating,style:i},m()),{className:(0,a.c)("w-[320px]","bg-[#EAEBEF] dark:bg-refine-react-dark-code","border border-[#E3E4E5] dark:border-[#343A46]","rounded-[20px]","relative")}),e.children,l.createElement(Ke,{style:Ue({position:"absolute",top:n?"unset":"-10px",bottom:n?"-10px":"unset",transform:n?"rotate(180deg)":"rotate(0deg)",transition:"right 0.2s ease-in-out",willChange:"right"},e.arrowStyle)}))))},Ke=e=>{const{colorMode:t}=(0,Me.U)(),r="dark"===t;return l.createElement("svg",Ue({xmlns:"http://www.w3.org/2000/svg",width:42,height:18,viewBox:"0 0 42 18",fill:"none"},e),l.createElement("title",null,"Popover Pointer"),l.createElement("path",{fill:r?"#16181D":"#EAEBEF",stroke:"url(#a)",d:"M18.303 2.077C18.892 1.105 19.9.5 21 .5s2.108.605 2.697 1.577l3.026 4.992c.928 1.532 2.476 2.431 4.11 2.431H41.5v8H.5v-8h10.667c1.634 0 3.182-.899 4.11-2.431l3.026-4.992Z"}),l.createElement("defs",null,l.createElement("linearGradient",{id:"a",x1:21,x2:21,y1:1,y2:16,gradientUnits:"userSpaceOnUse"},l.createElement("stop",{offset:.59,stopColor:r?"#343A46":"#E3E4E5"}),l.createElement("stop",{offset:.602,stopColor:r?"#343A46":"#E3E4E5",stopOpacity:0}))))},Qe={UP:1,DOWN:2};function qe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _e(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}var $e;var et=r(7500),tt=r(9104);var rt=r(9092);var nt=r(5560);function lt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function at(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function ct(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ot=(it=function(e){for(var t=1;t{var{className:t}=e,r=Ne(e,["className"]);return l.createElement("blockquote",function(e){for(var t=1;td===m.length?l.createElement(f.c,null,(()=>l.createElement(u,null))):l.createElement(f.c,null,(()=>l.createElement(s,m[d]))),GuideBadge:({id:e,description:t="Please check the guide for more information on this topic.",text:r})=>l.createElement(R,{id:e,color:"green",icon:l.createElement(F,null),text:r,description:l.createElement(l.Fragment,null,l.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Check the guide"),l.createElement("div",{className:"text-xs"},t))}),RouterBadge:({id:e="guides-concepts/routing/",description:t="This value can be inferred from the route. Click to see the guide for more information.",text:r})=>l.createElement(R,{id:e,color:"orange",text:r,icon:l.createElement(ce,null),description:l.createElement(l.Fragment,null,l.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Router Integrated"),l.createElement("div",{className:"text-xs"},t))}),GlobalConfigBadge:({id:e="core/refine-component",description:t="This value can be configured globally. Click to see the guide for more information.",text:r})=>l.createElement(R,{color:"purple",icon:l.createElement(G,null),text:r,id:e,description:l.createElement(l.Fragment,null,l.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Globally Configurable"),l.createElement("div",{className:"text-xs"},t))}),Image:e=>l.createElement("img",_e(function(e){for(var t=1;t{const t=e?`-- ${e}`:"",r={npm:`npm create refine-app@latest ${t}`,pnpm:`pnpm create refine-app@latest ${t}`,yarn:`yarn create refine-app@latest ${t}`};return l.createElement(ke,null,l.createElement(tt.c,{value:"npm",label:"npm",default:!0},l.createElement(C.s,{className:"language-bash"},r.npm)),l.createElement(tt.c,{value:"pnpm",label:"pnpm"},l.createElement(C.s,{className:"language-bash"},r.pnpm)),l.createElement(tt.c,{value:"yarn",label:"yarn"},l.createElement(C.s,{className:"language-bash"},r.yarn),l.createElement(L.s,null,"> Only supports yarn@1 version.")))},InstallPackagesCommand:({args:e,children:t})=>{const r={npm:`npm i ${e}`,pnpm:`pnpm add ${e}`,yarn:`yarn add ${e}`};return l.createElement(ke,null,l.createElement(tt.c,{value:"npm",label:"npm",default:!0},l.createElement(C.s,{className:"language-bash"},r.npm),t),l.createElement(tt.c,{value:"pnpm",label:"pnpm"},l.createElement(C.s,{className:"language-bash"},r.pnpm),t),l.createElement(tt.c,{value:"yarn",label:"yarn"},l.createElement(C.s,{className:"language-bash"},r.yarn),t))},FullTable:et.Ih,TutorialConditional:({parameter:e,value:t,children:r})=>{var n;const{parameters:a}=(0,rt.iC)();return(null===(n=a)||void 0===n?void 0:n[e])===t?l.createElement(l.Fragment,null,r):null},VideoInView:e=>{const t=l.useRef(null),r=(0,nt.c)(t);return l.useEffect((()=>{var e,n,l,a;r?null===(n=t.current)||void 0===n||null===(e=n.play)||void 0===e||e.call(n):null===(a=t.current)||void 0===a||null===(l=a.pause)||void 0===l||l.call(a)}),[r]),l.createElement("video",at(function(e){for(var t=1;t{var e,r,n,l,a;(null===(e=t.current)||void 0===e?void 0:e.paused)?null===(n=t.current)||void 0===n||null===(r=n.play)||void 0===r||r.call(n):null===(a=t.current)||void 0===a||null===(l=a.pause)||void 0===l||l.call(a)},className:(0,a.c)(e.className,"w-full","h-auto","max-w-full","max-h-full","rounded-xl","object-contain")}))},DocThumbsUpDownFeedbackWidget:e=>{const t=(0,We.IT)(),[r,n]=(0,l.useState)(""),[c,o]=(0,l.useState)(null),[i,s]=(0,l.useState)(!1),[u,f]=(0,l.useState)(!1),m=i||u,{survey:d,createSurvey:p,updateSurvey:b}=(e=>{const[t,r]=(0,l.useState)(null),n=Ye[e.type];return{survey:t,setSurvey:r,createSurvey:async({body:e})=>{const t=await fetch(`${n}/responses`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(!t.ok)return null;const l=await t.json();return l?(r(l),l):void 0},updateSurvey:async({surveyId:e,body:t})=>{const l=await fetch(`${n}/responses/${e}`,{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(!l.ok)return null;const a=await l.json();return a?(r(a),a):void 0}}})({type:Te.THUMBS}),g=async r=>{o(r),s(!0),d?await b({surveyId:d.id,body:{response:r}}):await p({body:{response:r,entityId:t.pathname,metaData:{sectionId:e.id}}})};return l.createElement("div",{className:"group"},e.children,l.createElement("div",{className:(0,a.c)("relative","z-popover","hidden md:flex","items-center","gap-5","w-max h-[40px]","pt-1 pr-1 pb-1 pl-4","bg-[#99A1B31A] dark:bg-[#2F333C]","rounded-[28px]","transition-all duration-300 ease-in-out",!m&&"opacity-0","group-hover:opacity-100")},l.createElement("div",{className:(0,a.c)("text-xs","whitespace-nowrap","text-[#23272F] dark:text-[#E3E4E5]")},"Was this helpful?"),l.createElement("div",{className:(0,a.c)("flex","items-center","gap-1","widget-actions")},l.createElement("button",{type:"button",onClick:()=>g(Qe.UP),className:(0,a.c)("w-8 h-8","flex items-center justify-center","rounded-full","text-gray-500","hover:text-green-500 hover:bg-green-500/20","transition-all duration-200 ease-in-out",1===c&&"text-green-500 bg-green-500/20")},l.createElement(ze,null)),l.createElement("button",{type:"button",onClick:()=>g(Qe.DOWN),className:(0,a.c)("w-8 h-8","flex items-center justify-center","rounded-full","text-gray-500","hover:text-red-500 hover:bg-red-500/20","transition-all duration-200 ease-in-out",2===c&&"text-red-500 bg-red-500/20")},l.createElement(Re,null))),l.createElement(Je,{isOpen:m,onOpenChange:e=>{u||e||(s(!1),f(!1))},arrowStyle:{right:1===c?"150px":"115px"}},!u&&l.createElement("form",{className:(0,a.c)("flex flex-col","p-2"),onSubmit:e=>{e.preventDefault(),(async()=>{const e=r.trim();e&&(await b({surveyId:d.id,body:{response:c,responseText:e}}),f(!0),setTimeout((()=>{s(!1),f(!1)}),2e3))})()}},l.createElement("textarea",{rows:3,required:!0,minLength:3,placeholder:"Your thumbs tells us a lot, but If you have any additional thoughts or suggestions, we'd love to hear them!",onChange:e=>n(e.target.value),value:r,className:(0,a.c)("w-full","bg-white dark:bg-[#343A46]","text-[#23272F] dark:text-[#E3E4E5]","resize-none","rounded-xl","text-xs","py-2 px-3")}),l.createElement("button",{type:"submit",className:(0,a.c)("w-16 h-6","flex items-center justify-center","bg-refine-react-light-link dark:bg-refine-react-dark-link","text-xs","text-white","rounded-full","mt-2 ml-auto")},"Send")),u&&l.createElement("div",{className:(0,a.c)("flex items-center","p-4","text-xs","text-gray-500")},l.createElement("span",null,"Thank you for your feedback!")))))}},st=null!=st?st:{},Object.getOwnPropertyDescriptors?Object.defineProperties(it,Object.getOwnPropertyDescriptors(st)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(st)).forEach((function(e){Object.defineProperty(it,e,Object.getOwnPropertyDescriptor(st,e))})),it);var it,st},8092:(e,t,r)=>{"use strict";r.d(t,{c:()=>c});var n=r(1504),l=r(4971),a=r(9184);function c({permalink:e,label:t,isActive:r,size:c="small",variant:o="default"}){return n.createElement(a.c,{href:e,className:(0,l.c)("no-underline hover:no-underline","rounded-full","small"===c&&"text-xs","small"===c&&"py-1","small"===c&&"px-3","medium"===c&&"text-sm","medium"===c&&"py-2","medium"===c&&"px-4",!r&&"bg-gray-100 dark:bg-gray-700",!r&&"text-gray-600 dark:text-gray-400","text-refine-react-8 dark:text-refine-react-3","default"===o&&"bg-refine-react-3 dark:bg-refine-react-7","inverted"===o&&"bg-refine-react-3 dark:bg-refine-react-8")},t)}},2032:(e,t,r)=>{"use strict";r.d(t,{c:()=>g});var n=r(1504),l=r(8092),a=/\b(?:an?d?|a[st]|because|but|by|en|for|i[fn]|neither|nor|o[fnr]|only|over|per|so|some|tha[tn]|the|to|up|upon|vs?\.?|versus|via|when|with|without|yet)\b/i,c=/[^\s:\u2013\u2014-]+|./g,o=/\s/,i=/.(?=[A-Z]|\..)/,s=/[A-Za-z0-9\u00C0-\u00FF]/;var u=r(4971),f=r(320),m=r(5880);function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e){for(var t=1;t{const r=a.indexOf(e.label),n=a.indexOf(t.label);return-1===r?-1===n?0:1:-1===n?-1:r-n}));return n.createElement(n.Fragment,null,n.createElement(h,{collapsed:r,tags:c,className:(0,u.c)("hidden blog-lg:flex",t),onShowMoreClick:e=>l(e)}),n.createElement(y,{tags:c,className:(0,u.c)("block blog-lg:hidden",t)}))}const h=({tags:e,collapsed:t,className:r,onShowMoreClick:a})=>n.createElement("div",{className:(0,u.c)("bg-gray-50 dark:bg-refine-react-dark-code","justify-between","items-start","p-5",t&&"rounded-full",!t&&"rounded-3xl","not-prose",r)},n.createElement("ul",{className:(0,u.c)("overflow-hidden","flex-1",!t&&"h-24",t&&"h-8","m-0 p-0","mr-16","transition-all duration-300 ease-in-out")},e.map((e=>n.createElement("li",{className:(0,u.c)("inline-flex","m-1","mr-3"),key:e.permalink},n.createElement(l.c,b(p({},e),{label:O(e.label)})))))),n.createElement("button",{type:"button",onClick:()=>a(!t),className:(0,u.c)("appearance-none","flex","items-center","justify-center","gap-2","cursor-pointer","flex-shrink","no-underline hover:no-underline","text-xs","rounded-full","py-1","pl-3","pr-1","mt-1","text-refine-react-8 dark:text-refine-react-3","bg-refine-react-3 dark:bg-refine-react-7")},"Show More"," ",n.createElement(v,{className:(0,u.c)("opacity-30","transition-transform duration-200 ease-in-out",{"rotate-180 transform":!t})}))),y=({tags:e,className:t})=>{const[r,a]=n.useState(!1);return n.createElement(n.Fragment,null,n.createElement("div",{className:(0,u.c)(t)},n.createElement("button",{type:"button",onClick:()=>a(!0),className:(0,u.c)("flex","items-center","justify-center","gap-2","rounded-full","px-6 py-3","bg-refine-react-3 dark:bg-refine-react-6","text-refine-react-8 dark:text-white")},n.createElement(f.y,null),n.createElement("div",null,"Filter Tags"))),n.createElement(m.E,{onClose:()=>a(!1),open:r,title:"Filter Tags",variant:"blog"},n.createElement("ul",{className:(0,u.c)("overflow-hidden","flex","flex-col","gap-6"),style:{margin:0,padding:0}},e.map((e=>n.createElement("li",{className:(0,u.c)("flex"),key:e.permalink},n.createElement(l.c,b(p({},e),{label:O(e.label),variant:"inverted",size:"medium"}))))))))},v=e=>n.createElement("svg",{width:16,height:16,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e.className},n.createElement("title",null,"chevron"),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M15 8A7 7 0 1 1 1 8a7 7 0 0 1 14 0Zm1 0A8 8 0 1 1 0 8a8 8 0 0 1 16 0ZM5.854 6.646a.5.5 0 1 0-.708.708l2.5 2.5a.5.5 0 0 0 .708 0l2.5-2.5a.5.5 0 0 0-.708-.708L8 8.793 5.854 6.646Z",clipRule:"evenodd"})),O=e=>{let t=`${e}`;t=e.replace(/-/g," ");return[["html","HTML"],["css","CSS"],["javascript","JavaScript"]].forEach((r=>{t=e.replace(r[0],r[1])})),function(e){for(var t,r="";null!==(t=c.exec(e));){var n=t[0],l=t.index;i.test(n)||a.test(n)&&0!==l&&l+n.length!==e.length||":"===e.charAt(l+n.length)&&!o.test(e.charAt(l+n.length+1))?r+=n:r+=n.replace(s,(function(e){return e.toUpperCase()}))}return r}(e)}}}]); \ No newline at end of file +(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[4976],{6324:(e,t,r)=>{var n={"./plugin-route-context-module-100.json":[4634,4634]};function l(e){if(!r.o(n,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=n[e],l=t[0];return r.e(t[1]).then((()=>r.t(l,19)))}l.keys=()=>Object.keys(n),l.id=6324,e.exports=l},6280:(e,t,r)=>{"use strict";r.d(t,{c:()=>u});var n=r(1504),l=r(4971),a=r(3652),c=r(5628),o=r(476),i=r(1580);const s={backToTopButton:"backToTopButton_sjWU",backToTopButtonShow:"backToTopButtonShow_xfvO"};function u(){const{shown:e,scrollToTop:t}=function({threshold:e}){const[t,r]=(0,n.useState)(!1),l=(0,n.useRef)(!1),{startScroll:a,cancelScroll:c}=(0,o.yI)();return(0,o.SM)((({scrollY:t},n)=>{var a;const o=null===(a=n)||void 0===a?void 0:a.scrollY;o&&(l.current?l.current=!1:t>=o?(c(),r(!1)):t{e.location.hash&&(l.current=!0,r(!1))})),{shown:t,scrollToTop:()=>a(0)}}({threshold:300});return n.createElement("button",{"aria-label":(0,a.G)({id:"theme.BackToTopButton.buttonAriaLabel",message:"Scroll back to top",description:"The ARIA label for the back to top button"}),className:(0,l.c)("clean-btn",c.W.common.backToTopButton,s.backToTopButton,e&&s.backToTopButtonShow),type:"button",onClick:t})}},3270:(e,t,r)=>{"use strict";r.d(t,{c:()=>c});var n=r(1504),l=r(1080),a=r(468);function c({children:e,className:t}){const{frontMatter:r,assets:c}=(0,a.g)(),{withBaseUrl:o}=(0,l.E)();var i;const s=null!==(i=c.image)&&void 0!==i?i:r.image;return n.createElement("article",{className:t,itemProp:"blogPost",itemScope:!0,itemType:"http://schema.org/BlogPosting"},s&&n.createElement("meta",{itemProp:"image",content:o(s,{absolute:!0})}),e)}},468:(e,t,r)=>{"use strict";r.d(t,{E:()=>c,g:()=>o});var n=r(1504),l=r(8476);const a=n.createContext(null);function c({children:e,content:t,isBlogPostPage:r=!1}){const l=function({content:e,isBlogPostPage:t}){return(0,n.useMemo)((()=>({metadata:e.metadata,frontMatter:e.frontMatter,assets:e.assets,toc:e.toc,isBlogPostPage:t})),[e,t])}({content:t,isBlogPostPage:r});return n.createElement(a.Provider,{value:l},e)}function o(){const e=(0,n.useContext)(a);if(null===e)throw new l.AH("BlogPostProvider");return e}},3688:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(1504),l=r(9936);const a=["zero","one","two","few","many","other"];function c(e){return a.filter((t=>e.includes(t)))}const o={locale:"en",pluralForms:c(["one","other"]),select:e=>1===e?"one":"other"};function i(){const{i18n:{currentLocale:e}}=(0,l.c)();return(0,n.useMemo)((()=>{try{return function(e){const t=new Intl.PluralRules(e);return{locale:e,pluralForms:c(t.resolvedOptions().pluralCategories),select:e=>t.select(e)}}(e)}catch(t){return console.error(`Failed to use Intl.PluralRules for locale "${e}".\nDocusaurus will fallback to the default (English) implementation.\nError: ${t.message}\n`),o}}),[e])}function s(){const e=i();return{selectMessage:(t,r)=>function(e,t,r){const n=e.split("|");if(1===n.length)return n[0];n.length>r.pluralForms.length&&console.error(`For locale=${r.locale}, a maximum of ${r.pluralForms.length} plural forms are expected (${r.pluralForms.join(",")}), but the message contains ${n.length}: ${e}`);const l=r.select(t),a=r.pluralForms.indexOf(l);return n[Math.min(a,n.length-1)]}(r,t,e)}}},5904:(e,t,r)=>{"use strict";r.d(t,{I7:()=>a,kz:()=>o,aI:()=>u,sL:()=>m,uU:()=>Ye,UZ:()=>Xe,sH:()=>Ie,W4:()=>Ke,g3:()=>qe,Ou:()=>Gt,M7:()=>b,gv:()=>$e,U7:()=>Dt,K6:()=>jt,sT:()=>h,Dp:()=>y,m4:()=>E,Yv:()=>k,UJ:()=>N,QR:()=>rt,y:()=>S,AD:()=>lt,WA:()=>D,ai:()=>Rt,m0:()=>M,Gg:()=>B,kB:()=>T,mK:()=>F,em:()=>I,E5:()=>zt,sP:()=>Ft,_$:()=>X,gF:()=>Q,Iv:()=>$,Qh:()=>te,yK:()=>st,sW:()=>ft,Uf:()=>le,cF:()=>pt,aA:()=>ce,mO:()=>se,I1:()=>fe,_A:()=>de,CS:()=>ot,U$:()=>vt,yw:()=>gt,wA:()=>Mt,yM:()=>be,Ep:()=>ve,qy:()=>xt,sN:()=>Ce,Cu:()=>we,qQ:()=>je,oe:()=>Ve,Oq:()=>Ae,yS:()=>Le,Og:()=>Be,kn:()=>Te,od:()=>St});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const u=e=>{var{withBrandColor:t=!0}=e,r=s(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const b=e=>{var{withBrandColor:t=!0}=e,r=p(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const E=e=>{var{className:t}=e,r=x(e,["className"]);return n.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const k=e=>{var{className:t}=e,r=P(e,["className"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const B=e=>{var{withBrandColor:t=!0}=e,r=z(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",V(function(e){for(var t=1;tn.createElement("svg",W(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",K(function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const $=e=>{var{withBrandColor:t=!0}=e,r=_(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const le=e=>{var{withBrandColor:t=!0}=e,r=ne(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",ie(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const ve=e=>{var{className:t}=e,r=he(e,["className"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",Oe(function(e){for(var t=1;tn.createElement("svg",Ee(function(e){for(var t=1;tn.createElement("svg",ke(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",tt(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",ct(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",dt(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const xt=e=>{var{className:t}=e,r=wt(e,["className"]);return n.createElement("svg",Ot(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{iI:()=>l,S_:()=>o});var n=r(1504);function l({date:e,formattedDate:t}){return n.createElement("time",{dateTime:e,itemProp:"datePublished"},t)}var a=r(3688),c=r(3652);function o({readingTime:e}){const t=function(){const{selectMessage:e}=(0,a.A)();return t=>{const r=Math.ceil(t);return e(r,(0,c.G)({id:"theme.blog.post.readingTime.plurals",description:'Pluralized label for "{readingTime} min read". Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)',message:"One min read|{readingTime} min read"},{readingTime:r}))}}();return n.createElement(n.Fragment,null,t(e))}},4752:(e,t,r)=>{"use strict";r.d(t,{c:()=>a});var n=r(1504),l=r(9184);const a=()=>n.createElement("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4 md:gap-0 h-auto md:h-[150px] bg-[#5865F2] w-full rounded-2xl py-5 px-5 md:px-12"},n.createElement("div",{className:"flex items-center gap-16"},n.createElement("img",{className:"hidden md:block",src:"/img/blog-static/discord-banner.png",alt:"Discord Logo"}),n.createElement("div",{className:"text-white font-montserrat font-bold max-w-md text-center md:text-left"},n.createElement("h1",{className:"text-2xl uppercase leading-tight mb-0 font-montserrat"},"Join to refine discord server"),n.createElement("p",{className:"mb-0 text-base"},"to get help, share ideas, and discuss the latest news."))),n.createElement(l.c,{to:"https://discord.gg/refine"},n.createElement("button",{className:"bg-transparent text-white font-bold py-2 px-4 rounded-lg h-12 w-44 border-white cursor-pointer font-montserrat uppercase text-xl border-solid active:scale-[0.99]"},"Join Us")))},7396:(e,t,r)=>{"use strict";r.d(t,{c:()=>o});var n=r(1504),l=r(9184),a=r(3540);const c="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",o=()=>{const[e,t]=n.useState(0);return n.useEffect((()=>{(async()=>{const e=await fetch(`https://api.github.com/repos/pankod/refine?access_token=${c}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`token ${c}`}}),r=await e.json();var n;t(null!==(n=r.stargazers_count)&&void 0!==n?n:2e3)})()}),[]),n.createElement("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4 md:gap-0 h-auto md:h-[150px] w-full rounded-2xl py-5 px-5 md:px-12 github-banner-bg"},n.createElement("div",{className:"flex items-center gap-16"},n.createElement("img",{className:"hidden md:block",src:"/img/blog-static/github-banner-icon.png",alt:"Github Logo"}),n.createElement("div",{className:"font-montserrat max-w-md text-center md:text-left"},n.createElement("h1",{className:"text-2xl uppercase leading-tight mb-0 font-montserrat font-bold"},"Star us on github"),n.createElement("p",{className:"mb-0 text-base leading-tight"},n.createElement("b",null,"refine")," is an"," ",n.createElement("b",null,"open-source React-based framework"),"for building ",n.createElement("b",null,"CRUD applications")," without constraints. Please show us your ",n.createElement("b",null,"support")," with a shining ",n.createElement("b",null,"GitHub star"),"."))),n.createElement(l.c,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",rel:"noopener",className:"bg-[#211d21] no-underline rounded-xl h-[54px] flex gap-2 pl-3.5 py-2.5 pr-2.5 items-center"},n.createElement(a.A9,null),n.createElement("div",{className:"font-bold font-montserrat text-base text-white"},"Star"),n.createElement("div",{className:"flex items-start h-full"},n.createElement(a.qq,{className:"mt-2 -mr-px"}),n.createElement("div",{className:"cloud rounded-md bg-white text-[#211d21] h-full flex items-center justify-center px-1.5 font-montserrat font-bold text-base"},`${e}`.padStart(4,"0")))))}},1628:(e,t,r)=>{"use strict";r.d(t,{qu:()=>o,cN:()=>k,CS:()=>N,E$:()=>A,us:()=>S});var n=r(1504),l=r(4971),a=r(9184),c=r(2460);const o=({author:e,className:t})=>n.createElement(i,{author:e,className:t}),i=({author:e})=>{var t,r,o,i,s,u,f,m,d,p,b;const g=e.github||e.twitter||e.linkedin;return n.createElement("div",{className:(0,l.c)("flex","px-4","gap-6","flex-row blog-lg:flex-col","justify-between","blog-sm:max-w-[592px]","blog-md:max-w-[656px]","blog-lg:max-w-[896px]","blog-max:max-w-[1200px]","w-full")},n.createElement("div",{className:(0,l.c)("flex","justify-between","items-center")},n.createElement("div",{className:(0,l.c)("w-full","flex items-center justify-between flex-wrap")},n.createElement("div",{className:(0,l.c)("flex items-center","gap-2 sm:gap-6")},n.createElement(a.c,{to:`/blog/author/${null===(t=e)||void 0===t?void 0:t.key}`,itemProp:"url",className:"flex-shrink-0"},n.createElement("img",{src:null===(r=e)||void 0===r?void 0:r.imageURL,alt:null===(o=e)||void 0===o?void 0:o.name,loading:"lazy",className:(0,l.c)("flex flex-shrink-0","h-12 w-12","blog-sm:h-[88px] blog-sm:w-[88px]","blog-md:h-[120px] blog-md:w-[120px]","rounded-full object-cover")})),n.createElement("div",{className:(0,l.c)("not-prose flex flex-col justify-between")},n.createElement("h1",{className:(0,l.c)("text-xl sm:text-[40px] sm:leading-[56px]","m-0 p-0 pb-2 font-bold text-gray-900 dark:text-gray-200")},null===(i=e)||void 0===i?void 0:i.name),n.createElement("div",{className:(0,l.c)("text-xs sm:text-base","text-gray-600 dark:text-gray-400")},null===(s=e)||void 0===s?void 0:s.title))),g&&n.createElement("div",{className:"flex justify-center gap-3"},(null===(u=e)||void 0===u?void 0:u.github)&&n.createElement(a.c,{to:null===(f=e)||void 0===f?void 0:f.github},n.createElement(c.qO,{className:"h-6 w-6"})),(null===(m=e)||void 0===m?void 0:m.twitter)&&n.createElement(a.c,{to:null===(d=e)||void 0===d?void 0:d.twitter},n.createElement(c.mk,{className:"h-6 w-6"})),(null===(p=e)||void 0===p?void 0:p.linkedin)&&n.createElement(a.c,{to:null===(b=e)||void 0===b?void 0:b.linkedin},n.createElement(c.wd,{className:"h-6 w-6"}))))),n.createElement("div",{className:"border-b border-gray-200 dark:border-gray-700 mb-8"}))};var s=r(468),u=r(2656),f=r(56),m=r(3270),d=r(9936),p=r(7760),b=r(6224),g=r(3784),h=r(4776),v=r(2788),y=r(8368);const O=(0,y.c)("telegram",(function(e,t){var r=t.title;return(0,h.c)(e,"telegram.url"),"https://telegram.me/share/url"+(0,v.c)({url:e,text:r})}),(function(e){return{title:e.title}}),{windowWidth:550,windowHeight:400});var w=r(2544);const x=(0,w.c)({color:"#37aee2",networkName:"telegram",path:"m45.90873,15.44335c-0.6901,-0.0281 -1.37668,0.14048 -1.96142,0.41265c-0.84989,0.32661 -8.63939,3.33986 -16.5237,6.39174c-3.9685,1.53296 -7.93349,3.06593 -10.98537,4.24067c-3.05012,1.1765 -5.34694,2.05098 -5.4681,2.09312c-0.80775,0.28096 -1.89996,0.63566 -2.82712,1.72788c-0.23354,0.27218 -0.46884,0.62161 -0.58825,1.10275c-0.11941,0.48114 -0.06673,1.09222 0.16682,1.5716c0.46533,0.96052 1.25376,1.35737 2.18443,1.71383c3.09051,0.99037 6.28638,1.93508 8.93263,2.8236c0.97632,3.44171 1.91401,6.89571 2.84116,10.34268c0.30554,0.69185 0.97105,0.94823 1.65764,0.95525l-0.00351,0.03512c0,0 0.53908,0.05268 1.06412,-0.07375c0.52679,-0.12292 1.18879,-0.42846 1.79109,-0.99212c0.662,-0.62161 2.45836,-2.38812 3.47683,-3.38552l7.6736,5.66477l0.06146,0.03512c0,0 0.84989,0.59703 2.09312,0.68132c0.62161,0.04214 1.4399,-0.07726 2.14229,-0.59176c0.70766,-0.51626 1.1765,-1.34683 1.396,-2.29506c0.65673,-2.86224 5.00979,-23.57745 5.75257,-27.00686l-0.02107,0.08077c0.51977,-1.93157 0.32837,-3.70159 -0.87096,-4.74991c-0.60054,-0.52152 -1.2924,-0.7498 -1.98425,-0.77965l0,0.00176zm-0.2072,3.29069c0.04741,0.0439 0.0439,0.0439 0.00351,0.04741c-0.01229,-0.00351 0.14048,0.2072 -0.15804,1.32576l-0.01229,0.04214l-0.00878,0.03863c-0.75858,3.50668 -5.15554,24.40802 -5.74203,26.96472c-0.08077,0.34417 -0.11414,0.31959 -0.09482,0.29852c-0.1756,-0.02634 -0.50045,-0.16506 -0.52679,-0.1756l-13.13468,-9.70175c4.4988,-4.33199 9.09945,-8.25307 13.744,-12.43229c0.8218,-0.41265 0.68483,-1.68573 -0.29852,-1.70681c-1.04305,0.24584 -1.92279,0.99564 -2.8798,1.47502c-5.49971,3.2626 -11.11882,6.13186 -16.55882,9.49279c-2.792,-0.97105 -5.57873,-1.77704 -8.15298,-2.57601c2.2336,-0.89555 4.00889,-1.55579 5.75608,-2.23009c3.05188,-1.1765 7.01687,-2.7042 10.98537,-4.24067c7.94051,-3.06944 15.92667,-6.16346 16.62028,-6.43037l0.05619,-0.02283l0.05268,-0.02283c0.19316,-0.0878 0.30378,-0.09658 0.35471,-0.10009c0,0 -0.01756,-0.05795 -0.00351,-0.04566l-0.00176,0zm-20.91715,22.0638l2.16687,1.60145c-0.93418,0.91311 -1.81743,1.77353 -2.45485,2.38812l0.28798,-3.98957"});const E=(0,y.c)("facebook",(function(e,t){var r=t.quote,n=t.hashtag;return(0,h.c)(e,"facebook.url"),"https://www.facebook.com/sharer/sharer.php"+(0,v.c)({u:e,quote:r,hashtag:n})}),(function(e){return{quote:e.quote,hashtag:e.hashtag}}),{windowWidth:550,windowHeight:400});const j=(0,w.c)({color:"#3b5998",networkName:"facebook",path:"M34.1,47V33.3h4.6l0.7-5.3h-5.3v-3.4c0-1.5,0.4-2.6,2.6-2.6l2.8,0v-4.8c-0.5-0.1-2.2-0.2-4.1-0.2 c-4.1,0-6.9,2.5-6.9,7V28H24v5.3h4.6V47H34.1z"});var P=r(1904);const k=({children:e})=>{var t,r,o,i,h,v;const{metadata:y,isBlogPostPage:w}=(0,s.g)(),{permalink:k,title:C,date:N,formattedDate:A,readingTime:S,frontMatter:H,tags:D,description:Z,authors:M}=y,L=M[0],{siteConfig:{url:z}}=(0,d.c)();return n.createElement(m.c,{className:(0,l.c)("pb-10","pt-4 blog-lg:pt-8","ml-auto","w-full","blog-lg:max-w-[894px]","px-2 blog-md:px-8 blog-lg:px-0")},n.createElement("div",{className:(0,l.c)("hidden blog-md:flex","justify-between","items-center","blog-sm:px-6","pb-6 blog-lg:pb-10","not-prose")},n.createElement(a.c,{to:"/blog",className:(0,l.c)("text-refine-react-5 dark:text-refine-react-4","text-sm no-underline","flex","items-center","gap-2")},n.createElement(c.Ux,null)," Back to blog"),n.createElement("div",{className:"flex items-center gap-3 px-2 py-1 not-prose"},n.createElement("span",{className:"text-refine-react-5 dark:text-refine-react-4 text-sm"},"Share on"),n.createElement(p.c,{url:z+k,title:C,source:z,summary:Z,hashtags:D.map((e=>e.label)),className:"flex"},n.createElement(b.c,{size:26,round:!0})),n.createElement(g.c,{windowWidth:750,windowHeight:800,url:z+k,title:C,hashtags:D.map((e=>e.label)),className:"flex"},n.createElement(c.mk,{width:26,height:26})),n.createElement(O,{windowWidth:750,windowHeight:800,url:z+k,title:C,hashtags:D.map((e=>e.label)),className:"flex"},n.createElement(x,{size:26,round:!0})),n.createElement(E,{windowWidth:750,windowHeight:800,url:z+k,title:C,hashtags:D.map((e=>e.label)),className:"flex"},n.createElement(j,{size:26,round:!0})))),n.createElement("div",{className:"not-prose"},n.createElement("img",{className:"w-full rounded-xl aspect-[894/468]",src:`${H.image}?w=160`,alt:C})),n.createElement("div",{className:"blog-sm:px-6"},n.createElement("div",{className:"mt-6 blog-lg:mt-10 mb-6 text-sm"},n.createElement("div",{className:(0,l.c)("flex","justify-between","sm:flex-row flex-col")},n.createElement("div",{className:"flex justify-center items-center gap-2"},n.createElement(a.c,{to:`/blog/author/${null===(t=L)||void 0===t?void 0:t.key}`,itemProp:"url"},n.createElement("img",{src:null===(r=L)||void 0===r?void 0:r.imageURL,alt:null===(o=L)||void 0===o?void 0:o.name,loading:"lazy",className:"flex h-[32px] w-[32px] rounded-full object-cover"})),n.createElement(a.c,{to:`/blog/author/${null===(i=L)||void 0===i?void 0:i.key}`,itemProp:"url",className:(0,l.c)("flex-1","text-gray-900 dark:text-gray-200","text-sm","no-underline","hover:no-underline")},null===(h=L)||void 0===h?void 0:h.name),n.createElement("span",{className:"w-[4px] h-[4px] rounded-full bg-refine-react-5 dark:bg-refine-react-4"}),n.createElement("span",{className:"text-gray-600 dark:text-gray-400"},null===(v=L)||void 0===v?void 0:v.title)),n.createElement("div",{className:"flex items-center gap-2 text-gray-600 dark:text-gray-400"},n.createElement(P.iI,{date:N,formattedDate:A}),void 0!==S&&n.createElement(n.Fragment,null,n.createElement("span",{className:"w-[4px] h-[4px] rounded-full bg-refine-react-5 dark:bg-refine-react-4"}),n.createElement(P.S_,{readingTime:S}))))),n.createElement("h1",{className:"text-xl md:text-4xl",itemProp:"headline"},w?C:n.createElement(a.c,{itemProp:"url",to:k},C)),n.createElement("div",{id:u.blogPostContainerID,className:"markdown",itemProp:"articleBody"},n.createElement(f.c,null,e))))};r(4752);const C=()=>{var e,t;const{metadata:r}=(0,s.g)(),{permalink:c,title:o,date:i,formattedDate:u,frontMatter:f,description:d,tags:p}=r,b=r.authors[0];return n.createElement(m.c,null,n.createElement(a.c,{itemProp:"url",to:c,className:(0,l.c)("block","w-full h-auto","aspect-[592/334]")},n.createElement("div",{className:(0,l.c)("not-prose relative m-0 hover:brightness-90","h-full w-full")},n.createElement("img",{src:`${f.image}?h=256`,alt:o,className:(0,l.c)("absolute inset-0 mt-0 h-full w-full rounded-[10px] object-cover"),loading:"lazy"}))),n.createElement("div",{className:"px-4 py-4 md:px-6 md:py-6"},n.createElement("div",{className:(0,l.c)("flex flex-wrap items-center","mb-6","gap-2")},p.map((e=>n.createElement(a.c,{className:(0,l.c)("text-xs","bg-refine-react-3 dark:bg-refine-react-7","text-refine-react-8 dark:text-refine-react-3","no-underline","rounded-full","px-2 py-1"),href:e.permalink,key:e.permalink},e.label)))),n.createElement("div",{className:"mb-4"},n.createElement(a.c,{itemProp:"url",to:c,className:"no-underline hover:no-underline",rel:"noopener dofollow"},n.createElement("div",{className:(0,l.c)("mb-4","text-gray-700 dark:text-refine-react-3","text-xl","font-lg","font-bold")},o)),n.createElement("div",{className:(0,l.c)("line-clamp-3","text-gray-700 dark:text-refine-react-4","text-sm")},d)),n.createElement("div",{className:"flex items-center gap-2"},n.createElement(a.c,{href:`/blog/author/${null===(e=b)||void 0===e?void 0:e.key}`,itemProp:"url",className:(0,l.c)("text-gray-600 hover:text-gray-600","dark:text-gray-400 hover:dark:text-gray-400","text-xs 2xl:text-base","no-underline")},null===(t=b)||void 0===t?void 0:t.name),n.createElement("span",{className:(0,l.c)("h-[4px] w-[4px] rounded-full","bg-gray-600 dark:bg-gray-500")}),n.createElement("span",{className:(0,l.c)("text-gray-600 dark:text-gray-500","text-xs","leading-6","no-underline")},n.createElement(P.iI,{date:i,formattedDate:u})))))},N=({items:e})=>n.createElement("div",{className:(0,l.c)("w-screen","bg-refine-react-1 dark:bg-refine-react-dark-code")},n.createElement("div",{className:(0,l.c)("blog-sm:max-w-[592px]","blog-md:max-w-[656px]","blog-lg:max-w-[896px]","blog-max:max-w-[1200px]","w-full","mx-auto","px-6 blog-sm:px-0","py-6 blog-md:py-12","not-prose")},n.createElement("h2",{className:(0,l.c)("m-0 p-0","px-6","mb-6 blog-lg:mb-12","text-2xl blog-sm:text-[32px] blog-sm:leading-10","dark:text-refine-green-alt dark:drop-shadow-[0_0_30px_rgba(71,235,235,0.25)]","text-refine-blue drop-shadow-[0_0_30px_rgba(51,51,255,0.3)]","font-semibold")},"Featured Posts"),n.createElement("div",{className:"grid grid-cols-1 blog-md:grid-cols-2 blog-max:grid-cols-3 gap-6"},e.map((({content:e})=>n.createElement(s.E,{key:e.metadata.permalink,content:e},n.createElement(C,null)))))));r(7396);const A=({posts:e,title:t})=>{var r,c,o;return e.length<1?null:n.createElement("div",{className:(0,l.c)("mx-auto w-full","py-10","blog-sm:py-12","blog-md:py-16","max-w-[512px]","blog-sm:max-w-screen-blog-sm","blog-lg:max-w-screen-content-2xl")},n.createElement("div",{className:"blog-sm:px-6 w-full px-4"},n.createElement("h2",{className:"m-0 mb-4 p-0 pl-4 text-2xl font-semibold text-refine-react-8 dark:text-refine-react-1"},t),n.createElement("div",{className:"flex flex-col not-prose"},e.map((e=>n.createElement(a.c,{to:e.permalink,rel:"dofollow",key:null!==(o=e.permalink)&&void 0!==o?o:e.id,className:(0,l.c)("flex","flex-col","gap-2","p-5","mb-5","rounded-lg","border border-refine-react-3 dark:border-refine-react-6","bg-white dark:bg-refine-react-8","hover:bg-gray-100 dark:hover:bg-refine-react-7","not-prose","no-underline")},n.createElement("div",{to:e.permalink,rel:"dofollow",className:(0,l.c)("font-bold","text-refine-react-8 dark:text-refine-react-1","no-underline","hover:text-gray-800 hover:no-underline dark:hover:text-gray-200","mb-2")},e.title),n.createElement("p",{className:(0,l.c)("font-sm","text-refine-react-5 dark:text-refine-react-4")},e.description),n.createElement("div",{id:"post-info",className:"flex items-center gap-2 text-sm text-refine-react-4 dark:text-refine-react-5"},n.createElement(a.c,{to:`/blog/author/${null===(r=e.authors[0])||void 0===r?void 0:r.key}`,itemProp:"url",id:"author-name",className:"text-gray-600 no-underline hover:text-gray-600 hover:no-underline dark:text-gray-400"},null===(c=e.authors[0])||void 0===c?void 0:c.name),n.createElement("span",{className:"h-[4px] w-[4px] rounded-full bg-gray-600 dark:bg-gray-500"}),n.createElement(P.iI,{date:e.date,formattedDate:e.formattedDate}))))))))},S=()=>{const{metadata:e}=(0,s.g)();return n.createElement("div",{className:"flex flex-wrap gap-2"},e.tags.map((e=>n.createElement(a.c,{to:e.permalink,className:(0,l.c)("no-underline hover:no-underline","text-xs","rounded-full","py-1","px-3","text-refine-react-8 dark:text-refine-react-3","bg-refine-react-3 dark:bg-refine-react-7","whitespace-nowrap"),key:e.permalink},e.label))))};r(5524)},5524:(e,t,r)=>{"use strict";r.d(t,{c:()=>a});var n=r(1504),l=r(9184);const a=({children:e})=>n.createElement("div",{className:"flex flex-col md:flex-row items-center twitter-banner-bg px-5 md:px-10 py-5 rounded-xl gap-2"},n.createElement("div",{className:"flex flex-col justify-center items-center md:items-start gap-4"},n.createElement("div",{className:"text-center md:text-left"},n.createElement("h1",{className:"text-white font-montserrat text-2xl leading-tight mb-0"},"WANT TO HEAR THE LATEST DEVELOPMENTS ABOUT refine?"),n.createElement("p",{className:"mb-0 uppercase font-montserrat text-white"},"Follow us on Twitter.")),n.createElement(l.c,{to:"https://twitter.com/refine_dev"},n.createElement("button",{className:"bg-transparent text-white font-bold py-2 px-8 rounded-lg border-white cursor-pointer font-montserrat uppercase text-xl border-solid active:scale-[0.99]"},"Follow Us"))),n.createElement("div",{className:"w-[350px]"},e||n.createElement("blockquote",{className:"twitter-tweet","data-cards":"hidden"},n.createElement("p",{lang:"en",dir:"ltr"},"\ud83d\udca5New Blog Post!",n.createElement("br",null),n.createElement("br",null),"Animations in React with Framer Motion",n.createElement("a",{href:"https://t.co/7kWU1ROPYd"},"https://t.co/7kWU1ROPYd"),n.createElement("a",{href:"https://twitter.com/hashtag/opensource?src=hash&ref_src=twsrc%5Etfw"},"#opensource")," ",n.createElement("a",{href:"https://twitter.com/hashtag/ReactJS?src=hash&ref_src=twsrc%5Etfw"},"#ReactJS")),"\u2014 refine (@refine_dev)"," ",n.createElement("a",{href:"https://twitter.com/refine_dev/status/1565321477628510208?ref_src=twsrc%5Etfw"},"September 1, 2022"))))},3540:(e,t,r)=>{"use strict";r.d(t,{Wr:()=>o,ef:()=>u,qq:()=>m,A9:()=>p,cn:()=>h,gZ:()=>O,aA:()=>E,Wu:()=>k});var n=r(4971),l=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const o=e=>l.createElement("svg",c(function(e){for(var t=1;tl.createElement("svg",s(function(e){for(var t=1;tl.createElement("svg",function(e){for(var t=1;tl.createElement("svg",function(e){for(var t=1;tl.createElement("svg",g(function(e){for(var t=1;tl.createElement("svg",y(function(e){for(var t=1;tl.createElement("svg",x(function(e){for(var t=1;tl.createElement("svg",P(function(e){for(var t=1;t{"use strict";r.d(t,{q:()=>c,y:()=>o});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a="tutorial-checklist-store",c=n.createContext({store:{},toggle:()=>{}}),o=({children:e})=>{const[t,r]=n.useState((()=>{if("undefined"!=typeof window){const t=localStorage.getItem(a);if(t)try{const e=JSON.parse(t);if("object"==typeof e)return e}catch(e){return{}}}return{}})),o=n.useCallback(((e,t,n)=>{r((r=>{const a=function(e){for(var t=1;t{"undefined"!=typeof window&&localStorage.setItem(a,JSON.stringify(t))}),[t]),n.createElement(c.Provider,{value:{store:t,toggle:o}},e)}},1648:(e,t,r)=>{"use strict";r.d(t,{g5:()=>i,mk:()=>s,sH:()=>a});var n=r(1504),l=r(2288);r(5904);const a=["headless","antd","chakra-ui","mantine","mui"],c=e=>{if(a.includes(e))return e},o="tutorial-preferred-ui-package",i=n.createContext({preferred:"headless",current:void 0,setPreferred:()=>{}}),s=({children:e})=>{const{metadata:t}=(0,l.G)(),r=(e=>{const t=e.match(/\/(headless|antd|chakra-ui|mantine|mui)\//);if(t&&c(t[1]))return t[1]})(t.id),[a,s]=n.useState("headless");n.useEffect((()=>{if("undefined"!=typeof window){const e=localStorage.getItem(o),t=c(e);t&&s(t)}}),[]);const u=e=>{c(e)&&("undefined"!=typeof window&&localStorage.setItem(o,e),s(e))};return n.useEffect((()=>{r&&r!==a&&u(r)}),[r,a]),n.createElement(i.Provider,{value:{preferred:a,setPreferred:u,current:r||a}},e)}},9092:(e,t,r)=>{"use strict";r.d(t,{WO:()=>m,iC:()=>d});var n=r(1504),l=r(640),a=r(2064);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;t0}),s="tutorial-parameters",u=(e,t)=>{for(const r of t)if(e.includes(`/${r.value}`))return r.value},f=()=>{const{pathname:e}=(0,l.IT)();return n.useMemo((()=>(e=>{const t={};for(const[r,n]of Object.entries(a.Sm.parameterOptions)){const l=u(e,n);l&&(t[r]=l)}return t})(e)),[e])},m=({children:e})=>{const[t,r]=n.useState(void 0),[l,c]=n.useState(!1),u=f(),m=n.useCallback((e=>{r((t=>{try{localStorage.setItem(s,JSON.stringify(o({},t,e)))}catch(r){console.error(r)}return o({},t,e)}))}),[]);return n.useEffect((()=>{try{const e=localStorage.getItem(s);m(e?o({},a.Sm.defaultParameters,JSON.parse(e),u):o({},a.Sm.defaultParameters,u))}catch(e){m(o({},a.Sm.defaultParameters,u))}c(!0)}),[]),n.createElement(i.Provider,{value:{parameters:t,setParameters:m,settled:l,options:a.Sm.parameterOptions}},e)},d=()=>n.useContext(i)},3376:(e,t,r)=>{"use strict";r.d(t,{U:()=>p});var n=r(2288),l=r(1688),a=(r(1504),r(3908));function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;t{var e,t,r,c;const f=(0,n.G)(),{docs:p}=(0,l.E)(),{frontMatter:b,metadata:{id:g}}=f,{tutorial:{units:h}}=(0,u.e)(),{current:v}=(0,a.U)(),y=e=>{const t=e.id.split("/"),r=s.sH.filter((e=>e!==v));return!t.find((e=>r.includes(e)))},O=!!(null===(e=b)||void 0===e?void 0:e.tutorial),w=g.split("/")[1],x=function({frontMatter:e}){const{docs:t}=(0,l.E)(),{current:r}=(0,a.U)(),n=e=>{if(e.includes("{preferredUI}")||r)return e.replace("{preferredUI}",r)},c=e=>"/docs/"+e,{tutorial:s}=e,{next:u,prev:f}=null!=s?s:{},m=u?n(u):void 0,d=t[f?n(f):void 0],p=t[m];return{previous:d?i(o({},d),{permalink:c(d.id)}):void 0,next:p?i(o({},p),{permalink:c(p.id)}):void 0}}(f),E=Object.entries(p).filter((([e])=>e.startsWith("tutorial/"))).reduce(((e,[t,r])=>{const n=t.split("/")[1];return n.startsWith("partial-")||(e[n]||(e[n]=[]),e[n].push(r)),e}),{}),j=Object.entries(E).map((([e,r])=>d(m({unit:e,no:null===(t=h[e])||void 0===t?void 0:t.no,title:h[e].label},e===w&&O&&{current:!0}),{docs:r.map((e=>m({},e,e.id===g&&O&&{current:!0}))).filter(y)}))).sort(((e,t)=>(null===(r=e)||void 0===r?void 0:r.no)-(null===(c=t)||void 0===c?void 0:c.no)));return O?{id:g,isTutorial:O,unit:w,pagination:x,units:j}:void 0}},5560:(e,t,r)=>{"use strict";r.d(t,{c:()=>l});var n=r(1504);const l=(e,t="0px")=>{const[r,l]=n.useState(!1);return n.useEffect((()=>{var r;const n=null===(r=e)||void 0===r?void 0:r.current,a=new IntersectionObserver((([e])=>{l(e.isIntersecting)}),{rootMargin:t});return n&&a.observe(n),()=>{n&&a.unobserve(n)}}),[]),r}},8840:(e,t,r)=>{"use strict";r.d(t,{ot:()=>s,GC:()=>u});var n=r(1504);const l={items:[]};var a=r(3740);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;tt.filter((t=>t.unit===e));function u(){const{store:e,toggle:t}=n.useContext(a.q);return{items:n.useMemo((()=>{var t,r,n,a;return null!==(a=null===(n=l)||void 0===n||null===(t=(r=n.items).map)||void 0===t?void 0:t.call(r,(t=>{const{id:r}=t;return i(o({},t),{checklist:t.checklist.map((t=>{var n;return i(o({},t),{checked:null!==(n=e[r]?.[t.id])&&void 0!==n&&n})})).sort(((e,t)=>e.index-t.index))})})))&&void 0!==a?a:[]}),[e]),toggle:t}}},380:(e,t,r)=>{"use strict";r.d(t,{e:()=>l});var n=r(9936);r(1504);const l=()=>{const{siteConfig:{customFields:e}}=(0,n.c)(),{tutorial:t}=e;return t}},3908:(e,t,r)=>{"use strict";r.d(t,{U:()=>a});var n=r(1504),l=r(1648);const a=()=>n.useContext(l.g5)},3680:(e,t,r)=>{"use strict";r.d(t,{u:()=>a});var n=r(1504),l=r(3120);const a=e=>n.createElement(l.E,e)},5880:(e,t,r)=>{"use strict";r.d(t,{E:()=>u});var n=r(4971),l=r(1504),a=r(2268),c=r(2424),o=r(7104),i=r(3200),s=r(8164);const u=e=>(l.useEffect((()=>(e.open?document.body.style.overflow="hidden":document.body.style.overflow="auto",()=>{document.body.style.overflow="auto"})),[e.open]),l.createElement(s.c,null,(()=>(0,o.createPortal)(l.createElement(f,e),document.body)))),f=({children:e,title:t,open:r,onClose:o,variant:s})=>{const[u,f]=l.useState(48),{scrollY:m}=(0,i.Q)(),d=l.useRef(null);var p,b;return p=d,b=e=>{e.stopPropagation(),o()},l.useEffect((()=>{const e=e=>{p.current&&!p.current.contains(e.target)&&(e.preventDefault(),b(e))};return document.addEventListener("click",e,!0),()=>{document.removeEventListener("click",e,!0)}}),[p]),((e,t,r)=>{l.useEffect((()=>{const n=n=>{e.current&&t.includes(n.key)&&(n.preventDefault(),r(n))};return document.addEventListener("keydown",n,!0),()=>{document.removeEventListener("keydown",n,!0)}}),[e])})(d,["Escape"],(()=>{o()})),l.useEffect((()=>{const e=m.onChange((e=>{f(e>=48?0:48-e)}));return()=>e()}),[]),l.createElement("div",{style:{top:u},className:(0,n.c)("fixed","right-0 bottom-0","z-modal",!r&&"pointer-events-none")},l.createElement(c.O,{ref:d,as:"div",className:(0,n.c)("z-modal","flex flex-col","w-[240px] h-full","ml-auto","p-4","templates"===s&&"bg-gray-0 dark:bg-gray-900","blog"===s&&"bg-white dark:bg-refine-react-7","border-l dark:border-gray-800","dark:shadow-[0_0_72px_24px_#14141F]","shadow-[0_0_72px_24px_rgba(20, 20, 31, 0.50)]"),show:r,enter:"transition-transform duration-300 transition-ease-in-out",enterFrom:"translate-x-full",enterTo:"translate-x-0",leave:"transition-transform duration-300 transition-ease-in-out",leaveFrom:"translate-x-0",leaveTo:"translate-x-full"},l.createElement("div",{className:(0,n.c)("flex","items-center","justify-between","mb-10","dark:text-gray-300 text-gray-900")},l.createElement("h3",{className:(0,n.c)("text-base","font-semibold")},t),l.createElement("button",{type:"button",className:(0,n.c)("appearance-none"),onClick:o},l.createElement(a.O,null))),l.createElement("div",{className:(0,n.c)("overflow-auto h-full")},e)))}},6968:(e,t,r)=>{"use strict";r.d(t,{m:()=>U});var n=r(9184),l=r(4971),a=r(3200),c=r(344),o=r(6076),i=r(1504),s=r(1980),u=r(8804),f=r(6098);const m=[{isPopover:!0,label:"Docs",items:[{label:"Foundation Docs",description:"Learn C++, Python & Java",link:"https://prepverse.vercel.app/docs",icon:f.C3},{label:"DSA Docs",description:"Learning DSA in C++, Python & Java",link:"https://prepverse.vercel.app/docs/1.DS.Algo",icon:f.uI}]},{isPopover:!0,label:"CodePoint",items:[{label:"Expert Sheet Solutions",description:"Most popular coding questions solutions asked during SDE interviews.",link:"https://prepverse.github.io/CodePoint/preface",icon:f.C3},{label:"Coding Ninjas Series",description:"Coding Ninjas Studio Guided Path Solutions",link:"https://prepverse.github.io/CodePoint/learning_resources/CN_Series/preface",icon:f.oh},{label:"LeetVerse",description:"Leetcode problem solutions with full probelm statements in C++, Python & Java",link:"https://prepverse.github.io/LeetVerse",icon:f.Ew}]},{isPopover:!0,label:"About",items:[{label:"About Me",description:"My information.",link:"https://prepverse.vercel.app/AkashSingh3031",icon:f.kv},{label:"Project Showcase",description:"PrepVerse open-source projects",link:"https://prepverse.vercel.app/showcase",icon:f.w9},{label:"My Portfolio",description:"All info about me",link:"https://prepverse.github.io/portfolio",icon:f.BE}]},{isPopover:!1,label:"Blog",href:"https://prepverse.vercel.app/blog",icon:f.s1},{isPopover:!1,label:"PrepVerse Community",href:"https://prepverse.vercel.app/prepverse-community",icon:f.vn}],d=({item:e,variant:t="landing"})=>{const r=e.icon;return i.createElement(n.c,{to:e.link,className:"no-underline"},i.createElement("div",{className:(0,l.c)("flex items-center","p-4","transition duration-150 ease-in-out","rounded-lg","hover:bg-gray-100","landing"===t&&"dark:hover:bg-gray-800","blog"===t&&"dark:hover:bg-refine-react-8")},i.createElement("div",{className:"shrink-0"},i.createElement(r,null)),i.createElement("div",{className:"ml-2"},i.createElement("div",{className:(0,l.c)("landing"===t&&"text-gray-900 dark:text-white","blog"===t&&"text-refine-react-8 dark:text-refine-react-3","font-semibold")},e.label),i.createElement("div",{className:(0,l.c)("landing"===t&&"text-gray-500 dark:text-gray-400","blog"===t&&"text-refine-react-5 dark:text-refine-react-4","text-xs")},e.description))))},p=({item:e})=>{const[t,r]=(0,i.useState)(null);(0,i.useEffect)((()=>(r(localStorage.getItem("theme")||null),window.addEventListener("storage",a,!1),()=>{window.removeEventListener("storage",a,!1)})),[]);const a=()=>{r(localStorage.getItem("theme")||null)};let c=e.icon;return"Cloud"===e.label&&(c="light"===t?f.oz:e.icon),i.createElement(n.c,{key:e.label,to:e.href,className:(0,l.c)("inline-flex items-center gap-2","text-sm leading-6 font-normal text-gray-900 dark:text-gray-300","transition-colors duration-150 ease-in-out","no-underline","Hackathon"===e.label?["py-1","px-2","rounded-lg","bg-hackathon-button-bg","animate-hackathon-button-bg","bg-refine-bg","text-gray-0","bg-[length:200%_100%]","text-[14px]","hover:text-gray-0"]:["hover:text-gray-900 dark:hover:text-white"])},e.icon&&i.createElement(c,null),e.label)};var b=r(640),g=r(5224),h=r(2424),v=r(4577);const y=({item:e,variant:t="landing",children:r})=>{const[n,a]=(0,i.useState)(!1),c=i.useRef(null),o=i.useRef(null),s=(0,b.IT)();return i.useEffect((()=>{a(!1)}),[s]),i.createElement(g._,{id:`popover-${e.label}`,key:e.label,className:(0,l.c)("relative","inline-flex items-center"),onMouseEnter:()=>{o.current=setTimeout((()=>a(!0)),210),clearTimeout(c.current)},onMouseLeave:()=>{c.current=setTimeout((()=>a(!1)),210),clearTimeout(o.current)}},(()=>i.createElement(i.Fragment,null,i.createElement(g._.Button,{className:(0,l.c)("inline-flex items-center","text-sm leading-6","font-normal")},i.createElement("span",{className:(0,l.c)("landing"===t&&"text-gray-900 dark:text-gray-300","blog"===t&&"text-refine-react-8 dark:text-refine-react-3","transition-colors duration-150 ease-in-out inline-block")},e.label),i.createElement(v.w,{"aria-hidden":"true",className:(0,l.c)("transition duration-150 ease-out","-mr-2","landing"===t&&"text-gray-500 dark:text-gray-400","blog"===t&&"text-refine-react-4",n?"translate-y-0.5":"")})),i.createElement(h.O,{as:i.Fragment,enter:"transition ease-in duration-150",enterFrom:"opacity-0 translate-y-3",enterTo:"opacity-100 translate-y-0",leave:"transition ease-out duration-150",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 translate-y-3",show:n},i.createElement(g._.Panel,{className:(0,l.c)("absolute","z-50","top-12",{"-left-32 center-point":"Docs"===e.label||"About"===e.label,"left-point":"CodePoint"===e.label})},i.createElement(f.WR,{id:e.label,variant:t,className:(0,l.c)("absolute","top-[-9px]",{"left-1/2":"CodePoint"!==e.label,"left-12":"CodePoint"===e.label}),style:{transform:"translateX(-50%)"}}),i.createElement("div",{className:(0,l.c)("overflow-hidden","rounded-xl","landing"===t&&"border dark:border-gray-700 border-gray-200","landing"===t&&"dark:shadow-menu-dark shadow-menu-light","blog"===t&&"border border-refine-react-3 dark:border-refine-react-6","blog"===t&&"dark:shadow-menu-blog-dark shadow-menu-blog-light")},r))))))},O=({variant:e="landing"})=>i.createElement(i.Fragment,null,m.map((t=>t.isPopover?i.createElement(y,{key:`navbar-${t.label}`,item:t,variant:e},"CodePoint"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,l.c)("grid grid-cols-2 gap-4","p-4","w-[672px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(d,{key:t.label,item:t,variant:e})))),i.createElement(n.c,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,l.c)("border-t","blog"===e&&"border-refine-react-3 dark:border-refine-react-6","landing"===e&&"border-gray-300 dark:border-gray-700","landing"===e&&"bg-gray-100 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-7","flex items-center","py-4 px-7")},i.createElement(f._2,null),i.createElement("div",{className:(0,l.c)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))),"About"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,l.c)("grid gap-4","p-4","w-[336px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(d,{key:t.label,item:t,variant:e})))),i.createElement("div",{className:(0,l.c)("border-t","blog"===e&&"border-refine-react-3 dark:border-refine-react-6","landing"===e&&"border-gray-300 dark:border-gray-700","landing"===e&&"bg-gray-100 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-7","flex justify-between items-center","py-4 px-7")},i.createElement("div",{className:(0,l.c)("landing"===e&&"text-gray-600 dark:text-gray-400 ","blog"===e&&"text-refine-react-5 dark:text-refine-react-4")},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.c,{to:"https://github.com/AkashSingh3031",className:(0,l.c)("no-underline","hover:text-inherit")},i.createElement(f.A9,{className:"dark:text-gray-400 text-gray-500"})),i.createElement(n.c,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(f.Ed,null)),i.createElement(n.c,{to:"https://instagram.com/akash.singh3031"},i.createElement(f.Yf,null)),i.createElement(n.c,{to:"https://x.com/akashsingh3031"},i.createElement(f.CC,null))))),"Docs"===t.label&&i.createElement("div",{className:(0,l.c)("grid gap-4","p-4","w-[336px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(d,{key:t.label,item:t,variant:e}))))):i.createElement(p,{key:`navbar-${t.label}`,item:t,variant:e}))));var w=r(2276),x=r(7008),E=r(9072),j=r(2268);function P(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const k=e=>i.createElement("svg",function(e){for(var t=1;ti.createElement("svg",function(e){for(var t=1;t{const[o,s]=(0,i.useState)(null),u=null!=r?r:n.c,m=void 0!==a&&void 0===t;return(0,i.useEffect)((()=>{const e=document.querySelector("html").getAttribute("data-theme");s(e)}),[]),i.createElement(u,function(e){for(var t=1;t{const r=(0,b.IT)();return i.useEffect((()=>{t(!1)}),[r]),i.createElement(L,{isModalOpen:e,setIsModalOpen:t},i.createElement(z,{className:(0,l.c)("hidden landing-sm:block","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}),i.createElement(B,{className:(0,l.c)("block landing-sm:hidden","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}))},L=({isModalOpen:e,setIsModalOpen:t,children:r})=>i.createElement(h.O,{appear:!0,show:e,as:i.Fragment},i.createElement(w.C,{as:"div",className:"relative z-10",onClose:()=>t(!1)},i.createElement(h.O.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},i.createElement("div",{className:(0,l.c)("fixed inset-0","bg-gray-0 dark:bg-gray-900","flex","flex-col")},i.createElement(H.Q,null),i.createElement("div",{className:(0,l.c)("flex items-center justify-between","p-4","landing-sm:px-8")},i.createElement(u.m,{className:"dark:text-gray-0 text-gray-900"}),i.createElement("button",{type:"button",className:(0,l.c)("rounded-lg","hover:brightness-105","active:scale-90","transition-transform duration-75 ease-in-out")},i.createElement(j.O,{className:"text-gray-900 dark:text-white",onClick:()=>t(!1)}))),i.createElement(h.O.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-75",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95"},i.createElement("div",{className:(0,l.c)("flex-1","overflow-y-auto","px-4","pb-4")},r)))))),z=e=>i.createElement("div",{className:(0,l.c)(e.className)},m.map(((e,t)=>{const r="icon"in e&&e.icon;return i.createElement("div",{key:t,className:(0,l.c)("not-prose","p-4","border-t dark:border-gray-700 border-gray-200")},i.createElement(n.c,{to:"href"in e?e.href:void 0,className:(0,l.c)("appearance-none","block","no-underline","dark:text-gray-0 text-gray-900","font-bold")},i.createElement("div",{className:(0,l.c)("flex items-center gap-2")},i.createElement("div",null,e.label),r&&i.createElement(r,null))),"items"in e&&i.createElement("div",{className:(0,l.c)("mt-2","grid grid-cols-2 min-[800px]:grid-cols-3","gap-x-8 gap-y-4")},e.items.map((e=>i.createElement(d,{key:e.label,item:e})))))})),i.createElement(G,null),i.createElement(T,{id:"tablet"}),i.createElement(R,{id:"tablet"})),B=e=>i.createElement("div",{className:(0,l.c)(e.className)},i.createElement("div",{className:"flex-grow"},m.map((e=>e.isPopover?i.createElement(x.C,{key:`modal-${e.label}`},(({open:t})=>i.createElement(i.Fragment,null,i.createElement(S,{component:x.C.Button,label:e.label,open:t}),i.createElement(x.C.Panel,{className:(0,l.c)(t&&"pb-4",t&&"border-b border-gray-200 dark:border-gray-700")},e.items.map((e=>i.createElement(d,{key:e.label,item:e}))))))):i.createElement(S,{key:`modal-${e.label}`,label:e.label,href:e.href,icon:e.icon})))),i.createElement(G,null),i.createElement(T,{id:"phone"}),i.createElement(R,{id:"phone"})),R=e=>{var t;return i.createElement(n.c,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,l.c)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex items-center","p-4")},i.createElement(f._2,{id:(null===(t=e)||void 0===t?void 0:t.id)||""}),i.createElement("div",{className:(0,l.c)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))},T=e=>{var t;return i.createElement("div",{className:(0,l.c)("bg-white dark:bg-gray-700 header-sm:bg-inherit","flex justify-between items-center","header-sm:flex-col header-sm:gap-4","header-sm:border-b border-gray-200 dark:border-gray-600","py-3 px-4")},i.createElement("p",{className:"text-gray-500 dark:text-gray-300 font-semibold"},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.c,{to:"https://github.com/AkashSingh3031"},i.createElement(f.A9,{className:"h-10 w-10"})),i.createElement(n.c,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(f.Ed,{className:"h-10 w-10"})),i.createElement(n.c,{to:"https://instagram.com/akash.singh3031"},i.createElement(f.Yf,{className:"h-10 w-10",id:(null===(t=e)||void 0===t?void 0:t.id)||""})),i.createElement(n.c,{to:"https://x.com/akashsingh3031"},i.createElement(f.CC,{className:"h-10 w-10"}))))},G=()=>{const{colorMode:e,setColorMode:t}=(0,E.U)(),r=()=>{t("dark"===e?"light":"dark")},n="dark"===e,a="light"===e;return i.createElement("div",{className:(0,l.c)("not-prose","p-4","flex items-center")},i.createElement("div",{className:(0,l.c)("text-sm","mr-10","dark:text-gray-400 text-gray-600")},"Apperance"),i.createElement("button",{onClick:r,className:(0,l.c)("mr-4","rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200","text-gray-500",a&&"bg-gray-50")},i.createElement(Z.G,null),"Light"),i.createElement("button",{onClick:r,className:(0,l.c)("rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200",n?"text-gray-400":"text-gray-500",n&&"bg-gray-700")},i.createElement(D.g,null),"Dark"))};var V=r(9253),F=r(2700),Y=r(5792),W=r(6936);const I=()=>{const{loading:e,githubStarCountText:t}=(0,F.wx)();return i.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank",rel:"noreferrer",className:(0,l.c)("flex gap-2 items-center","font-normal","text-sm leading-6","text-gray-500 dark:text-gray-400","hover:text-gray-400 dark:hover:text-gray-300","hover:no-underline","transition-colors","duration-200","ease-in-out")},i.createElement(Y.A,{className:(0,l.c)("w-5 h-5")}),i.createElement("div",{className:(0,l.c)("flex items-center","w-10 h-6")},e?i.createElement(W.c,{className:(0,l.c)("w-5 h-5"),wrapperProps:{className:(0,l.c)("mx-auto")}}):i.createElement("span",null,t)))},U=({trackProgress:e,variant:t="landing",className:r})=>{const[f,m]=(0,i.useState)(!1),{scrollYProgress:d}=(0,a.Q)(),p=(0,c.s)(d,[.03,.95],["0%","100%"]);return i.createElement(i.Fragment,null,i.createElement(H.Q,null),i.createElement("header",{className:(0,l.c)("sticky","top-0","z-10")},i.createElement("div",{className:(0,l.c)("absolute","top-0 left-0 right-0","backdrop-blur-[6px]","landing-md:backdrop-blur-[12px]","z-[-1]","bg-gray-0 dark:bg-gray-800","bg-opacity-80 dark:bg-opacity-80","pointer-events-none",r),style:{top:"-20px",bottom:"-80px",WebkitMaskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))",maskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))"}}),i.createElement("div",{className:(0,l.c)("relative","z-[1]","p-4","landing-sm:px-8","landing-md:py-5")},i.createElement("div",{className:(0,l.c)("mx-auto","flex","items-center","justify-between","max-w-[896px]","landing-lg:max-w-[1200px]")},i.createElement("div",{className:(0,l.c)("w-[130px]","landing-lg:w-[200px]")},i.createElement(n.c,{to:"https://prepverse.vercel.app"},i.createElement(u.m,{className:"text-gray-900 dark:text-gray-0"}))),i.createElement("button",{type:"button",className:(0,l.c)("text-gray-900 dark:text-gray-0","block landing-md:hidden"),onClick:()=>m(!0)},i.createElement(s.m,null)),i.createElement("div",{className:(0,l.c)("hidden landing-md:flex","flex-1","items-center","gap-8")},i.createElement(O,{variant:t})),i.createElement("div",{className:(0,l.c)("hidden landing-md:flex","items-center","justify-end","gap-4","w-[130px]","landing-lg:w-[200px]")},i.createElement(I,null),i.createElement(V.C,null)),i.createElement(M,{isModalOpen:f,setIsModalOpen:m}))),e&&i.createElement("div",{className:(0,l.c)("w-full","h-[1.5px]","translate","bg-refine-react-3 dark:bg-refine-react-7")},i.createElement(o.q.div,{className:(0,l.c)("h-full","bg-refine-react-light-link dark:bg-refine-react-dark-link"),style:{width:p}}))))}},7500:(e,t,r)=>{"use strict";r.d(t,{Ih:()=>o,oJ:()=>c,yg:()=>a});var n=r(4971),l=r(1504);const a="preferred-full-table-width",c=e=>l.createElement("div",{className:(0,n.c)("table-container")},l.createElement("table",e)),o=({children:e})=>l.createElement("div",{className:"table-full-width"},e)},9253:(e,t,r)=>{"use strict";r.d(t,{C:()=>i,O:()=>u});var n=r(1504),l=r(4971),a=r(9072),c=r(3756),o=r(5372);const i=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,a.U)();return n.createElement("button",{type:"button",className:(0,l.c)("appearance-none","focus:outline-none","relative","w-10 h-10","rounded-full","border","border-solid","border-gray-300 dark:border-gray-700","text-gray-500","transition-colors","duration-150","ease-in-out","overflow-hidden","flex-shrink-0","group",e),onClick:()=>{r("dark"===t?"light":"dark")}},n.createElement("div",{className:(0,l.c)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","translate-y-0","dark:-translate-y-10","duration-200","ease-in-out","transition-transform")},n.createElement(c.G,null)),n.createElement("div",{className:(0,l.c)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","-translate-y-10","dark:translate-y-0","duration-200","ease-in-out","transition-transform")},n.createElement(o.g,null)))},s=[{name:"light",icon:c.G,label:"Light"},{name:"dark",icon:o.g,label:"Dark"}],u=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,a.U)();return n.createElement("div",{className:(0,l.c)("flex","items-center","gap-4","justify-start",e)},s.map((({name:e,label:a,icon:c})=>n.createElement("button",{type:"button",key:e,className:(0,l.c)("appearance-none","focus:outline-none","py-1","pl-1.5","pr-3","flex","items-center","justify-center","gap-1","rounded-[40px]","text-gray-400","border border-solid","border-gray-200","dark:border-gray-600",t===e&&"bg-gray-100 dark:bg-gray-700"),onClick:()=>{r(e)}},n.createElement(c,{className:(0,l.c)("w-4 h-4")}),n.createElement("span",{className:(0,l.c)("text-sm")},a)))))}},7708:(e,t,r)=>{"use strict";r.d(t,{o0:()=>p,yw:()=>m,wd:()=>d,AR:()=>b});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var u=r(6098),f=r(4252);const m=[{label:"Resources",items:[{label:"Getting Started",href:"https://prepverse.vercel.app/docs"},{label:"Blog",href:"https://prepverse.vercel.app/blog"},{label:"Project Showcase",icon:n.createElement(u.KU,null),href:"https://prepverse.vercel.app/showcase"},{label:"Community",icon:n.createElement(u.KU,null),href:"https://prepverse.vercel.app/prepverse-community"}]},{label:"Product",items:[{label:"CodePoint",icon:n.createElement(f.i,null),href:"https://prepverse.github.io/CodePoint"},{label:"LeetVerse",icon:n.createElement(f.i,null),href:"https://prepverse.github.io/LeetVerse"}]},{label:"About",items:[{label:"About Me",href:"https://prepverse.vercel.app/AkashSingh3031"},{label:"Portfolio",icon:n.createElement(f.i,null),href:"https://prepverse.github.io/portfolio"}]}],d=[{label:"License",href:"https://github.com/PrepVerse/prepverse.github.io/blob/master/LICENSE"}],p="Thank you for visiting, Connect with me over socials.",b=[{icon:e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{G:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{w:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{g:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{i:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{y:()=>o});var n=r(4971),l=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const o=e=>l.createElement("svg",c(function(e){for(var t=1;t{"use strict";r.d(t,{A:()=>c,i:()=>o});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e){for(var t=1;tn.createElement("svg",a({width:12,height:12,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.053 0A10.904 10.904 0 0 0 3.89 2.685 11.34 11.34 0 0 0 .142 9.472a11.48 11.48 0 0 0 1.456 7.65 11.087 11.087 0 0 0 5.964 4.86c.556.103.752-.25.752-.547v-1.918C5.23 20.202 4.58 18 4.58 18a3.012 3.012 0 0 0-1.227-1.655c-.997-.692.081-.692.081-.692.35.05.683.18.975.382.293.202.536.469.713.78.15.278.352.523.595.721a2.312 2.312 0 0 0 2.618.221c.042-.57.283-1.105.678-1.509-2.454-.284-5.03-1.253-5.03-5.539a4.415 4.415 0 0 1 1.132-3.025A4.194 4.194 0 0 1 5.224 4.7s.928-.305 3.036 1.156c1.81-.508 3.72-.508 5.531 0 2.108-1.46 3.03-1.156 3.03-1.156.406.936.455 1.993.135 2.963a4.415 4.415 0 0 1 1.132 3.026c0 4.334-2.582 5.282-5.043 5.538.264.271.468.597.598.955.13.358.182.741.155 1.122V21.4c0 .367.196.65.759.54a11.093 11.093 0 0 0 5.88-4.878 11.481 11.481 0 0 0 1.419-7.6 11.34 11.34 0 0 0-3.71-6.746A10.907 10.907 0 0 0 11.053 0Z",fill:"currentColor"})),o=e=>n.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.066.001a11.91 11.91 0 0 1 7.745 2.966 12.326 12.326 0 0 1 4.032 7.33 12.46 12.46 0 0 1-1.54 8.245 12.088 12.088 0 0 1-6.406 5.314l-.105.037-.11.021c-.508.1-1.232.093-1.83-.422-.577-.498-.681-1.166-.681-1.565v-3.008l.004-.053a1.102 1.102 0 0 0-.062-.453 1.058 1.058 0 0 0-.235-.377l-.839-.86-.863.882a.802.802 0 0 0-.224.502l-.015.217v3.183c0 .434-.14 1.029-.628 1.492-.541.514-1.246.62-1.864.505l-.108-.02-.104-.035a12.082 12.082 0 0 1-6.498-5.296 12.457 12.457 0 0 1-1.58-8.298c.45-2.86 1.891-5.471 4.073-7.375A11.909 11.909 0 0 1 12.05.001h.016Zm-10.43 10.54a10.957 10.957 0 0 0 1.39 7.303 10.58 10.58 0 0 0 5.693 4.638c.53.099.717-.238.717-.522v-1.83c-.588.13-1.083.15-1.5.1a2.95 2.95 0 0 1-.542-.117 2.551 2.551 0 0 1-.422-.176 2.362 2.362 0 0 1-.82-.72c-.208-.294-.28-.535-.28-.535a2.876 2.876 0 0 0-1.17-1.58l-.016-.01c-.925-.65.093-.65.093-.65.106.015.21.038.313.068l.017.005a2.172 2.172 0 0 1 .962.603c.122.13.23.276.319.433a2.29 2.29 0 0 0 .68.775h.002s0 .001 0 0a2.211 2.211 0 0 0 2.385.124v-.014a2.302 2.302 0 0 1 .647-1.427 8.754 8.754 0 0 1-1.625-.328 4.865 4.865 0 0 1-1.416-.695 3.883 3.883 0 0 1-.432-.365c-.8-.786-1.328-2.002-1.328-3.899a4.214 4.214 0 0 1 1.08-2.887 4.003 4.003 0 0 1 .104-2.848s.886-.291 2.898 1.103a9.762 9.762 0 0 1 5.28 0c2.011-1.393 2.891-1.103 2.891-1.103.388.893.434 1.902.13 2.828a4.214 4.214 0 0 1 1.08 2.888c0 3.166-1.444 4.44-3.174 4.972a8.617 8.617 0 0 1-1.64.314 2.558 2.558 0 0 1 .699 1.425c.026.184.033.371.02.558v2.955c0 .35.187.62.724.515a10.588 10.588 0 0 0 5.613-4.656 10.958 10.958 0 0 0 1.354-7.254 10.824 10.824 0 0 0-3.541-6.439 10.41 10.41 0 0 0-6.77-2.592 10.408 10.408 0 0 0-6.837 2.563 10.824 10.824 0 0 0-3.578 6.478ZM16.374 7.8a8.003 8.003 0 0 0-.856.524l-.58.401-.679-.19a8.262 8.262 0 0 0-4.469 0l-.68.19-.58-.402a7.982 7.982 0 0 0-.846-.519c.019.186.059.37.12.549l.282.832-.588.653a2.714 2.714 0 0 0-.696 1.86v.024c0 1.724.503 2.513.998 2.937.563.481 1.397.736 2.476.86l1.567.182 1.954-.204c1.082-.112 1.912-.358 2.47-.833.492-.418.999-1.209.999-2.96v-.026a2.714 2.714 0 0 0-.696-1.86l-.582-.647.273-.826c.058-.178.096-.36.113-.545Z",clipRule:"evenodd"}))},1980:(e,t,r)=>{"use strict";r.d(t,{m:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{Q:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{G:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{s1:()=>o,wR:()=>s,QD:()=>f,vn:()=>d,kv:()=>b,uI:()=>h,A9:()=>y,_2:()=>w,Ew:()=>E,Yf:()=>P,oh:()=>C,Ed:()=>A,BE:()=>H,KU:()=>M,WR:()=>G,w9:()=>F,CC:()=>W,AH:()=>X,oz:()=>K,C3:()=>q});var n=r(1504);var l=r(4971);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const o=e=>n.createElement("svg",c(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const{colorMode:t}=(0,D.U)();return n.createElement("div",{className:(0,l.c)("relative","flex","items-center","justify-center","rounded-full","overflow-hidden","p-px","dark:bg-[#194b3a] bg-[#b7dbff]"),style:{transform:"translateZ(0)"}},n.createElement("div",{className:(0,l.c)("z-[1]","absolute","inset-0","dark:bg-new-badge-border-dark bg-new-badge-border-light","animate-new-badge-border")}),n.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}var R,T;const G=e=>{var{variant:t="landing"}=e,r=B(e,["variant"]);return n.createElement("svg",z(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",U(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{m:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{G:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{o:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{E:()=>p});var n=r(4971),l=r(1504),a=r(9184),c=r(7708),o=r(204);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const s=e=>l.createElement("svg",function(e){for(var t=1;t{const t=l.createElement("div",{className:(0,n.c)("py-6 landing-lg:py-0","flex","flex-col","gap-4","landing-lg:max-w-[224px]")},l.createElement("div",{className:(0,n.c)("font-semibold","text-sm","leading-6","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},"Contacts"),l.createElement("a",{href:"https://wa.me/+919794423031",target:"_blank",className:(0,n.c)("font-normal","text-sm","leading-5","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},"+91 9794423031"),l.createElement("a",{href:"https://mail.google.com/mail/u/0/?fs=1&to=codewithsky@gmail.com&tf=cm",target:"_blank",className:(0,n.c)("font-normal","text-sm","leading-5","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:180,height:40,viewBox:"0 0 180 40",fill:"none"},l.createElement("text",{x:"1",y:"15",fontFamily:"Arial, sans-serif",fontSize:"16",fill:"currentColor"},"codewithsky@gmail.com")))),r=l.createElement("div",{className:(0,n.c)("py-6 landing-lg:py-0","flex","flex-col","landing-sm:items-end")},l.createElement("div",{className:(0,n.c)("flex","flex-col","gap-4")},l.createElement("div",{className:(0,n.c)("text-sm","leading-6","font-semibold","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3","landing-lg:text-right")},"Connect with me on"),l.createElement("div",{className:(0,n.c)("flex","items-center","gap-8","landing-lg:gap-4","justify-start")},c.AR.map((({href:t,icon:r})=>l.createElement("a",{href:t,key:t,target:"_blank",rel:"noreferrer",className:(0,n.c)("landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},l.createElement(r,{className:(0,n.c)("w-6 h-6","landing-lg:w-8 landing-lg:h-8")})))))));return l.createElement("footer",{className:(0,n.c)("w-full")},l.createElement("div",{className:(0,n.c)("border-t border-t-solid","landing"===e&&"border-t-gray-100 dark:border-t-gray-700","blog"===e&&"border-t-refine-react-3 dark:border-t-refine-react-7","landing"===e&&"dark:bg-footer-landing-dark-bg","blog"===e&&"bg-footer-blog-light-bg dark:bg-footer-blog-dark-bg")},l.createElement("div",{className:(0,n.c)("grid","grid-cols-1","max-w-screen-landing-md","landing-lg:max-w-screen-landing-lg","mx-auto")},l.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8 landing-lg:px-12","py-4 landing-lg:py-6","flex","items-center","justify-between")},l.createElement(a.c,{to:"https://prepverse.vercel.app",className:(0,n.c)("hover:no-underline","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},l.createElement(u.m,null)),l.createElement("a",{href:"https://github.com/sponsors/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,n.c)("hover:no-underline")},l.createElement(s,null))),l.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8 landing-lg:px-12","flex","flex-row","flex-wrap","items-start","justify-start","text-gray-500 dark:text-gray-500")},c.o0),l.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8 landing-lg:px-12","py-6 landing-lg:pt-8 landing-lg:pb-12","flex","flex-row","flex-wrap","items-start","justify-start","gap-6")},l.createElement("div",{className:(0,n.c)("hidden","landing-lg:flex","max-w-[282px]","w-full")},t),c.yw.map((t=>l.createElement("div",{className:(0,n.c)("flex flex-col gap-4","min-w-[152px]"),key:t.label},l.createElement("div",{className:(0,n.c)("text-sm","leading-6","font-semibold","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},t.label),l.createElement("div",{className:(0,n.c)("flex","flex-col","gap-2")},t.items.map((t=>l.createElement("a",d(m({href:t.href,key:t.label},t.href.startsWith("http")?{target:"_blank",rel:"noopener noreferrer"}:{}),{className:(0,n.c)("text-sm","leading-5","hover:no-underline","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300")}),l.createElement("div",{className:(0,n.c)("flex","items-center","gap-2")},t.label,t.icon)))))))),l.createElement("div",{className:(0,n.c)("hidden","landing-lg:flex","ml-auto")},r)),l.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8","grid","grid-cols-1","landing-sm:grid-cols-2","landing-sm:gap-8","landing-lg:hidden")},t,r))),l.createElement("div",{className:(0,n.c)("border-t border-t-solid","landing"===e&&"border-t-gray-100 dark:border-t-gray-700","blog"===e&&"border-t-gray-100 dark:border-t-gray-700","landing"===e&&"bg-gray-50 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-8")},l.createElement("div",{className:(0,n.c)("py-6 landing-sm:py-8 landing-lg:py-6","px-4 landing-sm:px-8 landing-lg:px-12","grid","grid-cols-1","landing-md:grid-cols-2","gap-8","max-w-screen-landing-md","landing-lg:max-w-screen-landing-lg","mx-auto")},l.createElement("div",{className:(0,n.c)("flex","flex-col","landing-sm:flex-row","gap-4","items-start","justify-start")},c.wd.map((t=>l.createElement("a",d(m({href:t.href,key:t.label},t.href.startsWith("http")?{target:"_blank",rel:"noopener noreferrer"}:{}),{className:(0,n.c)("text-sm","leading-5","font-normal","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:no-underline","hover:text-gray-800 dark:hover:text-gray-300")}),t.label)))),l.createElement("div",{className:(0,n.c)("text-left","landing-md:text-right","text-sm","pr-6 landing-sm:pr-0","leading-5","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3","font-normal")},l.createElement("div",{className:(0,n.c)("text-base","text-gray-500 dark:text-gray-400")},"Copyright \xa9 ",(new Date).getFullYear()," PrepVerse"," ",l.createElement(o.Q,{className:"text-refine-red ml-2 inline leading-6"}),l.createElement("br",null),"Built with Docusaurus & Refine.")))))}},6192:(e,t,r)=>{"use strict";r.d(t,{D:()=>f});var n=r(1504),l=r(4971),a=r(9184);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const o=e=>n.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const f=e=>{var{children:t,href:r,className:c,onClick:f,buttonClassname:m}=e,d=u(e,["children","href","className","onClick","buttonClassname"]);const p=r?a.c:"button";return n.createElement(p,s(function(e){for(var t=1;t{"use strict";r.d(t,{c:()=>i});var n=r(4971),l=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const i=e=>{var{className:t,wrapperProps:r}=e,a=o(e,["className","wrapperProps"]);return l.createElement("div",c({role:"status"},r),l.createElement("svg",c({"aria-hidden":"true",width:24,height:24,viewBox:"0 0 100 100",className:(0,n.c)("text-gray-200 animate-spin dark:text-gray-600 fill-refine-blue",t),fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),l.createElement("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),l.createElement("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})),l.createElement("span",{className:"sr-only"},"Loading..."))}},252:(e,t,r)=>{"use strict";r.d(t,{Q:()=>i});var n=r(4971),l=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){for(var t=1;tl.createElement("div",{className:(0,n.c)("w-full h-12","relative","bg-top-announcement","not-prose","font-inter","z-top-announcement")},l.createElement("div",{className:(0,n.c)("hidden lg:flex","w-full h-full","max-w-screen","overflow-hidden","border-b border-solid border-[#47ebeb26]","top-announcement-mask")},l.createElement("div",{className:(0,n.c)("w-[1280px] h-full","mx-auto","flex","justify-between")},l.createElement("div",{className:(0,n.c)("w-[calc(50%-300px)] h-full","relative")},l.createElement(u,{style:{animationDelay:"1.5s"},className:(0,n.c)("absolute","top-[2px]","right-[220px]"),id:"1"}),l.createElement(u,{style:{animationDelay:"1s"},className:(0,n.c)("absolute","rotate-180","top-[8px] right-[100px]"),id:"2"}),l.createElement(f,{className:(0,n.c)("absolute","right-[10px]"),id:"3"})),l.createElement("div",{className:(0,n.c)("w-[calc(50%-300px)] h-full","relative")},l.createElement(u,{style:{animationDelay:"2s"},className:(0,n.c)("absolute","rotate-180","top-[6px] right-[180px]"),id:"4"}),l.createElement(u,{style:{animationDelay:"0.5s"},className:(0,n.c)("delay-[1300]","absolute","top-[2px]","right-[40px]"),id:"5"}),l.createElement(f,{className:(0,n.c)("absolute","right-[-70px]"),id:"6"})))),l.createElement(s,null)),s=()=>l.createElement("a",{href:"https://prepverse.vercel.app/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,n.c)("relative lg:absolute","px-2 lg:px-0","top-0","left-[50%]","translate-x-[-50%]","bg-top-announcement-text","h-full w-full lg:w-[450px]","flex items-center justify-center","text-white","text-xs sm:text-sm","text-center","no-underline","hover:no-underline","hover:text-white","not-prose")},l.createElement("div",{className:(0,n.c)("ml-2","not-prose")},"For more updates follow","",l.createElement("span",{className:(0,n.c)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")},"@AkashSingh3031"),".")),u=e=>l.createElement("svg",o(c({xmlns:"http://www.w3.org/2000/svg",width:80,height:40,fill:"none"},e),{className:(0,n.c)("animate-top-announcement-glow","opacity-1",e.className)}),l.createElement("circle",{cx:40,r:40,fill:`url(#${e.id}-a)`,fillOpacity:.5}),l.createElement("defs",null,l.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 40 -40 0 40 0)",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{stopColor:"#47EBEB"}),l.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0})))),f=e=>l.createElement("svg",o(c({xmlns:"http://www.w3.org/2000/svg",width:120,height:48,fill:"none"},e),{className:(0,n.c)("animate-top-announcement-glow","opacity-1",e.className)}),l.createElement("circle",{cx:60,cy:24,r:60,fill:`url(#${e.id}-a)`,fillOpacity:.5}),l.createElement("defs",null,l.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 60 -60 0 60 24)",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{stopColor:"#47EBEB"}),l.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0}))))},2064:(e,t,r)=>{"use strict";r.d(t,{ED:()=>i,Ip:()=>s,_i:()=>m,Mx:()=>u,iG:()=>d,Yv:()=>o,Sm:()=>c,G_:()=>f});var n=r(2411);const l=JSON.parse('{"label":"Tutorial","path_prefix_segment":"tutorial","defaultParameters":{"language":"cpp"},"parameterOptions":{"language":[{"label":"C++","value":"cpp"},{"label":"Python","value":"py"},{"label":"Java","value":"java","status":"coming-soon"}]},"units":[{"title":"DSA","id":"dsa","items":["dsa/:language/index"]}]}');var a=r(1688);const c=l,o=(e,t)=>e.split("/").map((e=>{if(e.startsWith(":")){const r=e.slice(1);return t[r]}return e})).join("/"),i=(e,t)=>{for(const r of c.units)for(const n of r.items)if(e===o(n,t))return r},s=(e,t)=>{let r=!1;for(const n of c.units)for(const l of n.items){if(r)return l;o(l,t)===e&&(r=!0)}},u=(e,t)=>{let r=null;for(const n of c.units)for(const l of n.items){if(o(l,t)===e)return r;r=l}},f=()=>{const{docs:e}=(0,a.E)(),{versions:t}=(0,n.MP)("docusaurus-plugin-content-docs","tutorial"),r=t[0].docs;for(const n of r)n.title=e[n.id].title;return Object.fromEntries(r.map((e=>[e.id,e])))},m=(e,t)=>{const r=t[e];if(!r)throw new Error(`Cannot find item with id ${e}`);return r.path},d=(e,t)=>{const r=t[e];if(!r)throw new Error(`Cannot find doc with id ${e}`);return r.title}},1240:(e,t,r)=>{"use strict";r.d(t,{c:()=>C});var n=r(1504),l=r(4971);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{var a;const c=null!==(a=p[e])&&void 0!==a?a:()=>null;var o;const i=null!==(o=b[e])&&void 0!==o?o:"tex-inherit";var s;const u=null!==(s=g[e])&&void 0!==s?s:"bg-inherit";return"simple"===e?n.createElement(y,{type:e,title:t},r):n.createElement("div",{className:(0,l.c)("rounded-lg","admonition",`admonition-${e}`,"mb-6","refine-wider-container",u)},n.createElement("div",{className:(0,l.c)("border-l-4","border-l-solid","border-l-inherit","rounded-tl-lg","rounded-bl-lg","py-4","pr-4","pl-3","flex flex-col","gap-2 sm:gap-4")},(t||h[e])&&n.createElement("div",{className:(0,l.c)("flex","items-center","gap-2","text-xs sm:text-base 2xl:text-base 2xl:leading-7","font-semibold",i)},n.createElement(c,null),n.createElement("span",{className:"uppercase"},null!==(f=null!=t?t:h[e])&&void 0!==f?f:"")),n.createElement("div",{className:(0,l.c)("text-gray-0","text-base","last:mb-0")},r)));var f},y=({type:e,title:t,children:r})=>{var a;const c=null!==(a=b[e])&&void 0!==a?a:"tex-inherit";var o;const i=null!==(o=g[e])&&void 0!==o?o:"bg-inherit";return n.createElement("div",{className:(0,l.c)("rounded-lg","admonition",`admonition-${e}`,"mb-6",i)},n.createElement("div",{className:(0,l.c)("flex flex-col","gap-2",!t&&"pt-4")},t&&n.createElement("div",{className:(0,l.c)("px-4","pt-4","text-sm","leading-5","-mt-0.5",c)},n.createElement("span",{className:"font-semibold"},null!=t?t:""),n.createElement("span",null,":")),n.createElement("div",{className:(0,l.c)("text-gray-0","text-base","last:mb-0","px-4 pb-4","admonition-content")},r)))};function O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function w(e){for(var t=1;tn.isValidElement(e)&&"mdxAdmonitionTitle"===(null===(t=e.props)||void 0===t?void 0:t.mdxType))),a=n.createElement(n.Fragment,null,r.filter((e=>e!==l)));return{mdxAdmonitionTitle:l,rest:a}}(e.children);var l;return x(w({},e),{title:null!==(l=e.title)&&void 0!==l?l:t,children:r})}const k=e=>{const{children:t,type:r,title:l}=P(e);return n.createElement(v,{type:r,title:l},t)};function C(e){return"info-tip"===e.type?n.createElement(k,e):"additional"===e.type?n.createElement(k,x(w({},e),{type:"note",title:"ADDITIONAL INFO"})):"sourcecode"===e.type?n.createElement(k,x(w({},e),{icon:n.createElement(E,null),title:n.createElement("a",{href:e.path,target:"_blank",rel:"noreferrer",style:{marginLeft:"4px"}},"SOURCE CODE"),titleProps:{style:{marginBottom:"-4px"}}}),e.children):"create-example"===e.type?n.createElement(k,x(w({},e),{type:"caution",icon:n.createElement(j,null),title:n.createElement("span",{style:{marginLeft:"4px"}},"RUN IN YOUR LOCAL")}),e.children):n.createElement(n.Fragment,null,n.createElement(k,e))}},7328:(e,t,r)=>{"use strict";r.d(t,{c:()=>k});var n=r(4971),l=r(1504);const a=({className:e})=>l.createElement("div",{className:(0,n.c)("relative","w-full","landing-md:mx-auto","w-full","pt-4 blog-md:pt-12 pb-6 px-6","bg-white dark:bg-gray-800",e)},l.createElement("div",{className:(0,n.c)("blog-sm:max-w-[592px]","blog-md:max-w-[656px]","blog-lg:max-w-[896px]","blog-max:max-w-[1200px]","w-full","mx-auto","flex","flex-col","items-start justify-start blog-lg:items-center blog-lg:justify-center","gap-4","not-prose")},l.createElement("h2",{className:(0,n.c)("flex","flex-wrap","gap-2","text-[32px] leading-[40px] landing-sm:text-[56px] landing-sm:leading-[72px]")},l.createElement("div",{className:(0,n.c)("dark:text-gray-0 text-gray-900")},"PrepVerse "),l.createElement("div",{className:(0,n.c)("font-semibold","dark:text-refine-green-alt dark:drop-shadow-[0_0_30px_rgba(71,235,235,0.25)]","text-refine-blue drop-shadow-[0_0_30px_rgba(51,51,255,0.3)]","whitespace-nowrap")},"Technical Blog")),l.createElement("p",{className:(0,n.c)("text-base","text-start landing-md:text-center","max-w-[588px]","dark:text-gray-400 text-gray-600","pb-2")},"contains all the DSA, Core Subjects, Web Tech, Data Science & FAANG Interview questions based blogs.")));var c=r(3680),o=r(8480),i=r(6968),s=r(6192),u=r(6112),f=r(9184),m=r(2424),d=r(2276),p=r(2268);function b(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g(e){for(var t=1;t{const[r,n]=(0,l.useState)({scrollDepths:e,scrollY:0}),{scrollDepths:a,scrollY:c}=r;return(0,l.useEffect)((()=>{"undefined"!=typeof window&&0!==window.pageYOffset&&n((e=>h(g({},e),{scrollY:window.pageYOffset})))}),[]),(0,l.useEffect)((()=>{if("undefined"==typeof window)return;const e=()=>window.removeEventListener("scroll",l),l=()=>{const l=document.documentElement,c=document.body,o=l.scrollTop||c.scrollTop,i=l.scrollHeight||c.scrollHeight,s=o/(i-l.clientHeight)*100;if(a){const r=Math.min(...a,i);if(s>=r){const l=a.filter((e=>e!==r));0===l.length&&e(),t&&t({scrollY:r,scrollPercent:s,remainingDepths:l}),n({scrollY:r,scrollDepths:l})}}else n(h(g({},r),{scrollY:s}))};return window.addEventListener("scroll",l),e}),[a,c,r]),{scrollY:c}},y=(e,t)=>{const[r,n]=(0,l.useState)((()=>{if("undefined"==typeof window)return t;try{const r="undefined"!=typeof window?window.localStorage.getItem(e):void 0;return r?JSON.parse(r):t}catch(r){return console.log(r),t}}));return[r,t=>{try{const l=t instanceof Function?t(r):t;n(l),"undefined"!=typeof window&&window.localStorage.setItem(e,JSON.stringify(l))}catch(l){console.log(l)}}]};var O=r(640);const w=({title:e="Click here to discover my latest projects, skills, and achievements on my portfolio website. My journey into creativity begins now!",variant:t="purple",image:r={src:"https://github.com/AkashSingh3031.png",alt:"My Portfolio",href:"https://prepverse.github.io/portfolio"},button:a={text:"Explore Now",href:"https://prepverse.github.io/portfolio",onClick:void 0}})=>{var c,o,i,b;const{pathname:g}=(0,O.IT)(),[h,w]=(0,l.useState)(!1),[x,E]=y("banner-modal",null),j=(0,l.useRef)(!1),P=v();var k,C;return(0,l.useEffect)((()=>{"/blog/"!==g&&"/blog"!==g&&(j.current||h||P.scrollY>79&&P.scrollY<100&&(j.current=!0,9===x||null===x?(w(!0),E(0)):(E(x+1),j.current=!0)))}),[P.scrollY]),(0,l.useEffect)((()=>{h&&"undefined"!=typeof window&&void 0!==window.gtag&&window.gtag("event","view_banner",{banner_name:"banner-modal",banner_text:e,banner_image:r.src})}),[h]),l.createElement(m.O,{appear:!0,show:h,as:l.Fragment},l.createElement(d.C,{as:"div",className:"relative z-modal",onClose:()=>w(!1)},l.createElement(m.O.Child,{as:l.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},l.createElement("div",{className:"fixed inset-0 bg-gray-900/70"})),l.createElement("div",{className:"fixed inset-0 overflow-y-auto"},l.createElement("div",{className:"flex min-h-full items-start justify-center"},l.createElement(m.O.Child,{as:l.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},l.createElement(d.C.Panel,{className:(0,n.c)("w-full min-h-screen","flex flex-col justify-center items-center")},l.createElement("div",{className:(0,n.c)("relative","rounded-3xl","max-w-[576px]","py-8","px-4 md:px-8","gray"===t&&"bg-banner-examples-modal-gray","purple"===t&&"bg-banner-examples-modal-purple")},l.createElement("div",{className:(0,n.c)("flex","flex-col","items-center","gap-8","text-center","not-prose")},l.createElement(f.c,{to:null!==(k=null===(c=r)||void 0===c?void 0:c.href)&&void 0!==k?k:null===(o=a)||void 0===o?void 0:o.href,target:"_blank",rel:"noopener noreferrer",className:(0,n.c)("flex","h-auto xl:h-[192px]","flex-shrink-0","rounded-lg","overflow-hidden","focus:outline-none")},l.createElement("img",{className:(0,n.c)("object-contain"),src:null===(i=r)||void 0===i?void 0:i.src,alt:null!==(C=null===(b=r)||void 0===b?void 0:b.alt)&&void 0!==C?C:e,loading:"lazy"})),l.createElement("p",{className:(0,n.c)("text-2xl","font-semibold","gray"===t&&"bg-clip-text","gray"===t&&"text-transparent","gray"===t&&"bg-banner-examples-text","purple"===t&&"text-gray-0")},e),l.createElement(s.D,{className:(0,n.c)("w-max"),buttonClassname:(0,n.c)("!px-4","!py-4"),href:a.href,onClick:a.onClick,target:"_blank",rel:"noopener noreferrer"},l.createElement("div",{className:(0,n.c)("text-gray-900","text-base","font-bold")},a.text),l.createElement(u.G,{className:(0,n.c)("w-4","h-4")}))),l.createElement("button",{className:(0,n.c)("absolute","top-2 right-2","w-8 h-8","flex items-center justify-center flex-shrink-0","text-gray-0","rounded-full","bg-gray-900/20"),onClick:()=>w(!1)},l.createElement(p.O,{className:"w-4 h-4"})))))))))};var x=r(6280);function E(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function j(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function P(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},a=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const k=e=>{const[t,r]=(0,l.useState)(!1),{children:s,toc:u,showSidebarBanner:f=!0}=e,m=P(e,["children","toc","showSidebarBanner"]),d=v();return(0,l.useEffect)((()=>{t&&(d.scrollY>20&&r(!0),d.scrollY<20&&r(!1))}),[d.scrollY,f]),l.createElement(o.C,j(function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>b});var n=r(1504),l=r(4971),a=r(9936),c=r(6684),o=r(5628),i=r(7328),s=r(6108),u=r(2668),f=r(8048),m=r(1628);function d(e){const{metadata:t}=e,{siteConfig:{title:r}}=(0,a.c)(),{blogDescription:l,blogTitle:o,permalink:i}=t,u="/"===i?r:o;return n.createElement(n.Fragment,null,n.createElement(c.U7,{title:u,description:l}),n.createElement(s.c,{tag:"blog_posts_list"}))}function p(e){const{metadata:t,tags:r,items:a}=e,c=1===t.page,o=a.filter((e=>!0===e.content.metadata.frontMatter.is_featured)),s=a.filter((e=>!0!==e.content.metadata.frontMatter.is_featured));return n.createElement(i.c,{showSidebarBanner:!1,showHero:!0},c&&n.createElement(m.CS,{items:o}),n.createElement(u.c,{items:s,tags:r,metadata:t}),n.createElement("div",{className:(0,l.c)("w-full","mx-auto","blog-sm:max-w-[592px]","blog-md:max-w-[656px]","blog-lg:max-w-[896px]","blog-max:max-w-[1200px]","blog-max:border-t border-t-refine-react-3 dark:border-t-refine-react-7","mb-12")},n.createElement(f.c,{metadata:t})))}function b(e){return n.createElement(c.cr,{className:(0,l.c)(o.W.wrapper.blogPages,o.W.page.blogListPage)},n.createElement(d,e),n.createElement(p,e))}},8048:(e,t,r)=>{"use strict";r.d(t,{c:()=>f});var n=r(1504),l=r(3652),a=r(9184),c=r(2460);const o="...",i=(e,t)=>{const r=t-e+1;return Array.from({length:r},((t,r)=>r+e))},s=({totalPages:e,siblingCount:t=1,currentPage:r})=>(0,n.useMemo)((()=>{if(t+5>=e)return i(1,e);const n=Math.max(r-t,1),l=Math.min(r+t,e),a=n>2,c=le===o?n.createElement("li",{key:`page:${e}`,className:(0,u.c)("flex items-center justify-center","text-gray-500 dark:text-gray-400","rounded-full","hover:no-underline","no-underline","h-[32px] w-[32px]")},"\u2026"):n.createElement("li",{key:e},n.createElement(a.c,{to:1===e?r:`${r}/page/${e}`,className:(0,u.c)("text-sm","flex items-center justify-center","text-gray-500 dark:text-gray-400","rounded-full","hover:no-underline","h-[32px] w-[32px]","no-underline",e!==f&&"text-refine-react-5 dark:text-refine-react-4",e===f&&"text-refine-react-8 dark:text-refine-react-3",e===f&&"bg-refine-react-3 dark:bg-refine-react-7")},e)))),n.createElement("li",null,n.createElement(a.c,{to:f===d?void 0:`${r}/page/${f+1}`,className:(0,u.c)("rounded-full","hover:no-underline","text-refine-react-5 dark:text-refine-react-4",f!==d&&"opacity-70",f===d&&"pointer-events-none opacity-20")},n.createElement(c.yu,null)))))}},2668:(e,t,r)=>{"use strict";r.d(t,{c:()=>f});var n=r(1504),l=r(468),a=r(2032),c=r(9184),o=r(3270),i=r(1904),s=r(4971);function u({className:e}){var t,r;const{metadata:a}=(0,l.g)(),{permalink:u,title:f,date:m,formattedDate:d,frontMatter:p,description:b,tags:g}=a,h=a.authors[0];return n.createElement(o.c,{className:e},n.createElement("div",null,n.createElement(c.c,{itemProp:"url",to:u,className:(0,s.c)("block","w-full h-auto","aspect-[592/334]")},n.createElement("div",{className:(0,s.c)("not-prose relative m-0 hover:brightness-90","h-full w-full")},n.createElement("img",{src:`${p.image}?h=432`,alt:f,className:(0,s.c)("absolute inset-0 mt-0 h-full w-full rounded-[10px] object-cover"),loading:"lazy"})))),n.createElement("div",{className:"px-4 py-4 md:px-6 md:py-6"},n.createElement("div",{className:(0,s.c)("flex flex-wrap items-center","mb-6","gap-2")},g.map((e=>n.createElement(c.c,{className:(0,s.c)("text-xs","bg-refine-react-3 dark:bg-refine-react-7","text-refine-react-8 dark:text-refine-react-3","no-underline","rounded-full","px-2 py-1"),href:e.permalink,key:e.permalink},e.label)))),n.createElement("div",{className:"mb-2 md:mb-4"},n.createElement(c.c,{itemProp:"url",to:u,className:"no-underline hover:no-underline",rel:"noopener dofollow"},n.createElement("div",{className:(0,s.c)("mb-4","text-gray-700 dark:text-refine-react-3","text-xl","font-lg","font-bold")},f)),n.createElement("div",{className:(0,s.c)("line-clamp-3","text-gray-700 dark:text-refine-react-4","text-sm")},b)),n.createElement("div",{className:"flex items-center gap-2"},n.createElement(c.c,{href:`/blog/author/${null===(t=h)||void 0===t?void 0:t.key}`,itemProp:"url",className:(0,s.c)("text-gray-600 hover:text-gray-600","dark:text-gray-400 hover:dark:text-gray-400","text-xs","no-underline")},null===(r=h)||void 0===r?void 0:r.name),n.createElement("span",{className:(0,s.c)("h-[4px] w-[4px] rounded-full","bg-gray-600 dark:bg-gray-500")}),n.createElement("span",{className:(0,s.c)("text-gray-600 dark:text-refine-react-5","text-xs","leading-6","no-underline")},n.createElement(i.iI,{date:m,formattedDate:d})))))}function f({items:e,tags:t,component:r=u,isAuthorPage:c,isTagsPage:o}){return n.createElement("div",{className:(0,s.c)("w-full","bg-white dark:bg-gray-800")},n.createElement("div",{className:(0,s.c)("blog-sm:max-w-[592px]","blog-md:max-w-[656px]","blog-lg:max-w-[896px]","blog-max:max-w-[1200px]","w-full","px-6 blog-sm:px-0","pt-14 blog-md:pt-12","pb-6","mx-auto","not-prose")},!c&&!o&&n.createElement(n.Fragment,null,n.createElement("div",{className:(0,s.c)("flex flex-row blog-lg:flex-col justify-between","items-center blog-lg:items-start","not-prose","px-6","mb-6 blog-lg:mb-12","gap-6")},n.createElement("h2",{className:(0,s.c)("!m-0 !mt-0 !mb-0 p-0","blog-lg:mb-12 blog-md:mb-8 mb-8","text-2xl blog-sm:text-[32px] blog-sm:leading-10","text-refine-react-8 dark:text-refine-react-3","font-semibold","whitespace-nowrap")},"All Posts"),n.createElement(a.c,{tags:t}))),n.createElement("div",{className:(0,s.c)("grid grid-cols-1 blog-md:grid-cols-2 blog-max:grid-cols-3","gap-6")},e.map((({content:e})=>n.createElement(l.E,{key:e.metadata.permalink,content:e},n.createElement(r,null,n.createElement(e,null))))))))}},8560:(e,t,r)=>{"use strict";r.d(t,{s:()=>Z});var n=r(1504),l=r(8952),a=r(8796),c=r(5684),o=r(6564),i=r(2184),s=r(6616),u=r(5952),f=r(4971),m=r(1373);function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function b(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},a=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const g=e=>{var{as:t}=e,r=b(e,["as"]);return n.createElement(t,p(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const[r,l]=(0,n.useState)(!1),a=(0,n.useRef)(void 0),c=(0,n.useCallback)((()=>{try{navigator.clipboard.writeText(e).then((()=>{l(!0),a.current=window.setTimeout((()=>{l(!1)}),1e3)}))}catch(t){}}),[e]);return(0,n.useEffect)((()=>()=>window.clearTimeout(a.current)),[]),n.createElement("button",{type:"button","aria-label":r?"Copied!":"Copy code to clipboard",title:"Copy code to clipboard",className:(0,f.c)("w-6 h-6","flex justify-center items-center","bg-gray-200","dark:bg-gray-800","hover:bg-gray-300","dark:hover:bg-refine-react-dark-code","rounded","group","transition-[background-color] duration-200 ease-in-out"),onClick:c},n.createElement(v,{className:(0,f.c)("w-3 h-3","text-gray-500","dark:text-gray-400",r&&"rotate-[360deg]","transition-all duration-200 ease-in-out")}))};function O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const w=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const r=t?w:E;return n.createElement("button",{type:"button",onClick:()=>e(),className:(0,f.c)("w-6 h-6","flex justify-center items-center","bg-gray-200","dark:bg-gray-800","hover:bg-gray-300","dark:hover:bg-refine-react-dark-code","rounded","group","transition-[background-color] duration-200 ease-in-out"),"aria-label":"Toggle word wrap",title:"Toggle word wrap"},n.createElement(r,{className:(0,f.c)("w-3 h-3","text-gray-500","dark:text-gray-400",t&&"rotate-[360deg]","transition-all duration-200 ease-in-out")}))};function P(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function k(e){for(var t=1;tn.createElement("svg",k({xmlns:"http://www.w3.org/2000/svg",width:12,height:14,viewBox:"0 0 12 14",fill:"none"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M11 4.994V11.6A1.4 1.4 0 0 1 9.6 13H2.4A1.4 1.4 0 0 1 1 11.6V2.4A1.4 1.4 0 0 1 2.4 1h4.606a1.4 1.4 0 0 1 .99.41l2.594 2.594a1.4 1.4 0 0 1 .41.99ZM0 2.4A2.4 2.4 0 0 1 2.4 0h4.606a2.4 2.4 0 0 1 1.697.703l2.594 2.594A2.4 2.4 0 0 1 12 4.994V11.6A2.4 2.4 0 0 1 9.6 14H2.4A2.4 2.4 0 0 1 0 11.6V2.4ZM3.5 6a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5Zm0 2a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5Zm0 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3Z",clipRule:"evenodd"})),A=({children:e,icon:t=n.createElement(N,null)})=>n.createElement("div",{className:(0,f.c)("py-3","px-4","bg-gray-100 dark:bg-gray-700","text-gray-800","dark:text-gray-100","text-xs","flex items-center","gap-2","rounded-tl-lg","rounded-tr-lg")},t,e),S=({children:e,className:t="",metastring:r,title:l,showLineNumbers:a,language:d,icon:p,style:b})=>{const{prism:{defaultLanguage:h,magicComments:v}}=(0,c.y)();var O;const w=null!==(O=null!=d?d:(0,i.K2)(t))&&void 0!==O?O:h,x=(0,o.i)(),E=(0,s._)(),P=(0,i.QH)(r)||l,{lineClassNames:N,code:S}=(0,i.cj)(e,{metastring:r,language:w,magicComments:v}),H=null!=a?a:(0,i.OO)(r);return n.createElement(g,{as:"div",className:(0,f.c)("refine-common-code-block",w&&`language-${w}`,"rounded-lg","bg-gray-200","dark:bg-gray-900","border","border-gray-300","dark:border-0","mb-6","relative","refine-wider-container"),style:b},P&&n.createElement(A,{icon:p},P),n.createElement("div",{className:(0,f.c)("relative","pt-3","pb-0","not-prose")},n.createElement(m.cp,C(k({},m.wB),{theme:x,code:S,language:null!=w?w:"text"}),(({className:e,tokens:t,getLineProps:r,getTokenProps:l})=>n.createElement("pre",{tabIndex:0,ref:E.codeBlockRef,className:(0,f.c)(e,"bg-transparent","!mt-0","!mb-0","m-0","px-0","pt-0","font-jetBrains-mono","pb-3")},n.createElement("code",{className:(0,f.c)("font-[inherit]","bg-transparent","inline-block","min-w-full")},t.map(((e,t)=>n.createElement(u.c,{key:t,line:e,getLineProps:r,getTokenProps:l,classNames:(0,f.c)(N[t],"px-4","text-xs sm:text-sm 2xl:text-sm"),showLineNumbers:H})))))))),n.createElement("div",{className:(0,f.c)("absolute",P?"top-2 right-2":"top-3 right-3","flex items-center gap-2")},(E.isEnabled||E.isCodeScrollable)&&n.createElement(j,{onClick:E.toggle,isEnabled:E.isEnabled}),n.createElement(y,{className:(0,f.c)(),code:S})))};function H(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function D(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},a=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const Z=e=>{var{children:t}=e,r=D(e,["children"]);const c=(0,l.c)(),o=function(e){return n.Children.toArray(e).some((e=>(0,n.isValidElement)(e)))?e:Array.isArray(e)?e.join(""):e}(t),i="string"==typeof o?S:a.c;return n.createElement(i,function(e){for(var t=1;t{"use strict";r.d(t,{c:()=>A});var n=r(1504),l=r(8560),a=r(4971),c=r(9936),o=r(7748),i=r.n(o),s=r(1688);const u="playgroundPreview_jwe9";function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function m({children:e,minHeight:t,url:r="http://localhost:3000",hasBottom:l=!1}){return n.createElement("div",{className:(0,a.c)("flex","flex-col","h-full")},n.createElement("div",{className:(0,a.c)("flex-shrink-0","rounded-tl-lg","rounded-tr-lg","border","border-gray-300 dark:border-gray-700","px-4 py-3","flex items-center justify-start","gap-2","bg-gray-100 dark:bg-gray-700","relative","text-gray-800 dark:text-gray-100","border-b-0")},n.createElement(d,{className:"w-4 h-4"}),n.createElement("div",{className:(0,a.c)("text-xs")},`${r}`.replace(/^http(s?):\/\//,""))),n.createElement("div",{className:(0,a.c)("flex-1","overflow-hidden","bg-gray-100 dark:bg-gray-700","border border-gray-300 dark:border-gray-700",!l&&"rounded-bl-lg rounded-br-lg",l&&"border-b-gray-300 dark:border-b-gray-900",l&&"border-b"),style:{minHeight:t}},e))}const d=e=>n.createElement("svg",function(e){for(var t=1;t{const[l,a]=n.useState(e),[c]=n.useState(t);n.useEffect((()=>{!l&&e&&a(!0)}),[e]),n.useEffect((()=>{if(c){const e=setTimeout((()=>{a(!0)}),c);return()=>clearTimeout(e)}}),[c]);const o=n.useMemo((()=>l&&"function"==typeof r?r():null),[l]);if(void 0!==r&&"function"!=typeof r)throw new Error("Conditional component requires a function as a child");return o};var g=r(9128),h=r(3296);function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.g.Buffer=r.g.Buffer||h.Sn;const y=({query:e,code:t,css:r})=>{const{siteConfig:{customFields:l}}=(0,c.c)(),[a,o]=n.useState(void 0),s=n.useCallback((async t=>{if("undefined"!=typeof window&&window.Worker){const n=new Worker(`${location.protocol}//${location.host}/workers/lz-worker.js`);n.onmessage=function({data:t}){t.compressed&&o(`${l.LIVE_PREVIEW_URL}?code=${t.compressed}${r?`&css=${i().encode(r)}`:""}${e?`${e}`:""}`),n.terminate()},n.postMessage({code:t})}}),[e]);return n.useEffect((()=>{s(t)}),[t,s]),a?n.createElement("iframe",{loading:"lazy",src:a,width:"100%",height:"100%",style:{position:"absolute",left:0,top:0,width:"100%",height:"100%"}}):null},O=n.memo(y,((e,t)=>e.code===t.code&&e.query===t.query&&e.css===t.css)),w=e=>n.createElement("svg",function(e){for(var t=1;t{l?(i(!1),setTimeout((()=>{c((e=>!e)),setTimeout((()=>{i(!0)}),300)}),100)):(i(!1),c((e=>!e)),setTimeout((()=>{i(!0)}),300))}},n.createElement(w,{className:(0,a.c)(l&&"rotate-180","transition-transform","duration-200","ease-in-out")}),n.createElement("span",{className:(0,a.c)("text-base","block","overflow-hidden","h-6")},n.createElement("span",{className:(0,a.c)("block",l&&"opacity-0","transition-opacity duration-200 ease-in-out")},"Show Code"),n.createElement("span",{className:(0,a.c)("block","transition-transform duration-200 ease-in-out","bg-gray-100 dark:bg-gray-700",l&&"-translate-y-6")},"Hide Code"))),n.createElement("div",{className:(0,a.c)("rounded-bl-lg","rounded-br-lg"),style:{maxHeight:l?o?"unset":"100vh":"0px",transition:"0.3s all ease-in-out",overflow:"hidden"},ref:r},n.createElement(A,{language:"tsx",style:{marginBottom:0,marginRight:"0",marginLeft:"0",borderTopLeftRadius:"0",borderTopRightRadius:"0",borderBottomLeftRadius:"0.5rem",borderBottomRightRadius:"0.5rem"}},t)))}const E=({children:e,disableScroll:t,previewHeight:r,hideCode:l=!1,url:o="http://localhost:3000",previewOnly:i=!1,tailwind:f=!1})=>{const d=String(e),{shared:h,sharedCss:v}=(0,g.UF)(),{visible:y}=(e=>{const t="// visible-block-start";let r=e.indexOf(t);r=r>0?r+22:0;let n=e.indexOf("// visible-block-end");n=n>0?n:e.length;const l=e.slice(0,r),a=e.slice(r,n).trimEnd().trimStart(),c=e.slice(n);return{visible:a,join:e=>`${l}\n${e}\n${c}`}})(`\n ${null!=h?h:""}\n ${d}\n `.replace(/\n$/,"")),w=n.useRef(null),E=(0,p.c)(w),{siteConfig:{customFields:j}}=(0,c.c)(),{isLast:P}=(0,s.E)();return n.createElement("div",{className:(0,a.c)("overflow-hidden","mb-6","refine-wider-container")},n.createElement(n.Fragment,null,n.createElement(m,{url:o,hasBottom:!i},n.createElement("div",{className:(0,a.c)(u,"live-editor-wrapper"),style:{maxHeight:r,minHeight:r,overflow:t?"hidden":void 0,position:"relative"},ref:w},P?n.createElement(b,{if:E,maxWait:3e3},(()=>n.createElement(O,{code:`\n${null!=h?h:""}\n${d}\n `,css:v,query:`${t?"&disableScroll=true":""}${f?"&tailwind=true":""}`}))):n.createElement("div",{style:{height:"100%",minHeight:"inherit",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"1.25rem"}},n.createElement("span",null,"Live previews only work with the latest documentation.")))),!i&&n.createElement(x,{hidden:l,code:y})))},j=n.memo(E,((e,t)=>String(e.children)===String(t.children))),P=({children:e})=>{const{setShared:t}=(0,g.UF)();return n.useEffect((()=>(t(String(e)),()=>{t(void 0)})),[e]),null},k=n.memo(P,((e,t)=>String(e.children)===String(t.children))),C=({children:e})=>{const{setSharedCss:t}=(0,g.UF)();return n.useEffect((()=>(t(String(e)),()=>{t(void 0)})),[e]),null},N=n.memo(C,((e,t)=>String(e.children)===String(t.children)));function A(e){var t,r;return e.live&&e.live&&(null===(r=e.className)||void 0===r||null===(t=r.includes)||void 0===t?void 0:t.call(r,"language-css"))?n.createElement(N,e):e.shared&&e.live?n.createElement(k,e):e.live?n.createElement(j,e):n.createElement(l.s,e)}},3704:(e,t,r)=>{"use strict";r.d(t,{c:()=>f});var n=r(1504),l=r(9184),a=r(1724);const c=e=>{var t,r,n,l,c,o;let i="noopener noreferrer nofollow";const s=(0,a.c)(e);return(null===(r=e)||void 0===r||null===(t=r.includes)||void 0===t?void 0:t.call(r,"github.com/refinedev/refine"))&&(i="noopener"),(s||(null===(l=e)||void 0===l||null===(n=l.includes)||void 0===n?void 0:n.call(l,"refine.dev")))&&(i="noopener dofollow"),(s||(null===(o=e)||void 0===o||null===(c=o.includes)||void 0===c?void 0:c.call(o,"reactadminpanel.com")))&&(i="noopener dofollow"),i};var o=r(640);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e){for(var t=1;t{"use strict";r.d(t,{c:()=>ot});var n=r(7584),l=r(1504),a=r(4971),c=r(6192),o=r(6112),i=r(9184);const s=({title:e,description:t,image:r,variant:n="purple",button:s={text:"Explore Now",href:"https://prepverse.github.io/portfolio",onClick:void 0},bannerName:u})=>{var f,m,d,p,b,g;return l.useEffect((()=>{"undefined"!=typeof window&&void 0!==window.gtag&&u&&window.gtag("event","view_banner",{banner_name:u,banner_text:e,banner_description:t,banner_image:r.src})}),[u]),l.createElement("div",{className:(0,a.c)("relative","rounded-2xl","p-6","flex","flex-col 2xl:flex-row","items-center","gap-4 2xl:gap-10","not-prose","gray"===n&&"bg-banner-examples-gray","purple"===n&&"bg-banner-examples-purple")},l.createElement(i.c,{to:null!==(b=null===(f=r)||void 0===f?void 0:f.href)&&void 0!==b?b:null===(m=s)||void 0===m?void 0:m.href,target:"_blank",rel:"noopener noreferrer",className:(0,a.c)("flex","max-w-[360px]","h-auto","flex-shrink-0","rounded-lg","overflow-hidden")},l.createElement("img",{src:null===(d=r)||void 0===d?void 0:d.src,alt:null!==(g=null===(p=r)||void 0===p?void 0:p.alt)&&void 0!==g?g:e,loading:"lazy"})),l.createElement("div",{className:(0,a.c)("flex","flex-col","gap-6","justify-center 2xl:justify-start","items-center 2xl:items-start","text-center 2xl:text-start","not-prose")},e&&l.createElement("h2",{className:(0,a.c)("text-xl md:text-2xl","text-gray-0")},e),l.createElement("p",{className:(0,a.c)("text-sm md:text-base","text-gray-100")},t),l.createElement(c.D,{className:(0,a.c)("w-max"),buttonClassname:(0,a.c)("!px-4","!py-2"),href:s.href,onClick:s.onClick,target:"_blank",rel:"noopener noreferrer"},l.createElement("div",{className:(0,a.c)("text-gray-900","text-sm md:text-base","font-bold")},s.text),l.createElement(o.G,{className:(0,a.c)("ml-1 md:ml-2","w-[14px] h-[14px]","md:w-4 md:h-4")}))))},u=({title:e="My Portfolio",description:t="Click here to discover my latest projects, skills, and achievements on my portfolio website. My journey into creativity begins now!",button:r={text:"Explore Now",href:"https://prepverse.github.io/portfolio?ref=banner-retool-alternative",onClick:void 0}})=>(l.useEffect((()=>{"undefined"!=typeof window&&void 0!==window.gtag&&e&&t&&window.gtag("event","view_banner",{banner_name:"banner-retool-alternative",banner_text:e,banner_description:t})}),[e,t]),l.createElement("div",{className:(0,a.c)("relative","rounded-2xl","p-8","flex","flex-col","justify-center","items-center","not-prose","bg-banner-examples-gray")},l.createElement("h2",{className:(0,a.c)("text-2xl","font-semibold","bg-banner-examples-text","bg-clip-text","text-transparent")},e),l.createElement("p",{className:(0,a.c)("mt-2","text-sm","text-gray-300")},t),l.createElement(c.D,{className:(0,a.c)("mt-9"),href:r.href,onClick:r.onClick,target:"_blank",rel:"noopener noreferrer"},l.createElement("div",{className:(0,a.c)("text-gray-900","text-base","font-bold")},r.text))));var f=r(8164);const m=[],d=Math.floor(Math.random()*(m.length+1));var p=r(4752),b=r(7396);const g=({image:e,title:t,description:r,isDark:n})=>{let a;a="refineNew"===r?l.createElement("div",null," ",l.createElement("a",{href:"https://s.refine.dev/new-blog",target:"_blank"},"refine.new")," ","enables you to create React-based, headless UI enterprise applications within your browser that you can preview, tweak and download instantly.",l.createElement("br",null),l.createElement("br",null),"\ud83d\ude80 By visually combining options for your preferred \u2728",l.createElement("b",null," React platform,")," \u2728 ",l.createElement("b",null,"UI framework"),", \u2728"," ",l.createElement("b",null,"backend connector"),", and \u2728 ",l.createElement("b",null,"auth provider"),"; you can create tailor-made architectures for your project in seconds. It feels like having access to thousands of project templates at your fingertips, allowing you to choose the one that best suits your needs!",l.createElement("br",null),l.createElement("br",null),l.createElement("br",null)):null!=r?r:l.createElement("div",null,"Meet the headless, React-based solution to build sleek"," ",l.createElement("b",null,"CRUD")," applications. With refine, you can be confident that your codebase will always stay clean and boilerplate-free.",l.createElement("br",null),l.createElement("br",null),"Try"," ",l.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank"},"PrepVerse")," ","to rapidly build your next ",l.createElement("b",null,"CRUD")," project, whether ","it's"," ","an admin panel, dashboard, internal tool or storefront.");const c=null!=e?e:"https://refine.ams3.cdn.digitaloceanspaces.com/website/static/img/generic_banner.png";c.startsWith("http")||c.startsWith("/");return l.createElement("a",{href:"https://s.refine.dev/hackathon2",target:"_blank",rel:"noreferrer"},l.createElement("img",{src:"https://refine.ams3.cdn.digitaloceanspaces.com/hackathon-2/hackathon_cover.png"}))};var h=r(5524),v=r(3896),y=r(3376),O=r(8840);function w(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const x=e=>l.createElement("svg",function(e){for(var t=1;t{var t,r,n;const c=l.useRef(!1),{id:o}=(0,y.U)(),[i,s]=l.useState(!1),{items:u}=(0,O.GC)(),{reward:f}=(0,v.yh)(`checklist-${o}`,"confetti",{angle:90,elementCount:120,startVelocity:30,decay:.95,spread:100,position:"absolute",lifetime:150}),m=null===(n=u.find((e=>e.id===o)))||void 0===n||null===(t=(r=n.checklist).every)||void 0===t?void 0:t.call(r,(e=>e.checked));return l.useEffect((()=>{setTimeout((()=>{c.current=!0}),1e3)}),[]),l.useEffect((()=>{!i&&m&&c.current&&(s(!0),f())}),[m,i]),l.createElement("div",{className:(0,a.c)("rounded-lg","border-l-gray-400 dark:border-l-gray-600","dark:bg-gray-800 bg-gray-50")},l.createElement("div",{className:(0,a.c)("border-l-4","border-l-solid","border-l-inherit","rounded-tl-lg","rounded-bl-lg","p-4","flex flex-col")},l.createElement("div",{className:"border-b border-gray-400 dark:border-gray-500 border-opacity-50 dark:border-opacity-50"},l.createElement("div",{className:(0,a.c)("not-prose","mt-0 mb-4","flex items-center","gap-2")},l.createElement(x,{className:(0,a.c)("w-4 h-4","dark:text-gray-100 text-gray-800")}),l.createElement("h3",{className:(0,a.c)("m-0 p-0","font-semibold","dark:text-gray-100 text-gray-800","uppercase","text-base leading-6")},"Checklist"))),l.createElement("div",null,e),l.createElement("div",{className:"flex items-center justify-center"},l.createElement("div",{id:`checklist-${o}`}))))};function j(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const P=e=>l.createElement("svg",function(e){for(var t=1;t{var r,n,c,o;const{id:i}=(0,y.U)(),{items:s,toggle:u}=(0,O.GC)(),f=null===(r=null===(o=s.find((e=>e.id===i)))||void 0===o||null===(n=(c=o.checklist).find)||void 0===n?void 0:n.call(c,(e=>e.id===t)))||void 0===r?void 0:r.checked;return l.createElement("label",{className:(0,a.c)("mt-4","flex","items-center justify-start","flex-nowrap","gap-2","cursor-pointer")},l.createElement("div",{className:"flex-shrink-0"},l.createElement("button",{type:"button",onClick:()=>{u(i,t)},className:(0,a.c)("appearance-none","flex items-center justify-center","w-4 h-4","rounded","border",{"border-gray-400 dark:border-gray-500":!f,"border-refine-react-dark-link dark:border-refine-react-dark-link":f,"bg-refine-react-dark-link":f})},f&&l.createElement(P,null))),l.createElement("div",{className:(0,a.c)(f&&"line-through dark:text-gray-100 dark:text-opacity-50 text-gray-800 text-opacity-50",!f&&"text-gray-800 dark:text-gray-100")},e))};var C=r(8560),N=r(2108);const A=({path:e})=>l.createElement(C.s,{language:"bash",title:"Run on your local",icon:l.createElement(N.G,null)},`npm create refine-app@latest -- --example ${e}`);var S=r(5792);const H=({path:e})=>l.createElement("div",{className:(0,a.c)("refine-wider-container","py-2","px-2","text-base","font-sans","flex items-center","gap-2","rounded-lg","dark:bg-gray-700","bg-gray-100","mb-6")},l.createElement(S.A,{className:"ml-1.5 w-5 h-5 text-gray-800 dark:text-gray-100"}),l.createElement("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:(0,a.c)("text-base","leading-8","text-refine-react-light-link dark:text-refine-react-dark-link")},l.createElement("span",null,"View Source Code"))),D=({path:e})=>{const t=`https://github.com/PrepVerse/PrepVerse/tree/master/examples/${e}`;return l.createElement(H,{path:t})},Z=({path:e,hideSource:t,hideLocal:r,hideSandbox:n})=>{const a=`${`https://codesandbox.io/embed/github/refinedev/refine/tree/master/examples/${e}`}?view=preview&theme=dark&runonclick=1&codemirror=1`;return l.createElement("div",null,!t&&l.createElement(D,{path:e}),!r&&l.createElement(A,{path:e}),!n&&l.createElement("iframe",{loading:"lazy",src:a,style:{width:"100%",height:"80vh",border:"0px",borderRadius:"8px",overflow:"hidden"},title:e,allow:"accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking",sandbox:"allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"}))};var M=r(1240),L=r(7916);const z=()=>l.createElement("div",null,l.createElement(M.c,{type:"simple",title:"Good to know"},l.createElement(L.s,null,"\nAll the data related hooks (useTable, useForm, useList etc.) of Refine can be given some common properties like `resource`, `meta` etc.\n\nFor more information, refer to the [General Concepts documentation](/docs/guides-concepts/general-concepts).\n"))),B=({children:e,content:t})=>l.createElement("div",{className:(0,a.c)("refine-info-badge","relative","group","inline-flex","align-middle")},e,l.createElement("div",{className:(0,a.c)("absolute","-left-1","top-0","translate-x-0","-translate-y-0","scale-0","group-hover:scale-100","group-hover:-translate-y-full","transition-transform","origin-top-left","pb-2","w-60","pointer-events-none")},l.createElement("div",{className:(0,a.c)("text-xs","text-gray-600","bg-gray-0","border","border-gray-200","shadow-sm","rounded","py-1","px-2","font-normal")},null!=t?t:"Check the guide for more information"))),R=({id:e,icon:t,color:r,text:n,description:c})=>{const o=(0,a.c)("orange"===r&&(0,a.c)("bg-refine-react-light-orange-bg dark:bg-refine-react-dark-orange","dark:bg-opacity-[0.15]","text-refine-react-light-orange dark:text-refine-react-dark-orange"),"green"===r&&(0,a.c)("bg-refine-react-light-green-bg dark:bg-refine-react-dark-green","dark:bg-opacity-[0.15]","text-refine-react-light-green dark:text-refine-react-dark-green"),"purple"===r&&(0,a.c)("bg-refine-react-light-purple-bg dark:bg-refine-react-dark-purple","dark:bg-opacity-[0.15]","text-refine-react-light-purple dark:text-refine-react-dark-purple"));return l.createElement(B,{content:c},l.createElement(i.c,{to:`/docs/${e}`,className:(0,a.c)("-mt-px","rounded-[10px]","inline-flex","items-center","justify-center","text-sm","no-underline","gap-1.5","[&>svg]:hover:scale-110","[&>svg]:transition-transform [&>svg]:duration-200 [&>svg]:ease-in-out",o)},t,n&&l.createElement("span",{className:"text-xs leading-[0.875rem]"},n)))};function T(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const G=e=>l.createElement("svg",function(e){for(var t=1;tl.createElement("svg",function(e){for(var t=1;tr?l.createElement("div",{className:(0,a.c)("inline-flex","text-sm","py-0.5","px-2","rounded-xl","bg-refine-orange","bg-opacity-10","text-refine-orange","tracking-wide","align-middle","font-normal","mr-1"),title:o},null!=e?e:"deprecated"):t?l.createElement("div",{className:(0,a.c)("inline-flex","justify-center items-center","text-sm","text-refine-red","rounded-full","bg-refine-red bg-opacity-10","ml-1","w-6 h-6","align-middle")},null!=e?e:"\ufe61"):n?l.createElement("div",{className:(0,a.c)("inline-flex","text-sm","py-0.5","px-2","rounded-xl","bg-refine-red","bg-opacity-10","text-refine-red","tracking-wide","align-middle","font-normal","mr-1"),title:o},null!=e?e:"required"):c?l.createElement("div",{className:(0,a.c)("inline-flex","text-sm","py-0.5","px-2","rounded-xl","bg-refine-green","bg-opacity-10","text-refine-green","tracking-wide","align-middle","font-normal","mr-1"),title:o},null!=e?e:"featured"):e?l.createElement("div",{className:(0,a.c)("inline","text-gray-0","text-xs","leading-6","py-0.5","px-2","rounded","bg-gray-800","tracking-wide","align-middle","mr-1"),title:o},e):null,W="tooltip__Ymd",I="tooltipContainer_l6r7",U="tooltipContent_UeXm",X="tooltipArrow_mOyh",J=({label:e,children:t})=>e?l.createElement("div",{className:`${W} group`},t,l.createElement("div",{className:`${I} group-hover:visible`},l.createElement("span",{className:U},e),l.createElement("div",{className:X}))):l.createElement(l.Fragment,null,t);function K(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},a=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const Q=({prop:e,overrides:t})=>{var r,n,a;const c=null!==(a=t[`${e.name}-required`])&&void 0!==a?a:e.required;var o;const i=null!==(o=t[`${e.name}-deprecated`])&&void 0!==o?o:null===(r=e.tags)||void 0===r?void 0:r.deprecated;var s,u;const f=null!==(u=null!==(s=t[`${e.name}-deprecated`])&&void 0!==s?s:null===(n=e.tags)||void 0===n?void 0:n.deprecated)&&void 0!==u?u:"",m=(0,l.useMemo)((()=>{const e="props-table--name";return i?`${e} props-table--name__deprecated`:e}),[e,t]),d=(0,l.useMemo)((()=>f?l.createElement(L.s,null,f):null),[e,t]);var p;return l.createElement(J,{label:d},l.createElement(l.Fragment,null,l.createElement("span",{className:m},null!==(p=t[`${e.name}-name`])&&void 0!==p?p:e.name),c&&l.createElement(Y,{asterisk:!0})))},q=({prop:e,overrides:t})=>{var r;const n=null!==(r=t[`${e.name}-type`])&&void 0!==r?r:e.type.name,a=n.split(" | "),c=a.length>1,o=a.some((e=>e.length>20)),i=/`/.test(n);return l.createElement(l.Fragment,null,i?l.createElement(L.s,null,n):o&&c?l.createElement(l.Fragment,null,a.map(((e,t)=>l.createElement("code",{className:"max-w-xs h-min",key:t},l.createElement(L.s,null,e))))):l.createElement("code",{className:"max-w-xs h-min"},l.createElement(L.s,null,n)))},_=({prop:e,overrides:t})=>{var r,n;return l.createElement(L.s,null,null!==(n=null!==(r=t[`${e.name}-description`])&&void 0!==r?r:e.tags.description)&&void 0!==n?n:e.description)},$=({prop:e,overrides:t})=>{var r,n,a,c;const o=null===(r=e.tags)||void 0===r?void 0:r.default,i=(null===(n=e.defaultValue)||void 0===n?void 0:n.value)&&(null===(a=e.defaultValue)||void 0===a?void 0:a.value)!==o?null===(c=e.defaultValue)||void 0===c?void 0:c.value:void 0,s=t[`${e.name}-default`];return o||s?l.createElement(L.s,null,null!=s?s:o):l.createElement("div",{className:"flex flex-wrap gap-1"},void 0!==i?l.createElement("code",{className:"max-w-xs h-min"},l.createElement(L.s,null,i)):null)},ee=({prop:e,overrides:t})=>l.createElement("td",null,l.createElement("div",{className:"flex items-center"},l.createElement(Q,{prop:e,overrides:t}))),te=({prop:e,overrides:t})=>l.createElement("td",{className:"props-table__type-cell"},l.createElement("div",{className:"flex flex-wrap gap-1"},l.createElement(q,{prop:e,overrides:t}))),re=({prop:e,overrides:t})=>l.createElement("td",{className:"props-table__description-cell"},l.createElement(_,{prop:e,overrides:t})),ne=({prop:e,overrides:t})=>l.createElement("td",{className:"props-table__default-value-cell"},l.createElement($,{prop:e,overrides:t})),le=e=>{var{module:t,hideDefaults:n,children:a}=e,c=K(e,["module","hideDefaults","children"]);const o=((e,t="@refinedev/")=>{const[n,a]=(0,l.useState)(null);return(0,l.useEffect)((()=>{let n=!1;return r(6324)(`./${e.startsWith(t)?e:`${t}${e}`}.json`).then((e=>{n||(n=!0,a(e.default))})).catch(console.warn),()=>{n=!0}}),[e]),n})(t),i=(0,l.useMemo)((()=>{var e;if(n)return!1;if(Object.keys(c).some((e=>e.endsWith("-default"))))return!1;var t;return!Object.values(null!==(t=null===(e=o)||void 0===e?void 0:e.props)&&void 0!==t?t:{}).some((e=>{var t;return null===(t=e.defaultValue)||void 0===t?void 0:t.value}))}),[c]);if(!o)return null;const s=[...Object.values(o.props)];return l.createElement("div",{className:"table-container"},l.createElement("table",{className:"props-table"},l.createElement("thead",null,l.createElement("tr",null,l.createElement("th",null,"Property"),l.createElement("th",null,"Type"),l.createElement("th",null,"Description"),i?null:l.createElement("th",null,"Default"))),l.createElement("tbody",null,s.map((e=>c[`${e.name}-hidden`]?null:l.createElement("tr",{key:e.name},l.createElement(ee,{prop:e,overrides:c}),l.createElement(te,{prop:e,overrides:c}),l.createElement(re,{prop:e,overrides:c}),i?null:l.createElement(ne,{prop:e,overrides:c})))))),a)};function ae(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ce=e=>l.createElement("svg",function(e){for(var t=1;t{const{current:r}=(0,oe.U)();return e&&r===e?l.createElement(l.Fragment,null,t):null};var se=r(8530);function ue(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fe(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const me=e=>{var t;const r=l.Children.toArray(e.children),n=r.find((e=>l.isValidElement(e)&&"summary"===(null===(t=e.props)||void 0===t?void 0:t.mdxType))),c=l.createElement(l.Fragment,null,r.filter((e=>e!==n)));return l.createElement(se.S,fe(function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const ge=e=>{var{children:t,className:r}=e,n=be(e,["children","className"]);return l.createElement("summary",function(e){for(var t=1;t{const t=e.currentTarget,l=s.indexOf(t),a=c[l].value;a!==r&&(u(t),n(a))},m=e=>{var t,r;let n=null;switch(e.key){case"Enter":f(e);break;case"ArrowRight":{const t=s.indexOf(e.currentTarget)+1;var l;n=null!==(l=s[t])&&void 0!==l?l:s[0];break}case"ArrowLeft":{const t=s.indexOf(e.currentTarget)-1;var a;n=null!==(a=s[t])&&void 0!==a?a:s[s.length-1];break}}null===(r=n)||void 0===r||null===(t=r.focus)||void 0===t||t.call(r)};return l.createElement("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,a.c)(e,"!my-0","flex-wrap","list-none","m-0 mb-0 mt-0","px-4","flex gap-4","bg-gray-100 dark:bg-gray-700","rounded-tl-lg rounded-tr-lg",!o&&"rounded-bl-lg rounded-br-lg","items-stretch")},c.map((({value:e,label:t,attributes:n})=>l.createElement("li",xe(we({role:"tab",tabIndex:r===e?0:-1,"aria-selected":r===e,key:e,ref:e=>s.push(e),onKeyDown:m,onClick:f},n),{className:(0,a.c)("!my-0","mx-0 mt-0","px-2 py-3","flex items-center justify-center","min-w-[60px]","cursor-pointer","transition-all duration-200 ease-in-out","border-b border-solid","select-none",i&&"!text-xs",!i&&"!text-base",r!==e&&"text-gray-800 dark:text-gray-100",r===e&&"text-refine-react-light-link dark:text-refine-react-dark-link",r!==e&&"hover:text-refine-react-light-link dark:hover:text-refine-react-dark-link",r!==e&&"border-b-transparent",r===e&&"border-b-refine-react-light-link dark:border-b-refine-react-dark-link",r!==e&&"hover:border-b-refine-react-light-link dark:hover:border-b-refine-react-dark-link")}),null!=t?t:e))))}function je({lazy:e,children:t,selectedValue:r,smallTabs:n}){const c=(Array.isArray(t)?t:[t]).filter(Boolean);if(e){const e=c.find((e=>e.props.value===r));return e?(0,l.cloneElement)(e,{className:"margin-top--md refine-tab-content"}):null}var o;return l.createElement("div",{className:"p-4"},c.map(((e,t)=>(0,l.cloneElement)(e,{key:t,hidden:e.props.value!==r,className:(0,a.c)(null!==(o=e.props.className)&&void 0!==o?o:[],"refine-tab-content")}))))}function Pe(e){const t=(0,ve.a)(e),{wrapContent:r=!0}=e;return l.createElement("div",{className:(0,a.c)("tabs-container","rounded-lg","border-gray-300 dark:border-gray-700",r?"border":"border-0","mb-6","refine-wider-container")},l.createElement(Ee,we({},e,t)),l.createElement(je,we({},e,t)))}function ke(e){const t=(0,ye.c)();return l.createElement(Pe,we({key:String(t)},e))}function Ce(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ne(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},a=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}var Ae=r(4472),Se=r(4896),He=r(1488),De=r(8620),Ze=r(6076),Me=r(9072);function Le(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ze=e=>l.createElement("svg",function(e){for(var t=1;tl.createElement("svg",function(e){for(var t=1;t{var t,r;const[n,c]=(0,l.useState)(!1),{refs:o,floatingStyles:i,context:s}=(0,Ae.gR)({placement:"bottom-start",open:e.isOpen,onOpenChange:e.onOpenChange,whileElementsMounted:Se.kN,middleware:[(0,He.E3)((({middlewareData:e})=>{var t;return(null===(t=e)||void 0===t?void 0:t.flip)?{mainAxis:12}:{mainAxis:52}})),(0,Se.EB)((({placement:e})=>(e.includes("bottom")&&c(!1),e.includes("top")&&c(!0),{fallbackPlacements:["top-start"]})))]}),u=(0,Ae.ug)(s,{outsidePress:e=>!(null===(r=e.target)||void 0===r||null===(t=r.closest)||void 0===t?void 0:t.call(r,".widget-actions"))}),{getReferenceProps:f,getFloatingProps:m}=(0,Ae.M3)([u]);return l.createElement(l.Fragment,null,l.createElement("div",Xe(Ue({ref:o.setReference},f()),{style:{position:"absolute",top:"0",left:0}})),l.createElement(De.I,null,s.open&&l.createElement(Ze.q.div,Xe(Ue({initial:{opacity:0},animate:{opacity:1,transition:{duration:.2}},exit:{opacity:0},ref:o.setFloating,style:i},m()),{className:(0,a.c)("w-[320px]","bg-[#EAEBEF] dark:bg-refine-react-dark-code","border border-[#E3E4E5] dark:border-[#343A46]","rounded-[20px]","relative")}),e.children,l.createElement(Ke,{style:Ue({position:"absolute",top:n?"unset":"-10px",bottom:n?"-10px":"unset",transform:n?"rotate(180deg)":"rotate(0deg)",transition:"right 0.2s ease-in-out",willChange:"right"},e.arrowStyle)}))))},Ke=e=>{const{colorMode:t}=(0,Me.U)(),r="dark"===t;return l.createElement("svg",Ue({xmlns:"http://www.w3.org/2000/svg",width:42,height:18,viewBox:"0 0 42 18",fill:"none"},e),l.createElement("title",null,"Popover Pointer"),l.createElement("path",{fill:r?"#16181D":"#EAEBEF",stroke:"url(#a)",d:"M18.303 2.077C18.892 1.105 19.9.5 21 .5s2.108.605 2.697 1.577l3.026 4.992c.928 1.532 2.476 2.431 4.11 2.431H41.5v8H.5v-8h10.667c1.634 0 3.182-.899 4.11-2.431l3.026-4.992Z"}),l.createElement("defs",null,l.createElement("linearGradient",{id:"a",x1:21,x2:21,y1:1,y2:16,gradientUnits:"userSpaceOnUse"},l.createElement("stop",{offset:.59,stopColor:r?"#343A46":"#E3E4E5"}),l.createElement("stop",{offset:.602,stopColor:r?"#343A46":"#E3E4E5",stopOpacity:0}))))},Qe={UP:1,DOWN:2};function qe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _e(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}var $e;var et=r(7500),tt=r(9104);var rt=r(9092);var nt=r(5560);function lt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function at(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function ct(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ot=(it=function(e){for(var t=1;t{var{className:t}=e,r=Ne(e,["className"]);return l.createElement("blockquote",function(e){for(var t=1;td===m.length?l.createElement(f.c,null,(()=>l.createElement(u,null))):l.createElement(f.c,null,(()=>l.createElement(s,m[d]))),GuideBadge:({id:e,description:t="Please check the guide for more information on this topic.",text:r})=>l.createElement(R,{id:e,color:"green",icon:l.createElement(F,null),text:r,description:l.createElement(l.Fragment,null,l.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Check the guide"),l.createElement("div",{className:"text-xs"},t))}),RouterBadge:({id:e="guides-concepts/routing/",description:t="This value can be inferred from the route. Click to see the guide for more information.",text:r})=>l.createElement(R,{id:e,color:"orange",text:r,icon:l.createElement(ce,null),description:l.createElement(l.Fragment,null,l.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Router Integrated"),l.createElement("div",{className:"text-xs"},t))}),GlobalConfigBadge:({id:e="core/refine-component",description:t="This value can be configured globally. Click to see the guide for more information.",text:r})=>l.createElement(R,{color:"purple",icon:l.createElement(G,null),text:r,id:e,description:l.createElement(l.Fragment,null,l.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Globally Configurable"),l.createElement("div",{className:"text-xs"},t))}),Image:e=>l.createElement("img",_e(function(e){for(var t=1;t{const t=e?`-- ${e}`:"",r={npm:`npm create refine-app@latest ${t}`,pnpm:`pnpm create refine-app@latest ${t}`,yarn:`yarn create refine-app@latest ${t}`};return l.createElement(ke,null,l.createElement(tt.c,{value:"npm",label:"npm",default:!0},l.createElement(C.s,{className:"language-bash"},r.npm)),l.createElement(tt.c,{value:"pnpm",label:"pnpm"},l.createElement(C.s,{className:"language-bash"},r.pnpm)),l.createElement(tt.c,{value:"yarn",label:"yarn"},l.createElement(C.s,{className:"language-bash"},r.yarn),l.createElement(L.s,null,"> Only supports yarn@1 version.")))},InstallPackagesCommand:({args:e,children:t})=>{const r={npm:`npm i ${e}`,pnpm:`pnpm add ${e}`,yarn:`yarn add ${e}`};return l.createElement(ke,null,l.createElement(tt.c,{value:"npm",label:"npm",default:!0},l.createElement(C.s,{className:"language-bash"},r.npm),t),l.createElement(tt.c,{value:"pnpm",label:"pnpm"},l.createElement(C.s,{className:"language-bash"},r.pnpm),t),l.createElement(tt.c,{value:"yarn",label:"yarn"},l.createElement(C.s,{className:"language-bash"},r.yarn),t))},FullTable:et.Ih,TutorialConditional:({parameter:e,value:t,children:r})=>{var n;const{parameters:a}=(0,rt.iC)();return(null===(n=a)||void 0===n?void 0:n[e])===t?l.createElement(l.Fragment,null,r):null},VideoInView:e=>{const t=l.useRef(null),r=(0,nt.c)(t);return l.useEffect((()=>{var e,n,l,a;r?null===(n=t.current)||void 0===n||null===(e=n.play)||void 0===e||e.call(n):null===(a=t.current)||void 0===a||null===(l=a.pause)||void 0===l||l.call(a)}),[r]),l.createElement("video",at(function(e){for(var t=1;t{var e,r,n,l,a;(null===(e=t.current)||void 0===e?void 0:e.paused)?null===(n=t.current)||void 0===n||null===(r=n.play)||void 0===r||r.call(n):null===(a=t.current)||void 0===a||null===(l=a.pause)||void 0===l||l.call(a)},className:(0,a.c)(e.className,"w-full","h-auto","max-w-full","max-h-full","rounded-xl","object-contain")}))},DocThumbsUpDownFeedbackWidget:e=>{const t=(0,We.IT)(),[r,n]=(0,l.useState)(""),[c,o]=(0,l.useState)(null),[i,s]=(0,l.useState)(!1),[u,f]=(0,l.useState)(!1),m=i||u,{survey:d,createSurvey:p,updateSurvey:b}=(e=>{const[t,r]=(0,l.useState)(null),n=Ye[e.type];return{survey:t,setSurvey:r,createSurvey:async({body:e})=>{const t=await fetch(`${n}/responses`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(!t.ok)return null;const l=await t.json();return l?(r(l),l):void 0},updateSurvey:async({surveyId:e,body:t})=>{const l=await fetch(`${n}/responses/${e}`,{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(!l.ok)return null;const a=await l.json();return a?(r(a),a):void 0}}})({type:Te.THUMBS}),g=async r=>{o(r),s(!0),d?await b({surveyId:d.id,body:{response:r}}):await p({body:{response:r,entityId:t.pathname,metaData:{sectionId:e.id}}})};return l.createElement("div",{className:"group"},e.children,l.createElement("div",{className:(0,a.c)("relative","z-popover","hidden md:flex","items-center","gap-5","w-max h-[40px]","pt-1 pr-1 pb-1 pl-4","bg-[#99A1B31A] dark:bg-[#2F333C]","rounded-[28px]","transition-all duration-300 ease-in-out",!m&&"opacity-0","group-hover:opacity-100")},l.createElement("div",{className:(0,a.c)("text-xs","whitespace-nowrap","text-[#23272F] dark:text-[#E3E4E5]")},"Was this helpful?"),l.createElement("div",{className:(0,a.c)("flex","items-center","gap-1","widget-actions")},l.createElement("button",{type:"button",onClick:()=>g(Qe.UP),className:(0,a.c)("w-8 h-8","flex items-center justify-center","rounded-full","text-gray-500","hover:text-green-500 hover:bg-green-500/20","transition-all duration-200 ease-in-out",1===c&&"text-green-500 bg-green-500/20")},l.createElement(ze,null)),l.createElement("button",{type:"button",onClick:()=>g(Qe.DOWN),className:(0,a.c)("w-8 h-8","flex items-center justify-center","rounded-full","text-gray-500","hover:text-red-500 hover:bg-red-500/20","transition-all duration-200 ease-in-out",2===c&&"text-red-500 bg-red-500/20")},l.createElement(Re,null))),l.createElement(Je,{isOpen:m,onOpenChange:e=>{u||e||(s(!1),f(!1))},arrowStyle:{right:1===c?"150px":"115px"}},!u&&l.createElement("form",{className:(0,a.c)("flex flex-col","p-2"),onSubmit:e=>{e.preventDefault(),(async()=>{const e=r.trim();e&&(await b({surveyId:d.id,body:{response:c,responseText:e}}),f(!0),setTimeout((()=>{s(!1),f(!1)}),2e3))})()}},l.createElement("textarea",{rows:3,required:!0,minLength:3,placeholder:"Your thumbs tells us a lot, but If you have any additional thoughts or suggestions, we'd love to hear them!",onChange:e=>n(e.target.value),value:r,className:(0,a.c)("w-full","bg-white dark:bg-[#343A46]","text-[#23272F] dark:text-[#E3E4E5]","resize-none","rounded-xl","text-xs","py-2 px-3")}),l.createElement("button",{type:"submit",className:(0,a.c)("w-16 h-6","flex items-center justify-center","bg-refine-react-light-link dark:bg-refine-react-dark-link","text-xs","text-white","rounded-full","mt-2 ml-auto")},"Send")),u&&l.createElement("div",{className:(0,a.c)("flex items-center","p-4","text-xs","text-gray-500")},l.createElement("span",null,"Thank you for your feedback!")))))}},st=null!=st?st:{},Object.getOwnPropertyDescriptors?Object.defineProperties(it,Object.getOwnPropertyDescriptors(st)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(st)).forEach((function(e){Object.defineProperty(it,e,Object.getOwnPropertyDescriptor(st,e))})),it);var it,st},8092:(e,t,r)=>{"use strict";r.d(t,{c:()=>c});var n=r(1504),l=r(4971),a=r(9184);function c({permalink:e,label:t,isActive:r,size:c="small",variant:o="default"}){return n.createElement(a.c,{href:e,className:(0,l.c)("no-underline hover:no-underline","rounded-full","small"===c&&"text-xs","small"===c&&"py-1","small"===c&&"px-3","medium"===c&&"text-sm","medium"===c&&"py-2","medium"===c&&"px-4",!r&&"bg-gray-100 dark:bg-gray-700",!r&&"text-gray-600 dark:text-gray-400","text-refine-react-8 dark:text-refine-react-3","default"===o&&"bg-refine-react-3 dark:bg-refine-react-7","inverted"===o&&"bg-refine-react-3 dark:bg-refine-react-8")},t)}},2032:(e,t,r)=>{"use strict";r.d(t,{c:()=>g});var n=r(1504),l=r(8092),a=/\b(?:an?d?|a[st]|because|but|by|en|for|i[fn]|neither|nor|o[fnr]|only|over|per|so|some|tha[tn]|the|to|up|upon|vs?\.?|versus|via|when|with|without|yet)\b/i,c=/[^\s:\u2013\u2014-]+|./g,o=/\s/,i=/.(?=[A-Z]|\..)/,s=/[A-Za-z0-9\u00C0-\u00FF]/;var u=r(4971),f=r(320),m=r(5880);function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e){for(var t=1;t{const r=a.indexOf(e.label),n=a.indexOf(t.label);return-1===r?-1===n?0:1:-1===n?-1:r-n}));return n.createElement(n.Fragment,null,n.createElement(h,{collapsed:r,tags:c,className:(0,u.c)("hidden blog-lg:flex",t),onShowMoreClick:e=>l(e)}),n.createElement(v,{tags:c,className:(0,u.c)("block blog-lg:hidden",t)}))}const h=({tags:e,collapsed:t,className:r,onShowMoreClick:a})=>n.createElement("div",{className:(0,u.c)("bg-gray-50 dark:bg-refine-react-dark-code","justify-between","items-start","p-5",t&&"rounded-full",!t&&"rounded-3xl","not-prose",r)},n.createElement("ul",{className:(0,u.c)("overflow-hidden","flex-1",!t&&"h-24",t&&"h-8","m-0 p-0","mr-16","transition-all duration-300 ease-in-out")},e.map((e=>n.createElement("li",{className:(0,u.c)("inline-flex","m-1","mr-3"),key:e.permalink},n.createElement(l.c,b(p({},e),{label:O(e.label)})))))),n.createElement("button",{type:"button",onClick:()=>a(!t),className:(0,u.c)("appearance-none","flex","items-center","justify-center","gap-2","cursor-pointer","flex-shrink","no-underline hover:no-underline","text-xs","rounded-full","py-1","pl-3","pr-1","mt-1","text-refine-react-8 dark:text-refine-react-3","bg-refine-react-3 dark:bg-refine-react-7")},"Show More"," ",n.createElement(y,{className:(0,u.c)("opacity-30","transition-transform duration-200 ease-in-out",{"rotate-180 transform":!t})}))),v=({tags:e,className:t})=>{const[r,a]=n.useState(!1);return n.createElement(n.Fragment,null,n.createElement("div",{className:(0,u.c)(t)},n.createElement("button",{type:"button",onClick:()=>a(!0),className:(0,u.c)("flex","items-center","justify-center","gap-2","rounded-full","px-6 py-3","bg-refine-react-3 dark:bg-refine-react-6","text-refine-react-8 dark:text-white")},n.createElement(f.y,null),n.createElement("div",null,"Filter Tags"))),n.createElement(m.E,{onClose:()=>a(!1),open:r,title:"Filter Tags",variant:"blog"},n.createElement("ul",{className:(0,u.c)("overflow-hidden","flex","flex-col","gap-6"),style:{margin:0,padding:0}},e.map((e=>n.createElement("li",{className:(0,u.c)("flex"),key:e.permalink},n.createElement(l.c,b(p({},e),{label:O(e.label),variant:"inverted",size:"medium"}))))))))},y=e=>n.createElement("svg",{width:16,height:16,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e.className},n.createElement("title",null,"chevron"),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M15 8A7 7 0 1 1 1 8a7 7 0 0 1 14 0Zm1 0A8 8 0 1 1 0 8a8 8 0 0 1 16 0ZM5.854 6.646a.5.5 0 1 0-.708.708l2.5 2.5a.5.5 0 0 0 .708 0l2.5-2.5a.5.5 0 0 0-.708-.708L8 8.793 5.854 6.646Z",clipRule:"evenodd"})),O=e=>{let t=`${e}`;t=e.replace(/-/g," ");return[["html","HTML"],["css","CSS"],["javascript","JavaScript"]].forEach((r=>{t=e.replace(r[0],r[1])})),function(e){for(var t,r="";null!==(t=c.exec(e));){var n=t[0],l=t.index;i.test(n)||a.test(n)&&0!==l&&l+n.length!==e.length||":"===e.charAt(l+n.length)&&!o.test(e.charAt(l+n.length+1))?r+=n:r+=n.replace(s,(function(e){return e.toUpperCase()}))}return r}(e)}}}]); \ No newline at end of file diff --git a/assets/js/a7023ddc.8b2924c8.js b/assets/js/a7023ddc.8b2924c8.js new file mode 100644 index 00000000..1c62f87f --- /dev/null +++ b/assets/js/a7023ddc.8b2924c8.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[9112],{1568:a=>{a.exports=JSON.parse('[{"label":"Array","permalink":"/blog/tags/array","count":1},{"label":"LeetCode","permalink":"/blog/tags/leet-code","count":1},{"label":"Creator","permalink":"/blog/tags/creator","count":1},{"label":"God","permalink":"/blog/tags/god","count":1},{"label":"Brahma","permalink":"/blog/tags/brahma","count":1},{"label":"Universe","permalink":"/blog/tags/universe","count":1},{"label":"Bharat","permalink":"/blog/tags/bharat","count":2},{"label":"Bharatvarsha","permalink":"/blog/tags/bharatvarsha","count":1},{"label":"Jambudweep","permalink":"/blog/tags/jambudweep","count":1},{"label":"Bharatkhand","permalink":"/blog/tags/bharatkhand","count":1},{"label":"Hindustan","permalink":"/blog/tags/hindustan","count":1},{"label":"Aryavarta","permalink":"/blog/tags/aryavarta","count":1},{"label":"Ajnabhavarsh","permalink":"/blog/tags/ajnabhavarsh","count":1},{"label":"Tenjiku","permalink":"/blog/tags/tenjiku","count":1},{"label":"India","permalink":"/blog/tags/india","count":1}]')}}]); \ No newline at end of file diff --git a/assets/js/a7023ddc.8bdd8aea.js b/assets/js/a7023ddc.8bdd8aea.js deleted file mode 100644 index 08ff6e48..00000000 --- a/assets/js/a7023ddc.8bdd8aea.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[9112],{1568:a=>{a.exports=JSON.parse('[{"label":"Creator","permalink":"/blog/tags/creator","count":1},{"label":"God","permalink":"/blog/tags/god","count":1},{"label":"Brahma","permalink":"/blog/tags/brahma","count":1},{"label":"Universe","permalink":"/blog/tags/universe","count":1},{"label":"Bharat","permalink":"/blog/tags/bharat","count":2},{"label":"Bharatvarsha","permalink":"/blog/tags/bharatvarsha","count":1},{"label":"Jambudweep","permalink":"/blog/tags/jambudweep","count":1},{"label":"Bharatkhand","permalink":"/blog/tags/bharatkhand","count":1},{"label":"Hindustan","permalink":"/blog/tags/hindustan","count":1},{"label":"Aryavarta","permalink":"/blog/tags/aryavarta","count":1},{"label":"Ajnabhavarsh","permalink":"/blog/tags/ajnabhavarsh","count":1},{"label":"Tenjiku","permalink":"/blog/tags/tenjiku","count":1},{"label":"India","permalink":"/blog/tags/india","count":1}]')}}]); \ No newline at end of file diff --git a/assets/js/a81f113e.5b9d44cd.js b/assets/js/a81f113e.5b9d44cd.js new file mode 100644 index 00000000..0a99e908 --- /dev/null +++ b/assets/js/a81f113e.5b9d44cd.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[7168],{5788:(e,a,t)=>{t.d(a,{Iu:()=>d,yg:()=>p});var n=t(1504);function i(e,a,t){return a in e?Object.defineProperty(e,a,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[a]=t,e}function r(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function o(e){for(var a=1;a=0||(i[t]=e[t]);return i}(e,a);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}var l=n.createContext({}),h=function(e){var a=n.useContext(l),t=a;return e&&(t="function"==typeof e?e(a):o(o({},a),e)),t},d=function(e){var a=h(e.components);return n.createElement(l.Provider,{value:a},e.children)},u="mdxType",c={inlineCode:"code",wrapper:function(e){var a=e.children;return n.createElement(n.Fragment,{},a)}},g=n.forwardRef((function(e,a){var t=e.components,i=e.mdxType,r=e.originalType,l=e.parentName,d=s(e,["components","mdxType","originalType","parentName"]),u=h(t),g=i,p=u["".concat(l,".").concat(g)]||u[g]||c[g]||r;return t?n.createElement(p,o(o({ref:a},d),{},{components:t})):n.createElement(p,o({ref:a},d))}));function p(e,a){var t=arguments,i=a&&a.mdxType;if("string"==typeof e||i){var r=t.length,o=new Array(r);o[0]=g;var s={};for(var l in a)hasOwnProperty.call(a,l)&&(s[l]=a[l]);s.originalType=e,s[u]="string"==typeof e?e:i,o[1]=s;for(var h=2;h{t.r(a),t.d(a,{assets:()=>d,contentTitle:()=>l,default:()=>p,frontMatter:()=>s,metadata:()=>h,toc:()=>u});t(1504);var n=t(5788);function i(e,a,t){return a in e?Object.defineProperty(e,a,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[a]=t,e}function r(e,a){return a=null!=a?a:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):function(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})),e}function o(e,a){if(null==e)return{};var t,n,i=function(e,a){if(null==e)return{};var t,n,i={},r=Object.keys(e);for(n=0;n=0||(i[t]=e[t]);return i}(e,a);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}const s={title:"The History of Bharatvarsha",description:"A Journey Through the History of Bharatvarsha from Satyug",slug:"bharatvarsha",authors:"AkashSingh3031",tags:["Bharatvarsha","Jambudweep","Bharatkhand","Bharat","Hindustan","Aryavarta","Ajnabhavarsh","Tenjiku","India"],is_featured:!1,image:"https://sc0.blr1.digitaloceanspaces.com/large/805990-article-dhyrizbzrt-1459438492.jpeg",hide_table_of_contents:!1},l=void 0,h={permalink:"/blog/bharatvarsha",source:"@site/blog/2024-02-01-history-of-bharatvarsha.md",title:"The History of Bharatvarsha",description:"A Journey Through the History of Bharatvarsha from Satyug",date:"2024-02-01T00:00:00.000Z",formattedDate:"February 1, 2024",tags:[{label:"Bharatvarsha",permalink:"/blog/tags/bharatvarsha"},{label:"Jambudweep",permalink:"/blog/tags/jambudweep"},{label:"Bharatkhand",permalink:"/blog/tags/bharatkhand"},{label:"Bharat",permalink:"/blog/tags/bharat"},{label:"Hindustan",permalink:"/blog/tags/hindustan"},{label:"Aryavarta",permalink:"/blog/tags/aryavarta"},{label:"Ajnabhavarsh",permalink:"/blog/tags/ajnabhavarsh"},{label:"Tenjiku",permalink:"/blog/tags/tenjiku"},{label:"India",permalink:"/blog/tags/india"}],readingTime:3.3,hasTruncateMarker:!1,authors:[{name:"Akash Singh",title:"Founder, PrepVerse",github:"https://github.com/AkashSingh3031",linkedin:"https://www.linkedin.com/in/akashsingh3031",twitter:"https://x.com/akashsingh3031",imageURL:"https://github.com/AkashSingh3031.png",key:"AkashSingh3031"}],frontMatter:{title:"The History of Bharatvarsha",description:"A Journey Through the History of Bharatvarsha from Satyug",slug:"bharatvarsha",authors:"AkashSingh3031",tags:["Bharatvarsha","Jambudweep","Bharatkhand","Bharat","Hindustan","Aryavarta","Ajnabhavarsh","Tenjiku","India"],is_featured:!1,image:"https://sc0.blr1.digitaloceanspaces.com/large/805990-article-dhyrizbzrt-1459438492.jpeg",hide_table_of_contents:!1},prevItem:{title:"The Complete Life Cycle of Creator God Brahma",permalink:"/blog/god-brahma"},relatedPosts:[{title:"The Complete Life Cycle of Creator God Brahma",description:"Exploring the Complete Life Cycle of Brahma & the Age of the Universe According to Vedas",permalink:"/blog/god-brahma",formattedDate:"February 18, 2024",authors:[{name:"Akash Singh",title:"Founder, PrepVerse",github:"https://github.com/AkashSingh3031",linkedin:"https://www.linkedin.com/in/akashsingh3031",twitter:"https://x.com/akashsingh3031",imageURL:"https://github.com/AkashSingh3031.png",key:"AkashSingh3031"}],readingTime:8.63,date:"2024-02-18T00:00:00.000Z"}],authorPosts:[{title:"The Complete Life Cycle of Creator God Brahma",description:"Exploring the Complete Life Cycle of Brahma & the Age of the Universe According to Vedas",permalink:"/blog/god-brahma",formattedDate:"February 18, 2024",authors:[{name:"Akash Singh",title:"Founder, PrepVerse",github:"https://github.com/AkashSingh3031",linkedin:"https://www.linkedin.com/in/akashsingh3031",twitter:"https://x.com/akashsingh3031",imageURL:"https://github.com/AkashSingh3031.png",key:"AkashSingh3031"}],readingTime:8.63,date:"2024-02-18T00:00:00.000Z"},{title:"Two Sum Explained",description:"DSA problem two sum explained",permalink:"/blog/two-sum",formattedDate:"August 7, 2024",authors:[{name:"Akash Singh",title:"Founder, PrepVerse",github:"https://github.com/AkashSingh3031",linkedin:"https://www.linkedin.com/in/akashsingh3031",twitter:"https://x.com/akashsingh3031",imageURL:"https://github.com/AkashSingh3031.png",key:"AkashSingh3031"}],readingTime:2.945,date:"2024-08-07T00:00:00.000Z"}]},d={authorsImageUrls:[void 0]},u=[{value:"Introduction:",id:"introduction",level:2},{value:"Satyug: The Age of Truth and Virtue",id:"satyug-the-age-of-truth-and-virtue",level:2},{value:"Treta Yuga: The Age of Sacred Epics",id:"treta-yuga-the-age-of-sacred-epics",level:2},{value:"Dvapara Yuga: The Age of Epic Battles and Divine Incarnations",id:"dvapara-yuga-the-age-of-epic-battles-and-divine-incarnations",level:2},{value:"Kali Yuga: The Age of Darkness and Spiritual Decline",id:"kali-yuga-the-age-of-darkness-and-spiritual-decline",level:2},{value:"Ancient Civilizations and Empires",id:"ancient-civilizations-and-empires",level:2},{value:"Medieval Dynasties and Cultural Flourishing",id:"medieval-dynasties-and-cultural-flourishing",level:2},{value:"Colonial Rule and Independence Struggle",id:"colonial-rule-and-independence-struggle",level:2},{value:"Modern India and Beyond",id:"modern-india-and-beyond",level:2},{value:"Conclusion:",id:"conclusion",level:3}],c={toc:u},g="wrapper";function p(e){var{components:a}=e,t=o(e,["components"]);return(0,n.yg)(g,r(function(e){for(var a=1;a{t.d(a,{Iu:()=>d,yg:()=>p});var n=t(1504);function r(e,a,t){return a in e?Object.defineProperty(e,a,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[a]=t,e}function i(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function o(e){for(var a=1;a=0||(r[t]=e[t]);return r}(e,a);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var l=n.createContext({}),h=function(e){var a=n.useContext(l),t=a;return e&&(t="function"==typeof e?e(a):o(o({},a),e)),t},d=function(e){var a=h(e.components);return n.createElement(l.Provider,{value:a},e.children)},u="mdxType",c={inlineCode:"code",wrapper:function(e){var a=e.children;return n.createElement(n.Fragment,{},a)}},g=n.forwardRef((function(e,a){var t=e.components,r=e.mdxType,i=e.originalType,l=e.parentName,d=s(e,["components","mdxType","originalType","parentName"]),u=h(t),g=r,p=u["".concat(l,".").concat(g)]||u[g]||c[g]||i;return t?n.createElement(p,o(o({ref:a},d),{},{components:t})):n.createElement(p,o({ref:a},d))}));function p(e,a){var t=arguments,r=a&&a.mdxType;if("string"==typeof e||r){var i=t.length,o=new Array(i);o[0]=g;var s={};for(var l in a)hasOwnProperty.call(a,l)&&(s[l]=a[l]);s.originalType=e,s[u]="string"==typeof e?e:r,o[1]=s;for(var h=2;h{t.r(a),t.d(a,{assets:()=>d,contentTitle:()=>l,default:()=>p,frontMatter:()=>s,metadata:()=>h,toc:()=>u});t(1504);var n=t(5788);function r(e,a,t){return a in e?Object.defineProperty(e,a,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[a]=t,e}function i(e,a){return a=null!=a?a:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):function(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})),e}function o(e,a){if(null==e)return{};var t,n,r=function(e,a){if(null==e)return{};var t,n,r={},i=Object.keys(e);for(n=0;n=0||(r[t]=e[t]);return r}(e,a);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}const s={title:"The History of Bharatvarsha",description:"A Journey Through the History of Bharatvarsha from Satyug",slug:"bharatvarsha",authors:"AkashSingh3031",tags:["Bharatvarsha","Jambudweep","Bharatkhand","Bharat","Hindustan","Aryavarta","Ajnabhavarsh","Tenjiku","India"],is_featured:!1,image:"https://sc0.blr1.digitaloceanspaces.com/large/805990-article-dhyrizbzrt-1459438492.jpeg",hide_table_of_contents:!1},l=void 0,h={permalink:"/blog/bharatvarsha",source:"@site/blog/2024-02-01-history-of-bharatvarsha.md",title:"The History of Bharatvarsha",description:"A Journey Through the History of Bharatvarsha from Satyug",date:"2024-02-01T00:00:00.000Z",formattedDate:"February 1, 2024",tags:[{label:"Bharatvarsha",permalink:"/blog/tags/bharatvarsha"},{label:"Jambudweep",permalink:"/blog/tags/jambudweep"},{label:"Bharatkhand",permalink:"/blog/tags/bharatkhand"},{label:"Bharat",permalink:"/blog/tags/bharat"},{label:"Hindustan",permalink:"/blog/tags/hindustan"},{label:"Aryavarta",permalink:"/blog/tags/aryavarta"},{label:"Ajnabhavarsh",permalink:"/blog/tags/ajnabhavarsh"},{label:"Tenjiku",permalink:"/blog/tags/tenjiku"},{label:"India",permalink:"/blog/tags/india"}],readingTime:3.3,hasTruncateMarker:!1,authors:[{name:"Akash Singh",title:"Founder, PrepVerse",github:"https://github.com/AkashSingh3031",linkedin:"https://www.linkedin.com/in/akashsingh3031",twitter:"https://x.com/akashsingh3031",imageURL:"https://github.com/AkashSingh3031.png",key:"AkashSingh3031"}],frontMatter:{title:"The History of Bharatvarsha",description:"A Journey Through the History of Bharatvarsha from Satyug",slug:"bharatvarsha",authors:"AkashSingh3031",tags:["Bharatvarsha","Jambudweep","Bharatkhand","Bharat","Hindustan","Aryavarta","Ajnabhavarsh","Tenjiku","India"],is_featured:!1,image:"https://sc0.blr1.digitaloceanspaces.com/large/805990-article-dhyrizbzrt-1459438492.jpeg",hide_table_of_contents:!1},prevItem:{title:"The Complete Life Cycle of Creator God Brahma",permalink:"/blog/god-brahma"},relatedPosts:[{title:"The Complete Life Cycle of Creator God Brahma",description:"Exploring the Complete Life Cycle of Brahma & the Age of the Universe According to Vedas",permalink:"/blog/god-brahma",formattedDate:"February 18, 2024",authors:[{name:"Akash Singh",title:"Founder, PrepVerse",github:"https://github.com/AkashSingh3031",linkedin:"https://www.linkedin.com/in/akashsingh3031",twitter:"https://x.com/akashsingh3031",imageURL:"https://github.com/AkashSingh3031.png",key:"AkashSingh3031"}],readingTime:8.63,date:"2024-02-18T00:00:00.000Z"}],authorPosts:[{title:"The Complete Life Cycle of Creator God Brahma",description:"Exploring the Complete Life Cycle of Brahma & the Age of the Universe According to Vedas",permalink:"/blog/god-brahma",formattedDate:"February 18, 2024",authors:[{name:"Akash Singh",title:"Founder, PrepVerse",github:"https://github.com/AkashSingh3031",linkedin:"https://www.linkedin.com/in/akashsingh3031",twitter:"https://x.com/akashsingh3031",imageURL:"https://github.com/AkashSingh3031.png",key:"AkashSingh3031"}],readingTime:8.63,date:"2024-02-18T00:00:00.000Z"}]},d={authorsImageUrls:[void 0]},u=[{value:"Introduction:",id:"introduction",level:2},{value:"Satyug: The Age of Truth and Virtue",id:"satyug-the-age-of-truth-and-virtue",level:2},{value:"Treta Yuga: The Age of Sacred Epics",id:"treta-yuga-the-age-of-sacred-epics",level:2},{value:"Dvapara Yuga: The Age of Epic Battles and Divine Incarnations",id:"dvapara-yuga-the-age-of-epic-battles-and-divine-incarnations",level:2},{value:"Kali Yuga: The Age of Darkness and Spiritual Decline",id:"kali-yuga-the-age-of-darkness-and-spiritual-decline",level:2},{value:"Ancient Civilizations and Empires",id:"ancient-civilizations-and-empires",level:2},{value:"Medieval Dynasties and Cultural Flourishing",id:"medieval-dynasties-and-cultural-flourishing",level:2},{value:"Colonial Rule and Independence Struggle",id:"colonial-rule-and-independence-struggle",level:2},{value:"Modern India and Beyond",id:"modern-india-and-beyond",level:2},{value:"Conclusion:",id:"conclusion",level:3}],c={toc:u},g="wrapper";function p(e){var{components:a}=e,t=o(e,["components"]);return(0,n.yg)(g,i(function(e){for(var a=1;a{e.exports=JSON.parse('{"permalink":"/blog","page":1,"postsPerPage":12,"totalPages":1,"totalCount":1,"blogDescription":"A Docusaurus powered blog!","blogTitle":"Blog"}')}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[6292],{6180:e=>{e.exports=JSON.parse('{"permalink":"/blog","page":1,"postsPerPage":12,"totalPages":1,"totalCount":2,"blogDescription":"A Docusaurus powered blog!","blogTitle":"Blog"}')}}]); \ No newline at end of file diff --git a/assets/js/b48ac6e6.9e7e9655.js b/assets/js/b48ac6e6.007cbcce.js similarity index 81% rename from assets/js/b48ac6e6.9e7e9655.js rename to assets/js/b48ac6e6.007cbcce.js index dddfe75c..679b87d5 100644 --- a/assets/js/b48ac6e6.9e7e9655.js +++ b/assets/js/b48ac6e6.007cbcce.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[1640],{5904:(e,t,r)=>{r.d(t,{I7:()=>a,kz:()=>o,aI:()=>f,sL:()=>m,uU:()=>Ye,UZ:()=>Ue,sH:()=>Xe,W4:()=>Je,g3:()=>qe,Ou:()=>Vt,M7:()=>p,gv:()=>$e,U7:()=>St,K6:()=>Et,sT:()=>h,Dp:()=>v,m4:()=>x,Yv:()=>C,UJ:()=>A,QR:()=>rt,y:()=>z,AD:()=>lt,WA:()=>S,ai:()=>Gt,m0:()=>B,Gg:()=>Z,kB:()=>R,mK:()=>F,em:()=>X,E5:()=>Dt,sP:()=>Ft,_$:()=>U,gF:()=>Q,Iv:()=>$,Qh:()=>te,yK:()=>st,sW:()=>ut,Uf:()=>le,cF:()=>dt,aA:()=>ce,mO:()=>se,I1:()=>ue,_A:()=>be,CS:()=>ot,U$:()=>Ot,yw:()=>gt,wA:()=>Bt,yM:()=>pe,Ep:()=>Oe,qy:()=>jt,sN:()=>ke,Cu:()=>ye,qQ:()=>Ee,oe:()=>Te,Oq:()=>He,yS:()=>Ne,Og:()=>Ze,kn:()=>Re,od:()=>zt});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const f=e=>{var{withBrandColor:t=!0}=e,r=s(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const p=e=>{var{withBrandColor:t=!0}=e,r=d(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const x=e=>{var{className:t}=e,r=j(e,["className"]);return n.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const C=e=>{var{className:t}=e,r=P(e,["className"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const Z=e=>{var{withBrandColor:t=!0}=e,r=D(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",T(function(e){for(var t=1;tn.createElement("svg",W(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",J(function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const $=e=>{var{withBrandColor:t=!0}=e,r=_(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const le=e=>{var{withBrandColor:t=!0}=e,r=ne(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",ie(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const Oe=e=>{var{className:t}=e,r=he(e,["className"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",we(function(e){for(var t=1;tn.createElement("svg",xe(function(e){for(var t=1;tn.createElement("svg",Ce(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",tt(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",ct(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",bt(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const jt=e=>{var{className:t}=e,r=yt(e,["className"]);return n.createElement("svg",wt(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{r.r(t),r.d(t,{default:()=>P});var n=r(1504),l=r(6424),a=r(4971),c=r(9184),o=r(8480),i=r(6968),s=r(3120),f=r(7132),u=r(5904);const m=()=>n.createElement("div",{className:(0,a.c)("flex flex-wrap","w-full","rounded-2xl landing-sm:rounded-[32px]")});var b=r(1316),d=r(416);const p={any:0,all:1};function g(e,t){var r=void 0===t?{}:t,l=r.root,a=r.margin,c=r.amount,o=r.once,i=void 0!==o&&o,s=(0,b.o5)((0,n.useState)(!1),2),f=s[0],u=s[1];return(0,n.useEffect)((function(){var t;if(!(!e.current||i&&f)){var r={root:null!==(t=null==l?void 0:l.current)&&void 0!==t?t:void 0,margin:a,amount:"some"===c?"any":c};return function(e,t,{root:r,margin:n,amount:l="any"}={}){if("undefined"==typeof IntersectionObserver)return()=>{};const a=(0,d.a)(e),c=new WeakMap,o=new IntersectionObserver((e=>{e.forEach((e=>{const r=c.get(e.target);if(e.isIntersecting!==Boolean(r))if(e.isIntersecting){const r=t(e);"function"==typeof r?c.set(e.target,r):o.unobserve(e.target)}else r&&(r(e),c.delete(e.target))}))}),{root:r,rootMargin:n,threshold:"number"==typeof l?l:p[l]});return a.forEach((e=>o.observe(e))),()=>o.disconnect()}(e.current,(function(){return u(!0),i?void 0:function(){return u(!1)}}),r)}}),[l,e,a,i]),f}function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function O(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},a=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const v=()=>n.createElement("div",{className:(0,a.c)("flex flex-wrap","border dark:border-gray-700 border-gray-200","w-full","rounded-2xl landing-sm:rounded-[32px]","gap-2 landing-sm:gap-4","p-2 landing-sm:p-4","relative","group/showcase","landing-lg:overflow-hidden","shadow-md","border-2 border-gray-500 border-opacity-25")},n.createElement("div",{className:(0,a.c)("landing-packages-mask","overflow-hidden")},n.createElement(w,{animDirection:"right"},[...j,...j].map((({icon:e,label:t,tooltip:r},l)=>n.createElement(y,{key:l,label:t,tooltip:r,icon:n.createElement(e,{width:"24",height:"24"})})))),n.createElement("br",null),n.createElement(w,{animDirection:"left"},[...x,...x].map((({icon:e,label:t,tooltip:r},l)=>n.createElement(y,{key:l,label:t,tooltip:r,icon:n.createElement(e,{width:"24",height:"24"})})))))),w=e=>{var{children:t,className:r,animDirection:l}=e,c=O(e,["children","className","animDirection"]);const o=(0,n.useRef)(null),i=g(o);return n.createElement("div",{ref:o,className:(0,a.c)("relative","flex","items-center","left"===l?"justify-start":"justify-end")},n.createElement("div",function(e){for(var t=1;t{const{tooltip:t,icon:r,label:l}=e;return n.createElement("div",{className:(0,a.c)("group","relative","z-10","flex","items-center","justify-center","gap-3","pl-4 pt-4 pb-4 pr-6","dark:bg-gray-900 bg-gray-200","rounded-full","cursor-pointer")},n.createElement("div",null,r),n.createElement("div",{className:(0,a.c)("text-sm","font-medium","dark:bg-landing-packages-text-dark bg-landing-packages-text","bg-clip-text","text-transparent","whitespace-nowrap")},l),t&&n.createElement("div",{className:(0,a.c)("absolute","z-20","top-[-48px]","scale-0","group-hover:scale-100","transition-transform","origin-top")},n.createElement("div",{className:(0,a.c)("relative","text-sm","dark:bg-gray-0 bg-gray-900","dark:text-gray-700 text-gray-300","rounded-full","px-6","py-3","whitespace-nowrap")},t),n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:40,height:15,fill:"none",className:(0,a.c)("absolute","scale-0","-bottom-2","left-1/2","-translate-x-1/2","group-hover:scale-100","transition-transform","origin-bottom","dark:text-gray-0 text-gray-900")},n.createElement("path",{fill:"currentColor",d:"M17.73 13.664C18.238 14.5 19.089 15 20 15c.912 0 1.763-.501 2.27-1.336l3.025-4.992C26.306 7.002 28.01 7 29.833 7H40V0H0v7h10.167c1.823 0 3.527.003 4.538 1.672l3.026 4.992Z"}))))},j=[{icon:e=>n.createElement(u.QR,e),label:"Array",tooltip:null},{icon:e=>n.createElement(u.Gg,e),label:"Linked List",tooltip:null},{icon:e=>n.createElement(u.Gg,e),label:"Stack",tooltip:null},{icon:e=>n.createElement(u.CS,e),label:"Queue",tooltip:null},{icon:e=>n.createElement(u.Gg,e),label:"Tree",tooltip:null},{icon:e=>n.createElement(u.g3,e),label:"Graph",tooltip:null},{icon:e=>n.createElement(u.Gg,e),label:"Time Complexity",tooltip:null},{icon:e=>n.createElement(u.Gg,e),label:"Space Complexity",tooltip:null}],x=[{icon:e=>n.createElement(u.Gg,e),label:"Time Complexity",tooltip:null},{icon:e=>n.createElement(u.Gg,e),label:"Space Complexity",tooltip:null},{icon:e=>n.createElement(u.Gg,e),label:"Searching",tooltip:null},{icon:e=>n.createElement(u.Gg,e),label:"Sorting",tooltip:null},{icon:e=>n.createElement(u.Gg,e),label:"Mathematical Algorithms",tooltip:null},{icon:e=>n.createElement(u.Gg,e),label:"Bitwise Algorithms",tooltip:null},{icon:e=>n.createElement(u.Gg,e),label:"Dynamic Programming",tooltip:null},{icon:e=>n.createElement(u.Gg,e),label:"Recursion",tooltip:null},{icon:e=>n.createElement(u.Gg,e),label:"Backtracking Algorithm",tooltip:null},{icon:e=>n.createElement(u.Gg,e),label:"Greedy Algorithms",tooltip:null}],E=({data:e})=>n.createElement(o.C,{description:"Build React-based internal tools, admin panels, dashboards & B2B apps with unmatched flexibility."},n.createElement("div",null,n.createElement(i.m,null),n.createElement("div",{className:(0,a.c)("w-full max-w-[592px] landing-sm:max-w-[656px] landing-md:max-w-[896px] landing-lg:max-w-[1200px]","px-4 landing-sm:px-0","mx-auto","flex flex-col","not-prose","mt-8 landing-lg:mt-10","px-6 landing-sm:px-0","pb-8 landing-sm:pb-12 landing-md:pb-16 landing-lg:pb-20")},n.createElement("div",null,n.createElement(c.c,{to:"/CodeVerse",className:(0,a.c)("text-base","font-semibold","dark:text-gray-400 text-gray-500","hover:dark:text-gray-400 hover:text-gray-500","hover:no-underline","flex","items-center","gap-2","px-0 py-0","landing-md:px-2 landing-md:py-3")},n.createElement(f.Y,null),"Back to CodeVerse"),"dsa"===e.slug&&n.createElement(v,null),"cp"===e.slug&&n.createElement(v,null),n.createElement("h1",{className:(0,a.c)("dark:text-gray-0 text-gray-900","text-4xl landing-sm:text-[56px] landing-sm:leading-[72px]","font-bold","px-0 landing-sm:px-8 landing-md:px-10","mt-6")},e.title)),n.createElement("div",{className:(0,a.c)("flex","mt-8","rounded-lg landing-md:rounded-xl landing-lg:rounded-3xl","-mx-4 landing-sm:-mx-0","landing-sm:px-4")},"dsa"===e.slug&&n.createElement(m,null),"cp"===e.slug&&n.createElement(m,null)))),n.createElement(s.E,null)),P=e=>{const{content:t}=e;return n.createElement(n.Fragment,null,n.createElement(l.c,{title:`${t.title} CodeVerse | PrepVerse`},n.createElement("html",{"data-page":"templates_prepverse"}),n.createElement("title",null,t.title),n.createElement("meta",{property:"og:title",content:t.title}),n.createElement("meta",{name:"description",content:`${t.title} CodeVerse | PrepVerse`}),n.createElement("meta",{property:"og:description",content:`${t.description} CodeVerse | PrepVerse`}),n.createElement("meta",{"data-rh":"true",property:"og:image",content:t.images[0]}),n.createElement("meta",{"data-rh":"true",name:"twitter:image",content:t.images[0]})),n.createElement(E,{data:t}))}},7132:(e,t,r)=>{r.d(t,{Y:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{m:()=>I});var n=r(9184),l=r(4971),a=r(3200),c=r(344),o=r(6076),i=r(1504),s=r(1980),f=r(8804),u=r(6098);const m=[{isPopover:!0,label:"Docs",items:[{label:"Foundation Docs",description:"Learn C++, Python & Java",link:"/docs",icon:u.C3},{label:"DSA Docs",description:"Learning DSA in C++, Python & Java",link:"/docs/1.DS.Algo",icon:u.uI}]},{isPopover:!0,label:"CodePoint",items:[{label:"Expert Sheet Solutions",description:"Most popular coding questions solutions asked during SDE interviews.",link:"https://prepverse.github.io/CodePoint/preface",icon:u.C3},{label:"Coding Ninjas Series",description:"Coding Ninjas Studio Guided Path Solutions",link:"https://prepverse.github.io/CodePoint/learning_resources/CN_Series/preface",icon:u.oh},{label:"LeetVerse",description:"Leetcode problem solutions with full probelm statements in C++, Python & Java",link:"https://prepverse.github.io/LeetVerse",icon:u.Ew}]},{isPopover:!0,label:"About",items:[{label:"About Me",description:"My information.",link:"/AkashSingh3031",icon:u.kv},{label:"Project Showcase",description:"PrepVerse open-source projects",link:"/showcase",icon:u.w9},{label:"My Portfolio",description:"All info about me",link:"https://prepverse.github.io/portfolio",icon:u.BE}]},{isPopover:!1,label:"Blog",href:"/blog",icon:u.s1},{isPopover:!1,label:"PrepVerse Community",href:"/prepverse-community",icon:u.vn}],b=({item:e,variant:t="landing"})=>{const r=e.icon;return i.createElement(n.c,{to:e.link,className:"no-underline"},i.createElement("div",{className:(0,l.c)("flex items-center","p-4","transition duration-150 ease-in-out","rounded-lg","hover:bg-gray-100","landing"===t&&"dark:hover:bg-gray-800","blog"===t&&"dark:hover:bg-refine-react-8")},i.createElement("div",{className:"shrink-0"},i.createElement(r,null)),i.createElement("div",{className:"ml-2"},i.createElement("div",{className:(0,l.c)("landing"===t&&"text-gray-900 dark:text-white","blog"===t&&"text-refine-react-8 dark:text-refine-react-3","font-semibold")},e.label),i.createElement("div",{className:(0,l.c)("landing"===t&&"text-gray-500 dark:text-gray-400","blog"===t&&"text-refine-react-5 dark:text-refine-react-4","text-xs")},e.description))))},d=({item:e})=>{const[t,r]=(0,i.useState)(null);(0,i.useEffect)((()=>(r(localStorage.getItem("theme")||null),window.addEventListener("storage",a,!1),()=>{window.removeEventListener("storage",a,!1)})),[]);const a=()=>{r(localStorage.getItem("theme")||null)};let c=e.icon;return"Cloud"===e.label&&(c="light"===t?u.oz:e.icon),i.createElement(n.c,{key:e.label,to:e.href,className:(0,l.c)("inline-flex items-center gap-2","text-sm leading-6 font-normal text-gray-900 dark:text-gray-300","transition-colors duration-150 ease-in-out","no-underline","Hackathon"===e.label?["py-1","px-2","rounded-lg","bg-hackathon-button-bg","animate-hackathon-button-bg","bg-refine-bg","text-gray-0","bg-[length:200%_100%]","text-[14px]","hover:text-gray-0"]:["hover:text-gray-900 dark:hover:text-white"])},e.icon&&i.createElement(c,null),e.label)};var p=r(640),g=r(5224),h=r(2424),O=r(4577);const v=({item:e,variant:t="landing",children:r})=>{const[n,a]=(0,i.useState)(!1),c=i.useRef(null),o=i.useRef(null),s=(0,p.IT)();return i.useEffect((()=>{a(!1)}),[s]),i.createElement(g._,{id:`popover-${e.label}`,key:e.label,className:(0,l.c)("relative","inline-flex items-center"),onMouseEnter:()=>{o.current=setTimeout((()=>a(!0)),210),clearTimeout(c.current)},onMouseLeave:()=>{c.current=setTimeout((()=>a(!1)),210),clearTimeout(o.current)}},(()=>i.createElement(i.Fragment,null,i.createElement(g._.Button,{className:(0,l.c)("inline-flex items-center","text-sm leading-6","font-normal")},i.createElement("span",{className:(0,l.c)("landing"===t&&"text-gray-900 dark:text-gray-300","blog"===t&&"text-refine-react-8 dark:text-refine-react-3","transition-colors duration-150 ease-in-out inline-block")},e.label),i.createElement(O.w,{"aria-hidden":"true",className:(0,l.c)("transition duration-150 ease-out","-mr-2","landing"===t&&"text-gray-500 dark:text-gray-400","blog"===t&&"text-refine-react-4",n?"translate-y-0.5":"")})),i.createElement(h.O,{as:i.Fragment,enter:"transition ease-in duration-150",enterFrom:"opacity-0 translate-y-3",enterTo:"opacity-100 translate-y-0",leave:"transition ease-out duration-150",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 translate-y-3",show:n},i.createElement(g._.Panel,{className:(0,l.c)("absolute","z-50","top-12",{"-left-32 center-point":"Docs"===e.label||"About"===e.label,"left-point":"CodePoint"===e.label})},i.createElement(u.WR,{id:e.label,variant:t,className:(0,l.c)("absolute","top-[-9px]",{"left-1/2":"CodePoint"!==e.label,"left-12":"CodePoint"===e.label}),style:{transform:"translateX(-50%)"}}),i.createElement("div",{className:(0,l.c)("overflow-hidden","rounded-xl","landing"===t&&"border dark:border-gray-700 border-gray-200","landing"===t&&"dark:shadow-menu-dark shadow-menu-light","blog"===t&&"border border-refine-react-3 dark:border-refine-react-6","blog"===t&&"dark:shadow-menu-blog-dark shadow-menu-blog-light")},r))))))},w=({variant:e="landing"})=>i.createElement(i.Fragment,null,m.map((t=>t.isPopover?i.createElement(v,{key:`navbar-${t.label}`,item:t,variant:e},"CodePoint"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,l.c)("grid grid-cols-2 gap-4","p-4","w-[672px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(b,{key:t.label,item:t,variant:e})))),i.createElement(n.c,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,l.c)("border-t","blog"===e&&"border-refine-react-3 dark:border-refine-react-6","landing"===e&&"border-gray-300 dark:border-gray-700","landing"===e&&"bg-gray-100 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-7","flex items-center","py-4 px-7")},i.createElement(u._2,null),i.createElement("div",{className:(0,l.c)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))),"About"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,l.c)("grid gap-4","p-4","w-[336px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(b,{key:t.label,item:t,variant:e})))),i.createElement("div",{className:(0,l.c)("border-t","blog"===e&&"border-refine-react-3 dark:border-refine-react-6","landing"===e&&"border-gray-300 dark:border-gray-700","landing"===e&&"bg-gray-100 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-7","flex justify-between items-center","py-4 px-7")},i.createElement("div",{className:(0,l.c)("landing"===e&&"text-gray-600 dark:text-gray-400 ","blog"===e&&"text-refine-react-5 dark:text-refine-react-4")},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.c,{to:"https://github.com/AkashSingh3031",className:(0,l.c)("no-underline","hover:text-inherit")},i.createElement(u.A9,{className:"dark:text-gray-400 text-gray-500"})),i.createElement(n.c,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(u.Ed,null)),i.createElement(n.c,{to:"https://instagram.com/akash.singh3031"},i.createElement(u.Yf,null)),i.createElement(n.c,{to:"https://x.com/akashsingh3031"},i.createElement(u.CC,null))))),"Docs"===t.label&&i.createElement("div",{className:(0,l.c)("grid gap-4","p-4","w-[336px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(b,{key:t.label,item:t,variant:e}))))):i.createElement(d,{key:`navbar-${t.label}`,item:t,variant:e}))));var y=r(2276),j=r(7008),x=r(9072),E=r(2268);function P(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const C=e=>i.createElement("svg",function(e){for(var t=1;ti.createElement("svg",function(e){for(var t=1;t{const[o,s]=(0,i.useState)(null),f=null!=r?r:n.c,m=void 0!==a&&void 0===t;return(0,i.useEffect)((()=>{const e=document.querySelector("html").getAttribute("data-theme");s(e)}),[]),i.createElement(f,function(e){for(var t=1;t{const r=(0,p.IT)();return i.useEffect((()=>{t(!1)}),[r]),i.createElement(N,{isModalOpen:e,setIsModalOpen:t},i.createElement(D,{className:(0,l.c)("hidden landing-sm:block","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}),i.createElement(Z,{className:(0,l.c)("block landing-sm:hidden","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}))},N=({isModalOpen:e,setIsModalOpen:t,children:r})=>i.createElement(h.O,{appear:!0,show:e,as:i.Fragment},i.createElement(y.C,{as:"div",className:"relative z-10",onClose:()=>t(!1)},i.createElement(h.O.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},i.createElement("div",{className:(0,l.c)("fixed inset-0","bg-gray-0 dark:bg-gray-900","flex","flex-col")},i.createElement(L.Q,null),i.createElement("div",{className:(0,l.c)("flex items-center justify-between","p-4","landing-sm:px-8")},i.createElement(f.m,{className:"dark:text-gray-0 text-gray-900"}),i.createElement("button",{type:"button",className:(0,l.c)("rounded-lg","hover:brightness-105","active:scale-90","transition-transform duration-75 ease-in-out")},i.createElement(E.O,{className:"text-gray-900 dark:text-white",onClick:()=>t(!1)}))),i.createElement(h.O.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-75",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95"},i.createElement("div",{className:(0,l.c)("flex-1","overflow-y-auto","px-4","pb-4")},r)))))),D=e=>i.createElement("div",{className:(0,l.c)(e.className)},m.map(((e,t)=>{const r="icon"in e&&e.icon;return i.createElement("div",{key:t,className:(0,l.c)("not-prose","p-4","border-t dark:border-gray-700 border-gray-200")},i.createElement(n.c,{to:"href"in e?e.href:void 0,className:(0,l.c)("appearance-none","block","no-underline","dark:text-gray-0 text-gray-900","font-bold")},i.createElement("div",{className:(0,l.c)("flex items-center gap-2")},i.createElement("div",null,e.label),r&&i.createElement(r,null))),"items"in e&&i.createElement("div",{className:(0,l.c)("mt-2","grid grid-cols-2 min-[800px]:grid-cols-3","gap-x-8 gap-y-4")},e.items.map((e=>i.createElement(b,{key:e.label,item:e})))))})),i.createElement(V,null),i.createElement(R,{id:"tablet"}),i.createElement(G,{id:"tablet"})),Z=e=>i.createElement("div",{className:(0,l.c)(e.className)},i.createElement("div",{className:"flex-grow"},m.map((e=>e.isPopover?i.createElement(j.C,{key:`modal-${e.label}`},(({open:t})=>i.createElement(i.Fragment,null,i.createElement(z,{component:j.C.Button,label:e.label,open:t}),i.createElement(j.C.Panel,{className:(0,l.c)(t&&"pb-4",t&&"border-b border-gray-200 dark:border-gray-700")},e.items.map((e=>i.createElement(b,{key:e.label,item:e}))))))):i.createElement(z,{key:`modal-${e.label}`,label:e.label,href:e.href,icon:e.icon})))),i.createElement(V,null),i.createElement(R,{id:"phone"}),i.createElement(G,{id:"phone"})),G=e=>{var t;return i.createElement(n.c,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,l.c)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex items-center","p-4")},i.createElement(u._2,{id:(null===(t=e)||void 0===t?void 0:t.id)||""}),i.createElement("div",{className:(0,l.c)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))},R=e=>{var t;return i.createElement("div",{className:(0,l.c)("bg-white dark:bg-gray-700 header-sm:bg-inherit","flex justify-between items-center","header-sm:flex-col header-sm:gap-4","header-sm:border-b border-gray-200 dark:border-gray-600","py-3 px-4")},i.createElement("p",{className:"text-gray-500 dark:text-gray-300 font-semibold"},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.c,{to:"https://github.com/AkashSingh3031"},i.createElement(u.A9,{className:"h-10 w-10"})),i.createElement(n.c,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(u.Ed,{className:"h-10 w-10"})),i.createElement(n.c,{to:"https://instagram.com/akash.singh3031"},i.createElement(u.Yf,{className:"h-10 w-10",id:(null===(t=e)||void 0===t?void 0:t.id)||""})),i.createElement(n.c,{to:"https://x.com/akashsingh3031"},i.createElement(u.CC,{className:"h-10 w-10"}))))},V=()=>{const{colorMode:e,setColorMode:t}=(0,x.U)(),r=()=>{t("dark"===e?"light":"dark")},n="dark"===e,a="light"===e;return i.createElement("div",{className:(0,l.c)("not-prose","p-4","flex items-center")},i.createElement("div",{className:(0,l.c)("text-sm","mr-10","dark:text-gray-400 text-gray-600")},"Apperance"),i.createElement("button",{onClick:r,className:(0,l.c)("mr-4","rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200","text-gray-500",a&&"bg-gray-50")},i.createElement(M.G,null),"Light"),i.createElement("button",{onClick:r,className:(0,l.c)("rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200",n?"text-gray-400":"text-gray-500",n&&"bg-gray-700")},i.createElement(S.g,null),"Dark"))};var T=r(9253),F=r(2700),Y=r(5792),W=r(6936);const X=()=>{const{loading:e,githubStarCountText:t}=(0,F.wx)();return i.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank",rel:"noreferrer",className:(0,l.c)("flex gap-2 items-center","font-normal","text-sm leading-6","text-gray-500 dark:text-gray-400","hover:text-gray-400 dark:hover:text-gray-300","hover:no-underline","transition-colors","duration-200","ease-in-out")},i.createElement(Y.A,{className:(0,l.c)("w-5 h-5")}),i.createElement("div",{className:(0,l.c)("flex items-center","w-10 h-6")},e?i.createElement(W.c,{className:(0,l.c)("w-5 h-5"),wrapperProps:{className:(0,l.c)("mx-auto")}}):i.createElement("span",null,t)))},I=({trackProgress:e,variant:t="landing",className:r})=>{const[u,m]=(0,i.useState)(!1),{scrollYProgress:b}=(0,a.Q)(),d=(0,c.s)(b,[.03,.95],["0%","100%"]);return i.createElement(i.Fragment,null,i.createElement(L.Q,null),i.createElement("header",{className:(0,l.c)("sticky","top-0","z-10")},i.createElement("div",{className:(0,l.c)("absolute","top-0 left-0 right-0","backdrop-blur-[6px]","landing-md:backdrop-blur-[12px]","z-[-1]","bg-gray-0 dark:bg-gray-800","bg-opacity-80 dark:bg-opacity-80","pointer-events-none",r),style:{top:"-20px",bottom:"-80px",WebkitMaskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))",maskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))"}}),i.createElement("div",{className:(0,l.c)("relative","z-[1]","p-4","landing-sm:px-8","landing-md:py-5")},i.createElement("div",{className:(0,l.c)("mx-auto","flex","items-center","justify-between","max-w-[896px]","landing-lg:max-w-[1200px]")},i.createElement("div",{className:(0,l.c)("w-[130px]","landing-lg:w-[200px]")},i.createElement(n.c,{to:"/"},i.createElement(f.m,{className:"text-gray-900 dark:text-gray-0"}))),i.createElement("button",{type:"button",className:(0,l.c)("text-gray-900 dark:text-gray-0","block landing-md:hidden"),onClick:()=>m(!0)},i.createElement(s.m,null)),i.createElement("div",{className:(0,l.c)("hidden landing-md:flex","flex-1","items-center","gap-8")},i.createElement(w,{variant:t})),i.createElement("div",{className:(0,l.c)("hidden landing-md:flex","items-center","justify-end","gap-4","w-[130px]","landing-lg:w-[200px]")},i.createElement(X,null),i.createElement(T.C,null)),i.createElement(B,{isModalOpen:u,setIsModalOpen:m}))),e&&i.createElement("div",{className:(0,l.c)("w-full","h-[1.5px]","translate","bg-refine-react-3 dark:bg-refine-react-7")},i.createElement(o.q.div,{className:(0,l.c)("h-full","bg-refine-react-light-link dark:bg-refine-react-dark-link"),style:{width:d}}))))}},9253:(e,t,r)=>{r.d(t,{C:()=>i,O:()=>f});var n=r(1504),l=r(4971),a=r(9072),c=r(3756),o=r(5372);const i=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,a.U)();return n.createElement("button",{type:"button",className:(0,l.c)("appearance-none","focus:outline-none","relative","w-10 h-10","rounded-full","border","border-solid","border-gray-300 dark:border-gray-700","text-gray-500","transition-colors","duration-150","ease-in-out","overflow-hidden","flex-shrink-0","group",e),onClick:()=>{r("dark"===t?"light":"dark")}},n.createElement("div",{className:(0,l.c)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","translate-y-0","dark:-translate-y-10","duration-200","ease-in-out","transition-transform")},n.createElement(c.G,null)),n.createElement("div",{className:(0,l.c)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","-translate-y-10","dark:translate-y-0","duration-200","ease-in-out","transition-transform")},n.createElement(o.g,null)))},s=[{name:"light",icon:c.G,label:"Light"},{name:"dark",icon:o.g,label:"Dark"}],f=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,a.U)();return n.createElement("div",{className:(0,l.c)("flex","items-center","gap-4","justify-start",e)},s.map((({name:e,label:a,icon:c})=>n.createElement("button",{type:"button",key:e,className:(0,l.c)("appearance-none","focus:outline-none","py-1","pl-1.5","pr-3","flex","items-center","justify-center","gap-1","rounded-[40px]","text-gray-400","border border-solid","border-gray-200","dark:border-gray-600",t===e&&"bg-gray-100 dark:bg-gray-700"),onClick:()=>{r(e)}},n.createElement(c,{className:(0,l.c)("w-4 h-4")}),n.createElement("span",{className:(0,l.c)("text-sm")},a)))))}},7708:(e,t,r)=>{r.d(t,{o0:()=>d,yw:()=>m,wd:()=>b,AR:()=>p});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var f=r(6098),u=r(4252);const m=[{label:"Resources",items:[{label:"Getting Started",href:"/docs"},{label:"Blog",href:"/blog"},{label:"Project Showcase",icon:n.createElement(f.KU,null),href:"/showcase"},{label:"Community",icon:n.createElement(f.KU,null),href:"/prepverse-community"}]},{label:"Product",items:[{label:"CodePoint",icon:n.createElement(u.i,null),href:"https://prepverse.github.io/CodePoint"},{label:"LeetVerse",icon:n.createElement(u.i,null),href:"https://prepverse.github.io/LeetVerse"}]},{label:"About",items:[{label:"About Me",href:"/AkashSingh3031"},{label:"Portfolio",icon:n.createElement(u.i,null),href:"https://prepverse.github.io/portfolio"}]}],b=[{label:"License",href:"https://github.com/PrepVerse/prepverse.github.io/blob/master/LICENSE"}],d="Thank you for visiting, Connect with me over socials.",p=[{icon:e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{r.d(t,{w:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{g:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{i:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{A:()=>c,i:()=>o});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e){for(var t=1;tn.createElement("svg",a({width:12,height:12,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.053 0A10.904 10.904 0 0 0 3.89 2.685 11.34 11.34 0 0 0 .142 9.472a11.48 11.48 0 0 0 1.456 7.65 11.087 11.087 0 0 0 5.964 4.86c.556.103.752-.25.752-.547v-1.918C5.23 20.202 4.58 18 4.58 18a3.012 3.012 0 0 0-1.227-1.655c-.997-.692.081-.692.081-.692.35.05.683.18.975.382.293.202.536.469.713.78.15.278.352.523.595.721a2.312 2.312 0 0 0 2.618.221c.042-.57.283-1.105.678-1.509-2.454-.284-5.03-1.253-5.03-5.539a4.415 4.415 0 0 1 1.132-3.025A4.194 4.194 0 0 1 5.224 4.7s.928-.305 3.036 1.156c1.81-.508 3.72-.508 5.531 0 2.108-1.46 3.03-1.156 3.03-1.156.406.936.455 1.993.135 2.963a4.415 4.415 0 0 1 1.132 3.026c0 4.334-2.582 5.282-5.043 5.538.264.271.468.597.598.955.13.358.182.741.155 1.122V21.4c0 .367.196.65.759.54a11.093 11.093 0 0 0 5.88-4.878 11.481 11.481 0 0 0 1.419-7.6 11.34 11.34 0 0 0-3.71-6.746A10.907 10.907 0 0 0 11.053 0Z",fill:"currentColor"})),o=e=>n.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.066.001a11.91 11.91 0 0 1 7.745 2.966 12.326 12.326 0 0 1 4.032 7.33 12.46 12.46 0 0 1-1.54 8.245 12.088 12.088 0 0 1-6.406 5.314l-.105.037-.11.021c-.508.1-1.232.093-1.83-.422-.577-.498-.681-1.166-.681-1.565v-3.008l.004-.053a1.102 1.102 0 0 0-.062-.453 1.058 1.058 0 0 0-.235-.377l-.839-.86-.863.882a.802.802 0 0 0-.224.502l-.015.217v3.183c0 .434-.14 1.029-.628 1.492-.541.514-1.246.62-1.864.505l-.108-.02-.104-.035a12.082 12.082 0 0 1-6.498-5.296 12.457 12.457 0 0 1-1.58-8.298c.45-2.86 1.891-5.471 4.073-7.375A11.909 11.909 0 0 1 12.05.001h.016Zm-10.43 10.54a10.957 10.957 0 0 0 1.39 7.303 10.58 10.58 0 0 0 5.693 4.638c.53.099.717-.238.717-.522v-1.83c-.588.13-1.083.15-1.5.1a2.95 2.95 0 0 1-.542-.117 2.551 2.551 0 0 1-.422-.176 2.362 2.362 0 0 1-.82-.72c-.208-.294-.28-.535-.28-.535a2.876 2.876 0 0 0-1.17-1.58l-.016-.01c-.925-.65.093-.65.093-.65.106.015.21.038.313.068l.017.005a2.172 2.172 0 0 1 .962.603c.122.13.23.276.319.433a2.29 2.29 0 0 0 .68.775h.002s0 .001 0 0a2.211 2.211 0 0 0 2.385.124v-.014a2.302 2.302 0 0 1 .647-1.427 8.754 8.754 0 0 1-1.625-.328 4.865 4.865 0 0 1-1.416-.695 3.883 3.883 0 0 1-.432-.365c-.8-.786-1.328-2.002-1.328-3.899a4.214 4.214 0 0 1 1.08-2.887 4.003 4.003 0 0 1 .104-2.848s.886-.291 2.898 1.103a9.762 9.762 0 0 1 5.28 0c2.011-1.393 2.891-1.103 2.891-1.103.388.893.434 1.902.13 2.828a4.214 4.214 0 0 1 1.08 2.888c0 3.166-1.444 4.44-3.174 4.972a8.617 8.617 0 0 1-1.64.314 2.558 2.558 0 0 1 .699 1.425c.026.184.033.371.02.558v2.955c0 .35.187.62.724.515a10.588 10.588 0 0 0 5.613-4.656 10.958 10.958 0 0 0 1.354-7.254 10.824 10.824 0 0 0-3.541-6.439 10.41 10.41 0 0 0-6.77-2.592 10.408 10.408 0 0 0-6.837 2.563 10.824 10.824 0 0 0-3.578 6.478ZM16.374 7.8a8.003 8.003 0 0 0-.856.524l-.58.401-.679-.19a8.262 8.262 0 0 0-4.469 0l-.68.19-.58-.402a7.982 7.982 0 0 0-.846-.519c.019.186.059.37.12.549l.282.832-.588.653a2.714 2.714 0 0 0-.696 1.86v.024c0 1.724.503 2.513.998 2.937.563.481 1.397.736 2.476.86l1.567.182 1.954-.204c1.082-.112 1.912-.358 2.47-.833.492-.418.999-1.209.999-2.96v-.026a2.714 2.714 0 0 0-.696-1.86l-.582-.647.273-.826c.058-.178.096-.36.113-.545Z",clipRule:"evenodd"}))},1980:(e,t,r)=>{r.d(t,{m:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{Q:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{G:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{s1:()=>o,wR:()=>s,QD:()=>u,vn:()=>b,kv:()=>p,uI:()=>h,A9:()=>v,_2:()=>y,Ew:()=>x,Yf:()=>P,oh:()=>k,Ed:()=>H,BE:()=>L,KU:()=>B,WR:()=>V,w9:()=>F,CC:()=>W,AH:()=>U,oz:()=>J,C3:()=>q});var n=r(1504);var l=r(4971);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const o=e=>n.createElement("svg",c(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const{colorMode:t}=(0,S.U)();return n.createElement("div",{className:(0,l.c)("relative","flex","items-center","justify-center","rounded-full","overflow-hidden","p-px","dark:bg-[#194b3a] bg-[#b7dbff]"),style:{transform:"translateZ(0)"}},n.createElement("div",{className:(0,l.c)("z-[1]","absolute","inset-0","dark:bg-new-badge-border-dark bg-new-badge-border-light","animate-new-badge-border")}),n.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}var G,R;const V=e=>{var{variant:t="landing"}=e,r=Z(e,["variant"]);return n.createElement("svg",D(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",I(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{r.d(t,{m:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{E:()=>d});var n=r(4971),l=r(1504),a=r(9184),c=r(7708),o=r(204);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const s=e=>l.createElement("svg",function(e){for(var t=1;t{const t=l.createElement("div",{className:(0,n.c)("py-6 landing-lg:py-0","flex","flex-col","gap-4","landing-lg:max-w-[224px]")},l.createElement("div",{className:(0,n.c)("font-semibold","text-sm","leading-6","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},"Contacts"),l.createElement("a",{href:"https://wa.me/+919794423031",target:"_blank",className:(0,n.c)("font-normal","text-sm","leading-5","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},"+91 9794423031"),l.createElement("a",{href:"https://mail.google.com/mail/u/0/?fs=1&to=codewithsky@gmail.com&tf=cm",target:"_blank",className:(0,n.c)("font-normal","text-sm","leading-5","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:180,height:40,viewBox:"0 0 180 40",fill:"none"},l.createElement("text",{x:"1",y:"15",fontFamily:"Arial, sans-serif",fontSize:"16",fill:"currentColor"},"codewithsky@gmail.com")))),r=l.createElement("div",{className:(0,n.c)("py-6 landing-lg:py-0","flex","flex-col","landing-sm:items-end")},l.createElement("div",{className:(0,n.c)("flex","flex-col","gap-4")},l.createElement("div",{className:(0,n.c)("text-sm","leading-6","font-semibold","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3","landing-lg:text-right")},"Connect with me on"),l.createElement("div",{className:(0,n.c)("flex","items-center","gap-8","landing-lg:gap-4","justify-start")},c.AR.map((({href:t,icon:r})=>l.createElement("a",{href:t,key:t,target:"_blank",rel:"noreferrer",className:(0,n.c)("landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},l.createElement(r,{className:(0,n.c)("w-6 h-6","landing-lg:w-8 landing-lg:h-8")})))))));return l.createElement("footer",{className:(0,n.c)("w-full")},l.createElement("div",{className:(0,n.c)("border-t border-t-solid","landing"===e&&"border-t-gray-100 dark:border-t-gray-700","blog"===e&&"border-t-refine-react-3 dark:border-t-refine-react-7","landing"===e&&"dark:bg-footer-landing-dark-bg","blog"===e&&"bg-footer-blog-light-bg dark:bg-footer-blog-dark-bg")},l.createElement("div",{className:(0,n.c)("grid","grid-cols-1","max-w-screen-landing-md","landing-lg:max-w-screen-landing-lg","mx-auto")},l.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8 landing-lg:px-12","py-4 landing-lg:py-6","flex","items-center","justify-between")},l.createElement(a.c,{to:"/",className:(0,n.c)("hover:no-underline","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},l.createElement(f.m,null)),l.createElement("a",{href:"https://github.com/sponsors/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,n.c)("hover:no-underline")},l.createElement(s,null))),l.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8 landing-lg:px-12","flex","flex-row","flex-wrap","items-start","justify-start","text-gray-500 dark:text-gray-500")},c.o0),l.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8 landing-lg:px-12","py-6 landing-lg:pt-8 landing-lg:pb-12","flex","flex-row","flex-wrap","items-start","justify-start","gap-6")},l.createElement("div",{className:(0,n.c)("hidden","landing-lg:flex","max-w-[282px]","w-full")},t),c.yw.map((t=>l.createElement("div",{className:(0,n.c)("flex flex-col gap-4","min-w-[152px]"),key:t.label},l.createElement("div",{className:(0,n.c)("text-sm","leading-6","font-semibold","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},t.label),l.createElement("div",{className:(0,n.c)("flex","flex-col","gap-2")},t.items.map((t=>l.createElement("a",b(m({href:t.href,key:t.label},t.href.startsWith("http")?{target:"_blank",rel:"noopener noreferrer"}:{}),{className:(0,n.c)("text-sm","leading-5","hover:no-underline","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300")}),l.createElement("div",{className:(0,n.c)("flex","items-center","gap-2")},t.label,t.icon)))))))),l.createElement("div",{className:(0,n.c)("hidden","landing-lg:flex","ml-auto")},r)),l.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8","grid","grid-cols-1","landing-sm:grid-cols-2","landing-sm:gap-8","landing-lg:hidden")},t,r))),l.createElement("div",{className:(0,n.c)("border-t border-t-solid","landing"===e&&"border-t-gray-100 dark:border-t-gray-700","blog"===e&&"border-t-gray-100 dark:border-t-gray-700","landing"===e&&"bg-gray-50 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-8")},l.createElement("div",{className:(0,n.c)("py-6 landing-sm:py-8 landing-lg:py-6","px-4 landing-sm:px-8 landing-lg:px-12","grid","grid-cols-1","landing-md:grid-cols-2","gap-8","max-w-screen-landing-md","landing-lg:max-w-screen-landing-lg","mx-auto")},l.createElement("div",{className:(0,n.c)("flex","flex-col","landing-sm:flex-row","gap-4","items-start","justify-start")},c.wd.map((t=>l.createElement("a",b(m({href:t.href,key:t.label},t.href.startsWith("http")?{target:"_blank",rel:"noopener noreferrer"}:{}),{className:(0,n.c)("text-sm","leading-5","font-normal","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:no-underline","hover:text-gray-800 dark:hover:text-gray-300")}),t.label)))),l.createElement("div",{className:(0,n.c)("text-left","landing-md:text-right","text-sm","pr-6 landing-sm:pr-0","leading-5","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3","font-normal")},l.createElement("div",{className:(0,n.c)("text-base","text-gray-500 dark:text-gray-400")},"Copyright \xa9 ",(new Date).getFullYear()," PrepVerse"," ",l.createElement(o.Q,{className:"text-refine-red ml-2 inline leading-6"}),l.createElement("br",null),"Built with Docusaurus & Refine.")))))}},6936:(e,t,r)=>{r.d(t,{c:()=>i});var n=r(4971),l=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const i=e=>{var{className:t,wrapperProps:r}=e,a=o(e,["className","wrapperProps"]);return l.createElement("div",c({role:"status"},r),l.createElement("svg",c({"aria-hidden":"true",width:24,height:24,viewBox:"0 0 100 100",className:(0,n.c)("text-gray-200 animate-spin dark:text-gray-600 fill-refine-blue",t),fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),l.createElement("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),l.createElement("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})),l.createElement("span",{className:"sr-only"},"Loading..."))}},252:(e,t,r)=>{r.d(t,{Q:()=>i});var n=r(4971),l=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){for(var t=1;tl.createElement("div",{className:(0,n.c)("w-full h-12","relative","bg-top-announcement","not-prose","font-inter","z-top-announcement")},l.createElement("div",{className:(0,n.c)("hidden lg:flex","w-full h-full","max-w-screen","overflow-hidden","border-b border-solid border-[#47ebeb26]","top-announcement-mask")},l.createElement("div",{className:(0,n.c)("w-[1280px] h-full","mx-auto","flex","justify-between")},l.createElement("div",{className:(0,n.c)("w-[calc(50%-300px)] h-full","relative")},l.createElement(f,{style:{animationDelay:"1.5s"},className:(0,n.c)("absolute","top-[2px]","right-[220px]"),id:"1"}),l.createElement(f,{style:{animationDelay:"1s"},className:(0,n.c)("absolute","rotate-180","top-[8px] right-[100px]"),id:"2"}),l.createElement(u,{className:(0,n.c)("absolute","right-[10px]"),id:"3"})),l.createElement("div",{className:(0,n.c)("w-[calc(50%-300px)] h-full","relative")},l.createElement(f,{style:{animationDelay:"2s"},className:(0,n.c)("absolute","rotate-180","top-[6px] right-[180px]"),id:"4"}),l.createElement(f,{style:{animationDelay:"0.5s"},className:(0,n.c)("delay-[1300]","absolute","top-[2px]","right-[40px]"),id:"5"}),l.createElement(u,{className:(0,n.c)("absolute","right-[-70px]"),id:"6"})))),l.createElement(s,null)),s=()=>l.createElement("a",{href:"https://github.com/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,n.c)("relative lg:absolute","px-2 lg:px-0","top-0","left-[50%]","translate-x-[-50%]","bg-top-announcement-text","h-full w-full lg:w-[450px]","flex items-center justify-center","text-white","text-xs sm:text-sm","text-center","no-underline","hover:no-underline","hover:text-white","not-prose")},l.createElement("div",{className:(0,n.c)("ml-2","not-prose")},"For more updates follow","",l.createElement("span",{className:(0,n.c)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")},"@AkashSingh3031"),".")),f=e=>l.createElement("svg",o(c({xmlns:"http://www.w3.org/2000/svg",width:80,height:40,fill:"none"},e),{className:(0,n.c)("animate-top-announcement-glow","opacity-1",e.className)}),l.createElement("circle",{cx:40,r:40,fill:`url(#${e.id}-a)`,fillOpacity:.5}),l.createElement("defs",null,l.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 40 -40 0 40 0)",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{stopColor:"#47EBEB"}),l.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0})))),u=e=>l.createElement("svg",o(c({xmlns:"http://www.w3.org/2000/svg",width:120,height:48,fill:"none"},e),{className:(0,n.c)("animate-top-announcement-glow","opacity-1",e.className)}),l.createElement("circle",{cx:60,cy:24,r:60,fill:`url(#${e.id}-a)`,fillOpacity:.5}),l.createElement("defs",null,l.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 60 -60 0 60 24)",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{stopColor:"#47EBEB"}),l.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0}))))}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[1640],{5904:(e,t,r)=>{r.d(t,{I7:()=>a,kz:()=>o,aI:()=>f,sL:()=>m,uU:()=>Ye,UZ:()=>Ue,sH:()=>Xe,W4:()=>Je,g3:()=>qe,Ou:()=>Vt,M7:()=>d,gv:()=>$e,U7:()=>St,K6:()=>Et,sT:()=>h,Dp:()=>v,m4:()=>x,Yv:()=>C,UJ:()=>A,QR:()=>rt,y:()=>z,AD:()=>lt,WA:()=>S,ai:()=>Gt,m0:()=>B,Gg:()=>Z,kB:()=>R,mK:()=>F,em:()=>X,E5:()=>Dt,sP:()=>Ft,_$:()=>U,gF:()=>Q,Iv:()=>$,Qh:()=>te,yK:()=>st,sW:()=>ut,Uf:()=>le,cF:()=>bt,aA:()=>ce,mO:()=>se,I1:()=>ue,_A:()=>pe,CS:()=>ot,U$:()=>Ot,yw:()=>gt,wA:()=>Bt,yM:()=>de,Ep:()=>Oe,qy:()=>jt,sN:()=>ke,Cu:()=>ye,qQ:()=>Ee,oe:()=>Te,Oq:()=>He,yS:()=>Ne,Og:()=>Ze,kn:()=>Re,od:()=>zt});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const f=e=>{var{withBrandColor:t=!0}=e,r=s(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const d=e=>{var{withBrandColor:t=!0}=e,r=b(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const x=e=>{var{className:t}=e,r=j(e,["className"]);return n.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const C=e=>{var{className:t}=e,r=P(e,["className"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const Z=e=>{var{withBrandColor:t=!0}=e,r=D(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",T(function(e){for(var t=1;tn.createElement("svg",W(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",J(function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const $=e=>{var{withBrandColor:t=!0}=e,r=_(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const le=e=>{var{withBrandColor:t=!0}=e,r=ne(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",ie(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const Oe=e=>{var{className:t}=e,r=he(e,["className"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",we(function(e){for(var t=1;tn.createElement("svg",xe(function(e){for(var t=1;tn.createElement("svg",Ce(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",tt(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",ct(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",pt(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const jt=e=>{var{className:t}=e,r=yt(e,["className"]);return n.createElement("svg",wt(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{r.r(t),r.d(t,{default:()=>P});var n=r(1504),l=r(6424),a=r(4971),c=r(9184),o=r(8480),i=r(6968),s=r(3120),f=r(7132),u=r(5904);const m=()=>n.createElement("div",{className:(0,a.c)("flex flex-wrap","w-full","rounded-2xl landing-sm:rounded-[32px]")});var p=r(1316),b=r(416);const d={any:0,all:1};function g(e,t){var r=void 0===t?{}:t,l=r.root,a=r.margin,c=r.amount,o=r.once,i=void 0!==o&&o,s=(0,p.o5)((0,n.useState)(!1),2),f=s[0],u=s[1];return(0,n.useEffect)((function(){var t;if(!(!e.current||i&&f)){var r={root:null!==(t=null==l?void 0:l.current)&&void 0!==t?t:void 0,margin:a,amount:"some"===c?"any":c};return function(e,t,{root:r,margin:n,amount:l="any"}={}){if("undefined"==typeof IntersectionObserver)return()=>{};const a=(0,b.a)(e),c=new WeakMap,o=new IntersectionObserver((e=>{e.forEach((e=>{const r=c.get(e.target);if(e.isIntersecting!==Boolean(r))if(e.isIntersecting){const r=t(e);"function"==typeof r?c.set(e.target,r):o.unobserve(e.target)}else r&&(r(e),c.delete(e.target))}))}),{root:r,rootMargin:n,threshold:"number"==typeof l?l:d[l]});return a.forEach((e=>o.observe(e))),()=>o.disconnect()}(e.current,(function(){return u(!0),i?void 0:function(){return u(!1)}}),r)}}),[l,e,a,i]),f}function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function O(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},a=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const v=()=>n.createElement("div",{className:(0,a.c)("flex flex-wrap","border dark:border-gray-700 border-gray-200","w-full","rounded-2xl landing-sm:rounded-[32px]","gap-2 landing-sm:gap-4","p-2 landing-sm:p-4","relative","group/showcase","landing-lg:overflow-hidden","shadow-md","border-2 border-gray-500 border-opacity-25")},n.createElement("div",{className:(0,a.c)("landing-packages-mask","overflow-hidden")},n.createElement(w,{animDirection:"right"},[...j,...j].map((({icon:e,label:t,tooltip:r},l)=>n.createElement(y,{key:l,label:t,tooltip:r,icon:n.createElement(e,{width:"24",height:"24"})})))),n.createElement("br",null),n.createElement(w,{animDirection:"left"},[...x,...x].map((({icon:e,label:t,tooltip:r},l)=>n.createElement(y,{key:l,label:t,tooltip:r,icon:n.createElement(e,{width:"24",height:"24"})})))))),w=e=>{var{children:t,className:r,animDirection:l}=e,c=O(e,["children","className","animDirection"]);const o=(0,n.useRef)(null),i=g(o);return n.createElement("div",{ref:o,className:(0,a.c)("relative","flex","items-center","left"===l?"justify-start":"justify-end")},n.createElement("div",function(e){for(var t=1;t{const{tooltip:t,icon:r,label:l}=e;return n.createElement("div",{className:(0,a.c)("group","relative","z-10","flex","items-center","justify-center","gap-3","pl-4 pt-4 pb-4 pr-6","dark:bg-gray-900 bg-gray-200","rounded-full","cursor-pointer")},n.createElement("div",null,r),n.createElement("div",{className:(0,a.c)("text-sm","font-medium","dark:bg-landing-packages-text-dark bg-landing-packages-text","bg-clip-text","text-transparent","whitespace-nowrap")},l),t&&n.createElement("div",{className:(0,a.c)("absolute","z-20","top-[-48px]","scale-0","group-hover:scale-100","transition-transform","origin-top")},n.createElement("div",{className:(0,a.c)("relative","text-sm","dark:bg-gray-0 bg-gray-900","dark:text-gray-700 text-gray-300","rounded-full","px-6","py-3","whitespace-nowrap")},t),n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:40,height:15,fill:"none",className:(0,a.c)("absolute","scale-0","-bottom-2","left-1/2","-translate-x-1/2","group-hover:scale-100","transition-transform","origin-bottom","dark:text-gray-0 text-gray-900")},n.createElement("path",{fill:"currentColor",d:"M17.73 13.664C18.238 14.5 19.089 15 20 15c.912 0 1.763-.501 2.27-1.336l3.025-4.992C26.306 7.002 28.01 7 29.833 7H40V0H0v7h10.167c1.823 0 3.527.003 4.538 1.672l3.026 4.992Z"}))))},j=[{icon:e=>n.createElement(u.QR,e),label:"Array",tooltip:null},{icon:e=>n.createElement(u.Gg,e),label:"Linked List",tooltip:null},{icon:e=>n.createElement(u.Gg,e),label:"Stack",tooltip:null},{icon:e=>n.createElement(u.CS,e),label:"Queue",tooltip:null},{icon:e=>n.createElement(u.Gg,e),label:"Tree",tooltip:null},{icon:e=>n.createElement(u.g3,e),label:"Graph",tooltip:null},{icon:e=>n.createElement(u.Gg,e),label:"Time Complexity",tooltip:null},{icon:e=>n.createElement(u.Gg,e),label:"Space Complexity",tooltip:null}],x=[{icon:e=>n.createElement(u.Gg,e),label:"Time Complexity",tooltip:null},{icon:e=>n.createElement(u.Gg,e),label:"Space Complexity",tooltip:null},{icon:e=>n.createElement(u.Gg,e),label:"Searching",tooltip:null},{icon:e=>n.createElement(u.Gg,e),label:"Sorting",tooltip:null},{icon:e=>n.createElement(u.Gg,e),label:"Mathematical Algorithms",tooltip:null},{icon:e=>n.createElement(u.Gg,e),label:"Bitwise Algorithms",tooltip:null},{icon:e=>n.createElement(u.Gg,e),label:"Dynamic Programming",tooltip:null},{icon:e=>n.createElement(u.Gg,e),label:"Recursion",tooltip:null},{icon:e=>n.createElement(u.Gg,e),label:"Backtracking Algorithm",tooltip:null},{icon:e=>n.createElement(u.Gg,e),label:"Greedy Algorithms",tooltip:null}],E=({data:e})=>n.createElement(o.C,{description:"Build React-based internal tools, admin panels, dashboards & B2B apps with unmatched flexibility."},n.createElement("div",null,n.createElement(i.m,null),n.createElement("div",{className:(0,a.c)("w-full max-w-[592px] landing-sm:max-w-[656px] landing-md:max-w-[896px] landing-lg:max-w-[1200px]","px-4 landing-sm:px-0","mx-auto","flex flex-col","not-prose","mt-8 landing-lg:mt-10","px-6 landing-sm:px-0","pb-8 landing-sm:pb-12 landing-md:pb-16 landing-lg:pb-20")},n.createElement("div",null,n.createElement(c.c,{to:"/CodeVerse",className:(0,a.c)("text-base","font-semibold","dark:text-gray-400 text-gray-500","hover:dark:text-gray-400 hover:text-gray-500","hover:no-underline","flex","items-center","gap-2","px-0 py-0","landing-md:px-2 landing-md:py-3")},n.createElement(f.Y,null),"Back to CodeVerse"),"dsa"===e.slug&&n.createElement(v,null),"cp"===e.slug&&n.createElement(v,null),n.createElement("h1",{className:(0,a.c)("dark:text-gray-0 text-gray-900","text-4xl landing-sm:text-[56px] landing-sm:leading-[72px]","font-bold","px-0 landing-sm:px-8 landing-md:px-10","mt-6")},e.title)),n.createElement("div",{className:(0,a.c)("flex","mt-8","rounded-lg landing-md:rounded-xl landing-lg:rounded-3xl","-mx-4 landing-sm:-mx-0","landing-sm:px-4")},"dsa"===e.slug&&n.createElement(m,null),"cp"===e.slug&&n.createElement(m,null)))),n.createElement(s.E,null)),P=e=>{const{content:t}=e;return n.createElement(n.Fragment,null,n.createElement(l.c,{title:`${t.title} CodeVerse | PrepVerse`},n.createElement("html",{"data-page":"templates_prepverse"}),n.createElement("title",null,t.title),n.createElement("meta",{property:"og:title",content:t.title}),n.createElement("meta",{name:"description",content:`${t.title} CodeVerse | PrepVerse`}),n.createElement("meta",{property:"og:description",content:`${t.description} CodeVerse | PrepVerse`}),n.createElement("meta",{"data-rh":"true",property:"og:image",content:t.images[0]}),n.createElement("meta",{"data-rh":"true",name:"twitter:image",content:t.images[0]})),n.createElement(E,{data:t}))}},7132:(e,t,r)=>{r.d(t,{Y:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{m:()=>I});var n=r(9184),l=r(4971),a=r(3200),c=r(344),o=r(6076),i=r(1504),s=r(1980),f=r(8804),u=r(6098);const m=[{isPopover:!0,label:"Docs",items:[{label:"Foundation Docs",description:"Learn C++, Python & Java",link:"https://prepverse.vercel.app/docs",icon:u.C3},{label:"DSA Docs",description:"Learning DSA in C++, Python & Java",link:"https://prepverse.vercel.app/docs/1.DS.Algo",icon:u.uI}]},{isPopover:!0,label:"CodePoint",items:[{label:"Expert Sheet Solutions",description:"Most popular coding questions solutions asked during SDE interviews.",link:"https://prepverse.github.io/CodePoint/preface",icon:u.C3},{label:"Coding Ninjas Series",description:"Coding Ninjas Studio Guided Path Solutions",link:"https://prepverse.github.io/CodePoint/learning_resources/CN_Series/preface",icon:u.oh},{label:"LeetVerse",description:"Leetcode problem solutions with full probelm statements in C++, Python & Java",link:"https://prepverse.github.io/LeetVerse",icon:u.Ew}]},{isPopover:!0,label:"About",items:[{label:"About Me",description:"My information.",link:"https://prepverse.vercel.app/AkashSingh3031",icon:u.kv},{label:"Project Showcase",description:"PrepVerse open-source projects",link:"https://prepverse.vercel.app/showcase",icon:u.w9},{label:"My Portfolio",description:"All info about me",link:"https://prepverse.github.io/portfolio",icon:u.BE}]},{isPopover:!1,label:"Blog",href:"https://prepverse.vercel.app/blog",icon:u.s1},{isPopover:!1,label:"PrepVerse Community",href:"https://prepverse.vercel.app/prepverse-community",icon:u.vn}],p=({item:e,variant:t="landing"})=>{const r=e.icon;return i.createElement(n.c,{to:e.link,className:"no-underline"},i.createElement("div",{className:(0,l.c)("flex items-center","p-4","transition duration-150 ease-in-out","rounded-lg","hover:bg-gray-100","landing"===t&&"dark:hover:bg-gray-800","blog"===t&&"dark:hover:bg-refine-react-8")},i.createElement("div",{className:"shrink-0"},i.createElement(r,null)),i.createElement("div",{className:"ml-2"},i.createElement("div",{className:(0,l.c)("landing"===t&&"text-gray-900 dark:text-white","blog"===t&&"text-refine-react-8 dark:text-refine-react-3","font-semibold")},e.label),i.createElement("div",{className:(0,l.c)("landing"===t&&"text-gray-500 dark:text-gray-400","blog"===t&&"text-refine-react-5 dark:text-refine-react-4","text-xs")},e.description))))},b=({item:e})=>{const[t,r]=(0,i.useState)(null);(0,i.useEffect)((()=>(r(localStorage.getItem("theme")||null),window.addEventListener("storage",a,!1),()=>{window.removeEventListener("storage",a,!1)})),[]);const a=()=>{r(localStorage.getItem("theme")||null)};let c=e.icon;return"Cloud"===e.label&&(c="light"===t?u.oz:e.icon),i.createElement(n.c,{key:e.label,to:e.href,className:(0,l.c)("inline-flex items-center gap-2","text-sm leading-6 font-normal text-gray-900 dark:text-gray-300","transition-colors duration-150 ease-in-out","no-underline","Hackathon"===e.label?["py-1","px-2","rounded-lg","bg-hackathon-button-bg","animate-hackathon-button-bg","bg-refine-bg","text-gray-0","bg-[length:200%_100%]","text-[14px]","hover:text-gray-0"]:["hover:text-gray-900 dark:hover:text-white"])},e.icon&&i.createElement(c,null),e.label)};var d=r(640),g=r(5224),h=r(2424),O=r(4577);const v=({item:e,variant:t="landing",children:r})=>{const[n,a]=(0,i.useState)(!1),c=i.useRef(null),o=i.useRef(null),s=(0,d.IT)();return i.useEffect((()=>{a(!1)}),[s]),i.createElement(g._,{id:`popover-${e.label}`,key:e.label,className:(0,l.c)("relative","inline-flex items-center"),onMouseEnter:()=>{o.current=setTimeout((()=>a(!0)),210),clearTimeout(c.current)},onMouseLeave:()=>{c.current=setTimeout((()=>a(!1)),210),clearTimeout(o.current)}},(()=>i.createElement(i.Fragment,null,i.createElement(g._.Button,{className:(0,l.c)("inline-flex items-center","text-sm leading-6","font-normal")},i.createElement("span",{className:(0,l.c)("landing"===t&&"text-gray-900 dark:text-gray-300","blog"===t&&"text-refine-react-8 dark:text-refine-react-3","transition-colors duration-150 ease-in-out inline-block")},e.label),i.createElement(O.w,{"aria-hidden":"true",className:(0,l.c)("transition duration-150 ease-out","-mr-2","landing"===t&&"text-gray-500 dark:text-gray-400","blog"===t&&"text-refine-react-4",n?"translate-y-0.5":"")})),i.createElement(h.O,{as:i.Fragment,enter:"transition ease-in duration-150",enterFrom:"opacity-0 translate-y-3",enterTo:"opacity-100 translate-y-0",leave:"transition ease-out duration-150",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 translate-y-3",show:n},i.createElement(g._.Panel,{className:(0,l.c)("absolute","z-50","top-12",{"-left-32 center-point":"Docs"===e.label||"About"===e.label,"left-point":"CodePoint"===e.label})},i.createElement(u.WR,{id:e.label,variant:t,className:(0,l.c)("absolute","top-[-9px]",{"left-1/2":"CodePoint"!==e.label,"left-12":"CodePoint"===e.label}),style:{transform:"translateX(-50%)"}}),i.createElement("div",{className:(0,l.c)("overflow-hidden","rounded-xl","landing"===t&&"border dark:border-gray-700 border-gray-200","landing"===t&&"dark:shadow-menu-dark shadow-menu-light","blog"===t&&"border border-refine-react-3 dark:border-refine-react-6","blog"===t&&"dark:shadow-menu-blog-dark shadow-menu-blog-light")},r))))))},w=({variant:e="landing"})=>i.createElement(i.Fragment,null,m.map((t=>t.isPopover?i.createElement(v,{key:`navbar-${t.label}`,item:t,variant:e},"CodePoint"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,l.c)("grid grid-cols-2 gap-4","p-4","w-[672px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(p,{key:t.label,item:t,variant:e})))),i.createElement(n.c,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,l.c)("border-t","blog"===e&&"border-refine-react-3 dark:border-refine-react-6","landing"===e&&"border-gray-300 dark:border-gray-700","landing"===e&&"bg-gray-100 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-7","flex items-center","py-4 px-7")},i.createElement(u._2,null),i.createElement("div",{className:(0,l.c)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))),"About"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,l.c)("grid gap-4","p-4","w-[336px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(p,{key:t.label,item:t,variant:e})))),i.createElement("div",{className:(0,l.c)("border-t","blog"===e&&"border-refine-react-3 dark:border-refine-react-6","landing"===e&&"border-gray-300 dark:border-gray-700","landing"===e&&"bg-gray-100 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-7","flex justify-between items-center","py-4 px-7")},i.createElement("div",{className:(0,l.c)("landing"===e&&"text-gray-600 dark:text-gray-400 ","blog"===e&&"text-refine-react-5 dark:text-refine-react-4")},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.c,{to:"https://github.com/AkashSingh3031",className:(0,l.c)("no-underline","hover:text-inherit")},i.createElement(u.A9,{className:"dark:text-gray-400 text-gray-500"})),i.createElement(n.c,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(u.Ed,null)),i.createElement(n.c,{to:"https://instagram.com/akash.singh3031"},i.createElement(u.Yf,null)),i.createElement(n.c,{to:"https://x.com/akashsingh3031"},i.createElement(u.CC,null))))),"Docs"===t.label&&i.createElement("div",{className:(0,l.c)("grid gap-4","p-4","w-[336px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(p,{key:t.label,item:t,variant:e}))))):i.createElement(b,{key:`navbar-${t.label}`,item:t,variant:e}))));var y=r(2276),j=r(7008),x=r(9072),E=r(2268);function P(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const C=e=>i.createElement("svg",function(e){for(var t=1;ti.createElement("svg",function(e){for(var t=1;t{const[o,s]=(0,i.useState)(null),f=null!=r?r:n.c,m=void 0!==a&&void 0===t;return(0,i.useEffect)((()=>{const e=document.querySelector("html").getAttribute("data-theme");s(e)}),[]),i.createElement(f,function(e){for(var t=1;t{const r=(0,d.IT)();return i.useEffect((()=>{t(!1)}),[r]),i.createElement(N,{isModalOpen:e,setIsModalOpen:t},i.createElement(D,{className:(0,l.c)("hidden landing-sm:block","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}),i.createElement(Z,{className:(0,l.c)("block landing-sm:hidden","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}))},N=({isModalOpen:e,setIsModalOpen:t,children:r})=>i.createElement(h.O,{appear:!0,show:e,as:i.Fragment},i.createElement(y.C,{as:"div",className:"relative z-10",onClose:()=>t(!1)},i.createElement(h.O.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},i.createElement("div",{className:(0,l.c)("fixed inset-0","bg-gray-0 dark:bg-gray-900","flex","flex-col")},i.createElement(L.Q,null),i.createElement("div",{className:(0,l.c)("flex items-center justify-between","p-4","landing-sm:px-8")},i.createElement(f.m,{className:"dark:text-gray-0 text-gray-900"}),i.createElement("button",{type:"button",className:(0,l.c)("rounded-lg","hover:brightness-105","active:scale-90","transition-transform duration-75 ease-in-out")},i.createElement(E.O,{className:"text-gray-900 dark:text-white",onClick:()=>t(!1)}))),i.createElement(h.O.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-75",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95"},i.createElement("div",{className:(0,l.c)("flex-1","overflow-y-auto","px-4","pb-4")},r)))))),D=e=>i.createElement("div",{className:(0,l.c)(e.className)},m.map(((e,t)=>{const r="icon"in e&&e.icon;return i.createElement("div",{key:t,className:(0,l.c)("not-prose","p-4","border-t dark:border-gray-700 border-gray-200")},i.createElement(n.c,{to:"href"in e?e.href:void 0,className:(0,l.c)("appearance-none","block","no-underline","dark:text-gray-0 text-gray-900","font-bold")},i.createElement("div",{className:(0,l.c)("flex items-center gap-2")},i.createElement("div",null,e.label),r&&i.createElement(r,null))),"items"in e&&i.createElement("div",{className:(0,l.c)("mt-2","grid grid-cols-2 min-[800px]:grid-cols-3","gap-x-8 gap-y-4")},e.items.map((e=>i.createElement(p,{key:e.label,item:e})))))})),i.createElement(V,null),i.createElement(R,{id:"tablet"}),i.createElement(G,{id:"tablet"})),Z=e=>i.createElement("div",{className:(0,l.c)(e.className)},i.createElement("div",{className:"flex-grow"},m.map((e=>e.isPopover?i.createElement(j.C,{key:`modal-${e.label}`},(({open:t})=>i.createElement(i.Fragment,null,i.createElement(z,{component:j.C.Button,label:e.label,open:t}),i.createElement(j.C.Panel,{className:(0,l.c)(t&&"pb-4",t&&"border-b border-gray-200 dark:border-gray-700")},e.items.map((e=>i.createElement(p,{key:e.label,item:e}))))))):i.createElement(z,{key:`modal-${e.label}`,label:e.label,href:e.href,icon:e.icon})))),i.createElement(V,null),i.createElement(R,{id:"phone"}),i.createElement(G,{id:"phone"})),G=e=>{var t;return i.createElement(n.c,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,l.c)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex items-center","p-4")},i.createElement(u._2,{id:(null===(t=e)||void 0===t?void 0:t.id)||""}),i.createElement("div",{className:(0,l.c)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))},R=e=>{var t;return i.createElement("div",{className:(0,l.c)("bg-white dark:bg-gray-700 header-sm:bg-inherit","flex justify-between items-center","header-sm:flex-col header-sm:gap-4","header-sm:border-b border-gray-200 dark:border-gray-600","py-3 px-4")},i.createElement("p",{className:"text-gray-500 dark:text-gray-300 font-semibold"},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.c,{to:"https://github.com/AkashSingh3031"},i.createElement(u.A9,{className:"h-10 w-10"})),i.createElement(n.c,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(u.Ed,{className:"h-10 w-10"})),i.createElement(n.c,{to:"https://instagram.com/akash.singh3031"},i.createElement(u.Yf,{className:"h-10 w-10",id:(null===(t=e)||void 0===t?void 0:t.id)||""})),i.createElement(n.c,{to:"https://x.com/akashsingh3031"},i.createElement(u.CC,{className:"h-10 w-10"}))))},V=()=>{const{colorMode:e,setColorMode:t}=(0,x.U)(),r=()=>{t("dark"===e?"light":"dark")},n="dark"===e,a="light"===e;return i.createElement("div",{className:(0,l.c)("not-prose","p-4","flex items-center")},i.createElement("div",{className:(0,l.c)("text-sm","mr-10","dark:text-gray-400 text-gray-600")},"Apperance"),i.createElement("button",{onClick:r,className:(0,l.c)("mr-4","rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200","text-gray-500",a&&"bg-gray-50")},i.createElement(M.G,null),"Light"),i.createElement("button",{onClick:r,className:(0,l.c)("rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200",n?"text-gray-400":"text-gray-500",n&&"bg-gray-700")},i.createElement(S.g,null),"Dark"))};var T=r(9253),F=r(2700),Y=r(5792),W=r(6936);const X=()=>{const{loading:e,githubStarCountText:t}=(0,F.wx)();return i.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank",rel:"noreferrer",className:(0,l.c)("flex gap-2 items-center","font-normal","text-sm leading-6","text-gray-500 dark:text-gray-400","hover:text-gray-400 dark:hover:text-gray-300","hover:no-underline","transition-colors","duration-200","ease-in-out")},i.createElement(Y.A,{className:(0,l.c)("w-5 h-5")}),i.createElement("div",{className:(0,l.c)("flex items-center","w-10 h-6")},e?i.createElement(W.c,{className:(0,l.c)("w-5 h-5"),wrapperProps:{className:(0,l.c)("mx-auto")}}):i.createElement("span",null,t)))},I=({trackProgress:e,variant:t="landing",className:r})=>{const[u,m]=(0,i.useState)(!1),{scrollYProgress:p}=(0,a.Q)(),b=(0,c.s)(p,[.03,.95],["0%","100%"]);return i.createElement(i.Fragment,null,i.createElement(L.Q,null),i.createElement("header",{className:(0,l.c)("sticky","top-0","z-10")},i.createElement("div",{className:(0,l.c)("absolute","top-0 left-0 right-0","backdrop-blur-[6px]","landing-md:backdrop-blur-[12px]","z-[-1]","bg-gray-0 dark:bg-gray-800","bg-opacity-80 dark:bg-opacity-80","pointer-events-none",r),style:{top:"-20px",bottom:"-80px",WebkitMaskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))",maskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))"}}),i.createElement("div",{className:(0,l.c)("relative","z-[1]","p-4","landing-sm:px-8","landing-md:py-5")},i.createElement("div",{className:(0,l.c)("mx-auto","flex","items-center","justify-between","max-w-[896px]","landing-lg:max-w-[1200px]")},i.createElement("div",{className:(0,l.c)("w-[130px]","landing-lg:w-[200px]")},i.createElement(n.c,{to:"https://prepverse.vercel.app"},i.createElement(f.m,{className:"text-gray-900 dark:text-gray-0"}))),i.createElement("button",{type:"button",className:(0,l.c)("text-gray-900 dark:text-gray-0","block landing-md:hidden"),onClick:()=>m(!0)},i.createElement(s.m,null)),i.createElement("div",{className:(0,l.c)("hidden landing-md:flex","flex-1","items-center","gap-8")},i.createElement(w,{variant:t})),i.createElement("div",{className:(0,l.c)("hidden landing-md:flex","items-center","justify-end","gap-4","w-[130px]","landing-lg:w-[200px]")},i.createElement(X,null),i.createElement(T.C,null)),i.createElement(B,{isModalOpen:u,setIsModalOpen:m}))),e&&i.createElement("div",{className:(0,l.c)("w-full","h-[1.5px]","translate","bg-refine-react-3 dark:bg-refine-react-7")},i.createElement(o.q.div,{className:(0,l.c)("h-full","bg-refine-react-light-link dark:bg-refine-react-dark-link"),style:{width:b}}))))}},9253:(e,t,r)=>{r.d(t,{C:()=>i,O:()=>f});var n=r(1504),l=r(4971),a=r(9072),c=r(3756),o=r(5372);const i=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,a.U)();return n.createElement("button",{type:"button",className:(0,l.c)("appearance-none","focus:outline-none","relative","w-10 h-10","rounded-full","border","border-solid","border-gray-300 dark:border-gray-700","text-gray-500","transition-colors","duration-150","ease-in-out","overflow-hidden","flex-shrink-0","group",e),onClick:()=>{r("dark"===t?"light":"dark")}},n.createElement("div",{className:(0,l.c)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","translate-y-0","dark:-translate-y-10","duration-200","ease-in-out","transition-transform")},n.createElement(c.G,null)),n.createElement("div",{className:(0,l.c)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","-translate-y-10","dark:translate-y-0","duration-200","ease-in-out","transition-transform")},n.createElement(o.g,null)))},s=[{name:"light",icon:c.G,label:"Light"},{name:"dark",icon:o.g,label:"Dark"}],f=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,a.U)();return n.createElement("div",{className:(0,l.c)("flex","items-center","gap-4","justify-start",e)},s.map((({name:e,label:a,icon:c})=>n.createElement("button",{type:"button",key:e,className:(0,l.c)("appearance-none","focus:outline-none","py-1","pl-1.5","pr-3","flex","items-center","justify-center","gap-1","rounded-[40px]","text-gray-400","border border-solid","border-gray-200","dark:border-gray-600",t===e&&"bg-gray-100 dark:bg-gray-700"),onClick:()=>{r(e)}},n.createElement(c,{className:(0,l.c)("w-4 h-4")}),n.createElement("span",{className:(0,l.c)("text-sm")},a)))))}},7708:(e,t,r)=>{r.d(t,{o0:()=>b,yw:()=>m,wd:()=>p,AR:()=>d});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var f=r(6098),u=r(4252);const m=[{label:"Resources",items:[{label:"Getting Started",href:"https://prepverse.vercel.app/docs"},{label:"Blog",href:"https://prepverse.vercel.app/blog"},{label:"Project Showcase",icon:n.createElement(f.KU,null),href:"https://prepverse.vercel.app/showcase"},{label:"Community",icon:n.createElement(f.KU,null),href:"https://prepverse.vercel.app/prepverse-community"}]},{label:"Product",items:[{label:"CodePoint",icon:n.createElement(u.i,null),href:"https://prepverse.github.io/CodePoint"},{label:"LeetVerse",icon:n.createElement(u.i,null),href:"https://prepverse.github.io/LeetVerse"}]},{label:"About",items:[{label:"About Me",href:"https://prepverse.vercel.app/AkashSingh3031"},{label:"Portfolio",icon:n.createElement(u.i,null),href:"https://prepverse.github.io/portfolio"}]}],p=[{label:"License",href:"https://github.com/PrepVerse/prepverse.github.io/blob/master/LICENSE"}],b="Thank you for visiting, Connect with me over socials.",d=[{icon:e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{r.d(t,{w:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{g:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{i:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{A:()=>c,i:()=>o});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e){for(var t=1;tn.createElement("svg",a({width:12,height:12,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.053 0A10.904 10.904 0 0 0 3.89 2.685 11.34 11.34 0 0 0 .142 9.472a11.48 11.48 0 0 0 1.456 7.65 11.087 11.087 0 0 0 5.964 4.86c.556.103.752-.25.752-.547v-1.918C5.23 20.202 4.58 18 4.58 18a3.012 3.012 0 0 0-1.227-1.655c-.997-.692.081-.692.081-.692.35.05.683.18.975.382.293.202.536.469.713.78.15.278.352.523.595.721a2.312 2.312 0 0 0 2.618.221c.042-.57.283-1.105.678-1.509-2.454-.284-5.03-1.253-5.03-5.539a4.415 4.415 0 0 1 1.132-3.025A4.194 4.194 0 0 1 5.224 4.7s.928-.305 3.036 1.156c1.81-.508 3.72-.508 5.531 0 2.108-1.46 3.03-1.156 3.03-1.156.406.936.455 1.993.135 2.963a4.415 4.415 0 0 1 1.132 3.026c0 4.334-2.582 5.282-5.043 5.538.264.271.468.597.598.955.13.358.182.741.155 1.122V21.4c0 .367.196.65.759.54a11.093 11.093 0 0 0 5.88-4.878 11.481 11.481 0 0 0 1.419-7.6 11.34 11.34 0 0 0-3.71-6.746A10.907 10.907 0 0 0 11.053 0Z",fill:"currentColor"})),o=e=>n.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.066.001a11.91 11.91 0 0 1 7.745 2.966 12.326 12.326 0 0 1 4.032 7.33 12.46 12.46 0 0 1-1.54 8.245 12.088 12.088 0 0 1-6.406 5.314l-.105.037-.11.021c-.508.1-1.232.093-1.83-.422-.577-.498-.681-1.166-.681-1.565v-3.008l.004-.053a1.102 1.102 0 0 0-.062-.453 1.058 1.058 0 0 0-.235-.377l-.839-.86-.863.882a.802.802 0 0 0-.224.502l-.015.217v3.183c0 .434-.14 1.029-.628 1.492-.541.514-1.246.62-1.864.505l-.108-.02-.104-.035a12.082 12.082 0 0 1-6.498-5.296 12.457 12.457 0 0 1-1.58-8.298c.45-2.86 1.891-5.471 4.073-7.375A11.909 11.909 0 0 1 12.05.001h.016Zm-10.43 10.54a10.957 10.957 0 0 0 1.39 7.303 10.58 10.58 0 0 0 5.693 4.638c.53.099.717-.238.717-.522v-1.83c-.588.13-1.083.15-1.5.1a2.95 2.95 0 0 1-.542-.117 2.551 2.551 0 0 1-.422-.176 2.362 2.362 0 0 1-.82-.72c-.208-.294-.28-.535-.28-.535a2.876 2.876 0 0 0-1.17-1.58l-.016-.01c-.925-.65.093-.65.093-.65.106.015.21.038.313.068l.017.005a2.172 2.172 0 0 1 .962.603c.122.13.23.276.319.433a2.29 2.29 0 0 0 .68.775h.002s0 .001 0 0a2.211 2.211 0 0 0 2.385.124v-.014a2.302 2.302 0 0 1 .647-1.427 8.754 8.754 0 0 1-1.625-.328 4.865 4.865 0 0 1-1.416-.695 3.883 3.883 0 0 1-.432-.365c-.8-.786-1.328-2.002-1.328-3.899a4.214 4.214 0 0 1 1.08-2.887 4.003 4.003 0 0 1 .104-2.848s.886-.291 2.898 1.103a9.762 9.762 0 0 1 5.28 0c2.011-1.393 2.891-1.103 2.891-1.103.388.893.434 1.902.13 2.828a4.214 4.214 0 0 1 1.08 2.888c0 3.166-1.444 4.44-3.174 4.972a8.617 8.617 0 0 1-1.64.314 2.558 2.558 0 0 1 .699 1.425c.026.184.033.371.02.558v2.955c0 .35.187.62.724.515a10.588 10.588 0 0 0 5.613-4.656 10.958 10.958 0 0 0 1.354-7.254 10.824 10.824 0 0 0-3.541-6.439 10.41 10.41 0 0 0-6.77-2.592 10.408 10.408 0 0 0-6.837 2.563 10.824 10.824 0 0 0-3.578 6.478ZM16.374 7.8a8.003 8.003 0 0 0-.856.524l-.58.401-.679-.19a8.262 8.262 0 0 0-4.469 0l-.68.19-.58-.402a7.982 7.982 0 0 0-.846-.519c.019.186.059.37.12.549l.282.832-.588.653a2.714 2.714 0 0 0-.696 1.86v.024c0 1.724.503 2.513.998 2.937.563.481 1.397.736 2.476.86l1.567.182 1.954-.204c1.082-.112 1.912-.358 2.47-.833.492-.418.999-1.209.999-2.96v-.026a2.714 2.714 0 0 0-.696-1.86l-.582-.647.273-.826c.058-.178.096-.36.113-.545Z",clipRule:"evenodd"}))},1980:(e,t,r)=>{r.d(t,{m:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{Q:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{G:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{s1:()=>o,wR:()=>s,QD:()=>u,vn:()=>p,kv:()=>d,uI:()=>h,A9:()=>v,_2:()=>y,Ew:()=>x,Yf:()=>P,oh:()=>k,Ed:()=>H,BE:()=>L,KU:()=>B,WR:()=>V,w9:()=>F,CC:()=>W,AH:()=>U,oz:()=>J,C3:()=>q});var n=r(1504);var l=r(4971);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const o=e=>n.createElement("svg",c(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const{colorMode:t}=(0,S.U)();return n.createElement("div",{className:(0,l.c)("relative","flex","items-center","justify-center","rounded-full","overflow-hidden","p-px","dark:bg-[#194b3a] bg-[#b7dbff]"),style:{transform:"translateZ(0)"}},n.createElement("div",{className:(0,l.c)("z-[1]","absolute","inset-0","dark:bg-new-badge-border-dark bg-new-badge-border-light","animate-new-badge-border")}),n.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}var G,R;const V=e=>{var{variant:t="landing"}=e,r=Z(e,["variant"]);return n.createElement("svg",D(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",I(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{r.d(t,{m:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{E:()=>b});var n=r(4971),l=r(1504),a=r(9184),c=r(7708),o=r(204);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const s=e=>l.createElement("svg",function(e){for(var t=1;t{const t=l.createElement("div",{className:(0,n.c)("py-6 landing-lg:py-0","flex","flex-col","gap-4","landing-lg:max-w-[224px]")},l.createElement("div",{className:(0,n.c)("font-semibold","text-sm","leading-6","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},"Contacts"),l.createElement("a",{href:"https://wa.me/+919794423031",target:"_blank",className:(0,n.c)("font-normal","text-sm","leading-5","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},"+91 9794423031"),l.createElement("a",{href:"https://mail.google.com/mail/u/0/?fs=1&to=codewithsky@gmail.com&tf=cm",target:"_blank",className:(0,n.c)("font-normal","text-sm","leading-5","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:180,height:40,viewBox:"0 0 180 40",fill:"none"},l.createElement("text",{x:"1",y:"15",fontFamily:"Arial, sans-serif",fontSize:"16",fill:"currentColor"},"codewithsky@gmail.com")))),r=l.createElement("div",{className:(0,n.c)("py-6 landing-lg:py-0","flex","flex-col","landing-sm:items-end")},l.createElement("div",{className:(0,n.c)("flex","flex-col","gap-4")},l.createElement("div",{className:(0,n.c)("text-sm","leading-6","font-semibold","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3","landing-lg:text-right")},"Connect with me on"),l.createElement("div",{className:(0,n.c)("flex","items-center","gap-8","landing-lg:gap-4","justify-start")},c.AR.map((({href:t,icon:r})=>l.createElement("a",{href:t,key:t,target:"_blank",rel:"noreferrer",className:(0,n.c)("landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},l.createElement(r,{className:(0,n.c)("w-6 h-6","landing-lg:w-8 landing-lg:h-8")})))))));return l.createElement("footer",{className:(0,n.c)("w-full")},l.createElement("div",{className:(0,n.c)("border-t border-t-solid","landing"===e&&"border-t-gray-100 dark:border-t-gray-700","blog"===e&&"border-t-refine-react-3 dark:border-t-refine-react-7","landing"===e&&"dark:bg-footer-landing-dark-bg","blog"===e&&"bg-footer-blog-light-bg dark:bg-footer-blog-dark-bg")},l.createElement("div",{className:(0,n.c)("grid","grid-cols-1","max-w-screen-landing-md","landing-lg:max-w-screen-landing-lg","mx-auto")},l.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8 landing-lg:px-12","py-4 landing-lg:py-6","flex","items-center","justify-between")},l.createElement(a.c,{to:"https://prepverse.vercel.app",className:(0,n.c)("hover:no-underline","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},l.createElement(f.m,null)),l.createElement("a",{href:"https://github.com/sponsors/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,n.c)("hover:no-underline")},l.createElement(s,null))),l.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8 landing-lg:px-12","flex","flex-row","flex-wrap","items-start","justify-start","text-gray-500 dark:text-gray-500")},c.o0),l.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8 landing-lg:px-12","py-6 landing-lg:pt-8 landing-lg:pb-12","flex","flex-row","flex-wrap","items-start","justify-start","gap-6")},l.createElement("div",{className:(0,n.c)("hidden","landing-lg:flex","max-w-[282px]","w-full")},t),c.yw.map((t=>l.createElement("div",{className:(0,n.c)("flex flex-col gap-4","min-w-[152px]"),key:t.label},l.createElement("div",{className:(0,n.c)("text-sm","leading-6","font-semibold","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},t.label),l.createElement("div",{className:(0,n.c)("flex","flex-col","gap-2")},t.items.map((t=>l.createElement("a",p(m({href:t.href,key:t.label},t.href.startsWith("http")?{target:"_blank",rel:"noopener noreferrer"}:{}),{className:(0,n.c)("text-sm","leading-5","hover:no-underline","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300")}),l.createElement("div",{className:(0,n.c)("flex","items-center","gap-2")},t.label,t.icon)))))))),l.createElement("div",{className:(0,n.c)("hidden","landing-lg:flex","ml-auto")},r)),l.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8","grid","grid-cols-1","landing-sm:grid-cols-2","landing-sm:gap-8","landing-lg:hidden")},t,r))),l.createElement("div",{className:(0,n.c)("border-t border-t-solid","landing"===e&&"border-t-gray-100 dark:border-t-gray-700","blog"===e&&"border-t-gray-100 dark:border-t-gray-700","landing"===e&&"bg-gray-50 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-8")},l.createElement("div",{className:(0,n.c)("py-6 landing-sm:py-8 landing-lg:py-6","px-4 landing-sm:px-8 landing-lg:px-12","grid","grid-cols-1","landing-md:grid-cols-2","gap-8","max-w-screen-landing-md","landing-lg:max-w-screen-landing-lg","mx-auto")},l.createElement("div",{className:(0,n.c)("flex","flex-col","landing-sm:flex-row","gap-4","items-start","justify-start")},c.wd.map((t=>l.createElement("a",p(m({href:t.href,key:t.label},t.href.startsWith("http")?{target:"_blank",rel:"noopener noreferrer"}:{}),{className:(0,n.c)("text-sm","leading-5","font-normal","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:no-underline","hover:text-gray-800 dark:hover:text-gray-300")}),t.label)))),l.createElement("div",{className:(0,n.c)("text-left","landing-md:text-right","text-sm","pr-6 landing-sm:pr-0","leading-5","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3","font-normal")},l.createElement("div",{className:(0,n.c)("text-base","text-gray-500 dark:text-gray-400")},"Copyright \xa9 ",(new Date).getFullYear()," PrepVerse"," ",l.createElement(o.Q,{className:"text-refine-red ml-2 inline leading-6"}),l.createElement("br",null),"Built with Docusaurus & Refine.")))))}},6936:(e,t,r)=>{r.d(t,{c:()=>i});var n=r(4971),l=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const i=e=>{var{className:t,wrapperProps:r}=e,a=o(e,["className","wrapperProps"]);return l.createElement("div",c({role:"status"},r),l.createElement("svg",c({"aria-hidden":"true",width:24,height:24,viewBox:"0 0 100 100",className:(0,n.c)("text-gray-200 animate-spin dark:text-gray-600 fill-refine-blue",t),fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),l.createElement("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),l.createElement("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})),l.createElement("span",{className:"sr-only"},"Loading..."))}},252:(e,t,r)=>{r.d(t,{Q:()=>i});var n=r(4971),l=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){for(var t=1;tl.createElement("div",{className:(0,n.c)("w-full h-12","relative","bg-top-announcement","not-prose","font-inter","z-top-announcement")},l.createElement("div",{className:(0,n.c)("hidden lg:flex","w-full h-full","max-w-screen","overflow-hidden","border-b border-solid border-[#47ebeb26]","top-announcement-mask")},l.createElement("div",{className:(0,n.c)("w-[1280px] h-full","mx-auto","flex","justify-between")},l.createElement("div",{className:(0,n.c)("w-[calc(50%-300px)] h-full","relative")},l.createElement(f,{style:{animationDelay:"1.5s"},className:(0,n.c)("absolute","top-[2px]","right-[220px]"),id:"1"}),l.createElement(f,{style:{animationDelay:"1s"},className:(0,n.c)("absolute","rotate-180","top-[8px] right-[100px]"),id:"2"}),l.createElement(u,{className:(0,n.c)("absolute","right-[10px]"),id:"3"})),l.createElement("div",{className:(0,n.c)("w-[calc(50%-300px)] h-full","relative")},l.createElement(f,{style:{animationDelay:"2s"},className:(0,n.c)("absolute","rotate-180","top-[6px] right-[180px]"),id:"4"}),l.createElement(f,{style:{animationDelay:"0.5s"},className:(0,n.c)("delay-[1300]","absolute","top-[2px]","right-[40px]"),id:"5"}),l.createElement(u,{className:(0,n.c)("absolute","right-[-70px]"),id:"6"})))),l.createElement(s,null)),s=()=>l.createElement("a",{href:"https://prepverse.vercel.app/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,n.c)("relative lg:absolute","px-2 lg:px-0","top-0","left-[50%]","translate-x-[-50%]","bg-top-announcement-text","h-full w-full lg:w-[450px]","flex items-center justify-center","text-white","text-xs sm:text-sm","text-center","no-underline","hover:no-underline","hover:text-white","not-prose")},l.createElement("div",{className:(0,n.c)("ml-2","not-prose")},"For more updates follow","",l.createElement("span",{className:(0,n.c)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")},"@AkashSingh3031"),".")),f=e=>l.createElement("svg",o(c({xmlns:"http://www.w3.org/2000/svg",width:80,height:40,fill:"none"},e),{className:(0,n.c)("animate-top-announcement-glow","opacity-1",e.className)}),l.createElement("circle",{cx:40,r:40,fill:`url(#${e.id}-a)`,fillOpacity:.5}),l.createElement("defs",null,l.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 40 -40 0 40 0)",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{stopColor:"#47EBEB"}),l.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0})))),u=e=>l.createElement("svg",o(c({xmlns:"http://www.w3.org/2000/svg",width:120,height:48,fill:"none"},e),{className:(0,n.c)("animate-top-announcement-glow","opacity-1",e.className)}),l.createElement("circle",{cx:60,cy:24,r:60,fill:`url(#${e.id}-a)`,fillOpacity:.5}),l.createElement("defs",null,l.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 60 -60 0 60 24)",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{stopColor:"#47EBEB"}),l.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0}))))}}]); \ No newline at end of file diff --git a/assets/js/be8f254a.562853a2.js b/assets/js/be8f254a.562853a2.js new file mode 100644 index 00000000..3abca2c4 --- /dev/null +++ b/assets/js/be8f254a.562853a2.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[9077],{5788:(a,t,e)=>{e.d(t,{Iu:()=>u,yg:()=>d});var n=e(1504);function r(a,t,e){return t in a?Object.defineProperty(a,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):a[t]=e,a}function l(a,t){var e=Object.keys(a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(a);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(a,t).enumerable}))),e.push.apply(e,n)}return e}function i(a){for(var t=1;t=0||(r[e]=a[e]);return r}(a,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(a);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(a,e)&&(r[e]=a[e])}return r}var y=n.createContext({}),o=function(a){var t=n.useContext(y),e=t;return a&&(e="function"==typeof a?a(t):i(i({},t),a)),e},u=function(a){var t=o(a.components);return n.createElement(y.Provider,{value:t},a.children)},m="mdxType",s={inlineCode:"code",wrapper:function(a){var t=a.children;return n.createElement(n.Fragment,{},t)}},p=n.forwardRef((function(a,t){var e=a.components,r=a.mdxType,l=a.originalType,y=a.parentName,u=g(a,["components","mdxType","originalType","parentName"]),m=o(e),p=r,d=m["".concat(y,".").concat(p)]||m[p]||s[p]||l;return e?n.createElement(d,i(i({ref:t},u),{},{components:e})):n.createElement(d,i({ref:t},u))}));function d(a,t){var e=arguments,r=t&&t.mdxType;if("string"==typeof a||r){var l=e.length,i=new Array(l);i[0]=p;var g={};for(var y in t)hasOwnProperty.call(t,y)&&(g[y]=t[y]);g.originalType=a,g[m]="string"==typeof a?a:r,i[1]=g;for(var o=2;o{e.r(t),e.d(t,{assets:()=>u,contentTitle:()=>y,default:()=>d,frontMatter:()=>g,metadata:()=>o,toc:()=>m});e(1504);var n=e(5788);function r(a,t,e){return t in a?Object.defineProperty(a,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):a[t]=e,a}function l(a,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(t)):function(a,t){var e=Object.keys(a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(a);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(a,t).enumerable}))),e.push.apply(e,n)}return e}(Object(t)).forEach((function(e){Object.defineProperty(a,e,Object.getOwnPropertyDescriptor(t,e))})),a}function i(a,t){if(null==a)return{};var e,n,r=function(a,t){if(null==a)return{};var e,n,r={},l=Object.keys(a);for(n=0;n=0||(r[e]=a[e]);return r}(a,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(a);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(a,e)&&(r[e]=a[e])}return r}const g={title:"The Complete Life Cycle of Creator God Brahma",description:"Exploring the Complete Life Cycle of Brahma & the Age of the Universe According to Vedas",slug:"god-brahma",authors:"AkashSingh3031",tags:["Creator","God","Brahma","Universe","Bharat"],is_featured:!0,image:"https://i.redd.it/9rvim06rvdwb1.jpg",hide_table_of_contents:!1},y=void 0,o={permalink:"/blog/god-brahma",source:"@site/blog/2024-02-18-lifecycle-of-creator-god-brahma.md",title:"The Complete Life Cycle of Creator God Brahma",description:"Exploring the Complete Life Cycle of Brahma & the Age of the Universe According to Vedas",date:"2024-02-18T00:00:00.000Z",formattedDate:"February 18, 2024",tags:[{label:"Creator",permalink:"/blog/tags/creator"},{label:"God",permalink:"/blog/tags/god"},{label:"Brahma",permalink:"/blog/tags/brahma"},{label:"Universe",permalink:"/blog/tags/universe"},{label:"Bharat",permalink:"/blog/tags/bharat"}],readingTime:8.63,hasTruncateMarker:!1,authors:[{name:"Akash Singh",title:"Founder, PrepVerse",github:"https://github.com/AkashSingh3031",linkedin:"https://www.linkedin.com/in/akashsingh3031",twitter:"https://x.com/akashsingh3031",imageURL:"https://github.com/AkashSingh3031.png",key:"AkashSingh3031"}],frontMatter:{title:"The Complete Life Cycle of Creator God Brahma",description:"Exploring the Complete Life Cycle of Brahma & the Age of the Universe According to Vedas",slug:"god-brahma",authors:"AkashSingh3031",tags:["Creator","God","Brahma","Universe","Bharat"],is_featured:!0,image:"https://i.redd.it/9rvim06rvdwb1.jpg",hide_table_of_contents:!1},prevItem:{title:"Two Sum Explained",permalink:"/blog/two-sum"},nextItem:{title:"The History of Bharatvarsha",permalink:"/blog/bharatvarsha"},relatedPosts:[{title:"The History of Bharatvarsha",description:"A Journey Through the History of Bharatvarsha from Satyug",permalink:"/blog/bharatvarsha",formattedDate:"February 1, 2024",authors:[{name:"Akash Singh",title:"Founder, PrepVerse",github:"https://github.com/AkashSingh3031",linkedin:"https://www.linkedin.com/in/akashsingh3031",twitter:"https://x.com/akashsingh3031",imageURL:"https://github.com/AkashSingh3031.png",key:"AkashSingh3031"}],readingTime:3.3,date:"2024-02-01T00:00:00.000Z"}],authorPosts:[{title:"The History of Bharatvarsha",description:"A Journey Through the History of Bharatvarsha from Satyug",permalink:"/blog/bharatvarsha",formattedDate:"February 1, 2024",authors:[{name:"Akash Singh",title:"Founder, PrepVerse",github:"https://github.com/AkashSingh3031",linkedin:"https://www.linkedin.com/in/akashsingh3031",twitter:"https://x.com/akashsingh3031",imageURL:"https://github.com/AkashSingh3031.png",key:"AkashSingh3031"}],readingTime:3.3,date:"2024-02-01T00:00:00.000Z"},{title:"Two Sum Explained",description:"DSA problem two sum explained",permalink:"/blog/two-sum",formattedDate:"August 7, 2024",authors:[{name:"Akash Singh",title:"Founder, PrepVerse",github:"https://github.com/AkashSingh3031",linkedin:"https://www.linkedin.com/in/akashsingh3031",twitter:"https://x.com/akashsingh3031",imageURL:"https://github.com/AkashSingh3031.png",key:"AkashSingh3031"}],readingTime:2.945,date:"2024-08-07T00:00:00.000Z"}]},u={authorsImageUrls:[void 0]},m=[{value:"100 Years (Lifespan: 2 Parardhas) of Brahma:",id:"100-years-lifespan-2-parardhas-of-brahma",level:3},{value:"50 Years (Parardhas) of Brahma:",id:"50-years-parardhas-of-brahma",level:3},{value:"1 Year of Brahma:",id:"1-year-of-brahma",level:3},{value:"1 Month of Brahma:",id:"1-month-of-brahma",level:3},{value:"1 Day(Kalpa) and 1 Night (Pralaya) of Brahma:",id:"1-daykalpa-and-1-night-pralaya-of-brahma",level:3},{value:"Maha-Kalpa and Maha-Pralaya:",id:"maha-kalpa-and-maha-pralaya",level:3},{value:"Current State within Brahma's Life Cycle:",id:"current-state-within-brahmas-life-cycle",level:2},{value:"Start date of current Kali Yuga:",id:"start-date-of-current-kali-yuga",level:2},{value:"Time Scales Between Humans and Brahma in Hindu Cosmology",id:"time-scales-between-humans-and-brahma-in-hindu-cosmology",level:2}],s={toc:m},p="wrapper";function d(a){var{components:t}=a,g=i(a,["components"]);return(0,n.yg)(p,l(function(a){for(var t=1;t{e.d(t,{c:()=>n});const n=e.p+"assets/images/BHALKA-d74d941a00e1d5ddec78c16a0f2d43b4.jpg"},5724:(a,t,e)=>{e.d(t,{c:()=>n});const n=e.p+"assets/images/God-Brahma-Lifecycle-7eb8c86b506d92e1986f56a018e255c1.png"},3712:(a,t,e)=>{e.d(t,{c:()=>n});const n=e.p+"assets/images/chatur-yuga-duration-04a7ccad6d16221847299c6fd2e3c078.png"},4700:(a,t,e)=>{e.d(t,{c:()=>n});const n=e.p+"assets/images/kali-yuga-duration-91eb26ae67cf727aa054f60ec8698dcf.png"},9904:(a,t,e)=>{e.d(t,{c:()=>n});const n=e.p+"assets/images/kalpa-duration-a7c424d93c104818edefae6311dbd6a1.png"},8864:(a,t,e)=>{e.d(t,{c:()=>n});const n=e.p+"assets/images/manavantara-duration-587a0311e3edcdc03a77f0aed782fd6d.png"}}]); \ No newline at end of file diff --git a/assets/js/be8f254a.8c8791c0.js b/assets/js/be8f254a.8c8791c0.js deleted file mode 100644 index cc1c670d..00000000 --- a/assets/js/be8f254a.8c8791c0.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[9077],{5788:(a,t,e)=>{e.d(t,{Iu:()=>u,yg:()=>d});var n=e(1504);function r(a,t,e){return t in a?Object.defineProperty(a,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):a[t]=e,a}function l(a,t){var e=Object.keys(a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(a);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(a,t).enumerable}))),e.push.apply(e,n)}return e}function i(a){for(var t=1;t=0||(r[e]=a[e]);return r}(a,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(a);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(a,e)&&(r[e]=a[e])}return r}var y=n.createContext({}),o=function(a){var t=n.useContext(y),e=t;return a&&(e="function"==typeof a?a(t):i(i({},t),a)),e},u=function(a){var t=o(a.components);return n.createElement(y.Provider,{value:t},a.children)},m="mdxType",s={inlineCode:"code",wrapper:function(a){var t=a.children;return n.createElement(n.Fragment,{},t)}},p=n.forwardRef((function(a,t){var e=a.components,r=a.mdxType,l=a.originalType,y=a.parentName,u=g(a,["components","mdxType","originalType","parentName"]),m=o(e),p=r,d=m["".concat(y,".").concat(p)]||m[p]||s[p]||l;return e?n.createElement(d,i(i({ref:t},u),{},{components:e})):n.createElement(d,i({ref:t},u))}));function d(a,t){var e=arguments,r=t&&t.mdxType;if("string"==typeof a||r){var l=e.length,i=new Array(l);i[0]=p;var g={};for(var y in t)hasOwnProperty.call(t,y)&&(g[y]=t[y]);g.originalType=a,g[m]="string"==typeof a?a:r,i[1]=g;for(var o=2;o{e.r(t),e.d(t,{assets:()=>u,contentTitle:()=>y,default:()=>d,frontMatter:()=>g,metadata:()=>o,toc:()=>m});e(1504);var n=e(5788);function r(a,t,e){return t in a?Object.defineProperty(a,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):a[t]=e,a}function l(a,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(t)):function(a,t){var e=Object.keys(a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(a);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(a,t).enumerable}))),e.push.apply(e,n)}return e}(Object(t)).forEach((function(e){Object.defineProperty(a,e,Object.getOwnPropertyDescriptor(t,e))})),a}function i(a,t){if(null==a)return{};var e,n,r=function(a,t){if(null==a)return{};var e,n,r={},l=Object.keys(a);for(n=0;n=0||(r[e]=a[e]);return r}(a,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(a);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(a,e)&&(r[e]=a[e])}return r}const g={title:"The Complete Life Cycle of Creator God Brahma",description:"Exploring the Complete Life Cycle of Brahma & the Age of the Universe According to Vedas",slug:"god-brahma",authors:"AkashSingh3031",tags:["Creator","God","Brahma","Universe","Bharat"],is_featured:!0,image:"https://i.redd.it/9rvim06rvdwb1.jpg",hide_table_of_contents:!1},y=void 0,o={permalink:"/blog/god-brahma",source:"@site/blog/2024-02-18-lifecycle-of-creator-god-brahma.md",title:"The Complete Life Cycle of Creator God Brahma",description:"Exploring the Complete Life Cycle of Brahma & the Age of the Universe According to Vedas",date:"2024-02-18T00:00:00.000Z",formattedDate:"February 18, 2024",tags:[{label:"Creator",permalink:"/blog/tags/creator"},{label:"God",permalink:"/blog/tags/god"},{label:"Brahma",permalink:"/blog/tags/brahma"},{label:"Universe",permalink:"/blog/tags/universe"},{label:"Bharat",permalink:"/blog/tags/bharat"}],readingTime:8.63,hasTruncateMarker:!1,authors:[{name:"Akash Singh",title:"Founder, PrepVerse",github:"https://github.com/AkashSingh3031",linkedin:"https://www.linkedin.com/in/akashsingh3031",twitter:"https://x.com/akashsingh3031",imageURL:"https://github.com/AkashSingh3031.png",key:"AkashSingh3031"}],frontMatter:{title:"The Complete Life Cycle of Creator God Brahma",description:"Exploring the Complete Life Cycle of Brahma & the Age of the Universe According to Vedas",slug:"god-brahma",authors:"AkashSingh3031",tags:["Creator","God","Brahma","Universe","Bharat"],is_featured:!0,image:"https://i.redd.it/9rvim06rvdwb1.jpg",hide_table_of_contents:!1},nextItem:{title:"The History of Bharatvarsha",permalink:"/blog/bharatvarsha"},relatedPosts:[{title:"The History of Bharatvarsha",description:"A Journey Through the History of Bharatvarsha from Satyug",permalink:"/blog/bharatvarsha",formattedDate:"February 1, 2024",authors:[{name:"Akash Singh",title:"Founder, PrepVerse",github:"https://github.com/AkashSingh3031",linkedin:"https://www.linkedin.com/in/akashsingh3031",twitter:"https://x.com/akashsingh3031",imageURL:"https://github.com/AkashSingh3031.png",key:"AkashSingh3031"}],readingTime:3.3,date:"2024-02-01T00:00:00.000Z"}],authorPosts:[{title:"The History of Bharatvarsha",description:"A Journey Through the History of Bharatvarsha from Satyug",permalink:"/blog/bharatvarsha",formattedDate:"February 1, 2024",authors:[{name:"Akash Singh",title:"Founder, PrepVerse",github:"https://github.com/AkashSingh3031",linkedin:"https://www.linkedin.com/in/akashsingh3031",twitter:"https://x.com/akashsingh3031",imageURL:"https://github.com/AkashSingh3031.png",key:"AkashSingh3031"}],readingTime:3.3,date:"2024-02-01T00:00:00.000Z"}]},u={authorsImageUrls:[void 0]},m=[{value:"100 Years (Lifespan: 2 Parardhas) of Brahma:",id:"100-years-lifespan-2-parardhas-of-brahma",level:3},{value:"50 Years (Parardhas) of Brahma:",id:"50-years-parardhas-of-brahma",level:3},{value:"1 Year of Brahma:",id:"1-year-of-brahma",level:3},{value:"1 Month of Brahma:",id:"1-month-of-brahma",level:3},{value:"1 Day(Kalpa) and 1 Night (Pralaya) of Brahma:",id:"1-daykalpa-and-1-night-pralaya-of-brahma",level:3},{value:"Maha-Kalpa and Maha-Pralaya:",id:"maha-kalpa-and-maha-pralaya",level:3},{value:"Current State within Brahma's Life Cycle:",id:"current-state-within-brahmas-life-cycle",level:2},{value:"Start date of current Kali Yuga:",id:"start-date-of-current-kali-yuga",level:2},{value:"Time Scales Between Humans and Brahma in Hindu Cosmology",id:"time-scales-between-humans-and-brahma-in-hindu-cosmology",level:2}],s={toc:m},p="wrapper";function d(a){var{components:t}=a,g=i(a,["components"]);return(0,n.yg)(p,l(function(a){for(var t=1;t{e.d(t,{c:()=>n});const n=e.p+"assets/images/BHALKA-d74d941a00e1d5ddec78c16a0f2d43b4.jpg"},5724:(a,t,e)=>{e.d(t,{c:()=>n});const n=e.p+"assets/images/God-Brahma-Lifecycle-7eb8c86b506d92e1986f56a018e255c1.png"},3712:(a,t,e)=>{e.d(t,{c:()=>n});const n=e.p+"assets/images/chatur-yuga-duration-04a7ccad6d16221847299c6fd2e3c078.png"},4700:(a,t,e)=>{e.d(t,{c:()=>n});const n=e.p+"assets/images/kali-yuga-duration-91eb26ae67cf727aa054f60ec8698dcf.png"},9904:(a,t,e)=>{e.d(t,{c:()=>n});const n=e.p+"assets/images/kalpa-duration-a7c424d93c104818edefae6311dbd6a1.png"},8864:(a,t,e)=>{e.d(t,{c:()=>n});const n=e.p+"assets/images/manavantara-duration-587a0311e3edcdc03a77f0aed782fd6d.png"}}]); \ No newline at end of file diff --git a/assets/js/c0123cd6.548011c4.js b/assets/js/c0123cd6.548011c4.js new file mode 100644 index 00000000..6127af7b --- /dev/null +++ b/assets/js/c0123cd6.548011c4.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[8696],{4040:e=>{e.exports=JSON.parse('{"label":"LeetCode","permalink":"/blog/tags/leet-code","allTagsPath":"/blog/tags","count":1}')}}]); \ No newline at end of file diff --git a/assets/js/c1d171ff.74f3857c.js b/assets/js/c1d171ff.1af065b1.js similarity index 71% rename from assets/js/c1d171ff.74f3857c.js rename to assets/js/c1d171ff.1af065b1.js index 2fa47f39..5179f3c4 100644 --- a/assets/js/c1d171ff.74f3857c.js +++ b/assets/js/c1d171ff.1af065b1.js @@ -1 +1 @@ -(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[4040],{6324:(e,t,r)=>{var n={"./plugin-route-context-module-100.json":[4634,4634]};function l(e){if(!r.o(n,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=n[e],l=t[0];return r.e(t[1]).then((()=>r.t(l,19)))}l.keys=()=>Object.keys(n),l.id=6324,e.exports=l},6280:(e,t,r)=>{"use strict";r.d(t,{c:()=>u});var n=r(1504),l=r(4971),a=r(3652),c=r(5628),o=r(476),i=r(1580);const s={backToTopButton:"backToTopButton_sjWU",backToTopButtonShow:"backToTopButtonShow_xfvO"};function u(){const{shown:e,scrollToTop:t}=function({threshold:e}){const[t,r]=(0,n.useState)(!1),l=(0,n.useRef)(!1),{startScroll:a,cancelScroll:c}=(0,o.yI)();return(0,o.SM)((({scrollY:t},n)=>{var a;const o=null===(a=n)||void 0===a?void 0:a.scrollY;o&&(l.current?l.current=!1:t>=o?(c(),r(!1)):t{e.location.hash&&(l.current=!0,r(!1))})),{shown:t,scrollToTop:()=>a(0)}}({threshold:300});return n.createElement("button",{"aria-label":(0,a.G)({id:"theme.BackToTopButton.buttonAriaLabel",message:"Scroll back to top",description:"The ARIA label for the back to top button"}),className:(0,l.c)("clean-btn",c.W.common.backToTopButton,s.backToTopButton,e&&s.backToTopButtonShow),type:"button",onClick:t})}},3270:(e,t,r)=>{"use strict";r.d(t,{c:()=>c});var n=r(1504),l=r(1080),a=r(468);function c({children:e,className:t}){const{frontMatter:r,assets:c}=(0,a.g)(),{withBaseUrl:o}=(0,l.E)();var i;const s=null!==(i=c.image)&&void 0!==i?i:r.image;return n.createElement("article",{className:t,itemProp:"blogPost",itemScope:!0,itemType:"http://schema.org/BlogPosting"},s&&n.createElement("meta",{itemProp:"image",content:o(s,{absolute:!0})}),e)}},468:(e,t,r)=>{"use strict";r.d(t,{E:()=>c,g:()=>o});var n=r(1504),l=r(8476);const a=n.createContext(null);function c({children:e,content:t,isBlogPostPage:r=!1}){const l=function({content:e,isBlogPostPage:t}){return(0,n.useMemo)((()=>({metadata:e.metadata,frontMatter:e.frontMatter,assets:e.assets,toc:e.toc,isBlogPostPage:t})),[e,t])}({content:t,isBlogPostPage:r});return n.createElement(a.Provider,{value:l},e)}function o(){const e=(0,n.useContext)(a);if(null===e)throw new l.AH("BlogPostProvider");return e}},3688:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(1504),l=r(9936);const a=["zero","one","two","few","many","other"];function c(e){return a.filter((t=>e.includes(t)))}const o={locale:"en",pluralForms:c(["one","other"]),select:e=>1===e?"one":"other"};function i(){const{i18n:{currentLocale:e}}=(0,l.c)();return(0,n.useMemo)((()=>{try{return function(e){const t=new Intl.PluralRules(e);return{locale:e,pluralForms:c(t.resolvedOptions().pluralCategories),select:e=>t.select(e)}}(e)}catch(t){return console.error(`Failed to use Intl.PluralRules for locale "${e}".\nDocusaurus will fallback to the default (English) implementation.\nError: ${t.message}\n`),o}}),[e])}function s(){const e=i();return{selectMessage:(t,r)=>function(e,t,r){const n=e.split("|");if(1===n.length)return n[0];n.length>r.pluralForms.length&&console.error(`For locale=${r.locale}, a maximum of ${r.pluralForms.length} plural forms are expected (${r.pluralForms.join(",")}), but the message contains ${n.length}: ${e}`);const l=r.select(t),a=r.pluralForms.indexOf(l);return n[Math.min(a,n.length-1)]}(r,t,e)}}},5904:(e,t,r)=>{"use strict";r.d(t,{I7:()=>a,kz:()=>o,aI:()=>u,sL:()=>m,uU:()=>Ye,UZ:()=>Xe,sH:()=>Ie,W4:()=>Ke,g3:()=>qe,Ou:()=>Gt,M7:()=>b,gv:()=>$e,U7:()=>Dt,K6:()=>jt,sT:()=>h,Dp:()=>v,m4:()=>E,Yv:()=>k,UJ:()=>N,QR:()=>rt,y:()=>S,AD:()=>lt,WA:()=>D,ai:()=>Rt,m0:()=>M,Gg:()=>B,kB:()=>T,mK:()=>F,em:()=>I,E5:()=>zt,sP:()=>Ft,_$:()=>X,gF:()=>Q,Iv:()=>$,Qh:()=>te,yK:()=>st,sW:()=>ft,Uf:()=>le,cF:()=>pt,aA:()=>ce,mO:()=>se,I1:()=>fe,_A:()=>de,CS:()=>ot,U$:()=>yt,yw:()=>gt,wA:()=>Mt,yM:()=>be,Ep:()=>ye,qy:()=>xt,sN:()=>Ce,Cu:()=>we,qQ:()=>je,oe:()=>Ve,Oq:()=>Ae,yS:()=>Le,Og:()=>Be,kn:()=>Te,od:()=>St});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const u=e=>{var{withBrandColor:t=!0}=e,r=s(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const b=e=>{var{withBrandColor:t=!0}=e,r=p(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const E=e=>{var{className:t}=e,r=x(e,["className"]);return n.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const k=e=>{var{className:t}=e,r=P(e,["className"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const B=e=>{var{withBrandColor:t=!0}=e,r=z(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",V(function(e){for(var t=1;tn.createElement("svg",W(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",K(function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const $=e=>{var{withBrandColor:t=!0}=e,r=_(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const le=e=>{var{withBrandColor:t=!0}=e,r=ne(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",ie(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const ye=e=>{var{className:t}=e,r=he(e,["className"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",Oe(function(e){for(var t=1;tn.createElement("svg",Ee(function(e){for(var t=1;tn.createElement("svg",ke(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",tt(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",ct(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",dt(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const xt=e=>{var{className:t}=e,r=wt(e,["className"]);return n.createElement("svg",Ot(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>p});var n=r(1504),l=r(7328),a=r(9936),c=r(6684),o=r(6108),i=r(2668),s=r(1628),u=r(4971),f=r(9184),m=r(2460);const d=()=>{const{siteConfig:{title:e,tagline:t}}=(0,a.c)();return n.createElement(n.Fragment,null,n.createElement(c.U7,{title:e,description:t}),n.createElement(o.c,{tag:"author_blog_posts_list"}))},p=e=>{const{items:t}=e,r=t[0].content.metadata.authors[0];return n.createElement(n.Fragment,null,n.createElement(d,null),n.createElement(l.c,{showSidebarBanner:!1},n.createElement("div",{className:"h-12"}),n.createElement(f.c,{to:"/blog",className:(0,u.c)("text-gray-500 dark:text-gray-400","text-sm no-underline","flex","items-center","gap-2","px-4")},n.createElement(m.Ux,null)," Back to blog"),n.createElement(s.qu,{author:r}),n.createElement("div",{className:(0,u.c)("pt-4 blog-md:pt-4","px-4")},n.createElement("h1",{className:"!mb-0"}," Posts ")),n.createElement("div",{className:(0,u.c)("px-4","blog-md:px-7","blog-2xl:px-0")},n.createElement(i.c,{items:t,showTitle:!1,isAuthorPage:!0}))))}},1904:(e,t,r)=>{"use strict";r.d(t,{iI:()=>l,S_:()=>o});var n=r(1504);function l({date:e,formattedDate:t}){return n.createElement("time",{dateTime:e,itemProp:"datePublished"},t)}var a=r(3688),c=r(3652);function o({readingTime:e}){const t=function(){const{selectMessage:e}=(0,a.A)();return t=>{const r=Math.ceil(t);return e(r,(0,c.G)({id:"theme.blog.post.readingTime.plurals",description:'Pluralized label for "{readingTime} min read". Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)',message:"One min read|{readingTime} min read"},{readingTime:r}))}}();return n.createElement(n.Fragment,null,t(e))}},4752:(e,t,r)=>{"use strict";r.d(t,{c:()=>a});var n=r(1504),l=r(9184);const a=()=>n.createElement("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4 md:gap-0 h-auto md:h-[150px] bg-[#5865F2] w-full rounded-2xl py-5 px-5 md:px-12"},n.createElement("div",{className:"flex items-center gap-16"},n.createElement("img",{className:"hidden md:block",src:"/img/blog-static/discord-banner.png",alt:"Discord Logo"}),n.createElement("div",{className:"text-white font-montserrat font-bold max-w-md text-center md:text-left"},n.createElement("h1",{className:"text-2xl uppercase leading-tight mb-0 font-montserrat"},"Join to refine discord server"),n.createElement("p",{className:"mb-0 text-base"},"to get help, share ideas, and discuss the latest news."))),n.createElement(l.c,{to:"https://discord.gg/refine"},n.createElement("button",{className:"bg-transparent text-white font-bold py-2 px-4 rounded-lg h-12 w-44 border-white cursor-pointer font-montserrat uppercase text-xl border-solid active:scale-[0.99]"},"Join Us")))},7396:(e,t,r)=>{"use strict";r.d(t,{c:()=>o});var n=r(1504),l=r(9184),a=r(3540);const c="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",o=()=>{const[e,t]=n.useState(0);return n.useEffect((()=>{(async()=>{const e=await fetch(`https://api.github.com/repos/pankod/refine?access_token=${c}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`token ${c}`}}),r=await e.json();var n;t(null!==(n=r.stargazers_count)&&void 0!==n?n:2e3)})()}),[]),n.createElement("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4 md:gap-0 h-auto md:h-[150px] w-full rounded-2xl py-5 px-5 md:px-12 github-banner-bg"},n.createElement("div",{className:"flex items-center gap-16"},n.createElement("img",{className:"hidden md:block",src:"/img/blog-static/github-banner-icon.png",alt:"Github Logo"}),n.createElement("div",{className:"font-montserrat max-w-md text-center md:text-left"},n.createElement("h1",{className:"text-2xl uppercase leading-tight mb-0 font-montserrat font-bold"},"Star us on github"),n.createElement("p",{className:"mb-0 text-base leading-tight"},n.createElement("b",null,"refine")," is an"," ",n.createElement("b",null,"open-source React-based framework"),"for building ",n.createElement("b",null,"CRUD applications")," without constraints. Please show us your ",n.createElement("b",null,"support")," with a shining ",n.createElement("b",null,"GitHub star"),"."))),n.createElement(l.c,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",rel:"noopener",className:"bg-[#211d21] no-underline rounded-xl h-[54px] flex gap-2 pl-3.5 py-2.5 pr-2.5 items-center"},n.createElement(a.A9,null),n.createElement("div",{className:"font-bold font-montserrat text-base text-white"},"Star"),n.createElement("div",{className:"flex items-start h-full"},n.createElement(a.qq,{className:"mt-2 -mr-px"}),n.createElement("div",{className:"cloud rounded-md bg-white text-[#211d21] h-full flex items-center justify-center px-1.5 font-montserrat font-bold text-base"},`${e}`.padStart(4,"0")))))}},1628:(e,t,r)=>{"use strict";r.d(t,{qu:()=>o,cN:()=>k,CS:()=>N,E$:()=>A,us:()=>S});var n=r(1504),l=r(4971),a=r(9184),c=r(2460);const o=({author:e,className:t})=>n.createElement(i,{author:e,className:t}),i=({author:e})=>{var t,r,o,i,s,u,f,m,d,p,b;const g=e.github||e.twitter||e.linkedin;return n.createElement("div",{className:(0,l.c)("flex","px-4","gap-6","flex-row blog-lg:flex-col","justify-between","blog-sm:max-w-[592px]","blog-md:max-w-[656px]","blog-lg:max-w-[896px]","blog-max:max-w-[1200px]","w-full")},n.createElement("div",{className:(0,l.c)("flex","justify-between","items-center")},n.createElement("div",{className:(0,l.c)("w-full","flex items-center justify-between flex-wrap")},n.createElement("div",{className:(0,l.c)("flex items-center","gap-2 sm:gap-6")},n.createElement(a.c,{to:`/blog/author/${null===(t=e)||void 0===t?void 0:t.key}`,itemProp:"url",className:"flex-shrink-0"},n.createElement("img",{src:null===(r=e)||void 0===r?void 0:r.imageURL,alt:null===(o=e)||void 0===o?void 0:o.name,loading:"lazy",className:(0,l.c)("flex flex-shrink-0","h-12 w-12","blog-sm:h-[88px] blog-sm:w-[88px]","blog-md:h-[120px] blog-md:w-[120px]","rounded-full object-cover")})),n.createElement("div",{className:(0,l.c)("not-prose flex flex-col justify-between")},n.createElement("h1",{className:(0,l.c)("text-xl sm:text-[40px] sm:leading-[56px]","m-0 p-0 pb-2 font-bold text-gray-900 dark:text-gray-200")},null===(i=e)||void 0===i?void 0:i.name),n.createElement("div",{className:(0,l.c)("text-xs sm:text-base","text-gray-600 dark:text-gray-400")},null===(s=e)||void 0===s?void 0:s.title))),g&&n.createElement("div",{className:"flex justify-center gap-3"},(null===(u=e)||void 0===u?void 0:u.github)&&n.createElement(a.c,{to:null===(f=e)||void 0===f?void 0:f.github},n.createElement(c.qO,{className:"h-6 w-6"})),(null===(m=e)||void 0===m?void 0:m.twitter)&&n.createElement(a.c,{to:null===(d=e)||void 0===d?void 0:d.twitter},n.createElement(c.mk,{className:"h-6 w-6"})),(null===(p=e)||void 0===p?void 0:p.linkedin)&&n.createElement(a.c,{to:null===(b=e)||void 0===b?void 0:b.linkedin},n.createElement(c.wd,{className:"h-6 w-6"}))))),n.createElement("div",{className:"border-b border-gray-200 dark:border-gray-700 mb-8"}))};var s=r(468),u=r(2656),f=r(56),m=r(3270),d=r(9936),p=r(7760),b=r(6224),g=r(3784),h=r(4776),y=r(2788),v=r(8368);const O=(0,v.c)("telegram",(function(e,t){var r=t.title;return(0,h.c)(e,"telegram.url"),"https://telegram.me/share/url"+(0,y.c)({url:e,text:r})}),(function(e){return{title:e.title}}),{windowWidth:550,windowHeight:400});var w=r(2544);const x=(0,w.c)({color:"#37aee2",networkName:"telegram",path:"m45.90873,15.44335c-0.6901,-0.0281 -1.37668,0.14048 -1.96142,0.41265c-0.84989,0.32661 -8.63939,3.33986 -16.5237,6.39174c-3.9685,1.53296 -7.93349,3.06593 -10.98537,4.24067c-3.05012,1.1765 -5.34694,2.05098 -5.4681,2.09312c-0.80775,0.28096 -1.89996,0.63566 -2.82712,1.72788c-0.23354,0.27218 -0.46884,0.62161 -0.58825,1.10275c-0.11941,0.48114 -0.06673,1.09222 0.16682,1.5716c0.46533,0.96052 1.25376,1.35737 2.18443,1.71383c3.09051,0.99037 6.28638,1.93508 8.93263,2.8236c0.97632,3.44171 1.91401,6.89571 2.84116,10.34268c0.30554,0.69185 0.97105,0.94823 1.65764,0.95525l-0.00351,0.03512c0,0 0.53908,0.05268 1.06412,-0.07375c0.52679,-0.12292 1.18879,-0.42846 1.79109,-0.99212c0.662,-0.62161 2.45836,-2.38812 3.47683,-3.38552l7.6736,5.66477l0.06146,0.03512c0,0 0.84989,0.59703 2.09312,0.68132c0.62161,0.04214 1.4399,-0.07726 2.14229,-0.59176c0.70766,-0.51626 1.1765,-1.34683 1.396,-2.29506c0.65673,-2.86224 5.00979,-23.57745 5.75257,-27.00686l-0.02107,0.08077c0.51977,-1.93157 0.32837,-3.70159 -0.87096,-4.74991c-0.60054,-0.52152 -1.2924,-0.7498 -1.98425,-0.77965l0,0.00176zm-0.2072,3.29069c0.04741,0.0439 0.0439,0.0439 0.00351,0.04741c-0.01229,-0.00351 0.14048,0.2072 -0.15804,1.32576l-0.01229,0.04214l-0.00878,0.03863c-0.75858,3.50668 -5.15554,24.40802 -5.74203,26.96472c-0.08077,0.34417 -0.11414,0.31959 -0.09482,0.29852c-0.1756,-0.02634 -0.50045,-0.16506 -0.52679,-0.1756l-13.13468,-9.70175c4.4988,-4.33199 9.09945,-8.25307 13.744,-12.43229c0.8218,-0.41265 0.68483,-1.68573 -0.29852,-1.70681c-1.04305,0.24584 -1.92279,0.99564 -2.8798,1.47502c-5.49971,3.2626 -11.11882,6.13186 -16.55882,9.49279c-2.792,-0.97105 -5.57873,-1.77704 -8.15298,-2.57601c2.2336,-0.89555 4.00889,-1.55579 5.75608,-2.23009c3.05188,-1.1765 7.01687,-2.7042 10.98537,-4.24067c7.94051,-3.06944 15.92667,-6.16346 16.62028,-6.43037l0.05619,-0.02283l0.05268,-0.02283c0.19316,-0.0878 0.30378,-0.09658 0.35471,-0.10009c0,0 -0.01756,-0.05795 -0.00351,-0.04566l-0.00176,0zm-20.91715,22.0638l2.16687,1.60145c-0.93418,0.91311 -1.81743,1.77353 -2.45485,2.38812l0.28798,-3.98957"});const E=(0,v.c)("facebook",(function(e,t){var r=t.quote,n=t.hashtag;return(0,h.c)(e,"facebook.url"),"https://www.facebook.com/sharer/sharer.php"+(0,y.c)({u:e,quote:r,hashtag:n})}),(function(e){return{quote:e.quote,hashtag:e.hashtag}}),{windowWidth:550,windowHeight:400});const j=(0,w.c)({color:"#3b5998",networkName:"facebook",path:"M34.1,47V33.3h4.6l0.7-5.3h-5.3v-3.4c0-1.5,0.4-2.6,2.6-2.6l2.8,0v-4.8c-0.5-0.1-2.2-0.2-4.1-0.2 c-4.1,0-6.9,2.5-6.9,7V28H24v5.3h4.6V47H34.1z"});var P=r(1904);const k=({children:e})=>{var t,r,o,i,h,y;const{metadata:v,isBlogPostPage:w}=(0,s.g)(),{permalink:k,title:C,date:N,formattedDate:A,readingTime:S,frontMatter:H,tags:D,description:Z,authors:M}=v,L=M[0],{siteConfig:{url:z}}=(0,d.c)();return n.createElement(m.c,{className:(0,l.c)("pb-10","pt-4 blog-lg:pt-8","ml-auto","w-full","blog-lg:max-w-[894px]","px-2 blog-md:px-8 blog-lg:px-0")},n.createElement("div",{className:(0,l.c)("hidden blog-md:flex","justify-between","items-center","blog-sm:px-6","pb-6 blog-lg:pb-10","not-prose")},n.createElement(a.c,{to:"/blog",className:(0,l.c)("text-refine-react-5 dark:text-refine-react-4","text-sm no-underline","flex","items-center","gap-2")},n.createElement(c.Ux,null)," Back to blog"),n.createElement("div",{className:"flex items-center gap-3 px-2 py-1 not-prose"},n.createElement("span",{className:"text-refine-react-5 dark:text-refine-react-4 text-sm"},"Share on"),n.createElement(p.c,{url:z+k,title:C,source:z,summary:Z,hashtags:D.map((e=>e.label)),className:"flex"},n.createElement(b.c,{size:26,round:!0})),n.createElement(g.c,{windowWidth:750,windowHeight:800,url:z+k,title:C,hashtags:D.map((e=>e.label)),className:"flex"},n.createElement(c.mk,{width:26,height:26})),n.createElement(O,{windowWidth:750,windowHeight:800,url:z+k,title:C,hashtags:D.map((e=>e.label)),className:"flex"},n.createElement(x,{size:26,round:!0})),n.createElement(E,{windowWidth:750,windowHeight:800,url:z+k,title:C,hashtags:D.map((e=>e.label)),className:"flex"},n.createElement(j,{size:26,round:!0})))),n.createElement("div",{className:"not-prose"},n.createElement("img",{className:"w-full rounded-xl aspect-[894/468]",src:`${H.image}?w=160`,alt:C})),n.createElement("div",{className:"blog-sm:px-6"},n.createElement("div",{className:"mt-6 blog-lg:mt-10 mb-6 text-sm"},n.createElement("div",{className:(0,l.c)("flex","justify-between","sm:flex-row flex-col")},n.createElement("div",{className:"flex justify-center items-center gap-2"},n.createElement(a.c,{to:`/blog/author/${null===(t=L)||void 0===t?void 0:t.key}`,itemProp:"url"},n.createElement("img",{src:null===(r=L)||void 0===r?void 0:r.imageURL,alt:null===(o=L)||void 0===o?void 0:o.name,loading:"lazy",className:"flex h-[32px] w-[32px] rounded-full object-cover"})),n.createElement(a.c,{to:`/blog/author/${null===(i=L)||void 0===i?void 0:i.key}`,itemProp:"url",className:(0,l.c)("flex-1","text-gray-900 dark:text-gray-200","text-sm","no-underline","hover:no-underline")},null===(h=L)||void 0===h?void 0:h.name),n.createElement("span",{className:"w-[4px] h-[4px] rounded-full bg-refine-react-5 dark:bg-refine-react-4"}),n.createElement("span",{className:"text-gray-600 dark:text-gray-400"},null===(y=L)||void 0===y?void 0:y.title)),n.createElement("div",{className:"flex items-center gap-2 text-gray-600 dark:text-gray-400"},n.createElement(P.iI,{date:N,formattedDate:A}),void 0!==S&&n.createElement(n.Fragment,null,n.createElement("span",{className:"w-[4px] h-[4px] rounded-full bg-refine-react-5 dark:bg-refine-react-4"}),n.createElement(P.S_,{readingTime:S}))))),n.createElement("h1",{className:"text-xl md:text-4xl",itemProp:"headline"},w?C:n.createElement(a.c,{itemProp:"url",to:k},C)),n.createElement("div",{id:u.blogPostContainerID,className:"markdown",itemProp:"articleBody"},n.createElement(f.c,null,e))))};r(4752);const C=()=>{var e,t;const{metadata:r}=(0,s.g)(),{permalink:c,title:o,date:i,formattedDate:u,frontMatter:f,description:d,tags:p}=r,b=r.authors[0];return n.createElement(m.c,null,n.createElement(a.c,{itemProp:"url",to:c,className:(0,l.c)("block","w-full h-auto","aspect-[592/334]")},n.createElement("div",{className:(0,l.c)("not-prose relative m-0 hover:brightness-90","h-full w-full")},n.createElement("img",{src:`${f.image}?h=256`,alt:o,className:(0,l.c)("absolute inset-0 mt-0 h-full w-full rounded-[10px] object-cover"),loading:"lazy"}))),n.createElement("div",{className:"px-4 py-4 md:px-6 md:py-6"},n.createElement("div",{className:(0,l.c)("flex flex-wrap items-center","mb-6","gap-2")},p.map((e=>n.createElement(a.c,{className:(0,l.c)("text-xs","bg-refine-react-3 dark:bg-refine-react-7","text-refine-react-8 dark:text-refine-react-3","no-underline","rounded-full","px-2 py-1"),href:e.permalink,key:e.permalink},e.label)))),n.createElement("div",{className:"mb-4"},n.createElement(a.c,{itemProp:"url",to:c,className:"no-underline hover:no-underline",rel:"noopener dofollow"},n.createElement("div",{className:(0,l.c)("mb-4","text-gray-700 dark:text-refine-react-3","text-xl","font-lg","font-bold")},o)),n.createElement("div",{className:(0,l.c)("line-clamp-3","text-gray-700 dark:text-refine-react-4","text-sm")},d)),n.createElement("div",{className:"flex items-center gap-2"},n.createElement(a.c,{href:`/blog/author/${null===(e=b)||void 0===e?void 0:e.key}`,itemProp:"url",className:(0,l.c)("text-gray-600 hover:text-gray-600","dark:text-gray-400 hover:dark:text-gray-400","text-xs 2xl:text-base","no-underline")},null===(t=b)||void 0===t?void 0:t.name),n.createElement("span",{className:(0,l.c)("h-[4px] w-[4px] rounded-full","bg-gray-600 dark:bg-gray-500")}),n.createElement("span",{className:(0,l.c)("text-gray-600 dark:text-gray-500","text-xs","leading-6","no-underline")},n.createElement(P.iI,{date:i,formattedDate:u})))))},N=({items:e})=>n.createElement("div",{className:(0,l.c)("w-screen","bg-refine-react-1 dark:bg-refine-react-dark-code")},n.createElement("div",{className:(0,l.c)("blog-sm:max-w-[592px]","blog-md:max-w-[656px]","blog-lg:max-w-[896px]","blog-max:max-w-[1200px]","w-full","mx-auto","px-6 blog-sm:px-0","py-6 blog-md:py-12","not-prose")},n.createElement("h2",{className:(0,l.c)("m-0 p-0","px-6","mb-6 blog-lg:mb-12","text-2xl blog-sm:text-[32px] blog-sm:leading-10","dark:text-refine-green-alt dark:drop-shadow-[0_0_30px_rgba(71,235,235,0.25)]","text-refine-blue drop-shadow-[0_0_30px_rgba(51,51,255,0.3)]","font-semibold")},"Featured Posts"),n.createElement("div",{className:"grid grid-cols-1 blog-md:grid-cols-2 blog-max:grid-cols-3 gap-6"},e.map((({content:e})=>n.createElement(s.E,{key:e.metadata.permalink,content:e},n.createElement(C,null)))))));r(7396);const A=({posts:e,title:t})=>{var r,c,o;return e.length<1?null:n.createElement("div",{className:(0,l.c)("mx-auto w-full","py-10","blog-sm:py-12","blog-md:py-16","max-w-[512px]","blog-sm:max-w-screen-blog-sm","blog-lg:max-w-screen-content-2xl")},n.createElement("div",{className:"blog-sm:px-6 w-full px-4"},n.createElement("h2",{className:"m-0 mb-4 p-0 pl-4 text-2xl font-semibold text-refine-react-8 dark:text-refine-react-1"},t),n.createElement("div",{className:"flex flex-col not-prose"},e.map((e=>n.createElement(a.c,{to:e.permalink,rel:"dofollow",key:null!==(o=e.permalink)&&void 0!==o?o:e.id,className:(0,l.c)("flex","flex-col","gap-2","p-5","mb-5","rounded-lg","border border-refine-react-3 dark:border-refine-react-6","bg-white dark:bg-refine-react-8","hover:bg-gray-100 dark:hover:bg-refine-react-7","not-prose","no-underline")},n.createElement("div",{to:e.permalink,rel:"dofollow",className:(0,l.c)("font-bold","text-refine-react-8 dark:text-refine-react-1","no-underline","hover:text-gray-800 hover:no-underline dark:hover:text-gray-200","mb-2")},e.title),n.createElement("p",{className:(0,l.c)("font-sm","text-refine-react-5 dark:text-refine-react-4")},e.description),n.createElement("div",{id:"post-info",className:"flex items-center gap-2 text-sm text-refine-react-4 dark:text-refine-react-5"},n.createElement(a.c,{to:`/blog/author/${null===(r=e.authors[0])||void 0===r?void 0:r.key}`,itemProp:"url",id:"author-name",className:"text-gray-600 no-underline hover:text-gray-600 hover:no-underline dark:text-gray-400"},null===(c=e.authors[0])||void 0===c?void 0:c.name),n.createElement("span",{className:"h-[4px] w-[4px] rounded-full bg-gray-600 dark:bg-gray-500"}),n.createElement(P.iI,{date:e.date,formattedDate:e.formattedDate}))))))))},S=()=>{const{metadata:e}=(0,s.g)();return n.createElement("div",{className:"flex flex-wrap gap-2"},e.tags.map((e=>n.createElement(a.c,{to:e.permalink,className:(0,l.c)("no-underline hover:no-underline","text-xs","rounded-full","py-1","px-3","text-refine-react-8 dark:text-refine-react-3","bg-refine-react-3 dark:bg-refine-react-7","whitespace-nowrap"),key:e.permalink},e.label))))};r(5524)},5524:(e,t,r)=>{"use strict";r.d(t,{c:()=>a});var n=r(1504),l=r(9184);const a=({children:e})=>n.createElement("div",{className:"flex flex-col md:flex-row items-center twitter-banner-bg px-5 md:px-10 py-5 rounded-xl gap-2"},n.createElement("div",{className:"flex flex-col justify-center items-center md:items-start gap-4"},n.createElement("div",{className:"text-center md:text-left"},n.createElement("h1",{className:"text-white font-montserrat text-2xl leading-tight mb-0"},"WANT TO HEAR THE LATEST DEVELOPMENTS ABOUT refine?"),n.createElement("p",{className:"mb-0 uppercase font-montserrat text-white"},"Follow us on Twitter.")),n.createElement(l.c,{to:"https://twitter.com/refine_dev"},n.createElement("button",{className:"bg-transparent text-white font-bold py-2 px-8 rounded-lg border-white cursor-pointer font-montserrat uppercase text-xl border-solid active:scale-[0.99]"},"Follow Us"))),n.createElement("div",{className:"w-[350px]"},e||n.createElement("blockquote",{className:"twitter-tweet","data-cards":"hidden"},n.createElement("p",{lang:"en",dir:"ltr"},"\ud83d\udca5New Blog Post!",n.createElement("br",null),n.createElement("br",null),"Animations in React with Framer Motion",n.createElement("a",{href:"https://t.co/7kWU1ROPYd"},"https://t.co/7kWU1ROPYd"),n.createElement("a",{href:"https://twitter.com/hashtag/opensource?src=hash&ref_src=twsrc%5Etfw"},"#opensource")," ",n.createElement("a",{href:"https://twitter.com/hashtag/ReactJS?src=hash&ref_src=twsrc%5Etfw"},"#ReactJS")),"\u2014 refine (@refine_dev)"," ",n.createElement("a",{href:"https://twitter.com/refine_dev/status/1565321477628510208?ref_src=twsrc%5Etfw"},"September 1, 2022"))))},3540:(e,t,r)=>{"use strict";r.d(t,{Wr:()=>o,ef:()=>u,qq:()=>m,A9:()=>p,cn:()=>h,gZ:()=>O,aA:()=>E,Wu:()=>k});var n=r(4971),l=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const o=e=>l.createElement("svg",c(function(e){for(var t=1;tl.createElement("svg",s(function(e){for(var t=1;tl.createElement("svg",function(e){for(var t=1;tl.createElement("svg",function(e){for(var t=1;tl.createElement("svg",g(function(e){for(var t=1;tl.createElement("svg",v(function(e){for(var t=1;tl.createElement("svg",x(function(e){for(var t=1;tl.createElement("svg",P(function(e){for(var t=1;t{"use strict";r.d(t,{q:()=>c,y:()=>o});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a="tutorial-checklist-store",c=n.createContext({store:{},toggle:()=>{}}),o=({children:e})=>{const[t,r]=n.useState((()=>{if("undefined"!=typeof window){const t=localStorage.getItem(a);if(t)try{const e=JSON.parse(t);if("object"==typeof e)return e}catch(e){return{}}}return{}})),o=n.useCallback(((e,t,n)=>{r((r=>{const a=function(e){for(var t=1;t{"undefined"!=typeof window&&localStorage.setItem(a,JSON.stringify(t))}),[t]),n.createElement(c.Provider,{value:{store:t,toggle:o}},e)}},1648:(e,t,r)=>{"use strict";r.d(t,{g5:()=>i,mk:()=>s,sH:()=>a});var n=r(1504),l=r(2288);r(5904);const a=["headless","antd","chakra-ui","mantine","mui"],c=e=>{if(a.includes(e))return e},o="tutorial-preferred-ui-package",i=n.createContext({preferred:"headless",current:void 0,setPreferred:()=>{}}),s=({children:e})=>{const{metadata:t}=(0,l.G)(),r=(e=>{const t=e.match(/\/(headless|antd|chakra-ui|mantine|mui)\//);if(t&&c(t[1]))return t[1]})(t.id),[a,s]=n.useState("headless");n.useEffect((()=>{if("undefined"!=typeof window){const e=localStorage.getItem(o),t=c(e);t&&s(t)}}),[]);const u=e=>{c(e)&&("undefined"!=typeof window&&localStorage.setItem(o,e),s(e))};return n.useEffect((()=>{r&&r!==a&&u(r)}),[r,a]),n.createElement(i.Provider,{value:{preferred:a,setPreferred:u,current:r||a}},e)}},9092:(e,t,r)=>{"use strict";r.d(t,{WO:()=>m,iC:()=>d});var n=r(1504),l=r(640),a=r(2064);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;t0}),s="tutorial-parameters",u=(e,t)=>{for(const r of t)if(e.includes(`/${r.value}`))return r.value},f=()=>{const{pathname:e}=(0,l.IT)();return n.useMemo((()=>(e=>{const t={};for(const[r,n]of Object.entries(a.Sm.parameterOptions)){const l=u(e,n);l&&(t[r]=l)}return t})(e)),[e])},m=({children:e})=>{const[t,r]=n.useState(void 0),[l,c]=n.useState(!1),u=f(),m=n.useCallback((e=>{r((t=>{try{localStorage.setItem(s,JSON.stringify(o({},t,e)))}catch(r){console.error(r)}return o({},t,e)}))}),[]);return n.useEffect((()=>{try{const e=localStorage.getItem(s);m(e?o({},a.Sm.defaultParameters,JSON.parse(e),u):o({},a.Sm.defaultParameters,u))}catch(e){m(o({},a.Sm.defaultParameters,u))}c(!0)}),[]),n.createElement(i.Provider,{value:{parameters:t,setParameters:m,settled:l,options:a.Sm.parameterOptions}},e)},d=()=>n.useContext(i)},3376:(e,t,r)=>{"use strict";r.d(t,{U:()=>p});var n=r(2288),l=r(1688),a=(r(1504),r(3908));function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;t{var e,t,r,c;const f=(0,n.G)(),{docs:p}=(0,l.E)(),{frontMatter:b,metadata:{id:g}}=f,{tutorial:{units:h}}=(0,u.e)(),{current:y}=(0,a.U)(),v=e=>{const t=e.id.split("/"),r=s.sH.filter((e=>e!==y));return!t.find((e=>r.includes(e)))},O=!!(null===(e=b)||void 0===e?void 0:e.tutorial),w=g.split("/")[1],x=function({frontMatter:e}){const{docs:t}=(0,l.E)(),{current:r}=(0,a.U)(),n=e=>{if(e.includes("{preferredUI}")||r)return e.replace("{preferredUI}",r)},c=e=>"/docs/"+e,{tutorial:s}=e,{next:u,prev:f}=null!=s?s:{},m=u?n(u):void 0,d=t[f?n(f):void 0],p=t[m];return{previous:d?i(o({},d),{permalink:c(d.id)}):void 0,next:p?i(o({},p),{permalink:c(p.id)}):void 0}}(f),E=Object.entries(p).filter((([e])=>e.startsWith("tutorial/"))).reduce(((e,[t,r])=>{const n=t.split("/")[1];return n.startsWith("partial-")||(e[n]||(e[n]=[]),e[n].push(r)),e}),{}),j=Object.entries(E).map((([e,r])=>d(m({unit:e,no:null===(t=h[e])||void 0===t?void 0:t.no,title:h[e].label},e===w&&O&&{current:!0}),{docs:r.map((e=>m({},e,e.id===g&&O&&{current:!0}))).filter(v)}))).sort(((e,t)=>(null===(r=e)||void 0===r?void 0:r.no)-(null===(c=t)||void 0===c?void 0:c.no)));return O?{id:g,isTutorial:O,unit:w,pagination:x,units:j}:void 0}},5560:(e,t,r)=>{"use strict";r.d(t,{c:()=>l});var n=r(1504);const l=(e,t="0px")=>{const[r,l]=n.useState(!1);return n.useEffect((()=>{var r;const n=null===(r=e)||void 0===r?void 0:r.current,a=new IntersectionObserver((([e])=>{l(e.isIntersecting)}),{rootMargin:t});return n&&a.observe(n),()=>{n&&a.unobserve(n)}}),[]),r}},8840:(e,t,r)=>{"use strict";r.d(t,{ot:()=>s,GC:()=>u});var n=r(1504);const l={items:[]};var a=r(3740);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;tt.filter((t=>t.unit===e));function u(){const{store:e,toggle:t}=n.useContext(a.q);return{items:n.useMemo((()=>{var t,r,n,a;return null!==(a=null===(n=l)||void 0===n||null===(t=(r=n.items).map)||void 0===t?void 0:t.call(r,(t=>{const{id:r}=t;return i(o({},t),{checklist:t.checklist.map((t=>{var n;return i(o({},t),{checked:null!==(n=e[r]?.[t.id])&&void 0!==n&&n})})).sort(((e,t)=>e.index-t.index))})})))&&void 0!==a?a:[]}),[e]),toggle:t}}},380:(e,t,r)=>{"use strict";r.d(t,{e:()=>l});var n=r(9936);r(1504);const l=()=>{const{siteConfig:{customFields:e}}=(0,n.c)(),{tutorial:t}=e;return t}},3908:(e,t,r)=>{"use strict";r.d(t,{U:()=>a});var n=r(1504),l=r(1648);const a=()=>n.useContext(l.g5)},3680:(e,t,r)=>{"use strict";r.d(t,{u:()=>a});var n=r(1504),l=r(3120);const a=e=>n.createElement(l.E,e)},5880:(e,t,r)=>{"use strict";r.d(t,{E:()=>u});var n=r(4971),l=r(1504),a=r(2268),c=r(2424),o=r(7104),i=r(3200),s=r(8164);const u=e=>(l.useEffect((()=>(e.open?document.body.style.overflow="hidden":document.body.style.overflow="auto",()=>{document.body.style.overflow="auto"})),[e.open]),l.createElement(s.c,null,(()=>(0,o.createPortal)(l.createElement(f,e),document.body)))),f=({children:e,title:t,open:r,onClose:o,variant:s})=>{const[u,f]=l.useState(48),{scrollY:m}=(0,i.Q)(),d=l.useRef(null);var p,b;return p=d,b=e=>{e.stopPropagation(),o()},l.useEffect((()=>{const e=e=>{p.current&&!p.current.contains(e.target)&&(e.preventDefault(),b(e))};return document.addEventListener("click",e,!0),()=>{document.removeEventListener("click",e,!0)}}),[p]),((e,t,r)=>{l.useEffect((()=>{const n=n=>{e.current&&t.includes(n.key)&&(n.preventDefault(),r(n))};return document.addEventListener("keydown",n,!0),()=>{document.removeEventListener("keydown",n,!0)}}),[e])})(d,["Escape"],(()=>{o()})),l.useEffect((()=>{const e=m.onChange((e=>{f(e>=48?0:48-e)}));return()=>e()}),[]),l.createElement("div",{style:{top:u},className:(0,n.c)("fixed","right-0 bottom-0","z-modal",!r&&"pointer-events-none")},l.createElement(c.O,{ref:d,as:"div",className:(0,n.c)("z-modal","flex flex-col","w-[240px] h-full","ml-auto","p-4","templates"===s&&"bg-gray-0 dark:bg-gray-900","blog"===s&&"bg-white dark:bg-refine-react-7","border-l dark:border-gray-800","dark:shadow-[0_0_72px_24px_#14141F]","shadow-[0_0_72px_24px_rgba(20, 20, 31, 0.50)]"),show:r,enter:"transition-transform duration-300 transition-ease-in-out",enterFrom:"translate-x-full",enterTo:"translate-x-0",leave:"transition-transform duration-300 transition-ease-in-out",leaveFrom:"translate-x-0",leaveTo:"translate-x-full"},l.createElement("div",{className:(0,n.c)("flex","items-center","justify-between","mb-10","dark:text-gray-300 text-gray-900")},l.createElement("h3",{className:(0,n.c)("text-base","font-semibold")},t),l.createElement("button",{type:"button",className:(0,n.c)("appearance-none"),onClick:o},l.createElement(a.O,null))),l.createElement("div",{className:(0,n.c)("overflow-auto h-full")},e)))}},6968:(e,t,r)=>{"use strict";r.d(t,{m:()=>U});var n=r(9184),l=r(4971),a=r(3200),c=r(344),o=r(6076),i=r(1504),s=r(1980),u=r(8804),f=r(6098);const m=[{isPopover:!0,label:"Docs",items:[{label:"Foundation Docs",description:"Learn C++, Python & Java",link:"/docs",icon:f.C3},{label:"DSA Docs",description:"Learning DSA in C++, Python & Java",link:"/docs/1.DS.Algo",icon:f.uI}]},{isPopover:!0,label:"CodePoint",items:[{label:"Expert Sheet Solutions",description:"Most popular coding questions solutions asked during SDE interviews.",link:"https://prepverse.github.io/CodePoint/preface",icon:f.C3},{label:"Coding Ninjas Series",description:"Coding Ninjas Studio Guided Path Solutions",link:"https://prepverse.github.io/CodePoint/learning_resources/CN_Series/preface",icon:f.oh},{label:"LeetVerse",description:"Leetcode problem solutions with full probelm statements in C++, Python & Java",link:"https://prepverse.github.io/LeetVerse",icon:f.Ew}]},{isPopover:!0,label:"About",items:[{label:"About Me",description:"My information.",link:"/AkashSingh3031",icon:f.kv},{label:"Project Showcase",description:"PrepVerse open-source projects",link:"/showcase",icon:f.w9},{label:"My Portfolio",description:"All info about me",link:"https://prepverse.github.io/portfolio",icon:f.BE}]},{isPopover:!1,label:"Blog",href:"/blog",icon:f.s1},{isPopover:!1,label:"PrepVerse Community",href:"/prepverse-community",icon:f.vn}],d=({item:e,variant:t="landing"})=>{const r=e.icon;return i.createElement(n.c,{to:e.link,className:"no-underline"},i.createElement("div",{className:(0,l.c)("flex items-center","p-4","transition duration-150 ease-in-out","rounded-lg","hover:bg-gray-100","landing"===t&&"dark:hover:bg-gray-800","blog"===t&&"dark:hover:bg-refine-react-8")},i.createElement("div",{className:"shrink-0"},i.createElement(r,null)),i.createElement("div",{className:"ml-2"},i.createElement("div",{className:(0,l.c)("landing"===t&&"text-gray-900 dark:text-white","blog"===t&&"text-refine-react-8 dark:text-refine-react-3","font-semibold")},e.label),i.createElement("div",{className:(0,l.c)("landing"===t&&"text-gray-500 dark:text-gray-400","blog"===t&&"text-refine-react-5 dark:text-refine-react-4","text-xs")},e.description))))},p=({item:e})=>{const[t,r]=(0,i.useState)(null);(0,i.useEffect)((()=>(r(localStorage.getItem("theme")||null),window.addEventListener("storage",a,!1),()=>{window.removeEventListener("storage",a,!1)})),[]);const a=()=>{r(localStorage.getItem("theme")||null)};let c=e.icon;return"Cloud"===e.label&&(c="light"===t?f.oz:e.icon),i.createElement(n.c,{key:e.label,to:e.href,className:(0,l.c)("inline-flex items-center gap-2","text-sm leading-6 font-normal text-gray-900 dark:text-gray-300","transition-colors duration-150 ease-in-out","no-underline","Hackathon"===e.label?["py-1","px-2","rounded-lg","bg-hackathon-button-bg","animate-hackathon-button-bg","bg-refine-bg","text-gray-0","bg-[length:200%_100%]","text-[14px]","hover:text-gray-0"]:["hover:text-gray-900 dark:hover:text-white"])},e.icon&&i.createElement(c,null),e.label)};var b=r(640),g=r(5224),h=r(2424),y=r(4577);const v=({item:e,variant:t="landing",children:r})=>{const[n,a]=(0,i.useState)(!1),c=i.useRef(null),o=i.useRef(null),s=(0,b.IT)();return i.useEffect((()=>{a(!1)}),[s]),i.createElement(g._,{id:`popover-${e.label}`,key:e.label,className:(0,l.c)("relative","inline-flex items-center"),onMouseEnter:()=>{o.current=setTimeout((()=>a(!0)),210),clearTimeout(c.current)},onMouseLeave:()=>{c.current=setTimeout((()=>a(!1)),210),clearTimeout(o.current)}},(()=>i.createElement(i.Fragment,null,i.createElement(g._.Button,{className:(0,l.c)("inline-flex items-center","text-sm leading-6","font-normal")},i.createElement("span",{className:(0,l.c)("landing"===t&&"text-gray-900 dark:text-gray-300","blog"===t&&"text-refine-react-8 dark:text-refine-react-3","transition-colors duration-150 ease-in-out inline-block")},e.label),i.createElement(y.w,{"aria-hidden":"true",className:(0,l.c)("transition duration-150 ease-out","-mr-2","landing"===t&&"text-gray-500 dark:text-gray-400","blog"===t&&"text-refine-react-4",n?"translate-y-0.5":"")})),i.createElement(h.O,{as:i.Fragment,enter:"transition ease-in duration-150",enterFrom:"opacity-0 translate-y-3",enterTo:"opacity-100 translate-y-0",leave:"transition ease-out duration-150",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 translate-y-3",show:n},i.createElement(g._.Panel,{className:(0,l.c)("absolute","z-50","top-12",{"-left-32 center-point":"Docs"===e.label||"About"===e.label,"left-point":"CodePoint"===e.label})},i.createElement(f.WR,{id:e.label,variant:t,className:(0,l.c)("absolute","top-[-9px]",{"left-1/2":"CodePoint"!==e.label,"left-12":"CodePoint"===e.label}),style:{transform:"translateX(-50%)"}}),i.createElement("div",{className:(0,l.c)("overflow-hidden","rounded-xl","landing"===t&&"border dark:border-gray-700 border-gray-200","landing"===t&&"dark:shadow-menu-dark shadow-menu-light","blog"===t&&"border border-refine-react-3 dark:border-refine-react-6","blog"===t&&"dark:shadow-menu-blog-dark shadow-menu-blog-light")},r))))))},O=({variant:e="landing"})=>i.createElement(i.Fragment,null,m.map((t=>t.isPopover?i.createElement(v,{key:`navbar-${t.label}`,item:t,variant:e},"CodePoint"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,l.c)("grid grid-cols-2 gap-4","p-4","w-[672px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(d,{key:t.label,item:t,variant:e})))),i.createElement(n.c,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,l.c)("border-t","blog"===e&&"border-refine-react-3 dark:border-refine-react-6","landing"===e&&"border-gray-300 dark:border-gray-700","landing"===e&&"bg-gray-100 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-7","flex items-center","py-4 px-7")},i.createElement(f._2,null),i.createElement("div",{className:(0,l.c)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))),"About"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,l.c)("grid gap-4","p-4","w-[336px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(d,{key:t.label,item:t,variant:e})))),i.createElement("div",{className:(0,l.c)("border-t","blog"===e&&"border-refine-react-3 dark:border-refine-react-6","landing"===e&&"border-gray-300 dark:border-gray-700","landing"===e&&"bg-gray-100 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-7","flex justify-between items-center","py-4 px-7")},i.createElement("div",{className:(0,l.c)("landing"===e&&"text-gray-600 dark:text-gray-400 ","blog"===e&&"text-refine-react-5 dark:text-refine-react-4")},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.c,{to:"https://github.com/AkashSingh3031",className:(0,l.c)("no-underline","hover:text-inherit")},i.createElement(f.A9,{className:"dark:text-gray-400 text-gray-500"})),i.createElement(n.c,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(f.Ed,null)),i.createElement(n.c,{to:"https://instagram.com/akash.singh3031"},i.createElement(f.Yf,null)),i.createElement(n.c,{to:"https://x.com/akashsingh3031"},i.createElement(f.CC,null))))),"Docs"===t.label&&i.createElement("div",{className:(0,l.c)("grid gap-4","p-4","w-[336px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(d,{key:t.label,item:t,variant:e}))))):i.createElement(p,{key:`navbar-${t.label}`,item:t,variant:e}))));var w=r(2276),x=r(7008),E=r(9072),j=r(2268);function P(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const k=e=>i.createElement("svg",function(e){for(var t=1;ti.createElement("svg",function(e){for(var t=1;t{const[o,s]=(0,i.useState)(null),u=null!=r?r:n.c,m=void 0!==a&&void 0===t;return(0,i.useEffect)((()=>{const e=document.querySelector("html").getAttribute("data-theme");s(e)}),[]),i.createElement(u,function(e){for(var t=1;t{const r=(0,b.IT)();return i.useEffect((()=>{t(!1)}),[r]),i.createElement(L,{isModalOpen:e,setIsModalOpen:t},i.createElement(z,{className:(0,l.c)("hidden landing-sm:block","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}),i.createElement(B,{className:(0,l.c)("block landing-sm:hidden","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}))},L=({isModalOpen:e,setIsModalOpen:t,children:r})=>i.createElement(h.O,{appear:!0,show:e,as:i.Fragment},i.createElement(w.C,{as:"div",className:"relative z-10",onClose:()=>t(!1)},i.createElement(h.O.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},i.createElement("div",{className:(0,l.c)("fixed inset-0","bg-gray-0 dark:bg-gray-900","flex","flex-col")},i.createElement(H.Q,null),i.createElement("div",{className:(0,l.c)("flex items-center justify-between","p-4","landing-sm:px-8")},i.createElement(u.m,{className:"dark:text-gray-0 text-gray-900"}),i.createElement("button",{type:"button",className:(0,l.c)("rounded-lg","hover:brightness-105","active:scale-90","transition-transform duration-75 ease-in-out")},i.createElement(j.O,{className:"text-gray-900 dark:text-white",onClick:()=>t(!1)}))),i.createElement(h.O.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-75",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95"},i.createElement("div",{className:(0,l.c)("flex-1","overflow-y-auto","px-4","pb-4")},r)))))),z=e=>i.createElement("div",{className:(0,l.c)(e.className)},m.map(((e,t)=>{const r="icon"in e&&e.icon;return i.createElement("div",{key:t,className:(0,l.c)("not-prose","p-4","border-t dark:border-gray-700 border-gray-200")},i.createElement(n.c,{to:"href"in e?e.href:void 0,className:(0,l.c)("appearance-none","block","no-underline","dark:text-gray-0 text-gray-900","font-bold")},i.createElement("div",{className:(0,l.c)("flex items-center gap-2")},i.createElement("div",null,e.label),r&&i.createElement(r,null))),"items"in e&&i.createElement("div",{className:(0,l.c)("mt-2","grid grid-cols-2 min-[800px]:grid-cols-3","gap-x-8 gap-y-4")},e.items.map((e=>i.createElement(d,{key:e.label,item:e})))))})),i.createElement(G,null),i.createElement(T,{id:"tablet"}),i.createElement(R,{id:"tablet"})),B=e=>i.createElement("div",{className:(0,l.c)(e.className)},i.createElement("div",{className:"flex-grow"},m.map((e=>e.isPopover?i.createElement(x.C,{key:`modal-${e.label}`},(({open:t})=>i.createElement(i.Fragment,null,i.createElement(S,{component:x.C.Button,label:e.label,open:t}),i.createElement(x.C.Panel,{className:(0,l.c)(t&&"pb-4",t&&"border-b border-gray-200 dark:border-gray-700")},e.items.map((e=>i.createElement(d,{key:e.label,item:e}))))))):i.createElement(S,{key:`modal-${e.label}`,label:e.label,href:e.href,icon:e.icon})))),i.createElement(G,null),i.createElement(T,{id:"phone"}),i.createElement(R,{id:"phone"})),R=e=>{var t;return i.createElement(n.c,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,l.c)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex items-center","p-4")},i.createElement(f._2,{id:(null===(t=e)||void 0===t?void 0:t.id)||""}),i.createElement("div",{className:(0,l.c)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))},T=e=>{var t;return i.createElement("div",{className:(0,l.c)("bg-white dark:bg-gray-700 header-sm:bg-inherit","flex justify-between items-center","header-sm:flex-col header-sm:gap-4","header-sm:border-b border-gray-200 dark:border-gray-600","py-3 px-4")},i.createElement("p",{className:"text-gray-500 dark:text-gray-300 font-semibold"},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.c,{to:"https://github.com/AkashSingh3031"},i.createElement(f.A9,{className:"h-10 w-10"})),i.createElement(n.c,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(f.Ed,{className:"h-10 w-10"})),i.createElement(n.c,{to:"https://instagram.com/akash.singh3031"},i.createElement(f.Yf,{className:"h-10 w-10",id:(null===(t=e)||void 0===t?void 0:t.id)||""})),i.createElement(n.c,{to:"https://x.com/akashsingh3031"},i.createElement(f.CC,{className:"h-10 w-10"}))))},G=()=>{const{colorMode:e,setColorMode:t}=(0,E.U)(),r=()=>{t("dark"===e?"light":"dark")},n="dark"===e,a="light"===e;return i.createElement("div",{className:(0,l.c)("not-prose","p-4","flex items-center")},i.createElement("div",{className:(0,l.c)("text-sm","mr-10","dark:text-gray-400 text-gray-600")},"Apperance"),i.createElement("button",{onClick:r,className:(0,l.c)("mr-4","rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200","text-gray-500",a&&"bg-gray-50")},i.createElement(Z.G,null),"Light"),i.createElement("button",{onClick:r,className:(0,l.c)("rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200",n?"text-gray-400":"text-gray-500",n&&"bg-gray-700")},i.createElement(D.g,null),"Dark"))};var V=r(9253),F=r(2700),Y=r(5792),W=r(6936);const I=()=>{const{loading:e,githubStarCountText:t}=(0,F.wx)();return i.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank",rel:"noreferrer",className:(0,l.c)("flex gap-2 items-center","font-normal","text-sm leading-6","text-gray-500 dark:text-gray-400","hover:text-gray-400 dark:hover:text-gray-300","hover:no-underline","transition-colors","duration-200","ease-in-out")},i.createElement(Y.A,{className:(0,l.c)("w-5 h-5")}),i.createElement("div",{className:(0,l.c)("flex items-center","w-10 h-6")},e?i.createElement(W.c,{className:(0,l.c)("w-5 h-5"),wrapperProps:{className:(0,l.c)("mx-auto")}}):i.createElement("span",null,t)))},U=({trackProgress:e,variant:t="landing",className:r})=>{const[f,m]=(0,i.useState)(!1),{scrollYProgress:d}=(0,a.Q)(),p=(0,c.s)(d,[.03,.95],["0%","100%"]);return i.createElement(i.Fragment,null,i.createElement(H.Q,null),i.createElement("header",{className:(0,l.c)("sticky","top-0","z-10")},i.createElement("div",{className:(0,l.c)("absolute","top-0 left-0 right-0","backdrop-blur-[6px]","landing-md:backdrop-blur-[12px]","z-[-1]","bg-gray-0 dark:bg-gray-800","bg-opacity-80 dark:bg-opacity-80","pointer-events-none",r),style:{top:"-20px",bottom:"-80px",WebkitMaskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))",maskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))"}}),i.createElement("div",{className:(0,l.c)("relative","z-[1]","p-4","landing-sm:px-8","landing-md:py-5")},i.createElement("div",{className:(0,l.c)("mx-auto","flex","items-center","justify-between","max-w-[896px]","landing-lg:max-w-[1200px]")},i.createElement("div",{className:(0,l.c)("w-[130px]","landing-lg:w-[200px]")},i.createElement(n.c,{to:"/"},i.createElement(u.m,{className:"text-gray-900 dark:text-gray-0"}))),i.createElement("button",{type:"button",className:(0,l.c)("text-gray-900 dark:text-gray-0","block landing-md:hidden"),onClick:()=>m(!0)},i.createElement(s.m,null)),i.createElement("div",{className:(0,l.c)("hidden landing-md:flex","flex-1","items-center","gap-8")},i.createElement(O,{variant:t})),i.createElement("div",{className:(0,l.c)("hidden landing-md:flex","items-center","justify-end","gap-4","w-[130px]","landing-lg:w-[200px]")},i.createElement(I,null),i.createElement(V.C,null)),i.createElement(M,{isModalOpen:f,setIsModalOpen:m}))),e&&i.createElement("div",{className:(0,l.c)("w-full","h-[1.5px]","translate","bg-refine-react-3 dark:bg-refine-react-7")},i.createElement(o.q.div,{className:(0,l.c)("h-full","bg-refine-react-light-link dark:bg-refine-react-dark-link"),style:{width:p}}))))}},7500:(e,t,r)=>{"use strict";r.d(t,{Ih:()=>o,oJ:()=>c,yg:()=>a});var n=r(4971),l=r(1504);const a="preferred-full-table-width",c=e=>l.createElement("div",{className:(0,n.c)("table-container")},l.createElement("table",e)),o=({children:e})=>l.createElement("div",{className:"table-full-width"},e)},9253:(e,t,r)=>{"use strict";r.d(t,{C:()=>i,O:()=>u});var n=r(1504),l=r(4971),a=r(9072),c=r(3756),o=r(5372);const i=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,a.U)();return n.createElement("button",{type:"button",className:(0,l.c)("appearance-none","focus:outline-none","relative","w-10 h-10","rounded-full","border","border-solid","border-gray-300 dark:border-gray-700","text-gray-500","transition-colors","duration-150","ease-in-out","overflow-hidden","flex-shrink-0","group",e),onClick:()=>{r("dark"===t?"light":"dark")}},n.createElement("div",{className:(0,l.c)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","translate-y-0","dark:-translate-y-10","duration-200","ease-in-out","transition-transform")},n.createElement(c.G,null)),n.createElement("div",{className:(0,l.c)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","-translate-y-10","dark:translate-y-0","duration-200","ease-in-out","transition-transform")},n.createElement(o.g,null)))},s=[{name:"light",icon:c.G,label:"Light"},{name:"dark",icon:o.g,label:"Dark"}],u=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,a.U)();return n.createElement("div",{className:(0,l.c)("flex","items-center","gap-4","justify-start",e)},s.map((({name:e,label:a,icon:c})=>n.createElement("button",{type:"button",key:e,className:(0,l.c)("appearance-none","focus:outline-none","py-1","pl-1.5","pr-3","flex","items-center","justify-center","gap-1","rounded-[40px]","text-gray-400","border border-solid","border-gray-200","dark:border-gray-600",t===e&&"bg-gray-100 dark:bg-gray-700"),onClick:()=>{r(e)}},n.createElement(c,{className:(0,l.c)("w-4 h-4")}),n.createElement("span",{className:(0,l.c)("text-sm")},a)))))}},7708:(e,t,r)=>{"use strict";r.d(t,{o0:()=>p,yw:()=>m,wd:()=>d,AR:()=>b});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var u=r(6098),f=r(4252);const m=[{label:"Resources",items:[{label:"Getting Started",href:"/docs"},{label:"Blog",href:"/blog"},{label:"Project Showcase",icon:n.createElement(u.KU,null),href:"/showcase"},{label:"Community",icon:n.createElement(u.KU,null),href:"/prepverse-community"}]},{label:"Product",items:[{label:"CodePoint",icon:n.createElement(f.i,null),href:"https://prepverse.github.io/CodePoint"},{label:"LeetVerse",icon:n.createElement(f.i,null),href:"https://prepverse.github.io/LeetVerse"}]},{label:"About",items:[{label:"About Me",href:"/AkashSingh3031"},{label:"Portfolio",icon:n.createElement(f.i,null),href:"https://prepverse.github.io/portfolio"}]}],d=[{label:"License",href:"https://github.com/PrepVerse/prepverse.github.io/blob/master/LICENSE"}],p="Thank you for visiting, Connect with me over socials.",b=[{icon:e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{G:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{w:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{g:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{i:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{y:()=>o});var n=r(4971),l=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const o=e=>l.createElement("svg",c(function(e){for(var t=1;t{"use strict";r.d(t,{A:()=>c,i:()=>o});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e){for(var t=1;tn.createElement("svg",a({width:12,height:12,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.053 0A10.904 10.904 0 0 0 3.89 2.685 11.34 11.34 0 0 0 .142 9.472a11.48 11.48 0 0 0 1.456 7.65 11.087 11.087 0 0 0 5.964 4.86c.556.103.752-.25.752-.547v-1.918C5.23 20.202 4.58 18 4.58 18a3.012 3.012 0 0 0-1.227-1.655c-.997-.692.081-.692.081-.692.35.05.683.18.975.382.293.202.536.469.713.78.15.278.352.523.595.721a2.312 2.312 0 0 0 2.618.221c.042-.57.283-1.105.678-1.509-2.454-.284-5.03-1.253-5.03-5.539a4.415 4.415 0 0 1 1.132-3.025A4.194 4.194 0 0 1 5.224 4.7s.928-.305 3.036 1.156c1.81-.508 3.72-.508 5.531 0 2.108-1.46 3.03-1.156 3.03-1.156.406.936.455 1.993.135 2.963a4.415 4.415 0 0 1 1.132 3.026c0 4.334-2.582 5.282-5.043 5.538.264.271.468.597.598.955.13.358.182.741.155 1.122V21.4c0 .367.196.65.759.54a11.093 11.093 0 0 0 5.88-4.878 11.481 11.481 0 0 0 1.419-7.6 11.34 11.34 0 0 0-3.71-6.746A10.907 10.907 0 0 0 11.053 0Z",fill:"currentColor"})),o=e=>n.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.066.001a11.91 11.91 0 0 1 7.745 2.966 12.326 12.326 0 0 1 4.032 7.33 12.46 12.46 0 0 1-1.54 8.245 12.088 12.088 0 0 1-6.406 5.314l-.105.037-.11.021c-.508.1-1.232.093-1.83-.422-.577-.498-.681-1.166-.681-1.565v-3.008l.004-.053a1.102 1.102 0 0 0-.062-.453 1.058 1.058 0 0 0-.235-.377l-.839-.86-.863.882a.802.802 0 0 0-.224.502l-.015.217v3.183c0 .434-.14 1.029-.628 1.492-.541.514-1.246.62-1.864.505l-.108-.02-.104-.035a12.082 12.082 0 0 1-6.498-5.296 12.457 12.457 0 0 1-1.58-8.298c.45-2.86 1.891-5.471 4.073-7.375A11.909 11.909 0 0 1 12.05.001h.016Zm-10.43 10.54a10.957 10.957 0 0 0 1.39 7.303 10.58 10.58 0 0 0 5.693 4.638c.53.099.717-.238.717-.522v-1.83c-.588.13-1.083.15-1.5.1a2.95 2.95 0 0 1-.542-.117 2.551 2.551 0 0 1-.422-.176 2.362 2.362 0 0 1-.82-.72c-.208-.294-.28-.535-.28-.535a2.876 2.876 0 0 0-1.17-1.58l-.016-.01c-.925-.65.093-.65.093-.65.106.015.21.038.313.068l.017.005a2.172 2.172 0 0 1 .962.603c.122.13.23.276.319.433a2.29 2.29 0 0 0 .68.775h.002s0 .001 0 0a2.211 2.211 0 0 0 2.385.124v-.014a2.302 2.302 0 0 1 .647-1.427 8.754 8.754 0 0 1-1.625-.328 4.865 4.865 0 0 1-1.416-.695 3.883 3.883 0 0 1-.432-.365c-.8-.786-1.328-2.002-1.328-3.899a4.214 4.214 0 0 1 1.08-2.887 4.003 4.003 0 0 1 .104-2.848s.886-.291 2.898 1.103a9.762 9.762 0 0 1 5.28 0c2.011-1.393 2.891-1.103 2.891-1.103.388.893.434 1.902.13 2.828a4.214 4.214 0 0 1 1.08 2.888c0 3.166-1.444 4.44-3.174 4.972a8.617 8.617 0 0 1-1.64.314 2.558 2.558 0 0 1 .699 1.425c.026.184.033.371.02.558v2.955c0 .35.187.62.724.515a10.588 10.588 0 0 0 5.613-4.656 10.958 10.958 0 0 0 1.354-7.254 10.824 10.824 0 0 0-3.541-6.439 10.41 10.41 0 0 0-6.77-2.592 10.408 10.408 0 0 0-6.837 2.563 10.824 10.824 0 0 0-3.578 6.478ZM16.374 7.8a8.003 8.003 0 0 0-.856.524l-.58.401-.679-.19a8.262 8.262 0 0 0-4.469 0l-.68.19-.58-.402a7.982 7.982 0 0 0-.846-.519c.019.186.059.37.12.549l.282.832-.588.653a2.714 2.714 0 0 0-.696 1.86v.024c0 1.724.503 2.513.998 2.937.563.481 1.397.736 2.476.86l1.567.182 1.954-.204c1.082-.112 1.912-.358 2.47-.833.492-.418.999-1.209.999-2.96v-.026a2.714 2.714 0 0 0-.696-1.86l-.582-.647.273-.826c.058-.178.096-.36.113-.545Z",clipRule:"evenodd"}))},1980:(e,t,r)=>{"use strict";r.d(t,{m:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{Q:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{G:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{s1:()=>o,wR:()=>s,QD:()=>f,vn:()=>d,kv:()=>b,uI:()=>h,A9:()=>v,_2:()=>w,Ew:()=>E,Yf:()=>P,oh:()=>C,Ed:()=>A,BE:()=>H,KU:()=>M,WR:()=>G,w9:()=>F,CC:()=>W,AH:()=>X,oz:()=>K,C3:()=>q});var n=r(1504);var l=r(4971);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const o=e=>n.createElement("svg",c(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const{colorMode:t}=(0,D.U)();return n.createElement("div",{className:(0,l.c)("relative","flex","items-center","justify-center","rounded-full","overflow-hidden","p-px","dark:bg-[#194b3a] bg-[#b7dbff]"),style:{transform:"translateZ(0)"}},n.createElement("div",{className:(0,l.c)("z-[1]","absolute","inset-0","dark:bg-new-badge-border-dark bg-new-badge-border-light","animate-new-badge-border")}),n.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}var R,T;const G=e=>{var{variant:t="landing"}=e,r=B(e,["variant"]);return n.createElement("svg",z(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",U(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{m:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{G:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{o:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{E:()=>p});var n=r(4971),l=r(1504),a=r(9184),c=r(7708),o=r(204);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const s=e=>l.createElement("svg",function(e){for(var t=1;t{const t=l.createElement("div",{className:(0,n.c)("py-6 landing-lg:py-0","flex","flex-col","gap-4","landing-lg:max-w-[224px]")},l.createElement("div",{className:(0,n.c)("font-semibold","text-sm","leading-6","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},"Contacts"),l.createElement("a",{href:"https://wa.me/+919794423031",target:"_blank",className:(0,n.c)("font-normal","text-sm","leading-5","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},"+91 9794423031"),l.createElement("a",{href:"https://mail.google.com/mail/u/0/?fs=1&to=codewithsky@gmail.com&tf=cm",target:"_blank",className:(0,n.c)("font-normal","text-sm","leading-5","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:180,height:40,viewBox:"0 0 180 40",fill:"none"},l.createElement("text",{x:"1",y:"15",fontFamily:"Arial, sans-serif",fontSize:"16",fill:"currentColor"},"codewithsky@gmail.com")))),r=l.createElement("div",{className:(0,n.c)("py-6 landing-lg:py-0","flex","flex-col","landing-sm:items-end")},l.createElement("div",{className:(0,n.c)("flex","flex-col","gap-4")},l.createElement("div",{className:(0,n.c)("text-sm","leading-6","font-semibold","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3","landing-lg:text-right")},"Connect with me on"),l.createElement("div",{className:(0,n.c)("flex","items-center","gap-8","landing-lg:gap-4","justify-start")},c.AR.map((({href:t,icon:r})=>l.createElement("a",{href:t,key:t,target:"_blank",rel:"noreferrer",className:(0,n.c)("landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},l.createElement(r,{className:(0,n.c)("w-6 h-6","landing-lg:w-8 landing-lg:h-8")})))))));return l.createElement("footer",{className:(0,n.c)("w-full")},l.createElement("div",{className:(0,n.c)("border-t border-t-solid","landing"===e&&"border-t-gray-100 dark:border-t-gray-700","blog"===e&&"border-t-refine-react-3 dark:border-t-refine-react-7","landing"===e&&"dark:bg-footer-landing-dark-bg","blog"===e&&"bg-footer-blog-light-bg dark:bg-footer-blog-dark-bg")},l.createElement("div",{className:(0,n.c)("grid","grid-cols-1","max-w-screen-landing-md","landing-lg:max-w-screen-landing-lg","mx-auto")},l.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8 landing-lg:px-12","py-4 landing-lg:py-6","flex","items-center","justify-between")},l.createElement(a.c,{to:"/",className:(0,n.c)("hover:no-underline","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},l.createElement(u.m,null)),l.createElement("a",{href:"https://github.com/sponsors/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,n.c)("hover:no-underline")},l.createElement(s,null))),l.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8 landing-lg:px-12","flex","flex-row","flex-wrap","items-start","justify-start","text-gray-500 dark:text-gray-500")},c.o0),l.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8 landing-lg:px-12","py-6 landing-lg:pt-8 landing-lg:pb-12","flex","flex-row","flex-wrap","items-start","justify-start","gap-6")},l.createElement("div",{className:(0,n.c)("hidden","landing-lg:flex","max-w-[282px]","w-full")},t),c.yw.map((t=>l.createElement("div",{className:(0,n.c)("flex flex-col gap-4","min-w-[152px]"),key:t.label},l.createElement("div",{className:(0,n.c)("text-sm","leading-6","font-semibold","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},t.label),l.createElement("div",{className:(0,n.c)("flex","flex-col","gap-2")},t.items.map((t=>l.createElement("a",d(m({href:t.href,key:t.label},t.href.startsWith("http")?{target:"_blank",rel:"noopener noreferrer"}:{}),{className:(0,n.c)("text-sm","leading-5","hover:no-underline","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300")}),l.createElement("div",{className:(0,n.c)("flex","items-center","gap-2")},t.label,t.icon)))))))),l.createElement("div",{className:(0,n.c)("hidden","landing-lg:flex","ml-auto")},r)),l.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8","grid","grid-cols-1","landing-sm:grid-cols-2","landing-sm:gap-8","landing-lg:hidden")},t,r))),l.createElement("div",{className:(0,n.c)("border-t border-t-solid","landing"===e&&"border-t-gray-100 dark:border-t-gray-700","blog"===e&&"border-t-gray-100 dark:border-t-gray-700","landing"===e&&"bg-gray-50 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-8")},l.createElement("div",{className:(0,n.c)("py-6 landing-sm:py-8 landing-lg:py-6","px-4 landing-sm:px-8 landing-lg:px-12","grid","grid-cols-1","landing-md:grid-cols-2","gap-8","max-w-screen-landing-md","landing-lg:max-w-screen-landing-lg","mx-auto")},l.createElement("div",{className:(0,n.c)("flex","flex-col","landing-sm:flex-row","gap-4","items-start","justify-start")},c.wd.map((t=>l.createElement("a",d(m({href:t.href,key:t.label},t.href.startsWith("http")?{target:"_blank",rel:"noopener noreferrer"}:{}),{className:(0,n.c)("text-sm","leading-5","font-normal","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:no-underline","hover:text-gray-800 dark:hover:text-gray-300")}),t.label)))),l.createElement("div",{className:(0,n.c)("text-left","landing-md:text-right","text-sm","pr-6 landing-sm:pr-0","leading-5","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3","font-normal")},l.createElement("div",{className:(0,n.c)("text-base","text-gray-500 dark:text-gray-400")},"Copyright \xa9 ",(new Date).getFullYear()," PrepVerse"," ",l.createElement(o.Q,{className:"text-refine-red ml-2 inline leading-6"}),l.createElement("br",null),"Built with Docusaurus & Refine.")))))}},6192:(e,t,r)=>{"use strict";r.d(t,{D:()=>f});var n=r(1504),l=r(4971),a=r(9184);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const o=e=>n.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const f=e=>{var{children:t,href:r,className:c,onClick:f,buttonClassname:m}=e,d=u(e,["children","href","className","onClick","buttonClassname"]);const p=r?a.c:"button";return n.createElement(p,s(function(e){for(var t=1;t{"use strict";r.d(t,{c:()=>i});var n=r(4971),l=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const i=e=>{var{className:t,wrapperProps:r}=e,a=o(e,["className","wrapperProps"]);return l.createElement("div",c({role:"status"},r),l.createElement("svg",c({"aria-hidden":"true",width:24,height:24,viewBox:"0 0 100 100",className:(0,n.c)("text-gray-200 animate-spin dark:text-gray-600 fill-refine-blue",t),fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),l.createElement("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),l.createElement("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})),l.createElement("span",{className:"sr-only"},"Loading..."))}},252:(e,t,r)=>{"use strict";r.d(t,{Q:()=>i});var n=r(4971),l=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){for(var t=1;tl.createElement("div",{className:(0,n.c)("w-full h-12","relative","bg-top-announcement","not-prose","font-inter","z-top-announcement")},l.createElement("div",{className:(0,n.c)("hidden lg:flex","w-full h-full","max-w-screen","overflow-hidden","border-b border-solid border-[#47ebeb26]","top-announcement-mask")},l.createElement("div",{className:(0,n.c)("w-[1280px] h-full","mx-auto","flex","justify-between")},l.createElement("div",{className:(0,n.c)("w-[calc(50%-300px)] h-full","relative")},l.createElement(u,{style:{animationDelay:"1.5s"},className:(0,n.c)("absolute","top-[2px]","right-[220px]"),id:"1"}),l.createElement(u,{style:{animationDelay:"1s"},className:(0,n.c)("absolute","rotate-180","top-[8px] right-[100px]"),id:"2"}),l.createElement(f,{className:(0,n.c)("absolute","right-[10px]"),id:"3"})),l.createElement("div",{className:(0,n.c)("w-[calc(50%-300px)] h-full","relative")},l.createElement(u,{style:{animationDelay:"2s"},className:(0,n.c)("absolute","rotate-180","top-[6px] right-[180px]"),id:"4"}),l.createElement(u,{style:{animationDelay:"0.5s"},className:(0,n.c)("delay-[1300]","absolute","top-[2px]","right-[40px]"),id:"5"}),l.createElement(f,{className:(0,n.c)("absolute","right-[-70px]"),id:"6"})))),l.createElement(s,null)),s=()=>l.createElement("a",{href:"https://github.com/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,n.c)("relative lg:absolute","px-2 lg:px-0","top-0","left-[50%]","translate-x-[-50%]","bg-top-announcement-text","h-full w-full lg:w-[450px]","flex items-center justify-center","text-white","text-xs sm:text-sm","text-center","no-underline","hover:no-underline","hover:text-white","not-prose")},l.createElement("div",{className:(0,n.c)("ml-2","not-prose")},"For more updates follow","",l.createElement("span",{className:(0,n.c)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")},"@AkashSingh3031"),".")),u=e=>l.createElement("svg",o(c({xmlns:"http://www.w3.org/2000/svg",width:80,height:40,fill:"none"},e),{className:(0,n.c)("animate-top-announcement-glow","opacity-1",e.className)}),l.createElement("circle",{cx:40,r:40,fill:`url(#${e.id}-a)`,fillOpacity:.5}),l.createElement("defs",null,l.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 40 -40 0 40 0)",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{stopColor:"#47EBEB"}),l.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0})))),f=e=>l.createElement("svg",o(c({xmlns:"http://www.w3.org/2000/svg",width:120,height:48,fill:"none"},e),{className:(0,n.c)("animate-top-announcement-glow","opacity-1",e.className)}),l.createElement("circle",{cx:60,cy:24,r:60,fill:`url(#${e.id}-a)`,fillOpacity:.5}),l.createElement("defs",null,l.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 60 -60 0 60 24)",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{stopColor:"#47EBEB"}),l.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0}))))},2064:(e,t,r)=>{"use strict";r.d(t,{ED:()=>i,Ip:()=>s,_i:()=>m,Mx:()=>u,iG:()=>d,Yv:()=>o,Sm:()=>c,G_:()=>f});var n=r(2411);const l=JSON.parse('{"label":"Tutorial","path_prefix_segment":"tutorial","defaultParameters":{"language":"cpp"},"parameterOptions":{"language":[{"label":"C++","value":"cpp"},{"label":"Python","value":"py"},{"label":"Java","value":"java","status":"coming-soon"}]},"units":[{"title":"DSA","id":"dsa","items":["dsa/:language/index"]}]}');var a=r(1688);const c=l,o=(e,t)=>e.split("/").map((e=>{if(e.startsWith(":")){const r=e.slice(1);return t[r]}return e})).join("/"),i=(e,t)=>{for(const r of c.units)for(const n of r.items)if(e===o(n,t))return r},s=(e,t)=>{let r=!1;for(const n of c.units)for(const l of n.items){if(r)return l;o(l,t)===e&&(r=!0)}},u=(e,t)=>{let r=null;for(const n of c.units)for(const l of n.items){if(o(l,t)===e)return r;r=l}},f=()=>{const{docs:e}=(0,a.E)(),{versions:t}=(0,n.MP)("docusaurus-plugin-content-docs","tutorial"),r=t[0].docs;for(const n of r)n.title=e[n.id].title;return Object.fromEntries(r.map((e=>[e.id,e])))},m=(e,t)=>{const r=t[e];if(!r)throw new Error(`Cannot find item with id ${e}`);return r.path},d=(e,t)=>{const r=t[e];if(!r)throw new Error(`Cannot find doc with id ${e}`);return r.title}},1240:(e,t,r)=>{"use strict";r.d(t,{c:()=>C});var n=r(1504),l=r(4971);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{var a;const c=null!==(a=p[e])&&void 0!==a?a:()=>null;var o;const i=null!==(o=b[e])&&void 0!==o?o:"tex-inherit";var s;const u=null!==(s=g[e])&&void 0!==s?s:"bg-inherit";return"simple"===e?n.createElement(v,{type:e,title:t},r):n.createElement("div",{className:(0,l.c)("rounded-lg","admonition",`admonition-${e}`,"mb-6","refine-wider-container",u)},n.createElement("div",{className:(0,l.c)("border-l-4","border-l-solid","border-l-inherit","rounded-tl-lg","rounded-bl-lg","py-4","pr-4","pl-3","flex flex-col","gap-2 sm:gap-4")},(t||h[e])&&n.createElement("div",{className:(0,l.c)("flex","items-center","gap-2","text-xs sm:text-base 2xl:text-base 2xl:leading-7","font-semibold",i)},n.createElement(c,null),n.createElement("span",{className:"uppercase"},null!==(f=null!=t?t:h[e])&&void 0!==f?f:"")),n.createElement("div",{className:(0,l.c)("text-gray-0","text-base","last:mb-0")},r)));var f},v=({type:e,title:t,children:r})=>{var a;const c=null!==(a=b[e])&&void 0!==a?a:"tex-inherit";var o;const i=null!==(o=g[e])&&void 0!==o?o:"bg-inherit";return n.createElement("div",{className:(0,l.c)("rounded-lg","admonition",`admonition-${e}`,"mb-6",i)},n.createElement("div",{className:(0,l.c)("flex flex-col","gap-2",!t&&"pt-4")},t&&n.createElement("div",{className:(0,l.c)("px-4","pt-4","text-sm","leading-5","-mt-0.5",c)},n.createElement("span",{className:"font-semibold"},null!=t?t:""),n.createElement("span",null,":")),n.createElement("div",{className:(0,l.c)("text-gray-0","text-base","last:mb-0","px-4 pb-4","admonition-content")},r)))};function O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function w(e){for(var t=1;tn.isValidElement(e)&&"mdxAdmonitionTitle"===(null===(t=e.props)||void 0===t?void 0:t.mdxType))),a=n.createElement(n.Fragment,null,r.filter((e=>e!==l)));return{mdxAdmonitionTitle:l,rest:a}}(e.children);var l;return x(w({},e),{title:null!==(l=e.title)&&void 0!==l?l:t,children:r})}const k=e=>{const{children:t,type:r,title:l}=P(e);return n.createElement(y,{type:r,title:l},t)};function C(e){return"info-tip"===e.type?n.createElement(k,e):"additional"===e.type?n.createElement(k,x(w({},e),{type:"note",title:"ADDITIONAL INFO"})):"sourcecode"===e.type?n.createElement(k,x(w({},e),{icon:n.createElement(E,null),title:n.createElement("a",{href:e.path,target:"_blank",rel:"noreferrer",style:{marginLeft:"4px"}},"SOURCE CODE"),titleProps:{style:{marginBottom:"-4px"}}}),e.children):"create-example"===e.type?n.createElement(k,x(w({},e),{type:"caution",icon:n.createElement(j,null),title:n.createElement("span",{style:{marginLeft:"4px"}},"RUN IN YOUR LOCAL")}),e.children):n.createElement(n.Fragment,null,n.createElement(k,e))}},7328:(e,t,r)=>{"use strict";r.d(t,{c:()=>k});var n=r(4971),l=r(1504);const a=({className:e})=>l.createElement("div",{className:(0,n.c)("relative","w-full","landing-md:mx-auto","w-full","pt-4 blog-md:pt-12 pb-6 px-6","bg-white dark:bg-gray-800",e)},l.createElement("div",{className:(0,n.c)("blog-sm:max-w-[592px]","blog-md:max-w-[656px]","blog-lg:max-w-[896px]","blog-max:max-w-[1200px]","w-full","mx-auto","flex","flex-col","items-start justify-start blog-lg:items-center blog-lg:justify-center","gap-4","not-prose")},l.createElement("h2",{className:(0,n.c)("flex","flex-wrap","gap-2","text-[32px] leading-[40px] landing-sm:text-[56px] landing-sm:leading-[72px]")},l.createElement("div",{className:(0,n.c)("dark:text-gray-0 text-gray-900")},"PrepVerse "),l.createElement("div",{className:(0,n.c)("font-semibold","dark:text-refine-green-alt dark:drop-shadow-[0_0_30px_rgba(71,235,235,0.25)]","text-refine-blue drop-shadow-[0_0_30px_rgba(51,51,255,0.3)]","whitespace-nowrap")},"Technical Blog")),l.createElement("p",{className:(0,n.c)("text-base","text-start landing-md:text-center","max-w-[588px]","dark:text-gray-400 text-gray-600","pb-2")},"contains all the DSA, Core Subjects, Web Tech, Data Science & FAANG Interview questions based blogs.")));var c=r(3680),o=r(8480),i=r(6968),s=r(6192),u=r(6112),f=r(9184),m=r(2424),d=r(2276),p=r(2268);function b(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g(e){for(var t=1;t{const[r,n]=(0,l.useState)({scrollDepths:e,scrollY:0}),{scrollDepths:a,scrollY:c}=r;return(0,l.useEffect)((()=>{"undefined"!=typeof window&&0!==window.pageYOffset&&n((e=>h(g({},e),{scrollY:window.pageYOffset})))}),[]),(0,l.useEffect)((()=>{if("undefined"==typeof window)return;const e=()=>window.removeEventListener("scroll",l),l=()=>{const l=document.documentElement,c=document.body,o=l.scrollTop||c.scrollTop,i=l.scrollHeight||c.scrollHeight,s=o/(i-l.clientHeight)*100;if(a){const r=Math.min(...a,i);if(s>=r){const l=a.filter((e=>e!==r));0===l.length&&e(),t&&t({scrollY:r,scrollPercent:s,remainingDepths:l}),n({scrollY:r,scrollDepths:l})}}else n(h(g({},r),{scrollY:s}))};return window.addEventListener("scroll",l),e}),[a,c,r]),{scrollY:c}},v=(e,t)=>{const[r,n]=(0,l.useState)((()=>{if("undefined"==typeof window)return t;try{const r="undefined"!=typeof window?window.localStorage.getItem(e):void 0;return r?JSON.parse(r):t}catch(r){return console.log(r),t}}));return[r,t=>{try{const l=t instanceof Function?t(r):t;n(l),"undefined"!=typeof window&&window.localStorage.setItem(e,JSON.stringify(l))}catch(l){console.log(l)}}]};var O=r(640);const w=({title:e="Click here to discover my latest projects, skills, and achievements on my portfolio website. My journey into creativity begins now!",variant:t="purple",image:r={src:"https://github.com/AkashSingh3031.png",alt:"My Portfolio",href:"https://prepverse.github.io/portfolio"},button:a={text:"Explore Now",href:"https://prepverse.github.io/portfolio",onClick:void 0}})=>{var c,o,i,b;const{pathname:g}=(0,O.IT)(),[h,w]=(0,l.useState)(!1),[x,E]=v("banner-modal",null),j=(0,l.useRef)(!1),P=y();var k,C;return(0,l.useEffect)((()=>{"/blog/"!==g&&"/blog"!==g&&(j.current||h||P.scrollY>79&&P.scrollY<100&&(j.current=!0,9===x||null===x?(w(!0),E(0)):(E(x+1),j.current=!0)))}),[P.scrollY]),(0,l.useEffect)((()=>{h&&"undefined"!=typeof window&&void 0!==window.gtag&&window.gtag("event","view_banner",{banner_name:"banner-modal",banner_text:e,banner_image:r.src})}),[h]),l.createElement(m.O,{appear:!0,show:h,as:l.Fragment},l.createElement(d.C,{as:"div",className:"relative z-modal",onClose:()=>w(!1)},l.createElement(m.O.Child,{as:l.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},l.createElement("div",{className:"fixed inset-0 bg-gray-900/70"})),l.createElement("div",{className:"fixed inset-0 overflow-y-auto"},l.createElement("div",{className:"flex min-h-full items-start justify-center"},l.createElement(m.O.Child,{as:l.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},l.createElement(d.C.Panel,{className:(0,n.c)("w-full min-h-screen","flex flex-col justify-center items-center")},l.createElement("div",{className:(0,n.c)("relative","rounded-3xl","max-w-[576px]","py-8","px-4 md:px-8","gray"===t&&"bg-banner-examples-modal-gray","purple"===t&&"bg-banner-examples-modal-purple")},l.createElement("div",{className:(0,n.c)("flex","flex-col","items-center","gap-8","text-center","not-prose")},l.createElement(f.c,{to:null!==(k=null===(c=r)||void 0===c?void 0:c.href)&&void 0!==k?k:null===(o=a)||void 0===o?void 0:o.href,target:"_blank",rel:"noopener noreferrer",className:(0,n.c)("flex","h-auto xl:h-[192px]","flex-shrink-0","rounded-lg","overflow-hidden","focus:outline-none")},l.createElement("img",{className:(0,n.c)("object-contain"),src:null===(i=r)||void 0===i?void 0:i.src,alt:null!==(C=null===(b=r)||void 0===b?void 0:b.alt)&&void 0!==C?C:e,loading:"lazy"})),l.createElement("p",{className:(0,n.c)("text-2xl","font-semibold","gray"===t&&"bg-clip-text","gray"===t&&"text-transparent","gray"===t&&"bg-banner-examples-text","purple"===t&&"text-gray-0")},e),l.createElement(s.D,{className:(0,n.c)("w-max"),buttonClassname:(0,n.c)("!px-4","!py-4"),href:a.href,onClick:a.onClick,target:"_blank",rel:"noopener noreferrer"},l.createElement("div",{className:(0,n.c)("text-gray-900","text-base","font-bold")},a.text),l.createElement(u.G,{className:(0,n.c)("w-4","h-4")}))),l.createElement("button",{className:(0,n.c)("absolute","top-2 right-2","w-8 h-8","flex items-center justify-center flex-shrink-0","text-gray-0","rounded-full","bg-gray-900/20"),onClick:()=>w(!1)},l.createElement(p.O,{className:"w-4 h-4"})))))))))};var x=r(6280);function E(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function j(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function P(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},a=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const k=e=>{const[t,r]=(0,l.useState)(!1),{children:s,toc:u,showSidebarBanner:f=!0}=e,m=P(e,["children","toc","showSidebarBanner"]),d=y();return(0,l.useEffect)((()=>{t&&(d.scrollY>20&&r(!0),d.scrollY<20&&r(!1))}),[d.scrollY,f]),l.createElement(o.C,j(function(e){for(var t=1;t{"use strict";r.d(t,{c:()=>f});var n=r(1504),l=r(468),a=r(2032),c=r(9184),o=r(3270),i=r(1904),s=r(4971);function u({className:e}){var t,r;const{metadata:a}=(0,l.g)(),{permalink:u,title:f,date:m,formattedDate:d,frontMatter:p,description:b,tags:g}=a,h=a.authors[0];return n.createElement(o.c,{className:e},n.createElement("div",null,n.createElement(c.c,{itemProp:"url",to:u,className:(0,s.c)("block","w-full h-auto","aspect-[592/334]")},n.createElement("div",{className:(0,s.c)("not-prose relative m-0 hover:brightness-90","h-full w-full")},n.createElement("img",{src:`${p.image}?h=432`,alt:f,className:(0,s.c)("absolute inset-0 mt-0 h-full w-full rounded-[10px] object-cover"),loading:"lazy"})))),n.createElement("div",{className:"px-4 py-4 md:px-6 md:py-6"},n.createElement("div",{className:(0,s.c)("flex flex-wrap items-center","mb-6","gap-2")},g.map((e=>n.createElement(c.c,{className:(0,s.c)("text-xs","bg-refine-react-3 dark:bg-refine-react-7","text-refine-react-8 dark:text-refine-react-3","no-underline","rounded-full","px-2 py-1"),href:e.permalink,key:e.permalink},e.label)))),n.createElement("div",{className:"mb-2 md:mb-4"},n.createElement(c.c,{itemProp:"url",to:u,className:"no-underline hover:no-underline",rel:"noopener dofollow"},n.createElement("div",{className:(0,s.c)("mb-4","text-gray-700 dark:text-refine-react-3","text-xl","font-lg","font-bold")},f)),n.createElement("div",{className:(0,s.c)("line-clamp-3","text-gray-700 dark:text-refine-react-4","text-sm")},b)),n.createElement("div",{className:"flex items-center gap-2"},n.createElement(c.c,{href:`/blog/author/${null===(t=h)||void 0===t?void 0:t.key}`,itemProp:"url",className:(0,s.c)("text-gray-600 hover:text-gray-600","dark:text-gray-400 hover:dark:text-gray-400","text-xs","no-underline")},null===(r=h)||void 0===r?void 0:r.name),n.createElement("span",{className:(0,s.c)("h-[4px] w-[4px] rounded-full","bg-gray-600 dark:bg-gray-500")}),n.createElement("span",{className:(0,s.c)("text-gray-600 dark:text-refine-react-5","text-xs","leading-6","no-underline")},n.createElement(i.iI,{date:m,formattedDate:d})))))}function f({items:e,tags:t,component:r=u,isAuthorPage:c,isTagsPage:o}){return n.createElement("div",{className:(0,s.c)("w-full","bg-white dark:bg-gray-800")},n.createElement("div",{className:(0,s.c)("blog-sm:max-w-[592px]","blog-md:max-w-[656px]","blog-lg:max-w-[896px]","blog-max:max-w-[1200px]","w-full","px-6 blog-sm:px-0","pt-14 blog-md:pt-12","pb-6","mx-auto","not-prose")},!c&&!o&&n.createElement(n.Fragment,null,n.createElement("div",{className:(0,s.c)("flex flex-row blog-lg:flex-col justify-between","items-center blog-lg:items-start","not-prose","px-6","mb-6 blog-lg:mb-12","gap-6")},n.createElement("h2",{className:(0,s.c)("!m-0 !mt-0 !mb-0 p-0","blog-lg:mb-12 blog-md:mb-8 mb-8","text-2xl blog-sm:text-[32px] blog-sm:leading-10","text-refine-react-8 dark:text-refine-react-3","font-semibold","whitespace-nowrap")},"All Posts"),n.createElement(a.c,{tags:t}))),n.createElement("div",{className:(0,s.c)("grid grid-cols-1 blog-md:grid-cols-2 blog-max:grid-cols-3","gap-6")},e.map((({content:e})=>n.createElement(l.E,{key:e.metadata.permalink,content:e},n.createElement(r,null,n.createElement(e,null))))))))}},8560:(e,t,r)=>{"use strict";r.d(t,{s:()=>Z});var n=r(1504),l=r(8952),a=r(8796),c=r(5684),o=r(6564),i=r(2184),s=r(6616),u=r(5952),f=r(4971),m=r(1373);function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function b(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},a=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const g=e=>{var{as:t}=e,r=b(e,["as"]);return n.createElement(t,p(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const[r,l]=(0,n.useState)(!1),a=(0,n.useRef)(void 0),c=(0,n.useCallback)((()=>{try{navigator.clipboard.writeText(e).then((()=>{l(!0),a.current=window.setTimeout((()=>{l(!1)}),1e3)}))}catch(t){}}),[e]);return(0,n.useEffect)((()=>()=>window.clearTimeout(a.current)),[]),n.createElement("button",{type:"button","aria-label":r?"Copied!":"Copy code to clipboard",title:"Copy code to clipboard",className:(0,f.c)("w-6 h-6","flex justify-center items-center","bg-gray-200","dark:bg-gray-800","hover:bg-gray-300","dark:hover:bg-refine-react-dark-code","rounded","group","transition-[background-color] duration-200 ease-in-out"),onClick:c},n.createElement(y,{className:(0,f.c)("w-3 h-3","text-gray-500","dark:text-gray-400",r&&"rotate-[360deg]","transition-all duration-200 ease-in-out")}))};function O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const w=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const r=t?w:E;return n.createElement("button",{type:"button",onClick:()=>e(),className:(0,f.c)("w-6 h-6","flex justify-center items-center","bg-gray-200","dark:bg-gray-800","hover:bg-gray-300","dark:hover:bg-refine-react-dark-code","rounded","group","transition-[background-color] duration-200 ease-in-out"),"aria-label":"Toggle word wrap",title:"Toggle word wrap"},n.createElement(r,{className:(0,f.c)("w-3 h-3","text-gray-500","dark:text-gray-400",t&&"rotate-[360deg]","transition-all duration-200 ease-in-out")}))};function P(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function k(e){for(var t=1;tn.createElement("svg",k({xmlns:"http://www.w3.org/2000/svg",width:12,height:14,viewBox:"0 0 12 14",fill:"none"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M11 4.994V11.6A1.4 1.4 0 0 1 9.6 13H2.4A1.4 1.4 0 0 1 1 11.6V2.4A1.4 1.4 0 0 1 2.4 1h4.606a1.4 1.4 0 0 1 .99.41l2.594 2.594a1.4 1.4 0 0 1 .41.99ZM0 2.4A2.4 2.4 0 0 1 2.4 0h4.606a2.4 2.4 0 0 1 1.697.703l2.594 2.594A2.4 2.4 0 0 1 12 4.994V11.6A2.4 2.4 0 0 1 9.6 14H2.4A2.4 2.4 0 0 1 0 11.6V2.4ZM3.5 6a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5Zm0 2a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5Zm0 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3Z",clipRule:"evenodd"})),A=({children:e,icon:t=n.createElement(N,null)})=>n.createElement("div",{className:(0,f.c)("py-3","px-4","bg-gray-100 dark:bg-gray-700","text-gray-800","dark:text-gray-100","text-xs","flex items-center","gap-2","rounded-tl-lg","rounded-tr-lg")},t,e),S=({children:e,className:t="",metastring:r,title:l,showLineNumbers:a,language:d,icon:p,style:b})=>{const{prism:{defaultLanguage:h,magicComments:y}}=(0,c.y)();var O;const w=null!==(O=null!=d?d:(0,i.K2)(t))&&void 0!==O?O:h,x=(0,o.i)(),E=(0,s._)(),P=(0,i.QH)(r)||l,{lineClassNames:N,code:S}=(0,i.cj)(e,{metastring:r,language:w,magicComments:y}),H=null!=a?a:(0,i.OO)(r);return n.createElement(g,{as:"div",className:(0,f.c)("refine-common-code-block",w&&`language-${w}`,"rounded-lg","bg-gray-200","dark:bg-gray-900","border","border-gray-300","dark:border-0","mb-6","relative","refine-wider-container"),style:b},P&&n.createElement(A,{icon:p},P),n.createElement("div",{className:(0,f.c)("relative","pt-3","pb-0","not-prose")},n.createElement(m.cp,C(k({},m.wB),{theme:x,code:S,language:null!=w?w:"text"}),(({className:e,tokens:t,getLineProps:r,getTokenProps:l})=>n.createElement("pre",{tabIndex:0,ref:E.codeBlockRef,className:(0,f.c)(e,"bg-transparent","!mt-0","!mb-0","m-0","px-0","pt-0","font-jetBrains-mono","pb-3")},n.createElement("code",{className:(0,f.c)("font-[inherit]","bg-transparent","inline-block","min-w-full")},t.map(((e,t)=>n.createElement(u.c,{key:t,line:e,getLineProps:r,getTokenProps:l,classNames:(0,f.c)(N[t],"px-4","text-xs sm:text-sm 2xl:text-sm"),showLineNumbers:H})))))))),n.createElement("div",{className:(0,f.c)("absolute",P?"top-2 right-2":"top-3 right-3","flex items-center gap-2")},(E.isEnabled||E.isCodeScrollable)&&n.createElement(j,{onClick:E.toggle,isEnabled:E.isEnabled}),n.createElement(v,{className:(0,f.c)(),code:S})))};function H(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function D(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},a=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const Z=e=>{var{children:t}=e,r=D(e,["children"]);const c=(0,l.c)(),o=function(e){return n.Children.toArray(e).some((e=>(0,n.isValidElement)(e)))?e:Array.isArray(e)?e.join(""):e}(t),i="string"==typeof o?S:a.c;return n.createElement(i,function(e){for(var t=1;t{"use strict";r.d(t,{c:()=>A});var n=r(1504),l=r(8560),a=r(4971),c=r(9936),o=r(7748),i=r.n(o),s=r(1688);const u="playgroundPreview_jwe9";function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function m({children:e,minHeight:t,url:r="http://localhost:3000",hasBottom:l=!1}){return n.createElement("div",{className:(0,a.c)("flex","flex-col","h-full")},n.createElement("div",{className:(0,a.c)("flex-shrink-0","rounded-tl-lg","rounded-tr-lg","border","border-gray-300 dark:border-gray-700","px-4 py-3","flex items-center justify-start","gap-2","bg-gray-100 dark:bg-gray-700","relative","text-gray-800 dark:text-gray-100","border-b-0")},n.createElement(d,{className:"w-4 h-4"}),n.createElement("div",{className:(0,a.c)("text-xs")},`${r}`.replace(/^http(s?):\/\//,""))),n.createElement("div",{className:(0,a.c)("flex-1","overflow-hidden","bg-gray-100 dark:bg-gray-700","border border-gray-300 dark:border-gray-700",!l&&"rounded-bl-lg rounded-br-lg",l&&"border-b-gray-300 dark:border-b-gray-900",l&&"border-b"),style:{minHeight:t}},e))}const d=e=>n.createElement("svg",function(e){for(var t=1;t{const[l,a]=n.useState(e),[c]=n.useState(t);n.useEffect((()=>{!l&&e&&a(!0)}),[e]),n.useEffect((()=>{if(c){const e=setTimeout((()=>{a(!0)}),c);return()=>clearTimeout(e)}}),[c]);const o=n.useMemo((()=>l&&"function"==typeof r?r():null),[l]);if(void 0!==r&&"function"!=typeof r)throw new Error("Conditional component requires a function as a child");return o};var g=r(9128),h=r(3296);function y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.g.Buffer=r.g.Buffer||h.Sn;const v=({query:e,code:t,css:r})=>{const{siteConfig:{customFields:l}}=(0,c.c)(),[a,o]=n.useState(void 0),s=n.useCallback((async t=>{if("undefined"!=typeof window&&window.Worker){const n=new Worker(`${location.protocol}//${location.host}/workers/lz-worker.js`);n.onmessage=function({data:t}){t.compressed&&o(`${l.LIVE_PREVIEW_URL}?code=${t.compressed}${r?`&css=${i().encode(r)}`:""}${e?`${e}`:""}`),n.terminate()},n.postMessage({code:t})}}),[e]);return n.useEffect((()=>{s(t)}),[t,s]),a?n.createElement("iframe",{loading:"lazy",src:a,width:"100%",height:"100%",style:{position:"absolute",left:0,top:0,width:"100%",height:"100%"}}):null},O=n.memo(v,((e,t)=>e.code===t.code&&e.query===t.query&&e.css===t.css)),w=e=>n.createElement("svg",function(e){for(var t=1;t{l?(i(!1),setTimeout((()=>{c((e=>!e)),setTimeout((()=>{i(!0)}),300)}),100)):(i(!1),c((e=>!e)),setTimeout((()=>{i(!0)}),300))}},n.createElement(w,{className:(0,a.c)(l&&"rotate-180","transition-transform","duration-200","ease-in-out")}),n.createElement("span",{className:(0,a.c)("text-base","block","overflow-hidden","h-6")},n.createElement("span",{className:(0,a.c)("block",l&&"opacity-0","transition-opacity duration-200 ease-in-out")},"Show Code"),n.createElement("span",{className:(0,a.c)("block","transition-transform duration-200 ease-in-out","bg-gray-100 dark:bg-gray-700",l&&"-translate-y-6")},"Hide Code"))),n.createElement("div",{className:(0,a.c)("rounded-bl-lg","rounded-br-lg"),style:{maxHeight:l?o?"unset":"100vh":"0px",transition:"0.3s all ease-in-out",overflow:"hidden"},ref:r},n.createElement(A,{language:"tsx",style:{marginBottom:0,marginRight:"0",marginLeft:"0",borderTopLeftRadius:"0",borderTopRightRadius:"0",borderBottomLeftRadius:"0.5rem",borderBottomRightRadius:"0.5rem"}},t)))}const E=({children:e,disableScroll:t,previewHeight:r,hideCode:l=!1,url:o="http://localhost:3000",previewOnly:i=!1,tailwind:f=!1})=>{const d=String(e),{shared:h,sharedCss:y}=(0,g.UF)(),{visible:v}=(e=>{const t="// visible-block-start";let r=e.indexOf(t);r=r>0?r+22:0;let n=e.indexOf("// visible-block-end");n=n>0?n:e.length;const l=e.slice(0,r),a=e.slice(r,n).trimEnd().trimStart(),c=e.slice(n);return{visible:a,join:e=>`${l}\n${e}\n${c}`}})(`\n ${null!=h?h:""}\n ${d}\n `.replace(/\n$/,"")),w=n.useRef(null),E=(0,p.c)(w),{siteConfig:{customFields:j}}=(0,c.c)(),{isLast:P}=(0,s.E)();return n.createElement("div",{className:(0,a.c)("overflow-hidden","mb-6","refine-wider-container")},n.createElement(n.Fragment,null,n.createElement(m,{url:o,hasBottom:!i},n.createElement("div",{className:(0,a.c)(u,"live-editor-wrapper"),style:{maxHeight:r,minHeight:r,overflow:t?"hidden":void 0,position:"relative"},ref:w},P?n.createElement(b,{if:E,maxWait:3e3},(()=>n.createElement(O,{code:`\n${null!=h?h:""}\n${d}\n `,css:y,query:`${t?"&disableScroll=true":""}${f?"&tailwind=true":""}`}))):n.createElement("div",{style:{height:"100%",minHeight:"inherit",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"1.25rem"}},n.createElement("span",null,"Live previews only work with the latest documentation.")))),!i&&n.createElement(x,{hidden:l,code:v})))},j=n.memo(E,((e,t)=>String(e.children)===String(t.children))),P=({children:e})=>{const{setShared:t}=(0,g.UF)();return n.useEffect((()=>(t(String(e)),()=>{t(void 0)})),[e]),null},k=n.memo(P,((e,t)=>String(e.children)===String(t.children))),C=({children:e})=>{const{setSharedCss:t}=(0,g.UF)();return n.useEffect((()=>(t(String(e)),()=>{t(void 0)})),[e]),null},N=n.memo(C,((e,t)=>String(e.children)===String(t.children)));function A(e){var t,r;return e.live&&e.live&&(null===(r=e.className)||void 0===r||null===(t=r.includes)||void 0===t?void 0:t.call(r,"language-css"))?n.createElement(N,e):e.shared&&e.live?n.createElement(k,e):e.live?n.createElement(j,e):n.createElement(l.s,e)}},3704:(e,t,r)=>{"use strict";r.d(t,{c:()=>f});var n=r(1504),l=r(9184),a=r(1724);const c=e=>{var t,r,n,l,c,o;let i="noopener noreferrer nofollow";const s=(0,a.c)(e);return(null===(r=e)||void 0===r||null===(t=r.includes)||void 0===t?void 0:t.call(r,"github.com/refinedev/refine"))&&(i="noopener"),(s||(null===(l=e)||void 0===l||null===(n=l.includes)||void 0===n?void 0:n.call(l,"refine.dev")))&&(i="noopener dofollow"),(s||(null===(o=e)||void 0===o||null===(c=o.includes)||void 0===c?void 0:c.call(o,"reactadminpanel.com")))&&(i="noopener dofollow"),i};var o=r(640);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e){for(var t=1;t{"use strict";r.d(t,{c:()=>ot});var n=r(7584),l=r(1504),a=r(4971),c=r(6192),o=r(6112),i=r(9184);const s=({title:e,description:t,image:r,variant:n="purple",button:s={text:"Explore Now",href:"https://prepverse.github.io/portfolio",onClick:void 0},bannerName:u})=>{var f,m,d,p,b,g;return l.useEffect((()=>{"undefined"!=typeof window&&void 0!==window.gtag&&u&&window.gtag("event","view_banner",{banner_name:u,banner_text:e,banner_description:t,banner_image:r.src})}),[u]),l.createElement("div",{className:(0,a.c)("relative","rounded-2xl","p-6","flex","flex-col 2xl:flex-row","items-center","gap-4 2xl:gap-10","not-prose","gray"===n&&"bg-banner-examples-gray","purple"===n&&"bg-banner-examples-purple")},l.createElement(i.c,{to:null!==(b=null===(f=r)||void 0===f?void 0:f.href)&&void 0!==b?b:null===(m=s)||void 0===m?void 0:m.href,target:"_blank",rel:"noopener noreferrer",className:(0,a.c)("flex","max-w-[360px]","h-auto","flex-shrink-0","rounded-lg","overflow-hidden")},l.createElement("img",{src:null===(d=r)||void 0===d?void 0:d.src,alt:null!==(g=null===(p=r)||void 0===p?void 0:p.alt)&&void 0!==g?g:e,loading:"lazy"})),l.createElement("div",{className:(0,a.c)("flex","flex-col","gap-6","justify-center 2xl:justify-start","items-center 2xl:items-start","text-center 2xl:text-start","not-prose")},e&&l.createElement("h2",{className:(0,a.c)("text-xl md:text-2xl","text-gray-0")},e),l.createElement("p",{className:(0,a.c)("text-sm md:text-base","text-gray-100")},t),l.createElement(c.D,{className:(0,a.c)("w-max"),buttonClassname:(0,a.c)("!px-4","!py-2"),href:s.href,onClick:s.onClick,target:"_blank",rel:"noopener noreferrer"},l.createElement("div",{className:(0,a.c)("text-gray-900","text-sm md:text-base","font-bold")},s.text),l.createElement(o.G,{className:(0,a.c)("ml-1 md:ml-2","w-[14px] h-[14px]","md:w-4 md:h-4")}))))},u=({title:e="My Portfolio",description:t="Click here to discover my latest projects, skills, and achievements on my portfolio website. My journey into creativity begins now!",button:r={text:"Explore Now",href:"https://prepverse.github.io/portfolio?ref=banner-retool-alternative",onClick:void 0}})=>(l.useEffect((()=>{"undefined"!=typeof window&&void 0!==window.gtag&&e&&t&&window.gtag("event","view_banner",{banner_name:"banner-retool-alternative",banner_text:e,banner_description:t})}),[e,t]),l.createElement("div",{className:(0,a.c)("relative","rounded-2xl","p-8","flex","flex-col","justify-center","items-center","not-prose","bg-banner-examples-gray")},l.createElement("h2",{className:(0,a.c)("text-2xl","font-semibold","bg-banner-examples-text","bg-clip-text","text-transparent")},e),l.createElement("p",{className:(0,a.c)("mt-2","text-sm","text-gray-300")},t),l.createElement(c.D,{className:(0,a.c)("mt-9"),href:r.href,onClick:r.onClick,target:"_blank",rel:"noopener noreferrer"},l.createElement("div",{className:(0,a.c)("text-gray-900","text-base","font-bold")},r.text))));var f=r(8164);const m=[],d=Math.floor(Math.random()*(m.length+1));var p=r(4752),b=r(7396);const g=({image:e,title:t,description:r,isDark:n})=>{let a;a="refineNew"===r?l.createElement("div",null," ",l.createElement("a",{href:"https://s.refine.dev/new-blog",target:"_blank"},"refine.new")," ","enables you to create React-based, headless UI enterprise applications within your browser that you can preview, tweak and download instantly.",l.createElement("br",null),l.createElement("br",null),"\ud83d\ude80 By visually combining options for your preferred \u2728",l.createElement("b",null," React platform,")," \u2728 ",l.createElement("b",null,"UI framework"),", \u2728"," ",l.createElement("b",null,"backend connector"),", and \u2728 ",l.createElement("b",null,"auth provider"),"; you can create tailor-made architectures for your project in seconds. It feels like having access to thousands of project templates at your fingertips, allowing you to choose the one that best suits your needs!",l.createElement("br",null),l.createElement("br",null),l.createElement("br",null)):null!=r?r:l.createElement("div",null,"Meet the headless, React-based solution to build sleek"," ",l.createElement("b",null,"CRUD")," applications. With refine, you can be confident that your codebase will always stay clean and boilerplate-free.",l.createElement("br",null),l.createElement("br",null),"Try"," ",l.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank"},"PrepVerse")," ","to rapidly build your next ",l.createElement("b",null,"CRUD")," project, whether ","it's"," ","an admin panel, dashboard, internal tool or storefront.");const c=null!=e?e:"https://refine.ams3.cdn.digitaloceanspaces.com/website/static/img/generic_banner.png";c.startsWith("http")||c.startsWith("/");return l.createElement("a",{href:"https://s.refine.dev/hackathon2",target:"_blank",rel:"noreferrer"},l.createElement("img",{src:"https://refine.ams3.cdn.digitaloceanspaces.com/hackathon-2/hackathon_cover.png"}))};var h=r(5524),y=r(3896),v=r(3376),O=r(8840);function w(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const x=e=>l.createElement("svg",function(e){for(var t=1;t{var t,r,n;const c=l.useRef(!1),{id:o}=(0,v.U)(),[i,s]=l.useState(!1),{items:u}=(0,O.GC)(),{reward:f}=(0,y.yh)(`checklist-${o}`,"confetti",{angle:90,elementCount:120,startVelocity:30,decay:.95,spread:100,position:"absolute",lifetime:150}),m=null===(n=u.find((e=>e.id===o)))||void 0===n||null===(t=(r=n.checklist).every)||void 0===t?void 0:t.call(r,(e=>e.checked));return l.useEffect((()=>{setTimeout((()=>{c.current=!0}),1e3)}),[]),l.useEffect((()=>{!i&&m&&c.current&&(s(!0),f())}),[m,i]),l.createElement("div",{className:(0,a.c)("rounded-lg","border-l-gray-400 dark:border-l-gray-600","dark:bg-gray-800 bg-gray-50")},l.createElement("div",{className:(0,a.c)("border-l-4","border-l-solid","border-l-inherit","rounded-tl-lg","rounded-bl-lg","p-4","flex flex-col")},l.createElement("div",{className:"border-b border-gray-400 dark:border-gray-500 border-opacity-50 dark:border-opacity-50"},l.createElement("div",{className:(0,a.c)("not-prose","mt-0 mb-4","flex items-center","gap-2")},l.createElement(x,{className:(0,a.c)("w-4 h-4","dark:text-gray-100 text-gray-800")}),l.createElement("h3",{className:(0,a.c)("m-0 p-0","font-semibold","dark:text-gray-100 text-gray-800","uppercase","text-base leading-6")},"Checklist"))),l.createElement("div",null,e),l.createElement("div",{className:"flex items-center justify-center"},l.createElement("div",{id:`checklist-${o}`}))))};function j(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const P=e=>l.createElement("svg",function(e){for(var t=1;t{var r,n,c,o;const{id:i}=(0,v.U)(),{items:s,toggle:u}=(0,O.GC)(),f=null===(r=null===(o=s.find((e=>e.id===i)))||void 0===o||null===(n=(c=o.checklist).find)||void 0===n?void 0:n.call(c,(e=>e.id===t)))||void 0===r?void 0:r.checked;return l.createElement("label",{className:(0,a.c)("mt-4","flex","items-center justify-start","flex-nowrap","gap-2","cursor-pointer")},l.createElement("div",{className:"flex-shrink-0"},l.createElement("button",{type:"button",onClick:()=>{u(i,t)},className:(0,a.c)("appearance-none","flex items-center justify-center","w-4 h-4","rounded","border",{"border-gray-400 dark:border-gray-500":!f,"border-refine-react-dark-link dark:border-refine-react-dark-link":f,"bg-refine-react-dark-link":f})},f&&l.createElement(P,null))),l.createElement("div",{className:(0,a.c)(f&&"line-through dark:text-gray-100 dark:text-opacity-50 text-gray-800 text-opacity-50",!f&&"text-gray-800 dark:text-gray-100")},e))};var C=r(8560),N=r(2108);const A=({path:e})=>l.createElement(C.s,{language:"bash",title:"Run on your local",icon:l.createElement(N.G,null)},`npm create refine-app@latest -- --example ${e}`);var S=r(5792);const H=({path:e})=>l.createElement("div",{className:(0,a.c)("refine-wider-container","py-2","px-2","text-base","font-sans","flex items-center","gap-2","rounded-lg","dark:bg-gray-700","bg-gray-100","mb-6")},l.createElement(S.A,{className:"ml-1.5 w-5 h-5 text-gray-800 dark:text-gray-100"}),l.createElement("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:(0,a.c)("text-base","leading-8","text-refine-react-light-link dark:text-refine-react-dark-link")},l.createElement("span",null,"View Source Code"))),D=({path:e})=>{const t=`https://github.com/PrepVerse/PrepVerse/tree/master/examples/${e}`;return l.createElement(H,{path:t})},Z=({path:e,hideSource:t,hideLocal:r,hideSandbox:n})=>{const a=`${`https://codesandbox.io/embed/github/refinedev/refine/tree/master/examples/${e}`}?view=preview&theme=dark&runonclick=1&codemirror=1`;return l.createElement("div",null,!t&&l.createElement(D,{path:e}),!r&&l.createElement(A,{path:e}),!n&&l.createElement("iframe",{loading:"lazy",src:a,style:{width:"100%",height:"80vh",border:"0px",borderRadius:"8px",overflow:"hidden"},title:e,allow:"accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking",sandbox:"allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"}))};var M=r(1240),L=r(7916);const z=()=>l.createElement("div",null,l.createElement(M.c,{type:"simple",title:"Good to know"},l.createElement(L.s,null,"\nAll the data related hooks (useTable, useForm, useList etc.) of Refine can be given some common properties like `resource`, `meta` etc.\n\nFor more information, refer to the [General Concepts documentation](/docs/guides-concepts/general-concepts).\n"))),B=({children:e,content:t})=>l.createElement("div",{className:(0,a.c)("refine-info-badge","relative","group","inline-flex","align-middle")},e,l.createElement("div",{className:(0,a.c)("absolute","-left-1","top-0","translate-x-0","-translate-y-0","scale-0","group-hover:scale-100","group-hover:-translate-y-full","transition-transform","origin-top-left","pb-2","w-60","pointer-events-none")},l.createElement("div",{className:(0,a.c)("text-xs","text-gray-600","bg-gray-0","border","border-gray-200","shadow-sm","rounded","py-1","px-2","font-normal")},null!=t?t:"Check the guide for more information"))),R=({id:e,icon:t,color:r,text:n,description:c})=>{const o=(0,a.c)("orange"===r&&(0,a.c)("bg-refine-react-light-orange-bg dark:bg-refine-react-dark-orange","dark:bg-opacity-[0.15]","text-refine-react-light-orange dark:text-refine-react-dark-orange"),"green"===r&&(0,a.c)("bg-refine-react-light-green-bg dark:bg-refine-react-dark-green","dark:bg-opacity-[0.15]","text-refine-react-light-green dark:text-refine-react-dark-green"),"purple"===r&&(0,a.c)("bg-refine-react-light-purple-bg dark:bg-refine-react-dark-purple","dark:bg-opacity-[0.15]","text-refine-react-light-purple dark:text-refine-react-dark-purple"));return l.createElement(B,{content:c},l.createElement(i.c,{to:`/docs/${e}`,className:(0,a.c)("-mt-px","rounded-[10px]","inline-flex","items-center","justify-center","text-sm","no-underline","gap-1.5","[&>svg]:hover:scale-110","[&>svg]:transition-transform [&>svg]:duration-200 [&>svg]:ease-in-out",o)},t,n&&l.createElement("span",{className:"text-xs leading-[0.875rem]"},n)))};function T(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const G=e=>l.createElement("svg",function(e){for(var t=1;tl.createElement("svg",function(e){for(var t=1;tr?l.createElement("div",{className:(0,a.c)("inline-flex","text-sm","py-0.5","px-2","rounded-xl","bg-refine-orange","bg-opacity-10","text-refine-orange","tracking-wide","align-middle","font-normal","mr-1"),title:o},null!=e?e:"deprecated"):t?l.createElement("div",{className:(0,a.c)("inline-flex","justify-center items-center","text-sm","text-refine-red","rounded-full","bg-refine-red bg-opacity-10","ml-1","w-6 h-6","align-middle")},null!=e?e:"\ufe61"):n?l.createElement("div",{className:(0,a.c)("inline-flex","text-sm","py-0.5","px-2","rounded-xl","bg-refine-red","bg-opacity-10","text-refine-red","tracking-wide","align-middle","font-normal","mr-1"),title:o},null!=e?e:"required"):c?l.createElement("div",{className:(0,a.c)("inline-flex","text-sm","py-0.5","px-2","rounded-xl","bg-refine-green","bg-opacity-10","text-refine-green","tracking-wide","align-middle","font-normal","mr-1"),title:o},null!=e?e:"featured"):e?l.createElement("div",{className:(0,a.c)("inline","text-gray-0","text-xs","leading-6","py-0.5","px-2","rounded","bg-gray-800","tracking-wide","align-middle","mr-1"),title:o},e):null,W="tooltip__Ymd",I="tooltipContainer_l6r7",U="tooltipContent_UeXm",X="tooltipArrow_mOyh",J=({label:e,children:t})=>e?l.createElement("div",{className:`${W} group`},t,l.createElement("div",{className:`${I} group-hover:visible`},l.createElement("span",{className:U},e),l.createElement("div",{className:X}))):l.createElement(l.Fragment,null,t);function K(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},a=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const Q=({prop:e,overrides:t})=>{var r,n,a;const c=null!==(a=t[`${e.name}-required`])&&void 0!==a?a:e.required;var o;const i=null!==(o=t[`${e.name}-deprecated`])&&void 0!==o?o:null===(r=e.tags)||void 0===r?void 0:r.deprecated;var s,u;const f=null!==(u=null!==(s=t[`${e.name}-deprecated`])&&void 0!==s?s:null===(n=e.tags)||void 0===n?void 0:n.deprecated)&&void 0!==u?u:"",m=(0,l.useMemo)((()=>{const e="props-table--name";return i?`${e} props-table--name__deprecated`:e}),[e,t]),d=(0,l.useMemo)((()=>f?l.createElement(L.s,null,f):null),[e,t]);var p;return l.createElement(J,{label:d},l.createElement(l.Fragment,null,l.createElement("span",{className:m},null!==(p=t[`${e.name}-name`])&&void 0!==p?p:e.name),c&&l.createElement(Y,{asterisk:!0})))},q=({prop:e,overrides:t})=>{var r;const n=null!==(r=t[`${e.name}-type`])&&void 0!==r?r:e.type.name,a=n.split(" | "),c=a.length>1,o=a.some((e=>e.length>20)),i=/`/.test(n);return l.createElement(l.Fragment,null,i?l.createElement(L.s,null,n):o&&c?l.createElement(l.Fragment,null,a.map(((e,t)=>l.createElement("code",{className:"max-w-xs h-min",key:t},l.createElement(L.s,null,e))))):l.createElement("code",{className:"max-w-xs h-min"},l.createElement(L.s,null,n)))},_=({prop:e,overrides:t})=>{var r,n;return l.createElement(L.s,null,null!==(n=null!==(r=t[`${e.name}-description`])&&void 0!==r?r:e.tags.description)&&void 0!==n?n:e.description)},$=({prop:e,overrides:t})=>{var r,n,a,c;const o=null===(r=e.tags)||void 0===r?void 0:r.default,i=(null===(n=e.defaultValue)||void 0===n?void 0:n.value)&&(null===(a=e.defaultValue)||void 0===a?void 0:a.value)!==o?null===(c=e.defaultValue)||void 0===c?void 0:c.value:void 0,s=t[`${e.name}-default`];return o||s?l.createElement(L.s,null,null!=s?s:o):l.createElement("div",{className:"flex flex-wrap gap-1"},void 0!==i?l.createElement("code",{className:"max-w-xs h-min"},l.createElement(L.s,null,i)):null)},ee=({prop:e,overrides:t})=>l.createElement("td",null,l.createElement("div",{className:"flex items-center"},l.createElement(Q,{prop:e,overrides:t}))),te=({prop:e,overrides:t})=>l.createElement("td",{className:"props-table__type-cell"},l.createElement("div",{className:"flex flex-wrap gap-1"},l.createElement(q,{prop:e,overrides:t}))),re=({prop:e,overrides:t})=>l.createElement("td",{className:"props-table__description-cell"},l.createElement(_,{prop:e,overrides:t})),ne=({prop:e,overrides:t})=>l.createElement("td",{className:"props-table__default-value-cell"},l.createElement($,{prop:e,overrides:t})),le=e=>{var{module:t,hideDefaults:n,children:a}=e,c=K(e,["module","hideDefaults","children"]);const o=((e,t="@refinedev/")=>{const[n,a]=(0,l.useState)(null);return(0,l.useEffect)((()=>{let n=!1;return r(6324)(`./${e.startsWith(t)?e:`${t}${e}`}.json`).then((e=>{n||(n=!0,a(e.default))})).catch(console.warn),()=>{n=!0}}),[e]),n})(t),i=(0,l.useMemo)((()=>{var e;if(n)return!1;if(Object.keys(c).some((e=>e.endsWith("-default"))))return!1;var t;return!Object.values(null!==(t=null===(e=o)||void 0===e?void 0:e.props)&&void 0!==t?t:{}).some((e=>{var t;return null===(t=e.defaultValue)||void 0===t?void 0:t.value}))}),[c]);if(!o)return null;const s=[...Object.values(o.props)];return l.createElement("div",{className:"table-container"},l.createElement("table",{className:"props-table"},l.createElement("thead",null,l.createElement("tr",null,l.createElement("th",null,"Property"),l.createElement("th",null,"Type"),l.createElement("th",null,"Description"),i?null:l.createElement("th",null,"Default"))),l.createElement("tbody",null,s.map((e=>c[`${e.name}-hidden`]?null:l.createElement("tr",{key:e.name},l.createElement(ee,{prop:e,overrides:c}),l.createElement(te,{prop:e,overrides:c}),l.createElement(re,{prop:e,overrides:c}),i?null:l.createElement(ne,{prop:e,overrides:c})))))),a)};function ae(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ce=e=>l.createElement("svg",function(e){for(var t=1;t{const{current:r}=(0,oe.U)();return e&&r===e?l.createElement(l.Fragment,null,t):null};var se=r(8530);function ue(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fe(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const me=e=>{var t;const r=l.Children.toArray(e.children),n=r.find((e=>l.isValidElement(e)&&"summary"===(null===(t=e.props)||void 0===t?void 0:t.mdxType))),c=l.createElement(l.Fragment,null,r.filter((e=>e!==n)));return l.createElement(se.S,fe(function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const ge=e=>{var{children:t,className:r}=e,n=be(e,["children","className"]);return l.createElement("summary",function(e){for(var t=1;t{const t=e.currentTarget,l=s.indexOf(t),a=c[l].value;a!==r&&(u(t),n(a))},m=e=>{var t,r;let n=null;switch(e.key){case"Enter":f(e);break;case"ArrowRight":{const t=s.indexOf(e.currentTarget)+1;var l;n=null!==(l=s[t])&&void 0!==l?l:s[0];break}case"ArrowLeft":{const t=s.indexOf(e.currentTarget)-1;var a;n=null!==(a=s[t])&&void 0!==a?a:s[s.length-1];break}}null===(r=n)||void 0===r||null===(t=r.focus)||void 0===t||t.call(r)};return l.createElement("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,a.c)(e,"!my-0","flex-wrap","list-none","m-0 mb-0 mt-0","px-4","flex gap-4","bg-gray-100 dark:bg-gray-700","rounded-tl-lg rounded-tr-lg",!o&&"rounded-bl-lg rounded-br-lg","items-stretch")},c.map((({value:e,label:t,attributes:n})=>l.createElement("li",xe(we({role:"tab",tabIndex:r===e?0:-1,"aria-selected":r===e,key:e,ref:e=>s.push(e),onKeyDown:m,onClick:f},n),{className:(0,a.c)("!my-0","mx-0 mt-0","px-2 py-3","flex items-center justify-center","min-w-[60px]","cursor-pointer","transition-all duration-200 ease-in-out","border-b border-solid","select-none",i&&"!text-xs",!i&&"!text-base",r!==e&&"text-gray-800 dark:text-gray-100",r===e&&"text-refine-react-light-link dark:text-refine-react-dark-link",r!==e&&"hover:text-refine-react-light-link dark:hover:text-refine-react-dark-link",r!==e&&"border-b-transparent",r===e&&"border-b-refine-react-light-link dark:border-b-refine-react-dark-link",r!==e&&"hover:border-b-refine-react-light-link dark:hover:border-b-refine-react-dark-link")}),null!=t?t:e))))}function je({lazy:e,children:t,selectedValue:r,smallTabs:n}){const c=(Array.isArray(t)?t:[t]).filter(Boolean);if(e){const e=c.find((e=>e.props.value===r));return e?(0,l.cloneElement)(e,{className:"margin-top--md refine-tab-content"}):null}var o;return l.createElement("div",{className:"p-4"},c.map(((e,t)=>(0,l.cloneElement)(e,{key:t,hidden:e.props.value!==r,className:(0,a.c)(null!==(o=e.props.className)&&void 0!==o?o:[],"refine-tab-content")}))))}function Pe(e){const t=(0,ye.a)(e),{wrapContent:r=!0}=e;return l.createElement("div",{className:(0,a.c)("tabs-container","rounded-lg","border-gray-300 dark:border-gray-700",r?"border":"border-0","mb-6","refine-wider-container")},l.createElement(Ee,we({},e,t)),l.createElement(je,we({},e,t)))}function ke(e){const t=(0,ve.c)();return l.createElement(Pe,we({key:String(t)},e))}function Ce(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ne(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},a=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}var Ae=r(4472),Se=r(4896),He=r(1488),De=r(8620),Ze=r(6076),Me=r(9072);function Le(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ze=e=>l.createElement("svg",function(e){for(var t=1;tl.createElement("svg",function(e){for(var t=1;t{var t,r;const[n,c]=(0,l.useState)(!1),{refs:o,floatingStyles:i,context:s}=(0,Ae.gR)({placement:"bottom-start",open:e.isOpen,onOpenChange:e.onOpenChange,whileElementsMounted:Se.kN,middleware:[(0,He.E3)((({middlewareData:e})=>{var t;return(null===(t=e)||void 0===t?void 0:t.flip)?{mainAxis:12}:{mainAxis:52}})),(0,Se.EB)((({placement:e})=>(e.includes("bottom")&&c(!1),e.includes("top")&&c(!0),{fallbackPlacements:["top-start"]})))]}),u=(0,Ae.ug)(s,{outsidePress:e=>!(null===(r=e.target)||void 0===r||null===(t=r.closest)||void 0===t?void 0:t.call(r,".widget-actions"))}),{getReferenceProps:f,getFloatingProps:m}=(0,Ae.M3)([u]);return l.createElement(l.Fragment,null,l.createElement("div",Xe(Ue({ref:o.setReference},f()),{style:{position:"absolute",top:"0",left:0}})),l.createElement(De.I,null,s.open&&l.createElement(Ze.q.div,Xe(Ue({initial:{opacity:0},animate:{opacity:1,transition:{duration:.2}},exit:{opacity:0},ref:o.setFloating,style:i},m()),{className:(0,a.c)("w-[320px]","bg-[#EAEBEF] dark:bg-refine-react-dark-code","border border-[#E3E4E5] dark:border-[#343A46]","rounded-[20px]","relative")}),e.children,l.createElement(Ke,{style:Ue({position:"absolute",top:n?"unset":"-10px",bottom:n?"-10px":"unset",transform:n?"rotate(180deg)":"rotate(0deg)",transition:"right 0.2s ease-in-out",willChange:"right"},e.arrowStyle)}))))},Ke=e=>{const{colorMode:t}=(0,Me.U)(),r="dark"===t;return l.createElement("svg",Ue({xmlns:"http://www.w3.org/2000/svg",width:42,height:18,viewBox:"0 0 42 18",fill:"none"},e),l.createElement("title",null,"Popover Pointer"),l.createElement("path",{fill:r?"#16181D":"#EAEBEF",stroke:"url(#a)",d:"M18.303 2.077C18.892 1.105 19.9.5 21 .5s2.108.605 2.697 1.577l3.026 4.992c.928 1.532 2.476 2.431 4.11 2.431H41.5v8H.5v-8h10.667c1.634 0 3.182-.899 4.11-2.431l3.026-4.992Z"}),l.createElement("defs",null,l.createElement("linearGradient",{id:"a",x1:21,x2:21,y1:1,y2:16,gradientUnits:"userSpaceOnUse"},l.createElement("stop",{offset:.59,stopColor:r?"#343A46":"#E3E4E5"}),l.createElement("stop",{offset:.602,stopColor:r?"#343A46":"#E3E4E5",stopOpacity:0}))))},Qe={UP:1,DOWN:2};function qe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _e(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}var $e;var et=r(7500),tt=r(9104);var rt=r(9092);var nt=r(5560);function lt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function at(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function ct(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ot=(it=function(e){for(var t=1;t{var{className:t}=e,r=Ne(e,["className"]);return l.createElement("blockquote",function(e){for(var t=1;td===m.length?l.createElement(f.c,null,(()=>l.createElement(u,null))):l.createElement(f.c,null,(()=>l.createElement(s,m[d]))),GuideBadge:({id:e,description:t="Please check the guide for more information on this topic.",text:r})=>l.createElement(R,{id:e,color:"green",icon:l.createElement(F,null),text:r,description:l.createElement(l.Fragment,null,l.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Check the guide"),l.createElement("div",{className:"text-xs"},t))}),RouterBadge:({id:e="guides-concepts/routing/",description:t="This value can be inferred from the route. Click to see the guide for more information.",text:r})=>l.createElement(R,{id:e,color:"orange",text:r,icon:l.createElement(ce,null),description:l.createElement(l.Fragment,null,l.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Router Integrated"),l.createElement("div",{className:"text-xs"},t))}),GlobalConfigBadge:({id:e="core/refine-component",description:t="This value can be configured globally. Click to see the guide for more information.",text:r})=>l.createElement(R,{color:"purple",icon:l.createElement(G,null),text:r,id:e,description:l.createElement(l.Fragment,null,l.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Globally Configurable"),l.createElement("div",{className:"text-xs"},t))}),Image:e=>l.createElement("img",_e(function(e){for(var t=1;t{const t=e?`-- ${e}`:"",r={npm:`npm create refine-app@latest ${t}`,pnpm:`pnpm create refine-app@latest ${t}`,yarn:`yarn create refine-app@latest ${t}`};return l.createElement(ke,null,l.createElement(tt.c,{value:"npm",label:"npm",default:!0},l.createElement(C.s,{className:"language-bash"},r.npm)),l.createElement(tt.c,{value:"pnpm",label:"pnpm"},l.createElement(C.s,{className:"language-bash"},r.pnpm)),l.createElement(tt.c,{value:"yarn",label:"yarn"},l.createElement(C.s,{className:"language-bash"},r.yarn),l.createElement(L.s,null,"> Only supports yarn@1 version.")))},InstallPackagesCommand:({args:e,children:t})=>{const r={npm:`npm i ${e}`,pnpm:`pnpm add ${e}`,yarn:`yarn add ${e}`};return l.createElement(ke,null,l.createElement(tt.c,{value:"npm",label:"npm",default:!0},l.createElement(C.s,{className:"language-bash"},r.npm),t),l.createElement(tt.c,{value:"pnpm",label:"pnpm"},l.createElement(C.s,{className:"language-bash"},r.pnpm),t),l.createElement(tt.c,{value:"yarn",label:"yarn"},l.createElement(C.s,{className:"language-bash"},r.yarn),t))},FullTable:et.Ih,TutorialConditional:({parameter:e,value:t,children:r})=>{var n;const{parameters:a}=(0,rt.iC)();return(null===(n=a)||void 0===n?void 0:n[e])===t?l.createElement(l.Fragment,null,r):null},VideoInView:e=>{const t=l.useRef(null),r=(0,nt.c)(t);return l.useEffect((()=>{var e,n,l,a;r?null===(n=t.current)||void 0===n||null===(e=n.play)||void 0===e||e.call(n):null===(a=t.current)||void 0===a||null===(l=a.pause)||void 0===l||l.call(a)}),[r]),l.createElement("video",at(function(e){for(var t=1;t{var e,r,n,l,a;(null===(e=t.current)||void 0===e?void 0:e.paused)?null===(n=t.current)||void 0===n||null===(r=n.play)||void 0===r||r.call(n):null===(a=t.current)||void 0===a||null===(l=a.pause)||void 0===l||l.call(a)},className:(0,a.c)(e.className,"w-full","h-auto","max-w-full","max-h-full","rounded-xl","object-contain")}))},DocThumbsUpDownFeedbackWidget:e=>{const t=(0,We.IT)(),[r,n]=(0,l.useState)(""),[c,o]=(0,l.useState)(null),[i,s]=(0,l.useState)(!1),[u,f]=(0,l.useState)(!1),m=i||u,{survey:d,createSurvey:p,updateSurvey:b}=(e=>{const[t,r]=(0,l.useState)(null),n=Ye[e.type];return{survey:t,setSurvey:r,createSurvey:async({body:e})=>{const t=await fetch(`${n}/responses`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(!t.ok)return null;const l=await t.json();return l?(r(l),l):void 0},updateSurvey:async({surveyId:e,body:t})=>{const l=await fetch(`${n}/responses/${e}`,{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(!l.ok)return null;const a=await l.json();return a?(r(a),a):void 0}}})({type:Te.THUMBS}),g=async r=>{o(r),s(!0),d?await b({surveyId:d.id,body:{response:r}}):await p({body:{response:r,entityId:t.pathname,metaData:{sectionId:e.id}}})};return l.createElement("div",{className:"group"},e.children,l.createElement("div",{className:(0,a.c)("relative","z-popover","hidden md:flex","items-center","gap-5","w-max h-[40px]","pt-1 pr-1 pb-1 pl-4","bg-[#99A1B31A] dark:bg-[#2F333C]","rounded-[28px]","transition-all duration-300 ease-in-out",!m&&"opacity-0","group-hover:opacity-100")},l.createElement("div",{className:(0,a.c)("text-xs","whitespace-nowrap","text-[#23272F] dark:text-[#E3E4E5]")},"Was this helpful?"),l.createElement("div",{className:(0,a.c)("flex","items-center","gap-1","widget-actions")},l.createElement("button",{type:"button",onClick:()=>g(Qe.UP),className:(0,a.c)("w-8 h-8","flex items-center justify-center","rounded-full","text-gray-500","hover:text-green-500 hover:bg-green-500/20","transition-all duration-200 ease-in-out",1===c&&"text-green-500 bg-green-500/20")},l.createElement(ze,null)),l.createElement("button",{type:"button",onClick:()=>g(Qe.DOWN),className:(0,a.c)("w-8 h-8","flex items-center justify-center","rounded-full","text-gray-500","hover:text-red-500 hover:bg-red-500/20","transition-all duration-200 ease-in-out",2===c&&"text-red-500 bg-red-500/20")},l.createElement(Re,null))),l.createElement(Je,{isOpen:m,onOpenChange:e=>{u||e||(s(!1),f(!1))},arrowStyle:{right:1===c?"150px":"115px"}},!u&&l.createElement("form",{className:(0,a.c)("flex flex-col","p-2"),onSubmit:e=>{e.preventDefault(),(async()=>{const e=r.trim();e&&(await b({surveyId:d.id,body:{response:c,responseText:e}}),f(!0),setTimeout((()=>{s(!1),f(!1)}),2e3))})()}},l.createElement("textarea",{rows:3,required:!0,minLength:3,placeholder:"Your thumbs tells us a lot, but If you have any additional thoughts or suggestions, we'd love to hear them!",onChange:e=>n(e.target.value),value:r,className:(0,a.c)("w-full","bg-white dark:bg-[#343A46]","text-[#23272F] dark:text-[#E3E4E5]","resize-none","rounded-xl","text-xs","py-2 px-3")}),l.createElement("button",{type:"submit",className:(0,a.c)("w-16 h-6","flex items-center justify-center","bg-refine-react-light-link dark:bg-refine-react-dark-link","text-xs","text-white","rounded-full","mt-2 ml-auto")},"Send")),u&&l.createElement("div",{className:(0,a.c)("flex items-center","p-4","text-xs","text-gray-500")},l.createElement("span",null,"Thank you for your feedback!")))))}},st=null!=st?st:{},Object.getOwnPropertyDescriptors?Object.defineProperties(it,Object.getOwnPropertyDescriptors(st)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(st)).forEach((function(e){Object.defineProperty(it,e,Object.getOwnPropertyDescriptor(st,e))})),it);var it,st},8092:(e,t,r)=>{"use strict";r.d(t,{c:()=>c});var n=r(1504),l=r(4971),a=r(9184);function c({permalink:e,label:t,isActive:r,size:c="small",variant:o="default"}){return n.createElement(a.c,{href:e,className:(0,l.c)("no-underline hover:no-underline","rounded-full","small"===c&&"text-xs","small"===c&&"py-1","small"===c&&"px-3","medium"===c&&"text-sm","medium"===c&&"py-2","medium"===c&&"px-4",!r&&"bg-gray-100 dark:bg-gray-700",!r&&"text-gray-600 dark:text-gray-400","text-refine-react-8 dark:text-refine-react-3","default"===o&&"bg-refine-react-3 dark:bg-refine-react-7","inverted"===o&&"bg-refine-react-3 dark:bg-refine-react-8")},t)}},2032:(e,t,r)=>{"use strict";r.d(t,{c:()=>g});var n=r(1504),l=r(8092),a=/\b(?:an?d?|a[st]|because|but|by|en|for|i[fn]|neither|nor|o[fnr]|only|over|per|so|some|tha[tn]|the|to|up|upon|vs?\.?|versus|via|when|with|without|yet)\b/i,c=/[^\s:\u2013\u2014-]+|./g,o=/\s/,i=/.(?=[A-Z]|\..)/,s=/[A-Za-z0-9\u00C0-\u00FF]/;var u=r(4971),f=r(320),m=r(5880);function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e){for(var t=1;t{const r=a.indexOf(e.label),n=a.indexOf(t.label);return-1===r?-1===n?0:1:-1===n?-1:r-n}));return n.createElement(n.Fragment,null,n.createElement(h,{collapsed:r,tags:c,className:(0,u.c)("hidden blog-lg:flex",t),onShowMoreClick:e=>l(e)}),n.createElement(y,{tags:c,className:(0,u.c)("block blog-lg:hidden",t)}))}const h=({tags:e,collapsed:t,className:r,onShowMoreClick:a})=>n.createElement("div",{className:(0,u.c)("bg-gray-50 dark:bg-refine-react-dark-code","justify-between","items-start","p-5",t&&"rounded-full",!t&&"rounded-3xl","not-prose",r)},n.createElement("ul",{className:(0,u.c)("overflow-hidden","flex-1",!t&&"h-24",t&&"h-8","m-0 p-0","mr-16","transition-all duration-300 ease-in-out")},e.map((e=>n.createElement("li",{className:(0,u.c)("inline-flex","m-1","mr-3"),key:e.permalink},n.createElement(l.c,b(p({},e),{label:O(e.label)})))))),n.createElement("button",{type:"button",onClick:()=>a(!t),className:(0,u.c)("appearance-none","flex","items-center","justify-center","gap-2","cursor-pointer","flex-shrink","no-underline hover:no-underline","text-xs","rounded-full","py-1","pl-3","pr-1","mt-1","text-refine-react-8 dark:text-refine-react-3","bg-refine-react-3 dark:bg-refine-react-7")},"Show More"," ",n.createElement(v,{className:(0,u.c)("opacity-30","transition-transform duration-200 ease-in-out",{"rotate-180 transform":!t})}))),y=({tags:e,className:t})=>{const[r,a]=n.useState(!1);return n.createElement(n.Fragment,null,n.createElement("div",{className:(0,u.c)(t)},n.createElement("button",{type:"button",onClick:()=>a(!0),className:(0,u.c)("flex","items-center","justify-center","gap-2","rounded-full","px-6 py-3","bg-refine-react-3 dark:bg-refine-react-6","text-refine-react-8 dark:text-white")},n.createElement(f.y,null),n.createElement("div",null,"Filter Tags"))),n.createElement(m.E,{onClose:()=>a(!1),open:r,title:"Filter Tags",variant:"blog"},n.createElement("ul",{className:(0,u.c)("overflow-hidden","flex","flex-col","gap-6"),style:{margin:0,padding:0}},e.map((e=>n.createElement("li",{className:(0,u.c)("flex"),key:e.permalink},n.createElement(l.c,b(p({},e),{label:O(e.label),variant:"inverted",size:"medium"}))))))))},v=e=>n.createElement("svg",{width:16,height:16,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e.className},n.createElement("title",null,"chevron"),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M15 8A7 7 0 1 1 1 8a7 7 0 0 1 14 0Zm1 0A8 8 0 1 1 0 8a8 8 0 0 1 16 0ZM5.854 6.646a.5.5 0 1 0-.708.708l2.5 2.5a.5.5 0 0 0 .708 0l2.5-2.5a.5.5 0 0 0-.708-.708L8 8.793 5.854 6.646Z",clipRule:"evenodd"})),O=e=>{let t=`${e}`;t=e.replace(/-/g," ");return[["html","HTML"],["css","CSS"],["javascript","JavaScript"]].forEach((r=>{t=e.replace(r[0],r[1])})),function(e){for(var t,r="";null!==(t=c.exec(e));){var n=t[0],l=t.index;i.test(n)||a.test(n)&&0!==l&&l+n.length!==e.length||":"===e.charAt(l+n.length)&&!o.test(e.charAt(l+n.length+1))?r+=n:r+=n.replace(s,(function(e){return e.toUpperCase()}))}return r}(e)}}}]); \ No newline at end of file +(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[4040],{6324:(e,t,r)=>{var n={"./plugin-route-context-module-100.json":[4634,4634]};function l(e){if(!r.o(n,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=n[e],l=t[0];return r.e(t[1]).then((()=>r.t(l,19)))}l.keys=()=>Object.keys(n),l.id=6324,e.exports=l},6280:(e,t,r)=>{"use strict";r.d(t,{c:()=>u});var n=r(1504),l=r(4971),a=r(3652),c=r(5628),o=r(476),i=r(1580);const s={backToTopButton:"backToTopButton_sjWU",backToTopButtonShow:"backToTopButtonShow_xfvO"};function u(){const{shown:e,scrollToTop:t}=function({threshold:e}){const[t,r]=(0,n.useState)(!1),l=(0,n.useRef)(!1),{startScroll:a,cancelScroll:c}=(0,o.yI)();return(0,o.SM)((({scrollY:t},n)=>{var a;const o=null===(a=n)||void 0===a?void 0:a.scrollY;o&&(l.current?l.current=!1:t>=o?(c(),r(!1)):t{e.location.hash&&(l.current=!0,r(!1))})),{shown:t,scrollToTop:()=>a(0)}}({threshold:300});return n.createElement("button",{"aria-label":(0,a.G)({id:"theme.BackToTopButton.buttonAriaLabel",message:"Scroll back to top",description:"The ARIA label for the back to top button"}),className:(0,l.c)("clean-btn",c.W.common.backToTopButton,s.backToTopButton,e&&s.backToTopButtonShow),type:"button",onClick:t})}},3270:(e,t,r)=>{"use strict";r.d(t,{c:()=>c});var n=r(1504),l=r(1080),a=r(468);function c({children:e,className:t}){const{frontMatter:r,assets:c}=(0,a.g)(),{withBaseUrl:o}=(0,l.E)();var i;const s=null!==(i=c.image)&&void 0!==i?i:r.image;return n.createElement("article",{className:t,itemProp:"blogPost",itemScope:!0,itemType:"http://schema.org/BlogPosting"},s&&n.createElement("meta",{itemProp:"image",content:o(s,{absolute:!0})}),e)}},468:(e,t,r)=>{"use strict";r.d(t,{E:()=>c,g:()=>o});var n=r(1504),l=r(8476);const a=n.createContext(null);function c({children:e,content:t,isBlogPostPage:r=!1}){const l=function({content:e,isBlogPostPage:t}){return(0,n.useMemo)((()=>({metadata:e.metadata,frontMatter:e.frontMatter,assets:e.assets,toc:e.toc,isBlogPostPage:t})),[e,t])}({content:t,isBlogPostPage:r});return n.createElement(a.Provider,{value:l},e)}function o(){const e=(0,n.useContext)(a);if(null===e)throw new l.AH("BlogPostProvider");return e}},3688:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(1504),l=r(9936);const a=["zero","one","two","few","many","other"];function c(e){return a.filter((t=>e.includes(t)))}const o={locale:"en",pluralForms:c(["one","other"]),select:e=>1===e?"one":"other"};function i(){const{i18n:{currentLocale:e}}=(0,l.c)();return(0,n.useMemo)((()=>{try{return function(e){const t=new Intl.PluralRules(e);return{locale:e,pluralForms:c(t.resolvedOptions().pluralCategories),select:e=>t.select(e)}}(e)}catch(t){return console.error(`Failed to use Intl.PluralRules for locale "${e}".\nDocusaurus will fallback to the default (English) implementation.\nError: ${t.message}\n`),o}}),[e])}function s(){const e=i();return{selectMessage:(t,r)=>function(e,t,r){const n=e.split("|");if(1===n.length)return n[0];n.length>r.pluralForms.length&&console.error(`For locale=${r.locale}, a maximum of ${r.pluralForms.length} plural forms are expected (${r.pluralForms.join(",")}), but the message contains ${n.length}: ${e}`);const l=r.select(t),a=r.pluralForms.indexOf(l);return n[Math.min(a,n.length-1)]}(r,t,e)}}},5904:(e,t,r)=>{"use strict";r.d(t,{I7:()=>a,kz:()=>o,aI:()=>u,sL:()=>m,uU:()=>Ye,UZ:()=>Xe,sH:()=>Ie,W4:()=>Ke,g3:()=>qe,Ou:()=>Gt,M7:()=>b,gv:()=>$e,U7:()=>Dt,K6:()=>jt,sT:()=>h,Dp:()=>y,m4:()=>E,Yv:()=>k,UJ:()=>N,QR:()=>rt,y:()=>S,AD:()=>lt,WA:()=>D,ai:()=>Rt,m0:()=>M,Gg:()=>B,kB:()=>T,mK:()=>F,em:()=>I,E5:()=>zt,sP:()=>Ft,_$:()=>X,gF:()=>Q,Iv:()=>$,Qh:()=>te,yK:()=>st,sW:()=>ft,Uf:()=>le,cF:()=>pt,aA:()=>ce,mO:()=>se,I1:()=>fe,_A:()=>de,CS:()=>ot,U$:()=>vt,yw:()=>gt,wA:()=>Mt,yM:()=>be,Ep:()=>ve,qy:()=>xt,sN:()=>Ce,Cu:()=>we,qQ:()=>je,oe:()=>Ve,Oq:()=>Ae,yS:()=>Le,Og:()=>Be,kn:()=>Te,od:()=>St});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const u=e=>{var{withBrandColor:t=!0}=e,r=s(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const b=e=>{var{withBrandColor:t=!0}=e,r=p(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const E=e=>{var{className:t}=e,r=x(e,["className"]);return n.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const k=e=>{var{className:t}=e,r=P(e,["className"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const B=e=>{var{withBrandColor:t=!0}=e,r=z(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",V(function(e){for(var t=1;tn.createElement("svg",W(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",K(function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const $=e=>{var{withBrandColor:t=!0}=e,r=_(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const le=e=>{var{withBrandColor:t=!0}=e,r=ne(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",ie(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const ve=e=>{var{className:t}=e,r=he(e,["className"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",Oe(function(e){for(var t=1;tn.createElement("svg",Ee(function(e){for(var t=1;tn.createElement("svg",ke(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",tt(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",ct(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",dt(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const xt=e=>{var{className:t}=e,r=wt(e,["className"]);return n.createElement("svg",Ot(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>p});var n=r(1504),l=r(7328),a=r(9936),c=r(6684),o=r(6108),i=r(2668),s=r(1628),u=r(4971),f=r(9184),m=r(2460);const d=()=>{const{siteConfig:{title:e,tagline:t}}=(0,a.c)();return n.createElement(n.Fragment,null,n.createElement(c.U7,{title:e,description:t}),n.createElement(o.c,{tag:"author_blog_posts_list"}))},p=e=>{const{items:t}=e,r=t[0].content.metadata.authors[0];return n.createElement(n.Fragment,null,n.createElement(d,null),n.createElement(l.c,{showSidebarBanner:!1},n.createElement("div",{className:"h-12"}),n.createElement(f.c,{to:"/blog",className:(0,u.c)("text-gray-500 dark:text-gray-400","text-sm no-underline","flex","items-center","gap-2","px-4")},n.createElement(m.Ux,null)," Back to blog"),n.createElement(s.qu,{author:r}),n.createElement("div",{className:(0,u.c)("pt-4 blog-md:pt-4","px-4")},n.createElement("h1",{className:"!mb-0"}," Posts ")),n.createElement("div",{className:(0,u.c)("px-4","blog-md:px-7","blog-2xl:px-0")},n.createElement(i.c,{items:t,showTitle:!1,isAuthorPage:!0}))))}},1904:(e,t,r)=>{"use strict";r.d(t,{iI:()=>l,S_:()=>o});var n=r(1504);function l({date:e,formattedDate:t}){return n.createElement("time",{dateTime:e,itemProp:"datePublished"},t)}var a=r(3688),c=r(3652);function o({readingTime:e}){const t=function(){const{selectMessage:e}=(0,a.A)();return t=>{const r=Math.ceil(t);return e(r,(0,c.G)({id:"theme.blog.post.readingTime.plurals",description:'Pluralized label for "{readingTime} min read". Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)',message:"One min read|{readingTime} min read"},{readingTime:r}))}}();return n.createElement(n.Fragment,null,t(e))}},4752:(e,t,r)=>{"use strict";r.d(t,{c:()=>a});var n=r(1504),l=r(9184);const a=()=>n.createElement("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4 md:gap-0 h-auto md:h-[150px] bg-[#5865F2] w-full rounded-2xl py-5 px-5 md:px-12"},n.createElement("div",{className:"flex items-center gap-16"},n.createElement("img",{className:"hidden md:block",src:"/img/blog-static/discord-banner.png",alt:"Discord Logo"}),n.createElement("div",{className:"text-white font-montserrat font-bold max-w-md text-center md:text-left"},n.createElement("h1",{className:"text-2xl uppercase leading-tight mb-0 font-montserrat"},"Join to refine discord server"),n.createElement("p",{className:"mb-0 text-base"},"to get help, share ideas, and discuss the latest news."))),n.createElement(l.c,{to:"https://discord.gg/refine"},n.createElement("button",{className:"bg-transparent text-white font-bold py-2 px-4 rounded-lg h-12 w-44 border-white cursor-pointer font-montserrat uppercase text-xl border-solid active:scale-[0.99]"},"Join Us")))},7396:(e,t,r)=>{"use strict";r.d(t,{c:()=>o});var n=r(1504),l=r(9184),a=r(3540);const c="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",o=()=>{const[e,t]=n.useState(0);return n.useEffect((()=>{(async()=>{const e=await fetch(`https://api.github.com/repos/pankod/refine?access_token=${c}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`token ${c}`}}),r=await e.json();var n;t(null!==(n=r.stargazers_count)&&void 0!==n?n:2e3)})()}),[]),n.createElement("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4 md:gap-0 h-auto md:h-[150px] w-full rounded-2xl py-5 px-5 md:px-12 github-banner-bg"},n.createElement("div",{className:"flex items-center gap-16"},n.createElement("img",{className:"hidden md:block",src:"/img/blog-static/github-banner-icon.png",alt:"Github Logo"}),n.createElement("div",{className:"font-montserrat max-w-md text-center md:text-left"},n.createElement("h1",{className:"text-2xl uppercase leading-tight mb-0 font-montserrat font-bold"},"Star us on github"),n.createElement("p",{className:"mb-0 text-base leading-tight"},n.createElement("b",null,"refine")," is an"," ",n.createElement("b",null,"open-source React-based framework"),"for building ",n.createElement("b",null,"CRUD applications")," without constraints. Please show us your ",n.createElement("b",null,"support")," with a shining ",n.createElement("b",null,"GitHub star"),"."))),n.createElement(l.c,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",rel:"noopener",className:"bg-[#211d21] no-underline rounded-xl h-[54px] flex gap-2 pl-3.5 py-2.5 pr-2.5 items-center"},n.createElement(a.A9,null),n.createElement("div",{className:"font-bold font-montserrat text-base text-white"},"Star"),n.createElement("div",{className:"flex items-start h-full"},n.createElement(a.qq,{className:"mt-2 -mr-px"}),n.createElement("div",{className:"cloud rounded-md bg-white text-[#211d21] h-full flex items-center justify-center px-1.5 font-montserrat font-bold text-base"},`${e}`.padStart(4,"0")))))}},1628:(e,t,r)=>{"use strict";r.d(t,{qu:()=>o,cN:()=>k,CS:()=>N,E$:()=>A,us:()=>S});var n=r(1504),l=r(4971),a=r(9184),c=r(2460);const o=({author:e,className:t})=>n.createElement(i,{author:e,className:t}),i=({author:e})=>{var t,r,o,i,s,u,f,m,d,p,b;const g=e.github||e.twitter||e.linkedin;return n.createElement("div",{className:(0,l.c)("flex","px-4","gap-6","flex-row blog-lg:flex-col","justify-between","blog-sm:max-w-[592px]","blog-md:max-w-[656px]","blog-lg:max-w-[896px]","blog-max:max-w-[1200px]","w-full")},n.createElement("div",{className:(0,l.c)("flex","justify-between","items-center")},n.createElement("div",{className:(0,l.c)("w-full","flex items-center justify-between flex-wrap")},n.createElement("div",{className:(0,l.c)("flex items-center","gap-2 sm:gap-6")},n.createElement(a.c,{to:`/blog/author/${null===(t=e)||void 0===t?void 0:t.key}`,itemProp:"url",className:"flex-shrink-0"},n.createElement("img",{src:null===(r=e)||void 0===r?void 0:r.imageURL,alt:null===(o=e)||void 0===o?void 0:o.name,loading:"lazy",className:(0,l.c)("flex flex-shrink-0","h-12 w-12","blog-sm:h-[88px] blog-sm:w-[88px]","blog-md:h-[120px] blog-md:w-[120px]","rounded-full object-cover")})),n.createElement("div",{className:(0,l.c)("not-prose flex flex-col justify-between")},n.createElement("h1",{className:(0,l.c)("text-xl sm:text-[40px] sm:leading-[56px]","m-0 p-0 pb-2 font-bold text-gray-900 dark:text-gray-200")},null===(i=e)||void 0===i?void 0:i.name),n.createElement("div",{className:(0,l.c)("text-xs sm:text-base","text-gray-600 dark:text-gray-400")},null===(s=e)||void 0===s?void 0:s.title))),g&&n.createElement("div",{className:"flex justify-center gap-3"},(null===(u=e)||void 0===u?void 0:u.github)&&n.createElement(a.c,{to:null===(f=e)||void 0===f?void 0:f.github},n.createElement(c.qO,{className:"h-6 w-6"})),(null===(m=e)||void 0===m?void 0:m.twitter)&&n.createElement(a.c,{to:null===(d=e)||void 0===d?void 0:d.twitter},n.createElement(c.mk,{className:"h-6 w-6"})),(null===(p=e)||void 0===p?void 0:p.linkedin)&&n.createElement(a.c,{to:null===(b=e)||void 0===b?void 0:b.linkedin},n.createElement(c.wd,{className:"h-6 w-6"}))))),n.createElement("div",{className:"border-b border-gray-200 dark:border-gray-700 mb-8"}))};var s=r(468),u=r(2656),f=r(56),m=r(3270),d=r(9936),p=r(7760),b=r(6224),g=r(3784),h=r(4776),v=r(2788),y=r(8368);const O=(0,y.c)("telegram",(function(e,t){var r=t.title;return(0,h.c)(e,"telegram.url"),"https://telegram.me/share/url"+(0,v.c)({url:e,text:r})}),(function(e){return{title:e.title}}),{windowWidth:550,windowHeight:400});var w=r(2544);const x=(0,w.c)({color:"#37aee2",networkName:"telegram",path:"m45.90873,15.44335c-0.6901,-0.0281 -1.37668,0.14048 -1.96142,0.41265c-0.84989,0.32661 -8.63939,3.33986 -16.5237,6.39174c-3.9685,1.53296 -7.93349,3.06593 -10.98537,4.24067c-3.05012,1.1765 -5.34694,2.05098 -5.4681,2.09312c-0.80775,0.28096 -1.89996,0.63566 -2.82712,1.72788c-0.23354,0.27218 -0.46884,0.62161 -0.58825,1.10275c-0.11941,0.48114 -0.06673,1.09222 0.16682,1.5716c0.46533,0.96052 1.25376,1.35737 2.18443,1.71383c3.09051,0.99037 6.28638,1.93508 8.93263,2.8236c0.97632,3.44171 1.91401,6.89571 2.84116,10.34268c0.30554,0.69185 0.97105,0.94823 1.65764,0.95525l-0.00351,0.03512c0,0 0.53908,0.05268 1.06412,-0.07375c0.52679,-0.12292 1.18879,-0.42846 1.79109,-0.99212c0.662,-0.62161 2.45836,-2.38812 3.47683,-3.38552l7.6736,5.66477l0.06146,0.03512c0,0 0.84989,0.59703 2.09312,0.68132c0.62161,0.04214 1.4399,-0.07726 2.14229,-0.59176c0.70766,-0.51626 1.1765,-1.34683 1.396,-2.29506c0.65673,-2.86224 5.00979,-23.57745 5.75257,-27.00686l-0.02107,0.08077c0.51977,-1.93157 0.32837,-3.70159 -0.87096,-4.74991c-0.60054,-0.52152 -1.2924,-0.7498 -1.98425,-0.77965l0,0.00176zm-0.2072,3.29069c0.04741,0.0439 0.0439,0.0439 0.00351,0.04741c-0.01229,-0.00351 0.14048,0.2072 -0.15804,1.32576l-0.01229,0.04214l-0.00878,0.03863c-0.75858,3.50668 -5.15554,24.40802 -5.74203,26.96472c-0.08077,0.34417 -0.11414,0.31959 -0.09482,0.29852c-0.1756,-0.02634 -0.50045,-0.16506 -0.52679,-0.1756l-13.13468,-9.70175c4.4988,-4.33199 9.09945,-8.25307 13.744,-12.43229c0.8218,-0.41265 0.68483,-1.68573 -0.29852,-1.70681c-1.04305,0.24584 -1.92279,0.99564 -2.8798,1.47502c-5.49971,3.2626 -11.11882,6.13186 -16.55882,9.49279c-2.792,-0.97105 -5.57873,-1.77704 -8.15298,-2.57601c2.2336,-0.89555 4.00889,-1.55579 5.75608,-2.23009c3.05188,-1.1765 7.01687,-2.7042 10.98537,-4.24067c7.94051,-3.06944 15.92667,-6.16346 16.62028,-6.43037l0.05619,-0.02283l0.05268,-0.02283c0.19316,-0.0878 0.30378,-0.09658 0.35471,-0.10009c0,0 -0.01756,-0.05795 -0.00351,-0.04566l-0.00176,0zm-20.91715,22.0638l2.16687,1.60145c-0.93418,0.91311 -1.81743,1.77353 -2.45485,2.38812l0.28798,-3.98957"});const E=(0,y.c)("facebook",(function(e,t){var r=t.quote,n=t.hashtag;return(0,h.c)(e,"facebook.url"),"https://www.facebook.com/sharer/sharer.php"+(0,v.c)({u:e,quote:r,hashtag:n})}),(function(e){return{quote:e.quote,hashtag:e.hashtag}}),{windowWidth:550,windowHeight:400});const j=(0,w.c)({color:"#3b5998",networkName:"facebook",path:"M34.1,47V33.3h4.6l0.7-5.3h-5.3v-3.4c0-1.5,0.4-2.6,2.6-2.6l2.8,0v-4.8c-0.5-0.1-2.2-0.2-4.1-0.2 c-4.1,0-6.9,2.5-6.9,7V28H24v5.3h4.6V47H34.1z"});var P=r(1904);const k=({children:e})=>{var t,r,o,i,h,v;const{metadata:y,isBlogPostPage:w}=(0,s.g)(),{permalink:k,title:C,date:N,formattedDate:A,readingTime:S,frontMatter:H,tags:D,description:Z,authors:M}=y,L=M[0],{siteConfig:{url:z}}=(0,d.c)();return n.createElement(m.c,{className:(0,l.c)("pb-10","pt-4 blog-lg:pt-8","ml-auto","w-full","blog-lg:max-w-[894px]","px-2 blog-md:px-8 blog-lg:px-0")},n.createElement("div",{className:(0,l.c)("hidden blog-md:flex","justify-between","items-center","blog-sm:px-6","pb-6 blog-lg:pb-10","not-prose")},n.createElement(a.c,{to:"/blog",className:(0,l.c)("text-refine-react-5 dark:text-refine-react-4","text-sm no-underline","flex","items-center","gap-2")},n.createElement(c.Ux,null)," Back to blog"),n.createElement("div",{className:"flex items-center gap-3 px-2 py-1 not-prose"},n.createElement("span",{className:"text-refine-react-5 dark:text-refine-react-4 text-sm"},"Share on"),n.createElement(p.c,{url:z+k,title:C,source:z,summary:Z,hashtags:D.map((e=>e.label)),className:"flex"},n.createElement(b.c,{size:26,round:!0})),n.createElement(g.c,{windowWidth:750,windowHeight:800,url:z+k,title:C,hashtags:D.map((e=>e.label)),className:"flex"},n.createElement(c.mk,{width:26,height:26})),n.createElement(O,{windowWidth:750,windowHeight:800,url:z+k,title:C,hashtags:D.map((e=>e.label)),className:"flex"},n.createElement(x,{size:26,round:!0})),n.createElement(E,{windowWidth:750,windowHeight:800,url:z+k,title:C,hashtags:D.map((e=>e.label)),className:"flex"},n.createElement(j,{size:26,round:!0})))),n.createElement("div",{className:"not-prose"},n.createElement("img",{className:"w-full rounded-xl aspect-[894/468]",src:`${H.image}?w=160`,alt:C})),n.createElement("div",{className:"blog-sm:px-6"},n.createElement("div",{className:"mt-6 blog-lg:mt-10 mb-6 text-sm"},n.createElement("div",{className:(0,l.c)("flex","justify-between","sm:flex-row flex-col")},n.createElement("div",{className:"flex justify-center items-center gap-2"},n.createElement(a.c,{to:`/blog/author/${null===(t=L)||void 0===t?void 0:t.key}`,itemProp:"url"},n.createElement("img",{src:null===(r=L)||void 0===r?void 0:r.imageURL,alt:null===(o=L)||void 0===o?void 0:o.name,loading:"lazy",className:"flex h-[32px] w-[32px] rounded-full object-cover"})),n.createElement(a.c,{to:`/blog/author/${null===(i=L)||void 0===i?void 0:i.key}`,itemProp:"url",className:(0,l.c)("flex-1","text-gray-900 dark:text-gray-200","text-sm","no-underline","hover:no-underline")},null===(h=L)||void 0===h?void 0:h.name),n.createElement("span",{className:"w-[4px] h-[4px] rounded-full bg-refine-react-5 dark:bg-refine-react-4"}),n.createElement("span",{className:"text-gray-600 dark:text-gray-400"},null===(v=L)||void 0===v?void 0:v.title)),n.createElement("div",{className:"flex items-center gap-2 text-gray-600 dark:text-gray-400"},n.createElement(P.iI,{date:N,formattedDate:A}),void 0!==S&&n.createElement(n.Fragment,null,n.createElement("span",{className:"w-[4px] h-[4px] rounded-full bg-refine-react-5 dark:bg-refine-react-4"}),n.createElement(P.S_,{readingTime:S}))))),n.createElement("h1",{className:"text-xl md:text-4xl",itemProp:"headline"},w?C:n.createElement(a.c,{itemProp:"url",to:k},C)),n.createElement("div",{id:u.blogPostContainerID,className:"markdown",itemProp:"articleBody"},n.createElement(f.c,null,e))))};r(4752);const C=()=>{var e,t;const{metadata:r}=(0,s.g)(),{permalink:c,title:o,date:i,formattedDate:u,frontMatter:f,description:d,tags:p}=r,b=r.authors[0];return n.createElement(m.c,null,n.createElement(a.c,{itemProp:"url",to:c,className:(0,l.c)("block","w-full h-auto","aspect-[592/334]")},n.createElement("div",{className:(0,l.c)("not-prose relative m-0 hover:brightness-90","h-full w-full")},n.createElement("img",{src:`${f.image}?h=256`,alt:o,className:(0,l.c)("absolute inset-0 mt-0 h-full w-full rounded-[10px] object-cover"),loading:"lazy"}))),n.createElement("div",{className:"px-4 py-4 md:px-6 md:py-6"},n.createElement("div",{className:(0,l.c)("flex flex-wrap items-center","mb-6","gap-2")},p.map((e=>n.createElement(a.c,{className:(0,l.c)("text-xs","bg-refine-react-3 dark:bg-refine-react-7","text-refine-react-8 dark:text-refine-react-3","no-underline","rounded-full","px-2 py-1"),href:e.permalink,key:e.permalink},e.label)))),n.createElement("div",{className:"mb-4"},n.createElement(a.c,{itemProp:"url",to:c,className:"no-underline hover:no-underline",rel:"noopener dofollow"},n.createElement("div",{className:(0,l.c)("mb-4","text-gray-700 dark:text-refine-react-3","text-xl","font-lg","font-bold")},o)),n.createElement("div",{className:(0,l.c)("line-clamp-3","text-gray-700 dark:text-refine-react-4","text-sm")},d)),n.createElement("div",{className:"flex items-center gap-2"},n.createElement(a.c,{href:`/blog/author/${null===(e=b)||void 0===e?void 0:e.key}`,itemProp:"url",className:(0,l.c)("text-gray-600 hover:text-gray-600","dark:text-gray-400 hover:dark:text-gray-400","text-xs 2xl:text-base","no-underline")},null===(t=b)||void 0===t?void 0:t.name),n.createElement("span",{className:(0,l.c)("h-[4px] w-[4px] rounded-full","bg-gray-600 dark:bg-gray-500")}),n.createElement("span",{className:(0,l.c)("text-gray-600 dark:text-gray-500","text-xs","leading-6","no-underline")},n.createElement(P.iI,{date:i,formattedDate:u})))))},N=({items:e})=>n.createElement("div",{className:(0,l.c)("w-screen","bg-refine-react-1 dark:bg-refine-react-dark-code")},n.createElement("div",{className:(0,l.c)("blog-sm:max-w-[592px]","blog-md:max-w-[656px]","blog-lg:max-w-[896px]","blog-max:max-w-[1200px]","w-full","mx-auto","px-6 blog-sm:px-0","py-6 blog-md:py-12","not-prose")},n.createElement("h2",{className:(0,l.c)("m-0 p-0","px-6","mb-6 blog-lg:mb-12","text-2xl blog-sm:text-[32px] blog-sm:leading-10","dark:text-refine-green-alt dark:drop-shadow-[0_0_30px_rgba(71,235,235,0.25)]","text-refine-blue drop-shadow-[0_0_30px_rgba(51,51,255,0.3)]","font-semibold")},"Featured Posts"),n.createElement("div",{className:"grid grid-cols-1 blog-md:grid-cols-2 blog-max:grid-cols-3 gap-6"},e.map((({content:e})=>n.createElement(s.E,{key:e.metadata.permalink,content:e},n.createElement(C,null)))))));r(7396);const A=({posts:e,title:t})=>{var r,c,o;return e.length<1?null:n.createElement("div",{className:(0,l.c)("mx-auto w-full","py-10","blog-sm:py-12","blog-md:py-16","max-w-[512px]","blog-sm:max-w-screen-blog-sm","blog-lg:max-w-screen-content-2xl")},n.createElement("div",{className:"blog-sm:px-6 w-full px-4"},n.createElement("h2",{className:"m-0 mb-4 p-0 pl-4 text-2xl font-semibold text-refine-react-8 dark:text-refine-react-1"},t),n.createElement("div",{className:"flex flex-col not-prose"},e.map((e=>n.createElement(a.c,{to:e.permalink,rel:"dofollow",key:null!==(o=e.permalink)&&void 0!==o?o:e.id,className:(0,l.c)("flex","flex-col","gap-2","p-5","mb-5","rounded-lg","border border-refine-react-3 dark:border-refine-react-6","bg-white dark:bg-refine-react-8","hover:bg-gray-100 dark:hover:bg-refine-react-7","not-prose","no-underline")},n.createElement("div",{to:e.permalink,rel:"dofollow",className:(0,l.c)("font-bold","text-refine-react-8 dark:text-refine-react-1","no-underline","hover:text-gray-800 hover:no-underline dark:hover:text-gray-200","mb-2")},e.title),n.createElement("p",{className:(0,l.c)("font-sm","text-refine-react-5 dark:text-refine-react-4")},e.description),n.createElement("div",{id:"post-info",className:"flex items-center gap-2 text-sm text-refine-react-4 dark:text-refine-react-5"},n.createElement(a.c,{to:`/blog/author/${null===(r=e.authors[0])||void 0===r?void 0:r.key}`,itemProp:"url",id:"author-name",className:"text-gray-600 no-underline hover:text-gray-600 hover:no-underline dark:text-gray-400"},null===(c=e.authors[0])||void 0===c?void 0:c.name),n.createElement("span",{className:"h-[4px] w-[4px] rounded-full bg-gray-600 dark:bg-gray-500"}),n.createElement(P.iI,{date:e.date,formattedDate:e.formattedDate}))))))))},S=()=>{const{metadata:e}=(0,s.g)();return n.createElement("div",{className:"flex flex-wrap gap-2"},e.tags.map((e=>n.createElement(a.c,{to:e.permalink,className:(0,l.c)("no-underline hover:no-underline","text-xs","rounded-full","py-1","px-3","text-refine-react-8 dark:text-refine-react-3","bg-refine-react-3 dark:bg-refine-react-7","whitespace-nowrap"),key:e.permalink},e.label))))};r(5524)},5524:(e,t,r)=>{"use strict";r.d(t,{c:()=>a});var n=r(1504),l=r(9184);const a=({children:e})=>n.createElement("div",{className:"flex flex-col md:flex-row items-center twitter-banner-bg px-5 md:px-10 py-5 rounded-xl gap-2"},n.createElement("div",{className:"flex flex-col justify-center items-center md:items-start gap-4"},n.createElement("div",{className:"text-center md:text-left"},n.createElement("h1",{className:"text-white font-montserrat text-2xl leading-tight mb-0"},"WANT TO HEAR THE LATEST DEVELOPMENTS ABOUT refine?"),n.createElement("p",{className:"mb-0 uppercase font-montserrat text-white"},"Follow us on Twitter.")),n.createElement(l.c,{to:"https://twitter.com/refine_dev"},n.createElement("button",{className:"bg-transparent text-white font-bold py-2 px-8 rounded-lg border-white cursor-pointer font-montserrat uppercase text-xl border-solid active:scale-[0.99]"},"Follow Us"))),n.createElement("div",{className:"w-[350px]"},e||n.createElement("blockquote",{className:"twitter-tweet","data-cards":"hidden"},n.createElement("p",{lang:"en",dir:"ltr"},"\ud83d\udca5New Blog Post!",n.createElement("br",null),n.createElement("br",null),"Animations in React with Framer Motion",n.createElement("a",{href:"https://t.co/7kWU1ROPYd"},"https://t.co/7kWU1ROPYd"),n.createElement("a",{href:"https://twitter.com/hashtag/opensource?src=hash&ref_src=twsrc%5Etfw"},"#opensource")," ",n.createElement("a",{href:"https://twitter.com/hashtag/ReactJS?src=hash&ref_src=twsrc%5Etfw"},"#ReactJS")),"\u2014 refine (@refine_dev)"," ",n.createElement("a",{href:"https://twitter.com/refine_dev/status/1565321477628510208?ref_src=twsrc%5Etfw"},"September 1, 2022"))))},3540:(e,t,r)=>{"use strict";r.d(t,{Wr:()=>o,ef:()=>u,qq:()=>m,A9:()=>p,cn:()=>h,gZ:()=>O,aA:()=>E,Wu:()=>k});var n=r(4971),l=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const o=e=>l.createElement("svg",c(function(e){for(var t=1;tl.createElement("svg",s(function(e){for(var t=1;tl.createElement("svg",function(e){for(var t=1;tl.createElement("svg",function(e){for(var t=1;tl.createElement("svg",g(function(e){for(var t=1;tl.createElement("svg",y(function(e){for(var t=1;tl.createElement("svg",x(function(e){for(var t=1;tl.createElement("svg",P(function(e){for(var t=1;t{"use strict";r.d(t,{q:()=>c,y:()=>o});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a="tutorial-checklist-store",c=n.createContext({store:{},toggle:()=>{}}),o=({children:e})=>{const[t,r]=n.useState((()=>{if("undefined"!=typeof window){const t=localStorage.getItem(a);if(t)try{const e=JSON.parse(t);if("object"==typeof e)return e}catch(e){return{}}}return{}})),o=n.useCallback(((e,t,n)=>{r((r=>{const a=function(e){for(var t=1;t{"undefined"!=typeof window&&localStorage.setItem(a,JSON.stringify(t))}),[t]),n.createElement(c.Provider,{value:{store:t,toggle:o}},e)}},1648:(e,t,r)=>{"use strict";r.d(t,{g5:()=>i,mk:()=>s,sH:()=>a});var n=r(1504),l=r(2288);r(5904);const a=["headless","antd","chakra-ui","mantine","mui"],c=e=>{if(a.includes(e))return e},o="tutorial-preferred-ui-package",i=n.createContext({preferred:"headless",current:void 0,setPreferred:()=>{}}),s=({children:e})=>{const{metadata:t}=(0,l.G)(),r=(e=>{const t=e.match(/\/(headless|antd|chakra-ui|mantine|mui)\//);if(t&&c(t[1]))return t[1]})(t.id),[a,s]=n.useState("headless");n.useEffect((()=>{if("undefined"!=typeof window){const e=localStorage.getItem(o),t=c(e);t&&s(t)}}),[]);const u=e=>{c(e)&&("undefined"!=typeof window&&localStorage.setItem(o,e),s(e))};return n.useEffect((()=>{r&&r!==a&&u(r)}),[r,a]),n.createElement(i.Provider,{value:{preferred:a,setPreferred:u,current:r||a}},e)}},9092:(e,t,r)=>{"use strict";r.d(t,{WO:()=>m,iC:()=>d});var n=r(1504),l=r(640),a=r(2064);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;t0}),s="tutorial-parameters",u=(e,t)=>{for(const r of t)if(e.includes(`/${r.value}`))return r.value},f=()=>{const{pathname:e}=(0,l.IT)();return n.useMemo((()=>(e=>{const t={};for(const[r,n]of Object.entries(a.Sm.parameterOptions)){const l=u(e,n);l&&(t[r]=l)}return t})(e)),[e])},m=({children:e})=>{const[t,r]=n.useState(void 0),[l,c]=n.useState(!1),u=f(),m=n.useCallback((e=>{r((t=>{try{localStorage.setItem(s,JSON.stringify(o({},t,e)))}catch(r){console.error(r)}return o({},t,e)}))}),[]);return n.useEffect((()=>{try{const e=localStorage.getItem(s);m(e?o({},a.Sm.defaultParameters,JSON.parse(e),u):o({},a.Sm.defaultParameters,u))}catch(e){m(o({},a.Sm.defaultParameters,u))}c(!0)}),[]),n.createElement(i.Provider,{value:{parameters:t,setParameters:m,settled:l,options:a.Sm.parameterOptions}},e)},d=()=>n.useContext(i)},3376:(e,t,r)=>{"use strict";r.d(t,{U:()=>p});var n=r(2288),l=r(1688),a=(r(1504),r(3908));function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;t{var e,t,r,c;const f=(0,n.G)(),{docs:p}=(0,l.E)(),{frontMatter:b,metadata:{id:g}}=f,{tutorial:{units:h}}=(0,u.e)(),{current:v}=(0,a.U)(),y=e=>{const t=e.id.split("/"),r=s.sH.filter((e=>e!==v));return!t.find((e=>r.includes(e)))},O=!!(null===(e=b)||void 0===e?void 0:e.tutorial),w=g.split("/")[1],x=function({frontMatter:e}){const{docs:t}=(0,l.E)(),{current:r}=(0,a.U)(),n=e=>{if(e.includes("{preferredUI}")||r)return e.replace("{preferredUI}",r)},c=e=>"/docs/"+e,{tutorial:s}=e,{next:u,prev:f}=null!=s?s:{},m=u?n(u):void 0,d=t[f?n(f):void 0],p=t[m];return{previous:d?i(o({},d),{permalink:c(d.id)}):void 0,next:p?i(o({},p),{permalink:c(p.id)}):void 0}}(f),E=Object.entries(p).filter((([e])=>e.startsWith("tutorial/"))).reduce(((e,[t,r])=>{const n=t.split("/")[1];return n.startsWith("partial-")||(e[n]||(e[n]=[]),e[n].push(r)),e}),{}),j=Object.entries(E).map((([e,r])=>d(m({unit:e,no:null===(t=h[e])||void 0===t?void 0:t.no,title:h[e].label},e===w&&O&&{current:!0}),{docs:r.map((e=>m({},e,e.id===g&&O&&{current:!0}))).filter(y)}))).sort(((e,t)=>(null===(r=e)||void 0===r?void 0:r.no)-(null===(c=t)||void 0===c?void 0:c.no)));return O?{id:g,isTutorial:O,unit:w,pagination:x,units:j}:void 0}},5560:(e,t,r)=>{"use strict";r.d(t,{c:()=>l});var n=r(1504);const l=(e,t="0px")=>{const[r,l]=n.useState(!1);return n.useEffect((()=>{var r;const n=null===(r=e)||void 0===r?void 0:r.current,a=new IntersectionObserver((([e])=>{l(e.isIntersecting)}),{rootMargin:t});return n&&a.observe(n),()=>{n&&a.unobserve(n)}}),[]),r}},8840:(e,t,r)=>{"use strict";r.d(t,{ot:()=>s,GC:()=>u});var n=r(1504);const l={items:[]};var a=r(3740);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;tt.filter((t=>t.unit===e));function u(){const{store:e,toggle:t}=n.useContext(a.q);return{items:n.useMemo((()=>{var t,r,n,a;return null!==(a=null===(n=l)||void 0===n||null===(t=(r=n.items).map)||void 0===t?void 0:t.call(r,(t=>{const{id:r}=t;return i(o({},t),{checklist:t.checklist.map((t=>{var n;return i(o({},t),{checked:null!==(n=e[r]?.[t.id])&&void 0!==n&&n})})).sort(((e,t)=>e.index-t.index))})})))&&void 0!==a?a:[]}),[e]),toggle:t}}},380:(e,t,r)=>{"use strict";r.d(t,{e:()=>l});var n=r(9936);r(1504);const l=()=>{const{siteConfig:{customFields:e}}=(0,n.c)(),{tutorial:t}=e;return t}},3908:(e,t,r)=>{"use strict";r.d(t,{U:()=>a});var n=r(1504),l=r(1648);const a=()=>n.useContext(l.g5)},3680:(e,t,r)=>{"use strict";r.d(t,{u:()=>a});var n=r(1504),l=r(3120);const a=e=>n.createElement(l.E,e)},5880:(e,t,r)=>{"use strict";r.d(t,{E:()=>u});var n=r(4971),l=r(1504),a=r(2268),c=r(2424),o=r(7104),i=r(3200),s=r(8164);const u=e=>(l.useEffect((()=>(e.open?document.body.style.overflow="hidden":document.body.style.overflow="auto",()=>{document.body.style.overflow="auto"})),[e.open]),l.createElement(s.c,null,(()=>(0,o.createPortal)(l.createElement(f,e),document.body)))),f=({children:e,title:t,open:r,onClose:o,variant:s})=>{const[u,f]=l.useState(48),{scrollY:m}=(0,i.Q)(),d=l.useRef(null);var p,b;return p=d,b=e=>{e.stopPropagation(),o()},l.useEffect((()=>{const e=e=>{p.current&&!p.current.contains(e.target)&&(e.preventDefault(),b(e))};return document.addEventListener("click",e,!0),()=>{document.removeEventListener("click",e,!0)}}),[p]),((e,t,r)=>{l.useEffect((()=>{const n=n=>{e.current&&t.includes(n.key)&&(n.preventDefault(),r(n))};return document.addEventListener("keydown",n,!0),()=>{document.removeEventListener("keydown",n,!0)}}),[e])})(d,["Escape"],(()=>{o()})),l.useEffect((()=>{const e=m.onChange((e=>{f(e>=48?0:48-e)}));return()=>e()}),[]),l.createElement("div",{style:{top:u},className:(0,n.c)("fixed","right-0 bottom-0","z-modal",!r&&"pointer-events-none")},l.createElement(c.O,{ref:d,as:"div",className:(0,n.c)("z-modal","flex flex-col","w-[240px] h-full","ml-auto","p-4","templates"===s&&"bg-gray-0 dark:bg-gray-900","blog"===s&&"bg-white dark:bg-refine-react-7","border-l dark:border-gray-800","dark:shadow-[0_0_72px_24px_#14141F]","shadow-[0_0_72px_24px_rgba(20, 20, 31, 0.50)]"),show:r,enter:"transition-transform duration-300 transition-ease-in-out",enterFrom:"translate-x-full",enterTo:"translate-x-0",leave:"transition-transform duration-300 transition-ease-in-out",leaveFrom:"translate-x-0",leaveTo:"translate-x-full"},l.createElement("div",{className:(0,n.c)("flex","items-center","justify-between","mb-10","dark:text-gray-300 text-gray-900")},l.createElement("h3",{className:(0,n.c)("text-base","font-semibold")},t),l.createElement("button",{type:"button",className:(0,n.c)("appearance-none"),onClick:o},l.createElement(a.O,null))),l.createElement("div",{className:(0,n.c)("overflow-auto h-full")},e)))}},6968:(e,t,r)=>{"use strict";r.d(t,{m:()=>U});var n=r(9184),l=r(4971),a=r(3200),c=r(344),o=r(6076),i=r(1504),s=r(1980),u=r(8804),f=r(6098);const m=[{isPopover:!0,label:"Docs",items:[{label:"Foundation Docs",description:"Learn C++, Python & Java",link:"https://prepverse.vercel.app/docs",icon:f.C3},{label:"DSA Docs",description:"Learning DSA in C++, Python & Java",link:"https://prepverse.vercel.app/docs/1.DS.Algo",icon:f.uI}]},{isPopover:!0,label:"CodePoint",items:[{label:"Expert Sheet Solutions",description:"Most popular coding questions solutions asked during SDE interviews.",link:"https://prepverse.github.io/CodePoint/preface",icon:f.C3},{label:"Coding Ninjas Series",description:"Coding Ninjas Studio Guided Path Solutions",link:"https://prepverse.github.io/CodePoint/learning_resources/CN_Series/preface",icon:f.oh},{label:"LeetVerse",description:"Leetcode problem solutions with full probelm statements in C++, Python & Java",link:"https://prepverse.github.io/LeetVerse",icon:f.Ew}]},{isPopover:!0,label:"About",items:[{label:"About Me",description:"My information.",link:"https://prepverse.vercel.app/AkashSingh3031",icon:f.kv},{label:"Project Showcase",description:"PrepVerse open-source projects",link:"https://prepverse.vercel.app/showcase",icon:f.w9},{label:"My Portfolio",description:"All info about me",link:"https://prepverse.github.io/portfolio",icon:f.BE}]},{isPopover:!1,label:"Blog",href:"https://prepverse.vercel.app/blog",icon:f.s1},{isPopover:!1,label:"PrepVerse Community",href:"https://prepverse.vercel.app/prepverse-community",icon:f.vn}],d=({item:e,variant:t="landing"})=>{const r=e.icon;return i.createElement(n.c,{to:e.link,className:"no-underline"},i.createElement("div",{className:(0,l.c)("flex items-center","p-4","transition duration-150 ease-in-out","rounded-lg","hover:bg-gray-100","landing"===t&&"dark:hover:bg-gray-800","blog"===t&&"dark:hover:bg-refine-react-8")},i.createElement("div",{className:"shrink-0"},i.createElement(r,null)),i.createElement("div",{className:"ml-2"},i.createElement("div",{className:(0,l.c)("landing"===t&&"text-gray-900 dark:text-white","blog"===t&&"text-refine-react-8 dark:text-refine-react-3","font-semibold")},e.label),i.createElement("div",{className:(0,l.c)("landing"===t&&"text-gray-500 dark:text-gray-400","blog"===t&&"text-refine-react-5 dark:text-refine-react-4","text-xs")},e.description))))},p=({item:e})=>{const[t,r]=(0,i.useState)(null);(0,i.useEffect)((()=>(r(localStorage.getItem("theme")||null),window.addEventListener("storage",a,!1),()=>{window.removeEventListener("storage",a,!1)})),[]);const a=()=>{r(localStorage.getItem("theme")||null)};let c=e.icon;return"Cloud"===e.label&&(c="light"===t?f.oz:e.icon),i.createElement(n.c,{key:e.label,to:e.href,className:(0,l.c)("inline-flex items-center gap-2","text-sm leading-6 font-normal text-gray-900 dark:text-gray-300","transition-colors duration-150 ease-in-out","no-underline","Hackathon"===e.label?["py-1","px-2","rounded-lg","bg-hackathon-button-bg","animate-hackathon-button-bg","bg-refine-bg","text-gray-0","bg-[length:200%_100%]","text-[14px]","hover:text-gray-0"]:["hover:text-gray-900 dark:hover:text-white"])},e.icon&&i.createElement(c,null),e.label)};var b=r(640),g=r(5224),h=r(2424),v=r(4577);const y=({item:e,variant:t="landing",children:r})=>{const[n,a]=(0,i.useState)(!1),c=i.useRef(null),o=i.useRef(null),s=(0,b.IT)();return i.useEffect((()=>{a(!1)}),[s]),i.createElement(g._,{id:`popover-${e.label}`,key:e.label,className:(0,l.c)("relative","inline-flex items-center"),onMouseEnter:()=>{o.current=setTimeout((()=>a(!0)),210),clearTimeout(c.current)},onMouseLeave:()=>{c.current=setTimeout((()=>a(!1)),210),clearTimeout(o.current)}},(()=>i.createElement(i.Fragment,null,i.createElement(g._.Button,{className:(0,l.c)("inline-flex items-center","text-sm leading-6","font-normal")},i.createElement("span",{className:(0,l.c)("landing"===t&&"text-gray-900 dark:text-gray-300","blog"===t&&"text-refine-react-8 dark:text-refine-react-3","transition-colors duration-150 ease-in-out inline-block")},e.label),i.createElement(v.w,{"aria-hidden":"true",className:(0,l.c)("transition duration-150 ease-out","-mr-2","landing"===t&&"text-gray-500 dark:text-gray-400","blog"===t&&"text-refine-react-4",n?"translate-y-0.5":"")})),i.createElement(h.O,{as:i.Fragment,enter:"transition ease-in duration-150",enterFrom:"opacity-0 translate-y-3",enterTo:"opacity-100 translate-y-0",leave:"transition ease-out duration-150",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 translate-y-3",show:n},i.createElement(g._.Panel,{className:(0,l.c)("absolute","z-50","top-12",{"-left-32 center-point":"Docs"===e.label||"About"===e.label,"left-point":"CodePoint"===e.label})},i.createElement(f.WR,{id:e.label,variant:t,className:(0,l.c)("absolute","top-[-9px]",{"left-1/2":"CodePoint"!==e.label,"left-12":"CodePoint"===e.label}),style:{transform:"translateX(-50%)"}}),i.createElement("div",{className:(0,l.c)("overflow-hidden","rounded-xl","landing"===t&&"border dark:border-gray-700 border-gray-200","landing"===t&&"dark:shadow-menu-dark shadow-menu-light","blog"===t&&"border border-refine-react-3 dark:border-refine-react-6","blog"===t&&"dark:shadow-menu-blog-dark shadow-menu-blog-light")},r))))))},O=({variant:e="landing"})=>i.createElement(i.Fragment,null,m.map((t=>t.isPopover?i.createElement(y,{key:`navbar-${t.label}`,item:t,variant:e},"CodePoint"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,l.c)("grid grid-cols-2 gap-4","p-4","w-[672px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(d,{key:t.label,item:t,variant:e})))),i.createElement(n.c,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,l.c)("border-t","blog"===e&&"border-refine-react-3 dark:border-refine-react-6","landing"===e&&"border-gray-300 dark:border-gray-700","landing"===e&&"bg-gray-100 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-7","flex items-center","py-4 px-7")},i.createElement(f._2,null),i.createElement("div",{className:(0,l.c)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))),"About"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,l.c)("grid gap-4","p-4","w-[336px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(d,{key:t.label,item:t,variant:e})))),i.createElement("div",{className:(0,l.c)("border-t","blog"===e&&"border-refine-react-3 dark:border-refine-react-6","landing"===e&&"border-gray-300 dark:border-gray-700","landing"===e&&"bg-gray-100 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-7","flex justify-between items-center","py-4 px-7")},i.createElement("div",{className:(0,l.c)("landing"===e&&"text-gray-600 dark:text-gray-400 ","blog"===e&&"text-refine-react-5 dark:text-refine-react-4")},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.c,{to:"https://github.com/AkashSingh3031",className:(0,l.c)("no-underline","hover:text-inherit")},i.createElement(f.A9,{className:"dark:text-gray-400 text-gray-500"})),i.createElement(n.c,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(f.Ed,null)),i.createElement(n.c,{to:"https://instagram.com/akash.singh3031"},i.createElement(f.Yf,null)),i.createElement(n.c,{to:"https://x.com/akashsingh3031"},i.createElement(f.CC,null))))),"Docs"===t.label&&i.createElement("div",{className:(0,l.c)("grid gap-4","p-4","w-[336px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(d,{key:t.label,item:t,variant:e}))))):i.createElement(p,{key:`navbar-${t.label}`,item:t,variant:e}))));var w=r(2276),x=r(7008),E=r(9072),j=r(2268);function P(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const k=e=>i.createElement("svg",function(e){for(var t=1;ti.createElement("svg",function(e){for(var t=1;t{const[o,s]=(0,i.useState)(null),u=null!=r?r:n.c,m=void 0!==a&&void 0===t;return(0,i.useEffect)((()=>{const e=document.querySelector("html").getAttribute("data-theme");s(e)}),[]),i.createElement(u,function(e){for(var t=1;t{const r=(0,b.IT)();return i.useEffect((()=>{t(!1)}),[r]),i.createElement(L,{isModalOpen:e,setIsModalOpen:t},i.createElement(z,{className:(0,l.c)("hidden landing-sm:block","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}),i.createElement(B,{className:(0,l.c)("block landing-sm:hidden","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}))},L=({isModalOpen:e,setIsModalOpen:t,children:r})=>i.createElement(h.O,{appear:!0,show:e,as:i.Fragment},i.createElement(w.C,{as:"div",className:"relative z-10",onClose:()=>t(!1)},i.createElement(h.O.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},i.createElement("div",{className:(0,l.c)("fixed inset-0","bg-gray-0 dark:bg-gray-900","flex","flex-col")},i.createElement(H.Q,null),i.createElement("div",{className:(0,l.c)("flex items-center justify-between","p-4","landing-sm:px-8")},i.createElement(u.m,{className:"dark:text-gray-0 text-gray-900"}),i.createElement("button",{type:"button",className:(0,l.c)("rounded-lg","hover:brightness-105","active:scale-90","transition-transform duration-75 ease-in-out")},i.createElement(j.O,{className:"text-gray-900 dark:text-white",onClick:()=>t(!1)}))),i.createElement(h.O.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-75",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95"},i.createElement("div",{className:(0,l.c)("flex-1","overflow-y-auto","px-4","pb-4")},r)))))),z=e=>i.createElement("div",{className:(0,l.c)(e.className)},m.map(((e,t)=>{const r="icon"in e&&e.icon;return i.createElement("div",{key:t,className:(0,l.c)("not-prose","p-4","border-t dark:border-gray-700 border-gray-200")},i.createElement(n.c,{to:"href"in e?e.href:void 0,className:(0,l.c)("appearance-none","block","no-underline","dark:text-gray-0 text-gray-900","font-bold")},i.createElement("div",{className:(0,l.c)("flex items-center gap-2")},i.createElement("div",null,e.label),r&&i.createElement(r,null))),"items"in e&&i.createElement("div",{className:(0,l.c)("mt-2","grid grid-cols-2 min-[800px]:grid-cols-3","gap-x-8 gap-y-4")},e.items.map((e=>i.createElement(d,{key:e.label,item:e})))))})),i.createElement(G,null),i.createElement(T,{id:"tablet"}),i.createElement(R,{id:"tablet"})),B=e=>i.createElement("div",{className:(0,l.c)(e.className)},i.createElement("div",{className:"flex-grow"},m.map((e=>e.isPopover?i.createElement(x.C,{key:`modal-${e.label}`},(({open:t})=>i.createElement(i.Fragment,null,i.createElement(S,{component:x.C.Button,label:e.label,open:t}),i.createElement(x.C.Panel,{className:(0,l.c)(t&&"pb-4",t&&"border-b border-gray-200 dark:border-gray-700")},e.items.map((e=>i.createElement(d,{key:e.label,item:e}))))))):i.createElement(S,{key:`modal-${e.label}`,label:e.label,href:e.href,icon:e.icon})))),i.createElement(G,null),i.createElement(T,{id:"phone"}),i.createElement(R,{id:"phone"})),R=e=>{var t;return i.createElement(n.c,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,l.c)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex items-center","p-4")},i.createElement(f._2,{id:(null===(t=e)||void 0===t?void 0:t.id)||""}),i.createElement("div",{className:(0,l.c)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))},T=e=>{var t;return i.createElement("div",{className:(0,l.c)("bg-white dark:bg-gray-700 header-sm:bg-inherit","flex justify-between items-center","header-sm:flex-col header-sm:gap-4","header-sm:border-b border-gray-200 dark:border-gray-600","py-3 px-4")},i.createElement("p",{className:"text-gray-500 dark:text-gray-300 font-semibold"},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.c,{to:"https://github.com/AkashSingh3031"},i.createElement(f.A9,{className:"h-10 w-10"})),i.createElement(n.c,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(f.Ed,{className:"h-10 w-10"})),i.createElement(n.c,{to:"https://instagram.com/akash.singh3031"},i.createElement(f.Yf,{className:"h-10 w-10",id:(null===(t=e)||void 0===t?void 0:t.id)||""})),i.createElement(n.c,{to:"https://x.com/akashsingh3031"},i.createElement(f.CC,{className:"h-10 w-10"}))))},G=()=>{const{colorMode:e,setColorMode:t}=(0,E.U)(),r=()=>{t("dark"===e?"light":"dark")},n="dark"===e,a="light"===e;return i.createElement("div",{className:(0,l.c)("not-prose","p-4","flex items-center")},i.createElement("div",{className:(0,l.c)("text-sm","mr-10","dark:text-gray-400 text-gray-600")},"Apperance"),i.createElement("button",{onClick:r,className:(0,l.c)("mr-4","rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200","text-gray-500",a&&"bg-gray-50")},i.createElement(Z.G,null),"Light"),i.createElement("button",{onClick:r,className:(0,l.c)("rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200",n?"text-gray-400":"text-gray-500",n&&"bg-gray-700")},i.createElement(D.g,null),"Dark"))};var V=r(9253),F=r(2700),Y=r(5792),W=r(6936);const I=()=>{const{loading:e,githubStarCountText:t}=(0,F.wx)();return i.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank",rel:"noreferrer",className:(0,l.c)("flex gap-2 items-center","font-normal","text-sm leading-6","text-gray-500 dark:text-gray-400","hover:text-gray-400 dark:hover:text-gray-300","hover:no-underline","transition-colors","duration-200","ease-in-out")},i.createElement(Y.A,{className:(0,l.c)("w-5 h-5")}),i.createElement("div",{className:(0,l.c)("flex items-center","w-10 h-6")},e?i.createElement(W.c,{className:(0,l.c)("w-5 h-5"),wrapperProps:{className:(0,l.c)("mx-auto")}}):i.createElement("span",null,t)))},U=({trackProgress:e,variant:t="landing",className:r})=>{const[f,m]=(0,i.useState)(!1),{scrollYProgress:d}=(0,a.Q)(),p=(0,c.s)(d,[.03,.95],["0%","100%"]);return i.createElement(i.Fragment,null,i.createElement(H.Q,null),i.createElement("header",{className:(0,l.c)("sticky","top-0","z-10")},i.createElement("div",{className:(0,l.c)("absolute","top-0 left-0 right-0","backdrop-blur-[6px]","landing-md:backdrop-blur-[12px]","z-[-1]","bg-gray-0 dark:bg-gray-800","bg-opacity-80 dark:bg-opacity-80","pointer-events-none",r),style:{top:"-20px",bottom:"-80px",WebkitMaskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))",maskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))"}}),i.createElement("div",{className:(0,l.c)("relative","z-[1]","p-4","landing-sm:px-8","landing-md:py-5")},i.createElement("div",{className:(0,l.c)("mx-auto","flex","items-center","justify-between","max-w-[896px]","landing-lg:max-w-[1200px]")},i.createElement("div",{className:(0,l.c)("w-[130px]","landing-lg:w-[200px]")},i.createElement(n.c,{to:"https://prepverse.vercel.app"},i.createElement(u.m,{className:"text-gray-900 dark:text-gray-0"}))),i.createElement("button",{type:"button",className:(0,l.c)("text-gray-900 dark:text-gray-0","block landing-md:hidden"),onClick:()=>m(!0)},i.createElement(s.m,null)),i.createElement("div",{className:(0,l.c)("hidden landing-md:flex","flex-1","items-center","gap-8")},i.createElement(O,{variant:t})),i.createElement("div",{className:(0,l.c)("hidden landing-md:flex","items-center","justify-end","gap-4","w-[130px]","landing-lg:w-[200px]")},i.createElement(I,null),i.createElement(V.C,null)),i.createElement(M,{isModalOpen:f,setIsModalOpen:m}))),e&&i.createElement("div",{className:(0,l.c)("w-full","h-[1.5px]","translate","bg-refine-react-3 dark:bg-refine-react-7")},i.createElement(o.q.div,{className:(0,l.c)("h-full","bg-refine-react-light-link dark:bg-refine-react-dark-link"),style:{width:p}}))))}},7500:(e,t,r)=>{"use strict";r.d(t,{Ih:()=>o,oJ:()=>c,yg:()=>a});var n=r(4971),l=r(1504);const a="preferred-full-table-width",c=e=>l.createElement("div",{className:(0,n.c)("table-container")},l.createElement("table",e)),o=({children:e})=>l.createElement("div",{className:"table-full-width"},e)},9253:(e,t,r)=>{"use strict";r.d(t,{C:()=>i,O:()=>u});var n=r(1504),l=r(4971),a=r(9072),c=r(3756),o=r(5372);const i=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,a.U)();return n.createElement("button",{type:"button",className:(0,l.c)("appearance-none","focus:outline-none","relative","w-10 h-10","rounded-full","border","border-solid","border-gray-300 dark:border-gray-700","text-gray-500","transition-colors","duration-150","ease-in-out","overflow-hidden","flex-shrink-0","group",e),onClick:()=>{r("dark"===t?"light":"dark")}},n.createElement("div",{className:(0,l.c)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","translate-y-0","dark:-translate-y-10","duration-200","ease-in-out","transition-transform")},n.createElement(c.G,null)),n.createElement("div",{className:(0,l.c)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","-translate-y-10","dark:translate-y-0","duration-200","ease-in-out","transition-transform")},n.createElement(o.g,null)))},s=[{name:"light",icon:c.G,label:"Light"},{name:"dark",icon:o.g,label:"Dark"}],u=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,a.U)();return n.createElement("div",{className:(0,l.c)("flex","items-center","gap-4","justify-start",e)},s.map((({name:e,label:a,icon:c})=>n.createElement("button",{type:"button",key:e,className:(0,l.c)("appearance-none","focus:outline-none","py-1","pl-1.5","pr-3","flex","items-center","justify-center","gap-1","rounded-[40px]","text-gray-400","border border-solid","border-gray-200","dark:border-gray-600",t===e&&"bg-gray-100 dark:bg-gray-700"),onClick:()=>{r(e)}},n.createElement(c,{className:(0,l.c)("w-4 h-4")}),n.createElement("span",{className:(0,l.c)("text-sm")},a)))))}},7708:(e,t,r)=>{"use strict";r.d(t,{o0:()=>p,yw:()=>m,wd:()=>d,AR:()=>b});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var u=r(6098),f=r(4252);const m=[{label:"Resources",items:[{label:"Getting Started",href:"https://prepverse.vercel.app/docs"},{label:"Blog",href:"https://prepverse.vercel.app/blog"},{label:"Project Showcase",icon:n.createElement(u.KU,null),href:"https://prepverse.vercel.app/showcase"},{label:"Community",icon:n.createElement(u.KU,null),href:"https://prepverse.vercel.app/prepverse-community"}]},{label:"Product",items:[{label:"CodePoint",icon:n.createElement(f.i,null),href:"https://prepverse.github.io/CodePoint"},{label:"LeetVerse",icon:n.createElement(f.i,null),href:"https://prepverse.github.io/LeetVerse"}]},{label:"About",items:[{label:"About Me",href:"https://prepverse.vercel.app/AkashSingh3031"},{label:"Portfolio",icon:n.createElement(f.i,null),href:"https://prepverse.github.io/portfolio"}]}],d=[{label:"License",href:"https://github.com/PrepVerse/prepverse.github.io/blob/master/LICENSE"}],p="Thank you for visiting, Connect with me over socials.",b=[{icon:e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{G:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{w:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{g:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{i:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{y:()=>o});var n=r(4971),l=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const o=e=>l.createElement("svg",c(function(e){for(var t=1;t{"use strict";r.d(t,{A:()=>c,i:()=>o});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e){for(var t=1;tn.createElement("svg",a({width:12,height:12,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.053 0A10.904 10.904 0 0 0 3.89 2.685 11.34 11.34 0 0 0 .142 9.472a11.48 11.48 0 0 0 1.456 7.65 11.087 11.087 0 0 0 5.964 4.86c.556.103.752-.25.752-.547v-1.918C5.23 20.202 4.58 18 4.58 18a3.012 3.012 0 0 0-1.227-1.655c-.997-.692.081-.692.081-.692.35.05.683.18.975.382.293.202.536.469.713.78.15.278.352.523.595.721a2.312 2.312 0 0 0 2.618.221c.042-.57.283-1.105.678-1.509-2.454-.284-5.03-1.253-5.03-5.539a4.415 4.415 0 0 1 1.132-3.025A4.194 4.194 0 0 1 5.224 4.7s.928-.305 3.036 1.156c1.81-.508 3.72-.508 5.531 0 2.108-1.46 3.03-1.156 3.03-1.156.406.936.455 1.993.135 2.963a4.415 4.415 0 0 1 1.132 3.026c0 4.334-2.582 5.282-5.043 5.538.264.271.468.597.598.955.13.358.182.741.155 1.122V21.4c0 .367.196.65.759.54a11.093 11.093 0 0 0 5.88-4.878 11.481 11.481 0 0 0 1.419-7.6 11.34 11.34 0 0 0-3.71-6.746A10.907 10.907 0 0 0 11.053 0Z",fill:"currentColor"})),o=e=>n.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.066.001a11.91 11.91 0 0 1 7.745 2.966 12.326 12.326 0 0 1 4.032 7.33 12.46 12.46 0 0 1-1.54 8.245 12.088 12.088 0 0 1-6.406 5.314l-.105.037-.11.021c-.508.1-1.232.093-1.83-.422-.577-.498-.681-1.166-.681-1.565v-3.008l.004-.053a1.102 1.102 0 0 0-.062-.453 1.058 1.058 0 0 0-.235-.377l-.839-.86-.863.882a.802.802 0 0 0-.224.502l-.015.217v3.183c0 .434-.14 1.029-.628 1.492-.541.514-1.246.62-1.864.505l-.108-.02-.104-.035a12.082 12.082 0 0 1-6.498-5.296 12.457 12.457 0 0 1-1.58-8.298c.45-2.86 1.891-5.471 4.073-7.375A11.909 11.909 0 0 1 12.05.001h.016Zm-10.43 10.54a10.957 10.957 0 0 0 1.39 7.303 10.58 10.58 0 0 0 5.693 4.638c.53.099.717-.238.717-.522v-1.83c-.588.13-1.083.15-1.5.1a2.95 2.95 0 0 1-.542-.117 2.551 2.551 0 0 1-.422-.176 2.362 2.362 0 0 1-.82-.72c-.208-.294-.28-.535-.28-.535a2.876 2.876 0 0 0-1.17-1.58l-.016-.01c-.925-.65.093-.65.093-.65.106.015.21.038.313.068l.017.005a2.172 2.172 0 0 1 .962.603c.122.13.23.276.319.433a2.29 2.29 0 0 0 .68.775h.002s0 .001 0 0a2.211 2.211 0 0 0 2.385.124v-.014a2.302 2.302 0 0 1 .647-1.427 8.754 8.754 0 0 1-1.625-.328 4.865 4.865 0 0 1-1.416-.695 3.883 3.883 0 0 1-.432-.365c-.8-.786-1.328-2.002-1.328-3.899a4.214 4.214 0 0 1 1.08-2.887 4.003 4.003 0 0 1 .104-2.848s.886-.291 2.898 1.103a9.762 9.762 0 0 1 5.28 0c2.011-1.393 2.891-1.103 2.891-1.103.388.893.434 1.902.13 2.828a4.214 4.214 0 0 1 1.08 2.888c0 3.166-1.444 4.44-3.174 4.972a8.617 8.617 0 0 1-1.64.314 2.558 2.558 0 0 1 .699 1.425c.026.184.033.371.02.558v2.955c0 .35.187.62.724.515a10.588 10.588 0 0 0 5.613-4.656 10.958 10.958 0 0 0 1.354-7.254 10.824 10.824 0 0 0-3.541-6.439 10.41 10.41 0 0 0-6.77-2.592 10.408 10.408 0 0 0-6.837 2.563 10.824 10.824 0 0 0-3.578 6.478ZM16.374 7.8a8.003 8.003 0 0 0-.856.524l-.58.401-.679-.19a8.262 8.262 0 0 0-4.469 0l-.68.19-.58-.402a7.982 7.982 0 0 0-.846-.519c.019.186.059.37.12.549l.282.832-.588.653a2.714 2.714 0 0 0-.696 1.86v.024c0 1.724.503 2.513.998 2.937.563.481 1.397.736 2.476.86l1.567.182 1.954-.204c1.082-.112 1.912-.358 2.47-.833.492-.418.999-1.209.999-2.96v-.026a2.714 2.714 0 0 0-.696-1.86l-.582-.647.273-.826c.058-.178.096-.36.113-.545Z",clipRule:"evenodd"}))},1980:(e,t,r)=>{"use strict";r.d(t,{m:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{Q:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{G:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{s1:()=>o,wR:()=>s,QD:()=>f,vn:()=>d,kv:()=>b,uI:()=>h,A9:()=>y,_2:()=>w,Ew:()=>E,Yf:()=>P,oh:()=>C,Ed:()=>A,BE:()=>H,KU:()=>M,WR:()=>G,w9:()=>F,CC:()=>W,AH:()=>X,oz:()=>K,C3:()=>q});var n=r(1504);var l=r(4971);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const o=e=>n.createElement("svg",c(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const{colorMode:t}=(0,D.U)();return n.createElement("div",{className:(0,l.c)("relative","flex","items-center","justify-center","rounded-full","overflow-hidden","p-px","dark:bg-[#194b3a] bg-[#b7dbff]"),style:{transform:"translateZ(0)"}},n.createElement("div",{className:(0,l.c)("z-[1]","absolute","inset-0","dark:bg-new-badge-border-dark bg-new-badge-border-light","animate-new-badge-border")}),n.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}var R,T;const G=e=>{var{variant:t="landing"}=e,r=B(e,["variant"]);return n.createElement("svg",z(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",U(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{m:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{G:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{o:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{E:()=>p});var n=r(4971),l=r(1504),a=r(9184),c=r(7708),o=r(204);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const s=e=>l.createElement("svg",function(e){for(var t=1;t{const t=l.createElement("div",{className:(0,n.c)("py-6 landing-lg:py-0","flex","flex-col","gap-4","landing-lg:max-w-[224px]")},l.createElement("div",{className:(0,n.c)("font-semibold","text-sm","leading-6","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},"Contacts"),l.createElement("a",{href:"https://wa.me/+919794423031",target:"_blank",className:(0,n.c)("font-normal","text-sm","leading-5","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},"+91 9794423031"),l.createElement("a",{href:"https://mail.google.com/mail/u/0/?fs=1&to=codewithsky@gmail.com&tf=cm",target:"_blank",className:(0,n.c)("font-normal","text-sm","leading-5","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:180,height:40,viewBox:"0 0 180 40",fill:"none"},l.createElement("text",{x:"1",y:"15",fontFamily:"Arial, sans-serif",fontSize:"16",fill:"currentColor"},"codewithsky@gmail.com")))),r=l.createElement("div",{className:(0,n.c)("py-6 landing-lg:py-0","flex","flex-col","landing-sm:items-end")},l.createElement("div",{className:(0,n.c)("flex","flex-col","gap-4")},l.createElement("div",{className:(0,n.c)("text-sm","leading-6","font-semibold","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3","landing-lg:text-right")},"Connect with me on"),l.createElement("div",{className:(0,n.c)("flex","items-center","gap-8","landing-lg:gap-4","justify-start")},c.AR.map((({href:t,icon:r})=>l.createElement("a",{href:t,key:t,target:"_blank",rel:"noreferrer",className:(0,n.c)("landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},l.createElement(r,{className:(0,n.c)("w-6 h-6","landing-lg:w-8 landing-lg:h-8")})))))));return l.createElement("footer",{className:(0,n.c)("w-full")},l.createElement("div",{className:(0,n.c)("border-t border-t-solid","landing"===e&&"border-t-gray-100 dark:border-t-gray-700","blog"===e&&"border-t-refine-react-3 dark:border-t-refine-react-7","landing"===e&&"dark:bg-footer-landing-dark-bg","blog"===e&&"bg-footer-blog-light-bg dark:bg-footer-blog-dark-bg")},l.createElement("div",{className:(0,n.c)("grid","grid-cols-1","max-w-screen-landing-md","landing-lg:max-w-screen-landing-lg","mx-auto")},l.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8 landing-lg:px-12","py-4 landing-lg:py-6","flex","items-center","justify-between")},l.createElement(a.c,{to:"https://prepverse.vercel.app",className:(0,n.c)("hover:no-underline","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},l.createElement(u.m,null)),l.createElement("a",{href:"https://github.com/sponsors/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,n.c)("hover:no-underline")},l.createElement(s,null))),l.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8 landing-lg:px-12","flex","flex-row","flex-wrap","items-start","justify-start","text-gray-500 dark:text-gray-500")},c.o0),l.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8 landing-lg:px-12","py-6 landing-lg:pt-8 landing-lg:pb-12","flex","flex-row","flex-wrap","items-start","justify-start","gap-6")},l.createElement("div",{className:(0,n.c)("hidden","landing-lg:flex","max-w-[282px]","w-full")},t),c.yw.map((t=>l.createElement("div",{className:(0,n.c)("flex flex-col gap-4","min-w-[152px]"),key:t.label},l.createElement("div",{className:(0,n.c)("text-sm","leading-6","font-semibold","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},t.label),l.createElement("div",{className:(0,n.c)("flex","flex-col","gap-2")},t.items.map((t=>l.createElement("a",d(m({href:t.href,key:t.label},t.href.startsWith("http")?{target:"_blank",rel:"noopener noreferrer"}:{}),{className:(0,n.c)("text-sm","leading-5","hover:no-underline","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300")}),l.createElement("div",{className:(0,n.c)("flex","items-center","gap-2")},t.label,t.icon)))))))),l.createElement("div",{className:(0,n.c)("hidden","landing-lg:flex","ml-auto")},r)),l.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8","grid","grid-cols-1","landing-sm:grid-cols-2","landing-sm:gap-8","landing-lg:hidden")},t,r))),l.createElement("div",{className:(0,n.c)("border-t border-t-solid","landing"===e&&"border-t-gray-100 dark:border-t-gray-700","blog"===e&&"border-t-gray-100 dark:border-t-gray-700","landing"===e&&"bg-gray-50 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-8")},l.createElement("div",{className:(0,n.c)("py-6 landing-sm:py-8 landing-lg:py-6","px-4 landing-sm:px-8 landing-lg:px-12","grid","grid-cols-1","landing-md:grid-cols-2","gap-8","max-w-screen-landing-md","landing-lg:max-w-screen-landing-lg","mx-auto")},l.createElement("div",{className:(0,n.c)("flex","flex-col","landing-sm:flex-row","gap-4","items-start","justify-start")},c.wd.map((t=>l.createElement("a",d(m({href:t.href,key:t.label},t.href.startsWith("http")?{target:"_blank",rel:"noopener noreferrer"}:{}),{className:(0,n.c)("text-sm","leading-5","font-normal","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:no-underline","hover:text-gray-800 dark:hover:text-gray-300")}),t.label)))),l.createElement("div",{className:(0,n.c)("text-left","landing-md:text-right","text-sm","pr-6 landing-sm:pr-0","leading-5","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3","font-normal")},l.createElement("div",{className:(0,n.c)("text-base","text-gray-500 dark:text-gray-400")},"Copyright \xa9 ",(new Date).getFullYear()," PrepVerse"," ",l.createElement(o.Q,{className:"text-refine-red ml-2 inline leading-6"}),l.createElement("br",null),"Built with Docusaurus & Refine.")))))}},6192:(e,t,r)=>{"use strict";r.d(t,{D:()=>f});var n=r(1504),l=r(4971),a=r(9184);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const o=e=>n.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const f=e=>{var{children:t,href:r,className:c,onClick:f,buttonClassname:m}=e,d=u(e,["children","href","className","onClick","buttonClassname"]);const p=r?a.c:"button";return n.createElement(p,s(function(e){for(var t=1;t{"use strict";r.d(t,{c:()=>i});var n=r(4971),l=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const i=e=>{var{className:t,wrapperProps:r}=e,a=o(e,["className","wrapperProps"]);return l.createElement("div",c({role:"status"},r),l.createElement("svg",c({"aria-hidden":"true",width:24,height:24,viewBox:"0 0 100 100",className:(0,n.c)("text-gray-200 animate-spin dark:text-gray-600 fill-refine-blue",t),fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),l.createElement("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),l.createElement("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})),l.createElement("span",{className:"sr-only"},"Loading..."))}},252:(e,t,r)=>{"use strict";r.d(t,{Q:()=>i});var n=r(4971),l=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){for(var t=1;tl.createElement("div",{className:(0,n.c)("w-full h-12","relative","bg-top-announcement","not-prose","font-inter","z-top-announcement")},l.createElement("div",{className:(0,n.c)("hidden lg:flex","w-full h-full","max-w-screen","overflow-hidden","border-b border-solid border-[#47ebeb26]","top-announcement-mask")},l.createElement("div",{className:(0,n.c)("w-[1280px] h-full","mx-auto","flex","justify-between")},l.createElement("div",{className:(0,n.c)("w-[calc(50%-300px)] h-full","relative")},l.createElement(u,{style:{animationDelay:"1.5s"},className:(0,n.c)("absolute","top-[2px]","right-[220px]"),id:"1"}),l.createElement(u,{style:{animationDelay:"1s"},className:(0,n.c)("absolute","rotate-180","top-[8px] right-[100px]"),id:"2"}),l.createElement(f,{className:(0,n.c)("absolute","right-[10px]"),id:"3"})),l.createElement("div",{className:(0,n.c)("w-[calc(50%-300px)] h-full","relative")},l.createElement(u,{style:{animationDelay:"2s"},className:(0,n.c)("absolute","rotate-180","top-[6px] right-[180px]"),id:"4"}),l.createElement(u,{style:{animationDelay:"0.5s"},className:(0,n.c)("delay-[1300]","absolute","top-[2px]","right-[40px]"),id:"5"}),l.createElement(f,{className:(0,n.c)("absolute","right-[-70px]"),id:"6"})))),l.createElement(s,null)),s=()=>l.createElement("a",{href:"https://prepverse.vercel.app/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,n.c)("relative lg:absolute","px-2 lg:px-0","top-0","left-[50%]","translate-x-[-50%]","bg-top-announcement-text","h-full w-full lg:w-[450px]","flex items-center justify-center","text-white","text-xs sm:text-sm","text-center","no-underline","hover:no-underline","hover:text-white","not-prose")},l.createElement("div",{className:(0,n.c)("ml-2","not-prose")},"For more updates follow","",l.createElement("span",{className:(0,n.c)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")},"@AkashSingh3031"),".")),u=e=>l.createElement("svg",o(c({xmlns:"http://www.w3.org/2000/svg",width:80,height:40,fill:"none"},e),{className:(0,n.c)("animate-top-announcement-glow","opacity-1",e.className)}),l.createElement("circle",{cx:40,r:40,fill:`url(#${e.id}-a)`,fillOpacity:.5}),l.createElement("defs",null,l.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 40 -40 0 40 0)",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{stopColor:"#47EBEB"}),l.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0})))),f=e=>l.createElement("svg",o(c({xmlns:"http://www.w3.org/2000/svg",width:120,height:48,fill:"none"},e),{className:(0,n.c)("animate-top-announcement-glow","opacity-1",e.className)}),l.createElement("circle",{cx:60,cy:24,r:60,fill:`url(#${e.id}-a)`,fillOpacity:.5}),l.createElement("defs",null,l.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 60 -60 0 60 24)",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{stopColor:"#47EBEB"}),l.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0}))))},2064:(e,t,r)=>{"use strict";r.d(t,{ED:()=>i,Ip:()=>s,_i:()=>m,Mx:()=>u,iG:()=>d,Yv:()=>o,Sm:()=>c,G_:()=>f});var n=r(2411);const l=JSON.parse('{"label":"Tutorial","path_prefix_segment":"tutorial","defaultParameters":{"language":"cpp"},"parameterOptions":{"language":[{"label":"C++","value":"cpp"},{"label":"Python","value":"py"},{"label":"Java","value":"java","status":"coming-soon"}]},"units":[{"title":"DSA","id":"dsa","items":["dsa/:language/index"]}]}');var a=r(1688);const c=l,o=(e,t)=>e.split("/").map((e=>{if(e.startsWith(":")){const r=e.slice(1);return t[r]}return e})).join("/"),i=(e,t)=>{for(const r of c.units)for(const n of r.items)if(e===o(n,t))return r},s=(e,t)=>{let r=!1;for(const n of c.units)for(const l of n.items){if(r)return l;o(l,t)===e&&(r=!0)}},u=(e,t)=>{let r=null;for(const n of c.units)for(const l of n.items){if(o(l,t)===e)return r;r=l}},f=()=>{const{docs:e}=(0,a.E)(),{versions:t}=(0,n.MP)("docusaurus-plugin-content-docs","tutorial"),r=t[0].docs;for(const n of r)n.title=e[n.id].title;return Object.fromEntries(r.map((e=>[e.id,e])))},m=(e,t)=>{const r=t[e];if(!r)throw new Error(`Cannot find item with id ${e}`);return r.path},d=(e,t)=>{const r=t[e];if(!r)throw new Error(`Cannot find doc with id ${e}`);return r.title}},1240:(e,t,r)=>{"use strict";r.d(t,{c:()=>C});var n=r(1504),l=r(4971);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{var a;const c=null!==(a=p[e])&&void 0!==a?a:()=>null;var o;const i=null!==(o=b[e])&&void 0!==o?o:"tex-inherit";var s;const u=null!==(s=g[e])&&void 0!==s?s:"bg-inherit";return"simple"===e?n.createElement(y,{type:e,title:t},r):n.createElement("div",{className:(0,l.c)("rounded-lg","admonition",`admonition-${e}`,"mb-6","refine-wider-container",u)},n.createElement("div",{className:(0,l.c)("border-l-4","border-l-solid","border-l-inherit","rounded-tl-lg","rounded-bl-lg","py-4","pr-4","pl-3","flex flex-col","gap-2 sm:gap-4")},(t||h[e])&&n.createElement("div",{className:(0,l.c)("flex","items-center","gap-2","text-xs sm:text-base 2xl:text-base 2xl:leading-7","font-semibold",i)},n.createElement(c,null),n.createElement("span",{className:"uppercase"},null!==(f=null!=t?t:h[e])&&void 0!==f?f:"")),n.createElement("div",{className:(0,l.c)("text-gray-0","text-base","last:mb-0")},r)));var f},y=({type:e,title:t,children:r})=>{var a;const c=null!==(a=b[e])&&void 0!==a?a:"tex-inherit";var o;const i=null!==(o=g[e])&&void 0!==o?o:"bg-inherit";return n.createElement("div",{className:(0,l.c)("rounded-lg","admonition",`admonition-${e}`,"mb-6",i)},n.createElement("div",{className:(0,l.c)("flex flex-col","gap-2",!t&&"pt-4")},t&&n.createElement("div",{className:(0,l.c)("px-4","pt-4","text-sm","leading-5","-mt-0.5",c)},n.createElement("span",{className:"font-semibold"},null!=t?t:""),n.createElement("span",null,":")),n.createElement("div",{className:(0,l.c)("text-gray-0","text-base","last:mb-0","px-4 pb-4","admonition-content")},r)))};function O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function w(e){for(var t=1;tn.isValidElement(e)&&"mdxAdmonitionTitle"===(null===(t=e.props)||void 0===t?void 0:t.mdxType))),a=n.createElement(n.Fragment,null,r.filter((e=>e!==l)));return{mdxAdmonitionTitle:l,rest:a}}(e.children);var l;return x(w({},e),{title:null!==(l=e.title)&&void 0!==l?l:t,children:r})}const k=e=>{const{children:t,type:r,title:l}=P(e);return n.createElement(v,{type:r,title:l},t)};function C(e){return"info-tip"===e.type?n.createElement(k,e):"additional"===e.type?n.createElement(k,x(w({},e),{type:"note",title:"ADDITIONAL INFO"})):"sourcecode"===e.type?n.createElement(k,x(w({},e),{icon:n.createElement(E,null),title:n.createElement("a",{href:e.path,target:"_blank",rel:"noreferrer",style:{marginLeft:"4px"}},"SOURCE CODE"),titleProps:{style:{marginBottom:"-4px"}}}),e.children):"create-example"===e.type?n.createElement(k,x(w({},e),{type:"caution",icon:n.createElement(j,null),title:n.createElement("span",{style:{marginLeft:"4px"}},"RUN IN YOUR LOCAL")}),e.children):n.createElement(n.Fragment,null,n.createElement(k,e))}},7328:(e,t,r)=>{"use strict";r.d(t,{c:()=>k});var n=r(4971),l=r(1504);const a=({className:e})=>l.createElement("div",{className:(0,n.c)("relative","w-full","landing-md:mx-auto","w-full","pt-4 blog-md:pt-12 pb-6 px-6","bg-white dark:bg-gray-800",e)},l.createElement("div",{className:(0,n.c)("blog-sm:max-w-[592px]","blog-md:max-w-[656px]","blog-lg:max-w-[896px]","blog-max:max-w-[1200px]","w-full","mx-auto","flex","flex-col","items-start justify-start blog-lg:items-center blog-lg:justify-center","gap-4","not-prose")},l.createElement("h2",{className:(0,n.c)("flex","flex-wrap","gap-2","text-[32px] leading-[40px] landing-sm:text-[56px] landing-sm:leading-[72px]")},l.createElement("div",{className:(0,n.c)("dark:text-gray-0 text-gray-900")},"PrepVerse "),l.createElement("div",{className:(0,n.c)("font-semibold","dark:text-refine-green-alt dark:drop-shadow-[0_0_30px_rgba(71,235,235,0.25)]","text-refine-blue drop-shadow-[0_0_30px_rgba(51,51,255,0.3)]","whitespace-nowrap")},"Technical Blog")),l.createElement("p",{className:(0,n.c)("text-base","text-start landing-md:text-center","max-w-[588px]","dark:text-gray-400 text-gray-600","pb-2")},"contains all the DSA, Core Subjects, Web Tech, Data Science & FAANG Interview questions based blogs.")));var c=r(3680),o=r(8480),i=r(6968),s=r(6192),u=r(6112),f=r(9184),m=r(2424),d=r(2276),p=r(2268);function b(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g(e){for(var t=1;t{const[r,n]=(0,l.useState)({scrollDepths:e,scrollY:0}),{scrollDepths:a,scrollY:c}=r;return(0,l.useEffect)((()=>{"undefined"!=typeof window&&0!==window.pageYOffset&&n((e=>h(g({},e),{scrollY:window.pageYOffset})))}),[]),(0,l.useEffect)((()=>{if("undefined"==typeof window)return;const e=()=>window.removeEventListener("scroll",l),l=()=>{const l=document.documentElement,c=document.body,o=l.scrollTop||c.scrollTop,i=l.scrollHeight||c.scrollHeight,s=o/(i-l.clientHeight)*100;if(a){const r=Math.min(...a,i);if(s>=r){const l=a.filter((e=>e!==r));0===l.length&&e(),t&&t({scrollY:r,scrollPercent:s,remainingDepths:l}),n({scrollY:r,scrollDepths:l})}}else n(h(g({},r),{scrollY:s}))};return window.addEventListener("scroll",l),e}),[a,c,r]),{scrollY:c}},y=(e,t)=>{const[r,n]=(0,l.useState)((()=>{if("undefined"==typeof window)return t;try{const r="undefined"!=typeof window?window.localStorage.getItem(e):void 0;return r?JSON.parse(r):t}catch(r){return console.log(r),t}}));return[r,t=>{try{const l=t instanceof Function?t(r):t;n(l),"undefined"!=typeof window&&window.localStorage.setItem(e,JSON.stringify(l))}catch(l){console.log(l)}}]};var O=r(640);const w=({title:e="Click here to discover my latest projects, skills, and achievements on my portfolio website. My journey into creativity begins now!",variant:t="purple",image:r={src:"https://github.com/AkashSingh3031.png",alt:"My Portfolio",href:"https://prepverse.github.io/portfolio"},button:a={text:"Explore Now",href:"https://prepverse.github.io/portfolio",onClick:void 0}})=>{var c,o,i,b;const{pathname:g}=(0,O.IT)(),[h,w]=(0,l.useState)(!1),[x,E]=y("banner-modal",null),j=(0,l.useRef)(!1),P=v();var k,C;return(0,l.useEffect)((()=>{"/blog/"!==g&&"/blog"!==g&&(j.current||h||P.scrollY>79&&P.scrollY<100&&(j.current=!0,9===x||null===x?(w(!0),E(0)):(E(x+1),j.current=!0)))}),[P.scrollY]),(0,l.useEffect)((()=>{h&&"undefined"!=typeof window&&void 0!==window.gtag&&window.gtag("event","view_banner",{banner_name:"banner-modal",banner_text:e,banner_image:r.src})}),[h]),l.createElement(m.O,{appear:!0,show:h,as:l.Fragment},l.createElement(d.C,{as:"div",className:"relative z-modal",onClose:()=>w(!1)},l.createElement(m.O.Child,{as:l.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},l.createElement("div",{className:"fixed inset-0 bg-gray-900/70"})),l.createElement("div",{className:"fixed inset-0 overflow-y-auto"},l.createElement("div",{className:"flex min-h-full items-start justify-center"},l.createElement(m.O.Child,{as:l.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},l.createElement(d.C.Panel,{className:(0,n.c)("w-full min-h-screen","flex flex-col justify-center items-center")},l.createElement("div",{className:(0,n.c)("relative","rounded-3xl","max-w-[576px]","py-8","px-4 md:px-8","gray"===t&&"bg-banner-examples-modal-gray","purple"===t&&"bg-banner-examples-modal-purple")},l.createElement("div",{className:(0,n.c)("flex","flex-col","items-center","gap-8","text-center","not-prose")},l.createElement(f.c,{to:null!==(k=null===(c=r)||void 0===c?void 0:c.href)&&void 0!==k?k:null===(o=a)||void 0===o?void 0:o.href,target:"_blank",rel:"noopener noreferrer",className:(0,n.c)("flex","h-auto xl:h-[192px]","flex-shrink-0","rounded-lg","overflow-hidden","focus:outline-none")},l.createElement("img",{className:(0,n.c)("object-contain"),src:null===(i=r)||void 0===i?void 0:i.src,alt:null!==(C=null===(b=r)||void 0===b?void 0:b.alt)&&void 0!==C?C:e,loading:"lazy"})),l.createElement("p",{className:(0,n.c)("text-2xl","font-semibold","gray"===t&&"bg-clip-text","gray"===t&&"text-transparent","gray"===t&&"bg-banner-examples-text","purple"===t&&"text-gray-0")},e),l.createElement(s.D,{className:(0,n.c)("w-max"),buttonClassname:(0,n.c)("!px-4","!py-4"),href:a.href,onClick:a.onClick,target:"_blank",rel:"noopener noreferrer"},l.createElement("div",{className:(0,n.c)("text-gray-900","text-base","font-bold")},a.text),l.createElement(u.G,{className:(0,n.c)("w-4","h-4")}))),l.createElement("button",{className:(0,n.c)("absolute","top-2 right-2","w-8 h-8","flex items-center justify-center flex-shrink-0","text-gray-0","rounded-full","bg-gray-900/20"),onClick:()=>w(!1)},l.createElement(p.O,{className:"w-4 h-4"})))))))))};var x=r(6280);function E(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function j(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function P(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},a=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const k=e=>{const[t,r]=(0,l.useState)(!1),{children:s,toc:u,showSidebarBanner:f=!0}=e,m=P(e,["children","toc","showSidebarBanner"]),d=v();return(0,l.useEffect)((()=>{t&&(d.scrollY>20&&r(!0),d.scrollY<20&&r(!1))}),[d.scrollY,f]),l.createElement(o.C,j(function(e){for(var t=1;t{"use strict";r.d(t,{c:()=>f});var n=r(1504),l=r(468),a=r(2032),c=r(9184),o=r(3270),i=r(1904),s=r(4971);function u({className:e}){var t,r;const{metadata:a}=(0,l.g)(),{permalink:u,title:f,date:m,formattedDate:d,frontMatter:p,description:b,tags:g}=a,h=a.authors[0];return n.createElement(o.c,{className:e},n.createElement("div",null,n.createElement(c.c,{itemProp:"url",to:u,className:(0,s.c)("block","w-full h-auto","aspect-[592/334]")},n.createElement("div",{className:(0,s.c)("not-prose relative m-0 hover:brightness-90","h-full w-full")},n.createElement("img",{src:`${p.image}?h=432`,alt:f,className:(0,s.c)("absolute inset-0 mt-0 h-full w-full rounded-[10px] object-cover"),loading:"lazy"})))),n.createElement("div",{className:"px-4 py-4 md:px-6 md:py-6"},n.createElement("div",{className:(0,s.c)("flex flex-wrap items-center","mb-6","gap-2")},g.map((e=>n.createElement(c.c,{className:(0,s.c)("text-xs","bg-refine-react-3 dark:bg-refine-react-7","text-refine-react-8 dark:text-refine-react-3","no-underline","rounded-full","px-2 py-1"),href:e.permalink,key:e.permalink},e.label)))),n.createElement("div",{className:"mb-2 md:mb-4"},n.createElement(c.c,{itemProp:"url",to:u,className:"no-underline hover:no-underline",rel:"noopener dofollow"},n.createElement("div",{className:(0,s.c)("mb-4","text-gray-700 dark:text-refine-react-3","text-xl","font-lg","font-bold")},f)),n.createElement("div",{className:(0,s.c)("line-clamp-3","text-gray-700 dark:text-refine-react-4","text-sm")},b)),n.createElement("div",{className:"flex items-center gap-2"},n.createElement(c.c,{href:`/blog/author/${null===(t=h)||void 0===t?void 0:t.key}`,itemProp:"url",className:(0,s.c)("text-gray-600 hover:text-gray-600","dark:text-gray-400 hover:dark:text-gray-400","text-xs","no-underline")},null===(r=h)||void 0===r?void 0:r.name),n.createElement("span",{className:(0,s.c)("h-[4px] w-[4px] rounded-full","bg-gray-600 dark:bg-gray-500")}),n.createElement("span",{className:(0,s.c)("text-gray-600 dark:text-refine-react-5","text-xs","leading-6","no-underline")},n.createElement(i.iI,{date:m,formattedDate:d})))))}function f({items:e,tags:t,component:r=u,isAuthorPage:c,isTagsPage:o}){return n.createElement("div",{className:(0,s.c)("w-full","bg-white dark:bg-gray-800")},n.createElement("div",{className:(0,s.c)("blog-sm:max-w-[592px]","blog-md:max-w-[656px]","blog-lg:max-w-[896px]","blog-max:max-w-[1200px]","w-full","px-6 blog-sm:px-0","pt-14 blog-md:pt-12","pb-6","mx-auto","not-prose")},!c&&!o&&n.createElement(n.Fragment,null,n.createElement("div",{className:(0,s.c)("flex flex-row blog-lg:flex-col justify-between","items-center blog-lg:items-start","not-prose","px-6","mb-6 blog-lg:mb-12","gap-6")},n.createElement("h2",{className:(0,s.c)("!m-0 !mt-0 !mb-0 p-0","blog-lg:mb-12 blog-md:mb-8 mb-8","text-2xl blog-sm:text-[32px] blog-sm:leading-10","text-refine-react-8 dark:text-refine-react-3","font-semibold","whitespace-nowrap")},"All Posts"),n.createElement(a.c,{tags:t}))),n.createElement("div",{className:(0,s.c)("grid grid-cols-1 blog-md:grid-cols-2 blog-max:grid-cols-3","gap-6")},e.map((({content:e})=>n.createElement(l.E,{key:e.metadata.permalink,content:e},n.createElement(r,null,n.createElement(e,null))))))))}},8560:(e,t,r)=>{"use strict";r.d(t,{s:()=>Z});var n=r(1504),l=r(8952),a=r(8796),c=r(5684),o=r(6564),i=r(2184),s=r(6616),u=r(5952),f=r(4971),m=r(1373);function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function b(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},a=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const g=e=>{var{as:t}=e,r=b(e,["as"]);return n.createElement(t,p(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const[r,l]=(0,n.useState)(!1),a=(0,n.useRef)(void 0),c=(0,n.useCallback)((()=>{try{navigator.clipboard.writeText(e).then((()=>{l(!0),a.current=window.setTimeout((()=>{l(!1)}),1e3)}))}catch(t){}}),[e]);return(0,n.useEffect)((()=>()=>window.clearTimeout(a.current)),[]),n.createElement("button",{type:"button","aria-label":r?"Copied!":"Copy code to clipboard",title:"Copy code to clipboard",className:(0,f.c)("w-6 h-6","flex justify-center items-center","bg-gray-200","dark:bg-gray-800","hover:bg-gray-300","dark:hover:bg-refine-react-dark-code","rounded","group","transition-[background-color] duration-200 ease-in-out"),onClick:c},n.createElement(v,{className:(0,f.c)("w-3 h-3","text-gray-500","dark:text-gray-400",r&&"rotate-[360deg]","transition-all duration-200 ease-in-out")}))};function O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const w=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const r=t?w:E;return n.createElement("button",{type:"button",onClick:()=>e(),className:(0,f.c)("w-6 h-6","flex justify-center items-center","bg-gray-200","dark:bg-gray-800","hover:bg-gray-300","dark:hover:bg-refine-react-dark-code","rounded","group","transition-[background-color] duration-200 ease-in-out"),"aria-label":"Toggle word wrap",title:"Toggle word wrap"},n.createElement(r,{className:(0,f.c)("w-3 h-3","text-gray-500","dark:text-gray-400",t&&"rotate-[360deg]","transition-all duration-200 ease-in-out")}))};function P(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function k(e){for(var t=1;tn.createElement("svg",k({xmlns:"http://www.w3.org/2000/svg",width:12,height:14,viewBox:"0 0 12 14",fill:"none"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M11 4.994V11.6A1.4 1.4 0 0 1 9.6 13H2.4A1.4 1.4 0 0 1 1 11.6V2.4A1.4 1.4 0 0 1 2.4 1h4.606a1.4 1.4 0 0 1 .99.41l2.594 2.594a1.4 1.4 0 0 1 .41.99ZM0 2.4A2.4 2.4 0 0 1 2.4 0h4.606a2.4 2.4 0 0 1 1.697.703l2.594 2.594A2.4 2.4 0 0 1 12 4.994V11.6A2.4 2.4 0 0 1 9.6 14H2.4A2.4 2.4 0 0 1 0 11.6V2.4ZM3.5 6a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5Zm0 2a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5Zm0 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3Z",clipRule:"evenodd"})),A=({children:e,icon:t=n.createElement(N,null)})=>n.createElement("div",{className:(0,f.c)("py-3","px-4","bg-gray-100 dark:bg-gray-700","text-gray-800","dark:text-gray-100","text-xs","flex items-center","gap-2","rounded-tl-lg","rounded-tr-lg")},t,e),S=({children:e,className:t="",metastring:r,title:l,showLineNumbers:a,language:d,icon:p,style:b})=>{const{prism:{defaultLanguage:h,magicComments:v}}=(0,c.y)();var O;const w=null!==(O=null!=d?d:(0,i.K2)(t))&&void 0!==O?O:h,x=(0,o.i)(),E=(0,s._)(),P=(0,i.QH)(r)||l,{lineClassNames:N,code:S}=(0,i.cj)(e,{metastring:r,language:w,magicComments:v}),H=null!=a?a:(0,i.OO)(r);return n.createElement(g,{as:"div",className:(0,f.c)("refine-common-code-block",w&&`language-${w}`,"rounded-lg","bg-gray-200","dark:bg-gray-900","border","border-gray-300","dark:border-0","mb-6","relative","refine-wider-container"),style:b},P&&n.createElement(A,{icon:p},P),n.createElement("div",{className:(0,f.c)("relative","pt-3","pb-0","not-prose")},n.createElement(m.cp,C(k({},m.wB),{theme:x,code:S,language:null!=w?w:"text"}),(({className:e,tokens:t,getLineProps:r,getTokenProps:l})=>n.createElement("pre",{tabIndex:0,ref:E.codeBlockRef,className:(0,f.c)(e,"bg-transparent","!mt-0","!mb-0","m-0","px-0","pt-0","font-jetBrains-mono","pb-3")},n.createElement("code",{className:(0,f.c)("font-[inherit]","bg-transparent","inline-block","min-w-full")},t.map(((e,t)=>n.createElement(u.c,{key:t,line:e,getLineProps:r,getTokenProps:l,classNames:(0,f.c)(N[t],"px-4","text-xs sm:text-sm 2xl:text-sm"),showLineNumbers:H})))))))),n.createElement("div",{className:(0,f.c)("absolute",P?"top-2 right-2":"top-3 right-3","flex items-center gap-2")},(E.isEnabled||E.isCodeScrollable)&&n.createElement(j,{onClick:E.toggle,isEnabled:E.isEnabled}),n.createElement(y,{className:(0,f.c)(),code:S})))};function H(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function D(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},a=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const Z=e=>{var{children:t}=e,r=D(e,["children"]);const c=(0,l.c)(),o=function(e){return n.Children.toArray(e).some((e=>(0,n.isValidElement)(e)))?e:Array.isArray(e)?e.join(""):e}(t),i="string"==typeof o?S:a.c;return n.createElement(i,function(e){for(var t=1;t{"use strict";r.d(t,{c:()=>A});var n=r(1504),l=r(8560),a=r(4971),c=r(9936),o=r(7748),i=r.n(o),s=r(1688);const u="playgroundPreview_jwe9";function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function m({children:e,minHeight:t,url:r="http://localhost:3000",hasBottom:l=!1}){return n.createElement("div",{className:(0,a.c)("flex","flex-col","h-full")},n.createElement("div",{className:(0,a.c)("flex-shrink-0","rounded-tl-lg","rounded-tr-lg","border","border-gray-300 dark:border-gray-700","px-4 py-3","flex items-center justify-start","gap-2","bg-gray-100 dark:bg-gray-700","relative","text-gray-800 dark:text-gray-100","border-b-0")},n.createElement(d,{className:"w-4 h-4"}),n.createElement("div",{className:(0,a.c)("text-xs")},`${r}`.replace(/^http(s?):\/\//,""))),n.createElement("div",{className:(0,a.c)("flex-1","overflow-hidden","bg-gray-100 dark:bg-gray-700","border border-gray-300 dark:border-gray-700",!l&&"rounded-bl-lg rounded-br-lg",l&&"border-b-gray-300 dark:border-b-gray-900",l&&"border-b"),style:{minHeight:t}},e))}const d=e=>n.createElement("svg",function(e){for(var t=1;t{const[l,a]=n.useState(e),[c]=n.useState(t);n.useEffect((()=>{!l&&e&&a(!0)}),[e]),n.useEffect((()=>{if(c){const e=setTimeout((()=>{a(!0)}),c);return()=>clearTimeout(e)}}),[c]);const o=n.useMemo((()=>l&&"function"==typeof r?r():null),[l]);if(void 0!==r&&"function"!=typeof r)throw new Error("Conditional component requires a function as a child");return o};var g=r(9128),h=r(3296);function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.g.Buffer=r.g.Buffer||h.Sn;const y=({query:e,code:t,css:r})=>{const{siteConfig:{customFields:l}}=(0,c.c)(),[a,o]=n.useState(void 0),s=n.useCallback((async t=>{if("undefined"!=typeof window&&window.Worker){const n=new Worker(`${location.protocol}//${location.host}/workers/lz-worker.js`);n.onmessage=function({data:t}){t.compressed&&o(`${l.LIVE_PREVIEW_URL}?code=${t.compressed}${r?`&css=${i().encode(r)}`:""}${e?`${e}`:""}`),n.terminate()},n.postMessage({code:t})}}),[e]);return n.useEffect((()=>{s(t)}),[t,s]),a?n.createElement("iframe",{loading:"lazy",src:a,width:"100%",height:"100%",style:{position:"absolute",left:0,top:0,width:"100%",height:"100%"}}):null},O=n.memo(y,((e,t)=>e.code===t.code&&e.query===t.query&&e.css===t.css)),w=e=>n.createElement("svg",function(e){for(var t=1;t{l?(i(!1),setTimeout((()=>{c((e=>!e)),setTimeout((()=>{i(!0)}),300)}),100)):(i(!1),c((e=>!e)),setTimeout((()=>{i(!0)}),300))}},n.createElement(w,{className:(0,a.c)(l&&"rotate-180","transition-transform","duration-200","ease-in-out")}),n.createElement("span",{className:(0,a.c)("text-base","block","overflow-hidden","h-6")},n.createElement("span",{className:(0,a.c)("block",l&&"opacity-0","transition-opacity duration-200 ease-in-out")},"Show Code"),n.createElement("span",{className:(0,a.c)("block","transition-transform duration-200 ease-in-out","bg-gray-100 dark:bg-gray-700",l&&"-translate-y-6")},"Hide Code"))),n.createElement("div",{className:(0,a.c)("rounded-bl-lg","rounded-br-lg"),style:{maxHeight:l?o?"unset":"100vh":"0px",transition:"0.3s all ease-in-out",overflow:"hidden"},ref:r},n.createElement(A,{language:"tsx",style:{marginBottom:0,marginRight:"0",marginLeft:"0",borderTopLeftRadius:"0",borderTopRightRadius:"0",borderBottomLeftRadius:"0.5rem",borderBottomRightRadius:"0.5rem"}},t)))}const E=({children:e,disableScroll:t,previewHeight:r,hideCode:l=!1,url:o="http://localhost:3000",previewOnly:i=!1,tailwind:f=!1})=>{const d=String(e),{shared:h,sharedCss:v}=(0,g.UF)(),{visible:y}=(e=>{const t="// visible-block-start";let r=e.indexOf(t);r=r>0?r+22:0;let n=e.indexOf("// visible-block-end");n=n>0?n:e.length;const l=e.slice(0,r),a=e.slice(r,n).trimEnd().trimStart(),c=e.slice(n);return{visible:a,join:e=>`${l}\n${e}\n${c}`}})(`\n ${null!=h?h:""}\n ${d}\n `.replace(/\n$/,"")),w=n.useRef(null),E=(0,p.c)(w),{siteConfig:{customFields:j}}=(0,c.c)(),{isLast:P}=(0,s.E)();return n.createElement("div",{className:(0,a.c)("overflow-hidden","mb-6","refine-wider-container")},n.createElement(n.Fragment,null,n.createElement(m,{url:o,hasBottom:!i},n.createElement("div",{className:(0,a.c)(u,"live-editor-wrapper"),style:{maxHeight:r,minHeight:r,overflow:t?"hidden":void 0,position:"relative"},ref:w},P?n.createElement(b,{if:E,maxWait:3e3},(()=>n.createElement(O,{code:`\n${null!=h?h:""}\n${d}\n `,css:v,query:`${t?"&disableScroll=true":""}${f?"&tailwind=true":""}`}))):n.createElement("div",{style:{height:"100%",minHeight:"inherit",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"1.25rem"}},n.createElement("span",null,"Live previews only work with the latest documentation.")))),!i&&n.createElement(x,{hidden:l,code:y})))},j=n.memo(E,((e,t)=>String(e.children)===String(t.children))),P=({children:e})=>{const{setShared:t}=(0,g.UF)();return n.useEffect((()=>(t(String(e)),()=>{t(void 0)})),[e]),null},k=n.memo(P,((e,t)=>String(e.children)===String(t.children))),C=({children:e})=>{const{setSharedCss:t}=(0,g.UF)();return n.useEffect((()=>(t(String(e)),()=>{t(void 0)})),[e]),null},N=n.memo(C,((e,t)=>String(e.children)===String(t.children)));function A(e){var t,r;return e.live&&e.live&&(null===(r=e.className)||void 0===r||null===(t=r.includes)||void 0===t?void 0:t.call(r,"language-css"))?n.createElement(N,e):e.shared&&e.live?n.createElement(k,e):e.live?n.createElement(j,e):n.createElement(l.s,e)}},3704:(e,t,r)=>{"use strict";r.d(t,{c:()=>f});var n=r(1504),l=r(9184),a=r(1724);const c=e=>{var t,r,n,l,c,o;let i="noopener noreferrer nofollow";const s=(0,a.c)(e);return(null===(r=e)||void 0===r||null===(t=r.includes)||void 0===t?void 0:t.call(r,"github.com/refinedev/refine"))&&(i="noopener"),(s||(null===(l=e)||void 0===l||null===(n=l.includes)||void 0===n?void 0:n.call(l,"refine.dev")))&&(i="noopener dofollow"),(s||(null===(o=e)||void 0===o||null===(c=o.includes)||void 0===c?void 0:c.call(o,"reactadminpanel.com")))&&(i="noopener dofollow"),i};var o=r(640);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e){for(var t=1;t{"use strict";r.d(t,{c:()=>ot});var n=r(7584),l=r(1504),a=r(4971),c=r(6192),o=r(6112),i=r(9184);const s=({title:e,description:t,image:r,variant:n="purple",button:s={text:"Explore Now",href:"https://prepverse.github.io/portfolio",onClick:void 0},bannerName:u})=>{var f,m,d,p,b,g;return l.useEffect((()=>{"undefined"!=typeof window&&void 0!==window.gtag&&u&&window.gtag("event","view_banner",{banner_name:u,banner_text:e,banner_description:t,banner_image:r.src})}),[u]),l.createElement("div",{className:(0,a.c)("relative","rounded-2xl","p-6","flex","flex-col 2xl:flex-row","items-center","gap-4 2xl:gap-10","not-prose","gray"===n&&"bg-banner-examples-gray","purple"===n&&"bg-banner-examples-purple")},l.createElement(i.c,{to:null!==(b=null===(f=r)||void 0===f?void 0:f.href)&&void 0!==b?b:null===(m=s)||void 0===m?void 0:m.href,target:"_blank",rel:"noopener noreferrer",className:(0,a.c)("flex","max-w-[360px]","h-auto","flex-shrink-0","rounded-lg","overflow-hidden")},l.createElement("img",{src:null===(d=r)||void 0===d?void 0:d.src,alt:null!==(g=null===(p=r)||void 0===p?void 0:p.alt)&&void 0!==g?g:e,loading:"lazy"})),l.createElement("div",{className:(0,a.c)("flex","flex-col","gap-6","justify-center 2xl:justify-start","items-center 2xl:items-start","text-center 2xl:text-start","not-prose")},e&&l.createElement("h2",{className:(0,a.c)("text-xl md:text-2xl","text-gray-0")},e),l.createElement("p",{className:(0,a.c)("text-sm md:text-base","text-gray-100")},t),l.createElement(c.D,{className:(0,a.c)("w-max"),buttonClassname:(0,a.c)("!px-4","!py-2"),href:s.href,onClick:s.onClick,target:"_blank",rel:"noopener noreferrer"},l.createElement("div",{className:(0,a.c)("text-gray-900","text-sm md:text-base","font-bold")},s.text),l.createElement(o.G,{className:(0,a.c)("ml-1 md:ml-2","w-[14px] h-[14px]","md:w-4 md:h-4")}))))},u=({title:e="My Portfolio",description:t="Click here to discover my latest projects, skills, and achievements on my portfolio website. My journey into creativity begins now!",button:r={text:"Explore Now",href:"https://prepverse.github.io/portfolio?ref=banner-retool-alternative",onClick:void 0}})=>(l.useEffect((()=>{"undefined"!=typeof window&&void 0!==window.gtag&&e&&t&&window.gtag("event","view_banner",{banner_name:"banner-retool-alternative",banner_text:e,banner_description:t})}),[e,t]),l.createElement("div",{className:(0,a.c)("relative","rounded-2xl","p-8","flex","flex-col","justify-center","items-center","not-prose","bg-banner-examples-gray")},l.createElement("h2",{className:(0,a.c)("text-2xl","font-semibold","bg-banner-examples-text","bg-clip-text","text-transparent")},e),l.createElement("p",{className:(0,a.c)("mt-2","text-sm","text-gray-300")},t),l.createElement(c.D,{className:(0,a.c)("mt-9"),href:r.href,onClick:r.onClick,target:"_blank",rel:"noopener noreferrer"},l.createElement("div",{className:(0,a.c)("text-gray-900","text-base","font-bold")},r.text))));var f=r(8164);const m=[],d=Math.floor(Math.random()*(m.length+1));var p=r(4752),b=r(7396);const g=({image:e,title:t,description:r,isDark:n})=>{let a;a="refineNew"===r?l.createElement("div",null," ",l.createElement("a",{href:"https://s.refine.dev/new-blog",target:"_blank"},"refine.new")," ","enables you to create React-based, headless UI enterprise applications within your browser that you can preview, tweak and download instantly.",l.createElement("br",null),l.createElement("br",null),"\ud83d\ude80 By visually combining options for your preferred \u2728",l.createElement("b",null," React platform,")," \u2728 ",l.createElement("b",null,"UI framework"),", \u2728"," ",l.createElement("b",null,"backend connector"),", and \u2728 ",l.createElement("b",null,"auth provider"),"; you can create tailor-made architectures for your project in seconds. It feels like having access to thousands of project templates at your fingertips, allowing you to choose the one that best suits your needs!",l.createElement("br",null),l.createElement("br",null),l.createElement("br",null)):null!=r?r:l.createElement("div",null,"Meet the headless, React-based solution to build sleek"," ",l.createElement("b",null,"CRUD")," applications. With refine, you can be confident that your codebase will always stay clean and boilerplate-free.",l.createElement("br",null),l.createElement("br",null),"Try"," ",l.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank"},"PrepVerse")," ","to rapidly build your next ",l.createElement("b",null,"CRUD")," project, whether ","it's"," ","an admin panel, dashboard, internal tool or storefront.");const c=null!=e?e:"https://refine.ams3.cdn.digitaloceanspaces.com/website/static/img/generic_banner.png";c.startsWith("http")||c.startsWith("/");return l.createElement("a",{href:"https://s.refine.dev/hackathon2",target:"_blank",rel:"noreferrer"},l.createElement("img",{src:"https://refine.ams3.cdn.digitaloceanspaces.com/hackathon-2/hackathon_cover.png"}))};var h=r(5524),v=r(3896),y=r(3376),O=r(8840);function w(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const x=e=>l.createElement("svg",function(e){for(var t=1;t{var t,r,n;const c=l.useRef(!1),{id:o}=(0,y.U)(),[i,s]=l.useState(!1),{items:u}=(0,O.GC)(),{reward:f}=(0,v.yh)(`checklist-${o}`,"confetti",{angle:90,elementCount:120,startVelocity:30,decay:.95,spread:100,position:"absolute",lifetime:150}),m=null===(n=u.find((e=>e.id===o)))||void 0===n||null===(t=(r=n.checklist).every)||void 0===t?void 0:t.call(r,(e=>e.checked));return l.useEffect((()=>{setTimeout((()=>{c.current=!0}),1e3)}),[]),l.useEffect((()=>{!i&&m&&c.current&&(s(!0),f())}),[m,i]),l.createElement("div",{className:(0,a.c)("rounded-lg","border-l-gray-400 dark:border-l-gray-600","dark:bg-gray-800 bg-gray-50")},l.createElement("div",{className:(0,a.c)("border-l-4","border-l-solid","border-l-inherit","rounded-tl-lg","rounded-bl-lg","p-4","flex flex-col")},l.createElement("div",{className:"border-b border-gray-400 dark:border-gray-500 border-opacity-50 dark:border-opacity-50"},l.createElement("div",{className:(0,a.c)("not-prose","mt-0 mb-4","flex items-center","gap-2")},l.createElement(x,{className:(0,a.c)("w-4 h-4","dark:text-gray-100 text-gray-800")}),l.createElement("h3",{className:(0,a.c)("m-0 p-0","font-semibold","dark:text-gray-100 text-gray-800","uppercase","text-base leading-6")},"Checklist"))),l.createElement("div",null,e),l.createElement("div",{className:"flex items-center justify-center"},l.createElement("div",{id:`checklist-${o}`}))))};function j(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const P=e=>l.createElement("svg",function(e){for(var t=1;t{var r,n,c,o;const{id:i}=(0,y.U)(),{items:s,toggle:u}=(0,O.GC)(),f=null===(r=null===(o=s.find((e=>e.id===i)))||void 0===o||null===(n=(c=o.checklist).find)||void 0===n?void 0:n.call(c,(e=>e.id===t)))||void 0===r?void 0:r.checked;return l.createElement("label",{className:(0,a.c)("mt-4","flex","items-center justify-start","flex-nowrap","gap-2","cursor-pointer")},l.createElement("div",{className:"flex-shrink-0"},l.createElement("button",{type:"button",onClick:()=>{u(i,t)},className:(0,a.c)("appearance-none","flex items-center justify-center","w-4 h-4","rounded","border",{"border-gray-400 dark:border-gray-500":!f,"border-refine-react-dark-link dark:border-refine-react-dark-link":f,"bg-refine-react-dark-link":f})},f&&l.createElement(P,null))),l.createElement("div",{className:(0,a.c)(f&&"line-through dark:text-gray-100 dark:text-opacity-50 text-gray-800 text-opacity-50",!f&&"text-gray-800 dark:text-gray-100")},e))};var C=r(8560),N=r(2108);const A=({path:e})=>l.createElement(C.s,{language:"bash",title:"Run on your local",icon:l.createElement(N.G,null)},`npm create refine-app@latest -- --example ${e}`);var S=r(5792);const H=({path:e})=>l.createElement("div",{className:(0,a.c)("refine-wider-container","py-2","px-2","text-base","font-sans","flex items-center","gap-2","rounded-lg","dark:bg-gray-700","bg-gray-100","mb-6")},l.createElement(S.A,{className:"ml-1.5 w-5 h-5 text-gray-800 dark:text-gray-100"}),l.createElement("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:(0,a.c)("text-base","leading-8","text-refine-react-light-link dark:text-refine-react-dark-link")},l.createElement("span",null,"View Source Code"))),D=({path:e})=>{const t=`https://github.com/PrepVerse/PrepVerse/tree/master/examples/${e}`;return l.createElement(H,{path:t})},Z=({path:e,hideSource:t,hideLocal:r,hideSandbox:n})=>{const a=`${`https://codesandbox.io/embed/github/refinedev/refine/tree/master/examples/${e}`}?view=preview&theme=dark&runonclick=1&codemirror=1`;return l.createElement("div",null,!t&&l.createElement(D,{path:e}),!r&&l.createElement(A,{path:e}),!n&&l.createElement("iframe",{loading:"lazy",src:a,style:{width:"100%",height:"80vh",border:"0px",borderRadius:"8px",overflow:"hidden"},title:e,allow:"accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking",sandbox:"allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"}))};var M=r(1240),L=r(7916);const z=()=>l.createElement("div",null,l.createElement(M.c,{type:"simple",title:"Good to know"},l.createElement(L.s,null,"\nAll the data related hooks (useTable, useForm, useList etc.) of Refine can be given some common properties like `resource`, `meta` etc.\n\nFor more information, refer to the [General Concepts documentation](/docs/guides-concepts/general-concepts).\n"))),B=({children:e,content:t})=>l.createElement("div",{className:(0,a.c)("refine-info-badge","relative","group","inline-flex","align-middle")},e,l.createElement("div",{className:(0,a.c)("absolute","-left-1","top-0","translate-x-0","-translate-y-0","scale-0","group-hover:scale-100","group-hover:-translate-y-full","transition-transform","origin-top-left","pb-2","w-60","pointer-events-none")},l.createElement("div",{className:(0,a.c)("text-xs","text-gray-600","bg-gray-0","border","border-gray-200","shadow-sm","rounded","py-1","px-2","font-normal")},null!=t?t:"Check the guide for more information"))),R=({id:e,icon:t,color:r,text:n,description:c})=>{const o=(0,a.c)("orange"===r&&(0,a.c)("bg-refine-react-light-orange-bg dark:bg-refine-react-dark-orange","dark:bg-opacity-[0.15]","text-refine-react-light-orange dark:text-refine-react-dark-orange"),"green"===r&&(0,a.c)("bg-refine-react-light-green-bg dark:bg-refine-react-dark-green","dark:bg-opacity-[0.15]","text-refine-react-light-green dark:text-refine-react-dark-green"),"purple"===r&&(0,a.c)("bg-refine-react-light-purple-bg dark:bg-refine-react-dark-purple","dark:bg-opacity-[0.15]","text-refine-react-light-purple dark:text-refine-react-dark-purple"));return l.createElement(B,{content:c},l.createElement(i.c,{to:`/docs/${e}`,className:(0,a.c)("-mt-px","rounded-[10px]","inline-flex","items-center","justify-center","text-sm","no-underline","gap-1.5","[&>svg]:hover:scale-110","[&>svg]:transition-transform [&>svg]:duration-200 [&>svg]:ease-in-out",o)},t,n&&l.createElement("span",{className:"text-xs leading-[0.875rem]"},n)))};function T(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const G=e=>l.createElement("svg",function(e){for(var t=1;tl.createElement("svg",function(e){for(var t=1;tr?l.createElement("div",{className:(0,a.c)("inline-flex","text-sm","py-0.5","px-2","rounded-xl","bg-refine-orange","bg-opacity-10","text-refine-orange","tracking-wide","align-middle","font-normal","mr-1"),title:o},null!=e?e:"deprecated"):t?l.createElement("div",{className:(0,a.c)("inline-flex","justify-center items-center","text-sm","text-refine-red","rounded-full","bg-refine-red bg-opacity-10","ml-1","w-6 h-6","align-middle")},null!=e?e:"\ufe61"):n?l.createElement("div",{className:(0,a.c)("inline-flex","text-sm","py-0.5","px-2","rounded-xl","bg-refine-red","bg-opacity-10","text-refine-red","tracking-wide","align-middle","font-normal","mr-1"),title:o},null!=e?e:"required"):c?l.createElement("div",{className:(0,a.c)("inline-flex","text-sm","py-0.5","px-2","rounded-xl","bg-refine-green","bg-opacity-10","text-refine-green","tracking-wide","align-middle","font-normal","mr-1"),title:o},null!=e?e:"featured"):e?l.createElement("div",{className:(0,a.c)("inline","text-gray-0","text-xs","leading-6","py-0.5","px-2","rounded","bg-gray-800","tracking-wide","align-middle","mr-1"),title:o},e):null,W="tooltip__Ymd",I="tooltipContainer_l6r7",U="tooltipContent_UeXm",X="tooltipArrow_mOyh",J=({label:e,children:t})=>e?l.createElement("div",{className:`${W} group`},t,l.createElement("div",{className:`${I} group-hover:visible`},l.createElement("span",{className:U},e),l.createElement("div",{className:X}))):l.createElement(l.Fragment,null,t);function K(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},a=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const Q=({prop:e,overrides:t})=>{var r,n,a;const c=null!==(a=t[`${e.name}-required`])&&void 0!==a?a:e.required;var o;const i=null!==(o=t[`${e.name}-deprecated`])&&void 0!==o?o:null===(r=e.tags)||void 0===r?void 0:r.deprecated;var s,u;const f=null!==(u=null!==(s=t[`${e.name}-deprecated`])&&void 0!==s?s:null===(n=e.tags)||void 0===n?void 0:n.deprecated)&&void 0!==u?u:"",m=(0,l.useMemo)((()=>{const e="props-table--name";return i?`${e} props-table--name__deprecated`:e}),[e,t]),d=(0,l.useMemo)((()=>f?l.createElement(L.s,null,f):null),[e,t]);var p;return l.createElement(J,{label:d},l.createElement(l.Fragment,null,l.createElement("span",{className:m},null!==(p=t[`${e.name}-name`])&&void 0!==p?p:e.name),c&&l.createElement(Y,{asterisk:!0})))},q=({prop:e,overrides:t})=>{var r;const n=null!==(r=t[`${e.name}-type`])&&void 0!==r?r:e.type.name,a=n.split(" | "),c=a.length>1,o=a.some((e=>e.length>20)),i=/`/.test(n);return l.createElement(l.Fragment,null,i?l.createElement(L.s,null,n):o&&c?l.createElement(l.Fragment,null,a.map(((e,t)=>l.createElement("code",{className:"max-w-xs h-min",key:t},l.createElement(L.s,null,e))))):l.createElement("code",{className:"max-w-xs h-min"},l.createElement(L.s,null,n)))},_=({prop:e,overrides:t})=>{var r,n;return l.createElement(L.s,null,null!==(n=null!==(r=t[`${e.name}-description`])&&void 0!==r?r:e.tags.description)&&void 0!==n?n:e.description)},$=({prop:e,overrides:t})=>{var r,n,a,c;const o=null===(r=e.tags)||void 0===r?void 0:r.default,i=(null===(n=e.defaultValue)||void 0===n?void 0:n.value)&&(null===(a=e.defaultValue)||void 0===a?void 0:a.value)!==o?null===(c=e.defaultValue)||void 0===c?void 0:c.value:void 0,s=t[`${e.name}-default`];return o||s?l.createElement(L.s,null,null!=s?s:o):l.createElement("div",{className:"flex flex-wrap gap-1"},void 0!==i?l.createElement("code",{className:"max-w-xs h-min"},l.createElement(L.s,null,i)):null)},ee=({prop:e,overrides:t})=>l.createElement("td",null,l.createElement("div",{className:"flex items-center"},l.createElement(Q,{prop:e,overrides:t}))),te=({prop:e,overrides:t})=>l.createElement("td",{className:"props-table__type-cell"},l.createElement("div",{className:"flex flex-wrap gap-1"},l.createElement(q,{prop:e,overrides:t}))),re=({prop:e,overrides:t})=>l.createElement("td",{className:"props-table__description-cell"},l.createElement(_,{prop:e,overrides:t})),ne=({prop:e,overrides:t})=>l.createElement("td",{className:"props-table__default-value-cell"},l.createElement($,{prop:e,overrides:t})),le=e=>{var{module:t,hideDefaults:n,children:a}=e,c=K(e,["module","hideDefaults","children"]);const o=((e,t="@refinedev/")=>{const[n,a]=(0,l.useState)(null);return(0,l.useEffect)((()=>{let n=!1;return r(6324)(`./${e.startsWith(t)?e:`${t}${e}`}.json`).then((e=>{n||(n=!0,a(e.default))})).catch(console.warn),()=>{n=!0}}),[e]),n})(t),i=(0,l.useMemo)((()=>{var e;if(n)return!1;if(Object.keys(c).some((e=>e.endsWith("-default"))))return!1;var t;return!Object.values(null!==(t=null===(e=o)||void 0===e?void 0:e.props)&&void 0!==t?t:{}).some((e=>{var t;return null===(t=e.defaultValue)||void 0===t?void 0:t.value}))}),[c]);if(!o)return null;const s=[...Object.values(o.props)];return l.createElement("div",{className:"table-container"},l.createElement("table",{className:"props-table"},l.createElement("thead",null,l.createElement("tr",null,l.createElement("th",null,"Property"),l.createElement("th",null,"Type"),l.createElement("th",null,"Description"),i?null:l.createElement("th",null,"Default"))),l.createElement("tbody",null,s.map((e=>c[`${e.name}-hidden`]?null:l.createElement("tr",{key:e.name},l.createElement(ee,{prop:e,overrides:c}),l.createElement(te,{prop:e,overrides:c}),l.createElement(re,{prop:e,overrides:c}),i?null:l.createElement(ne,{prop:e,overrides:c})))))),a)};function ae(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ce=e=>l.createElement("svg",function(e){for(var t=1;t{const{current:r}=(0,oe.U)();return e&&r===e?l.createElement(l.Fragment,null,t):null};var se=r(8530);function ue(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fe(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const me=e=>{var t;const r=l.Children.toArray(e.children),n=r.find((e=>l.isValidElement(e)&&"summary"===(null===(t=e.props)||void 0===t?void 0:t.mdxType))),c=l.createElement(l.Fragment,null,r.filter((e=>e!==n)));return l.createElement(se.S,fe(function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const ge=e=>{var{children:t,className:r}=e,n=be(e,["children","className"]);return l.createElement("summary",function(e){for(var t=1;t{const t=e.currentTarget,l=s.indexOf(t),a=c[l].value;a!==r&&(u(t),n(a))},m=e=>{var t,r;let n=null;switch(e.key){case"Enter":f(e);break;case"ArrowRight":{const t=s.indexOf(e.currentTarget)+1;var l;n=null!==(l=s[t])&&void 0!==l?l:s[0];break}case"ArrowLeft":{const t=s.indexOf(e.currentTarget)-1;var a;n=null!==(a=s[t])&&void 0!==a?a:s[s.length-1];break}}null===(r=n)||void 0===r||null===(t=r.focus)||void 0===t||t.call(r)};return l.createElement("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,a.c)(e,"!my-0","flex-wrap","list-none","m-0 mb-0 mt-0","px-4","flex gap-4","bg-gray-100 dark:bg-gray-700","rounded-tl-lg rounded-tr-lg",!o&&"rounded-bl-lg rounded-br-lg","items-stretch")},c.map((({value:e,label:t,attributes:n})=>l.createElement("li",xe(we({role:"tab",tabIndex:r===e?0:-1,"aria-selected":r===e,key:e,ref:e=>s.push(e),onKeyDown:m,onClick:f},n),{className:(0,a.c)("!my-0","mx-0 mt-0","px-2 py-3","flex items-center justify-center","min-w-[60px]","cursor-pointer","transition-all duration-200 ease-in-out","border-b border-solid","select-none",i&&"!text-xs",!i&&"!text-base",r!==e&&"text-gray-800 dark:text-gray-100",r===e&&"text-refine-react-light-link dark:text-refine-react-dark-link",r!==e&&"hover:text-refine-react-light-link dark:hover:text-refine-react-dark-link",r!==e&&"border-b-transparent",r===e&&"border-b-refine-react-light-link dark:border-b-refine-react-dark-link",r!==e&&"hover:border-b-refine-react-light-link dark:hover:border-b-refine-react-dark-link")}),null!=t?t:e))))}function je({lazy:e,children:t,selectedValue:r,smallTabs:n}){const c=(Array.isArray(t)?t:[t]).filter(Boolean);if(e){const e=c.find((e=>e.props.value===r));return e?(0,l.cloneElement)(e,{className:"margin-top--md refine-tab-content"}):null}var o;return l.createElement("div",{className:"p-4"},c.map(((e,t)=>(0,l.cloneElement)(e,{key:t,hidden:e.props.value!==r,className:(0,a.c)(null!==(o=e.props.className)&&void 0!==o?o:[],"refine-tab-content")}))))}function Pe(e){const t=(0,ve.a)(e),{wrapContent:r=!0}=e;return l.createElement("div",{className:(0,a.c)("tabs-container","rounded-lg","border-gray-300 dark:border-gray-700",r?"border":"border-0","mb-6","refine-wider-container")},l.createElement(Ee,we({},e,t)),l.createElement(je,we({},e,t)))}function ke(e){const t=(0,ye.c)();return l.createElement(Pe,we({key:String(t)},e))}function Ce(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ne(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},a=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}var Ae=r(4472),Se=r(4896),He=r(1488),De=r(8620),Ze=r(6076),Me=r(9072);function Le(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ze=e=>l.createElement("svg",function(e){for(var t=1;tl.createElement("svg",function(e){for(var t=1;t{var t,r;const[n,c]=(0,l.useState)(!1),{refs:o,floatingStyles:i,context:s}=(0,Ae.gR)({placement:"bottom-start",open:e.isOpen,onOpenChange:e.onOpenChange,whileElementsMounted:Se.kN,middleware:[(0,He.E3)((({middlewareData:e})=>{var t;return(null===(t=e)||void 0===t?void 0:t.flip)?{mainAxis:12}:{mainAxis:52}})),(0,Se.EB)((({placement:e})=>(e.includes("bottom")&&c(!1),e.includes("top")&&c(!0),{fallbackPlacements:["top-start"]})))]}),u=(0,Ae.ug)(s,{outsidePress:e=>!(null===(r=e.target)||void 0===r||null===(t=r.closest)||void 0===t?void 0:t.call(r,".widget-actions"))}),{getReferenceProps:f,getFloatingProps:m}=(0,Ae.M3)([u]);return l.createElement(l.Fragment,null,l.createElement("div",Xe(Ue({ref:o.setReference},f()),{style:{position:"absolute",top:"0",left:0}})),l.createElement(De.I,null,s.open&&l.createElement(Ze.q.div,Xe(Ue({initial:{opacity:0},animate:{opacity:1,transition:{duration:.2}},exit:{opacity:0},ref:o.setFloating,style:i},m()),{className:(0,a.c)("w-[320px]","bg-[#EAEBEF] dark:bg-refine-react-dark-code","border border-[#E3E4E5] dark:border-[#343A46]","rounded-[20px]","relative")}),e.children,l.createElement(Ke,{style:Ue({position:"absolute",top:n?"unset":"-10px",bottom:n?"-10px":"unset",transform:n?"rotate(180deg)":"rotate(0deg)",transition:"right 0.2s ease-in-out",willChange:"right"},e.arrowStyle)}))))},Ke=e=>{const{colorMode:t}=(0,Me.U)(),r="dark"===t;return l.createElement("svg",Ue({xmlns:"http://www.w3.org/2000/svg",width:42,height:18,viewBox:"0 0 42 18",fill:"none"},e),l.createElement("title",null,"Popover Pointer"),l.createElement("path",{fill:r?"#16181D":"#EAEBEF",stroke:"url(#a)",d:"M18.303 2.077C18.892 1.105 19.9.5 21 .5s2.108.605 2.697 1.577l3.026 4.992c.928 1.532 2.476 2.431 4.11 2.431H41.5v8H.5v-8h10.667c1.634 0 3.182-.899 4.11-2.431l3.026-4.992Z"}),l.createElement("defs",null,l.createElement("linearGradient",{id:"a",x1:21,x2:21,y1:1,y2:16,gradientUnits:"userSpaceOnUse"},l.createElement("stop",{offset:.59,stopColor:r?"#343A46":"#E3E4E5"}),l.createElement("stop",{offset:.602,stopColor:r?"#343A46":"#E3E4E5",stopOpacity:0}))))},Qe={UP:1,DOWN:2};function qe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _e(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}var $e;var et=r(7500),tt=r(9104);var rt=r(9092);var nt=r(5560);function lt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function at(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function ct(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ot=(it=function(e){for(var t=1;t{var{className:t}=e,r=Ne(e,["className"]);return l.createElement("blockquote",function(e){for(var t=1;td===m.length?l.createElement(f.c,null,(()=>l.createElement(u,null))):l.createElement(f.c,null,(()=>l.createElement(s,m[d]))),GuideBadge:({id:e,description:t="Please check the guide for more information on this topic.",text:r})=>l.createElement(R,{id:e,color:"green",icon:l.createElement(F,null),text:r,description:l.createElement(l.Fragment,null,l.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Check the guide"),l.createElement("div",{className:"text-xs"},t))}),RouterBadge:({id:e="guides-concepts/routing/",description:t="This value can be inferred from the route. Click to see the guide for more information.",text:r})=>l.createElement(R,{id:e,color:"orange",text:r,icon:l.createElement(ce,null),description:l.createElement(l.Fragment,null,l.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Router Integrated"),l.createElement("div",{className:"text-xs"},t))}),GlobalConfigBadge:({id:e="core/refine-component",description:t="This value can be configured globally. Click to see the guide for more information.",text:r})=>l.createElement(R,{color:"purple",icon:l.createElement(G,null),text:r,id:e,description:l.createElement(l.Fragment,null,l.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Globally Configurable"),l.createElement("div",{className:"text-xs"},t))}),Image:e=>l.createElement("img",_e(function(e){for(var t=1;t{const t=e?`-- ${e}`:"",r={npm:`npm create refine-app@latest ${t}`,pnpm:`pnpm create refine-app@latest ${t}`,yarn:`yarn create refine-app@latest ${t}`};return l.createElement(ke,null,l.createElement(tt.c,{value:"npm",label:"npm",default:!0},l.createElement(C.s,{className:"language-bash"},r.npm)),l.createElement(tt.c,{value:"pnpm",label:"pnpm"},l.createElement(C.s,{className:"language-bash"},r.pnpm)),l.createElement(tt.c,{value:"yarn",label:"yarn"},l.createElement(C.s,{className:"language-bash"},r.yarn),l.createElement(L.s,null,"> Only supports yarn@1 version.")))},InstallPackagesCommand:({args:e,children:t})=>{const r={npm:`npm i ${e}`,pnpm:`pnpm add ${e}`,yarn:`yarn add ${e}`};return l.createElement(ke,null,l.createElement(tt.c,{value:"npm",label:"npm",default:!0},l.createElement(C.s,{className:"language-bash"},r.npm),t),l.createElement(tt.c,{value:"pnpm",label:"pnpm"},l.createElement(C.s,{className:"language-bash"},r.pnpm),t),l.createElement(tt.c,{value:"yarn",label:"yarn"},l.createElement(C.s,{className:"language-bash"},r.yarn),t))},FullTable:et.Ih,TutorialConditional:({parameter:e,value:t,children:r})=>{var n;const{parameters:a}=(0,rt.iC)();return(null===(n=a)||void 0===n?void 0:n[e])===t?l.createElement(l.Fragment,null,r):null},VideoInView:e=>{const t=l.useRef(null),r=(0,nt.c)(t);return l.useEffect((()=>{var e,n,l,a;r?null===(n=t.current)||void 0===n||null===(e=n.play)||void 0===e||e.call(n):null===(a=t.current)||void 0===a||null===(l=a.pause)||void 0===l||l.call(a)}),[r]),l.createElement("video",at(function(e){for(var t=1;t{var e,r,n,l,a;(null===(e=t.current)||void 0===e?void 0:e.paused)?null===(n=t.current)||void 0===n||null===(r=n.play)||void 0===r||r.call(n):null===(a=t.current)||void 0===a||null===(l=a.pause)||void 0===l||l.call(a)},className:(0,a.c)(e.className,"w-full","h-auto","max-w-full","max-h-full","rounded-xl","object-contain")}))},DocThumbsUpDownFeedbackWidget:e=>{const t=(0,We.IT)(),[r,n]=(0,l.useState)(""),[c,o]=(0,l.useState)(null),[i,s]=(0,l.useState)(!1),[u,f]=(0,l.useState)(!1),m=i||u,{survey:d,createSurvey:p,updateSurvey:b}=(e=>{const[t,r]=(0,l.useState)(null),n=Ye[e.type];return{survey:t,setSurvey:r,createSurvey:async({body:e})=>{const t=await fetch(`${n}/responses`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(!t.ok)return null;const l=await t.json();return l?(r(l),l):void 0},updateSurvey:async({surveyId:e,body:t})=>{const l=await fetch(`${n}/responses/${e}`,{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(!l.ok)return null;const a=await l.json();return a?(r(a),a):void 0}}})({type:Te.THUMBS}),g=async r=>{o(r),s(!0),d?await b({surveyId:d.id,body:{response:r}}):await p({body:{response:r,entityId:t.pathname,metaData:{sectionId:e.id}}})};return l.createElement("div",{className:"group"},e.children,l.createElement("div",{className:(0,a.c)("relative","z-popover","hidden md:flex","items-center","gap-5","w-max h-[40px]","pt-1 pr-1 pb-1 pl-4","bg-[#99A1B31A] dark:bg-[#2F333C]","rounded-[28px]","transition-all duration-300 ease-in-out",!m&&"opacity-0","group-hover:opacity-100")},l.createElement("div",{className:(0,a.c)("text-xs","whitespace-nowrap","text-[#23272F] dark:text-[#E3E4E5]")},"Was this helpful?"),l.createElement("div",{className:(0,a.c)("flex","items-center","gap-1","widget-actions")},l.createElement("button",{type:"button",onClick:()=>g(Qe.UP),className:(0,a.c)("w-8 h-8","flex items-center justify-center","rounded-full","text-gray-500","hover:text-green-500 hover:bg-green-500/20","transition-all duration-200 ease-in-out",1===c&&"text-green-500 bg-green-500/20")},l.createElement(ze,null)),l.createElement("button",{type:"button",onClick:()=>g(Qe.DOWN),className:(0,a.c)("w-8 h-8","flex items-center justify-center","rounded-full","text-gray-500","hover:text-red-500 hover:bg-red-500/20","transition-all duration-200 ease-in-out",2===c&&"text-red-500 bg-red-500/20")},l.createElement(Re,null))),l.createElement(Je,{isOpen:m,onOpenChange:e=>{u||e||(s(!1),f(!1))},arrowStyle:{right:1===c?"150px":"115px"}},!u&&l.createElement("form",{className:(0,a.c)("flex flex-col","p-2"),onSubmit:e=>{e.preventDefault(),(async()=>{const e=r.trim();e&&(await b({surveyId:d.id,body:{response:c,responseText:e}}),f(!0),setTimeout((()=>{s(!1),f(!1)}),2e3))})()}},l.createElement("textarea",{rows:3,required:!0,minLength:3,placeholder:"Your thumbs tells us a lot, but If you have any additional thoughts or suggestions, we'd love to hear them!",onChange:e=>n(e.target.value),value:r,className:(0,a.c)("w-full","bg-white dark:bg-[#343A46]","text-[#23272F] dark:text-[#E3E4E5]","resize-none","rounded-xl","text-xs","py-2 px-3")}),l.createElement("button",{type:"submit",className:(0,a.c)("w-16 h-6","flex items-center justify-center","bg-refine-react-light-link dark:bg-refine-react-dark-link","text-xs","text-white","rounded-full","mt-2 ml-auto")},"Send")),u&&l.createElement("div",{className:(0,a.c)("flex items-center","p-4","text-xs","text-gray-500")},l.createElement("span",null,"Thank you for your feedback!")))))}},st=null!=st?st:{},Object.getOwnPropertyDescriptors?Object.defineProperties(it,Object.getOwnPropertyDescriptors(st)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(st)).forEach((function(e){Object.defineProperty(it,e,Object.getOwnPropertyDescriptor(st,e))})),it);var it,st},8092:(e,t,r)=>{"use strict";r.d(t,{c:()=>c});var n=r(1504),l=r(4971),a=r(9184);function c({permalink:e,label:t,isActive:r,size:c="small",variant:o="default"}){return n.createElement(a.c,{href:e,className:(0,l.c)("no-underline hover:no-underline","rounded-full","small"===c&&"text-xs","small"===c&&"py-1","small"===c&&"px-3","medium"===c&&"text-sm","medium"===c&&"py-2","medium"===c&&"px-4",!r&&"bg-gray-100 dark:bg-gray-700",!r&&"text-gray-600 dark:text-gray-400","text-refine-react-8 dark:text-refine-react-3","default"===o&&"bg-refine-react-3 dark:bg-refine-react-7","inverted"===o&&"bg-refine-react-3 dark:bg-refine-react-8")},t)}},2032:(e,t,r)=>{"use strict";r.d(t,{c:()=>g});var n=r(1504),l=r(8092),a=/\b(?:an?d?|a[st]|because|but|by|en|for|i[fn]|neither|nor|o[fnr]|only|over|per|so|some|tha[tn]|the|to|up|upon|vs?\.?|versus|via|when|with|without|yet)\b/i,c=/[^\s:\u2013\u2014-]+|./g,o=/\s/,i=/.(?=[A-Z]|\..)/,s=/[A-Za-z0-9\u00C0-\u00FF]/;var u=r(4971),f=r(320),m=r(5880);function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e){for(var t=1;t{const r=a.indexOf(e.label),n=a.indexOf(t.label);return-1===r?-1===n?0:1:-1===n?-1:r-n}));return n.createElement(n.Fragment,null,n.createElement(h,{collapsed:r,tags:c,className:(0,u.c)("hidden blog-lg:flex",t),onShowMoreClick:e=>l(e)}),n.createElement(v,{tags:c,className:(0,u.c)("block blog-lg:hidden",t)}))}const h=({tags:e,collapsed:t,className:r,onShowMoreClick:a})=>n.createElement("div",{className:(0,u.c)("bg-gray-50 dark:bg-refine-react-dark-code","justify-between","items-start","p-5",t&&"rounded-full",!t&&"rounded-3xl","not-prose",r)},n.createElement("ul",{className:(0,u.c)("overflow-hidden","flex-1",!t&&"h-24",t&&"h-8","m-0 p-0","mr-16","transition-all duration-300 ease-in-out")},e.map((e=>n.createElement("li",{className:(0,u.c)("inline-flex","m-1","mr-3"),key:e.permalink},n.createElement(l.c,b(p({},e),{label:O(e.label)})))))),n.createElement("button",{type:"button",onClick:()=>a(!t),className:(0,u.c)("appearance-none","flex","items-center","justify-center","gap-2","cursor-pointer","flex-shrink","no-underline hover:no-underline","text-xs","rounded-full","py-1","pl-3","pr-1","mt-1","text-refine-react-8 dark:text-refine-react-3","bg-refine-react-3 dark:bg-refine-react-7")},"Show More"," ",n.createElement(y,{className:(0,u.c)("opacity-30","transition-transform duration-200 ease-in-out",{"rotate-180 transform":!t})}))),v=({tags:e,className:t})=>{const[r,a]=n.useState(!1);return n.createElement(n.Fragment,null,n.createElement("div",{className:(0,u.c)(t)},n.createElement("button",{type:"button",onClick:()=>a(!0),className:(0,u.c)("flex","items-center","justify-center","gap-2","rounded-full","px-6 py-3","bg-refine-react-3 dark:bg-refine-react-6","text-refine-react-8 dark:text-white")},n.createElement(f.y,null),n.createElement("div",null,"Filter Tags"))),n.createElement(m.E,{onClose:()=>a(!1),open:r,title:"Filter Tags",variant:"blog"},n.createElement("ul",{className:(0,u.c)("overflow-hidden","flex","flex-col","gap-6"),style:{margin:0,padding:0}},e.map((e=>n.createElement("li",{className:(0,u.c)("flex"),key:e.permalink},n.createElement(l.c,b(p({},e),{label:O(e.label),variant:"inverted",size:"medium"}))))))))},y=e=>n.createElement("svg",{width:16,height:16,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e.className},n.createElement("title",null,"chevron"),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M15 8A7 7 0 1 1 1 8a7 7 0 0 1 14 0Zm1 0A8 8 0 1 1 0 8a8 8 0 0 1 16 0ZM5.854 6.646a.5.5 0 1 0-.708.708l2.5 2.5a.5.5 0 0 0 .708 0l2.5-2.5a.5.5 0 0 0-.708-.708L8 8.793 5.854 6.646Z",clipRule:"evenodd"})),O=e=>{let t=`${e}`;t=e.replace(/-/g," ");return[["html","HTML"],["css","CSS"],["javascript","JavaScript"]].forEach((r=>{t=e.replace(r[0],r[1])})),function(e){for(var t,r="";null!==(t=c.exec(e));){var n=t[0],l=t.index;i.test(n)||a.test(n)&&0!==l&&l+n.length!==e.length||":"===e.charAt(l+n.length)&&!o.test(e.charAt(l+n.length+1))?r+=n:r+=n.replace(s,(function(e){return e.toUpperCase()}))}return r}(e)}}}]); \ No newline at end of file diff --git a/assets/js/cbfe6ed1.b417f068.js b/assets/js/cbfe6ed1.b417f068.js new file mode 100644 index 00000000..9e1f9338 --- /dev/null +++ b/assets/js/cbfe6ed1.b417f068.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2164],{160:e=>{e.exports=JSON.parse('{"permalink":"/blog/tags/array","page":1,"postsPerPage":12,"totalPages":1,"totalCount":1,"blogDescription":"A Docusaurus powered blog!","blogTitle":"Blog"}')}}]); \ No newline at end of file diff --git a/assets/js/ccc49370.86866ac6.js b/assets/js/ccc49370.1d4f0621.js similarity index 72% rename from assets/js/ccc49370.86866ac6.js rename to assets/js/ccc49370.1d4f0621.js index cba25eac..6b6ec94d 100644 --- a/assets/js/ccc49370.86866ac6.js +++ b/assets/js/ccc49370.1d4f0621.js @@ -1 +1 @@ -(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[6344],{6324:(e,t,r)=>{var n={"./plugin-route-context-module-100.json":[4634,4634]};function l(e){if(!r.o(n,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=n[e],l=t[0];return r.e(t[1]).then((()=>r.t(l,19)))}l.keys=()=>Object.keys(n),l.id=6324,e.exports=l},3270:(e,t,r)=>{"use strict";r.d(t,{c:()=>c});var n=r(1504),l=r(1080),a=r(468);function c({children:e,className:t}){const{frontMatter:r,assets:c}=(0,a.g)(),{withBaseUrl:o}=(0,l.E)();var i;const s=null!==(i=c.image)&&void 0!==i?i:r.image;return n.createElement("article",{className:t,itemProp:"blogPost",itemScope:!0,itemType:"http://schema.org/BlogPosting"},s&&n.createElement("meta",{itemProp:"image",content:o(s,{absolute:!0})}),e)}},468:(e,t,r)=>{"use strict";r.d(t,{E:()=>c,g:()=>o});var n=r(1504),l=r(8476);const a=n.createContext(null);function c({children:e,content:t,isBlogPostPage:r=!1}){const l=function({content:e,isBlogPostPage:t}){return(0,n.useMemo)((()=>({metadata:e.metadata,frontMatter:e.frontMatter,assets:e.assets,toc:e.toc,isBlogPostPage:t})),[e,t])}({content:t,isBlogPostPage:r});return n.createElement(a.Provider,{value:l},e)}function o(){const e=(0,n.useContext)(a);if(null===e)throw new l.AH("BlogPostProvider");return e}},3688:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(1504),l=r(9936);const a=["zero","one","two","few","many","other"];function c(e){return a.filter((t=>e.includes(t)))}const o={locale:"en",pluralForms:c(["one","other"]),select:e=>1===e?"one":"other"};function i(){const{i18n:{currentLocale:e}}=(0,l.c)();return(0,n.useMemo)((()=>{try{return function(e){const t=new Intl.PluralRules(e);return{locale:e,pluralForms:c(t.resolvedOptions().pluralCategories),select:e=>t.select(e)}}(e)}catch(t){return console.error(`Failed to use Intl.PluralRules for locale "${e}".\nDocusaurus will fallback to the default (English) implementation.\nError: ${t.message}\n`),o}}),[e])}function s(){const e=i();return{selectMessage:(t,r)=>function(e,t,r){const n=e.split("|");if(1===n.length)return n[0];n.length>r.pluralForms.length&&console.error(`For locale=${r.locale}, a maximum of ${r.pluralForms.length} plural forms are expected (${r.pluralForms.join(",")}), but the message contains ${n.length}: ${e}`);const l=r.select(t),a=r.pluralForms.indexOf(l);return n[Math.min(a,n.length-1)]}(r,t,e)}}},5904:(e,t,r)=>{"use strict";r.d(t,{I7:()=>a,kz:()=>o,aI:()=>u,sL:()=>m,uU:()=>Ye,UZ:()=>Xe,sH:()=>Ie,W4:()=>Ke,g3:()=>qe,Ou:()=>Gt,M7:()=>b,gv:()=>$e,U7:()=>Zt,K6:()=>jt,sT:()=>h,Dp:()=>y,m4:()=>E,Yv:()=>k,UJ:()=>A,QR:()=>rt,y:()=>S,AD:()=>lt,WA:()=>Z,ai:()=>Rt,m0:()=>M,Gg:()=>B,kB:()=>T,mK:()=>F,em:()=>I,E5:()=>zt,sP:()=>Ft,_$:()=>X,gF:()=>Q,Iv:()=>$,Qh:()=>te,yK:()=>st,sW:()=>ft,Uf:()=>le,cF:()=>pt,aA:()=>ce,mO:()=>se,I1:()=>fe,_A:()=>de,CS:()=>ot,U$:()=>vt,yw:()=>gt,wA:()=>Mt,yM:()=>be,Ep:()=>ve,qy:()=>xt,sN:()=>Ce,Cu:()=>we,qQ:()=>je,oe:()=>Ve,Oq:()=>Ne,yS:()=>Le,Og:()=>Be,kn:()=>Te,od:()=>St});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const u=e=>{var{withBrandColor:t=!0}=e,r=s(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const b=e=>{var{withBrandColor:t=!0}=e,r=p(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const E=e=>{var{className:t}=e,r=x(e,["className"]);return n.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const k=e=>{var{className:t}=e,r=P(e,["className"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const B=e=>{var{withBrandColor:t=!0}=e,r=z(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",V(function(e){for(var t=1;tn.createElement("svg",W(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",K(function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const $=e=>{var{withBrandColor:t=!0}=e,r=_(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const le=e=>{var{withBrandColor:t=!0}=e,r=ne(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",ie(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const ve=e=>{var{className:t}=e,r=he(e,["className"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",Oe(function(e){for(var t=1;tn.createElement("svg",Ee(function(e){for(var t=1;tn.createElement("svg",ke(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",tt(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",ct(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",dt(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const xt=e=>{var{className:t}=e,r=wt(e,["className"]);return n.createElement("svg",Ot(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{c:()=>u});var n=r(1504),l=r(5684),a=r(9072),c=r(8164),o=r(9400);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const s={id:"comments",repo:"PrepVerse/CodePoint",repoId:"R_kgDOItEdJw",category:"Q&A",categoryId:"DIC_kwDOItEdJ84CZ4tA",mapping:"pathname",reactionsEnabled:"1",emitMetadata:"0",inputPosition:"top",lang:"en",theme:"light",darkTheme:"dark_dimmed"};function u(){const e=(0,l.y)(),t=function(e){for(var t=1;tn.createElement(o.c,t)))}},1904:(e,t,r)=>{"use strict";r.d(t,{iI:()=>l,S_:()=>o});var n=r(1504);function l({date:e,formattedDate:t}){return n.createElement("time",{dateTime:e,itemProp:"datePublished"},t)}var a=r(3688),c=r(3652);function o({readingTime:e}){const t=function(){const{selectMessage:e}=(0,a.A)();return t=>{const r=Math.ceil(t);return e(r,(0,c.G)({id:"theme.blog.post.readingTime.plurals",description:'Pluralized label for "{readingTime} min read". Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)',message:"One min read|{readingTime} min read"},{readingTime:r}))}}();return n.createElement(n.Fragment,null,t(e))}},4752:(e,t,r)=>{"use strict";r.d(t,{c:()=>a});var n=r(1504),l=r(9184);const a=()=>n.createElement("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4 md:gap-0 h-auto md:h-[150px] bg-[#5865F2] w-full rounded-2xl py-5 px-5 md:px-12"},n.createElement("div",{className:"flex items-center gap-16"},n.createElement("img",{className:"hidden md:block",src:"/img/blog-static/discord-banner.png",alt:"Discord Logo"}),n.createElement("div",{className:"text-white font-montserrat font-bold max-w-md text-center md:text-left"},n.createElement("h1",{className:"text-2xl uppercase leading-tight mb-0 font-montserrat"},"Join to refine discord server"),n.createElement("p",{className:"mb-0 text-base"},"to get help, share ideas, and discuss the latest news."))),n.createElement(l.c,{to:"https://discord.gg/refine"},n.createElement("button",{className:"bg-transparent text-white font-bold py-2 px-4 rounded-lg h-12 w-44 border-white cursor-pointer font-montserrat uppercase text-xl border-solid active:scale-[0.99]"},"Join Us")))},7396:(e,t,r)=>{"use strict";r.d(t,{c:()=>o});var n=r(1504),l=r(9184),a=r(3540);const c="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",o=()=>{const[e,t]=n.useState(0);return n.useEffect((()=>{(async()=>{const e=await fetch(`https://api.github.com/repos/pankod/refine?access_token=${c}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`token ${c}`}}),r=await e.json();var n;t(null!==(n=r.stargazers_count)&&void 0!==n?n:2e3)})()}),[]),n.createElement("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4 md:gap-0 h-auto md:h-[150px] w-full rounded-2xl py-5 px-5 md:px-12 github-banner-bg"},n.createElement("div",{className:"flex items-center gap-16"},n.createElement("img",{className:"hidden md:block",src:"/img/blog-static/github-banner-icon.png",alt:"Github Logo"}),n.createElement("div",{className:"font-montserrat max-w-md text-center md:text-left"},n.createElement("h1",{className:"text-2xl uppercase leading-tight mb-0 font-montserrat font-bold"},"Star us on github"),n.createElement("p",{className:"mb-0 text-base leading-tight"},n.createElement("b",null,"refine")," is an"," ",n.createElement("b",null,"open-source React-based framework"),"for building ",n.createElement("b",null,"CRUD applications")," without constraints. Please show us your ",n.createElement("b",null,"support")," with a shining ",n.createElement("b",null,"GitHub star"),"."))),n.createElement(l.c,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",rel:"noopener",className:"bg-[#211d21] no-underline rounded-xl h-[54px] flex gap-2 pl-3.5 py-2.5 pr-2.5 items-center"},n.createElement(a.A9,null),n.createElement("div",{className:"font-bold font-montserrat text-base text-white"},"Star"),n.createElement("div",{className:"flex items-start h-full"},n.createElement(a.qq,{className:"mt-2 -mr-px"}),n.createElement("div",{className:"cloud rounded-md bg-white text-[#211d21] h-full flex items-center justify-center px-1.5 font-montserrat font-bold text-base"},`${e}`.padStart(4,"0")))))}},1628:(e,t,r)=>{"use strict";r.d(t,{qu:()=>o,cN:()=>k,CS:()=>A,E$:()=>N,us:()=>S});var n=r(1504),l=r(4971),a=r(9184),c=r(2460);const o=({author:e,className:t})=>n.createElement(i,{author:e,className:t}),i=({author:e})=>{var t,r,o,i,s,u,f,m,d,p,b;const g=e.github||e.twitter||e.linkedin;return n.createElement("div",{className:(0,l.c)("flex","px-4","gap-6","flex-row blog-lg:flex-col","justify-between","blog-sm:max-w-[592px]","blog-md:max-w-[656px]","blog-lg:max-w-[896px]","blog-max:max-w-[1200px]","w-full")},n.createElement("div",{className:(0,l.c)("flex","justify-between","items-center")},n.createElement("div",{className:(0,l.c)("w-full","flex items-center justify-between flex-wrap")},n.createElement("div",{className:(0,l.c)("flex items-center","gap-2 sm:gap-6")},n.createElement(a.c,{to:`/blog/author/${null===(t=e)||void 0===t?void 0:t.key}`,itemProp:"url",className:"flex-shrink-0"},n.createElement("img",{src:null===(r=e)||void 0===r?void 0:r.imageURL,alt:null===(o=e)||void 0===o?void 0:o.name,loading:"lazy",className:(0,l.c)("flex flex-shrink-0","h-12 w-12","blog-sm:h-[88px] blog-sm:w-[88px]","blog-md:h-[120px] blog-md:w-[120px]","rounded-full object-cover")})),n.createElement("div",{className:(0,l.c)("not-prose flex flex-col justify-between")},n.createElement("h1",{className:(0,l.c)("text-xl sm:text-[40px] sm:leading-[56px]","m-0 p-0 pb-2 font-bold text-gray-900 dark:text-gray-200")},null===(i=e)||void 0===i?void 0:i.name),n.createElement("div",{className:(0,l.c)("text-xs sm:text-base","text-gray-600 dark:text-gray-400")},null===(s=e)||void 0===s?void 0:s.title))),g&&n.createElement("div",{className:"flex justify-center gap-3"},(null===(u=e)||void 0===u?void 0:u.github)&&n.createElement(a.c,{to:null===(f=e)||void 0===f?void 0:f.github},n.createElement(c.qO,{className:"h-6 w-6"})),(null===(m=e)||void 0===m?void 0:m.twitter)&&n.createElement(a.c,{to:null===(d=e)||void 0===d?void 0:d.twitter},n.createElement(c.mk,{className:"h-6 w-6"})),(null===(p=e)||void 0===p?void 0:p.linkedin)&&n.createElement(a.c,{to:null===(b=e)||void 0===b?void 0:b.linkedin},n.createElement(c.wd,{className:"h-6 w-6"}))))),n.createElement("div",{className:"border-b border-gray-200 dark:border-gray-700 mb-8"}))};var s=r(468),u=r(2656),f=r(56),m=r(3270),d=r(9936),p=r(7760),b=r(6224),g=r(3784),h=r(4776),v=r(2788),y=r(8368);const O=(0,y.c)("telegram",(function(e,t){var r=t.title;return(0,h.c)(e,"telegram.url"),"https://telegram.me/share/url"+(0,v.c)({url:e,text:r})}),(function(e){return{title:e.title}}),{windowWidth:550,windowHeight:400});var w=r(2544);const x=(0,w.c)({color:"#37aee2",networkName:"telegram",path:"m45.90873,15.44335c-0.6901,-0.0281 -1.37668,0.14048 -1.96142,0.41265c-0.84989,0.32661 -8.63939,3.33986 -16.5237,6.39174c-3.9685,1.53296 -7.93349,3.06593 -10.98537,4.24067c-3.05012,1.1765 -5.34694,2.05098 -5.4681,2.09312c-0.80775,0.28096 -1.89996,0.63566 -2.82712,1.72788c-0.23354,0.27218 -0.46884,0.62161 -0.58825,1.10275c-0.11941,0.48114 -0.06673,1.09222 0.16682,1.5716c0.46533,0.96052 1.25376,1.35737 2.18443,1.71383c3.09051,0.99037 6.28638,1.93508 8.93263,2.8236c0.97632,3.44171 1.91401,6.89571 2.84116,10.34268c0.30554,0.69185 0.97105,0.94823 1.65764,0.95525l-0.00351,0.03512c0,0 0.53908,0.05268 1.06412,-0.07375c0.52679,-0.12292 1.18879,-0.42846 1.79109,-0.99212c0.662,-0.62161 2.45836,-2.38812 3.47683,-3.38552l7.6736,5.66477l0.06146,0.03512c0,0 0.84989,0.59703 2.09312,0.68132c0.62161,0.04214 1.4399,-0.07726 2.14229,-0.59176c0.70766,-0.51626 1.1765,-1.34683 1.396,-2.29506c0.65673,-2.86224 5.00979,-23.57745 5.75257,-27.00686l-0.02107,0.08077c0.51977,-1.93157 0.32837,-3.70159 -0.87096,-4.74991c-0.60054,-0.52152 -1.2924,-0.7498 -1.98425,-0.77965l0,0.00176zm-0.2072,3.29069c0.04741,0.0439 0.0439,0.0439 0.00351,0.04741c-0.01229,-0.00351 0.14048,0.2072 -0.15804,1.32576l-0.01229,0.04214l-0.00878,0.03863c-0.75858,3.50668 -5.15554,24.40802 -5.74203,26.96472c-0.08077,0.34417 -0.11414,0.31959 -0.09482,0.29852c-0.1756,-0.02634 -0.50045,-0.16506 -0.52679,-0.1756l-13.13468,-9.70175c4.4988,-4.33199 9.09945,-8.25307 13.744,-12.43229c0.8218,-0.41265 0.68483,-1.68573 -0.29852,-1.70681c-1.04305,0.24584 -1.92279,0.99564 -2.8798,1.47502c-5.49971,3.2626 -11.11882,6.13186 -16.55882,9.49279c-2.792,-0.97105 -5.57873,-1.77704 -8.15298,-2.57601c2.2336,-0.89555 4.00889,-1.55579 5.75608,-2.23009c3.05188,-1.1765 7.01687,-2.7042 10.98537,-4.24067c7.94051,-3.06944 15.92667,-6.16346 16.62028,-6.43037l0.05619,-0.02283l0.05268,-0.02283c0.19316,-0.0878 0.30378,-0.09658 0.35471,-0.10009c0,0 -0.01756,-0.05795 -0.00351,-0.04566l-0.00176,0zm-20.91715,22.0638l2.16687,1.60145c-0.93418,0.91311 -1.81743,1.77353 -2.45485,2.38812l0.28798,-3.98957"});const E=(0,y.c)("facebook",(function(e,t){var r=t.quote,n=t.hashtag;return(0,h.c)(e,"facebook.url"),"https://www.facebook.com/sharer/sharer.php"+(0,v.c)({u:e,quote:r,hashtag:n})}),(function(e){return{quote:e.quote,hashtag:e.hashtag}}),{windowWidth:550,windowHeight:400});const j=(0,w.c)({color:"#3b5998",networkName:"facebook",path:"M34.1,47V33.3h4.6l0.7-5.3h-5.3v-3.4c0-1.5,0.4-2.6,2.6-2.6l2.8,0v-4.8c-0.5-0.1-2.2-0.2-4.1-0.2 c-4.1,0-6.9,2.5-6.9,7V28H24v5.3h4.6V47H34.1z"});var P=r(1904);const k=({children:e})=>{var t,r,o,i,h,v;const{metadata:y,isBlogPostPage:w}=(0,s.g)(),{permalink:k,title:C,date:A,formattedDate:N,readingTime:S,frontMatter:H,tags:Z,description:D,authors:M}=y,L=M[0],{siteConfig:{url:z}}=(0,d.c)();return n.createElement(m.c,{className:(0,l.c)("pb-10","pt-4 blog-lg:pt-8","ml-auto","w-full","blog-lg:max-w-[894px]","px-2 blog-md:px-8 blog-lg:px-0")},n.createElement("div",{className:(0,l.c)("hidden blog-md:flex","justify-between","items-center","blog-sm:px-6","pb-6 blog-lg:pb-10","not-prose")},n.createElement(a.c,{to:"/blog",className:(0,l.c)("text-refine-react-5 dark:text-refine-react-4","text-sm no-underline","flex","items-center","gap-2")},n.createElement(c.Ux,null)," Back to blog"),n.createElement("div",{className:"flex items-center gap-3 px-2 py-1 not-prose"},n.createElement("span",{className:"text-refine-react-5 dark:text-refine-react-4 text-sm"},"Share on"),n.createElement(p.c,{url:z+k,title:C,source:z,summary:D,hashtags:Z.map((e=>e.label)),className:"flex"},n.createElement(b.c,{size:26,round:!0})),n.createElement(g.c,{windowWidth:750,windowHeight:800,url:z+k,title:C,hashtags:Z.map((e=>e.label)),className:"flex"},n.createElement(c.mk,{width:26,height:26})),n.createElement(O,{windowWidth:750,windowHeight:800,url:z+k,title:C,hashtags:Z.map((e=>e.label)),className:"flex"},n.createElement(x,{size:26,round:!0})),n.createElement(E,{windowWidth:750,windowHeight:800,url:z+k,title:C,hashtags:Z.map((e=>e.label)),className:"flex"},n.createElement(j,{size:26,round:!0})))),n.createElement("div",{className:"not-prose"},n.createElement("img",{className:"w-full rounded-xl aspect-[894/468]",src:`${H.image}?w=160`,alt:C})),n.createElement("div",{className:"blog-sm:px-6"},n.createElement("div",{className:"mt-6 blog-lg:mt-10 mb-6 text-sm"},n.createElement("div",{className:(0,l.c)("flex","justify-between","sm:flex-row flex-col")},n.createElement("div",{className:"flex justify-center items-center gap-2"},n.createElement(a.c,{to:`/blog/author/${null===(t=L)||void 0===t?void 0:t.key}`,itemProp:"url"},n.createElement("img",{src:null===(r=L)||void 0===r?void 0:r.imageURL,alt:null===(o=L)||void 0===o?void 0:o.name,loading:"lazy",className:"flex h-[32px] w-[32px] rounded-full object-cover"})),n.createElement(a.c,{to:`/blog/author/${null===(i=L)||void 0===i?void 0:i.key}`,itemProp:"url",className:(0,l.c)("flex-1","text-gray-900 dark:text-gray-200","text-sm","no-underline","hover:no-underline")},null===(h=L)||void 0===h?void 0:h.name),n.createElement("span",{className:"w-[4px] h-[4px] rounded-full bg-refine-react-5 dark:bg-refine-react-4"}),n.createElement("span",{className:"text-gray-600 dark:text-gray-400"},null===(v=L)||void 0===v?void 0:v.title)),n.createElement("div",{className:"flex items-center gap-2 text-gray-600 dark:text-gray-400"},n.createElement(P.iI,{date:A,formattedDate:N}),void 0!==S&&n.createElement(n.Fragment,null,n.createElement("span",{className:"w-[4px] h-[4px] rounded-full bg-refine-react-5 dark:bg-refine-react-4"}),n.createElement(P.S_,{readingTime:S}))))),n.createElement("h1",{className:"text-xl md:text-4xl",itemProp:"headline"},w?C:n.createElement(a.c,{itemProp:"url",to:k},C)),n.createElement("div",{id:u.blogPostContainerID,className:"markdown",itemProp:"articleBody"},n.createElement(f.c,null,e))))};r(4752);const C=()=>{var e,t;const{metadata:r}=(0,s.g)(),{permalink:c,title:o,date:i,formattedDate:u,frontMatter:f,description:d,tags:p}=r,b=r.authors[0];return n.createElement(m.c,null,n.createElement(a.c,{itemProp:"url",to:c,className:(0,l.c)("block","w-full h-auto","aspect-[592/334]")},n.createElement("div",{className:(0,l.c)("not-prose relative m-0 hover:brightness-90","h-full w-full")},n.createElement("img",{src:`${f.image}?h=256`,alt:o,className:(0,l.c)("absolute inset-0 mt-0 h-full w-full rounded-[10px] object-cover"),loading:"lazy"}))),n.createElement("div",{className:"px-4 py-4 md:px-6 md:py-6"},n.createElement("div",{className:(0,l.c)("flex flex-wrap items-center","mb-6","gap-2")},p.map((e=>n.createElement(a.c,{className:(0,l.c)("text-xs","bg-refine-react-3 dark:bg-refine-react-7","text-refine-react-8 dark:text-refine-react-3","no-underline","rounded-full","px-2 py-1"),href:e.permalink,key:e.permalink},e.label)))),n.createElement("div",{className:"mb-4"},n.createElement(a.c,{itemProp:"url",to:c,className:"no-underline hover:no-underline",rel:"noopener dofollow"},n.createElement("div",{className:(0,l.c)("mb-4","text-gray-700 dark:text-refine-react-3","text-xl","font-lg","font-bold")},o)),n.createElement("div",{className:(0,l.c)("line-clamp-3","text-gray-700 dark:text-refine-react-4","text-sm")},d)),n.createElement("div",{className:"flex items-center gap-2"},n.createElement(a.c,{href:`/blog/author/${null===(e=b)||void 0===e?void 0:e.key}`,itemProp:"url",className:(0,l.c)("text-gray-600 hover:text-gray-600","dark:text-gray-400 hover:dark:text-gray-400","text-xs 2xl:text-base","no-underline")},null===(t=b)||void 0===t?void 0:t.name),n.createElement("span",{className:(0,l.c)("h-[4px] w-[4px] rounded-full","bg-gray-600 dark:bg-gray-500")}),n.createElement("span",{className:(0,l.c)("text-gray-600 dark:text-gray-500","text-xs","leading-6","no-underline")},n.createElement(P.iI,{date:i,formattedDate:u})))))},A=({items:e})=>n.createElement("div",{className:(0,l.c)("w-screen","bg-refine-react-1 dark:bg-refine-react-dark-code")},n.createElement("div",{className:(0,l.c)("blog-sm:max-w-[592px]","blog-md:max-w-[656px]","blog-lg:max-w-[896px]","blog-max:max-w-[1200px]","w-full","mx-auto","px-6 blog-sm:px-0","py-6 blog-md:py-12","not-prose")},n.createElement("h2",{className:(0,l.c)("m-0 p-0","px-6","mb-6 blog-lg:mb-12","text-2xl blog-sm:text-[32px] blog-sm:leading-10","dark:text-refine-green-alt dark:drop-shadow-[0_0_30px_rgba(71,235,235,0.25)]","text-refine-blue drop-shadow-[0_0_30px_rgba(51,51,255,0.3)]","font-semibold")},"Featured Posts"),n.createElement("div",{className:"grid grid-cols-1 blog-md:grid-cols-2 blog-max:grid-cols-3 gap-6"},e.map((({content:e})=>n.createElement(s.E,{key:e.metadata.permalink,content:e},n.createElement(C,null)))))));r(7396);const N=({posts:e,title:t})=>{var r,c,o;return e.length<1?null:n.createElement("div",{className:(0,l.c)("mx-auto w-full","py-10","blog-sm:py-12","blog-md:py-16","max-w-[512px]","blog-sm:max-w-screen-blog-sm","blog-lg:max-w-screen-content-2xl")},n.createElement("div",{className:"blog-sm:px-6 w-full px-4"},n.createElement("h2",{className:"m-0 mb-4 p-0 pl-4 text-2xl font-semibold text-refine-react-8 dark:text-refine-react-1"},t),n.createElement("div",{className:"flex flex-col not-prose"},e.map((e=>n.createElement(a.c,{to:e.permalink,rel:"dofollow",key:null!==(o=e.permalink)&&void 0!==o?o:e.id,className:(0,l.c)("flex","flex-col","gap-2","p-5","mb-5","rounded-lg","border border-refine-react-3 dark:border-refine-react-6","bg-white dark:bg-refine-react-8","hover:bg-gray-100 dark:hover:bg-refine-react-7","not-prose","no-underline")},n.createElement("div",{to:e.permalink,rel:"dofollow",className:(0,l.c)("font-bold","text-refine-react-8 dark:text-refine-react-1","no-underline","hover:text-gray-800 hover:no-underline dark:hover:text-gray-200","mb-2")},e.title),n.createElement("p",{className:(0,l.c)("font-sm","text-refine-react-5 dark:text-refine-react-4")},e.description),n.createElement("div",{id:"post-info",className:"flex items-center gap-2 text-sm text-refine-react-4 dark:text-refine-react-5"},n.createElement(a.c,{to:`/blog/author/${null===(r=e.authors[0])||void 0===r?void 0:r.key}`,itemProp:"url",id:"author-name",className:"text-gray-600 no-underline hover:text-gray-600 hover:no-underline dark:text-gray-400"},null===(c=e.authors[0])||void 0===c?void 0:c.name),n.createElement("span",{className:"h-[4px] w-[4px] rounded-full bg-gray-600 dark:bg-gray-500"}),n.createElement(P.iI,{date:e.date,formattedDate:e.formattedDate}))))))))},S=()=>{const{metadata:e}=(0,s.g)();return n.createElement("div",{className:"flex flex-wrap gap-2"},e.tags.map((e=>n.createElement(a.c,{to:e.permalink,className:(0,l.c)("no-underline hover:no-underline","text-xs","rounded-full","py-1","px-3","text-refine-react-8 dark:text-refine-react-3","bg-refine-react-3 dark:bg-refine-react-7","whitespace-nowrap"),key:e.permalink},e.label))))};r(5524)},5524:(e,t,r)=>{"use strict";r.d(t,{c:()=>a});var n=r(1504),l=r(9184);const a=({children:e})=>n.createElement("div",{className:"flex flex-col md:flex-row items-center twitter-banner-bg px-5 md:px-10 py-5 rounded-xl gap-2"},n.createElement("div",{className:"flex flex-col justify-center items-center md:items-start gap-4"},n.createElement("div",{className:"text-center md:text-left"},n.createElement("h1",{className:"text-white font-montserrat text-2xl leading-tight mb-0"},"WANT TO HEAR THE LATEST DEVELOPMENTS ABOUT refine?"),n.createElement("p",{className:"mb-0 uppercase font-montserrat text-white"},"Follow us on Twitter.")),n.createElement(l.c,{to:"https://twitter.com/refine_dev"},n.createElement("button",{className:"bg-transparent text-white font-bold py-2 px-8 rounded-lg border-white cursor-pointer font-montserrat uppercase text-xl border-solid active:scale-[0.99]"},"Follow Us"))),n.createElement("div",{className:"w-[350px]"},e||n.createElement("blockquote",{className:"twitter-tweet","data-cards":"hidden"},n.createElement("p",{lang:"en",dir:"ltr"},"\ud83d\udca5New Blog Post!",n.createElement("br",null),n.createElement("br",null),"Animations in React with Framer Motion",n.createElement("a",{href:"https://t.co/7kWU1ROPYd"},"https://t.co/7kWU1ROPYd"),n.createElement("a",{href:"https://twitter.com/hashtag/opensource?src=hash&ref_src=twsrc%5Etfw"},"#opensource")," ",n.createElement("a",{href:"https://twitter.com/hashtag/ReactJS?src=hash&ref_src=twsrc%5Etfw"},"#ReactJS")),"\u2014 refine (@refine_dev)"," ",n.createElement("a",{href:"https://twitter.com/refine_dev/status/1565321477628510208?ref_src=twsrc%5Etfw"},"September 1, 2022"))))},3540:(e,t,r)=>{"use strict";r.d(t,{Wr:()=>o,ef:()=>u,qq:()=>m,A9:()=>p,cn:()=>h,gZ:()=>O,aA:()=>E,Wu:()=>k});var n=r(4971),l=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const o=e=>l.createElement("svg",c(function(e){for(var t=1;tl.createElement("svg",s(function(e){for(var t=1;tl.createElement("svg",function(e){for(var t=1;tl.createElement("svg",function(e){for(var t=1;tl.createElement("svg",g(function(e){for(var t=1;tl.createElement("svg",y(function(e){for(var t=1;tl.createElement("svg",x(function(e){for(var t=1;tl.createElement("svg",P(function(e){for(var t=1;t{"use strict";r.d(t,{q:()=>c,y:()=>o});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a="tutorial-checklist-store",c=n.createContext({store:{},toggle:()=>{}}),o=({children:e})=>{const[t,r]=n.useState((()=>{if("undefined"!=typeof window){const t=localStorage.getItem(a);if(t)try{const e=JSON.parse(t);if("object"==typeof e)return e}catch(e){return{}}}return{}})),o=n.useCallback(((e,t,n)=>{r((r=>{const a=function(e){for(var t=1;t{"undefined"!=typeof window&&localStorage.setItem(a,JSON.stringify(t))}),[t]),n.createElement(c.Provider,{value:{store:t,toggle:o}},e)}},1648:(e,t,r)=>{"use strict";r.d(t,{g5:()=>i,mk:()=>s,sH:()=>a});var n=r(1504),l=r(2288);r(5904);const a=["headless","antd","chakra-ui","mantine","mui"],c=e=>{if(a.includes(e))return e},o="tutorial-preferred-ui-package",i=n.createContext({preferred:"headless",current:void 0,setPreferred:()=>{}}),s=({children:e})=>{const{metadata:t}=(0,l.G)(),r=(e=>{const t=e.match(/\/(headless|antd|chakra-ui|mantine|mui)\//);if(t&&c(t[1]))return t[1]})(t.id),[a,s]=n.useState("headless");n.useEffect((()=>{if("undefined"!=typeof window){const e=localStorage.getItem(o),t=c(e);t&&s(t)}}),[]);const u=e=>{c(e)&&("undefined"!=typeof window&&localStorage.setItem(o,e),s(e))};return n.useEffect((()=>{r&&r!==a&&u(r)}),[r,a]),n.createElement(i.Provider,{value:{preferred:a,setPreferred:u,current:r||a}},e)}},9092:(e,t,r)=>{"use strict";r.d(t,{WO:()=>m,iC:()=>d});var n=r(1504),l=r(640),a=r(2064);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;t0}),s="tutorial-parameters",u=(e,t)=>{for(const r of t)if(e.includes(`/${r.value}`))return r.value},f=()=>{const{pathname:e}=(0,l.IT)();return n.useMemo((()=>(e=>{const t={};for(const[r,n]of Object.entries(a.Sm.parameterOptions)){const l=u(e,n);l&&(t[r]=l)}return t})(e)),[e])},m=({children:e})=>{const[t,r]=n.useState(void 0),[l,c]=n.useState(!1),u=f(),m=n.useCallback((e=>{r((t=>{try{localStorage.setItem(s,JSON.stringify(o({},t,e)))}catch(r){console.error(r)}return o({},t,e)}))}),[]);return n.useEffect((()=>{try{const e=localStorage.getItem(s);m(e?o({},a.Sm.defaultParameters,JSON.parse(e),u):o({},a.Sm.defaultParameters,u))}catch(e){m(o({},a.Sm.defaultParameters,u))}c(!0)}),[]),n.createElement(i.Provider,{value:{parameters:t,setParameters:m,settled:l,options:a.Sm.parameterOptions}},e)},d=()=>n.useContext(i)},3376:(e,t,r)=>{"use strict";r.d(t,{U:()=>p});var n=r(2288),l=r(1688),a=(r(1504),r(3908));function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;t{var e,t,r,c;const f=(0,n.G)(),{docs:p}=(0,l.E)(),{frontMatter:b,metadata:{id:g}}=f,{tutorial:{units:h}}=(0,u.e)(),{current:v}=(0,a.U)(),y=e=>{const t=e.id.split("/"),r=s.sH.filter((e=>e!==v));return!t.find((e=>r.includes(e)))},O=!!(null===(e=b)||void 0===e?void 0:e.tutorial),w=g.split("/")[1],x=function({frontMatter:e}){const{docs:t}=(0,l.E)(),{current:r}=(0,a.U)(),n=e=>{if(e.includes("{preferredUI}")||r)return e.replace("{preferredUI}",r)},c=e=>"/docs/"+e,{tutorial:s}=e,{next:u,prev:f}=null!=s?s:{},m=u?n(u):void 0,d=t[f?n(f):void 0],p=t[m];return{previous:d?i(o({},d),{permalink:c(d.id)}):void 0,next:p?i(o({},p),{permalink:c(p.id)}):void 0}}(f),E=Object.entries(p).filter((([e])=>e.startsWith("tutorial/"))).reduce(((e,[t,r])=>{const n=t.split("/")[1];return n.startsWith("partial-")||(e[n]||(e[n]=[]),e[n].push(r)),e}),{}),j=Object.entries(E).map((([e,r])=>d(m({unit:e,no:null===(t=h[e])||void 0===t?void 0:t.no,title:h[e].label},e===w&&O&&{current:!0}),{docs:r.map((e=>m({},e,e.id===g&&O&&{current:!0}))).filter(y)}))).sort(((e,t)=>(null===(r=e)||void 0===r?void 0:r.no)-(null===(c=t)||void 0===c?void 0:c.no)));return O?{id:g,isTutorial:O,unit:w,pagination:x,units:j}:void 0}},5560:(e,t,r)=>{"use strict";r.d(t,{c:()=>l});var n=r(1504);const l=(e,t="0px")=>{const[r,l]=n.useState(!1);return n.useEffect((()=>{var r;const n=null===(r=e)||void 0===r?void 0:r.current,a=new IntersectionObserver((([e])=>{l(e.isIntersecting)}),{rootMargin:t});return n&&a.observe(n),()=>{n&&a.unobserve(n)}}),[]),r}},8840:(e,t,r)=>{"use strict";r.d(t,{ot:()=>s,GC:()=>u});var n=r(1504);const l={items:[]};var a=r(3740);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;tt.filter((t=>t.unit===e));function u(){const{store:e,toggle:t}=n.useContext(a.q);return{items:n.useMemo((()=>{var t,r,n,a;return null!==(a=null===(n=l)||void 0===n||null===(t=(r=n.items).map)||void 0===t?void 0:t.call(r,(t=>{const{id:r}=t;return i(o({},t),{checklist:t.checklist.map((t=>{var n;return i(o({},t),{checked:null!==(n=e[r]?.[t.id])&&void 0!==n&&n})})).sort(((e,t)=>e.index-t.index))})})))&&void 0!==a?a:[]}),[e]),toggle:t}}},380:(e,t,r)=>{"use strict";r.d(t,{e:()=>l});var n=r(9936);r(1504);const l=()=>{const{siteConfig:{customFields:e}}=(0,n.c)(),{tutorial:t}=e;return t}},3908:(e,t,r)=>{"use strict";r.d(t,{U:()=>a});var n=r(1504),l=r(1648);const a=()=>n.useContext(l.g5)},3680:(e,t,r)=>{"use strict";r.d(t,{u:()=>a});var n=r(1504),l=r(3120);const a=e=>n.createElement(l.E,e)},6968:(e,t,r)=>{"use strict";r.d(t,{m:()=>U});var n=r(9184),l=r(4971),a=r(3200),c=r(344),o=r(6076),i=r(1504),s=r(1980),u=r(8804),f=r(6098);const m=[{isPopover:!0,label:"Docs",items:[{label:"Foundation Docs",description:"Learn C++, Python & Java",link:"/docs",icon:f.C3},{label:"DSA Docs",description:"Learning DSA in C++, Python & Java",link:"/docs/1.DS.Algo",icon:f.uI}]},{isPopover:!0,label:"CodePoint",items:[{label:"Expert Sheet Solutions",description:"Most popular coding questions solutions asked during SDE interviews.",link:"https://prepverse.github.io/CodePoint/preface",icon:f.C3},{label:"Coding Ninjas Series",description:"Coding Ninjas Studio Guided Path Solutions",link:"https://prepverse.github.io/CodePoint/learning_resources/CN_Series/preface",icon:f.oh},{label:"LeetVerse",description:"Leetcode problem solutions with full probelm statements in C++, Python & Java",link:"https://prepverse.github.io/LeetVerse",icon:f.Ew}]},{isPopover:!0,label:"About",items:[{label:"About Me",description:"My information.",link:"/AkashSingh3031",icon:f.kv},{label:"Project Showcase",description:"PrepVerse open-source projects",link:"/showcase",icon:f.w9},{label:"My Portfolio",description:"All info about me",link:"https://prepverse.github.io/portfolio",icon:f.BE}]},{isPopover:!1,label:"Blog",href:"/blog",icon:f.s1},{isPopover:!1,label:"PrepVerse Community",href:"/prepverse-community",icon:f.vn}],d=({item:e,variant:t="landing"})=>{const r=e.icon;return i.createElement(n.c,{to:e.link,className:"no-underline"},i.createElement("div",{className:(0,l.c)("flex items-center","p-4","transition duration-150 ease-in-out","rounded-lg","hover:bg-gray-100","landing"===t&&"dark:hover:bg-gray-800","blog"===t&&"dark:hover:bg-refine-react-8")},i.createElement("div",{className:"shrink-0"},i.createElement(r,null)),i.createElement("div",{className:"ml-2"},i.createElement("div",{className:(0,l.c)("landing"===t&&"text-gray-900 dark:text-white","blog"===t&&"text-refine-react-8 dark:text-refine-react-3","font-semibold")},e.label),i.createElement("div",{className:(0,l.c)("landing"===t&&"text-gray-500 dark:text-gray-400","blog"===t&&"text-refine-react-5 dark:text-refine-react-4","text-xs")},e.description))))},p=({item:e})=>{const[t,r]=(0,i.useState)(null);(0,i.useEffect)((()=>(r(localStorage.getItem("theme")||null),window.addEventListener("storage",a,!1),()=>{window.removeEventListener("storage",a,!1)})),[]);const a=()=>{r(localStorage.getItem("theme")||null)};let c=e.icon;return"Cloud"===e.label&&(c="light"===t?f.oz:e.icon),i.createElement(n.c,{key:e.label,to:e.href,className:(0,l.c)("inline-flex items-center gap-2","text-sm leading-6 font-normal text-gray-900 dark:text-gray-300","transition-colors duration-150 ease-in-out","no-underline","Hackathon"===e.label?["py-1","px-2","rounded-lg","bg-hackathon-button-bg","animate-hackathon-button-bg","bg-refine-bg","text-gray-0","bg-[length:200%_100%]","text-[14px]","hover:text-gray-0"]:["hover:text-gray-900 dark:hover:text-white"])},e.icon&&i.createElement(c,null),e.label)};var b=r(640),g=r(5224),h=r(2424),v=r(4577);const y=({item:e,variant:t="landing",children:r})=>{const[n,a]=(0,i.useState)(!1),c=i.useRef(null),o=i.useRef(null),s=(0,b.IT)();return i.useEffect((()=>{a(!1)}),[s]),i.createElement(g._,{id:`popover-${e.label}`,key:e.label,className:(0,l.c)("relative","inline-flex items-center"),onMouseEnter:()=>{o.current=setTimeout((()=>a(!0)),210),clearTimeout(c.current)},onMouseLeave:()=>{c.current=setTimeout((()=>a(!1)),210),clearTimeout(o.current)}},(()=>i.createElement(i.Fragment,null,i.createElement(g._.Button,{className:(0,l.c)("inline-flex items-center","text-sm leading-6","font-normal")},i.createElement("span",{className:(0,l.c)("landing"===t&&"text-gray-900 dark:text-gray-300","blog"===t&&"text-refine-react-8 dark:text-refine-react-3","transition-colors duration-150 ease-in-out inline-block")},e.label),i.createElement(v.w,{"aria-hidden":"true",className:(0,l.c)("transition duration-150 ease-out","-mr-2","landing"===t&&"text-gray-500 dark:text-gray-400","blog"===t&&"text-refine-react-4",n?"translate-y-0.5":"")})),i.createElement(h.O,{as:i.Fragment,enter:"transition ease-in duration-150",enterFrom:"opacity-0 translate-y-3",enterTo:"opacity-100 translate-y-0",leave:"transition ease-out duration-150",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 translate-y-3",show:n},i.createElement(g._.Panel,{className:(0,l.c)("absolute","z-50","top-12",{"-left-32 center-point":"Docs"===e.label||"About"===e.label,"left-point":"CodePoint"===e.label})},i.createElement(f.WR,{id:e.label,variant:t,className:(0,l.c)("absolute","top-[-9px]",{"left-1/2":"CodePoint"!==e.label,"left-12":"CodePoint"===e.label}),style:{transform:"translateX(-50%)"}}),i.createElement("div",{className:(0,l.c)("overflow-hidden","rounded-xl","landing"===t&&"border dark:border-gray-700 border-gray-200","landing"===t&&"dark:shadow-menu-dark shadow-menu-light","blog"===t&&"border border-refine-react-3 dark:border-refine-react-6","blog"===t&&"dark:shadow-menu-blog-dark shadow-menu-blog-light")},r))))))},O=({variant:e="landing"})=>i.createElement(i.Fragment,null,m.map((t=>t.isPopover?i.createElement(y,{key:`navbar-${t.label}`,item:t,variant:e},"CodePoint"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,l.c)("grid grid-cols-2 gap-4","p-4","w-[672px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(d,{key:t.label,item:t,variant:e})))),i.createElement(n.c,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,l.c)("border-t","blog"===e&&"border-refine-react-3 dark:border-refine-react-6","landing"===e&&"border-gray-300 dark:border-gray-700","landing"===e&&"bg-gray-100 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-7","flex items-center","py-4 px-7")},i.createElement(f._2,null),i.createElement("div",{className:(0,l.c)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))),"About"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,l.c)("grid gap-4","p-4","w-[336px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(d,{key:t.label,item:t,variant:e})))),i.createElement("div",{className:(0,l.c)("border-t","blog"===e&&"border-refine-react-3 dark:border-refine-react-6","landing"===e&&"border-gray-300 dark:border-gray-700","landing"===e&&"bg-gray-100 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-7","flex justify-between items-center","py-4 px-7")},i.createElement("div",{className:(0,l.c)("landing"===e&&"text-gray-600 dark:text-gray-400 ","blog"===e&&"text-refine-react-5 dark:text-refine-react-4")},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.c,{to:"https://github.com/AkashSingh3031",className:(0,l.c)("no-underline","hover:text-inherit")},i.createElement(f.A9,{className:"dark:text-gray-400 text-gray-500"})),i.createElement(n.c,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(f.Ed,null)),i.createElement(n.c,{to:"https://instagram.com/akash.singh3031"},i.createElement(f.Yf,null)),i.createElement(n.c,{to:"https://x.com/akashsingh3031"},i.createElement(f.CC,null))))),"Docs"===t.label&&i.createElement("div",{className:(0,l.c)("grid gap-4","p-4","w-[336px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(d,{key:t.label,item:t,variant:e}))))):i.createElement(p,{key:`navbar-${t.label}`,item:t,variant:e}))));var w=r(2276),x=r(7008),E=r(9072),j=r(2268);function P(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const k=e=>i.createElement("svg",function(e){for(var t=1;ti.createElement("svg",function(e){for(var t=1;t{const[o,s]=(0,i.useState)(null),u=null!=r?r:n.c,m=void 0!==a&&void 0===t;return(0,i.useEffect)((()=>{const e=document.querySelector("html").getAttribute("data-theme");s(e)}),[]),i.createElement(u,function(e){for(var t=1;t{const r=(0,b.IT)();return i.useEffect((()=>{t(!1)}),[r]),i.createElement(L,{isModalOpen:e,setIsModalOpen:t},i.createElement(z,{className:(0,l.c)("hidden landing-sm:block","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}),i.createElement(B,{className:(0,l.c)("block landing-sm:hidden","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}))},L=({isModalOpen:e,setIsModalOpen:t,children:r})=>i.createElement(h.O,{appear:!0,show:e,as:i.Fragment},i.createElement(w.C,{as:"div",className:"relative z-10",onClose:()=>t(!1)},i.createElement(h.O.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},i.createElement("div",{className:(0,l.c)("fixed inset-0","bg-gray-0 dark:bg-gray-900","flex","flex-col")},i.createElement(H.Q,null),i.createElement("div",{className:(0,l.c)("flex items-center justify-between","p-4","landing-sm:px-8")},i.createElement(u.m,{className:"dark:text-gray-0 text-gray-900"}),i.createElement("button",{type:"button",className:(0,l.c)("rounded-lg","hover:brightness-105","active:scale-90","transition-transform duration-75 ease-in-out")},i.createElement(j.O,{className:"text-gray-900 dark:text-white",onClick:()=>t(!1)}))),i.createElement(h.O.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-75",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95"},i.createElement("div",{className:(0,l.c)("flex-1","overflow-y-auto","px-4","pb-4")},r)))))),z=e=>i.createElement("div",{className:(0,l.c)(e.className)},m.map(((e,t)=>{const r="icon"in e&&e.icon;return i.createElement("div",{key:t,className:(0,l.c)("not-prose","p-4","border-t dark:border-gray-700 border-gray-200")},i.createElement(n.c,{to:"href"in e?e.href:void 0,className:(0,l.c)("appearance-none","block","no-underline","dark:text-gray-0 text-gray-900","font-bold")},i.createElement("div",{className:(0,l.c)("flex items-center gap-2")},i.createElement("div",null,e.label),r&&i.createElement(r,null))),"items"in e&&i.createElement("div",{className:(0,l.c)("mt-2","grid grid-cols-2 min-[800px]:grid-cols-3","gap-x-8 gap-y-4")},e.items.map((e=>i.createElement(d,{key:e.label,item:e})))))})),i.createElement(G,null),i.createElement(T,{id:"tablet"}),i.createElement(R,{id:"tablet"})),B=e=>i.createElement("div",{className:(0,l.c)(e.className)},i.createElement("div",{className:"flex-grow"},m.map((e=>e.isPopover?i.createElement(x.C,{key:`modal-${e.label}`},(({open:t})=>i.createElement(i.Fragment,null,i.createElement(S,{component:x.C.Button,label:e.label,open:t}),i.createElement(x.C.Panel,{className:(0,l.c)(t&&"pb-4",t&&"border-b border-gray-200 dark:border-gray-700")},e.items.map((e=>i.createElement(d,{key:e.label,item:e}))))))):i.createElement(S,{key:`modal-${e.label}`,label:e.label,href:e.href,icon:e.icon})))),i.createElement(G,null),i.createElement(T,{id:"phone"}),i.createElement(R,{id:"phone"})),R=e=>{var t;return i.createElement(n.c,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,l.c)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex items-center","p-4")},i.createElement(f._2,{id:(null===(t=e)||void 0===t?void 0:t.id)||""}),i.createElement("div",{className:(0,l.c)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))},T=e=>{var t;return i.createElement("div",{className:(0,l.c)("bg-white dark:bg-gray-700 header-sm:bg-inherit","flex justify-between items-center","header-sm:flex-col header-sm:gap-4","header-sm:border-b border-gray-200 dark:border-gray-600","py-3 px-4")},i.createElement("p",{className:"text-gray-500 dark:text-gray-300 font-semibold"},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.c,{to:"https://github.com/AkashSingh3031"},i.createElement(f.A9,{className:"h-10 w-10"})),i.createElement(n.c,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(f.Ed,{className:"h-10 w-10"})),i.createElement(n.c,{to:"https://instagram.com/akash.singh3031"},i.createElement(f.Yf,{className:"h-10 w-10",id:(null===(t=e)||void 0===t?void 0:t.id)||""})),i.createElement(n.c,{to:"https://x.com/akashsingh3031"},i.createElement(f.CC,{className:"h-10 w-10"}))))},G=()=>{const{colorMode:e,setColorMode:t}=(0,E.U)(),r=()=>{t("dark"===e?"light":"dark")},n="dark"===e,a="light"===e;return i.createElement("div",{className:(0,l.c)("not-prose","p-4","flex items-center")},i.createElement("div",{className:(0,l.c)("text-sm","mr-10","dark:text-gray-400 text-gray-600")},"Apperance"),i.createElement("button",{onClick:r,className:(0,l.c)("mr-4","rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200","text-gray-500",a&&"bg-gray-50")},i.createElement(D.G,null),"Light"),i.createElement("button",{onClick:r,className:(0,l.c)("rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200",n?"text-gray-400":"text-gray-500",n&&"bg-gray-700")},i.createElement(Z.g,null),"Dark"))};var V=r(9253),F=r(2700),Y=r(5792),W=r(6936);const I=()=>{const{loading:e,githubStarCountText:t}=(0,F.wx)();return i.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank",rel:"noreferrer",className:(0,l.c)("flex gap-2 items-center","font-normal","text-sm leading-6","text-gray-500 dark:text-gray-400","hover:text-gray-400 dark:hover:text-gray-300","hover:no-underline","transition-colors","duration-200","ease-in-out")},i.createElement(Y.A,{className:(0,l.c)("w-5 h-5")}),i.createElement("div",{className:(0,l.c)("flex items-center","w-10 h-6")},e?i.createElement(W.c,{className:(0,l.c)("w-5 h-5"),wrapperProps:{className:(0,l.c)("mx-auto")}}):i.createElement("span",null,t)))},U=({trackProgress:e,variant:t="landing",className:r})=>{const[f,m]=(0,i.useState)(!1),{scrollYProgress:d}=(0,a.Q)(),p=(0,c.s)(d,[.03,.95],["0%","100%"]);return i.createElement(i.Fragment,null,i.createElement(H.Q,null),i.createElement("header",{className:(0,l.c)("sticky","top-0","z-10")},i.createElement("div",{className:(0,l.c)("absolute","top-0 left-0 right-0","backdrop-blur-[6px]","landing-md:backdrop-blur-[12px]","z-[-1]","bg-gray-0 dark:bg-gray-800","bg-opacity-80 dark:bg-opacity-80","pointer-events-none",r),style:{top:"-20px",bottom:"-80px",WebkitMaskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))",maskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))"}}),i.createElement("div",{className:(0,l.c)("relative","z-[1]","p-4","landing-sm:px-8","landing-md:py-5")},i.createElement("div",{className:(0,l.c)("mx-auto","flex","items-center","justify-between","max-w-[896px]","landing-lg:max-w-[1200px]")},i.createElement("div",{className:(0,l.c)("w-[130px]","landing-lg:w-[200px]")},i.createElement(n.c,{to:"/"},i.createElement(u.m,{className:"text-gray-900 dark:text-gray-0"}))),i.createElement("button",{type:"button",className:(0,l.c)("text-gray-900 dark:text-gray-0","block landing-md:hidden"),onClick:()=>m(!0)},i.createElement(s.m,null)),i.createElement("div",{className:(0,l.c)("hidden landing-md:flex","flex-1","items-center","gap-8")},i.createElement(O,{variant:t})),i.createElement("div",{className:(0,l.c)("hidden landing-md:flex","items-center","justify-end","gap-4","w-[130px]","landing-lg:w-[200px]")},i.createElement(I,null),i.createElement(V.C,null)),i.createElement(M,{isModalOpen:f,setIsModalOpen:m}))),e&&i.createElement("div",{className:(0,l.c)("w-full","h-[1.5px]","translate","bg-refine-react-3 dark:bg-refine-react-7")},i.createElement(o.q.div,{className:(0,l.c)("h-full","bg-refine-react-light-link dark:bg-refine-react-dark-link"),style:{width:p}}))))}},7500:(e,t,r)=>{"use strict";r.d(t,{Ih:()=>o,oJ:()=>c,yg:()=>a});var n=r(4971),l=r(1504);const a="preferred-full-table-width",c=e=>l.createElement("div",{className:(0,n.c)("table-container")},l.createElement("table",e)),o=({children:e})=>l.createElement("div",{className:"table-full-width"},e)},9253:(e,t,r)=>{"use strict";r.d(t,{C:()=>i,O:()=>u});var n=r(1504),l=r(4971),a=r(9072),c=r(3756),o=r(5372);const i=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,a.U)();return n.createElement("button",{type:"button",className:(0,l.c)("appearance-none","focus:outline-none","relative","w-10 h-10","rounded-full","border","border-solid","border-gray-300 dark:border-gray-700","text-gray-500","transition-colors","duration-150","ease-in-out","overflow-hidden","flex-shrink-0","group",e),onClick:()=>{r("dark"===t?"light":"dark")}},n.createElement("div",{className:(0,l.c)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","translate-y-0","dark:-translate-y-10","duration-200","ease-in-out","transition-transform")},n.createElement(c.G,null)),n.createElement("div",{className:(0,l.c)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","-translate-y-10","dark:translate-y-0","duration-200","ease-in-out","transition-transform")},n.createElement(o.g,null)))},s=[{name:"light",icon:c.G,label:"Light"},{name:"dark",icon:o.g,label:"Dark"}],u=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,a.U)();return n.createElement("div",{className:(0,l.c)("flex","items-center","gap-4","justify-start",e)},s.map((({name:e,label:a,icon:c})=>n.createElement("button",{type:"button",key:e,className:(0,l.c)("appearance-none","focus:outline-none","py-1","pl-1.5","pr-3","flex","items-center","justify-center","gap-1","rounded-[40px]","text-gray-400","border border-solid","border-gray-200","dark:border-gray-600",t===e&&"bg-gray-100 dark:bg-gray-700"),onClick:()=>{r(e)}},n.createElement(c,{className:(0,l.c)("w-4 h-4")}),n.createElement("span",{className:(0,l.c)("text-sm")},a)))))}},7708:(e,t,r)=>{"use strict";r.d(t,{o0:()=>p,yw:()=>m,wd:()=>d,AR:()=>b});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var u=r(6098),f=r(4252);const m=[{label:"Resources",items:[{label:"Getting Started",href:"/docs"},{label:"Blog",href:"/blog"},{label:"Project Showcase",icon:n.createElement(u.KU,null),href:"/showcase"},{label:"Community",icon:n.createElement(u.KU,null),href:"/prepverse-community"}]},{label:"Product",items:[{label:"CodePoint",icon:n.createElement(f.i,null),href:"https://prepverse.github.io/CodePoint"},{label:"LeetVerse",icon:n.createElement(f.i,null),href:"https://prepverse.github.io/LeetVerse"}]},{label:"About",items:[{label:"About Me",href:"/AkashSingh3031"},{label:"Portfolio",icon:n.createElement(f.i,null),href:"https://prepverse.github.io/portfolio"}]}],d=[{label:"License",href:"https://github.com/PrepVerse/prepverse.github.io/blob/master/LICENSE"}],p="Thank you for visiting, Connect with me over socials.",b=[{icon:e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{G:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{w:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{g:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{i:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{A:()=>c,i:()=>o});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e){for(var t=1;tn.createElement("svg",a({width:12,height:12,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.053 0A10.904 10.904 0 0 0 3.89 2.685 11.34 11.34 0 0 0 .142 9.472a11.48 11.48 0 0 0 1.456 7.65 11.087 11.087 0 0 0 5.964 4.86c.556.103.752-.25.752-.547v-1.918C5.23 20.202 4.58 18 4.58 18a3.012 3.012 0 0 0-1.227-1.655c-.997-.692.081-.692.081-.692.35.05.683.18.975.382.293.202.536.469.713.78.15.278.352.523.595.721a2.312 2.312 0 0 0 2.618.221c.042-.57.283-1.105.678-1.509-2.454-.284-5.03-1.253-5.03-5.539a4.415 4.415 0 0 1 1.132-3.025A4.194 4.194 0 0 1 5.224 4.7s.928-.305 3.036 1.156c1.81-.508 3.72-.508 5.531 0 2.108-1.46 3.03-1.156 3.03-1.156.406.936.455 1.993.135 2.963a4.415 4.415 0 0 1 1.132 3.026c0 4.334-2.582 5.282-5.043 5.538.264.271.468.597.598.955.13.358.182.741.155 1.122V21.4c0 .367.196.65.759.54a11.093 11.093 0 0 0 5.88-4.878 11.481 11.481 0 0 0 1.419-7.6 11.34 11.34 0 0 0-3.71-6.746A10.907 10.907 0 0 0 11.053 0Z",fill:"currentColor"})),o=e=>n.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.066.001a11.91 11.91 0 0 1 7.745 2.966 12.326 12.326 0 0 1 4.032 7.33 12.46 12.46 0 0 1-1.54 8.245 12.088 12.088 0 0 1-6.406 5.314l-.105.037-.11.021c-.508.1-1.232.093-1.83-.422-.577-.498-.681-1.166-.681-1.565v-3.008l.004-.053a1.102 1.102 0 0 0-.062-.453 1.058 1.058 0 0 0-.235-.377l-.839-.86-.863.882a.802.802 0 0 0-.224.502l-.015.217v3.183c0 .434-.14 1.029-.628 1.492-.541.514-1.246.62-1.864.505l-.108-.02-.104-.035a12.082 12.082 0 0 1-6.498-5.296 12.457 12.457 0 0 1-1.58-8.298c.45-2.86 1.891-5.471 4.073-7.375A11.909 11.909 0 0 1 12.05.001h.016Zm-10.43 10.54a10.957 10.957 0 0 0 1.39 7.303 10.58 10.58 0 0 0 5.693 4.638c.53.099.717-.238.717-.522v-1.83c-.588.13-1.083.15-1.5.1a2.95 2.95 0 0 1-.542-.117 2.551 2.551 0 0 1-.422-.176 2.362 2.362 0 0 1-.82-.72c-.208-.294-.28-.535-.28-.535a2.876 2.876 0 0 0-1.17-1.58l-.016-.01c-.925-.65.093-.65.093-.65.106.015.21.038.313.068l.017.005a2.172 2.172 0 0 1 .962.603c.122.13.23.276.319.433a2.29 2.29 0 0 0 .68.775h.002s0 .001 0 0a2.211 2.211 0 0 0 2.385.124v-.014a2.302 2.302 0 0 1 .647-1.427 8.754 8.754 0 0 1-1.625-.328 4.865 4.865 0 0 1-1.416-.695 3.883 3.883 0 0 1-.432-.365c-.8-.786-1.328-2.002-1.328-3.899a4.214 4.214 0 0 1 1.08-2.887 4.003 4.003 0 0 1 .104-2.848s.886-.291 2.898 1.103a9.762 9.762 0 0 1 5.28 0c2.011-1.393 2.891-1.103 2.891-1.103.388.893.434 1.902.13 2.828a4.214 4.214 0 0 1 1.08 2.888c0 3.166-1.444 4.44-3.174 4.972a8.617 8.617 0 0 1-1.64.314 2.558 2.558 0 0 1 .699 1.425c.026.184.033.371.02.558v2.955c0 .35.187.62.724.515a10.588 10.588 0 0 0 5.613-4.656 10.958 10.958 0 0 0 1.354-7.254 10.824 10.824 0 0 0-3.541-6.439 10.41 10.41 0 0 0-6.77-2.592 10.408 10.408 0 0 0-6.837 2.563 10.824 10.824 0 0 0-3.578 6.478ZM16.374 7.8a8.003 8.003 0 0 0-.856.524l-.58.401-.679-.19a8.262 8.262 0 0 0-4.469 0l-.68.19-.58-.402a7.982 7.982 0 0 0-.846-.519c.019.186.059.37.12.549l.282.832-.588.653a2.714 2.714 0 0 0-.696 1.86v.024c0 1.724.503 2.513.998 2.937.563.481 1.397.736 2.476.86l1.567.182 1.954-.204c1.082-.112 1.912-.358 2.47-.833.492-.418.999-1.209.999-2.96v-.026a2.714 2.714 0 0 0-.696-1.86l-.582-.647.273-.826c.058-.178.096-.36.113-.545Z",clipRule:"evenodd"}))},1980:(e,t,r)=>{"use strict";r.d(t,{m:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{Q:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{G:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{s1:()=>o,wR:()=>s,QD:()=>f,vn:()=>d,kv:()=>b,uI:()=>h,A9:()=>y,_2:()=>w,Ew:()=>E,Yf:()=>P,oh:()=>C,Ed:()=>N,BE:()=>H,KU:()=>M,WR:()=>G,w9:()=>F,CC:()=>W,AH:()=>X,oz:()=>K,C3:()=>q});var n=r(1504);var l=r(4971);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const o=e=>n.createElement("svg",c(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const{colorMode:t}=(0,Z.U)();return n.createElement("div",{className:(0,l.c)("relative","flex","items-center","justify-center","rounded-full","overflow-hidden","p-px","dark:bg-[#194b3a] bg-[#b7dbff]"),style:{transform:"translateZ(0)"}},n.createElement("div",{className:(0,l.c)("z-[1]","absolute","inset-0","dark:bg-new-badge-border-dark bg-new-badge-border-light","animate-new-badge-border")}),n.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}var R,T;const G=e=>{var{variant:t="landing"}=e,r=B(e,["variant"]);return n.createElement("svg",z(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",U(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{m:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{G:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{o:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{E:()=>p});var n=r(4971),l=r(1504),a=r(9184),c=r(7708),o=r(204);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const s=e=>l.createElement("svg",function(e){for(var t=1;t{const t=l.createElement("div",{className:(0,n.c)("py-6 landing-lg:py-0","flex","flex-col","gap-4","landing-lg:max-w-[224px]")},l.createElement("div",{className:(0,n.c)("font-semibold","text-sm","leading-6","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},"Contacts"),l.createElement("a",{href:"https://wa.me/+919794423031",target:"_blank",className:(0,n.c)("font-normal","text-sm","leading-5","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},"+91 9794423031"),l.createElement("a",{href:"https://mail.google.com/mail/u/0/?fs=1&to=codewithsky@gmail.com&tf=cm",target:"_blank",className:(0,n.c)("font-normal","text-sm","leading-5","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:180,height:40,viewBox:"0 0 180 40",fill:"none"},l.createElement("text",{x:"1",y:"15",fontFamily:"Arial, sans-serif",fontSize:"16",fill:"currentColor"},"codewithsky@gmail.com")))),r=l.createElement("div",{className:(0,n.c)("py-6 landing-lg:py-0","flex","flex-col","landing-sm:items-end")},l.createElement("div",{className:(0,n.c)("flex","flex-col","gap-4")},l.createElement("div",{className:(0,n.c)("text-sm","leading-6","font-semibold","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3","landing-lg:text-right")},"Connect with me on"),l.createElement("div",{className:(0,n.c)("flex","items-center","gap-8","landing-lg:gap-4","justify-start")},c.AR.map((({href:t,icon:r})=>l.createElement("a",{href:t,key:t,target:"_blank",rel:"noreferrer",className:(0,n.c)("landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},l.createElement(r,{className:(0,n.c)("w-6 h-6","landing-lg:w-8 landing-lg:h-8")})))))));return l.createElement("footer",{className:(0,n.c)("w-full")},l.createElement("div",{className:(0,n.c)("border-t border-t-solid","landing"===e&&"border-t-gray-100 dark:border-t-gray-700","blog"===e&&"border-t-refine-react-3 dark:border-t-refine-react-7","landing"===e&&"dark:bg-footer-landing-dark-bg","blog"===e&&"bg-footer-blog-light-bg dark:bg-footer-blog-dark-bg")},l.createElement("div",{className:(0,n.c)("grid","grid-cols-1","max-w-screen-landing-md","landing-lg:max-w-screen-landing-lg","mx-auto")},l.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8 landing-lg:px-12","py-4 landing-lg:py-6","flex","items-center","justify-between")},l.createElement(a.c,{to:"/",className:(0,n.c)("hover:no-underline","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},l.createElement(u.m,null)),l.createElement("a",{href:"https://github.com/sponsors/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,n.c)("hover:no-underline")},l.createElement(s,null))),l.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8 landing-lg:px-12","flex","flex-row","flex-wrap","items-start","justify-start","text-gray-500 dark:text-gray-500")},c.o0),l.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8 landing-lg:px-12","py-6 landing-lg:pt-8 landing-lg:pb-12","flex","flex-row","flex-wrap","items-start","justify-start","gap-6")},l.createElement("div",{className:(0,n.c)("hidden","landing-lg:flex","max-w-[282px]","w-full")},t),c.yw.map((t=>l.createElement("div",{className:(0,n.c)("flex flex-col gap-4","min-w-[152px]"),key:t.label},l.createElement("div",{className:(0,n.c)("text-sm","leading-6","font-semibold","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},t.label),l.createElement("div",{className:(0,n.c)("flex","flex-col","gap-2")},t.items.map((t=>l.createElement("a",d(m({href:t.href,key:t.label},t.href.startsWith("http")?{target:"_blank",rel:"noopener noreferrer"}:{}),{className:(0,n.c)("text-sm","leading-5","hover:no-underline","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300")}),l.createElement("div",{className:(0,n.c)("flex","items-center","gap-2")},t.label,t.icon)))))))),l.createElement("div",{className:(0,n.c)("hidden","landing-lg:flex","ml-auto")},r)),l.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8","grid","grid-cols-1","landing-sm:grid-cols-2","landing-sm:gap-8","landing-lg:hidden")},t,r))),l.createElement("div",{className:(0,n.c)("border-t border-t-solid","landing"===e&&"border-t-gray-100 dark:border-t-gray-700","blog"===e&&"border-t-gray-100 dark:border-t-gray-700","landing"===e&&"bg-gray-50 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-8")},l.createElement("div",{className:(0,n.c)("py-6 landing-sm:py-8 landing-lg:py-6","px-4 landing-sm:px-8 landing-lg:px-12","grid","grid-cols-1","landing-md:grid-cols-2","gap-8","max-w-screen-landing-md","landing-lg:max-w-screen-landing-lg","mx-auto")},l.createElement("div",{className:(0,n.c)("flex","flex-col","landing-sm:flex-row","gap-4","items-start","justify-start")},c.wd.map((t=>l.createElement("a",d(m({href:t.href,key:t.label},t.href.startsWith("http")?{target:"_blank",rel:"noopener noreferrer"}:{}),{className:(0,n.c)("text-sm","leading-5","font-normal","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:no-underline","hover:text-gray-800 dark:hover:text-gray-300")}),t.label)))),l.createElement("div",{className:(0,n.c)("text-left","landing-md:text-right","text-sm","pr-6 landing-sm:pr-0","leading-5","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3","font-normal")},l.createElement("div",{className:(0,n.c)("text-base","text-gray-500 dark:text-gray-400")},"Copyright \xa9 ",(new Date).getFullYear()," PrepVerse"," ",l.createElement(o.Q,{className:"text-refine-red ml-2 inline leading-6"}),l.createElement("br",null),"Built with Docusaurus & Refine.")))))}},6192:(e,t,r)=>{"use strict";r.d(t,{D:()=>f});var n=r(1504),l=r(4971),a=r(9184);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const o=e=>n.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const f=e=>{var{children:t,href:r,className:c,onClick:f,buttonClassname:m}=e,d=u(e,["children","href","className","onClick","buttonClassname"]);const p=r?a.c:"button";return n.createElement(p,s(function(e){for(var t=1;t{"use strict";r.d(t,{c:()=>i});var n=r(4971),l=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const i=e=>{var{className:t,wrapperProps:r}=e,a=o(e,["className","wrapperProps"]);return l.createElement("div",c({role:"status"},r),l.createElement("svg",c({"aria-hidden":"true",width:24,height:24,viewBox:"0 0 100 100",className:(0,n.c)("text-gray-200 animate-spin dark:text-gray-600 fill-refine-blue",t),fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),l.createElement("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),l.createElement("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})),l.createElement("span",{className:"sr-only"},"Loading..."))}},252:(e,t,r)=>{"use strict";r.d(t,{Q:()=>i});var n=r(4971),l=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){for(var t=1;tl.createElement("div",{className:(0,n.c)("w-full h-12","relative","bg-top-announcement","not-prose","font-inter","z-top-announcement")},l.createElement("div",{className:(0,n.c)("hidden lg:flex","w-full h-full","max-w-screen","overflow-hidden","border-b border-solid border-[#47ebeb26]","top-announcement-mask")},l.createElement("div",{className:(0,n.c)("w-[1280px] h-full","mx-auto","flex","justify-between")},l.createElement("div",{className:(0,n.c)("w-[calc(50%-300px)] h-full","relative")},l.createElement(u,{style:{animationDelay:"1.5s"},className:(0,n.c)("absolute","top-[2px]","right-[220px]"),id:"1"}),l.createElement(u,{style:{animationDelay:"1s"},className:(0,n.c)("absolute","rotate-180","top-[8px] right-[100px]"),id:"2"}),l.createElement(f,{className:(0,n.c)("absolute","right-[10px]"),id:"3"})),l.createElement("div",{className:(0,n.c)("w-[calc(50%-300px)] h-full","relative")},l.createElement(u,{style:{animationDelay:"2s"},className:(0,n.c)("absolute","rotate-180","top-[6px] right-[180px]"),id:"4"}),l.createElement(u,{style:{animationDelay:"0.5s"},className:(0,n.c)("delay-[1300]","absolute","top-[2px]","right-[40px]"),id:"5"}),l.createElement(f,{className:(0,n.c)("absolute","right-[-70px]"),id:"6"})))),l.createElement(s,null)),s=()=>l.createElement("a",{href:"https://github.com/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,n.c)("relative lg:absolute","px-2 lg:px-0","top-0","left-[50%]","translate-x-[-50%]","bg-top-announcement-text","h-full w-full lg:w-[450px]","flex items-center justify-center","text-white","text-xs sm:text-sm","text-center","no-underline","hover:no-underline","hover:text-white","not-prose")},l.createElement("div",{className:(0,n.c)("ml-2","not-prose")},"For more updates follow","",l.createElement("span",{className:(0,n.c)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")},"@AkashSingh3031"),".")),u=e=>l.createElement("svg",o(c({xmlns:"http://www.w3.org/2000/svg",width:80,height:40,fill:"none"},e),{className:(0,n.c)("animate-top-announcement-glow","opacity-1",e.className)}),l.createElement("circle",{cx:40,r:40,fill:`url(#${e.id}-a)`,fillOpacity:.5}),l.createElement("defs",null,l.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 40 -40 0 40 0)",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{stopColor:"#47EBEB"}),l.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0})))),f=e=>l.createElement("svg",o(c({xmlns:"http://www.w3.org/2000/svg",width:120,height:48,fill:"none"},e),{className:(0,n.c)("animate-top-announcement-glow","opacity-1",e.className)}),l.createElement("circle",{cx:60,cy:24,r:60,fill:`url(#${e.id}-a)`,fillOpacity:.5}),l.createElement("defs",null,l.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 60 -60 0 60 24)",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{stopColor:"#47EBEB"}),l.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0}))))},2064:(e,t,r)=>{"use strict";r.d(t,{ED:()=>i,Ip:()=>s,_i:()=>m,Mx:()=>u,iG:()=>d,Yv:()=>o,Sm:()=>c,G_:()=>f});var n=r(2411);const l=JSON.parse('{"label":"Tutorial","path_prefix_segment":"tutorial","defaultParameters":{"language":"cpp"},"parameterOptions":{"language":[{"label":"C++","value":"cpp"},{"label":"Python","value":"py"},{"label":"Java","value":"java","status":"coming-soon"}]},"units":[{"title":"DSA","id":"dsa","items":["dsa/:language/index"]}]}');var a=r(1688);const c=l,o=(e,t)=>e.split("/").map((e=>{if(e.startsWith(":")){const r=e.slice(1);return t[r]}return e})).join("/"),i=(e,t)=>{for(const r of c.units)for(const n of r.items)if(e===o(n,t))return r},s=(e,t)=>{let r=!1;for(const n of c.units)for(const l of n.items){if(r)return l;o(l,t)===e&&(r=!0)}},u=(e,t)=>{let r=null;for(const n of c.units)for(const l of n.items){if(o(l,t)===e)return r;r=l}},f=()=>{const{docs:e}=(0,a.E)(),{versions:t}=(0,n.MP)("docusaurus-plugin-content-docs","tutorial"),r=t[0].docs;for(const n of r)n.title=e[n.id].title;return Object.fromEntries(r.map((e=>[e.id,e])))},m=(e,t)=>{const r=t[e];if(!r)throw new Error(`Cannot find item with id ${e}`);return r.path},d=(e,t)=>{const r=t[e];if(!r)throw new Error(`Cannot find doc with id ${e}`);return r.title}},1240:(e,t,r)=>{"use strict";r.d(t,{c:()=>C});var n=r(1504),l=r(4971);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{var a;const c=null!==(a=p[e])&&void 0!==a?a:()=>null;var o;const i=null!==(o=b[e])&&void 0!==o?o:"tex-inherit";var s;const u=null!==(s=g[e])&&void 0!==s?s:"bg-inherit";return"simple"===e?n.createElement(y,{type:e,title:t},r):n.createElement("div",{className:(0,l.c)("rounded-lg","admonition",`admonition-${e}`,"mb-6","refine-wider-container",u)},n.createElement("div",{className:(0,l.c)("border-l-4","border-l-solid","border-l-inherit","rounded-tl-lg","rounded-bl-lg","py-4","pr-4","pl-3","flex flex-col","gap-2 sm:gap-4")},(t||h[e])&&n.createElement("div",{className:(0,l.c)("flex","items-center","gap-2","text-xs sm:text-base 2xl:text-base 2xl:leading-7","font-semibold",i)},n.createElement(c,null),n.createElement("span",{className:"uppercase"},null!==(f=null!=t?t:h[e])&&void 0!==f?f:"")),n.createElement("div",{className:(0,l.c)("text-gray-0","text-base","last:mb-0")},r)));var f},y=({type:e,title:t,children:r})=>{var a;const c=null!==(a=b[e])&&void 0!==a?a:"tex-inherit";var o;const i=null!==(o=g[e])&&void 0!==o?o:"bg-inherit";return n.createElement("div",{className:(0,l.c)("rounded-lg","admonition",`admonition-${e}`,"mb-6",i)},n.createElement("div",{className:(0,l.c)("flex flex-col","gap-2",!t&&"pt-4")},t&&n.createElement("div",{className:(0,l.c)("px-4","pt-4","text-sm","leading-5","-mt-0.5",c)},n.createElement("span",{className:"font-semibold"},null!=t?t:""),n.createElement("span",null,":")),n.createElement("div",{className:(0,l.c)("text-gray-0","text-base","last:mb-0","px-4 pb-4","admonition-content")},r)))};function O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function w(e){for(var t=1;tn.isValidElement(e)&&"mdxAdmonitionTitle"===(null===(t=e.props)||void 0===t?void 0:t.mdxType))),a=n.createElement(n.Fragment,null,r.filter((e=>e!==l)));return{mdxAdmonitionTitle:l,rest:a}}(e.children);var l;return x(w({},e),{title:null!==(l=e.title)&&void 0!==l?l:t,children:r})}const k=e=>{const{children:t,type:r,title:l}=P(e);return n.createElement(v,{type:r,title:l},t)};function C(e){return"info-tip"===e.type?n.createElement(k,e):"additional"===e.type?n.createElement(k,x(w({},e),{type:"note",title:"ADDITIONAL INFO"})):"sourcecode"===e.type?n.createElement(k,x(w({},e),{icon:n.createElement(E,null),title:n.createElement("a",{href:e.path,target:"_blank",rel:"noreferrer",style:{marginLeft:"4px"}},"SOURCE CODE"),titleProps:{style:{marginBottom:"-4px"}}}),e.children):"create-example"===e.type?n.createElement(k,x(w({},e),{type:"caution",icon:n.createElement(j,null),title:n.createElement("span",{style:{marginLeft:"4px"}},"RUN IN YOUR LOCAL")}),e.children):n.createElement(n.Fragment,null,n.createElement(k,e))}},7328:(e,t,r)=>{"use strict";r.d(t,{c:()=>k});var n=r(4971),l=r(1504);const a=({className:e})=>l.createElement("div",{className:(0,n.c)("relative","w-full","landing-md:mx-auto","w-full","pt-4 blog-md:pt-12 pb-6 px-6","bg-white dark:bg-gray-800",e)},l.createElement("div",{className:(0,n.c)("blog-sm:max-w-[592px]","blog-md:max-w-[656px]","blog-lg:max-w-[896px]","blog-max:max-w-[1200px]","w-full","mx-auto","flex","flex-col","items-start justify-start blog-lg:items-center blog-lg:justify-center","gap-4","not-prose")},l.createElement("h2",{className:(0,n.c)("flex","flex-wrap","gap-2","text-[32px] leading-[40px] landing-sm:text-[56px] landing-sm:leading-[72px]")},l.createElement("div",{className:(0,n.c)("dark:text-gray-0 text-gray-900")},"PrepVerse "),l.createElement("div",{className:(0,n.c)("font-semibold","dark:text-refine-green-alt dark:drop-shadow-[0_0_30px_rgba(71,235,235,0.25)]","text-refine-blue drop-shadow-[0_0_30px_rgba(51,51,255,0.3)]","whitespace-nowrap")},"Technical Blog")),l.createElement("p",{className:(0,n.c)("text-base","text-start landing-md:text-center","max-w-[588px]","dark:text-gray-400 text-gray-600","pb-2")},"contains all the DSA, Core Subjects, Web Tech, Data Science & FAANG Interview questions based blogs.")));var c=r(3680),o=r(8480),i=r(6968),s=r(6192),u=r(6112),f=r(9184),m=r(2424),d=r(2276),p=r(2268);function b(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g(e){for(var t=1;t{const[r,n]=(0,l.useState)({scrollDepths:e,scrollY:0}),{scrollDepths:a,scrollY:c}=r;return(0,l.useEffect)((()=>{"undefined"!=typeof window&&0!==window.pageYOffset&&n((e=>h(g({},e),{scrollY:window.pageYOffset})))}),[]),(0,l.useEffect)((()=>{if("undefined"==typeof window)return;const e=()=>window.removeEventListener("scroll",l),l=()=>{const l=document.documentElement,c=document.body,o=l.scrollTop||c.scrollTop,i=l.scrollHeight||c.scrollHeight,s=o/(i-l.clientHeight)*100;if(a){const r=Math.min(...a,i);if(s>=r){const l=a.filter((e=>e!==r));0===l.length&&e(),t&&t({scrollY:r,scrollPercent:s,remainingDepths:l}),n({scrollY:r,scrollDepths:l})}}else n(h(g({},r),{scrollY:s}))};return window.addEventListener("scroll",l),e}),[a,c,r]),{scrollY:c}},y=(e,t)=>{const[r,n]=(0,l.useState)((()=>{if("undefined"==typeof window)return t;try{const r="undefined"!=typeof window?window.localStorage.getItem(e):void 0;return r?JSON.parse(r):t}catch(r){return console.log(r),t}}));return[r,t=>{try{const l=t instanceof Function?t(r):t;n(l),"undefined"!=typeof window&&window.localStorage.setItem(e,JSON.stringify(l))}catch(l){console.log(l)}}]};var O=r(640);const w=({title:e="Click here to discover my latest projects, skills, and achievements on my portfolio website. My journey into creativity begins now!",variant:t="purple",image:r={src:"https://github.com/AkashSingh3031.png",alt:"My Portfolio",href:"https://prepverse.github.io/portfolio"},button:a={text:"Explore Now",href:"https://prepverse.github.io/portfolio",onClick:void 0}})=>{var c,o,i,b;const{pathname:g}=(0,O.IT)(),[h,w]=(0,l.useState)(!1),[x,E]=y("banner-modal",null),j=(0,l.useRef)(!1),P=v();var k,C;return(0,l.useEffect)((()=>{"/blog/"!==g&&"/blog"!==g&&(j.current||h||P.scrollY>79&&P.scrollY<100&&(j.current=!0,9===x||null===x?(w(!0),E(0)):(E(x+1),j.current=!0)))}),[P.scrollY]),(0,l.useEffect)((()=>{h&&"undefined"!=typeof window&&void 0!==window.gtag&&window.gtag("event","view_banner",{banner_name:"banner-modal",banner_text:e,banner_image:r.src})}),[h]),l.createElement(m.O,{appear:!0,show:h,as:l.Fragment},l.createElement(d.C,{as:"div",className:"relative z-modal",onClose:()=>w(!1)},l.createElement(m.O.Child,{as:l.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},l.createElement("div",{className:"fixed inset-0 bg-gray-900/70"})),l.createElement("div",{className:"fixed inset-0 overflow-y-auto"},l.createElement("div",{className:"flex min-h-full items-start justify-center"},l.createElement(m.O.Child,{as:l.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},l.createElement(d.C.Panel,{className:(0,n.c)("w-full min-h-screen","flex flex-col justify-center items-center")},l.createElement("div",{className:(0,n.c)("relative","rounded-3xl","max-w-[576px]","py-8","px-4 md:px-8","gray"===t&&"bg-banner-examples-modal-gray","purple"===t&&"bg-banner-examples-modal-purple")},l.createElement("div",{className:(0,n.c)("flex","flex-col","items-center","gap-8","text-center","not-prose")},l.createElement(f.c,{to:null!==(k=null===(c=r)||void 0===c?void 0:c.href)&&void 0!==k?k:null===(o=a)||void 0===o?void 0:o.href,target:"_blank",rel:"noopener noreferrer",className:(0,n.c)("flex","h-auto xl:h-[192px]","flex-shrink-0","rounded-lg","overflow-hidden","focus:outline-none")},l.createElement("img",{className:(0,n.c)("object-contain"),src:null===(i=r)||void 0===i?void 0:i.src,alt:null!==(C=null===(b=r)||void 0===b?void 0:b.alt)&&void 0!==C?C:e,loading:"lazy"})),l.createElement("p",{className:(0,n.c)("text-2xl","font-semibold","gray"===t&&"bg-clip-text","gray"===t&&"text-transparent","gray"===t&&"bg-banner-examples-text","purple"===t&&"text-gray-0")},e),l.createElement(s.D,{className:(0,n.c)("w-max"),buttonClassname:(0,n.c)("!px-4","!py-4"),href:a.href,onClick:a.onClick,target:"_blank",rel:"noopener noreferrer"},l.createElement("div",{className:(0,n.c)("text-gray-900","text-base","font-bold")},a.text),l.createElement(u.G,{className:(0,n.c)("w-4","h-4")}))),l.createElement("button",{className:(0,n.c)("absolute","top-2 right-2","w-8 h-8","flex items-center justify-center flex-shrink-0","text-gray-0","rounded-full","bg-gray-900/20"),onClick:()=>w(!1)},l.createElement(p.O,{className:"w-4 h-4"})))))))))};var x=r(6280);function E(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function j(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function P(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},a=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const k=e=>{const[t,r]=(0,l.useState)(!1),{children:s,toc:u,showSidebarBanner:f=!0}=e,m=P(e,["children","toc","showSidebarBanner"]),d=v();return(0,l.useEffect)((()=>{t&&(d.scrollY>20&&r(!0),d.scrollY<20&&r(!1))}),[d.scrollY,f]),l.createElement(o.C,j(function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>h});var n=r(1504),l=r(4971),a=r(6684),c=r(5628),o=r(468),i=r(7328);function s(){const{assets:e,metadata:t}=(0,o.g)(),{title:r,description:l,date:c,tags:i,authors:s,frontMatter:u}=t,{keywords:f}=u;var m,d;const p=null!==(d=null!==(m=u.social_image)&&void 0!==m?m:e.image)&&void 0!==d?d:u.image;return n.createElement(a.U7,{title:r,description:l,keywords:f,image:p},n.createElement("meta",{property:"og:type",content:"article"}),n.createElement("meta",{property:"article:published_time",content:c}),s.some((e=>e.url))&&n.createElement("meta",{property:"article:author",content:s.map((e=>e.url)).filter(Boolean).join(",")}),i.length>0&&n.createElement("meta",{property:"article:tag",content:i.map((e=>e.label)).join(",")}))}var u=r(640),f=r(1628);const m=e=>{(0,u.Uz)();const t=(0,u.IT)(),{toc:r,hasTOC:a,activeId:c,setActiveId:o}=p(e.toc),i=e=>{var r;e!==`${null!==(r=t.hash)&&void 0!==r?r:""}`.replace("#","")&&(o(e),window.history.replaceState({},"",`#${e}`))};return n.createElement("div",{className:(0,l.c)("hidden blog-md:block","w-full","sticky right-0 top-[67px]","max-w-[280px]","overflow-auto","h-[calc(100vh-67px)]","px-3","pb-10","pt-4 blog-lg:pt-9","border-l dark:border-l-gray-700 border-l-gray-100",!a&&"invisible","not-prose")},n.createElement(f.us,null),n.createElement("ul",{className:"list-none m-0 p-0 pt-10 mt-1 not-prose"},r.map((e=>n.createElement("li",{key:e.id},n.createElement(d,{id:e.id,value:e.value,activeId:c,level:e.level,onIdChange:i}))))))},d=({id:e,value:t,level:r,activeId:a,onIdChange:c})=>(n.useEffect((()=>{const t=document.getElementById(e);if(t){const r=new IntersectionObserver((t=>{t.forEach((t=>{t.isIntersecting&&c(e)}))}),{rootMargin:"0px 0px -80% 0px"});return r.observe(t),()=>{r.unobserve(t)}}}),[e]),n.createElement("a",{href:`#${e}`,className:(0,l.c)("refine-toc-item",2===r&&"pl-3",3===r&&"pl-7",4===r&&"pl-11","py-2 pr-4",a===e&&"bg-refine-blue-2-light dark:bg-refine-blue-2/10",a===e&&"text-refine-react-light-link dark:text-refine-react-dark-link",a!==e&&"text-refine-react-8 dark:text-refine-react-3",a!==e&&"hover:bg-refine-blue-2-light/40 hover:dark:bg-refine-blue-2/5",a!==e&&"hover:text-refine-react-light-link hover:dark:text-refine-react-dark-link","rounded-[18px]","transition-colors duration-200 ease-in-out","block","text-sm","leading-6","no-underline hover:no-underline"),dangerouslySetInnerHTML:{__html:t}})),p=e=>{var t;const{hash:r}=(0,u.IT)(),l=`${r}`.replace("#",""),[a,c]=n.useState(l);n.useEffect((()=>{c(l)}),[l]);const o=(null===(t=e)||void 0===t?void 0:t.length)>0;return{toc:e,activeId:a,setActiveId:c,hasTOC:o}};var b=r(940);function g({children:e}){const{metadata:t,toc:r}=(0,o.g)(),{relatedPosts:l}=t;return n.createElement(i.c,{toc:n.createElement(m,{toc:r})},n.createElement(f.cN,null,e),n.createElement(f.E$,{title:"Related Articles",posts:l}),n.createElement(b.c,null))}function h(e){const t=e.content;return n.createElement(o.E,{content:e.content,isBlogPostPage:!0},n.createElement(a.cr,{className:(0,l.c)(c.W.wrapper.blogPages,c.W.page.blogPostPage)},n.createElement(s,null),n.createElement(g,null,n.createElement(t,null))))}},8560:(e,t,r)=>{"use strict";r.d(t,{s:()=>D});var n=r(1504),l=r(8952),a=r(8796),c=r(5684),o=r(6564),i=r(2184),s=r(6616),u=r(5952),f=r(4971),m=r(1373);function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function b(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},a=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const g=e=>{var{as:t}=e,r=b(e,["as"]);return n.createElement(t,p(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const[r,l]=(0,n.useState)(!1),a=(0,n.useRef)(void 0),c=(0,n.useCallback)((()=>{try{navigator.clipboard.writeText(e).then((()=>{l(!0),a.current=window.setTimeout((()=>{l(!1)}),1e3)}))}catch(t){}}),[e]);return(0,n.useEffect)((()=>()=>window.clearTimeout(a.current)),[]),n.createElement("button",{type:"button","aria-label":r?"Copied!":"Copy code to clipboard",title:"Copy code to clipboard",className:(0,f.c)("w-6 h-6","flex justify-center items-center","bg-gray-200","dark:bg-gray-800","hover:bg-gray-300","dark:hover:bg-refine-react-dark-code","rounded","group","transition-[background-color] duration-200 ease-in-out"),onClick:c},n.createElement(v,{className:(0,f.c)("w-3 h-3","text-gray-500","dark:text-gray-400",r&&"rotate-[360deg]","transition-all duration-200 ease-in-out")}))};function O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const w=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const r=t?w:E;return n.createElement("button",{type:"button",onClick:()=>e(),className:(0,f.c)("w-6 h-6","flex justify-center items-center","bg-gray-200","dark:bg-gray-800","hover:bg-gray-300","dark:hover:bg-refine-react-dark-code","rounded","group","transition-[background-color] duration-200 ease-in-out"),"aria-label":"Toggle word wrap",title:"Toggle word wrap"},n.createElement(r,{className:(0,f.c)("w-3 h-3","text-gray-500","dark:text-gray-400",t&&"rotate-[360deg]","transition-all duration-200 ease-in-out")}))};function P(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function k(e){for(var t=1;tn.createElement("svg",k({xmlns:"http://www.w3.org/2000/svg",width:12,height:14,viewBox:"0 0 12 14",fill:"none"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M11 4.994V11.6A1.4 1.4 0 0 1 9.6 13H2.4A1.4 1.4 0 0 1 1 11.6V2.4A1.4 1.4 0 0 1 2.4 1h4.606a1.4 1.4 0 0 1 .99.41l2.594 2.594a1.4 1.4 0 0 1 .41.99ZM0 2.4A2.4 2.4 0 0 1 2.4 0h4.606a2.4 2.4 0 0 1 1.697.703l2.594 2.594A2.4 2.4 0 0 1 12 4.994V11.6A2.4 2.4 0 0 1 9.6 14H2.4A2.4 2.4 0 0 1 0 11.6V2.4ZM3.5 6a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5Zm0 2a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5Zm0 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3Z",clipRule:"evenodd"})),N=({children:e,icon:t=n.createElement(A,null)})=>n.createElement("div",{className:(0,f.c)("py-3","px-4","bg-gray-100 dark:bg-gray-700","text-gray-800","dark:text-gray-100","text-xs","flex items-center","gap-2","rounded-tl-lg","rounded-tr-lg")},t,e),S=({children:e,className:t="",metastring:r,title:l,showLineNumbers:a,language:d,icon:p,style:b})=>{const{prism:{defaultLanguage:h,magicComments:v}}=(0,c.y)();var O;const w=null!==(O=null!=d?d:(0,i.K2)(t))&&void 0!==O?O:h,x=(0,o.i)(),E=(0,s._)(),P=(0,i.QH)(r)||l,{lineClassNames:A,code:S}=(0,i.cj)(e,{metastring:r,language:w,magicComments:v}),H=null!=a?a:(0,i.OO)(r);return n.createElement(g,{as:"div",className:(0,f.c)("refine-common-code-block",w&&`language-${w}`,"rounded-lg","bg-gray-200","dark:bg-gray-900","border","border-gray-300","dark:border-0","mb-6","relative","refine-wider-container"),style:b},P&&n.createElement(N,{icon:p},P),n.createElement("div",{className:(0,f.c)("relative","pt-3","pb-0","not-prose")},n.createElement(m.cp,C(k({},m.wB),{theme:x,code:S,language:null!=w?w:"text"}),(({className:e,tokens:t,getLineProps:r,getTokenProps:l})=>n.createElement("pre",{tabIndex:0,ref:E.codeBlockRef,className:(0,f.c)(e,"bg-transparent","!mt-0","!mb-0","m-0","px-0","pt-0","font-jetBrains-mono","pb-3")},n.createElement("code",{className:(0,f.c)("font-[inherit]","bg-transparent","inline-block","min-w-full")},t.map(((e,t)=>n.createElement(u.c,{key:t,line:e,getLineProps:r,getTokenProps:l,classNames:(0,f.c)(A[t],"px-4","text-xs sm:text-sm 2xl:text-sm"),showLineNumbers:H})))))))),n.createElement("div",{className:(0,f.c)("absolute",P?"top-2 right-2":"top-3 right-3","flex items-center gap-2")},(E.isEnabled||E.isCodeScrollable)&&n.createElement(j,{onClick:E.toggle,isEnabled:E.isEnabled}),n.createElement(y,{className:(0,f.c)(),code:S})))};function H(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Z(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},a=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const D=e=>{var{children:t}=e,r=Z(e,["children"]);const c=(0,l.c)(),o=function(e){return n.Children.toArray(e).some((e=>(0,n.isValidElement)(e)))?e:Array.isArray(e)?e.join(""):e}(t),i="string"==typeof o?S:a.c;return n.createElement(i,function(e){for(var t=1;t{"use strict";r.d(t,{c:()=>N});var n=r(1504),l=r(8560),a=r(4971),c=r(9936),o=r(7748),i=r.n(o),s=r(1688);const u="playgroundPreview_jwe9";function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function m({children:e,minHeight:t,url:r="http://localhost:3000",hasBottom:l=!1}){return n.createElement("div",{className:(0,a.c)("flex","flex-col","h-full")},n.createElement("div",{className:(0,a.c)("flex-shrink-0","rounded-tl-lg","rounded-tr-lg","border","border-gray-300 dark:border-gray-700","px-4 py-3","flex items-center justify-start","gap-2","bg-gray-100 dark:bg-gray-700","relative","text-gray-800 dark:text-gray-100","border-b-0")},n.createElement(d,{className:"w-4 h-4"}),n.createElement("div",{className:(0,a.c)("text-xs")},`${r}`.replace(/^http(s?):\/\//,""))),n.createElement("div",{className:(0,a.c)("flex-1","overflow-hidden","bg-gray-100 dark:bg-gray-700","border border-gray-300 dark:border-gray-700",!l&&"rounded-bl-lg rounded-br-lg",l&&"border-b-gray-300 dark:border-b-gray-900",l&&"border-b"),style:{minHeight:t}},e))}const d=e=>n.createElement("svg",function(e){for(var t=1;t{const[l,a]=n.useState(e),[c]=n.useState(t);n.useEffect((()=>{!l&&e&&a(!0)}),[e]),n.useEffect((()=>{if(c){const e=setTimeout((()=>{a(!0)}),c);return()=>clearTimeout(e)}}),[c]);const o=n.useMemo((()=>l&&"function"==typeof r?r():null),[l]);if(void 0!==r&&"function"!=typeof r)throw new Error("Conditional component requires a function as a child");return o};var g=r(9128),h=r(3296);function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.g.Buffer=r.g.Buffer||h.Sn;const y=({query:e,code:t,css:r})=>{const{siteConfig:{customFields:l}}=(0,c.c)(),[a,o]=n.useState(void 0),s=n.useCallback((async t=>{if("undefined"!=typeof window&&window.Worker){const n=new Worker(`${location.protocol}//${location.host}/workers/lz-worker.js`);n.onmessage=function({data:t}){t.compressed&&o(`${l.LIVE_PREVIEW_URL}?code=${t.compressed}${r?`&css=${i().encode(r)}`:""}${e?`${e}`:""}`),n.terminate()},n.postMessage({code:t})}}),[e]);return n.useEffect((()=>{s(t)}),[t,s]),a?n.createElement("iframe",{loading:"lazy",src:a,width:"100%",height:"100%",style:{position:"absolute",left:0,top:0,width:"100%",height:"100%"}}):null},O=n.memo(y,((e,t)=>e.code===t.code&&e.query===t.query&&e.css===t.css)),w=e=>n.createElement("svg",function(e){for(var t=1;t{l?(i(!1),setTimeout((()=>{c((e=>!e)),setTimeout((()=>{i(!0)}),300)}),100)):(i(!1),c((e=>!e)),setTimeout((()=>{i(!0)}),300))}},n.createElement(w,{className:(0,a.c)(l&&"rotate-180","transition-transform","duration-200","ease-in-out")}),n.createElement("span",{className:(0,a.c)("text-base","block","overflow-hidden","h-6")},n.createElement("span",{className:(0,a.c)("block",l&&"opacity-0","transition-opacity duration-200 ease-in-out")},"Show Code"),n.createElement("span",{className:(0,a.c)("block","transition-transform duration-200 ease-in-out","bg-gray-100 dark:bg-gray-700",l&&"-translate-y-6")},"Hide Code"))),n.createElement("div",{className:(0,a.c)("rounded-bl-lg","rounded-br-lg"),style:{maxHeight:l?o?"unset":"100vh":"0px",transition:"0.3s all ease-in-out",overflow:"hidden"},ref:r},n.createElement(N,{language:"tsx",style:{marginBottom:0,marginRight:"0",marginLeft:"0",borderTopLeftRadius:"0",borderTopRightRadius:"0",borderBottomLeftRadius:"0.5rem",borderBottomRightRadius:"0.5rem"}},t)))}const E=({children:e,disableScroll:t,previewHeight:r,hideCode:l=!1,url:o="http://localhost:3000",previewOnly:i=!1,tailwind:f=!1})=>{const d=String(e),{shared:h,sharedCss:v}=(0,g.UF)(),{visible:y}=(e=>{const t="// visible-block-start";let r=e.indexOf(t);r=r>0?r+22:0;let n=e.indexOf("// visible-block-end");n=n>0?n:e.length;const l=e.slice(0,r),a=e.slice(r,n).trimEnd().trimStart(),c=e.slice(n);return{visible:a,join:e=>`${l}\n${e}\n${c}`}})(`\n ${null!=h?h:""}\n ${d}\n `.replace(/\n$/,"")),w=n.useRef(null),E=(0,p.c)(w),{siteConfig:{customFields:j}}=(0,c.c)(),{isLast:P}=(0,s.E)();return n.createElement("div",{className:(0,a.c)("overflow-hidden","mb-6","refine-wider-container")},n.createElement(n.Fragment,null,n.createElement(m,{url:o,hasBottom:!i},n.createElement("div",{className:(0,a.c)(u,"live-editor-wrapper"),style:{maxHeight:r,minHeight:r,overflow:t?"hidden":void 0,position:"relative"},ref:w},P?n.createElement(b,{if:E,maxWait:3e3},(()=>n.createElement(O,{code:`\n${null!=h?h:""}\n${d}\n `,css:v,query:`${t?"&disableScroll=true":""}${f?"&tailwind=true":""}`}))):n.createElement("div",{style:{height:"100%",minHeight:"inherit",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"1.25rem"}},n.createElement("span",null,"Live previews only work with the latest documentation.")))),!i&&n.createElement(x,{hidden:l,code:y})))},j=n.memo(E,((e,t)=>String(e.children)===String(t.children))),P=({children:e})=>{const{setShared:t}=(0,g.UF)();return n.useEffect((()=>(t(String(e)),()=>{t(void 0)})),[e]),null},k=n.memo(P,((e,t)=>String(e.children)===String(t.children))),C=({children:e})=>{const{setSharedCss:t}=(0,g.UF)();return n.useEffect((()=>(t(String(e)),()=>{t(void 0)})),[e]),null},A=n.memo(C,((e,t)=>String(e.children)===String(t.children)));function N(e){var t,r;return e.live&&e.live&&(null===(r=e.className)||void 0===r||null===(t=r.includes)||void 0===t?void 0:t.call(r,"language-css"))?n.createElement(A,e):e.shared&&e.live?n.createElement(k,e):e.live?n.createElement(j,e):n.createElement(l.s,e)}},3704:(e,t,r)=>{"use strict";r.d(t,{c:()=>f});var n=r(1504),l=r(9184),a=r(1724);const c=e=>{var t,r,n,l,c,o;let i="noopener noreferrer nofollow";const s=(0,a.c)(e);return(null===(r=e)||void 0===r||null===(t=r.includes)||void 0===t?void 0:t.call(r,"github.com/refinedev/refine"))&&(i="noopener"),(s||(null===(l=e)||void 0===l||null===(n=l.includes)||void 0===n?void 0:n.call(l,"refine.dev")))&&(i="noopener dofollow"),(s||(null===(o=e)||void 0===o||null===(c=o.includes)||void 0===c?void 0:c.call(o,"reactadminpanel.com")))&&(i="noopener dofollow"),i};var o=r(640);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e){for(var t=1;t{"use strict";r.d(t,{c:()=>ot});var n=r(7584),l=r(1504),a=r(4971),c=r(6192),o=r(6112),i=r(9184);const s=({title:e,description:t,image:r,variant:n="purple",button:s={text:"Explore Now",href:"https://prepverse.github.io/portfolio",onClick:void 0},bannerName:u})=>{var f,m,d,p,b,g;return l.useEffect((()=>{"undefined"!=typeof window&&void 0!==window.gtag&&u&&window.gtag("event","view_banner",{banner_name:u,banner_text:e,banner_description:t,banner_image:r.src})}),[u]),l.createElement("div",{className:(0,a.c)("relative","rounded-2xl","p-6","flex","flex-col 2xl:flex-row","items-center","gap-4 2xl:gap-10","not-prose","gray"===n&&"bg-banner-examples-gray","purple"===n&&"bg-banner-examples-purple")},l.createElement(i.c,{to:null!==(b=null===(f=r)||void 0===f?void 0:f.href)&&void 0!==b?b:null===(m=s)||void 0===m?void 0:m.href,target:"_blank",rel:"noopener noreferrer",className:(0,a.c)("flex","max-w-[360px]","h-auto","flex-shrink-0","rounded-lg","overflow-hidden")},l.createElement("img",{src:null===(d=r)||void 0===d?void 0:d.src,alt:null!==(g=null===(p=r)||void 0===p?void 0:p.alt)&&void 0!==g?g:e,loading:"lazy"})),l.createElement("div",{className:(0,a.c)("flex","flex-col","gap-6","justify-center 2xl:justify-start","items-center 2xl:items-start","text-center 2xl:text-start","not-prose")},e&&l.createElement("h2",{className:(0,a.c)("text-xl md:text-2xl","text-gray-0")},e),l.createElement("p",{className:(0,a.c)("text-sm md:text-base","text-gray-100")},t),l.createElement(c.D,{className:(0,a.c)("w-max"),buttonClassname:(0,a.c)("!px-4","!py-2"),href:s.href,onClick:s.onClick,target:"_blank",rel:"noopener noreferrer"},l.createElement("div",{className:(0,a.c)("text-gray-900","text-sm md:text-base","font-bold")},s.text),l.createElement(o.G,{className:(0,a.c)("ml-1 md:ml-2","w-[14px] h-[14px]","md:w-4 md:h-4")}))))},u=({title:e="My Portfolio",description:t="Click here to discover my latest projects, skills, and achievements on my portfolio website. My journey into creativity begins now!",button:r={text:"Explore Now",href:"https://prepverse.github.io/portfolio?ref=banner-retool-alternative",onClick:void 0}})=>(l.useEffect((()=>{"undefined"!=typeof window&&void 0!==window.gtag&&e&&t&&window.gtag("event","view_banner",{banner_name:"banner-retool-alternative",banner_text:e,banner_description:t})}),[e,t]),l.createElement("div",{className:(0,a.c)("relative","rounded-2xl","p-8","flex","flex-col","justify-center","items-center","not-prose","bg-banner-examples-gray")},l.createElement("h2",{className:(0,a.c)("text-2xl","font-semibold","bg-banner-examples-text","bg-clip-text","text-transparent")},e),l.createElement("p",{className:(0,a.c)("mt-2","text-sm","text-gray-300")},t),l.createElement(c.D,{className:(0,a.c)("mt-9"),href:r.href,onClick:r.onClick,target:"_blank",rel:"noopener noreferrer"},l.createElement("div",{className:(0,a.c)("text-gray-900","text-base","font-bold")},r.text))));var f=r(8164);const m=[],d=Math.floor(Math.random()*(m.length+1));var p=r(4752),b=r(7396);const g=({image:e,title:t,description:r,isDark:n})=>{let a;a="refineNew"===r?l.createElement("div",null," ",l.createElement("a",{href:"https://s.refine.dev/new-blog",target:"_blank"},"refine.new")," ","enables you to create React-based, headless UI enterprise applications within your browser that you can preview, tweak and download instantly.",l.createElement("br",null),l.createElement("br",null),"\ud83d\ude80 By visually combining options for your preferred \u2728",l.createElement("b",null," React platform,")," \u2728 ",l.createElement("b",null,"UI framework"),", \u2728"," ",l.createElement("b",null,"backend connector"),", and \u2728 ",l.createElement("b",null,"auth provider"),"; you can create tailor-made architectures for your project in seconds. It feels like having access to thousands of project templates at your fingertips, allowing you to choose the one that best suits your needs!",l.createElement("br",null),l.createElement("br",null),l.createElement("br",null)):null!=r?r:l.createElement("div",null,"Meet the headless, React-based solution to build sleek"," ",l.createElement("b",null,"CRUD")," applications. With refine, you can be confident that your codebase will always stay clean and boilerplate-free.",l.createElement("br",null),l.createElement("br",null),"Try"," ",l.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank"},"PrepVerse")," ","to rapidly build your next ",l.createElement("b",null,"CRUD")," project, whether ","it's"," ","an admin panel, dashboard, internal tool or storefront.");const c=null!=e?e:"https://refine.ams3.cdn.digitaloceanspaces.com/website/static/img/generic_banner.png";c.startsWith("http")||c.startsWith("/");return l.createElement("a",{href:"https://s.refine.dev/hackathon2",target:"_blank",rel:"noreferrer"},l.createElement("img",{src:"https://refine.ams3.cdn.digitaloceanspaces.com/hackathon-2/hackathon_cover.png"}))};var h=r(5524),v=r(3896),y=r(3376),O=r(8840);function w(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const x=e=>l.createElement("svg",function(e){for(var t=1;t{var t,r,n;const c=l.useRef(!1),{id:o}=(0,y.U)(),[i,s]=l.useState(!1),{items:u}=(0,O.GC)(),{reward:f}=(0,v.yh)(`checklist-${o}`,"confetti",{angle:90,elementCount:120,startVelocity:30,decay:.95,spread:100,position:"absolute",lifetime:150}),m=null===(n=u.find((e=>e.id===o)))||void 0===n||null===(t=(r=n.checklist).every)||void 0===t?void 0:t.call(r,(e=>e.checked));return l.useEffect((()=>{setTimeout((()=>{c.current=!0}),1e3)}),[]),l.useEffect((()=>{!i&&m&&c.current&&(s(!0),f())}),[m,i]),l.createElement("div",{className:(0,a.c)("rounded-lg","border-l-gray-400 dark:border-l-gray-600","dark:bg-gray-800 bg-gray-50")},l.createElement("div",{className:(0,a.c)("border-l-4","border-l-solid","border-l-inherit","rounded-tl-lg","rounded-bl-lg","p-4","flex flex-col")},l.createElement("div",{className:"border-b border-gray-400 dark:border-gray-500 border-opacity-50 dark:border-opacity-50"},l.createElement("div",{className:(0,a.c)("not-prose","mt-0 mb-4","flex items-center","gap-2")},l.createElement(x,{className:(0,a.c)("w-4 h-4","dark:text-gray-100 text-gray-800")}),l.createElement("h3",{className:(0,a.c)("m-0 p-0","font-semibold","dark:text-gray-100 text-gray-800","uppercase","text-base leading-6")},"Checklist"))),l.createElement("div",null,e),l.createElement("div",{className:"flex items-center justify-center"},l.createElement("div",{id:`checklist-${o}`}))))};function j(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const P=e=>l.createElement("svg",function(e){for(var t=1;t{var r,n,c,o;const{id:i}=(0,y.U)(),{items:s,toggle:u}=(0,O.GC)(),f=null===(r=null===(o=s.find((e=>e.id===i)))||void 0===o||null===(n=(c=o.checklist).find)||void 0===n?void 0:n.call(c,(e=>e.id===t)))||void 0===r?void 0:r.checked;return l.createElement("label",{className:(0,a.c)("mt-4","flex","items-center justify-start","flex-nowrap","gap-2","cursor-pointer")},l.createElement("div",{className:"flex-shrink-0"},l.createElement("button",{type:"button",onClick:()=>{u(i,t)},className:(0,a.c)("appearance-none","flex items-center justify-center","w-4 h-4","rounded","border",{"border-gray-400 dark:border-gray-500":!f,"border-refine-react-dark-link dark:border-refine-react-dark-link":f,"bg-refine-react-dark-link":f})},f&&l.createElement(P,null))),l.createElement("div",{className:(0,a.c)(f&&"line-through dark:text-gray-100 dark:text-opacity-50 text-gray-800 text-opacity-50",!f&&"text-gray-800 dark:text-gray-100")},e))};var C=r(8560),A=r(2108);const N=({path:e})=>l.createElement(C.s,{language:"bash",title:"Run on your local",icon:l.createElement(A.G,null)},`npm create refine-app@latest -- --example ${e}`);var S=r(5792);const H=({path:e})=>l.createElement("div",{className:(0,a.c)("refine-wider-container","py-2","px-2","text-base","font-sans","flex items-center","gap-2","rounded-lg","dark:bg-gray-700","bg-gray-100","mb-6")},l.createElement(S.A,{className:"ml-1.5 w-5 h-5 text-gray-800 dark:text-gray-100"}),l.createElement("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:(0,a.c)("text-base","leading-8","text-refine-react-light-link dark:text-refine-react-dark-link")},l.createElement("span",null,"View Source Code"))),Z=({path:e})=>{const t=`https://github.com/PrepVerse/PrepVerse/tree/master/examples/${e}`;return l.createElement(H,{path:t})},D=({path:e,hideSource:t,hideLocal:r,hideSandbox:n})=>{const a=`${`https://codesandbox.io/embed/github/refinedev/refine/tree/master/examples/${e}`}?view=preview&theme=dark&runonclick=1&codemirror=1`;return l.createElement("div",null,!t&&l.createElement(Z,{path:e}),!r&&l.createElement(N,{path:e}),!n&&l.createElement("iframe",{loading:"lazy",src:a,style:{width:"100%",height:"80vh",border:"0px",borderRadius:"8px",overflow:"hidden"},title:e,allow:"accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking",sandbox:"allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"}))};var M=r(1240),L=r(7916);const z=()=>l.createElement("div",null,l.createElement(M.c,{type:"simple",title:"Good to know"},l.createElement(L.s,null,"\nAll the data related hooks (useTable, useForm, useList etc.) of Refine can be given some common properties like `resource`, `meta` etc.\n\nFor more information, refer to the [General Concepts documentation](/docs/guides-concepts/general-concepts).\n"))),B=({children:e,content:t})=>l.createElement("div",{className:(0,a.c)("refine-info-badge","relative","group","inline-flex","align-middle")},e,l.createElement("div",{className:(0,a.c)("absolute","-left-1","top-0","translate-x-0","-translate-y-0","scale-0","group-hover:scale-100","group-hover:-translate-y-full","transition-transform","origin-top-left","pb-2","w-60","pointer-events-none")},l.createElement("div",{className:(0,a.c)("text-xs","text-gray-600","bg-gray-0","border","border-gray-200","shadow-sm","rounded","py-1","px-2","font-normal")},null!=t?t:"Check the guide for more information"))),R=({id:e,icon:t,color:r,text:n,description:c})=>{const o=(0,a.c)("orange"===r&&(0,a.c)("bg-refine-react-light-orange-bg dark:bg-refine-react-dark-orange","dark:bg-opacity-[0.15]","text-refine-react-light-orange dark:text-refine-react-dark-orange"),"green"===r&&(0,a.c)("bg-refine-react-light-green-bg dark:bg-refine-react-dark-green","dark:bg-opacity-[0.15]","text-refine-react-light-green dark:text-refine-react-dark-green"),"purple"===r&&(0,a.c)("bg-refine-react-light-purple-bg dark:bg-refine-react-dark-purple","dark:bg-opacity-[0.15]","text-refine-react-light-purple dark:text-refine-react-dark-purple"));return l.createElement(B,{content:c},l.createElement(i.c,{to:`/docs/${e}`,className:(0,a.c)("-mt-px","rounded-[10px]","inline-flex","items-center","justify-center","text-sm","no-underline","gap-1.5","[&>svg]:hover:scale-110","[&>svg]:transition-transform [&>svg]:duration-200 [&>svg]:ease-in-out",o)},t,n&&l.createElement("span",{className:"text-xs leading-[0.875rem]"},n)))};function T(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const G=e=>l.createElement("svg",function(e){for(var t=1;tl.createElement("svg",function(e){for(var t=1;tr?l.createElement("div",{className:(0,a.c)("inline-flex","text-sm","py-0.5","px-2","rounded-xl","bg-refine-orange","bg-opacity-10","text-refine-orange","tracking-wide","align-middle","font-normal","mr-1"),title:o},null!=e?e:"deprecated"):t?l.createElement("div",{className:(0,a.c)("inline-flex","justify-center items-center","text-sm","text-refine-red","rounded-full","bg-refine-red bg-opacity-10","ml-1","w-6 h-6","align-middle")},null!=e?e:"\ufe61"):n?l.createElement("div",{className:(0,a.c)("inline-flex","text-sm","py-0.5","px-2","rounded-xl","bg-refine-red","bg-opacity-10","text-refine-red","tracking-wide","align-middle","font-normal","mr-1"),title:o},null!=e?e:"required"):c?l.createElement("div",{className:(0,a.c)("inline-flex","text-sm","py-0.5","px-2","rounded-xl","bg-refine-green","bg-opacity-10","text-refine-green","tracking-wide","align-middle","font-normal","mr-1"),title:o},null!=e?e:"featured"):e?l.createElement("div",{className:(0,a.c)("inline","text-gray-0","text-xs","leading-6","py-0.5","px-2","rounded","bg-gray-800","tracking-wide","align-middle","mr-1"),title:o},e):null,W="tooltip__Ymd",I="tooltipContainer_l6r7",U="tooltipContent_UeXm",X="tooltipArrow_mOyh",J=({label:e,children:t})=>e?l.createElement("div",{className:`${W} group`},t,l.createElement("div",{className:`${I} group-hover:visible`},l.createElement("span",{className:U},e),l.createElement("div",{className:X}))):l.createElement(l.Fragment,null,t);function K(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},a=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const Q=({prop:e,overrides:t})=>{var r,n,a;const c=null!==(a=t[`${e.name}-required`])&&void 0!==a?a:e.required;var o;const i=null!==(o=t[`${e.name}-deprecated`])&&void 0!==o?o:null===(r=e.tags)||void 0===r?void 0:r.deprecated;var s,u;const f=null!==(u=null!==(s=t[`${e.name}-deprecated`])&&void 0!==s?s:null===(n=e.tags)||void 0===n?void 0:n.deprecated)&&void 0!==u?u:"",m=(0,l.useMemo)((()=>{const e="props-table--name";return i?`${e} props-table--name__deprecated`:e}),[e,t]),d=(0,l.useMemo)((()=>f?l.createElement(L.s,null,f):null),[e,t]);var p;return l.createElement(J,{label:d},l.createElement(l.Fragment,null,l.createElement("span",{className:m},null!==(p=t[`${e.name}-name`])&&void 0!==p?p:e.name),c&&l.createElement(Y,{asterisk:!0})))},q=({prop:e,overrides:t})=>{var r;const n=null!==(r=t[`${e.name}-type`])&&void 0!==r?r:e.type.name,a=n.split(" | "),c=a.length>1,o=a.some((e=>e.length>20)),i=/`/.test(n);return l.createElement(l.Fragment,null,i?l.createElement(L.s,null,n):o&&c?l.createElement(l.Fragment,null,a.map(((e,t)=>l.createElement("code",{className:"max-w-xs h-min",key:t},l.createElement(L.s,null,e))))):l.createElement("code",{className:"max-w-xs h-min"},l.createElement(L.s,null,n)))},_=({prop:e,overrides:t})=>{var r,n;return l.createElement(L.s,null,null!==(n=null!==(r=t[`${e.name}-description`])&&void 0!==r?r:e.tags.description)&&void 0!==n?n:e.description)},$=({prop:e,overrides:t})=>{var r,n,a,c;const o=null===(r=e.tags)||void 0===r?void 0:r.default,i=(null===(n=e.defaultValue)||void 0===n?void 0:n.value)&&(null===(a=e.defaultValue)||void 0===a?void 0:a.value)!==o?null===(c=e.defaultValue)||void 0===c?void 0:c.value:void 0,s=t[`${e.name}-default`];return o||s?l.createElement(L.s,null,null!=s?s:o):l.createElement("div",{className:"flex flex-wrap gap-1"},void 0!==i?l.createElement("code",{className:"max-w-xs h-min"},l.createElement(L.s,null,i)):null)},ee=({prop:e,overrides:t})=>l.createElement("td",null,l.createElement("div",{className:"flex items-center"},l.createElement(Q,{prop:e,overrides:t}))),te=({prop:e,overrides:t})=>l.createElement("td",{className:"props-table__type-cell"},l.createElement("div",{className:"flex flex-wrap gap-1"},l.createElement(q,{prop:e,overrides:t}))),re=({prop:e,overrides:t})=>l.createElement("td",{className:"props-table__description-cell"},l.createElement(_,{prop:e,overrides:t})),ne=({prop:e,overrides:t})=>l.createElement("td",{className:"props-table__default-value-cell"},l.createElement($,{prop:e,overrides:t})),le=e=>{var{module:t,hideDefaults:n,children:a}=e,c=K(e,["module","hideDefaults","children"]);const o=((e,t="@refinedev/")=>{const[n,a]=(0,l.useState)(null);return(0,l.useEffect)((()=>{let n=!1;return r(6324)(`./${e.startsWith(t)?e:`${t}${e}`}.json`).then((e=>{n||(n=!0,a(e.default))})).catch(console.warn),()=>{n=!0}}),[e]),n})(t),i=(0,l.useMemo)((()=>{var e;if(n)return!1;if(Object.keys(c).some((e=>e.endsWith("-default"))))return!1;var t;return!Object.values(null!==(t=null===(e=o)||void 0===e?void 0:e.props)&&void 0!==t?t:{}).some((e=>{var t;return null===(t=e.defaultValue)||void 0===t?void 0:t.value}))}),[c]);if(!o)return null;const s=[...Object.values(o.props)];return l.createElement("div",{className:"table-container"},l.createElement("table",{className:"props-table"},l.createElement("thead",null,l.createElement("tr",null,l.createElement("th",null,"Property"),l.createElement("th",null,"Type"),l.createElement("th",null,"Description"),i?null:l.createElement("th",null,"Default"))),l.createElement("tbody",null,s.map((e=>c[`${e.name}-hidden`]?null:l.createElement("tr",{key:e.name},l.createElement(ee,{prop:e,overrides:c}),l.createElement(te,{prop:e,overrides:c}),l.createElement(re,{prop:e,overrides:c}),i?null:l.createElement(ne,{prop:e,overrides:c})))))),a)};function ae(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ce=e=>l.createElement("svg",function(e){for(var t=1;t{const{current:r}=(0,oe.U)();return e&&r===e?l.createElement(l.Fragment,null,t):null};var se=r(8530);function ue(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fe(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const me=e=>{var t;const r=l.Children.toArray(e.children),n=r.find((e=>l.isValidElement(e)&&"summary"===(null===(t=e.props)||void 0===t?void 0:t.mdxType))),c=l.createElement(l.Fragment,null,r.filter((e=>e!==n)));return l.createElement(se.S,fe(function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const ge=e=>{var{children:t,className:r}=e,n=be(e,["children","className"]);return l.createElement("summary",function(e){for(var t=1;t{const t=e.currentTarget,l=s.indexOf(t),a=c[l].value;a!==r&&(u(t),n(a))},m=e=>{var t,r;let n=null;switch(e.key){case"Enter":f(e);break;case"ArrowRight":{const t=s.indexOf(e.currentTarget)+1;var l;n=null!==(l=s[t])&&void 0!==l?l:s[0];break}case"ArrowLeft":{const t=s.indexOf(e.currentTarget)-1;var a;n=null!==(a=s[t])&&void 0!==a?a:s[s.length-1];break}}null===(r=n)||void 0===r||null===(t=r.focus)||void 0===t||t.call(r)};return l.createElement("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,a.c)(e,"!my-0","flex-wrap","list-none","m-0 mb-0 mt-0","px-4","flex gap-4","bg-gray-100 dark:bg-gray-700","rounded-tl-lg rounded-tr-lg",!o&&"rounded-bl-lg rounded-br-lg","items-stretch")},c.map((({value:e,label:t,attributes:n})=>l.createElement("li",xe(we({role:"tab",tabIndex:r===e?0:-1,"aria-selected":r===e,key:e,ref:e=>s.push(e),onKeyDown:m,onClick:f},n),{className:(0,a.c)("!my-0","mx-0 mt-0","px-2 py-3","flex items-center justify-center","min-w-[60px]","cursor-pointer","transition-all duration-200 ease-in-out","border-b border-solid","select-none",i&&"!text-xs",!i&&"!text-base",r!==e&&"text-gray-800 dark:text-gray-100",r===e&&"text-refine-react-light-link dark:text-refine-react-dark-link",r!==e&&"hover:text-refine-react-light-link dark:hover:text-refine-react-dark-link",r!==e&&"border-b-transparent",r===e&&"border-b-refine-react-light-link dark:border-b-refine-react-dark-link",r!==e&&"hover:border-b-refine-react-light-link dark:hover:border-b-refine-react-dark-link")}),null!=t?t:e))))}function je({lazy:e,children:t,selectedValue:r,smallTabs:n}){const c=(Array.isArray(t)?t:[t]).filter(Boolean);if(e){const e=c.find((e=>e.props.value===r));return e?(0,l.cloneElement)(e,{className:"margin-top--md refine-tab-content"}):null}var o;return l.createElement("div",{className:"p-4"},c.map(((e,t)=>(0,l.cloneElement)(e,{key:t,hidden:e.props.value!==r,className:(0,a.c)(null!==(o=e.props.className)&&void 0!==o?o:[],"refine-tab-content")}))))}function Pe(e){const t=(0,ve.a)(e),{wrapContent:r=!0}=e;return l.createElement("div",{className:(0,a.c)("tabs-container","rounded-lg","border-gray-300 dark:border-gray-700",r?"border":"border-0","mb-6","refine-wider-container")},l.createElement(Ee,we({},e,t)),l.createElement(je,we({},e,t)))}function ke(e){const t=(0,ye.c)();return l.createElement(Pe,we({key:String(t)},e))}function Ce(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ae(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},a=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}var Ne=r(4472),Se=r(4896),He=r(1488),Ze=r(8620),De=r(6076),Me=r(9072);function Le(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ze=e=>l.createElement("svg",function(e){for(var t=1;tl.createElement("svg",function(e){for(var t=1;t{var t,r;const[n,c]=(0,l.useState)(!1),{refs:o,floatingStyles:i,context:s}=(0,Ne.gR)({placement:"bottom-start",open:e.isOpen,onOpenChange:e.onOpenChange,whileElementsMounted:Se.kN,middleware:[(0,He.E3)((({middlewareData:e})=>{var t;return(null===(t=e)||void 0===t?void 0:t.flip)?{mainAxis:12}:{mainAxis:52}})),(0,Se.EB)((({placement:e})=>(e.includes("bottom")&&c(!1),e.includes("top")&&c(!0),{fallbackPlacements:["top-start"]})))]}),u=(0,Ne.ug)(s,{outsidePress:e=>!(null===(r=e.target)||void 0===r||null===(t=r.closest)||void 0===t?void 0:t.call(r,".widget-actions"))}),{getReferenceProps:f,getFloatingProps:m}=(0,Ne.M3)([u]);return l.createElement(l.Fragment,null,l.createElement("div",Xe(Ue({ref:o.setReference},f()),{style:{position:"absolute",top:"0",left:0}})),l.createElement(Ze.I,null,s.open&&l.createElement(De.q.div,Xe(Ue({initial:{opacity:0},animate:{opacity:1,transition:{duration:.2}},exit:{opacity:0},ref:o.setFloating,style:i},m()),{className:(0,a.c)("w-[320px]","bg-[#EAEBEF] dark:bg-refine-react-dark-code","border border-[#E3E4E5] dark:border-[#343A46]","rounded-[20px]","relative")}),e.children,l.createElement(Ke,{style:Ue({position:"absolute",top:n?"unset":"-10px",bottom:n?"-10px":"unset",transform:n?"rotate(180deg)":"rotate(0deg)",transition:"right 0.2s ease-in-out",willChange:"right"},e.arrowStyle)}))))},Ke=e=>{const{colorMode:t}=(0,Me.U)(),r="dark"===t;return l.createElement("svg",Ue({xmlns:"http://www.w3.org/2000/svg",width:42,height:18,viewBox:"0 0 42 18",fill:"none"},e),l.createElement("title",null,"Popover Pointer"),l.createElement("path",{fill:r?"#16181D":"#EAEBEF",stroke:"url(#a)",d:"M18.303 2.077C18.892 1.105 19.9.5 21 .5s2.108.605 2.697 1.577l3.026 4.992c.928 1.532 2.476 2.431 4.11 2.431H41.5v8H.5v-8h10.667c1.634 0 3.182-.899 4.11-2.431l3.026-4.992Z"}),l.createElement("defs",null,l.createElement("linearGradient",{id:"a",x1:21,x2:21,y1:1,y2:16,gradientUnits:"userSpaceOnUse"},l.createElement("stop",{offset:.59,stopColor:r?"#343A46":"#E3E4E5"}),l.createElement("stop",{offset:.602,stopColor:r?"#343A46":"#E3E4E5",stopOpacity:0}))))},Qe={UP:1,DOWN:2};function qe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _e(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}var $e;var et=r(7500),tt=r(9104);var rt=r(9092);var nt=r(5560);function lt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function at(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function ct(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ot=(it=function(e){for(var t=1;t{var{className:t}=e,r=Ae(e,["className"]);return l.createElement("blockquote",function(e){for(var t=1;td===m.length?l.createElement(f.c,null,(()=>l.createElement(u,null))):l.createElement(f.c,null,(()=>l.createElement(s,m[d]))),GuideBadge:({id:e,description:t="Please check the guide for more information on this topic.",text:r})=>l.createElement(R,{id:e,color:"green",icon:l.createElement(F,null),text:r,description:l.createElement(l.Fragment,null,l.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Check the guide"),l.createElement("div",{className:"text-xs"},t))}),RouterBadge:({id:e="guides-concepts/routing/",description:t="This value can be inferred from the route. Click to see the guide for more information.",text:r})=>l.createElement(R,{id:e,color:"orange",text:r,icon:l.createElement(ce,null),description:l.createElement(l.Fragment,null,l.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Router Integrated"),l.createElement("div",{className:"text-xs"},t))}),GlobalConfigBadge:({id:e="core/refine-component",description:t="This value can be configured globally. Click to see the guide for more information.",text:r})=>l.createElement(R,{color:"purple",icon:l.createElement(G,null),text:r,id:e,description:l.createElement(l.Fragment,null,l.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Globally Configurable"),l.createElement("div",{className:"text-xs"},t))}),Image:e=>l.createElement("img",_e(function(e){for(var t=1;t{const t=e?`-- ${e}`:"",r={npm:`npm create refine-app@latest ${t}`,pnpm:`pnpm create refine-app@latest ${t}`,yarn:`yarn create refine-app@latest ${t}`};return l.createElement(ke,null,l.createElement(tt.c,{value:"npm",label:"npm",default:!0},l.createElement(C.s,{className:"language-bash"},r.npm)),l.createElement(tt.c,{value:"pnpm",label:"pnpm"},l.createElement(C.s,{className:"language-bash"},r.pnpm)),l.createElement(tt.c,{value:"yarn",label:"yarn"},l.createElement(C.s,{className:"language-bash"},r.yarn),l.createElement(L.s,null,"> Only supports yarn@1 version.")))},InstallPackagesCommand:({args:e,children:t})=>{const r={npm:`npm i ${e}`,pnpm:`pnpm add ${e}`,yarn:`yarn add ${e}`};return l.createElement(ke,null,l.createElement(tt.c,{value:"npm",label:"npm",default:!0},l.createElement(C.s,{className:"language-bash"},r.npm),t),l.createElement(tt.c,{value:"pnpm",label:"pnpm"},l.createElement(C.s,{className:"language-bash"},r.pnpm),t),l.createElement(tt.c,{value:"yarn",label:"yarn"},l.createElement(C.s,{className:"language-bash"},r.yarn),t))},FullTable:et.Ih,TutorialConditional:({parameter:e,value:t,children:r})=>{var n;const{parameters:a}=(0,rt.iC)();return(null===(n=a)||void 0===n?void 0:n[e])===t?l.createElement(l.Fragment,null,r):null},VideoInView:e=>{const t=l.useRef(null),r=(0,nt.c)(t);return l.useEffect((()=>{var e,n,l,a;r?null===(n=t.current)||void 0===n||null===(e=n.play)||void 0===e||e.call(n):null===(a=t.current)||void 0===a||null===(l=a.pause)||void 0===l||l.call(a)}),[r]),l.createElement("video",at(function(e){for(var t=1;t{var e,r,n,l,a;(null===(e=t.current)||void 0===e?void 0:e.paused)?null===(n=t.current)||void 0===n||null===(r=n.play)||void 0===r||r.call(n):null===(a=t.current)||void 0===a||null===(l=a.pause)||void 0===l||l.call(a)},className:(0,a.c)(e.className,"w-full","h-auto","max-w-full","max-h-full","rounded-xl","object-contain")}))},DocThumbsUpDownFeedbackWidget:e=>{const t=(0,We.IT)(),[r,n]=(0,l.useState)(""),[c,o]=(0,l.useState)(null),[i,s]=(0,l.useState)(!1),[u,f]=(0,l.useState)(!1),m=i||u,{survey:d,createSurvey:p,updateSurvey:b}=(e=>{const[t,r]=(0,l.useState)(null),n=Ye[e.type];return{survey:t,setSurvey:r,createSurvey:async({body:e})=>{const t=await fetch(`${n}/responses`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(!t.ok)return null;const l=await t.json();return l?(r(l),l):void 0},updateSurvey:async({surveyId:e,body:t})=>{const l=await fetch(`${n}/responses/${e}`,{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(!l.ok)return null;const a=await l.json();return a?(r(a),a):void 0}}})({type:Te.THUMBS}),g=async r=>{o(r),s(!0),d?await b({surveyId:d.id,body:{response:r}}):await p({body:{response:r,entityId:t.pathname,metaData:{sectionId:e.id}}})};return l.createElement("div",{className:"group"},e.children,l.createElement("div",{className:(0,a.c)("relative","z-popover","hidden md:flex","items-center","gap-5","w-max h-[40px]","pt-1 pr-1 pb-1 pl-4","bg-[#99A1B31A] dark:bg-[#2F333C]","rounded-[28px]","transition-all duration-300 ease-in-out",!m&&"opacity-0","group-hover:opacity-100")},l.createElement("div",{className:(0,a.c)("text-xs","whitespace-nowrap","text-[#23272F] dark:text-[#E3E4E5]")},"Was this helpful?"),l.createElement("div",{className:(0,a.c)("flex","items-center","gap-1","widget-actions")},l.createElement("button",{type:"button",onClick:()=>g(Qe.UP),className:(0,a.c)("w-8 h-8","flex items-center justify-center","rounded-full","text-gray-500","hover:text-green-500 hover:bg-green-500/20","transition-all duration-200 ease-in-out",1===c&&"text-green-500 bg-green-500/20")},l.createElement(ze,null)),l.createElement("button",{type:"button",onClick:()=>g(Qe.DOWN),className:(0,a.c)("w-8 h-8","flex items-center justify-center","rounded-full","text-gray-500","hover:text-red-500 hover:bg-red-500/20","transition-all duration-200 ease-in-out",2===c&&"text-red-500 bg-red-500/20")},l.createElement(Re,null))),l.createElement(Je,{isOpen:m,onOpenChange:e=>{u||e||(s(!1),f(!1))},arrowStyle:{right:1===c?"150px":"115px"}},!u&&l.createElement("form",{className:(0,a.c)("flex flex-col","p-2"),onSubmit:e=>{e.preventDefault(),(async()=>{const e=r.trim();e&&(await b({surveyId:d.id,body:{response:c,responseText:e}}),f(!0),setTimeout((()=>{s(!1),f(!1)}),2e3))})()}},l.createElement("textarea",{rows:3,required:!0,minLength:3,placeholder:"Your thumbs tells us a lot, but If you have any additional thoughts or suggestions, we'd love to hear them!",onChange:e=>n(e.target.value),value:r,className:(0,a.c)("w-full","bg-white dark:bg-[#343A46]","text-[#23272F] dark:text-[#E3E4E5]","resize-none","rounded-xl","text-xs","py-2 px-3")}),l.createElement("button",{type:"submit",className:(0,a.c)("w-16 h-6","flex items-center justify-center","bg-refine-react-light-link dark:bg-refine-react-dark-link","text-xs","text-white","rounded-full","mt-2 ml-auto")},"Send")),u&&l.createElement("div",{className:(0,a.c)("flex items-center","p-4","text-xs","text-gray-500")},l.createElement("span",null,"Thank you for your feedback!")))))}},st=null!=st?st:{},Object.getOwnPropertyDescriptors?Object.defineProperties(it,Object.getOwnPropertyDescriptors(st)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(st)).forEach((function(e){Object.defineProperty(it,e,Object.getOwnPropertyDescriptor(st,e))})),it);var it,st}}]); \ No newline at end of file +(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[6344],{6324:(e,t,r)=>{var n={"./plugin-route-context-module-100.json":[4634,4634]};function l(e){if(!r.o(n,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=n[e],l=t[0];return r.e(t[1]).then((()=>r.t(l,19)))}l.keys=()=>Object.keys(n),l.id=6324,e.exports=l},3270:(e,t,r)=>{"use strict";r.d(t,{c:()=>c});var n=r(1504),l=r(1080),a=r(468);function c({children:e,className:t}){const{frontMatter:r,assets:c}=(0,a.g)(),{withBaseUrl:o}=(0,l.E)();var i;const s=null!==(i=c.image)&&void 0!==i?i:r.image;return n.createElement("article",{className:t,itemProp:"blogPost",itemScope:!0,itemType:"http://schema.org/BlogPosting"},s&&n.createElement("meta",{itemProp:"image",content:o(s,{absolute:!0})}),e)}},468:(e,t,r)=>{"use strict";r.d(t,{E:()=>c,g:()=>o});var n=r(1504),l=r(8476);const a=n.createContext(null);function c({children:e,content:t,isBlogPostPage:r=!1}){const l=function({content:e,isBlogPostPage:t}){return(0,n.useMemo)((()=>({metadata:e.metadata,frontMatter:e.frontMatter,assets:e.assets,toc:e.toc,isBlogPostPage:t})),[e,t])}({content:t,isBlogPostPage:r});return n.createElement(a.Provider,{value:l},e)}function o(){const e=(0,n.useContext)(a);if(null===e)throw new l.AH("BlogPostProvider");return e}},3688:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(1504),l=r(9936);const a=["zero","one","two","few","many","other"];function c(e){return a.filter((t=>e.includes(t)))}const o={locale:"en",pluralForms:c(["one","other"]),select:e=>1===e?"one":"other"};function i(){const{i18n:{currentLocale:e}}=(0,l.c)();return(0,n.useMemo)((()=>{try{return function(e){const t=new Intl.PluralRules(e);return{locale:e,pluralForms:c(t.resolvedOptions().pluralCategories),select:e=>t.select(e)}}(e)}catch(t){return console.error(`Failed to use Intl.PluralRules for locale "${e}".\nDocusaurus will fallback to the default (English) implementation.\nError: ${t.message}\n`),o}}),[e])}function s(){const e=i();return{selectMessage:(t,r)=>function(e,t,r){const n=e.split("|");if(1===n.length)return n[0];n.length>r.pluralForms.length&&console.error(`For locale=${r.locale}, a maximum of ${r.pluralForms.length} plural forms are expected (${r.pluralForms.join(",")}), but the message contains ${n.length}: ${e}`);const l=r.select(t),a=r.pluralForms.indexOf(l);return n[Math.min(a,n.length-1)]}(r,t,e)}}},5904:(e,t,r)=>{"use strict";r.d(t,{I7:()=>a,kz:()=>o,aI:()=>u,sL:()=>m,uU:()=>Ye,UZ:()=>Xe,sH:()=>Ie,W4:()=>Ke,g3:()=>qe,Ou:()=>Gt,M7:()=>b,gv:()=>$e,U7:()=>Zt,K6:()=>jt,sT:()=>h,Dp:()=>y,m4:()=>E,Yv:()=>k,UJ:()=>A,QR:()=>rt,y:()=>S,AD:()=>lt,WA:()=>Z,ai:()=>Rt,m0:()=>M,Gg:()=>B,kB:()=>T,mK:()=>F,em:()=>I,E5:()=>zt,sP:()=>Ft,_$:()=>X,gF:()=>Q,Iv:()=>$,Qh:()=>te,yK:()=>st,sW:()=>ft,Uf:()=>le,cF:()=>pt,aA:()=>ce,mO:()=>se,I1:()=>fe,_A:()=>de,CS:()=>ot,U$:()=>vt,yw:()=>gt,wA:()=>Mt,yM:()=>be,Ep:()=>ve,qy:()=>xt,sN:()=>Ce,Cu:()=>we,qQ:()=>je,oe:()=>Ve,Oq:()=>Ne,yS:()=>Le,Og:()=>Be,kn:()=>Te,od:()=>St});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const u=e=>{var{withBrandColor:t=!0}=e,r=s(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const b=e=>{var{withBrandColor:t=!0}=e,r=p(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const E=e=>{var{className:t}=e,r=x(e,["className"]);return n.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const k=e=>{var{className:t}=e,r=P(e,["className"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const B=e=>{var{withBrandColor:t=!0}=e,r=z(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",V(function(e){for(var t=1;tn.createElement("svg",W(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",K(function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const $=e=>{var{withBrandColor:t=!0}=e,r=_(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const le=e=>{var{withBrandColor:t=!0}=e,r=ne(e,["withBrandColor"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",ie(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const ve=e=>{var{className:t}=e,r=he(e,["className"]);return n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",Oe(function(e){for(var t=1;tn.createElement("svg",Ee(function(e){for(var t=1;tn.createElement("svg",ke(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",tt(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",ct(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",dt(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const xt=e=>{var{className:t}=e,r=wt(e,["className"]);return n.createElement("svg",Ot(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{c:()=>u});var n=r(1504),l=r(5684),a=r(9072),c=r(8164),o=r(9400);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const s={id:"comments",repo:"PrepVerse/CodePoint",repoId:"R_kgDOItEdJw",category:"Q&A",categoryId:"DIC_kwDOItEdJ84CZ4tA",mapping:"pathname",reactionsEnabled:"1",emitMetadata:"0",inputPosition:"top",lang:"en",theme:"light",darkTheme:"dark_dimmed"};function u(){const e=(0,l.y)(),t=function(e){for(var t=1;tn.createElement(o.c,t)))}},1904:(e,t,r)=>{"use strict";r.d(t,{iI:()=>l,S_:()=>o});var n=r(1504);function l({date:e,formattedDate:t}){return n.createElement("time",{dateTime:e,itemProp:"datePublished"},t)}var a=r(3688),c=r(3652);function o({readingTime:e}){const t=function(){const{selectMessage:e}=(0,a.A)();return t=>{const r=Math.ceil(t);return e(r,(0,c.G)({id:"theme.blog.post.readingTime.plurals",description:'Pluralized label for "{readingTime} min read". Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)',message:"One min read|{readingTime} min read"},{readingTime:r}))}}();return n.createElement(n.Fragment,null,t(e))}},4752:(e,t,r)=>{"use strict";r.d(t,{c:()=>a});var n=r(1504),l=r(9184);const a=()=>n.createElement("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4 md:gap-0 h-auto md:h-[150px] bg-[#5865F2] w-full rounded-2xl py-5 px-5 md:px-12"},n.createElement("div",{className:"flex items-center gap-16"},n.createElement("img",{className:"hidden md:block",src:"/img/blog-static/discord-banner.png",alt:"Discord Logo"}),n.createElement("div",{className:"text-white font-montserrat font-bold max-w-md text-center md:text-left"},n.createElement("h1",{className:"text-2xl uppercase leading-tight mb-0 font-montserrat"},"Join to refine discord server"),n.createElement("p",{className:"mb-0 text-base"},"to get help, share ideas, and discuss the latest news."))),n.createElement(l.c,{to:"https://discord.gg/refine"},n.createElement("button",{className:"bg-transparent text-white font-bold py-2 px-4 rounded-lg h-12 w-44 border-white cursor-pointer font-montserrat uppercase text-xl border-solid active:scale-[0.99]"},"Join Us")))},7396:(e,t,r)=>{"use strict";r.d(t,{c:()=>o});var n=r(1504),l=r(9184),a=r(3540);const c="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",o=()=>{const[e,t]=n.useState(0);return n.useEffect((()=>{(async()=>{const e=await fetch(`https://api.github.com/repos/pankod/refine?access_token=${c}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`token ${c}`}}),r=await e.json();var n;t(null!==(n=r.stargazers_count)&&void 0!==n?n:2e3)})()}),[]),n.createElement("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4 md:gap-0 h-auto md:h-[150px] w-full rounded-2xl py-5 px-5 md:px-12 github-banner-bg"},n.createElement("div",{className:"flex items-center gap-16"},n.createElement("img",{className:"hidden md:block",src:"/img/blog-static/github-banner-icon.png",alt:"Github Logo"}),n.createElement("div",{className:"font-montserrat max-w-md text-center md:text-left"},n.createElement("h1",{className:"text-2xl uppercase leading-tight mb-0 font-montserrat font-bold"},"Star us on github"),n.createElement("p",{className:"mb-0 text-base leading-tight"},n.createElement("b",null,"refine")," is an"," ",n.createElement("b",null,"open-source React-based framework"),"for building ",n.createElement("b",null,"CRUD applications")," without constraints. Please show us your ",n.createElement("b",null,"support")," with a shining ",n.createElement("b",null,"GitHub star"),"."))),n.createElement(l.c,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",rel:"noopener",className:"bg-[#211d21] no-underline rounded-xl h-[54px] flex gap-2 pl-3.5 py-2.5 pr-2.5 items-center"},n.createElement(a.A9,null),n.createElement("div",{className:"font-bold font-montserrat text-base text-white"},"Star"),n.createElement("div",{className:"flex items-start h-full"},n.createElement(a.qq,{className:"mt-2 -mr-px"}),n.createElement("div",{className:"cloud rounded-md bg-white text-[#211d21] h-full flex items-center justify-center px-1.5 font-montserrat font-bold text-base"},`${e}`.padStart(4,"0")))))}},1628:(e,t,r)=>{"use strict";r.d(t,{qu:()=>o,cN:()=>k,CS:()=>A,E$:()=>N,us:()=>S});var n=r(1504),l=r(4971),a=r(9184),c=r(2460);const o=({author:e,className:t})=>n.createElement(i,{author:e,className:t}),i=({author:e})=>{var t,r,o,i,s,u,f,m,d,p,b;const g=e.github||e.twitter||e.linkedin;return n.createElement("div",{className:(0,l.c)("flex","px-4","gap-6","flex-row blog-lg:flex-col","justify-between","blog-sm:max-w-[592px]","blog-md:max-w-[656px]","blog-lg:max-w-[896px]","blog-max:max-w-[1200px]","w-full")},n.createElement("div",{className:(0,l.c)("flex","justify-between","items-center")},n.createElement("div",{className:(0,l.c)("w-full","flex items-center justify-between flex-wrap")},n.createElement("div",{className:(0,l.c)("flex items-center","gap-2 sm:gap-6")},n.createElement(a.c,{to:`/blog/author/${null===(t=e)||void 0===t?void 0:t.key}`,itemProp:"url",className:"flex-shrink-0"},n.createElement("img",{src:null===(r=e)||void 0===r?void 0:r.imageURL,alt:null===(o=e)||void 0===o?void 0:o.name,loading:"lazy",className:(0,l.c)("flex flex-shrink-0","h-12 w-12","blog-sm:h-[88px] blog-sm:w-[88px]","blog-md:h-[120px] blog-md:w-[120px]","rounded-full object-cover")})),n.createElement("div",{className:(0,l.c)("not-prose flex flex-col justify-between")},n.createElement("h1",{className:(0,l.c)("text-xl sm:text-[40px] sm:leading-[56px]","m-0 p-0 pb-2 font-bold text-gray-900 dark:text-gray-200")},null===(i=e)||void 0===i?void 0:i.name),n.createElement("div",{className:(0,l.c)("text-xs sm:text-base","text-gray-600 dark:text-gray-400")},null===(s=e)||void 0===s?void 0:s.title))),g&&n.createElement("div",{className:"flex justify-center gap-3"},(null===(u=e)||void 0===u?void 0:u.github)&&n.createElement(a.c,{to:null===(f=e)||void 0===f?void 0:f.github},n.createElement(c.qO,{className:"h-6 w-6"})),(null===(m=e)||void 0===m?void 0:m.twitter)&&n.createElement(a.c,{to:null===(d=e)||void 0===d?void 0:d.twitter},n.createElement(c.mk,{className:"h-6 w-6"})),(null===(p=e)||void 0===p?void 0:p.linkedin)&&n.createElement(a.c,{to:null===(b=e)||void 0===b?void 0:b.linkedin},n.createElement(c.wd,{className:"h-6 w-6"}))))),n.createElement("div",{className:"border-b border-gray-200 dark:border-gray-700 mb-8"}))};var s=r(468),u=r(2656),f=r(56),m=r(3270),d=r(9936),p=r(7760),b=r(6224),g=r(3784),h=r(4776),v=r(2788),y=r(8368);const O=(0,y.c)("telegram",(function(e,t){var r=t.title;return(0,h.c)(e,"telegram.url"),"https://telegram.me/share/url"+(0,v.c)({url:e,text:r})}),(function(e){return{title:e.title}}),{windowWidth:550,windowHeight:400});var w=r(2544);const x=(0,w.c)({color:"#37aee2",networkName:"telegram",path:"m45.90873,15.44335c-0.6901,-0.0281 -1.37668,0.14048 -1.96142,0.41265c-0.84989,0.32661 -8.63939,3.33986 -16.5237,6.39174c-3.9685,1.53296 -7.93349,3.06593 -10.98537,4.24067c-3.05012,1.1765 -5.34694,2.05098 -5.4681,2.09312c-0.80775,0.28096 -1.89996,0.63566 -2.82712,1.72788c-0.23354,0.27218 -0.46884,0.62161 -0.58825,1.10275c-0.11941,0.48114 -0.06673,1.09222 0.16682,1.5716c0.46533,0.96052 1.25376,1.35737 2.18443,1.71383c3.09051,0.99037 6.28638,1.93508 8.93263,2.8236c0.97632,3.44171 1.91401,6.89571 2.84116,10.34268c0.30554,0.69185 0.97105,0.94823 1.65764,0.95525l-0.00351,0.03512c0,0 0.53908,0.05268 1.06412,-0.07375c0.52679,-0.12292 1.18879,-0.42846 1.79109,-0.99212c0.662,-0.62161 2.45836,-2.38812 3.47683,-3.38552l7.6736,5.66477l0.06146,0.03512c0,0 0.84989,0.59703 2.09312,0.68132c0.62161,0.04214 1.4399,-0.07726 2.14229,-0.59176c0.70766,-0.51626 1.1765,-1.34683 1.396,-2.29506c0.65673,-2.86224 5.00979,-23.57745 5.75257,-27.00686l-0.02107,0.08077c0.51977,-1.93157 0.32837,-3.70159 -0.87096,-4.74991c-0.60054,-0.52152 -1.2924,-0.7498 -1.98425,-0.77965l0,0.00176zm-0.2072,3.29069c0.04741,0.0439 0.0439,0.0439 0.00351,0.04741c-0.01229,-0.00351 0.14048,0.2072 -0.15804,1.32576l-0.01229,0.04214l-0.00878,0.03863c-0.75858,3.50668 -5.15554,24.40802 -5.74203,26.96472c-0.08077,0.34417 -0.11414,0.31959 -0.09482,0.29852c-0.1756,-0.02634 -0.50045,-0.16506 -0.52679,-0.1756l-13.13468,-9.70175c4.4988,-4.33199 9.09945,-8.25307 13.744,-12.43229c0.8218,-0.41265 0.68483,-1.68573 -0.29852,-1.70681c-1.04305,0.24584 -1.92279,0.99564 -2.8798,1.47502c-5.49971,3.2626 -11.11882,6.13186 -16.55882,9.49279c-2.792,-0.97105 -5.57873,-1.77704 -8.15298,-2.57601c2.2336,-0.89555 4.00889,-1.55579 5.75608,-2.23009c3.05188,-1.1765 7.01687,-2.7042 10.98537,-4.24067c7.94051,-3.06944 15.92667,-6.16346 16.62028,-6.43037l0.05619,-0.02283l0.05268,-0.02283c0.19316,-0.0878 0.30378,-0.09658 0.35471,-0.10009c0,0 -0.01756,-0.05795 -0.00351,-0.04566l-0.00176,0zm-20.91715,22.0638l2.16687,1.60145c-0.93418,0.91311 -1.81743,1.77353 -2.45485,2.38812l0.28798,-3.98957"});const E=(0,y.c)("facebook",(function(e,t){var r=t.quote,n=t.hashtag;return(0,h.c)(e,"facebook.url"),"https://www.facebook.com/sharer/sharer.php"+(0,v.c)({u:e,quote:r,hashtag:n})}),(function(e){return{quote:e.quote,hashtag:e.hashtag}}),{windowWidth:550,windowHeight:400});const j=(0,w.c)({color:"#3b5998",networkName:"facebook",path:"M34.1,47V33.3h4.6l0.7-5.3h-5.3v-3.4c0-1.5,0.4-2.6,2.6-2.6l2.8,0v-4.8c-0.5-0.1-2.2-0.2-4.1-0.2 c-4.1,0-6.9,2.5-6.9,7V28H24v5.3h4.6V47H34.1z"});var P=r(1904);const k=({children:e})=>{var t,r,o,i,h,v;const{metadata:y,isBlogPostPage:w}=(0,s.g)(),{permalink:k,title:C,date:A,formattedDate:N,readingTime:S,frontMatter:H,tags:Z,description:D,authors:M}=y,L=M[0],{siteConfig:{url:z}}=(0,d.c)();return n.createElement(m.c,{className:(0,l.c)("pb-10","pt-4 blog-lg:pt-8","ml-auto","w-full","blog-lg:max-w-[894px]","px-2 blog-md:px-8 blog-lg:px-0")},n.createElement("div",{className:(0,l.c)("hidden blog-md:flex","justify-between","items-center","blog-sm:px-6","pb-6 blog-lg:pb-10","not-prose")},n.createElement(a.c,{to:"/blog",className:(0,l.c)("text-refine-react-5 dark:text-refine-react-4","text-sm no-underline","flex","items-center","gap-2")},n.createElement(c.Ux,null)," Back to blog"),n.createElement("div",{className:"flex items-center gap-3 px-2 py-1 not-prose"},n.createElement("span",{className:"text-refine-react-5 dark:text-refine-react-4 text-sm"},"Share on"),n.createElement(p.c,{url:z+k,title:C,source:z,summary:D,hashtags:Z.map((e=>e.label)),className:"flex"},n.createElement(b.c,{size:26,round:!0})),n.createElement(g.c,{windowWidth:750,windowHeight:800,url:z+k,title:C,hashtags:Z.map((e=>e.label)),className:"flex"},n.createElement(c.mk,{width:26,height:26})),n.createElement(O,{windowWidth:750,windowHeight:800,url:z+k,title:C,hashtags:Z.map((e=>e.label)),className:"flex"},n.createElement(x,{size:26,round:!0})),n.createElement(E,{windowWidth:750,windowHeight:800,url:z+k,title:C,hashtags:Z.map((e=>e.label)),className:"flex"},n.createElement(j,{size:26,round:!0})))),n.createElement("div",{className:"not-prose"},n.createElement("img",{className:"w-full rounded-xl aspect-[894/468]",src:`${H.image}?w=160`,alt:C})),n.createElement("div",{className:"blog-sm:px-6"},n.createElement("div",{className:"mt-6 blog-lg:mt-10 mb-6 text-sm"},n.createElement("div",{className:(0,l.c)("flex","justify-between","sm:flex-row flex-col")},n.createElement("div",{className:"flex justify-center items-center gap-2"},n.createElement(a.c,{to:`/blog/author/${null===(t=L)||void 0===t?void 0:t.key}`,itemProp:"url"},n.createElement("img",{src:null===(r=L)||void 0===r?void 0:r.imageURL,alt:null===(o=L)||void 0===o?void 0:o.name,loading:"lazy",className:"flex h-[32px] w-[32px] rounded-full object-cover"})),n.createElement(a.c,{to:`/blog/author/${null===(i=L)||void 0===i?void 0:i.key}`,itemProp:"url",className:(0,l.c)("flex-1","text-gray-900 dark:text-gray-200","text-sm","no-underline","hover:no-underline")},null===(h=L)||void 0===h?void 0:h.name),n.createElement("span",{className:"w-[4px] h-[4px] rounded-full bg-refine-react-5 dark:bg-refine-react-4"}),n.createElement("span",{className:"text-gray-600 dark:text-gray-400"},null===(v=L)||void 0===v?void 0:v.title)),n.createElement("div",{className:"flex items-center gap-2 text-gray-600 dark:text-gray-400"},n.createElement(P.iI,{date:A,formattedDate:N}),void 0!==S&&n.createElement(n.Fragment,null,n.createElement("span",{className:"w-[4px] h-[4px] rounded-full bg-refine-react-5 dark:bg-refine-react-4"}),n.createElement(P.S_,{readingTime:S}))))),n.createElement("h1",{className:"text-xl md:text-4xl",itemProp:"headline"},w?C:n.createElement(a.c,{itemProp:"url",to:k},C)),n.createElement("div",{id:u.blogPostContainerID,className:"markdown",itemProp:"articleBody"},n.createElement(f.c,null,e))))};r(4752);const C=()=>{var e,t;const{metadata:r}=(0,s.g)(),{permalink:c,title:o,date:i,formattedDate:u,frontMatter:f,description:d,tags:p}=r,b=r.authors[0];return n.createElement(m.c,null,n.createElement(a.c,{itemProp:"url",to:c,className:(0,l.c)("block","w-full h-auto","aspect-[592/334]")},n.createElement("div",{className:(0,l.c)("not-prose relative m-0 hover:brightness-90","h-full w-full")},n.createElement("img",{src:`${f.image}?h=256`,alt:o,className:(0,l.c)("absolute inset-0 mt-0 h-full w-full rounded-[10px] object-cover"),loading:"lazy"}))),n.createElement("div",{className:"px-4 py-4 md:px-6 md:py-6"},n.createElement("div",{className:(0,l.c)("flex flex-wrap items-center","mb-6","gap-2")},p.map((e=>n.createElement(a.c,{className:(0,l.c)("text-xs","bg-refine-react-3 dark:bg-refine-react-7","text-refine-react-8 dark:text-refine-react-3","no-underline","rounded-full","px-2 py-1"),href:e.permalink,key:e.permalink},e.label)))),n.createElement("div",{className:"mb-4"},n.createElement(a.c,{itemProp:"url",to:c,className:"no-underline hover:no-underline",rel:"noopener dofollow"},n.createElement("div",{className:(0,l.c)("mb-4","text-gray-700 dark:text-refine-react-3","text-xl","font-lg","font-bold")},o)),n.createElement("div",{className:(0,l.c)("line-clamp-3","text-gray-700 dark:text-refine-react-4","text-sm")},d)),n.createElement("div",{className:"flex items-center gap-2"},n.createElement(a.c,{href:`/blog/author/${null===(e=b)||void 0===e?void 0:e.key}`,itemProp:"url",className:(0,l.c)("text-gray-600 hover:text-gray-600","dark:text-gray-400 hover:dark:text-gray-400","text-xs 2xl:text-base","no-underline")},null===(t=b)||void 0===t?void 0:t.name),n.createElement("span",{className:(0,l.c)("h-[4px] w-[4px] rounded-full","bg-gray-600 dark:bg-gray-500")}),n.createElement("span",{className:(0,l.c)("text-gray-600 dark:text-gray-500","text-xs","leading-6","no-underline")},n.createElement(P.iI,{date:i,formattedDate:u})))))},A=({items:e})=>n.createElement("div",{className:(0,l.c)("w-screen","bg-refine-react-1 dark:bg-refine-react-dark-code")},n.createElement("div",{className:(0,l.c)("blog-sm:max-w-[592px]","blog-md:max-w-[656px]","blog-lg:max-w-[896px]","blog-max:max-w-[1200px]","w-full","mx-auto","px-6 blog-sm:px-0","py-6 blog-md:py-12","not-prose")},n.createElement("h2",{className:(0,l.c)("m-0 p-0","px-6","mb-6 blog-lg:mb-12","text-2xl blog-sm:text-[32px] blog-sm:leading-10","dark:text-refine-green-alt dark:drop-shadow-[0_0_30px_rgba(71,235,235,0.25)]","text-refine-blue drop-shadow-[0_0_30px_rgba(51,51,255,0.3)]","font-semibold")},"Featured Posts"),n.createElement("div",{className:"grid grid-cols-1 blog-md:grid-cols-2 blog-max:grid-cols-3 gap-6"},e.map((({content:e})=>n.createElement(s.E,{key:e.metadata.permalink,content:e},n.createElement(C,null)))))));r(7396);const N=({posts:e,title:t})=>{var r,c,o;return e.length<1?null:n.createElement("div",{className:(0,l.c)("mx-auto w-full","py-10","blog-sm:py-12","blog-md:py-16","max-w-[512px]","blog-sm:max-w-screen-blog-sm","blog-lg:max-w-screen-content-2xl")},n.createElement("div",{className:"blog-sm:px-6 w-full px-4"},n.createElement("h2",{className:"m-0 mb-4 p-0 pl-4 text-2xl font-semibold text-refine-react-8 dark:text-refine-react-1"},t),n.createElement("div",{className:"flex flex-col not-prose"},e.map((e=>n.createElement(a.c,{to:e.permalink,rel:"dofollow",key:null!==(o=e.permalink)&&void 0!==o?o:e.id,className:(0,l.c)("flex","flex-col","gap-2","p-5","mb-5","rounded-lg","border border-refine-react-3 dark:border-refine-react-6","bg-white dark:bg-refine-react-8","hover:bg-gray-100 dark:hover:bg-refine-react-7","not-prose","no-underline")},n.createElement("div",{to:e.permalink,rel:"dofollow",className:(0,l.c)("font-bold","text-refine-react-8 dark:text-refine-react-1","no-underline","hover:text-gray-800 hover:no-underline dark:hover:text-gray-200","mb-2")},e.title),n.createElement("p",{className:(0,l.c)("font-sm","text-refine-react-5 dark:text-refine-react-4")},e.description),n.createElement("div",{id:"post-info",className:"flex items-center gap-2 text-sm text-refine-react-4 dark:text-refine-react-5"},n.createElement(a.c,{to:`/blog/author/${null===(r=e.authors[0])||void 0===r?void 0:r.key}`,itemProp:"url",id:"author-name",className:"text-gray-600 no-underline hover:text-gray-600 hover:no-underline dark:text-gray-400"},null===(c=e.authors[0])||void 0===c?void 0:c.name),n.createElement("span",{className:"h-[4px] w-[4px] rounded-full bg-gray-600 dark:bg-gray-500"}),n.createElement(P.iI,{date:e.date,formattedDate:e.formattedDate}))))))))},S=()=>{const{metadata:e}=(0,s.g)();return n.createElement("div",{className:"flex flex-wrap gap-2"},e.tags.map((e=>n.createElement(a.c,{to:e.permalink,className:(0,l.c)("no-underline hover:no-underline","text-xs","rounded-full","py-1","px-3","text-refine-react-8 dark:text-refine-react-3","bg-refine-react-3 dark:bg-refine-react-7","whitespace-nowrap"),key:e.permalink},e.label))))};r(5524)},5524:(e,t,r)=>{"use strict";r.d(t,{c:()=>a});var n=r(1504),l=r(9184);const a=({children:e})=>n.createElement("div",{className:"flex flex-col md:flex-row items-center twitter-banner-bg px-5 md:px-10 py-5 rounded-xl gap-2"},n.createElement("div",{className:"flex flex-col justify-center items-center md:items-start gap-4"},n.createElement("div",{className:"text-center md:text-left"},n.createElement("h1",{className:"text-white font-montserrat text-2xl leading-tight mb-0"},"WANT TO HEAR THE LATEST DEVELOPMENTS ABOUT refine?"),n.createElement("p",{className:"mb-0 uppercase font-montserrat text-white"},"Follow us on Twitter.")),n.createElement(l.c,{to:"https://twitter.com/refine_dev"},n.createElement("button",{className:"bg-transparent text-white font-bold py-2 px-8 rounded-lg border-white cursor-pointer font-montserrat uppercase text-xl border-solid active:scale-[0.99]"},"Follow Us"))),n.createElement("div",{className:"w-[350px]"},e||n.createElement("blockquote",{className:"twitter-tweet","data-cards":"hidden"},n.createElement("p",{lang:"en",dir:"ltr"},"\ud83d\udca5New Blog Post!",n.createElement("br",null),n.createElement("br",null),"Animations in React with Framer Motion",n.createElement("a",{href:"https://t.co/7kWU1ROPYd"},"https://t.co/7kWU1ROPYd"),n.createElement("a",{href:"https://twitter.com/hashtag/opensource?src=hash&ref_src=twsrc%5Etfw"},"#opensource")," ",n.createElement("a",{href:"https://twitter.com/hashtag/ReactJS?src=hash&ref_src=twsrc%5Etfw"},"#ReactJS")),"\u2014 refine (@refine_dev)"," ",n.createElement("a",{href:"https://twitter.com/refine_dev/status/1565321477628510208?ref_src=twsrc%5Etfw"},"September 1, 2022"))))},3540:(e,t,r)=>{"use strict";r.d(t,{Wr:()=>o,ef:()=>u,qq:()=>m,A9:()=>p,cn:()=>h,gZ:()=>O,aA:()=>E,Wu:()=>k});var n=r(4971),l=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const o=e=>l.createElement("svg",c(function(e){for(var t=1;tl.createElement("svg",s(function(e){for(var t=1;tl.createElement("svg",function(e){for(var t=1;tl.createElement("svg",function(e){for(var t=1;tl.createElement("svg",g(function(e){for(var t=1;tl.createElement("svg",y(function(e){for(var t=1;tl.createElement("svg",x(function(e){for(var t=1;tl.createElement("svg",P(function(e){for(var t=1;t{"use strict";r.d(t,{q:()=>c,y:()=>o});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a="tutorial-checklist-store",c=n.createContext({store:{},toggle:()=>{}}),o=({children:e})=>{const[t,r]=n.useState((()=>{if("undefined"!=typeof window){const t=localStorage.getItem(a);if(t)try{const e=JSON.parse(t);if("object"==typeof e)return e}catch(e){return{}}}return{}})),o=n.useCallback(((e,t,n)=>{r((r=>{const a=function(e){for(var t=1;t{"undefined"!=typeof window&&localStorage.setItem(a,JSON.stringify(t))}),[t]),n.createElement(c.Provider,{value:{store:t,toggle:o}},e)}},1648:(e,t,r)=>{"use strict";r.d(t,{g5:()=>i,mk:()=>s,sH:()=>a});var n=r(1504),l=r(2288);r(5904);const a=["headless","antd","chakra-ui","mantine","mui"],c=e=>{if(a.includes(e))return e},o="tutorial-preferred-ui-package",i=n.createContext({preferred:"headless",current:void 0,setPreferred:()=>{}}),s=({children:e})=>{const{metadata:t}=(0,l.G)(),r=(e=>{const t=e.match(/\/(headless|antd|chakra-ui|mantine|mui)\//);if(t&&c(t[1]))return t[1]})(t.id),[a,s]=n.useState("headless");n.useEffect((()=>{if("undefined"!=typeof window){const e=localStorage.getItem(o),t=c(e);t&&s(t)}}),[]);const u=e=>{c(e)&&("undefined"!=typeof window&&localStorage.setItem(o,e),s(e))};return n.useEffect((()=>{r&&r!==a&&u(r)}),[r,a]),n.createElement(i.Provider,{value:{preferred:a,setPreferred:u,current:r||a}},e)}},9092:(e,t,r)=>{"use strict";r.d(t,{WO:()=>m,iC:()=>d});var n=r(1504),l=r(640),a=r(2064);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;t0}),s="tutorial-parameters",u=(e,t)=>{for(const r of t)if(e.includes(`/${r.value}`))return r.value},f=()=>{const{pathname:e}=(0,l.IT)();return n.useMemo((()=>(e=>{const t={};for(const[r,n]of Object.entries(a.Sm.parameterOptions)){const l=u(e,n);l&&(t[r]=l)}return t})(e)),[e])},m=({children:e})=>{const[t,r]=n.useState(void 0),[l,c]=n.useState(!1),u=f(),m=n.useCallback((e=>{r((t=>{try{localStorage.setItem(s,JSON.stringify(o({},t,e)))}catch(r){console.error(r)}return o({},t,e)}))}),[]);return n.useEffect((()=>{try{const e=localStorage.getItem(s);m(e?o({},a.Sm.defaultParameters,JSON.parse(e),u):o({},a.Sm.defaultParameters,u))}catch(e){m(o({},a.Sm.defaultParameters,u))}c(!0)}),[]),n.createElement(i.Provider,{value:{parameters:t,setParameters:m,settled:l,options:a.Sm.parameterOptions}},e)},d=()=>n.useContext(i)},3376:(e,t,r)=>{"use strict";r.d(t,{U:()=>p});var n=r(2288),l=r(1688),a=(r(1504),r(3908));function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;t{var e,t,r,c;const f=(0,n.G)(),{docs:p}=(0,l.E)(),{frontMatter:b,metadata:{id:g}}=f,{tutorial:{units:h}}=(0,u.e)(),{current:v}=(0,a.U)(),y=e=>{const t=e.id.split("/"),r=s.sH.filter((e=>e!==v));return!t.find((e=>r.includes(e)))},O=!!(null===(e=b)||void 0===e?void 0:e.tutorial),w=g.split("/")[1],x=function({frontMatter:e}){const{docs:t}=(0,l.E)(),{current:r}=(0,a.U)(),n=e=>{if(e.includes("{preferredUI}")||r)return e.replace("{preferredUI}",r)},c=e=>"/docs/"+e,{tutorial:s}=e,{next:u,prev:f}=null!=s?s:{},m=u?n(u):void 0,d=t[f?n(f):void 0],p=t[m];return{previous:d?i(o({},d),{permalink:c(d.id)}):void 0,next:p?i(o({},p),{permalink:c(p.id)}):void 0}}(f),E=Object.entries(p).filter((([e])=>e.startsWith("tutorial/"))).reduce(((e,[t,r])=>{const n=t.split("/")[1];return n.startsWith("partial-")||(e[n]||(e[n]=[]),e[n].push(r)),e}),{}),j=Object.entries(E).map((([e,r])=>d(m({unit:e,no:null===(t=h[e])||void 0===t?void 0:t.no,title:h[e].label},e===w&&O&&{current:!0}),{docs:r.map((e=>m({},e,e.id===g&&O&&{current:!0}))).filter(y)}))).sort(((e,t)=>(null===(r=e)||void 0===r?void 0:r.no)-(null===(c=t)||void 0===c?void 0:c.no)));return O?{id:g,isTutorial:O,unit:w,pagination:x,units:j}:void 0}},5560:(e,t,r)=>{"use strict";r.d(t,{c:()=>l});var n=r(1504);const l=(e,t="0px")=>{const[r,l]=n.useState(!1);return n.useEffect((()=>{var r;const n=null===(r=e)||void 0===r?void 0:r.current,a=new IntersectionObserver((([e])=>{l(e.isIntersecting)}),{rootMargin:t});return n&&a.observe(n),()=>{n&&a.unobserve(n)}}),[]),r}},8840:(e,t,r)=>{"use strict";r.d(t,{ot:()=>s,GC:()=>u});var n=r(1504);const l={items:[]};var a=r(3740);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;tt.filter((t=>t.unit===e));function u(){const{store:e,toggle:t}=n.useContext(a.q);return{items:n.useMemo((()=>{var t,r,n,a;return null!==(a=null===(n=l)||void 0===n||null===(t=(r=n.items).map)||void 0===t?void 0:t.call(r,(t=>{const{id:r}=t;return i(o({},t),{checklist:t.checklist.map((t=>{var n;return i(o({},t),{checked:null!==(n=e[r]?.[t.id])&&void 0!==n&&n})})).sort(((e,t)=>e.index-t.index))})})))&&void 0!==a?a:[]}),[e]),toggle:t}}},380:(e,t,r)=>{"use strict";r.d(t,{e:()=>l});var n=r(9936);r(1504);const l=()=>{const{siteConfig:{customFields:e}}=(0,n.c)(),{tutorial:t}=e;return t}},3908:(e,t,r)=>{"use strict";r.d(t,{U:()=>a});var n=r(1504),l=r(1648);const a=()=>n.useContext(l.g5)},3680:(e,t,r)=>{"use strict";r.d(t,{u:()=>a});var n=r(1504),l=r(3120);const a=e=>n.createElement(l.E,e)},6968:(e,t,r)=>{"use strict";r.d(t,{m:()=>U});var n=r(9184),l=r(4971),a=r(3200),c=r(344),o=r(6076),i=r(1504),s=r(1980),u=r(8804),f=r(6098);const m=[{isPopover:!0,label:"Docs",items:[{label:"Foundation Docs",description:"Learn C++, Python & Java",link:"https://prepverse.vercel.app/docs",icon:f.C3},{label:"DSA Docs",description:"Learning DSA in C++, Python & Java",link:"https://prepverse.vercel.app/docs/1.DS.Algo",icon:f.uI}]},{isPopover:!0,label:"CodePoint",items:[{label:"Expert Sheet Solutions",description:"Most popular coding questions solutions asked during SDE interviews.",link:"https://prepverse.github.io/CodePoint/preface",icon:f.C3},{label:"Coding Ninjas Series",description:"Coding Ninjas Studio Guided Path Solutions",link:"https://prepverse.github.io/CodePoint/learning_resources/CN_Series/preface",icon:f.oh},{label:"LeetVerse",description:"Leetcode problem solutions with full probelm statements in C++, Python & Java",link:"https://prepverse.github.io/LeetVerse",icon:f.Ew}]},{isPopover:!0,label:"About",items:[{label:"About Me",description:"My information.",link:"https://prepverse.vercel.app/AkashSingh3031",icon:f.kv},{label:"Project Showcase",description:"PrepVerse open-source projects",link:"https://prepverse.vercel.app/showcase",icon:f.w9},{label:"My Portfolio",description:"All info about me",link:"https://prepverse.github.io/portfolio",icon:f.BE}]},{isPopover:!1,label:"Blog",href:"https://prepverse.vercel.app/blog",icon:f.s1},{isPopover:!1,label:"PrepVerse Community",href:"https://prepverse.vercel.app/prepverse-community",icon:f.vn}],d=({item:e,variant:t="landing"})=>{const r=e.icon;return i.createElement(n.c,{to:e.link,className:"no-underline"},i.createElement("div",{className:(0,l.c)("flex items-center","p-4","transition duration-150 ease-in-out","rounded-lg","hover:bg-gray-100","landing"===t&&"dark:hover:bg-gray-800","blog"===t&&"dark:hover:bg-refine-react-8")},i.createElement("div",{className:"shrink-0"},i.createElement(r,null)),i.createElement("div",{className:"ml-2"},i.createElement("div",{className:(0,l.c)("landing"===t&&"text-gray-900 dark:text-white","blog"===t&&"text-refine-react-8 dark:text-refine-react-3","font-semibold")},e.label),i.createElement("div",{className:(0,l.c)("landing"===t&&"text-gray-500 dark:text-gray-400","blog"===t&&"text-refine-react-5 dark:text-refine-react-4","text-xs")},e.description))))},p=({item:e})=>{const[t,r]=(0,i.useState)(null);(0,i.useEffect)((()=>(r(localStorage.getItem("theme")||null),window.addEventListener("storage",a,!1),()=>{window.removeEventListener("storage",a,!1)})),[]);const a=()=>{r(localStorage.getItem("theme")||null)};let c=e.icon;return"Cloud"===e.label&&(c="light"===t?f.oz:e.icon),i.createElement(n.c,{key:e.label,to:e.href,className:(0,l.c)("inline-flex items-center gap-2","text-sm leading-6 font-normal text-gray-900 dark:text-gray-300","transition-colors duration-150 ease-in-out","no-underline","Hackathon"===e.label?["py-1","px-2","rounded-lg","bg-hackathon-button-bg","animate-hackathon-button-bg","bg-refine-bg","text-gray-0","bg-[length:200%_100%]","text-[14px]","hover:text-gray-0"]:["hover:text-gray-900 dark:hover:text-white"])},e.icon&&i.createElement(c,null),e.label)};var b=r(640),g=r(5224),h=r(2424),v=r(4577);const y=({item:e,variant:t="landing",children:r})=>{const[n,a]=(0,i.useState)(!1),c=i.useRef(null),o=i.useRef(null),s=(0,b.IT)();return i.useEffect((()=>{a(!1)}),[s]),i.createElement(g._,{id:`popover-${e.label}`,key:e.label,className:(0,l.c)("relative","inline-flex items-center"),onMouseEnter:()=>{o.current=setTimeout((()=>a(!0)),210),clearTimeout(c.current)},onMouseLeave:()=>{c.current=setTimeout((()=>a(!1)),210),clearTimeout(o.current)}},(()=>i.createElement(i.Fragment,null,i.createElement(g._.Button,{className:(0,l.c)("inline-flex items-center","text-sm leading-6","font-normal")},i.createElement("span",{className:(0,l.c)("landing"===t&&"text-gray-900 dark:text-gray-300","blog"===t&&"text-refine-react-8 dark:text-refine-react-3","transition-colors duration-150 ease-in-out inline-block")},e.label),i.createElement(v.w,{"aria-hidden":"true",className:(0,l.c)("transition duration-150 ease-out","-mr-2","landing"===t&&"text-gray-500 dark:text-gray-400","blog"===t&&"text-refine-react-4",n?"translate-y-0.5":"")})),i.createElement(h.O,{as:i.Fragment,enter:"transition ease-in duration-150",enterFrom:"opacity-0 translate-y-3",enterTo:"opacity-100 translate-y-0",leave:"transition ease-out duration-150",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 translate-y-3",show:n},i.createElement(g._.Panel,{className:(0,l.c)("absolute","z-50","top-12",{"-left-32 center-point":"Docs"===e.label||"About"===e.label,"left-point":"CodePoint"===e.label})},i.createElement(f.WR,{id:e.label,variant:t,className:(0,l.c)("absolute","top-[-9px]",{"left-1/2":"CodePoint"!==e.label,"left-12":"CodePoint"===e.label}),style:{transform:"translateX(-50%)"}}),i.createElement("div",{className:(0,l.c)("overflow-hidden","rounded-xl","landing"===t&&"border dark:border-gray-700 border-gray-200","landing"===t&&"dark:shadow-menu-dark shadow-menu-light","blog"===t&&"border border-refine-react-3 dark:border-refine-react-6","blog"===t&&"dark:shadow-menu-blog-dark shadow-menu-blog-light")},r))))))},O=({variant:e="landing"})=>i.createElement(i.Fragment,null,m.map((t=>t.isPopover?i.createElement(y,{key:`navbar-${t.label}`,item:t,variant:e},"CodePoint"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,l.c)("grid grid-cols-2 gap-4","p-4","w-[672px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(d,{key:t.label,item:t,variant:e})))),i.createElement(n.c,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,l.c)("border-t","blog"===e&&"border-refine-react-3 dark:border-refine-react-6","landing"===e&&"border-gray-300 dark:border-gray-700","landing"===e&&"bg-gray-100 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-7","flex items-center","py-4 px-7")},i.createElement(f._2,null),i.createElement("div",{className:(0,l.c)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))),"About"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,l.c)("grid gap-4","p-4","w-[336px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(d,{key:t.label,item:t,variant:e})))),i.createElement("div",{className:(0,l.c)("border-t","blog"===e&&"border-refine-react-3 dark:border-refine-react-6","landing"===e&&"border-gray-300 dark:border-gray-700","landing"===e&&"bg-gray-100 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-7","flex justify-between items-center","py-4 px-7")},i.createElement("div",{className:(0,l.c)("landing"===e&&"text-gray-600 dark:text-gray-400 ","blog"===e&&"text-refine-react-5 dark:text-refine-react-4")},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.c,{to:"https://github.com/AkashSingh3031",className:(0,l.c)("no-underline","hover:text-inherit")},i.createElement(f.A9,{className:"dark:text-gray-400 text-gray-500"})),i.createElement(n.c,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(f.Ed,null)),i.createElement(n.c,{to:"https://instagram.com/akash.singh3031"},i.createElement(f.Yf,null)),i.createElement(n.c,{to:"https://x.com/akashsingh3031"},i.createElement(f.CC,null))))),"Docs"===t.label&&i.createElement("div",{className:(0,l.c)("grid gap-4","p-4","w-[336px]","bg-white","landing"===e&&" dark:bg-gray-900","blog"===e&&"dark:bg-refine-react-dark-code")},t.items.map((t=>i.createElement(d,{key:t.label,item:t,variant:e}))))):i.createElement(p,{key:`navbar-${t.label}`,item:t,variant:e}))));var w=r(2276),x=r(7008),E=r(9072),j=r(2268);function P(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const k=e=>i.createElement("svg",function(e){for(var t=1;ti.createElement("svg",function(e){for(var t=1;t{const[o,s]=(0,i.useState)(null),u=null!=r?r:n.c,m=void 0!==a&&void 0===t;return(0,i.useEffect)((()=>{const e=document.querySelector("html").getAttribute("data-theme");s(e)}),[]),i.createElement(u,function(e){for(var t=1;t{const r=(0,b.IT)();return i.useEffect((()=>{t(!1)}),[r]),i.createElement(L,{isModalOpen:e,setIsModalOpen:t},i.createElement(z,{className:(0,l.c)("hidden landing-sm:block","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}),i.createElement(B,{className:(0,l.c)("block landing-sm:hidden","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}))},L=({isModalOpen:e,setIsModalOpen:t,children:r})=>i.createElement(h.O,{appear:!0,show:e,as:i.Fragment},i.createElement(w.C,{as:"div",className:"relative z-10",onClose:()=>t(!1)},i.createElement(h.O.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},i.createElement("div",{className:(0,l.c)("fixed inset-0","bg-gray-0 dark:bg-gray-900","flex","flex-col")},i.createElement(H.Q,null),i.createElement("div",{className:(0,l.c)("flex items-center justify-between","p-4","landing-sm:px-8")},i.createElement(u.m,{className:"dark:text-gray-0 text-gray-900"}),i.createElement("button",{type:"button",className:(0,l.c)("rounded-lg","hover:brightness-105","active:scale-90","transition-transform duration-75 ease-in-out")},i.createElement(j.O,{className:"text-gray-900 dark:text-white",onClick:()=>t(!1)}))),i.createElement(h.O.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-75",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95"},i.createElement("div",{className:(0,l.c)("flex-1","overflow-y-auto","px-4","pb-4")},r)))))),z=e=>i.createElement("div",{className:(0,l.c)(e.className)},m.map(((e,t)=>{const r="icon"in e&&e.icon;return i.createElement("div",{key:t,className:(0,l.c)("not-prose","p-4","border-t dark:border-gray-700 border-gray-200")},i.createElement(n.c,{to:"href"in e?e.href:void 0,className:(0,l.c)("appearance-none","block","no-underline","dark:text-gray-0 text-gray-900","font-bold")},i.createElement("div",{className:(0,l.c)("flex items-center gap-2")},i.createElement("div",null,e.label),r&&i.createElement(r,null))),"items"in e&&i.createElement("div",{className:(0,l.c)("mt-2","grid grid-cols-2 min-[800px]:grid-cols-3","gap-x-8 gap-y-4")},e.items.map((e=>i.createElement(d,{key:e.label,item:e})))))})),i.createElement(G,null),i.createElement(T,{id:"tablet"}),i.createElement(R,{id:"tablet"})),B=e=>i.createElement("div",{className:(0,l.c)(e.className)},i.createElement("div",{className:"flex-grow"},m.map((e=>e.isPopover?i.createElement(x.C,{key:`modal-${e.label}`},(({open:t})=>i.createElement(i.Fragment,null,i.createElement(S,{component:x.C.Button,label:e.label,open:t}),i.createElement(x.C.Panel,{className:(0,l.c)(t&&"pb-4",t&&"border-b border-gray-200 dark:border-gray-700")},e.items.map((e=>i.createElement(d,{key:e.label,item:e}))))))):i.createElement(S,{key:`modal-${e.label}`,label:e.label,href:e.href,icon:e.icon})))),i.createElement(G,null),i.createElement(T,{id:"phone"}),i.createElement(R,{id:"phone"})),R=e=>{var t;return i.createElement(n.c,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,l.c)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex items-center","p-4")},i.createElement(f._2,{id:(null===(t=e)||void 0===t?void 0:t.id)||""}),i.createElement("div",{className:(0,l.c)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))},T=e=>{var t;return i.createElement("div",{className:(0,l.c)("bg-white dark:bg-gray-700 header-sm:bg-inherit","flex justify-between items-center","header-sm:flex-col header-sm:gap-4","header-sm:border-b border-gray-200 dark:border-gray-600","py-3 px-4")},i.createElement("p",{className:"text-gray-500 dark:text-gray-300 font-semibold"},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.c,{to:"https://github.com/AkashSingh3031"},i.createElement(f.A9,{className:"h-10 w-10"})),i.createElement(n.c,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(f.Ed,{className:"h-10 w-10"})),i.createElement(n.c,{to:"https://instagram.com/akash.singh3031"},i.createElement(f.Yf,{className:"h-10 w-10",id:(null===(t=e)||void 0===t?void 0:t.id)||""})),i.createElement(n.c,{to:"https://x.com/akashsingh3031"},i.createElement(f.CC,{className:"h-10 w-10"}))))},G=()=>{const{colorMode:e,setColorMode:t}=(0,E.U)(),r=()=>{t("dark"===e?"light":"dark")},n="dark"===e,a="light"===e;return i.createElement("div",{className:(0,l.c)("not-prose","p-4","flex items-center")},i.createElement("div",{className:(0,l.c)("text-sm","mr-10","dark:text-gray-400 text-gray-600")},"Apperance"),i.createElement("button",{onClick:r,className:(0,l.c)("mr-4","rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200","text-gray-500",a&&"bg-gray-50")},i.createElement(D.G,null),"Light"),i.createElement("button",{onClick:r,className:(0,l.c)("rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200",n?"text-gray-400":"text-gray-500",n&&"bg-gray-700")},i.createElement(Z.g,null),"Dark"))};var V=r(9253),F=r(2700),Y=r(5792),W=r(6936);const I=()=>{const{loading:e,githubStarCountText:t}=(0,F.wx)();return i.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank",rel:"noreferrer",className:(0,l.c)("flex gap-2 items-center","font-normal","text-sm leading-6","text-gray-500 dark:text-gray-400","hover:text-gray-400 dark:hover:text-gray-300","hover:no-underline","transition-colors","duration-200","ease-in-out")},i.createElement(Y.A,{className:(0,l.c)("w-5 h-5")}),i.createElement("div",{className:(0,l.c)("flex items-center","w-10 h-6")},e?i.createElement(W.c,{className:(0,l.c)("w-5 h-5"),wrapperProps:{className:(0,l.c)("mx-auto")}}):i.createElement("span",null,t)))},U=({trackProgress:e,variant:t="landing",className:r})=>{const[f,m]=(0,i.useState)(!1),{scrollYProgress:d}=(0,a.Q)(),p=(0,c.s)(d,[.03,.95],["0%","100%"]);return i.createElement(i.Fragment,null,i.createElement(H.Q,null),i.createElement("header",{className:(0,l.c)("sticky","top-0","z-10")},i.createElement("div",{className:(0,l.c)("absolute","top-0 left-0 right-0","backdrop-blur-[6px]","landing-md:backdrop-blur-[12px]","z-[-1]","bg-gray-0 dark:bg-gray-800","bg-opacity-80 dark:bg-opacity-80","pointer-events-none",r),style:{top:"-20px",bottom:"-80px",WebkitMaskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))",maskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))"}}),i.createElement("div",{className:(0,l.c)("relative","z-[1]","p-4","landing-sm:px-8","landing-md:py-5")},i.createElement("div",{className:(0,l.c)("mx-auto","flex","items-center","justify-between","max-w-[896px]","landing-lg:max-w-[1200px]")},i.createElement("div",{className:(0,l.c)("w-[130px]","landing-lg:w-[200px]")},i.createElement(n.c,{to:"https://prepverse.vercel.app"},i.createElement(u.m,{className:"text-gray-900 dark:text-gray-0"}))),i.createElement("button",{type:"button",className:(0,l.c)("text-gray-900 dark:text-gray-0","block landing-md:hidden"),onClick:()=>m(!0)},i.createElement(s.m,null)),i.createElement("div",{className:(0,l.c)("hidden landing-md:flex","flex-1","items-center","gap-8")},i.createElement(O,{variant:t})),i.createElement("div",{className:(0,l.c)("hidden landing-md:flex","items-center","justify-end","gap-4","w-[130px]","landing-lg:w-[200px]")},i.createElement(I,null),i.createElement(V.C,null)),i.createElement(M,{isModalOpen:f,setIsModalOpen:m}))),e&&i.createElement("div",{className:(0,l.c)("w-full","h-[1.5px]","translate","bg-refine-react-3 dark:bg-refine-react-7")},i.createElement(o.q.div,{className:(0,l.c)("h-full","bg-refine-react-light-link dark:bg-refine-react-dark-link"),style:{width:p}}))))}},7500:(e,t,r)=>{"use strict";r.d(t,{Ih:()=>o,oJ:()=>c,yg:()=>a});var n=r(4971),l=r(1504);const a="preferred-full-table-width",c=e=>l.createElement("div",{className:(0,n.c)("table-container")},l.createElement("table",e)),o=({children:e})=>l.createElement("div",{className:"table-full-width"},e)},9253:(e,t,r)=>{"use strict";r.d(t,{C:()=>i,O:()=>u});var n=r(1504),l=r(4971),a=r(9072),c=r(3756),o=r(5372);const i=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,a.U)();return n.createElement("button",{type:"button",className:(0,l.c)("appearance-none","focus:outline-none","relative","w-10 h-10","rounded-full","border","border-solid","border-gray-300 dark:border-gray-700","text-gray-500","transition-colors","duration-150","ease-in-out","overflow-hidden","flex-shrink-0","group",e),onClick:()=>{r("dark"===t?"light":"dark")}},n.createElement("div",{className:(0,l.c)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","translate-y-0","dark:-translate-y-10","duration-200","ease-in-out","transition-transform")},n.createElement(c.G,null)),n.createElement("div",{className:(0,l.c)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","-translate-y-10","dark:translate-y-0","duration-200","ease-in-out","transition-transform")},n.createElement(o.g,null)))},s=[{name:"light",icon:c.G,label:"Light"},{name:"dark",icon:o.g,label:"Dark"}],u=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,a.U)();return n.createElement("div",{className:(0,l.c)("flex","items-center","gap-4","justify-start",e)},s.map((({name:e,label:a,icon:c})=>n.createElement("button",{type:"button",key:e,className:(0,l.c)("appearance-none","focus:outline-none","py-1","pl-1.5","pr-3","flex","items-center","justify-center","gap-1","rounded-[40px]","text-gray-400","border border-solid","border-gray-200","dark:border-gray-600",t===e&&"bg-gray-100 dark:bg-gray-700"),onClick:()=>{r(e)}},n.createElement(c,{className:(0,l.c)("w-4 h-4")}),n.createElement("span",{className:(0,l.c)("text-sm")},a)))))}},7708:(e,t,r)=>{"use strict";r.d(t,{o0:()=>p,yw:()=>m,wd:()=>d,AR:()=>b});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var u=r(6098),f=r(4252);const m=[{label:"Resources",items:[{label:"Getting Started",href:"https://prepverse.vercel.app/docs"},{label:"Blog",href:"https://prepverse.vercel.app/blog"},{label:"Project Showcase",icon:n.createElement(u.KU,null),href:"https://prepverse.vercel.app/showcase"},{label:"Community",icon:n.createElement(u.KU,null),href:"https://prepverse.vercel.app/prepverse-community"}]},{label:"Product",items:[{label:"CodePoint",icon:n.createElement(f.i,null),href:"https://prepverse.github.io/CodePoint"},{label:"LeetVerse",icon:n.createElement(f.i,null),href:"https://prepverse.github.io/LeetVerse"}]},{label:"About",items:[{label:"About Me",href:"https://prepverse.vercel.app/AkashSingh3031"},{label:"Portfolio",icon:n.createElement(f.i,null),href:"https://prepverse.github.io/portfolio"}]}],d=[{label:"License",href:"https://github.com/PrepVerse/prepverse.github.io/blob/master/LICENSE"}],p="Thank you for visiting, Connect with me over socials.",b=[{icon:e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{G:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{w:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{g:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{i:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{A:()=>c,i:()=>o});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e){for(var t=1;tn.createElement("svg",a({width:12,height:12,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.053 0A10.904 10.904 0 0 0 3.89 2.685 11.34 11.34 0 0 0 .142 9.472a11.48 11.48 0 0 0 1.456 7.65 11.087 11.087 0 0 0 5.964 4.86c.556.103.752-.25.752-.547v-1.918C5.23 20.202 4.58 18 4.58 18a3.012 3.012 0 0 0-1.227-1.655c-.997-.692.081-.692.081-.692.35.05.683.18.975.382.293.202.536.469.713.78.15.278.352.523.595.721a2.312 2.312 0 0 0 2.618.221c.042-.57.283-1.105.678-1.509-2.454-.284-5.03-1.253-5.03-5.539a4.415 4.415 0 0 1 1.132-3.025A4.194 4.194 0 0 1 5.224 4.7s.928-.305 3.036 1.156c1.81-.508 3.72-.508 5.531 0 2.108-1.46 3.03-1.156 3.03-1.156.406.936.455 1.993.135 2.963a4.415 4.415 0 0 1 1.132 3.026c0 4.334-2.582 5.282-5.043 5.538.264.271.468.597.598.955.13.358.182.741.155 1.122V21.4c0 .367.196.65.759.54a11.093 11.093 0 0 0 5.88-4.878 11.481 11.481 0 0 0 1.419-7.6 11.34 11.34 0 0 0-3.71-6.746A10.907 10.907 0 0 0 11.053 0Z",fill:"currentColor"})),o=e=>n.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.066.001a11.91 11.91 0 0 1 7.745 2.966 12.326 12.326 0 0 1 4.032 7.33 12.46 12.46 0 0 1-1.54 8.245 12.088 12.088 0 0 1-6.406 5.314l-.105.037-.11.021c-.508.1-1.232.093-1.83-.422-.577-.498-.681-1.166-.681-1.565v-3.008l.004-.053a1.102 1.102 0 0 0-.062-.453 1.058 1.058 0 0 0-.235-.377l-.839-.86-.863.882a.802.802 0 0 0-.224.502l-.015.217v3.183c0 .434-.14 1.029-.628 1.492-.541.514-1.246.62-1.864.505l-.108-.02-.104-.035a12.082 12.082 0 0 1-6.498-5.296 12.457 12.457 0 0 1-1.58-8.298c.45-2.86 1.891-5.471 4.073-7.375A11.909 11.909 0 0 1 12.05.001h.016Zm-10.43 10.54a10.957 10.957 0 0 0 1.39 7.303 10.58 10.58 0 0 0 5.693 4.638c.53.099.717-.238.717-.522v-1.83c-.588.13-1.083.15-1.5.1a2.95 2.95 0 0 1-.542-.117 2.551 2.551 0 0 1-.422-.176 2.362 2.362 0 0 1-.82-.72c-.208-.294-.28-.535-.28-.535a2.876 2.876 0 0 0-1.17-1.58l-.016-.01c-.925-.65.093-.65.093-.65.106.015.21.038.313.068l.017.005a2.172 2.172 0 0 1 .962.603c.122.13.23.276.319.433a2.29 2.29 0 0 0 .68.775h.002s0 .001 0 0a2.211 2.211 0 0 0 2.385.124v-.014a2.302 2.302 0 0 1 .647-1.427 8.754 8.754 0 0 1-1.625-.328 4.865 4.865 0 0 1-1.416-.695 3.883 3.883 0 0 1-.432-.365c-.8-.786-1.328-2.002-1.328-3.899a4.214 4.214 0 0 1 1.08-2.887 4.003 4.003 0 0 1 .104-2.848s.886-.291 2.898 1.103a9.762 9.762 0 0 1 5.28 0c2.011-1.393 2.891-1.103 2.891-1.103.388.893.434 1.902.13 2.828a4.214 4.214 0 0 1 1.08 2.888c0 3.166-1.444 4.44-3.174 4.972a8.617 8.617 0 0 1-1.64.314 2.558 2.558 0 0 1 .699 1.425c.026.184.033.371.02.558v2.955c0 .35.187.62.724.515a10.588 10.588 0 0 0 5.613-4.656 10.958 10.958 0 0 0 1.354-7.254 10.824 10.824 0 0 0-3.541-6.439 10.41 10.41 0 0 0-6.77-2.592 10.408 10.408 0 0 0-6.837 2.563 10.824 10.824 0 0 0-3.578 6.478ZM16.374 7.8a8.003 8.003 0 0 0-.856.524l-.58.401-.679-.19a8.262 8.262 0 0 0-4.469 0l-.68.19-.58-.402a7.982 7.982 0 0 0-.846-.519c.019.186.059.37.12.549l.282.832-.588.653a2.714 2.714 0 0 0-.696 1.86v.024c0 1.724.503 2.513.998 2.937.563.481 1.397.736 2.476.86l1.567.182 1.954-.204c1.082-.112 1.912-.358 2.47-.833.492-.418.999-1.209.999-2.96v-.026a2.714 2.714 0 0 0-.696-1.86l-.582-.647.273-.826c.058-.178.096-.36.113-.545Z",clipRule:"evenodd"}))},1980:(e,t,r)=>{"use strict";r.d(t,{m:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{Q:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{G:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{s1:()=>o,wR:()=>s,QD:()=>f,vn:()=>d,kv:()=>b,uI:()=>h,A9:()=>y,_2:()=>w,Ew:()=>E,Yf:()=>P,oh:()=>C,Ed:()=>N,BE:()=>H,KU:()=>M,WR:()=>G,w9:()=>F,CC:()=>W,AH:()=>X,oz:()=>K,C3:()=>q});var n=r(1504);var l=r(4971);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const o=e=>n.createElement("svg",c(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const{colorMode:t}=(0,Z.U)();return n.createElement("div",{className:(0,l.c)("relative","flex","items-center","justify-center","rounded-full","overflow-hidden","p-px","dark:bg-[#194b3a] bg-[#b7dbff]"),style:{transform:"translateZ(0)"}},n.createElement("div",{className:(0,l.c)("z-[1]","absolute","inset-0","dark:bg-new-badge-border-dark bg-new-badge-border-light","animate-new-badge-border")}),n.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}var R,T;const G=e=>{var{variant:t="landing"}=e,r=B(e,["variant"]);return n.createElement("svg",z(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",U(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{m:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{G:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{o:()=>a});var n=r(1504);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{E:()=>p});var n=r(4971),l=r(1504),a=r(9184),c=r(7708),o=r(204);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const s=e=>l.createElement("svg",function(e){for(var t=1;t{const t=l.createElement("div",{className:(0,n.c)("py-6 landing-lg:py-0","flex","flex-col","gap-4","landing-lg:max-w-[224px]")},l.createElement("div",{className:(0,n.c)("font-semibold","text-sm","leading-6","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},"Contacts"),l.createElement("a",{href:"https://wa.me/+919794423031",target:"_blank",className:(0,n.c)("font-normal","text-sm","leading-5","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},"+91 9794423031"),l.createElement("a",{href:"https://mail.google.com/mail/u/0/?fs=1&to=codewithsky@gmail.com&tf=cm",target:"_blank",className:(0,n.c)("font-normal","text-sm","leading-5","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:180,height:40,viewBox:"0 0 180 40",fill:"none"},l.createElement("text",{x:"1",y:"15",fontFamily:"Arial, sans-serif",fontSize:"16",fill:"currentColor"},"codewithsky@gmail.com")))),r=l.createElement("div",{className:(0,n.c)("py-6 landing-lg:py-0","flex","flex-col","landing-sm:items-end")},l.createElement("div",{className:(0,n.c)("flex","flex-col","gap-4")},l.createElement("div",{className:(0,n.c)("text-sm","leading-6","font-semibold","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3","landing-lg:text-right")},"Connect with me on"),l.createElement("div",{className:(0,n.c)("flex","items-center","gap-8","landing-lg:gap-4","justify-start")},c.AR.map((({href:t,icon:r})=>l.createElement("a",{href:t,key:t,target:"_blank",rel:"noreferrer",className:(0,n.c)("landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300","hover:no-underline")},l.createElement(r,{className:(0,n.c)("w-6 h-6","landing-lg:w-8 landing-lg:h-8")})))))));return l.createElement("footer",{className:(0,n.c)("w-full")},l.createElement("div",{className:(0,n.c)("border-t border-t-solid","landing"===e&&"border-t-gray-100 dark:border-t-gray-700","blog"===e&&"border-t-refine-react-3 dark:border-t-refine-react-7","landing"===e&&"dark:bg-footer-landing-dark-bg","blog"===e&&"bg-footer-blog-light-bg dark:bg-footer-blog-dark-bg")},l.createElement("div",{className:(0,n.c)("grid","grid-cols-1","max-w-screen-landing-md","landing-lg:max-w-screen-landing-lg","mx-auto")},l.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8 landing-lg:px-12","py-4 landing-lg:py-6","flex","items-center","justify-between")},l.createElement(a.c,{to:"https://prepverse.vercel.app",className:(0,n.c)("hover:no-underline","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},l.createElement(u.m,null)),l.createElement("a",{href:"https://github.com/sponsors/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,n.c)("hover:no-underline")},l.createElement(s,null))),l.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8 landing-lg:px-12","flex","flex-row","flex-wrap","items-start","justify-start","text-gray-500 dark:text-gray-500")},c.o0),l.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8 landing-lg:px-12","py-6 landing-lg:pt-8 landing-lg:pb-12","flex","flex-row","flex-wrap","items-start","justify-start","gap-6")},l.createElement("div",{className:(0,n.c)("hidden","landing-lg:flex","max-w-[282px]","w-full")},t),c.yw.map((t=>l.createElement("div",{className:(0,n.c)("flex flex-col gap-4","min-w-[152px]"),key:t.label},l.createElement("div",{className:(0,n.c)("text-sm","leading-6","font-semibold","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3")},t.label),l.createElement("div",{className:(0,n.c)("flex","flex-col","gap-2")},t.items.map((t=>l.createElement("a",d(m({href:t.href,key:t.label},t.href.startsWith("http")?{target:"_blank",rel:"noopener noreferrer"}:{}),{className:(0,n.c)("text-sm","leading-5","hover:no-underline","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:text-gray-800 dark:hover:text-gray-300")}),l.createElement("div",{className:(0,n.c)("flex","items-center","gap-2")},t.label,t.icon)))))))),l.createElement("div",{className:(0,n.c)("hidden","landing-lg:flex","ml-auto")},r)),l.createElement("div",{className:(0,n.c)("px-4 landing-sm:px-8","grid","grid-cols-1","landing-sm:grid-cols-2","landing-sm:gap-8","landing-lg:hidden")},t,r))),l.createElement("div",{className:(0,n.c)("border-t border-t-solid","landing"===e&&"border-t-gray-100 dark:border-t-gray-700","blog"===e&&"border-t-gray-100 dark:border-t-gray-700","landing"===e&&"bg-gray-50 dark:bg-gray-800","blog"===e&&"bg-refine-react-1 dark:bg-refine-react-8")},l.createElement("div",{className:(0,n.c)("py-6 landing-sm:py-8 landing-lg:py-6","px-4 landing-sm:px-8 landing-lg:px-12","grid","grid-cols-1","landing-md:grid-cols-2","gap-8","max-w-screen-landing-md","landing-lg:max-w-screen-landing-lg","mx-auto")},l.createElement("div",{className:(0,n.c)("flex","flex-col","landing-sm:flex-row","gap-4","items-start","justify-start")},c.wd.map((t=>l.createElement("a",d(m({href:t.href,key:t.label},t.href.startsWith("http")?{target:"_blank",rel:"noopener noreferrer"}:{}),{className:(0,n.c)("text-sm","leading-5","font-normal","landing"===e&&"text-gray-600 dark:text-gray-400","blog"===e&&"text-refine-react-5 dark:text-refine-react-4","hover:no-underline","hover:text-gray-800 dark:hover:text-gray-300")}),t.label)))),l.createElement("div",{className:(0,n.c)("text-left","landing-md:text-right","text-sm","pr-6 landing-sm:pr-0","leading-5","landing"===e&&"text-gray-900 dark:text-gray-0","blog"===e&&"text-refine-react-8 dark:text-refine-react-3","font-normal")},l.createElement("div",{className:(0,n.c)("text-base","text-gray-500 dark:text-gray-400")},"Copyright \xa9 ",(new Date).getFullYear()," PrepVerse"," ",l.createElement(o.Q,{className:"text-refine-red ml-2 inline leading-6"}),l.createElement("br",null),"Built with Docusaurus & Refine.")))))}},6192:(e,t,r)=>{"use strict";r.d(t,{D:()=>f});var n=r(1504),l=r(4971),a=r(9184);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const o=e=>n.createElement("svg",function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const f=e=>{var{children:t,href:r,className:c,onClick:f,buttonClassname:m}=e,d=u(e,["children","href","className","onClick","buttonClassname"]);const p=r?a.c:"button";return n.createElement(p,s(function(e){for(var t=1;t{"use strict";r.d(t,{c:()=>i});var n=r(4971),l=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const i=e=>{var{className:t,wrapperProps:r}=e,a=o(e,["className","wrapperProps"]);return l.createElement("div",c({role:"status"},r),l.createElement("svg",c({"aria-hidden":"true",width:24,height:24,viewBox:"0 0 100 100",className:(0,n.c)("text-gray-200 animate-spin dark:text-gray-600 fill-refine-blue",t),fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),l.createElement("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),l.createElement("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})),l.createElement("span",{className:"sr-only"},"Loading..."))}},252:(e,t,r)=>{"use strict";r.d(t,{Q:()=>i});var n=r(4971),l=r(1504);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){for(var t=1;tl.createElement("div",{className:(0,n.c)("w-full h-12","relative","bg-top-announcement","not-prose","font-inter","z-top-announcement")},l.createElement("div",{className:(0,n.c)("hidden lg:flex","w-full h-full","max-w-screen","overflow-hidden","border-b border-solid border-[#47ebeb26]","top-announcement-mask")},l.createElement("div",{className:(0,n.c)("w-[1280px] h-full","mx-auto","flex","justify-between")},l.createElement("div",{className:(0,n.c)("w-[calc(50%-300px)] h-full","relative")},l.createElement(u,{style:{animationDelay:"1.5s"},className:(0,n.c)("absolute","top-[2px]","right-[220px]"),id:"1"}),l.createElement(u,{style:{animationDelay:"1s"},className:(0,n.c)("absolute","rotate-180","top-[8px] right-[100px]"),id:"2"}),l.createElement(f,{className:(0,n.c)("absolute","right-[10px]"),id:"3"})),l.createElement("div",{className:(0,n.c)("w-[calc(50%-300px)] h-full","relative")},l.createElement(u,{style:{animationDelay:"2s"},className:(0,n.c)("absolute","rotate-180","top-[6px] right-[180px]"),id:"4"}),l.createElement(u,{style:{animationDelay:"0.5s"},className:(0,n.c)("delay-[1300]","absolute","top-[2px]","right-[40px]"),id:"5"}),l.createElement(f,{className:(0,n.c)("absolute","right-[-70px]"),id:"6"})))),l.createElement(s,null)),s=()=>l.createElement("a",{href:"https://prepverse.vercel.app/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,n.c)("relative lg:absolute","px-2 lg:px-0","top-0","left-[50%]","translate-x-[-50%]","bg-top-announcement-text","h-full w-full lg:w-[450px]","flex items-center justify-center","text-white","text-xs sm:text-sm","text-center","no-underline","hover:no-underline","hover:text-white","not-prose")},l.createElement("div",{className:(0,n.c)("ml-2","not-prose")},"For more updates follow","",l.createElement("span",{className:(0,n.c)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")},"@AkashSingh3031"),".")),u=e=>l.createElement("svg",o(c({xmlns:"http://www.w3.org/2000/svg",width:80,height:40,fill:"none"},e),{className:(0,n.c)("animate-top-announcement-glow","opacity-1",e.className)}),l.createElement("circle",{cx:40,r:40,fill:`url(#${e.id}-a)`,fillOpacity:.5}),l.createElement("defs",null,l.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 40 -40 0 40 0)",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{stopColor:"#47EBEB"}),l.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0})))),f=e=>l.createElement("svg",o(c({xmlns:"http://www.w3.org/2000/svg",width:120,height:48,fill:"none"},e),{className:(0,n.c)("animate-top-announcement-glow","opacity-1",e.className)}),l.createElement("circle",{cx:60,cy:24,r:60,fill:`url(#${e.id}-a)`,fillOpacity:.5}),l.createElement("defs",null,l.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 60 -60 0 60 24)",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{stopColor:"#47EBEB"}),l.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0}))))},2064:(e,t,r)=>{"use strict";r.d(t,{ED:()=>i,Ip:()=>s,_i:()=>m,Mx:()=>u,iG:()=>d,Yv:()=>o,Sm:()=>c,G_:()=>f});var n=r(2411);const l=JSON.parse('{"label":"Tutorial","path_prefix_segment":"tutorial","defaultParameters":{"language":"cpp"},"parameterOptions":{"language":[{"label":"C++","value":"cpp"},{"label":"Python","value":"py"},{"label":"Java","value":"java","status":"coming-soon"}]},"units":[{"title":"DSA","id":"dsa","items":["dsa/:language/index"]}]}');var a=r(1688);const c=l,o=(e,t)=>e.split("/").map((e=>{if(e.startsWith(":")){const r=e.slice(1);return t[r]}return e})).join("/"),i=(e,t)=>{for(const r of c.units)for(const n of r.items)if(e===o(n,t))return r},s=(e,t)=>{let r=!1;for(const n of c.units)for(const l of n.items){if(r)return l;o(l,t)===e&&(r=!0)}},u=(e,t)=>{let r=null;for(const n of c.units)for(const l of n.items){if(o(l,t)===e)return r;r=l}},f=()=>{const{docs:e}=(0,a.E)(),{versions:t}=(0,n.MP)("docusaurus-plugin-content-docs","tutorial"),r=t[0].docs;for(const n of r)n.title=e[n.id].title;return Object.fromEntries(r.map((e=>[e.id,e])))},m=(e,t)=>{const r=t[e];if(!r)throw new Error(`Cannot find item with id ${e}`);return r.path},d=(e,t)=>{const r=t[e];if(!r)throw new Error(`Cannot find doc with id ${e}`);return r.title}},1240:(e,t,r)=>{"use strict";r.d(t,{c:()=>C});var n=r(1504),l=r(4971);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{var a;const c=null!==(a=p[e])&&void 0!==a?a:()=>null;var o;const i=null!==(o=b[e])&&void 0!==o?o:"tex-inherit";var s;const u=null!==(s=g[e])&&void 0!==s?s:"bg-inherit";return"simple"===e?n.createElement(y,{type:e,title:t},r):n.createElement("div",{className:(0,l.c)("rounded-lg","admonition",`admonition-${e}`,"mb-6","refine-wider-container",u)},n.createElement("div",{className:(0,l.c)("border-l-4","border-l-solid","border-l-inherit","rounded-tl-lg","rounded-bl-lg","py-4","pr-4","pl-3","flex flex-col","gap-2 sm:gap-4")},(t||h[e])&&n.createElement("div",{className:(0,l.c)("flex","items-center","gap-2","text-xs sm:text-base 2xl:text-base 2xl:leading-7","font-semibold",i)},n.createElement(c,null),n.createElement("span",{className:"uppercase"},null!==(f=null!=t?t:h[e])&&void 0!==f?f:"")),n.createElement("div",{className:(0,l.c)("text-gray-0","text-base","last:mb-0")},r)));var f},y=({type:e,title:t,children:r})=>{var a;const c=null!==(a=b[e])&&void 0!==a?a:"tex-inherit";var o;const i=null!==(o=g[e])&&void 0!==o?o:"bg-inherit";return n.createElement("div",{className:(0,l.c)("rounded-lg","admonition",`admonition-${e}`,"mb-6",i)},n.createElement("div",{className:(0,l.c)("flex flex-col","gap-2",!t&&"pt-4")},t&&n.createElement("div",{className:(0,l.c)("px-4","pt-4","text-sm","leading-5","-mt-0.5",c)},n.createElement("span",{className:"font-semibold"},null!=t?t:""),n.createElement("span",null,":")),n.createElement("div",{className:(0,l.c)("text-gray-0","text-base","last:mb-0","px-4 pb-4","admonition-content")},r)))};function O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function w(e){for(var t=1;tn.isValidElement(e)&&"mdxAdmonitionTitle"===(null===(t=e.props)||void 0===t?void 0:t.mdxType))),a=n.createElement(n.Fragment,null,r.filter((e=>e!==l)));return{mdxAdmonitionTitle:l,rest:a}}(e.children);var l;return x(w({},e),{title:null!==(l=e.title)&&void 0!==l?l:t,children:r})}const k=e=>{const{children:t,type:r,title:l}=P(e);return n.createElement(v,{type:r,title:l},t)};function C(e){return"info-tip"===e.type?n.createElement(k,e):"additional"===e.type?n.createElement(k,x(w({},e),{type:"note",title:"ADDITIONAL INFO"})):"sourcecode"===e.type?n.createElement(k,x(w({},e),{icon:n.createElement(E,null),title:n.createElement("a",{href:e.path,target:"_blank",rel:"noreferrer",style:{marginLeft:"4px"}},"SOURCE CODE"),titleProps:{style:{marginBottom:"-4px"}}}),e.children):"create-example"===e.type?n.createElement(k,x(w({},e),{type:"caution",icon:n.createElement(j,null),title:n.createElement("span",{style:{marginLeft:"4px"}},"RUN IN YOUR LOCAL")}),e.children):n.createElement(n.Fragment,null,n.createElement(k,e))}},7328:(e,t,r)=>{"use strict";r.d(t,{c:()=>k});var n=r(4971),l=r(1504);const a=({className:e})=>l.createElement("div",{className:(0,n.c)("relative","w-full","landing-md:mx-auto","w-full","pt-4 blog-md:pt-12 pb-6 px-6","bg-white dark:bg-gray-800",e)},l.createElement("div",{className:(0,n.c)("blog-sm:max-w-[592px]","blog-md:max-w-[656px]","blog-lg:max-w-[896px]","blog-max:max-w-[1200px]","w-full","mx-auto","flex","flex-col","items-start justify-start blog-lg:items-center blog-lg:justify-center","gap-4","not-prose")},l.createElement("h2",{className:(0,n.c)("flex","flex-wrap","gap-2","text-[32px] leading-[40px] landing-sm:text-[56px] landing-sm:leading-[72px]")},l.createElement("div",{className:(0,n.c)("dark:text-gray-0 text-gray-900")},"PrepVerse "),l.createElement("div",{className:(0,n.c)("font-semibold","dark:text-refine-green-alt dark:drop-shadow-[0_0_30px_rgba(71,235,235,0.25)]","text-refine-blue drop-shadow-[0_0_30px_rgba(51,51,255,0.3)]","whitespace-nowrap")},"Technical Blog")),l.createElement("p",{className:(0,n.c)("text-base","text-start landing-md:text-center","max-w-[588px]","dark:text-gray-400 text-gray-600","pb-2")},"contains all the DSA, Core Subjects, Web Tech, Data Science & FAANG Interview questions based blogs.")));var c=r(3680),o=r(8480),i=r(6968),s=r(6192),u=r(6112),f=r(9184),m=r(2424),d=r(2276),p=r(2268);function b(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g(e){for(var t=1;t{const[r,n]=(0,l.useState)({scrollDepths:e,scrollY:0}),{scrollDepths:a,scrollY:c}=r;return(0,l.useEffect)((()=>{"undefined"!=typeof window&&0!==window.pageYOffset&&n((e=>h(g({},e),{scrollY:window.pageYOffset})))}),[]),(0,l.useEffect)((()=>{if("undefined"==typeof window)return;const e=()=>window.removeEventListener("scroll",l),l=()=>{const l=document.documentElement,c=document.body,o=l.scrollTop||c.scrollTop,i=l.scrollHeight||c.scrollHeight,s=o/(i-l.clientHeight)*100;if(a){const r=Math.min(...a,i);if(s>=r){const l=a.filter((e=>e!==r));0===l.length&&e(),t&&t({scrollY:r,scrollPercent:s,remainingDepths:l}),n({scrollY:r,scrollDepths:l})}}else n(h(g({},r),{scrollY:s}))};return window.addEventListener("scroll",l),e}),[a,c,r]),{scrollY:c}},y=(e,t)=>{const[r,n]=(0,l.useState)((()=>{if("undefined"==typeof window)return t;try{const r="undefined"!=typeof window?window.localStorage.getItem(e):void 0;return r?JSON.parse(r):t}catch(r){return console.log(r),t}}));return[r,t=>{try{const l=t instanceof Function?t(r):t;n(l),"undefined"!=typeof window&&window.localStorage.setItem(e,JSON.stringify(l))}catch(l){console.log(l)}}]};var O=r(640);const w=({title:e="Click here to discover my latest projects, skills, and achievements on my portfolio website. My journey into creativity begins now!",variant:t="purple",image:r={src:"https://github.com/AkashSingh3031.png",alt:"My Portfolio",href:"https://prepverse.github.io/portfolio"},button:a={text:"Explore Now",href:"https://prepverse.github.io/portfolio",onClick:void 0}})=>{var c,o,i,b;const{pathname:g}=(0,O.IT)(),[h,w]=(0,l.useState)(!1),[x,E]=y("banner-modal",null),j=(0,l.useRef)(!1),P=v();var k,C;return(0,l.useEffect)((()=>{"/blog/"!==g&&"/blog"!==g&&(j.current||h||P.scrollY>79&&P.scrollY<100&&(j.current=!0,9===x||null===x?(w(!0),E(0)):(E(x+1),j.current=!0)))}),[P.scrollY]),(0,l.useEffect)((()=>{h&&"undefined"!=typeof window&&void 0!==window.gtag&&window.gtag("event","view_banner",{banner_name:"banner-modal",banner_text:e,banner_image:r.src})}),[h]),l.createElement(m.O,{appear:!0,show:h,as:l.Fragment},l.createElement(d.C,{as:"div",className:"relative z-modal",onClose:()=>w(!1)},l.createElement(m.O.Child,{as:l.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},l.createElement("div",{className:"fixed inset-0 bg-gray-900/70"})),l.createElement("div",{className:"fixed inset-0 overflow-y-auto"},l.createElement("div",{className:"flex min-h-full items-start justify-center"},l.createElement(m.O.Child,{as:l.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},l.createElement(d.C.Panel,{className:(0,n.c)("w-full min-h-screen","flex flex-col justify-center items-center")},l.createElement("div",{className:(0,n.c)("relative","rounded-3xl","max-w-[576px]","py-8","px-4 md:px-8","gray"===t&&"bg-banner-examples-modal-gray","purple"===t&&"bg-banner-examples-modal-purple")},l.createElement("div",{className:(0,n.c)("flex","flex-col","items-center","gap-8","text-center","not-prose")},l.createElement(f.c,{to:null!==(k=null===(c=r)||void 0===c?void 0:c.href)&&void 0!==k?k:null===(o=a)||void 0===o?void 0:o.href,target:"_blank",rel:"noopener noreferrer",className:(0,n.c)("flex","h-auto xl:h-[192px]","flex-shrink-0","rounded-lg","overflow-hidden","focus:outline-none")},l.createElement("img",{className:(0,n.c)("object-contain"),src:null===(i=r)||void 0===i?void 0:i.src,alt:null!==(C=null===(b=r)||void 0===b?void 0:b.alt)&&void 0!==C?C:e,loading:"lazy"})),l.createElement("p",{className:(0,n.c)("text-2xl","font-semibold","gray"===t&&"bg-clip-text","gray"===t&&"text-transparent","gray"===t&&"bg-banner-examples-text","purple"===t&&"text-gray-0")},e),l.createElement(s.D,{className:(0,n.c)("w-max"),buttonClassname:(0,n.c)("!px-4","!py-4"),href:a.href,onClick:a.onClick,target:"_blank",rel:"noopener noreferrer"},l.createElement("div",{className:(0,n.c)("text-gray-900","text-base","font-bold")},a.text),l.createElement(u.G,{className:(0,n.c)("w-4","h-4")}))),l.createElement("button",{className:(0,n.c)("absolute","top-2 right-2","w-8 h-8","flex items-center justify-center flex-shrink-0","text-gray-0","rounded-full","bg-gray-900/20"),onClick:()=>w(!1)},l.createElement(p.O,{className:"w-4 h-4"})))))))))};var x=r(6280);function E(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function j(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function P(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},a=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const k=e=>{const[t,r]=(0,l.useState)(!1),{children:s,toc:u,showSidebarBanner:f=!0}=e,m=P(e,["children","toc","showSidebarBanner"]),d=v();return(0,l.useEffect)((()=>{t&&(d.scrollY>20&&r(!0),d.scrollY<20&&r(!1))}),[d.scrollY,f]),l.createElement(o.C,j(function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>h});var n=r(1504),l=r(4971),a=r(6684),c=r(5628),o=r(468),i=r(7328);function s(){const{assets:e,metadata:t}=(0,o.g)(),{title:r,description:l,date:c,tags:i,authors:s,frontMatter:u}=t,{keywords:f}=u;var m,d;const p=null!==(d=null!==(m=u.social_image)&&void 0!==m?m:e.image)&&void 0!==d?d:u.image;return n.createElement(a.U7,{title:r,description:l,keywords:f,image:p},n.createElement("meta",{property:"og:type",content:"article"}),n.createElement("meta",{property:"article:published_time",content:c}),s.some((e=>e.url))&&n.createElement("meta",{property:"article:author",content:s.map((e=>e.url)).filter(Boolean).join(",")}),i.length>0&&n.createElement("meta",{property:"article:tag",content:i.map((e=>e.label)).join(",")}))}var u=r(640),f=r(1628);const m=e=>{(0,u.Uz)();const t=(0,u.IT)(),{toc:r,hasTOC:a,activeId:c,setActiveId:o}=p(e.toc),i=e=>{var r;e!==`${null!==(r=t.hash)&&void 0!==r?r:""}`.replace("#","")&&(o(e),window.history.replaceState({},"",`#${e}`))};return n.createElement("div",{className:(0,l.c)("hidden blog-md:block","w-full","sticky right-0 top-[67px]","max-w-[280px]","overflow-auto","h-[calc(100vh-67px)]","px-3","pb-10","pt-4 blog-lg:pt-9","border-l dark:border-l-gray-700 border-l-gray-100",!a&&"invisible","not-prose")},n.createElement(f.us,null),n.createElement("ul",{className:"list-none m-0 p-0 pt-10 mt-1 not-prose"},r.map((e=>n.createElement("li",{key:e.id},n.createElement(d,{id:e.id,value:e.value,activeId:c,level:e.level,onIdChange:i}))))))},d=({id:e,value:t,level:r,activeId:a,onIdChange:c})=>(n.useEffect((()=>{const t=document.getElementById(e);if(t){const r=new IntersectionObserver((t=>{t.forEach((t=>{t.isIntersecting&&c(e)}))}),{rootMargin:"0px 0px -80% 0px"});return r.observe(t),()=>{r.unobserve(t)}}}),[e]),n.createElement("a",{href:`#${e}`,className:(0,l.c)("refine-toc-item",2===r&&"pl-3",3===r&&"pl-7",4===r&&"pl-11","py-2 pr-4",a===e&&"bg-refine-blue-2-light dark:bg-refine-blue-2/10",a===e&&"text-refine-react-light-link dark:text-refine-react-dark-link",a!==e&&"text-refine-react-8 dark:text-refine-react-3",a!==e&&"hover:bg-refine-blue-2-light/40 hover:dark:bg-refine-blue-2/5",a!==e&&"hover:text-refine-react-light-link hover:dark:text-refine-react-dark-link","rounded-[18px]","transition-colors duration-200 ease-in-out","block","text-sm","leading-6","no-underline hover:no-underline"),dangerouslySetInnerHTML:{__html:t}})),p=e=>{var t;const{hash:r}=(0,u.IT)(),l=`${r}`.replace("#",""),[a,c]=n.useState(l);n.useEffect((()=>{c(l)}),[l]);const o=(null===(t=e)||void 0===t?void 0:t.length)>0;return{toc:e,activeId:a,setActiveId:c,hasTOC:o}};var b=r(940);function g({children:e}){const{metadata:t,toc:r}=(0,o.g)(),{relatedPosts:l}=t;return n.createElement(i.c,{toc:n.createElement(m,{toc:r})},n.createElement(f.cN,null,e),n.createElement(f.E$,{title:"Related Articles",posts:l}),n.createElement(b.c,null))}function h(e){const t=e.content;return n.createElement(o.E,{content:e.content,isBlogPostPage:!0},n.createElement(a.cr,{className:(0,l.c)(c.W.wrapper.blogPages,c.W.page.blogPostPage)},n.createElement(s,null),n.createElement(g,null,n.createElement(t,null))))}},8560:(e,t,r)=>{"use strict";r.d(t,{s:()=>D});var n=r(1504),l=r(8952),a=r(8796),c=r(5684),o=r(6564),i=r(2184),s=r(6616),u=r(5952),f=r(4971),m=r(1373);function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function b(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},a=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const g=e=>{var{as:t}=e,r=b(e,["as"]);return n.createElement(t,p(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const[r,l]=(0,n.useState)(!1),a=(0,n.useRef)(void 0),c=(0,n.useCallback)((()=>{try{navigator.clipboard.writeText(e).then((()=>{l(!0),a.current=window.setTimeout((()=>{l(!1)}),1e3)}))}catch(t){}}),[e]);return(0,n.useEffect)((()=>()=>window.clearTimeout(a.current)),[]),n.createElement("button",{type:"button","aria-label":r?"Copied!":"Copy code to clipboard",title:"Copy code to clipboard",className:(0,f.c)("w-6 h-6","flex justify-center items-center","bg-gray-200","dark:bg-gray-800","hover:bg-gray-300","dark:hover:bg-refine-react-dark-code","rounded","group","transition-[background-color] duration-200 ease-in-out"),onClick:c},n.createElement(v,{className:(0,f.c)("w-3 h-3","text-gray-500","dark:text-gray-400",r&&"rotate-[360deg]","transition-all duration-200 ease-in-out")}))};function O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const w=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const r=t?w:E;return n.createElement("button",{type:"button",onClick:()=>e(),className:(0,f.c)("w-6 h-6","flex justify-center items-center","bg-gray-200","dark:bg-gray-800","hover:bg-gray-300","dark:hover:bg-refine-react-dark-code","rounded","group","transition-[background-color] duration-200 ease-in-out"),"aria-label":"Toggle word wrap",title:"Toggle word wrap"},n.createElement(r,{className:(0,f.c)("w-3 h-3","text-gray-500","dark:text-gray-400",t&&"rotate-[360deg]","transition-all duration-200 ease-in-out")}))};function P(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function k(e){for(var t=1;tn.createElement("svg",k({xmlns:"http://www.w3.org/2000/svg",width:12,height:14,viewBox:"0 0 12 14",fill:"none"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M11 4.994V11.6A1.4 1.4 0 0 1 9.6 13H2.4A1.4 1.4 0 0 1 1 11.6V2.4A1.4 1.4 0 0 1 2.4 1h4.606a1.4 1.4 0 0 1 .99.41l2.594 2.594a1.4 1.4 0 0 1 .41.99ZM0 2.4A2.4 2.4 0 0 1 2.4 0h4.606a2.4 2.4 0 0 1 1.697.703l2.594 2.594A2.4 2.4 0 0 1 12 4.994V11.6A2.4 2.4 0 0 1 9.6 14H2.4A2.4 2.4 0 0 1 0 11.6V2.4ZM3.5 6a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5Zm0 2a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5Zm0 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3Z",clipRule:"evenodd"})),N=({children:e,icon:t=n.createElement(A,null)})=>n.createElement("div",{className:(0,f.c)("py-3","px-4","bg-gray-100 dark:bg-gray-700","text-gray-800","dark:text-gray-100","text-xs","flex items-center","gap-2","rounded-tl-lg","rounded-tr-lg")},t,e),S=({children:e,className:t="",metastring:r,title:l,showLineNumbers:a,language:d,icon:p,style:b})=>{const{prism:{defaultLanguage:h,magicComments:v}}=(0,c.y)();var O;const w=null!==(O=null!=d?d:(0,i.K2)(t))&&void 0!==O?O:h,x=(0,o.i)(),E=(0,s._)(),P=(0,i.QH)(r)||l,{lineClassNames:A,code:S}=(0,i.cj)(e,{metastring:r,language:w,magicComments:v}),H=null!=a?a:(0,i.OO)(r);return n.createElement(g,{as:"div",className:(0,f.c)("refine-common-code-block",w&&`language-${w}`,"rounded-lg","bg-gray-200","dark:bg-gray-900","border","border-gray-300","dark:border-0","mb-6","relative","refine-wider-container"),style:b},P&&n.createElement(N,{icon:p},P),n.createElement("div",{className:(0,f.c)("relative","pt-3","pb-0","not-prose")},n.createElement(m.cp,C(k({},m.wB),{theme:x,code:S,language:null!=w?w:"text"}),(({className:e,tokens:t,getLineProps:r,getTokenProps:l})=>n.createElement("pre",{tabIndex:0,ref:E.codeBlockRef,className:(0,f.c)(e,"bg-transparent","!mt-0","!mb-0","m-0","px-0","pt-0","font-jetBrains-mono","pb-3")},n.createElement("code",{className:(0,f.c)("font-[inherit]","bg-transparent","inline-block","min-w-full")},t.map(((e,t)=>n.createElement(u.c,{key:t,line:e,getLineProps:r,getTokenProps:l,classNames:(0,f.c)(A[t],"px-4","text-xs sm:text-sm 2xl:text-sm"),showLineNumbers:H})))))))),n.createElement("div",{className:(0,f.c)("absolute",P?"top-2 right-2":"top-3 right-3","flex items-center gap-2")},(E.isEnabled||E.isCodeScrollable)&&n.createElement(j,{onClick:E.toggle,isEnabled:E.isEnabled}),n.createElement(y,{className:(0,f.c)(),code:S})))};function H(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Z(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},a=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const D=e=>{var{children:t}=e,r=Z(e,["children"]);const c=(0,l.c)(),o=function(e){return n.Children.toArray(e).some((e=>(0,n.isValidElement)(e)))?e:Array.isArray(e)?e.join(""):e}(t),i="string"==typeof o?S:a.c;return n.createElement(i,function(e){for(var t=1;t{"use strict";r.d(t,{c:()=>N});var n=r(1504),l=r(8560),a=r(4971),c=r(9936),o=r(7748),i=r.n(o),s=r(1688);const u="playgroundPreview_jwe9";function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function m({children:e,minHeight:t,url:r="http://localhost:3000",hasBottom:l=!1}){return n.createElement("div",{className:(0,a.c)("flex","flex-col","h-full")},n.createElement("div",{className:(0,a.c)("flex-shrink-0","rounded-tl-lg","rounded-tr-lg","border","border-gray-300 dark:border-gray-700","px-4 py-3","flex items-center justify-start","gap-2","bg-gray-100 dark:bg-gray-700","relative","text-gray-800 dark:text-gray-100","border-b-0")},n.createElement(d,{className:"w-4 h-4"}),n.createElement("div",{className:(0,a.c)("text-xs")},`${r}`.replace(/^http(s?):\/\//,""))),n.createElement("div",{className:(0,a.c)("flex-1","overflow-hidden","bg-gray-100 dark:bg-gray-700","border border-gray-300 dark:border-gray-700",!l&&"rounded-bl-lg rounded-br-lg",l&&"border-b-gray-300 dark:border-b-gray-900",l&&"border-b"),style:{minHeight:t}},e))}const d=e=>n.createElement("svg",function(e){for(var t=1;t{const[l,a]=n.useState(e),[c]=n.useState(t);n.useEffect((()=>{!l&&e&&a(!0)}),[e]),n.useEffect((()=>{if(c){const e=setTimeout((()=>{a(!0)}),c);return()=>clearTimeout(e)}}),[c]);const o=n.useMemo((()=>l&&"function"==typeof r?r():null),[l]);if(void 0!==r&&"function"!=typeof r)throw new Error("Conditional component requires a function as a child");return o};var g=r(9128),h=r(3296);function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.g.Buffer=r.g.Buffer||h.Sn;const y=({query:e,code:t,css:r})=>{const{siteConfig:{customFields:l}}=(0,c.c)(),[a,o]=n.useState(void 0),s=n.useCallback((async t=>{if("undefined"!=typeof window&&window.Worker){const n=new Worker(`${location.protocol}//${location.host}/workers/lz-worker.js`);n.onmessage=function({data:t}){t.compressed&&o(`${l.LIVE_PREVIEW_URL}?code=${t.compressed}${r?`&css=${i().encode(r)}`:""}${e?`${e}`:""}`),n.terminate()},n.postMessage({code:t})}}),[e]);return n.useEffect((()=>{s(t)}),[t,s]),a?n.createElement("iframe",{loading:"lazy",src:a,width:"100%",height:"100%",style:{position:"absolute",left:0,top:0,width:"100%",height:"100%"}}):null},O=n.memo(y,((e,t)=>e.code===t.code&&e.query===t.query&&e.css===t.css)),w=e=>n.createElement("svg",function(e){for(var t=1;t{l?(i(!1),setTimeout((()=>{c((e=>!e)),setTimeout((()=>{i(!0)}),300)}),100)):(i(!1),c((e=>!e)),setTimeout((()=>{i(!0)}),300))}},n.createElement(w,{className:(0,a.c)(l&&"rotate-180","transition-transform","duration-200","ease-in-out")}),n.createElement("span",{className:(0,a.c)("text-base","block","overflow-hidden","h-6")},n.createElement("span",{className:(0,a.c)("block",l&&"opacity-0","transition-opacity duration-200 ease-in-out")},"Show Code"),n.createElement("span",{className:(0,a.c)("block","transition-transform duration-200 ease-in-out","bg-gray-100 dark:bg-gray-700",l&&"-translate-y-6")},"Hide Code"))),n.createElement("div",{className:(0,a.c)("rounded-bl-lg","rounded-br-lg"),style:{maxHeight:l?o?"unset":"100vh":"0px",transition:"0.3s all ease-in-out",overflow:"hidden"},ref:r},n.createElement(N,{language:"tsx",style:{marginBottom:0,marginRight:"0",marginLeft:"0",borderTopLeftRadius:"0",borderTopRightRadius:"0",borderBottomLeftRadius:"0.5rem",borderBottomRightRadius:"0.5rem"}},t)))}const E=({children:e,disableScroll:t,previewHeight:r,hideCode:l=!1,url:o="http://localhost:3000",previewOnly:i=!1,tailwind:f=!1})=>{const d=String(e),{shared:h,sharedCss:v}=(0,g.UF)(),{visible:y}=(e=>{const t="// visible-block-start";let r=e.indexOf(t);r=r>0?r+22:0;let n=e.indexOf("// visible-block-end");n=n>0?n:e.length;const l=e.slice(0,r),a=e.slice(r,n).trimEnd().trimStart(),c=e.slice(n);return{visible:a,join:e=>`${l}\n${e}\n${c}`}})(`\n ${null!=h?h:""}\n ${d}\n `.replace(/\n$/,"")),w=n.useRef(null),E=(0,p.c)(w),{siteConfig:{customFields:j}}=(0,c.c)(),{isLast:P}=(0,s.E)();return n.createElement("div",{className:(0,a.c)("overflow-hidden","mb-6","refine-wider-container")},n.createElement(n.Fragment,null,n.createElement(m,{url:o,hasBottom:!i},n.createElement("div",{className:(0,a.c)(u,"live-editor-wrapper"),style:{maxHeight:r,minHeight:r,overflow:t?"hidden":void 0,position:"relative"},ref:w},P?n.createElement(b,{if:E,maxWait:3e3},(()=>n.createElement(O,{code:`\n${null!=h?h:""}\n${d}\n `,css:v,query:`${t?"&disableScroll=true":""}${f?"&tailwind=true":""}`}))):n.createElement("div",{style:{height:"100%",minHeight:"inherit",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"1.25rem"}},n.createElement("span",null,"Live previews only work with the latest documentation.")))),!i&&n.createElement(x,{hidden:l,code:y})))},j=n.memo(E,((e,t)=>String(e.children)===String(t.children))),P=({children:e})=>{const{setShared:t}=(0,g.UF)();return n.useEffect((()=>(t(String(e)),()=>{t(void 0)})),[e]),null},k=n.memo(P,((e,t)=>String(e.children)===String(t.children))),C=({children:e})=>{const{setSharedCss:t}=(0,g.UF)();return n.useEffect((()=>(t(String(e)),()=>{t(void 0)})),[e]),null},A=n.memo(C,((e,t)=>String(e.children)===String(t.children)));function N(e){var t,r;return e.live&&e.live&&(null===(r=e.className)||void 0===r||null===(t=r.includes)||void 0===t?void 0:t.call(r,"language-css"))?n.createElement(A,e):e.shared&&e.live?n.createElement(k,e):e.live?n.createElement(j,e):n.createElement(l.s,e)}},3704:(e,t,r)=>{"use strict";r.d(t,{c:()=>f});var n=r(1504),l=r(9184),a=r(1724);const c=e=>{var t,r,n,l,c,o;let i="noopener noreferrer nofollow";const s=(0,a.c)(e);return(null===(r=e)||void 0===r||null===(t=r.includes)||void 0===t?void 0:t.call(r,"github.com/refinedev/refine"))&&(i="noopener"),(s||(null===(l=e)||void 0===l||null===(n=l.includes)||void 0===n?void 0:n.call(l,"refine.dev")))&&(i="noopener dofollow"),(s||(null===(o=e)||void 0===o||null===(c=o.includes)||void 0===c?void 0:c.call(o,"reactadminpanel.com")))&&(i="noopener dofollow"),i};var o=r(640);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e){for(var t=1;t{"use strict";r.d(t,{c:()=>ot});var n=r(7584),l=r(1504),a=r(4971),c=r(6192),o=r(6112),i=r(9184);const s=({title:e,description:t,image:r,variant:n="purple",button:s={text:"Explore Now",href:"https://prepverse.github.io/portfolio",onClick:void 0},bannerName:u})=>{var f,m,d,p,b,g;return l.useEffect((()=>{"undefined"!=typeof window&&void 0!==window.gtag&&u&&window.gtag("event","view_banner",{banner_name:u,banner_text:e,banner_description:t,banner_image:r.src})}),[u]),l.createElement("div",{className:(0,a.c)("relative","rounded-2xl","p-6","flex","flex-col 2xl:flex-row","items-center","gap-4 2xl:gap-10","not-prose","gray"===n&&"bg-banner-examples-gray","purple"===n&&"bg-banner-examples-purple")},l.createElement(i.c,{to:null!==(b=null===(f=r)||void 0===f?void 0:f.href)&&void 0!==b?b:null===(m=s)||void 0===m?void 0:m.href,target:"_blank",rel:"noopener noreferrer",className:(0,a.c)("flex","max-w-[360px]","h-auto","flex-shrink-0","rounded-lg","overflow-hidden")},l.createElement("img",{src:null===(d=r)||void 0===d?void 0:d.src,alt:null!==(g=null===(p=r)||void 0===p?void 0:p.alt)&&void 0!==g?g:e,loading:"lazy"})),l.createElement("div",{className:(0,a.c)("flex","flex-col","gap-6","justify-center 2xl:justify-start","items-center 2xl:items-start","text-center 2xl:text-start","not-prose")},e&&l.createElement("h2",{className:(0,a.c)("text-xl md:text-2xl","text-gray-0")},e),l.createElement("p",{className:(0,a.c)("text-sm md:text-base","text-gray-100")},t),l.createElement(c.D,{className:(0,a.c)("w-max"),buttonClassname:(0,a.c)("!px-4","!py-2"),href:s.href,onClick:s.onClick,target:"_blank",rel:"noopener noreferrer"},l.createElement("div",{className:(0,a.c)("text-gray-900","text-sm md:text-base","font-bold")},s.text),l.createElement(o.G,{className:(0,a.c)("ml-1 md:ml-2","w-[14px] h-[14px]","md:w-4 md:h-4")}))))},u=({title:e="My Portfolio",description:t="Click here to discover my latest projects, skills, and achievements on my portfolio website. My journey into creativity begins now!",button:r={text:"Explore Now",href:"https://prepverse.github.io/portfolio?ref=banner-retool-alternative",onClick:void 0}})=>(l.useEffect((()=>{"undefined"!=typeof window&&void 0!==window.gtag&&e&&t&&window.gtag("event","view_banner",{banner_name:"banner-retool-alternative",banner_text:e,banner_description:t})}),[e,t]),l.createElement("div",{className:(0,a.c)("relative","rounded-2xl","p-8","flex","flex-col","justify-center","items-center","not-prose","bg-banner-examples-gray")},l.createElement("h2",{className:(0,a.c)("text-2xl","font-semibold","bg-banner-examples-text","bg-clip-text","text-transparent")},e),l.createElement("p",{className:(0,a.c)("mt-2","text-sm","text-gray-300")},t),l.createElement(c.D,{className:(0,a.c)("mt-9"),href:r.href,onClick:r.onClick,target:"_blank",rel:"noopener noreferrer"},l.createElement("div",{className:(0,a.c)("text-gray-900","text-base","font-bold")},r.text))));var f=r(8164);const m=[],d=Math.floor(Math.random()*(m.length+1));var p=r(4752),b=r(7396);const g=({image:e,title:t,description:r,isDark:n})=>{let a;a="refineNew"===r?l.createElement("div",null," ",l.createElement("a",{href:"https://s.refine.dev/new-blog",target:"_blank"},"refine.new")," ","enables you to create React-based, headless UI enterprise applications within your browser that you can preview, tweak and download instantly.",l.createElement("br",null),l.createElement("br",null),"\ud83d\ude80 By visually combining options for your preferred \u2728",l.createElement("b",null," React platform,")," \u2728 ",l.createElement("b",null,"UI framework"),", \u2728"," ",l.createElement("b",null,"backend connector"),", and \u2728 ",l.createElement("b",null,"auth provider"),"; you can create tailor-made architectures for your project in seconds. It feels like having access to thousands of project templates at your fingertips, allowing you to choose the one that best suits your needs!",l.createElement("br",null),l.createElement("br",null),l.createElement("br",null)):null!=r?r:l.createElement("div",null,"Meet the headless, React-based solution to build sleek"," ",l.createElement("b",null,"CRUD")," applications. With refine, you can be confident that your codebase will always stay clean and boilerplate-free.",l.createElement("br",null),l.createElement("br",null),"Try"," ",l.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank"},"PrepVerse")," ","to rapidly build your next ",l.createElement("b",null,"CRUD")," project, whether ","it's"," ","an admin panel, dashboard, internal tool or storefront.");const c=null!=e?e:"https://refine.ams3.cdn.digitaloceanspaces.com/website/static/img/generic_banner.png";c.startsWith("http")||c.startsWith("/");return l.createElement("a",{href:"https://s.refine.dev/hackathon2",target:"_blank",rel:"noreferrer"},l.createElement("img",{src:"https://refine.ams3.cdn.digitaloceanspaces.com/hackathon-2/hackathon_cover.png"}))};var h=r(5524),v=r(3896),y=r(3376),O=r(8840);function w(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const x=e=>l.createElement("svg",function(e){for(var t=1;t{var t,r,n;const c=l.useRef(!1),{id:o}=(0,y.U)(),[i,s]=l.useState(!1),{items:u}=(0,O.GC)(),{reward:f}=(0,v.yh)(`checklist-${o}`,"confetti",{angle:90,elementCount:120,startVelocity:30,decay:.95,spread:100,position:"absolute",lifetime:150}),m=null===(n=u.find((e=>e.id===o)))||void 0===n||null===(t=(r=n.checklist).every)||void 0===t?void 0:t.call(r,(e=>e.checked));return l.useEffect((()=>{setTimeout((()=>{c.current=!0}),1e3)}),[]),l.useEffect((()=>{!i&&m&&c.current&&(s(!0),f())}),[m,i]),l.createElement("div",{className:(0,a.c)("rounded-lg","border-l-gray-400 dark:border-l-gray-600","dark:bg-gray-800 bg-gray-50")},l.createElement("div",{className:(0,a.c)("border-l-4","border-l-solid","border-l-inherit","rounded-tl-lg","rounded-bl-lg","p-4","flex flex-col")},l.createElement("div",{className:"border-b border-gray-400 dark:border-gray-500 border-opacity-50 dark:border-opacity-50"},l.createElement("div",{className:(0,a.c)("not-prose","mt-0 mb-4","flex items-center","gap-2")},l.createElement(x,{className:(0,a.c)("w-4 h-4","dark:text-gray-100 text-gray-800")}),l.createElement("h3",{className:(0,a.c)("m-0 p-0","font-semibold","dark:text-gray-100 text-gray-800","uppercase","text-base leading-6")},"Checklist"))),l.createElement("div",null,e),l.createElement("div",{className:"flex items-center justify-center"},l.createElement("div",{id:`checklist-${o}`}))))};function j(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const P=e=>l.createElement("svg",function(e){for(var t=1;t{var r,n,c,o;const{id:i}=(0,y.U)(),{items:s,toggle:u}=(0,O.GC)(),f=null===(r=null===(o=s.find((e=>e.id===i)))||void 0===o||null===(n=(c=o.checklist).find)||void 0===n?void 0:n.call(c,(e=>e.id===t)))||void 0===r?void 0:r.checked;return l.createElement("label",{className:(0,a.c)("mt-4","flex","items-center justify-start","flex-nowrap","gap-2","cursor-pointer")},l.createElement("div",{className:"flex-shrink-0"},l.createElement("button",{type:"button",onClick:()=>{u(i,t)},className:(0,a.c)("appearance-none","flex items-center justify-center","w-4 h-4","rounded","border",{"border-gray-400 dark:border-gray-500":!f,"border-refine-react-dark-link dark:border-refine-react-dark-link":f,"bg-refine-react-dark-link":f})},f&&l.createElement(P,null))),l.createElement("div",{className:(0,a.c)(f&&"line-through dark:text-gray-100 dark:text-opacity-50 text-gray-800 text-opacity-50",!f&&"text-gray-800 dark:text-gray-100")},e))};var C=r(8560),A=r(2108);const N=({path:e})=>l.createElement(C.s,{language:"bash",title:"Run on your local",icon:l.createElement(A.G,null)},`npm create refine-app@latest -- --example ${e}`);var S=r(5792);const H=({path:e})=>l.createElement("div",{className:(0,a.c)("refine-wider-container","py-2","px-2","text-base","font-sans","flex items-center","gap-2","rounded-lg","dark:bg-gray-700","bg-gray-100","mb-6")},l.createElement(S.A,{className:"ml-1.5 w-5 h-5 text-gray-800 dark:text-gray-100"}),l.createElement("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:(0,a.c)("text-base","leading-8","text-refine-react-light-link dark:text-refine-react-dark-link")},l.createElement("span",null,"View Source Code"))),Z=({path:e})=>{const t=`https://github.com/PrepVerse/PrepVerse/tree/master/examples/${e}`;return l.createElement(H,{path:t})},D=({path:e,hideSource:t,hideLocal:r,hideSandbox:n})=>{const a=`${`https://codesandbox.io/embed/github/refinedev/refine/tree/master/examples/${e}`}?view=preview&theme=dark&runonclick=1&codemirror=1`;return l.createElement("div",null,!t&&l.createElement(Z,{path:e}),!r&&l.createElement(N,{path:e}),!n&&l.createElement("iframe",{loading:"lazy",src:a,style:{width:"100%",height:"80vh",border:"0px",borderRadius:"8px",overflow:"hidden"},title:e,allow:"accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking",sandbox:"allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"}))};var M=r(1240),L=r(7916);const z=()=>l.createElement("div",null,l.createElement(M.c,{type:"simple",title:"Good to know"},l.createElement(L.s,null,"\nAll the data related hooks (useTable, useForm, useList etc.) of Refine can be given some common properties like `resource`, `meta` etc.\n\nFor more information, refer to the [General Concepts documentation](/docs/guides-concepts/general-concepts).\n"))),B=({children:e,content:t})=>l.createElement("div",{className:(0,a.c)("refine-info-badge","relative","group","inline-flex","align-middle")},e,l.createElement("div",{className:(0,a.c)("absolute","-left-1","top-0","translate-x-0","-translate-y-0","scale-0","group-hover:scale-100","group-hover:-translate-y-full","transition-transform","origin-top-left","pb-2","w-60","pointer-events-none")},l.createElement("div",{className:(0,a.c)("text-xs","text-gray-600","bg-gray-0","border","border-gray-200","shadow-sm","rounded","py-1","px-2","font-normal")},null!=t?t:"Check the guide for more information"))),R=({id:e,icon:t,color:r,text:n,description:c})=>{const o=(0,a.c)("orange"===r&&(0,a.c)("bg-refine-react-light-orange-bg dark:bg-refine-react-dark-orange","dark:bg-opacity-[0.15]","text-refine-react-light-orange dark:text-refine-react-dark-orange"),"green"===r&&(0,a.c)("bg-refine-react-light-green-bg dark:bg-refine-react-dark-green","dark:bg-opacity-[0.15]","text-refine-react-light-green dark:text-refine-react-dark-green"),"purple"===r&&(0,a.c)("bg-refine-react-light-purple-bg dark:bg-refine-react-dark-purple","dark:bg-opacity-[0.15]","text-refine-react-light-purple dark:text-refine-react-dark-purple"));return l.createElement(B,{content:c},l.createElement(i.c,{to:`/docs/${e}`,className:(0,a.c)("-mt-px","rounded-[10px]","inline-flex","items-center","justify-center","text-sm","no-underline","gap-1.5","[&>svg]:hover:scale-110","[&>svg]:transition-transform [&>svg]:duration-200 [&>svg]:ease-in-out",o)},t,n&&l.createElement("span",{className:"text-xs leading-[0.875rem]"},n)))};function T(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const G=e=>l.createElement("svg",function(e){for(var t=1;tl.createElement("svg",function(e){for(var t=1;tr?l.createElement("div",{className:(0,a.c)("inline-flex","text-sm","py-0.5","px-2","rounded-xl","bg-refine-orange","bg-opacity-10","text-refine-orange","tracking-wide","align-middle","font-normal","mr-1"),title:o},null!=e?e:"deprecated"):t?l.createElement("div",{className:(0,a.c)("inline-flex","justify-center items-center","text-sm","text-refine-red","rounded-full","bg-refine-red bg-opacity-10","ml-1","w-6 h-6","align-middle")},null!=e?e:"\ufe61"):n?l.createElement("div",{className:(0,a.c)("inline-flex","text-sm","py-0.5","px-2","rounded-xl","bg-refine-red","bg-opacity-10","text-refine-red","tracking-wide","align-middle","font-normal","mr-1"),title:o},null!=e?e:"required"):c?l.createElement("div",{className:(0,a.c)("inline-flex","text-sm","py-0.5","px-2","rounded-xl","bg-refine-green","bg-opacity-10","text-refine-green","tracking-wide","align-middle","font-normal","mr-1"),title:o},null!=e?e:"featured"):e?l.createElement("div",{className:(0,a.c)("inline","text-gray-0","text-xs","leading-6","py-0.5","px-2","rounded","bg-gray-800","tracking-wide","align-middle","mr-1"),title:o},e):null,W="tooltip__Ymd",I="tooltipContainer_l6r7",U="tooltipContent_UeXm",X="tooltipArrow_mOyh",J=({label:e,children:t})=>e?l.createElement("div",{className:`${W} group`},t,l.createElement("div",{className:`${I} group-hover:visible`},l.createElement("span",{className:U},e),l.createElement("div",{className:X}))):l.createElement(l.Fragment,null,t);function K(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},a=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const Q=({prop:e,overrides:t})=>{var r,n,a;const c=null!==(a=t[`${e.name}-required`])&&void 0!==a?a:e.required;var o;const i=null!==(o=t[`${e.name}-deprecated`])&&void 0!==o?o:null===(r=e.tags)||void 0===r?void 0:r.deprecated;var s,u;const f=null!==(u=null!==(s=t[`${e.name}-deprecated`])&&void 0!==s?s:null===(n=e.tags)||void 0===n?void 0:n.deprecated)&&void 0!==u?u:"",m=(0,l.useMemo)((()=>{const e="props-table--name";return i?`${e} props-table--name__deprecated`:e}),[e,t]),d=(0,l.useMemo)((()=>f?l.createElement(L.s,null,f):null),[e,t]);var p;return l.createElement(J,{label:d},l.createElement(l.Fragment,null,l.createElement("span",{className:m},null!==(p=t[`${e.name}-name`])&&void 0!==p?p:e.name),c&&l.createElement(Y,{asterisk:!0})))},q=({prop:e,overrides:t})=>{var r;const n=null!==(r=t[`${e.name}-type`])&&void 0!==r?r:e.type.name,a=n.split(" | "),c=a.length>1,o=a.some((e=>e.length>20)),i=/`/.test(n);return l.createElement(l.Fragment,null,i?l.createElement(L.s,null,n):o&&c?l.createElement(l.Fragment,null,a.map(((e,t)=>l.createElement("code",{className:"max-w-xs h-min",key:t},l.createElement(L.s,null,e))))):l.createElement("code",{className:"max-w-xs h-min"},l.createElement(L.s,null,n)))},_=({prop:e,overrides:t})=>{var r,n;return l.createElement(L.s,null,null!==(n=null!==(r=t[`${e.name}-description`])&&void 0!==r?r:e.tags.description)&&void 0!==n?n:e.description)},$=({prop:e,overrides:t})=>{var r,n,a,c;const o=null===(r=e.tags)||void 0===r?void 0:r.default,i=(null===(n=e.defaultValue)||void 0===n?void 0:n.value)&&(null===(a=e.defaultValue)||void 0===a?void 0:a.value)!==o?null===(c=e.defaultValue)||void 0===c?void 0:c.value:void 0,s=t[`${e.name}-default`];return o||s?l.createElement(L.s,null,null!=s?s:o):l.createElement("div",{className:"flex flex-wrap gap-1"},void 0!==i?l.createElement("code",{className:"max-w-xs h-min"},l.createElement(L.s,null,i)):null)},ee=({prop:e,overrides:t})=>l.createElement("td",null,l.createElement("div",{className:"flex items-center"},l.createElement(Q,{prop:e,overrides:t}))),te=({prop:e,overrides:t})=>l.createElement("td",{className:"props-table__type-cell"},l.createElement("div",{className:"flex flex-wrap gap-1"},l.createElement(q,{prop:e,overrides:t}))),re=({prop:e,overrides:t})=>l.createElement("td",{className:"props-table__description-cell"},l.createElement(_,{prop:e,overrides:t})),ne=({prop:e,overrides:t})=>l.createElement("td",{className:"props-table__default-value-cell"},l.createElement($,{prop:e,overrides:t})),le=e=>{var{module:t,hideDefaults:n,children:a}=e,c=K(e,["module","hideDefaults","children"]);const o=((e,t="@refinedev/")=>{const[n,a]=(0,l.useState)(null);return(0,l.useEffect)((()=>{let n=!1;return r(6324)(`./${e.startsWith(t)?e:`${t}${e}`}.json`).then((e=>{n||(n=!0,a(e.default))})).catch(console.warn),()=>{n=!0}}),[e]),n})(t),i=(0,l.useMemo)((()=>{var e;if(n)return!1;if(Object.keys(c).some((e=>e.endsWith("-default"))))return!1;var t;return!Object.values(null!==(t=null===(e=o)||void 0===e?void 0:e.props)&&void 0!==t?t:{}).some((e=>{var t;return null===(t=e.defaultValue)||void 0===t?void 0:t.value}))}),[c]);if(!o)return null;const s=[...Object.values(o.props)];return l.createElement("div",{className:"table-container"},l.createElement("table",{className:"props-table"},l.createElement("thead",null,l.createElement("tr",null,l.createElement("th",null,"Property"),l.createElement("th",null,"Type"),l.createElement("th",null,"Description"),i?null:l.createElement("th",null,"Default"))),l.createElement("tbody",null,s.map((e=>c[`${e.name}-hidden`]?null:l.createElement("tr",{key:e.name},l.createElement(ee,{prop:e,overrides:c}),l.createElement(te,{prop:e,overrides:c}),l.createElement(re,{prop:e,overrides:c}),i?null:l.createElement(ne,{prop:e,overrides:c})))))),a)};function ae(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ce=e=>l.createElement("svg",function(e){for(var t=1;t{const{current:r}=(0,oe.U)();return e&&r===e?l.createElement(l.Fragment,null,t):null};var se=r(8530);function ue(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fe(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const me=e=>{var t;const r=l.Children.toArray(e.children),n=r.find((e=>l.isValidElement(e)&&"summary"===(null===(t=e.props)||void 0===t?void 0:t.mdxType))),c=l.createElement(l.Fragment,null,r.filter((e=>e!==n)));return l.createElement(se.S,fe(function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const ge=e=>{var{children:t,className:r}=e,n=be(e,["children","className"]);return l.createElement("summary",function(e){for(var t=1;t{const t=e.currentTarget,l=s.indexOf(t),a=c[l].value;a!==r&&(u(t),n(a))},m=e=>{var t,r;let n=null;switch(e.key){case"Enter":f(e);break;case"ArrowRight":{const t=s.indexOf(e.currentTarget)+1;var l;n=null!==(l=s[t])&&void 0!==l?l:s[0];break}case"ArrowLeft":{const t=s.indexOf(e.currentTarget)-1;var a;n=null!==(a=s[t])&&void 0!==a?a:s[s.length-1];break}}null===(r=n)||void 0===r||null===(t=r.focus)||void 0===t||t.call(r)};return l.createElement("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,a.c)(e,"!my-0","flex-wrap","list-none","m-0 mb-0 mt-0","px-4","flex gap-4","bg-gray-100 dark:bg-gray-700","rounded-tl-lg rounded-tr-lg",!o&&"rounded-bl-lg rounded-br-lg","items-stretch")},c.map((({value:e,label:t,attributes:n})=>l.createElement("li",xe(we({role:"tab",tabIndex:r===e?0:-1,"aria-selected":r===e,key:e,ref:e=>s.push(e),onKeyDown:m,onClick:f},n),{className:(0,a.c)("!my-0","mx-0 mt-0","px-2 py-3","flex items-center justify-center","min-w-[60px]","cursor-pointer","transition-all duration-200 ease-in-out","border-b border-solid","select-none",i&&"!text-xs",!i&&"!text-base",r!==e&&"text-gray-800 dark:text-gray-100",r===e&&"text-refine-react-light-link dark:text-refine-react-dark-link",r!==e&&"hover:text-refine-react-light-link dark:hover:text-refine-react-dark-link",r!==e&&"border-b-transparent",r===e&&"border-b-refine-react-light-link dark:border-b-refine-react-dark-link",r!==e&&"hover:border-b-refine-react-light-link dark:hover:border-b-refine-react-dark-link")}),null!=t?t:e))))}function je({lazy:e,children:t,selectedValue:r,smallTabs:n}){const c=(Array.isArray(t)?t:[t]).filter(Boolean);if(e){const e=c.find((e=>e.props.value===r));return e?(0,l.cloneElement)(e,{className:"margin-top--md refine-tab-content"}):null}var o;return l.createElement("div",{className:"p-4"},c.map(((e,t)=>(0,l.cloneElement)(e,{key:t,hidden:e.props.value!==r,className:(0,a.c)(null!==(o=e.props.className)&&void 0!==o?o:[],"refine-tab-content")}))))}function Pe(e){const t=(0,ve.a)(e),{wrapContent:r=!0}=e;return l.createElement("div",{className:(0,a.c)("tabs-container","rounded-lg","border-gray-300 dark:border-gray-700",r?"border":"border-0","mb-6","refine-wider-container")},l.createElement(Ee,we({},e,t)),l.createElement(je,we({},e,t)))}function ke(e){const t=(0,ye.c)();return l.createElement(Pe,we({key:String(t)},e))}function Ce(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ae(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},a=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}var Ne=r(4472),Se=r(4896),He=r(1488),Ze=r(8620),De=r(6076),Me=r(9072);function Le(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ze=e=>l.createElement("svg",function(e){for(var t=1;tl.createElement("svg",function(e){for(var t=1;t{var t,r;const[n,c]=(0,l.useState)(!1),{refs:o,floatingStyles:i,context:s}=(0,Ne.gR)({placement:"bottom-start",open:e.isOpen,onOpenChange:e.onOpenChange,whileElementsMounted:Se.kN,middleware:[(0,He.E3)((({middlewareData:e})=>{var t;return(null===(t=e)||void 0===t?void 0:t.flip)?{mainAxis:12}:{mainAxis:52}})),(0,Se.EB)((({placement:e})=>(e.includes("bottom")&&c(!1),e.includes("top")&&c(!0),{fallbackPlacements:["top-start"]})))]}),u=(0,Ne.ug)(s,{outsidePress:e=>!(null===(r=e.target)||void 0===r||null===(t=r.closest)||void 0===t?void 0:t.call(r,".widget-actions"))}),{getReferenceProps:f,getFloatingProps:m}=(0,Ne.M3)([u]);return l.createElement(l.Fragment,null,l.createElement("div",Xe(Ue({ref:o.setReference},f()),{style:{position:"absolute",top:"0",left:0}})),l.createElement(Ze.I,null,s.open&&l.createElement(De.q.div,Xe(Ue({initial:{opacity:0},animate:{opacity:1,transition:{duration:.2}},exit:{opacity:0},ref:o.setFloating,style:i},m()),{className:(0,a.c)("w-[320px]","bg-[#EAEBEF] dark:bg-refine-react-dark-code","border border-[#E3E4E5] dark:border-[#343A46]","rounded-[20px]","relative")}),e.children,l.createElement(Ke,{style:Ue({position:"absolute",top:n?"unset":"-10px",bottom:n?"-10px":"unset",transform:n?"rotate(180deg)":"rotate(0deg)",transition:"right 0.2s ease-in-out",willChange:"right"},e.arrowStyle)}))))},Ke=e=>{const{colorMode:t}=(0,Me.U)(),r="dark"===t;return l.createElement("svg",Ue({xmlns:"http://www.w3.org/2000/svg",width:42,height:18,viewBox:"0 0 42 18",fill:"none"},e),l.createElement("title",null,"Popover Pointer"),l.createElement("path",{fill:r?"#16181D":"#EAEBEF",stroke:"url(#a)",d:"M18.303 2.077C18.892 1.105 19.9.5 21 .5s2.108.605 2.697 1.577l3.026 4.992c.928 1.532 2.476 2.431 4.11 2.431H41.5v8H.5v-8h10.667c1.634 0 3.182-.899 4.11-2.431l3.026-4.992Z"}),l.createElement("defs",null,l.createElement("linearGradient",{id:"a",x1:21,x2:21,y1:1,y2:16,gradientUnits:"userSpaceOnUse"},l.createElement("stop",{offset:.59,stopColor:r?"#343A46":"#E3E4E5"}),l.createElement("stop",{offset:.602,stopColor:r?"#343A46":"#E3E4E5",stopOpacity:0}))))},Qe={UP:1,DOWN:2};function qe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _e(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}var $e;var et=r(7500),tt=r(9104);var rt=r(9092);var nt=r(5560);function lt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function at(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function ct(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ot=(it=function(e){for(var t=1;t{var{className:t}=e,r=Ae(e,["className"]);return l.createElement("blockquote",function(e){for(var t=1;td===m.length?l.createElement(f.c,null,(()=>l.createElement(u,null))):l.createElement(f.c,null,(()=>l.createElement(s,m[d]))),GuideBadge:({id:e,description:t="Please check the guide for more information on this topic.",text:r})=>l.createElement(R,{id:e,color:"green",icon:l.createElement(F,null),text:r,description:l.createElement(l.Fragment,null,l.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Check the guide"),l.createElement("div",{className:"text-xs"},t))}),RouterBadge:({id:e="guides-concepts/routing/",description:t="This value can be inferred from the route. Click to see the guide for more information.",text:r})=>l.createElement(R,{id:e,color:"orange",text:r,icon:l.createElement(ce,null),description:l.createElement(l.Fragment,null,l.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Router Integrated"),l.createElement("div",{className:"text-xs"},t))}),GlobalConfigBadge:({id:e="core/refine-component",description:t="This value can be configured globally. Click to see the guide for more information.",text:r})=>l.createElement(R,{color:"purple",icon:l.createElement(G,null),text:r,id:e,description:l.createElement(l.Fragment,null,l.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Globally Configurable"),l.createElement("div",{className:"text-xs"},t))}),Image:e=>l.createElement("img",_e(function(e){for(var t=1;t{const t=e?`-- ${e}`:"",r={npm:`npm create refine-app@latest ${t}`,pnpm:`pnpm create refine-app@latest ${t}`,yarn:`yarn create refine-app@latest ${t}`};return l.createElement(ke,null,l.createElement(tt.c,{value:"npm",label:"npm",default:!0},l.createElement(C.s,{className:"language-bash"},r.npm)),l.createElement(tt.c,{value:"pnpm",label:"pnpm"},l.createElement(C.s,{className:"language-bash"},r.pnpm)),l.createElement(tt.c,{value:"yarn",label:"yarn"},l.createElement(C.s,{className:"language-bash"},r.yarn),l.createElement(L.s,null,"> Only supports yarn@1 version.")))},InstallPackagesCommand:({args:e,children:t})=>{const r={npm:`npm i ${e}`,pnpm:`pnpm add ${e}`,yarn:`yarn add ${e}`};return l.createElement(ke,null,l.createElement(tt.c,{value:"npm",label:"npm",default:!0},l.createElement(C.s,{className:"language-bash"},r.npm),t),l.createElement(tt.c,{value:"pnpm",label:"pnpm"},l.createElement(C.s,{className:"language-bash"},r.pnpm),t),l.createElement(tt.c,{value:"yarn",label:"yarn"},l.createElement(C.s,{className:"language-bash"},r.yarn),t))},FullTable:et.Ih,TutorialConditional:({parameter:e,value:t,children:r})=>{var n;const{parameters:a}=(0,rt.iC)();return(null===(n=a)||void 0===n?void 0:n[e])===t?l.createElement(l.Fragment,null,r):null},VideoInView:e=>{const t=l.useRef(null),r=(0,nt.c)(t);return l.useEffect((()=>{var e,n,l,a;r?null===(n=t.current)||void 0===n||null===(e=n.play)||void 0===e||e.call(n):null===(a=t.current)||void 0===a||null===(l=a.pause)||void 0===l||l.call(a)}),[r]),l.createElement("video",at(function(e){for(var t=1;t{var e,r,n,l,a;(null===(e=t.current)||void 0===e?void 0:e.paused)?null===(n=t.current)||void 0===n||null===(r=n.play)||void 0===r||r.call(n):null===(a=t.current)||void 0===a||null===(l=a.pause)||void 0===l||l.call(a)},className:(0,a.c)(e.className,"w-full","h-auto","max-w-full","max-h-full","rounded-xl","object-contain")}))},DocThumbsUpDownFeedbackWidget:e=>{const t=(0,We.IT)(),[r,n]=(0,l.useState)(""),[c,o]=(0,l.useState)(null),[i,s]=(0,l.useState)(!1),[u,f]=(0,l.useState)(!1),m=i||u,{survey:d,createSurvey:p,updateSurvey:b}=(e=>{const[t,r]=(0,l.useState)(null),n=Ye[e.type];return{survey:t,setSurvey:r,createSurvey:async({body:e})=>{const t=await fetch(`${n}/responses`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(!t.ok)return null;const l=await t.json();return l?(r(l),l):void 0},updateSurvey:async({surveyId:e,body:t})=>{const l=await fetch(`${n}/responses/${e}`,{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(!l.ok)return null;const a=await l.json();return a?(r(a),a):void 0}}})({type:Te.THUMBS}),g=async r=>{o(r),s(!0),d?await b({surveyId:d.id,body:{response:r}}):await p({body:{response:r,entityId:t.pathname,metaData:{sectionId:e.id}}})};return l.createElement("div",{className:"group"},e.children,l.createElement("div",{className:(0,a.c)("relative","z-popover","hidden md:flex","items-center","gap-5","w-max h-[40px]","pt-1 pr-1 pb-1 pl-4","bg-[#99A1B31A] dark:bg-[#2F333C]","rounded-[28px]","transition-all duration-300 ease-in-out",!m&&"opacity-0","group-hover:opacity-100")},l.createElement("div",{className:(0,a.c)("text-xs","whitespace-nowrap","text-[#23272F] dark:text-[#E3E4E5]")},"Was this helpful?"),l.createElement("div",{className:(0,a.c)("flex","items-center","gap-1","widget-actions")},l.createElement("button",{type:"button",onClick:()=>g(Qe.UP),className:(0,a.c)("w-8 h-8","flex items-center justify-center","rounded-full","text-gray-500","hover:text-green-500 hover:bg-green-500/20","transition-all duration-200 ease-in-out",1===c&&"text-green-500 bg-green-500/20")},l.createElement(ze,null)),l.createElement("button",{type:"button",onClick:()=>g(Qe.DOWN),className:(0,a.c)("w-8 h-8","flex items-center justify-center","rounded-full","text-gray-500","hover:text-red-500 hover:bg-red-500/20","transition-all duration-200 ease-in-out",2===c&&"text-red-500 bg-red-500/20")},l.createElement(Re,null))),l.createElement(Je,{isOpen:m,onOpenChange:e=>{u||e||(s(!1),f(!1))},arrowStyle:{right:1===c?"150px":"115px"}},!u&&l.createElement("form",{className:(0,a.c)("flex flex-col","p-2"),onSubmit:e=>{e.preventDefault(),(async()=>{const e=r.trim();e&&(await b({surveyId:d.id,body:{response:c,responseText:e}}),f(!0),setTimeout((()=>{s(!1),f(!1)}),2e3))})()}},l.createElement("textarea",{rows:3,required:!0,minLength:3,placeholder:"Your thumbs tells us a lot, but If you have any additional thoughts or suggestions, we'd love to hear them!",onChange:e=>n(e.target.value),value:r,className:(0,a.c)("w-full","bg-white dark:bg-[#343A46]","text-[#23272F] dark:text-[#E3E4E5]","resize-none","rounded-xl","text-xs","py-2 px-3")}),l.createElement("button",{type:"submit",className:(0,a.c)("w-16 h-6","flex items-center justify-center","bg-refine-react-light-link dark:bg-refine-react-dark-link","text-xs","text-white","rounded-full","mt-2 ml-auto")},"Send")),u&&l.createElement("div",{className:(0,a.c)("flex items-center","p-4","text-xs","text-gray-500")},l.createElement("span",null,"Thank you for your feedback!")))))}},st=null!=st?st:{},Object.getOwnPropertyDescriptors?Object.defineProperties(it,Object.getOwnPropertyDescriptors(st)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(st)).forEach((function(e){Object.defineProperty(it,e,Object.getOwnPropertyDescriptor(st,e))})),it);var it,st}}]); \ No newline at end of file diff --git a/assets/js/f2bb6feb.1d0805a3.js b/assets/js/f2bb6feb.1d0805a3.js new file mode 100644 index 00000000..050067c8 --- /dev/null +++ b/assets/js/f2bb6feb.1d0805a3.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[336],{5788:(e,t,n)=>{n.d(t,{Iu:()=>m,yg:()=>g});var a=n(1504);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function i(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var s=a.createContext({}),p=function(e){var t=a.useContext(s),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},m=function(e){var t=p(e.components);return a.createElement(s.Provider,{value:t},e.children)},h="mdxType",u={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},c=a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,o=e.originalType,s=e.parentName,m=l(e,["components","mdxType","originalType","parentName"]),h=p(n),c=r,g=h["".concat(s,".").concat(c)]||h[c]||u[c]||o;return n?a.createElement(g,i(i({ref:t},m),{},{components:n})):a.createElement(g,i({ref:t},m))}));function g(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var o=n.length,i=new Array(o);i[0]=c;var l={};for(var s in t)hasOwnProperty.call(t,s)&&(l[s]=t[s]);l.originalType=e,l[h]="string"==typeof e?e:r,i[1]=l;for(var p=2;p{n.r(t),n.d(t,{assets:()=>m,contentTitle:()=>s,default:()=>d,frontMatter:()=>l,metadata:()=>p,toc:()=>h});n(1504);var a=n(5788);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})),e}function i(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}const l={title:"Two Sum Explained",description:"DSA problem two sum explained",slug:"two-sum",authors:"AkashSingh3031",tags:["Array","LeetCode"],is_featured:!1,image:"https://miro.medium.com/v2/resize:fit:1400/1*2x-CAwfeui5YM4148VxgRA.jpeg",hide_table_of_contents:!1},s=void 0,p={permalink:"/blog/two-sum",source:"@site/blog/2024-08-07-two-sum-explain.md",title:"Two Sum Explained",description:"DSA problem two sum explained",date:"2024-08-07T00:00:00.000Z",formattedDate:"August 7, 2024",tags:[{label:"Array",permalink:"/blog/tags/array"},{label:"LeetCode",permalink:"/blog/tags/leet-code"}],readingTime:2.945,hasTruncateMarker:!1,authors:[{name:"Akash Singh",title:"Founder, PrepVerse",github:"https://github.com/AkashSingh3031",linkedin:"https://www.linkedin.com/in/akashsingh3031",twitter:"https://x.com/akashsingh3031",imageURL:"https://github.com/AkashSingh3031.png",key:"AkashSingh3031"}],frontMatter:{title:"Two Sum Explained",description:"DSA problem two sum explained",slug:"two-sum",authors:"AkashSingh3031",tags:["Array","LeetCode"],is_featured:!1,image:"https://miro.medium.com/v2/resize:fit:1400/1*2x-CAwfeui5YM4148VxgRA.jpeg",hide_table_of_contents:!1},nextItem:{title:"The Complete Life Cycle of Creator God Brahma",permalink:"/blog/god-brahma"},relatedPosts:[],authorPosts:[{title:"The Complete Life Cycle of Creator God Brahma",description:"Exploring the Complete Life Cycle of Brahma & the Age of the Universe According to Vedas",permalink:"/blog/god-brahma",formattedDate:"February 18, 2024",authors:[{name:"Akash Singh",title:"Founder, PrepVerse",github:"https://github.com/AkashSingh3031",linkedin:"https://www.linkedin.com/in/akashsingh3031",twitter:"https://x.com/akashsingh3031",imageURL:"https://github.com/AkashSingh3031.png",key:"AkashSingh3031"}],readingTime:8.63,date:"2024-02-18T00:00:00.000Z"},{title:"The History of Bharatvarsha",description:"A Journey Through the History of Bharatvarsha from Satyug",permalink:"/blog/bharatvarsha",formattedDate:"February 1, 2024",authors:[{name:"Akash Singh",title:"Founder, PrepVerse",github:"https://github.com/AkashSingh3031",linkedin:"https://www.linkedin.com/in/akashsingh3031",twitter:"https://x.com/akashsingh3031",imageURL:"https://github.com/AkashSingh3031.png",key:"AkashSingh3031"}],readingTime:3.3,date:"2024-02-01T00:00:00.000Z"}]},m={authorsImageUrls:[void 0]},h=[{value:"PrepVerse | Three Approaches to Solving the Two Sum Problem",id:"prepverse--three-approaches-to-solving-the-two-sum-problem",level:2},{value:"Approach 1: Brute Force",id:"approach-1-brute-force",level:3},{value:"Approach 2: Two-pass Hash Table",id:"approach-2-two-pass-hash-table",level:3},{value:"Approach 3: One-pass Hash Table",id:"approach-3-one-pass-hash-table",level:3},{value:"Conclusion",id:"conclusion",level:3}],u=e=>function(t){return console.warn("Component "+e+" was not imported, exported, or provided by MDXProvider as global scope"),(0,a.yg)("div",t)},c=u("Tabs"),g=u("TabItem"),y={toc:h},b="wrapper";function d(e){var{components:t}=e,n=i(e,["components"]);return(0,a.yg)(b,o(function(e){for(var t=1;t{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{"use strict";function r(e){var t,n,a="";if("string"==typeof e||"number"==typeof e)a+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;ta});const a=function(){for(var e,t,n=0,a="";n{"use strict";n.d(t,{iU:()=>E,Yf:()=>P,gh:()=>h,Wi:()=>R,Ep:()=>m,gx:()=>g});var r=n(5072);function a(e){return"/"===e.charAt(0)}function o(e,t){for(var n=t,r=n+1,a=e.length;r=0;p--){var f=i[p];"."===f?o(i,p):".."===f?(o(i,p),d++):d&&(o(i,p),d--)}if(!u)for(;d--;d)i.unshift("..");!u||""===i[0]||i[0]&&a(i[0])||i.unshift("");var m=i.join("/");return n&&"/"!==m.substr(-1)&&(m+="/"),m};function l(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}const s=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));if("object"==typeof t||"object"==typeof n){var r=l(t),a=l(n);return r!==t||a!==n?e(r,a):Object.keys(Object.assign({},t,n)).every((function(r){return e(t[r],n[r])}))}return!1};var u=n(6136);function c(e){return"/"===e.charAt(0)?e:"/"+e}function d(e){return"/"===e.charAt(0)?e.substr(1):e}function p(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function f(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function m(e){var t=e.pathname,n=e.search,r=e.hash,a=t||"/";return n&&"?"!==n&&(a+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(a+="#"===r.charAt(0)?r:"#"+r),a}function h(e,t,n,a){var o;"string"==typeof e?(o=function(e){var t=e||"/",n="",r="",a=t.indexOf("#");-1!==a&&(r=t.substr(a),t=t.substr(0,a));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),o.state=t):(void 0===(o=(0,r.c)({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(l){throw l instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):l}return n&&(o.key=n),a?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=i(o.pathname,a.pathname)):o.pathname=a.pathname:o.pathname||(o.pathname="/"),o}function g(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&s(e.state,t.state)}function b(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,a){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof r?r(o,a):a(!0):a(!1!==o)}else a(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;rt?n.splice(t,n.length-t,a):n.push(a),d({action:r,location:a,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",a=h(e,t,p(),w.location);c.confirmTransitionTo(a,r,n,(function(e){e&&(w.entries[w.index]=a,d({action:r,location:a}))}))},go:y,goBack:function(){y(-1)},goForward:function(){y(1)},canGo:function(e){var t=w.index+e;return t>=0&&t{"use strict";var r=n(2168),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?i:l[e.$$typeof]||a}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=i;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(m){var a=f(n);a&&a!==m&&e(t,a,r)}var i=c(n);d&&(i=i.concat(d(n)));for(var l=s(t),h=s(n),g=0;g{"use strict";e.exports=function(e,t,n,r,a,o,i,l){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,a,o,i,l],c=0;(s=new Error(t.replace(/%s/g,(function(){return u[c++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}},9600:e=>{e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},1462:(e,t,n)=>{"use strict";n.r(t)},1496:(e,t,n)=>{"use strict";n.r(t)},8196:(e,t,n)=>{"use strict";n.r(t)},5088:(e,t,n)=>{"use strict";n.r(t)},8818:(e,t,n)=>{"use strict";n.r(t)},8552:(e,t,n)=>{"use strict";n.r(t)},2552:(e,t,n)=>{"use strict";n.r(t)},2272:function(e,t,n){var r,a;r=function(){var e,t,n={version:"0.2.0"},r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'
    '};function a(e,t,n){return en?n:e}function o(e){return 100*(-1+e)}function i(e,t,n){var a;return(a="translate3d"===r.positionUsing?{transform:"translate3d("+o(e)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+o(e)+"%,0)"}:{"margin-left":o(e)+"%"}).transition="all "+t+"ms "+n,a}n.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(r[t]=n);return this},n.status=null,n.set=function(e){var t=n.isStarted();e=a(e,r.minimum,1),n.status=1===e?null:e;var o=n.render(!t),u=o.querySelector(r.barSelector),c=r.speed,d=r.easing;return o.offsetWidth,l((function(t){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),s(u,i(e,c,d)),1===e?(s(o,{transition:"none",opacity:1}),o.offsetWidth,setTimeout((function(){s(o,{transition:"all "+c+"ms linear",opacity:0}),setTimeout((function(){n.remove(),t()}),c)}),c)):setTimeout(t,c)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var e=function(){setTimeout((function(){n.status&&(n.trickle(),e())}),r.trickleSpeed)};return r.trickle&&e(),this},n.done=function(e){return e||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(e){var t=n.status;return t?("number"!=typeof e&&(e=(1-t)*a(Math.random()*t,.1,.95)),t=a(t+e,0,.994),n.set(t)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},e=0,t=0,n.promise=function(r){return r&&"resolved"!==r.state()?(0===t&&n.start(),e++,t++,r.always((function(){0==--t?(e=0,n.done()):n.set((e-t)/e)})),this):this},n.render=function(e){if(n.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=r.template;var a,i=t.querySelector(r.barSelector),l=e?"-100":o(n.status||0),u=document.querySelector(r.parent);return s(i,{transition:"all 0 linear",transform:"translate3d("+l+"%,0,0)"}),r.showSpinner||(a=t.querySelector(r.spinnerSelector))&&f(a),u!=document.body&&c(u,"nprogress-custom-parent"),u.appendChild(t),t},n.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(r.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&f(e)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var l=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),s=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function r(t){var n=document.body.style;if(t in n)return t;for(var r,a=e.length,o=t.charAt(0).toUpperCase()+t.slice(1);a--;)if((r=e[a]+o)in n)return r;return t}function a(e){return e=n(e),t[e]||(t[e]=r(e))}function o(e,t,n){t=a(t),e.style[t]=n}return function(e,t){var n,r,a=arguments;if(2==a.length)for(n in t)void 0!==(r=t[n])&&t.hasOwnProperty(n)&&o(e,n,r);else o(e,a[1],a[2])}}();function u(e,t){return("string"==typeof e?e:p(e)).indexOf(" "+t+" ")>=0}function c(e,t){var n=p(e),r=n+t;u(n,t)||(e.className=r.substring(1))}function d(e,t){var n,r=p(e);u(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function p(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function f(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return n},void 0===(a="function"==typeof r?r.call(t,n,t,e):r)||(e.exports=a)},9456:e=>{"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(a){return!1}}()?Object.assign:function(e,a){for(var o,i,l=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),s=1;s{var r=n(9600);e.exports=f,e.exports.parse=o,e.exports.compile=function(e,t){return l(o(e,t),t)},e.exports.tokensToFunction=l,e.exports.tokensToRegExp=p;var a=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function o(e,t){for(var n,r=[],o=0,i=0,l="",c=t&&t.delimiter||"/";null!=(n=a.exec(e));){var d=n[0],p=n[1],f=n.index;if(l+=e.slice(i,f),i=f+d.length,p)l+=p[1];else{var m=e[i],h=n[2],g=n[3],b=n[4],v=n[5],y=n[6],w=n[7];l&&(r.push(l),l="");var k=null!=h&&null!=m&&m!==h,S="+"===y||"*"===y,E="?"===y||"*"===y,x=n[2]||c,C=b||v;r.push({name:g||o++,prefix:h||"",delimiter:x,optional:E,repeat:S,partial:k,asterisk:!!w,pattern:C?u(C):w?".*":"[^"+s(x)+"]+?"})}}return i{"use strict";n.d(t,{c:()=>o});var r=function(){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,t=0,n={},r={util:{encode:function e(t){return t instanceof a?new a(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=d.reach);E+=S.value.length,S=S.next){var x=S.value;if(t.length>e.length)return;if(!(x instanceof a)){var C,_=1;if(v){if(!(C=o(k,E,e,b))||C.index>=e.length)break;var O=C.index,T=C.index+C[0].length,P=E;for(P+=S.value.length;O>=P;)P+=(S=S.next).value.length;if(E=P-=S.value.length,S.value instanceof a)continue;for(var A=S;A!==t.tail&&(Pd.reach&&(d.reach=N);var j=S.prev;if(L&&(j=s(t,j,L),E+=L.length),u(t,j,_),S=s(t,j,new a(p,g?r.tokenize(R,g):R,y,R)),D&&s(t,S,D),_>1){var I={cause:p+","+m,reach:N};i(e,t,n,S.prev,E,I),d&&I.reach>d.reach&&(d.reach=I.reach)}}}}}}function l(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function s(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}function u(e,t,n){for(var r=t.next,a=0;a"+o.content+""},r}(),a=r;r.default=r,a.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},a.languages.markup.tag.inside["attr-value"].inside.entity=a.languages.markup.entity,a.languages.markup.doctype.inside["internal-subset"].inside=a.languages.markup,a.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(a.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^$)/i,lookbehind:!0,inside:a.languages[t]},n.cdata=/^$/i;var r={"included-cdata":{pattern://i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:a.languages[t]};var o={};o[e]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:r},a.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(a.languages.markup.tag,"addAttribute",{value:function(e,t){a.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:a.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),a.languages.html=a.languages.markup,a.languages.mathml=a.languages.markup,a.languages.svg=a.languages.markup,a.languages.xml=a.languages.extend("markup",{}),a.languages.ssml=a.languages.xml,a.languages.atom=a.languages.xml,a.languages.rss=a.languages.xml,function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var a=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],o=r.variable[1].inside,i=0;i]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},a.languages.c=a.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),a.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),a.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},a.languages.c.string],char:a.languages.c.char,comment:a.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:a.languages.c}}}}),a.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete a.languages.c.boolean,function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,(function(){return t.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,(function(){return t.source}))),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,(function(){return n}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(a),function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(a),function(e){var t,n=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:t={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+n.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[n,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var r={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},a={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:r,number:a,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:r,number:a})}(a),a.languages.javascript=a.languages.extend("clike",{"class-name":[a.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),a.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,a.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:a.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:a.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:a.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:a.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:a.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),a.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:a.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),a.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),a.languages.markup&&(a.languages.markup.tag.addInlined("script","javascript"),a.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),a.languages.js=a.languages.javascript,function(e){var t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(a),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+n.source+")?)",a=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),o=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(e,t){t=(t||"").replace(/m/g,"")+"m";var n=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,(function(){return r})).replace(/<>/g,(function(){return e}));return RegExp(n,t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,(function(){return r}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,(function(){return r})).replace(/<>/g,(function(){return"(?:"+a+"|"+o+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(o),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(a),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(//g,(function(){return t})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,a=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return r})),o=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+a+o+"(?:"+a+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+a+o+")(?:"+a+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+a+")"+o+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+a+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(t){["url","bold","italic","strike","code-snippet"].forEach((function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])}))})),e.hooks.add("after-tokenize",(function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n",quot:'"'},s=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(a),a.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:a.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},a.hooks.add("after-tokenize",(function(e){if("graphql"===e.language)for(var t=e.tokens.filter((function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type})),n=0;n0)){var l=p(/^\{$/,/^\}$/);if(-1===l)continue;for(var s=n;s=0&&f(u,"variable-input")}}}}function c(e){return t[n+e]}function d(e,t){t=t||0;for(var n=0;n?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside.interpolation,a=r.inside["interpolation-punctuation"],o=r.pattern.source;function i(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function l(e,t){return"___"+t.toUpperCase()+"_"+e+"___"}function s(t,n,r){var a={code:t,grammar:n,language:r};return e.hooks.run("before-tokenize",a),a.tokens=e.tokenize(a.code,a.grammar),e.hooks.run("after-tokenize",a),a.tokens}function u(t){var n={};n["interpolation-punctuation"]=a;var o=e.tokenize(t,n);if(3===o.length){var i=[1,1];i.push.apply(i,s(o[1],e.languages.javascript,"javascript")),o.splice.apply(o,i)}return new e.Token("interpolation",o,r.alias,t)}function c(t,n,r){var a=e.tokenize(t,{interpolation:{pattern:RegExp(o),lookbehind:!0}}),i=0,c={},d=s(a.map((function(e){if("string"==typeof e)return e;for(var n,a=e.content;-1!==t.indexOf(n=l(i++,r)););return c[n]=a,n})).join(""),n,r),p=Object.keys(c);return i=0,function e(t){for(var n=0;n=p.length)return;var r=t[n];if("string"==typeof r||"string"==typeof r.content){var a=p[i],o="string"==typeof r?r:r.content,l=o.indexOf(a);if(-1!==l){++i;var s=o.substring(0,l),d=u(c[a]),f=o.substring(l+a.length),m=[];if(s&&m.push(s),m.push(d),f){var h=[f];e(h),m.push.apply(m,h)}"string"==typeof r?(t.splice.apply(t,[n,1].concat(m)),n+=m.length-1):r.content=m}}else{var g=r.content;Array.isArray(g)?e(g):e([g])}}}(d),new e.Token(r,d,"language-"+r,t)}e.languages.javascript["template-string"]=[i("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),i("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),i("svg",/\bsvg/.source),i("markdown",/\b(?:markdown|md)/.source),i("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),i("sql",/\bsql/.source),t].filter(Boolean);var d={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function p(e){return"string"==typeof e?e:Array.isArray(e)?e.map(p).join(""):p(e.content)}e.hooks.add("after-tokenize",(function(t){t.language in d&&function t(n){for(var r=0,a=n.length;r]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(a),function(e){function t(e,t){return RegExp(e.replace(//g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r*\.{3}(?:[^{}]|)*\})/.source;function o(e,t){return e=e.replace(//g,(function(){return n})).replace(//g,(function(){return r})).replace(//g,(function(){return a})),RegExp(e,t)}a=o(a).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=o(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:o(//.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:o(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var i=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(i).join(""):""},l=function(t){for(var n=[],r=0;r0&&n[n.length-1].tagName===i(a.content[0].content[1])&&n.pop():"/>"===a.content[a.content.length-1].content||n.push({tagName:i(a.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===a.type&&"{"===a.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===a.type&&"}"===a.content?n[n.length-1].openedBraces--:o=!0),(o||"string"==typeof a)&&n.length>0&&0===n[n.length-1].openedBraces){var s=i(a);r0&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(s=i(t[r-1])+s,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",s,null,s)}a.content&&"string"!=typeof a.content&&l(a.content)}};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||l(e.tokens)}))}(a),function(e){e.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var t={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(t).forEach((function(n){var r=t[n],a=[];/^\w+$/.test(n)||a.push(/\w+/.exec(n)[0]),"diff"===n&&a.push("bold"),e.languages.diff[n]={pattern:RegExp("^(?:["+r+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:a,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(n)[0]}}}})),Object.defineProperty(e.languages.diff,"PREFIXES",{value:t})}(a),a.languages.git={comment:/^#.*/m,deleted:/^[-\u2013].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m},a.languages.go=a.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),a.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete a.languages.go["class-name"],function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,a,o){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(a,(function(e){if("function"==typeof o&&!o(e))return e;for(var a,l=i.length;-1!==n.code.indexOf(a=t(r,l));)++l;return i[l]=e,a})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var a=0,o=Object.keys(n.tokenStack);!function i(l){for(var s=0;s=o.length);s++){var u=l[s];if("string"==typeof u||u.content&&"string"==typeof u.content){var c=o[a],d=n.tokenStack[c],p="string"==typeof u?u:u.content,f=t(r,c),m=p.indexOf(f);if(m>-1){++a;var h=p.substring(0,m),g=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),b=p.substring(m+f.length),v=[];h&&v.push.apply(v,i([h])),v.push(g),b&&v.push.apply(v,i([b])),"string"==typeof u?l.splice.apply(l,[s,1].concat(v)):u.content=v}}else u.content&&i(u.content)}return l}(n.tokens)}}}})}(a),function(e){e.languages.handlebars={comment:/\{\{![\s\S]*?\}\}/,delimiter:{pattern:/^\{\{\{?|\}\}\}?$/,alias:"punctuation"},string:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][+-]?\d+)?/,boolean:/\b(?:false|true)\b/,block:{pattern:/^(\s*(?:~\s*)?)[#\/]\S+?(?=\s*(?:~\s*)?$|\s)/,lookbehind:!0,alias:"keyword"},brackets:{pattern:/\[[^\]]+\]/,inside:{punctuation:/\[|\]/,variable:/[\s\S]+/}},punctuation:/[!"#%&':()*+,.\/;<=>@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"handlebars",/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"handlebars")})),e.languages.hbs=e.languages.handlebars}(a),a.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},a.languages.webmanifest=a.languages.json,a.languages.less=a.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),a.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}}),a.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/},a.languages.objectivec=a.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete a.languages.objectivec["class-name"],a.languages.objc=a.languages.objectivec,a.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/},a.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},a.languages.python["string-interpolation"].inside.interpolation.inside.rest=a.languages.python,a.languages.py=a.languages.python,a.languages.reason=a.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),a.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete a.languages.reason.function,function(e){e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete e.languages.sass.atrule;var t=/\$[-\w]+|#\{\$[-\w]+\}/,n=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:t,operator:n}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:t,operator:n,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})}(a),a.languages.scss=a.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),a.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),a.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),a.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),a.languages.scss.atrule.inside.rest=a.languages.scss,function(e){var t={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},n={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},r={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:n,punctuation:/[{}()\[\];:,]/};r.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:r}},r.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:r}},e.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:r}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:r}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:r}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:r.interpolation}},rest:r}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:r.interpolation,comment:r.comment,punctuation:/[{},]/}},func:r.func,string:r.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:r.interpolation,punctuation:/[{}()\[\];:.]/}}(a),function(e){var t=e.util.clone(e.languages.typescript);e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"];var n=e.languages.tsx.tag;n.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0}(a),a.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/};const o=a},7248:e=>{e.exports&&(e.exports={core:{meta:{path:"components/prism-core.js",option:"mandatory"},core:"Core"},themes:{meta:{path:"themes/{id}.css",link:"index.html?theme={id}",exclusive:!0},prism:{title:"Default",option:"default"},"prism-dark":"Dark","prism-funky":"Funky","prism-okaidia":{title:"Okaidia",owner:"ocodia"},"prism-twilight":{title:"Twilight",owner:"remybach"},"prism-coy":{title:"Coy",owner:"tshedor"},"prism-solarizedlight":{title:"Solarized Light",owner:"hectormatos2011 "},"prism-tomorrow":{title:"Tomorrow Night",owner:"Rosey"}},languages:{meta:{path:"components/prism-{id}",noCSS:!0,examplesPath:"examples/prism-{id}",addCheckAll:!0},markup:{title:"Markup",alias:["html","xml","svg","mathml","ssml","atom","rss"],aliasTitles:{html:"HTML",xml:"XML",svg:"SVG",mathml:"MathML",ssml:"SSML",atom:"Atom",rss:"RSS"},option:"default"},css:{title:"CSS",option:"default",modify:"markup"},clike:{title:"C-like",option:"default"},javascript:{title:"JavaScript",require:"clike",modify:"markup",optional:"regex",alias:"js",option:"default"},abap:{title:"ABAP",owner:"dellagustin"},abnf:{title:"ABNF",owner:"RunDevelopment"},actionscript:{title:"ActionScript",require:"javascript",modify:"markup",owner:"Golmote"},ada:{title:"Ada",owner:"Lucretia"},agda:{title:"Agda",owner:"xy-ren"},al:{title:"AL",owner:"RunDevelopment"},antlr4:{title:"ANTLR4",alias:"g4",owner:"RunDevelopment"},apacheconf:{title:"Apache Configuration",owner:"GuiTeK"},apex:{title:"Apex",require:["clike","sql"],owner:"RunDevelopment"},apl:{title:"APL",owner:"ngn"},applescript:{title:"AppleScript",owner:"Golmote"},aql:{title:"AQL",owner:"RunDevelopment"},arduino:{title:"Arduino",require:"cpp",alias:"ino",owner:"dkern"},arff:{title:"ARFF",owner:"Golmote"},armasm:{title:"ARM Assembly",alias:"arm-asm",owner:"RunDevelopment"},arturo:{title:"Arturo",alias:"art",optional:["bash","css","javascript","markup","markdown","sql"],owner:"drkameleon"},asciidoc:{alias:"adoc",title:"AsciiDoc",owner:"Golmote"},aspnet:{title:"ASP.NET (C#)",require:["markup","csharp"],owner:"nauzilus"},asm6502:{title:"6502 Assembly",owner:"kzurawel"},asmatmel:{title:"Atmel AVR Assembly",owner:"cerkit"},autohotkey:{title:"AutoHotkey",owner:"aviaryan"},autoit:{title:"AutoIt",owner:"Golmote"},avisynth:{title:"AviSynth",alias:"avs",owner:"Zinfidel"},"avro-idl":{title:"Avro IDL",alias:"avdl",owner:"RunDevelopment"},awk:{title:"AWK",alias:"gawk",aliasTitles:{gawk:"GAWK"},owner:"RunDevelopment"},bash:{title:"Bash",alias:["sh","shell"],aliasTitles:{sh:"Shell",shell:"Shell"},owner:"zeitgeist87"},basic:{title:"BASIC",owner:"Golmote"},batch:{title:"Batch",owner:"Golmote"},bbcode:{title:"BBcode",alias:"shortcode",aliasTitles:{shortcode:"Shortcode"},owner:"RunDevelopment"},bbj:{title:"BBj",owner:"hyyan"},bicep:{title:"Bicep",owner:"johnnyreilly"},birb:{title:"Birb",require:"clike",owner:"Calamity210"},bison:{title:"Bison",require:"c",owner:"Golmote"},bnf:{title:"BNF",alias:"rbnf",aliasTitles:{rbnf:"RBNF"},owner:"RunDevelopment"},bqn:{title:"BQN",owner:"yewscion"},brainfuck:{title:"Brainfuck",owner:"Golmote"},brightscript:{title:"BrightScript",owner:"RunDevelopment"},bro:{title:"Bro",owner:"wayward710"},bsl:{title:"BSL (1C:Enterprise)",alias:"oscript",aliasTitles:{oscript:"OneScript"},owner:"Diversus23"},c:{title:"C",require:"clike",owner:"zeitgeist87"},csharp:{title:"C#",require:"clike",alias:["cs","dotnet"],owner:"mvalipour"},cpp:{title:"C++",require:"c",owner:"zeitgeist87"},cfscript:{title:"CFScript",require:"clike",alias:"cfc",owner:"mjclemente"},chaiscript:{title:"ChaiScript",require:["clike","cpp"],owner:"RunDevelopment"},cil:{title:"CIL",owner:"sbrl"},cilkc:{title:"Cilk/C",require:"c",alias:"cilk-c",owner:"OpenCilk"},cilkcpp:{title:"Cilk/C++",require:"cpp",alias:["cilk-cpp","cilk"],owner:"OpenCilk"},clojure:{title:"Clojure",owner:"troglotit"},cmake:{title:"CMake",owner:"mjrogozinski"},cobol:{title:"COBOL",owner:"RunDevelopment"},coffeescript:{title:"CoffeeScript",require:"javascript",alias:"coffee",owner:"R-osey"},concurnas:{title:"Concurnas",alias:"conc",owner:"jasontatton"},csp:{title:"Content-Security-Policy",owner:"ScottHelme"},cooklang:{title:"Cooklang",owner:"ahue"},coq:{title:"Coq",owner:"RunDevelopment"},crystal:{title:"Crystal",require:"ruby",owner:"MakeNowJust"},"css-extras":{title:"CSS Extras",require:"css",modify:"css",owner:"milesj"},csv:{title:"CSV",owner:"RunDevelopment"},cue:{title:"CUE",owner:"RunDevelopment"},cypher:{title:"Cypher",owner:"RunDevelopment"},d:{title:"D",require:"clike",owner:"Golmote"},dart:{title:"Dart",require:"clike",owner:"Golmote"},dataweave:{title:"DataWeave",owner:"machaval"},dax:{title:"DAX",owner:"peterbud"},dhall:{title:"Dhall",owner:"RunDevelopment"},diff:{title:"Diff",owner:"uranusjr"},django:{title:"Django/Jinja2",require:"markup-templating",alias:"jinja2",owner:"romanvm"},"dns-zone-file":{title:"DNS zone file",owner:"RunDevelopment",alias:"dns-zone"},docker:{title:"Docker",alias:"dockerfile",owner:"JustinBeckwith"},dot:{title:"DOT (Graphviz)",alias:"gv",optional:"markup",owner:"RunDevelopment"},ebnf:{title:"EBNF",owner:"RunDevelopment"},editorconfig:{title:"EditorConfig",owner:"osipxd"},eiffel:{title:"Eiffel",owner:"Conaclos"},ejs:{title:"EJS",require:["javascript","markup-templating"],owner:"RunDevelopment",alias:"eta",aliasTitles:{eta:"Eta"}},elixir:{title:"Elixir",owner:"Golmote"},elm:{title:"Elm",owner:"zwilias"},etlua:{title:"Embedded Lua templating",require:["lua","markup-templating"],owner:"RunDevelopment"},erb:{title:"ERB",require:["ruby","markup-templating"],owner:"Golmote"},erlang:{title:"Erlang",owner:"Golmote"},"excel-formula":{title:"Excel Formula",alias:["xlsx","xls"],owner:"RunDevelopment"},fsharp:{title:"F#",require:"clike",owner:"simonreynolds7"},factor:{title:"Factor",owner:"catb0t"},false:{title:"False",owner:"edukisto"},"firestore-security-rules":{title:"Firestore security rules",require:"clike",owner:"RunDevelopment"},flow:{title:"Flow",require:"javascript",owner:"Golmote"},fortran:{title:"Fortran",owner:"Golmote"},ftl:{title:"FreeMarker Template Language",require:"markup-templating",owner:"RunDevelopment"},gml:{title:"GameMaker Language",alias:"gamemakerlanguage",require:"clike",owner:"LiarOnce"},gap:{title:"GAP (CAS)",owner:"RunDevelopment"},gcode:{title:"G-code",owner:"RunDevelopment"},gdscript:{title:"GDScript",owner:"RunDevelopment"},gedcom:{title:"GEDCOM",owner:"Golmote"},gettext:{title:"gettext",alias:"po",owner:"RunDevelopment"},gherkin:{title:"Gherkin",owner:"hason"},git:{title:"Git",owner:"lgiraudel"},glsl:{title:"GLSL",require:"c",owner:"Golmote"},gn:{title:"GN",alias:"gni",owner:"RunDevelopment"},"linker-script":{title:"GNU Linker Script",alias:"ld",owner:"RunDevelopment"},go:{title:"Go",require:"clike",owner:"arnehormann"},"go-module":{title:"Go module",alias:"go-mod",owner:"RunDevelopment"},gradle:{title:"Gradle",require:"clike",owner:"zeabdelkhalek-badido18"},graphql:{title:"GraphQL",optional:"markdown",owner:"Golmote"},groovy:{title:"Groovy",require:"clike",owner:"robfletcher"},haml:{title:"Haml",require:"ruby",optional:["css","css-extras","coffeescript","erb","javascript","less","markdown","scss","textile"],owner:"Golmote"},handlebars:{title:"Handlebars",require:"markup-templating",alias:["hbs","mustache"],aliasTitles:{mustache:"Mustache"},owner:"Golmote"},haskell:{title:"Haskell",alias:"hs",owner:"bholst"},haxe:{title:"Haxe",require:"clike",optional:"regex",owner:"Golmote"},hcl:{title:"HCL",owner:"outsideris"},hlsl:{title:"HLSL",require:"c",owner:"RunDevelopment"},hoon:{title:"Hoon",owner:"matildepark"},http:{title:"HTTP",optional:["csp","css","hpkp","hsts","javascript","json","markup","uri"],owner:"danielgtaylor"},hpkp:{title:"HTTP Public-Key-Pins",owner:"ScottHelme"},hsts:{title:"HTTP Strict-Transport-Security",owner:"ScottHelme"},ichigojam:{title:"IchigoJam",owner:"BlueCocoa"},icon:{title:"Icon",owner:"Golmote"},"icu-message-format":{title:"ICU Message Format",owner:"RunDevelopment"},idris:{title:"Idris",alias:"idr",owner:"KeenS",require:"haskell"},ignore:{title:".ignore",owner:"osipxd",alias:["gitignore","hgignore","npmignore"],aliasTitles:{gitignore:".gitignore",hgignore:".hgignore",npmignore:".npmignore"}},inform7:{title:"Inform 7",owner:"Golmote"},ini:{title:"Ini",owner:"aviaryan"},io:{title:"Io",owner:"AlesTsurko"},j:{title:"J",owner:"Golmote"},java:{title:"Java",require:"clike",owner:"sherblot"},javadoc:{title:"JavaDoc",require:["markup","java","javadoclike"],modify:"java",optional:"scala",owner:"RunDevelopment"},javadoclike:{title:"JavaDoc-like",modify:["java","javascript","php"],owner:"RunDevelopment"},javastacktrace:{title:"Java stack trace",owner:"RunDevelopment"},jexl:{title:"Jexl",owner:"czosel"},jolie:{title:"Jolie",require:"clike",owner:"thesave"},jq:{title:"JQ",owner:"RunDevelopment"},jsdoc:{title:"JSDoc",require:["javascript","javadoclike","typescript"],modify:"javascript",optional:["actionscript","coffeescript"],owner:"RunDevelopment"},"js-extras":{title:"JS Extras",require:"javascript",modify:"javascript",optional:["actionscript","coffeescript","flow","n4js","typescript"],owner:"RunDevelopment"},json:{title:"JSON",alias:"webmanifest",aliasTitles:{webmanifest:"Web App Manifest"},owner:"CupOfTea696"},json5:{title:"JSON5",require:"json",owner:"RunDevelopment"},jsonp:{title:"JSONP",require:"json",owner:"RunDevelopment"},jsstacktrace:{title:"JS stack trace",owner:"sbrl"},"js-templates":{title:"JS Templates",require:"javascript",modify:"javascript",optional:["css","css-extras","graphql","markdown","markup","sql"],owner:"RunDevelopment"},julia:{title:"Julia",owner:"cdagnino"},keepalived:{title:"Keepalived Configure",owner:"dev-itsheng"},keyman:{title:"Keyman",owner:"mcdurdin"},kotlin:{title:"Kotlin",alias:["kt","kts"],aliasTitles:{kts:"Kotlin Script"},require:"clike",owner:"Golmote"},kumir:{title:"KuMir (\u041a\u0443\u041c\u0438\u0440)",alias:"kum",owner:"edukisto"},kusto:{title:"Kusto",owner:"RunDevelopment"},latex:{title:"LaTeX",alias:["tex","context"],aliasTitles:{tex:"TeX",context:"ConTeXt"},owner:"japborst"},latte:{title:"Latte",require:["clike","markup-templating","php"],owner:"nette"},less:{title:"Less",require:"css",optional:"css-extras",owner:"Golmote"},lilypond:{title:"LilyPond",require:"scheme",alias:"ly",owner:"RunDevelopment"},liquid:{title:"Liquid",require:"markup-templating",owner:"cinhtau"},lisp:{title:"Lisp",alias:["emacs","elisp","emacs-lisp"],owner:"JuanCaicedo"},livescript:{title:"LiveScript",owner:"Golmote"},llvm:{title:"LLVM IR",owner:"porglezomp"},log:{title:"Log file",optional:"javastacktrace",owner:"RunDevelopment"},lolcode:{title:"LOLCODE",owner:"Golmote"},lua:{title:"Lua",owner:"Golmote"},magma:{title:"Magma (CAS)",owner:"RunDevelopment"},makefile:{title:"Makefile",owner:"Golmote"},markdown:{title:"Markdown",require:"markup",optional:"yaml",alias:"md",owner:"Golmote"},"markup-templating":{title:"Markup templating",require:"markup",owner:"Golmote"},mata:{title:"Mata",owner:"RunDevelopment"},matlab:{title:"MATLAB",owner:"Golmote"},maxscript:{title:"MAXScript",owner:"RunDevelopment"},mel:{title:"MEL",owner:"Golmote"},mermaid:{title:"Mermaid",owner:"RunDevelopment"},metafont:{title:"METAFONT",owner:"LaeriExNihilo"},mizar:{title:"Mizar",owner:"Golmote"},mongodb:{title:"MongoDB",owner:"airs0urce",require:"javascript"},monkey:{title:"Monkey",owner:"Golmote"},moonscript:{title:"MoonScript",alias:"moon",owner:"RunDevelopment"},n1ql:{title:"N1QL",owner:"TMWilds"},n4js:{title:"N4JS",require:"javascript",optional:"jsdoc",alias:"n4jsd",owner:"bsmith-n4"},"nand2tetris-hdl":{title:"Nand To Tetris HDL",owner:"stephanmax"},naniscript:{title:"Naninovel Script",owner:"Elringus",alias:"nani"},nasm:{title:"NASM",owner:"rbmj"},neon:{title:"NEON",owner:"nette"},nevod:{title:"Nevod",owner:"nezaboodka"},nginx:{title:"nginx",owner:"volado"},nim:{title:"Nim",owner:"Golmote"},nix:{title:"Nix",owner:"Golmote"},nsis:{title:"NSIS",owner:"idleberg"},objectivec:{title:"Objective-C",require:"c",alias:"objc",owner:"uranusjr"},ocaml:{title:"OCaml",owner:"Golmote"},odin:{title:"Odin",owner:"edukisto"},opencl:{title:"OpenCL",require:"c",modify:["c","cpp"],owner:"Milania1"},openqasm:{title:"OpenQasm",alias:"qasm",owner:"RunDevelopment"},oz:{title:"Oz",owner:"Golmote"},parigp:{title:"PARI/GP",owner:"Golmote"},parser:{title:"Parser",require:"markup",owner:"Golmote"},pascal:{title:"Pascal",alias:"objectpascal",aliasTitles:{objectpascal:"Object Pascal"},owner:"Golmote"},pascaligo:{title:"Pascaligo",owner:"DefinitelyNotAGoat"},psl:{title:"PATROL Scripting Language",owner:"bertysentry"},pcaxis:{title:"PC-Axis",alias:"px",owner:"RunDevelopment"},peoplecode:{title:"PeopleCode",alias:"pcode",owner:"RunDevelopment"},perl:{title:"Perl",owner:"Golmote"},php:{title:"PHP",require:"markup-templating",owner:"milesj"},phpdoc:{title:"PHPDoc",require:["php","javadoclike"],modify:"php",owner:"RunDevelopment"},"php-extras":{title:"PHP Extras",require:"php",modify:"php",owner:"milesj"},"plant-uml":{title:"PlantUML",alias:"plantuml",owner:"RunDevelopment"},plsql:{title:"PL/SQL",require:"sql",owner:"Golmote"},powerquery:{title:"PowerQuery",alias:["pq","mscript"],owner:"peterbud"},powershell:{title:"PowerShell",owner:"nauzilus"},processing:{title:"Processing",require:"clike",owner:"Golmote"},prolog:{title:"Prolog",owner:"Golmote"},promql:{title:"PromQL",owner:"arendjr"},properties:{title:".properties",owner:"Golmote"},protobuf:{title:"Protocol Buffers",require:"clike",owner:"just-boris"},pug:{title:"Pug",require:["markup","javascript"],optional:["coffeescript","ejs","handlebars","less","livescript","markdown","scss","stylus","twig"],owner:"Golmote"},puppet:{title:"Puppet",owner:"Golmote"},pure:{title:"Pure",optional:["c","cpp","fortran"],owner:"Golmote"},purebasic:{title:"PureBasic",require:"clike",alias:"pbfasm",owner:"HeX0R101"},purescript:{title:"PureScript",require:"haskell",alias:"purs",owner:"sriharshachilakapati"},python:{title:"Python",alias:"py",owner:"multipetros"},qsharp:{title:"Q#",require:"clike",alias:"qs",owner:"fedonman"},q:{title:"Q (kdb+ database)",owner:"Golmote"},qml:{title:"QML",require:"javascript",owner:"RunDevelopment"},qore:{title:"Qore",require:"clike",owner:"temnroegg"},r:{title:"R",owner:"Golmote"},racket:{title:"Racket",require:"scheme",alias:"rkt",owner:"RunDevelopment"},cshtml:{title:"Razor C#",alias:"razor",require:["markup","csharp"],optional:["css","css-extras","javascript","js-extras"],owner:"RunDevelopment"},jsx:{title:"React JSX",require:["markup","javascript"],optional:["jsdoc","js-extras","js-templates"],owner:"vkbansal"},tsx:{title:"React TSX",require:["jsx","typescript"]},reason:{title:"Reason",require:"clike",owner:"Golmote"},regex:{title:"Regex",owner:"RunDevelopment"},rego:{title:"Rego",owner:"JordanSh"},renpy:{title:"Ren'py",alias:"rpy",owner:"HyuchiaDiego"},rescript:{title:"ReScript",alias:"res",owner:"vmarcosp"},rest:{title:"reST (reStructuredText)",owner:"Golmote"},rip:{title:"Rip",owner:"ravinggenius"},roboconf:{title:"Roboconf",owner:"Golmote"},robotframework:{title:"Robot Framework",alias:"robot",owner:"RunDevelopment"},ruby:{title:"Ruby",require:"clike",alias:"rb",owner:"samflores"},rust:{title:"Rust",owner:"Golmote"},sas:{title:"SAS",optional:["groovy","lua","sql"],owner:"Golmote"},sass:{title:"Sass (Sass)",require:"css",optional:"css-extras",owner:"Golmote"},scss:{title:"Sass (SCSS)",require:"css",optional:"css-extras",owner:"MoOx"},scala:{title:"Scala",require:"java",owner:"jozic"},scheme:{title:"Scheme",owner:"bacchus123"},"shell-session":{title:"Shell session",require:"bash",alias:["sh-session","shellsession"],owner:"RunDevelopment"},smali:{title:"Smali",owner:"RunDevelopment"},smalltalk:{title:"Smalltalk",owner:"Golmote"},smarty:{title:"Smarty",require:"markup-templating",optional:"php",owner:"Golmote"},sml:{title:"SML",alias:"smlnj",aliasTitles:{smlnj:"SML/NJ"},owner:"RunDevelopment"},solidity:{title:"Solidity (Ethereum)",alias:"sol",require:"clike",owner:"glachaud"},"solution-file":{title:"Solution file",alias:"sln",owner:"RunDevelopment"},soy:{title:"Soy (Closure Template)",require:"markup-templating",owner:"Golmote"},sparql:{title:"SPARQL",require:"turtle",owner:"Triply-Dev",alias:"rq"},"splunk-spl":{title:"Splunk SPL",owner:"RunDevelopment"},sqf:{title:"SQF: Status Quo Function (Arma 3)",require:"clike",owner:"RunDevelopment"},sql:{title:"SQL",owner:"multipetros"},squirrel:{title:"Squirrel",require:"clike",owner:"RunDevelopment"},stan:{title:"Stan",owner:"RunDevelopment"},stata:{title:"Stata Ado",require:["mata","java","python"],owner:"RunDevelopment"},iecst:{title:"Structured Text (IEC 61131-3)",owner:"serhioromano"},stylus:{title:"Stylus",owner:"vkbansal"},supercollider:{title:"SuperCollider",alias:"sclang",owner:"RunDevelopment"},swift:{title:"Swift",owner:"chrischares"},systemd:{title:"Systemd configuration file",owner:"RunDevelopment"},"t4-templating":{title:"T4 templating",owner:"RunDevelopment"},"t4-cs":{title:"T4 Text Templates (C#)",require:["t4-templating","csharp"],alias:"t4",owner:"RunDevelopment"},"t4-vb":{title:"T4 Text Templates (VB)",require:["t4-templating","vbnet"],owner:"RunDevelopment"},tap:{title:"TAP",owner:"isaacs",require:"yaml"},tcl:{title:"Tcl",owner:"PeterChaplin"},tt2:{title:"Template Toolkit 2",require:["clike","markup-templating"],owner:"gflohr"},textile:{title:"Textile",require:"markup",optional:"css",owner:"Golmote"},toml:{title:"TOML",owner:"RunDevelopment"},tremor:{title:"Tremor",alias:["trickle","troy"],owner:"darach",aliasTitles:{trickle:"trickle",troy:"troy"}},turtle:{title:"Turtle",alias:"trig",aliasTitles:{trig:"TriG"},owner:"jakubklimek"},twig:{title:"Twig",require:"markup-templating",owner:"brandonkelly"},typescript:{title:"TypeScript",require:"javascript",optional:"js-templates",alias:"ts",owner:"vkbansal"},typoscript:{title:"TypoScript",alias:"tsconfig",aliasTitles:{tsconfig:"TSConfig"},owner:"dkern"},unrealscript:{title:"UnrealScript",alias:["uscript","uc"],owner:"RunDevelopment"},uorazor:{title:"UO Razor Script",owner:"jaseowns"},uri:{title:"URI",alias:"url",aliasTitles:{url:"URL"},owner:"RunDevelopment"},v:{title:"V",require:"clike",owner:"taggon"},vala:{title:"Vala",require:"clike",optional:"regex",owner:"TemplarVolk"},vbnet:{title:"VB.Net",require:"basic",owner:"Bigsby"},velocity:{title:"Velocity",require:"markup",owner:"Golmote"},verilog:{title:"Verilog",owner:"a-rey"},vhdl:{title:"VHDL",owner:"a-rey"},vim:{title:"vim",owner:"westonganger"},"visual-basic":{title:"Visual Basic",alias:["vb","vba"],aliasTitles:{vba:"VBA"},owner:"Golmote"},warpscript:{title:"WarpScript",owner:"RunDevelopment"},wasm:{title:"WebAssembly",owner:"Golmote"},"web-idl":{title:"Web IDL",alias:"webidl",owner:"RunDevelopment"},wgsl:{title:"WGSL",owner:"Dr4gonthree"},wiki:{title:"Wiki markup",require:"markup",owner:"Golmote"},wolfram:{title:"Wolfram language",alias:["mathematica","nb","wl"],aliasTitles:{mathematica:"Mathematica",nb:"Mathematica Notebook"},owner:"msollami"},wren:{title:"Wren",owner:"clsource"},xeora:{title:"Xeora",require:"markup",alias:"xeoracube",aliasTitles:{xeoracube:"XeoraCube"},owner:"freakmaxi"},"xml-doc":{title:"XML doc (.net)",require:"markup",modify:["csharp","fsharp","vbnet"],owner:"RunDevelopment"},xojo:{title:"Xojo (REALbasic)",owner:"Golmote"},xquery:{title:"XQuery",require:"markup",owner:"Golmote"},yaml:{title:"YAML",alias:"yml",owner:"hason"},yang:{title:"YANG",owner:"RunDevelopment"},zig:{title:"Zig",owner:"RunDevelopment"}},plugins:{meta:{path:"plugins/{id}/prism-{id}",link:"plugins/{id}/"},"line-highlight":{title:"Line Highlight",description:"Highlights specific lines and/or line ranges."},"line-numbers":{title:"Line Numbers",description:"Line number at the beginning of code lines.",owner:"kuba-kubula"},"show-invisibles":{title:"Show Invisibles",description:"Show hidden characters such as tabs and line breaks.",optional:["autolinker","data-uri-highlight"]},autolinker:{title:"Autolinker",description:"Converts URLs and emails in code to clickable links. Parses Markdown links in comments."},wpd:{title:"WebPlatform Docs",description:'Makes tokens link to
    WebPlatform.org documentation. The links open in a new tab.'},"custom-class":{title:"Custom Class",description:"This plugin allows you to prefix Prism's default classes (.comment can become .namespace--comment) or replace them with your defined ones (like .editor__comment). You can even add new classes.",owner:"dvkndn",noCSS:!0},"file-highlight":{title:"File Highlight",description:"Fetch external files and highlight them with Prism. Used on the Prism website itself.",noCSS:!0},"show-language":{title:"Show Language",description:"Display the highlighted language in code blocks (inline code does not show the label).",owner:"nauzilus",noCSS:!0,require:"toolbar"},"jsonp-highlight":{title:"JSONP Highlight",description:"Fetch content with JSONP and highlight some interesting content (e.g. GitHub/Gists or Bitbucket API).",noCSS:!0,owner:"nauzilus"},"highlight-keywords":{title:"Highlight Keywords",description:"Adds special CSS classes for each keyword for fine-grained highlighting.",owner:"vkbansal",noCSS:!0},"remove-initial-line-feed":{title:"Remove initial line feed",description:"Removes the initial line feed in code blocks.",owner:"Golmote",noCSS:!0},"inline-color":{title:"Inline color",description:"Adds a small inline preview for colors in style sheets.",require:"css-extras",owner:"RunDevelopment"},previewers:{title:"Previewers",description:"Previewers for angles, colors, gradients, easing and time.",require:"css-extras",owner:"Golmote"},autoloader:{title:"Autoloader",description:"Automatically loads the needed languages to highlight the code blocks.",owner:"Golmote",noCSS:!0},"keep-markup":{title:"Keep Markup",description:"Prevents custom markup from being dropped out during highlighting.",owner:"Golmote",optional:"normalize-whitespace",noCSS:!0},"command-line":{title:"Command Line",description:"Display a command line with a prompt and, optionally, the output/response from the commands.",owner:"chriswells0"},"unescaped-markup":{title:"Unescaped Markup",description:"Write markup without having to escape anything."},"normalize-whitespace":{title:"Normalize Whitespace",description:"Supports multiple operations to normalize whitespace in code blocks.",owner:"zeitgeist87",optional:"unescaped-markup",noCSS:!0},"data-uri-highlight":{title:"Data-URI Highlight",description:"Highlights data-URI contents.",owner:"Golmote",noCSS:!0},toolbar:{title:"Toolbar",description:"Attach a toolbar for plugins to easily register buttons on the top of a code block.",owner:"mAAdhaTTah"},"copy-to-clipboard":{title:"Copy to Clipboard Button",description:"Add a button that copies the code block to the clipboard when clicked.",owner:"mAAdhaTTah",require:"toolbar",noCSS:!0},"download-button":{title:"Download Button",description:"A button in the toolbar of a code block adding a convenient way to download a code file.",owner:"Golmote",require:"toolbar",noCSS:!0},"match-braces":{title:"Match braces",description:"Highlights matching braces.",owner:"RunDevelopment"},"diff-highlight":{title:"Diff Highlight",description:"Highlights the code inside diff blocks.",owner:"RunDevelopment",require:"diff"},"filter-highlight-all":{title:"Filter highlightAll",description:"Filters the elements the highlightAll and highlightAllUnder methods actually highlight.",owner:"RunDevelopment",noCSS:!0},treeview:{title:"Treeview",description:"A language with special styles to highlight file system tree structures.",owner:"Golmote"}}})},452:(e,t,n)=>{const r=n(7248),a=n(8284),o=new Set;function i(e){void 0===e?e=Object.keys(r.languages).filter((e=>"meta"!=e)):Array.isArray(e)||(e=[e]);const t=[...o,...Object.keys(Prism.languages)];a(r,e,t).load((e=>{if(!(e in r.languages))return void(i.silent||console.warn("Language does not exist: "+e));const t="./prism-"+e;delete n.c[n(1976).resolve(t)],delete Prism.languages[e],n(1976)(t),o.add(e)}))}i.silent=!1,e.exports=i},8660:(e,t,n)=>{var r={"./":452};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=8660},1976:(e,t,n)=>{var r={"./":452};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=1976},8284:e=>{"use strict";var t=function(){var e=function(){};function t(e,t){Array.isArray(e)?e.forEach(t):null!=e&&t(e,0)}function n(e){for(var t={},n=0,r=e.length;n "));var l={},s=e[r];if(s){function u(t){if(!(t in e))throw new Error(r+" depends on an unknown component "+t);if(!(t in l))for(var i in a(t,o),l[t]=!0,n[t])l[i]=!0}t(s.require,u),t(s.optional,u),t(s.modify,u)}n[r]=l,o.pop()}}return function(e){var t=n[e];return t||(a(e,r),t=n[e]),t}}function a(e){for(var t in e)return!0;return!1}return function(o,i,l){var s=function(e){var t={};for(var n in e){var r=e[n];for(var a in r)if("meta"!=a){var o=r[a];t[a]="string"==typeof o?{title:o}:o}}return t}(o),u=function(e){var n;return function(r){if(r in e)return r;if(!n)for(var a in n={},e){var o=e[a];t(o&&o.alias,(function(t){if(t in n)throw new Error(t+" cannot be alias for both "+a+" and "+n[t]);if(t in e)throw new Error(t+" cannot be alias of "+a+" because it is a component.");n[t]=a}))}return n[r]||r}}(s);i=i.map(u),l=(l||[]).map(u);var c=n(i),d=n(l);i.forEach((function e(n){var r=s[n];t(r&&r.require,(function(t){t in d||(c[t]=!0,e(t))}))}));for(var p,f=r(s),m=c;a(m);){for(var h in p={},m){var g=s[h];t(g&&g.modify,(function(e){e in d&&(p[e]=!0)}))}for(var b in d)if(!(b in c))for(var v in f(b))if(v in c){p[b]=!0;break}for(var y in m=p)c[y]=!0}var w={getIds:function(){var e=[];return w.load((function(t){e.push(t)})),e},load:function(t,n){return function(t,n,r,a){var o=a?a.series:void 0,i=a?a.parallel:e,l={},s={};function u(e){if(e in l)return l[e];s[e]=!0;var a,c=[];for(var d in t(e))d in n&&c.push(d);if(0===c.length)a=r(e);else{var p=i(c.map((function(e){var t=u(e);return delete s[e],t})));o?a=o(p,(function(){return r(e)})):r(e)}return l[e]=a}for(var c in n)u(c);var d=[];for(var p in s)d.push(l[p]);return i(d)}(f,c,t,n)}};return w}}();e.exports=t},9776:(e,t,n)=>{"use strict";var r=n(9143);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return n.PropTypes=n,n}},3268:(e,t,n)=>{e.exports=n(9776)()},9143:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9516:(e,t,n)=>{"use strict";var r=n(1504),a=n(9456),o=n(4712);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n
    + + \ No newline at end of file diff --git a/blog/bharatvarsha/index.html b/blog/bharatvarsha/index.html index d794fa51..120e0fe9 100644 --- a/blog/bharatvarsha/index.html +++ b/blog/bharatvarsha/index.html @@ -28,13 +28,13 @@ - - + +
    -
    The History of Bharatvarsha
    Founder, PrepVerse
    4 min read

    The History of Bharatvarsha

    Introduction:

    Bharatvarsha, known today as India, is a land of ancient civilizations, diverse cultures, and rich heritage. Its history, stretching back to the mythical ages of Satyug, is a fascinating tapestry woven with legends, stories, and historical events. In this blog, we embark on a journey through the annals of time, exploring the history of Bharatvarsha from Satyug to the modern era.

    Satyug: The Age of Truth and Virtue

    According to Hindu cosmology, Satyug, the first of the four Yugas (ages), is characterized by truth, righteousness, and spiritual enlightenment. It is believed to be an era of purity and harmony, where humanity lived in harmony with nature and the divine. While historical evidence for Satyug is scarce, it forms the foundational mythos of Indian civilization, inspiring spiritual and philosophical traditions that endure to this day.

    Treta Yuga: The Age of Sacred Epics

    Following Satyug comes Treta Yuga, the second age, marked by the advent of sacred epics such as the Ramayana and the Mahabharata. These timeless narratives, filled with heroic deeds, moral dilemmas, and divine interventions, continue to shape the cultural landscape of Bharatvarsha. The Ramayana chronicles the life and exploits of Lord Rama, while the Mahabharata recounts the epic Kurukshetra War and the teachings of Lord Krishna.

    Dvapara Yuga: The Age of Epic Battles and Divine Incarnations

    Dvapara Yuga, the third age, witnesses the descent of divine incarnations (avatars) such as Lord Krishna, who plays a central role in the Mahabharata. The age is characterized by epic battles, royal lineages, and the gradual decline of dharma (righteousness). The Bhagavad Gita, a sacred text embedded within the Mahabharata, imparts timeless wisdom on duty, morality, and the path to spiritual liberation.

    Kali Yuga: The Age of Darkness and Spiritual Decline

    The current age, Kali Yuga, is regarded as an era of spiritual decline, moral degradation, and societal upheaval. While Kali Yuga is often associated with darkness and chaos, it also offers opportunities for spiritual growth and redemption. Despite its challenges, Bharatvarsha has continued to preserve its spiritual heritage, philosophical traditions, and cultural diversity through the centuries.

    Ancient Civilizations and Empires

    Throughout antiquity, Bharatvarsha was home to flourishing civilizations, including the Indus Valley Civilization, which thrived along the banks of the Indus River in present-day Pakistan. The Maurya Empire, Gupta Empire, and other dynasties left indelible imprints on the land, contributing to advancements in science, mathematics, art, and literature.

    Medieval Dynasties and Cultural Flourishing

    The medieval period witnessed the rise of powerful dynasties such as the Cholas, Chalukyas, and Rashtrakutas in South India, and the Delhi Sultanate in the north. This era saw the synthesis of diverse cultural influences, including Hindu, Buddhist, and Islamic traditions, resulting in architectural marvels, literary masterpieces, and vibrant artistic expressions.

    Colonial Rule and Independence Struggle

    The arrival of European powers, particularly the British East India Company, heralded a new chapter in Bharatvarsha's history. Colonial rule brought profound changes to Indian society, economy, and politics, sparking movements for independence and self-determination. Visionaries such as Mahatma Gandhi, Jawaharlal Nehru, and Subhas Chandra Bose spearheaded the struggle for freedom, leading to India's independence in 1947.

    Modern India and Beyond

    Since gaining independence, India has emerged as a vibrant democracy, a global economic powerhouse, and a cultural hub. Its journey from a colonial past to a sovereign nation is a testament to the resilience, diversity, and dynamism of Bharatvarsha. Today, India stands at the crossroads of tradition and modernity, embracing technological innovations while cherishing its ancient wisdom and cultural heritage.

    Conclusion:

    The history of Bharatvarsha is a saga of resilience, endurance, and transformation, spanning millennia of civilization, conquests, and cultural exchanges. From the mythical realms of Satyug to the complexities of the modern era, India's journey reflects the aspirations, struggles, and triumphs of its people. As we navigate the currents of time, may we continue to cherish and honor the legacy of Bharatvarsha, a land of infinite possibilities and timeless wisdom.

    Loading Comments...
    - - +
    The History of Bharatvarsha
    Founder, PrepVerse
    4 min read

    The History of Bharatvarsha

    Introduction:

    Bharatvarsha, known today as India, is a land of ancient civilizations, diverse cultures, and rich heritage. Its history, stretching back to the mythical ages of Satyug, is a fascinating tapestry woven with legends, stories, and historical events. In this blog, we embark on a journey through the annals of time, exploring the history of Bharatvarsha from Satyug to the modern era.

    Satyug: The Age of Truth and Virtue

    According to Hindu cosmology, Satyug, the first of the four Yugas (ages), is characterized by truth, righteousness, and spiritual enlightenment. It is believed to be an era of purity and harmony, where humanity lived in harmony with nature and the divine. While historical evidence for Satyug is scarce, it forms the foundational mythos of Indian civilization, inspiring spiritual and philosophical traditions that endure to this day.

    Treta Yuga: The Age of Sacred Epics

    Following Satyug comes Treta Yuga, the second age, marked by the advent of sacred epics such as the Ramayana and the Mahabharata. These timeless narratives, filled with heroic deeds, moral dilemmas, and divine interventions, continue to shape the cultural landscape of Bharatvarsha. The Ramayana chronicles the life and exploits of Lord Rama, while the Mahabharata recounts the epic Kurukshetra War and the teachings of Lord Krishna.

    Dvapara Yuga: The Age of Epic Battles and Divine Incarnations

    Dvapara Yuga, the third age, witnesses the descent of divine incarnations (avatars) such as Lord Krishna, who plays a central role in the Mahabharata. The age is characterized by epic battles, royal lineages, and the gradual decline of dharma (righteousness). The Bhagavad Gita, a sacred text embedded within the Mahabharata, imparts timeless wisdom on duty, morality, and the path to spiritual liberation.

    Kali Yuga: The Age of Darkness and Spiritual Decline

    The current age, Kali Yuga, is regarded as an era of spiritual decline, moral degradation, and societal upheaval. While Kali Yuga is often associated with darkness and chaos, it also offers opportunities for spiritual growth and redemption. Despite its challenges, Bharatvarsha has continued to preserve its spiritual heritage, philosophical traditions, and cultural diversity through the centuries.

    Ancient Civilizations and Empires

    Throughout antiquity, Bharatvarsha was home to flourishing civilizations, including the Indus Valley Civilization, which thrived along the banks of the Indus River in present-day Pakistan. The Maurya Empire, Gupta Empire, and other dynasties left indelible imprints on the land, contributing to advancements in science, mathematics, art, and literature.

    Medieval Dynasties and Cultural Flourishing

    The medieval period witnessed the rise of powerful dynasties such as the Cholas, Chalukyas, and Rashtrakutas in South India, and the Delhi Sultanate in the north. This era saw the synthesis of diverse cultural influences, including Hindu, Buddhist, and Islamic traditions, resulting in architectural marvels, literary masterpieces, and vibrant artistic expressions.

    Colonial Rule and Independence Struggle

    The arrival of European powers, particularly the British East India Company, heralded a new chapter in Bharatvarsha's history. Colonial rule brought profound changes to Indian society, economy, and politics, sparking movements for independence and self-determination. Visionaries such as Mahatma Gandhi, Jawaharlal Nehru, and Subhas Chandra Bose spearheaded the struggle for freedom, leading to India's independence in 1947.

    Modern India and Beyond

    Since gaining independence, India has emerged as a vibrant democracy, a global economic powerhouse, and a cultural hub. Its journey from a colonial past to a sovereign nation is a testament to the resilience, diversity, and dynamism of Bharatvarsha. Today, India stands at the crossroads of tradition and modernity, embracing technological innovations while cherishing its ancient wisdom and cultural heritage.

    Conclusion:

    The history of Bharatvarsha is a saga of resilience, endurance, and transformation, spanning millennia of civilization, conquests, and cultural exchanges. From the mythical realms of Satyug to the complexities of the modern era, India's journey reflects the aspirations, struggles, and triumphs of its people. As we navigate the currents of time, may we continue to cherish and honor the legacy of Bharatvarsha, a land of infinite possibilities and timeless wisdom.

    Loading Comments...
    + + \ No newline at end of file diff --git a/blog/feed.json b/blog/feed.json index ab3a4272..6c5a0d6f 100644 --- a/blog/feed.json +++ b/blog/feed.json @@ -4,6 +4,21 @@ "home_page_url": "https://prepverse.github.io/blog", "description": "PrepVerse Blog", "items": [ + { + "id": "https://prepverse.github.io/blog/two-sum", + "content_html": "

    PrepVerse | Three Approaches to Solving the Two Sum Problem

    Approach 1: Brute Force

    Algorithm:

    The brute force approach is straightforward. Loop through each element x in the array and check if there is another element that equals target - x.

    Implementation:

    • Python
    Brute Force
    def two_sum_brute_force(nums, target):
    n = len(nums)
    for i in range(n):
    for j in range(i + 1, n):
    if nums[i] + nums[j] == target:
    return [i, j]
    return None

    Complexity Analysis:

    • Time Complexity: O(n²)
      • For each element, we loop through the rest of the array to find its complement, resulting in O(n) operations per element. Hence, the overall time complexity is O(n²).
    • Space Complexity: O(1)
      • The space required does not depend on the size of the input array, so only constant space is used.

    Approach 2: Two-pass Hash Table

    Intuition:

    To improve our runtime complexity, we need a more efficient way to check if the complement exists in the array. A hash table is well-suited for this purpose because it supports fast lookups in near constant time. By trading space for speed, we can reduce the lookup time from O(n) to O(1).

    Algorithm:

    1. In the first iteration, add each element's value as a key and its index as a value to the hash table.
    2. In the second iteration, check if each element's complement (target - nums[i]) exists in the hash table. If it does, return the current element's index and its complement's index.

    Implementation:

    • Python
    Two-pass Hash Table
    def two_sum_two_pass_hash_table(nums, target):
    hash_table = {}
    for i, num in enumerate(nums):
    hash_table[num] = i

    for i, num in enumerate(nums):
    complement = target - num
    if complement in hash_table and hash_table[complement] != i:
    return [i, hash_table[complement]]
    return None

    Complexity Analysis:

    • Time Complexity: O(n)
      • We traverse the list containing n elements exactly twice. Since the hash table reduces the lookup time to O(1), the overall time complexity is O(n).
    • Space Complexity: O(n)
      • The extra space required depends on the number of items stored in the hash table, which stores exactly n elements.

    Approach 3: One-pass Hash Table

    Algorithm:

    We can optimize further by performing the lookup and insertion in a single pass. While iterating through the array, we check if the current element's complement already exists in the hash table. If it does, we have found a solution and return the indices immediately.

    Implementation:

    • Python
    One-pass Hash Table
    def two_sum_one_pass_hash_table(nums, target):
    hash_table = {}
    for i, num in enumerate(nums):
    complement = target - num
    if complement in hash_table:
    return [hash_table[complement], i]
    hash_table[num] = i
    return None

    Complexity Analysis:

    • Time Complexity: O(n)
      • We traverse the list containing n elements only once. Each lookup in the table costs only O(1) time.
    • Space Complexity: O(n)
      • The extra space required depends on the number of items stored in the hash table, which stores at most n elements.

    Conclusion

    In summary, the brute force approach is simple but inefficient, with a time complexity of O(n²). The two-pass hash table approach improves the time complexity to O(n) by utilizing extra space for a hash table. The one-pass hash table approach further optimizes the solution by combining lookup and insertion into a single pass, maintaining an overall time complexity of O(n) and space complexity of O(n). Depending on the constraints and requirements of your problem, choosing the right approach can significantly improve performance.

    ", + "url": "https://prepverse.github.io/blog/two-sum", + "title": "Two Sum Explained", + "summary": "DSA problem two sum explained", + "date_modified": "2024-08-07T00:00:00.000Z", + "author": { + "name": "Akash Singh" + }, + "tags": [ + "Array", + "LeetCode" + ] + }, { "id": "https://prepverse.github.io/blog/god-brahma", "content_html": "

    Exploring the Complete Life Cycle of Creator God Brahma & the Age of the Universe According to Vedas:

    • The lifespan of Brahma (creator god) is described in profound terms, reflecting the intricate cycles of creation and dissolution that govern the universe. Here's a breakdown of Brahma's lifespan and the cosmic rhythms associated with it:

    100 Years (Lifespan: 2 Parardhas) of Brahma:

    1. Brahma's Lifespan: Brahma, the creator god, lives for 100 of his years.
    2. Each Year Structure: A Brahmaic year consists of 360 days and nights.
    3. Total Duration: The total duration of Brahma's life is 311.04 trillion human years.

    50 Years (Parardhas) of Brahma:

    1. Parardha Definition: Brahma's 100-year life is divided into two 50-year periods, each known as a Parardha.
    2. In a Maha-Kalpa: In a 100-year Maha-Kalpa, there are a total of 36,000 full days. This includes 36,000 Kalpas (days proper) and 36,000 Pralayas (nights).

    1 Year of Brahma:

    1. Each Year Structure: A Brahmaic year consists of 12 months.
    2. Duration: 3.1104 trillion human years.

    1 Month of Brahma:

    1. Each Month Structure: A Brahmaic month consists of 30 days (Kalpa) & nights (Pralaya).
      A list of 30 kalpa (days) name as mentioned in the Matsya Purana
      Kalpa Number30 Kalpa (Day) Name
      1Sveta (current day)
      2Nilalohita
      3Vamadeva
      4Rathantara
      5Raurava
      6Deva
      7Vrhat
      8Kandarpa
      9Sadya
      10Isana
      11Tamah
      12Sarasvata
      13Udana
      14Garuda
      15Kaurma
      16Narasimha
      17Samana
      18Agneya
      19Soma
      20Manava
      21Tatpuman
      22Vaikuṇṭha
      23Lakṣmi
      24Savitri
      25Aghora
      26Varaha
      27Vairaja
      28Gauri
      29Mahesvara
      30Pitr
    2. Duration: 259.2 billion human years.

    1 Day(Kalpa) and 1 Night (Pralaya) of Brahma:

    1. Brahma's day, known as a Kalpa, lasts for 4.32 billion years.

    2. It is followed by a night, or Pralaya, of equal length.

    3. Structure of a Kalpa:

      • A Kalpa consists of 1,000 Chatur-Yugas.
      • Within a Kalpa, there are 14 Manvantaras (epochs) and 15 Manvantara-Sandhyas (transitional periods).
      • At the start of Brahma's day, creation unfolds as he is reborn, forming planets and the first living entities.
      • At the end of his day, Brahma and his creations undergo partial dissolution, entering a state of unmanifestation.
    4. Duration of kalp:

      • Started in the Past: Approximately 1.97 billion years ago.
      • Ends in the Future: Estimated to conclude in about 2.35 billion years.

      \"Structure

    Maha-Kalpa and Maha-Pralaya:

    1. Brahma's entire lifespan is called a Maha-Kalpa, lasting for 311.04 trillion years.
    2. It is followed by a Maha-Pralaya, a period of full dissolution, lasting for an equivalent length.
    3. Prakriti, the basis of the universe, is manifest at the start and unmanifest at the end of a Maha-Kalpa.
    4. Duration of Maha-Kalpa:
      • Started in the Past: Roughly 155.52 trillion years ago.
      • Ends in the Future: Expected to conclude in about 155.52 trillion years.

    Current State within Brahma's Life Cycle:

    \"God

    1. 51st year of 100 (2nd half or parardha).
    2. 1st month of 12.
    3. 1st kalpa/day (Shveta-Varaha Kalpa) of 30.
    • Kalpa NumberKalpa Name
      1/30Sveta-Varaha \"Structure
    1. 7th manvantara (Vaivasvatha Manu) of 14.\n\"Manavantara
    2. 28th chatur-yuga of 71.\n\"Chatur-yuga
    3. 4th yuga (Kali-yuga) of 4.\n\"Kali-yuga

    Start date of current Kali Yuga:

    • According to the Surya Siddhanta, Kali Yuga began at midnight (00:00) on 18 February 3102 BCE. This sacred date also aligns with the departure of Lord Krishna from the earthly realm, returning to the divine abode of Vaikuntha. The sanctity of this moment is memorialized at the temple of Bhalka, the very site of this celestial event.
    • The significance of 18th February 3102 BCE extends beyond a mere astronomical calculation; it marks the end of Dvapara Yuga and the initiation of the current age of Kali Yuga. This transition holds profound spiritual and cultural importance, intertwining cosmic time with the divine narrative of Lord Krishna's departure.\n\"BHALKA\"
    • Current Age of Kali Yuga:

      • The current age of Kali-Yuga is 5126 years from midnight (00:00) on 18 February 3102 BCE to 18th February 2024.
    Calculating Brahma's 100 Years into Human Years

    Let's break down Brahma's 100-year lifespan into human years step by step:

    Basic Conversion Factors:

    • 100 years = 1 * 100 years
      • 1 year = 12 months
      • 1 month = 30 days (kalpa) + 30 nights (pralaya)
    • 100 years = 36,000 days (kalpa) + 36,000 nights (pralaya)

    Yuga Structure:

    • 1 day (kalpa) = 14 manvantara + 15 manvantara-sandhya
    • 1 night (pralaya) = 14 manvantara + 15 manvantara-sandhya
    • 1 manvantara = 71 chatur-yuga
    • 1 manvantara-sandhya = 1 satya-yuga
    • 1 chatur-yuga = 1 satya(krta)-yuga + 1 treta-yuga + 1 dvapara-yuga + 1 kali-yuga
      • 1 satya-yuga = 4 * 1 kali-yuga
      • 1 treta-yuga = 3 * 1 kali-yuga
      • 1 dvapara-yuga = 2 * 1 kali-yuga
      • 1 kali-yuga = 432,000 human years

    Yuga Duration:

    • 1 kali-yuga = 4,32,000 human years
    • 1 chatur-yuga = (4+3+2+1) kali-yuga
      = 10 kali-yuga
    • 1 manvantara = 71 chatur-yuga
      = 71 x 10 kali-yuga
      = 710 kali-yuga
    • 1 manvantara-sandhya = 1 satya-yuga
      = 4 kali-yuga
    • 1 day (kalpa) = 14 manvantara + 15 manvantara-sandhya
      = 14 x 710 kali-yuga + 15 x 4 kali-yuga
      = (9940 + 60) kali-yuga
      = 10,000 kali-yuga
    • 1 night (pralaya) = 14 manvantara + 15 manvantara-sandhya
      = 14 x 710 kali-yuga + 15 x 4 kali-yuga
      = (9940 + 60) kali-yuga
      = 10,000 kali-yuga

    Conversion:

    • 100 years = 36,000 days (kalpa) + 36,000 nights (pralaya)
      = 2 x 36,000 x 10,000 kali-yuga
      = 720,000,000 kali-yuga
      = 720,000,000 x 4,32,000 human years
      = 311,040,000,000,000 human years

    This calculation shows that Brahma's 100-year lifespan equates to a staggering 311,040,000,000,000 human years in Hindu cosmology.

    -tip Current Exact Date & Time of Creator God Brahma with respect to 100 years of Brahma

    Setting the Stage: Current Time

    As per the given parameters:

    • Current Year of 100 = 50 (Completed) + 1 (current year)
    • Current month of 12 = 1
    • Current day(Kalpa) of 30 = 1
    • Current manvantara of 14 = 6 (Completed) + 1(current)
    • Current manvantara-sandhya of 15 = 7 (Completed)
    • Current chatur-yuga of 71 = 27 (Completed) + 1(current)
    • Current yuga of 4 = 4 (Kali-yuga)
    • Current kali-yuga time (in Human years) = 5126 years

    Thus, the current date is:--> DD/MM/YYYY = 01/01/51.

    God Brahma's Time Scale:

    Human TimeGod Bramha Time
    311,040,000,000,000 yr100 yr
    4,32,000 yr4.32 sec
    1,00,000 yr1 sec
    1 yr10 micro-sec
    36 days1 micro-sec

    Calculations:

    • Total human years in 6 manvantara = 6 x 710 kali-yuga
      = 4260 kali-yuga
      = 4260 x 432,000
      = 1,840,320,000 human year
    • Total human years in 7 manvantara-sandhya = 7 x 4 kali-yuga
      = 28 kali-yuga
      = 28 x 432,000
      = 12,096,000 human year
    • Total human years in 27 chatur-yuga = 27 x 10 kali-yuga
      = 270 kali-yuga
      = 270 x 432,000
      = 1,166,440,000 human year
    • Total human years in 9 kali-yuga + 5126 years = 9 x 4,32,000 + 5126
      = 3,888,000 + 5126
      = 3,93,126 human years

    Current kalpa total time = 1,840,320,000 + 12,096,000 + 1,166,440,000 + 3,93,126
    \n= 3,019,249,126 human years
    \n= 3019249126/100000 brahma seconds
    \n= 30192.49126 brahma seconds

    Conversion to Time Format:

    • Total Time Elapsed: 30192.49126 seconds
      • 503.208188 minutes
      • 8 hours, 23.208188 minutes
      • 8 hours, 23 minutes, 12.49128 seconds
      • 8 hours, 23 minutes, 12 seconds, 491280 micro-seconds
    God Brahma's curremt Date and Time:
    • Date = 01 January 51
    • Time = 08:23:12:491280 AM

    In Human Time:

    18 February 2024

    Time Scales Between Humans and Brahma in Hindu Cosmology

    Time Scales Between Humans and Brahma in Hindu Cosmology
    Time Scales Between Humans and Brahma in Hindu Cosmology:
    UnitDefinitionHumanBrahma
    Maha-kalpa36,000 kalpa & pralaya311,040,000,000,000
    (311.04 trillion) yr
    100 yr
    Maha-pralaya36,000 kalpa & pralaya311,040,000,000,000
    (311.04 trillion) yr
    100 yr
    Parardha1⁄2 Maha-kalpa155,520,000,000,000
    (155.52 trillion) yr
    50 yr
    Kalpa14 manvantara + 15 manvantara-sandhya4,320,000,000
    (4.32 billion) yr
    12 hr
    Pralaya14 manvantara + 15 manvantara-sandhya4,320,000,000
    (4.32 billion) yr
    12 hr
    Manvantara71 Catur-yuga306,720,000 yr51.12 min
    Manvantara-sandhya1 Satya-yuga length1,728,000 yr17.28 s
    Catur-yugaSatya(Krta), Treta, Dvapara & Kali-yugas4,320,000 yr43.20 s
    Satya(Krta)-yuga4 Kali-yugas length1,728,000 yr17.28 s
    Treta-yuga3 Kali-yugas length1,296,000 yr12.96 s
    Dvapara-yuga2 Kali-yugas length864,000 yr8.64 s
    Kali-yuga1 Kali-yugas length432,000 yr4.32 s
    ", diff --git a/blog/god-brahma/index.html b/blog/god-brahma/index.html index 74db0200..f963fac2 100644 --- a/blog/god-brahma/index.html +++ b/blog/god-brahma/index.html @@ -28,20 +28,20 @@ - - + +
    -
    The Complete Life Cycle of Creator God Brahma
    Founder, PrepVerse
    9 min read

    The Complete Life Cycle of Creator God Brahma

    Exploring the Complete Life Cycle of Creator God Brahma & the Age of the Universe According to Vedas:

    • The lifespan of Brahma (creator god) is described in profound terms, reflecting the intricate cycles of creation and dissolution that govern the universe. Here's a breakdown of Brahma's lifespan and the cosmic rhythms associated with it:

    100 Years (Lifespan: 2 Parardhas) of Brahma:

    1. Brahma's Lifespan: Brahma, the creator god, lives for 100 of his years.
    2. Each Year Structure: A Brahmaic year consists of 360 days and nights.
    3. Total Duration: The total duration of Brahma's life is 311.04 trillion human years.

    50 Years (Parardhas) of Brahma:

    1. Parardha Definition: Brahma's 100-year life is divided into two 50-year periods, each known as a Parardha.
    2. In a Maha-Kalpa: In a 100-year Maha-Kalpa, there are a total of 36,000 full days. This includes 36,000 Kalpas (days proper) and 36,000 Pralayas (nights).

    1 Year of Brahma:

    1. Each Year Structure: A Brahmaic year consists of 12 months.
    2. Duration: 3.1104 trillion human years.

    1 Month of Brahma:

    1. Each Month Structure: A Brahmaic month consists of 30 days (Kalpa) & nights (Pralaya).
      A list of 30 kalpa (days) name as mentioned in the Matsya Purana
      Kalpa Number30 Kalpa (Day) Name
      1Sveta (current day)
      2Nilalohita
      3Vamadeva
      4Rathantara
      5Raurava
      6Deva
      7Vrhat
      8Kandarpa
      9Sadya
      10Isana
      11Tamah
      12Sarasvata
      13Udana
      14Garuda
      15Kaurma
      16Narasimha
      17Samana
      18Agneya
      19Soma
      20Manava
      21Tatpuman
      22Vaikuṇṭha
      23Lakṣmi
      24Savitri
      25Aghora
      26Varaha
      27Vairaja
      28Gauri
      29Mahesvara
      30Pitr
    2. Duration: 259.2 billion human years.

    1 Day(Kalpa) and 1 Night (Pralaya) of Brahma:

    1. Brahma's day, known as a Kalpa, lasts for 4.32 billion years.

    2. It is followed by a night, or Pralaya, of equal length.

    3. Structure of a Kalpa:

      • A Kalpa consists of 1,000 Chatur-Yugas.
      • Within a Kalpa, there are 14 Manvantaras (epochs) and 15 Manvantara-Sandhyas (transitional periods).
      • At the start of Brahma's day, creation unfolds as he is reborn, forming planets and the first living entities.
      • At the end of his day, Brahma and his creations undergo partial dissolution, entering a state of unmanifestation.
    4. Duration of kalp:

      • Started in the Past: Approximately 1.97 billion years ago.
      • Ends in the Future: Estimated to conclude in about 2.35 billion years.

      Structure of current kalpa

    Maha-Kalpa and Maha-Pralaya:

    1. Brahma's entire lifespan is called a Maha-Kalpa, lasting for 311.04 trillion years.
    2. It is followed by a Maha-Pralaya, a period of full dissolution, lasting for an equivalent length.
    3. Prakriti, the basis of the universe, is manifest at the start and unmanifest at the end of a Maha-Kalpa.
    4. Duration of Maha-Kalpa:
      • Started in the Past: Roughly 155.52 trillion years ago.
      • Ends in the Future: Expected to conclude in about 155.52 trillion years.

    Current State within Brahma's Life Cycle:

    God Brahma&#39;s Lifecycle

    1. 51st year of 100 (2nd half or parardha).
    2. 1st month of 12.
    3. 1st kalpa/day (Shveta-Varaha Kalpa) of 30.
    • Kalpa NumberKalpa Name
      1/30Sveta-Varaha Structure of current kalpa
    1. 7th manvantara (Vaivasvatha Manu) of 14. +
      The Complete Life Cycle of Creator God Brahma
      Founder, PrepVerse
      9 min read

      The Complete Life Cycle of Creator God Brahma

      Exploring the Complete Life Cycle of Creator God Brahma & the Age of the Universe According to Vedas:

      • The lifespan of Brahma (creator god) is described in profound terms, reflecting the intricate cycles of creation and dissolution that govern the universe. Here's a breakdown of Brahma's lifespan and the cosmic rhythms associated with it:

      100 Years (Lifespan: 2 Parardhas) of Brahma:

      1. Brahma's Lifespan: Brahma, the creator god, lives for 100 of his years.
      2. Each Year Structure: A Brahmaic year consists of 360 days and nights.
      3. Total Duration: The total duration of Brahma's life is 311.04 trillion human years.

      50 Years (Parardhas) of Brahma:

      1. Parardha Definition: Brahma's 100-year life is divided into two 50-year periods, each known as a Parardha.
      2. In a Maha-Kalpa: In a 100-year Maha-Kalpa, there are a total of 36,000 full days. This includes 36,000 Kalpas (days proper) and 36,000 Pralayas (nights).

      1 Year of Brahma:

      1. Each Year Structure: A Brahmaic year consists of 12 months.
      2. Duration: 3.1104 trillion human years.

      1 Month of Brahma:

      1. Each Month Structure: A Brahmaic month consists of 30 days (Kalpa) & nights (Pralaya).
        A list of 30 kalpa (days) name as mentioned in the Matsya Purana
        Kalpa Number30 Kalpa (Day) Name
        1Sveta (current day)
        2Nilalohita
        3Vamadeva
        4Rathantara
        5Raurava
        6Deva
        7Vrhat
        8Kandarpa
        9Sadya
        10Isana
        11Tamah
        12Sarasvata
        13Udana
        14Garuda
        15Kaurma
        16Narasimha
        17Samana
        18Agneya
        19Soma
        20Manava
        21Tatpuman
        22Vaikuṇṭha
        23Lakṣmi
        24Savitri
        25Aghora
        26Varaha
        27Vairaja
        28Gauri
        29Mahesvara
        30Pitr
      2. Duration: 259.2 billion human years.

      1 Day(Kalpa) and 1 Night (Pralaya) of Brahma:

      1. Brahma's day, known as a Kalpa, lasts for 4.32 billion years.

      2. It is followed by a night, or Pralaya, of equal length.

      3. Structure of a Kalpa:

        • A Kalpa consists of 1,000 Chatur-Yugas.
        • Within a Kalpa, there are 14 Manvantaras (epochs) and 15 Manvantara-Sandhyas (transitional periods).
        • At the start of Brahma's day, creation unfolds as he is reborn, forming planets and the first living entities.
        • At the end of his day, Brahma and his creations undergo partial dissolution, entering a state of unmanifestation.
      4. Duration of kalp:

        • Started in the Past: Approximately 1.97 billion years ago.
        • Ends in the Future: Estimated to conclude in about 2.35 billion years.

        Structure of current kalpa

      Maha-Kalpa and Maha-Pralaya:

      1. Brahma's entire lifespan is called a Maha-Kalpa, lasting for 311.04 trillion years.
      2. It is followed by a Maha-Pralaya, a period of full dissolution, lasting for an equivalent length.
      3. Prakriti, the basis of the universe, is manifest at the start and unmanifest at the end of a Maha-Kalpa.
      4. Duration of Maha-Kalpa:
        • Started in the Past: Roughly 155.52 trillion years ago.
        • Ends in the Future: Expected to conclude in about 155.52 trillion years.

      Current State within Brahma's Life Cycle:

      God Brahma&#39;s Lifecycle

      1. 51st year of 100 (2nd half or parardha).
      2. 1st month of 12.
      3. 1st kalpa/day (Shveta-Varaha Kalpa) of 30.
      • Kalpa NumberKalpa Name
        1/30Sveta-Varaha Structure of current kalpa
      1. 7th manvantara (Vaivasvatha Manu) of 14. Manavantara duration
      2. 28th chatur-yuga of 71. Chatur-yuga duration
      3. 4th yuga (Kali-yuga) of 4. Kali-yuga duration

      Start date of current Kali Yuga:

      • According to the Surya Siddhanta, Kali Yuga began at midnight (00:00) on 18 February 3102 BCE. This sacred date also aligns with the departure of Lord Krishna from the earthly realm, returning to the divine abode of Vaikuntha. The sanctity of this moment is memorialized at the temple of Bhalka, the very site of this celestial event.
      • The significance of 18th February 3102 BCE extends beyond a mere astronomical calculation; it marks the end of Dvapara Yuga and the initiation of the current age of Kali Yuga. This transition holds profound spiritual and cultural importance, intertwining cosmic time with the divine narrative of Lord Krishna's departure. BHALKA
      • Current Age of Kali Yuga:

        • The current age of Kali-Yuga is 5126 years from midnight (00:00) on 18 February 3102 BCE to 18th February 2024.
      Calculating Brahma's 100 Years into Human Years

      Let's break down Brahma's 100-year lifespan into human years step by step:

      Basic Conversion Factors:

      • 100 years = 1 * 100 years
        • 1 year = 12 months
        • 1 month = 30 days (kalpa) + 30 nights (pralaya)
      • 100 years = 36,000 days (kalpa) + 36,000 nights (pralaya)

      Yuga Structure:

      • 1 day (kalpa) = 14 manvantara + 15 manvantara-sandhya
      • 1 night (pralaya) = 14 manvantara + 15 manvantara-sandhya
      • 1 manvantara = 71 chatur-yuga
      • 1 manvantara-sandhya = 1 satya-yuga
      • 1 chatur-yuga = 1 satya(krta)-yuga + 1 treta-yuga + 1 dvapara-yuga + 1 kali-yuga
        • 1 satya-yuga = 4 * 1 kali-yuga
        • 1 treta-yuga = 3 * 1 kali-yuga
        • 1 dvapara-yuga = 2 * 1 kali-yuga
        • 1 kali-yuga = 432,000 human years

      Yuga Duration:

      • 1 kali-yuga = 4,32,000 human years
      • 1 chatur-yuga = (4+3+2+1) kali-yuga
        = 10 kali-yuga
      • 1 manvantara = 71 chatur-yuga
        = 71 x 10 kali-yuga
        = 710 kali-yuga
      • 1 manvantara-sandhya = 1 satya-yuga
        = 4 kali-yuga
      • 1 day (kalpa) = 14 manvantara + 15 manvantara-sandhya
        = 14 x 710 kali-yuga + 15 x 4 kali-yuga
        = (9940 + 60) kali-yuga
        = 10,000 kali-yuga
      • 1 night (pralaya) = 14 manvantara + 15 manvantara-sandhya
        = 14 x 710 kali-yuga + 15 x 4 kali-yuga
        = (9940 + 60) kali-yuga
        = 10,000 kali-yuga

      Conversion:

      • 100 years = 36,000 days (kalpa) + 36,000 nights (pralaya)
        = 2 x 36,000 x 10,000 kali-yuga
        = 720,000,000 kali-yuga
        = 720,000,000 x 4,32,000 human years
        = 311,040,000,000,000 human years

      This calculation shows that Brahma's 100-year lifespan equates to a staggering 311,040,000,000,000 human years in Hindu cosmology.

      -tip Current Exact Date & Time of Creator God Brahma with respect to 100 years of Brahma

      Setting the Stage: Current Time

      As per the given parameters:

      • Current Year of 100 = 50 (Completed) + 1 (current year)
      • Current month of 12 = 1
      • Current day(Kalpa) of 30 = 1
      • Current manvantara of 14 = 6 (Completed) + 1(current)
      • Current manvantara-sandhya of 15 = 7 (Completed)
      • Current chatur-yuga of 71 = 27 (Completed) + 1(current)
      • Current yuga of 4 = 4 (Kali-yuga)
      • Current kali-yuga time (in Human years) = 5126 years

      Thus, the current date is:--> DD/MM/YYYY = 01/01/51.

      God Brahma's Time Scale:

      Human TimeGod Bramha Time
      311,040,000,000,000 yr100 yr
      4,32,000 yr4.32 sec
      1,00,000 yr1 sec
      1 yr10 micro-sec
      36 days1 micro-sec

      Calculations:

      • Total human years in 6 manvantara = 6 x 710 kali-yuga
        = 4260 kali-yuga
        = 4260 x 432,000
        = 1,840,320,000 human year
      • Total human years in 7 manvantara-sandhya = 7 x 4 kali-yuga
        = 28 kali-yuga
        = 28 x 432,000
        = 12,096,000 human year
      • Total human years in 27 chatur-yuga = 27 x 10 kali-yuga
        = 270 kali-yuga
        = 270 x 432,000
        = 1,166,440,000 human year
      • Total human years in 9 kali-yuga + 5126 years = 9 x 4,32,000 + 5126
        = 3,888,000 + 5126
        = 3,93,126 human years

      Current kalpa total time = 1,840,320,000 + 12,096,000 + 1,166,440,000 + 3,93,126
      = 3,019,249,126 human years
      = 3019249126/100000 brahma seconds
      -= 30192.49126 brahma seconds

      Conversion to Time Format:

      • Total Time Elapsed: 30192.49126 seconds
        • 503.208188 minutes
        • 8 hours, 23.208188 minutes
        • 8 hours, 23 minutes, 12.49128 seconds
        • 8 hours, 23 minutes, 12 seconds, 491280 micro-seconds
      God Brahma's curremt Date and Time:
      • Date = 01 January 51
      • Time = 08:23:12:491280 AM

      In Human Time:

      18 February 2024

      Time Scales Between Humans and Brahma in Hindu Cosmology

      Time Scales Between Humans and Brahma in Hindu Cosmology
      Time Scales Between Humans and Brahma in Hindu Cosmology:
      UnitDefinitionHumanBrahma
      Maha-kalpa36,000 kalpa & pralaya311,040,000,000,000
      (311.04 trillion) yr
      100 yr
      Maha-pralaya36,000 kalpa & pralaya311,040,000,000,000
      (311.04 trillion) yr
      100 yr
      Parardha1⁄2 Maha-kalpa155,520,000,000,000
      (155.52 trillion) yr
      50 yr
      Kalpa14 manvantara + 15 manvantara-sandhya4,320,000,000
      (4.32 billion) yr
      12 hr
      Pralaya14 manvantara + 15 manvantara-sandhya4,320,000,000
      (4.32 billion) yr
      12 hr
      Manvantara71 Catur-yuga306,720,000 yr51.12 min
      Manvantara-sandhya1 Satya-yuga length1,728,000 yr17.28 s
      Catur-yugaSatya(Krta), Treta, Dvapara & Kali-yugas4,320,000 yr43.20 s
      Satya(Krta)-yuga4 Kali-yugas length1,728,000 yr17.28 s
      Treta-yuga3 Kali-yugas length1,296,000 yr12.96 s
      Dvapara-yuga2 Kali-yugas length864,000 yr8.64 s
      Kali-yuga1 Kali-yugas length432,000 yr4.32 s
      Loading Comments...
    - - += 30192.49126 brahma seconds

    Conversion to Time Format:

    • Total Time Elapsed: 30192.49126 seconds
      • 503.208188 minutes
      • 8 hours, 23.208188 minutes
      • 8 hours, 23 minutes, 12.49128 seconds
      • 8 hours, 23 minutes, 12 seconds, 491280 micro-seconds
    God Brahma's curremt Date and Time:
    • Date = 01 January 51
    • Time = 08:23:12:491280 AM

    In Human Time:

    18 February 2024

    Time Scales Between Humans and Brahma in Hindu Cosmology

    Time Scales Between Humans and Brahma in Hindu Cosmology
    Time Scales Between Humans and Brahma in Hindu Cosmology:
    UnitDefinitionHumanBrahma
    Maha-kalpa36,000 kalpa & pralaya311,040,000,000,000
    (311.04 trillion) yr
    100 yr
    Maha-pralaya36,000 kalpa & pralaya311,040,000,000,000
    (311.04 trillion) yr
    100 yr
    Parardha1⁄2 Maha-kalpa155,520,000,000,000
    (155.52 trillion) yr
    50 yr
    Kalpa14 manvantara + 15 manvantara-sandhya4,320,000,000
    (4.32 billion) yr
    12 hr
    Pralaya14 manvantara + 15 manvantara-sandhya4,320,000,000
    (4.32 billion) yr
    12 hr
    Manvantara71 Catur-yuga306,720,000 yr51.12 min
    Manvantara-sandhya1 Satya-yuga length1,728,000 yr17.28 s
    Catur-yugaSatya(Krta), Treta, Dvapara & Kali-yugas4,320,000 yr43.20 s
    Satya(Krta)-yuga4 Kali-yugas length1,728,000 yr17.28 s
    Treta-yuga3 Kali-yugas length1,296,000 yr12.96 s
    Dvapara-yuga2 Kali-yugas length864,000 yr8.64 s
    Kali-yuga1 Kali-yugas length432,000 yr4.32 s
    Loading Comments...
    + + \ No newline at end of file diff --git a/blog/index.html b/blog/index.html index 8e47cd8f..7edcbc2b 100644 --- a/blog/index.html +++ b/blog/index.html @@ -28,13 +28,13 @@ - - + +
    -

    PrepVerse
    Technical Blog

    contains all the DSA, Core Subjects, Web Tech, Data Science & FAANG Interview questions based blogs.

    Featured Posts

    - - +
    Skip to main content

    PrepVerse
    Technical Blog

    contains all the DSA, Core Subjects, Web Tech, Data Science & FAANG Interview questions based blogs.

    Featured Posts

    + + \ No newline at end of file diff --git a/blog/rss.xml b/blog/rss.xml index 304754df..779bad8c 100644 --- a/blog/rss.xml +++ b/blog/rss.xml @@ -4,11 +4,21 @@ PrepVerse Blog https://prepverse.github.io/blog PrepVerse Blog - Sun, 18 Feb 2024 00:00:00 GMT + Wed, 07 Aug 2024 00:00:00 GMT https://validator.w3.org/feed/docs/rss2.html https://github.com/jpmonette/feed en Copyright © 2024 PrepVerse + + <![CDATA[Two Sum Explained]]> + https://prepverse.github.io/blog/two-sum + https://prepverse.github.io/blog/two-sum + Wed, 07 Aug 2024 00:00:00 GMT + + PrepVerse | Three Approaches to Solving the Two Sum Problem

    Approach 1: Brute Force

    Algorithm:

    The brute force approach is straightforward. Loop through each element x in the array and check if there is another element that equals target - x.

    Implementation:

    Brute Force
    def two_sum_brute_force(nums, target):
    n = len(nums)
    for i in range(n):
    for j in range(i + 1, n):
    if nums[i] + nums[j] == target:
    return [i, j]
    return None

    Complexity Analysis:

    • Time Complexity: O(n²)
      • For each element, we loop through the rest of the array to find its complement, resulting in O(n) operations per element. Hence, the overall time complexity is O(n²).
    • Space Complexity: O(1)
      • The space required does not depend on the size of the input array, so only constant space is used.

    Approach 2: Two-pass Hash Table

    Intuition:

    To improve our runtime complexity, we need a more efficient way to check if the complement exists in the array. A hash table is well-suited for this purpose because it supports fast lookups in near constant time. By trading space for speed, we can reduce the lookup time from O(n) to O(1).

    Algorithm:

    1. In the first iteration, add each element's value as a key and its index as a value to the hash table.
    2. In the second iteration, check if each element's complement (target - nums[i]) exists in the hash table. If it does, return the current element's index and its complement's index.

    Implementation:

    Two-pass Hash Table
    def two_sum_two_pass_hash_table(nums, target):
    hash_table = {}
    for i, num in enumerate(nums):
    hash_table[num] = i

    for i, num in enumerate(nums):
    complement = target - num
    if complement in hash_table and hash_table[complement] != i:
    return [i, hash_table[complement]]
    return None

    Complexity Analysis:

    • Time Complexity: O(n)
      • We traverse the list containing n elements exactly twice. Since the hash table reduces the lookup time to O(1), the overall time complexity is O(n).
    • Space Complexity: O(n)
      • The extra space required depends on the number of items stored in the hash table, which stores exactly n elements.

    Approach 3: One-pass Hash Table

    Algorithm:

    We can optimize further by performing the lookup and insertion in a single pass. While iterating through the array, we check if the current element's complement already exists in the hash table. If it does, we have found a solution and return the indices immediately.

    Implementation:

    One-pass Hash Table
    def two_sum_one_pass_hash_table(nums, target):
    hash_table = {}
    for i, num in enumerate(nums):
    complement = target - num
    if complement in hash_table:
    return [hash_table[complement], i]
    hash_table[num] = i
    return None

    Complexity Analysis:

    • Time Complexity: O(n)
      • We traverse the list containing n elements only once. Each lookup in the table costs only O(1) time.
    • Space Complexity: O(n)
      • The extra space required depends on the number of items stored in the hash table, which stores at most n elements.

    Conclusion

    In summary, the brute force approach is simple but inefficient, with a time complexity of O(n²). The two-pass hash table approach improves the time complexity to O(n) by utilizing extra space for a hash table. The one-pass hash table approach further optimizes the solution by combining lookup and insertion into a single pass, maintaining an overall time complexity of O(n) and space complexity of O(n). Depending on the constraints and requirements of your problem, choosing the right approach can significantly improve performance.

    ]]>
    + Array + LeetCode +
    <![CDATA[The Complete Life Cycle of Creator God Brahma]]> https://prepverse.github.io/blog/god-brahma diff --git a/blog/tags/ajnabhavarsh/index.html b/blog/tags/ajnabhavarsh/index.html index e2d4605c..57b8e419 100644 --- a/blog/tags/ajnabhavarsh/index.html +++ b/blog/tags/ajnabhavarsh/index.html @@ -28,13 +28,13 @@ - - + + - - +
    Skip to main content
    + + \ No newline at end of file diff --git a/blog/tags/array/index.html b/blog/tags/array/index.html new file mode 100644 index 00000000..ebfebfc7 --- /dev/null +++ b/blog/tags/array/index.html @@ -0,0 +1,40 @@ + + + + + +One post tagged with "Array" | PrepVerse + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/blog/tags/aryavarta/index.html b/blog/tags/aryavarta/index.html index e08faeb8..2c1cbc68 100644 --- a/blog/tags/aryavarta/index.html +++ b/blog/tags/aryavarta/index.html @@ -28,13 +28,13 @@ - - + + - - +
    Skip to main content
    + + \ No newline at end of file diff --git a/blog/tags/bharat/index.html b/blog/tags/bharat/index.html index 682f4fd0..c2430f34 100644 --- a/blog/tags/bharat/index.html +++ b/blog/tags/bharat/index.html @@ -28,13 +28,13 @@ - - + +
    -
    Posts tagged with

    Bharat

    - - +
    Skip to main content
    Posts tagged with

    Bharat

    + + \ No newline at end of file diff --git a/blog/tags/bharatkhand/index.html b/blog/tags/bharatkhand/index.html index eb069fe7..a41914c4 100644 --- a/blog/tags/bharatkhand/index.html +++ b/blog/tags/bharatkhand/index.html @@ -28,13 +28,13 @@ - - + + - - +
    Skip to main content
    + + \ No newline at end of file diff --git a/blog/tags/bharatvarsha/index.html b/blog/tags/bharatvarsha/index.html index 61c456ec..696e25aa 100644 --- a/blog/tags/bharatvarsha/index.html +++ b/blog/tags/bharatvarsha/index.html @@ -28,13 +28,13 @@ - - + + - - +
    Skip to main content
    + + \ No newline at end of file diff --git a/blog/tags/brahma/index.html b/blog/tags/brahma/index.html index 19d876b9..965d86dc 100644 --- a/blog/tags/brahma/index.html +++ b/blog/tags/brahma/index.html @@ -28,13 +28,13 @@ - - + +
    -
    Posts tagged with

    Brahma

    - - +
    Skip to main content
    Posts tagged with

    Brahma

    + + \ No newline at end of file diff --git a/blog/tags/creator/index.html b/blog/tags/creator/index.html index df9e2780..4abfe18c 100644 --- a/blog/tags/creator/index.html +++ b/blog/tags/creator/index.html @@ -28,13 +28,13 @@ - - + +
    -
    Posts tagged with

    Creator

    - - +
    Skip to main content
    Posts tagged with

    Creator

    + + \ No newline at end of file diff --git a/blog/tags/god/index.html b/blog/tags/god/index.html index 287e3be6..ef4e61e5 100644 --- a/blog/tags/god/index.html +++ b/blog/tags/god/index.html @@ -28,13 +28,13 @@ - - + +
    -
    Posts tagged with

    God

    - - +
    Skip to main content
    Posts tagged with

    God

    + + \ No newline at end of file diff --git a/blog/tags/hindustan/index.html b/blog/tags/hindustan/index.html index 8ba94452..822d3a26 100644 --- a/blog/tags/hindustan/index.html +++ b/blog/tags/hindustan/index.html @@ -28,13 +28,13 @@ - - + + - - +
    Skip to main content
    + + \ No newline at end of file diff --git a/blog/tags/index.html b/blog/tags/index.html index e2b9f500..2a85aba4 100644 --- a/blog/tags/index.html +++ b/blog/tags/index.html @@ -28,13 +28,13 @@ - - + + - - +
    Skip to main content
    + + \ No newline at end of file diff --git a/blog/tags/india/index.html b/blog/tags/india/index.html index 431ea3b8..d22b99dd 100644 --- a/blog/tags/india/index.html +++ b/blog/tags/india/index.html @@ -28,13 +28,13 @@ - - + + - - +
    Skip to main content
    + + \ No newline at end of file diff --git a/blog/tags/jambudweep/index.html b/blog/tags/jambudweep/index.html index 3ef1601e..c2d895df 100644 --- a/blog/tags/jambudweep/index.html +++ b/blog/tags/jambudweep/index.html @@ -28,13 +28,13 @@ - - + + - - +
    Skip to main content
    + + \ No newline at end of file diff --git a/blog/tags/leet-code/index.html b/blog/tags/leet-code/index.html new file mode 100644 index 00000000..bef55254 --- /dev/null +++ b/blog/tags/leet-code/index.html @@ -0,0 +1,40 @@ + + + + + +One post tagged with "LeetCode" | PrepVerse + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/blog/tags/tenjiku/index.html b/blog/tags/tenjiku/index.html index 7d689267..37782bce 100644 --- a/blog/tags/tenjiku/index.html +++ b/blog/tags/tenjiku/index.html @@ -28,13 +28,13 @@ - - + + - - +
    Skip to main content
    + + \ No newline at end of file diff --git a/blog/tags/universe/index.html b/blog/tags/universe/index.html index eba477b9..357af5bd 100644 --- a/blog/tags/universe/index.html +++ b/blog/tags/universe/index.html @@ -28,13 +28,13 @@ - - + +
    -
    Posts tagged with

    Universe

    - - +
    Skip to main content
    Posts tagged with

    Universe

    + + \ No newline at end of file diff --git a/blog/two-sum/index.html b/blog/two-sum/index.html new file mode 100644 index 00000000..2cbb8362 --- /dev/null +++ b/blog/two-sum/index.html @@ -0,0 +1,40 @@ + + + + + +Two Sum Explained | PrepVerse + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    Two Sum Explained
    Founder, PrepVerse
    3 min read

    Two Sum Explained

    PrepVerse | Three Approaches to Solving the Two Sum Problem

    Approach 1: Brute Force

    Algorithm:

    The brute force approach is straightforward. Loop through each element x in the array and check if there is another element that equals target - x.

    Implementation:

    Brute Force
    def two_sum_brute_force(nums, target):
    n = len(nums)
    for i in range(n):
    for j in range(i + 1, n):
    if nums[i] + nums[j] == target:
    return [i, j]
    return None

    Complexity Analysis:

    • Time Complexity: O(n²)
      • For each element, we loop through the rest of the array to find its complement, resulting in O(n) operations per element. Hence, the overall time complexity is O(n²).
    • Space Complexity: O(1)
      • The space required does not depend on the size of the input array, so only constant space is used.

    Approach 2: Two-pass Hash Table

    Intuition:

    To improve our runtime complexity, we need a more efficient way to check if the complement exists in the array. A hash table is well-suited for this purpose because it supports fast lookups in near constant time. By trading space for speed, we can reduce the lookup time from O(n) to O(1).

    Algorithm:

    1. In the first iteration, add each element's value as a key and its index as a value to the hash table.
    2. In the second iteration, check if each element's complement (target - nums[i]) exists in the hash table. If it does, return the current element's index and its complement's index.

    Implementation:

    Two-pass Hash Table
    def two_sum_two_pass_hash_table(nums, target):
    hash_table = {}
    for i, num in enumerate(nums):
    hash_table[num] = i

    for i, num in enumerate(nums):
    complement = target - num
    if complement in hash_table and hash_table[complement] != i:
    return [i, hash_table[complement]]
    return None

    Complexity Analysis:

    • Time Complexity: O(n)
      • We traverse the list containing n elements exactly twice. Since the hash table reduces the lookup time to O(1), the overall time complexity is O(n).
    • Space Complexity: O(n)
      • The extra space required depends on the number of items stored in the hash table, which stores exactly n elements.

    Approach 3: One-pass Hash Table

    Algorithm:

    We can optimize further by performing the lookup and insertion in a single pass. While iterating through the array, we check if the current element's complement already exists in the hash table. If it does, we have found a solution and return the indices immediately.

    Implementation:

    One-pass Hash Table
    def two_sum_one_pass_hash_table(nums, target):
    hash_table = {}
    for i, num in enumerate(nums):
    complement = target - num
    if complement in hash_table:
    return [hash_table[complement], i]
    hash_table[num] = i
    return None

    Complexity Analysis:

    • Time Complexity: O(n)
      • We traverse the list containing n elements only once. Each lookup in the table costs only O(1) time.
    • Space Complexity: O(n)
      • The extra space required depends on the number of items stored in the hash table, which stores at most n elements.

    Conclusion

    In summary, the brute force approach is simple but inefficient, with a time complexity of O(n²). The two-pass hash table approach improves the time complexity to O(n) by utilizing extra space for a hash table. The one-pass hash table approach further optimizes the solution by combining lookup and insertion into a single pass, maintaining an overall time complexity of O(n) and space complexity of O(n). Depending on the constraints and requirements of your problem, choosing the right approach can significantly improve performance.

    Loading Comments...
    + + + + \ No newline at end of file diff --git a/docs/1.DS.Algo/data-structures/array/arrayIntro/index.html b/docs/1.DS.Algo/data-structures/array/arrayIntro/index.html index 09e71e2e..95a16823 100644 --- a/docs/1.DS.Algo/data-structures/array/arrayIntro/index.html +++ b/docs/1.DS.Algo/data-structures/array/arrayIntro/index.html @@ -28,14 +28,14 @@ - - + +
    -
    1.DS.Algo

    Introductio to Array

    An array is a basic data structure to store a collection of elements sequentially. But elements can be accessed randomly since each element in the array can be identified by an array index.

    An array can have one or more dimensions. Here we start with the one-dimensional array, which is also called the linear array. Here is an example:

    In the above example, there are 6 elements in array A. That is to say, the length of A is 6. We can use A[0] to represent the first element in the array. Therefore, A[0] = 6. Similarly, A[1] = 3, A[2] = 8 and so on.

    Operations in Array +

    1.DS.Algo

    Introductio to Array

    An array is a basic data structure to store a collection of elements sequentially. But elements can be accessed randomly since each element in the array can be identified by an array index.

    An array can have one or more dimensions. Here we start with the one-dimensional array, which is also called the linear array. Here is an example:

    In the above example, there are 6 elements in array A. That is to say, the length of A is 6. We can use A[0] to represent the first element in the array. Therefore, A[0] = 6. Similarly, A[1] = 3, A[2] = 8 and so on.

    Operations in Array Let's take a look at the usage of the array.

    Array
    #include <iostream>

    int main() {
    // 1. Initialize
    int a0[5];
    int a1[5] = {1, 2, 3}; // other element will be set as the default value
    // 2. Get Length
    int size = sizeof(a1) / sizeof(*a1);
    cout << "The size of a1 is: " << size << endl;
    // 3. Access Element
    cout << "The first element is: " << a1[0] << endl;
    // 4. Iterate all Elements
    cout << "[Version 1] The contents of a1 are:";
    for (int i = 0; i < size; ++i) {
    cout << " " << a1[i];
    }
    cout << endl;
    cout << "[Version 2] The contents of a1 are:";
    for (int& item: a1) {
    cout << " " << item;
    }
    cout << endl;
    // 5. Modify Element
    a1[0] = 4;
    // 6. Sort
    sort(a1, a1 + size);
    }
    Copyright © 2024 PrepVerse
    Built with Docusaurus & Refine.
    Connect with me on
    - - + + \ No newline at end of file diff --git a/docs/1.DS.Algo/getting-started/quickstart/index.html b/docs/1.DS.Algo/getting-started/quickstart/index.html index f55bd931..db9b8585 100644 --- a/docs/1.DS.Algo/getting-started/quickstart/index.html +++ b/docs/1.DS.Algo/getting-started/quickstart/index.html @@ -28,13 +28,13 @@ - - + +
    -
    1.DS.Algo

    Quick Start Guide

    Loading Comments...
    Copyright © 2024 PrepVerse
    Built with Docusaurus & Refine.
    Connect with me on
    - - +
    1.DS.Algo

    Quick Start Guide

    Loading Comments...
    Copyright © 2024 PrepVerse
    Built with Docusaurus & Refine.
    Connect with me on
    + + \ No newline at end of file diff --git a/docs/1.DS.Algo/index.html b/docs/1.DS.Algo/index.html index 01f81462..92535738 100644 --- a/docs/1.DS.Algo/index.html +++ b/docs/1.DS.Algo/index.html @@ -28,13 +28,13 @@ - - + +
    -
    1.DS.Algo

    Overview

    Loading Comments...
    Copyright © 2024 PrepVerse
    Built with Docusaurus & Refine.
    Connect with me on
    - - +
    1.DS.Algo

    Overview

    Loading Comments...
    Copyright © 2024 PrepVerse
    Built with Docusaurus & Refine.
    Connect with me on
    + + \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index c3439449..94faa690 100644 --- a/docs/index.html +++ b/docs/index.html @@ -28,13 +28,13 @@ - - + +
    -
    Foundation

    Overview

    Unlock a Treasure Trove of Knowledge with Our Comprehensive Repository!

    Are you ready to embark on a journey of learning and discovery? Look no further than our repository, a rich and diverse resource designed to equip you with the tools and knowledge you need to succeed in the world of computer science and beyond.

    Programming Challenges and MCQs:

    Put your skills to the test with a wide range of programming challenges, multiple-choice questions (MCQs), puzzles, aptitude questions, and reasoning problems. Explore diverse problem domains and languages, including C++, Python, Java, and JavaScript, and sharpen your coding proficiency while tackling real-world scenarios and algorithmic puzzles.

    -tip Data Structures and Algorithms (DSA):

    Delve into the fascinating world of Data Structures and Algorithms with our meticulously curated collection. Explore essential topics such as arrays, linked lists, trees, graphs, sorting algorithms, and more. Dive deep into renowned resources like the 450 DSA by Love Babbar, Striver DSA sheet, and Apna College DSA Sheet, providing you with a comprehensive understanding of fundamental concepts and problem-solving techniques.

    Technical Subjects:

    Expand your horizons with in-depth coverage of essential technical subjects, including Operating Systems, Database Management Systems (DBMS), SQL, Computer Networks, and Object-Oriented Programming (OOP). Gain insights into the core principles and practices that underpin modern computing systems, empowering you to build robust, scalable, and efficient software solutions.

    System Design:

    Unleash your creativity and analytical skills with captivating System Design materials for both Low-Level Design (LLD) and High-Level Design (HLD). Learn how to architect scalable and resilient systems that meet the demands of today's complex and dynamic environments, while honing your problem-solving abilities and design intuition.

    Continuous Learning and Growth:

    At our repository, learning is a never-ending journey fueled by curiosity, exploration, and collaboration. Stay updated with the latest trends, developments, and best practices in the world of technology, and join a vibrant community of learners, educators, and industry professionals dedicated to sharing knowledge, insights, and experiences.

    Conclusion

    Whether you're a seasoned professional seeking to expand your skill set or a budding enthusiast eager to explore the frontiers of technology, our repository offers something for everyone. So, what are you waiting for? Dive into a world of endless possibilities and unlock the treasure trove of knowledge that awaits you. Together, let's embark on a journey of learning, growth, and transformation. 🚀🌐💡

    Loading Comments...
    Copyright © 2024 PrepVerse
    Built with Docusaurus & Refine.
    Connect with me on
    - - +
    Foundation

    Overview

    Unlock a Treasure Trove of Knowledge with Our Comprehensive Repository!

    Are you ready to embark on a journey of learning and discovery? Look no further than our repository, a rich and diverse resource designed to equip you with the tools and knowledge you need to succeed in the world of computer science and beyond.

    Programming Challenges and MCQs:

    Put your skills to the test with a wide range of programming challenges, multiple-choice questions (MCQs), puzzles, aptitude questions, and reasoning problems. Explore diverse problem domains and languages, including C++, Python, Java, and JavaScript, and sharpen your coding proficiency while tackling real-world scenarios and algorithmic puzzles.

    -tip Data Structures and Algorithms (DSA):

    Delve into the fascinating world of Data Structures and Algorithms with our meticulously curated collection. Explore essential topics such as arrays, linked lists, trees, graphs, sorting algorithms, and more. Dive deep into renowned resources like the 450 DSA by Love Babbar, Striver DSA sheet, and Apna College DSA Sheet, providing you with a comprehensive understanding of fundamental concepts and problem-solving techniques.

    Technical Subjects:

    Expand your horizons with in-depth coverage of essential technical subjects, including Operating Systems, Database Management Systems (DBMS), SQL, Computer Networks, and Object-Oriented Programming (OOP). Gain insights into the core principles and practices that underpin modern computing systems, empowering you to build robust, scalable, and efficient software solutions.

    System Design:

    Unleash your creativity and analytical skills with captivating System Design materials for both Low-Level Design (LLD) and High-Level Design (HLD). Learn how to architect scalable and resilient systems that meet the demands of today's complex and dynamic environments, while honing your problem-solving abilities and design intuition.

    Continuous Learning and Growth:

    At our repository, learning is a never-ending journey fueled by curiosity, exploration, and collaboration. Stay updated with the latest trends, developments, and best practices in the world of technology, and join a vibrant community of learners, educators, and industry professionals dedicated to sharing knowledge, insights, and experiences.

    Conclusion

    Whether you're a seasoned professional seeking to expand your skill set or a budding enthusiast eager to explore the frontiers of technology, our repository offers something for everyone. So, what are you waiting for? Dive into a world of endless possibilities and unlock the treasure trove of knowledge that awaits you. Together, let's embark on a journey of learning, growth, and transformation. 🚀🌐💡

    Loading Comments...
    Copyright © 2024 PrepVerse
    Built with Docusaurus & Refine.
    Connect with me on
    + + \ No newline at end of file diff --git a/docs/python-foundation/comments/index.html b/docs/python-foundation/comments/index.html index 23a6d688..880620d4 100644 --- a/docs/python-foundation/comments/index.html +++ b/docs/python-foundation/comments/index.html @@ -28,13 +28,13 @@ - - + +
    -
    Foundation

    Comments in Python

    In Python, comments play a crucial role in making your code understandable and maintainable. Let's explore how comments can be utilized effectively in your Python scripts:

    1. Explanation and Clarity:

      • Comments are used to explain Python code, making it easier for others (and your future self!) to understand the purpose and functionality of different parts of the code.
      • They enhance readability by providing context and explanations for complex algorithms, functions, or logic.
    2. Readability Improvement:

      • Comments help in making the code more readable by breaking down complex sections into understandable components.
      • They act as signposts, guiding readers through the logic and structure of the code.
    3. Execution Control:

      • Comments can temporarily disable or prevent execution of specific lines or blocks of code, which is useful for debugging and testing purposes.
      • By commenting out certain sections, you can isolate problematic code or focus on specific areas during testing without altering the rest of the program.

    Creating Comments:

    Comments in Python start with the '#' symbol, indicating that anything following it on the same line is a comment and will be ignored by the Python interpreter.

    single_Line.py
    # This is a comment in Python.
    print("Hello, World!")

    Multi-Line Comments:

    While Python does not have a built-in syntax for multi-line comments, there are alternative methods to achieve the same effect:

    1. Using '#' for Each Line:
      • Insert '#' at the beginning of each line to create a multi-line comment.
    multi_Line.py
    # This way we can
    # Write comments in
    # Multiple lines.
    print("Hello, World!")
    1. Using Multiline String:
      • Although not intended for comments, you can utilize triple quotes (""" or ''') to create a multiline string and place your comment inside it.
    multi_Line.py
    """
    Another way to write
    comments in more than one
    Line.
    """
    print("Hello, World!")
    • Since Python ignores string literals that are not assigned to a variable, this method effectively serves as a way to add multi-line comments to your code.

    Note:

    • We can achieve multi-line comments by using single triple quotes (''') or double triple quotes ("""), both serving the purpose of creating a multiline string to store comments.

    With a clear understanding of Python comments and their importance, you can now write more readable, understandable, and well-documented code!

    Loading Comments...
    Copyright © 2024 PrepVerse
    Built with Docusaurus & Refine.
    Connect with me on
    - - +
    Foundation

    Comments in Python

    In Python, comments play a crucial role in making your code understandable and maintainable. Let's explore how comments can be utilized effectively in your Python scripts:

    1. Explanation and Clarity:

      • Comments are used to explain Python code, making it easier for others (and your future self!) to understand the purpose and functionality of different parts of the code.
      • They enhance readability by providing context and explanations for complex algorithms, functions, or logic.
    2. Readability Improvement:

      • Comments help in making the code more readable by breaking down complex sections into understandable components.
      • They act as signposts, guiding readers through the logic and structure of the code.
    3. Execution Control:

      • Comments can temporarily disable or prevent execution of specific lines or blocks of code, which is useful for debugging and testing purposes.
      • By commenting out certain sections, you can isolate problematic code or focus on specific areas during testing without altering the rest of the program.

    Creating Comments:

    Comments in Python start with the '#' symbol, indicating that anything following it on the same line is a comment and will be ignored by the Python interpreter.

    single_Line.py
    # This is a comment in Python.
    print("Hello, World!")

    Multi-Line Comments:

    While Python does not have a built-in syntax for multi-line comments, there are alternative methods to achieve the same effect:

    1. Using '#' for Each Line:
      • Insert '#' at the beginning of each line to create a multi-line comment.
    multi_Line.py
    # This way we can
    # Write comments in
    # Multiple lines.
    print("Hello, World!")
    1. Using Multiline String:
      • Although not intended for comments, you can utilize triple quotes (""" or ''') to create a multiline string and place your comment inside it.
    multi_Line.py
    """
    Another way to write
    comments in more than one
    Line.
    """
    print("Hello, World!")
    • Since Python ignores string literals that are not assigned to a variable, this method effectively serves as a way to add multi-line comments to your code.

    Note:

    • We can achieve multi-line comments by using single triple quotes (''') or double triple quotes ("""), both serving the purpose of creating a multiline string to store comments.

    With a clear understanding of Python comments and their importance, you can now write more readable, understandable, and well-documented code!

    Loading Comments...
    Copyright © 2024 PrepVerse
    Built with Docusaurus & Refine.
    Connect with me on
    + + \ No newline at end of file diff --git a/docs/python-foundation/data-types/index.html b/docs/python-foundation/data-types/index.html index 0c99c426..394aac47 100644 --- a/docs/python-foundation/data-types/index.html +++ b/docs/python-foundation/data-types/index.html @@ -28,13 +28,13 @@ - - + +
    -
    Foundation

    Variable and Data Types

    Loading Comments...
    Copyright © 2024 PrepVerse
    Built with Docusaurus & Refine.
    Connect with me on
    - - +
    Foundation

    Variable and Data Types

    Loading Comments...
    Copyright © 2024 PrepVerse
    Built with Docusaurus & Refine.
    Connect with me on
    + + \ No newline at end of file diff --git a/docs/python-foundation/getting-started/index.html b/docs/python-foundation/getting-started/index.html index 8ef7d32c..45ec6c9f 100644 --- a/docs/python-foundation/getting-started/index.html +++ b/docs/python-foundation/getting-started/index.html @@ -28,13 +28,13 @@ - - + +
    -
    Foundation

    Getting Started

    Welcome to our Python 3 tutorial! Whether you're new to programming or looking to expand your skills, Python is an excellent language to learn. In this tutorial, we'll cover the basics of Python 3, the current recommended version. While Python 2 still exists in some legacy codebases, Python 3 is the preferred choice for new projects due to its improvements and ongoing support.

    Why Python 3?

    Python 3 brings several enhancements over Python 2, including improved Unicode support, better syntax, and various library updates. It's designed to be more intuitive and efficient, making it an excellent choice for beginners and experienced developers alike.

    Setting Up Your Environment

    To start coding in Python, you need a text editor or an Integrated Development Environment (IDE). For beginners, a simple text editor will do, but as your projects grow, you might want to switch to more feature-rich IDEs like PyCharm, or Visual Studio Code.

    Here's how you can set up your environment:

    1. Install Python 3: Visit the official Python website at python.org and download the latest version of Python 3 for your operating system. Follow the installation instructions provided.

    2. Choose a Text Editor or IDE: You can use any text editor like Notepad++ (for Windows), Atom, Sublime Text, or Vim. For a more integrated experience, consider using IDEs like PyCharm, or Visual Studio Code.

    3. Verify Your Installation: Open a terminal or command prompt and type python3 --version to check if Python 3 is installed correctly. You should see the version number displayed.

    Writing Your First Python Program

    Now that you have your environment set up, let's write a simple Python program. Open your text editor or IDE and follow along:

    hello.py
    # My First Python Program
    print("Hello, Python!")

    Save this file with a .py extension, for example, hello.py. Then, open a terminal or command prompt, navigate to the directory where you saved your file, and run the program by typing python3 hello.py. You should see Hello, Python! printed to the console.

    🎉 Congratulations! You've written and executed your first Python program.

    Loading Comments...
    Copyright © 2024 PrepVerse
    Built with Docusaurus & Refine.
    Connect with me on
    - - +
    Foundation

    Getting Started

    Welcome to our Python 3 tutorial! Whether you're new to programming or looking to expand your skills, Python is an excellent language to learn. In this tutorial, we'll cover the basics of Python 3, the current recommended version. While Python 2 still exists in some legacy codebases, Python 3 is the preferred choice for new projects due to its improvements and ongoing support.

    Why Python 3?

    Python 3 brings several enhancements over Python 2, including improved Unicode support, better syntax, and various library updates. It's designed to be more intuitive and efficient, making it an excellent choice for beginners and experienced developers alike.

    Setting Up Your Environment

    To start coding in Python, you need a text editor or an Integrated Development Environment (IDE). For beginners, a simple text editor will do, but as your projects grow, you might want to switch to more feature-rich IDEs like PyCharm, or Visual Studio Code.

    Here's how you can set up your environment:

    1. Install Python 3: Visit the official Python website at python.org and download the latest version of Python 3 for your operating system. Follow the installation instructions provided.

    2. Choose a Text Editor or IDE: You can use any text editor like Notepad++ (for Windows), Atom, Sublime Text, or Vim. For a more integrated experience, consider using IDEs like PyCharm, or Visual Studio Code.

    3. Verify Your Installation: Open a terminal or command prompt and type python3 --version to check if Python 3 is installed correctly. You should see the version number displayed.

    Writing Your First Python Program

    Now that you have your environment set up, let's write a simple Python program. Open your text editor or IDE and follow along:

    hello.py
    # My First Python Program
    print("Hello, Python!")

    Save this file with a .py extension, for example, hello.py. Then, open a terminal or command prompt, navigate to the directory where you saved your file, and run the program by typing python3 hello.py. You should see Hello, Python! printed to the console.

    🎉 Congratulations! You've written and executed your first Python program.

    Loading Comments...
    Copyright © 2024 PrepVerse
    Built with Docusaurus & Refine.
    Connect with me on
    + + \ No newline at end of file diff --git a/docs/python-foundation/index.html b/docs/python-foundation/index.html index e60cc2f3..854d0ace 100644 --- a/docs/python-foundation/index.html +++ b/docs/python-foundation/index.html @@ -28,13 +28,13 @@ - - + + - - +
    Skip to main content
    + + \ No newline at end of file diff --git a/docs/python-foundation/introduction-to-python/index.html b/docs/python-foundation/introduction-to-python/index.html index cc3c1053..bf7eba41 100644 --- a/docs/python-foundation/introduction-to-python/index.html +++ b/docs/python-foundation/introduction-to-python/index.html @@ -28,14 +28,14 @@ - - + +
    -
    Foundation

    Introduction to Python

    Python is a widely used, general-purpose, high-level programming language. +

    Foundation

    Introduction to Python

    Python is a widely used, general-purpose, high-level programming language. Created by Guido van Rossum in 1991 and further developed by the Python Software Foundation, Python emphasizes code readability. Its syntax allows programmers to express their concepts in fewer lines of code, enabling quick development and efficient system integration. There are two major versions of Python: Python 2 and Python 3, which have notable differences.

    Getting Started with Python Programming

    Finding an Interpreter

    Before diving into Python programming, you'll need an interpreter to run your programs. Here are some options:

    • Online Interpreters: Use platforms to run Python programs without installing anything locally.

    • Windows: Download Python from python.org and use IDLE (Integrated Development and Learning Environment), which comes bundled with the software.

    • Linux: Python usually comes preinstalled on popular Linux distributions like Ubuntu and Fedora. To check your Python version, open a terminal and type python.

    • macOS: macOS generally comes with Python 2.7 preinstalled. For Python 3, you'll need to download and install it from python.org.

    Features of Python Programming Language

    Interpreted

    • Python does not require separate compilation and execution steps like C or C++.
    • You can run Python programs directly from the source code.
    • Internally, Python converts source code into an intermediate form called bytecode, which is then translated into machine language specific to your computer.
    • No need to manage linking and loading with libraries manually.

    Platform Independent

    • Python programs can be developed and executed on multiple operating system platforms, including Linux, Windows, macOS, Solaris, and more.

    Free and Open Source

    • Python is free to use and distribute.

    High-Level Language

    • Python abstracts away low-level details like memory management, allowing you to focus on solving problems rather than managing resources.

    Simple and Easy to Learn

    • Python's syntax is closer to the English language, making it easier to learn and use.
    • The language emphasizes readability and simplicity, focusing on solving problems rather than on syntax.

    Embeddable

    • Python can be embedded in C/C++ programs to provide scripting capabilities.

    Robust

    • Python has exceptional handling features and built-in memory management techniques.

    Rich Library Support

    • The Python Standard Library is extensive, following the "batteries included" philosophy. It includes modules for regular expressions, documentation generation, unit testing, threading, databases, web browsers, CGI, email, XML, HTML, WAV files, cryptography, GUI development, and more.
    • Additionally, there are many high-quality third-party libraries, such as the Python Imaging Library, for specialized tasks like image manipulation.
    Copyright © 2024 PrepVerse
    Built with Docusaurus & Refine.
    Connect with me on
    - - + + \ No newline at end of file diff --git a/docs/python-foundation/print/index.html b/docs/python-foundation/print/index.html index 5421dea9..2cb0d707 100644 --- a/docs/python-foundation/print/index.html +++ b/docs/python-foundation/print/index.html @@ -28,14 +28,14 @@ - - + +
    -
    Foundation

    print() in Python

    The print() function in Python is used to output messages to the screen or any other standard output device.

    Syntax:

    print.py
    print(value(s), sep=' ', end='\n', file=file, flush=flush)

    Parameters:

    • value(s): Any value(s) you wish to print. These values will be converted to a string before being printed.
    • sep: (Optional) Specifies the separator between multiple values. Default is a space ' '.
    • end: (Optional) Specifies what to print at the end. Default is a newline '\n'.
    • file: (Optional) An object with a write method. Default is sys.stdout.
    • flush: (Optional) A boolean indicating if the output should be flushed immediately (True) or buffered (False). Default is False.

    Return Type:

    The print() function does not return a value; it outputs the specified message to the screen or other standard output.

    Key Points:

    • No Arguments Required: The print() function can be called without any arguments, but it requires empty parentheses to indicate a function call.
    • String Literals: Used for formatting the output.
      • \n: Adds a new line.
      • "": Prints an empty line.

    Examples:

    Basic Usage:

    print.py
    print("Welcome to PrepVerse")
    Output
    Welcome to PrepVerse

    Using \n for New Lines:

    print.py
    print("PrepVerse \nLearn Python Easily")
    Output
    PrepVerse 
    Learn Python Easily

    Using end to Control End Character:

    By default, print() ends with a newline character. You can change this using the end parameter.

    print.py
    # Default behavior
    print("Welcome to PrepVerse")
    print("Learn Python")

    # Custom end character
    print("Welcome to PrepVerse", end=" ** ")
    print("Learn Python")
    Output
    Welcome to PrepVerse
    Learn Python
    Welcome to PrepVerse ** Learn Python

    Using sep to Control Separator:

    When printing multiple values, the default separator is a space. You can change this using the sep parameter.

    print.py
    print("Python", "is", "fun", sep="-")
    Output
    Python-is-fun

    Conclusion

    The print() function is versatile and allows various customizations for output formatting. Understanding its parameters and how to use them effectively can significantly enhance the way you display information in Python.

    - - + + \ No newline at end of file diff --git a/docs/python-foundation/python-basics/index.html b/docs/python-foundation/python-basics/index.html index 070d3703..bb556b39 100644 --- a/docs/python-foundation/python-basics/index.html +++ b/docs/python-foundation/python-basics/index.html @@ -28,13 +28,13 @@ - - + + - - +
    + + \ No newline at end of file diff --git a/index.html b/index.html index ffc551de..f78c815b 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ -PrepVerse | Comprehensive Computer Science Resources +PrepVerse | Comprehensive Computer Science Resources @@ -28,13 +28,13 @@ - - + +
    -

    Computer Science
    Preparations

    Resources for Computer Science Preparations

    DSA + CP
    CS Fundamentals
    Web Developments
    Data Science
    Projects
    DSA + CP

    Explore

    Discover computer science with our resources: study guides, tutorials, and practice tests to enhance your skills.

    Data Structure and Algorithms

    Master Data Structures and Algorithms with our comprehensive guides, tutorials, and practice problems.

    Web Development

    Master web development with our tutorials and resources. Learn HTML, CSS, JavaScript, and more to build stunning websites.

    AI ML & Data Science

    Discover cutting-edge resources in AI, ML, and Data Science. Enhance your skills with tutorials, guides, and practice tests.

    Languages

    Discover a diverse array of programming languages tailored for every project and proficiency level.

    CS Subjects

    Explore essential Computer Science subjects: OS, DBMS, CN, OOPs - learn key concepts and applications in just one click

    Databases

    Discover the backbone of data management with Databases—efficiently store, retrieve, and manage structured information for applications.

    Explore More
    - - +

    Computer Science
    Preparations

    Resources for Computer Science Preparations

    DSA + CP
    CS Fundamentals
    Web Developments
    Data Science
    Projects
    DSA + CP

    Explore

    Discover computer science with our resources: study guides, tutorials, and practice tests to enhance your skills.

    Data Structure and Algorithms

    Master Data Structures and Algorithms with our comprehensive guides, tutorials, and practice problems.

    Web Development

    Master web development with our tutorials and resources. Learn HTML, CSS, JavaScript, and more to build stunning websites.

    AI ML & Data Science

    Discover cutting-edge resources in AI, ML, and Data Science. Enhance your skills with tutorials, guides, and practice tests.

    Languages

    Discover a diverse array of programming languages tailored for every project and proficiency level.

    CS Subjects

    Explore essential Computer Science subjects: OS, DBMS, CN, OOPs - learn key concepts and applications in just one click

    Databases

    Discover the backbone of data management with Databases—efficiently store, retrieve, and manage structured information for applications.

    Explore More
    + + \ No newline at end of file diff --git a/prepverse-community/index.html b/prepverse-community/index.html index 8a320245..60004226 100644 --- a/prepverse-community/index.html +++ b/prepverse-community/index.html @@ -28,13 +28,13 @@ - - + + - - +
    + + \ No newline at end of file diff --git a/search/index.html b/search/index.html index 659fe119..c6c50075 100644 --- a/search/index.html +++ b/search/index.html @@ -28,13 +28,13 @@ - - + +

    Search the documentation

    - - + + \ No newline at end of file diff --git a/showcase/index.html b/showcase/index.html index 6d4aaef6..9f372bdd 100644 --- a/showcase/index.html +++ b/showcase/index.html @@ -28,13 +28,13 @@ - - + +
    -

    Open Source Projects Showcase

    List of Open Source projects in web-devlopments, app-devlopments, machine-learning, data-science

    Add your projects

    Filters

    93 sites

    My favorites

    All Projects

    - - +

    Open Source Projects Showcase

    List of Open Source projects in web-devlopments, app-devlopments, machine-learning, data-science

    Add your projects

    Filters

    93 sites

    My favorites

    All Projects

    + + \ No newline at end of file diff --git a/sitemap.xml b/sitemap.xml index 467d7d18..236fbcfb 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -1 +1 @@ -https://prepverse.github.io/AkashSingh3031/weekly0.5https://prepverse.github.io/blog/weekly0.5https://prepverse.github.io/blog/author/AkashSingh3031/weekly0.5https://prepverse.github.io/blog/bharatvarsha/weekly0.5https://prepverse.github.io/blog/god-brahma/weekly0.5https://prepverse.github.io/blog/tags/weekly0.5https://prepverse.github.io/blog/tags/ajnabhavarsh/weekly0.5https://prepverse.github.io/blog/tags/aryavarta/weekly0.5https://prepverse.github.io/blog/tags/bharat/weekly0.5https://prepverse.github.io/blog/tags/bharatkhand/weekly0.5https://prepverse.github.io/blog/tags/bharatvarsha/weekly0.5https://prepverse.github.io/blog/tags/brahma/weekly0.5https://prepverse.github.io/blog/tags/creator/weekly0.5https://prepverse.github.io/blog/tags/god/weekly0.5https://prepverse.github.io/blog/tags/hindustan/weekly0.5https://prepverse.github.io/blog/tags/india/weekly0.5https://prepverse.github.io/blog/tags/jambudweep/weekly0.5https://prepverse.github.io/blog/tags/tenjiku/weekly0.5https://prepverse.github.io/blog/tags/universe/weekly0.5https://prepverse.github.io/CodeVerse/weekly0.5https://prepverse.github.io/CodeVerse/cp/weekly0.5https://prepverse.github.io/CodeVerse/dsa/weekly0.5https://prepverse.github.io/prepverse-community/weekly0.5https://prepverse.github.io/search/weekly0.5https://prepverse.github.io/showcase/weekly0.5https://prepverse.github.io/tutorial/weekly0.5https://prepverse.github.io/docs/1.DS.Algo/weekly0.5https://prepverse.github.io/docs/1.DS.Algo/data-structures/array/arrayIntro/weekly0.5https://prepverse.github.io/docs/1.DS.Algo/getting-started/quickstart/weekly0.5https://prepverse.github.io/docs/weekly0.5https://prepverse.github.io/docs/python-foundation/weekly0.5https://prepverse.github.io/docs/python-foundation/comments/weekly0.5https://prepverse.github.io/docs/python-foundation/data-types/weekly0.5https://prepverse.github.io/docs/python-foundation/getting-started/weekly0.5https://prepverse.github.io/docs/python-foundation/introduction-to-python/weekly0.5https://prepverse.github.io/docs/python-foundation/print/weekly0.5https://prepverse.github.io/docs/python-foundation/python-basics/weekly0.5https://prepverse.github.io/tutorial/dsa/cpp/weekly0.5https://prepverse.github.io/tutorial/dsa/py/weekly0.5https://prepverse.github.io/weekly0.5 \ No newline at end of file +https://prepverse.github.io/AkashSingh3031/weekly0.5https://prepverse.github.io/blog/weekly0.5https://prepverse.github.io/blog/author/AkashSingh3031/weekly0.5https://prepverse.github.io/blog/bharatvarsha/weekly0.5https://prepverse.github.io/blog/god-brahma/weekly0.5https://prepverse.github.io/blog/tags/weekly0.5https://prepverse.github.io/blog/tags/ajnabhavarsh/weekly0.5https://prepverse.github.io/blog/tags/array/weekly0.5https://prepverse.github.io/blog/tags/aryavarta/weekly0.5https://prepverse.github.io/blog/tags/bharat/weekly0.5https://prepverse.github.io/blog/tags/bharatkhand/weekly0.5https://prepverse.github.io/blog/tags/bharatvarsha/weekly0.5https://prepverse.github.io/blog/tags/brahma/weekly0.5https://prepverse.github.io/blog/tags/creator/weekly0.5https://prepverse.github.io/blog/tags/god/weekly0.5https://prepverse.github.io/blog/tags/hindustan/weekly0.5https://prepverse.github.io/blog/tags/india/weekly0.5https://prepverse.github.io/blog/tags/jambudweep/weekly0.5https://prepverse.github.io/blog/tags/leet-code/weekly0.5https://prepverse.github.io/blog/tags/tenjiku/weekly0.5https://prepverse.github.io/blog/tags/universe/weekly0.5https://prepverse.github.io/blog/two-sum/weekly0.5https://prepverse.github.io/CodeVerse/weekly0.5https://prepverse.github.io/CodeVerse/cp/weekly0.5https://prepverse.github.io/CodeVerse/dsa/weekly0.5https://prepverse.github.io/prepverse-community/weekly0.5https://prepverse.github.io/search/weekly0.5https://prepverse.github.io/showcase/weekly0.5https://prepverse.github.io/tutorial/weekly0.5https://prepverse.github.io/docs/1.DS.Algo/weekly0.5https://prepverse.github.io/docs/1.DS.Algo/data-structures/array/arrayIntro/weekly0.5https://prepverse.github.io/docs/1.DS.Algo/getting-started/quickstart/weekly0.5https://prepverse.github.io/docs/weekly0.5https://prepverse.github.io/docs/python-foundation/weekly0.5https://prepverse.github.io/docs/python-foundation/comments/weekly0.5https://prepverse.github.io/docs/python-foundation/data-types/weekly0.5https://prepverse.github.io/docs/python-foundation/getting-started/weekly0.5https://prepverse.github.io/docs/python-foundation/introduction-to-python/weekly0.5https://prepverse.github.io/docs/python-foundation/print/weekly0.5https://prepverse.github.io/docs/python-foundation/python-basics/weekly0.5https://prepverse.github.io/tutorial/dsa/cpp/weekly0.5https://prepverse.github.io/tutorial/dsa/py/weekly0.5https://prepverse.github.io/weekly0.5 \ No newline at end of file diff --git a/tutorial/dsa/cpp/index.html b/tutorial/dsa/cpp/index.html index 44b04f1e..99fd0e7c 100644 --- a/tutorial/dsa/cpp/index.html +++ b/tutorial/dsa/cpp/index.html @@ -28,14 +28,14 @@ - - + +
    -

    Introduction

    Unlock a Treasure Trove of Knowledge with Our Comprehensive Repository!

    Are you ready to embark on a journey of learning and discovery? Look no further than our repository, a rich and diverse resource designed to equip you with the tools and knowledge you need to succeed in the world of computer science and beyond.

    Programming Challenges and MCQs:

    Put your skills to the test with a wide range of programming challenges, multiple-choice questions (MCQs), puzzles, aptitude questions, and reasoning problems. Explore diverse problem domains and languages, including C++, Python, Java, and JavaScript, and sharpen your coding proficiency while tackling real-world scenarios and algorithmic puzzles.

    -tip Data Structures and Algorithms (DSA):

    Delve into the fascinating world of Data Structures and Algorithms with our meticulously curated collection. Explore essential topics such as arrays, linked lists, trees, graphs, sorting algorithms, and more. Dive deep into renowned resources like the 450 DSA by Love Babbar, Striver DSA sheet, and Apna College DSA Sheet, providing you with a comprehensive understanding of fundamental concepts and problem-solving techniques.

    Technical Subjects:

    Expand your horizons with in-depth coverage of essential technical subjects, including Operating Systems, Database Management Systems (DBMS), SQL, Computer Networks, and Object-Oriented Programming (OOP). Gain insights into the core principles and practices that underpin modern computing systems, empowering you to build robust, scalable, and efficient software solutions.

    System Design:

    Unleash your creativity and analytical skills with captivating System Design materials for both Low-Level Design (LLD) and High-Level Design (HLD). Learn how to architect scalable and resilient systems that meet the demands of today's complex and dynamic environments, while honing your problem-solving abilities and design intuition.

    Continuous Learning and Growth:

    At our repository, learning is a never-ending journey fueled by curiosity, exploration, and collaboration. Stay updated with the latest trends, developments, and best practices in the world of technology, and join a vibrant community of learners, educators, and industry professionals dedicated to sharing knowledge, insights, and experiences.

    Conclusion

    Whether you're a seasoned professional seeking to expand your skill set or a budding enthusiast eager to explore the frontiers of technology, our repository offers something for everyone. So, what are you waiting for? Dive into a world of endless possibilities and unlock the treasure trove of knowledge that awaits you. Together, let's embark on a journey of learning, growth, and transformation. 🚀🌐💡

    import App from "./src/App";
    -export default App;
    installing dependencies
    installing dependencies
    - - +

    Introduction

    Unlock a Treasure Trove of Knowledge with Our Comprehensive Repository!

    Are you ready to embark on a journey of learning and discovery? Look no further than our repository, a rich and diverse resource designed to equip you with the tools and knowledge you need to succeed in the world of computer science and beyond.

    Programming Challenges and MCQs:

    Put your skills to the test with a wide range of programming challenges, multiple-choice questions (MCQs), puzzles, aptitude questions, and reasoning problems. Explore diverse problem domains and languages, including C++, Python, Java, and JavaScript, and sharpen your coding proficiency while tackling real-world scenarios and algorithmic puzzles.

    -tip Data Structures and Algorithms (DSA):

    Delve into the fascinating world of Data Structures and Algorithms with our meticulously curated collection. Explore essential topics such as arrays, linked lists, trees, graphs, sorting algorithms, and more. Dive deep into renowned resources like the 450 DSA by Love Babbar, Striver DSA sheet, and Apna College DSA Sheet, providing you with a comprehensive understanding of fundamental concepts and problem-solving techniques.

    Technical Subjects:

    Expand your horizons with in-depth coverage of essential technical subjects, including Operating Systems, Database Management Systems (DBMS), SQL, Computer Networks, and Object-Oriented Programming (OOP). Gain insights into the core principles and practices that underpin modern computing systems, empowering you to build robust, scalable, and efficient software solutions.

    System Design:

    Unleash your creativity and analytical skills with captivating System Design materials for both Low-Level Design (LLD) and High-Level Design (HLD). Learn how to architect scalable and resilient systems that meet the demands of today's complex and dynamic environments, while honing your problem-solving abilities and design intuition.

    Continuous Learning and Growth:

    At our repository, learning is a never-ending journey fueled by curiosity, exploration, and collaboration. Stay updated with the latest trends, developments, and best practices in the world of technology, and join a vibrant community of learners, educators, and industry professionals dedicated to sharing knowledge, insights, and experiences.

    Conclusion

    Whether you're a seasoned professional seeking to expand your skill set or a budding enthusiast eager to explore the frontiers of technology, our repository offers something for everyone. So, what are you waiting for? Dive into a world of endless possibilities and unlock the treasure trove of knowledge that awaits you. Together, let's embark on a journey of learning, growth, and transformation. 🚀🌐💡

    import App from "./src/App";
    +export default App;
    installing dependencies
    installing dependencies
    + + \ No newline at end of file diff --git a/tutorial/dsa/py/index.html b/tutorial/dsa/py/index.html index 87dfdd47..55100133 100644 --- a/tutorial/dsa/py/index.html +++ b/tutorial/dsa/py/index.html @@ -28,14 +28,14 @@ - - + +
    -

    Introduction

    Unlock a Treasure Trove of Knowledge with Our Comprehensive Repository!

    Are you ready to embark on a journey of learning and discovery? Look no further than our repository, a rich and diverse resource designed to equip you with the tools and knowledge you need to succeed in the world of computer science and beyond.

    Programming Challenges and MCQs:

    Put your skills to the test with a wide range of programming challenges, multiple-choice questions (MCQs), puzzles, aptitude questions, and reasoning problems. Explore diverse problem domains and languages, including C++, Python, Java, and JavaScript, and sharpen your coding proficiency while tackling real-world scenarios and algorithmic puzzles.

    -tip Data Structures and Algorithms (DSA):

    Delve into the fascinating world of Data Structures and Algorithms with our meticulously curated collection. Explore essential topics such as arrays, linked lists, trees, graphs, sorting algorithms, and more. Dive deep into renowned resources like the 450 DSA by Love Babbar, Striver DSA sheet, and Apna College DSA Sheet, providing you with a comprehensive understanding of fundamental concepts and problem-solving techniques.

    Technical Subjects:

    Expand your horizons with in-depth coverage of essential technical subjects, including Operating Systems, Database Management Systems (DBMS), SQL, Computer Networks, and Object-Oriented Programming (OOP). Gain insights into the core principles and practices that underpin modern computing systems, empowering you to build robust, scalable, and efficient software solutions.

    System Design:

    Unleash your creativity and analytical skills with captivating System Design materials for both Low-Level Design (LLD) and High-Level Design (HLD). Learn how to architect scalable and resilient systems that meet the demands of today's complex and dynamic environments, while honing your problem-solving abilities and design intuition.

    Continuous Learning and Growth:

    At our repository, learning is a never-ending journey fueled by curiosity, exploration, and collaboration. Stay updated with the latest trends, developments, and best practices in the world of technology, and join a vibrant community of learners, educators, and industry professionals dedicated to sharing knowledge, insights, and experiences.

    Conclusion

    Whether you're a seasoned professional seeking to expand your skill set or a budding enthusiast eager to explore the frontiers of technology, our repository offers something for everyone. So, what are you waiting for? Dive into a world of endless possibilities and unlock the treasure trove of knowledge that awaits you. Together, let's embark on a journey of learning, growth, and transformation. 🚀🌐💡

    import App from "./src/App";
    -export default App;
    installing dependencies
    installing dependencies
    - - +

    Introduction

    Unlock a Treasure Trove of Knowledge with Our Comprehensive Repository!

    Are you ready to embark on a journey of learning and discovery? Look no further than our repository, a rich and diverse resource designed to equip you with the tools and knowledge you need to succeed in the world of computer science and beyond.

    Programming Challenges and MCQs:

    Put your skills to the test with a wide range of programming challenges, multiple-choice questions (MCQs), puzzles, aptitude questions, and reasoning problems. Explore diverse problem domains and languages, including C++, Python, Java, and JavaScript, and sharpen your coding proficiency while tackling real-world scenarios and algorithmic puzzles.

    -tip Data Structures and Algorithms (DSA):

    Delve into the fascinating world of Data Structures and Algorithms with our meticulously curated collection. Explore essential topics such as arrays, linked lists, trees, graphs, sorting algorithms, and more. Dive deep into renowned resources like the 450 DSA by Love Babbar, Striver DSA sheet, and Apna College DSA Sheet, providing you with a comprehensive understanding of fundamental concepts and problem-solving techniques.

    Technical Subjects:

    Expand your horizons with in-depth coverage of essential technical subjects, including Operating Systems, Database Management Systems (DBMS), SQL, Computer Networks, and Object-Oriented Programming (OOP). Gain insights into the core principles and practices that underpin modern computing systems, empowering you to build robust, scalable, and efficient software solutions.

    System Design:

    Unleash your creativity and analytical skills with captivating System Design materials for both Low-Level Design (LLD) and High-Level Design (HLD). Learn how to architect scalable and resilient systems that meet the demands of today's complex and dynamic environments, while honing your problem-solving abilities and design intuition.

    Continuous Learning and Growth:

    At our repository, learning is a never-ending journey fueled by curiosity, exploration, and collaboration. Stay updated with the latest trends, developments, and best practices in the world of technology, and join a vibrant community of learners, educators, and industry professionals dedicated to sharing knowledge, insights, and experiences.

    Conclusion

    Whether you're a seasoned professional seeking to expand your skill set or a budding enthusiast eager to explore the frontiers of technology, our repository offers something for everyone. So, what are you waiting for? Dive into a world of endless possibilities and unlock the treasure trove of knowledge that awaits you. Together, let's embark on a journey of learning, growth, and transformation. 🚀🌐💡

    import App from "./src/App";
    +export default App;
    installing dependencies
    installing dependencies
    + + \ No newline at end of file diff --git a/tutorial/index.html b/tutorial/index.html index f2d174a8..f28707d5 100644 --- a/tutorial/index.html +++ b/tutorial/index.html @@ -28,13 +28,13 @@ - - + +
    - - + + \ No newline at end of file