From 7d0ab0c56d9a8112b61da2c039d78c38cce93dab Mon Sep 17 00:00:00 2001 From: Quinta0 <112334784+Quinta0@users.noreply.github.com> Date: Sun, 30 Jun 2024 14:15:33 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20Quinta0/?= =?UTF-8?q?valgo@c6271b0e258fa2e941d869c40a42a9530f51fb87=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 404.html | 2 +- .../_buildManifest.js | 0 .../_ssgManifest.js | 0 _next/static/chunks/app/page-cc44c448a9affc46.js | 1 - _next/static/chunks/app/page-fe9d2a2e383be08e.js | 1 + index.html | 2 +- index.txt | 4 ++-- 7 files changed, 5 insertions(+), 5 deletions(-) rename _next/static/{i6lWKWHgu2mcQdEioHM-H => LqidurQg98A-YDslIFrzi}/_buildManifest.js (100%) rename _next/static/{i6lWKWHgu2mcQdEioHM-H => LqidurQg98A-YDslIFrzi}/_ssgManifest.js (100%) delete mode 100644 _next/static/chunks/app/page-cc44c448a9affc46.js create mode 100644 _next/static/chunks/app/page-fe9d2a2e383be08e.js diff --git a/404.html b/404.html index f3ed574..f10f5f1 100644 --- a/404.html +++ b/404.html @@ -1 +1 @@ -404: This page could not be found.

404

This page could not be found.

\ No newline at end of file +404: This page could not be found.

404

This page could not be found.

\ No newline at end of file diff --git a/_next/static/i6lWKWHgu2mcQdEioHM-H/_buildManifest.js b/_next/static/LqidurQg98A-YDslIFrzi/_buildManifest.js similarity index 100% rename from _next/static/i6lWKWHgu2mcQdEioHM-H/_buildManifest.js rename to _next/static/LqidurQg98A-YDslIFrzi/_buildManifest.js diff --git a/_next/static/i6lWKWHgu2mcQdEioHM-H/_ssgManifest.js b/_next/static/LqidurQg98A-YDslIFrzi/_ssgManifest.js similarity index 100% rename from _next/static/i6lWKWHgu2mcQdEioHM-H/_ssgManifest.js rename to _next/static/LqidurQg98A-YDslIFrzi/_ssgManifest.js diff --git a/_next/static/chunks/app/page-cc44c448a9affc46.js b/_next/static/chunks/app/page-cc44c448a9affc46.js deleted file mode 100644 index b2f256f..0000000 --- a/_next/static/chunks/app/page-cc44c448a9affc46.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[931],{5515:function(e,t,a){Promise.resolve().then(a.bind(a,354))},354:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return F}});var r=a(7437),s=a(2265),i=a(1538),n=a(2218),o=a(4839),l=a(6164);function d(){for(var e=arguments.length,t=Array(e),a=0;a{let{className:a,variant:s,size:n,asChild:o=!1,...l}=e,m=o?i.g7:"button";return(0,r.jsx)(m,{className:d(c({variant:s,size:n,className:a})),ref:t,...l})});m.displayName="Button";var u=a(1246),f=a(7592),h=a(2468),p=a(8165);let x=u.fC,g=u.xz;u.ZA,u.Uv,u.Tr;let w=u.Ee;s.forwardRef((e,t)=>{let{className:a,inset:s,children:i,...n}=e;return(0,r.jsxs)(u.fF,{ref:t,className:d("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",s&&"pl-8",a),...n,children:[i,(0,r.jsx)(f.Z,{className:"ml-auto h-4 w-4"})]})}).displayName=u.fF.displayName,s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(u.tu,{ref:t,className:d("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...s})}).displayName=u.tu.displayName;let b=s.forwardRef((e,t)=>{let{className:a,sideOffset:s=4,...i}=e;return(0,r.jsx)(u.Uv,{children:(0,r.jsx)(u.VY,{ref:t,sideOffset:s,className:d("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...i})})});b.displayName=u.VY.displayName,s.forwardRef((e,t)=>{let{className:a,inset:s,...i}=e;return(0,r.jsx)(u.ck,{ref:t,className:d("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",s&&"pl-8",a),...i})}).displayName=u.ck.displayName,s.forwardRef((e,t)=>{let{className:a,children:s,checked:i,...n}=e;return(0,r.jsxs)(u.oC,{ref:t,className:d("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),checked:i,...n,children:[(0,r.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,r.jsx)(u.wU,{children:(0,r.jsx)(h.Z,{className:"h-4 w-4"})})}),s]})}).displayName=u.oC.displayName;let N=s.forwardRef((e,t)=>{let{className:a,children:s,...i}=e;return(0,r.jsxs)(u.Rk,{ref:t,className:d("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),...i,children:[(0,r.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,r.jsx)(u.wU,{children:(0,r.jsx)(p.Z,{className:"h-2 w-2 fill-current"})})}),s]})});N.displayName=u.Rk.displayName,s.forwardRef((e,t)=>{let{className:a,inset:s,...i}=e;return(0,r.jsx)(u.__,{ref:t,className:d("px-2 py-1.5 text-sm font-semibold",s&&"pl-8",a),...i})}).displayName=u.__.displayName,s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(u.Z0,{ref:t,className:d("-mx-1 my-1 h-px bg-muted",a),...s})}).displayName=u.Z0.displayName;var y=a(28);let j=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsxs)(y.fC,{ref:t,className:d("relative flex w-full touch-none select-none items-center",a),...s,children:[(0,r.jsx)(y.fQ,{className:"relative h-2 w-full grow overflow-hidden rounded-full bg-secondary",children:(0,r.jsx)(y.e6,{className:"absolute h-full bg-primary"})}),(0,r.jsx)(y.bU,{className:"block h-5 w-5 rounded-full border-2 border-primary bg-background ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50"})]})});j.displayName=y.fC.displayName;let v=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,className:d("rounded-lg border bg-card text-card-foreground shadow-sm",a),...s})});v.displayName="Card";let R=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,className:d("flex flex-col space-y-1.5 p-6",a),...s})});R.displayName="CardHeader";let T=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("h3",{ref:t,className:d("text-2xl font-semibold leading-none tracking-tight",a),...s})});T.displayName="CardTitle";let C=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("p",{ref:t,className:d("text-sm text-muted-foreground",a),...s})});C.displayName="CardDescription";let O=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,className:d("p-6 pt-0",a),...s})});O.displayName="CardContent",s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,className:d("flex items-center p-6 pt-0",a),...s})}).displayName="CardFooter";var k=a(3304),S=a(4697);let I=k.fC,E=k.xz,A=k.h_;k.x8;let H=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(k.aV,{ref:t,className:d("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",a),...s})});H.displayName=k.aV.displayName;let z=s.forwardRef((e,t)=>{let{className:a,children:s,...i}=e;return(0,r.jsxs)(A,{children:[(0,r.jsx)(H,{}),(0,r.jsxs)(k.VY,{ref:t,className:d("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",a),...i,children:[s,(0,r.jsxs)(k.x8,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,r.jsx)(S.Z,{className:"h-4 w-4"}),(0,r.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});z.displayName=k.VY.displayName;let P=e=>{let{className:t,...a}=e;return(0,r.jsx)("div",{className:d("flex flex-col space-y-1.5 text-center sm:text-left",t),...a})};P.displayName="DialogHeader";let M=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(k.Dx,{ref:t,className:d("text-lg font-semibold leading-none tracking-tight",a),...s})});M.displayName=k.Dx.displayName;let L=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(k.dk,{ref:t,className:d("text-sm text-muted-foreground",a),...s})});function F(){let[e,t]=(0,s.useState)([]),[a,i]=(0,s.useState)(!1),[n,o]=(0,s.useState)("bubble"),[l,d]=(0,s.useState)(20),c=(0,s.useRef)(!1),u=(0,s.useRef)(!1);(0,s.useEffect)(()=>{f(l)},[l]);let f=e=>{t(Array.from({length:e},()=>Math.floor(100*Math.random())))},h=async()=>(c.current&&await new Promise(e=>{let t=()=>{c.current&&!u.current?setTimeout(t,100):e(null)};t()}),u.current),p=async()=>{let a=[...e];for(let e=0;ea[r+1]&&([a[r],a[r+1]]=[a[r+1],a[r]],t([...a]),await new Promise(e=>setTimeout(e,100)))}u.current||i(!1)},y=async()=>{let a=[...e];for(let e=1;e=0&&a[s]>r;){if(await h())return;a[s+1]=a[s],s-=1,t([...a]),await new Promise(e=>setTimeout(e,100))}a[s+1]=r,t([...a]),await new Promise(e=>setTimeout(e,100))}u.current||i(!1)};async function k(e,a,r){if(await h())return;let s=r,i=2*r+1,n=2*r+2;ie[s]&&(s=i),ne[s]&&(s=n),s!==r&&([e[r],e[s]]=[e[s],e[r]],t([...e]),await new Promise(e=>setTimeout(e,100)),await k(e,a,s))}let S=async()=>{let a=[...e],r=a.length;for(let e=Math.floor(r/2)-1;e>=0;e--){if(await h())return;await k(a,r,e)}for(let e=r-1;e>0;e--){if(await h())return;[a[0],a[e]]=[a[e],a[0]],t([...a]),await new Promise(e=>setTimeout(e,100)),await k(a,e,0)}u.current||i(!1)};async function A(e,a,r){if(await h())return a;let s=e[r],i=a-1;for(let n=a;nsetTimeout(e,100)))}return[e[i+1],e[r]]=[e[r],e[i+1]],t([...e]),await new Promise(e=>setTimeout(e,100)),i+1}let H=async(e,t,a)=>{if(t{if(!await h()&&t{if(await h())return;let i=r-a+1,n=s-r,o=Array(i),l=Array(n);for(let t=0;tsetTimeout(e,100)),m++}for(;dsetTimeout(e,100))}for(;csetTimeout(e,100))}},{title:V,timeComplexity:_,spaceComplexity:q,description:Y}=(()=>{switch(n){case"bubble":return{title:"Bubble Sort",timeComplexity:"Time: O(n^2)",spaceComplexity:"Space: O(1)",description:"Bubble sort is a simple sorting algorithm that repeatedly steps through the list, compares adjacent elements and swaps them if they are in the wrong order. The pass through the list is repeated until the list is sorted."};case"insertion":return{title:"Insertion Sort",timeComplexity:"Time: O(n^2)",spaceComplexity:"Space: O(1)",description:"Insertion sort is a simple sorting algorithm that builds the final sorted array one item at a time. It is much less efficient on large lists than more advanced algorithms such as quicksort, heapsort, or merge sort."};case"merge":return{title:"Merge Sort",timeComplexity:"Time: O(n log n)",spaceComplexity:"Space: O(n)",description:"Merge sort is an efficient, stable, comparison-based, divide and conquer sorting algorithm. Most implementations produce a stable sort, meaning that the implementation preserves the input order of equal elements in the sorted output."};case"heap":return{title:"Heap Sort",timeComplexity:"Time: O(n log n)",spaceComplexity:"Space: O(1)",description:"Heap sort is a comparison-based sorting technique based on Binary Heap data structure. It is similar to selection sort where we first find the maximum element and place the maximum element at the end. We repeat the same process for the remaining element."};case"quick":return{title:"Quick Sort",timeComplexity:"Time: O(n log n)",spaceComplexity:"Space: O(log n)",description:"Quick sort is an efficient sorting algorithm that, on average, makes O(n log n) comparisons to sort n items. It is an in-place sort (i.e., it doesn't require any extra storage)."};default:return{title:"",timeComplexity:"",spaceComplexity:"",description:""}}})();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"flex flex-col items-center h-screen",children:[(0,r.jsx)("header",{className:"bg-primary text-primary-foreground py-4 px-6 w-full ",children:(0,r.jsx)("h1",{className:"text-4xl font-bold text-center",children:"Algorithm Visualizer"})}),(0,r.jsxs)("h1",{className:"text-3xl font-bold mt-8 capitalize",children:[n," sort"]}),(0,r.jsx)("div",{className:"flex items-end justify-center h-64 mt-10 shadow-2xl p-4 max-w-full",children:e.map((e,t)=>(0,r.jsx)("div",{className:"mx-0.5 ".concat(a?"bg-red-500":"bg-blue-500"),style:{height:"".concat(2*e,"px"),width:"20px"}},t))}),(0,r.jsxs)("div",{className:"flex mt-10 space-x-4",children:[(0,r.jsx)(m,{onClick:()=>{switch(i(!0),c.current=!1,u.current=!1,n){case"bubble":p();break;case"insertion":y();break;case"merge":F([...e],0,e.length-1);break;case"heap":S();break;case"quick":H([...e],0,e.length-1)}},children:"Start"}),(0,r.jsx)(m,{onClick:()=>{c.current=!0},variant:"outline",children:"Pause"}),(0,r.jsx)(m,{onClick:()=>{c.current=!1},variant:"outline",children:"Resume"}),(0,r.jsx)(m,{onClick:()=>{i(!1),c.current=!1,u.current=!0,f(l)},children:"Reset"}),(0,r.jsx)(m,{onClick:()=>{t([...e].sort(()=>Math.random()-.5))},children:"Shuffle"}),(0,r.jsxs)(x,{children:[(0,r.jsx)(g,{asChild:!0,children:(0,r.jsxs)(m,{children:[n.charAt(0).toUpperCase()+n.slice(1)," Sort"]})}),(0,r.jsx)(b,{children:(0,r.jsxs)(w,{value:n,onValueChange:o,children:[(0,r.jsx)(N,{value:"bubble",children:"Bubble Sort"}),(0,r.jsx)(N,{value:"insertion",children:"Insertion Sort"}),(0,r.jsx)(N,{value:"merge",children:"Merge Sort"}),(0,r.jsx)(N,{value:"heap",children:"Heap Sort"}),(0,r.jsx)(N,{value:"quick",children:"Quick Sort"})]})})]})]}),(0,r.jsxs)("div",{className:"flex flex-col items-center mt-10 space-y-4",children:[(0,r.jsxs)("label",{className:"text-xl",children:["Array Size: ",l]}),(0,r.jsx)(j,{value:[l],onValueChange:e=>d(e[0]),min:5,max:100})]}),(0,r.jsx)("div",{className:"mt-16 w-full max-w-xl",children:(0,r.jsxs)(v,{className:"shadow-2xl",children:[(0,r.jsxs)(R,{children:[(0,r.jsx)(T,{className:"underline mb-2",children:V}),(0,r.jsxs)(C,{children:[(0,r.jsx)("div",{children:_}),(0,r.jsx)("div",{children:q})]})]}),(0,r.jsx)(O,{children:(0,r.jsx)("p",{className:"text-justify",children:Y})})]})})]}),(0,r.jsx)("footer",{className:"bg-muted text-muted-foreground py-6",children:(0,r.jsxs)("div",{className:"container mx-auto px-4 md:px-6 flex items-center justify-between",children:[(0,r.jsx)("p",{className:"text-sm",children:"\xa9 2024 Quintavalle Pietro. All rights reserved."}),(0,r.jsxs)("nav",{className:"flex items-center gap-4",children:[(0,r.jsxs)(I,{children:[(0,r.jsx)(E,{children:"Licence"}),(0,r.jsx)(z,{children:(0,r.jsxs)(P,{children:[(0,r.jsx)(M,{children:"MIT License"}),(0,r.jsxs)(L,{children:[(0,r.jsx)("p",{className:"font-bold",children:"Copyright (c) 2024 Quintavalle Pietro"}),(0,r.jsx)("p",{className:"mt-2",children:'Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:'}),(0,r.jsx)("p",{children:"The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software."}),(0,r.jsx)("p",{className:"mt-2",children:'THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.'})]})]})})]}),(0,r.jsx)("a",{href:"https://github.com/Quinta0",target:"_blank",rel:"noopener noreferrer",className:"hover:underline",children:(0,r.jsx)(D,{className:"w-6 h-6"})}),(0,r.jsx)("a",{href:"mailto:0pietroquintavalle0@gmail.com",className:"hover:underline",children:(0,r.jsx)(U,{className:"w-6 h-6"})}),(0,r.jsx)("a",{href:"https://www.linkedin.com/in/pietro-quintavalle-996b96267/",target:"_blank",rel:"noopener noreferrer",className:"hover:underline",children:(0,r.jsx)(W,{className:"w-6 h-6"})})]})]})})]})}function D(e){return(0,r.jsx)("svg",{...e,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",stroke:"currentColor",strokeWidth:"0",children:(0,r.jsx)("path",{d:"M12 .5C5.48.5.5 5.48.5 12c0 5.08 3.29 9.35 7.85 10.86.58.1.79-.24.79-.54 0-.27-.01-.99-.01-1.94-3.19.69-3.86-1.54-3.86-1.54-.53-1.36-1.29-1.72-1.29-1.72-1.05-.72.08-.71.08-.71 1.16.08 1.77 1.2 1.77 1.2 1.03 1.77 2.69 1.26 3.34.96.1-.75.4-1.26.73-1.55-2.55-.29-5.23-1.28-5.23-5.72 0-1.26.45-2.29 1.2-3.1-.12-.29-.52-1.45.12-3.02 0 0 .97-.31 3.17 1.18.92-.26 1.91-.39 2.89-.39.98 0 1.97.13 2.89.39 2.2-1.49 3.17-1.18 3.17-1.18.64 1.57.24 2.73.12 3.02.75.81 1.2 1.84 1.2 3.1 0 4.46-2.69 5.43-5.25 5.71.41.35.78 1.03.78 2.08 0 1.5-.01 2.72-.01 3.08 0 .3.21.65.8.54C20.71 21.35 24 17.08 24 12c0-6.52-4.98-11.5-12-11.5z"})})}function U(e){return(0,r.jsx)("svg",{...e,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",stroke:"currentColor",strokeWidth:"0",children:(0,r.jsx)("path",{d:"M12 12.713l11.985-8.677a.868.868 0 0 0-.491-.148H.506c-.177 0-.344.055-.491.148L12 12.713zm0 1.431L.035 5.596A.875.875 0 0 0 0 6.125v11.75c0 .478.387.875.875.875h22.25c.478 0 .875-.387.875-.875V6.125a.875.875 0 0 0-.035-.529L12 14.144z"})})}function W(e){return(0,r.jsx)("svg",{...e,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",stroke:"currentColor",strokeWidth:"0",children:(0,r.jsx)("path",{d:"M19 0h-14c-2.761 0-5 2.239-5 5v14c0 2.761 2.239 5 5 5h14c2.761 0 5-2.239 5-5v-14c0-2.761-2.239-5-5-5zm-11 19h-3v-11h3v11zm-1.5-12.5c-.966 0-1.75-.784-1.75-1.75s.784-1.75 1.75-1.75 1.75.784 1.75 1.75-.784 1.75-1.75 1.75zm13.5 12.5h-3v-5.5c0-1.379-1.121-2.5-2.5-2.5s-2.5 1.121-2.5 2.5v5.5h-3v-11h3v1.474c.809-1.161 2.201-1.974 3.5-1.974 2.481 0 4.5 2.019 4.5 4.5v7z"})})}L.displayName=k.dk.displayName}},function(e){e.O(0,[57,971,23,744],function(){return e(e.s=5515)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/app/page-fe9d2a2e383be08e.js b/_next/static/chunks/app/page-fe9d2a2e383be08e.js new file mode 100644 index 0000000..02086de --- /dev/null +++ b/_next/static/chunks/app/page-fe9d2a2e383be08e.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[931],{5515:function(e,t,a){Promise.resolve().then(a.bind(a,354))},354:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return F}});var r=a(7437),s=a(2265),i=a(1538),n=a(2218),o=a(4839),l=a(6164);function d(){for(var e=arguments.length,t=Array(e),a=0;a{let{className:a,variant:s,size:n,asChild:o=!1,...l}=e,m=o?i.g7:"button";return(0,r.jsx)(m,{className:d(c({variant:s,size:n,className:a})),ref:t,...l})});m.displayName="Button";var u=a(1246),f=a(7592),h=a(2468),p=a(8165);let x=u.fC,g=u.xz;u.ZA,u.Uv,u.Tr;let w=u.Ee;s.forwardRef((e,t)=>{let{className:a,inset:s,children:i,...n}=e;return(0,r.jsxs)(u.fF,{ref:t,className:d("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",s&&"pl-8",a),...n,children:[i,(0,r.jsx)(f.Z,{className:"ml-auto h-4 w-4"})]})}).displayName=u.fF.displayName,s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(u.tu,{ref:t,className:d("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...s})}).displayName=u.tu.displayName;let b=s.forwardRef((e,t)=>{let{className:a,sideOffset:s=4,...i}=e;return(0,r.jsx)(u.Uv,{children:(0,r.jsx)(u.VY,{ref:t,sideOffset:s,className:d("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...i})})});b.displayName=u.VY.displayName,s.forwardRef((e,t)=>{let{className:a,inset:s,...i}=e;return(0,r.jsx)(u.ck,{ref:t,className:d("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",s&&"pl-8",a),...i})}).displayName=u.ck.displayName,s.forwardRef((e,t)=>{let{className:a,children:s,checked:i,...n}=e;return(0,r.jsxs)(u.oC,{ref:t,className:d("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),checked:i,...n,children:[(0,r.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,r.jsx)(u.wU,{children:(0,r.jsx)(h.Z,{className:"h-4 w-4"})})}),s]})}).displayName=u.oC.displayName;let N=s.forwardRef((e,t)=>{let{className:a,children:s,...i}=e;return(0,r.jsxs)(u.Rk,{ref:t,className:d("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),...i,children:[(0,r.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,r.jsx)(u.wU,{children:(0,r.jsx)(p.Z,{className:"h-2 w-2 fill-current"})})}),s]})});N.displayName=u.Rk.displayName,s.forwardRef((e,t)=>{let{className:a,inset:s,...i}=e;return(0,r.jsx)(u.__,{ref:t,className:d("px-2 py-1.5 text-sm font-semibold",s&&"pl-8",a),...i})}).displayName=u.__.displayName,s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(u.Z0,{ref:t,className:d("-mx-1 my-1 h-px bg-muted",a),...s})}).displayName=u.Z0.displayName;var y=a(28);let j=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsxs)(y.fC,{ref:t,className:d("relative flex w-full touch-none select-none items-center",a),...s,children:[(0,r.jsx)(y.fQ,{className:"relative h-2 w-full grow overflow-hidden rounded-full bg-secondary",children:(0,r.jsx)(y.e6,{className:"absolute h-full bg-primary"})}),(0,r.jsx)(y.bU,{className:"block h-5 w-5 rounded-full border-2 border-primary bg-background ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50"})]})});j.displayName=y.fC.displayName;let v=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,className:d("rounded-lg border bg-card text-card-foreground shadow-sm",a),...s})});v.displayName="Card";let R=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,className:d("flex flex-col space-y-1.5 p-6",a),...s})});R.displayName="CardHeader";let T=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("h3",{ref:t,className:d("text-2xl font-semibold leading-none tracking-tight",a),...s})});T.displayName="CardTitle";let C=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("p",{ref:t,className:d("text-sm text-muted-foreground",a),...s})});C.displayName="CardDescription";let O=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,className:d("p-6 pt-0",a),...s})});O.displayName="CardContent",s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,className:d("flex items-center p-6 pt-0",a),...s})}).displayName="CardFooter";var k=a(3304),S=a(4697);let I=k.fC,E=k.xz,A=k.h_;k.x8;let H=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(k.aV,{ref:t,className:d("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",a),...s})});H.displayName=k.aV.displayName;let z=s.forwardRef((e,t)=>{let{className:a,children:s,...i}=e;return(0,r.jsxs)(A,{children:[(0,r.jsx)(H,{}),(0,r.jsxs)(k.VY,{ref:t,className:d("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",a),...i,children:[s,(0,r.jsxs)(k.x8,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,r.jsx)(S.Z,{className:"h-4 w-4"}),(0,r.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});z.displayName=k.VY.displayName;let P=e=>{let{className:t,...a}=e;return(0,r.jsx)("div",{className:d("flex flex-col space-y-1.5 text-center sm:text-left",t),...a})};P.displayName="DialogHeader";let M=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(k.Dx,{ref:t,className:d("text-lg font-semibold leading-none tracking-tight",a),...s})});M.displayName=k.Dx.displayName;let L=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(k.dk,{ref:t,className:d("text-sm text-muted-foreground",a),...s})});function F(){let[e,t]=(0,s.useState)([]),[a,i]=(0,s.useState)(!1),[n,o]=(0,s.useState)("bubble"),[l,d]=(0,s.useState)(20),c=(0,s.useRef)(!1),u=(0,s.useRef)(!1);(0,s.useEffect)(()=>{f(l)},[l]);let f=e=>{t(Array.from({length:e},()=>Math.floor(100*Math.random())))},h=async()=>(c.current&&await new Promise(e=>{let t=()=>{c.current&&!u.current?setTimeout(t,50):e(null)};t()}),u.current),p=async()=>{let a=[...e];for(let e=0;ea[r+1]&&([a[r],a[r+1]]=[a[r+1],a[r]],t([...a]),await new Promise(e=>setTimeout(e,50)))}u.current||i(!1)},y=async()=>{let a=[...e];for(let e=1;e=0&&a[s]>r;){if(await h())return;a[s+1]=a[s],s-=1,t([...a]),await new Promise(e=>setTimeout(e,50))}a[s+1]=r,t([...a]),await new Promise(e=>setTimeout(e,50))}u.current||i(!1)};async function k(e,a,r){if(await h())return;let s=r,i=2*r+1,n=2*r+2;ie[s]&&(s=i),ne[s]&&(s=n),s!==r&&([e[r],e[s]]=[e[s],e[r]],t([...e]),await new Promise(e=>setTimeout(e,50)),await k(e,a,s))}let S=async()=>{let a=[...e],r=a.length;for(let e=Math.floor(r/2)-1;e>=0;e--){if(await h())return;await k(a,r,e)}for(let e=r-1;e>0;e--){if(await h())return;[a[0],a[e]]=[a[e],a[0]],t([...a]),await new Promise(e=>setTimeout(e,50)),await k(a,e,0)}u.current||i(!1)};async function A(e,a,r){if(await h())return a;let s=e[r],i=a-1;for(let n=a;nsetTimeout(e,50)))}return[e[i+1],e[r]]=[e[r],e[i+1]],t([...e]),await new Promise(e=>setTimeout(e,50)),i+1}let H=async(e,t,a)=>{if(t{if(!await h()&&t{if(await h())return;let i=r-a+1,n=s-r,o=Array(i),l=Array(n);for(let t=0;tsetTimeout(e,50)),m++}for(;dsetTimeout(e,50))}for(;csetTimeout(e,50))}},{title:V,timeComplexity:_,spaceComplexity:q,description:Y}=(()=>{switch(n){case"bubble":return{title:"Bubble Sort",timeComplexity:"Time: O(n^2)",spaceComplexity:"Space: O(1)",description:"Bubble sort is a simple sorting algorithm that repeatedly steps through the list, compares adjacent elements and swaps them if they are in the wrong order. The pass through the list is repeated until the list is sorted."};case"insertion":return{title:"Insertion Sort",timeComplexity:"Time: O(n^2)",spaceComplexity:"Space: O(1)",description:"Insertion sort is a simple sorting algorithm that builds the final sorted array one item at a time. It is much less efficient on large lists than more advanced algorithms such as quicksort, heapsort, or merge sort."};case"merge":return{title:"Merge Sort",timeComplexity:"Time: O(n log n)",spaceComplexity:"Space: O(n)",description:"Merge sort is an efficient, stable, comparison-based, divide and conquer sorting algorithm. Most implementations produce a stable sort, meaning that the implementation preserves the input order of equal elements in the sorted output."};case"heap":return{title:"Heap Sort",timeComplexity:"Time: O(n log n)",spaceComplexity:"Space: O(1)",description:"Heap sort is a comparison-based sorting technique based on Binary Heap data structure. It is similar to selection sort where we first find the maximum element and place the maximum element at the end. We repeat the same process for the remaining element."};case"quick":return{title:"Quick Sort",timeComplexity:"Time: O(n log n)",spaceComplexity:"Space: O(log n)",description:"Quick sort is an efficient sorting algorithm that, on average, makes O(n log n) comparisons to sort n items. It is an in-place sort (i.e., it doesn't require any extra storage)."};default:return{title:"",timeComplexity:"",spaceComplexity:"",description:""}}})();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"flex flex-col items-center h-screen",children:[(0,r.jsx)("header",{className:"bg-primary text-primary-foreground py-4 px-6 w-full ",children:(0,r.jsx)("h1",{className:"text-4xl font-bold text-center",children:"Algorithm Visualizer"})}),(0,r.jsxs)("h1",{className:"text-3xl font-bold mt-8 capitalize",children:[n," sort"]}),(0,r.jsx)("div",{className:"flex items-end justify-center h-64 mt-10 shadow-2xl p-4 max-w-full",children:e.map((e,t)=>(0,r.jsx)("div",{className:"mx-0.5 ".concat(a?"bg-red-500":"bg-blue-500"),style:{height:"".concat(2*e,"px"),width:"20px"}},t))}),(0,r.jsxs)("div",{className:"flex mt-10 space-x-4",children:[(0,r.jsx)(m,{onClick:()=>{switch(i(!0),c.current=!1,u.current=!1,n){case"bubble":p();break;case"insertion":y();break;case"merge":F([...e],0,e.length-1);break;case"heap":S();break;case"quick":H([...e],0,e.length-1)}},children:"Start"}),(0,r.jsx)(m,{onClick:()=>{c.current=!0},variant:"outline",children:"Pause"}),(0,r.jsx)(m,{onClick:()=>{c.current=!1},variant:"outline",children:"Resume"}),(0,r.jsx)(m,{onClick:()=>{i(!1),c.current=!1,u.current=!0,f(l)},children:"Reset"}),(0,r.jsx)(m,{onClick:()=>{t([...e].sort(()=>Math.random()-.5))},children:"Shuffle"}),(0,r.jsxs)(x,{children:[(0,r.jsx)(g,{asChild:!0,children:(0,r.jsxs)(m,{children:[n.charAt(0).toUpperCase()+n.slice(1)," Sort"]})}),(0,r.jsx)(b,{children:(0,r.jsxs)(w,{value:n,onValueChange:o,children:[(0,r.jsx)(N,{value:"bubble",children:"Bubble Sort"}),(0,r.jsx)(N,{value:"insertion",children:"Insertion Sort"}),(0,r.jsx)(N,{value:"merge",children:"Merge Sort"}),(0,r.jsx)(N,{value:"heap",children:"Heap Sort"}),(0,r.jsx)(N,{value:"quick",children:"Quick Sort"})]})})]})]}),(0,r.jsxs)("div",{className:"flex flex-col items-center mt-10 space-y-4",children:[(0,r.jsxs)("label",{className:"text-xl",children:["Array Size: ",l]}),(0,r.jsx)(j,{value:[l],onValueChange:e=>d(e[0]),min:5,max:100})]}),(0,r.jsx)("div",{className:"mt-16 w-full max-w-xl",children:(0,r.jsxs)(v,{className:"shadow-2xl",children:[(0,r.jsxs)(R,{children:[(0,r.jsx)(T,{className:"underline mb-2",children:V}),(0,r.jsxs)(C,{children:[(0,r.jsx)("div",{children:_}),(0,r.jsx)("div",{children:q})]})]}),(0,r.jsx)(O,{children:(0,r.jsx)("p",{className:"text-justify",children:Y})})]})})]}),(0,r.jsx)("footer",{className:"bg-muted text-muted-foreground py-6",children:(0,r.jsxs)("div",{className:"container mx-auto px-4 md:px-6 flex items-center justify-between",children:[(0,r.jsx)("p",{className:"text-sm",children:"\xa9 2024 Quintavalle Pietro. All rights reserved."}),(0,r.jsxs)("nav",{className:"flex items-center gap-4",children:[(0,r.jsxs)(I,{children:[(0,r.jsx)(E,{children:"Licence"}),(0,r.jsx)(z,{children:(0,r.jsxs)(P,{children:[(0,r.jsx)(M,{children:"MIT License"}),(0,r.jsxs)(L,{children:[(0,r.jsx)("p",{className:"font-bold",children:"Copyright (c) 2024 Quintavalle Pietro"}),(0,r.jsx)("p",{className:"mt-2",children:'Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:'}),(0,r.jsx)("p",{children:"The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software."}),(0,r.jsx)("p",{className:"mt-2",children:'THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.'})]})]})})]}),(0,r.jsx)("a",{href:"https://github.com/Quinta0",target:"_blank",rel:"noopener noreferrer",className:"hover:underline",children:(0,r.jsx)(D,{className:"w-6 h-6"})}),(0,r.jsx)("a",{href:"mailto:0pietroquintavalle0@gmail.com",className:"hover:underline",children:(0,r.jsx)(U,{className:"w-6 h-6"})}),(0,r.jsx)("a",{href:"https://www.linkedin.com/in/pietro-quintavalle-996b96267/",target:"_blank",rel:"noopener noreferrer",className:"hover:underline",children:(0,r.jsx)(W,{className:"w-6 h-6"})})]})]})})]})}function D(e){return(0,r.jsx)("svg",{...e,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",stroke:"currentColor",strokeWidth:"0",children:(0,r.jsx)("path",{d:"M12 .5C5.48.5.5 5.48.5 12c0 5.08 3.29 9.35 7.85 10.86.58.1.79-.24.79-.54 0-.27-.01-.99-.01-1.94-3.19.69-3.86-1.54-3.86-1.54-.53-1.36-1.29-1.72-1.29-1.72-1.05-.72.08-.71.08-.71 1.16.08 1.77 1.2 1.77 1.2 1.03 1.77 2.69 1.26 3.34.96.1-.75.4-1.26.73-1.55-2.55-.29-5.23-1.28-5.23-5.72 0-1.26.45-2.29 1.2-3.1-.12-.29-.52-1.45.12-3.02 0 0 .97-.31 3.17 1.18.92-.26 1.91-.39 2.89-.39.98 0 1.97.13 2.89.39 2.2-1.49 3.17-1.18 3.17-1.18.64 1.57.24 2.73.12 3.02.75.81 1.2 1.84 1.2 3.1 0 4.46-2.69 5.43-5.25 5.71.41.35.78 1.03.78 2.08 0 1.5-.01 2.72-.01 3.08 0 .3.21.65.8.54C20.71 21.35 24 17.08 24 12c0-6.52-4.98-11.5-12-11.5z"})})}function U(e){return(0,r.jsx)("svg",{...e,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",stroke:"currentColor",strokeWidth:"0",children:(0,r.jsx)("path",{d:"M12 12.713l11.985-8.677a.868.868 0 0 0-.491-.148H.506c-.177 0-.344.055-.491.148L12 12.713zm0 1.431L.035 5.596A.875.875 0 0 0 0 6.125v11.75c0 .478.387.875.875.875h22.25c.478 0 .875-.387.875-.875V6.125a.875.875 0 0 0-.035-.529L12 14.144z"})})}function W(e){return(0,r.jsx)("svg",{...e,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",stroke:"currentColor",strokeWidth:"0",children:(0,r.jsx)("path",{d:"M19 0h-14c-2.761 0-5 2.239-5 5v14c0 2.761 2.239 5 5 5h14c2.761 0 5-2.239 5-5v-14c0-2.761-2.239-5-5-5zm-11 19h-3v-11h3v11zm-1.5-12.5c-.966 0-1.75-.784-1.75-1.75s.784-1.75 1.75-1.75 1.75.784 1.75 1.75-.784 1.75-1.75 1.75zm13.5 12.5h-3v-5.5c0-1.379-1.121-2.5-2.5-2.5s-2.5 1.121-2.5 2.5v5.5h-3v-11h3v1.474c.809-1.161 2.201-1.974 3.5-1.974 2.481 0 4.5 2.019 4.5 4.5v7z"})})}L.displayName=k.dk.displayName}},function(e){e.O(0,[57,971,23,744],function(){return e(e.s=5515)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/index.html b/index.html index fd3064d..f7a1a33 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -

Algorithm Visualizer

bubble sort

Bubble Sort

Time: O(n^2)
Space: O(1)

Bubble sort is a simple sorting algorithm that repeatedly steps through the list, compares adjacent elements and swaps them if they are in the wrong order. The pass through the list is repeated until the list is sorted.

© 2024 Quintavalle Pietro. All rights reserved.

\ No newline at end of file +

Algorithm Visualizer

bubble sort

Bubble Sort

Time: O(n^2)
Space: O(1)

Bubble sort is a simple sorting algorithm that repeatedly steps through the list, compares adjacent elements and swaps them if they are in the wrong order. The pass through the list is repeated until the list is sorted.

© 2024 Quintavalle Pietro. All rights reserved.

\ No newline at end of file diff --git a/index.txt b/index.txt index ed6f935..cfc71cf 100644 --- a/index.txt +++ b/index.txt @@ -1,7 +1,7 @@ 2:I[6513,[],"ClientPageRoot"] -3:I[354,["57","static/chunks/57-0d183c493afec041.js","931","static/chunks/app/page-cc44c448a9affc46.js"],"default"] +3:I[354,["57","static/chunks/57-0d183c493afec041.js","931","static/chunks/app/page-fe9d2a2e383be08e.js"],"default"] 4:I[9275,[],""] 5:I[1343,[],""] -0:["i6lWKWHgu2mcQdEioHM-H",[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}]],null],null]},[["$","html",null,{"lang":"en","children":["$","body",null,{"className":"antialiased __variable_0dfae3","children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"styles":null}]}]}],null],null],[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e393b905c6a9d56d.css","precedence":"next","crossOrigin":"$undefined"}]],"$L6"]]]] +0:["LqidurQg98A-YDslIFrzi",[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}]],null],null]},[["$","html",null,{"lang":"en","children":["$","body",null,{"className":"antialiased __variable_0dfae3","children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"styles":null}]}]}],null],null],[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e393b905c6a9d56d.css","precedence":"next","crossOrigin":"$undefined"}]],"$L6"]]]] 6:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","link","2",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"16x16"}],["$","meta","3",{"name":"next-size-adjust"}]] 1:null