From b7753c79c77fb287d6e3bcdf75838093aba2e37d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 1 Apr 2024 20:04:10 +0000 Subject: [PATCH] deploy: c036de2d540e0b2002b75c30ee0a43d8b6e4769e --- 404.html | 4 ++-- AkashSingh3031/index.html | 4 ++-- assets/js/{01a85c17.890cb94b.js => 01a85c17.52a067d3.js} | 2 +- assets/js/{6875c492.05565d19.js => 6875c492.aa6d1f55.js} | 2 +- assets/js/{a6aa9e1f.e9cd3cf7.js => a6aa9e1f.0201c052.js} | 2 +- assets/js/{c1d171ff.d083cd3c.js => c1d171ff.c105c9b6.js} | 2 +- assets/js/{ccc49370.87efa88b.js => ccc49370.66186802.js} | 2 +- ...{runtime~main.f2abb5a1.js => runtime~main.d563baed.js} | 2 +- blog/author/AkashSingh3031/index.html | 6 +++--- blog/bharatvarsha/index.html | 6 +++--- blog/god-brahma/index.html | 8 ++++---- blog/index.html | 6 +++--- blog/tags/ajnabhavarsh/index.html | 6 +++--- blog/tags/aryavarta/index.html | 6 +++--- blog/tags/bharat/index.html | 6 +++--- blog/tags/bharatkhand/index.html | 6 +++--- blog/tags/bharatvarsha/index.html | 6 +++--- blog/tags/brahma/index.html | 6 +++--- blog/tags/creator/index.html | 6 +++--- blog/tags/god/index.html | 6 +++--- blog/tags/hindustan/index.html | 6 +++--- blog/tags/index.html | 6 +++--- blog/tags/india/index.html | 6 +++--- blog/tags/jambudweep/index.html | 6 +++--- blog/tags/tenjiku/index.html | 6 +++--- blog/tags/universe/index.html | 6 +++--- docs/2.Web.Dev/getting-started/quickstart/index.html | 4 ++-- docs/2.Web.Dev/index.html | 4 ++-- docs/array/arrayIntro/index.html | 4 ++-- docs/array/quickstart/index.html | 4 ++-- docs/index.html | 4 ++-- docs/python/comments/index.html | 4 ++-- docs/python/getting-started/index.html | 4 ++-- docs/python/intro/index.html | 4 ++-- index.html | 4 ++-- prepverse-community/index.html | 4 ++-- search/index.html | 4 ++-- showcase/index.html | 4 ++-- tutorial/dsa/cpp/index.html | 6 +++--- tutorial/dsa/py/index.html | 6 +++--- tutorial/index.html | 4 ++-- 41 files changed, 97 insertions(+), 97 deletions(-) rename assets/js/{01a85c17.890cb94b.js => 01a85c17.52a067d3.js} (91%) rename assets/js/{6875c492.05565d19.js => 6875c492.aa6d1f55.js} (86%) rename assets/js/{a6aa9e1f.e9cd3cf7.js => a6aa9e1f.0201c052.js} (68%) rename assets/js/{c1d171ff.d083cd3c.js => c1d171ff.c105c9b6.js} (68%) rename assets/js/{ccc49370.87efa88b.js => ccc49370.66186802.js} (70%) rename assets/js/{runtime~main.f2abb5a1.js => runtime~main.d563baed.js} (54%) diff --git a/404.html b/404.html index 1c34dde..4563277 100644 --- a/404.html +++ b/404.html @@ -26,13 +26,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 d0b8c90..47d4234 100644 --- a/AkashSingh3031/index.html +++ b/AkashSingh3031/index.html @@ -26,13 +26,13 @@ - +
Skip to main content
Skip to main content

Akash Singh 

akashsingh3031

👨‍💻 Software Developer Engineer🔸||🔸TA at Coding Ninjas🔸||🔸6354 Rating 📈 Points on Coding Ninjas Studio

Follow Me
AkashSingh3031
akashsingh3031
akash.singh3031
akashsingh3031
Copyright © 2024 PrepVerse
Built with Docusaurus & Refine.
Connect with me on
- + \ No newline at end of file diff --git a/assets/js/01a85c17.890cb94b.js b/assets/js/01a85c17.52a067d3.js similarity index 91% rename from assets/js/01a85c17.890cb94b.js rename to assets/js/01a85c17.52a067d3.js index e06e07f..f6d9f38 100644 --- a/assets/js/01a85c17.890cb94b.js +++ b/assets/js/01a85c17.52a067d3.js @@ -1 +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(8564);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(4332),o=r(344),c=r(6076),i=r(1504),s=r(1980),m=r(8804),u=r(2876),d=r(3480);const f=[{isPopover:!0,label:"Docs",items:[{label:"DSA Docs",description:"Learning DSA in C++, Python & Java",link:"/docs",icon:d.uI},{label:"Web Tech Docs",description:"Learn HTML, CSS, JavaScript",link:"/docs/2.Web.Dev",icon:d.Af}]},{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(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))))},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(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),h=r(5224),y=r(2424),w=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,b.IT)();return i.useEffect((()=>{l(!1)}),[s]),i.createElement(h._,{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(h._.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(w.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(h._.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))))))},x=({variant:e="landing"})=>i.createElement(i.Fragment,null,f.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(g,{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(g,{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://twitter.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(g,{key:t.label,item:t,variant:e}))))):i.createElement(p,{key:`navbar-${t.label}`,item:t,variant:e}))));var O=r(2276),E=r(7008),C=r(9072),k=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 P=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(F,{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(y.O,{appear:!0,show:e,as:i.Fragment},i.createElement(O.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",onContextMenu:u.U}),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(k.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)))))),F=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(g,{key:e.label,item:e})))))})),i.createElement(_,null),i.createElement(R,{id:"tablet"}),i.createElement(T,{id:"tablet"})),H=e=>i.createElement("div",{className:(0,a.c)(e.className)},i.createElement("div",{className:"flex-grow"},f.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,a.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(R,{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(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!")))},R=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://twitter.com/akashsingh3031"},i.createElement(d.CC,{className:"h-10 w-10"}))))},_=()=>{const{colorMode:e,setColorMode:t}=(0,C.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 I=r(9253),z=r(2700),G=r(5792),U=r(6936);const Y=()=>{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(G.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(U.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,f]=(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(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:"/",onContextMenu:u.U},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(x,{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(Y,null),i.createElement(I.C,null)),i.createElement(Z,{isModalOpen:d,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:p}}))))}},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(3480),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,{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:()=>U,wR:()=>A,QD:()=>M,vn:()=>J,kv:()=>f,uI:()=>l,Af:()=>c,A9:()=>E,_2:()=>x,Ew:()=>p,Yf:()=>P,oh:()=>s,Ed:()=>k,BE:()=>h,KU:()=>W,WR:()=>I,w9:()=>u,CC:()=>S,oz:()=>Z,C3:()=>w});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;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",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||(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{variant:t="landing"}=e,r=_(e,["variant"]);return n.createElement("svg",R(function(e){for(var t=1;tn.createElement("svg",G(function(e){for(var t=1;t{const{colorMode:t}=(0,Y.U)();return n.createElement("div",{className:(0,H.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,H.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;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:()=>f});var n=r(4971),a=r(1504),l=r(9184),o=r(2876),c=r(7708),i=r(204),s=r(8804);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 u(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")},"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")},c.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:"/",onContextMenu:o.U,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(s.m,null)),a.createElement("a",{href:"https://github.com/sponsors/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,n.c)("hover:no-underline")},a.createElement("iframe",{src:"https://github.com/sponsors/AkashSingh3031/button",title:"Sponsor AkashSingh3031",height:"32",width:"114"}))),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")},c.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),c.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(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")},c.wd.map((t=>a.createElement("a",d(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(i.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(1504),a=r(8480),l=r(6968),o=r(3680),c=r(6280),i=r(4971),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,a]=(0,n.useState)({scrollDepths:e,scrollY:0}),{scrollDepths:l,scrollY:o}=r;return(0,n.useEffect)((()=>{"undefined"!=typeof window&&0!==window.pageYOffset&&a((e=>h(b({},e),{scrollY:window.pageYOffset})))}),[]),(0,n.useEffect)((()=>{if("undefined"==typeof window)return;const e=()=>window.removeEventListener("scroll",n),n=()=>{const n=document.documentElement,o=document.body,c=n.scrollTop||o.scrollTop,i=n.scrollHeight||o.scrollHeight,s=c/(i-n.clientHeight)*100;if(l){const r=Math.min(...l,i);if(s>=r){const n=l.filter((e=>e!==r));0===n.length&&e(),t&&t({scrollY:r,scrollPercent:s,remainingDepths:n}),a({scrollY:r,scrollDepths:n})}}else a(h(b({},r),{scrollY:s}))};return window.addEventListener("scroll",n),e}),[l,o,r]),{scrollY:o}},w=(e,t)=>{const[r,a]=(0,n.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 n=t instanceof Function?t(r):t;a(n),"undefined"!=typeof window&&window.localStorage.setItem(e,JSON.stringify(n))}catch(n){console.log(n)}}]};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:a={text:"Explore Now",href:"https://prepverse.github.io/portfolio",onClick:void 0}})=>{var l,o,c,p;const{pathname:b}=(0,v.IT)(),[h,x]=(0,n.useState)(!1),[O,E]=w("banner-modal",null),C=(0,n.useRef)(!1),k=y();var j,P;return(0,n.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,n.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]),n.createElement(d.O,{appear:!0,show:h,as:n.Fragment},n.createElement(f.C,{as:"div",className:"relative z-modal",onClose:()=>x(!1)},n.createElement(d.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-900/70"})),n.createElement("div",{className:"fixed inset-0 overflow-y-auto"},n.createElement("div",{className:"flex min-h-full items-start justify-center"},n.createElement(d.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(f.C.Panel,{className:(0,i.c)("w-full min-h-screen","flex flex-col justify-center items-center")},n.createElement("div",{className:(0,i.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")},n.createElement("div",{className:(0,i.c)("flex","flex-col","items-center","gap-8","text-center","not-prose")},n.createElement(u.c,{to:null!==(j=null===(l=r)||void 0===l?void 0:l.href)&&void 0!==j?j:null===(o=a)||void 0===o?void 0:o.href,target:"_blank",rel:"noopener noreferrer",className:(0,i.c)("flex","h-auto xl:h-[192px]","flex-shrink-0","rounded-lg","overflow-hidden","focus:outline-none")},n.createElement("img",{className:(0,i.c)("object-contain"),src:null===(c=r)||void 0===c?void 0:c.src,alt:null!==(P=null===(p=r)||void 0===p?void 0:p.alt)&&void 0!==P?P:e,loading:"lazy"})),n.createElement("p",{className:(0,i.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),n.createElement(s.D,{className:(0,i.c)("w-max"),buttonClassname:(0,i.c)("!px-4","!py-4"),href:a.href,onClick:a.onClick,target:"_blank",rel:"noopener noreferrer"},n.createElement("div",{className:(0,i.c)("text-gray-900","text-base","font-bold")},a.text),n.createElement(m.G,{className:(0,i.c)("w-4","h-4")}))),n.createElement("button",{className:(0,i.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)},n.createElement(g.O,{className:"w-4 h-4"})))))))))},O=({className:e})=>n.createElement("div",{className:(0,i.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)},n.createElement("div",{className:(0,i.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")},n.createElement("h2",{className:(0,i.c)("flex","flex-wrap","gap-2","text-[32px] leading-[40px] landing-sm:text-[56px] landing-sm:leading-[72px]")},n.createElement("div",{className:(0,i.c)("dark:text-gray-0 text-gray-900")},"PrepVerse "),n.createElement("div",{className:(0,i.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(51,51,255,0.3)]","whitespace-nowrap")},"Technical Blog")),n.createElement("p",{className:(0,i.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.")));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,n.useState)(!1),{children:s,toc:m}=e,u=k(e,["children","toc"]),{pathname:d}=(0,v.IT)(),f=y();return(0,n.useEffect)((()=>{t&&"/blog/"!==d&&"/blog"!==d&&(f.scrollY>20&&r(!0),f.scrollY<20&&r(!1))}),[f.scrollY]),n.createElement(a.C,C(function(e){for(var t=1;t{r.r(t),r.d(t,{default:()=>d});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(6992),u=r(6108);function d({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)}},6992:(e,t,r)=>{r.d(t,{c:()=>C});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);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,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 f=e=>n.createElement("svg",d(function(e){for(var t=1;t(n.useEffect((()=>(e.open?document.body.style.overflow="hidden":document.body.style.overflow="auto",()=>{document.body.style.overflow="auto"})),[e.open]),n.createElement(y.c,null,(()=>(0,b.createPortal)(n.createElement(v,e),document.body)))),v=({children:e,title:t,open:r,onClose:a,variant:l})=>{const[o,c]=n.useState(48),{scrollY:i}=(0,h.Q)(),s=n.useRef(null);var u,d;return u=s,d=e=>{e.stopPropagation(),a()},n.useEffect((()=>{const e=e=>{u.current&&!u.current.contains(e.target)&&(e.preventDefault(),d(e))};return document.addEventListener("click",e,!0),()=>{document.removeEventListener("click",e,!0)}}),[u]),((e,t,r)=>{n.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])})(s,["Escape"],(()=>{a()})),n.useEffect((()=>{const e=i.onChange((e=>{c(e>=48?0:48-e)}));return()=>e()}),[]),n.createElement("div",{style:{top:o},className:(0,m.c)("fixed","right-0 bottom-0","z-modal",!r&&"pointer-events-none")},n.createElement(p.O,{ref:s,as:"div",className:(0,m.c)("z-modal","flex flex-col","w-[240px] h-full","ml-auto","p-4","blog"===l&&"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"},n.createElement("div",{className:(0,m.c)("flex","items-center","justify-between","mb-10","dark:text-gray-300 text-gray-900")},n.createElement("h3",{className:(0,m.c)("text-base","font-semibold")},t),n.createElement("button",{type:"button",className:(0,m.c)("appearance-none"),onClick:a},n.createElement(g.O,null))),n.createElement("div",{className:(0,m.c)("overflow-auto h-full")},e)))};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}function O(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(k,{collapsed:r,tags:o,className:(0,m.c)("hidden blog-lg:flex",t),onShowMoreClick:e=>a(e)}),n.createElement(j,{tags:o,className:(0,m.c)("block blog-lg:hidden",t)}))}const k=({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,E(O({},e),{label:N(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(P,{className:(0,m.c)("opacity-30","transition-transform duration-200 ease-in-out",{"rotate-180 transform":!t})}))),j=({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(f,null),n.createElement("div",null,"Filter Tags"))),n.createElement(w,{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,E(O({},e),{label:N(e.label),variant:"inverted",size:"medium"}))))))))},P=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"})),N=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)}},2876:(e,t,r)=>{r.d(t,{U:()=>n});const n=()=>{var e,t;return null===(t=window.open("https://s.refine.dev/refine-brand-assets","_blank"))||void 0===t||null===(e=t.focus)||void 0===e?void 0:e.call(t)}}}]); \ No newline at end of file +"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(8564);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(4332),o=r(344),c=r(6076),i=r(1504),s=r(1980),m=r(8804),u=r(2876),d=r(3480);const f=[{isPopover:!0,label:"Docs",items:[{label:"DSA Docs",description:"Learning DSA in C++, Python & Java",link:"/docs",icon:d.uI},{label:"Web Tech Docs",description:"Learn HTML, CSS, JavaScript",link:"/docs/2.Web.Dev",icon:d.Af}]},{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(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))))},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(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),h=r(5224),y=r(2424),w=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,b.IT)();return i.useEffect((()=>{l(!1)}),[s]),i.createElement(h._,{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(h._.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(w.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(h._.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))))))},x=({variant:e="landing"})=>i.createElement(i.Fragment,null,f.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(g,{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(g,{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://twitter.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(g,{key:t.label,item:t,variant:e}))))):i.createElement(p,{key:`navbar-${t.label}`,item:t,variant:e}))));var O=r(2276),E=r(7008),C=r(9072),k=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 P=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(F,{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(y.O,{appear:!0,show:e,as:i.Fragment},i.createElement(O.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",onContextMenu:u.U}),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(k.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)))))),F=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(g,{key:e.label,item:e})))))})),i.createElement(_,null),i.createElement(R,{id:"tablet"}),i.createElement(T,{id:"tablet"})),H=e=>i.createElement("div",{className:(0,a.c)(e.className)},i.createElement("div",{className:"flex-grow"},f.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,a.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(R,{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(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!")))},R=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://twitter.com/akashsingh3031"},i.createElement(d.CC,{className:"h-10 w-10"}))))},_=()=>{const{colorMode:e,setColorMode:t}=(0,C.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 I=r(9253),z=r(2700),G=r(5792),U=r(6936);const Y=()=>{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(G.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(U.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,f]=(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(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:"/",onContextMenu:u.U},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(x,{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(Y,null),i.createElement(I.C,null)),i.createElement(Z,{isModalOpen:d,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:p}}))))}},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(3480),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,{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:()=>U,wR:()=>A,QD:()=>M,vn:()=>J,kv:()=>f,uI:()=>l,Af:()=>c,A9:()=>E,_2:()=>x,Ew:()=>p,Yf:()=>P,oh:()=>s,Ed:()=>k,BE:()=>h,KU:()=>W,WR:()=>I,w9:()=>u,CC:()=>S,oz:()=>Z,C3:()=>w});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;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",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||(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{variant:t="landing"}=e,r=_(e,["variant"]);return n.createElement("svg",R(function(e){for(var t=1;tn.createElement("svg",G(function(e){for(var t=1;t{const{colorMode:t}=(0,Y.U)();return n.createElement("div",{className:(0,H.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,H.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;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:()=>f});var n=r(4971),a=r(1504),l=r(9184),o=r(2876),c=r(7708),i=r(204),s=r(8804);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 u(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")},"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")},c.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:"/",onContextMenu:o.U,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(s.m,null)),a.createElement("a",{href:"https://github.com/sponsors/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,n.c)("hover:no-underline")},a.createElement("iframe",{src:"https://github.com/sponsors/AkashSingh3031/button",title:"Sponsor AkashSingh3031",height:"32",width:"114"}))),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")},c.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),c.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(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")},c.wd.map((t=>a.createElement("a",d(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(i.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(1504),a=r(8480),l=r(6968),o=r(3680),c=r(6280),i=r(4971),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,a]=(0,n.useState)({scrollDepths:e,scrollY:0}),{scrollDepths:l,scrollY:o}=r;return(0,n.useEffect)((()=>{"undefined"!=typeof window&&0!==window.pageYOffset&&a((e=>h(b({},e),{scrollY:window.pageYOffset})))}),[]),(0,n.useEffect)((()=>{if("undefined"==typeof window)return;const e=()=>window.removeEventListener("scroll",n),n=()=>{const n=document.documentElement,o=document.body,c=n.scrollTop||o.scrollTop,i=n.scrollHeight||o.scrollHeight,s=c/(i-n.clientHeight)*100;if(l){const r=Math.min(...l,i);if(s>=r){const n=l.filter((e=>e!==r));0===n.length&&e(),t&&t({scrollY:r,scrollPercent:s,remainingDepths:n}),a({scrollY:r,scrollDepths:n})}}else a(h(b({},r),{scrollY:s}))};return window.addEventListener("scroll",n),e}),[l,o,r]),{scrollY:o}},w=(e,t)=>{const[r,a]=(0,n.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 n=t instanceof Function?t(r):t;a(n),"undefined"!=typeof window&&window.localStorage.setItem(e,JSON.stringify(n))}catch(n){console.log(n)}}]};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:a={text:"Explore Now",href:"https://prepverse.github.io/portfolio",onClick:void 0}})=>{var l,o,c,p;const{pathname:b}=(0,v.IT)(),[h,x]=(0,n.useState)(!1),[O,E]=w("banner-modal",null),C=(0,n.useRef)(!1),k=y();var j,P;return(0,n.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,n.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]),n.createElement(d.O,{appear:!0,show:h,as:n.Fragment},n.createElement(f.C,{as:"div",className:"relative z-modal",onClose:()=>x(!1)},n.createElement(d.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-900/70"})),n.createElement("div",{className:"fixed inset-0 overflow-y-auto"},n.createElement("div",{className:"flex min-h-full items-start justify-center"},n.createElement(d.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(f.C.Panel,{className:(0,i.c)("w-full min-h-screen","flex flex-col justify-center items-center")},n.createElement("div",{className:(0,i.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")},n.createElement("div",{className:(0,i.c)("flex","flex-col","items-center","gap-8","text-center","not-prose")},n.createElement(u.c,{to:null!==(j=null===(l=r)||void 0===l?void 0:l.href)&&void 0!==j?j:null===(o=a)||void 0===o?void 0:o.href,target:"_blank",rel:"noopener noreferrer",className:(0,i.c)("flex","h-auto xl:h-[192px]","flex-shrink-0","rounded-lg","overflow-hidden","focus:outline-none")},n.createElement("img",{className:(0,i.c)("object-contain"),src:null===(c=r)||void 0===c?void 0:c.src,alt:null!==(P=null===(p=r)||void 0===p?void 0:p.alt)&&void 0!==P?P:e,loading:"lazy"})),n.createElement("p",{className:(0,i.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),n.createElement(s.D,{className:(0,i.c)("w-max"),buttonClassname:(0,i.c)("!px-4","!py-4"),href:a.href,onClick:a.onClick,target:"_blank",rel:"noopener noreferrer"},n.createElement("div",{className:(0,i.c)("text-gray-900","text-base","font-bold")},a.text),n.createElement(m.G,{className:(0,i.c)("w-4","h-4")}))),n.createElement("button",{className:(0,i.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)},n.createElement(g.O,{className:"w-4 h-4"})))))))))},O=({className:e})=>n.createElement("div",{className:(0,i.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)},n.createElement("div",{className:(0,i.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")},n.createElement("h2",{className:(0,i.c)("flex","flex-wrap","gap-2","text-[32px] leading-[40px] landing-sm:text-[56px] landing-sm:leading-[72px]")},n.createElement("div",{className:(0,i.c)("dark:text-gray-0 text-gray-900")},"PrepVerse "),n.createElement("div",{className:(0,i.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(51,51,255,0.3)]","whitespace-nowrap")},"Technical Blog")),n.createElement("p",{className:(0,i.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.")));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,n.useState)(!1),{children:s,toc:m,showSidebarBanner:u=!0}=e,d=k(e,["children","toc","showSidebarBanner"]),f=y();return(0,n.useEffect)((()=>{t&&(f.scrollY>20&&r(!0),f.scrollY<20&&r(!1))}),[f.scrollY,u]),n.createElement(a.C,C(function(e){for(var t=1;t{r.r(t),r.d(t,{default:()=>d});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(6992),u=r(6108);function d({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)}},6992:(e,t,r)=>{r.d(t,{c:()=>C});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);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,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 f=e=>n.createElement("svg",d(function(e){for(var t=1;t(n.useEffect((()=>(e.open?document.body.style.overflow="hidden":document.body.style.overflow="auto",()=>{document.body.style.overflow="auto"})),[e.open]),n.createElement(y.c,null,(()=>(0,b.createPortal)(n.createElement(v,e),document.body)))),v=({children:e,title:t,open:r,onClose:a,variant:l})=>{const[o,c]=n.useState(48),{scrollY:i}=(0,h.Q)(),s=n.useRef(null);var u,d;return u=s,d=e=>{e.stopPropagation(),a()},n.useEffect((()=>{const e=e=>{u.current&&!u.current.contains(e.target)&&(e.preventDefault(),d(e))};return document.addEventListener("click",e,!0),()=>{document.removeEventListener("click",e,!0)}}),[u]),((e,t,r)=>{n.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])})(s,["Escape"],(()=>{a()})),n.useEffect((()=>{const e=i.onChange((e=>{c(e>=48?0:48-e)}));return()=>e()}),[]),n.createElement("div",{style:{top:o},className:(0,m.c)("fixed","right-0 bottom-0","z-modal",!r&&"pointer-events-none")},n.createElement(p.O,{ref:s,as:"div",className:(0,m.c)("z-modal","flex flex-col","w-[240px] h-full","ml-auto","p-4","blog"===l&&"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"},n.createElement("div",{className:(0,m.c)("flex","items-center","justify-between","mb-10","dark:text-gray-300 text-gray-900")},n.createElement("h3",{className:(0,m.c)("text-base","font-semibold")},t),n.createElement("button",{type:"button",className:(0,m.c)("appearance-none"),onClick:a},n.createElement(g.O,null))),n.createElement("div",{className:(0,m.c)("overflow-auto h-full")},e)))};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}function O(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(k,{collapsed:r,tags:o,className:(0,m.c)("hidden blog-lg:flex",t),onShowMoreClick:e=>a(e)}),n.createElement(j,{tags:o,className:(0,m.c)("block blog-lg:hidden",t)}))}const k=({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,E(O({},e),{label:N(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(P,{className:(0,m.c)("opacity-30","transition-transform duration-200 ease-in-out",{"rotate-180 transform":!t})}))),j=({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(f,null),n.createElement("div",null,"Filter Tags"))),n.createElement(w,{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,E(O({},e),{label:N(e.label),variant:"inverted",size:"medium"}))))))))},P=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"})),N=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)}},2876:(e,t,r)=>{r.d(t,{U:()=>n});const n=()=>{var e,t;return null===(t=window.open("https://s.refine.dev/refine-brand-assets","_blank"))||void 0===t||null===(e=t.focus)||void 0===e?void 0:e.call(t)}}}]); \ No newline at end of file diff --git a/assets/js/6875c492.05565d19.js b/assets/js/6875c492.aa6d1f55.js similarity index 86% rename from assets/js/6875c492.05565d19.js rename to assets/js/6875c492.aa6d1f55.js index bc3f566..674097c 100644 --- a/assets/js/6875c492.05565d19.js +++ b/assets/js/6875c492.aa6d1f55.js @@ -1 +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(8564);const l=e=>n.createElement(a.E,e)},6968:(e,t,r)=>{r.d(t,{m:()=>Y});var n=r(9184),a=r(4971),l=r(4332),o=r(344),c=r(6076),i=r(1504),s=r(1980),m=r(8804),u=r(2876),d=r(3480);const g=[{isPopover:!0,label:"Docs",items:[{label:"DSA Docs",description:"Learning DSA in C++, Python & Java",link:"/docs",icon:d.uI},{label:"Web Tech Docs",description:"Learn HTML, CSS, JavaScript",link:"/docs/2.Web.Dev",icon:d.Af}]},{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))))},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(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),h=r(5224),y=r(2424),w=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,b.IT)();return i.useEffect((()=>{l(!1)}),[s]),i.createElement(h._,{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(h._.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(w.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(h._.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))))))},x=({variant:e="landing"})=>i.createElement(i.Fragment,null,g.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(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://twitter.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(p,{key:`navbar-${t.label}`,item:t,variant:e}))));var E=r(2276),O=r(7008),C=r(9072),k=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 P=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(T,{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(y.O,{appear:!0,show:e,as:i.Fragment},i.createElement(E.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",onContextMenu:u.U}),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(k.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)))))),Z=e=>i.createElement("div",{className:(0,a.c)(e.className)},g.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(_,null),i.createElement(R,{id:"tablet"}),i.createElement(H,{id:"tablet"})),T=e=>i.createElement("div",{className:(0,a.c)(e.className)},i.createElement("div",{className:"flex-grow"},g.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(_,null),i.createElement(R,{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(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!")))},R=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://twitter.com/akashsingh3031"},i.createElement(d.CC,{className:"h-10 w-10"}))))},_=()=>{const{colorMode:e,setColorMode:t}=(0,C.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 I=r(9253),$=r(2700),z=r(5792),U=r(6936);const G=()=>{const{loading:e,githubStarCountText:t}=(0,$.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(z.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(U.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[d,g]=(0,i.useState)(!1),{scrollYProgress:f}=(0,l.Q)(),p=(0,o.s)(f,[.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:"/",onContextMenu:u.U},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:()=>g(!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(x,{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(I.C,null)),i.createElement(F,{isModalOpen:d,setIsModalOpen:g}))),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:p}}))))}},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:()=>f,yw:()=>d,wd:()=>g,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(3480),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"}]}],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=>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,{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:()=>U,wR:()=>A,QD:()=>L,vn:()=>J,kv:()=>g,uI:()=>l,Af:()=>c,A9:()=>O,_2:()=>x,Ew:()=>p,Yf:()=>P,oh:()=>s,Ed:()=>k,BE:()=>h,KU:()=>W,WR:()=>I,w9:()=>u,CC:()=>S,oz:()=>F,C3:()=>w});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;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",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||(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{variant:t="landing"}=e,r=_(e,["variant"]);return n.createElement("svg",R(function(e){for(var t=1;tn.createElement("svg",z(function(e){for(var t=1;t{const{colorMode:t}=(0,G.U)();return n.createElement("div",{className:(0,T.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,T.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;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(2876),c=r(7708),i=r(204),s=r(8804);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 u(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")},"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")},c.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:"/",onContextMenu:o.U,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(s.m,null)),a.createElement("a",{href:"https://github.com/sponsors/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,n.c)("hover:no-underline")},a.createElement("iframe",{src:"https://github.com/sponsors/AkashSingh3031/button",title:"Sponsor AkashSingh3031",height:"32",width:"114"}))),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")},c.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),c.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(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")},c.wd.map((t=>a.createElement("a",d(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(i.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,g=m(e,["children","href","className","onClick","buttonClassname"]);const f=r?l.c:"button";return n.createElement(f,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(1504),a=r(8480),l=r(6968),o=r(3680),c=r(6280),i=r(4971),s=r(6192),m=r(6112),u=r(9184),d=r(2424),g=r(2276),f=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,a]=(0,n.useState)({scrollDepths:e,scrollY:0}),{scrollDepths:l,scrollY:o}=r;return(0,n.useEffect)((()=>{"undefined"!=typeof window&&0!==window.pageYOffset&&a((e=>h(b({},e),{scrollY:window.pageYOffset})))}),[]),(0,n.useEffect)((()=>{if("undefined"==typeof window)return;const e=()=>window.removeEventListener("scroll",n),n=()=>{const n=document.documentElement,o=document.body,c=n.scrollTop||o.scrollTop,i=n.scrollHeight||o.scrollHeight,s=c/(i-n.clientHeight)*100;if(l){const r=Math.min(...l,i);if(s>=r){const n=l.filter((e=>e!==r));0===n.length&&e(),t&&t({scrollY:r,scrollPercent:s,remainingDepths:n}),a({scrollY:r,scrollDepths:n})}}else a(h(b({},r),{scrollY:s}))};return window.addEventListener("scroll",n),e}),[l,o,r]),{scrollY:o}},w=(e,t)=>{const[r,a]=(0,n.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 n=t instanceof Function?t(r):t;a(n),"undefined"!=typeof window&&window.localStorage.setItem(e,JSON.stringify(n))}catch(n){console.log(n)}}]};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:a={text:"Explore Now",href:"https://prepverse.github.io/portfolio",onClick:void 0}})=>{var l,o,c,p;const{pathname:b}=(0,v.IT)(),[h,x]=(0,n.useState)(!1),[E,O]=w("banner-modal",null),C=(0,n.useRef)(!1),k=y();var j,P;return(0,n.useEffect)((()=>{"/blog/"!==b&&"/blog"!==b&&(C.current||h||k.scrollY>79&&k.scrollY<100&&(C.current=!0,9===E||null===E?(x(!0),O(0)):(O(E+1),C.current=!0)))}),[k.scrollY]),(0,n.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]),n.createElement(d.O,{appear:!0,show:h,as:n.Fragment},n.createElement(g.C,{as:"div",className:"relative z-modal",onClose:()=>x(!1)},n.createElement(d.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-900/70"})),n.createElement("div",{className:"fixed inset-0 overflow-y-auto"},n.createElement("div",{className:"flex min-h-full items-start justify-center"},n.createElement(d.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(g.C.Panel,{className:(0,i.c)("w-full min-h-screen","flex flex-col justify-center items-center")},n.createElement("div",{className:(0,i.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")},n.createElement("div",{className:(0,i.c)("flex","flex-col","items-center","gap-8","text-center","not-prose")},n.createElement(u.c,{to:null!==(j=null===(l=r)||void 0===l?void 0:l.href)&&void 0!==j?j:null===(o=a)||void 0===o?void 0:o.href,target:"_blank",rel:"noopener noreferrer",className:(0,i.c)("flex","h-auto xl:h-[192px]","flex-shrink-0","rounded-lg","overflow-hidden","focus:outline-none")},n.createElement("img",{className:(0,i.c)("object-contain"),src:null===(c=r)||void 0===c?void 0:c.src,alt:null!==(P=null===(p=r)||void 0===p?void 0:p.alt)&&void 0!==P?P:e,loading:"lazy"})),n.createElement("p",{className:(0,i.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),n.createElement(s.D,{className:(0,i.c)("w-max"),buttonClassname:(0,i.c)("!px-4","!py-4"),href:a.href,onClick:a.onClick,target:"_blank",rel:"noopener noreferrer"},n.createElement("div",{className:(0,i.c)("text-gray-900","text-base","font-bold")},a.text),n.createElement(m.G,{className:(0,i.c)("w-4","h-4")}))),n.createElement("button",{className:(0,i.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)},n.createElement(f.O,{className:"w-4 h-4"})))))))))},E=({className:e})=>n.createElement("div",{className:(0,i.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)},n.createElement("div",{className:(0,i.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")},n.createElement("h2",{className:(0,i.c)("flex","flex-wrap","gap-2","text-[32px] leading-[40px] landing-sm:text-[56px] landing-sm:leading-[72px]")},n.createElement("div",{className:(0,i.c)("dark:text-gray-0 text-gray-900")},"PrepVerse "),n.createElement("div",{className:(0,i.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(51,51,255,0.3)]","whitespace-nowrap")},"Technical Blog")),n.createElement("p",{className:(0,i.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.")));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 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,n.useState)(!1),{children:s,toc:m}=e,u=k(e,["children","toc"]),{pathname:d}=(0,v.IT)(),g=y();return(0,n.useEffect)((()=>{t&&"/blog/"!==d&&"/blog"!==d&&(g.scrollY>20&&r(!0),g.scrollY<20&&r(!1))}),[g.scrollY]),n.createElement(a.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===g?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!==g&&"opacity-70",u===g&&"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(6992),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:g,frontMatter:f,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:`${f.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:g})))))}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),g=r(2668),f=r(6992),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(f.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(g.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)}},6992:(e,t,r)=>{r.d(t,{c:()=>C});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);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,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 g=e=>n.createElement("svg",d(function(e){for(var t=1;t(n.useEffect((()=>(e.open?document.body.style.overflow="hidden":document.body.style.overflow="auto",()=>{document.body.style.overflow="auto"})),[e.open]),n.createElement(y.c,null,(()=>(0,b.createPortal)(n.createElement(v,e),document.body)))),v=({children:e,title:t,open:r,onClose:a,variant:l})=>{const[o,c]=n.useState(48),{scrollY:i}=(0,h.Q)(),s=n.useRef(null);var u,d;return u=s,d=e=>{e.stopPropagation(),a()},n.useEffect((()=>{const e=e=>{u.current&&!u.current.contains(e.target)&&(e.preventDefault(),d(e))};return document.addEventListener("click",e,!0),()=>{document.removeEventListener("click",e,!0)}}),[u]),((e,t,r)=>{n.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])})(s,["Escape"],(()=>{a()})),n.useEffect((()=>{const e=i.onChange((e=>{c(e>=48?0:48-e)}));return()=>e()}),[]),n.createElement("div",{style:{top:o},className:(0,m.c)("fixed","right-0 bottom-0","z-modal",!r&&"pointer-events-none")},n.createElement(p.O,{ref:s,as:"div",className:(0,m.c)("z-modal","flex flex-col","w-[240px] h-full","ml-auto","p-4","blog"===l&&"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"},n.createElement("div",{className:(0,m.c)("flex","items-center","justify-between","mb-10","dark:text-gray-300 text-gray-900")},n.createElement("h3",{className:(0,m.c)("text-base","font-semibold")},t),n.createElement("button",{type:"button",className:(0,m.c)("appearance-none"),onClick:a},n.createElement(f.O,null))),n.createElement("div",{className:(0,m.c)("overflow-auto h-full")},e)))};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}function E(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(k,{collapsed:r,tags:o,className:(0,m.c)("hidden blog-lg:flex",t),onShowMoreClick:e=>a(e)}),n.createElement(j,{tags:o,className:(0,m.c)("block blog-lg:hidden",t)}))}const k=({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,O(E({},e),{label:N(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(P,{className:(0,m.c)("opacity-30","transition-transform duration-200 ease-in-out",{"rotate-180 transform":!t})}))),j=({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(g,null),n.createElement("div",null,"Filter Tags"))),n.createElement(w,{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,O(E({},e),{label:N(e.label),variant:"inverted",size:"medium"}))))))))},P=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"})),N=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)}},2876:(e,t,r)=>{r.d(t,{U:()=>n});const n=()=>{var e,t;return null===(t=window.open("https://s.refine.dev/refine-brand-assets","_blank"))||void 0===t||null===(e=t.focus)||void 0===e?void 0:e.call(t)}}}]); \ No newline at end of file +"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(8564);const l=e=>n.createElement(a.E,e)},6968:(e,t,r)=>{r.d(t,{m:()=>Y});var n=r(9184),a=r(4971),l=r(4332),o=r(344),c=r(6076),i=r(1504),s=r(1980),m=r(8804),u=r(2876),d=r(3480);const g=[{isPopover:!0,label:"Docs",items:[{label:"DSA Docs",description:"Learning DSA in C++, Python & Java",link:"/docs",icon:d.uI},{label:"Web Tech Docs",description:"Learn HTML, CSS, JavaScript",link:"/docs/2.Web.Dev",icon:d.Af}]},{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))))},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(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),h=r(5224),y=r(2424),w=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,b.IT)();return i.useEffect((()=>{l(!1)}),[s]),i.createElement(h._,{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(h._.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(w.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(h._.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))))))},x=({variant:e="landing"})=>i.createElement(i.Fragment,null,g.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(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://twitter.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(p,{key:`navbar-${t.label}`,item:t,variant:e}))));var E=r(2276),O=r(7008),C=r(9072),k=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 P=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(F,{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(T,{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(y.O,{appear:!0,show:e,as:i.Fragment},i.createElement(E.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",onContextMenu:u.U}),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(k.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)))))),Z=e=>i.createElement("div",{className:(0,a.c)(e.className)},g.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(_,null),i.createElement(R,{id:"tablet"}),i.createElement(H,{id:"tablet"})),T=e=>i.createElement("div",{className:(0,a.c)(e.className)},i.createElement("div",{className:"flex-grow"},g.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(_,null),i.createElement(R,{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(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!")))},R=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://twitter.com/akashsingh3031"},i.createElement(d.CC,{className:"h-10 w-10"}))))},_=()=>{const{colorMode:e,setColorMode:t}=(0,C.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(B.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 I=r(9253),$=r(2700),z=r(5792),U=r(6936);const G=()=>{const{loading:e,githubStarCountText:t}=(0,$.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(z.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(U.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[d,g]=(0,i.useState)(!1),{scrollYProgress:f}=(0,l.Q)(),p=(0,o.s)(f,[.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:"/",onContextMenu:u.U},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:()=>g(!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(x,{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(I.C,null)),i.createElement(V,{isModalOpen:d,setIsModalOpen:g}))),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:p}}))))}},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:()=>f,yw:()=>d,wd:()=>g,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(3480),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"}]}],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=>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,{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:()=>U,wR:()=>A,QD:()=>L,vn:()=>J,kv:()=>g,uI:()=>l,Af:()=>c,A9:()=>O,_2:()=>x,Ew:()=>p,Yf:()=>P,oh:()=>s,Ed:()=>k,BE:()=>h,KU:()=>W,WR:()=>I,w9:()=>u,CC:()=>S,oz:()=>V,C3:()=>w});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;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",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||(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{variant:t="landing"}=e,r=_(e,["variant"]);return n.createElement("svg",R(function(e){for(var t=1;tn.createElement("svg",z(function(e){for(var t=1;t{const{colorMode:t}=(0,G.U)();return n.createElement("div",{className:(0,T.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,T.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;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(2876),c=r(7708),i=r(204),s=r(8804);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 u(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")},"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")},c.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:"/",onContextMenu:o.U,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(s.m,null)),a.createElement("a",{href:"https://github.com/sponsors/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,n.c)("hover:no-underline")},a.createElement("iframe",{src:"https://github.com/sponsors/AkashSingh3031/button",title:"Sponsor AkashSingh3031",height:"32",width:"114"}))),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")},c.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),c.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(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")},c.wd.map((t=>a.createElement("a",d(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(i.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,g=m(e,["children","href","className","onClick","buttonClassname"]);const f=r?l.c:"button";return n.createElement(f,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(1504),a=r(8480),l=r(6968),o=r(3680),c=r(6280),i=r(4971),s=r(6192),m=r(6112),u=r(9184),d=r(2424),g=r(2276),f=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,a]=(0,n.useState)({scrollDepths:e,scrollY:0}),{scrollDepths:l,scrollY:o}=r;return(0,n.useEffect)((()=>{"undefined"!=typeof window&&0!==window.pageYOffset&&a((e=>h(b({},e),{scrollY:window.pageYOffset})))}),[]),(0,n.useEffect)((()=>{if("undefined"==typeof window)return;const e=()=>window.removeEventListener("scroll",n),n=()=>{const n=document.documentElement,o=document.body,c=n.scrollTop||o.scrollTop,i=n.scrollHeight||o.scrollHeight,s=c/(i-n.clientHeight)*100;if(l){const r=Math.min(...l,i);if(s>=r){const n=l.filter((e=>e!==r));0===n.length&&e(),t&&t({scrollY:r,scrollPercent:s,remainingDepths:n}),a({scrollY:r,scrollDepths:n})}}else a(h(b({},r),{scrollY:s}))};return window.addEventListener("scroll",n),e}),[l,o,r]),{scrollY:o}},w=(e,t)=>{const[r,a]=(0,n.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 n=t instanceof Function?t(r):t;a(n),"undefined"!=typeof window&&window.localStorage.setItem(e,JSON.stringify(n))}catch(n){console.log(n)}}]};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:a={text:"Explore Now",href:"https://prepverse.github.io/portfolio",onClick:void 0}})=>{var l,o,c,p;const{pathname:b}=(0,v.IT)(),[h,x]=(0,n.useState)(!1),[E,O]=w("banner-modal",null),C=(0,n.useRef)(!1),k=y();var j,P;return(0,n.useEffect)((()=>{"/blog/"!==b&&"/blog"!==b&&(C.current||h||k.scrollY>79&&k.scrollY<100&&(C.current=!0,9===E||null===E?(x(!0),O(0)):(O(E+1),C.current=!0)))}),[k.scrollY]),(0,n.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]),n.createElement(d.O,{appear:!0,show:h,as:n.Fragment},n.createElement(g.C,{as:"div",className:"relative z-modal",onClose:()=>x(!1)},n.createElement(d.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-900/70"})),n.createElement("div",{className:"fixed inset-0 overflow-y-auto"},n.createElement("div",{className:"flex min-h-full items-start justify-center"},n.createElement(d.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(g.C.Panel,{className:(0,i.c)("w-full min-h-screen","flex flex-col justify-center items-center")},n.createElement("div",{className:(0,i.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")},n.createElement("div",{className:(0,i.c)("flex","flex-col","items-center","gap-8","text-center","not-prose")},n.createElement(u.c,{to:null!==(j=null===(l=r)||void 0===l?void 0:l.href)&&void 0!==j?j:null===(o=a)||void 0===o?void 0:o.href,target:"_blank",rel:"noopener noreferrer",className:(0,i.c)("flex","h-auto xl:h-[192px]","flex-shrink-0","rounded-lg","overflow-hidden","focus:outline-none")},n.createElement("img",{className:(0,i.c)("object-contain"),src:null===(c=r)||void 0===c?void 0:c.src,alt:null!==(P=null===(p=r)||void 0===p?void 0:p.alt)&&void 0!==P?P:e,loading:"lazy"})),n.createElement("p",{className:(0,i.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),n.createElement(s.D,{className:(0,i.c)("w-max"),buttonClassname:(0,i.c)("!px-4","!py-4"),href:a.href,onClick:a.onClick,target:"_blank",rel:"noopener noreferrer"},n.createElement("div",{className:(0,i.c)("text-gray-900","text-base","font-bold")},a.text),n.createElement(m.G,{className:(0,i.c)("w-4","h-4")}))),n.createElement("button",{className:(0,i.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)},n.createElement(f.O,{className:"w-4 h-4"})))))))))},E=({className:e})=>n.createElement("div",{className:(0,i.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)},n.createElement("div",{className:(0,i.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")},n.createElement("h2",{className:(0,i.c)("flex","flex-wrap","gap-2","text-[32px] leading-[40px] landing-sm:text-[56px] landing-sm:leading-[72px]")},n.createElement("div",{className:(0,i.c)("dark:text-gray-0 text-gray-900")},"PrepVerse "),n.createElement("div",{className:(0,i.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(51,51,255,0.3)]","whitespace-nowrap")},"Technical Blog")),n.createElement("p",{className:(0,i.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.")));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 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,n.useState)(!1),{children:s,toc:m,showSidebarBanner:u=!0}=e,d=k(e,["children","toc","showSidebarBanner"]),g=y();return(0,n.useEffect)((()=>{t&&(g.scrollY>20&&r(!0),g.scrollY<20&&r(!1))}),[g.scrollY,u]),n.createElement(a.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===g?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!==g&&"opacity-70",u===g&&"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(6992),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:g,frontMatter:f,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:`${f.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:g})))))}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),g=r(2668),f=r(6992),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(f.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(g.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)}},6992:(e,t,r)=>{r.d(t,{c:()=>C});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);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,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 g=e=>n.createElement("svg",d(function(e){for(var t=1;t(n.useEffect((()=>(e.open?document.body.style.overflow="hidden":document.body.style.overflow="auto",()=>{document.body.style.overflow="auto"})),[e.open]),n.createElement(y.c,null,(()=>(0,b.createPortal)(n.createElement(v,e),document.body)))),v=({children:e,title:t,open:r,onClose:a,variant:l})=>{const[o,c]=n.useState(48),{scrollY:i}=(0,h.Q)(),s=n.useRef(null);var u,d;return u=s,d=e=>{e.stopPropagation(),a()},n.useEffect((()=>{const e=e=>{u.current&&!u.current.contains(e.target)&&(e.preventDefault(),d(e))};return document.addEventListener("click",e,!0),()=>{document.removeEventListener("click",e,!0)}}),[u]),((e,t,r)=>{n.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])})(s,["Escape"],(()=>{a()})),n.useEffect((()=>{const e=i.onChange((e=>{c(e>=48?0:48-e)}));return()=>e()}),[]),n.createElement("div",{style:{top:o},className:(0,m.c)("fixed","right-0 bottom-0","z-modal",!r&&"pointer-events-none")},n.createElement(p.O,{ref:s,as:"div",className:(0,m.c)("z-modal","flex flex-col","w-[240px] h-full","ml-auto","p-4","blog"===l&&"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"},n.createElement("div",{className:(0,m.c)("flex","items-center","justify-between","mb-10","dark:text-gray-300 text-gray-900")},n.createElement("h3",{className:(0,m.c)("text-base","font-semibold")},t),n.createElement("button",{type:"button",className:(0,m.c)("appearance-none"),onClick:a},n.createElement(f.O,null))),n.createElement("div",{className:(0,m.c)("overflow-auto h-full")},e)))};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}function E(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(k,{collapsed:r,tags:o,className:(0,m.c)("hidden blog-lg:flex",t),onShowMoreClick:e=>a(e)}),n.createElement(j,{tags:o,className:(0,m.c)("block blog-lg:hidden",t)}))}const k=({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,O(E({},e),{label:N(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(P,{className:(0,m.c)("opacity-30","transition-transform duration-200 ease-in-out",{"rotate-180 transform":!t})}))),j=({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(g,null),n.createElement("div",null,"Filter Tags"))),n.createElement(w,{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,O(E({},e),{label:N(e.label),variant:"inverted",size:"medium"}))))))))},P=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"})),N=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)}},2876:(e,t,r)=>{r.d(t,{U:()=>n});const n=()=>{var e,t;return null===(t=window.open("https://s.refine.dev/refine-brand-assets","_blank"))||void 0===t||null===(e=t.focus)||void 0===e?void 0:e.call(t)}}}]); \ No newline at end of file diff --git a/assets/js/a6aa9e1f.e9cd3cf7.js b/assets/js/a6aa9e1f.0201c052.js similarity index 68% rename from assets/js/a6aa9e1f.e9cd3cf7.js rename to assets/js/a6aa9e1f.0201c052.js index 298579b..375a955 100644 --- a/assets/js/a6aa9e1f.e9cd3cf7.js +++ b/assets/js/a6aa9e1f.0201c052.js @@ -1 +1 @@ -(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[4976],{6324:(e,t,r)=>{var n={"./plugin-route-context-module-100.json":[4634,4634]};function a(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],a=t[0];return r.e(t[1]).then((()=>r.t(a,19)))}a.keys=()=>Object.keys(n),a.id=6324,e.exports=a},6280:(e,t,r)=>{"use strict";r.d(t,{c:()=>u});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 u(){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)=>{"use strict";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)=>{"use strict";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}},3688:(e,t,r)=>{"use strict";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)=>{"use strict";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))}},4752:(e,t,r)=>{"use strict";r.d(t,{c:()=>l});var n=r(1504),a=r(9184);const l=()=>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(a.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")))},68:(e,t,r)=>{"use strict";r.d(t,{c:()=>u});var n=r(1504),a=r(9184);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 o=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const[e,t]=n.useState(0);return n.useEffect((()=>{(async()=>{const e=await fetch(`https://api.github.com/repos/pankod/refine?access_token=${s}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`token ${s}`}}),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(a.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(i,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(o,{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:()=>C,cN:()=>P,CS:()=>u,E$:()=>D,us:()=>S});var n=r(1504),a=r(9184),l=r(468),o=r(3270),c=r(1904),i=r(4971);const s=()=>{var e,t;const{metadata:r}=(0,l.g)(),{permalink:s,title:u,date:m,formattedDate:d,frontMatter:f,description:p,tags:g}=r,b=r.authors[0];return n.createElement(o.c,null,n.createElement(a.c,{itemProp:"url",to:s,className:(0,i.c)("block","w-full h-auto","aspect-[592/334]")},n.createElement("div",{className:(0,i.c)("not-prose relative m-0 hover:brightness-90","h-full w-full")},n.createElement("img",{src:`${f.image}?h=256`,alt:u,className:(0,i.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,i.c)("flex flex-wrap items-center","mb-6","gap-2")},g.map((e=>n.createElement(a.c,{className:(0,i.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:s,className:"no-underline hover:no-underline",rel:"noopener dofollow"},n.createElement("div",{className:(0,i.c)("mb-4","text-gray-700 dark:text-refine-react-3","text-xl","font-lg","font-bold")},u)),n.createElement("div",{className:(0,i.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(a.c,{href:`/blog/author/${null===(e=b)||void 0===e?void 0:e.key}`,itemProp:"url",className:(0,i.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,i.c)("h-[4px] w-[4px] rounded-full","bg-gray-600 dark:bg-gray-500")}),n.createElement("span",{className:(0,i.c)("text-gray-600 dark:text-gray-500","text-xs","leading-6","no-underline")},n.createElement(c.iI,{date:m,formattedDate:d})))))},u=({items:e})=>n.createElement("div",null,n.createElement("div",{className:(0,i.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,i.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-cyan-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(l.E,{key:e.metadata.permalink,content:e},n.createElement(s,null)))))));var m=r(2656),d=r(56),f=r(9936),p=r(7760),g=r(6224),b=r(3784),y=r(4776),h=r(2788),v=r(8368);const w=(0,v.c)("telegram",(function(e,t){var r=t.title;return(0,y.c)(e,"telegram.url"),"https://telegram.me/share/url"+(0,h.c)({url:e,text:r})}),(function(e){return{title:e.title}}),{windowWidth:550,windowHeight:400});var x=r(2544);const O=(0,x.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,y.c)(e,"facebook.url"),"https://www.facebook.com/sharer/sharer.php"+(0,h.c)({u:e,quote:r,hashtag:n})}),(function(e){return{quote:e.quote,hashtag:e.hashtag}}),{windowWidth:550,windowHeight:400});const k=(0,x.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 j=r(2460);const P=({children:e})=>{var t,r,s,u,y,h;const{metadata:v,isBlogPostPage:x}=(0,l.g)(),{permalink:P,title:C,date:N,formattedDate:S,readingTime:D,frontMatter:M,tags:A,description:L,authors:R}=v,Z=R[0],{siteConfig:{url:T}}=(0,f.c)();return n.createElement(o.c,{className:(0,i.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,i.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,i.c)("text-refine-react-5 dark:text-refine-react-4","text-sm no-underline","flex","items-center","gap-2")},n.createElement(j.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:T+P,title:C,source:T,summary:L,hashtags:A.map((e=>e.label)),className:"flex"},n.createElement(g.c,{size:26,round:!0})),n.createElement(b.c,{windowWidth:750,windowHeight:800,url:T+P,title:C,hashtags:A.map((e=>e.label)),className:"flex"},n.createElement(j.mk,{width:26,height:26})),n.createElement(w,{windowWidth:750,windowHeight:800,url:T+P,title:C,hashtags:A.map((e=>e.label)),className:"flex"},n.createElement(O,{size:26,round:!0})),n.createElement(E,{windowWidth:750,windowHeight:800,url:T+P,title:C,hashtags:A.map((e=>e.label)),className:"flex"},n.createElement(k,{size:26,round:!0})))),n.createElement("div",{className:"not-prose"},n.createElement("img",{className:"w-full rounded-xl aspect-[894/468]",src:`${M.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,i.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=Z)||void 0===t?void 0:t.key}`,itemProp:"url"},n.createElement("img",{src:null===(r=Z)||void 0===r?void 0:r.imageURL,alt:null===(s=Z)||void 0===s?void 0:s.name,loading:"lazy",className:"flex h-[32px] w-[32px] rounded-full object-cover"})),n.createElement(a.c,{to:`/blog/author/${null===(u=Z)||void 0===u?void 0:u.key}`,itemProp:"url",className:(0,i.c)("flex-1","text-gray-900 dark:text-gray-200","text-sm","no-underline","hover:no-underline")},null===(y=Z)||void 0===y?void 0:y.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===(h=Z)||void 0===h?void 0:h.title)),n.createElement("div",{className:"flex items-center gap-2 text-gray-600 dark:text-gray-400"},n.createElement(c.iI,{date:N,formattedDate:S}),void 0!==D&&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(c.S_,{readingTime:D}))))),n.createElement("h1",{className:"text-xl md:text-4xl",itemProp:"headline"},x?C:n.createElement(a.c,{itemProp:"url",to:P},C)),n.createElement("div",{id:m.blogPostContainerID,className:"markdown",itemProp:"articleBody"},n.createElement(d.c,null,e))))},C=({author:e,className:t})=>n.createElement(N,{author:e,className:t}),N=({author:e})=>{var t,r,l,o,c,s,u,m,d,f,p;const g=e.github||e.twitter||e.linkedin;return n.createElement("div",{className:(0,i.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,i.c)("flex","justify-between","items-center")},n.createElement("div",{className:(0,i.c)("w-full","flex items-center justify-between flex-wrap")},n.createElement("div",{className:(0,i.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===(l=e)||void 0===l?void 0:l.name,loading:"lazy",className:(0,i.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,i.c)("not-prose flex flex-col justify-between")},n.createElement("h1",{className:(0,i.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===(o=e)||void 0===o?void 0:o.name),n.createElement("div",{className:(0,i.c)("text-xs sm:text-base","text-gray-600 dark:text-gray-400")},null===(c=e)||void 0===c?void 0:c.title))),g&&n.createElement("div",{className:"flex justify-center gap-3"},(null===(s=e)||void 0===s?void 0:s.github)&&n.createElement(a.c,{to:null===(u=e)||void 0===u?void 0:u.github},n.createElement(j.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(j.mk,{className:"h-6 w-6"})),(null===(f=e)||void 0===f?void 0:f.linkedin)&&n.createElement(a.c,{to:null===(p=e)||void 0===p?void 0:p.linkedin},n.createElement(j.wd,{className:"h-6 w-6"}))))),n.createElement("div",{className:"border-b border-gray-200 dark:border-gray-700 mb-8"}))};r(4752),r(68),r(5524);const S=()=>{const{metadata:e}=(0,l.g)();return n.createElement("div",{className:"flex flex-wrap gap-2"},e.tags.map((e=>n.createElement(a.c,{to:e.permalink,className:(0,i.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))))},D=({posts:e,title:t})=>{var r,l,o;return e.length<1?null:n.createElement("div",{className:(0,i.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,i.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,i.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,i.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===(l=e.authors[0])||void 0===l?void 0:l.name),n.createElement("span",{className:"h-[4px] w-[4px] rounded-full bg-gray-600 dark:bg-gray-500"}),n.createElement(c.iI,{date:e.date,formattedDate:e.formattedDate}))))))))}},5524:(e,t,r)=>{"use strict";r.d(t,{c:()=>l});var n=r(1504),a=r(9184);const l=({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(a.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"))))},3740:(e,t,r)=>{"use strict";r.d(t,{q:()=>o,y:()=>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 l="tutorial-checklist-store",o=n.createContext({store:{},toggle:()=>{}}),c=({children:e})=>{const[t,r]=n.useState((()=>{if("undefined"!=typeof window){const t=localStorage.getItem(l);if(t)try{const e=JSON.parse(t);if("object"==typeof e)return e}catch(e){return{}}}return{}})),c=n.useCallback(((e,t,n)=>{r((r=>{const l=function(e){for(var t=1;t{"undefined"!=typeof window&&localStorage.setItem(l,JSON.stringify(t))}),[t]),n.createElement(o.Provider,{value:{store:t,toggle:c}},e)}},5448:(e,t,r)=>{"use strict";r.d(t,{g5:()=>i,mk:()=>s,sH:()=>l});var n=r(1504),a=r(2288);const l=["headless","antd","chakra-ui","mantine","mui"],o=e=>{if(l.includes(e))return e},c="tutorial-preferred-ui-package",i=n.createContext({preferred:"headless",current:void 0,setPreferred:()=>{}}),s=({children:e})=>{const{metadata:t}=(0,a.G)(),r=(e=>{const t=e.match(/\/(headless|antd|chakra-ui|mantine|mui)\//);if(t&&o(t[1]))return t[1]})(t.id),[l,s]=n.useState("headless");n.useEffect((()=>{if("undefined"!=typeof window){const e=localStorage.getItem(c),t=o(e);t&&s(t)}}),[]);const u=e=>{o(e)&&("undefined"!=typeof window&&localStorage.setItem(c,e),s(e))};return n.useEffect((()=>{r&&r!==l&&u(r)}),[r,l]),n.createElement(i.Provider,{value:{preferred:l,setPreferred:u,current:r||l}},e)}},9092:(e,t,r)=>{"use strict";r.d(t,{WO:()=>d,iC:()=>f});var n=r(1504),a=r(640),l=r(2064);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){for(var t=1;t0}),s="tutorial-parameters",u=(e,t)=>{for(const r of t)if(e.includes(`/${r.value}`))return r.value},m=()=>{const{pathname:e}=(0,a.IT)();return n.useMemo((()=>(e=>{const t={};for(const[r,n]of Object.entries(l.Sm.parameterOptions)){const a=u(e,n);a&&(t[r]=a)}return t})(e)),[e])},d=({children:e})=>{const[t,r]=n.useState(void 0),[a,o]=n.useState(!1),u=m(),d=n.useCallback((e=>{r((t=>{try{localStorage.setItem(s,JSON.stringify(c({},t,e)))}catch(r){console.error(r)}return c({},t,e)}))}),[]);return n.useEffect((()=>{try{const e=localStorage.getItem(s);d(e?c({},l.Sm.defaultParameters,JSON.parse(e),u):c({},l.Sm.defaultParameters,u))}catch(e){d(c({},l.Sm.defaultParameters,u))}o(!0)}),[]),n.createElement(i.Provider,{value:{parameters:t,setParameters:d,settled:a,options:l.Sm.parameterOptions}},e)},f=()=>n.useContext(i)},3376:(e,t,r)=>{"use strict";r.d(t,{U:()=>p});var n=r(2288),a=r(1688),l=(r(1504),r(3908));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){for(var t=1;t{var e,t,r,o;const m=(0,n.G)(),{docs:p}=(0,a.E)(),{frontMatter:g,metadata:{id:b}}=m,{tutorial:{units:y}}=(0,u.e)(),{current:h}=(0,l.U)(),v=e=>{const t=e.id.split("/"),r=s.sH.filter((e=>e!==h));return!t.find((e=>r.includes(e)))},w=!!(null===(e=g)||void 0===e?void 0:e.tutorial),x=b.split("/")[1],O=function({frontMatter:e}){const{docs:t}=(0,a.E)(),{current:r}=(0,l.U)(),n=e=>{if(e.includes("{preferredUI}")||r)return e.replace("{preferredUI}",r)},o=e=>"/docs/"+e,{tutorial:s}=e,{next:u,prev:m}=null!=s?s:{},d=u?n(u):void 0,f=t[m?n(m):void 0],p=t[d];return{previous:f?i(c({},f),{permalink:o(f.id)}):void 0,next:p?i(c({},p),{permalink:o(p.id)}):void 0}}(m),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}),{}),k=Object.entries(E).map((([e,r])=>f(d({unit:e,no:null===(t=y[e])||void 0===t?void 0:t.no,title:y[e].label},e===x&&w&&{current:!0}),{docs:r.map((e=>d({},e,e.id===b&&w&&{current:!0}))).filter(v)}))).sort(((e,t)=>(null===(r=e)||void 0===r?void 0:r.no)-(null===(o=t)||void 0===o?void 0:o.no)));return w?{id:b,isTutorial:w,unit:x,pagination:O,units:k}:void 0}},5560:(e,t,r)=>{"use strict";r.d(t,{c:()=>a});var n=r(1504);const a=(e,t="0px")=>{const[r,a]=n.useState(!1);return n.useEffect((()=>{var r;const n=null===(r=e)||void 0===r?void 0:r.current,l=new IntersectionObserver((([e])=>{a(e.isIntersecting)}),{rootMargin:t});return n&&l.observe(n),()=>{n&&l.unobserve(n)}}),[]),r}},8840:(e,t,r)=>{"use strict";r.d(t,{ot:()=>s,GC:()=>u});var n=r(1504);const a={items:[]};var l=r(3740);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){for(var t=1;tt.filter((t=>t.unit===e));function u(){const{store:e,toggle:t}=n.useContext(l.q);return{items:n.useMemo((()=>{var t,r,n,l;return null!==(l=null===(n=a)||void 0===n||null===(t=(r=n.items).map)||void 0===t?void 0:t.call(r,(t=>{const{id:r}=t;return i(c({},t),{checklist:t.checklist.map((t=>{var n;return i(c({},t),{checked:null!==(n=e[r]?.[t.id])&&void 0!==n&&n})})).sort(((e,t)=>e.index-t.index))})})))&&void 0!==l?l:[]}),[e]),toggle:t}}},380:(e,t,r)=>{"use strict";r.d(t,{e:()=>a});var n=r(9936);r(1504);const a=()=>{const{siteConfig:{customFields:e}}=(0,n.c)(),{tutorial:t}=e;return t}},3908:(e,t,r)=>{"use strict";r.d(t,{U:()=>l});var n=r(1504),a=r(5448);const l=()=>n.useContext(a.g5)},3680:(e,t,r)=>{"use strict";r.d(t,{u:()=>l});var n=r(1504),a=r(8564);const l=e=>n.createElement(a.E,e)},6968:(e,t,r)=>{"use strict";r.d(t,{m:()=>W});var n=r(9184),a=r(4971),l=r(4332),o=r(344),c=r(6076),i=r(1504),s=r(1980),u=r(8804),m=r(2876),d=r(3480);const f=[{isPopover:!0,label:"Docs",items:[{label:"DSA Docs",description:"Learning DSA in C++, Python & Java",link:"/docs",icon:d.uI},{label:"Web Tech Docs",description:"Learn HTML, CSS, JavaScript",link:"/docs/2.Web.Dev",icon:d.Af}]},{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}],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,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),y=r(5224),h=r(2424),v=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(y._,{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(y._.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(v.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(y._.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))))))},x=({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(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,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(p,{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://twitter.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(p,{key:t.label,item:t,variant:e}))))):i.createElement(g,{key:`navbar-${t.label}`,item:t,variant:e}))));var O=r(2276),E=r(7008),k=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 C=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),u=null!=r?r:n.c,m=void 0!==l&&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(T,{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(H,{className:(0,a.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(h.O,{appear:!0,show:e,as:i.Fragment},i.createElement(O.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(A.Q,null),i.createElement("div",{className:(0,a.c)("flex items-center justify-between","p-4","landing-sm:px-8")},i.createElement(u.m,{className:"dark:text-gray-0 text-gray-900",onContextMenu:m.U}),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(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,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(p,{key:e.label,item:e})))))})),i.createElement(_,null),i.createElement(F,{id:"tablet"}),i.createElement(V,{id:"tablet"})),H=e=>i.createElement("div",{className:(0,a.c)(e.className)},i.createElement("div",{className:"flex-grow"},f.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,a.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(M,{key:`modal-${e.label}`,label:e.label,href:e.href,icon:e.icon})))),i.createElement(_,null),i.createElement(F,{id:"phone"}),i.createElement(V,{id:"phone"})),V=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://twitter.com/akashsingh3031"},i.createElement(d.CC,{className:"h-10 w-10"}))))},_=()=>{const{colorMode:e,setColorMode:t}=(0,k.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(R.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(L.g,null),"Dark"))};var $=r(9253),I=r(2700),U=r(5792),z=r(6936);const G=()=>{const{loading:e,githubStarCountText:t}=(0,I.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(U.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)))},W=({trackProgress:e,variant:t="landing",className:r})=>{const[d,f]=(0,i.useState)(!1),{scrollYProgress:p}=(0,l.Q)(),g=(0,o.s)(p,[.03,.95],["0%","100%"]);return i.createElement(i.Fragment,null,i.createElement(A.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:"/",onContextMenu:m.U},i.createElement(u.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(x,{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(Z,{isModalOpen:d,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}}))))}},7500:(e,t,r)=>{"use strict";r.d(t,{Ih:()=>c,oJ:()=>o,yg:()=>l});var n=r(4971),a=r(1504);const l="preferred-full-table-width",o=e=>a.createElement("div",{className:(0,n.c)("table-container")},a.createElement("table",e)),c=({children:e})=>a.createElement("div",{className:"table-full-width"},e)},9253:(e,t,r)=>{"use strict";r.d(t,{C:()=>i,O:()=>u});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"}],u=({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)=>{"use strict";r.d(t,{o0:()=>p,yw:()=>d,wd:()=>f,AR:()=>g});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 u=r(3480),m=r(4252);const d=[{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(m.i,null),href:"https://prepverse.github.io/CodePoint"},{label:"LeetVerse",icon:n.createElement(m.i,null),href:"https://prepverse.github.io/LeetVerse"}]},{label:"About",items:[{label:"About Me",href:"/AkashSingh3031"},{label:"Portfolio",icon:n.createElement(m.i,null),href:"https://prepverse.github.io/portfolio"}]}],f=[{label:"License",href:"https://github.com/PrepVerse/prepverse.github.io/blob/master/LICENSE"}],p="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{"use strict";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{"use strict";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{"use strict";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{"use strict";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{"use strict";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)=>{"use strict";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{"use strict";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{"use strict";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{"use strict";r.d(t,{s1:()=>z,wR:()=>L,QD:()=>M,vn:()=>J,kv:()=>f,uI:()=>l,Af:()=>c,A9:()=>E,_2:()=>x,Ew:()=>g,Yf:()=>C,oh:()=>s,Ed:()=>j,BE:()=>y,KU:()=>Y,WR:()=>$,w9:()=>m,CC:()=>S,oz:()=>Z,C3:()=>v});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;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",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||(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 $=e=>{var{variant:t="landing"}=e,r=_(e,["variant"]);return n.createElement("svg",F(function(e){for(var t=1;tn.createElement("svg",U(function(e){for(var t=1;t{const{colorMode:t}=(0,G.U)();return n.createElement("div",{className:(0,H.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,H.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;tn.createElement("svg",function(e){for(var t=1;t{"use strict";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{"use strict";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{"use strict";r.d(t,{o:()=>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{"use strict";r.d(t,{E:()=>f});var n=r(4971),a=r(1504),l=r(9184),o=r(2876),c=r(7708),i=r(204),s=r(8804);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(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")},"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")},c.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:"/",onContextMenu:o.U,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(s.m,null)),a.createElement("a",{href:"https://github.com/sponsors/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,n.c)("hover:no-underline")},a.createElement("iframe",{src:"https://github.com/sponsors/AkashSingh3031/button",title:"Sponsor AkashSingh3031",height:"32",width:"114"}))),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")},c.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),c.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(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")}),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")},c.wd.map((t=>a.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)))),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(i.Q,{className:"text-refine-red ml-2 inline leading-6"}),a.createElement("br",null),"Built with Docusaurus & Refine.")))))}},6192:(e,t,r)=>{"use strict";r.d(t,{D:()=>m});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 m=e=>{var{children:t,href:r,className:o,onClick:m,buttonClassname:d}=e,f=u(e,["children","href","className","onClick","buttonClassname"]);const p=r?l.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),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)=>{"use strict";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(u,{style:{animationDelay:"1.5s"},className:(0,n.c)("absolute","top-[2px]","right-[220px]"),id:"1"}),a.createElement(u,{style:{animationDelay:"1s"},className:(0,n.c)("absolute","rotate-180","top-[8px] right-[100px]"),id:"2"}),a.createElement(m,{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(u,{style:{animationDelay:"2s"},className:(0,n.c)("absolute","rotate-180","top-[6px] right-[180px]"),id:"4"}),a.createElement(u,{style:{animationDelay:"0.5s"},className:(0,n.c)("delay-[1300]","absolute","top-[2px]","right-[40px]"),id:"5"}),a.createElement(m,{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"),".")),u=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})))),m=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}))))},2064:(e,t,r)=>{"use strict";r.d(t,{ED:()=>i,Ip:()=>s,_i:()=>d,Mx:()=>u,iG:()=>f,Yv:()=>c,Sm:()=>o,G_:()=>m});var n=r(2411);const a=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 l=r(1688);const o=a,c=(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 o.units)for(const n of r.items)if(e===c(n,t))return r},s=(e,t)=>{let r=!1;for(const n of o.units)for(const a of n.items){if(r)return a;c(a,t)===e&&(r=!0)}},u=(e,t)=>{let r=null;for(const n of o.units)for(const a of n.items){if(c(a,t)===e)return r;r=a}},m=()=>{const{docs:e}=(0,l.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])))},d=(e,t)=>{const r=t[e];if(!r)throw new Error(`Cannot find item with id ${e}`);return r.path},f=(e,t)=>{const r=t[e];if(!r)throw new Error(`Cannot find doc with id ${e}`);return r.title}},3732:(e,t,r)=>{"use strict";r.d(t,{c:()=>P});var n=r(1504),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}const o=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;t{var l;const o=null!==(l=f[e])&&void 0!==l?l:()=>null;var c;const i=null!==(c=p[e])&&void 0!==c?c:"tex-inherit";var s;const u=null!==(s=g[e])&&void 0!==s?s:"bg-inherit";return"simple"===e?n.createElement(h,{type:e,title:t},r):n.createElement("div",{className:(0,a.c)("rounded-lg","admonition",`admonition-${e}`,"mb-6","refine-wider-container",u)},n.createElement("div",{className:(0,a.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||b[e])&&n.createElement("div",{className:(0,a.c)("flex","items-center","gap-2","text-xs sm:text-base 2xl:text-base 2xl:leading-7","font-semibold",i)},n.createElement(o,null),n.createElement("span",{className:"uppercase"},null!==(m=null!=t?t:b[e])&&void 0!==m?m:"")),n.createElement("div",{className:(0,a.c)("text-gray-0","text-base","last:mb-0")},r)));var m},h=({type:e,title:t,children:r})=>{var l;const o=null!==(l=p[e])&&void 0!==l?l:"tex-inherit";var c;const i=null!==(c=g[e])&&void 0!==c?c:"bg-inherit";return n.createElement("div",{className:(0,a.c)("rounded-lg","admonition",`admonition-${e}`,"mb-6",i)},n.createElement("div",{className:(0,a.c)("flex flex-col","gap-2",!t&&"pt-4")},t&&n.createElement("div",{className:(0,a.c)("px-4","pt-4","text-sm","leading-5","-mt-0.5",o)},n.createElement("span",{className:"font-semibold"},null!=t?t:""),n.createElement("span",null,":")),n.createElement("div",{className:(0,a.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))),l=n.createElement(n.Fragment,null,r.filter((e=>e!==a)));return{mdxAdmonitionTitle:a,rest:l}}(e.children);var a;return x(w({},e),{title:null!==(a=e.title)&&void 0!==a?a:t,children:r})}const j=e=>{const{children:t,type:r,title:a}=k(e);return n.createElement(y,{type:r,title:a},t)};function P(e){return"info-tip"===e.type?n.createElement(j,e):"additional"===e.type?n.createElement(j,x(w({},e),{type:"note",title:"ADDITIONAL INFO"})):"sourcecode"===e.type?n.createElement(j,x(w({},e),{icon:n.createElement(O,null),title:n.createElement("a",{href:e.path,target:"_blank",rel:"noreferrer",style:{marginLeft:"4px"}},"VIEW SOURCE CODE \u2192"),titleProps:{style:{marginBottom:"-4px"}}}),e.children):"create-example"===e.type?n.createElement(j,x(w({},e),{type:"caution",icon:n.createElement(E,null),title:n.createElement("span",{style:{marginLeft:"4px"}},"RUN IN YOUR LOCAL")}),e.children):n.createElement(n.Fragment,null,n.createElement(j,e))}},7328:(e,t,r)=>{"use strict";r.d(t,{c:()=>P});var n=r(1504),a=r(8480),l=r(6968),o=r(3680),c=r(6280),i=r(4971),s=r(6192),u=r(6112),m=r(9184),d=r(2424),f=r(2276),p=r(2268);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){for(var t=1;t{const[r,a]=(0,n.useState)({scrollDepths:e,scrollY:0}),{scrollDepths:l,scrollY:o}=r;return(0,n.useEffect)((()=>{"undefined"!=typeof window&&0!==window.pageYOffset&&a((e=>y(b({},e),{scrollY:window.pageYOffset})))}),[]),(0,n.useEffect)((()=>{if("undefined"==typeof window)return;const e=()=>window.removeEventListener("scroll",n),n=()=>{const n=document.documentElement,o=document.body,c=n.scrollTop||o.scrollTop,i=n.scrollHeight||o.scrollHeight,s=c/(i-n.clientHeight)*100;if(l){const r=Math.min(...l,i);if(s>=r){const n=l.filter((e=>e!==r));0===n.length&&e(),t&&t({scrollY:r,scrollPercent:s,remainingDepths:n}),a({scrollY:r,scrollDepths:n})}}else a(y(b({},r),{scrollY:s}))};return window.addEventListener("scroll",n),e}),[l,o,r]),{scrollY:o}},v=(e,t)=>{const[r,a]=(0,n.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 n=t instanceof Function?t(r):t;a(n),"undefined"!=typeof window&&window.localStorage.setItem(e,JSON.stringify(n))}catch(n){console.log(n)}}]};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:a={text:"Explore Now",href:"https://prepverse.github.io/portfolio",onClick:void 0}})=>{var l,o,c,g;const{pathname:b}=(0,w.IT)(),[y,x]=(0,n.useState)(!1),[O,E]=v("banner-modal",null),k=(0,n.useRef)(!1),j=h();var P,C;return(0,n.useEffect)((()=>{"/blog/"!==b&&"/blog"!==b&&(k.current||y||j.scrollY>79&&j.scrollY<100&&(k.current=!0,9===O||null===O?(x(!0),E(0)):(E(O+1),k.current=!0)))}),[j.scrollY]),(0,n.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]),n.createElement(d.O,{appear:!0,show:y,as:n.Fragment},n.createElement(f.C,{as:"div",className:"relative z-modal",onClose:()=>x(!1)},n.createElement(d.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-900/70"})),n.createElement("div",{className:"fixed inset-0 overflow-y-auto"},n.createElement("div",{className:"flex min-h-full items-start justify-center"},n.createElement(d.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(f.C.Panel,{className:(0,i.c)("w-full min-h-screen","flex flex-col justify-center items-center")},n.createElement("div",{className:(0,i.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")},n.createElement("div",{className:(0,i.c)("flex","flex-col","items-center","gap-8","text-center","not-prose")},n.createElement(m.c,{to:null!==(P=null===(l=r)||void 0===l?void 0:l.href)&&void 0!==P?P:null===(o=a)||void 0===o?void 0:o.href,target:"_blank",rel:"noopener noreferrer",className:(0,i.c)("flex","h-auto xl:h-[192px]","flex-shrink-0","rounded-lg","overflow-hidden","focus:outline-none")},n.createElement("img",{className:(0,i.c)("object-contain"),src:null===(c=r)||void 0===c?void 0:c.src,alt:null!==(C=null===(g=r)||void 0===g?void 0:g.alt)&&void 0!==C?C:e,loading:"lazy"})),n.createElement("p",{className:(0,i.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),n.createElement(s.D,{className:(0,i.c)("w-max"),buttonClassname:(0,i.c)("!px-4","!py-4"),href:a.href,onClick:a.onClick,target:"_blank",rel:"noopener noreferrer"},n.createElement("div",{className:(0,i.c)("text-gray-900","text-base","font-bold")},a.text),n.createElement(u.G,{className:(0,i.c)("w-4","h-4")}))),n.createElement("button",{className:(0,i.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)},n.createElement(p.O,{className:"w-4 h-4"})))))))))},O=({className:e})=>n.createElement("div",{className:(0,i.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)},n.createElement("div",{className:(0,i.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")},n.createElement("h2",{className:(0,i.c)("flex","flex-wrap","gap-2","text-[32px] leading-[40px] landing-sm:text-[56px] landing-sm:leading-[72px]")},n.createElement("div",{className:(0,i.c)("dark:text-gray-0 text-gray-900")},"PrepVerse "),n.createElement("div",{className:(0,i.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(51,51,255,0.3)]","whitespace-nowrap")},"Technical Blog")),n.createElement("p",{className:(0,i.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.")));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 k(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 j(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 P=e=>{const[t,r]=(0,n.useState)(!1),{children:s,toc:u}=e,m=j(e,["children","toc"]),{pathname:d}=(0,w.IT)(),f=h();return(0,n.useEffect)((()=>{t&&"/blog/"!==d&&"/blog"!==d&&(f.scrollY>20&&r(!0),f.scrollY<20&&r(!1))}),[f.scrollY]),n.createElement(a.C,k(function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>g});var n=r(1504),a=r(4971),l=r(9936),o=r(6684),c=r(5628),i=r(7328),s=r(6108),u=r(2668),m=r(8048),d=r(1628);function f(e){const{metadata:t}=e,{siteConfig:{title:r}}=(0,l.c)(),{blogDescription:a,blogTitle:c,permalink:i}=t,u="/"===i?r:c;return n.createElement(n.Fragment,null,n.createElement(o.U7,{title:u,description:a}),n.createElement(s.c,{tag:"blog_posts_list"}))}function p(e){const{metadata:t,tags:r,items:l}=e,o=1===t.page,c=l.filter((e=>!0===e.content.metadata.frontMatter.is_featured)),s=l.filter((e=>!0!==e.content.metadata.frontMatter.is_featured));return n.createElement(i.c,{showSidebarBanner:!1,showHero:!0},o&&n.createElement(d.CS,{items:c}),n.createElement(u.c,{items:s,tags:r,metadata:t}),n.createElement("div",{className:(0,a.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(m.c,{metadata:t})))}function g(e){return n.createElement(o.cr,{className:(0,a.c)(c.W.wrapper.blogPages,c.W.page.blogListPage)},n.createElement(f,e),n.createElement(p,e))}},8048:(e,t,r)=>{"use strict";r.d(t,{c:()=>m});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,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(l.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!==m&&"text-refine-react-5 dark:text-refine-react-4",e===m&&"text-refine-react-8 dark:text-refine-react-3",e===m&&"bg-refine-react-3 dark:bg-refine-react-7")},e)))),n.createElement("li",null,n.createElement(l.c,{to:m===f?void 0:`${r}/page/${m+1}`,className:(0,u.c)("rounded-full","hover:no-underline","text-refine-react-5 dark:text-refine-react-4",m!==f&&"opacity-70",m===f&&"pointer-events-none opacity-20")},n.createElement(o.yu,null)))))}},2668:(e,t,r)=>{"use strict";r.d(t,{c:()=>m});var n=r(1504),a=r(468),l=r(6992),o=r(9184),c=r(3270),i=r(1904),s=r(4971);function u({className:e}){var t,r;const{metadata:l}=(0,a.g)(),{permalink:u,title:m,date:d,formattedDate:f,frontMatter:p,description:g,tags:b}=l,y=l.authors[0];return n.createElement(c.c,{className:e},n.createElement("div",null,n.createElement(o.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:m,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: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")},m)),n.createElement("div",{className:(0,s.c)("line-clamp-3","text-gray-700 dark:text-refine-react-4","text-sm")},g)),n.createElement("div",{className:"flex items-center gap-2"},n.createElement(o.c,{href:`/blog/author/${null===(t=y)||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=y)||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 m({items:e,tags:t,component:r=u,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))))))))}},8560:(e,t,r)=>{"use strict";r.d(t,{s:()=>L});var n=r(1504),a=r(8952),l=r(8796),o=r(5684),c=r(6564),i=r(2184),s=r(6616),u=r(5952),m=r(4971),d=r(1373);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 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 g(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 b=e=>{var{as:t}=e,r=g(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,a]=(0,n.useState)(!1),l=(0,n.useRef)(void 0),o=(0,n.useCallback)((()=>{try{navigator.clipboard.writeText(e).then((()=>{a(!0),l.current=window.setTimeout((()=>{a(!1)}),1e3)}))}catch(t){}}),[e]);return(0,n.useEffect)((()=>()=>window.clearTimeout(l.current)),[]),n.createElement("button",{type:"button","aria-label":r?"Copied!":"Copy code to clipboard",title:"Copy code to clipboard",className:(0,m.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:o},n.createElement(h,{className:(0,m.c)("w-3 h-3","text-gray-500","dark:text-gray-400",r&&"rotate-[360deg]","transition-all duration-200 ease-in-out")}))};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=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const r=t?x:E;return n.createElement("button",{type:"button",onClick:()=>e(),className:(0,m.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,m.c)("w-3 h-3","text-gray-500","dark:text-gray-400",t&&"rotate-[360deg]","transition-all duration-200 ease-in-out")}))};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 P(e){for(var t=1;tn.createElement("svg",P({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"})),S=({children:e,icon:t=n.createElement(N,null)})=>n.createElement("div",{className:(0,m.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:a,showLineNumbers:l,language:f,icon:p,style:g})=>{const{prism:{defaultLanguage:y,magicComments:h}}=(0,o.y)();var w;const x=null!==(w=null!=f?f:(0,i.K2)(t))&&void 0!==w?w:y,O=(0,c.i)(),E=(0,s._)(),j=(0,i.QH)(r)||a,{lineClassNames:N,code:D}=(0,i.cj)(e,{metastring:r,language:x,magicComments:h}),M=null!=l?l:(0,i.OO)(r);return n.createElement(b,{as:"div",className:(0,m.c)("refine-common-code-block",x&&`language-${x}`,"rounded-lg","bg-gray-200","dark:bg-gray-900","border","border-gray-300","dark:border-0","mb-6","relative","refine-wider-container"),style:g},j&&n.createElement(S,{icon:p},j),n.createElement("div",{className:(0,m.c)("relative","pt-3","pb-0","not-prose")},n.createElement(d.cp,C(P({},d.wB),{theme:O,code:D,language:null!=x?x:"text"}),(({className:e,tokens:t,getLineProps:r,getTokenProps:a})=>n.createElement("pre",{tabIndex:0,ref:E.codeBlockRef,className:(0,m.c)(e,"bg-transparent","!mt-0","!mb-0","m-0","px-0","pt-0","font-jetBrains-mono","pb-3")},n.createElement("code",{className:(0,m.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:a,classNames:(0,m.c)(N[t],"px-4","text-xs sm:text-sm 2xl:text-sm"),showLineNumbers:M})))))))),n.createElement("div",{className:(0,m.c)("absolute",j?"top-2 right-2":"top-3 right-3","flex items-center gap-2")},(E.isEnabled||E.isCodeScrollable)&&n.createElement(k,{onClick:E.toggle,isEnabled:E.isEnabled}),n.createElement(v,{className:(0,m.c)(),code:D})))};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 A(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 L=e=>{var{children:t}=e,r=A(e,["children"]);const o=(0,a.c)(),c=function(e){return n.Children.toArray(e).some((e=>(0,n.isValidElement)(e)))?e:Array.isArray(e)?e.join(""):e}(t),i="string"==typeof c?D:l.c;return n.createElement(i,function(e){for(var t=1;t{"use strict";r.d(t,{c:()=>S});var n=r(1504),a=r(8560),l=r(4971),o=r(9936),c=r(7748),i=r.n(c),s=r(1688);const u="playgroundPreview_jwe9";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({children:e,minHeight:t,url:r="http://localhost:3000",hasBottom:a=!1}){return n.createElement("div",{className:(0,l.c)("flex","flex-col","h-full")},n.createElement("div",{className:(0,l.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(f,{className:"w-4 h-4"}),n.createElement("div",{className:(0,l.c)("text-xs")},`${r}`.replace(/^http(s?):\/\//,""))),n.createElement("div",{className:(0,l.c)("flex-1","overflow-hidden","bg-gray-100 dark:bg-gray-700","border border-gray-300 dark:border-gray-700",!a&&"rounded-bl-lg rounded-br-lg",a&&"border-b-gray-300 dark:border-b-gray-900",a&&"border-b"),style:{minHeight:t}},e))}const f=e=>n.createElement("svg",function(e){for(var t=1;t{const[a,l]=n.useState(e),[o]=n.useState(t);n.useEffect((()=>{!a&&e&&l(!0)}),[e]),n.useEffect((()=>{if(o){const e=setTimeout((()=>{l(!0)}),o);return()=>clearTimeout(e)}}),[o]);const c=n.useMemo((()=>a&&"function"==typeof r?r():null),[a]);if(void 0!==r&&"function"!=typeof r)throw new Error("Conditional component requires a function as a child");return c};var b=r(9128),y=r(3296);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}r.g.Buffer=r.g.Buffer||y.Sn;const v=({query:e,code:t,css:r})=>{const{siteConfig:{customFields:a}}=(0,o.c)(),[l,c]=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&&c(`${a.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]),l?n.createElement("iframe",{loading:"lazy",src:l,width:"100%",height:"100%",style:{position:"absolute",left:0,top:0,width:"100%",height:"100%"}}):null},w=n.memo(v,((e,t)=>e.code===t.code&&e.query===t.query&&e.css===t.css)),x=e=>n.createElement("svg",function(e){for(var t=1;t{a?(i(!1),setTimeout((()=>{o((e=>!e)),setTimeout((()=>{i(!0)}),300)}),100)):(i(!1),o((e=>!e)),setTimeout((()=>{i(!0)}),300))}},n.createElement(x,{className:(0,l.c)(a&&"rotate-180","transition-transform","duration-200","ease-in-out")}),n.createElement("span",{className:(0,l.c)("text-base","block","overflow-hidden","h-6")},n.createElement("span",{className:(0,l.c)("block",a&&"opacity-0","transition-opacity duration-200 ease-in-out")},"Show Code"),n.createElement("span",{className:(0,l.c)("block","transition-transform duration-200 ease-in-out","bg-gray-100 dark:bg-gray-700",a&&"-translate-y-6")},"Hide Code"))),n.createElement("div",{className:(0,l.c)("rounded-bl-lg","rounded-br-lg"),style:{maxHeight:a?c?"unset":"100vh":"0px",transition:"0.3s all ease-in-out",overflow:"hidden"},ref:r},n.createElement(S,{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:a=!1,url:c="http://localhost:3000",previewOnly:i=!1,tailwind:m=!1})=>{const f=String(e),{shared:y,sharedCss:h}=(0,b.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 a=e.slice(0,r),l=e.slice(r,n).trimEnd().trimStart(),o=e.slice(n);return{visible:l,join:e=>`${a}\n${e}\n${o}`}})(`\n ${null!=y?y:""}\n ${f}\n `.replace(/\n$/,"")),x=n.useRef(null),E=(0,p.c)(x),{siteConfig:{customFields:k}}=(0,o.c)(),{isLast:j}=(0,s.E)();return n.createElement("div",{className:(0,l.c)("overflow-hidden","mb-6","refine-wider-container")},n.createElement(n.Fragment,null,n.createElement(d,{url:c,hasBottom:!i},n.createElement("div",{className:(0,l.c)(u,"live-editor-wrapper"),style:{maxHeight:r,minHeight:r,overflow:t?"hidden":void 0,position:"relative"},ref:x},j?n.createElement(g,{if:E,maxWait:3e3},(()=>n.createElement(w,{code:`\n${null!=y?y:""}\n${f}\n `,css:h,query:`${t?"&disableScroll=true":""}${m?"&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(O,{hidden:a,code:v})))},k=n.memo(E,((e,t)=>String(e.children)===String(t.children))),j=({children:e})=>{const{setShared:t}=(0,b.UF)();return n.useEffect((()=>(t(String(e)),()=>{t(void 0)})),[e]),null},P=n.memo(j,((e,t)=>String(e.children)===String(t.children))),C=({children:e})=>{const{setSharedCss:t}=(0,b.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 S(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(P,e):e.live?n.createElement(k,e):n.createElement(a.s,e)}},3704:(e,t,r)=>{"use strict";r.d(t,{c:()=>m});var n=r(1504),a=r(9184),l=r(1724);const o=e=>{var t,r,n,a,o,c;let i="noopener noreferrer nofollow";const s=(0,l.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===(a=e)||void 0===a||null===(n=a.includes)||void 0===n?void 0:n.call(a,"refine.dev")))&&(i="noopener dofollow"),(s||(null===(c=e)||void 0===c||null===(o=c.includes)||void 0===o?void 0:o.call(c,"reactadminpanel.com")))&&(i="noopener dofollow"),i};var c=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:()=>ct});var n=r(7584),a=r(1504),l=r(4971),o=r(6192),c=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 m,d,f,p,g,b;return a.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]),a.createElement("div",{className:(0,l.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")},a.createElement(i.c,{to:null!==(g=null===(m=r)||void 0===m?void 0:m.href)&&void 0!==g?g:null===(d=s)||void 0===d?void 0:d.href,target:"_blank",rel:"noopener noreferrer",className:(0,l.c)("flex","max-w-[360px]","h-auto","flex-shrink-0","rounded-lg","overflow-hidden")},a.createElement("img",{src:null===(f=r)||void 0===f?void 0:f.src,alt:null!==(b=null===(p=r)||void 0===p?void 0:p.alt)&&void 0!==b?b:e,loading:"lazy"})),a.createElement("div",{className:(0,l.c)("flex","flex-col","gap-6","justify-center 2xl:justify-start","items-center 2xl:items-start","text-center 2xl:text-start","not-prose")},e&&a.createElement("h2",{className:(0,l.c)("text-xl md:text-2xl","text-gray-0")},e),a.createElement("p",{className:(0,l.c)("text-sm md:text-base","text-gray-100")},t),a.createElement(o.D,{className:(0,l.c)("w-max"),buttonClassname:(0,l.c)("!px-4","!py-2"),href:s.href,onClick:s.onClick,target:"_blank",rel:"noopener noreferrer"},a.createElement("div",{className:(0,l.c)("text-gray-900","text-sm md:text-base","font-bold")},s.text),a.createElement(c.G,{className:(0,l.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}})=>(a.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]),a.createElement("div",{className:(0,l.c)("relative","rounded-2xl","p-8","flex","flex-col","justify-center","items-center","not-prose","bg-banner-examples-gray")},a.createElement("h2",{className:(0,l.c)("text-2xl","font-semibold","bg-banner-examples-text","bg-clip-text","text-transparent")},e),a.createElement("p",{className:(0,l.c)("mt-2","text-sm","text-gray-300")},t),a.createElement(o.D,{className:(0,l.c)("mt-9"),href:r.href,onClick:r.onClick,target:"_blank",rel:"noopener noreferrer"},a.createElement("div",{className:(0,l.c)("text-gray-900","text-base","font-bold")},r.text))));var m=r(8164);const d=[],f=Math.floor(Math.random()*(d.length+1));var p=r(4752),g=r(68);const b=({image:e,title:t,description:r,isDark:n})=>{let l;l="refineNew"===r?a.createElement("div",null," ",a.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.",a.createElement("br",null),a.createElement("br",null),"\ud83d\ude80 By visually combining options for your preferred \u2728",a.createElement("b",null," React platform,")," \u2728 ",a.createElement("b",null,"UI framework"),", \u2728"," ",a.createElement("b",null,"backend connector"),", and \u2728 ",a.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!",a.createElement("br",null),a.createElement("br",null),a.createElement("br",null)):null!=r?r:a.createElement("div",null,"Meet the headless, React-based solution to build sleek"," ",a.createElement("b",null,"CRUD")," applications. With refine, you can be confident that your codebase will always stay clean and boilerplate-free.",a.createElement("br",null),a.createElement("br",null),"Try"," ",a.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank"},"PrepVerse")," ","to rapidly build your next ",a.createElement("b",null,"CRUD")," project, whether ","it's"," ","an admin panel, dashboard, internal tool or storefront.");const o=null!=e?e:"https://refine.ams3.cdn.digitaloceanspaces.com/website/static/img/generic_banner.png";o.startsWith("http")||o.startsWith("/");return a.createElement("a",{href:"https://s.refine.dev/hackathon2",target:"_blank",rel:"noreferrer"},a.createElement("img",{src:"https://refine.ams3.cdn.digitaloceanspaces.com/hackathon-2/hackathon_cover.png"}))};var y=r(5524),h=r(3896),v=r(3376),w=r(8840);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 O=e=>a.createElement("svg",function(e){for(var t=1;t{var t,r,n;const o=a.useRef(!1),{id:c}=(0,v.U)(),[i,s]=a.useState(!1),{items:u}=(0,w.GC)(),{reward:m}=(0,h.yh)(`checklist-${c}`,"confetti",{angle:90,elementCount:120,startVelocity:30,decay:.95,spread:100,position:"absolute",lifetime:150}),d=null===(n=u.find((e=>e.id===c)))||void 0===n||null===(t=(r=n.checklist).every)||void 0===t?void 0:t.call(r,(e=>e.checked));return a.useEffect((()=>{setTimeout((()=>{o.current=!0}),1e3)}),[]),a.useEffect((()=>{!i&&d&&o.current&&(s(!0),m())}),[d,i]),a.createElement("div",{className:(0,l.c)("rounded-lg","border-l-gray-400 dark:border-l-gray-600","dark:bg-gray-800 bg-gray-50")},a.createElement("div",{className:(0,l.c)("border-l-4","border-l-solid","border-l-inherit","rounded-tl-lg","rounded-bl-lg","p-4","flex flex-col")},a.createElement("div",{className:"border-b border-gray-400 dark:border-gray-500 border-opacity-50 dark:border-opacity-50"},a.createElement("div",{className:(0,l.c)("not-prose","mt-0 mb-4","flex items-center","gap-2")},a.createElement(O,{className:(0,l.c)("w-4 h-4","dark:text-gray-100 text-gray-800")}),a.createElement("h3",{className:(0,l.c)("m-0 p-0","font-semibold","dark:text-gray-100 text-gray-800","uppercase","text-base leading-6")},"Checklist"))),a.createElement("div",null,e),a.createElement("div",{className:"flex items-center justify-center"},a.createElement("div",{id:`checklist-${c}`}))))};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=>a.createElement("svg",function(e){for(var t=1;t{var r,n,o,c;const{id:i}=(0,v.U)(),{items:s,toggle:u}=(0,w.GC)(),m=null===(r=null===(c=s.find((e=>e.id===i)))||void 0===c||null===(n=(o=c.checklist).find)||void 0===n?void 0:n.call(o,(e=>e.id===t)))||void 0===r?void 0:r.checked;return a.createElement("label",{className:(0,l.c)("mt-4","flex","items-center justify-start","flex-nowrap","gap-2","cursor-pointer")},a.createElement("div",{className:"flex-shrink-0"},a.createElement("button",{type:"button",onClick:()=>{u(i,t)},className:(0,l.c)("appearance-none","flex items-center justify-center","w-4 h-4","rounded","border",{"border-gray-400 dark:border-gray-500":!m,"border-refine-react-dark-link dark:border-refine-react-dark-link":m,"bg-refine-react-dark-link":m})},m&&a.createElement(j,null))),a.createElement("div",{className:(0,l.c)(m&&"line-through dark:text-gray-100 dark:text-opacity-50 text-gray-800 text-opacity-50",!m&&"text-gray-800 dark:text-gray-100")},e))};var C=r(8560),N=r(2108);const S=({path:e})=>a.createElement(C.s,{language:"bash",title:"Run on your local",icon:a.createElement(N.G,null)},`npm create refine-app@latest -- --example ${e}`);var D=r(5792);const M=({path:e})=>a.createElement("div",{className:(0,l.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")},a.createElement(D.A,{className:"ml-1.5 w-5 h-5 text-gray-800 dark:text-gray-100"}),a.createElement("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:(0,l.c)("text-base","leading-8","text-refine-react-light-link dark:text-refine-react-dark-link")},a.createElement("span",null,"View Source Code"))),A=({path:e})=>{const t=`https://github.com/PrepVerse/PrepVerse/tree/master/examples/${e}`;return a.createElement(M,{path:t})},L=({path:e,hideSource:t,hideLocal:r,hideSandbox:n})=>{const l=`${`https://codesandbox.io/embed/github/refinedev/refine/tree/master/examples/${e}`}?view=preview&theme=dark&runonclick=1&codemirror=1`;return a.createElement("div",null,!t&&a.createElement(A,{path:e}),!r&&a.createElement(S,{path:e}),!n&&a.createElement("iframe",{loading:"lazy",src:l,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 R=r(3732),Z=r(7916);const T=()=>a.createElement("div",null,a.createElement(R.c,{type:"simple",title:"Good to know"},a.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})=>a.createElement("div",{className:(0,l.c)("refine-info-badge","relative","group","inline-flex","align-middle")},e,a.createElement("div",{className:(0,l.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")},a.createElement("div",{className:(0,l.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"))),H=({id:e,icon:t,color:r,text:n,description:o})=>{const c=(0,l.c)("orange"===r&&(0,l.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,l.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,l.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 a.createElement(B,{content:o},a.createElement(i.c,{to:`/docs/${e}`,className:(0,l.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",c)},t,n&&a.createElement("span",{className:"text-xs leading-[0.875rem]"},n)))};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 F=e=>a.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;tr?a.createElement("div",{className:(0,l.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:c},null!=e?e:"deprecated"):t?a.createElement("div",{className:(0,l.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?a.createElement("div",{className:(0,l.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:c},null!=e?e:"required"):o?a.createElement("div",{className:(0,l.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:c},null!=e?e:"featured"):e?a.createElement("div",{className:(0,l.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:c},e):null,U="tooltip__Ymd",z="tooltipContainer_l6r7",G="tooltipContent_UeXm",W="tooltipArrow_mOyh",Y=({label:e,children:t})=>e?a.createElement("div",{className:`${U} group`},t,a.createElement("div",{className:`${z} group-hover:visible`},a.createElement("span",{className:G},e),a.createElement("div",{className:W}))):a.createElement(a.Fragment,null,t);function q(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=({prop:e,overrides:t})=>{var r,n,l;const o=null!==(l=t[`${e.name}-required`])&&void 0!==l?l:e.required;var c;const i=null!==(c=t[`${e.name}-deprecated`])&&void 0!==c?c:null===(r=e.tags)||void 0===r?void 0:r.deprecated;var s,u;const m=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:"",d=(0,a.useMemo)((()=>{const e="props-table--name";return i?`${e} props-table--name__deprecated`:e}),[e,t]),f=(0,a.useMemo)((()=>m?a.createElement(Z.s,null,m):null),[e,t]);var p;return a.createElement(Y,{label:f},a.createElement(a.Fragment,null,a.createElement("span",{className:d},null!==(p=t[`${e.name}-name`])&&void 0!==p?p:e.name),o&&a.createElement(I,{asterisk:!0})))},Q=({prop:e,overrides:t})=>{var r;const n=null!==(r=t[`${e.name}-type`])&&void 0!==r?r:e.type.name,l=n.split(" | "),o=l.length>1,c=l.some((e=>e.length>20)),i=/`/.test(n);return a.createElement(a.Fragment,null,i?a.createElement(Z.s,null,n):c&&o?a.createElement(a.Fragment,null,l.map(((e,t)=>a.createElement("code",{className:"max-w-xs h-min",key:t},a.createElement(Z.s,null,e))))):a.createElement("code",{className:"max-w-xs h-min"},a.createElement(Z.s,null,n)))},K=({prop:e,overrides:t})=>{var r,n;return a.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)},X=({prop:e,overrides:t})=>{var r,n,l,o;const c=null===(r=e.tags)||void 0===r?void 0:r.default,i=(null===(n=e.defaultValue)||void 0===n?void 0:n.value)&&(null===(l=e.defaultValue)||void 0===l?void 0:l.value)!==c?null===(o=e.defaultValue)||void 0===o?void 0:o.value:void 0,s=t[`${e.name}-default`];return c||s?a.createElement(Z.s,null,null!=s?s:c):a.createElement("div",{className:"flex flex-wrap gap-1"},void 0!==i?a.createElement("code",{className:"max-w-xs h-min"},a.createElement(Z.s,null,i)):null)},ee=({prop:e,overrides:t})=>a.createElement("td",null,a.createElement("div",{className:"flex items-center"},a.createElement(J,{prop:e,overrides:t}))),te=({prop:e,overrides:t})=>a.createElement("td",{className:"props-table__type-cell"},a.createElement("div",{className:"flex flex-wrap gap-1"},a.createElement(Q,{prop:e,overrides:t}))),re=({prop:e,overrides:t})=>a.createElement("td",{className:"props-table__description-cell"},a.createElement(K,{prop:e,overrides:t})),ne=({prop:e,overrides:t})=>a.createElement("td",{className:"props-table__default-value-cell"},a.createElement(X,{prop:e,overrides:t})),ae=e=>{var{module:t,hideDefaults:n,children:l}=e,o=q(e,["module","hideDefaults","children"]);const c=((e,t="@refinedev/")=>{const[n,l]=(0,a.useState)(null);return(0,a.useEffect)((()=>{let n=!1;return r(6324)(`./${e.startsWith(t)?e:`${t}${e}`}.json`).then((e=>{n||(n=!0,l(e.default))})).catch(console.warn),()=>{n=!0}}),[e]),n})(t),i=(0,a.useMemo)((()=>{var e;if(n)return!1;if(Object.keys(o).some((e=>e.endsWith("-default"))))return!1;var t;return!Object.values(null!==(t=null===(e=c)||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}))}),[o]);if(!c)return null;const s=[...Object.values(c.props)];return a.createElement("div",{className:"table-container"},a.createElement("table",{className:"props-table"},a.createElement("thead",null,a.createElement("tr",null,a.createElement("th",null,"Property"),a.createElement("th",null,"Type"),a.createElement("th",null,"Description"),i?null:a.createElement("th",null,"Default"))),a.createElement("tbody",null,s.map((e=>o[`${e.name}-hidden`]?null:a.createElement("tr",{key:e.name},a.createElement(ee,{prop:e,overrides:o}),a.createElement(te,{prop:e,overrides:o}),a.createElement(re,{prop:e,overrides:o}),i?null:a.createElement(ne,{prop:e,overrides:o})))))),l)};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 oe=e=>a.createElement("svg",function(e){for(var t=1;t{const{current:r}=(0,ce.U)();return e&&r===e?a.createElement(a.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 me(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 de=e=>{var t;const r=a.Children.toArray(e.children),n=r.find((e=>a.isValidElement(e)&&"summary"===(null===(t=e.props)||void 0===t?void 0:t.mdxType))),o=a.createElement(a.Fragment,null,r.filter((e=>e!==n)));return a.createElement(se.S,me(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 be=e=>{var{children:t,className:r}=e,n=ge(e,["children","className"]);return a.createElement("summary",function(e){for(var t=1;t{const t=e.currentTarget,a=s.indexOf(t),l=o[a].value;l!==r&&(u(t),n(l))},d=e=>{var t,r;let n=null;switch(e.key){case"Enter":m(e);break;case"ArrowRight":{const t=s.indexOf(e.currentTarget)+1;var a;n=null!==(a=s[t])&&void 0!==a?a:s[0];break}case"ArrowLeft":{const t=s.indexOf(e.currentTarget)-1;var l;n=null!==(l=s[t])&&void 0!==l?l:s[s.length-1];break}}null===(r=n)||void 0===r||null===(t=r.focus)||void 0===t||t.call(r)};return a.createElement("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,l.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",!c&&"rounded-bl-lg rounded-br-lg","items-stretch")},o.map((({value:e,label:t,attributes:n})=>a.createElement("li",Oe(xe({role:"tab",tabIndex:r===e?0:-1,"aria-selected":r===e,key:e,ref:e=>s.push(e),onKeyDown:d,onClick:m},n),{className:(0,l.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 ke({lazy:e,children:t,selectedValue:r,smallTabs:n}){const o=(Array.isArray(t)?t:[t]).filter(Boolean);if(e){const e=o.find((e=>e.props.value===r));return e?(0,a.cloneElement)(e,{className:"margin-top--md refine-tab-content"}):null}var c;return a.createElement("div",{className:"p-4"},o.map(((e,t)=>(0,a.cloneElement)(e,{key:t,hidden:e.props.value!==r,className:(0,l.c)(null!==(c=e.props.className)&&void 0!==c?c:[],"refine-tab-content")}))))}function je(e){const t=(0,he.a)(e),{wrapContent:r=!0}=e;return a.createElement("div",{className:(0,l.c)("tabs-container","rounded-lg","border-gray-300 dark:border-gray-700",r?"border":"border-0","mb-6","refine-wider-container")},a.createElement(Ee,xe({},e,t)),a.createElement(ke,xe({},e,t)))}function Pe(e){const t=(0,ve.c)();return a.createElement(je,xe({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,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}var Se=r(4472),De=r(4896),Me=r(1488),Ae=r(8620),Le=r(6076),Re=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 Te=e=>a.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;t{var t,r;const[n,o]=(0,a.useState)(!1),{refs:c,floatingStyles:i,context:s}=(0,Se.gR)({placement:"bottom-start",open:e.isOpen,onOpenChange:e.onOpenChange,whileElementsMounted:De.kN,middleware:[(0,Me.E3)((({middlewareData:e})=>{var t;return(null===(t=e)||void 0===t?void 0:t.flip)?{mainAxis:12}:{mainAxis:52}})),(0,De.EB)((({placement:e})=>(e.includes("bottom")&&o(!1),e.includes("top")&&o(!0),{fallbackPlacements:["top-start"]})))]}),u=(0,Se.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:m,getFloatingProps:d}=(0,Se.M3)([u]);return a.createElement(a.Fragment,null,a.createElement("div",We(Ge({ref:c.setReference},m()),{style:{position:"absolute",top:"0",left:0}})),a.createElement(Ae.I,null,s.open&&a.createElement(Le.q.div,We(Ge({initial:{opacity:0},animate:{opacity:1,transition:{duration:.2}},exit:{opacity:0},ref:c.setFloating,style:i},d()),{className:(0,l.c)("w-[320px]","bg-[#EAEBEF] dark:bg-refine-react-dark-code","border border-[#E3E4E5] dark:border-[#343A46]","rounded-[20px]","relative")}),e.children,a.createElement(qe,{style:Ge({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)}))))},qe=e=>{const{colorMode:t}=(0,Re.U)(),r="dark"===t;return a.createElement("svg",Ge({xmlns:"http://www.w3.org/2000/svg",width:42,height:18,viewBox:"0 0 42 18",fill:"none"},e),a.createElement("title",null,"Popover Pointer"),a.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"}),a.createElement("defs",null,a.createElement("linearGradient",{id:"a",x1:21,x2:21,y1:1,y2:16,gradientUnits:"userSpaceOnUse"},a.createElement("stop",{offset:.59,stopColor:r?"#343A46":"#E3E4E5"}),a.createElement("stop",{offset:.602,stopColor:r?"#343A46":"#E3E4E5",stopOpacity:0}))))},Je={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 Ke(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 Xe;var et=r(7500),tt=r(9104);var rt=r(9092);var nt=r(5560);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}function lt(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 ot(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ct=(it=function(e){for(var t=1;t{var{className:t}=e,r=Ne(e,["className"]);return a.createElement("blockquote",function(e){for(var t=1;tf===d.length?a.createElement(m.c,null,(()=>a.createElement(u,null))):a.createElement(m.c,null,(()=>a.createElement(s,d[f]))),GuideBadge:({id:e,description:t="Please check the guide for more information on this topic.",text:r})=>a.createElement(H,{id:e,color:"green",icon:a.createElement($,null),text:r,description:a.createElement(a.Fragment,null,a.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Check the guide"),a.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})=>a.createElement(H,{id:e,color:"orange",text:r,icon:a.createElement(oe,null),description:a.createElement(a.Fragment,null,a.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Router Integrated"),a.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})=>a.createElement(H,{color:"purple",icon:a.createElement(F,null),text:r,id:e,description:a.createElement(a.Fragment,null,a.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Globally Configurable"),a.createElement("div",{className:"text-xs"},t))}),Image:e=>a.createElement("img",Ke(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 a.createElement(Pe,null,a.createElement(tt.c,{value:"npm",label:"npm",default:!0},a.createElement(C.s,{className:"language-bash"},r.npm)),a.createElement(tt.c,{value:"pnpm",label:"pnpm"},a.createElement(C.s,{className:"language-bash"},r.pnpm)),a.createElement(tt.c,{value:"yarn",label:"yarn"},a.createElement(C.s,{className:"language-bash"},r.yarn),a.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 a.createElement(Pe,null,a.createElement(tt.c,{value:"npm",label:"npm",default:!0},a.createElement(C.s,{className:"language-bash"},r.npm),t),a.createElement(tt.c,{value:"pnpm",label:"pnpm"},a.createElement(C.s,{className:"language-bash"},r.pnpm),t),a.createElement(tt.c,{value:"yarn",label:"yarn"},a.createElement(C.s,{className:"language-bash"},r.yarn),t))},FullTable:et.Ih,TutorialConditional:({parameter:e,value:t,children:r})=>{var n;const{parameters:l}=(0,rt.iC)();return(null===(n=l)||void 0===n?void 0:n[e])===t?a.createElement(a.Fragment,null,r):null},VideoInView:e=>{const t=a.useRef(null),r=(0,nt.c)(t);return a.useEffect((()=>{var e,n,a,l;r?null===(n=t.current)||void 0===n||null===(e=n.play)||void 0===e||e.call(n):null===(l=t.current)||void 0===l||null===(a=l.pause)||void 0===a||a.call(l)}),[r]),a.createElement("video",lt(function(e){for(var t=1;t{var e,r,n,a,l;(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===(l=t.current)||void 0===l||null===(a=l.pause)||void 0===a||a.call(l)},className:(0,l.c)(e.className,"w-full","h-auto","max-w-full","max-h-full","rounded-xl","object-contain")}))},DocThumbsUpDownFeedbackWidget:e=>{const t=(0,Ue.IT)(),[r,n]=(0,a.useState)(""),[o,c]=(0,a.useState)(null),[i,s]=(0,a.useState)(!1),[u,m]=(0,a.useState)(!1),d=i||u,{survey:f,createSurvey:p,updateSurvey:g}=(e=>{const[t,r]=(0,a.useState)(null),n=Ie[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 a=await t.json();return a?(r(a),a):void 0},updateSurvey:async({surveyId:e,body:t})=>{const a=await fetch(`${n}/responses/${e}`,{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(!a.ok)return null;const l=await a.json();return l?(r(l),l):void 0}}})({type:Ve.THUMBS}),b=async r=>{c(r),s(!0),f?await g({surveyId:f.id,body:{response:r}}):await p({body:{response:r,entityId:t.pathname,metaData:{sectionId:e.id}}})};return a.createElement("div",{className:"group"},e.children,a.createElement("div",{className:(0,l.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",!d&&"opacity-0","group-hover:opacity-100")},a.createElement("div",{className:(0,l.c)("text-xs","whitespace-nowrap","text-[#23272F] dark:text-[#E3E4E5]")},"Was this helpful?"),a.createElement("div",{className:(0,l.c)("flex","items-center","gap-1","widget-actions")},a.createElement("button",{type:"button",onClick:()=>b(Je.UP),className:(0,l.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===o&&"text-green-500 bg-green-500/20")},a.createElement(Te,null)),a.createElement("button",{type:"button",onClick:()=>b(Je.DOWN),className:(0,l.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===o&&"text-red-500 bg-red-500/20")},a.createElement(He,null))),a.createElement(Ye,{isOpen:d,onOpenChange:e=>{u||e||(s(!1),m(!1))},arrowStyle:{right:1===o?"150px":"115px"}},!u&&a.createElement("form",{className:(0,l.c)("flex flex-col","p-2"),onSubmit:e=>{e.preventDefault(),(async()=>{const e=r.trim();e&&(await g({surveyId:f.id,body:{response:o,responseText:e}}),m(!0),setTimeout((()=>{s(!1),m(!1)}),2e3))})()}},a.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,l.c)("w-full","bg-white dark:bg-[#343A46]","text-[#23272F] dark:text-[#E3E4E5]","resize-none","rounded-xl","text-xs","py-2 px-3")}),a.createElement("button",{type:"submit",className:(0,l.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&&a.createElement("div",{className:(0,l.c)("flex items-center","p-4","text-xs","text-gray-500")},a.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:()=>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)}},6992:(e,t,r)=>{"use strict";r.d(t,{c:()=>k});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 u=r(4971);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,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 f=e=>n.createElement("svg",d(function(e){for(var t=1;t(n.useEffect((()=>(e.open?document.body.style.overflow="hidden":document.body.style.overflow="auto",()=>{document.body.style.overflow="auto"})),[e.open]),n.createElement(h.c,null,(()=>(0,b.createPortal)(n.createElement(w,e),document.body)))),w=({children:e,title:t,open:r,onClose:a,variant:l})=>{const[o,c]=n.useState(48),{scrollY:i}=(0,y.Q)(),s=n.useRef(null);var m,d;return m=s,d=e=>{e.stopPropagation(),a()},n.useEffect((()=>{const e=e=>{m.current&&!m.current.contains(e.target)&&(e.preventDefault(),d(e))};return document.addEventListener("click",e,!0),()=>{document.removeEventListener("click",e,!0)}}),[m]),((e,t,r)=>{n.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])})(s,["Escape"],(()=>{a()})),n.useEffect((()=>{const e=i.onChange((e=>{c(e>=48?0:48-e)}));return()=>e()}),[]),n.createElement("div",{style:{top:o},className:(0,u.c)("fixed","right-0 bottom-0","z-modal",!r&&"pointer-events-none")},n.createElement(g.O,{ref:s,as:"div",className:(0,u.c)("z-modal","flex flex-col","w-[240px] h-full","ml-auto","p-4","blog"===l&&"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"},n.createElement("div",{className:(0,u.c)("flex","items-center","justify-between","mb-10","dark:text-gray-300 text-gray-900")},n.createElement("h3",{className:(0,u.c)("text-base","font-semibold")},t),n.createElement("button",{type:"button",className:(0,u.c)("appearance-none"),onClick:a},n.createElement(p.O,null))),n.createElement("div",{className:(0,u.c)("overflow-auto h-full")},e)))};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}function O(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(j,{collapsed:r,tags:o,className:(0,u.c)("hidden blog-lg:flex",t),onShowMoreClick:e=>a(e)}),n.createElement(P,{tags:o,className:(0,u.c)("block blog-lg:hidden",t)}))}const j=({tags:e,collapsed:t,className:r,onShowMoreClick:l})=>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(a.c,E(O({},e),{label:N(e.label)})))))),n.createElement("button",{type:"button",onClick:()=>l(!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(C,{className:(0,u.c)("opacity-30","transition-transform duration-200 ease-in-out",{"rotate-180 transform":!t})}))),P=({tags:e,className:t})=>{const[r,l]=n.useState(!1);return n.createElement(n.Fragment,null,n.createElement("div",{className:(0,u.c)(t)},n.createElement("button",{type:"button",onClick:()=>l(!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,null),n.createElement("div",null,"Filter Tags"))),n.createElement(v,{onClose:()=>l(!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(a.c,E(O({},e),{label:N(e.label),variant:"inverted",size:"medium"}))))))))},C=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"})),N=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)}},2876:(e,t,r)=>{"use strict";r.d(t,{U:()=>n});const n=()=>{var e,t;return null===(t=window.open("https://s.refine.dev/refine-brand-assets","_blank"))||void 0===t||null===(e=t.focus)||void 0===e?void 0:e.call(t)}}}]); \ 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 a(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],a=t[0];return r.e(t[1]).then((()=>r.t(a,19)))}a.keys=()=>Object.keys(n),a.id=6324,e.exports=a},6280:(e,t,r)=>{"use strict";r.d(t,{c:()=>u});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 u(){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)=>{"use strict";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)=>{"use strict";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}},3688:(e,t,r)=>{"use strict";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)=>{"use strict";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))}},4752:(e,t,r)=>{"use strict";r.d(t,{c:()=>l});var n=r(1504),a=r(9184);const l=()=>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(a.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")))},68:(e,t,r)=>{"use strict";r.d(t,{c:()=>u});var n=r(1504),a=r(9184);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 o=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const[e,t]=n.useState(0);return n.useEffect((()=>{(async()=>{const e=await fetch(`https://api.github.com/repos/pankod/refine?access_token=${s}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`token ${s}`}}),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(a.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(i,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(o,{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:()=>C,cN:()=>P,CS:()=>u,E$:()=>D,us:()=>S});var n=r(1504),a=r(9184),l=r(468),o=r(3270),c=r(1904),i=r(4971);const s=()=>{var e,t;const{metadata:r}=(0,l.g)(),{permalink:s,title:u,date:m,formattedDate:d,frontMatter:f,description:p,tags:g}=r,b=r.authors[0];return n.createElement(o.c,null,n.createElement(a.c,{itemProp:"url",to:s,className:(0,i.c)("block","w-full h-auto","aspect-[592/334]")},n.createElement("div",{className:(0,i.c)("not-prose relative m-0 hover:brightness-90","h-full w-full")},n.createElement("img",{src:`${f.image}?h=256`,alt:u,className:(0,i.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,i.c)("flex flex-wrap items-center","mb-6","gap-2")},g.map((e=>n.createElement(a.c,{className:(0,i.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:s,className:"no-underline hover:no-underline",rel:"noopener dofollow"},n.createElement("div",{className:(0,i.c)("mb-4","text-gray-700 dark:text-refine-react-3","text-xl","font-lg","font-bold")},u)),n.createElement("div",{className:(0,i.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(a.c,{href:`/blog/author/${null===(e=b)||void 0===e?void 0:e.key}`,itemProp:"url",className:(0,i.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,i.c)("h-[4px] w-[4px] rounded-full","bg-gray-600 dark:bg-gray-500")}),n.createElement("span",{className:(0,i.c)("text-gray-600 dark:text-gray-500","text-xs","leading-6","no-underline")},n.createElement(c.iI,{date:m,formattedDate:d})))))},u=({items:e})=>n.createElement("div",null,n.createElement("div",{className:(0,i.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,i.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-cyan-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(l.E,{key:e.metadata.permalink,content:e},n.createElement(s,null)))))));var m=r(2656),d=r(56),f=r(9936),p=r(7760),g=r(6224),b=r(3784),y=r(4776),h=r(2788),v=r(8368);const w=(0,v.c)("telegram",(function(e,t){var r=t.title;return(0,y.c)(e,"telegram.url"),"https://telegram.me/share/url"+(0,h.c)({url:e,text:r})}),(function(e){return{title:e.title}}),{windowWidth:550,windowHeight:400});var x=r(2544);const O=(0,x.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,y.c)(e,"facebook.url"),"https://www.facebook.com/sharer/sharer.php"+(0,h.c)({u:e,quote:r,hashtag:n})}),(function(e){return{quote:e.quote,hashtag:e.hashtag}}),{windowWidth:550,windowHeight:400});const k=(0,x.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 j=r(2460);const P=({children:e})=>{var t,r,s,u,y,h;const{metadata:v,isBlogPostPage:x}=(0,l.g)(),{permalink:P,title:C,date:N,formattedDate:S,readingTime:D,frontMatter:M,tags:A,description:L,authors:R}=v,Z=R[0],{siteConfig:{url:T}}=(0,f.c)();return n.createElement(o.c,{className:(0,i.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,i.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,i.c)("text-refine-react-5 dark:text-refine-react-4","text-sm no-underline","flex","items-center","gap-2")},n.createElement(j.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:T+P,title:C,source:T,summary:L,hashtags:A.map((e=>e.label)),className:"flex"},n.createElement(g.c,{size:26,round:!0})),n.createElement(b.c,{windowWidth:750,windowHeight:800,url:T+P,title:C,hashtags:A.map((e=>e.label)),className:"flex"},n.createElement(j.mk,{width:26,height:26})),n.createElement(w,{windowWidth:750,windowHeight:800,url:T+P,title:C,hashtags:A.map((e=>e.label)),className:"flex"},n.createElement(O,{size:26,round:!0})),n.createElement(E,{windowWidth:750,windowHeight:800,url:T+P,title:C,hashtags:A.map((e=>e.label)),className:"flex"},n.createElement(k,{size:26,round:!0})))),n.createElement("div",{className:"not-prose"},n.createElement("img",{className:"w-full rounded-xl aspect-[894/468]",src:`${M.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,i.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=Z)||void 0===t?void 0:t.key}`,itemProp:"url"},n.createElement("img",{src:null===(r=Z)||void 0===r?void 0:r.imageURL,alt:null===(s=Z)||void 0===s?void 0:s.name,loading:"lazy",className:"flex h-[32px] w-[32px] rounded-full object-cover"})),n.createElement(a.c,{to:`/blog/author/${null===(u=Z)||void 0===u?void 0:u.key}`,itemProp:"url",className:(0,i.c)("flex-1","text-gray-900 dark:text-gray-200","text-sm","no-underline","hover:no-underline")},null===(y=Z)||void 0===y?void 0:y.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===(h=Z)||void 0===h?void 0:h.title)),n.createElement("div",{className:"flex items-center gap-2 text-gray-600 dark:text-gray-400"},n.createElement(c.iI,{date:N,formattedDate:S}),void 0!==D&&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(c.S_,{readingTime:D}))))),n.createElement("h1",{className:"text-xl md:text-4xl",itemProp:"headline"},x?C:n.createElement(a.c,{itemProp:"url",to:P},C)),n.createElement("div",{id:m.blogPostContainerID,className:"markdown",itemProp:"articleBody"},n.createElement(d.c,null,e))))},C=({author:e,className:t})=>n.createElement(N,{author:e,className:t}),N=({author:e})=>{var t,r,l,o,c,s,u,m,d,f,p;const g=e.github||e.twitter||e.linkedin;return n.createElement("div",{className:(0,i.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,i.c)("flex","justify-between","items-center")},n.createElement("div",{className:(0,i.c)("w-full","flex items-center justify-between flex-wrap")},n.createElement("div",{className:(0,i.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===(l=e)||void 0===l?void 0:l.name,loading:"lazy",className:(0,i.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,i.c)("not-prose flex flex-col justify-between")},n.createElement("h1",{className:(0,i.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===(o=e)||void 0===o?void 0:o.name),n.createElement("div",{className:(0,i.c)("text-xs sm:text-base","text-gray-600 dark:text-gray-400")},null===(c=e)||void 0===c?void 0:c.title))),g&&n.createElement("div",{className:"flex justify-center gap-3"},(null===(s=e)||void 0===s?void 0:s.github)&&n.createElement(a.c,{to:null===(u=e)||void 0===u?void 0:u.github},n.createElement(j.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(j.mk,{className:"h-6 w-6"})),(null===(f=e)||void 0===f?void 0:f.linkedin)&&n.createElement(a.c,{to:null===(p=e)||void 0===p?void 0:p.linkedin},n.createElement(j.wd,{className:"h-6 w-6"}))))),n.createElement("div",{className:"border-b border-gray-200 dark:border-gray-700 mb-8"}))};r(4752),r(68),r(5524);const S=()=>{const{metadata:e}=(0,l.g)();return n.createElement("div",{className:"flex flex-wrap gap-2"},e.tags.map((e=>n.createElement(a.c,{to:e.permalink,className:(0,i.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))))},D=({posts:e,title:t})=>{var r,l,o;return e.length<1?null:n.createElement("div",{className:(0,i.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,i.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,i.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,i.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===(l=e.authors[0])||void 0===l?void 0:l.name),n.createElement("span",{className:"h-[4px] w-[4px] rounded-full bg-gray-600 dark:bg-gray-500"}),n.createElement(c.iI,{date:e.date,formattedDate:e.formattedDate}))))))))}},5524:(e,t,r)=>{"use strict";r.d(t,{c:()=>l});var n=r(1504),a=r(9184);const l=({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(a.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"))))},3740:(e,t,r)=>{"use strict";r.d(t,{q:()=>o,y:()=>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 l="tutorial-checklist-store",o=n.createContext({store:{},toggle:()=>{}}),c=({children:e})=>{const[t,r]=n.useState((()=>{if("undefined"!=typeof window){const t=localStorage.getItem(l);if(t)try{const e=JSON.parse(t);if("object"==typeof e)return e}catch(e){return{}}}return{}})),c=n.useCallback(((e,t,n)=>{r((r=>{const l=function(e){for(var t=1;t{"undefined"!=typeof window&&localStorage.setItem(l,JSON.stringify(t))}),[t]),n.createElement(o.Provider,{value:{store:t,toggle:c}},e)}},5448:(e,t,r)=>{"use strict";r.d(t,{g5:()=>i,mk:()=>s,sH:()=>l});var n=r(1504),a=r(2288);const l=["headless","antd","chakra-ui","mantine","mui"],o=e=>{if(l.includes(e))return e},c="tutorial-preferred-ui-package",i=n.createContext({preferred:"headless",current:void 0,setPreferred:()=>{}}),s=({children:e})=>{const{metadata:t}=(0,a.G)(),r=(e=>{const t=e.match(/\/(headless|antd|chakra-ui|mantine|mui)\//);if(t&&o(t[1]))return t[1]})(t.id),[l,s]=n.useState("headless");n.useEffect((()=>{if("undefined"!=typeof window){const e=localStorage.getItem(c),t=o(e);t&&s(t)}}),[]);const u=e=>{o(e)&&("undefined"!=typeof window&&localStorage.setItem(c,e),s(e))};return n.useEffect((()=>{r&&r!==l&&u(r)}),[r,l]),n.createElement(i.Provider,{value:{preferred:l,setPreferred:u,current:r||l}},e)}},9092:(e,t,r)=>{"use strict";r.d(t,{WO:()=>d,iC:()=>f});var n=r(1504),a=r(640),l=r(2064);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){for(var t=1;t0}),s="tutorial-parameters",u=(e,t)=>{for(const r of t)if(e.includes(`/${r.value}`))return r.value},m=()=>{const{pathname:e}=(0,a.IT)();return n.useMemo((()=>(e=>{const t={};for(const[r,n]of Object.entries(l.Sm.parameterOptions)){const a=u(e,n);a&&(t[r]=a)}return t})(e)),[e])},d=({children:e})=>{const[t,r]=n.useState(void 0),[a,o]=n.useState(!1),u=m(),d=n.useCallback((e=>{r((t=>{try{localStorage.setItem(s,JSON.stringify(c({},t,e)))}catch(r){console.error(r)}return c({},t,e)}))}),[]);return n.useEffect((()=>{try{const e=localStorage.getItem(s);d(e?c({},l.Sm.defaultParameters,JSON.parse(e),u):c({},l.Sm.defaultParameters,u))}catch(e){d(c({},l.Sm.defaultParameters,u))}o(!0)}),[]),n.createElement(i.Provider,{value:{parameters:t,setParameters:d,settled:a,options:l.Sm.parameterOptions}},e)},f=()=>n.useContext(i)},3376:(e,t,r)=>{"use strict";r.d(t,{U:()=>p});var n=r(2288),a=r(1688),l=(r(1504),r(3908));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){for(var t=1;t{var e,t,r,o;const m=(0,n.G)(),{docs:p}=(0,a.E)(),{frontMatter:g,metadata:{id:b}}=m,{tutorial:{units:y}}=(0,u.e)(),{current:h}=(0,l.U)(),v=e=>{const t=e.id.split("/"),r=s.sH.filter((e=>e!==h));return!t.find((e=>r.includes(e)))},w=!!(null===(e=g)||void 0===e?void 0:e.tutorial),x=b.split("/")[1],O=function({frontMatter:e}){const{docs:t}=(0,a.E)(),{current:r}=(0,l.U)(),n=e=>{if(e.includes("{preferredUI}")||r)return e.replace("{preferredUI}",r)},o=e=>"/docs/"+e,{tutorial:s}=e,{next:u,prev:m}=null!=s?s:{},d=u?n(u):void 0,f=t[m?n(m):void 0],p=t[d];return{previous:f?i(c({},f),{permalink:o(f.id)}):void 0,next:p?i(c({},p),{permalink:o(p.id)}):void 0}}(m),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}),{}),k=Object.entries(E).map((([e,r])=>f(d({unit:e,no:null===(t=y[e])||void 0===t?void 0:t.no,title:y[e].label},e===x&&w&&{current:!0}),{docs:r.map((e=>d({},e,e.id===b&&w&&{current:!0}))).filter(v)}))).sort(((e,t)=>(null===(r=e)||void 0===r?void 0:r.no)-(null===(o=t)||void 0===o?void 0:o.no)));return w?{id:b,isTutorial:w,unit:x,pagination:O,units:k}:void 0}},5560:(e,t,r)=>{"use strict";r.d(t,{c:()=>a});var n=r(1504);const a=(e,t="0px")=>{const[r,a]=n.useState(!1);return n.useEffect((()=>{var r;const n=null===(r=e)||void 0===r?void 0:r.current,l=new IntersectionObserver((([e])=>{a(e.isIntersecting)}),{rootMargin:t});return n&&l.observe(n),()=>{n&&l.unobserve(n)}}),[]),r}},8840:(e,t,r)=>{"use strict";r.d(t,{ot:()=>s,GC:()=>u});var n=r(1504);const a={items:[]};var l=r(3740);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){for(var t=1;tt.filter((t=>t.unit===e));function u(){const{store:e,toggle:t}=n.useContext(l.q);return{items:n.useMemo((()=>{var t,r,n,l;return null!==(l=null===(n=a)||void 0===n||null===(t=(r=n.items).map)||void 0===t?void 0:t.call(r,(t=>{const{id:r}=t;return i(c({},t),{checklist:t.checklist.map((t=>{var n;return i(c({},t),{checked:null!==(n=e[r]?.[t.id])&&void 0!==n&&n})})).sort(((e,t)=>e.index-t.index))})})))&&void 0!==l?l:[]}),[e]),toggle:t}}},380:(e,t,r)=>{"use strict";r.d(t,{e:()=>a});var n=r(9936);r(1504);const a=()=>{const{siteConfig:{customFields:e}}=(0,n.c)(),{tutorial:t}=e;return t}},3908:(e,t,r)=>{"use strict";r.d(t,{U:()=>l});var n=r(1504),a=r(5448);const l=()=>n.useContext(a.g5)},3680:(e,t,r)=>{"use strict";r.d(t,{u:()=>l});var n=r(1504),a=r(8564);const l=e=>n.createElement(a.E,e)},6968:(e,t,r)=>{"use strict";r.d(t,{m:()=>W});var n=r(9184),a=r(4971),l=r(4332),o=r(344),c=r(6076),i=r(1504),s=r(1980),u=r(8804),m=r(2876),d=r(3480);const f=[{isPopover:!0,label:"Docs",items:[{label:"DSA Docs",description:"Learning DSA in C++, Python & Java",link:"/docs",icon:d.uI},{label:"Web Tech Docs",description:"Learn HTML, CSS, JavaScript",link:"/docs/2.Web.Dev",icon:d.Af}]},{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}],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,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),y=r(5224),h=r(2424),v=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(y._,{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(y._.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(v.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(y._.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))))))},x=({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(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,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(p,{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://twitter.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(p,{key:t.label,item:t,variant:e}))))):i.createElement(g,{key:`navbar-${t.label}`,item:t,variant:e}))));var O=r(2276),E=r(7008),k=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 C=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),u=null!=r?r:n.c,m=void 0!==l&&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(T,{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(H,{className:(0,a.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(h.O,{appear:!0,show:e,as:i.Fragment},i.createElement(O.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(A.Q,null),i.createElement("div",{className:(0,a.c)("flex items-center justify-between","p-4","landing-sm:px-8")},i.createElement(u.m,{className:"dark:text-gray-0 text-gray-900",onContextMenu:m.U}),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(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,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(p,{key:e.label,item:e})))))})),i.createElement(_,null),i.createElement(F,{id:"tablet"}),i.createElement(V,{id:"tablet"})),H=e=>i.createElement("div",{className:(0,a.c)(e.className)},i.createElement("div",{className:"flex-grow"},f.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,a.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(M,{key:`modal-${e.label}`,label:e.label,href:e.href,icon:e.icon})))),i.createElement(_,null),i.createElement(F,{id:"phone"}),i.createElement(V,{id:"phone"})),V=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://twitter.com/akashsingh3031"},i.createElement(d.CC,{className:"h-10 w-10"}))))},_=()=>{const{colorMode:e,setColorMode:t}=(0,k.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(R.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(L.g,null),"Dark"))};var $=r(9253),I=r(2700),U=r(5792),z=r(6936);const G=()=>{const{loading:e,githubStarCountText:t}=(0,I.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(U.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)))},W=({trackProgress:e,variant:t="landing",className:r})=>{const[d,f]=(0,i.useState)(!1),{scrollYProgress:p}=(0,l.Q)(),g=(0,o.s)(p,[.03,.95],["0%","100%"]);return i.createElement(i.Fragment,null,i.createElement(A.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:"/",onContextMenu:m.U},i.createElement(u.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(x,{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(Z,{isModalOpen:d,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}}))))}},7500:(e,t,r)=>{"use strict";r.d(t,{Ih:()=>c,oJ:()=>o,yg:()=>l});var n=r(4971),a=r(1504);const l="preferred-full-table-width",o=e=>a.createElement("div",{className:(0,n.c)("table-container")},a.createElement("table",e)),c=({children:e})=>a.createElement("div",{className:"table-full-width"},e)},9253:(e,t,r)=>{"use strict";r.d(t,{C:()=>i,O:()=>u});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"}],u=({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)=>{"use strict";r.d(t,{o0:()=>p,yw:()=>d,wd:()=>f,AR:()=>g});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 u=r(3480),m=r(4252);const d=[{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(m.i,null),href:"https://prepverse.github.io/CodePoint"},{label:"LeetVerse",icon:n.createElement(m.i,null),href:"https://prepverse.github.io/LeetVerse"}]},{label:"About",items:[{label:"About Me",href:"/AkashSingh3031"},{label:"Portfolio",icon:n.createElement(m.i,null),href:"https://prepverse.github.io/portfolio"}]}],f=[{label:"License",href:"https://github.com/PrepVerse/prepverse.github.io/blob/master/LICENSE"}],p="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{"use strict";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{"use strict";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{"use strict";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{"use strict";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{"use strict";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)=>{"use strict";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{"use strict";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{"use strict";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{"use strict";r.d(t,{s1:()=>z,wR:()=>L,QD:()=>M,vn:()=>J,kv:()=>f,uI:()=>l,Af:()=>c,A9:()=>E,_2:()=>x,Ew:()=>g,Yf:()=>C,oh:()=>s,Ed:()=>j,BE:()=>y,KU:()=>Y,WR:()=>$,w9:()=>m,CC:()=>S,oz:()=>Z,C3:()=>v});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;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",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||(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 $=e=>{var{variant:t="landing"}=e,r=_(e,["variant"]);return n.createElement("svg",F(function(e){for(var t=1;tn.createElement("svg",U(function(e){for(var t=1;t{const{colorMode:t}=(0,G.U)();return n.createElement("div",{className:(0,H.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,H.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;tn.createElement("svg",function(e){for(var t=1;t{"use strict";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{"use strict";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{"use strict";r.d(t,{o:()=>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{"use strict";r.d(t,{E:()=>f});var n=r(4971),a=r(1504),l=r(9184),o=r(2876),c=r(7708),i=r(204),s=r(8804);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(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")},"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")},c.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:"/",onContextMenu:o.U,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(s.m,null)),a.createElement("a",{href:"https://github.com/sponsors/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,n.c)("hover:no-underline")},a.createElement("iframe",{src:"https://github.com/sponsors/AkashSingh3031/button",title:"Sponsor AkashSingh3031",height:"32",width:"114"}))),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")},c.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),c.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(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")}),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")},c.wd.map((t=>a.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)))),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(i.Q,{className:"text-refine-red ml-2 inline leading-6"}),a.createElement("br",null),"Built with Docusaurus & Refine.")))))}},6192:(e,t,r)=>{"use strict";r.d(t,{D:()=>m});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 m=e=>{var{children:t,href:r,className:o,onClick:m,buttonClassname:d}=e,f=u(e,["children","href","className","onClick","buttonClassname"]);const p=r?l.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),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)=>{"use strict";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(u,{style:{animationDelay:"1.5s"},className:(0,n.c)("absolute","top-[2px]","right-[220px]"),id:"1"}),a.createElement(u,{style:{animationDelay:"1s"},className:(0,n.c)("absolute","rotate-180","top-[8px] right-[100px]"),id:"2"}),a.createElement(m,{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(u,{style:{animationDelay:"2s"},className:(0,n.c)("absolute","rotate-180","top-[6px] right-[180px]"),id:"4"}),a.createElement(u,{style:{animationDelay:"0.5s"},className:(0,n.c)("delay-[1300]","absolute","top-[2px]","right-[40px]"),id:"5"}),a.createElement(m,{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"),".")),u=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})))),m=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}))))},2064:(e,t,r)=>{"use strict";r.d(t,{ED:()=>i,Ip:()=>s,_i:()=>d,Mx:()=>u,iG:()=>f,Yv:()=>c,Sm:()=>o,G_:()=>m});var n=r(2411);const a=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 l=r(1688);const o=a,c=(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 o.units)for(const n of r.items)if(e===c(n,t))return r},s=(e,t)=>{let r=!1;for(const n of o.units)for(const a of n.items){if(r)return a;c(a,t)===e&&(r=!0)}},u=(e,t)=>{let r=null;for(const n of o.units)for(const a of n.items){if(c(a,t)===e)return r;r=a}},m=()=>{const{docs:e}=(0,l.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])))},d=(e,t)=>{const r=t[e];if(!r)throw new Error(`Cannot find item with id ${e}`);return r.path},f=(e,t)=>{const r=t[e];if(!r)throw new Error(`Cannot find doc with id ${e}`);return r.title}},3732:(e,t,r)=>{"use strict";r.d(t,{c:()=>P});var n=r(1504),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}const o=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;t{var l;const o=null!==(l=f[e])&&void 0!==l?l:()=>null;var c;const i=null!==(c=p[e])&&void 0!==c?c:"tex-inherit";var s;const u=null!==(s=g[e])&&void 0!==s?s:"bg-inherit";return"simple"===e?n.createElement(h,{type:e,title:t},r):n.createElement("div",{className:(0,a.c)("rounded-lg","admonition",`admonition-${e}`,"mb-6","refine-wider-container",u)},n.createElement("div",{className:(0,a.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||b[e])&&n.createElement("div",{className:(0,a.c)("flex","items-center","gap-2","text-xs sm:text-base 2xl:text-base 2xl:leading-7","font-semibold",i)},n.createElement(o,null),n.createElement("span",{className:"uppercase"},null!==(m=null!=t?t:b[e])&&void 0!==m?m:"")),n.createElement("div",{className:(0,a.c)("text-gray-0","text-base","last:mb-0")},r)));var m},h=({type:e,title:t,children:r})=>{var l;const o=null!==(l=p[e])&&void 0!==l?l:"tex-inherit";var c;const i=null!==(c=g[e])&&void 0!==c?c:"bg-inherit";return n.createElement("div",{className:(0,a.c)("rounded-lg","admonition",`admonition-${e}`,"mb-6",i)},n.createElement("div",{className:(0,a.c)("flex flex-col","gap-2",!t&&"pt-4")},t&&n.createElement("div",{className:(0,a.c)("px-4","pt-4","text-sm","leading-5","-mt-0.5",o)},n.createElement("span",{className:"font-semibold"},null!=t?t:""),n.createElement("span",null,":")),n.createElement("div",{className:(0,a.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))),l=n.createElement(n.Fragment,null,r.filter((e=>e!==a)));return{mdxAdmonitionTitle:a,rest:l}}(e.children);var a;return x(w({},e),{title:null!==(a=e.title)&&void 0!==a?a:t,children:r})}const j=e=>{const{children:t,type:r,title:a}=k(e);return n.createElement(y,{type:r,title:a},t)};function P(e){return"info-tip"===e.type?n.createElement(j,e):"additional"===e.type?n.createElement(j,x(w({},e),{type:"note",title:"ADDITIONAL INFO"})):"sourcecode"===e.type?n.createElement(j,x(w({},e),{icon:n.createElement(O,null),title:n.createElement("a",{href:e.path,target:"_blank",rel:"noreferrer",style:{marginLeft:"4px"}},"VIEW SOURCE CODE \u2192"),titleProps:{style:{marginBottom:"-4px"}}}),e.children):"create-example"===e.type?n.createElement(j,x(w({},e),{type:"caution",icon:n.createElement(E,null),title:n.createElement("span",{style:{marginLeft:"4px"}},"RUN IN YOUR LOCAL")}),e.children):n.createElement(n.Fragment,null,n.createElement(j,e))}},7328:(e,t,r)=>{"use strict";r.d(t,{c:()=>P});var n=r(1504),a=r(8480),l=r(6968),o=r(3680),c=r(6280),i=r(4971),s=r(6192),u=r(6112),m=r(9184),d=r(2424),f=r(2276),p=r(2268);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){for(var t=1;t{const[r,a]=(0,n.useState)({scrollDepths:e,scrollY:0}),{scrollDepths:l,scrollY:o}=r;return(0,n.useEffect)((()=>{"undefined"!=typeof window&&0!==window.pageYOffset&&a((e=>y(b({},e),{scrollY:window.pageYOffset})))}),[]),(0,n.useEffect)((()=>{if("undefined"==typeof window)return;const e=()=>window.removeEventListener("scroll",n),n=()=>{const n=document.documentElement,o=document.body,c=n.scrollTop||o.scrollTop,i=n.scrollHeight||o.scrollHeight,s=c/(i-n.clientHeight)*100;if(l){const r=Math.min(...l,i);if(s>=r){const n=l.filter((e=>e!==r));0===n.length&&e(),t&&t({scrollY:r,scrollPercent:s,remainingDepths:n}),a({scrollY:r,scrollDepths:n})}}else a(y(b({},r),{scrollY:s}))};return window.addEventListener("scroll",n),e}),[l,o,r]),{scrollY:o}},v=(e,t)=>{const[r,a]=(0,n.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 n=t instanceof Function?t(r):t;a(n),"undefined"!=typeof window&&window.localStorage.setItem(e,JSON.stringify(n))}catch(n){console.log(n)}}]};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:a={text:"Explore Now",href:"https://prepverse.github.io/portfolio",onClick:void 0}})=>{var l,o,c,g;const{pathname:b}=(0,w.IT)(),[y,x]=(0,n.useState)(!1),[O,E]=v("banner-modal",null),k=(0,n.useRef)(!1),j=h();var P,C;return(0,n.useEffect)((()=>{"/blog/"!==b&&"/blog"!==b&&(k.current||y||j.scrollY>79&&j.scrollY<100&&(k.current=!0,9===O||null===O?(x(!0),E(0)):(E(O+1),k.current=!0)))}),[j.scrollY]),(0,n.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]),n.createElement(d.O,{appear:!0,show:y,as:n.Fragment},n.createElement(f.C,{as:"div",className:"relative z-modal",onClose:()=>x(!1)},n.createElement(d.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-900/70"})),n.createElement("div",{className:"fixed inset-0 overflow-y-auto"},n.createElement("div",{className:"flex min-h-full items-start justify-center"},n.createElement(d.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(f.C.Panel,{className:(0,i.c)("w-full min-h-screen","flex flex-col justify-center items-center")},n.createElement("div",{className:(0,i.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")},n.createElement("div",{className:(0,i.c)("flex","flex-col","items-center","gap-8","text-center","not-prose")},n.createElement(m.c,{to:null!==(P=null===(l=r)||void 0===l?void 0:l.href)&&void 0!==P?P:null===(o=a)||void 0===o?void 0:o.href,target:"_blank",rel:"noopener noreferrer",className:(0,i.c)("flex","h-auto xl:h-[192px]","flex-shrink-0","rounded-lg","overflow-hidden","focus:outline-none")},n.createElement("img",{className:(0,i.c)("object-contain"),src:null===(c=r)||void 0===c?void 0:c.src,alt:null!==(C=null===(g=r)||void 0===g?void 0:g.alt)&&void 0!==C?C:e,loading:"lazy"})),n.createElement("p",{className:(0,i.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),n.createElement(s.D,{className:(0,i.c)("w-max"),buttonClassname:(0,i.c)("!px-4","!py-4"),href:a.href,onClick:a.onClick,target:"_blank",rel:"noopener noreferrer"},n.createElement("div",{className:(0,i.c)("text-gray-900","text-base","font-bold")},a.text),n.createElement(u.G,{className:(0,i.c)("w-4","h-4")}))),n.createElement("button",{className:(0,i.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)},n.createElement(p.O,{className:"w-4 h-4"})))))))))},O=({className:e})=>n.createElement("div",{className:(0,i.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)},n.createElement("div",{className:(0,i.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")},n.createElement("h2",{className:(0,i.c)("flex","flex-wrap","gap-2","text-[32px] leading-[40px] landing-sm:text-[56px] landing-sm:leading-[72px]")},n.createElement("div",{className:(0,i.c)("dark:text-gray-0 text-gray-900")},"PrepVerse "),n.createElement("div",{className:(0,i.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(51,51,255,0.3)]","whitespace-nowrap")},"Technical Blog")),n.createElement("p",{className:(0,i.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.")));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 k(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 j(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 P=e=>{const[t,r]=(0,n.useState)(!1),{children:s,toc:u,showSidebarBanner:m=!0}=e,d=j(e,["children","toc","showSidebarBanner"]),f=h();return(0,n.useEffect)((()=>{t&&(f.scrollY>20&&r(!0),f.scrollY<20&&r(!1))}),[f.scrollY,m]),n.createElement(a.C,k(function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>g});var n=r(1504),a=r(4971),l=r(9936),o=r(6684),c=r(5628),i=r(7328),s=r(6108),u=r(2668),m=r(8048),d=r(1628);function f(e){const{metadata:t}=e,{siteConfig:{title:r}}=(0,l.c)(),{blogDescription:a,blogTitle:c,permalink:i}=t,u="/"===i?r:c;return n.createElement(n.Fragment,null,n.createElement(o.U7,{title:u,description:a}),n.createElement(s.c,{tag:"blog_posts_list"}))}function p(e){const{metadata:t,tags:r,items:l}=e,o=1===t.page,c=l.filter((e=>!0===e.content.metadata.frontMatter.is_featured)),s=l.filter((e=>!0!==e.content.metadata.frontMatter.is_featured));return n.createElement(i.c,{showSidebarBanner:!1,showHero:!0},o&&n.createElement(d.CS,{items:c}),n.createElement(u.c,{items:s,tags:r,metadata:t}),n.createElement("div",{className:(0,a.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(m.c,{metadata:t})))}function g(e){return n.createElement(o.cr,{className:(0,a.c)(c.W.wrapper.blogPages,c.W.page.blogListPage)},n.createElement(f,e),n.createElement(p,e))}},8048:(e,t,r)=>{"use strict";r.d(t,{c:()=>m});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,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(l.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!==m&&"text-refine-react-5 dark:text-refine-react-4",e===m&&"text-refine-react-8 dark:text-refine-react-3",e===m&&"bg-refine-react-3 dark:bg-refine-react-7")},e)))),n.createElement("li",null,n.createElement(l.c,{to:m===f?void 0:`${r}/page/${m+1}`,className:(0,u.c)("rounded-full","hover:no-underline","text-refine-react-5 dark:text-refine-react-4",m!==f&&"opacity-70",m===f&&"pointer-events-none opacity-20")},n.createElement(o.yu,null)))))}},2668:(e,t,r)=>{"use strict";r.d(t,{c:()=>m});var n=r(1504),a=r(468),l=r(6992),o=r(9184),c=r(3270),i=r(1904),s=r(4971);function u({className:e}){var t,r;const{metadata:l}=(0,a.g)(),{permalink:u,title:m,date:d,formattedDate:f,frontMatter:p,description:g,tags:b}=l,y=l.authors[0];return n.createElement(c.c,{className:e},n.createElement("div",null,n.createElement(o.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:m,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: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")},m)),n.createElement("div",{className:(0,s.c)("line-clamp-3","text-gray-700 dark:text-refine-react-4","text-sm")},g)),n.createElement("div",{className:"flex items-center gap-2"},n.createElement(o.c,{href:`/blog/author/${null===(t=y)||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=y)||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 m({items:e,tags:t,component:r=u,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))))))))}},8560:(e,t,r)=>{"use strict";r.d(t,{s:()=>L});var n=r(1504),a=r(8952),l=r(8796),o=r(5684),c=r(6564),i=r(2184),s=r(6616),u=r(5952),m=r(4971),d=r(1373);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 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 g(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 b=e=>{var{as:t}=e,r=g(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,a]=(0,n.useState)(!1),l=(0,n.useRef)(void 0),o=(0,n.useCallback)((()=>{try{navigator.clipboard.writeText(e).then((()=>{a(!0),l.current=window.setTimeout((()=>{a(!1)}),1e3)}))}catch(t){}}),[e]);return(0,n.useEffect)((()=>()=>window.clearTimeout(l.current)),[]),n.createElement("button",{type:"button","aria-label":r?"Copied!":"Copy code to clipboard",title:"Copy code to clipboard",className:(0,m.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:o},n.createElement(h,{className:(0,m.c)("w-3 h-3","text-gray-500","dark:text-gray-400",r&&"rotate-[360deg]","transition-all duration-200 ease-in-out")}))};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=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const r=t?x:E;return n.createElement("button",{type:"button",onClick:()=>e(),className:(0,m.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,m.c)("w-3 h-3","text-gray-500","dark:text-gray-400",t&&"rotate-[360deg]","transition-all duration-200 ease-in-out")}))};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 P(e){for(var t=1;tn.createElement("svg",P({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"})),S=({children:e,icon:t=n.createElement(N,null)})=>n.createElement("div",{className:(0,m.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:a,showLineNumbers:l,language:f,icon:p,style:g})=>{const{prism:{defaultLanguage:y,magicComments:h}}=(0,o.y)();var w;const x=null!==(w=null!=f?f:(0,i.K2)(t))&&void 0!==w?w:y,O=(0,c.i)(),E=(0,s._)(),j=(0,i.QH)(r)||a,{lineClassNames:N,code:D}=(0,i.cj)(e,{metastring:r,language:x,magicComments:h}),M=null!=l?l:(0,i.OO)(r);return n.createElement(b,{as:"div",className:(0,m.c)("refine-common-code-block",x&&`language-${x}`,"rounded-lg","bg-gray-200","dark:bg-gray-900","border","border-gray-300","dark:border-0","mb-6","relative","refine-wider-container"),style:g},j&&n.createElement(S,{icon:p},j),n.createElement("div",{className:(0,m.c)("relative","pt-3","pb-0","not-prose")},n.createElement(d.cp,C(P({},d.wB),{theme:O,code:D,language:null!=x?x:"text"}),(({className:e,tokens:t,getLineProps:r,getTokenProps:a})=>n.createElement("pre",{tabIndex:0,ref:E.codeBlockRef,className:(0,m.c)(e,"bg-transparent","!mt-0","!mb-0","m-0","px-0","pt-0","font-jetBrains-mono","pb-3")},n.createElement("code",{className:(0,m.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:a,classNames:(0,m.c)(N[t],"px-4","text-xs sm:text-sm 2xl:text-sm"),showLineNumbers:M})))))))),n.createElement("div",{className:(0,m.c)("absolute",j?"top-2 right-2":"top-3 right-3","flex items-center gap-2")},(E.isEnabled||E.isCodeScrollable)&&n.createElement(k,{onClick:E.toggle,isEnabled:E.isEnabled}),n.createElement(v,{className:(0,m.c)(),code:D})))};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 A(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 L=e=>{var{children:t}=e,r=A(e,["children"]);const o=(0,a.c)(),c=function(e){return n.Children.toArray(e).some((e=>(0,n.isValidElement)(e)))?e:Array.isArray(e)?e.join(""):e}(t),i="string"==typeof c?D:l.c;return n.createElement(i,function(e){for(var t=1;t{"use strict";r.d(t,{c:()=>S});var n=r(1504),a=r(8560),l=r(4971),o=r(9936),c=r(7748),i=r.n(c),s=r(1688);const u="playgroundPreview_jwe9";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({children:e,minHeight:t,url:r="http://localhost:3000",hasBottom:a=!1}){return n.createElement("div",{className:(0,l.c)("flex","flex-col","h-full")},n.createElement("div",{className:(0,l.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(f,{className:"w-4 h-4"}),n.createElement("div",{className:(0,l.c)("text-xs")},`${r}`.replace(/^http(s?):\/\//,""))),n.createElement("div",{className:(0,l.c)("flex-1","overflow-hidden","bg-gray-100 dark:bg-gray-700","border border-gray-300 dark:border-gray-700",!a&&"rounded-bl-lg rounded-br-lg",a&&"border-b-gray-300 dark:border-b-gray-900",a&&"border-b"),style:{minHeight:t}},e))}const f=e=>n.createElement("svg",function(e){for(var t=1;t{const[a,l]=n.useState(e),[o]=n.useState(t);n.useEffect((()=>{!a&&e&&l(!0)}),[e]),n.useEffect((()=>{if(o){const e=setTimeout((()=>{l(!0)}),o);return()=>clearTimeout(e)}}),[o]);const c=n.useMemo((()=>a&&"function"==typeof r?r():null),[a]);if(void 0!==r&&"function"!=typeof r)throw new Error("Conditional component requires a function as a child");return c};var b=r(9128),y=r(3296);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}r.g.Buffer=r.g.Buffer||y.Sn;const v=({query:e,code:t,css:r})=>{const{siteConfig:{customFields:a}}=(0,o.c)(),[l,c]=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&&c(`${a.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]),l?n.createElement("iframe",{loading:"lazy",src:l,width:"100%",height:"100%",style:{position:"absolute",left:0,top:0,width:"100%",height:"100%"}}):null},w=n.memo(v,((e,t)=>e.code===t.code&&e.query===t.query&&e.css===t.css)),x=e=>n.createElement("svg",function(e){for(var t=1;t{a?(i(!1),setTimeout((()=>{o((e=>!e)),setTimeout((()=>{i(!0)}),300)}),100)):(i(!1),o((e=>!e)),setTimeout((()=>{i(!0)}),300))}},n.createElement(x,{className:(0,l.c)(a&&"rotate-180","transition-transform","duration-200","ease-in-out")}),n.createElement("span",{className:(0,l.c)("text-base","block","overflow-hidden","h-6")},n.createElement("span",{className:(0,l.c)("block",a&&"opacity-0","transition-opacity duration-200 ease-in-out")},"Show Code"),n.createElement("span",{className:(0,l.c)("block","transition-transform duration-200 ease-in-out","bg-gray-100 dark:bg-gray-700",a&&"-translate-y-6")},"Hide Code"))),n.createElement("div",{className:(0,l.c)("rounded-bl-lg","rounded-br-lg"),style:{maxHeight:a?c?"unset":"100vh":"0px",transition:"0.3s all ease-in-out",overflow:"hidden"},ref:r},n.createElement(S,{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:a=!1,url:c="http://localhost:3000",previewOnly:i=!1,tailwind:m=!1})=>{const f=String(e),{shared:y,sharedCss:h}=(0,b.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 a=e.slice(0,r),l=e.slice(r,n).trimEnd().trimStart(),o=e.slice(n);return{visible:l,join:e=>`${a}\n${e}\n${o}`}})(`\n ${null!=y?y:""}\n ${f}\n `.replace(/\n$/,"")),x=n.useRef(null),E=(0,p.c)(x),{siteConfig:{customFields:k}}=(0,o.c)(),{isLast:j}=(0,s.E)();return n.createElement("div",{className:(0,l.c)("overflow-hidden","mb-6","refine-wider-container")},n.createElement(n.Fragment,null,n.createElement(d,{url:c,hasBottom:!i},n.createElement("div",{className:(0,l.c)(u,"live-editor-wrapper"),style:{maxHeight:r,minHeight:r,overflow:t?"hidden":void 0,position:"relative"},ref:x},j?n.createElement(g,{if:E,maxWait:3e3},(()=>n.createElement(w,{code:`\n${null!=y?y:""}\n${f}\n `,css:h,query:`${t?"&disableScroll=true":""}${m?"&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(O,{hidden:a,code:v})))},k=n.memo(E,((e,t)=>String(e.children)===String(t.children))),j=({children:e})=>{const{setShared:t}=(0,b.UF)();return n.useEffect((()=>(t(String(e)),()=>{t(void 0)})),[e]),null},P=n.memo(j,((e,t)=>String(e.children)===String(t.children))),C=({children:e})=>{const{setSharedCss:t}=(0,b.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 S(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(P,e):e.live?n.createElement(k,e):n.createElement(a.s,e)}},3704:(e,t,r)=>{"use strict";r.d(t,{c:()=>m});var n=r(1504),a=r(9184),l=r(1724);const o=e=>{var t,r,n,a,o,c;let i="noopener noreferrer nofollow";const s=(0,l.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===(a=e)||void 0===a||null===(n=a.includes)||void 0===n?void 0:n.call(a,"refine.dev")))&&(i="noopener dofollow"),(s||(null===(c=e)||void 0===c||null===(o=c.includes)||void 0===o?void 0:o.call(c,"reactadminpanel.com")))&&(i="noopener dofollow"),i};var c=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:()=>ct});var n=r(7584),a=r(1504),l=r(4971),o=r(6192),c=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 m,d,f,p,g,b;return a.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]),a.createElement("div",{className:(0,l.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")},a.createElement(i.c,{to:null!==(g=null===(m=r)||void 0===m?void 0:m.href)&&void 0!==g?g:null===(d=s)||void 0===d?void 0:d.href,target:"_blank",rel:"noopener noreferrer",className:(0,l.c)("flex","max-w-[360px]","h-auto","flex-shrink-0","rounded-lg","overflow-hidden")},a.createElement("img",{src:null===(f=r)||void 0===f?void 0:f.src,alt:null!==(b=null===(p=r)||void 0===p?void 0:p.alt)&&void 0!==b?b:e,loading:"lazy"})),a.createElement("div",{className:(0,l.c)("flex","flex-col","gap-6","justify-center 2xl:justify-start","items-center 2xl:items-start","text-center 2xl:text-start","not-prose")},e&&a.createElement("h2",{className:(0,l.c)("text-xl md:text-2xl","text-gray-0")},e),a.createElement("p",{className:(0,l.c)("text-sm md:text-base","text-gray-100")},t),a.createElement(o.D,{className:(0,l.c)("w-max"),buttonClassname:(0,l.c)("!px-4","!py-2"),href:s.href,onClick:s.onClick,target:"_blank",rel:"noopener noreferrer"},a.createElement("div",{className:(0,l.c)("text-gray-900","text-sm md:text-base","font-bold")},s.text),a.createElement(c.G,{className:(0,l.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}})=>(a.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]),a.createElement("div",{className:(0,l.c)("relative","rounded-2xl","p-8","flex","flex-col","justify-center","items-center","not-prose","bg-banner-examples-gray")},a.createElement("h2",{className:(0,l.c)("text-2xl","font-semibold","bg-banner-examples-text","bg-clip-text","text-transparent")},e),a.createElement("p",{className:(0,l.c)("mt-2","text-sm","text-gray-300")},t),a.createElement(o.D,{className:(0,l.c)("mt-9"),href:r.href,onClick:r.onClick,target:"_blank",rel:"noopener noreferrer"},a.createElement("div",{className:(0,l.c)("text-gray-900","text-base","font-bold")},r.text))));var m=r(8164);const d=[],f=Math.floor(Math.random()*(d.length+1));var p=r(4752),g=r(68);const b=({image:e,title:t,description:r,isDark:n})=>{let l;l="refineNew"===r?a.createElement("div",null," ",a.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.",a.createElement("br",null),a.createElement("br",null),"\ud83d\ude80 By visually combining options for your preferred \u2728",a.createElement("b",null," React platform,")," \u2728 ",a.createElement("b",null,"UI framework"),", \u2728"," ",a.createElement("b",null,"backend connector"),", and \u2728 ",a.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!",a.createElement("br",null),a.createElement("br",null),a.createElement("br",null)):null!=r?r:a.createElement("div",null,"Meet the headless, React-based solution to build sleek"," ",a.createElement("b",null,"CRUD")," applications. With refine, you can be confident that your codebase will always stay clean and boilerplate-free.",a.createElement("br",null),a.createElement("br",null),"Try"," ",a.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank"},"PrepVerse")," ","to rapidly build your next ",a.createElement("b",null,"CRUD")," project, whether ","it's"," ","an admin panel, dashboard, internal tool or storefront.");const o=null!=e?e:"https://refine.ams3.cdn.digitaloceanspaces.com/website/static/img/generic_banner.png";o.startsWith("http")||o.startsWith("/");return a.createElement("a",{href:"https://s.refine.dev/hackathon2",target:"_blank",rel:"noreferrer"},a.createElement("img",{src:"https://refine.ams3.cdn.digitaloceanspaces.com/hackathon-2/hackathon_cover.png"}))};var y=r(5524),h=r(3896),v=r(3376),w=r(8840);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 O=e=>a.createElement("svg",function(e){for(var t=1;t{var t,r,n;const o=a.useRef(!1),{id:c}=(0,v.U)(),[i,s]=a.useState(!1),{items:u}=(0,w.GC)(),{reward:m}=(0,h.yh)(`checklist-${c}`,"confetti",{angle:90,elementCount:120,startVelocity:30,decay:.95,spread:100,position:"absolute",lifetime:150}),d=null===(n=u.find((e=>e.id===c)))||void 0===n||null===(t=(r=n.checklist).every)||void 0===t?void 0:t.call(r,(e=>e.checked));return a.useEffect((()=>{setTimeout((()=>{o.current=!0}),1e3)}),[]),a.useEffect((()=>{!i&&d&&o.current&&(s(!0),m())}),[d,i]),a.createElement("div",{className:(0,l.c)("rounded-lg","border-l-gray-400 dark:border-l-gray-600","dark:bg-gray-800 bg-gray-50")},a.createElement("div",{className:(0,l.c)("border-l-4","border-l-solid","border-l-inherit","rounded-tl-lg","rounded-bl-lg","p-4","flex flex-col")},a.createElement("div",{className:"border-b border-gray-400 dark:border-gray-500 border-opacity-50 dark:border-opacity-50"},a.createElement("div",{className:(0,l.c)("not-prose","mt-0 mb-4","flex items-center","gap-2")},a.createElement(O,{className:(0,l.c)("w-4 h-4","dark:text-gray-100 text-gray-800")}),a.createElement("h3",{className:(0,l.c)("m-0 p-0","font-semibold","dark:text-gray-100 text-gray-800","uppercase","text-base leading-6")},"Checklist"))),a.createElement("div",null,e),a.createElement("div",{className:"flex items-center justify-center"},a.createElement("div",{id:`checklist-${c}`}))))};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=>a.createElement("svg",function(e){for(var t=1;t{var r,n,o,c;const{id:i}=(0,v.U)(),{items:s,toggle:u}=(0,w.GC)(),m=null===(r=null===(c=s.find((e=>e.id===i)))||void 0===c||null===(n=(o=c.checklist).find)||void 0===n?void 0:n.call(o,(e=>e.id===t)))||void 0===r?void 0:r.checked;return a.createElement("label",{className:(0,l.c)("mt-4","flex","items-center justify-start","flex-nowrap","gap-2","cursor-pointer")},a.createElement("div",{className:"flex-shrink-0"},a.createElement("button",{type:"button",onClick:()=>{u(i,t)},className:(0,l.c)("appearance-none","flex items-center justify-center","w-4 h-4","rounded","border",{"border-gray-400 dark:border-gray-500":!m,"border-refine-react-dark-link dark:border-refine-react-dark-link":m,"bg-refine-react-dark-link":m})},m&&a.createElement(j,null))),a.createElement("div",{className:(0,l.c)(m&&"line-through dark:text-gray-100 dark:text-opacity-50 text-gray-800 text-opacity-50",!m&&"text-gray-800 dark:text-gray-100")},e))};var C=r(8560),N=r(2108);const S=({path:e})=>a.createElement(C.s,{language:"bash",title:"Run on your local",icon:a.createElement(N.G,null)},`npm create refine-app@latest -- --example ${e}`);var D=r(5792);const M=({path:e})=>a.createElement("div",{className:(0,l.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")},a.createElement(D.A,{className:"ml-1.5 w-5 h-5 text-gray-800 dark:text-gray-100"}),a.createElement("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:(0,l.c)("text-base","leading-8","text-refine-react-light-link dark:text-refine-react-dark-link")},a.createElement("span",null,"View Source Code"))),A=({path:e})=>{const t=`https://github.com/PrepVerse/PrepVerse/tree/master/examples/${e}`;return a.createElement(M,{path:t})},L=({path:e,hideSource:t,hideLocal:r,hideSandbox:n})=>{const l=`${`https://codesandbox.io/embed/github/refinedev/refine/tree/master/examples/${e}`}?view=preview&theme=dark&runonclick=1&codemirror=1`;return a.createElement("div",null,!t&&a.createElement(A,{path:e}),!r&&a.createElement(S,{path:e}),!n&&a.createElement("iframe",{loading:"lazy",src:l,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 R=r(3732),Z=r(7916);const T=()=>a.createElement("div",null,a.createElement(R.c,{type:"simple",title:"Good to know"},a.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})=>a.createElement("div",{className:(0,l.c)("refine-info-badge","relative","group","inline-flex","align-middle")},e,a.createElement("div",{className:(0,l.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")},a.createElement("div",{className:(0,l.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"))),H=({id:e,icon:t,color:r,text:n,description:o})=>{const c=(0,l.c)("orange"===r&&(0,l.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,l.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,l.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 a.createElement(B,{content:o},a.createElement(i.c,{to:`/docs/${e}`,className:(0,l.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",c)},t,n&&a.createElement("span",{className:"text-xs leading-[0.875rem]"},n)))};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 F=e=>a.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;tr?a.createElement("div",{className:(0,l.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:c},null!=e?e:"deprecated"):t?a.createElement("div",{className:(0,l.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?a.createElement("div",{className:(0,l.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:c},null!=e?e:"required"):o?a.createElement("div",{className:(0,l.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:c},null!=e?e:"featured"):e?a.createElement("div",{className:(0,l.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:c},e):null,U="tooltip__Ymd",z="tooltipContainer_l6r7",G="tooltipContent_UeXm",W="tooltipArrow_mOyh",Y=({label:e,children:t})=>e?a.createElement("div",{className:`${U} group`},t,a.createElement("div",{className:`${z} group-hover:visible`},a.createElement("span",{className:G},e),a.createElement("div",{className:W}))):a.createElement(a.Fragment,null,t);function q(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=({prop:e,overrides:t})=>{var r,n,l;const o=null!==(l=t[`${e.name}-required`])&&void 0!==l?l:e.required;var c;const i=null!==(c=t[`${e.name}-deprecated`])&&void 0!==c?c:null===(r=e.tags)||void 0===r?void 0:r.deprecated;var s,u;const m=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:"",d=(0,a.useMemo)((()=>{const e="props-table--name";return i?`${e} props-table--name__deprecated`:e}),[e,t]),f=(0,a.useMemo)((()=>m?a.createElement(Z.s,null,m):null),[e,t]);var p;return a.createElement(Y,{label:f},a.createElement(a.Fragment,null,a.createElement("span",{className:d},null!==(p=t[`${e.name}-name`])&&void 0!==p?p:e.name),o&&a.createElement(I,{asterisk:!0})))},Q=({prop:e,overrides:t})=>{var r;const n=null!==(r=t[`${e.name}-type`])&&void 0!==r?r:e.type.name,l=n.split(" | "),o=l.length>1,c=l.some((e=>e.length>20)),i=/`/.test(n);return a.createElement(a.Fragment,null,i?a.createElement(Z.s,null,n):c&&o?a.createElement(a.Fragment,null,l.map(((e,t)=>a.createElement("code",{className:"max-w-xs h-min",key:t},a.createElement(Z.s,null,e))))):a.createElement("code",{className:"max-w-xs h-min"},a.createElement(Z.s,null,n)))},K=({prop:e,overrides:t})=>{var r,n;return a.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)},X=({prop:e,overrides:t})=>{var r,n,l,o;const c=null===(r=e.tags)||void 0===r?void 0:r.default,i=(null===(n=e.defaultValue)||void 0===n?void 0:n.value)&&(null===(l=e.defaultValue)||void 0===l?void 0:l.value)!==c?null===(o=e.defaultValue)||void 0===o?void 0:o.value:void 0,s=t[`${e.name}-default`];return c||s?a.createElement(Z.s,null,null!=s?s:c):a.createElement("div",{className:"flex flex-wrap gap-1"},void 0!==i?a.createElement("code",{className:"max-w-xs h-min"},a.createElement(Z.s,null,i)):null)},ee=({prop:e,overrides:t})=>a.createElement("td",null,a.createElement("div",{className:"flex items-center"},a.createElement(J,{prop:e,overrides:t}))),te=({prop:e,overrides:t})=>a.createElement("td",{className:"props-table__type-cell"},a.createElement("div",{className:"flex flex-wrap gap-1"},a.createElement(Q,{prop:e,overrides:t}))),re=({prop:e,overrides:t})=>a.createElement("td",{className:"props-table__description-cell"},a.createElement(K,{prop:e,overrides:t})),ne=({prop:e,overrides:t})=>a.createElement("td",{className:"props-table__default-value-cell"},a.createElement(X,{prop:e,overrides:t})),ae=e=>{var{module:t,hideDefaults:n,children:l}=e,o=q(e,["module","hideDefaults","children"]);const c=((e,t="@refinedev/")=>{const[n,l]=(0,a.useState)(null);return(0,a.useEffect)((()=>{let n=!1;return r(6324)(`./${e.startsWith(t)?e:`${t}${e}`}.json`).then((e=>{n||(n=!0,l(e.default))})).catch(console.warn),()=>{n=!0}}),[e]),n})(t),i=(0,a.useMemo)((()=>{var e;if(n)return!1;if(Object.keys(o).some((e=>e.endsWith("-default"))))return!1;var t;return!Object.values(null!==(t=null===(e=c)||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}))}),[o]);if(!c)return null;const s=[...Object.values(c.props)];return a.createElement("div",{className:"table-container"},a.createElement("table",{className:"props-table"},a.createElement("thead",null,a.createElement("tr",null,a.createElement("th",null,"Property"),a.createElement("th",null,"Type"),a.createElement("th",null,"Description"),i?null:a.createElement("th",null,"Default"))),a.createElement("tbody",null,s.map((e=>o[`${e.name}-hidden`]?null:a.createElement("tr",{key:e.name},a.createElement(ee,{prop:e,overrides:o}),a.createElement(te,{prop:e,overrides:o}),a.createElement(re,{prop:e,overrides:o}),i?null:a.createElement(ne,{prop:e,overrides:o})))))),l)};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 oe=e=>a.createElement("svg",function(e){for(var t=1;t{const{current:r}=(0,ce.U)();return e&&r===e?a.createElement(a.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 me(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 de=e=>{var t;const r=a.Children.toArray(e.children),n=r.find((e=>a.isValidElement(e)&&"summary"===(null===(t=e.props)||void 0===t?void 0:t.mdxType))),o=a.createElement(a.Fragment,null,r.filter((e=>e!==n)));return a.createElement(se.S,me(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 be=e=>{var{children:t,className:r}=e,n=ge(e,["children","className"]);return a.createElement("summary",function(e){for(var t=1;t{const t=e.currentTarget,a=s.indexOf(t),l=o[a].value;l!==r&&(u(t),n(l))},d=e=>{var t,r;let n=null;switch(e.key){case"Enter":m(e);break;case"ArrowRight":{const t=s.indexOf(e.currentTarget)+1;var a;n=null!==(a=s[t])&&void 0!==a?a:s[0];break}case"ArrowLeft":{const t=s.indexOf(e.currentTarget)-1;var l;n=null!==(l=s[t])&&void 0!==l?l:s[s.length-1];break}}null===(r=n)||void 0===r||null===(t=r.focus)||void 0===t||t.call(r)};return a.createElement("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,l.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",!c&&"rounded-bl-lg rounded-br-lg","items-stretch")},o.map((({value:e,label:t,attributes:n})=>a.createElement("li",Oe(xe({role:"tab",tabIndex:r===e?0:-1,"aria-selected":r===e,key:e,ref:e=>s.push(e),onKeyDown:d,onClick:m},n),{className:(0,l.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 ke({lazy:e,children:t,selectedValue:r,smallTabs:n}){const o=(Array.isArray(t)?t:[t]).filter(Boolean);if(e){const e=o.find((e=>e.props.value===r));return e?(0,a.cloneElement)(e,{className:"margin-top--md refine-tab-content"}):null}var c;return a.createElement("div",{className:"p-4"},o.map(((e,t)=>(0,a.cloneElement)(e,{key:t,hidden:e.props.value!==r,className:(0,l.c)(null!==(c=e.props.className)&&void 0!==c?c:[],"refine-tab-content")}))))}function je(e){const t=(0,he.a)(e),{wrapContent:r=!0}=e;return a.createElement("div",{className:(0,l.c)("tabs-container","rounded-lg","border-gray-300 dark:border-gray-700",r?"border":"border-0","mb-6","refine-wider-container")},a.createElement(Ee,xe({},e,t)),a.createElement(ke,xe({},e,t)))}function Pe(e){const t=(0,ve.c)();return a.createElement(je,xe({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,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}var Se=r(4472),De=r(4896),Me=r(1488),Ae=r(8620),Le=r(6076),Re=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 Te=e=>a.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;t{var t,r;const[n,o]=(0,a.useState)(!1),{refs:c,floatingStyles:i,context:s}=(0,Se.gR)({placement:"bottom-start",open:e.isOpen,onOpenChange:e.onOpenChange,whileElementsMounted:De.kN,middleware:[(0,Me.E3)((({middlewareData:e})=>{var t;return(null===(t=e)||void 0===t?void 0:t.flip)?{mainAxis:12}:{mainAxis:52}})),(0,De.EB)((({placement:e})=>(e.includes("bottom")&&o(!1),e.includes("top")&&o(!0),{fallbackPlacements:["top-start"]})))]}),u=(0,Se.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:m,getFloatingProps:d}=(0,Se.M3)([u]);return a.createElement(a.Fragment,null,a.createElement("div",We(Ge({ref:c.setReference},m()),{style:{position:"absolute",top:"0",left:0}})),a.createElement(Ae.I,null,s.open&&a.createElement(Le.q.div,We(Ge({initial:{opacity:0},animate:{opacity:1,transition:{duration:.2}},exit:{opacity:0},ref:c.setFloating,style:i},d()),{className:(0,l.c)("w-[320px]","bg-[#EAEBEF] dark:bg-refine-react-dark-code","border border-[#E3E4E5] dark:border-[#343A46]","rounded-[20px]","relative")}),e.children,a.createElement(qe,{style:Ge({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)}))))},qe=e=>{const{colorMode:t}=(0,Re.U)(),r="dark"===t;return a.createElement("svg",Ge({xmlns:"http://www.w3.org/2000/svg",width:42,height:18,viewBox:"0 0 42 18",fill:"none"},e),a.createElement("title",null,"Popover Pointer"),a.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"}),a.createElement("defs",null,a.createElement("linearGradient",{id:"a",x1:21,x2:21,y1:1,y2:16,gradientUnits:"userSpaceOnUse"},a.createElement("stop",{offset:.59,stopColor:r?"#343A46":"#E3E4E5"}),a.createElement("stop",{offset:.602,stopColor:r?"#343A46":"#E3E4E5",stopOpacity:0}))))},Je={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 Ke(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 Xe;var et=r(7500),tt=r(9104);var rt=r(9092);var nt=r(5560);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}function lt(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 ot(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ct=(it=function(e){for(var t=1;t{var{className:t}=e,r=Ne(e,["className"]);return a.createElement("blockquote",function(e){for(var t=1;tf===d.length?a.createElement(m.c,null,(()=>a.createElement(u,null))):a.createElement(m.c,null,(()=>a.createElement(s,d[f]))),GuideBadge:({id:e,description:t="Please check the guide for more information on this topic.",text:r})=>a.createElement(H,{id:e,color:"green",icon:a.createElement($,null),text:r,description:a.createElement(a.Fragment,null,a.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Check the guide"),a.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})=>a.createElement(H,{id:e,color:"orange",text:r,icon:a.createElement(oe,null),description:a.createElement(a.Fragment,null,a.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Router Integrated"),a.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})=>a.createElement(H,{color:"purple",icon:a.createElement(F,null),text:r,id:e,description:a.createElement(a.Fragment,null,a.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Globally Configurable"),a.createElement("div",{className:"text-xs"},t))}),Image:e=>a.createElement("img",Ke(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 a.createElement(Pe,null,a.createElement(tt.c,{value:"npm",label:"npm",default:!0},a.createElement(C.s,{className:"language-bash"},r.npm)),a.createElement(tt.c,{value:"pnpm",label:"pnpm"},a.createElement(C.s,{className:"language-bash"},r.pnpm)),a.createElement(tt.c,{value:"yarn",label:"yarn"},a.createElement(C.s,{className:"language-bash"},r.yarn),a.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 a.createElement(Pe,null,a.createElement(tt.c,{value:"npm",label:"npm",default:!0},a.createElement(C.s,{className:"language-bash"},r.npm),t),a.createElement(tt.c,{value:"pnpm",label:"pnpm"},a.createElement(C.s,{className:"language-bash"},r.pnpm),t),a.createElement(tt.c,{value:"yarn",label:"yarn"},a.createElement(C.s,{className:"language-bash"},r.yarn),t))},FullTable:et.Ih,TutorialConditional:({parameter:e,value:t,children:r})=>{var n;const{parameters:l}=(0,rt.iC)();return(null===(n=l)||void 0===n?void 0:n[e])===t?a.createElement(a.Fragment,null,r):null},VideoInView:e=>{const t=a.useRef(null),r=(0,nt.c)(t);return a.useEffect((()=>{var e,n,a,l;r?null===(n=t.current)||void 0===n||null===(e=n.play)||void 0===e||e.call(n):null===(l=t.current)||void 0===l||null===(a=l.pause)||void 0===a||a.call(l)}),[r]),a.createElement("video",lt(function(e){for(var t=1;t{var e,r,n,a,l;(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===(l=t.current)||void 0===l||null===(a=l.pause)||void 0===a||a.call(l)},className:(0,l.c)(e.className,"w-full","h-auto","max-w-full","max-h-full","rounded-xl","object-contain")}))},DocThumbsUpDownFeedbackWidget:e=>{const t=(0,Ue.IT)(),[r,n]=(0,a.useState)(""),[o,c]=(0,a.useState)(null),[i,s]=(0,a.useState)(!1),[u,m]=(0,a.useState)(!1),d=i||u,{survey:f,createSurvey:p,updateSurvey:g}=(e=>{const[t,r]=(0,a.useState)(null),n=Ie[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 a=await t.json();return a?(r(a),a):void 0},updateSurvey:async({surveyId:e,body:t})=>{const a=await fetch(`${n}/responses/${e}`,{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(!a.ok)return null;const l=await a.json();return l?(r(l),l):void 0}}})({type:Ve.THUMBS}),b=async r=>{c(r),s(!0),f?await g({surveyId:f.id,body:{response:r}}):await p({body:{response:r,entityId:t.pathname,metaData:{sectionId:e.id}}})};return a.createElement("div",{className:"group"},e.children,a.createElement("div",{className:(0,l.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",!d&&"opacity-0","group-hover:opacity-100")},a.createElement("div",{className:(0,l.c)("text-xs","whitespace-nowrap","text-[#23272F] dark:text-[#E3E4E5]")},"Was this helpful?"),a.createElement("div",{className:(0,l.c)("flex","items-center","gap-1","widget-actions")},a.createElement("button",{type:"button",onClick:()=>b(Je.UP),className:(0,l.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===o&&"text-green-500 bg-green-500/20")},a.createElement(Te,null)),a.createElement("button",{type:"button",onClick:()=>b(Je.DOWN),className:(0,l.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===o&&"text-red-500 bg-red-500/20")},a.createElement(He,null))),a.createElement(Ye,{isOpen:d,onOpenChange:e=>{u||e||(s(!1),m(!1))},arrowStyle:{right:1===o?"150px":"115px"}},!u&&a.createElement("form",{className:(0,l.c)("flex flex-col","p-2"),onSubmit:e=>{e.preventDefault(),(async()=>{const e=r.trim();e&&(await g({surveyId:f.id,body:{response:o,responseText:e}}),m(!0),setTimeout((()=>{s(!1),m(!1)}),2e3))})()}},a.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,l.c)("w-full","bg-white dark:bg-[#343A46]","text-[#23272F] dark:text-[#E3E4E5]","resize-none","rounded-xl","text-xs","py-2 px-3")}),a.createElement("button",{type:"submit",className:(0,l.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&&a.createElement("div",{className:(0,l.c)("flex items-center","p-4","text-xs","text-gray-500")},a.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:()=>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)}},6992:(e,t,r)=>{"use strict";r.d(t,{c:()=>k});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 u=r(4971);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,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 f=e=>n.createElement("svg",d(function(e){for(var t=1;t(n.useEffect((()=>(e.open?document.body.style.overflow="hidden":document.body.style.overflow="auto",()=>{document.body.style.overflow="auto"})),[e.open]),n.createElement(h.c,null,(()=>(0,b.createPortal)(n.createElement(w,e),document.body)))),w=({children:e,title:t,open:r,onClose:a,variant:l})=>{const[o,c]=n.useState(48),{scrollY:i}=(0,y.Q)(),s=n.useRef(null);var m,d;return m=s,d=e=>{e.stopPropagation(),a()},n.useEffect((()=>{const e=e=>{m.current&&!m.current.contains(e.target)&&(e.preventDefault(),d(e))};return document.addEventListener("click",e,!0),()=>{document.removeEventListener("click",e,!0)}}),[m]),((e,t,r)=>{n.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])})(s,["Escape"],(()=>{a()})),n.useEffect((()=>{const e=i.onChange((e=>{c(e>=48?0:48-e)}));return()=>e()}),[]),n.createElement("div",{style:{top:o},className:(0,u.c)("fixed","right-0 bottom-0","z-modal",!r&&"pointer-events-none")},n.createElement(g.O,{ref:s,as:"div",className:(0,u.c)("z-modal","flex flex-col","w-[240px] h-full","ml-auto","p-4","blog"===l&&"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"},n.createElement("div",{className:(0,u.c)("flex","items-center","justify-between","mb-10","dark:text-gray-300 text-gray-900")},n.createElement("h3",{className:(0,u.c)("text-base","font-semibold")},t),n.createElement("button",{type:"button",className:(0,u.c)("appearance-none"),onClick:a},n.createElement(p.O,null))),n.createElement("div",{className:(0,u.c)("overflow-auto h-full")},e)))};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}function O(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(j,{collapsed:r,tags:o,className:(0,u.c)("hidden blog-lg:flex",t),onShowMoreClick:e=>a(e)}),n.createElement(P,{tags:o,className:(0,u.c)("block blog-lg:hidden",t)}))}const j=({tags:e,collapsed:t,className:r,onShowMoreClick:l})=>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(a.c,E(O({},e),{label:N(e.label)})))))),n.createElement("button",{type:"button",onClick:()=>l(!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(C,{className:(0,u.c)("opacity-30","transition-transform duration-200 ease-in-out",{"rotate-180 transform":!t})}))),P=({tags:e,className:t})=>{const[r,l]=n.useState(!1);return n.createElement(n.Fragment,null,n.createElement("div",{className:(0,u.c)(t)},n.createElement("button",{type:"button",onClick:()=>l(!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,null),n.createElement("div",null,"Filter Tags"))),n.createElement(v,{onClose:()=>l(!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(a.c,E(O({},e),{label:N(e.label),variant:"inverted",size:"medium"}))))))))},C=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"})),N=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)}},2876:(e,t,r)=>{"use strict";r.d(t,{U:()=>n});const n=()=>{var e,t;return null===(t=window.open("https://s.refine.dev/refine-brand-assets","_blank"))||void 0===t||null===(e=t.focus)||void 0===e?void 0:e.call(t)}}}]); \ No newline at end of file diff --git a/assets/js/c1d171ff.d083cd3c.js b/assets/js/c1d171ff.c105c9b6.js similarity index 68% rename from assets/js/c1d171ff.d083cd3c.js rename to assets/js/c1d171ff.c105c9b6.js index d50067b..31d964e 100644 --- a/assets/js/c1d171ff.d083cd3c.js +++ b/assets/js/c1d171ff.c105c9b6.js @@ -1 +1 @@ -(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[4040],{6324:(e,t,r)=>{var n={"./plugin-route-context-module-100.json":[4634,4634]};function a(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],a=t[0];return r.e(t[1]).then((()=>r.t(a,19)))}a.keys=()=>Object.keys(n),a.id=6324,e.exports=a},6280:(e,t,r)=>{"use strict";r.d(t,{c:()=>u});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 u(){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)=>{"use strict";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)=>{"use strict";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}},3688:(e,t,r)=>{"use strict";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)}}},5980:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>p});var n=r(1504),a=r(7328),l=r(9936),o=r(6684),c=r(6108),i=r(2668),s=r(1628),u=r(4971),m=r(9184),d=r(2460);const f=()=>{const{siteConfig:{title:e,tagline:t}}=(0,l.c)();return n.createElement(n.Fragment,null,n.createElement(o.U7,{title:e,description:t}),n.createElement(c.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(f,null),n.createElement(a.c,{showSidebarBanner:!1},n.createElement("div",{className:"h-12"}),n.createElement(m.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(d.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:()=>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))}},4752:(e,t,r)=>{"use strict";r.d(t,{c:()=>l});var n=r(1504),a=r(9184);const l=()=>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(a.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")))},68:(e,t,r)=>{"use strict";r.d(t,{c:()=>u});var n=r(1504),a=r(9184);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 o=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const[e,t]=n.useState(0);return n.useEffect((()=>{(async()=>{const e=await fetch(`https://api.github.com/repos/pankod/refine?access_token=${s}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`token ${s}`}}),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(a.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(i,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(o,{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:()=>C,cN:()=>P,CS:()=>u,E$:()=>D,us:()=>S});var n=r(1504),a=r(9184),l=r(468),o=r(3270),c=r(1904),i=r(4971);const s=()=>{var e,t;const{metadata:r}=(0,l.g)(),{permalink:s,title:u,date:m,formattedDate:d,frontMatter:f,description:p,tags:g}=r,b=r.authors[0];return n.createElement(o.c,null,n.createElement(a.c,{itemProp:"url",to:s,className:(0,i.c)("block","w-full h-auto","aspect-[592/334]")},n.createElement("div",{className:(0,i.c)("not-prose relative m-0 hover:brightness-90","h-full w-full")},n.createElement("img",{src:`${f.image}?h=256`,alt:u,className:(0,i.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,i.c)("flex flex-wrap items-center","mb-6","gap-2")},g.map((e=>n.createElement(a.c,{className:(0,i.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:s,className:"no-underline hover:no-underline",rel:"noopener dofollow"},n.createElement("div",{className:(0,i.c)("mb-4","text-gray-700 dark:text-refine-react-3","text-xl","font-lg","font-bold")},u)),n.createElement("div",{className:(0,i.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(a.c,{href:`/blog/author/${null===(e=b)||void 0===e?void 0:e.key}`,itemProp:"url",className:(0,i.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,i.c)("h-[4px] w-[4px] rounded-full","bg-gray-600 dark:bg-gray-500")}),n.createElement("span",{className:(0,i.c)("text-gray-600 dark:text-gray-500","text-xs","leading-6","no-underline")},n.createElement(c.iI,{date:m,formattedDate:d})))))},u=({items:e})=>n.createElement("div",null,n.createElement("div",{className:(0,i.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,i.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-cyan-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(l.E,{key:e.metadata.permalink,content:e},n.createElement(s,null)))))));var m=r(2656),d=r(56),f=r(9936),p=r(7760),g=r(6224),b=r(3784),y=r(4776),h=r(2788),v=r(8368);const w=(0,v.c)("telegram",(function(e,t){var r=t.title;return(0,y.c)(e,"telegram.url"),"https://telegram.me/share/url"+(0,h.c)({url:e,text:r})}),(function(e){return{title:e.title}}),{windowWidth:550,windowHeight:400});var x=r(2544);const O=(0,x.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,y.c)(e,"facebook.url"),"https://www.facebook.com/sharer/sharer.php"+(0,h.c)({u:e,quote:r,hashtag:n})}),(function(e){return{quote:e.quote,hashtag:e.hashtag}}),{windowWidth:550,windowHeight:400});const k=(0,x.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 j=r(2460);const P=({children:e})=>{var t,r,s,u,y,h;const{metadata:v,isBlogPostPage:x}=(0,l.g)(),{permalink:P,title:C,date:N,formattedDate:S,readingTime:D,frontMatter:M,tags:A,description:L,authors:R}=v,Z=R[0],{siteConfig:{url:T}}=(0,f.c)();return n.createElement(o.c,{className:(0,i.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,i.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,i.c)("text-refine-react-5 dark:text-refine-react-4","text-sm no-underline","flex","items-center","gap-2")},n.createElement(j.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:T+P,title:C,source:T,summary:L,hashtags:A.map((e=>e.label)),className:"flex"},n.createElement(g.c,{size:26,round:!0})),n.createElement(b.c,{windowWidth:750,windowHeight:800,url:T+P,title:C,hashtags:A.map((e=>e.label)),className:"flex"},n.createElement(j.mk,{width:26,height:26})),n.createElement(w,{windowWidth:750,windowHeight:800,url:T+P,title:C,hashtags:A.map((e=>e.label)),className:"flex"},n.createElement(O,{size:26,round:!0})),n.createElement(E,{windowWidth:750,windowHeight:800,url:T+P,title:C,hashtags:A.map((e=>e.label)),className:"flex"},n.createElement(k,{size:26,round:!0})))),n.createElement("div",{className:"not-prose"},n.createElement("img",{className:"w-full rounded-xl aspect-[894/468]",src:`${M.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,i.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=Z)||void 0===t?void 0:t.key}`,itemProp:"url"},n.createElement("img",{src:null===(r=Z)||void 0===r?void 0:r.imageURL,alt:null===(s=Z)||void 0===s?void 0:s.name,loading:"lazy",className:"flex h-[32px] w-[32px] rounded-full object-cover"})),n.createElement(a.c,{to:`/blog/author/${null===(u=Z)||void 0===u?void 0:u.key}`,itemProp:"url",className:(0,i.c)("flex-1","text-gray-900 dark:text-gray-200","text-sm","no-underline","hover:no-underline")},null===(y=Z)||void 0===y?void 0:y.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===(h=Z)||void 0===h?void 0:h.title)),n.createElement("div",{className:"flex items-center gap-2 text-gray-600 dark:text-gray-400"},n.createElement(c.iI,{date:N,formattedDate:S}),void 0!==D&&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(c.S_,{readingTime:D}))))),n.createElement("h1",{className:"text-xl md:text-4xl",itemProp:"headline"},x?C:n.createElement(a.c,{itemProp:"url",to:P},C)),n.createElement("div",{id:m.blogPostContainerID,className:"markdown",itemProp:"articleBody"},n.createElement(d.c,null,e))))},C=({author:e,className:t})=>n.createElement(N,{author:e,className:t}),N=({author:e})=>{var t,r,l,o,c,s,u,m,d,f,p;const g=e.github||e.twitter||e.linkedin;return n.createElement("div",{className:(0,i.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,i.c)("flex","justify-between","items-center")},n.createElement("div",{className:(0,i.c)("w-full","flex items-center justify-between flex-wrap")},n.createElement("div",{className:(0,i.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===(l=e)||void 0===l?void 0:l.name,loading:"lazy",className:(0,i.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,i.c)("not-prose flex flex-col justify-between")},n.createElement("h1",{className:(0,i.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===(o=e)||void 0===o?void 0:o.name),n.createElement("div",{className:(0,i.c)("text-xs sm:text-base","text-gray-600 dark:text-gray-400")},null===(c=e)||void 0===c?void 0:c.title))),g&&n.createElement("div",{className:"flex justify-center gap-3"},(null===(s=e)||void 0===s?void 0:s.github)&&n.createElement(a.c,{to:null===(u=e)||void 0===u?void 0:u.github},n.createElement(j.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(j.mk,{className:"h-6 w-6"})),(null===(f=e)||void 0===f?void 0:f.linkedin)&&n.createElement(a.c,{to:null===(p=e)||void 0===p?void 0:p.linkedin},n.createElement(j.wd,{className:"h-6 w-6"}))))),n.createElement("div",{className:"border-b border-gray-200 dark:border-gray-700 mb-8"}))};r(4752),r(68),r(5524);const S=()=>{const{metadata:e}=(0,l.g)();return n.createElement("div",{className:"flex flex-wrap gap-2"},e.tags.map((e=>n.createElement(a.c,{to:e.permalink,className:(0,i.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))))},D=({posts:e,title:t})=>{var r,l,o;return e.length<1?null:n.createElement("div",{className:(0,i.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,i.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,i.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,i.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===(l=e.authors[0])||void 0===l?void 0:l.name),n.createElement("span",{className:"h-[4px] w-[4px] rounded-full bg-gray-600 dark:bg-gray-500"}),n.createElement(c.iI,{date:e.date,formattedDate:e.formattedDate}))))))))}},5524:(e,t,r)=>{"use strict";r.d(t,{c:()=>l});var n=r(1504),a=r(9184);const l=({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(a.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"))))},3740:(e,t,r)=>{"use strict";r.d(t,{q:()=>o,y:()=>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 l="tutorial-checklist-store",o=n.createContext({store:{},toggle:()=>{}}),c=({children:e})=>{const[t,r]=n.useState((()=>{if("undefined"!=typeof window){const t=localStorage.getItem(l);if(t)try{const e=JSON.parse(t);if("object"==typeof e)return e}catch(e){return{}}}return{}})),c=n.useCallback(((e,t,n)=>{r((r=>{const l=function(e){for(var t=1;t{"undefined"!=typeof window&&localStorage.setItem(l,JSON.stringify(t))}),[t]),n.createElement(o.Provider,{value:{store:t,toggle:c}},e)}},5448:(e,t,r)=>{"use strict";r.d(t,{g5:()=>i,mk:()=>s,sH:()=>l});var n=r(1504),a=r(2288);const l=["headless","antd","chakra-ui","mantine","mui"],o=e=>{if(l.includes(e))return e},c="tutorial-preferred-ui-package",i=n.createContext({preferred:"headless",current:void 0,setPreferred:()=>{}}),s=({children:e})=>{const{metadata:t}=(0,a.G)(),r=(e=>{const t=e.match(/\/(headless|antd|chakra-ui|mantine|mui)\//);if(t&&o(t[1]))return t[1]})(t.id),[l,s]=n.useState("headless");n.useEffect((()=>{if("undefined"!=typeof window){const e=localStorage.getItem(c),t=o(e);t&&s(t)}}),[]);const u=e=>{o(e)&&("undefined"!=typeof window&&localStorage.setItem(c,e),s(e))};return n.useEffect((()=>{r&&r!==l&&u(r)}),[r,l]),n.createElement(i.Provider,{value:{preferred:l,setPreferred:u,current:r||l}},e)}},9092:(e,t,r)=>{"use strict";r.d(t,{WO:()=>d,iC:()=>f});var n=r(1504),a=r(640),l=r(2064);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){for(var t=1;t0}),s="tutorial-parameters",u=(e,t)=>{for(const r of t)if(e.includes(`/${r.value}`))return r.value},m=()=>{const{pathname:e}=(0,a.IT)();return n.useMemo((()=>(e=>{const t={};for(const[r,n]of Object.entries(l.Sm.parameterOptions)){const a=u(e,n);a&&(t[r]=a)}return t})(e)),[e])},d=({children:e})=>{const[t,r]=n.useState(void 0),[a,o]=n.useState(!1),u=m(),d=n.useCallback((e=>{r((t=>{try{localStorage.setItem(s,JSON.stringify(c({},t,e)))}catch(r){console.error(r)}return c({},t,e)}))}),[]);return n.useEffect((()=>{try{const e=localStorage.getItem(s);d(e?c({},l.Sm.defaultParameters,JSON.parse(e),u):c({},l.Sm.defaultParameters,u))}catch(e){d(c({},l.Sm.defaultParameters,u))}o(!0)}),[]),n.createElement(i.Provider,{value:{parameters:t,setParameters:d,settled:a,options:l.Sm.parameterOptions}},e)},f=()=>n.useContext(i)},3376:(e,t,r)=>{"use strict";r.d(t,{U:()=>p});var n=r(2288),a=r(1688),l=(r(1504),r(3908));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){for(var t=1;t{var e,t,r,o;const m=(0,n.G)(),{docs:p}=(0,a.E)(),{frontMatter:g,metadata:{id:b}}=m,{tutorial:{units:y}}=(0,u.e)(),{current:h}=(0,l.U)(),v=e=>{const t=e.id.split("/"),r=s.sH.filter((e=>e!==h));return!t.find((e=>r.includes(e)))},w=!!(null===(e=g)||void 0===e?void 0:e.tutorial),x=b.split("/")[1],O=function({frontMatter:e}){const{docs:t}=(0,a.E)(),{current:r}=(0,l.U)(),n=e=>{if(e.includes("{preferredUI}")||r)return e.replace("{preferredUI}",r)},o=e=>"/docs/"+e,{tutorial:s}=e,{next:u,prev:m}=null!=s?s:{},d=u?n(u):void 0,f=t[m?n(m):void 0],p=t[d];return{previous:f?i(c({},f),{permalink:o(f.id)}):void 0,next:p?i(c({},p),{permalink:o(p.id)}):void 0}}(m),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}),{}),k=Object.entries(E).map((([e,r])=>f(d({unit:e,no:null===(t=y[e])||void 0===t?void 0:t.no,title:y[e].label},e===x&&w&&{current:!0}),{docs:r.map((e=>d({},e,e.id===b&&w&&{current:!0}))).filter(v)}))).sort(((e,t)=>(null===(r=e)||void 0===r?void 0:r.no)-(null===(o=t)||void 0===o?void 0:o.no)));return w?{id:b,isTutorial:w,unit:x,pagination:O,units:k}:void 0}},5560:(e,t,r)=>{"use strict";r.d(t,{c:()=>a});var n=r(1504);const a=(e,t="0px")=>{const[r,a]=n.useState(!1);return n.useEffect((()=>{var r;const n=null===(r=e)||void 0===r?void 0:r.current,l=new IntersectionObserver((([e])=>{a(e.isIntersecting)}),{rootMargin:t});return n&&l.observe(n),()=>{n&&l.unobserve(n)}}),[]),r}},8840:(e,t,r)=>{"use strict";r.d(t,{ot:()=>s,GC:()=>u});var n=r(1504);const a={items:[]};var l=r(3740);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){for(var t=1;tt.filter((t=>t.unit===e));function u(){const{store:e,toggle:t}=n.useContext(l.q);return{items:n.useMemo((()=>{var t,r,n,l;return null!==(l=null===(n=a)||void 0===n||null===(t=(r=n.items).map)||void 0===t?void 0:t.call(r,(t=>{const{id:r}=t;return i(c({},t),{checklist:t.checklist.map((t=>{var n;return i(c({},t),{checked:null!==(n=e[r]?.[t.id])&&void 0!==n&&n})})).sort(((e,t)=>e.index-t.index))})})))&&void 0!==l?l:[]}),[e]),toggle:t}}},380:(e,t,r)=>{"use strict";r.d(t,{e:()=>a});var n=r(9936);r(1504);const a=()=>{const{siteConfig:{customFields:e}}=(0,n.c)(),{tutorial:t}=e;return t}},3908:(e,t,r)=>{"use strict";r.d(t,{U:()=>l});var n=r(1504),a=r(5448);const l=()=>n.useContext(a.g5)},3680:(e,t,r)=>{"use strict";r.d(t,{u:()=>l});var n=r(1504),a=r(8564);const l=e=>n.createElement(a.E,e)},6968:(e,t,r)=>{"use strict";r.d(t,{m:()=>W});var n=r(9184),a=r(4971),l=r(4332),o=r(344),c=r(6076),i=r(1504),s=r(1980),u=r(8804),m=r(2876),d=r(3480);const f=[{isPopover:!0,label:"Docs",items:[{label:"DSA Docs",description:"Learning DSA in C++, Python & Java",link:"/docs",icon:d.uI},{label:"Web Tech Docs",description:"Learn HTML, CSS, JavaScript",link:"/docs/2.Web.Dev",icon:d.Af}]},{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}],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,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),y=r(5224),h=r(2424),v=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(y._,{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(y._.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(v.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(y._.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))))))},x=({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(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,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(p,{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://twitter.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(p,{key:t.label,item:t,variant:e}))))):i.createElement(g,{key:`navbar-${t.label}`,item:t,variant:e}))));var O=r(2276),E=r(7008),k=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 C=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),u=null!=r?r:n.c,m=void 0!==l&&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(T,{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(V,{className:(0,a.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(h.O,{appear:!0,show:e,as:i.Fragment},i.createElement(O.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(A.Q,null),i.createElement("div",{className:(0,a.c)("flex items-center justify-between","p-4","landing-sm:px-8")},i.createElement(u.m,{className:"dark:text-gray-0 text-gray-900",onContextMenu:m.U}),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(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,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(p,{key:e.label,item:e})))))})),i.createElement(_,null),i.createElement(H,{id:"tablet"}),i.createElement(F,{id:"tablet"})),V=e=>i.createElement("div",{className:(0,a.c)(e.className)},i.createElement("div",{className:"flex-grow"},f.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,a.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(M,{key:`modal-${e.label}`,label:e.label,href:e.href,icon:e.icon})))),i.createElement(_,null),i.createElement(H,{id:"phone"}),i.createElement(F,{id:"phone"})),F=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!")))},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(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://twitter.com/akashsingh3031"},i.createElement(d.CC,{className:"h-10 w-10"}))))},_=()=>{const{colorMode:e,setColorMode:t}=(0,k.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(R.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(L.g,null),"Dark"))};var I=r(9253),$=r(2700),U=r(5792),z=r(6936);const G=()=>{const{loading:e,githubStarCountText:t}=(0,$.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(U.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)))},W=({trackProgress:e,variant:t="landing",className:r})=>{const[d,f]=(0,i.useState)(!1),{scrollYProgress:p}=(0,l.Q)(),g=(0,o.s)(p,[.03,.95],["0%","100%"]);return i.createElement(i.Fragment,null,i.createElement(A.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:"/",onContextMenu:m.U},i.createElement(u.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(x,{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(I.C,null)),i.createElement(Z,{isModalOpen:d,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}}))))}},7500:(e,t,r)=>{"use strict";r.d(t,{Ih:()=>c,oJ:()=>o,yg:()=>l});var n=r(4971),a=r(1504);const l="preferred-full-table-width",o=e=>a.createElement("div",{className:(0,n.c)("table-container")},a.createElement("table",e)),c=({children:e})=>a.createElement("div",{className:"table-full-width"},e)},9253:(e,t,r)=>{"use strict";r.d(t,{C:()=>i,O:()=>u});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"}],u=({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)=>{"use strict";r.d(t,{o0:()=>p,yw:()=>d,wd:()=>f,AR:()=>g});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 u=r(3480),m=r(4252);const d=[{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(m.i,null),href:"https://prepverse.github.io/CodePoint"},{label:"LeetVerse",icon:n.createElement(m.i,null),href:"https://prepverse.github.io/LeetVerse"}]},{label:"About",items:[{label:"About Me",href:"/AkashSingh3031"},{label:"Portfolio",icon:n.createElement(m.i,null),href:"https://prepverse.github.io/portfolio"}]}],f=[{label:"License",href:"https://github.com/PrepVerse/prepverse.github.io/blob/master/LICENSE"}],p="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{"use strict";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{"use strict";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{"use strict";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{"use strict";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{"use strict";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)=>{"use strict";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{"use strict";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{"use strict";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{"use strict";r.d(t,{s1:()=>z,wR:()=>L,QD:()=>M,vn:()=>J,kv:()=>f,uI:()=>l,Af:()=>c,A9:()=>E,_2:()=>x,Ew:()=>g,Yf:()=>C,oh:()=>s,Ed:()=>j,BE:()=>y,KU:()=>Y,WR:()=>I,w9:()=>m,CC:()=>S,oz:()=>Z,C3:()=>v});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;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",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||(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{variant:t="landing"}=e,r=_(e,["variant"]);return n.createElement("svg",H(function(e){for(var t=1;tn.createElement("svg",U(function(e){for(var t=1;t{const{colorMode:t}=(0,G.U)();return n.createElement("div",{className:(0,V.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,V.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;tn.createElement("svg",function(e){for(var t=1;t{"use strict";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{"use strict";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{"use strict";r.d(t,{o:()=>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{"use strict";r.d(t,{E:()=>f});var n=r(4971),a=r(1504),l=r(9184),o=r(2876),c=r(7708),i=r(204),s=r(8804);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(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")},"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")},c.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:"/",onContextMenu:o.U,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(s.m,null)),a.createElement("a",{href:"https://github.com/sponsors/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,n.c)("hover:no-underline")},a.createElement("iframe",{src:"https://github.com/sponsors/AkashSingh3031/button",title:"Sponsor AkashSingh3031",height:"32",width:"114"}))),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")},c.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),c.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(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")}),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")},c.wd.map((t=>a.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)))),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(i.Q,{className:"text-refine-red ml-2 inline leading-6"}),a.createElement("br",null),"Built with Docusaurus & Refine.")))))}},6192:(e,t,r)=>{"use strict";r.d(t,{D:()=>m});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 m=e=>{var{children:t,href:r,className:o,onClick:m,buttonClassname:d}=e,f=u(e,["children","href","className","onClick","buttonClassname"]);const p=r?l.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),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)=>{"use strict";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(u,{style:{animationDelay:"1.5s"},className:(0,n.c)("absolute","top-[2px]","right-[220px]"),id:"1"}),a.createElement(u,{style:{animationDelay:"1s"},className:(0,n.c)("absolute","rotate-180","top-[8px] right-[100px]"),id:"2"}),a.createElement(m,{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(u,{style:{animationDelay:"2s"},className:(0,n.c)("absolute","rotate-180","top-[6px] right-[180px]"),id:"4"}),a.createElement(u,{style:{animationDelay:"0.5s"},className:(0,n.c)("delay-[1300]","absolute","top-[2px]","right-[40px]"),id:"5"}),a.createElement(m,{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"),".")),u=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})))),m=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}))))},2064:(e,t,r)=>{"use strict";r.d(t,{ED:()=>i,Ip:()=>s,_i:()=>d,Mx:()=>u,iG:()=>f,Yv:()=>c,Sm:()=>o,G_:()=>m});var n=r(2411);const a=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 l=r(1688);const o=a,c=(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 o.units)for(const n of r.items)if(e===c(n,t))return r},s=(e,t)=>{let r=!1;for(const n of o.units)for(const a of n.items){if(r)return a;c(a,t)===e&&(r=!0)}},u=(e,t)=>{let r=null;for(const n of o.units)for(const a of n.items){if(c(a,t)===e)return r;r=a}},m=()=>{const{docs:e}=(0,l.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])))},d=(e,t)=>{const r=t[e];if(!r)throw new Error(`Cannot find item with id ${e}`);return r.path},f=(e,t)=>{const r=t[e];if(!r)throw new Error(`Cannot find doc with id ${e}`);return r.title}},3732:(e,t,r)=>{"use strict";r.d(t,{c:()=>P});var n=r(1504),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}const o=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;t{var l;const o=null!==(l=f[e])&&void 0!==l?l:()=>null;var c;const i=null!==(c=p[e])&&void 0!==c?c:"tex-inherit";var s;const u=null!==(s=g[e])&&void 0!==s?s:"bg-inherit";return"simple"===e?n.createElement(h,{type:e,title:t},r):n.createElement("div",{className:(0,a.c)("rounded-lg","admonition",`admonition-${e}`,"mb-6","refine-wider-container",u)},n.createElement("div",{className:(0,a.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||b[e])&&n.createElement("div",{className:(0,a.c)("flex","items-center","gap-2","text-xs sm:text-base 2xl:text-base 2xl:leading-7","font-semibold",i)},n.createElement(o,null),n.createElement("span",{className:"uppercase"},null!==(m=null!=t?t:b[e])&&void 0!==m?m:"")),n.createElement("div",{className:(0,a.c)("text-gray-0","text-base","last:mb-0")},r)));var m},h=({type:e,title:t,children:r})=>{var l;const o=null!==(l=p[e])&&void 0!==l?l:"tex-inherit";var c;const i=null!==(c=g[e])&&void 0!==c?c:"bg-inherit";return n.createElement("div",{className:(0,a.c)("rounded-lg","admonition",`admonition-${e}`,"mb-6",i)},n.createElement("div",{className:(0,a.c)("flex flex-col","gap-2",!t&&"pt-4")},t&&n.createElement("div",{className:(0,a.c)("px-4","pt-4","text-sm","leading-5","-mt-0.5",o)},n.createElement("span",{className:"font-semibold"},null!=t?t:""),n.createElement("span",null,":")),n.createElement("div",{className:(0,a.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))),l=n.createElement(n.Fragment,null,r.filter((e=>e!==a)));return{mdxAdmonitionTitle:a,rest:l}}(e.children);var a;return x(w({},e),{title:null!==(a=e.title)&&void 0!==a?a:t,children:r})}const j=e=>{const{children:t,type:r,title:a}=k(e);return n.createElement(y,{type:r,title:a},t)};function P(e){return"info-tip"===e.type?n.createElement(j,e):"additional"===e.type?n.createElement(j,x(w({},e),{type:"note",title:"ADDITIONAL INFO"})):"sourcecode"===e.type?n.createElement(j,x(w({},e),{icon:n.createElement(O,null),title:n.createElement("a",{href:e.path,target:"_blank",rel:"noreferrer",style:{marginLeft:"4px"}},"VIEW SOURCE CODE \u2192"),titleProps:{style:{marginBottom:"-4px"}}}),e.children):"create-example"===e.type?n.createElement(j,x(w({},e),{type:"caution",icon:n.createElement(E,null),title:n.createElement("span",{style:{marginLeft:"4px"}},"RUN IN YOUR LOCAL")}),e.children):n.createElement(n.Fragment,null,n.createElement(j,e))}},7328:(e,t,r)=>{"use strict";r.d(t,{c:()=>P});var n=r(1504),a=r(8480),l=r(6968),o=r(3680),c=r(6280),i=r(4971),s=r(6192),u=r(6112),m=r(9184),d=r(2424),f=r(2276),p=r(2268);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){for(var t=1;t{const[r,a]=(0,n.useState)({scrollDepths:e,scrollY:0}),{scrollDepths:l,scrollY:o}=r;return(0,n.useEffect)((()=>{"undefined"!=typeof window&&0!==window.pageYOffset&&a((e=>y(b({},e),{scrollY:window.pageYOffset})))}),[]),(0,n.useEffect)((()=>{if("undefined"==typeof window)return;const e=()=>window.removeEventListener("scroll",n),n=()=>{const n=document.documentElement,o=document.body,c=n.scrollTop||o.scrollTop,i=n.scrollHeight||o.scrollHeight,s=c/(i-n.clientHeight)*100;if(l){const r=Math.min(...l,i);if(s>=r){const n=l.filter((e=>e!==r));0===n.length&&e(),t&&t({scrollY:r,scrollPercent:s,remainingDepths:n}),a({scrollY:r,scrollDepths:n})}}else a(y(b({},r),{scrollY:s}))};return window.addEventListener("scroll",n),e}),[l,o,r]),{scrollY:o}},v=(e,t)=>{const[r,a]=(0,n.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 n=t instanceof Function?t(r):t;a(n),"undefined"!=typeof window&&window.localStorage.setItem(e,JSON.stringify(n))}catch(n){console.log(n)}}]};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:a={text:"Explore Now",href:"https://prepverse.github.io/portfolio",onClick:void 0}})=>{var l,o,c,g;const{pathname:b}=(0,w.IT)(),[y,x]=(0,n.useState)(!1),[O,E]=v("banner-modal",null),k=(0,n.useRef)(!1),j=h();var P,C;return(0,n.useEffect)((()=>{"/blog/"!==b&&"/blog"!==b&&(k.current||y||j.scrollY>79&&j.scrollY<100&&(k.current=!0,9===O||null===O?(x(!0),E(0)):(E(O+1),k.current=!0)))}),[j.scrollY]),(0,n.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]),n.createElement(d.O,{appear:!0,show:y,as:n.Fragment},n.createElement(f.C,{as:"div",className:"relative z-modal",onClose:()=>x(!1)},n.createElement(d.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-900/70"})),n.createElement("div",{className:"fixed inset-0 overflow-y-auto"},n.createElement("div",{className:"flex min-h-full items-start justify-center"},n.createElement(d.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(f.C.Panel,{className:(0,i.c)("w-full min-h-screen","flex flex-col justify-center items-center")},n.createElement("div",{className:(0,i.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")},n.createElement("div",{className:(0,i.c)("flex","flex-col","items-center","gap-8","text-center","not-prose")},n.createElement(m.c,{to:null!==(P=null===(l=r)||void 0===l?void 0:l.href)&&void 0!==P?P:null===(o=a)||void 0===o?void 0:o.href,target:"_blank",rel:"noopener noreferrer",className:(0,i.c)("flex","h-auto xl:h-[192px]","flex-shrink-0","rounded-lg","overflow-hidden","focus:outline-none")},n.createElement("img",{className:(0,i.c)("object-contain"),src:null===(c=r)||void 0===c?void 0:c.src,alt:null!==(C=null===(g=r)||void 0===g?void 0:g.alt)&&void 0!==C?C:e,loading:"lazy"})),n.createElement("p",{className:(0,i.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),n.createElement(s.D,{className:(0,i.c)("w-max"),buttonClassname:(0,i.c)("!px-4","!py-4"),href:a.href,onClick:a.onClick,target:"_blank",rel:"noopener noreferrer"},n.createElement("div",{className:(0,i.c)("text-gray-900","text-base","font-bold")},a.text),n.createElement(u.G,{className:(0,i.c)("w-4","h-4")}))),n.createElement("button",{className:(0,i.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)},n.createElement(p.O,{className:"w-4 h-4"})))))))))},O=({className:e})=>n.createElement("div",{className:(0,i.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)},n.createElement("div",{className:(0,i.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")},n.createElement("h2",{className:(0,i.c)("flex","flex-wrap","gap-2","text-[32px] leading-[40px] landing-sm:text-[56px] landing-sm:leading-[72px]")},n.createElement("div",{className:(0,i.c)("dark:text-gray-0 text-gray-900")},"PrepVerse "),n.createElement("div",{className:(0,i.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(51,51,255,0.3)]","whitespace-nowrap")},"Technical Blog")),n.createElement("p",{className:(0,i.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.")));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 k(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 j(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 P=e=>{const[t,r]=(0,n.useState)(!1),{children:s,toc:u}=e,m=j(e,["children","toc"]),{pathname:d}=(0,w.IT)(),f=h();return(0,n.useEffect)((()=>{t&&"/blog/"!==d&&"/blog"!==d&&(f.scrollY>20&&r(!0),f.scrollY<20&&r(!1))}),[f.scrollY]),n.createElement(a.C,k(function(e){for(var t=1;t{"use strict";r.d(t,{c:()=>m});var n=r(1504),a=r(468),l=r(6992),o=r(9184),c=r(3270),i=r(1904),s=r(4971);function u({className:e}){var t,r;const{metadata:l}=(0,a.g)(),{permalink:u,title:m,date:d,formattedDate:f,frontMatter:p,description:g,tags:b}=l,y=l.authors[0];return n.createElement(c.c,{className:e},n.createElement("div",null,n.createElement(o.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:m,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: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")},m)),n.createElement("div",{className:(0,s.c)("line-clamp-3","text-gray-700 dark:text-refine-react-4","text-sm")},g)),n.createElement("div",{className:"flex items-center gap-2"},n.createElement(o.c,{href:`/blog/author/${null===(t=y)||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=y)||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 m({items:e,tags:t,component:r=u,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))))))))}},8560:(e,t,r)=>{"use strict";r.d(t,{s:()=>L});var n=r(1504),a=r(8952),l=r(8796),o=r(5684),c=r(6564),i=r(2184),s=r(6616),u=r(5952),m=r(4971),d=r(1373);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 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 g(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 b=e=>{var{as:t}=e,r=g(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,a]=(0,n.useState)(!1),l=(0,n.useRef)(void 0),o=(0,n.useCallback)((()=>{try{navigator.clipboard.writeText(e).then((()=>{a(!0),l.current=window.setTimeout((()=>{a(!1)}),1e3)}))}catch(t){}}),[e]);return(0,n.useEffect)((()=>()=>window.clearTimeout(l.current)),[]),n.createElement("button",{type:"button","aria-label":r?"Copied!":"Copy code to clipboard",title:"Copy code to clipboard",className:(0,m.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:o},n.createElement(h,{className:(0,m.c)("w-3 h-3","text-gray-500","dark:text-gray-400",r&&"rotate-[360deg]","transition-all duration-200 ease-in-out")}))};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=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const r=t?x:E;return n.createElement("button",{type:"button",onClick:()=>e(),className:(0,m.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,m.c)("w-3 h-3","text-gray-500","dark:text-gray-400",t&&"rotate-[360deg]","transition-all duration-200 ease-in-out")}))};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 P(e){for(var t=1;tn.createElement("svg",P({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"})),S=({children:e,icon:t=n.createElement(N,null)})=>n.createElement("div",{className:(0,m.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:a,showLineNumbers:l,language:f,icon:p,style:g})=>{const{prism:{defaultLanguage:y,magicComments:h}}=(0,o.y)();var w;const x=null!==(w=null!=f?f:(0,i.K2)(t))&&void 0!==w?w:y,O=(0,c.i)(),E=(0,s._)(),j=(0,i.QH)(r)||a,{lineClassNames:N,code:D}=(0,i.cj)(e,{metastring:r,language:x,magicComments:h}),M=null!=l?l:(0,i.OO)(r);return n.createElement(b,{as:"div",className:(0,m.c)("refine-common-code-block",x&&`language-${x}`,"rounded-lg","bg-gray-200","dark:bg-gray-900","border","border-gray-300","dark:border-0","mb-6","relative","refine-wider-container"),style:g},j&&n.createElement(S,{icon:p},j),n.createElement("div",{className:(0,m.c)("relative","pt-3","pb-0","not-prose")},n.createElement(d.cp,C(P({},d.wB),{theme:O,code:D,language:null!=x?x:"text"}),(({className:e,tokens:t,getLineProps:r,getTokenProps:a})=>n.createElement("pre",{tabIndex:0,ref:E.codeBlockRef,className:(0,m.c)(e,"bg-transparent","!mt-0","!mb-0","m-0","px-0","pt-0","font-jetBrains-mono","pb-3")},n.createElement("code",{className:(0,m.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:a,classNames:(0,m.c)(N[t],"px-4","text-xs sm:text-sm 2xl:text-sm"),showLineNumbers:M})))))))),n.createElement("div",{className:(0,m.c)("absolute",j?"top-2 right-2":"top-3 right-3","flex items-center gap-2")},(E.isEnabled||E.isCodeScrollable)&&n.createElement(k,{onClick:E.toggle,isEnabled:E.isEnabled}),n.createElement(v,{className:(0,m.c)(),code:D})))};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 A(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 L=e=>{var{children:t}=e,r=A(e,["children"]);const o=(0,a.c)(),c=function(e){return n.Children.toArray(e).some((e=>(0,n.isValidElement)(e)))?e:Array.isArray(e)?e.join(""):e}(t),i="string"==typeof c?D:l.c;return n.createElement(i,function(e){for(var t=1;t{"use strict";r.d(t,{c:()=>S});var n=r(1504),a=r(8560),l=r(4971),o=r(9936),c=r(7748),i=r.n(c),s=r(1688);const u="playgroundPreview_jwe9";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({children:e,minHeight:t,url:r="http://localhost:3000",hasBottom:a=!1}){return n.createElement("div",{className:(0,l.c)("flex","flex-col","h-full")},n.createElement("div",{className:(0,l.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(f,{className:"w-4 h-4"}),n.createElement("div",{className:(0,l.c)("text-xs")},`${r}`.replace(/^http(s?):\/\//,""))),n.createElement("div",{className:(0,l.c)("flex-1","overflow-hidden","bg-gray-100 dark:bg-gray-700","border border-gray-300 dark:border-gray-700",!a&&"rounded-bl-lg rounded-br-lg",a&&"border-b-gray-300 dark:border-b-gray-900",a&&"border-b"),style:{minHeight:t}},e))}const f=e=>n.createElement("svg",function(e){for(var t=1;t{const[a,l]=n.useState(e),[o]=n.useState(t);n.useEffect((()=>{!a&&e&&l(!0)}),[e]),n.useEffect((()=>{if(o){const e=setTimeout((()=>{l(!0)}),o);return()=>clearTimeout(e)}}),[o]);const c=n.useMemo((()=>a&&"function"==typeof r?r():null),[a]);if(void 0!==r&&"function"!=typeof r)throw new Error("Conditional component requires a function as a child");return c};var b=r(9128),y=r(3296);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}r.g.Buffer=r.g.Buffer||y.Sn;const v=({query:e,code:t,css:r})=>{const{siteConfig:{customFields:a}}=(0,o.c)(),[l,c]=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&&c(`${a.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]),l?n.createElement("iframe",{loading:"lazy",src:l,width:"100%",height:"100%",style:{position:"absolute",left:0,top:0,width:"100%",height:"100%"}}):null},w=n.memo(v,((e,t)=>e.code===t.code&&e.query===t.query&&e.css===t.css)),x=e=>n.createElement("svg",function(e){for(var t=1;t{a?(i(!1),setTimeout((()=>{o((e=>!e)),setTimeout((()=>{i(!0)}),300)}),100)):(i(!1),o((e=>!e)),setTimeout((()=>{i(!0)}),300))}},n.createElement(x,{className:(0,l.c)(a&&"rotate-180","transition-transform","duration-200","ease-in-out")}),n.createElement("span",{className:(0,l.c)("text-base","block","overflow-hidden","h-6")},n.createElement("span",{className:(0,l.c)("block",a&&"opacity-0","transition-opacity duration-200 ease-in-out")},"Show Code"),n.createElement("span",{className:(0,l.c)("block","transition-transform duration-200 ease-in-out","bg-gray-100 dark:bg-gray-700",a&&"-translate-y-6")},"Hide Code"))),n.createElement("div",{className:(0,l.c)("rounded-bl-lg","rounded-br-lg"),style:{maxHeight:a?c?"unset":"100vh":"0px",transition:"0.3s all ease-in-out",overflow:"hidden"},ref:r},n.createElement(S,{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:a=!1,url:c="http://localhost:3000",previewOnly:i=!1,tailwind:m=!1})=>{const f=String(e),{shared:y,sharedCss:h}=(0,b.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 a=e.slice(0,r),l=e.slice(r,n).trimEnd().trimStart(),o=e.slice(n);return{visible:l,join:e=>`${a}\n${e}\n${o}`}})(`\n ${null!=y?y:""}\n ${f}\n `.replace(/\n$/,"")),x=n.useRef(null),E=(0,p.c)(x),{siteConfig:{customFields:k}}=(0,o.c)(),{isLast:j}=(0,s.E)();return n.createElement("div",{className:(0,l.c)("overflow-hidden","mb-6","refine-wider-container")},n.createElement(n.Fragment,null,n.createElement(d,{url:c,hasBottom:!i},n.createElement("div",{className:(0,l.c)(u,"live-editor-wrapper"),style:{maxHeight:r,minHeight:r,overflow:t?"hidden":void 0,position:"relative"},ref:x},j?n.createElement(g,{if:E,maxWait:3e3},(()=>n.createElement(w,{code:`\n${null!=y?y:""}\n${f}\n `,css:h,query:`${t?"&disableScroll=true":""}${m?"&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(O,{hidden:a,code:v})))},k=n.memo(E,((e,t)=>String(e.children)===String(t.children))),j=({children:e})=>{const{setShared:t}=(0,b.UF)();return n.useEffect((()=>(t(String(e)),()=>{t(void 0)})),[e]),null},P=n.memo(j,((e,t)=>String(e.children)===String(t.children))),C=({children:e})=>{const{setSharedCss:t}=(0,b.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 S(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(P,e):e.live?n.createElement(k,e):n.createElement(a.s,e)}},3704:(e,t,r)=>{"use strict";r.d(t,{c:()=>m});var n=r(1504),a=r(9184),l=r(1724);const o=e=>{var t,r,n,a,o,c;let i="noopener noreferrer nofollow";const s=(0,l.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===(a=e)||void 0===a||null===(n=a.includes)||void 0===n?void 0:n.call(a,"refine.dev")))&&(i="noopener dofollow"),(s||(null===(c=e)||void 0===c||null===(o=c.includes)||void 0===o?void 0:o.call(c,"reactadminpanel.com")))&&(i="noopener dofollow"),i};var c=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:()=>ct});var n=r(7584),a=r(1504),l=r(4971),o=r(6192),c=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 m,d,f,p,g,b;return a.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]),a.createElement("div",{className:(0,l.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")},a.createElement(i.c,{to:null!==(g=null===(m=r)||void 0===m?void 0:m.href)&&void 0!==g?g:null===(d=s)||void 0===d?void 0:d.href,target:"_blank",rel:"noopener noreferrer",className:(0,l.c)("flex","max-w-[360px]","h-auto","flex-shrink-0","rounded-lg","overflow-hidden")},a.createElement("img",{src:null===(f=r)||void 0===f?void 0:f.src,alt:null!==(b=null===(p=r)||void 0===p?void 0:p.alt)&&void 0!==b?b:e,loading:"lazy"})),a.createElement("div",{className:(0,l.c)("flex","flex-col","gap-6","justify-center 2xl:justify-start","items-center 2xl:items-start","text-center 2xl:text-start","not-prose")},e&&a.createElement("h2",{className:(0,l.c)("text-xl md:text-2xl","text-gray-0")},e),a.createElement("p",{className:(0,l.c)("text-sm md:text-base","text-gray-100")},t),a.createElement(o.D,{className:(0,l.c)("w-max"),buttonClassname:(0,l.c)("!px-4","!py-2"),href:s.href,onClick:s.onClick,target:"_blank",rel:"noopener noreferrer"},a.createElement("div",{className:(0,l.c)("text-gray-900","text-sm md:text-base","font-bold")},s.text),a.createElement(c.G,{className:(0,l.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}})=>(a.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]),a.createElement("div",{className:(0,l.c)("relative","rounded-2xl","p-8","flex","flex-col","justify-center","items-center","not-prose","bg-banner-examples-gray")},a.createElement("h2",{className:(0,l.c)("text-2xl","font-semibold","bg-banner-examples-text","bg-clip-text","text-transparent")},e),a.createElement("p",{className:(0,l.c)("mt-2","text-sm","text-gray-300")},t),a.createElement(o.D,{className:(0,l.c)("mt-9"),href:r.href,onClick:r.onClick,target:"_blank",rel:"noopener noreferrer"},a.createElement("div",{className:(0,l.c)("text-gray-900","text-base","font-bold")},r.text))));var m=r(8164);const d=[],f=Math.floor(Math.random()*(d.length+1));var p=r(4752),g=r(68);const b=({image:e,title:t,description:r,isDark:n})=>{let l;l="refineNew"===r?a.createElement("div",null," ",a.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.",a.createElement("br",null),a.createElement("br",null),"\ud83d\ude80 By visually combining options for your preferred \u2728",a.createElement("b",null," React platform,")," \u2728 ",a.createElement("b",null,"UI framework"),", \u2728"," ",a.createElement("b",null,"backend connector"),", and \u2728 ",a.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!",a.createElement("br",null),a.createElement("br",null),a.createElement("br",null)):null!=r?r:a.createElement("div",null,"Meet the headless, React-based solution to build sleek"," ",a.createElement("b",null,"CRUD")," applications. With refine, you can be confident that your codebase will always stay clean and boilerplate-free.",a.createElement("br",null),a.createElement("br",null),"Try"," ",a.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank"},"PrepVerse")," ","to rapidly build your next ",a.createElement("b",null,"CRUD")," project, whether ","it's"," ","an admin panel, dashboard, internal tool or storefront.");const o=null!=e?e:"https://refine.ams3.cdn.digitaloceanspaces.com/website/static/img/generic_banner.png";o.startsWith("http")||o.startsWith("/");return a.createElement("a",{href:"https://s.refine.dev/hackathon2",target:"_blank",rel:"noreferrer"},a.createElement("img",{src:"https://refine.ams3.cdn.digitaloceanspaces.com/hackathon-2/hackathon_cover.png"}))};var y=r(5524),h=r(3896),v=r(3376),w=r(8840);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 O=e=>a.createElement("svg",function(e){for(var t=1;t{var t,r,n;const o=a.useRef(!1),{id:c}=(0,v.U)(),[i,s]=a.useState(!1),{items:u}=(0,w.GC)(),{reward:m}=(0,h.yh)(`checklist-${c}`,"confetti",{angle:90,elementCount:120,startVelocity:30,decay:.95,spread:100,position:"absolute",lifetime:150}),d=null===(n=u.find((e=>e.id===c)))||void 0===n||null===(t=(r=n.checklist).every)||void 0===t?void 0:t.call(r,(e=>e.checked));return a.useEffect((()=>{setTimeout((()=>{o.current=!0}),1e3)}),[]),a.useEffect((()=>{!i&&d&&o.current&&(s(!0),m())}),[d,i]),a.createElement("div",{className:(0,l.c)("rounded-lg","border-l-gray-400 dark:border-l-gray-600","dark:bg-gray-800 bg-gray-50")},a.createElement("div",{className:(0,l.c)("border-l-4","border-l-solid","border-l-inherit","rounded-tl-lg","rounded-bl-lg","p-4","flex flex-col")},a.createElement("div",{className:"border-b border-gray-400 dark:border-gray-500 border-opacity-50 dark:border-opacity-50"},a.createElement("div",{className:(0,l.c)("not-prose","mt-0 mb-4","flex items-center","gap-2")},a.createElement(O,{className:(0,l.c)("w-4 h-4","dark:text-gray-100 text-gray-800")}),a.createElement("h3",{className:(0,l.c)("m-0 p-0","font-semibold","dark:text-gray-100 text-gray-800","uppercase","text-base leading-6")},"Checklist"))),a.createElement("div",null,e),a.createElement("div",{className:"flex items-center justify-center"},a.createElement("div",{id:`checklist-${c}`}))))};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=>a.createElement("svg",function(e){for(var t=1;t{var r,n,o,c;const{id:i}=(0,v.U)(),{items:s,toggle:u}=(0,w.GC)(),m=null===(r=null===(c=s.find((e=>e.id===i)))||void 0===c||null===(n=(o=c.checklist).find)||void 0===n?void 0:n.call(o,(e=>e.id===t)))||void 0===r?void 0:r.checked;return a.createElement("label",{className:(0,l.c)("mt-4","flex","items-center justify-start","flex-nowrap","gap-2","cursor-pointer")},a.createElement("div",{className:"flex-shrink-0"},a.createElement("button",{type:"button",onClick:()=>{u(i,t)},className:(0,l.c)("appearance-none","flex items-center justify-center","w-4 h-4","rounded","border",{"border-gray-400 dark:border-gray-500":!m,"border-refine-react-dark-link dark:border-refine-react-dark-link":m,"bg-refine-react-dark-link":m})},m&&a.createElement(j,null))),a.createElement("div",{className:(0,l.c)(m&&"line-through dark:text-gray-100 dark:text-opacity-50 text-gray-800 text-opacity-50",!m&&"text-gray-800 dark:text-gray-100")},e))};var C=r(8560),N=r(2108);const S=({path:e})=>a.createElement(C.s,{language:"bash",title:"Run on your local",icon:a.createElement(N.G,null)},`npm create refine-app@latest -- --example ${e}`);var D=r(5792);const M=({path:e})=>a.createElement("div",{className:(0,l.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")},a.createElement(D.A,{className:"ml-1.5 w-5 h-5 text-gray-800 dark:text-gray-100"}),a.createElement("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:(0,l.c)("text-base","leading-8","text-refine-react-light-link dark:text-refine-react-dark-link")},a.createElement("span",null,"View Source Code"))),A=({path:e})=>{const t=`https://github.com/PrepVerse/PrepVerse/tree/master/examples/${e}`;return a.createElement(M,{path:t})},L=({path:e,hideSource:t,hideLocal:r,hideSandbox:n})=>{const l=`${`https://codesandbox.io/embed/github/refinedev/refine/tree/master/examples/${e}`}?view=preview&theme=dark&runonclick=1&codemirror=1`;return a.createElement("div",null,!t&&a.createElement(A,{path:e}),!r&&a.createElement(S,{path:e}),!n&&a.createElement("iframe",{loading:"lazy",src:l,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 R=r(3732),Z=r(7916);const T=()=>a.createElement("div",null,a.createElement(R.c,{type:"simple",title:"Good to know"},a.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})=>a.createElement("div",{className:(0,l.c)("refine-info-badge","relative","group","inline-flex","align-middle")},e,a.createElement("div",{className:(0,l.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")},a.createElement("div",{className:(0,l.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"))),V=({id:e,icon:t,color:r,text:n,description:o})=>{const c=(0,l.c)("orange"===r&&(0,l.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,l.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,l.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 a.createElement(B,{content:o},a.createElement(i.c,{to:`/docs/${e}`,className:(0,l.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",c)},t,n&&a.createElement("span",{className:"text-xs leading-[0.875rem]"},n)))};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}const H=e=>a.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;tr?a.createElement("div",{className:(0,l.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:c},null!=e?e:"deprecated"):t?a.createElement("div",{className:(0,l.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?a.createElement("div",{className:(0,l.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:c},null!=e?e:"required"):o?a.createElement("div",{className:(0,l.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:c},null!=e?e:"featured"):e?a.createElement("div",{className:(0,l.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:c},e):null,U="tooltip__Ymd",z="tooltipContainer_l6r7",G="tooltipContent_UeXm",W="tooltipArrow_mOyh",Y=({label:e,children:t})=>e?a.createElement("div",{className:`${U} group`},t,a.createElement("div",{className:`${z} group-hover:visible`},a.createElement("span",{className:G},e),a.createElement("div",{className:W}))):a.createElement(a.Fragment,null,t);function q(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=({prop:e,overrides:t})=>{var r,n,l;const o=null!==(l=t[`${e.name}-required`])&&void 0!==l?l:e.required;var c;const i=null!==(c=t[`${e.name}-deprecated`])&&void 0!==c?c:null===(r=e.tags)||void 0===r?void 0:r.deprecated;var s,u;const m=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:"",d=(0,a.useMemo)((()=>{const e="props-table--name";return i?`${e} props-table--name__deprecated`:e}),[e,t]),f=(0,a.useMemo)((()=>m?a.createElement(Z.s,null,m):null),[e,t]);var p;return a.createElement(Y,{label:f},a.createElement(a.Fragment,null,a.createElement("span",{className:d},null!==(p=t[`${e.name}-name`])&&void 0!==p?p:e.name),o&&a.createElement($,{asterisk:!0})))},Q=({prop:e,overrides:t})=>{var r;const n=null!==(r=t[`${e.name}-type`])&&void 0!==r?r:e.type.name,l=n.split(" | "),o=l.length>1,c=l.some((e=>e.length>20)),i=/`/.test(n);return a.createElement(a.Fragment,null,i?a.createElement(Z.s,null,n):c&&o?a.createElement(a.Fragment,null,l.map(((e,t)=>a.createElement("code",{className:"max-w-xs h-min",key:t},a.createElement(Z.s,null,e))))):a.createElement("code",{className:"max-w-xs h-min"},a.createElement(Z.s,null,n)))},K=({prop:e,overrides:t})=>{var r,n;return a.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)},X=({prop:e,overrides:t})=>{var r,n,l,o;const c=null===(r=e.tags)||void 0===r?void 0:r.default,i=(null===(n=e.defaultValue)||void 0===n?void 0:n.value)&&(null===(l=e.defaultValue)||void 0===l?void 0:l.value)!==c?null===(o=e.defaultValue)||void 0===o?void 0:o.value:void 0,s=t[`${e.name}-default`];return c||s?a.createElement(Z.s,null,null!=s?s:c):a.createElement("div",{className:"flex flex-wrap gap-1"},void 0!==i?a.createElement("code",{className:"max-w-xs h-min"},a.createElement(Z.s,null,i)):null)},ee=({prop:e,overrides:t})=>a.createElement("td",null,a.createElement("div",{className:"flex items-center"},a.createElement(J,{prop:e,overrides:t}))),te=({prop:e,overrides:t})=>a.createElement("td",{className:"props-table__type-cell"},a.createElement("div",{className:"flex flex-wrap gap-1"},a.createElement(Q,{prop:e,overrides:t}))),re=({prop:e,overrides:t})=>a.createElement("td",{className:"props-table__description-cell"},a.createElement(K,{prop:e,overrides:t})),ne=({prop:e,overrides:t})=>a.createElement("td",{className:"props-table__default-value-cell"},a.createElement(X,{prop:e,overrides:t})),ae=e=>{var{module:t,hideDefaults:n,children:l}=e,o=q(e,["module","hideDefaults","children"]);const c=((e,t="@refinedev/")=>{const[n,l]=(0,a.useState)(null);return(0,a.useEffect)((()=>{let n=!1;return r(6324)(`./${e.startsWith(t)?e:`${t}${e}`}.json`).then((e=>{n||(n=!0,l(e.default))})).catch(console.warn),()=>{n=!0}}),[e]),n})(t),i=(0,a.useMemo)((()=>{var e;if(n)return!1;if(Object.keys(o).some((e=>e.endsWith("-default"))))return!1;var t;return!Object.values(null!==(t=null===(e=c)||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}))}),[o]);if(!c)return null;const s=[...Object.values(c.props)];return a.createElement("div",{className:"table-container"},a.createElement("table",{className:"props-table"},a.createElement("thead",null,a.createElement("tr",null,a.createElement("th",null,"Property"),a.createElement("th",null,"Type"),a.createElement("th",null,"Description"),i?null:a.createElement("th",null,"Default"))),a.createElement("tbody",null,s.map((e=>o[`${e.name}-hidden`]?null:a.createElement("tr",{key:e.name},a.createElement(ee,{prop:e,overrides:o}),a.createElement(te,{prop:e,overrides:o}),a.createElement(re,{prop:e,overrides:o}),i?null:a.createElement(ne,{prop:e,overrides:o})))))),l)};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 oe=e=>a.createElement("svg",function(e){for(var t=1;t{const{current:r}=(0,ce.U)();return e&&r===e?a.createElement(a.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 me(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 de=e=>{var t;const r=a.Children.toArray(e.children),n=r.find((e=>a.isValidElement(e)&&"summary"===(null===(t=e.props)||void 0===t?void 0:t.mdxType))),o=a.createElement(a.Fragment,null,r.filter((e=>e!==n)));return a.createElement(se.S,me(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 be=e=>{var{children:t,className:r}=e,n=ge(e,["children","className"]);return a.createElement("summary",function(e){for(var t=1;t{const t=e.currentTarget,a=s.indexOf(t),l=o[a].value;l!==r&&(u(t),n(l))},d=e=>{var t,r;let n=null;switch(e.key){case"Enter":m(e);break;case"ArrowRight":{const t=s.indexOf(e.currentTarget)+1;var a;n=null!==(a=s[t])&&void 0!==a?a:s[0];break}case"ArrowLeft":{const t=s.indexOf(e.currentTarget)-1;var l;n=null!==(l=s[t])&&void 0!==l?l:s[s.length-1];break}}null===(r=n)||void 0===r||null===(t=r.focus)||void 0===t||t.call(r)};return a.createElement("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,l.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",!c&&"rounded-bl-lg rounded-br-lg","items-stretch")},o.map((({value:e,label:t,attributes:n})=>a.createElement("li",Oe(xe({role:"tab",tabIndex:r===e?0:-1,"aria-selected":r===e,key:e,ref:e=>s.push(e),onKeyDown:d,onClick:m},n),{className:(0,l.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 ke({lazy:e,children:t,selectedValue:r,smallTabs:n}){const o=(Array.isArray(t)?t:[t]).filter(Boolean);if(e){const e=o.find((e=>e.props.value===r));return e?(0,a.cloneElement)(e,{className:"margin-top--md refine-tab-content"}):null}var c;return a.createElement("div",{className:"p-4"},o.map(((e,t)=>(0,a.cloneElement)(e,{key:t,hidden:e.props.value!==r,className:(0,l.c)(null!==(c=e.props.className)&&void 0!==c?c:[],"refine-tab-content")}))))}function je(e){const t=(0,he.a)(e),{wrapContent:r=!0}=e;return a.createElement("div",{className:(0,l.c)("tabs-container","rounded-lg","border-gray-300 dark:border-gray-700",r?"border":"border-0","mb-6","refine-wider-container")},a.createElement(Ee,xe({},e,t)),a.createElement(ke,xe({},e,t)))}function Pe(e){const t=(0,ve.c)();return a.createElement(je,xe({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,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}var Se=r(4472),De=r(4896),Me=r(1488),Ae=r(8620),Le=r(6076),Re=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 Te=e=>a.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;t{var t,r;const[n,o]=(0,a.useState)(!1),{refs:c,floatingStyles:i,context:s}=(0,Se.gR)({placement:"bottom-start",open:e.isOpen,onOpenChange:e.onOpenChange,whileElementsMounted:De.kN,middleware:[(0,Me.E3)((({middlewareData:e})=>{var t;return(null===(t=e)||void 0===t?void 0:t.flip)?{mainAxis:12}:{mainAxis:52}})),(0,De.EB)((({placement:e})=>(e.includes("bottom")&&o(!1),e.includes("top")&&o(!0),{fallbackPlacements:["top-start"]})))]}),u=(0,Se.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:m,getFloatingProps:d}=(0,Se.M3)([u]);return a.createElement(a.Fragment,null,a.createElement("div",We(Ge({ref:c.setReference},m()),{style:{position:"absolute",top:"0",left:0}})),a.createElement(Ae.I,null,s.open&&a.createElement(Le.q.div,We(Ge({initial:{opacity:0},animate:{opacity:1,transition:{duration:.2}},exit:{opacity:0},ref:c.setFloating,style:i},d()),{className:(0,l.c)("w-[320px]","bg-[#EAEBEF] dark:bg-refine-react-dark-code","border border-[#E3E4E5] dark:border-[#343A46]","rounded-[20px]","relative")}),e.children,a.createElement(qe,{style:Ge({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)}))))},qe=e=>{const{colorMode:t}=(0,Re.U)(),r="dark"===t;return a.createElement("svg",Ge({xmlns:"http://www.w3.org/2000/svg",width:42,height:18,viewBox:"0 0 42 18",fill:"none"},e),a.createElement("title",null,"Popover Pointer"),a.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"}),a.createElement("defs",null,a.createElement("linearGradient",{id:"a",x1:21,x2:21,y1:1,y2:16,gradientUnits:"userSpaceOnUse"},a.createElement("stop",{offset:.59,stopColor:r?"#343A46":"#E3E4E5"}),a.createElement("stop",{offset:.602,stopColor:r?"#343A46":"#E3E4E5",stopOpacity:0}))))},Je={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 Ke(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 Xe;var et=r(7500),tt=r(9104);var rt=r(9092);var nt=r(5560);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}function lt(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 ot(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ct=(it=function(e){for(var t=1;t{var{className:t}=e,r=Ne(e,["className"]);return a.createElement("blockquote",function(e){for(var t=1;tf===d.length?a.createElement(m.c,null,(()=>a.createElement(u,null))):a.createElement(m.c,null,(()=>a.createElement(s,d[f]))),GuideBadge:({id:e,description:t="Please check the guide for more information on this topic.",text:r})=>a.createElement(V,{id:e,color:"green",icon:a.createElement(I,null),text:r,description:a.createElement(a.Fragment,null,a.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Check the guide"),a.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})=>a.createElement(V,{id:e,color:"orange",text:r,icon:a.createElement(oe,null),description:a.createElement(a.Fragment,null,a.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Router Integrated"),a.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})=>a.createElement(V,{color:"purple",icon:a.createElement(H,null),text:r,id:e,description:a.createElement(a.Fragment,null,a.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Globally Configurable"),a.createElement("div",{className:"text-xs"},t))}),Image:e=>a.createElement("img",Ke(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 a.createElement(Pe,null,a.createElement(tt.c,{value:"npm",label:"npm",default:!0},a.createElement(C.s,{className:"language-bash"},r.npm)),a.createElement(tt.c,{value:"pnpm",label:"pnpm"},a.createElement(C.s,{className:"language-bash"},r.pnpm)),a.createElement(tt.c,{value:"yarn",label:"yarn"},a.createElement(C.s,{className:"language-bash"},r.yarn),a.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 a.createElement(Pe,null,a.createElement(tt.c,{value:"npm",label:"npm",default:!0},a.createElement(C.s,{className:"language-bash"},r.npm),t),a.createElement(tt.c,{value:"pnpm",label:"pnpm"},a.createElement(C.s,{className:"language-bash"},r.pnpm),t),a.createElement(tt.c,{value:"yarn",label:"yarn"},a.createElement(C.s,{className:"language-bash"},r.yarn),t))},FullTable:et.Ih,TutorialConditional:({parameter:e,value:t,children:r})=>{var n;const{parameters:l}=(0,rt.iC)();return(null===(n=l)||void 0===n?void 0:n[e])===t?a.createElement(a.Fragment,null,r):null},VideoInView:e=>{const t=a.useRef(null),r=(0,nt.c)(t);return a.useEffect((()=>{var e,n,a,l;r?null===(n=t.current)||void 0===n||null===(e=n.play)||void 0===e||e.call(n):null===(l=t.current)||void 0===l||null===(a=l.pause)||void 0===a||a.call(l)}),[r]),a.createElement("video",lt(function(e){for(var t=1;t{var e,r,n,a,l;(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===(l=t.current)||void 0===l||null===(a=l.pause)||void 0===a||a.call(l)},className:(0,l.c)(e.className,"w-full","h-auto","max-w-full","max-h-full","rounded-xl","object-contain")}))},DocThumbsUpDownFeedbackWidget:e=>{const t=(0,Ue.IT)(),[r,n]=(0,a.useState)(""),[o,c]=(0,a.useState)(null),[i,s]=(0,a.useState)(!1),[u,m]=(0,a.useState)(!1),d=i||u,{survey:f,createSurvey:p,updateSurvey:g}=(e=>{const[t,r]=(0,a.useState)(null),n=$e[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 a=await t.json();return a?(r(a),a):void 0},updateSurvey:async({surveyId:e,body:t})=>{const a=await fetch(`${n}/responses/${e}`,{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(!a.ok)return null;const l=await a.json();return l?(r(l),l):void 0}}})({type:Fe.THUMBS}),b=async r=>{c(r),s(!0),f?await g({surveyId:f.id,body:{response:r}}):await p({body:{response:r,entityId:t.pathname,metaData:{sectionId:e.id}}})};return a.createElement("div",{className:"group"},e.children,a.createElement("div",{className:(0,l.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",!d&&"opacity-0","group-hover:opacity-100")},a.createElement("div",{className:(0,l.c)("text-xs","whitespace-nowrap","text-[#23272F] dark:text-[#E3E4E5]")},"Was this helpful?"),a.createElement("div",{className:(0,l.c)("flex","items-center","gap-1","widget-actions")},a.createElement("button",{type:"button",onClick:()=>b(Je.UP),className:(0,l.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===o&&"text-green-500 bg-green-500/20")},a.createElement(Te,null)),a.createElement("button",{type:"button",onClick:()=>b(Je.DOWN),className:(0,l.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===o&&"text-red-500 bg-red-500/20")},a.createElement(Ve,null))),a.createElement(Ye,{isOpen:d,onOpenChange:e=>{u||e||(s(!1),m(!1))},arrowStyle:{right:1===o?"150px":"115px"}},!u&&a.createElement("form",{className:(0,l.c)("flex flex-col","p-2"),onSubmit:e=>{e.preventDefault(),(async()=>{const e=r.trim();e&&(await g({surveyId:f.id,body:{response:o,responseText:e}}),m(!0),setTimeout((()=>{s(!1),m(!1)}),2e3))})()}},a.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,l.c)("w-full","bg-white dark:bg-[#343A46]","text-[#23272F] dark:text-[#E3E4E5]","resize-none","rounded-xl","text-xs","py-2 px-3")}),a.createElement("button",{type:"submit",className:(0,l.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&&a.createElement("div",{className:(0,l.c)("flex items-center","p-4","text-xs","text-gray-500")},a.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:()=>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)}},6992:(e,t,r)=>{"use strict";r.d(t,{c:()=>k});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 u=r(4971);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,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 f=e=>n.createElement("svg",d(function(e){for(var t=1;t(n.useEffect((()=>(e.open?document.body.style.overflow="hidden":document.body.style.overflow="auto",()=>{document.body.style.overflow="auto"})),[e.open]),n.createElement(h.c,null,(()=>(0,b.createPortal)(n.createElement(w,e),document.body)))),w=({children:e,title:t,open:r,onClose:a,variant:l})=>{const[o,c]=n.useState(48),{scrollY:i}=(0,y.Q)(),s=n.useRef(null);var m,d;return m=s,d=e=>{e.stopPropagation(),a()},n.useEffect((()=>{const e=e=>{m.current&&!m.current.contains(e.target)&&(e.preventDefault(),d(e))};return document.addEventListener("click",e,!0),()=>{document.removeEventListener("click",e,!0)}}),[m]),((e,t,r)=>{n.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])})(s,["Escape"],(()=>{a()})),n.useEffect((()=>{const e=i.onChange((e=>{c(e>=48?0:48-e)}));return()=>e()}),[]),n.createElement("div",{style:{top:o},className:(0,u.c)("fixed","right-0 bottom-0","z-modal",!r&&"pointer-events-none")},n.createElement(g.O,{ref:s,as:"div",className:(0,u.c)("z-modal","flex flex-col","w-[240px] h-full","ml-auto","p-4","blog"===l&&"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"},n.createElement("div",{className:(0,u.c)("flex","items-center","justify-between","mb-10","dark:text-gray-300 text-gray-900")},n.createElement("h3",{className:(0,u.c)("text-base","font-semibold")},t),n.createElement("button",{type:"button",className:(0,u.c)("appearance-none"),onClick:a},n.createElement(p.O,null))),n.createElement("div",{className:(0,u.c)("overflow-auto h-full")},e)))};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}function O(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(j,{collapsed:r,tags:o,className:(0,u.c)("hidden blog-lg:flex",t),onShowMoreClick:e=>a(e)}),n.createElement(P,{tags:o,className:(0,u.c)("block blog-lg:hidden",t)}))}const j=({tags:e,collapsed:t,className:r,onShowMoreClick:l})=>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(a.c,E(O({},e),{label:N(e.label)})))))),n.createElement("button",{type:"button",onClick:()=>l(!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(C,{className:(0,u.c)("opacity-30","transition-transform duration-200 ease-in-out",{"rotate-180 transform":!t})}))),P=({tags:e,className:t})=>{const[r,l]=n.useState(!1);return n.createElement(n.Fragment,null,n.createElement("div",{className:(0,u.c)(t)},n.createElement("button",{type:"button",onClick:()=>l(!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,null),n.createElement("div",null,"Filter Tags"))),n.createElement(v,{onClose:()=>l(!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(a.c,E(O({},e),{label:N(e.label),variant:"inverted",size:"medium"}))))))))},C=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"})),N=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)}},2876:(e,t,r)=>{"use strict";r.d(t,{U:()=>n});const n=()=>{var e,t;return null===(t=window.open("https://s.refine.dev/refine-brand-assets","_blank"))||void 0===t||null===(e=t.focus)||void 0===e?void 0:e.call(t)}}}]); \ 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 a(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],a=t[0];return r.e(t[1]).then((()=>r.t(a,19)))}a.keys=()=>Object.keys(n),a.id=6324,e.exports=a},6280:(e,t,r)=>{"use strict";r.d(t,{c:()=>u});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 u(){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)=>{"use strict";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)=>{"use strict";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}},3688:(e,t,r)=>{"use strict";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)}}},5980:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>p});var n=r(1504),a=r(7328),l=r(9936),o=r(6684),c=r(6108),i=r(2668),s=r(1628),u=r(4971),m=r(9184),d=r(2460);const f=()=>{const{siteConfig:{title:e,tagline:t}}=(0,l.c)();return n.createElement(n.Fragment,null,n.createElement(o.U7,{title:e,description:t}),n.createElement(c.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(f,null),n.createElement(a.c,{showSidebarBanner:!1},n.createElement("div",{className:"h-12"}),n.createElement(m.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(d.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:()=>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))}},4752:(e,t,r)=>{"use strict";r.d(t,{c:()=>l});var n=r(1504),a=r(9184);const l=()=>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(a.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")))},68:(e,t,r)=>{"use strict";r.d(t,{c:()=>u});var n=r(1504),a=r(9184);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 o=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const[e,t]=n.useState(0);return n.useEffect((()=>{(async()=>{const e=await fetch(`https://api.github.com/repos/pankod/refine?access_token=${s}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`token ${s}`}}),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(a.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(i,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(o,{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:()=>C,cN:()=>P,CS:()=>u,E$:()=>D,us:()=>S});var n=r(1504),a=r(9184),l=r(468),o=r(3270),c=r(1904),i=r(4971);const s=()=>{var e,t;const{metadata:r}=(0,l.g)(),{permalink:s,title:u,date:m,formattedDate:d,frontMatter:f,description:p,tags:g}=r,b=r.authors[0];return n.createElement(o.c,null,n.createElement(a.c,{itemProp:"url",to:s,className:(0,i.c)("block","w-full h-auto","aspect-[592/334]")},n.createElement("div",{className:(0,i.c)("not-prose relative m-0 hover:brightness-90","h-full w-full")},n.createElement("img",{src:`${f.image}?h=256`,alt:u,className:(0,i.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,i.c)("flex flex-wrap items-center","mb-6","gap-2")},g.map((e=>n.createElement(a.c,{className:(0,i.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:s,className:"no-underline hover:no-underline",rel:"noopener dofollow"},n.createElement("div",{className:(0,i.c)("mb-4","text-gray-700 dark:text-refine-react-3","text-xl","font-lg","font-bold")},u)),n.createElement("div",{className:(0,i.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(a.c,{href:`/blog/author/${null===(e=b)||void 0===e?void 0:e.key}`,itemProp:"url",className:(0,i.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,i.c)("h-[4px] w-[4px] rounded-full","bg-gray-600 dark:bg-gray-500")}),n.createElement("span",{className:(0,i.c)("text-gray-600 dark:text-gray-500","text-xs","leading-6","no-underline")},n.createElement(c.iI,{date:m,formattedDate:d})))))},u=({items:e})=>n.createElement("div",null,n.createElement("div",{className:(0,i.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,i.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-cyan-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(l.E,{key:e.metadata.permalink,content:e},n.createElement(s,null)))))));var m=r(2656),d=r(56),f=r(9936),p=r(7760),g=r(6224),b=r(3784),y=r(4776),h=r(2788),v=r(8368);const w=(0,v.c)("telegram",(function(e,t){var r=t.title;return(0,y.c)(e,"telegram.url"),"https://telegram.me/share/url"+(0,h.c)({url:e,text:r})}),(function(e){return{title:e.title}}),{windowWidth:550,windowHeight:400});var x=r(2544);const O=(0,x.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,y.c)(e,"facebook.url"),"https://www.facebook.com/sharer/sharer.php"+(0,h.c)({u:e,quote:r,hashtag:n})}),(function(e){return{quote:e.quote,hashtag:e.hashtag}}),{windowWidth:550,windowHeight:400});const k=(0,x.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 j=r(2460);const P=({children:e})=>{var t,r,s,u,y,h;const{metadata:v,isBlogPostPage:x}=(0,l.g)(),{permalink:P,title:C,date:N,formattedDate:S,readingTime:D,frontMatter:M,tags:A,description:L,authors:R}=v,Z=R[0],{siteConfig:{url:B}}=(0,f.c)();return n.createElement(o.c,{className:(0,i.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,i.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,i.c)("text-refine-react-5 dark:text-refine-react-4","text-sm no-underline","flex","items-center","gap-2")},n.createElement(j.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:B+P,title:C,source:B,summary:L,hashtags:A.map((e=>e.label)),className:"flex"},n.createElement(g.c,{size:26,round:!0})),n.createElement(b.c,{windowWidth:750,windowHeight:800,url:B+P,title:C,hashtags:A.map((e=>e.label)),className:"flex"},n.createElement(j.mk,{width:26,height:26})),n.createElement(w,{windowWidth:750,windowHeight:800,url:B+P,title:C,hashtags:A.map((e=>e.label)),className:"flex"},n.createElement(O,{size:26,round:!0})),n.createElement(E,{windowWidth:750,windowHeight:800,url:B+P,title:C,hashtags:A.map((e=>e.label)),className:"flex"},n.createElement(k,{size:26,round:!0})))),n.createElement("div",{className:"not-prose"},n.createElement("img",{className:"w-full rounded-xl aspect-[894/468]",src:`${M.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,i.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=Z)||void 0===t?void 0:t.key}`,itemProp:"url"},n.createElement("img",{src:null===(r=Z)||void 0===r?void 0:r.imageURL,alt:null===(s=Z)||void 0===s?void 0:s.name,loading:"lazy",className:"flex h-[32px] w-[32px] rounded-full object-cover"})),n.createElement(a.c,{to:`/blog/author/${null===(u=Z)||void 0===u?void 0:u.key}`,itemProp:"url",className:(0,i.c)("flex-1","text-gray-900 dark:text-gray-200","text-sm","no-underline","hover:no-underline")},null===(y=Z)||void 0===y?void 0:y.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===(h=Z)||void 0===h?void 0:h.title)),n.createElement("div",{className:"flex items-center gap-2 text-gray-600 dark:text-gray-400"},n.createElement(c.iI,{date:N,formattedDate:S}),void 0!==D&&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(c.S_,{readingTime:D}))))),n.createElement("h1",{className:"text-xl md:text-4xl",itemProp:"headline"},x?C:n.createElement(a.c,{itemProp:"url",to:P},C)),n.createElement("div",{id:m.blogPostContainerID,className:"markdown",itemProp:"articleBody"},n.createElement(d.c,null,e))))},C=({author:e,className:t})=>n.createElement(N,{author:e,className:t}),N=({author:e})=>{var t,r,l,o,c,s,u,m,d,f,p;const g=e.github||e.twitter||e.linkedin;return n.createElement("div",{className:(0,i.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,i.c)("flex","justify-between","items-center")},n.createElement("div",{className:(0,i.c)("w-full","flex items-center justify-between flex-wrap")},n.createElement("div",{className:(0,i.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===(l=e)||void 0===l?void 0:l.name,loading:"lazy",className:(0,i.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,i.c)("not-prose flex flex-col justify-between")},n.createElement("h1",{className:(0,i.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===(o=e)||void 0===o?void 0:o.name),n.createElement("div",{className:(0,i.c)("text-xs sm:text-base","text-gray-600 dark:text-gray-400")},null===(c=e)||void 0===c?void 0:c.title))),g&&n.createElement("div",{className:"flex justify-center gap-3"},(null===(s=e)||void 0===s?void 0:s.github)&&n.createElement(a.c,{to:null===(u=e)||void 0===u?void 0:u.github},n.createElement(j.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(j.mk,{className:"h-6 w-6"})),(null===(f=e)||void 0===f?void 0:f.linkedin)&&n.createElement(a.c,{to:null===(p=e)||void 0===p?void 0:p.linkedin},n.createElement(j.wd,{className:"h-6 w-6"}))))),n.createElement("div",{className:"border-b border-gray-200 dark:border-gray-700 mb-8"}))};r(4752),r(68),r(5524);const S=()=>{const{metadata:e}=(0,l.g)();return n.createElement("div",{className:"flex flex-wrap gap-2"},e.tags.map((e=>n.createElement(a.c,{to:e.permalink,className:(0,i.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))))},D=({posts:e,title:t})=>{var r,l,o;return e.length<1?null:n.createElement("div",{className:(0,i.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,i.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,i.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,i.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===(l=e.authors[0])||void 0===l?void 0:l.name),n.createElement("span",{className:"h-[4px] w-[4px] rounded-full bg-gray-600 dark:bg-gray-500"}),n.createElement(c.iI,{date:e.date,formattedDate:e.formattedDate}))))))))}},5524:(e,t,r)=>{"use strict";r.d(t,{c:()=>l});var n=r(1504),a=r(9184);const l=({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(a.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"))))},3740:(e,t,r)=>{"use strict";r.d(t,{q:()=>o,y:()=>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 l="tutorial-checklist-store",o=n.createContext({store:{},toggle:()=>{}}),c=({children:e})=>{const[t,r]=n.useState((()=>{if("undefined"!=typeof window){const t=localStorage.getItem(l);if(t)try{const e=JSON.parse(t);if("object"==typeof e)return e}catch(e){return{}}}return{}})),c=n.useCallback(((e,t,n)=>{r((r=>{const l=function(e){for(var t=1;t{"undefined"!=typeof window&&localStorage.setItem(l,JSON.stringify(t))}),[t]),n.createElement(o.Provider,{value:{store:t,toggle:c}},e)}},5448:(e,t,r)=>{"use strict";r.d(t,{g5:()=>i,mk:()=>s,sH:()=>l});var n=r(1504),a=r(2288);const l=["headless","antd","chakra-ui","mantine","mui"],o=e=>{if(l.includes(e))return e},c="tutorial-preferred-ui-package",i=n.createContext({preferred:"headless",current:void 0,setPreferred:()=>{}}),s=({children:e})=>{const{metadata:t}=(0,a.G)(),r=(e=>{const t=e.match(/\/(headless|antd|chakra-ui|mantine|mui)\//);if(t&&o(t[1]))return t[1]})(t.id),[l,s]=n.useState("headless");n.useEffect((()=>{if("undefined"!=typeof window){const e=localStorage.getItem(c),t=o(e);t&&s(t)}}),[]);const u=e=>{o(e)&&("undefined"!=typeof window&&localStorage.setItem(c,e),s(e))};return n.useEffect((()=>{r&&r!==l&&u(r)}),[r,l]),n.createElement(i.Provider,{value:{preferred:l,setPreferred:u,current:r||l}},e)}},9092:(e,t,r)=>{"use strict";r.d(t,{WO:()=>d,iC:()=>f});var n=r(1504),a=r(640),l=r(2064);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){for(var t=1;t0}),s="tutorial-parameters",u=(e,t)=>{for(const r of t)if(e.includes(`/${r.value}`))return r.value},m=()=>{const{pathname:e}=(0,a.IT)();return n.useMemo((()=>(e=>{const t={};for(const[r,n]of Object.entries(l.Sm.parameterOptions)){const a=u(e,n);a&&(t[r]=a)}return t})(e)),[e])},d=({children:e})=>{const[t,r]=n.useState(void 0),[a,o]=n.useState(!1),u=m(),d=n.useCallback((e=>{r((t=>{try{localStorage.setItem(s,JSON.stringify(c({},t,e)))}catch(r){console.error(r)}return c({},t,e)}))}),[]);return n.useEffect((()=>{try{const e=localStorage.getItem(s);d(e?c({},l.Sm.defaultParameters,JSON.parse(e),u):c({},l.Sm.defaultParameters,u))}catch(e){d(c({},l.Sm.defaultParameters,u))}o(!0)}),[]),n.createElement(i.Provider,{value:{parameters:t,setParameters:d,settled:a,options:l.Sm.parameterOptions}},e)},f=()=>n.useContext(i)},3376:(e,t,r)=>{"use strict";r.d(t,{U:()=>p});var n=r(2288),a=r(1688),l=(r(1504),r(3908));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){for(var t=1;t{var e,t,r,o;const m=(0,n.G)(),{docs:p}=(0,a.E)(),{frontMatter:g,metadata:{id:b}}=m,{tutorial:{units:y}}=(0,u.e)(),{current:h}=(0,l.U)(),v=e=>{const t=e.id.split("/"),r=s.sH.filter((e=>e!==h));return!t.find((e=>r.includes(e)))},w=!!(null===(e=g)||void 0===e?void 0:e.tutorial),x=b.split("/")[1],O=function({frontMatter:e}){const{docs:t}=(0,a.E)(),{current:r}=(0,l.U)(),n=e=>{if(e.includes("{preferredUI}")||r)return e.replace("{preferredUI}",r)},o=e=>"/docs/"+e,{tutorial:s}=e,{next:u,prev:m}=null!=s?s:{},d=u?n(u):void 0,f=t[m?n(m):void 0],p=t[d];return{previous:f?i(c({},f),{permalink:o(f.id)}):void 0,next:p?i(c({},p),{permalink:o(p.id)}):void 0}}(m),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}),{}),k=Object.entries(E).map((([e,r])=>f(d({unit:e,no:null===(t=y[e])||void 0===t?void 0:t.no,title:y[e].label},e===x&&w&&{current:!0}),{docs:r.map((e=>d({},e,e.id===b&&w&&{current:!0}))).filter(v)}))).sort(((e,t)=>(null===(r=e)||void 0===r?void 0:r.no)-(null===(o=t)||void 0===o?void 0:o.no)));return w?{id:b,isTutorial:w,unit:x,pagination:O,units:k}:void 0}},5560:(e,t,r)=>{"use strict";r.d(t,{c:()=>a});var n=r(1504);const a=(e,t="0px")=>{const[r,a]=n.useState(!1);return n.useEffect((()=>{var r;const n=null===(r=e)||void 0===r?void 0:r.current,l=new IntersectionObserver((([e])=>{a(e.isIntersecting)}),{rootMargin:t});return n&&l.observe(n),()=>{n&&l.unobserve(n)}}),[]),r}},8840:(e,t,r)=>{"use strict";r.d(t,{ot:()=>s,GC:()=>u});var n=r(1504);const a={items:[]};var l=r(3740);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){for(var t=1;tt.filter((t=>t.unit===e));function u(){const{store:e,toggle:t}=n.useContext(l.q);return{items:n.useMemo((()=>{var t,r,n,l;return null!==(l=null===(n=a)||void 0===n||null===(t=(r=n.items).map)||void 0===t?void 0:t.call(r,(t=>{const{id:r}=t;return i(c({},t),{checklist:t.checklist.map((t=>{var n;return i(c({},t),{checked:null!==(n=e[r]?.[t.id])&&void 0!==n&&n})})).sort(((e,t)=>e.index-t.index))})})))&&void 0!==l?l:[]}),[e]),toggle:t}}},380:(e,t,r)=>{"use strict";r.d(t,{e:()=>a});var n=r(9936);r(1504);const a=()=>{const{siteConfig:{customFields:e}}=(0,n.c)(),{tutorial:t}=e;return t}},3908:(e,t,r)=>{"use strict";r.d(t,{U:()=>l});var n=r(1504),a=r(5448);const l=()=>n.useContext(a.g5)},3680:(e,t,r)=>{"use strict";r.d(t,{u:()=>l});var n=r(1504),a=r(8564);const l=e=>n.createElement(a.E,e)},6968:(e,t,r)=>{"use strict";r.d(t,{m:()=>W});var n=r(9184),a=r(4971),l=r(4332),o=r(344),c=r(6076),i=r(1504),s=r(1980),u=r(8804),m=r(2876),d=r(3480);const f=[{isPopover:!0,label:"Docs",items:[{label:"DSA Docs",description:"Learning DSA in C++, Python & Java",link:"/docs",icon:d.uI},{label:"Web Tech Docs",description:"Learn HTML, CSS, JavaScript",link:"/docs/2.Web.Dev",icon:d.Af}]},{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}],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,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),y=r(5224),h=r(2424),v=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(y._,{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(y._.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(v.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(y._.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))))))},x=({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(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,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(p,{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://twitter.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(p,{key:t.label,item:t,variant:e}))))):i.createElement(g,{key:`navbar-${t.label}`,item:t,variant:e}))));var O=r(2276),E=r(7008),k=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 C=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),u=null!=r?r:n.c,m=void 0!==l&&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(B,{isModalOpen:e,setIsModalOpen:t},i.createElement(T,{className:(0,a.c)("hidden landing-sm:block","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}),i.createElement(V,{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(O.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(A.Q,null),i.createElement("div",{className:(0,a.c)("flex items-center justify-between","p-4","landing-sm:px-8")},i.createElement(u.m,{className:"dark:text-gray-0 text-gray-900",onContextMenu:m.U}),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(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,a.c)("flex-1","overflow-y-auto","px-4","pb-4")},r)))))),T=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(p,{key:e.label,item:e})))))})),i.createElement(_,null),i.createElement(H,{id:"tablet"}),i.createElement(F,{id:"tablet"})),V=e=>i.createElement("div",{className:(0,a.c)(e.className)},i.createElement("div",{className:"flex-grow"},f.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,a.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(M,{key:`modal-${e.label}`,label:e.label,href:e.href,icon:e.icon})))),i.createElement(_,null),i.createElement(H,{id:"phone"}),i.createElement(F,{id:"phone"})),F=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!")))},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(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://twitter.com/akashsingh3031"},i.createElement(d.CC,{className:"h-10 w-10"}))))},_=()=>{const{colorMode:e,setColorMode:t}=(0,k.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(R.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(L.g,null),"Dark"))};var I=r(9253),$=r(2700),U=r(5792),z=r(6936);const G=()=>{const{loading:e,githubStarCountText:t}=(0,$.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(U.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)))},W=({trackProgress:e,variant:t="landing",className:r})=>{const[d,f]=(0,i.useState)(!1),{scrollYProgress:p}=(0,l.Q)(),g=(0,o.s)(p,[.03,.95],["0%","100%"]);return i.createElement(i.Fragment,null,i.createElement(A.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:"/",onContextMenu:m.U},i.createElement(u.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(x,{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(I.C,null)),i.createElement(Z,{isModalOpen:d,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}}))))}},7500:(e,t,r)=>{"use strict";r.d(t,{Ih:()=>c,oJ:()=>o,yg:()=>l});var n=r(4971),a=r(1504);const l="preferred-full-table-width",o=e=>a.createElement("div",{className:(0,n.c)("table-container")},a.createElement("table",e)),c=({children:e})=>a.createElement("div",{className:"table-full-width"},e)},9253:(e,t,r)=>{"use strict";r.d(t,{C:()=>i,O:()=>u});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"}],u=({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)=>{"use strict";r.d(t,{o0:()=>p,yw:()=>d,wd:()=>f,AR:()=>g});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 u=r(3480),m=r(4252);const d=[{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(m.i,null),href:"https://prepverse.github.io/CodePoint"},{label:"LeetVerse",icon:n.createElement(m.i,null),href:"https://prepverse.github.io/LeetVerse"}]},{label:"About",items:[{label:"About Me",href:"/AkashSingh3031"},{label:"Portfolio",icon:n.createElement(m.i,null),href:"https://prepverse.github.io/portfolio"}]}],f=[{label:"License",href:"https://github.com/PrepVerse/prepverse.github.io/blob/master/LICENSE"}],p="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{"use strict";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{"use strict";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{"use strict";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{"use strict";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{"use strict";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)=>{"use strict";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{"use strict";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{"use strict";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{"use strict";r.d(t,{s1:()=>z,wR:()=>L,QD:()=>M,vn:()=>J,kv:()=>f,uI:()=>l,Af:()=>c,A9:()=>E,_2:()=>x,Ew:()=>g,Yf:()=>C,oh:()=>s,Ed:()=>j,BE:()=>y,KU:()=>Y,WR:()=>I,w9:()=>m,CC:()=>S,oz:()=>Z,C3:()=>v});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;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",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||(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{variant:t="landing"}=e,r=_(e,["variant"]);return n.createElement("svg",H(function(e){for(var t=1;tn.createElement("svg",U(function(e){for(var t=1;t{const{colorMode:t}=(0,G.U)();return n.createElement("div",{className:(0,V.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,V.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;tn.createElement("svg",function(e){for(var t=1;t{"use strict";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{"use strict";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{"use strict";r.d(t,{o:()=>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{"use strict";r.d(t,{E:()=>f});var n=r(4971),a=r(1504),l=r(9184),o=r(2876),c=r(7708),i=r(204),s=r(8804);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(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")},"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")},c.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:"/",onContextMenu:o.U,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(s.m,null)),a.createElement("a",{href:"https://github.com/sponsors/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,n.c)("hover:no-underline")},a.createElement("iframe",{src:"https://github.com/sponsors/AkashSingh3031/button",title:"Sponsor AkashSingh3031",height:"32",width:"114"}))),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")},c.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),c.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(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")}),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")},c.wd.map((t=>a.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)))),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(i.Q,{className:"text-refine-red ml-2 inline leading-6"}),a.createElement("br",null),"Built with Docusaurus & Refine.")))))}},6192:(e,t,r)=>{"use strict";r.d(t,{D:()=>m});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 m=e=>{var{children:t,href:r,className:o,onClick:m,buttonClassname:d}=e,f=u(e,["children","href","className","onClick","buttonClassname"]);const p=r?l.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),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)=>{"use strict";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(u,{style:{animationDelay:"1.5s"},className:(0,n.c)("absolute","top-[2px]","right-[220px]"),id:"1"}),a.createElement(u,{style:{animationDelay:"1s"},className:(0,n.c)("absolute","rotate-180","top-[8px] right-[100px]"),id:"2"}),a.createElement(m,{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(u,{style:{animationDelay:"2s"},className:(0,n.c)("absolute","rotate-180","top-[6px] right-[180px]"),id:"4"}),a.createElement(u,{style:{animationDelay:"0.5s"},className:(0,n.c)("delay-[1300]","absolute","top-[2px]","right-[40px]"),id:"5"}),a.createElement(m,{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"),".")),u=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})))),m=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}))))},2064:(e,t,r)=>{"use strict";r.d(t,{ED:()=>i,Ip:()=>s,_i:()=>d,Mx:()=>u,iG:()=>f,Yv:()=>c,Sm:()=>o,G_:()=>m});var n=r(2411);const a=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 l=r(1688);const o=a,c=(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 o.units)for(const n of r.items)if(e===c(n,t))return r},s=(e,t)=>{let r=!1;for(const n of o.units)for(const a of n.items){if(r)return a;c(a,t)===e&&(r=!0)}},u=(e,t)=>{let r=null;for(const n of o.units)for(const a of n.items){if(c(a,t)===e)return r;r=a}},m=()=>{const{docs:e}=(0,l.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])))},d=(e,t)=>{const r=t[e];if(!r)throw new Error(`Cannot find item with id ${e}`);return r.path},f=(e,t)=>{const r=t[e];if(!r)throw new Error(`Cannot find doc with id ${e}`);return r.title}},3732:(e,t,r)=>{"use strict";r.d(t,{c:()=>P});var n=r(1504),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}const o=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;t{var l;const o=null!==(l=f[e])&&void 0!==l?l:()=>null;var c;const i=null!==(c=p[e])&&void 0!==c?c:"tex-inherit";var s;const u=null!==(s=g[e])&&void 0!==s?s:"bg-inherit";return"simple"===e?n.createElement(h,{type:e,title:t},r):n.createElement("div",{className:(0,a.c)("rounded-lg","admonition",`admonition-${e}`,"mb-6","refine-wider-container",u)},n.createElement("div",{className:(0,a.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||b[e])&&n.createElement("div",{className:(0,a.c)("flex","items-center","gap-2","text-xs sm:text-base 2xl:text-base 2xl:leading-7","font-semibold",i)},n.createElement(o,null),n.createElement("span",{className:"uppercase"},null!==(m=null!=t?t:b[e])&&void 0!==m?m:"")),n.createElement("div",{className:(0,a.c)("text-gray-0","text-base","last:mb-0")},r)));var m},h=({type:e,title:t,children:r})=>{var l;const o=null!==(l=p[e])&&void 0!==l?l:"tex-inherit";var c;const i=null!==(c=g[e])&&void 0!==c?c:"bg-inherit";return n.createElement("div",{className:(0,a.c)("rounded-lg","admonition",`admonition-${e}`,"mb-6",i)},n.createElement("div",{className:(0,a.c)("flex flex-col","gap-2",!t&&"pt-4")},t&&n.createElement("div",{className:(0,a.c)("px-4","pt-4","text-sm","leading-5","-mt-0.5",o)},n.createElement("span",{className:"font-semibold"},null!=t?t:""),n.createElement("span",null,":")),n.createElement("div",{className:(0,a.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))),l=n.createElement(n.Fragment,null,r.filter((e=>e!==a)));return{mdxAdmonitionTitle:a,rest:l}}(e.children);var a;return x(w({},e),{title:null!==(a=e.title)&&void 0!==a?a:t,children:r})}const j=e=>{const{children:t,type:r,title:a}=k(e);return n.createElement(y,{type:r,title:a},t)};function P(e){return"info-tip"===e.type?n.createElement(j,e):"additional"===e.type?n.createElement(j,x(w({},e),{type:"note",title:"ADDITIONAL INFO"})):"sourcecode"===e.type?n.createElement(j,x(w({},e),{icon:n.createElement(O,null),title:n.createElement("a",{href:e.path,target:"_blank",rel:"noreferrer",style:{marginLeft:"4px"}},"VIEW SOURCE CODE \u2192"),titleProps:{style:{marginBottom:"-4px"}}}),e.children):"create-example"===e.type?n.createElement(j,x(w({},e),{type:"caution",icon:n.createElement(E,null),title:n.createElement("span",{style:{marginLeft:"4px"}},"RUN IN YOUR LOCAL")}),e.children):n.createElement(n.Fragment,null,n.createElement(j,e))}},7328:(e,t,r)=>{"use strict";r.d(t,{c:()=>P});var n=r(1504),a=r(8480),l=r(6968),o=r(3680),c=r(6280),i=r(4971),s=r(6192),u=r(6112),m=r(9184),d=r(2424),f=r(2276),p=r(2268);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){for(var t=1;t{const[r,a]=(0,n.useState)({scrollDepths:e,scrollY:0}),{scrollDepths:l,scrollY:o}=r;return(0,n.useEffect)((()=>{"undefined"!=typeof window&&0!==window.pageYOffset&&a((e=>y(b({},e),{scrollY:window.pageYOffset})))}),[]),(0,n.useEffect)((()=>{if("undefined"==typeof window)return;const e=()=>window.removeEventListener("scroll",n),n=()=>{const n=document.documentElement,o=document.body,c=n.scrollTop||o.scrollTop,i=n.scrollHeight||o.scrollHeight,s=c/(i-n.clientHeight)*100;if(l){const r=Math.min(...l,i);if(s>=r){const n=l.filter((e=>e!==r));0===n.length&&e(),t&&t({scrollY:r,scrollPercent:s,remainingDepths:n}),a({scrollY:r,scrollDepths:n})}}else a(y(b({},r),{scrollY:s}))};return window.addEventListener("scroll",n),e}),[l,o,r]),{scrollY:o}},v=(e,t)=>{const[r,a]=(0,n.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 n=t instanceof Function?t(r):t;a(n),"undefined"!=typeof window&&window.localStorage.setItem(e,JSON.stringify(n))}catch(n){console.log(n)}}]};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:a={text:"Explore Now",href:"https://prepverse.github.io/portfolio",onClick:void 0}})=>{var l,o,c,g;const{pathname:b}=(0,w.IT)(),[y,x]=(0,n.useState)(!1),[O,E]=v("banner-modal",null),k=(0,n.useRef)(!1),j=h();var P,C;return(0,n.useEffect)((()=>{"/blog/"!==b&&"/blog"!==b&&(k.current||y||j.scrollY>79&&j.scrollY<100&&(k.current=!0,9===O||null===O?(x(!0),E(0)):(E(O+1),k.current=!0)))}),[j.scrollY]),(0,n.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]),n.createElement(d.O,{appear:!0,show:y,as:n.Fragment},n.createElement(f.C,{as:"div",className:"relative z-modal",onClose:()=>x(!1)},n.createElement(d.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-900/70"})),n.createElement("div",{className:"fixed inset-0 overflow-y-auto"},n.createElement("div",{className:"flex min-h-full items-start justify-center"},n.createElement(d.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(f.C.Panel,{className:(0,i.c)("w-full min-h-screen","flex flex-col justify-center items-center")},n.createElement("div",{className:(0,i.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")},n.createElement("div",{className:(0,i.c)("flex","flex-col","items-center","gap-8","text-center","not-prose")},n.createElement(m.c,{to:null!==(P=null===(l=r)||void 0===l?void 0:l.href)&&void 0!==P?P:null===(o=a)||void 0===o?void 0:o.href,target:"_blank",rel:"noopener noreferrer",className:(0,i.c)("flex","h-auto xl:h-[192px]","flex-shrink-0","rounded-lg","overflow-hidden","focus:outline-none")},n.createElement("img",{className:(0,i.c)("object-contain"),src:null===(c=r)||void 0===c?void 0:c.src,alt:null!==(C=null===(g=r)||void 0===g?void 0:g.alt)&&void 0!==C?C:e,loading:"lazy"})),n.createElement("p",{className:(0,i.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),n.createElement(s.D,{className:(0,i.c)("w-max"),buttonClassname:(0,i.c)("!px-4","!py-4"),href:a.href,onClick:a.onClick,target:"_blank",rel:"noopener noreferrer"},n.createElement("div",{className:(0,i.c)("text-gray-900","text-base","font-bold")},a.text),n.createElement(u.G,{className:(0,i.c)("w-4","h-4")}))),n.createElement("button",{className:(0,i.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)},n.createElement(p.O,{className:"w-4 h-4"})))))))))},O=({className:e})=>n.createElement("div",{className:(0,i.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)},n.createElement("div",{className:(0,i.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")},n.createElement("h2",{className:(0,i.c)("flex","flex-wrap","gap-2","text-[32px] leading-[40px] landing-sm:text-[56px] landing-sm:leading-[72px]")},n.createElement("div",{className:(0,i.c)("dark:text-gray-0 text-gray-900")},"PrepVerse "),n.createElement("div",{className:(0,i.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(51,51,255,0.3)]","whitespace-nowrap")},"Technical Blog")),n.createElement("p",{className:(0,i.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.")));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 k(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 j(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 P=e=>{const[t,r]=(0,n.useState)(!1),{children:s,toc:u,showSidebarBanner:m=!0}=e,d=j(e,["children","toc","showSidebarBanner"]),f=h();return(0,n.useEffect)((()=>{t&&(f.scrollY>20&&r(!0),f.scrollY<20&&r(!1))}),[f.scrollY,m]),n.createElement(a.C,k(function(e){for(var t=1;t{"use strict";r.d(t,{c:()=>m});var n=r(1504),a=r(468),l=r(6992),o=r(9184),c=r(3270),i=r(1904),s=r(4971);function u({className:e}){var t,r;const{metadata:l}=(0,a.g)(),{permalink:u,title:m,date:d,formattedDate:f,frontMatter:p,description:g,tags:b}=l,y=l.authors[0];return n.createElement(c.c,{className:e},n.createElement("div",null,n.createElement(o.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:m,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: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")},m)),n.createElement("div",{className:(0,s.c)("line-clamp-3","text-gray-700 dark:text-refine-react-4","text-sm")},g)),n.createElement("div",{className:"flex items-center gap-2"},n.createElement(o.c,{href:`/blog/author/${null===(t=y)||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=y)||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 m({items:e,tags:t,component:r=u,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))))))))}},8560:(e,t,r)=>{"use strict";r.d(t,{s:()=>L});var n=r(1504),a=r(8952),l=r(8796),o=r(5684),c=r(6564),i=r(2184),s=r(6616),u=r(5952),m=r(4971),d=r(1373);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 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 g(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 b=e=>{var{as:t}=e,r=g(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,a]=(0,n.useState)(!1),l=(0,n.useRef)(void 0),o=(0,n.useCallback)((()=>{try{navigator.clipboard.writeText(e).then((()=>{a(!0),l.current=window.setTimeout((()=>{a(!1)}),1e3)}))}catch(t){}}),[e]);return(0,n.useEffect)((()=>()=>window.clearTimeout(l.current)),[]),n.createElement("button",{type:"button","aria-label":r?"Copied!":"Copy code to clipboard",title:"Copy code to clipboard",className:(0,m.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:o},n.createElement(h,{className:(0,m.c)("w-3 h-3","text-gray-500","dark:text-gray-400",r&&"rotate-[360deg]","transition-all duration-200 ease-in-out")}))};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=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const r=t?x:E;return n.createElement("button",{type:"button",onClick:()=>e(),className:(0,m.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,m.c)("w-3 h-3","text-gray-500","dark:text-gray-400",t&&"rotate-[360deg]","transition-all duration-200 ease-in-out")}))};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 P(e){for(var t=1;tn.createElement("svg",P({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"})),S=({children:e,icon:t=n.createElement(N,null)})=>n.createElement("div",{className:(0,m.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:a,showLineNumbers:l,language:f,icon:p,style:g})=>{const{prism:{defaultLanguage:y,magicComments:h}}=(0,o.y)();var w;const x=null!==(w=null!=f?f:(0,i.K2)(t))&&void 0!==w?w:y,O=(0,c.i)(),E=(0,s._)(),j=(0,i.QH)(r)||a,{lineClassNames:N,code:D}=(0,i.cj)(e,{metastring:r,language:x,magicComments:h}),M=null!=l?l:(0,i.OO)(r);return n.createElement(b,{as:"div",className:(0,m.c)("refine-common-code-block",x&&`language-${x}`,"rounded-lg","bg-gray-200","dark:bg-gray-900","border","border-gray-300","dark:border-0","mb-6","relative","refine-wider-container"),style:g},j&&n.createElement(S,{icon:p},j),n.createElement("div",{className:(0,m.c)("relative","pt-3","pb-0","not-prose")},n.createElement(d.cp,C(P({},d.wB),{theme:O,code:D,language:null!=x?x:"text"}),(({className:e,tokens:t,getLineProps:r,getTokenProps:a})=>n.createElement("pre",{tabIndex:0,ref:E.codeBlockRef,className:(0,m.c)(e,"bg-transparent","!mt-0","!mb-0","m-0","px-0","pt-0","font-jetBrains-mono","pb-3")},n.createElement("code",{className:(0,m.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:a,classNames:(0,m.c)(N[t],"px-4","text-xs sm:text-sm 2xl:text-sm"),showLineNumbers:M})))))))),n.createElement("div",{className:(0,m.c)("absolute",j?"top-2 right-2":"top-3 right-3","flex items-center gap-2")},(E.isEnabled||E.isCodeScrollable)&&n.createElement(k,{onClick:E.toggle,isEnabled:E.isEnabled}),n.createElement(v,{className:(0,m.c)(),code:D})))};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 A(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 L=e=>{var{children:t}=e,r=A(e,["children"]);const o=(0,a.c)(),c=function(e){return n.Children.toArray(e).some((e=>(0,n.isValidElement)(e)))?e:Array.isArray(e)?e.join(""):e}(t),i="string"==typeof c?D:l.c;return n.createElement(i,function(e){for(var t=1;t{"use strict";r.d(t,{c:()=>S});var n=r(1504),a=r(8560),l=r(4971),o=r(9936),c=r(7748),i=r.n(c),s=r(1688);const u="playgroundPreview_jwe9";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({children:e,minHeight:t,url:r="http://localhost:3000",hasBottom:a=!1}){return n.createElement("div",{className:(0,l.c)("flex","flex-col","h-full")},n.createElement("div",{className:(0,l.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(f,{className:"w-4 h-4"}),n.createElement("div",{className:(0,l.c)("text-xs")},`${r}`.replace(/^http(s?):\/\//,""))),n.createElement("div",{className:(0,l.c)("flex-1","overflow-hidden","bg-gray-100 dark:bg-gray-700","border border-gray-300 dark:border-gray-700",!a&&"rounded-bl-lg rounded-br-lg",a&&"border-b-gray-300 dark:border-b-gray-900",a&&"border-b"),style:{minHeight:t}},e))}const f=e=>n.createElement("svg",function(e){for(var t=1;t{const[a,l]=n.useState(e),[o]=n.useState(t);n.useEffect((()=>{!a&&e&&l(!0)}),[e]),n.useEffect((()=>{if(o){const e=setTimeout((()=>{l(!0)}),o);return()=>clearTimeout(e)}}),[o]);const c=n.useMemo((()=>a&&"function"==typeof r?r():null),[a]);if(void 0!==r&&"function"!=typeof r)throw new Error("Conditional component requires a function as a child");return c};var b=r(9128),y=r(3296);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}r.g.Buffer=r.g.Buffer||y.Sn;const v=({query:e,code:t,css:r})=>{const{siteConfig:{customFields:a}}=(0,o.c)(),[l,c]=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&&c(`${a.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]),l?n.createElement("iframe",{loading:"lazy",src:l,width:"100%",height:"100%",style:{position:"absolute",left:0,top:0,width:"100%",height:"100%"}}):null},w=n.memo(v,((e,t)=>e.code===t.code&&e.query===t.query&&e.css===t.css)),x=e=>n.createElement("svg",function(e){for(var t=1;t{a?(i(!1),setTimeout((()=>{o((e=>!e)),setTimeout((()=>{i(!0)}),300)}),100)):(i(!1),o((e=>!e)),setTimeout((()=>{i(!0)}),300))}},n.createElement(x,{className:(0,l.c)(a&&"rotate-180","transition-transform","duration-200","ease-in-out")}),n.createElement("span",{className:(0,l.c)("text-base","block","overflow-hidden","h-6")},n.createElement("span",{className:(0,l.c)("block",a&&"opacity-0","transition-opacity duration-200 ease-in-out")},"Show Code"),n.createElement("span",{className:(0,l.c)("block","transition-transform duration-200 ease-in-out","bg-gray-100 dark:bg-gray-700",a&&"-translate-y-6")},"Hide Code"))),n.createElement("div",{className:(0,l.c)("rounded-bl-lg","rounded-br-lg"),style:{maxHeight:a?c?"unset":"100vh":"0px",transition:"0.3s all ease-in-out",overflow:"hidden"},ref:r},n.createElement(S,{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:a=!1,url:c="http://localhost:3000",previewOnly:i=!1,tailwind:m=!1})=>{const f=String(e),{shared:y,sharedCss:h}=(0,b.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 a=e.slice(0,r),l=e.slice(r,n).trimEnd().trimStart(),o=e.slice(n);return{visible:l,join:e=>`${a}\n${e}\n${o}`}})(`\n ${null!=y?y:""}\n ${f}\n `.replace(/\n$/,"")),x=n.useRef(null),E=(0,p.c)(x),{siteConfig:{customFields:k}}=(0,o.c)(),{isLast:j}=(0,s.E)();return n.createElement("div",{className:(0,l.c)("overflow-hidden","mb-6","refine-wider-container")},n.createElement(n.Fragment,null,n.createElement(d,{url:c,hasBottom:!i},n.createElement("div",{className:(0,l.c)(u,"live-editor-wrapper"),style:{maxHeight:r,minHeight:r,overflow:t?"hidden":void 0,position:"relative"},ref:x},j?n.createElement(g,{if:E,maxWait:3e3},(()=>n.createElement(w,{code:`\n${null!=y?y:""}\n${f}\n `,css:h,query:`${t?"&disableScroll=true":""}${m?"&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(O,{hidden:a,code:v})))},k=n.memo(E,((e,t)=>String(e.children)===String(t.children))),j=({children:e})=>{const{setShared:t}=(0,b.UF)();return n.useEffect((()=>(t(String(e)),()=>{t(void 0)})),[e]),null},P=n.memo(j,((e,t)=>String(e.children)===String(t.children))),C=({children:e})=>{const{setSharedCss:t}=(0,b.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 S(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(P,e):e.live?n.createElement(k,e):n.createElement(a.s,e)}},3704:(e,t,r)=>{"use strict";r.d(t,{c:()=>m});var n=r(1504),a=r(9184),l=r(1724);const o=e=>{var t,r,n,a,o,c;let i="noopener noreferrer nofollow";const s=(0,l.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===(a=e)||void 0===a||null===(n=a.includes)||void 0===n?void 0:n.call(a,"refine.dev")))&&(i="noopener dofollow"),(s||(null===(c=e)||void 0===c||null===(o=c.includes)||void 0===o?void 0:o.call(c,"reactadminpanel.com")))&&(i="noopener dofollow"),i};var c=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:()=>ct});var n=r(7584),a=r(1504),l=r(4971),o=r(6192),c=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 m,d,f,p,g,b;return a.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]),a.createElement("div",{className:(0,l.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")},a.createElement(i.c,{to:null!==(g=null===(m=r)||void 0===m?void 0:m.href)&&void 0!==g?g:null===(d=s)||void 0===d?void 0:d.href,target:"_blank",rel:"noopener noreferrer",className:(0,l.c)("flex","max-w-[360px]","h-auto","flex-shrink-0","rounded-lg","overflow-hidden")},a.createElement("img",{src:null===(f=r)||void 0===f?void 0:f.src,alt:null!==(b=null===(p=r)||void 0===p?void 0:p.alt)&&void 0!==b?b:e,loading:"lazy"})),a.createElement("div",{className:(0,l.c)("flex","flex-col","gap-6","justify-center 2xl:justify-start","items-center 2xl:items-start","text-center 2xl:text-start","not-prose")},e&&a.createElement("h2",{className:(0,l.c)("text-xl md:text-2xl","text-gray-0")},e),a.createElement("p",{className:(0,l.c)("text-sm md:text-base","text-gray-100")},t),a.createElement(o.D,{className:(0,l.c)("w-max"),buttonClassname:(0,l.c)("!px-4","!py-2"),href:s.href,onClick:s.onClick,target:"_blank",rel:"noopener noreferrer"},a.createElement("div",{className:(0,l.c)("text-gray-900","text-sm md:text-base","font-bold")},s.text),a.createElement(c.G,{className:(0,l.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}})=>(a.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]),a.createElement("div",{className:(0,l.c)("relative","rounded-2xl","p-8","flex","flex-col","justify-center","items-center","not-prose","bg-banner-examples-gray")},a.createElement("h2",{className:(0,l.c)("text-2xl","font-semibold","bg-banner-examples-text","bg-clip-text","text-transparent")},e),a.createElement("p",{className:(0,l.c)("mt-2","text-sm","text-gray-300")},t),a.createElement(o.D,{className:(0,l.c)("mt-9"),href:r.href,onClick:r.onClick,target:"_blank",rel:"noopener noreferrer"},a.createElement("div",{className:(0,l.c)("text-gray-900","text-base","font-bold")},r.text))));var m=r(8164);const d=[],f=Math.floor(Math.random()*(d.length+1));var p=r(4752),g=r(68);const b=({image:e,title:t,description:r,isDark:n})=>{let l;l="refineNew"===r?a.createElement("div",null," ",a.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.",a.createElement("br",null),a.createElement("br",null),"\ud83d\ude80 By visually combining options for your preferred \u2728",a.createElement("b",null," React platform,")," \u2728 ",a.createElement("b",null,"UI framework"),", \u2728"," ",a.createElement("b",null,"backend connector"),", and \u2728 ",a.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!",a.createElement("br",null),a.createElement("br",null),a.createElement("br",null)):null!=r?r:a.createElement("div",null,"Meet the headless, React-based solution to build sleek"," ",a.createElement("b",null,"CRUD")," applications. With refine, you can be confident that your codebase will always stay clean and boilerplate-free.",a.createElement("br",null),a.createElement("br",null),"Try"," ",a.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank"},"PrepVerse")," ","to rapidly build your next ",a.createElement("b",null,"CRUD")," project, whether ","it's"," ","an admin panel, dashboard, internal tool or storefront.");const o=null!=e?e:"https://refine.ams3.cdn.digitaloceanspaces.com/website/static/img/generic_banner.png";o.startsWith("http")||o.startsWith("/");return a.createElement("a",{href:"https://s.refine.dev/hackathon2",target:"_blank",rel:"noreferrer"},a.createElement("img",{src:"https://refine.ams3.cdn.digitaloceanspaces.com/hackathon-2/hackathon_cover.png"}))};var y=r(5524),h=r(3896),v=r(3376),w=r(8840);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 O=e=>a.createElement("svg",function(e){for(var t=1;t{var t,r,n;const o=a.useRef(!1),{id:c}=(0,v.U)(),[i,s]=a.useState(!1),{items:u}=(0,w.GC)(),{reward:m}=(0,h.yh)(`checklist-${c}`,"confetti",{angle:90,elementCount:120,startVelocity:30,decay:.95,spread:100,position:"absolute",lifetime:150}),d=null===(n=u.find((e=>e.id===c)))||void 0===n||null===(t=(r=n.checklist).every)||void 0===t?void 0:t.call(r,(e=>e.checked));return a.useEffect((()=>{setTimeout((()=>{o.current=!0}),1e3)}),[]),a.useEffect((()=>{!i&&d&&o.current&&(s(!0),m())}),[d,i]),a.createElement("div",{className:(0,l.c)("rounded-lg","border-l-gray-400 dark:border-l-gray-600","dark:bg-gray-800 bg-gray-50")},a.createElement("div",{className:(0,l.c)("border-l-4","border-l-solid","border-l-inherit","rounded-tl-lg","rounded-bl-lg","p-4","flex flex-col")},a.createElement("div",{className:"border-b border-gray-400 dark:border-gray-500 border-opacity-50 dark:border-opacity-50"},a.createElement("div",{className:(0,l.c)("not-prose","mt-0 mb-4","flex items-center","gap-2")},a.createElement(O,{className:(0,l.c)("w-4 h-4","dark:text-gray-100 text-gray-800")}),a.createElement("h3",{className:(0,l.c)("m-0 p-0","font-semibold","dark:text-gray-100 text-gray-800","uppercase","text-base leading-6")},"Checklist"))),a.createElement("div",null,e),a.createElement("div",{className:"flex items-center justify-center"},a.createElement("div",{id:`checklist-${c}`}))))};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=>a.createElement("svg",function(e){for(var t=1;t{var r,n,o,c;const{id:i}=(0,v.U)(),{items:s,toggle:u}=(0,w.GC)(),m=null===(r=null===(c=s.find((e=>e.id===i)))||void 0===c||null===(n=(o=c.checklist).find)||void 0===n?void 0:n.call(o,(e=>e.id===t)))||void 0===r?void 0:r.checked;return a.createElement("label",{className:(0,l.c)("mt-4","flex","items-center justify-start","flex-nowrap","gap-2","cursor-pointer")},a.createElement("div",{className:"flex-shrink-0"},a.createElement("button",{type:"button",onClick:()=>{u(i,t)},className:(0,l.c)("appearance-none","flex items-center justify-center","w-4 h-4","rounded","border",{"border-gray-400 dark:border-gray-500":!m,"border-refine-react-dark-link dark:border-refine-react-dark-link":m,"bg-refine-react-dark-link":m})},m&&a.createElement(j,null))),a.createElement("div",{className:(0,l.c)(m&&"line-through dark:text-gray-100 dark:text-opacity-50 text-gray-800 text-opacity-50",!m&&"text-gray-800 dark:text-gray-100")},e))};var C=r(8560),N=r(2108);const S=({path:e})=>a.createElement(C.s,{language:"bash",title:"Run on your local",icon:a.createElement(N.G,null)},`npm create refine-app@latest -- --example ${e}`);var D=r(5792);const M=({path:e})=>a.createElement("div",{className:(0,l.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")},a.createElement(D.A,{className:"ml-1.5 w-5 h-5 text-gray-800 dark:text-gray-100"}),a.createElement("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:(0,l.c)("text-base","leading-8","text-refine-react-light-link dark:text-refine-react-dark-link")},a.createElement("span",null,"View Source Code"))),A=({path:e})=>{const t=`https://github.com/PrepVerse/PrepVerse/tree/master/examples/${e}`;return a.createElement(M,{path:t})},L=({path:e,hideSource:t,hideLocal:r,hideSandbox:n})=>{const l=`${`https://codesandbox.io/embed/github/refinedev/refine/tree/master/examples/${e}`}?view=preview&theme=dark&runonclick=1&codemirror=1`;return a.createElement("div",null,!t&&a.createElement(A,{path:e}),!r&&a.createElement(S,{path:e}),!n&&a.createElement("iframe",{loading:"lazy",src:l,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 R=r(3732),Z=r(7916);const B=()=>a.createElement("div",null,a.createElement(R.c,{type:"simple",title:"Good to know"},a.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"))),T=({children:e,content:t})=>a.createElement("div",{className:(0,l.c)("refine-info-badge","relative","group","inline-flex","align-middle")},e,a.createElement("div",{className:(0,l.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")},a.createElement("div",{className:(0,l.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"))),V=({id:e,icon:t,color:r,text:n,description:o})=>{const c=(0,l.c)("orange"===r&&(0,l.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,l.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,l.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 a.createElement(T,{content:o},a.createElement(i.c,{to:`/docs/${e}`,className:(0,l.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",c)},t,n&&a.createElement("span",{className:"text-xs leading-[0.875rem]"},n)))};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}const H=e=>a.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;tr?a.createElement("div",{className:(0,l.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:c},null!=e?e:"deprecated"):t?a.createElement("div",{className:(0,l.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?a.createElement("div",{className:(0,l.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:c},null!=e?e:"required"):o?a.createElement("div",{className:(0,l.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:c},null!=e?e:"featured"):e?a.createElement("div",{className:(0,l.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:c},e):null,U="tooltip__Ymd",z="tooltipContainer_l6r7",G="tooltipContent_UeXm",W="tooltipArrow_mOyh",Y=({label:e,children:t})=>e?a.createElement("div",{className:`${U} group`},t,a.createElement("div",{className:`${z} group-hover:visible`},a.createElement("span",{className:G},e),a.createElement("div",{className:W}))):a.createElement(a.Fragment,null,t);function q(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=({prop:e,overrides:t})=>{var r,n,l;const o=null!==(l=t[`${e.name}-required`])&&void 0!==l?l:e.required;var c;const i=null!==(c=t[`${e.name}-deprecated`])&&void 0!==c?c:null===(r=e.tags)||void 0===r?void 0:r.deprecated;var s,u;const m=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:"",d=(0,a.useMemo)((()=>{const e="props-table--name";return i?`${e} props-table--name__deprecated`:e}),[e,t]),f=(0,a.useMemo)((()=>m?a.createElement(Z.s,null,m):null),[e,t]);var p;return a.createElement(Y,{label:f},a.createElement(a.Fragment,null,a.createElement("span",{className:d},null!==(p=t[`${e.name}-name`])&&void 0!==p?p:e.name),o&&a.createElement($,{asterisk:!0})))},Q=({prop:e,overrides:t})=>{var r;const n=null!==(r=t[`${e.name}-type`])&&void 0!==r?r:e.type.name,l=n.split(" | "),o=l.length>1,c=l.some((e=>e.length>20)),i=/`/.test(n);return a.createElement(a.Fragment,null,i?a.createElement(Z.s,null,n):c&&o?a.createElement(a.Fragment,null,l.map(((e,t)=>a.createElement("code",{className:"max-w-xs h-min",key:t},a.createElement(Z.s,null,e))))):a.createElement("code",{className:"max-w-xs h-min"},a.createElement(Z.s,null,n)))},K=({prop:e,overrides:t})=>{var r,n;return a.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)},X=({prop:e,overrides:t})=>{var r,n,l,o;const c=null===(r=e.tags)||void 0===r?void 0:r.default,i=(null===(n=e.defaultValue)||void 0===n?void 0:n.value)&&(null===(l=e.defaultValue)||void 0===l?void 0:l.value)!==c?null===(o=e.defaultValue)||void 0===o?void 0:o.value:void 0,s=t[`${e.name}-default`];return c||s?a.createElement(Z.s,null,null!=s?s:c):a.createElement("div",{className:"flex flex-wrap gap-1"},void 0!==i?a.createElement("code",{className:"max-w-xs h-min"},a.createElement(Z.s,null,i)):null)},ee=({prop:e,overrides:t})=>a.createElement("td",null,a.createElement("div",{className:"flex items-center"},a.createElement(J,{prop:e,overrides:t}))),te=({prop:e,overrides:t})=>a.createElement("td",{className:"props-table__type-cell"},a.createElement("div",{className:"flex flex-wrap gap-1"},a.createElement(Q,{prop:e,overrides:t}))),re=({prop:e,overrides:t})=>a.createElement("td",{className:"props-table__description-cell"},a.createElement(K,{prop:e,overrides:t})),ne=({prop:e,overrides:t})=>a.createElement("td",{className:"props-table__default-value-cell"},a.createElement(X,{prop:e,overrides:t})),ae=e=>{var{module:t,hideDefaults:n,children:l}=e,o=q(e,["module","hideDefaults","children"]);const c=((e,t="@refinedev/")=>{const[n,l]=(0,a.useState)(null);return(0,a.useEffect)((()=>{let n=!1;return r(6324)(`./${e.startsWith(t)?e:`${t}${e}`}.json`).then((e=>{n||(n=!0,l(e.default))})).catch(console.warn),()=>{n=!0}}),[e]),n})(t),i=(0,a.useMemo)((()=>{var e;if(n)return!1;if(Object.keys(o).some((e=>e.endsWith("-default"))))return!1;var t;return!Object.values(null!==(t=null===(e=c)||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}))}),[o]);if(!c)return null;const s=[...Object.values(c.props)];return a.createElement("div",{className:"table-container"},a.createElement("table",{className:"props-table"},a.createElement("thead",null,a.createElement("tr",null,a.createElement("th",null,"Property"),a.createElement("th",null,"Type"),a.createElement("th",null,"Description"),i?null:a.createElement("th",null,"Default"))),a.createElement("tbody",null,s.map((e=>o[`${e.name}-hidden`]?null:a.createElement("tr",{key:e.name},a.createElement(ee,{prop:e,overrides:o}),a.createElement(te,{prop:e,overrides:o}),a.createElement(re,{prop:e,overrides:o}),i?null:a.createElement(ne,{prop:e,overrides:o})))))),l)};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 oe=e=>a.createElement("svg",function(e){for(var t=1;t{const{current:r}=(0,ce.U)();return e&&r===e?a.createElement(a.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 me(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 de=e=>{var t;const r=a.Children.toArray(e.children),n=r.find((e=>a.isValidElement(e)&&"summary"===(null===(t=e.props)||void 0===t?void 0:t.mdxType))),o=a.createElement(a.Fragment,null,r.filter((e=>e!==n)));return a.createElement(se.S,me(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 be=e=>{var{children:t,className:r}=e,n=ge(e,["children","className"]);return a.createElement("summary",function(e){for(var t=1;t{const t=e.currentTarget,a=s.indexOf(t),l=o[a].value;l!==r&&(u(t),n(l))},d=e=>{var t,r;let n=null;switch(e.key){case"Enter":m(e);break;case"ArrowRight":{const t=s.indexOf(e.currentTarget)+1;var a;n=null!==(a=s[t])&&void 0!==a?a:s[0];break}case"ArrowLeft":{const t=s.indexOf(e.currentTarget)-1;var l;n=null!==(l=s[t])&&void 0!==l?l:s[s.length-1];break}}null===(r=n)||void 0===r||null===(t=r.focus)||void 0===t||t.call(r)};return a.createElement("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,l.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",!c&&"rounded-bl-lg rounded-br-lg","items-stretch")},o.map((({value:e,label:t,attributes:n})=>a.createElement("li",Oe(xe({role:"tab",tabIndex:r===e?0:-1,"aria-selected":r===e,key:e,ref:e=>s.push(e),onKeyDown:d,onClick:m},n),{className:(0,l.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 ke({lazy:e,children:t,selectedValue:r,smallTabs:n}){const o=(Array.isArray(t)?t:[t]).filter(Boolean);if(e){const e=o.find((e=>e.props.value===r));return e?(0,a.cloneElement)(e,{className:"margin-top--md refine-tab-content"}):null}var c;return a.createElement("div",{className:"p-4"},o.map(((e,t)=>(0,a.cloneElement)(e,{key:t,hidden:e.props.value!==r,className:(0,l.c)(null!==(c=e.props.className)&&void 0!==c?c:[],"refine-tab-content")}))))}function je(e){const t=(0,he.a)(e),{wrapContent:r=!0}=e;return a.createElement("div",{className:(0,l.c)("tabs-container","rounded-lg","border-gray-300 dark:border-gray-700",r?"border":"border-0","mb-6","refine-wider-container")},a.createElement(Ee,xe({},e,t)),a.createElement(ke,xe({},e,t)))}function Pe(e){const t=(0,ve.c)();return a.createElement(je,xe({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,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}var Se=r(4472),De=r(4896),Me=r(1488),Ae=r(8620),Le=r(6076),Re=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 Be=e=>a.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;t{var t,r;const[n,o]=(0,a.useState)(!1),{refs:c,floatingStyles:i,context:s}=(0,Se.gR)({placement:"bottom-start",open:e.isOpen,onOpenChange:e.onOpenChange,whileElementsMounted:De.kN,middleware:[(0,Me.E3)((({middlewareData:e})=>{var t;return(null===(t=e)||void 0===t?void 0:t.flip)?{mainAxis:12}:{mainAxis:52}})),(0,De.EB)((({placement:e})=>(e.includes("bottom")&&o(!1),e.includes("top")&&o(!0),{fallbackPlacements:["top-start"]})))]}),u=(0,Se.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:m,getFloatingProps:d}=(0,Se.M3)([u]);return a.createElement(a.Fragment,null,a.createElement("div",We(Ge({ref:c.setReference},m()),{style:{position:"absolute",top:"0",left:0}})),a.createElement(Ae.I,null,s.open&&a.createElement(Le.q.div,We(Ge({initial:{opacity:0},animate:{opacity:1,transition:{duration:.2}},exit:{opacity:0},ref:c.setFloating,style:i},d()),{className:(0,l.c)("w-[320px]","bg-[#EAEBEF] dark:bg-refine-react-dark-code","border border-[#E3E4E5] dark:border-[#343A46]","rounded-[20px]","relative")}),e.children,a.createElement(qe,{style:Ge({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)}))))},qe=e=>{const{colorMode:t}=(0,Re.U)(),r="dark"===t;return a.createElement("svg",Ge({xmlns:"http://www.w3.org/2000/svg",width:42,height:18,viewBox:"0 0 42 18",fill:"none"},e),a.createElement("title",null,"Popover Pointer"),a.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"}),a.createElement("defs",null,a.createElement("linearGradient",{id:"a",x1:21,x2:21,y1:1,y2:16,gradientUnits:"userSpaceOnUse"},a.createElement("stop",{offset:.59,stopColor:r?"#343A46":"#E3E4E5"}),a.createElement("stop",{offset:.602,stopColor:r?"#343A46":"#E3E4E5",stopOpacity:0}))))},Je={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 Ke(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 Xe;var et=r(7500),tt=r(9104);var rt=r(9092);var nt=r(5560);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}function lt(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 ot(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ct=(it=function(e){for(var t=1;t{var{className:t}=e,r=Ne(e,["className"]);return a.createElement("blockquote",function(e){for(var t=1;tf===d.length?a.createElement(m.c,null,(()=>a.createElement(u,null))):a.createElement(m.c,null,(()=>a.createElement(s,d[f]))),GuideBadge:({id:e,description:t="Please check the guide for more information on this topic.",text:r})=>a.createElement(V,{id:e,color:"green",icon:a.createElement(I,null),text:r,description:a.createElement(a.Fragment,null,a.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Check the guide"),a.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})=>a.createElement(V,{id:e,color:"orange",text:r,icon:a.createElement(oe,null),description:a.createElement(a.Fragment,null,a.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Router Integrated"),a.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})=>a.createElement(V,{color:"purple",icon:a.createElement(H,null),text:r,id:e,description:a.createElement(a.Fragment,null,a.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Globally Configurable"),a.createElement("div",{className:"text-xs"},t))}),Image:e=>a.createElement("img",Ke(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 a.createElement(Pe,null,a.createElement(tt.c,{value:"npm",label:"npm",default:!0},a.createElement(C.s,{className:"language-bash"},r.npm)),a.createElement(tt.c,{value:"pnpm",label:"pnpm"},a.createElement(C.s,{className:"language-bash"},r.pnpm)),a.createElement(tt.c,{value:"yarn",label:"yarn"},a.createElement(C.s,{className:"language-bash"},r.yarn),a.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 a.createElement(Pe,null,a.createElement(tt.c,{value:"npm",label:"npm",default:!0},a.createElement(C.s,{className:"language-bash"},r.npm),t),a.createElement(tt.c,{value:"pnpm",label:"pnpm"},a.createElement(C.s,{className:"language-bash"},r.pnpm),t),a.createElement(tt.c,{value:"yarn",label:"yarn"},a.createElement(C.s,{className:"language-bash"},r.yarn),t))},FullTable:et.Ih,TutorialConditional:({parameter:e,value:t,children:r})=>{var n;const{parameters:l}=(0,rt.iC)();return(null===(n=l)||void 0===n?void 0:n[e])===t?a.createElement(a.Fragment,null,r):null},VideoInView:e=>{const t=a.useRef(null),r=(0,nt.c)(t);return a.useEffect((()=>{var e,n,a,l;r?null===(n=t.current)||void 0===n||null===(e=n.play)||void 0===e||e.call(n):null===(l=t.current)||void 0===l||null===(a=l.pause)||void 0===a||a.call(l)}),[r]),a.createElement("video",lt(function(e){for(var t=1;t{var e,r,n,a,l;(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===(l=t.current)||void 0===l||null===(a=l.pause)||void 0===a||a.call(l)},className:(0,l.c)(e.className,"w-full","h-auto","max-w-full","max-h-full","rounded-xl","object-contain")}))},DocThumbsUpDownFeedbackWidget:e=>{const t=(0,Ue.IT)(),[r,n]=(0,a.useState)(""),[o,c]=(0,a.useState)(null),[i,s]=(0,a.useState)(!1),[u,m]=(0,a.useState)(!1),d=i||u,{survey:f,createSurvey:p,updateSurvey:g}=(e=>{const[t,r]=(0,a.useState)(null),n=$e[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 a=await t.json();return a?(r(a),a):void 0},updateSurvey:async({surveyId:e,body:t})=>{const a=await fetch(`${n}/responses/${e}`,{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(!a.ok)return null;const l=await a.json();return l?(r(l),l):void 0}}})({type:Fe.THUMBS}),b=async r=>{c(r),s(!0),f?await g({surveyId:f.id,body:{response:r}}):await p({body:{response:r,entityId:t.pathname,metaData:{sectionId:e.id}}})};return a.createElement("div",{className:"group"},e.children,a.createElement("div",{className:(0,l.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",!d&&"opacity-0","group-hover:opacity-100")},a.createElement("div",{className:(0,l.c)("text-xs","whitespace-nowrap","text-[#23272F] dark:text-[#E3E4E5]")},"Was this helpful?"),a.createElement("div",{className:(0,l.c)("flex","items-center","gap-1","widget-actions")},a.createElement("button",{type:"button",onClick:()=>b(Je.UP),className:(0,l.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===o&&"text-green-500 bg-green-500/20")},a.createElement(Be,null)),a.createElement("button",{type:"button",onClick:()=>b(Je.DOWN),className:(0,l.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===o&&"text-red-500 bg-red-500/20")},a.createElement(Ve,null))),a.createElement(Ye,{isOpen:d,onOpenChange:e=>{u||e||(s(!1),m(!1))},arrowStyle:{right:1===o?"150px":"115px"}},!u&&a.createElement("form",{className:(0,l.c)("flex flex-col","p-2"),onSubmit:e=>{e.preventDefault(),(async()=>{const e=r.trim();e&&(await g({surveyId:f.id,body:{response:o,responseText:e}}),m(!0),setTimeout((()=>{s(!1),m(!1)}),2e3))})()}},a.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,l.c)("w-full","bg-white dark:bg-[#343A46]","text-[#23272F] dark:text-[#E3E4E5]","resize-none","rounded-xl","text-xs","py-2 px-3")}),a.createElement("button",{type:"submit",className:(0,l.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&&a.createElement("div",{className:(0,l.c)("flex items-center","p-4","text-xs","text-gray-500")},a.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:()=>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)}},6992:(e,t,r)=>{"use strict";r.d(t,{c:()=>k});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 u=r(4971);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,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 f=e=>n.createElement("svg",d(function(e){for(var t=1;t(n.useEffect((()=>(e.open?document.body.style.overflow="hidden":document.body.style.overflow="auto",()=>{document.body.style.overflow="auto"})),[e.open]),n.createElement(h.c,null,(()=>(0,b.createPortal)(n.createElement(w,e),document.body)))),w=({children:e,title:t,open:r,onClose:a,variant:l})=>{const[o,c]=n.useState(48),{scrollY:i}=(0,y.Q)(),s=n.useRef(null);var m,d;return m=s,d=e=>{e.stopPropagation(),a()},n.useEffect((()=>{const e=e=>{m.current&&!m.current.contains(e.target)&&(e.preventDefault(),d(e))};return document.addEventListener("click",e,!0),()=>{document.removeEventListener("click",e,!0)}}),[m]),((e,t,r)=>{n.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])})(s,["Escape"],(()=>{a()})),n.useEffect((()=>{const e=i.onChange((e=>{c(e>=48?0:48-e)}));return()=>e()}),[]),n.createElement("div",{style:{top:o},className:(0,u.c)("fixed","right-0 bottom-0","z-modal",!r&&"pointer-events-none")},n.createElement(g.O,{ref:s,as:"div",className:(0,u.c)("z-modal","flex flex-col","w-[240px] h-full","ml-auto","p-4","blog"===l&&"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"},n.createElement("div",{className:(0,u.c)("flex","items-center","justify-between","mb-10","dark:text-gray-300 text-gray-900")},n.createElement("h3",{className:(0,u.c)("text-base","font-semibold")},t),n.createElement("button",{type:"button",className:(0,u.c)("appearance-none"),onClick:a},n.createElement(p.O,null))),n.createElement("div",{className:(0,u.c)("overflow-auto h-full")},e)))};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}function O(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(j,{collapsed:r,tags:o,className:(0,u.c)("hidden blog-lg:flex",t),onShowMoreClick:e=>a(e)}),n.createElement(P,{tags:o,className:(0,u.c)("block blog-lg:hidden",t)}))}const j=({tags:e,collapsed:t,className:r,onShowMoreClick:l})=>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(a.c,E(O({},e),{label:N(e.label)})))))),n.createElement("button",{type:"button",onClick:()=>l(!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(C,{className:(0,u.c)("opacity-30","transition-transform duration-200 ease-in-out",{"rotate-180 transform":!t})}))),P=({tags:e,className:t})=>{const[r,l]=n.useState(!1);return n.createElement(n.Fragment,null,n.createElement("div",{className:(0,u.c)(t)},n.createElement("button",{type:"button",onClick:()=>l(!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,null),n.createElement("div",null,"Filter Tags"))),n.createElement(v,{onClose:()=>l(!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(a.c,E(O({},e),{label:N(e.label),variant:"inverted",size:"medium"}))))))))},C=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"})),N=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)}},2876:(e,t,r)=>{"use strict";r.d(t,{U:()=>n});const n=()=>{var e,t;return null===(t=window.open("https://s.refine.dev/refine-brand-assets","_blank"))||void 0===t||null===(e=t.focus)||void 0===e?void 0:e.call(t)}}}]); \ No newline at end of file diff --git a/assets/js/ccc49370.87efa88b.js b/assets/js/ccc49370.66186802.js similarity index 70% rename from assets/js/ccc49370.87efa88b.js rename to assets/js/ccc49370.66186802.js index d7e6baf..119f627 100644 --- a/assets/js/ccc49370.87efa88b.js +++ b/assets/js/ccc49370.66186802.js @@ -1 +1 @@ -(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[6344],{6324:(e,t,r)=>{var n={"./plugin-route-context-module-100.json":[4634,4634]};function a(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],a=t[0];return r.e(t[1]).then((()=>r.t(a,19)))}a.keys=()=>Object.keys(n),a.id=6324,e.exports=a},3270:(e,t,r)=>{"use strict";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)=>{"use strict";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}},3688:(e,t,r)=>{"use strict";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)}}},940:(e,t,r)=>{"use strict";r.d(t,{c:()=>u});var n=r(1504),a=r(5684),l=r(9072),o=r(8164),c=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,a.y)(),t=function(e){for(var t=1;tn.createElement(c.c,t)))}},1904:(e,t,r)=>{"use strict";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))}},4752:(e,t,r)=>{"use strict";r.d(t,{c:()=>l});var n=r(1504),a=r(9184);const l=()=>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(a.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")))},68:(e,t,r)=>{"use strict";r.d(t,{c:()=>u});var n=r(1504),a=r(9184);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 o=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const[e,t]=n.useState(0);return n.useEffect((()=>{(async()=>{const e=await fetch(`https://api.github.com/repos/pankod/refine?access_token=${s}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`token ${s}`}}),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(a.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(i,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(o,{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:()=>C,cN:()=>P,CS:()=>u,E$:()=>D,us:()=>S});var n=r(1504),a=r(9184),l=r(468),o=r(3270),c=r(1904),i=r(4971);const s=()=>{var e,t;const{metadata:r}=(0,l.g)(),{permalink:s,title:u,date:m,formattedDate:d,frontMatter:f,description:p,tags:g}=r,b=r.authors[0];return n.createElement(o.c,null,n.createElement(a.c,{itemProp:"url",to:s,className:(0,i.c)("block","w-full h-auto","aspect-[592/334]")},n.createElement("div",{className:(0,i.c)("not-prose relative m-0 hover:brightness-90","h-full w-full")},n.createElement("img",{src:`${f.image}?h=256`,alt:u,className:(0,i.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,i.c)("flex flex-wrap items-center","mb-6","gap-2")},g.map((e=>n.createElement(a.c,{className:(0,i.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:s,className:"no-underline hover:no-underline",rel:"noopener dofollow"},n.createElement("div",{className:(0,i.c)("mb-4","text-gray-700 dark:text-refine-react-3","text-xl","font-lg","font-bold")},u)),n.createElement("div",{className:(0,i.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(a.c,{href:`/blog/author/${null===(e=b)||void 0===e?void 0:e.key}`,itemProp:"url",className:(0,i.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,i.c)("h-[4px] w-[4px] rounded-full","bg-gray-600 dark:bg-gray-500")}),n.createElement("span",{className:(0,i.c)("text-gray-600 dark:text-gray-500","text-xs","leading-6","no-underline")},n.createElement(c.iI,{date:m,formattedDate:d})))))},u=({items:e})=>n.createElement("div",null,n.createElement("div",{className:(0,i.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,i.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-cyan-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(l.E,{key:e.metadata.permalink,content:e},n.createElement(s,null)))))));var m=r(2656),d=r(56),f=r(9936),p=r(7760),g=r(6224),b=r(3784),y=r(4776),h=r(2788),v=r(8368);const w=(0,v.c)("telegram",(function(e,t){var r=t.title;return(0,y.c)(e,"telegram.url"),"https://telegram.me/share/url"+(0,h.c)({url:e,text:r})}),(function(e){return{title:e.title}}),{windowWidth:550,windowHeight:400});var x=r(2544);const O=(0,x.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,y.c)(e,"facebook.url"),"https://www.facebook.com/sharer/sharer.php"+(0,h.c)({u:e,quote:r,hashtag:n})}),(function(e){return{quote:e.quote,hashtag:e.hashtag}}),{windowWidth:550,windowHeight:400});const k=(0,x.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 j=r(2460);const P=({children:e})=>{var t,r,s,u,y,h;const{metadata:v,isBlogPostPage:x}=(0,l.g)(),{permalink:P,title:C,date:N,formattedDate:S,readingTime:D,frontMatter:M,tags:A,description:L,authors:R}=v,Z=R[0],{siteConfig:{url:V}}=(0,f.c)();return n.createElement(o.c,{className:(0,i.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,i.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,i.c)("text-refine-react-5 dark:text-refine-react-4","text-sm no-underline","flex","items-center","gap-2")},n.createElement(j.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:V+P,title:C,source:V,summary:L,hashtags:A.map((e=>e.label)),className:"flex"},n.createElement(g.c,{size:26,round:!0})),n.createElement(b.c,{windowWidth:750,windowHeight:800,url:V+P,title:C,hashtags:A.map((e=>e.label)),className:"flex"},n.createElement(j.mk,{width:26,height:26})),n.createElement(w,{windowWidth:750,windowHeight:800,url:V+P,title:C,hashtags:A.map((e=>e.label)),className:"flex"},n.createElement(O,{size:26,round:!0})),n.createElement(E,{windowWidth:750,windowHeight:800,url:V+P,title:C,hashtags:A.map((e=>e.label)),className:"flex"},n.createElement(k,{size:26,round:!0})))),n.createElement("div",{className:"not-prose"},n.createElement("img",{className:"w-full rounded-xl aspect-[894/468]",src:`${M.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,i.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=Z)||void 0===t?void 0:t.key}`,itemProp:"url"},n.createElement("img",{src:null===(r=Z)||void 0===r?void 0:r.imageURL,alt:null===(s=Z)||void 0===s?void 0:s.name,loading:"lazy",className:"flex h-[32px] w-[32px] rounded-full object-cover"})),n.createElement(a.c,{to:`/blog/author/${null===(u=Z)||void 0===u?void 0:u.key}`,itemProp:"url",className:(0,i.c)("flex-1","text-gray-900 dark:text-gray-200","text-sm","no-underline","hover:no-underline")},null===(y=Z)||void 0===y?void 0:y.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===(h=Z)||void 0===h?void 0:h.title)),n.createElement("div",{className:"flex items-center gap-2 text-gray-600 dark:text-gray-400"},n.createElement(c.iI,{date:N,formattedDate:S}),void 0!==D&&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(c.S_,{readingTime:D}))))),n.createElement("h1",{className:"text-xl md:text-4xl",itemProp:"headline"},x?C:n.createElement(a.c,{itemProp:"url",to:P},C)),n.createElement("div",{id:m.blogPostContainerID,className:"markdown",itemProp:"articleBody"},n.createElement(d.c,null,e))))},C=({author:e,className:t})=>n.createElement(N,{author:e,className:t}),N=({author:e})=>{var t,r,l,o,c,s,u,m,d,f,p;const g=e.github||e.twitter||e.linkedin;return n.createElement("div",{className:(0,i.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,i.c)("flex","justify-between","items-center")},n.createElement("div",{className:(0,i.c)("w-full","flex items-center justify-between flex-wrap")},n.createElement("div",{className:(0,i.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===(l=e)||void 0===l?void 0:l.name,loading:"lazy",className:(0,i.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,i.c)("not-prose flex flex-col justify-between")},n.createElement("h1",{className:(0,i.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===(o=e)||void 0===o?void 0:o.name),n.createElement("div",{className:(0,i.c)("text-xs sm:text-base","text-gray-600 dark:text-gray-400")},null===(c=e)||void 0===c?void 0:c.title))),g&&n.createElement("div",{className:"flex justify-center gap-3"},(null===(s=e)||void 0===s?void 0:s.github)&&n.createElement(a.c,{to:null===(u=e)||void 0===u?void 0:u.github},n.createElement(j.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(j.mk,{className:"h-6 w-6"})),(null===(f=e)||void 0===f?void 0:f.linkedin)&&n.createElement(a.c,{to:null===(p=e)||void 0===p?void 0:p.linkedin},n.createElement(j.wd,{className:"h-6 w-6"}))))),n.createElement("div",{className:"border-b border-gray-200 dark:border-gray-700 mb-8"}))};r(4752),r(68),r(5524);const S=()=>{const{metadata:e}=(0,l.g)();return n.createElement("div",{className:"flex flex-wrap gap-2"},e.tags.map((e=>n.createElement(a.c,{to:e.permalink,className:(0,i.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))))},D=({posts:e,title:t})=>{var r,l,o;return e.length<1?null:n.createElement("div",{className:(0,i.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,i.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,i.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,i.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===(l=e.authors[0])||void 0===l?void 0:l.name),n.createElement("span",{className:"h-[4px] w-[4px] rounded-full bg-gray-600 dark:bg-gray-500"}),n.createElement(c.iI,{date:e.date,formattedDate:e.formattedDate}))))))))}},5524:(e,t,r)=>{"use strict";r.d(t,{c:()=>l});var n=r(1504),a=r(9184);const l=({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(a.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"))))},3740:(e,t,r)=>{"use strict";r.d(t,{q:()=>o,y:()=>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 l="tutorial-checklist-store",o=n.createContext({store:{},toggle:()=>{}}),c=({children:e})=>{const[t,r]=n.useState((()=>{if("undefined"!=typeof window){const t=localStorage.getItem(l);if(t)try{const e=JSON.parse(t);if("object"==typeof e)return e}catch(e){return{}}}return{}})),c=n.useCallback(((e,t,n)=>{r((r=>{const l=function(e){for(var t=1;t{"undefined"!=typeof window&&localStorage.setItem(l,JSON.stringify(t))}),[t]),n.createElement(o.Provider,{value:{store:t,toggle:c}},e)}},5448:(e,t,r)=>{"use strict";r.d(t,{g5:()=>i,mk:()=>s,sH:()=>l});var n=r(1504),a=r(2288);const l=["headless","antd","chakra-ui","mantine","mui"],o=e=>{if(l.includes(e))return e},c="tutorial-preferred-ui-package",i=n.createContext({preferred:"headless",current:void 0,setPreferred:()=>{}}),s=({children:e})=>{const{metadata:t}=(0,a.G)(),r=(e=>{const t=e.match(/\/(headless|antd|chakra-ui|mantine|mui)\//);if(t&&o(t[1]))return t[1]})(t.id),[l,s]=n.useState("headless");n.useEffect((()=>{if("undefined"!=typeof window){const e=localStorage.getItem(c),t=o(e);t&&s(t)}}),[]);const u=e=>{o(e)&&("undefined"!=typeof window&&localStorage.setItem(c,e),s(e))};return n.useEffect((()=>{r&&r!==l&&u(r)}),[r,l]),n.createElement(i.Provider,{value:{preferred:l,setPreferred:u,current:r||l}},e)}},9092:(e,t,r)=>{"use strict";r.d(t,{WO:()=>d,iC:()=>f});var n=r(1504),a=r(640),l=r(2064);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){for(var t=1;t0}),s="tutorial-parameters",u=(e,t)=>{for(const r of t)if(e.includes(`/${r.value}`))return r.value},m=()=>{const{pathname:e}=(0,a.IT)();return n.useMemo((()=>(e=>{const t={};for(const[r,n]of Object.entries(l.Sm.parameterOptions)){const a=u(e,n);a&&(t[r]=a)}return t})(e)),[e])},d=({children:e})=>{const[t,r]=n.useState(void 0),[a,o]=n.useState(!1),u=m(),d=n.useCallback((e=>{r((t=>{try{localStorage.setItem(s,JSON.stringify(c({},t,e)))}catch(r){console.error(r)}return c({},t,e)}))}),[]);return n.useEffect((()=>{try{const e=localStorage.getItem(s);d(e?c({},l.Sm.defaultParameters,JSON.parse(e),u):c({},l.Sm.defaultParameters,u))}catch(e){d(c({},l.Sm.defaultParameters,u))}o(!0)}),[]),n.createElement(i.Provider,{value:{parameters:t,setParameters:d,settled:a,options:l.Sm.parameterOptions}},e)},f=()=>n.useContext(i)},3376:(e,t,r)=>{"use strict";r.d(t,{U:()=>p});var n=r(2288),a=r(1688),l=(r(1504),r(3908));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){for(var t=1;t{var e,t,r,o;const m=(0,n.G)(),{docs:p}=(0,a.E)(),{frontMatter:g,metadata:{id:b}}=m,{tutorial:{units:y}}=(0,u.e)(),{current:h}=(0,l.U)(),v=e=>{const t=e.id.split("/"),r=s.sH.filter((e=>e!==h));return!t.find((e=>r.includes(e)))},w=!!(null===(e=g)||void 0===e?void 0:e.tutorial),x=b.split("/")[1],O=function({frontMatter:e}){const{docs:t}=(0,a.E)(),{current:r}=(0,l.U)(),n=e=>{if(e.includes("{preferredUI}")||r)return e.replace("{preferredUI}",r)},o=e=>"/docs/"+e,{tutorial:s}=e,{next:u,prev:m}=null!=s?s:{},d=u?n(u):void 0,f=t[m?n(m):void 0],p=t[d];return{previous:f?i(c({},f),{permalink:o(f.id)}):void 0,next:p?i(c({},p),{permalink:o(p.id)}):void 0}}(m),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}),{}),k=Object.entries(E).map((([e,r])=>f(d({unit:e,no:null===(t=y[e])||void 0===t?void 0:t.no,title:y[e].label},e===x&&w&&{current:!0}),{docs:r.map((e=>d({},e,e.id===b&&w&&{current:!0}))).filter(v)}))).sort(((e,t)=>(null===(r=e)||void 0===r?void 0:r.no)-(null===(o=t)||void 0===o?void 0:o.no)));return w?{id:b,isTutorial:w,unit:x,pagination:O,units:k}:void 0}},5560:(e,t,r)=>{"use strict";r.d(t,{c:()=>a});var n=r(1504);const a=(e,t="0px")=>{const[r,a]=n.useState(!1);return n.useEffect((()=>{var r;const n=null===(r=e)||void 0===r?void 0:r.current,l=new IntersectionObserver((([e])=>{a(e.isIntersecting)}),{rootMargin:t});return n&&l.observe(n),()=>{n&&l.unobserve(n)}}),[]),r}},8840:(e,t,r)=>{"use strict";r.d(t,{ot:()=>s,GC:()=>u});var n=r(1504);const a={items:[]};var l=r(3740);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){for(var t=1;tt.filter((t=>t.unit===e));function u(){const{store:e,toggle:t}=n.useContext(l.q);return{items:n.useMemo((()=>{var t,r,n,l;return null!==(l=null===(n=a)||void 0===n||null===(t=(r=n.items).map)||void 0===t?void 0:t.call(r,(t=>{const{id:r}=t;return i(c({},t),{checklist:t.checklist.map((t=>{var n;return i(c({},t),{checked:null!==(n=e[r]?.[t.id])&&void 0!==n&&n})})).sort(((e,t)=>e.index-t.index))})})))&&void 0!==l?l:[]}),[e]),toggle:t}}},380:(e,t,r)=>{"use strict";r.d(t,{e:()=>a});var n=r(9936);r(1504);const a=()=>{const{siteConfig:{customFields:e}}=(0,n.c)(),{tutorial:t}=e;return t}},3908:(e,t,r)=>{"use strict";r.d(t,{U:()=>l});var n=r(1504),a=r(5448);const l=()=>n.useContext(a.g5)},3680:(e,t,r)=>{"use strict";r.d(t,{u:()=>l});var n=r(1504),a=r(8564);const l=e=>n.createElement(a.E,e)},6968:(e,t,r)=>{"use strict";r.d(t,{m:()=>W});var n=r(9184),a=r(4971),l=r(4332),o=r(344),c=r(6076),i=r(1504),s=r(1980),u=r(8804),m=r(2876),d=r(3480);const f=[{isPopover:!0,label:"Docs",items:[{label:"DSA Docs",description:"Learning DSA in C++, Python & Java",link:"/docs",icon:d.uI},{label:"Web Tech Docs",description:"Learn HTML, CSS, JavaScript",link:"/docs/2.Web.Dev",icon:d.Af}]},{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}],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,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),y=r(5224),h=r(2424),v=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(y._,{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(y._.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(v.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(y._.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))))))},x=({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(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,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(p,{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://twitter.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(p,{key:t.label,item:t,variant:e}))))):i.createElement(g,{key:`navbar-${t.label}`,item:t,variant:e}))));var O=r(2276),E=r(7008),k=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 C=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),u=null!=r?r:n.c,m=void 0!==l&&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(V,{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(H,{className:(0,a.c)("block landing-sm:hidden","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}))},V=({isModalOpen:e,setIsModalOpen:t,children:r})=>i.createElement(h.O,{appear:!0,show:e,as:i.Fragment},i.createElement(O.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(A.Q,null),i.createElement("div",{className:(0,a.c)("flex items-center justify-between","p-4","landing-sm:px-8")},i.createElement(u.m,{className:"dark:text-gray-0 text-gray-900",onContextMenu:m.U}),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(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,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(p,{key:e.label,item:e})))))})),i.createElement(I,null),i.createElement(F,{id:"tablet"}),i.createElement(T,{id:"tablet"})),H=e=>i.createElement("div",{className:(0,a.c)(e.className)},i.createElement("div",{className:"flex-grow"},f.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,a.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(M,{key:`modal-${e.label}`,label:e.label,href:e.href,icon:e.icon})))),i.createElement(I,null),i.createElement(F,{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(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://twitter.com/akashsingh3031"},i.createElement(d.CC,{className:"h-10 w-10"}))))},I=()=>{const{colorMode:e,setColorMode:t}=(0,k.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(R.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(L.g,null),"Dark"))};var _=r(9253),$=r(2700),U=r(5792),G=r(6936);const z=()=>{const{loading:e,githubStarCountText:t}=(0,$.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(U.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)))},W=({trackProgress:e,variant:t="landing",className:r})=>{const[d,f]=(0,i.useState)(!1),{scrollYProgress:p}=(0,l.Q)(),g=(0,o.s)(p,[.03,.95],["0%","100%"]);return i.createElement(i.Fragment,null,i.createElement(A.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:"/",onContextMenu:m.U},i.createElement(u.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(x,{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(z,null),i.createElement(_.C,null)),i.createElement(Z,{isModalOpen:d,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}}))))}},7500:(e,t,r)=>{"use strict";r.d(t,{Ih:()=>c,oJ:()=>o,yg:()=>l});var n=r(4971),a=r(1504);const l="preferred-full-table-width",o=e=>a.createElement("div",{className:(0,n.c)("table-container")},a.createElement("table",e)),c=({children:e})=>a.createElement("div",{className:"table-full-width"},e)},9253:(e,t,r)=>{"use strict";r.d(t,{C:()=>i,O:()=>u});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"}],u=({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)=>{"use strict";r.d(t,{o0:()=>p,yw:()=>d,wd:()=>f,AR:()=>g});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 u=r(3480),m=r(4252);const d=[{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(m.i,null),href:"https://prepverse.github.io/CodePoint"},{label:"LeetVerse",icon:n.createElement(m.i,null),href:"https://prepverse.github.io/LeetVerse"}]},{label:"About",items:[{label:"About Me",href:"/AkashSingh3031"},{label:"Portfolio",icon:n.createElement(m.i,null),href:"https://prepverse.github.io/portfolio"}]}],f=[{label:"License",href:"https://github.com/PrepVerse/prepverse.github.io/blob/master/LICENSE"}],p="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{"use strict";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{"use strict";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{"use strict";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{"use strict";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{"use strict";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)=>{"use strict";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{"use strict";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{"use strict";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{"use strict";r.d(t,{s1:()=>G,wR:()=>L,QD:()=>M,vn:()=>Y,kv:()=>f,uI:()=>l,Af:()=>c,A9:()=>E,_2:()=>x,Ew:()=>g,Yf:()=>C,oh:()=>s,Ed:()=>j,BE:()=>y,KU:()=>q,WR:()=>_,w9:()=>m,CC:()=>S,oz:()=>Z,C3:()=>v});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;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",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||(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 _=e=>{var{variant:t="landing"}=e,r=I(e,["variant"]);return n.createElement("svg",F(function(e){for(var t=1;tn.createElement("svg",U(function(e){for(var t=1;t{const{colorMode:t}=(0,z.U)();return n.createElement("div",{className:(0,H.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,H.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;tn.createElement("svg",function(e){for(var t=1;t{"use strict";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{"use strict";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{"use strict";r.d(t,{o:()=>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{"use strict";r.d(t,{E:()=>f});var n=r(4971),a=r(1504),l=r(9184),o=r(2876),c=r(7708),i=r(204),s=r(8804);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(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")},"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")},c.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:"/",onContextMenu:o.U,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(s.m,null)),a.createElement("a",{href:"https://github.com/sponsors/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,n.c)("hover:no-underline")},a.createElement("iframe",{src:"https://github.com/sponsors/AkashSingh3031/button",title:"Sponsor AkashSingh3031",height:"32",width:"114"}))),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")},c.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),c.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(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")}),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")},c.wd.map((t=>a.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)))),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(i.Q,{className:"text-refine-red ml-2 inline leading-6"}),a.createElement("br",null),"Built with Docusaurus & Refine.")))))}},6192:(e,t,r)=>{"use strict";r.d(t,{D:()=>m});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 m=e=>{var{children:t,href:r,className:o,onClick:m,buttonClassname:d}=e,f=u(e,["children","href","className","onClick","buttonClassname"]);const p=r?l.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),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)=>{"use strict";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(u,{style:{animationDelay:"1.5s"},className:(0,n.c)("absolute","top-[2px]","right-[220px]"),id:"1"}),a.createElement(u,{style:{animationDelay:"1s"},className:(0,n.c)("absolute","rotate-180","top-[8px] right-[100px]"),id:"2"}),a.createElement(m,{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(u,{style:{animationDelay:"2s"},className:(0,n.c)("absolute","rotate-180","top-[6px] right-[180px]"),id:"4"}),a.createElement(u,{style:{animationDelay:"0.5s"},className:(0,n.c)("delay-[1300]","absolute","top-[2px]","right-[40px]"),id:"5"}),a.createElement(m,{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"),".")),u=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})))),m=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}))))},2064:(e,t,r)=>{"use strict";r.d(t,{ED:()=>i,Ip:()=>s,_i:()=>d,Mx:()=>u,iG:()=>f,Yv:()=>c,Sm:()=>o,G_:()=>m});var n=r(2411);const a=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 l=r(1688);const o=a,c=(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 o.units)for(const n of r.items)if(e===c(n,t))return r},s=(e,t)=>{let r=!1;for(const n of o.units)for(const a of n.items){if(r)return a;c(a,t)===e&&(r=!0)}},u=(e,t)=>{let r=null;for(const n of o.units)for(const a of n.items){if(c(a,t)===e)return r;r=a}},m=()=>{const{docs:e}=(0,l.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])))},d=(e,t)=>{const r=t[e];if(!r)throw new Error(`Cannot find item with id ${e}`);return r.path},f=(e,t)=>{const r=t[e];if(!r)throw new Error(`Cannot find doc with id ${e}`);return r.title}},3732:(e,t,r)=>{"use strict";r.d(t,{c:()=>P});var n=r(1504),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}const o=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;t{var l;const o=null!==(l=f[e])&&void 0!==l?l:()=>null;var c;const i=null!==(c=p[e])&&void 0!==c?c:"tex-inherit";var s;const u=null!==(s=g[e])&&void 0!==s?s:"bg-inherit";return"simple"===e?n.createElement(h,{type:e,title:t},r):n.createElement("div",{className:(0,a.c)("rounded-lg","admonition",`admonition-${e}`,"mb-6","refine-wider-container",u)},n.createElement("div",{className:(0,a.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||b[e])&&n.createElement("div",{className:(0,a.c)("flex","items-center","gap-2","text-xs sm:text-base 2xl:text-base 2xl:leading-7","font-semibold",i)},n.createElement(o,null),n.createElement("span",{className:"uppercase"},null!==(m=null!=t?t:b[e])&&void 0!==m?m:"")),n.createElement("div",{className:(0,a.c)("text-gray-0","text-base","last:mb-0")},r)));var m},h=({type:e,title:t,children:r})=>{var l;const o=null!==(l=p[e])&&void 0!==l?l:"tex-inherit";var c;const i=null!==(c=g[e])&&void 0!==c?c:"bg-inherit";return n.createElement("div",{className:(0,a.c)("rounded-lg","admonition",`admonition-${e}`,"mb-6",i)},n.createElement("div",{className:(0,a.c)("flex flex-col","gap-2",!t&&"pt-4")},t&&n.createElement("div",{className:(0,a.c)("px-4","pt-4","text-sm","leading-5","-mt-0.5",o)},n.createElement("span",{className:"font-semibold"},null!=t?t:""),n.createElement("span",null,":")),n.createElement("div",{className:(0,a.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))),l=n.createElement(n.Fragment,null,r.filter((e=>e!==a)));return{mdxAdmonitionTitle:a,rest:l}}(e.children);var a;return x(w({},e),{title:null!==(a=e.title)&&void 0!==a?a:t,children:r})}const j=e=>{const{children:t,type:r,title:a}=k(e);return n.createElement(y,{type:r,title:a},t)};function P(e){return"info-tip"===e.type?n.createElement(j,e):"additional"===e.type?n.createElement(j,x(w({},e),{type:"note",title:"ADDITIONAL INFO"})):"sourcecode"===e.type?n.createElement(j,x(w({},e),{icon:n.createElement(O,null),title:n.createElement("a",{href:e.path,target:"_blank",rel:"noreferrer",style:{marginLeft:"4px"}},"VIEW SOURCE CODE \u2192"),titleProps:{style:{marginBottom:"-4px"}}}),e.children):"create-example"===e.type?n.createElement(j,x(w({},e),{type:"caution",icon:n.createElement(E,null),title:n.createElement("span",{style:{marginLeft:"4px"}},"RUN IN YOUR LOCAL")}),e.children):n.createElement(n.Fragment,null,n.createElement(j,e))}},7328:(e,t,r)=>{"use strict";r.d(t,{c:()=>P});var n=r(1504),a=r(8480),l=r(6968),o=r(3680),c=r(6280),i=r(4971),s=r(6192),u=r(6112),m=r(9184),d=r(2424),f=r(2276),p=r(2268);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){for(var t=1;t{const[r,a]=(0,n.useState)({scrollDepths:e,scrollY:0}),{scrollDepths:l,scrollY:o}=r;return(0,n.useEffect)((()=>{"undefined"!=typeof window&&0!==window.pageYOffset&&a((e=>y(b({},e),{scrollY:window.pageYOffset})))}),[]),(0,n.useEffect)((()=>{if("undefined"==typeof window)return;const e=()=>window.removeEventListener("scroll",n),n=()=>{const n=document.documentElement,o=document.body,c=n.scrollTop||o.scrollTop,i=n.scrollHeight||o.scrollHeight,s=c/(i-n.clientHeight)*100;if(l){const r=Math.min(...l,i);if(s>=r){const n=l.filter((e=>e!==r));0===n.length&&e(),t&&t({scrollY:r,scrollPercent:s,remainingDepths:n}),a({scrollY:r,scrollDepths:n})}}else a(y(b({},r),{scrollY:s}))};return window.addEventListener("scroll",n),e}),[l,o,r]),{scrollY:o}},v=(e,t)=>{const[r,a]=(0,n.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 n=t instanceof Function?t(r):t;a(n),"undefined"!=typeof window&&window.localStorage.setItem(e,JSON.stringify(n))}catch(n){console.log(n)}}]};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:a={text:"Explore Now",href:"https://prepverse.github.io/portfolio",onClick:void 0}})=>{var l,o,c,g;const{pathname:b}=(0,w.IT)(),[y,x]=(0,n.useState)(!1),[O,E]=v("banner-modal",null),k=(0,n.useRef)(!1),j=h();var P,C;return(0,n.useEffect)((()=>{"/blog/"!==b&&"/blog"!==b&&(k.current||y||j.scrollY>79&&j.scrollY<100&&(k.current=!0,9===O||null===O?(x(!0),E(0)):(E(O+1),k.current=!0)))}),[j.scrollY]),(0,n.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]),n.createElement(d.O,{appear:!0,show:y,as:n.Fragment},n.createElement(f.C,{as:"div",className:"relative z-modal",onClose:()=>x(!1)},n.createElement(d.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-900/70"})),n.createElement("div",{className:"fixed inset-0 overflow-y-auto"},n.createElement("div",{className:"flex min-h-full items-start justify-center"},n.createElement(d.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(f.C.Panel,{className:(0,i.c)("w-full min-h-screen","flex flex-col justify-center items-center")},n.createElement("div",{className:(0,i.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")},n.createElement("div",{className:(0,i.c)("flex","flex-col","items-center","gap-8","text-center","not-prose")},n.createElement(m.c,{to:null!==(P=null===(l=r)||void 0===l?void 0:l.href)&&void 0!==P?P:null===(o=a)||void 0===o?void 0:o.href,target:"_blank",rel:"noopener noreferrer",className:(0,i.c)("flex","h-auto xl:h-[192px]","flex-shrink-0","rounded-lg","overflow-hidden","focus:outline-none")},n.createElement("img",{className:(0,i.c)("object-contain"),src:null===(c=r)||void 0===c?void 0:c.src,alt:null!==(C=null===(g=r)||void 0===g?void 0:g.alt)&&void 0!==C?C:e,loading:"lazy"})),n.createElement("p",{className:(0,i.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),n.createElement(s.D,{className:(0,i.c)("w-max"),buttonClassname:(0,i.c)("!px-4","!py-4"),href:a.href,onClick:a.onClick,target:"_blank",rel:"noopener noreferrer"},n.createElement("div",{className:(0,i.c)("text-gray-900","text-base","font-bold")},a.text),n.createElement(u.G,{className:(0,i.c)("w-4","h-4")}))),n.createElement("button",{className:(0,i.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)},n.createElement(p.O,{className:"w-4 h-4"})))))))))},O=({className:e})=>n.createElement("div",{className:(0,i.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)},n.createElement("div",{className:(0,i.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")},n.createElement("h2",{className:(0,i.c)("flex","flex-wrap","gap-2","text-[32px] leading-[40px] landing-sm:text-[56px] landing-sm:leading-[72px]")},n.createElement("div",{className:(0,i.c)("dark:text-gray-0 text-gray-900")},"PrepVerse "),n.createElement("div",{className:(0,i.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(51,51,255,0.3)]","whitespace-nowrap")},"Technical Blog")),n.createElement("p",{className:(0,i.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.")));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 k(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 j(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 P=e=>{const[t,r]=(0,n.useState)(!1),{children:s,toc:u}=e,m=j(e,["children","toc"]),{pathname:d}=(0,w.IT)(),f=h();return(0,n.useEffect)((()=>{t&&"/blog/"!==d&&"/blog"!==d&&(f.scrollY>20&&r(!0),f.scrollY<20&&r(!1))}),[f.scrollY]),n.createElement(a.C,k(function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>y});var n=r(1504),a=r(4971),l=r(6684),o=r(5628),c=r(468),i=r(7328);function s(){const{assets:e,metadata:t}=(0,c.g)(),{title:r,description:a,date:o,tags:i,authors:s,frontMatter:u}=t,{keywords:m}=u;var d,f;const p=null!==(f=null!==(d=u.social_image)&&void 0!==d?d:e.image)&&void 0!==f?f:u.image;return n.createElement(l.U7,{title:r,description:a,keywords:m,image:p},n.createElement("meta",{property:"og:type",content:"article"}),n.createElement("meta",{property:"article:published_time",content:o}),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),m=r(1628);const d=e=>{(0,u.Uz)();const t=(0,u.IT)(),{toc:r,hasTOC:l,activeId:o,setActiveId:c}=p(e.toc),i=e=>{var r;e!==`${null!==(r=t.hash)&&void 0!==r?r:""}`.replace("#","")&&(c(e),window.history.replaceState({},"",`#${e}`))};return n.createElement("div",{className:(0,a.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",!l&&"invisible","not-prose")},n.createElement(m.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(f,{id:e.id,value:e.value,activeId:o,level:e.level,onIdChange:i}))))))},f=({id:e,value:t,level:r,activeId:l,onIdChange:o})=>(n.useEffect((()=>{const t=document.getElementById(e);if(t){const r=new IntersectionObserver((t=>{t.forEach((t=>{t.isIntersecting&&o(e)}))}),{rootMargin:"0px 0px -80% 0px"});return r.observe(t),()=>{r.unobserve(t)}}}),[e]),n.createElement("a",{href:`#${e}`,className:(0,a.c)("refine-toc-item",2===r&&"pl-3",3===r&&"pl-7",4===r&&"pl-11","py-2 pr-4",l===e&&"bg-refine-blue-2-light dark:bg-refine-blue-2/10",l===e&&"text-refine-react-light-link dark:text-refine-react-dark-link",l!==e&&"text-refine-react-8 dark:text-refine-react-3",l!==e&&"hover:bg-refine-blue-2-light/40 hover:dark:bg-refine-blue-2/5",l!==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)(),a=`${r}`.replace("#",""),[l,o]=n.useState(a);n.useEffect((()=>{o(a)}),[a]);const c=(null===(t=e)||void 0===t?void 0:t.length)>0;return{toc:e,activeId:l,setActiveId:o,hasTOC:c}};var g=r(940);function b({children:e}){const{metadata:t,toc:r}=(0,c.g)(),{relatedPosts:a}=t;return n.createElement(i.c,{toc:n.createElement(d,{toc:r})},n.createElement(m.cN,null,e),n.createElement(m.E$,{title:"Related Articles",posts:a}),n.createElement(g.c,null))}function y(e){const t=e.content;return n.createElement(c.E,{content:e.content,isBlogPostPage:!0},n.createElement(l.cr,{className:(0,a.c)(o.W.wrapper.blogPages,o.W.page.blogPostPage)},n.createElement(s,null),n.createElement(b,null,n.createElement(t,null))))}},8560:(e,t,r)=>{"use strict";r.d(t,{s:()=>L});var n=r(1504),a=r(8952),l=r(8796),o=r(5684),c=r(6564),i=r(2184),s=r(6616),u=r(5952),m=r(4971),d=r(1373);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 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 g(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 b=e=>{var{as:t}=e,r=g(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,a]=(0,n.useState)(!1),l=(0,n.useRef)(void 0),o=(0,n.useCallback)((()=>{try{navigator.clipboard.writeText(e).then((()=>{a(!0),l.current=window.setTimeout((()=>{a(!1)}),1e3)}))}catch(t){}}),[e]);return(0,n.useEffect)((()=>()=>window.clearTimeout(l.current)),[]),n.createElement("button",{type:"button","aria-label":r?"Copied!":"Copy code to clipboard",title:"Copy code to clipboard",className:(0,m.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:o},n.createElement(h,{className:(0,m.c)("w-3 h-3","text-gray-500","dark:text-gray-400",r&&"rotate-[360deg]","transition-all duration-200 ease-in-out")}))};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=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const r=t?x:E;return n.createElement("button",{type:"button",onClick:()=>e(),className:(0,m.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,m.c)("w-3 h-3","text-gray-500","dark:text-gray-400",t&&"rotate-[360deg]","transition-all duration-200 ease-in-out")}))};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 P(e){for(var t=1;tn.createElement("svg",P({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"})),S=({children:e,icon:t=n.createElement(N,null)})=>n.createElement("div",{className:(0,m.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:a,showLineNumbers:l,language:f,icon:p,style:g})=>{const{prism:{defaultLanguage:y,magicComments:h}}=(0,o.y)();var w;const x=null!==(w=null!=f?f:(0,i.K2)(t))&&void 0!==w?w:y,O=(0,c.i)(),E=(0,s._)(),j=(0,i.QH)(r)||a,{lineClassNames:N,code:D}=(0,i.cj)(e,{metastring:r,language:x,magicComments:h}),M=null!=l?l:(0,i.OO)(r);return n.createElement(b,{as:"div",className:(0,m.c)("refine-common-code-block",x&&`language-${x}`,"rounded-lg","bg-gray-200","dark:bg-gray-900","border","border-gray-300","dark:border-0","mb-6","relative","refine-wider-container"),style:g},j&&n.createElement(S,{icon:p},j),n.createElement("div",{className:(0,m.c)("relative","pt-3","pb-0","not-prose")},n.createElement(d.cp,C(P({},d.wB),{theme:O,code:D,language:null!=x?x:"text"}),(({className:e,tokens:t,getLineProps:r,getTokenProps:a})=>n.createElement("pre",{tabIndex:0,ref:E.codeBlockRef,className:(0,m.c)(e,"bg-transparent","!mt-0","!mb-0","m-0","px-0","pt-0","font-jetBrains-mono","pb-3")},n.createElement("code",{className:(0,m.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:a,classNames:(0,m.c)(N[t],"px-4","text-xs sm:text-sm 2xl:text-sm"),showLineNumbers:M})))))))),n.createElement("div",{className:(0,m.c)("absolute",j?"top-2 right-2":"top-3 right-3","flex items-center gap-2")},(E.isEnabled||E.isCodeScrollable)&&n.createElement(k,{onClick:E.toggle,isEnabled:E.isEnabled}),n.createElement(v,{className:(0,m.c)(),code:D})))};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 A(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 L=e=>{var{children:t}=e,r=A(e,["children"]);const o=(0,a.c)(),c=function(e){return n.Children.toArray(e).some((e=>(0,n.isValidElement)(e)))?e:Array.isArray(e)?e.join(""):e}(t),i="string"==typeof c?D:l.c;return n.createElement(i,function(e){for(var t=1;t{"use strict";r.d(t,{c:()=>S});var n=r(1504),a=r(8560),l=r(4971),o=r(9936),c=r(7748),i=r.n(c),s=r(1688);const u="playgroundPreview_jwe9";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({children:e,minHeight:t,url:r="http://localhost:3000",hasBottom:a=!1}){return n.createElement("div",{className:(0,l.c)("flex","flex-col","h-full")},n.createElement("div",{className:(0,l.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(f,{className:"w-4 h-4"}),n.createElement("div",{className:(0,l.c)("text-xs")},`${r}`.replace(/^http(s?):\/\//,""))),n.createElement("div",{className:(0,l.c)("flex-1","overflow-hidden","bg-gray-100 dark:bg-gray-700","border border-gray-300 dark:border-gray-700",!a&&"rounded-bl-lg rounded-br-lg",a&&"border-b-gray-300 dark:border-b-gray-900",a&&"border-b"),style:{minHeight:t}},e))}const f=e=>n.createElement("svg",function(e){for(var t=1;t{const[a,l]=n.useState(e),[o]=n.useState(t);n.useEffect((()=>{!a&&e&&l(!0)}),[e]),n.useEffect((()=>{if(o){const e=setTimeout((()=>{l(!0)}),o);return()=>clearTimeout(e)}}),[o]);const c=n.useMemo((()=>a&&"function"==typeof r?r():null),[a]);if(void 0!==r&&"function"!=typeof r)throw new Error("Conditional component requires a function as a child");return c};var b=r(9128),y=r(3296);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}r.g.Buffer=r.g.Buffer||y.Sn;const v=({query:e,code:t,css:r})=>{const{siteConfig:{customFields:a}}=(0,o.c)(),[l,c]=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&&c(`${a.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]),l?n.createElement("iframe",{loading:"lazy",src:l,width:"100%",height:"100%",style:{position:"absolute",left:0,top:0,width:"100%",height:"100%"}}):null},w=n.memo(v,((e,t)=>e.code===t.code&&e.query===t.query&&e.css===t.css)),x=e=>n.createElement("svg",function(e){for(var t=1;t{a?(i(!1),setTimeout((()=>{o((e=>!e)),setTimeout((()=>{i(!0)}),300)}),100)):(i(!1),o((e=>!e)),setTimeout((()=>{i(!0)}),300))}},n.createElement(x,{className:(0,l.c)(a&&"rotate-180","transition-transform","duration-200","ease-in-out")}),n.createElement("span",{className:(0,l.c)("text-base","block","overflow-hidden","h-6")},n.createElement("span",{className:(0,l.c)("block",a&&"opacity-0","transition-opacity duration-200 ease-in-out")},"Show Code"),n.createElement("span",{className:(0,l.c)("block","transition-transform duration-200 ease-in-out","bg-gray-100 dark:bg-gray-700",a&&"-translate-y-6")},"Hide Code"))),n.createElement("div",{className:(0,l.c)("rounded-bl-lg","rounded-br-lg"),style:{maxHeight:a?c?"unset":"100vh":"0px",transition:"0.3s all ease-in-out",overflow:"hidden"},ref:r},n.createElement(S,{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:a=!1,url:c="http://localhost:3000",previewOnly:i=!1,tailwind:m=!1})=>{const f=String(e),{shared:y,sharedCss:h}=(0,b.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 a=e.slice(0,r),l=e.slice(r,n).trimEnd().trimStart(),o=e.slice(n);return{visible:l,join:e=>`${a}\n${e}\n${o}`}})(`\n ${null!=y?y:""}\n ${f}\n `.replace(/\n$/,"")),x=n.useRef(null),E=(0,p.c)(x),{siteConfig:{customFields:k}}=(0,o.c)(),{isLast:j}=(0,s.E)();return n.createElement("div",{className:(0,l.c)("overflow-hidden","mb-6","refine-wider-container")},n.createElement(n.Fragment,null,n.createElement(d,{url:c,hasBottom:!i},n.createElement("div",{className:(0,l.c)(u,"live-editor-wrapper"),style:{maxHeight:r,minHeight:r,overflow:t?"hidden":void 0,position:"relative"},ref:x},j?n.createElement(g,{if:E,maxWait:3e3},(()=>n.createElement(w,{code:`\n${null!=y?y:""}\n${f}\n `,css:h,query:`${t?"&disableScroll=true":""}${m?"&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(O,{hidden:a,code:v})))},k=n.memo(E,((e,t)=>String(e.children)===String(t.children))),j=({children:e})=>{const{setShared:t}=(0,b.UF)();return n.useEffect((()=>(t(String(e)),()=>{t(void 0)})),[e]),null},P=n.memo(j,((e,t)=>String(e.children)===String(t.children))),C=({children:e})=>{const{setSharedCss:t}=(0,b.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 S(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(P,e):e.live?n.createElement(k,e):n.createElement(a.s,e)}},3704:(e,t,r)=>{"use strict";r.d(t,{c:()=>m});var n=r(1504),a=r(9184),l=r(1724);const o=e=>{var t,r,n,a,o,c;let i="noopener noreferrer nofollow";const s=(0,l.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===(a=e)||void 0===a||null===(n=a.includes)||void 0===n?void 0:n.call(a,"refine.dev")))&&(i="noopener dofollow"),(s||(null===(c=e)||void 0===c||null===(o=c.includes)||void 0===o?void 0:o.call(c,"reactadminpanel.com")))&&(i="noopener dofollow"),i};var c=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:()=>ct});var n=r(7584),a=r(1504),l=r(4971),o=r(6192),c=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 m,d,f,p,g,b;return a.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]),a.createElement("div",{className:(0,l.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")},a.createElement(i.c,{to:null!==(g=null===(m=r)||void 0===m?void 0:m.href)&&void 0!==g?g:null===(d=s)||void 0===d?void 0:d.href,target:"_blank",rel:"noopener noreferrer",className:(0,l.c)("flex","max-w-[360px]","h-auto","flex-shrink-0","rounded-lg","overflow-hidden")},a.createElement("img",{src:null===(f=r)||void 0===f?void 0:f.src,alt:null!==(b=null===(p=r)||void 0===p?void 0:p.alt)&&void 0!==b?b:e,loading:"lazy"})),a.createElement("div",{className:(0,l.c)("flex","flex-col","gap-6","justify-center 2xl:justify-start","items-center 2xl:items-start","text-center 2xl:text-start","not-prose")},e&&a.createElement("h2",{className:(0,l.c)("text-xl md:text-2xl","text-gray-0")},e),a.createElement("p",{className:(0,l.c)("text-sm md:text-base","text-gray-100")},t),a.createElement(o.D,{className:(0,l.c)("w-max"),buttonClassname:(0,l.c)("!px-4","!py-2"),href:s.href,onClick:s.onClick,target:"_blank",rel:"noopener noreferrer"},a.createElement("div",{className:(0,l.c)("text-gray-900","text-sm md:text-base","font-bold")},s.text),a.createElement(c.G,{className:(0,l.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}})=>(a.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]),a.createElement("div",{className:(0,l.c)("relative","rounded-2xl","p-8","flex","flex-col","justify-center","items-center","not-prose","bg-banner-examples-gray")},a.createElement("h2",{className:(0,l.c)("text-2xl","font-semibold","bg-banner-examples-text","bg-clip-text","text-transparent")},e),a.createElement("p",{className:(0,l.c)("mt-2","text-sm","text-gray-300")},t),a.createElement(o.D,{className:(0,l.c)("mt-9"),href:r.href,onClick:r.onClick,target:"_blank",rel:"noopener noreferrer"},a.createElement("div",{className:(0,l.c)("text-gray-900","text-base","font-bold")},r.text))));var m=r(8164);const d=[],f=Math.floor(Math.random()*(d.length+1));var p=r(4752),g=r(68);const b=({image:e,title:t,description:r,isDark:n})=>{let l;l="refineNew"===r?a.createElement("div",null," ",a.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.",a.createElement("br",null),a.createElement("br",null),"\ud83d\ude80 By visually combining options for your preferred \u2728",a.createElement("b",null," React platform,")," \u2728 ",a.createElement("b",null,"UI framework"),", \u2728"," ",a.createElement("b",null,"backend connector"),", and \u2728 ",a.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!",a.createElement("br",null),a.createElement("br",null),a.createElement("br",null)):null!=r?r:a.createElement("div",null,"Meet the headless, React-based solution to build sleek"," ",a.createElement("b",null,"CRUD")," applications. With refine, you can be confident that your codebase will always stay clean and boilerplate-free.",a.createElement("br",null),a.createElement("br",null),"Try"," ",a.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank"},"PrepVerse")," ","to rapidly build your next ",a.createElement("b",null,"CRUD")," project, whether ","it's"," ","an admin panel, dashboard, internal tool or storefront.");const o=null!=e?e:"https://refine.ams3.cdn.digitaloceanspaces.com/website/static/img/generic_banner.png";o.startsWith("http")||o.startsWith("/");return a.createElement("a",{href:"https://s.refine.dev/hackathon2",target:"_blank",rel:"noreferrer"},a.createElement("img",{src:"https://refine.ams3.cdn.digitaloceanspaces.com/hackathon-2/hackathon_cover.png"}))};var y=r(5524),h=r(3896),v=r(3376),w=r(8840);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 O=e=>a.createElement("svg",function(e){for(var t=1;t{var t,r,n;const o=a.useRef(!1),{id:c}=(0,v.U)(),[i,s]=a.useState(!1),{items:u}=(0,w.GC)(),{reward:m}=(0,h.yh)(`checklist-${c}`,"confetti",{angle:90,elementCount:120,startVelocity:30,decay:.95,spread:100,position:"absolute",lifetime:150}),d=null===(n=u.find((e=>e.id===c)))||void 0===n||null===(t=(r=n.checklist).every)||void 0===t?void 0:t.call(r,(e=>e.checked));return a.useEffect((()=>{setTimeout((()=>{o.current=!0}),1e3)}),[]),a.useEffect((()=>{!i&&d&&o.current&&(s(!0),m())}),[d,i]),a.createElement("div",{className:(0,l.c)("rounded-lg","border-l-gray-400 dark:border-l-gray-600","dark:bg-gray-800 bg-gray-50")},a.createElement("div",{className:(0,l.c)("border-l-4","border-l-solid","border-l-inherit","rounded-tl-lg","rounded-bl-lg","p-4","flex flex-col")},a.createElement("div",{className:"border-b border-gray-400 dark:border-gray-500 border-opacity-50 dark:border-opacity-50"},a.createElement("div",{className:(0,l.c)("not-prose","mt-0 mb-4","flex items-center","gap-2")},a.createElement(O,{className:(0,l.c)("w-4 h-4","dark:text-gray-100 text-gray-800")}),a.createElement("h3",{className:(0,l.c)("m-0 p-0","font-semibold","dark:text-gray-100 text-gray-800","uppercase","text-base leading-6")},"Checklist"))),a.createElement("div",null,e),a.createElement("div",{className:"flex items-center justify-center"},a.createElement("div",{id:`checklist-${c}`}))))};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=>a.createElement("svg",function(e){for(var t=1;t{var r,n,o,c;const{id:i}=(0,v.U)(),{items:s,toggle:u}=(0,w.GC)(),m=null===(r=null===(c=s.find((e=>e.id===i)))||void 0===c||null===(n=(o=c.checklist).find)||void 0===n?void 0:n.call(o,(e=>e.id===t)))||void 0===r?void 0:r.checked;return a.createElement("label",{className:(0,l.c)("mt-4","flex","items-center justify-start","flex-nowrap","gap-2","cursor-pointer")},a.createElement("div",{className:"flex-shrink-0"},a.createElement("button",{type:"button",onClick:()=>{u(i,t)},className:(0,l.c)("appearance-none","flex items-center justify-center","w-4 h-4","rounded","border",{"border-gray-400 dark:border-gray-500":!m,"border-refine-react-dark-link dark:border-refine-react-dark-link":m,"bg-refine-react-dark-link":m})},m&&a.createElement(j,null))),a.createElement("div",{className:(0,l.c)(m&&"line-through dark:text-gray-100 dark:text-opacity-50 text-gray-800 text-opacity-50",!m&&"text-gray-800 dark:text-gray-100")},e))};var C=r(8560),N=r(2108);const S=({path:e})=>a.createElement(C.s,{language:"bash",title:"Run on your local",icon:a.createElement(N.G,null)},`npm create refine-app@latest -- --example ${e}`);var D=r(5792);const M=({path:e})=>a.createElement("div",{className:(0,l.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")},a.createElement(D.A,{className:"ml-1.5 w-5 h-5 text-gray-800 dark:text-gray-100"}),a.createElement("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:(0,l.c)("text-base","leading-8","text-refine-react-light-link dark:text-refine-react-dark-link")},a.createElement("span",null,"View Source Code"))),A=({path:e})=>{const t=`https://github.com/PrepVerse/PrepVerse/tree/master/examples/${e}`;return a.createElement(M,{path:t})},L=({path:e,hideSource:t,hideLocal:r,hideSandbox:n})=>{const l=`${`https://codesandbox.io/embed/github/refinedev/refine/tree/master/examples/${e}`}?view=preview&theme=dark&runonclick=1&codemirror=1`;return a.createElement("div",null,!t&&a.createElement(A,{path:e}),!r&&a.createElement(S,{path:e}),!n&&a.createElement("iframe",{loading:"lazy",src:l,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 R=r(3732),Z=r(7916);const V=()=>a.createElement("div",null,a.createElement(R.c,{type:"simple",title:"Good to know"},a.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})=>a.createElement("div",{className:(0,l.c)("refine-info-badge","relative","group","inline-flex","align-middle")},e,a.createElement("div",{className:(0,l.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")},a.createElement("div",{className:(0,l.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"))),H=({id:e,icon:t,color:r,text:n,description:o})=>{const c=(0,l.c)("orange"===r&&(0,l.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,l.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,l.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 a.createElement(B,{content:o},a.createElement(i.c,{to:`/docs/${e}`,className:(0,l.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",c)},t,n&&a.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 F=e=>a.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;tr?a.createElement("div",{className:(0,l.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:c},null!=e?e:"deprecated"):t?a.createElement("div",{className:(0,l.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?a.createElement("div",{className:(0,l.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:c},null!=e?e:"required"):o?a.createElement("div",{className:(0,l.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:c},null!=e?e:"featured"):e?a.createElement("div",{className:(0,l.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:c},e):null,U="tooltip__Ymd",G="tooltipContainer_l6r7",z="tooltipContent_UeXm",W="tooltipArrow_mOyh",q=({label:e,children:t})=>e?a.createElement("div",{className:`${U} group`},t,a.createElement("div",{className:`${G} group-hover:visible`},a.createElement("span",{className:z},e),a.createElement("div",{className:W}))):a.createElement(a.Fragment,null,t);function J(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 Y=({prop:e,overrides:t})=>{var r,n,l;const o=null!==(l=t[`${e.name}-required`])&&void 0!==l?l:e.required;var c;const i=null!==(c=t[`${e.name}-deprecated`])&&void 0!==c?c:null===(r=e.tags)||void 0===r?void 0:r.deprecated;var s,u;const m=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:"",d=(0,a.useMemo)((()=>{const e="props-table--name";return i?`${e} props-table--name__deprecated`:e}),[e,t]),f=(0,a.useMemo)((()=>m?a.createElement(Z.s,null,m):null),[e,t]);var p;return a.createElement(q,{label:f},a.createElement(a.Fragment,null,a.createElement("span",{className:d},null!==(p=t[`${e.name}-name`])&&void 0!==p?p:e.name),o&&a.createElement($,{asterisk:!0})))},Q=({prop:e,overrides:t})=>{var r;const n=null!==(r=t[`${e.name}-type`])&&void 0!==r?r:e.type.name,l=n.split(" | "),o=l.length>1,c=l.some((e=>e.length>20)),i=/`/.test(n);return a.createElement(a.Fragment,null,i?a.createElement(Z.s,null,n):c&&o?a.createElement(a.Fragment,null,l.map(((e,t)=>a.createElement("code",{className:"max-w-xs h-min",key:t},a.createElement(Z.s,null,e))))):a.createElement("code",{className:"max-w-xs h-min"},a.createElement(Z.s,null,n)))},K=({prop:e,overrides:t})=>{var r,n;return a.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)},X=({prop:e,overrides:t})=>{var r,n,l,o;const c=null===(r=e.tags)||void 0===r?void 0:r.default,i=(null===(n=e.defaultValue)||void 0===n?void 0:n.value)&&(null===(l=e.defaultValue)||void 0===l?void 0:l.value)!==c?null===(o=e.defaultValue)||void 0===o?void 0:o.value:void 0,s=t[`${e.name}-default`];return c||s?a.createElement(Z.s,null,null!=s?s:c):a.createElement("div",{className:"flex flex-wrap gap-1"},void 0!==i?a.createElement("code",{className:"max-w-xs h-min"},a.createElement(Z.s,null,i)):null)},ee=({prop:e,overrides:t})=>a.createElement("td",null,a.createElement("div",{className:"flex items-center"},a.createElement(Y,{prop:e,overrides:t}))),te=({prop:e,overrides:t})=>a.createElement("td",{className:"props-table__type-cell"},a.createElement("div",{className:"flex flex-wrap gap-1"},a.createElement(Q,{prop:e,overrides:t}))),re=({prop:e,overrides:t})=>a.createElement("td",{className:"props-table__description-cell"},a.createElement(K,{prop:e,overrides:t})),ne=({prop:e,overrides:t})=>a.createElement("td",{className:"props-table__default-value-cell"},a.createElement(X,{prop:e,overrides:t})),ae=e=>{var{module:t,hideDefaults:n,children:l}=e,o=J(e,["module","hideDefaults","children"]);const c=((e,t="@refinedev/")=>{const[n,l]=(0,a.useState)(null);return(0,a.useEffect)((()=>{let n=!1;return r(6324)(`./${e.startsWith(t)?e:`${t}${e}`}.json`).then((e=>{n||(n=!0,l(e.default))})).catch(console.warn),()=>{n=!0}}),[e]),n})(t),i=(0,a.useMemo)((()=>{var e;if(n)return!1;if(Object.keys(o).some((e=>e.endsWith("-default"))))return!1;var t;return!Object.values(null!==(t=null===(e=c)||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}))}),[o]);if(!c)return null;const s=[...Object.values(c.props)];return a.createElement("div",{className:"table-container"},a.createElement("table",{className:"props-table"},a.createElement("thead",null,a.createElement("tr",null,a.createElement("th",null,"Property"),a.createElement("th",null,"Type"),a.createElement("th",null,"Description"),i?null:a.createElement("th",null,"Default"))),a.createElement("tbody",null,s.map((e=>o[`${e.name}-hidden`]?null:a.createElement("tr",{key:e.name},a.createElement(ee,{prop:e,overrides:o}),a.createElement(te,{prop:e,overrides:o}),a.createElement(re,{prop:e,overrides:o}),i?null:a.createElement(ne,{prop:e,overrides:o})))))),l)};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 oe=e=>a.createElement("svg",function(e){for(var t=1;t{const{current:r}=(0,ce.U)();return e&&r===e?a.createElement(a.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 me(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 de=e=>{var t;const r=a.Children.toArray(e.children),n=r.find((e=>a.isValidElement(e)&&"summary"===(null===(t=e.props)||void 0===t?void 0:t.mdxType))),o=a.createElement(a.Fragment,null,r.filter((e=>e!==n)));return a.createElement(se.S,me(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 be=e=>{var{children:t,className:r}=e,n=ge(e,["children","className"]);return a.createElement("summary",function(e){for(var t=1;t{const t=e.currentTarget,a=s.indexOf(t),l=o[a].value;l!==r&&(u(t),n(l))},d=e=>{var t,r;let n=null;switch(e.key){case"Enter":m(e);break;case"ArrowRight":{const t=s.indexOf(e.currentTarget)+1;var a;n=null!==(a=s[t])&&void 0!==a?a:s[0];break}case"ArrowLeft":{const t=s.indexOf(e.currentTarget)-1;var l;n=null!==(l=s[t])&&void 0!==l?l:s[s.length-1];break}}null===(r=n)||void 0===r||null===(t=r.focus)||void 0===t||t.call(r)};return a.createElement("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,l.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",!c&&"rounded-bl-lg rounded-br-lg","items-stretch")},o.map((({value:e,label:t,attributes:n})=>a.createElement("li",Oe(xe({role:"tab",tabIndex:r===e?0:-1,"aria-selected":r===e,key:e,ref:e=>s.push(e),onKeyDown:d,onClick:m},n),{className:(0,l.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 ke({lazy:e,children:t,selectedValue:r,smallTabs:n}){const o=(Array.isArray(t)?t:[t]).filter(Boolean);if(e){const e=o.find((e=>e.props.value===r));return e?(0,a.cloneElement)(e,{className:"margin-top--md refine-tab-content"}):null}var c;return a.createElement("div",{className:"p-4"},o.map(((e,t)=>(0,a.cloneElement)(e,{key:t,hidden:e.props.value!==r,className:(0,l.c)(null!==(c=e.props.className)&&void 0!==c?c:[],"refine-tab-content")}))))}function je(e){const t=(0,he.a)(e),{wrapContent:r=!0}=e;return a.createElement("div",{className:(0,l.c)("tabs-container","rounded-lg","border-gray-300 dark:border-gray-700",r?"border":"border-0","mb-6","refine-wider-container")},a.createElement(Ee,xe({},e,t)),a.createElement(ke,xe({},e,t)))}function Pe(e){const t=(0,ve.c)();return a.createElement(je,xe({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,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}var Se=r(4472),De=r(4896),Me=r(1488),Ae=r(8620),Le=r(6076),Re=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 Ve=e=>a.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;t{var t,r;const[n,o]=(0,a.useState)(!1),{refs:c,floatingStyles:i,context:s}=(0,Se.gR)({placement:"bottom-start",open:e.isOpen,onOpenChange:e.onOpenChange,whileElementsMounted:De.kN,middleware:[(0,Me.E3)((({middlewareData:e})=>{var t;return(null===(t=e)||void 0===t?void 0:t.flip)?{mainAxis:12}:{mainAxis:52}})),(0,De.EB)((({placement:e})=>(e.includes("bottom")&&o(!1),e.includes("top")&&o(!0),{fallbackPlacements:["top-start"]})))]}),u=(0,Se.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:m,getFloatingProps:d}=(0,Se.M3)([u]);return a.createElement(a.Fragment,null,a.createElement("div",We(ze({ref:c.setReference},m()),{style:{position:"absolute",top:"0",left:0}})),a.createElement(Ae.I,null,s.open&&a.createElement(Le.q.div,We(ze({initial:{opacity:0},animate:{opacity:1,transition:{duration:.2}},exit:{opacity:0},ref:c.setFloating,style:i},d()),{className:(0,l.c)("w-[320px]","bg-[#EAEBEF] dark:bg-refine-react-dark-code","border border-[#E3E4E5] dark:border-[#343A46]","rounded-[20px]","relative")}),e.children,a.createElement(Je,{style:ze({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)}))))},Je=e=>{const{colorMode:t}=(0,Re.U)(),r="dark"===t;return a.createElement("svg",ze({xmlns:"http://www.w3.org/2000/svg",width:42,height:18,viewBox:"0 0 42 18",fill:"none"},e),a.createElement("title",null,"Popover Pointer"),a.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"}),a.createElement("defs",null,a.createElement("linearGradient",{id:"a",x1:21,x2:21,y1:1,y2:16,gradientUnits:"userSpaceOnUse"},a.createElement("stop",{offset:.59,stopColor:r?"#343A46":"#E3E4E5"}),a.createElement("stop",{offset:.602,stopColor:r?"#343A46":"#E3E4E5",stopOpacity:0}))))},Ye={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 Ke(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 Xe;var et=r(7500),tt=r(9104);var rt=r(9092);var nt=r(5560);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}function lt(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 ot(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ct=(it=function(e){for(var t=1;t{var{className:t}=e,r=Ne(e,["className"]);return a.createElement("blockquote",function(e){for(var t=1;tf===d.length?a.createElement(m.c,null,(()=>a.createElement(u,null))):a.createElement(m.c,null,(()=>a.createElement(s,d[f]))),GuideBadge:({id:e,description:t="Please check the guide for more information on this topic.",text:r})=>a.createElement(H,{id:e,color:"green",icon:a.createElement(_,null),text:r,description:a.createElement(a.Fragment,null,a.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Check the guide"),a.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})=>a.createElement(H,{id:e,color:"orange",text:r,icon:a.createElement(oe,null),description:a.createElement(a.Fragment,null,a.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Router Integrated"),a.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})=>a.createElement(H,{color:"purple",icon:a.createElement(F,null),text:r,id:e,description:a.createElement(a.Fragment,null,a.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Globally Configurable"),a.createElement("div",{className:"text-xs"},t))}),Image:e=>a.createElement("img",Ke(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 a.createElement(Pe,null,a.createElement(tt.c,{value:"npm",label:"npm",default:!0},a.createElement(C.s,{className:"language-bash"},r.npm)),a.createElement(tt.c,{value:"pnpm",label:"pnpm"},a.createElement(C.s,{className:"language-bash"},r.pnpm)),a.createElement(tt.c,{value:"yarn",label:"yarn"},a.createElement(C.s,{className:"language-bash"},r.yarn),a.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 a.createElement(Pe,null,a.createElement(tt.c,{value:"npm",label:"npm",default:!0},a.createElement(C.s,{className:"language-bash"},r.npm),t),a.createElement(tt.c,{value:"pnpm",label:"pnpm"},a.createElement(C.s,{className:"language-bash"},r.pnpm),t),a.createElement(tt.c,{value:"yarn",label:"yarn"},a.createElement(C.s,{className:"language-bash"},r.yarn),t))},FullTable:et.Ih,TutorialConditional:({parameter:e,value:t,children:r})=>{var n;const{parameters:l}=(0,rt.iC)();return(null===(n=l)||void 0===n?void 0:n[e])===t?a.createElement(a.Fragment,null,r):null},VideoInView:e=>{const t=a.useRef(null),r=(0,nt.c)(t);return a.useEffect((()=>{var e,n,a,l;r?null===(n=t.current)||void 0===n||null===(e=n.play)||void 0===e||e.call(n):null===(l=t.current)||void 0===l||null===(a=l.pause)||void 0===a||a.call(l)}),[r]),a.createElement("video",lt(function(e){for(var t=1;t{var e,r,n,a,l;(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===(l=t.current)||void 0===l||null===(a=l.pause)||void 0===a||a.call(l)},className:(0,l.c)(e.className,"w-full","h-auto","max-w-full","max-h-full","rounded-xl","object-contain")}))},DocThumbsUpDownFeedbackWidget:e=>{const t=(0,Ue.IT)(),[r,n]=(0,a.useState)(""),[o,c]=(0,a.useState)(null),[i,s]=(0,a.useState)(!1),[u,m]=(0,a.useState)(!1),d=i||u,{survey:f,createSurvey:p,updateSurvey:g}=(e=>{const[t,r]=(0,a.useState)(null),n=$e[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 a=await t.json();return a?(r(a),a):void 0},updateSurvey:async({surveyId:e,body:t})=>{const a=await fetch(`${n}/responses/${e}`,{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(!a.ok)return null;const l=await a.json();return l?(r(l),l):void 0}}})({type:Te.THUMBS}),b=async r=>{c(r),s(!0),f?await g({surveyId:f.id,body:{response:r}}):await p({body:{response:r,entityId:t.pathname,metaData:{sectionId:e.id}}})};return a.createElement("div",{className:"group"},e.children,a.createElement("div",{className:(0,l.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",!d&&"opacity-0","group-hover:opacity-100")},a.createElement("div",{className:(0,l.c)("text-xs","whitespace-nowrap","text-[#23272F] dark:text-[#E3E4E5]")},"Was this helpful?"),a.createElement("div",{className:(0,l.c)("flex","items-center","gap-1","widget-actions")},a.createElement("button",{type:"button",onClick:()=>b(Ye.UP),className:(0,l.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===o&&"text-green-500 bg-green-500/20")},a.createElement(Ve,null)),a.createElement("button",{type:"button",onClick:()=>b(Ye.DOWN),className:(0,l.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===o&&"text-red-500 bg-red-500/20")},a.createElement(He,null))),a.createElement(qe,{isOpen:d,onOpenChange:e=>{u||e||(s(!1),m(!1))},arrowStyle:{right:1===o?"150px":"115px"}},!u&&a.createElement("form",{className:(0,l.c)("flex flex-col","p-2"),onSubmit:e=>{e.preventDefault(),(async()=>{const e=r.trim();e&&(await g({surveyId:f.id,body:{response:o,responseText:e}}),m(!0),setTimeout((()=>{s(!1),m(!1)}),2e3))})()}},a.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,l.c)("w-full","bg-white dark:bg-[#343A46]","text-[#23272F] dark:text-[#E3E4E5]","resize-none","rounded-xl","text-xs","py-2 px-3")}),a.createElement("button",{type:"submit",className:(0,l.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&&a.createElement("div",{className:(0,l.c)("flex items-center","p-4","text-xs","text-gray-500")},a.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},2876:(e,t,r)=>{"use strict";r.d(t,{U:()=>n});const n=()=>{var e,t;return null===(t=window.open("https://s.refine.dev/refine-brand-assets","_blank"))||void 0===t||null===(e=t.focus)||void 0===e?void 0:e.call(t)}}}]); \ 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 a(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],a=t[0];return r.e(t[1]).then((()=>r.t(a,19)))}a.keys=()=>Object.keys(n),a.id=6324,e.exports=a},3270:(e,t,r)=>{"use strict";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)=>{"use strict";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}},3688:(e,t,r)=>{"use strict";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)}}},940:(e,t,r)=>{"use strict";r.d(t,{c:()=>u});var n=r(1504),a=r(5684),l=r(9072),o=r(8164),c=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,a.y)(),t=function(e){for(var t=1;tn.createElement(c.c,t)))}},1904:(e,t,r)=>{"use strict";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))}},4752:(e,t,r)=>{"use strict";r.d(t,{c:()=>l});var n=r(1504),a=r(9184);const l=()=>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(a.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")))},68:(e,t,r)=>{"use strict";r.d(t,{c:()=>u});var n=r(1504),a=r(9184);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 o=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const[e,t]=n.useState(0);return n.useEffect((()=>{(async()=>{const e=await fetch(`https://api.github.com/repos/pankod/refine?access_token=${s}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`token ${s}`}}),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(a.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(i,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(o,{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:()=>C,cN:()=>P,CS:()=>u,E$:()=>D,us:()=>S});var n=r(1504),a=r(9184),l=r(468),o=r(3270),c=r(1904),i=r(4971);const s=()=>{var e,t;const{metadata:r}=(0,l.g)(),{permalink:s,title:u,date:m,formattedDate:d,frontMatter:f,description:p,tags:g}=r,b=r.authors[0];return n.createElement(o.c,null,n.createElement(a.c,{itemProp:"url",to:s,className:(0,i.c)("block","w-full h-auto","aspect-[592/334]")},n.createElement("div",{className:(0,i.c)("not-prose relative m-0 hover:brightness-90","h-full w-full")},n.createElement("img",{src:`${f.image}?h=256`,alt:u,className:(0,i.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,i.c)("flex flex-wrap items-center","mb-6","gap-2")},g.map((e=>n.createElement(a.c,{className:(0,i.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:s,className:"no-underline hover:no-underline",rel:"noopener dofollow"},n.createElement("div",{className:(0,i.c)("mb-4","text-gray-700 dark:text-refine-react-3","text-xl","font-lg","font-bold")},u)),n.createElement("div",{className:(0,i.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(a.c,{href:`/blog/author/${null===(e=b)||void 0===e?void 0:e.key}`,itemProp:"url",className:(0,i.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,i.c)("h-[4px] w-[4px] rounded-full","bg-gray-600 dark:bg-gray-500")}),n.createElement("span",{className:(0,i.c)("text-gray-600 dark:text-gray-500","text-xs","leading-6","no-underline")},n.createElement(c.iI,{date:m,formattedDate:d})))))},u=({items:e})=>n.createElement("div",null,n.createElement("div",{className:(0,i.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,i.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-cyan-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(l.E,{key:e.metadata.permalink,content:e},n.createElement(s,null)))))));var m=r(2656),d=r(56),f=r(9936),p=r(7760),g=r(6224),b=r(3784),y=r(4776),h=r(2788),v=r(8368);const w=(0,v.c)("telegram",(function(e,t){var r=t.title;return(0,y.c)(e,"telegram.url"),"https://telegram.me/share/url"+(0,h.c)({url:e,text:r})}),(function(e){return{title:e.title}}),{windowWidth:550,windowHeight:400});var x=r(2544);const O=(0,x.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,y.c)(e,"facebook.url"),"https://www.facebook.com/sharer/sharer.php"+(0,h.c)({u:e,quote:r,hashtag:n})}),(function(e){return{quote:e.quote,hashtag:e.hashtag}}),{windowWidth:550,windowHeight:400});const k=(0,x.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 j=r(2460);const P=({children:e})=>{var t,r,s,u,y,h;const{metadata:v,isBlogPostPage:x}=(0,l.g)(),{permalink:P,title:C,date:N,formattedDate:S,readingTime:D,frontMatter:M,tags:A,description:L,authors:R}=v,Z=R[0],{siteConfig:{url:V}}=(0,f.c)();return n.createElement(o.c,{className:(0,i.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,i.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,i.c)("text-refine-react-5 dark:text-refine-react-4","text-sm no-underline","flex","items-center","gap-2")},n.createElement(j.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:V+P,title:C,source:V,summary:L,hashtags:A.map((e=>e.label)),className:"flex"},n.createElement(g.c,{size:26,round:!0})),n.createElement(b.c,{windowWidth:750,windowHeight:800,url:V+P,title:C,hashtags:A.map((e=>e.label)),className:"flex"},n.createElement(j.mk,{width:26,height:26})),n.createElement(w,{windowWidth:750,windowHeight:800,url:V+P,title:C,hashtags:A.map((e=>e.label)),className:"flex"},n.createElement(O,{size:26,round:!0})),n.createElement(E,{windowWidth:750,windowHeight:800,url:V+P,title:C,hashtags:A.map((e=>e.label)),className:"flex"},n.createElement(k,{size:26,round:!0})))),n.createElement("div",{className:"not-prose"},n.createElement("img",{className:"w-full rounded-xl aspect-[894/468]",src:`${M.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,i.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=Z)||void 0===t?void 0:t.key}`,itemProp:"url"},n.createElement("img",{src:null===(r=Z)||void 0===r?void 0:r.imageURL,alt:null===(s=Z)||void 0===s?void 0:s.name,loading:"lazy",className:"flex h-[32px] w-[32px] rounded-full object-cover"})),n.createElement(a.c,{to:`/blog/author/${null===(u=Z)||void 0===u?void 0:u.key}`,itemProp:"url",className:(0,i.c)("flex-1","text-gray-900 dark:text-gray-200","text-sm","no-underline","hover:no-underline")},null===(y=Z)||void 0===y?void 0:y.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===(h=Z)||void 0===h?void 0:h.title)),n.createElement("div",{className:"flex items-center gap-2 text-gray-600 dark:text-gray-400"},n.createElement(c.iI,{date:N,formattedDate:S}),void 0!==D&&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(c.S_,{readingTime:D}))))),n.createElement("h1",{className:"text-xl md:text-4xl",itemProp:"headline"},x?C:n.createElement(a.c,{itemProp:"url",to:P},C)),n.createElement("div",{id:m.blogPostContainerID,className:"markdown",itemProp:"articleBody"},n.createElement(d.c,null,e))))},C=({author:e,className:t})=>n.createElement(N,{author:e,className:t}),N=({author:e})=>{var t,r,l,o,c,s,u,m,d,f,p;const g=e.github||e.twitter||e.linkedin;return n.createElement("div",{className:(0,i.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,i.c)("flex","justify-between","items-center")},n.createElement("div",{className:(0,i.c)("w-full","flex items-center justify-between flex-wrap")},n.createElement("div",{className:(0,i.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===(l=e)||void 0===l?void 0:l.name,loading:"lazy",className:(0,i.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,i.c)("not-prose flex flex-col justify-between")},n.createElement("h1",{className:(0,i.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===(o=e)||void 0===o?void 0:o.name),n.createElement("div",{className:(0,i.c)("text-xs sm:text-base","text-gray-600 dark:text-gray-400")},null===(c=e)||void 0===c?void 0:c.title))),g&&n.createElement("div",{className:"flex justify-center gap-3"},(null===(s=e)||void 0===s?void 0:s.github)&&n.createElement(a.c,{to:null===(u=e)||void 0===u?void 0:u.github},n.createElement(j.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(j.mk,{className:"h-6 w-6"})),(null===(f=e)||void 0===f?void 0:f.linkedin)&&n.createElement(a.c,{to:null===(p=e)||void 0===p?void 0:p.linkedin},n.createElement(j.wd,{className:"h-6 w-6"}))))),n.createElement("div",{className:"border-b border-gray-200 dark:border-gray-700 mb-8"}))};r(4752),r(68),r(5524);const S=()=>{const{metadata:e}=(0,l.g)();return n.createElement("div",{className:"flex flex-wrap gap-2"},e.tags.map((e=>n.createElement(a.c,{to:e.permalink,className:(0,i.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))))},D=({posts:e,title:t})=>{var r,l,o;return e.length<1?null:n.createElement("div",{className:(0,i.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,i.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,i.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,i.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===(l=e.authors[0])||void 0===l?void 0:l.name),n.createElement("span",{className:"h-[4px] w-[4px] rounded-full bg-gray-600 dark:bg-gray-500"}),n.createElement(c.iI,{date:e.date,formattedDate:e.formattedDate}))))))))}},5524:(e,t,r)=>{"use strict";r.d(t,{c:()=>l});var n=r(1504),a=r(9184);const l=({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(a.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"))))},3740:(e,t,r)=>{"use strict";r.d(t,{q:()=>o,y:()=>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 l="tutorial-checklist-store",o=n.createContext({store:{},toggle:()=>{}}),c=({children:e})=>{const[t,r]=n.useState((()=>{if("undefined"!=typeof window){const t=localStorage.getItem(l);if(t)try{const e=JSON.parse(t);if("object"==typeof e)return e}catch(e){return{}}}return{}})),c=n.useCallback(((e,t,n)=>{r((r=>{const l=function(e){for(var t=1;t{"undefined"!=typeof window&&localStorage.setItem(l,JSON.stringify(t))}),[t]),n.createElement(o.Provider,{value:{store:t,toggle:c}},e)}},5448:(e,t,r)=>{"use strict";r.d(t,{g5:()=>i,mk:()=>s,sH:()=>l});var n=r(1504),a=r(2288);const l=["headless","antd","chakra-ui","mantine","mui"],o=e=>{if(l.includes(e))return e},c="tutorial-preferred-ui-package",i=n.createContext({preferred:"headless",current:void 0,setPreferred:()=>{}}),s=({children:e})=>{const{metadata:t}=(0,a.G)(),r=(e=>{const t=e.match(/\/(headless|antd|chakra-ui|mantine|mui)\//);if(t&&o(t[1]))return t[1]})(t.id),[l,s]=n.useState("headless");n.useEffect((()=>{if("undefined"!=typeof window){const e=localStorage.getItem(c),t=o(e);t&&s(t)}}),[]);const u=e=>{o(e)&&("undefined"!=typeof window&&localStorage.setItem(c,e),s(e))};return n.useEffect((()=>{r&&r!==l&&u(r)}),[r,l]),n.createElement(i.Provider,{value:{preferred:l,setPreferred:u,current:r||l}},e)}},9092:(e,t,r)=>{"use strict";r.d(t,{WO:()=>d,iC:()=>f});var n=r(1504),a=r(640),l=r(2064);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){for(var t=1;t0}),s="tutorial-parameters",u=(e,t)=>{for(const r of t)if(e.includes(`/${r.value}`))return r.value},m=()=>{const{pathname:e}=(0,a.IT)();return n.useMemo((()=>(e=>{const t={};for(const[r,n]of Object.entries(l.Sm.parameterOptions)){const a=u(e,n);a&&(t[r]=a)}return t})(e)),[e])},d=({children:e})=>{const[t,r]=n.useState(void 0),[a,o]=n.useState(!1),u=m(),d=n.useCallback((e=>{r((t=>{try{localStorage.setItem(s,JSON.stringify(c({},t,e)))}catch(r){console.error(r)}return c({},t,e)}))}),[]);return n.useEffect((()=>{try{const e=localStorage.getItem(s);d(e?c({},l.Sm.defaultParameters,JSON.parse(e),u):c({},l.Sm.defaultParameters,u))}catch(e){d(c({},l.Sm.defaultParameters,u))}o(!0)}),[]),n.createElement(i.Provider,{value:{parameters:t,setParameters:d,settled:a,options:l.Sm.parameterOptions}},e)},f=()=>n.useContext(i)},3376:(e,t,r)=>{"use strict";r.d(t,{U:()=>p});var n=r(2288),a=r(1688),l=(r(1504),r(3908));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){for(var t=1;t{var e,t,r,o;const m=(0,n.G)(),{docs:p}=(0,a.E)(),{frontMatter:g,metadata:{id:b}}=m,{tutorial:{units:y}}=(0,u.e)(),{current:h}=(0,l.U)(),v=e=>{const t=e.id.split("/"),r=s.sH.filter((e=>e!==h));return!t.find((e=>r.includes(e)))},w=!!(null===(e=g)||void 0===e?void 0:e.tutorial),x=b.split("/")[1],O=function({frontMatter:e}){const{docs:t}=(0,a.E)(),{current:r}=(0,l.U)(),n=e=>{if(e.includes("{preferredUI}")||r)return e.replace("{preferredUI}",r)},o=e=>"/docs/"+e,{tutorial:s}=e,{next:u,prev:m}=null!=s?s:{},d=u?n(u):void 0,f=t[m?n(m):void 0],p=t[d];return{previous:f?i(c({},f),{permalink:o(f.id)}):void 0,next:p?i(c({},p),{permalink:o(p.id)}):void 0}}(m),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}),{}),k=Object.entries(E).map((([e,r])=>f(d({unit:e,no:null===(t=y[e])||void 0===t?void 0:t.no,title:y[e].label},e===x&&w&&{current:!0}),{docs:r.map((e=>d({},e,e.id===b&&w&&{current:!0}))).filter(v)}))).sort(((e,t)=>(null===(r=e)||void 0===r?void 0:r.no)-(null===(o=t)||void 0===o?void 0:o.no)));return w?{id:b,isTutorial:w,unit:x,pagination:O,units:k}:void 0}},5560:(e,t,r)=>{"use strict";r.d(t,{c:()=>a});var n=r(1504);const a=(e,t="0px")=>{const[r,a]=n.useState(!1);return n.useEffect((()=>{var r;const n=null===(r=e)||void 0===r?void 0:r.current,l=new IntersectionObserver((([e])=>{a(e.isIntersecting)}),{rootMargin:t});return n&&l.observe(n),()=>{n&&l.unobserve(n)}}),[]),r}},8840:(e,t,r)=>{"use strict";r.d(t,{ot:()=>s,GC:()=>u});var n=r(1504);const a={items:[]};var l=r(3740);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){for(var t=1;tt.filter((t=>t.unit===e));function u(){const{store:e,toggle:t}=n.useContext(l.q);return{items:n.useMemo((()=>{var t,r,n,l;return null!==(l=null===(n=a)||void 0===n||null===(t=(r=n.items).map)||void 0===t?void 0:t.call(r,(t=>{const{id:r}=t;return i(c({},t),{checklist:t.checklist.map((t=>{var n;return i(c({},t),{checked:null!==(n=e[r]?.[t.id])&&void 0!==n&&n})})).sort(((e,t)=>e.index-t.index))})})))&&void 0!==l?l:[]}),[e]),toggle:t}}},380:(e,t,r)=>{"use strict";r.d(t,{e:()=>a});var n=r(9936);r(1504);const a=()=>{const{siteConfig:{customFields:e}}=(0,n.c)(),{tutorial:t}=e;return t}},3908:(e,t,r)=>{"use strict";r.d(t,{U:()=>l});var n=r(1504),a=r(5448);const l=()=>n.useContext(a.g5)},3680:(e,t,r)=>{"use strict";r.d(t,{u:()=>l});var n=r(1504),a=r(8564);const l=e=>n.createElement(a.E,e)},6968:(e,t,r)=>{"use strict";r.d(t,{m:()=>W});var n=r(9184),a=r(4971),l=r(4332),o=r(344),c=r(6076),i=r(1504),s=r(1980),u=r(8804),m=r(2876),d=r(3480);const f=[{isPopover:!0,label:"Docs",items:[{label:"DSA Docs",description:"Learning DSA in C++, Python & Java",link:"/docs",icon:d.uI},{label:"Web Tech Docs",description:"Learn HTML, CSS, JavaScript",link:"/docs/2.Web.Dev",icon:d.Af}]},{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}],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,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),y=r(5224),h=r(2424),v=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(y._,{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(y._.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(v.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(y._.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))))))},x=({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(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,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(p,{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://twitter.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(p,{key:t.label,item:t,variant:e}))))):i.createElement(g,{key:`navbar-${t.label}`,item:t,variant:e}))));var O=r(2276),E=r(7008),k=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 C=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),u=null!=r?r:n.c,m=void 0!==l&&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(V,{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(H,{className:(0,a.c)("block landing-sm:hidden","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}))},V=({isModalOpen:e,setIsModalOpen:t,children:r})=>i.createElement(h.O,{appear:!0,show:e,as:i.Fragment},i.createElement(O.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(A.Q,null),i.createElement("div",{className:(0,a.c)("flex items-center justify-between","p-4","landing-sm:px-8")},i.createElement(u.m,{className:"dark:text-gray-0 text-gray-900",onContextMenu:m.U}),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(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,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(p,{key:e.label,item:e})))))})),i.createElement(_,null),i.createElement(T,{id:"tablet"}),i.createElement(F,{id:"tablet"})),H=e=>i.createElement("div",{className:(0,a.c)(e.className)},i.createElement("div",{className:"flex-grow"},f.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,a.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(M,{key:`modal-${e.label}`,label:e.label,href:e.href,icon:e.icon})))),i.createElement(_,null),i.createElement(T,{id:"phone"}),i.createElement(F,{id:"phone"})),F=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!")))},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(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://twitter.com/akashsingh3031"},i.createElement(d.CC,{className:"h-10 w-10"}))))},_=()=>{const{colorMode:e,setColorMode:t}=(0,k.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(R.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(L.g,null),"Dark"))};var I=r(9253),$=r(2700),U=r(5792),G=r(6936);const z=()=>{const{loading:e,githubStarCountText:t}=(0,$.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(U.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)))},W=({trackProgress:e,variant:t="landing",className:r})=>{const[d,f]=(0,i.useState)(!1),{scrollYProgress:p}=(0,l.Q)(),g=(0,o.s)(p,[.03,.95],["0%","100%"]);return i.createElement(i.Fragment,null,i.createElement(A.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:"/",onContextMenu:m.U},i.createElement(u.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(x,{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(z,null),i.createElement(I.C,null)),i.createElement(Z,{isModalOpen:d,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}}))))}},7500:(e,t,r)=>{"use strict";r.d(t,{Ih:()=>c,oJ:()=>o,yg:()=>l});var n=r(4971),a=r(1504);const l="preferred-full-table-width",o=e=>a.createElement("div",{className:(0,n.c)("table-container")},a.createElement("table",e)),c=({children:e})=>a.createElement("div",{className:"table-full-width"},e)},9253:(e,t,r)=>{"use strict";r.d(t,{C:()=>i,O:()=>u});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"}],u=({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)=>{"use strict";r.d(t,{o0:()=>p,yw:()=>d,wd:()=>f,AR:()=>g});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 u=r(3480),m=r(4252);const d=[{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(m.i,null),href:"https://prepverse.github.io/CodePoint"},{label:"LeetVerse",icon:n.createElement(m.i,null),href:"https://prepverse.github.io/LeetVerse"}]},{label:"About",items:[{label:"About Me",href:"/AkashSingh3031"},{label:"Portfolio",icon:n.createElement(m.i,null),href:"https://prepverse.github.io/portfolio"}]}],f=[{label:"License",href:"https://github.com/PrepVerse/prepverse.github.io/blob/master/LICENSE"}],p="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{"use strict";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{"use strict";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{"use strict";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{"use strict";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{"use strict";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)=>{"use strict";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{"use strict";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{"use strict";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{"use strict";r.d(t,{s1:()=>G,wR:()=>L,QD:()=>M,vn:()=>Y,kv:()=>f,uI:()=>l,Af:()=>c,A9:()=>E,_2:()=>x,Ew:()=>g,Yf:()=>C,oh:()=>s,Ed:()=>j,BE:()=>y,KU:()=>q,WR:()=>I,w9:()=>m,CC:()=>S,oz:()=>Z,C3:()=>v});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;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",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||(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{variant:t="landing"}=e,r=_(e,["variant"]);return n.createElement("svg",T(function(e){for(var t=1;tn.createElement("svg",U(function(e){for(var t=1;t{const{colorMode:t}=(0,z.U)();return n.createElement("div",{className:(0,H.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,H.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;tn.createElement("svg",function(e){for(var t=1;t{"use strict";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{"use strict";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{"use strict";r.d(t,{o:()=>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{"use strict";r.d(t,{E:()=>f});var n=r(4971),a=r(1504),l=r(9184),o=r(2876),c=r(7708),i=r(204),s=r(8804);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(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")},"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")},c.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:"/",onContextMenu:o.U,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(s.m,null)),a.createElement("a",{href:"https://github.com/sponsors/AkashSingh3031",target:"_blank",rel:"noreferrer",className:(0,n.c)("hover:no-underline")},a.createElement("iframe",{src:"https://github.com/sponsors/AkashSingh3031/button",title:"Sponsor AkashSingh3031",height:"32",width:"114"}))),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")},c.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),c.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(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")}),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")},c.wd.map((t=>a.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)))),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(i.Q,{className:"text-refine-red ml-2 inline leading-6"}),a.createElement("br",null),"Built with Docusaurus & Refine.")))))}},6192:(e,t,r)=>{"use strict";r.d(t,{D:()=>m});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 m=e=>{var{children:t,href:r,className:o,onClick:m,buttonClassname:d}=e,f=u(e,["children","href","className","onClick","buttonClassname"]);const p=r?l.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),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)=>{"use strict";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(u,{style:{animationDelay:"1.5s"},className:(0,n.c)("absolute","top-[2px]","right-[220px]"),id:"1"}),a.createElement(u,{style:{animationDelay:"1s"},className:(0,n.c)("absolute","rotate-180","top-[8px] right-[100px]"),id:"2"}),a.createElement(m,{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(u,{style:{animationDelay:"2s"},className:(0,n.c)("absolute","rotate-180","top-[6px] right-[180px]"),id:"4"}),a.createElement(u,{style:{animationDelay:"0.5s"},className:(0,n.c)("delay-[1300]","absolute","top-[2px]","right-[40px]"),id:"5"}),a.createElement(m,{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"),".")),u=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})))),m=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}))))},2064:(e,t,r)=>{"use strict";r.d(t,{ED:()=>i,Ip:()=>s,_i:()=>d,Mx:()=>u,iG:()=>f,Yv:()=>c,Sm:()=>o,G_:()=>m});var n=r(2411);const a=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 l=r(1688);const o=a,c=(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 o.units)for(const n of r.items)if(e===c(n,t))return r},s=(e,t)=>{let r=!1;for(const n of o.units)for(const a of n.items){if(r)return a;c(a,t)===e&&(r=!0)}},u=(e,t)=>{let r=null;for(const n of o.units)for(const a of n.items){if(c(a,t)===e)return r;r=a}},m=()=>{const{docs:e}=(0,l.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])))},d=(e,t)=>{const r=t[e];if(!r)throw new Error(`Cannot find item with id ${e}`);return r.path},f=(e,t)=>{const r=t[e];if(!r)throw new Error(`Cannot find doc with id ${e}`);return r.title}},3732:(e,t,r)=>{"use strict";r.d(t,{c:()=>P});var n=r(1504),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}const o=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;t{var l;const o=null!==(l=f[e])&&void 0!==l?l:()=>null;var c;const i=null!==(c=p[e])&&void 0!==c?c:"tex-inherit";var s;const u=null!==(s=g[e])&&void 0!==s?s:"bg-inherit";return"simple"===e?n.createElement(h,{type:e,title:t},r):n.createElement("div",{className:(0,a.c)("rounded-lg","admonition",`admonition-${e}`,"mb-6","refine-wider-container",u)},n.createElement("div",{className:(0,a.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||b[e])&&n.createElement("div",{className:(0,a.c)("flex","items-center","gap-2","text-xs sm:text-base 2xl:text-base 2xl:leading-7","font-semibold",i)},n.createElement(o,null),n.createElement("span",{className:"uppercase"},null!==(m=null!=t?t:b[e])&&void 0!==m?m:"")),n.createElement("div",{className:(0,a.c)("text-gray-0","text-base","last:mb-0")},r)));var m},h=({type:e,title:t,children:r})=>{var l;const o=null!==(l=p[e])&&void 0!==l?l:"tex-inherit";var c;const i=null!==(c=g[e])&&void 0!==c?c:"bg-inherit";return n.createElement("div",{className:(0,a.c)("rounded-lg","admonition",`admonition-${e}`,"mb-6",i)},n.createElement("div",{className:(0,a.c)("flex flex-col","gap-2",!t&&"pt-4")},t&&n.createElement("div",{className:(0,a.c)("px-4","pt-4","text-sm","leading-5","-mt-0.5",o)},n.createElement("span",{className:"font-semibold"},null!=t?t:""),n.createElement("span",null,":")),n.createElement("div",{className:(0,a.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))),l=n.createElement(n.Fragment,null,r.filter((e=>e!==a)));return{mdxAdmonitionTitle:a,rest:l}}(e.children);var a;return x(w({},e),{title:null!==(a=e.title)&&void 0!==a?a:t,children:r})}const j=e=>{const{children:t,type:r,title:a}=k(e);return n.createElement(y,{type:r,title:a},t)};function P(e){return"info-tip"===e.type?n.createElement(j,e):"additional"===e.type?n.createElement(j,x(w({},e),{type:"note",title:"ADDITIONAL INFO"})):"sourcecode"===e.type?n.createElement(j,x(w({},e),{icon:n.createElement(O,null),title:n.createElement("a",{href:e.path,target:"_blank",rel:"noreferrer",style:{marginLeft:"4px"}},"VIEW SOURCE CODE \u2192"),titleProps:{style:{marginBottom:"-4px"}}}),e.children):"create-example"===e.type?n.createElement(j,x(w({},e),{type:"caution",icon:n.createElement(E,null),title:n.createElement("span",{style:{marginLeft:"4px"}},"RUN IN YOUR LOCAL")}),e.children):n.createElement(n.Fragment,null,n.createElement(j,e))}},7328:(e,t,r)=>{"use strict";r.d(t,{c:()=>P});var n=r(1504),a=r(8480),l=r(6968),o=r(3680),c=r(6280),i=r(4971),s=r(6192),u=r(6112),m=r(9184),d=r(2424),f=r(2276),p=r(2268);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){for(var t=1;t{const[r,a]=(0,n.useState)({scrollDepths:e,scrollY:0}),{scrollDepths:l,scrollY:o}=r;return(0,n.useEffect)((()=>{"undefined"!=typeof window&&0!==window.pageYOffset&&a((e=>y(b({},e),{scrollY:window.pageYOffset})))}),[]),(0,n.useEffect)((()=>{if("undefined"==typeof window)return;const e=()=>window.removeEventListener("scroll",n),n=()=>{const n=document.documentElement,o=document.body,c=n.scrollTop||o.scrollTop,i=n.scrollHeight||o.scrollHeight,s=c/(i-n.clientHeight)*100;if(l){const r=Math.min(...l,i);if(s>=r){const n=l.filter((e=>e!==r));0===n.length&&e(),t&&t({scrollY:r,scrollPercent:s,remainingDepths:n}),a({scrollY:r,scrollDepths:n})}}else a(y(b({},r),{scrollY:s}))};return window.addEventListener("scroll",n),e}),[l,o,r]),{scrollY:o}},v=(e,t)=>{const[r,a]=(0,n.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 n=t instanceof Function?t(r):t;a(n),"undefined"!=typeof window&&window.localStorage.setItem(e,JSON.stringify(n))}catch(n){console.log(n)}}]};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:a={text:"Explore Now",href:"https://prepverse.github.io/portfolio",onClick:void 0}})=>{var l,o,c,g;const{pathname:b}=(0,w.IT)(),[y,x]=(0,n.useState)(!1),[O,E]=v("banner-modal",null),k=(0,n.useRef)(!1),j=h();var P,C;return(0,n.useEffect)((()=>{"/blog/"!==b&&"/blog"!==b&&(k.current||y||j.scrollY>79&&j.scrollY<100&&(k.current=!0,9===O||null===O?(x(!0),E(0)):(E(O+1),k.current=!0)))}),[j.scrollY]),(0,n.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]),n.createElement(d.O,{appear:!0,show:y,as:n.Fragment},n.createElement(f.C,{as:"div",className:"relative z-modal",onClose:()=>x(!1)},n.createElement(d.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-900/70"})),n.createElement("div",{className:"fixed inset-0 overflow-y-auto"},n.createElement("div",{className:"flex min-h-full items-start justify-center"},n.createElement(d.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(f.C.Panel,{className:(0,i.c)("w-full min-h-screen","flex flex-col justify-center items-center")},n.createElement("div",{className:(0,i.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")},n.createElement("div",{className:(0,i.c)("flex","flex-col","items-center","gap-8","text-center","not-prose")},n.createElement(m.c,{to:null!==(P=null===(l=r)||void 0===l?void 0:l.href)&&void 0!==P?P:null===(o=a)||void 0===o?void 0:o.href,target:"_blank",rel:"noopener noreferrer",className:(0,i.c)("flex","h-auto xl:h-[192px]","flex-shrink-0","rounded-lg","overflow-hidden","focus:outline-none")},n.createElement("img",{className:(0,i.c)("object-contain"),src:null===(c=r)||void 0===c?void 0:c.src,alt:null!==(C=null===(g=r)||void 0===g?void 0:g.alt)&&void 0!==C?C:e,loading:"lazy"})),n.createElement("p",{className:(0,i.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),n.createElement(s.D,{className:(0,i.c)("w-max"),buttonClassname:(0,i.c)("!px-4","!py-4"),href:a.href,onClick:a.onClick,target:"_blank",rel:"noopener noreferrer"},n.createElement("div",{className:(0,i.c)("text-gray-900","text-base","font-bold")},a.text),n.createElement(u.G,{className:(0,i.c)("w-4","h-4")}))),n.createElement("button",{className:(0,i.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)},n.createElement(p.O,{className:"w-4 h-4"})))))))))},O=({className:e})=>n.createElement("div",{className:(0,i.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)},n.createElement("div",{className:(0,i.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")},n.createElement("h2",{className:(0,i.c)("flex","flex-wrap","gap-2","text-[32px] leading-[40px] landing-sm:text-[56px] landing-sm:leading-[72px]")},n.createElement("div",{className:(0,i.c)("dark:text-gray-0 text-gray-900")},"PrepVerse "),n.createElement("div",{className:(0,i.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(51,51,255,0.3)]","whitespace-nowrap")},"Technical Blog")),n.createElement("p",{className:(0,i.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.")));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 k(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 j(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 P=e=>{const[t,r]=(0,n.useState)(!1),{children:s,toc:u,showSidebarBanner:m=!0}=e,d=j(e,["children","toc","showSidebarBanner"]),f=h();return(0,n.useEffect)((()=>{t&&(f.scrollY>20&&r(!0),f.scrollY<20&&r(!1))}),[f.scrollY,m]),n.createElement(a.C,k(function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>y});var n=r(1504),a=r(4971),l=r(6684),o=r(5628),c=r(468),i=r(7328);function s(){const{assets:e,metadata:t}=(0,c.g)(),{title:r,description:a,date:o,tags:i,authors:s,frontMatter:u}=t,{keywords:m}=u;var d,f;const p=null!==(f=null!==(d=u.social_image)&&void 0!==d?d:e.image)&&void 0!==f?f:u.image;return n.createElement(l.U7,{title:r,description:a,keywords:m,image:p},n.createElement("meta",{property:"og:type",content:"article"}),n.createElement("meta",{property:"article:published_time",content:o}),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),m=r(1628);const d=e=>{(0,u.Uz)();const t=(0,u.IT)(),{toc:r,hasTOC:l,activeId:o,setActiveId:c}=p(e.toc),i=e=>{var r;e!==`${null!==(r=t.hash)&&void 0!==r?r:""}`.replace("#","")&&(c(e),window.history.replaceState({},"",`#${e}`))};return n.createElement("div",{className:(0,a.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",!l&&"invisible","not-prose")},n.createElement(m.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(f,{id:e.id,value:e.value,activeId:o,level:e.level,onIdChange:i}))))))},f=({id:e,value:t,level:r,activeId:l,onIdChange:o})=>(n.useEffect((()=>{const t=document.getElementById(e);if(t){const r=new IntersectionObserver((t=>{t.forEach((t=>{t.isIntersecting&&o(e)}))}),{rootMargin:"0px 0px -80% 0px"});return r.observe(t),()=>{r.unobserve(t)}}}),[e]),n.createElement("a",{href:`#${e}`,className:(0,a.c)("refine-toc-item",2===r&&"pl-3",3===r&&"pl-7",4===r&&"pl-11","py-2 pr-4",l===e&&"bg-refine-blue-2-light dark:bg-refine-blue-2/10",l===e&&"text-refine-react-light-link dark:text-refine-react-dark-link",l!==e&&"text-refine-react-8 dark:text-refine-react-3",l!==e&&"hover:bg-refine-blue-2-light/40 hover:dark:bg-refine-blue-2/5",l!==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)(),a=`${r}`.replace("#",""),[l,o]=n.useState(a);n.useEffect((()=>{o(a)}),[a]);const c=(null===(t=e)||void 0===t?void 0:t.length)>0;return{toc:e,activeId:l,setActiveId:o,hasTOC:c}};var g=r(940);function b({children:e}){const{metadata:t,toc:r}=(0,c.g)(),{relatedPosts:a}=t;return n.createElement(i.c,{toc:n.createElement(d,{toc:r})},n.createElement(m.cN,null,e),n.createElement(m.E$,{title:"Related Articles",posts:a}),n.createElement(g.c,null))}function y(e){const t=e.content;return n.createElement(c.E,{content:e.content,isBlogPostPage:!0},n.createElement(l.cr,{className:(0,a.c)(o.W.wrapper.blogPages,o.W.page.blogPostPage)},n.createElement(s,null),n.createElement(b,null,n.createElement(t,null))))}},8560:(e,t,r)=>{"use strict";r.d(t,{s:()=>L});var n=r(1504),a=r(8952),l=r(8796),o=r(5684),c=r(6564),i=r(2184),s=r(6616),u=r(5952),m=r(4971),d=r(1373);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 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 g(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 b=e=>{var{as:t}=e,r=g(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,a]=(0,n.useState)(!1),l=(0,n.useRef)(void 0),o=(0,n.useCallback)((()=>{try{navigator.clipboard.writeText(e).then((()=>{a(!0),l.current=window.setTimeout((()=>{a(!1)}),1e3)}))}catch(t){}}),[e]);return(0,n.useEffect)((()=>()=>window.clearTimeout(l.current)),[]),n.createElement("button",{type:"button","aria-label":r?"Copied!":"Copy code to clipboard",title:"Copy code to clipboard",className:(0,m.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:o},n.createElement(h,{className:(0,m.c)("w-3 h-3","text-gray-500","dark:text-gray-400",r&&"rotate-[360deg]","transition-all duration-200 ease-in-out")}))};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=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const r=t?x:E;return n.createElement("button",{type:"button",onClick:()=>e(),className:(0,m.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,m.c)("w-3 h-3","text-gray-500","dark:text-gray-400",t&&"rotate-[360deg]","transition-all duration-200 ease-in-out")}))};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 P(e){for(var t=1;tn.createElement("svg",P({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"})),S=({children:e,icon:t=n.createElement(N,null)})=>n.createElement("div",{className:(0,m.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:a,showLineNumbers:l,language:f,icon:p,style:g})=>{const{prism:{defaultLanguage:y,magicComments:h}}=(0,o.y)();var w;const x=null!==(w=null!=f?f:(0,i.K2)(t))&&void 0!==w?w:y,O=(0,c.i)(),E=(0,s._)(),j=(0,i.QH)(r)||a,{lineClassNames:N,code:D}=(0,i.cj)(e,{metastring:r,language:x,magicComments:h}),M=null!=l?l:(0,i.OO)(r);return n.createElement(b,{as:"div",className:(0,m.c)("refine-common-code-block",x&&`language-${x}`,"rounded-lg","bg-gray-200","dark:bg-gray-900","border","border-gray-300","dark:border-0","mb-6","relative","refine-wider-container"),style:g},j&&n.createElement(S,{icon:p},j),n.createElement("div",{className:(0,m.c)("relative","pt-3","pb-0","not-prose")},n.createElement(d.cp,C(P({},d.wB),{theme:O,code:D,language:null!=x?x:"text"}),(({className:e,tokens:t,getLineProps:r,getTokenProps:a})=>n.createElement("pre",{tabIndex:0,ref:E.codeBlockRef,className:(0,m.c)(e,"bg-transparent","!mt-0","!mb-0","m-0","px-0","pt-0","font-jetBrains-mono","pb-3")},n.createElement("code",{className:(0,m.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:a,classNames:(0,m.c)(N[t],"px-4","text-xs sm:text-sm 2xl:text-sm"),showLineNumbers:M})))))))),n.createElement("div",{className:(0,m.c)("absolute",j?"top-2 right-2":"top-3 right-3","flex items-center gap-2")},(E.isEnabled||E.isCodeScrollable)&&n.createElement(k,{onClick:E.toggle,isEnabled:E.isEnabled}),n.createElement(v,{className:(0,m.c)(),code:D})))};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 A(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 L=e=>{var{children:t}=e,r=A(e,["children"]);const o=(0,a.c)(),c=function(e){return n.Children.toArray(e).some((e=>(0,n.isValidElement)(e)))?e:Array.isArray(e)?e.join(""):e}(t),i="string"==typeof c?D:l.c;return n.createElement(i,function(e){for(var t=1;t{"use strict";r.d(t,{c:()=>S});var n=r(1504),a=r(8560),l=r(4971),o=r(9936),c=r(7748),i=r.n(c),s=r(1688);const u="playgroundPreview_jwe9";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({children:e,minHeight:t,url:r="http://localhost:3000",hasBottom:a=!1}){return n.createElement("div",{className:(0,l.c)("flex","flex-col","h-full")},n.createElement("div",{className:(0,l.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(f,{className:"w-4 h-4"}),n.createElement("div",{className:(0,l.c)("text-xs")},`${r}`.replace(/^http(s?):\/\//,""))),n.createElement("div",{className:(0,l.c)("flex-1","overflow-hidden","bg-gray-100 dark:bg-gray-700","border border-gray-300 dark:border-gray-700",!a&&"rounded-bl-lg rounded-br-lg",a&&"border-b-gray-300 dark:border-b-gray-900",a&&"border-b"),style:{minHeight:t}},e))}const f=e=>n.createElement("svg",function(e){for(var t=1;t{const[a,l]=n.useState(e),[o]=n.useState(t);n.useEffect((()=>{!a&&e&&l(!0)}),[e]),n.useEffect((()=>{if(o){const e=setTimeout((()=>{l(!0)}),o);return()=>clearTimeout(e)}}),[o]);const c=n.useMemo((()=>a&&"function"==typeof r?r():null),[a]);if(void 0!==r&&"function"!=typeof r)throw new Error("Conditional component requires a function as a child");return c};var b=r(9128),y=r(3296);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}r.g.Buffer=r.g.Buffer||y.Sn;const v=({query:e,code:t,css:r})=>{const{siteConfig:{customFields:a}}=(0,o.c)(),[l,c]=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&&c(`${a.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]),l?n.createElement("iframe",{loading:"lazy",src:l,width:"100%",height:"100%",style:{position:"absolute",left:0,top:0,width:"100%",height:"100%"}}):null},w=n.memo(v,((e,t)=>e.code===t.code&&e.query===t.query&&e.css===t.css)),x=e=>n.createElement("svg",function(e){for(var t=1;t{a?(i(!1),setTimeout((()=>{o((e=>!e)),setTimeout((()=>{i(!0)}),300)}),100)):(i(!1),o((e=>!e)),setTimeout((()=>{i(!0)}),300))}},n.createElement(x,{className:(0,l.c)(a&&"rotate-180","transition-transform","duration-200","ease-in-out")}),n.createElement("span",{className:(0,l.c)("text-base","block","overflow-hidden","h-6")},n.createElement("span",{className:(0,l.c)("block",a&&"opacity-0","transition-opacity duration-200 ease-in-out")},"Show Code"),n.createElement("span",{className:(0,l.c)("block","transition-transform duration-200 ease-in-out","bg-gray-100 dark:bg-gray-700",a&&"-translate-y-6")},"Hide Code"))),n.createElement("div",{className:(0,l.c)("rounded-bl-lg","rounded-br-lg"),style:{maxHeight:a?c?"unset":"100vh":"0px",transition:"0.3s all ease-in-out",overflow:"hidden"},ref:r},n.createElement(S,{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:a=!1,url:c="http://localhost:3000",previewOnly:i=!1,tailwind:m=!1})=>{const f=String(e),{shared:y,sharedCss:h}=(0,b.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 a=e.slice(0,r),l=e.slice(r,n).trimEnd().trimStart(),o=e.slice(n);return{visible:l,join:e=>`${a}\n${e}\n${o}`}})(`\n ${null!=y?y:""}\n ${f}\n `.replace(/\n$/,"")),x=n.useRef(null),E=(0,p.c)(x),{siteConfig:{customFields:k}}=(0,o.c)(),{isLast:j}=(0,s.E)();return n.createElement("div",{className:(0,l.c)("overflow-hidden","mb-6","refine-wider-container")},n.createElement(n.Fragment,null,n.createElement(d,{url:c,hasBottom:!i},n.createElement("div",{className:(0,l.c)(u,"live-editor-wrapper"),style:{maxHeight:r,minHeight:r,overflow:t?"hidden":void 0,position:"relative"},ref:x},j?n.createElement(g,{if:E,maxWait:3e3},(()=>n.createElement(w,{code:`\n${null!=y?y:""}\n${f}\n `,css:h,query:`${t?"&disableScroll=true":""}${m?"&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(O,{hidden:a,code:v})))},k=n.memo(E,((e,t)=>String(e.children)===String(t.children))),j=({children:e})=>{const{setShared:t}=(0,b.UF)();return n.useEffect((()=>(t(String(e)),()=>{t(void 0)})),[e]),null},P=n.memo(j,((e,t)=>String(e.children)===String(t.children))),C=({children:e})=>{const{setSharedCss:t}=(0,b.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 S(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(P,e):e.live?n.createElement(k,e):n.createElement(a.s,e)}},3704:(e,t,r)=>{"use strict";r.d(t,{c:()=>m});var n=r(1504),a=r(9184),l=r(1724);const o=e=>{var t,r,n,a,o,c;let i="noopener noreferrer nofollow";const s=(0,l.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===(a=e)||void 0===a||null===(n=a.includes)||void 0===n?void 0:n.call(a,"refine.dev")))&&(i="noopener dofollow"),(s||(null===(c=e)||void 0===c||null===(o=c.includes)||void 0===o?void 0:o.call(c,"reactadminpanel.com")))&&(i="noopener dofollow"),i};var c=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:()=>ct});var n=r(7584),a=r(1504),l=r(4971),o=r(6192),c=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 m,d,f,p,g,b;return a.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]),a.createElement("div",{className:(0,l.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")},a.createElement(i.c,{to:null!==(g=null===(m=r)||void 0===m?void 0:m.href)&&void 0!==g?g:null===(d=s)||void 0===d?void 0:d.href,target:"_blank",rel:"noopener noreferrer",className:(0,l.c)("flex","max-w-[360px]","h-auto","flex-shrink-0","rounded-lg","overflow-hidden")},a.createElement("img",{src:null===(f=r)||void 0===f?void 0:f.src,alt:null!==(b=null===(p=r)||void 0===p?void 0:p.alt)&&void 0!==b?b:e,loading:"lazy"})),a.createElement("div",{className:(0,l.c)("flex","flex-col","gap-6","justify-center 2xl:justify-start","items-center 2xl:items-start","text-center 2xl:text-start","not-prose")},e&&a.createElement("h2",{className:(0,l.c)("text-xl md:text-2xl","text-gray-0")},e),a.createElement("p",{className:(0,l.c)("text-sm md:text-base","text-gray-100")},t),a.createElement(o.D,{className:(0,l.c)("w-max"),buttonClassname:(0,l.c)("!px-4","!py-2"),href:s.href,onClick:s.onClick,target:"_blank",rel:"noopener noreferrer"},a.createElement("div",{className:(0,l.c)("text-gray-900","text-sm md:text-base","font-bold")},s.text),a.createElement(c.G,{className:(0,l.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}})=>(a.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]),a.createElement("div",{className:(0,l.c)("relative","rounded-2xl","p-8","flex","flex-col","justify-center","items-center","not-prose","bg-banner-examples-gray")},a.createElement("h2",{className:(0,l.c)("text-2xl","font-semibold","bg-banner-examples-text","bg-clip-text","text-transparent")},e),a.createElement("p",{className:(0,l.c)("mt-2","text-sm","text-gray-300")},t),a.createElement(o.D,{className:(0,l.c)("mt-9"),href:r.href,onClick:r.onClick,target:"_blank",rel:"noopener noreferrer"},a.createElement("div",{className:(0,l.c)("text-gray-900","text-base","font-bold")},r.text))));var m=r(8164);const d=[],f=Math.floor(Math.random()*(d.length+1));var p=r(4752),g=r(68);const b=({image:e,title:t,description:r,isDark:n})=>{let l;l="refineNew"===r?a.createElement("div",null," ",a.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.",a.createElement("br",null),a.createElement("br",null),"\ud83d\ude80 By visually combining options for your preferred \u2728",a.createElement("b",null," React platform,")," \u2728 ",a.createElement("b",null,"UI framework"),", \u2728"," ",a.createElement("b",null,"backend connector"),", and \u2728 ",a.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!",a.createElement("br",null),a.createElement("br",null),a.createElement("br",null)):null!=r?r:a.createElement("div",null,"Meet the headless, React-based solution to build sleek"," ",a.createElement("b",null,"CRUD")," applications. With refine, you can be confident that your codebase will always stay clean and boilerplate-free.",a.createElement("br",null),a.createElement("br",null),"Try"," ",a.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank"},"PrepVerse")," ","to rapidly build your next ",a.createElement("b",null,"CRUD")," project, whether ","it's"," ","an admin panel, dashboard, internal tool or storefront.");const o=null!=e?e:"https://refine.ams3.cdn.digitaloceanspaces.com/website/static/img/generic_banner.png";o.startsWith("http")||o.startsWith("/");return a.createElement("a",{href:"https://s.refine.dev/hackathon2",target:"_blank",rel:"noreferrer"},a.createElement("img",{src:"https://refine.ams3.cdn.digitaloceanspaces.com/hackathon-2/hackathon_cover.png"}))};var y=r(5524),h=r(3896),v=r(3376),w=r(8840);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 O=e=>a.createElement("svg",function(e){for(var t=1;t{var t,r,n;const o=a.useRef(!1),{id:c}=(0,v.U)(),[i,s]=a.useState(!1),{items:u}=(0,w.GC)(),{reward:m}=(0,h.yh)(`checklist-${c}`,"confetti",{angle:90,elementCount:120,startVelocity:30,decay:.95,spread:100,position:"absolute",lifetime:150}),d=null===(n=u.find((e=>e.id===c)))||void 0===n||null===(t=(r=n.checklist).every)||void 0===t?void 0:t.call(r,(e=>e.checked));return a.useEffect((()=>{setTimeout((()=>{o.current=!0}),1e3)}),[]),a.useEffect((()=>{!i&&d&&o.current&&(s(!0),m())}),[d,i]),a.createElement("div",{className:(0,l.c)("rounded-lg","border-l-gray-400 dark:border-l-gray-600","dark:bg-gray-800 bg-gray-50")},a.createElement("div",{className:(0,l.c)("border-l-4","border-l-solid","border-l-inherit","rounded-tl-lg","rounded-bl-lg","p-4","flex flex-col")},a.createElement("div",{className:"border-b border-gray-400 dark:border-gray-500 border-opacity-50 dark:border-opacity-50"},a.createElement("div",{className:(0,l.c)("not-prose","mt-0 mb-4","flex items-center","gap-2")},a.createElement(O,{className:(0,l.c)("w-4 h-4","dark:text-gray-100 text-gray-800")}),a.createElement("h3",{className:(0,l.c)("m-0 p-0","font-semibold","dark:text-gray-100 text-gray-800","uppercase","text-base leading-6")},"Checklist"))),a.createElement("div",null,e),a.createElement("div",{className:"flex items-center justify-center"},a.createElement("div",{id:`checklist-${c}`}))))};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=>a.createElement("svg",function(e){for(var t=1;t{var r,n,o,c;const{id:i}=(0,v.U)(),{items:s,toggle:u}=(0,w.GC)(),m=null===(r=null===(c=s.find((e=>e.id===i)))||void 0===c||null===(n=(o=c.checklist).find)||void 0===n?void 0:n.call(o,(e=>e.id===t)))||void 0===r?void 0:r.checked;return a.createElement("label",{className:(0,l.c)("mt-4","flex","items-center justify-start","flex-nowrap","gap-2","cursor-pointer")},a.createElement("div",{className:"flex-shrink-0"},a.createElement("button",{type:"button",onClick:()=>{u(i,t)},className:(0,l.c)("appearance-none","flex items-center justify-center","w-4 h-4","rounded","border",{"border-gray-400 dark:border-gray-500":!m,"border-refine-react-dark-link dark:border-refine-react-dark-link":m,"bg-refine-react-dark-link":m})},m&&a.createElement(j,null))),a.createElement("div",{className:(0,l.c)(m&&"line-through dark:text-gray-100 dark:text-opacity-50 text-gray-800 text-opacity-50",!m&&"text-gray-800 dark:text-gray-100")},e))};var C=r(8560),N=r(2108);const S=({path:e})=>a.createElement(C.s,{language:"bash",title:"Run on your local",icon:a.createElement(N.G,null)},`npm create refine-app@latest -- --example ${e}`);var D=r(5792);const M=({path:e})=>a.createElement("div",{className:(0,l.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")},a.createElement(D.A,{className:"ml-1.5 w-5 h-5 text-gray-800 dark:text-gray-100"}),a.createElement("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:(0,l.c)("text-base","leading-8","text-refine-react-light-link dark:text-refine-react-dark-link")},a.createElement("span",null,"View Source Code"))),A=({path:e})=>{const t=`https://github.com/PrepVerse/PrepVerse/tree/master/examples/${e}`;return a.createElement(M,{path:t})},L=({path:e,hideSource:t,hideLocal:r,hideSandbox:n})=>{const l=`${`https://codesandbox.io/embed/github/refinedev/refine/tree/master/examples/${e}`}?view=preview&theme=dark&runonclick=1&codemirror=1`;return a.createElement("div",null,!t&&a.createElement(A,{path:e}),!r&&a.createElement(S,{path:e}),!n&&a.createElement("iframe",{loading:"lazy",src:l,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 R=r(3732),Z=r(7916);const V=()=>a.createElement("div",null,a.createElement(R.c,{type:"simple",title:"Good to know"},a.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})=>a.createElement("div",{className:(0,l.c)("refine-info-badge","relative","group","inline-flex","align-middle")},e,a.createElement("div",{className:(0,l.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")},a.createElement("div",{className:(0,l.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"))),H=({id:e,icon:t,color:r,text:n,description:o})=>{const c=(0,l.c)("orange"===r&&(0,l.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,l.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,l.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 a.createElement(B,{content:o},a.createElement(i.c,{to:`/docs/${e}`,className:(0,l.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",c)},t,n&&a.createElement("span",{className:"text-xs leading-[0.875rem]"},n)))};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}const T=e=>a.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;tr?a.createElement("div",{className:(0,l.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:c},null!=e?e:"deprecated"):t?a.createElement("div",{className:(0,l.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?a.createElement("div",{className:(0,l.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:c},null!=e?e:"required"):o?a.createElement("div",{className:(0,l.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:c},null!=e?e:"featured"):e?a.createElement("div",{className:(0,l.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:c},e):null,U="tooltip__Ymd",G="tooltipContainer_l6r7",z="tooltipContent_UeXm",W="tooltipArrow_mOyh",q=({label:e,children:t})=>e?a.createElement("div",{className:`${U} group`},t,a.createElement("div",{className:`${G} group-hover:visible`},a.createElement("span",{className:z},e),a.createElement("div",{className:W}))):a.createElement(a.Fragment,null,t);function J(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 Y=({prop:e,overrides:t})=>{var r,n,l;const o=null!==(l=t[`${e.name}-required`])&&void 0!==l?l:e.required;var c;const i=null!==(c=t[`${e.name}-deprecated`])&&void 0!==c?c:null===(r=e.tags)||void 0===r?void 0:r.deprecated;var s,u;const m=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:"",d=(0,a.useMemo)((()=>{const e="props-table--name";return i?`${e} props-table--name__deprecated`:e}),[e,t]),f=(0,a.useMemo)((()=>m?a.createElement(Z.s,null,m):null),[e,t]);var p;return a.createElement(q,{label:f},a.createElement(a.Fragment,null,a.createElement("span",{className:d},null!==(p=t[`${e.name}-name`])&&void 0!==p?p:e.name),o&&a.createElement($,{asterisk:!0})))},Q=({prop:e,overrides:t})=>{var r;const n=null!==(r=t[`${e.name}-type`])&&void 0!==r?r:e.type.name,l=n.split(" | "),o=l.length>1,c=l.some((e=>e.length>20)),i=/`/.test(n);return a.createElement(a.Fragment,null,i?a.createElement(Z.s,null,n):c&&o?a.createElement(a.Fragment,null,l.map(((e,t)=>a.createElement("code",{className:"max-w-xs h-min",key:t},a.createElement(Z.s,null,e))))):a.createElement("code",{className:"max-w-xs h-min"},a.createElement(Z.s,null,n)))},K=({prop:e,overrides:t})=>{var r,n;return a.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)},X=({prop:e,overrides:t})=>{var r,n,l,o;const c=null===(r=e.tags)||void 0===r?void 0:r.default,i=(null===(n=e.defaultValue)||void 0===n?void 0:n.value)&&(null===(l=e.defaultValue)||void 0===l?void 0:l.value)!==c?null===(o=e.defaultValue)||void 0===o?void 0:o.value:void 0,s=t[`${e.name}-default`];return c||s?a.createElement(Z.s,null,null!=s?s:c):a.createElement("div",{className:"flex flex-wrap gap-1"},void 0!==i?a.createElement("code",{className:"max-w-xs h-min"},a.createElement(Z.s,null,i)):null)},ee=({prop:e,overrides:t})=>a.createElement("td",null,a.createElement("div",{className:"flex items-center"},a.createElement(Y,{prop:e,overrides:t}))),te=({prop:e,overrides:t})=>a.createElement("td",{className:"props-table__type-cell"},a.createElement("div",{className:"flex flex-wrap gap-1"},a.createElement(Q,{prop:e,overrides:t}))),re=({prop:e,overrides:t})=>a.createElement("td",{className:"props-table__description-cell"},a.createElement(K,{prop:e,overrides:t})),ne=({prop:e,overrides:t})=>a.createElement("td",{className:"props-table__default-value-cell"},a.createElement(X,{prop:e,overrides:t})),ae=e=>{var{module:t,hideDefaults:n,children:l}=e,o=J(e,["module","hideDefaults","children"]);const c=((e,t="@refinedev/")=>{const[n,l]=(0,a.useState)(null);return(0,a.useEffect)((()=>{let n=!1;return r(6324)(`./${e.startsWith(t)?e:`${t}${e}`}.json`).then((e=>{n||(n=!0,l(e.default))})).catch(console.warn),()=>{n=!0}}),[e]),n})(t),i=(0,a.useMemo)((()=>{var e;if(n)return!1;if(Object.keys(o).some((e=>e.endsWith("-default"))))return!1;var t;return!Object.values(null!==(t=null===(e=c)||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}))}),[o]);if(!c)return null;const s=[...Object.values(c.props)];return a.createElement("div",{className:"table-container"},a.createElement("table",{className:"props-table"},a.createElement("thead",null,a.createElement("tr",null,a.createElement("th",null,"Property"),a.createElement("th",null,"Type"),a.createElement("th",null,"Description"),i?null:a.createElement("th",null,"Default"))),a.createElement("tbody",null,s.map((e=>o[`${e.name}-hidden`]?null:a.createElement("tr",{key:e.name},a.createElement(ee,{prop:e,overrides:o}),a.createElement(te,{prop:e,overrides:o}),a.createElement(re,{prop:e,overrides:o}),i?null:a.createElement(ne,{prop:e,overrides:o})))))),l)};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 oe=e=>a.createElement("svg",function(e){for(var t=1;t{const{current:r}=(0,ce.U)();return e&&r===e?a.createElement(a.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 me(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 de=e=>{var t;const r=a.Children.toArray(e.children),n=r.find((e=>a.isValidElement(e)&&"summary"===(null===(t=e.props)||void 0===t?void 0:t.mdxType))),o=a.createElement(a.Fragment,null,r.filter((e=>e!==n)));return a.createElement(se.S,me(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 be=e=>{var{children:t,className:r}=e,n=ge(e,["children","className"]);return a.createElement("summary",function(e){for(var t=1;t{const t=e.currentTarget,a=s.indexOf(t),l=o[a].value;l!==r&&(u(t),n(l))},d=e=>{var t,r;let n=null;switch(e.key){case"Enter":m(e);break;case"ArrowRight":{const t=s.indexOf(e.currentTarget)+1;var a;n=null!==(a=s[t])&&void 0!==a?a:s[0];break}case"ArrowLeft":{const t=s.indexOf(e.currentTarget)-1;var l;n=null!==(l=s[t])&&void 0!==l?l:s[s.length-1];break}}null===(r=n)||void 0===r||null===(t=r.focus)||void 0===t||t.call(r)};return a.createElement("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,l.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",!c&&"rounded-bl-lg rounded-br-lg","items-stretch")},o.map((({value:e,label:t,attributes:n})=>a.createElement("li",Oe(xe({role:"tab",tabIndex:r===e?0:-1,"aria-selected":r===e,key:e,ref:e=>s.push(e),onKeyDown:d,onClick:m},n),{className:(0,l.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 ke({lazy:e,children:t,selectedValue:r,smallTabs:n}){const o=(Array.isArray(t)?t:[t]).filter(Boolean);if(e){const e=o.find((e=>e.props.value===r));return e?(0,a.cloneElement)(e,{className:"margin-top--md refine-tab-content"}):null}var c;return a.createElement("div",{className:"p-4"},o.map(((e,t)=>(0,a.cloneElement)(e,{key:t,hidden:e.props.value!==r,className:(0,l.c)(null!==(c=e.props.className)&&void 0!==c?c:[],"refine-tab-content")}))))}function je(e){const t=(0,he.a)(e),{wrapContent:r=!0}=e;return a.createElement("div",{className:(0,l.c)("tabs-container","rounded-lg","border-gray-300 dark:border-gray-700",r?"border":"border-0","mb-6","refine-wider-container")},a.createElement(Ee,xe({},e,t)),a.createElement(ke,xe({},e,t)))}function Pe(e){const t=(0,ve.c)();return a.createElement(je,xe({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,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}var Se=r(4472),De=r(4896),Me=r(1488),Ae=r(8620),Le=r(6076),Re=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 Ve=e=>a.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;t{var t,r;const[n,o]=(0,a.useState)(!1),{refs:c,floatingStyles:i,context:s}=(0,Se.gR)({placement:"bottom-start",open:e.isOpen,onOpenChange:e.onOpenChange,whileElementsMounted:De.kN,middleware:[(0,Me.E3)((({middlewareData:e})=>{var t;return(null===(t=e)||void 0===t?void 0:t.flip)?{mainAxis:12}:{mainAxis:52}})),(0,De.EB)((({placement:e})=>(e.includes("bottom")&&o(!1),e.includes("top")&&o(!0),{fallbackPlacements:["top-start"]})))]}),u=(0,Se.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:m,getFloatingProps:d}=(0,Se.M3)([u]);return a.createElement(a.Fragment,null,a.createElement("div",We(ze({ref:c.setReference},m()),{style:{position:"absolute",top:"0",left:0}})),a.createElement(Ae.I,null,s.open&&a.createElement(Le.q.div,We(ze({initial:{opacity:0},animate:{opacity:1,transition:{duration:.2}},exit:{opacity:0},ref:c.setFloating,style:i},d()),{className:(0,l.c)("w-[320px]","bg-[#EAEBEF] dark:bg-refine-react-dark-code","border border-[#E3E4E5] dark:border-[#343A46]","rounded-[20px]","relative")}),e.children,a.createElement(Je,{style:ze({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)}))))},Je=e=>{const{colorMode:t}=(0,Re.U)(),r="dark"===t;return a.createElement("svg",ze({xmlns:"http://www.w3.org/2000/svg",width:42,height:18,viewBox:"0 0 42 18",fill:"none"},e),a.createElement("title",null,"Popover Pointer"),a.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"}),a.createElement("defs",null,a.createElement("linearGradient",{id:"a",x1:21,x2:21,y1:1,y2:16,gradientUnits:"userSpaceOnUse"},a.createElement("stop",{offset:.59,stopColor:r?"#343A46":"#E3E4E5"}),a.createElement("stop",{offset:.602,stopColor:r?"#343A46":"#E3E4E5",stopOpacity:0}))))},Ye={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 Ke(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 Xe;var et=r(7500),tt=r(9104);var rt=r(9092);var nt=r(5560);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}function lt(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 ot(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ct=(it=function(e){for(var t=1;t{var{className:t}=e,r=Ne(e,["className"]);return a.createElement("blockquote",function(e){for(var t=1;tf===d.length?a.createElement(m.c,null,(()=>a.createElement(u,null))):a.createElement(m.c,null,(()=>a.createElement(s,d[f]))),GuideBadge:({id:e,description:t="Please check the guide for more information on this topic.",text:r})=>a.createElement(H,{id:e,color:"green",icon:a.createElement(I,null),text:r,description:a.createElement(a.Fragment,null,a.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Check the guide"),a.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})=>a.createElement(H,{id:e,color:"orange",text:r,icon:a.createElement(oe,null),description:a.createElement(a.Fragment,null,a.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Router Integrated"),a.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})=>a.createElement(H,{color:"purple",icon:a.createElement(T,null),text:r,id:e,description:a.createElement(a.Fragment,null,a.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Globally Configurable"),a.createElement("div",{className:"text-xs"},t))}),Image:e=>a.createElement("img",Ke(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 a.createElement(Pe,null,a.createElement(tt.c,{value:"npm",label:"npm",default:!0},a.createElement(C.s,{className:"language-bash"},r.npm)),a.createElement(tt.c,{value:"pnpm",label:"pnpm"},a.createElement(C.s,{className:"language-bash"},r.pnpm)),a.createElement(tt.c,{value:"yarn",label:"yarn"},a.createElement(C.s,{className:"language-bash"},r.yarn),a.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 a.createElement(Pe,null,a.createElement(tt.c,{value:"npm",label:"npm",default:!0},a.createElement(C.s,{className:"language-bash"},r.npm),t),a.createElement(tt.c,{value:"pnpm",label:"pnpm"},a.createElement(C.s,{className:"language-bash"},r.pnpm),t),a.createElement(tt.c,{value:"yarn",label:"yarn"},a.createElement(C.s,{className:"language-bash"},r.yarn),t))},FullTable:et.Ih,TutorialConditional:({parameter:e,value:t,children:r})=>{var n;const{parameters:l}=(0,rt.iC)();return(null===(n=l)||void 0===n?void 0:n[e])===t?a.createElement(a.Fragment,null,r):null},VideoInView:e=>{const t=a.useRef(null),r=(0,nt.c)(t);return a.useEffect((()=>{var e,n,a,l;r?null===(n=t.current)||void 0===n||null===(e=n.play)||void 0===e||e.call(n):null===(l=t.current)||void 0===l||null===(a=l.pause)||void 0===a||a.call(l)}),[r]),a.createElement("video",lt(function(e){for(var t=1;t{var e,r,n,a,l;(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===(l=t.current)||void 0===l||null===(a=l.pause)||void 0===a||a.call(l)},className:(0,l.c)(e.className,"w-full","h-auto","max-w-full","max-h-full","rounded-xl","object-contain")}))},DocThumbsUpDownFeedbackWidget:e=>{const t=(0,Ue.IT)(),[r,n]=(0,a.useState)(""),[o,c]=(0,a.useState)(null),[i,s]=(0,a.useState)(!1),[u,m]=(0,a.useState)(!1),d=i||u,{survey:f,createSurvey:p,updateSurvey:g}=(e=>{const[t,r]=(0,a.useState)(null),n=$e[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 a=await t.json();return a?(r(a),a):void 0},updateSurvey:async({surveyId:e,body:t})=>{const a=await fetch(`${n}/responses/${e}`,{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(!a.ok)return null;const l=await a.json();return l?(r(l),l):void 0}}})({type:Fe.THUMBS}),b=async r=>{c(r),s(!0),f?await g({surveyId:f.id,body:{response:r}}):await p({body:{response:r,entityId:t.pathname,metaData:{sectionId:e.id}}})};return a.createElement("div",{className:"group"},e.children,a.createElement("div",{className:(0,l.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",!d&&"opacity-0","group-hover:opacity-100")},a.createElement("div",{className:(0,l.c)("text-xs","whitespace-nowrap","text-[#23272F] dark:text-[#E3E4E5]")},"Was this helpful?"),a.createElement("div",{className:(0,l.c)("flex","items-center","gap-1","widget-actions")},a.createElement("button",{type:"button",onClick:()=>b(Ye.UP),className:(0,l.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===o&&"text-green-500 bg-green-500/20")},a.createElement(Ve,null)),a.createElement("button",{type:"button",onClick:()=>b(Ye.DOWN),className:(0,l.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===o&&"text-red-500 bg-red-500/20")},a.createElement(He,null))),a.createElement(qe,{isOpen:d,onOpenChange:e=>{u||e||(s(!1),m(!1))},arrowStyle:{right:1===o?"150px":"115px"}},!u&&a.createElement("form",{className:(0,l.c)("flex flex-col","p-2"),onSubmit:e=>{e.preventDefault(),(async()=>{const e=r.trim();e&&(await g({surveyId:f.id,body:{response:o,responseText:e}}),m(!0),setTimeout((()=>{s(!1),m(!1)}),2e3))})()}},a.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,l.c)("w-full","bg-white dark:bg-[#343A46]","text-[#23272F] dark:text-[#E3E4E5]","resize-none","rounded-xl","text-xs","py-2 px-3")}),a.createElement("button",{type:"submit",className:(0,l.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&&a.createElement("div",{className:(0,l.c)("flex items-center","p-4","text-xs","text-gray-500")},a.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},2876:(e,t,r)=>{"use strict";r.d(t,{U:()=>n});const n=()=>{var e,t;return null===(t=window.open("https://s.refine.dev/refine-brand-assets","_blank"))||void 0===t||null===(e=t.focus)||void 0===e?void 0:e.call(t)}}}]); \ No newline at end of file diff --git a/assets/js/runtime~main.f2abb5a1.js b/assets/js/runtime~main.d563baed.js similarity index 54% rename from assets/js/runtime~main.f2abb5a1.js rename to assets/js/runtime~main.d563baed.js index 73d2649..8686e61 100644 --- a/assets/js/runtime~main.f2abb5a1.js +++ b/assets/js/runtime~main.d563baed.js @@ -1 +1 @@ -(()=>{"use strict";var e,a,c,f,d,t={},b={};function r(e){var a=b[e];if(void 0!==a)return a.exports;var c=b[e]={id:e,loaded:!1,exports:{}};return t[e].call(c.exports,c,c.exports,r),c.loaded=!0,c.exports}r.m=t,r.c=b,e=[],r.O=(a,c,f,d)=>{if(!c){var t=1/0;for(i=0;i=d)&&Object.keys(r.O).every((e=>r.O[e](c[o])))?c.splice(o--,1):(b=!1,d0&&e[i-1][2]>d;i--)e[i]=e[i-1];e[i]=[c,f,d]},r.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return r.d(a,{a:a}),a},c=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(e,f){if(1&f&&(e=this(e)),8&f)return e;if("object"==typeof e&&e){if(4&f&&e.__esModule)return e;if(16&f&&"function"==typeof e.then)return e}var d=Object.create(null);r.r(d);var t={};a=a||[null,c({}),c([]),c(c)];for(var b=2&f&&e;"object"==typeof b&&!~a.indexOf(b);b=c(b))Object.getOwnPropertyNames(b).forEach((a=>t[a]=()=>e[a]));return t.default=()=>e,r.d(d,t),d},r.d=(e,a)=>{for(var c in a)r.o(a,c)&&!r.o(e,c)&&Object.defineProperty(e,c,{enumerable:!0,get:a[c]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((a,c)=>(r.f[c](e,a),a)),[])),r.u=e=>"assets/js/"+({340:"f39157c1",1015:"568f633c",1224:"bbd6c9b2",1284:"7012c4a1",1304:"254740b8",1608:"9f0e9abb",1660:"ea8755f3",1768:"4aa98c60",2237:"1e6804ca",2292:"3b4a1e61",2392:"6875c492",2448:"03f14054",2724:"6c1c7317",2824:"c58e4cfb",3484:"cc23cbb7",3932:"7dc58338",4040:"c1d171ff",4192:"31158016",4512:"95937836",4582:"250fb10f",4592:"f6d01317",4628:"acbcfa00",4661:"b175a52e",4976:"a6aa9e1f",5176:"512de6cc",5232:"d465523d",5424:"1a702260",5696:"935f2afb",5856:"8db745fa",6048:"57e1ebb6",6148:"d30e4dd3",6232:"3ea19abf",6292:"b2b675dd",6344:"ccc49370",6592:"880620e0",6752:"17896441",6916:"f8907193",7168:"a81f113e",7188:"7dfb83d7",7344:"b353354f",7412:"b95e6ed7",7616:"30a5b4cb",7872:"94b5c938",7956:"55184d83",7972:"f03f9d22",8032:"6a790c72",8192:"0b16afee",8412:"01a85c17",8416:"32edcac6",8436:"7a96ca3d",8460:"e505274c",8530:"6f086c7f",8552:"1df93b7f",8584:"076ea99d",8856:"aa05fb67",8968:"92c79b5e",8980:"6732a855",9028:"1b7cb68d",9077:"be8f254a",9112:"a7023ddc",9128:"62cdc558",9140:"638cf40c",9184:"c50fed50",9468:"48e051ee",9648:"1a4e3797",9656:"1be78505",9960:"13e8f716"}[e]||e)+"."+{124:"f342e000",288:"dcc3cd86",340:"0e33b231",1004:"d93aba15",1015:"04722177",1224:"d825cc97",1284:"cce622f6",1304:"d7ba868b",1608:"8d5f2dd4",1660:"70c066a2",1676:"3afb7b7e",1768:"627638fc",2136:"33e41aa9",2237:"845d3f70",2276:"2263f4f7",2292:"2c04640b",2392:"05565d19",2448:"3f88e5af",2512:"fc8fb626",2724:"15822df6",2824:"e68b6041",3124:"91c85bd2",3352:"df06b8d4",3484:"5dad54dc",3932:"1981f3fe",4040:"d083cd3c",4192:"e24e9266",4416:"d3f05350",4512:"70bcd03c",4540:"858cf00a",4582:"fee6bee0",4592:"855a06e5",4628:"c450f906",4634:"e7cf01e6",4661:"b154acfc",4976:"e9cd3cf7",5176:"02865a48",5232:"0cb66939",5384:"c12742e6",5424:"2d038780",5640:"79c5907b",5696:"87e4f1d2",5856:"daa3a9ea",6048:"4b8ff6df",6076:"c7587d6d",6148:"ea14c05c",6232:"7ab0a4c8",6292:"cf8631fe",6344:"87efa88b",6592:"9737be0c",6652:"1b624e0d",6752:"9eeb5b44",6916:"76bd795a",7168:"be5cad23",7176:"2db50868",7188:"3dc42fe7",7344:"1a069337",7412:"1f8f8567",7616:"13de2905",7872:"82364eed",7956:"5543dfc4",7972:"ae370051",8032:"228f0c3a",8192:"2174d5a9",8412:"890cb94b",8416:"4c061534",8436:"180811c9",8460:"caf6b707",8530:"8a4e5bed",8552:"0e0509aa",8584:"1f1f07d0",8728:"f627af9f",8792:"c2ca5b61",8856:"2ceaf1d9",8968:"9162358e",8980:"fc2d75ae",9028:"fad4ddb5",9077:"5ebff090",9112:"8bdd8aea",9128:"54544f90",9140:"3f7820f0",9184:"1ad55e75",9468:"6eb1e0ab",9577:"f9ea731e",9648:"f7518aba",9656:"415cd4fc",9960:"547f33dc"}[e]+".js",r.miniCssF=e=>{},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),f={},d="documentation:",r.l=(e,a,c,t)=>{if(f[e])f[e].push(a);else{var b,o;if(void 0!==c)for(var n=document.getElementsByTagName("script"),i=0;i{b.onerror=b.onload=null,clearTimeout(s);var d=f[e];if(delete f[e],b.parentNode&&b.parentNode.removeChild(b),d&&d.forEach((e=>e(c))),a)return a(c)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:b}),12e4);b.onerror=l.bind(null,b.onerror),b.onload=l.bind(null,b.onload),o&&document.head.appendChild(b)}},r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.p="/",r.gca=function(e){return e={17896441:"6752",31158016:"4192",95937836:"4512",f39157c1:"340","568f633c":"1015",bbd6c9b2:"1224","7012c4a1":"1284","254740b8":"1304","9f0e9abb":"1608",ea8755f3:"1660","4aa98c60":"1768","1e6804ca":"2237","3b4a1e61":"2292","6875c492":"2392","03f14054":"2448","6c1c7317":"2724",c58e4cfb:"2824",cc23cbb7:"3484","7dc58338":"3932",c1d171ff:"4040","250fb10f":"4582",f6d01317:"4592",acbcfa00:"4628",b175a52e:"4661",a6aa9e1f:"4976","512de6cc":"5176",d465523d:"5232","1a702260":"5424","935f2afb":"5696","8db745fa":"5856","57e1ebb6":"6048",d30e4dd3:"6148","3ea19abf":"6232",b2b675dd:"6292",ccc49370:"6344","880620e0":"6592",f8907193:"6916",a81f113e:"7168","7dfb83d7":"7188",b353354f:"7344",b95e6ed7:"7412","30a5b4cb":"7616","94b5c938":"7872","55184d83":"7956",f03f9d22:"7972","6a790c72":"8032","0b16afee":"8192","01a85c17":"8412","32edcac6":"8416","7a96ca3d":"8436",e505274c:"8460","6f086c7f":"8530","1df93b7f":"8552","076ea99d":"8584",aa05fb67:"8856","92c79b5e":"8968","6732a855":"8980","1b7cb68d":"9028",be8f254a:"9077",a7023ddc:"9112","62cdc558":"9128","638cf40c":"9140",c50fed50:"9184","48e051ee":"9468","1a4e3797":"9648","1be78505":"9656","13e8f716":"9960"}[e]||e,r.p+r.u(e)},(()=>{var e={296:0,2176:0};r.f.j=(a,c)=>{var f=r.o(e,a)?e[a]:void 0;if(0!==f)if(f)c.push(f[2]);else if(/^2(17|9)6$/.test(a))e[a]=0;else{var d=new Promise(((c,d)=>f=e[a]=[c,d]));c.push(f[2]=d);var t=r.p+r.u(a),b=new Error;r.l(t,(c=>{if(r.o(e,a)&&(0!==(f=e[a])&&(e[a]=void 0),f)){var d=c&&("load"===c.type?"missing":c.type),t=c&&c.target&&c.target.src;b.message="Loading chunk "+a+" failed.\n("+d+": "+t+")",b.name="ChunkLoadError",b.type=d,b.request=t,f[1](b)}}),"chunk-"+a,a)}},r.O.j=a=>0===e[a];var a=(a,c)=>{var f,d,t=c[0],b=c[1],o=c[2],n=0;if(t.some((a=>0!==e[a]))){for(f in b)r.o(b,f)&&(r.m[f]=b[f]);if(o)var i=o(r)}for(a&&a(c);n{"use strict";var e,a,c,f,d,t={},r={};function b(e){var a=r[e];if(void 0!==a)return a.exports;var c=r[e]={id:e,loaded:!1,exports:{}};return t[e].call(c.exports,c,c.exports,b),c.loaded=!0,c.exports}b.m=t,b.c=r,e=[],b.O=(a,c,f,d)=>{if(!c){var t=1/0;for(i=0;i=d)&&Object.keys(b.O).every((e=>b.O[e](c[o])))?c.splice(o--,1):(r=!1,d0&&e[i-1][2]>d;i--)e[i]=e[i-1];e[i]=[c,f,d]},b.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return b.d(a,{a:a}),a},c=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,b.t=function(e,f){if(1&f&&(e=this(e)),8&f)return e;if("object"==typeof e&&e){if(4&f&&e.__esModule)return e;if(16&f&&"function"==typeof e.then)return e}var d=Object.create(null);b.r(d);var t={};a=a||[null,c({}),c([]),c(c)];for(var r=2&f&&e;"object"==typeof r&&!~a.indexOf(r);r=c(r))Object.getOwnPropertyNames(r).forEach((a=>t[a]=()=>e[a]));return t.default=()=>e,b.d(d,t),d},b.d=(e,a)=>{for(var c in a)b.o(a,c)&&!b.o(e,c)&&Object.defineProperty(e,c,{enumerable:!0,get:a[c]})},b.f={},b.e=e=>Promise.all(Object.keys(b.f).reduce(((a,c)=>(b.f[c](e,a),a)),[])),b.u=e=>"assets/js/"+({340:"f39157c1",1015:"568f633c",1224:"bbd6c9b2",1284:"7012c4a1",1304:"254740b8",1608:"9f0e9abb",1660:"ea8755f3",1768:"4aa98c60",2237:"1e6804ca",2292:"3b4a1e61",2392:"6875c492",2448:"03f14054",2724:"6c1c7317",2824:"c58e4cfb",3484:"cc23cbb7",3932:"7dc58338",4040:"c1d171ff",4192:"31158016",4512:"95937836",4582:"250fb10f",4592:"f6d01317",4628:"acbcfa00",4661:"b175a52e",4976:"a6aa9e1f",5176:"512de6cc",5232:"d465523d",5424:"1a702260",5696:"935f2afb",5856:"8db745fa",6048:"57e1ebb6",6148:"d30e4dd3",6232:"3ea19abf",6292:"b2b675dd",6344:"ccc49370",6592:"880620e0",6752:"17896441",6916:"f8907193",7168:"a81f113e",7188:"7dfb83d7",7344:"b353354f",7412:"b95e6ed7",7616:"30a5b4cb",7872:"94b5c938",7956:"55184d83",7972:"f03f9d22",8032:"6a790c72",8192:"0b16afee",8412:"01a85c17",8416:"32edcac6",8436:"7a96ca3d",8460:"e505274c",8530:"6f086c7f",8552:"1df93b7f",8584:"076ea99d",8856:"aa05fb67",8968:"92c79b5e",8980:"6732a855",9028:"1b7cb68d",9077:"be8f254a",9112:"a7023ddc",9128:"62cdc558",9140:"638cf40c",9184:"c50fed50",9468:"48e051ee",9648:"1a4e3797",9656:"1be78505",9960:"13e8f716"}[e]||e)+"."+{124:"f342e000",288:"dcc3cd86",340:"0e33b231",1004:"d93aba15",1015:"04722177",1224:"d825cc97",1284:"cce622f6",1304:"d7ba868b",1608:"8d5f2dd4",1660:"70c066a2",1676:"3afb7b7e",1768:"627638fc",2136:"33e41aa9",2237:"845d3f70",2276:"2263f4f7",2292:"2c04640b",2392:"aa6d1f55",2448:"3f88e5af",2512:"fc8fb626",2724:"15822df6",2824:"e68b6041",3124:"91c85bd2",3352:"df06b8d4",3484:"5dad54dc",3932:"1981f3fe",4040:"c105c9b6",4192:"e24e9266",4416:"d3f05350",4512:"70bcd03c",4540:"858cf00a",4582:"fee6bee0",4592:"855a06e5",4628:"c450f906",4634:"e7cf01e6",4661:"b154acfc",4976:"0201c052",5176:"02865a48",5232:"0cb66939",5384:"c12742e6",5424:"2d038780",5640:"79c5907b",5696:"87e4f1d2",5856:"daa3a9ea",6048:"4b8ff6df",6076:"c7587d6d",6148:"ea14c05c",6232:"7ab0a4c8",6292:"cf8631fe",6344:"66186802",6592:"9737be0c",6652:"1b624e0d",6752:"9eeb5b44",6916:"76bd795a",7168:"be5cad23",7176:"2db50868",7188:"3dc42fe7",7344:"1a069337",7412:"1f8f8567",7616:"13de2905",7872:"82364eed",7956:"5543dfc4",7972:"ae370051",8032:"228f0c3a",8192:"2174d5a9",8412:"52a067d3",8416:"4c061534",8436:"180811c9",8460:"caf6b707",8530:"8a4e5bed",8552:"0e0509aa",8584:"1f1f07d0",8728:"f627af9f",8792:"c2ca5b61",8856:"2ceaf1d9",8968:"9162358e",8980:"fc2d75ae",9028:"fad4ddb5",9077:"5ebff090",9112:"8bdd8aea",9128:"54544f90",9140:"3f7820f0",9184:"1ad55e75",9468:"6eb1e0ab",9577:"f9ea731e",9648:"f7518aba",9656:"415cd4fc",9960:"547f33dc"}[e]+".js",b.miniCssF=e=>{},b.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),b.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),f={},d="documentation:",b.l=(e,a,c,t)=>{if(f[e])f[e].push(a);else{var r,o;if(void 0!==c)for(var n=document.getElementsByTagName("script"),i=0;i{r.onerror=r.onload=null,clearTimeout(s);var d=f[e];if(delete f[e],r.parentNode&&r.parentNode.removeChild(r),d&&d.forEach((e=>e(c))),a)return a(c)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:r}),12e4);r.onerror=l.bind(null,r.onerror),r.onload=l.bind(null,r.onload),o&&document.head.appendChild(r)}},b.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},b.p="/",b.gca=function(e){return e={17896441:"6752",31158016:"4192",95937836:"4512",f39157c1:"340","568f633c":"1015",bbd6c9b2:"1224","7012c4a1":"1284","254740b8":"1304","9f0e9abb":"1608",ea8755f3:"1660","4aa98c60":"1768","1e6804ca":"2237","3b4a1e61":"2292","6875c492":"2392","03f14054":"2448","6c1c7317":"2724",c58e4cfb:"2824",cc23cbb7:"3484","7dc58338":"3932",c1d171ff:"4040","250fb10f":"4582",f6d01317:"4592",acbcfa00:"4628",b175a52e:"4661",a6aa9e1f:"4976","512de6cc":"5176",d465523d:"5232","1a702260":"5424","935f2afb":"5696","8db745fa":"5856","57e1ebb6":"6048",d30e4dd3:"6148","3ea19abf":"6232",b2b675dd:"6292",ccc49370:"6344","880620e0":"6592",f8907193:"6916",a81f113e:"7168","7dfb83d7":"7188",b353354f:"7344",b95e6ed7:"7412","30a5b4cb":"7616","94b5c938":"7872","55184d83":"7956",f03f9d22:"7972","6a790c72":"8032","0b16afee":"8192","01a85c17":"8412","32edcac6":"8416","7a96ca3d":"8436",e505274c:"8460","6f086c7f":"8530","1df93b7f":"8552","076ea99d":"8584",aa05fb67:"8856","92c79b5e":"8968","6732a855":"8980","1b7cb68d":"9028",be8f254a:"9077",a7023ddc:"9112","62cdc558":"9128","638cf40c":"9140",c50fed50:"9184","48e051ee":"9468","1a4e3797":"9648","1be78505":"9656","13e8f716":"9960"}[e]||e,b.p+b.u(e)},(()=>{var e={296:0,2176:0};b.f.j=(a,c)=>{var f=b.o(e,a)?e[a]:void 0;if(0!==f)if(f)c.push(f[2]);else if(/^2(17|9)6$/.test(a))e[a]=0;else{var d=new Promise(((c,d)=>f=e[a]=[c,d]));c.push(f[2]=d);var t=b.p+b.u(a),r=new Error;b.l(t,(c=>{if(b.o(e,a)&&(0!==(f=e[a])&&(e[a]=void 0),f)){var d=c&&("load"===c.type?"missing":c.type),t=c&&c.target&&c.target.src;r.message="Loading chunk "+a+" failed.\n("+d+": "+t+")",r.name="ChunkLoadError",r.type=d,r.request=t,f[1](r)}}),"chunk-"+a,a)}},b.O.j=a=>0===e[a];var a=(a,c)=>{var f,d,t=c[0],r=c[1],o=c[2],n=0;if(t.some((a=>0!==e[a]))){for(f in r)b.o(r,f)&&(b.m[f]=r[f]);if(o)var i=o(b)}for(a&&a(c);n - +
-
Back to blog

Akash Singh

Founder, PrepVerse

Posts

- +
Back to blog

Akash Singh

Founder, PrepVerse

Posts

+ \ No newline at end of file diff --git a/blog/bharatvarsha/index.html b/blog/bharatvarsha/index.html index 897872d..fe27de8 100644 --- a/blog/bharatvarsha/index.html +++ b/blog/bharatvarsha/index.html @@ -26,13 +26,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/god-brahma/index.html b/blog/god-brahma/index.html index c07e905..55fc15b 100644 --- a/blog/god-brahma/index.html +++ b/blog/god-brahma/index.html @@ -26,20 +26,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.

    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 063ca2d..5178676 100644 --- a/blog/index.html +++ b/blog/index.html @@ -26,13 +26,13 @@ - +
-

PrepVerse
Technical Blog

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

Featured Posts

- +

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/tags/ajnabhavarsh/index.html b/blog/tags/ajnabhavarsh/index.html index 2137537..8d6db92 100644 --- a/blog/tags/ajnabhavarsh/index.html +++ b/blog/tags/ajnabhavarsh/index.html @@ -26,13 +26,13 @@ - + - +
+ \ No newline at end of file diff --git a/blog/tags/aryavarta/index.html b/blog/tags/aryavarta/index.html index 224be65..f5a9c5b 100644 --- a/blog/tags/aryavarta/index.html +++ b/blog/tags/aryavarta/index.html @@ -26,13 +26,13 @@ - + - +
+ \ No newline at end of file diff --git a/blog/tags/bharat/index.html b/blog/tags/bharat/index.html index 4998dfb..e433668 100644 --- a/blog/tags/bharat/index.html +++ b/blog/tags/bharat/index.html @@ -26,13 +26,13 @@ - +
-
Posts tagged with

Bharat

- +
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 b4273b8..df536d8 100644 --- a/blog/tags/bharatkhand/index.html +++ b/blog/tags/bharatkhand/index.html @@ -26,13 +26,13 @@ - + - +
+ \ No newline at end of file diff --git a/blog/tags/bharatvarsha/index.html b/blog/tags/bharatvarsha/index.html index ae16ba8..c15f6dd 100644 --- a/blog/tags/bharatvarsha/index.html +++ b/blog/tags/bharatvarsha/index.html @@ -26,13 +26,13 @@ - + - +
+ \ No newline at end of file diff --git a/blog/tags/brahma/index.html b/blog/tags/brahma/index.html index bbdfb7e..ae80abb 100644 --- a/blog/tags/brahma/index.html +++ b/blog/tags/brahma/index.html @@ -26,13 +26,13 @@ - +
-
Posts tagged with

Brahma

- +
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 70565e8..791ab59 100644 --- a/blog/tags/creator/index.html +++ b/blog/tags/creator/index.html @@ -26,13 +26,13 @@ - +
-
Posts tagged with

Creator

- +
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 6864c2f..37aa40c 100644 --- a/blog/tags/god/index.html +++ b/blog/tags/god/index.html @@ -26,13 +26,13 @@ - +
-
Posts tagged with

God

- +
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 5e1a9b4..1b3ac3d 100644 --- a/blog/tags/hindustan/index.html +++ b/blog/tags/hindustan/index.html @@ -26,13 +26,13 @@ - + - +
+ \ No newline at end of file diff --git a/blog/tags/index.html b/blog/tags/index.html index 012859c..c1855fc 100644 --- a/blog/tags/index.html +++ b/blog/tags/index.html @@ -26,13 +26,13 @@ - + - +
+ \ No newline at end of file diff --git a/blog/tags/india/index.html b/blog/tags/india/index.html index f652add..5a167ac 100644 --- a/blog/tags/india/index.html +++ b/blog/tags/india/index.html @@ -26,13 +26,13 @@ - + - +
+ \ No newline at end of file diff --git a/blog/tags/jambudweep/index.html b/blog/tags/jambudweep/index.html index 64b0fc2..97e147c 100644 --- a/blog/tags/jambudweep/index.html +++ b/blog/tags/jambudweep/index.html @@ -26,13 +26,13 @@ - + - +
+ \ No newline at end of file diff --git a/blog/tags/tenjiku/index.html b/blog/tags/tenjiku/index.html index 27c2796..819931b 100644 --- a/blog/tags/tenjiku/index.html +++ b/blog/tags/tenjiku/index.html @@ -26,13 +26,13 @@ - + - +
+ \ No newline at end of file diff --git a/blog/tags/universe/index.html b/blog/tags/universe/index.html index 7037c59..e89756d 100644 --- a/blog/tags/universe/index.html +++ b/blog/tags/universe/index.html @@ -26,13 +26,13 @@ - +
-
Posts tagged with

Universe

- +
Posts tagged with

Universe

+ \ No newline at end of file diff --git a/docs/2.Web.Dev/getting-started/quickstart/index.html b/docs/2.Web.Dev/getting-started/quickstart/index.html index 4cd957f..8d3932c 100644 --- a/docs/2.Web.Dev/getting-started/quickstart/index.html +++ b/docs/2.Web.Dev/getting-started/quickstart/index.html @@ -26,13 +26,13 @@ - +
2.Web.Dev

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/2.Web.Dev/index.html b/docs/2.Web.Dev/index.html index f30238b..7f7f8bb 100644 --- a/docs/2.Web.Dev/index.html +++ b/docs/2.Web.Dev/index.html @@ -26,13 +26,13 @@ - +
2.Web.Dev

Overview

Loading Comments...
Copyright © 2024 PrepVerse
Built with Docusaurus & Refine.
Connect with me on
- + \ No newline at end of file diff --git a/docs/array/arrayIntro/index.html b/docs/array/arrayIntro/index.html index 82c3692..99b87a3 100644 --- a/docs/array/arrayIntro/index.html +++ b/docs/array/arrayIntro/index.html @@ -26,14 +26,14 @@ - +
Foundation

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);
}
Loading Comments...
Copyright © 2024 PrepVerse
Built with Docusaurus & Refine.
Connect with me on
- + \ No newline at end of file diff --git a/docs/array/quickstart/index.html b/docs/array/quickstart/index.html index 6da9032..275fe8a 100644 --- a/docs/array/quickstart/index.html +++ b/docs/array/quickstart/index.html @@ -26,13 +26,13 @@ - +
Foundation

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/index.html b/docs/index.html index 21d7ca4..888c0c1 100644 --- a/docs/index.html +++ b/docs/index.html @@ -26,13 +26,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.

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/comments/index.html b/docs/python/comments/index.html index a3b1b71..d0f321b 100644 --- a/docs/python/comments/index.html +++ b/docs/python/comments/index.html @@ -26,13 +26,13 @@ - +
Foundation

Python Comments

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/getting-started/index.html b/docs/python/getting-started/index.html index 2010002..3860aa0 100644 --- a/docs/python/getting-started/index.html +++ b/docs/python/getting-started/index.html @@ -26,13 +26,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.

Copyright © 2024 PrepVerse
Built with Docusaurus & Refine.
Connect with me on
- + \ No newline at end of file diff --git a/docs/python/intro/index.html b/docs/python/intro/index.html index aad6e60..aa062d2 100644 --- a/docs/python/intro/index.html +++ b/docs/python/intro/index.html @@ -26,14 +26,14 @@ - +
Foundation

Introduction

Welcome! This tutorial is designed to guide you through the fundamentals of Python programming. Python is a powerful and versatile language known for its readability and beginner-friendly approach. Whether you're a complete newcomer or have some programming experience, Python is a fantastic language to add to your skillset.

Why Choose Python?

Here's what makes Python an attractive choice for programmers of all levels:

  • Easy to Learn: Python's syntax is clear and concise, resembling natural language. This makes it easier to grasp the core concepts compared to languages with more complex grammar.
  • Readability: Python's syntax is clear and concise, resembling natural language. This makes it easier to learn, understand, and maintain code compared to languages with more complex syntax.
  • Versatility: Python excels in a wide range of applications:
    • Web Development: Python powers the server-side logic of dynamic web applications. Frameworks like Django and Flask streamline web development processes.
    • Data Science: Python's extensive libraries like NumPy, pandas, and Scikit-learn make it a powerhouse for data analysis, manipulation, and machine learning.
    • Software Development: Python is a general-purpose language, suitable for building various software applications. Its flexibility allows for rapid prototyping and efficient development cycles.
    • System Scripting: Python automates repetitive tasks and workflows, improving system administration efficiency.
  • Cross-Platform Compatibility: Python runs seamlessly on major operating systems like Windows, macOS, Linux, and Raspberry Pi, making it a portable choice for developers. Rapid Prototyping: Python's interpreter system allows you to execute code as soon as you write it, facilitating quick and efficient prototyping.
  • Multiple Programming Paradigms: Python supports procedural, object-oriented, and functional programming styles, offering flexibility to adapt to different project requirements.
Copyright © 2024 PrepVerse
Built with Docusaurus & Refine.
Connect with me on
- + \ No newline at end of file diff --git a/index.html b/index.html index 7e0fd76..bac270b 100644 --- a/index.html +++ b/index.html @@ -26,13 +26,13 @@ - +

Computer Science
Preparations

Resources for Computer Science Preparations
DSA + CP
CS Fundamentals
Web Developments
Data Science
Projects
DSA + CP
- + \ No newline at end of file diff --git a/prepverse-community/index.html b/prepverse-community/index.html index d566a2f..c1cd981 100644 --- a/prepverse-community/index.html +++ b/prepverse-community/index.html @@ -26,13 +26,13 @@ - +
- + \ No newline at end of file diff --git a/search/index.html b/search/index.html index e3f3fd6..dfb8ef3 100644 --- a/search/index.html +++ b/search/index.html @@ -26,13 +26,13 @@ - +

Search the documentation

- + \ No newline at end of file diff --git a/showcase/index.html b/showcase/index.html index a5c29be..954078f 100644 --- a/showcase/index.html +++ b/showcase/index.html @@ -26,13 +26,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

- + \ No newline at end of file diff --git a/tutorial/dsa/cpp/index.html b/tutorial/dsa/cpp/index.html index 9d7de6a..5c09e7f 100644 --- a/tutorial/dsa/cpp/index.html +++ b/tutorial/dsa/cpp/index.html @@ -26,14 +26,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.

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
- +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 8909988..3e2563b 100644 --- a/tutorial/dsa/py/index.html +++ b/tutorial/dsa/py/index.html @@ -26,14 +26,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.

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
- +export default App;
installing dependencies
installing dependencies
+ \ No newline at end of file diff --git a/tutorial/index.html b/tutorial/index.html index b8b7457..d4b6581 100644 --- a/tutorial/index.html +++ b/tutorial/index.html @@ -26,13 +26,13 @@ - +
- + \ No newline at end of file