1import"../chunks/CWj6FrbW.js";import{aT as se,Y as oe,aa as p,aU as b,Z as f,a1 as n,n as r,a0 as d,a3 as i,t as le,a5 as w,aV as _,aY as ie,_ as m,$ as ne,aZ as Y,aw as de,ay as ve,a4 as ce}from"../chunks/QLy2z4Rt.js";import{e as pe,i as me}from"../chunks/E_T2G69U.js";import{o as ue}from"../chunks/DYP9RQQZ.js";import{i as k}from"../chunks/Dh9BLS3c.js";import{s as x}from"../chunks/BAFwdxKF.js";import{s as P}from"../chunks/B1wCJMda.js";import{a as ge,g as he}from"../chunks/CYUnZVja.js";import{r as fe}from"../chunks/DxfzzSW8.js";var be=(o,t)=>{(o.key==="Enter"||o.key===" ")&&(o.preventDefault(),t())},we=f('<div class="poster-skeleton absolute inset-0 svelte-16zdtmk" aria-hidden="true"></div>'),_e=(o,t)=>{o.stopPropagation(),window.open(t.paper.paperLink,"_blank")},ke=Y('<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 text-white svelte-16zdtmk" viewBox="0 0 20 20" fill="currentColor"><path fill-rule="evenodd" d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zM7 8a1 1 0 012 0v4a1 1 0 11-2 0V8zm5-1a1 1 0 00-1 1v4a1 1 0 102 0V8a1 1 0 00-1-1z" clip-rule="evenodd" class="svelte-16zdtmk"></path></svg>'),xe=Y('<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 text-white svelte-16zdtmk" viewBox="0 0 20 20" fill="currentColor"><path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zM9.555 7.168A1 1 0 008 8v4a1 1 0 001.555.832l3-2a1 1 0 000-1.664l-3-2z" clip-rule="evenodd" class="svelte-16zdtmk"></path></svg>'),ye=(o,t)=>{o.stopPropagation(),window.open(t.paper.codeLink,"_blank")},ze=f('<button class="flex items-center justify-center rounded bg-gray-600/90 p-2 transition-colors hover:bg-gray-600 svelte-16zdtmk" title="View Code" aria-label="View Code"><svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 text-white svelte-16zdtmk" viewBox="0 0 20 20" fill="currentColor"><path fill-rule="evenodd" d="M12.316 3.051a1 1 0 01.633 1.265l-4 12a1 1 0 11-1.898-.632l4-12a1 1 0 011.265-.633zM5.707 6.293a1 1 0 010 1.414L3.414 10l2.293 2.293a1 1 0 11-1.414 1.414l-3-3a1 1 0 010-1.414l3-3a1 1 0 011.414 0zm8.586 0a1 1 0 011.414 0l3 3a1 1 0 010 1.414l-3 3a1 1 0 11-1.414-1.414L16.586 10l-2.293-2.293a1 1 0 010-1.414z" clip-rule="evenodd" class="svelte-16zdtmk"></path></svg></button>'),Ae=f('<div class="bg-orange absolute top-2 right-2 flex items-center gap-1 rounded-full px-2 py-1 svelte-16zdtmk"><div class="flex gap-0.5 svelte-16zdtmk"><div class="h-3 w-0.5 animate-pulse bg-white svelte-16zdtmk"></div> <div class="h-3 w-0.5 animate-pulse bg-white delay-75 svelte-16zdtmk"></div> <div class="h-3 w-0.5 animate-pulse bg-white delay-150 svelte-16zdtmk"></div></div></div>'),Ce=f('<div role="button" tabindex="0"><div class="poster-container relative aspect-[2/3] w-full overflow-hidden svelte-16zdtmk"><!> <img loading="lazy" decoding="async"/> <div class="absolute top-2 left-2 rounded bg-black/70 px-2 py-1 text-xs font-semibold text-white backdrop-blur-sm svelte-16zdtmk"> </div> <div class="absolute inset-0 bg-gradient-to-t from-black/90 via-black/50 to-transparent opacity-0 transition-opacity duration-300 group-hover:opacity-100 svelte-16zdtmk"></div> <div class="absolute right-0 bottom-0 left-0 translate-y-full p-4 transition-transform duration-300 group-hover:translate-y-0 svelte-16zdtmk"><h3 class="mb-2 text-lg font-bold text-white svelte-16zdtmk"> </h3> <div class="mb-2 text-sm text-gray-400 svelte-16zdtmk"> </div> <p class="mb-3 text-sm text-gray-300 svelte-16zdtmk"> </p> <div class="flex gap-2 svelte-16zdtmk"><button class="flex items-center justify-center rounded bg-white p-2 transition-colors hover:bg-gray-200 svelte-16zdtmk" title="Read Paper" aria-label="Read Paper"><svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 text-black svelte-16zdtmk" viewBox="0 0 20 20" fill="currentColor"><path d="M9 4.804A7.968 7.968 0 005.5 4c-1.255 0-2.443.29-3.5.804v10A7.969 7.969 0 015.5 14c1.669 0 3.218.51 4.5 1.385A7.962 7.962 0 0114.5 14c1.255 0 2.443.29 3.5.804v-10A7.968 7.968 0 0014.5 4c-1.255 0-2.443.29-3.5.804V12a1 1 0 11-2 0V4.804z" class="svelte-16zdtmk"></path></svg></button> <button><!></button> <!></div></div> <!></div></div>');function Me(o,t){oe(t,!0);let u=b(!1),a=b(!1),v=b(!1),l=null,y=b(!1);const Z=`/research/papers/${t.paper.slug}/_opt/cover-card.webp`,H=`/research/papers/${t.paper.slug}/${t.paper.audioSummary}`;ue(()=>{p(y,"ontouchstart"in window||navigator.maxTouchPoints>0,!0)});function U(){if(!r(y)){p(u,!0),ge(`/research/${t.paper.slug}`).catch(()=>{});const e=new Image;e.src=`/research/papers/${t.paper.slug}/_opt/cover.webp`}}function q(){r(y)||(p(u,!1),R())}function F(e){e.preventDefault(),e.stopPropagation(),l||(l=new Audio(H),l.addEventListener("ended",()=>{p(a,!1)})),r(a)?R():(l.play(),p(a,!0))}function R(){l&&(l.pause(),l.currentTime=0,p(a,!1))}function V(){he(`/research/${t.paper.slug}`)}var c=Ce();let S;c.__click=V,c.__keydown=[be,V];var j=n(c),B=n(j);{var G=e=>{var s=we();m(e,s)};k(B,e=>{r(v)||e(G)})}var g=d(B,2);let D;var z=d(g,2),J=n(z,!0);i(z);var A=d(z,4),C=n(A),K=n(C,!0);i(C);var M=d(C,2),N=n(M,!0);i(M);var L=d(M,2),O=n(L,!0);i(L);var E=d(L,2),T=n(E);T.__click=[_e,t];var h=d(T,2);h.__click=F;let I;var Q=n(h);{var W=e=>{var s=ke();m(e,s)},X=e=>{var s=xe();
1m(e,s)};k(Q,e=>{r(a)?e(W):e(X,!1)})}i(h);var $=d(h,2);{var ee=e=>{var s=ze();s.__click=[ye,t],m(e,s)};k($,e=>{t.paper.codeLink&&e(ee)})}i(E),i(A);var te=d(A,2);{var ae=e=>{var s=Ae();m(e,s)};k(te,e=>{r(a)&&e(ae)})}i(j),i(c),le((e,s,re)=>{S=P(c,1,"research-card group relative cursor-pointer overflow-hidden rounded-lg transition-all duration-300 ease-out svelte-16zdtmk",null,S,e),x(g,"src",Z),x(g,"alt",t.paper.title),D=P(g,1,"h-full w-full object-cover transition duration-500 ease-out group-hover:scale-110 svelte-16zdtmk",null,D,s),w(J,t.paper.year),w(K,t.paper.title),w(N,t.paper.venue),w(O,t.paper.description),I=P(h,1,"flex items-center justify-center rounded bg-gray-600/90 p-2 transition-colors hover:bg-gray-600 svelte-16zdtmk",null,I,re),x(h,"title",r(a)?"Stop Audio":"Listen to Summary"),x(h,"aria-label",r(a)?"Stop Audio":"Listen to Summary")},[()=>({hovered:r(u)}),()=>({"opacity-0":!r(v)}),()=>({"bg-orange":r(a),"hover:bg-orange":r(a)})]),_("mouseenter",c,U),_("mouseleave",c,q),_("load",g,()=>p(v,!0)),_("error",g,()=>p(v,!0)),ie(g),m(o,c),ne()}se(["click","keydown"]);var Le=f(`<meta name="description" content="Academic research papers and publications by Arihant."/> <link rel="canonical" href="https://arihant25.github.io/research"/> <meta property="og:title" content="Research | Arihant's Corner"/> <meta property="og:description" content="Academic research papers and publications by Arihant."/> <meta property="og:type" content="website"/> <meta property="og:url" content="https://arihant25.github.io/research"/> <meta property="og:image" content="https://arihant25.github.io/avatar.png"/> <meta name="twitter:title" content="Research | Arihant's Corner"/> <meta name="twitter:description" content="Academic research papers and publications by Arihant."/> <meta name="twitter:image" content="https://arihant25.github.io/avatar.png"/>`,1),Pe=f('<div class="mx-auto flex flex-col items-center p-5 py-12 sm:px-6 lg:px-8"><h1 class="mt-8 mb-16 w-full text-center text-7xl font-bold sm:text-8xl lg:text-8xl">Research<span class="orange">.</span></h1> <div class="mb-12 grid grid-cols-1 items-stretch gap-8 sm:grid-cols-2 sm:gap-12 md:gap-16 lg:grid-cols-3 xl:grid-cols-4"></div></div>');function Ye(o,t){var u=Pe();de(v=>{var l=Le();ve.title="Research | Arihant",ce(18),m(v,l)});var a=d(n(u),2);pe(a,21,()=>fe,me,(v,l)=>{Me(v,{get paper(){return r(l)}})}),i(a),i(u),m(o,u)}export{Ye as component};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.