From 8b60278136ad6da934e92d7731853040f92c4344 Mon Sep 17 00:00:00 2001 From: Vivek W <92390419+AryanVBW@users.noreply.github.com> Date: Sat, 16 Nov 2024 20:26:20 +0530 Subject: [PATCH] Update vivek.js --- assets/vivek.js | 162 ++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 149 insertions(+), 13 deletions(-) diff --git a/assets/vivek.js b/assets/vivek.js index c9ac61e..45555d3 100644 --- a/assets/vivek.js +++ b/assets/vivek.js @@ -1,32 +1,168 @@ -function Qc(e,t){for(var n=0;n>>1,J=_[Q];if(00){_[0]=T;var Q=0;for(;;){var J=2*Q+1,K=J+1,Z=_[J];if(K<_.length&&l(Z,_[K])>0&&(J=K,Z=_[K]),l(T,Z)<=0)break;_[Q]=Z,_[J]=T,Q=J}}return z}})(this); +// Function to handle a min-heap data structure +(function(e){ + function t(_,z){ + var T=_.length; + _.push(z); + e:for(;0>>1,J=_[Q]; + if(00){ + _[0]=T; + var Q=0; + for(;;){ + var J=2*Q+1,K=J+1,Z=_[J]; + if(K<_.length&&l(Z,_[K])>0&&(J=K,Z=_[K]),l(T,Z)<=0) break; + _[Q]=Z,_[J]=T,Q=J; + } + } + return z; + } +})(this); -var gf=x,we=yf;function k(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;ni||e[l]!==r[i]){var o="\n"+e[l].replace(" at new "," at ");return e.displayName&&o.includes("")&&(o=o.replace("",e.displayName)),o}while(1<=l&&0<=i);break}}finally{Il=!1,Error.prepareStackTrace=n}return""} +// Function to prepare stack trace for errors +var Il=!1; +function Fl(e,t){ + if(!e||Il) return ""; + Il=!0; + var n=Error.prepareStackTrace; + Error.prepareStackTrace=void 0; + try{ + if(t) + if(t=function(){ throw Error() }, + Object.defineProperty(t.prototype,"props",{get:function(){ throw Error() }}), + t(), Error.captureStackTrace(t), t.stack) + for(var r=t.stack.split("\n"),l=e.length-1,i=r.length-1;1<=l&&0<=i&&e[l]!==r[i];)i--; + for(;1<=l&&0<=i;l--,i--) + if(e[l]!==r[i]){ + if(l!==1||i!==1) + do if(l--,i--,0>i||e[l]!==r[i]){ + var o="\n"+e[l].replace(" at new "," at "); + return e.displayName&&o.includes("")&&(o=o.replace("",e.displayName)),o; + }while(1<=l&&0<=i); + break; + } + } finally { Il=!1, Error.prepareStackTrace=n } + return ""; +} -function Sr(e,t,n){if(t=zu(t),zu(e)!==t&&n)throw Error(k(425))} +// Function to validate compatibility of two types +function Sr(e,t,n){ + if(t=zu(t), zu(e)!==t&&n) throw Error(k(425)); +} +// Empty function placeholder function Xr(){} -var Ni=null,Li=null;function Ri(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!==null} +// Variables for internal React use +var Ni=null, Li=null; +function Ri(e,t){ + return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!==null; +} -function ti(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Ui(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n},0)}} +// Function to create an error object +function ti(e,t,n){ + return {value:e, source:null, stack:n??null, digest:t??null}; +} -function er(){return er=Object.assign?Object.assign.bind():function(e){for(var t=1;te.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase().trim(),sr=(e,t)=>{const n=x.forwardRef(({color:r="currentColor",size:l=24,strokeWidth:i=2,absoluteStrokeWidth:o,className:u="",children:c,...d},f)=>x.createElement(e,a({ref:f},d,{className:u,xmlns:Eh.xmlns,viewBox:Eh.viewBox,width:l,height:l,fill:"none",stroke:r,strokeWidth:i,strokeLinecap:Eh.strokeLinecap,strokeLinejoin:Eh.strokeLinejoin},c)))};const _h=sr("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]); +// Function to convert camelCase to kebab-case +const Ch=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase().trim(), + sr=(e,t)=>{ + const n=x.forwardRef(({color:r="currentColor",size:l=24,strokeWidth:i=2,absoluteStrokeWidth:o,className:u="",children:c,...d},f)=> + x.createElement(e, a({ref:f}, d, {className:u, xmlns:Eh.xmlns, viewBox:Eh.viewBox, width:l, height:l, fill:"none", stroke:r, strokeWidth:i, strokeLinecap:Eh.strokeLinecap, strokeLinejoin:Eh.strokeLinejoin}, c)) + ); + }; + +// Definitions for various SVG icons +const _h=sr("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]); const Ph=sr("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]); const Nh=sr("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]); const Lh=sr("Code2",[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]]);