import{c as N,a as p,f as I}from"./Bh-96fzJ.js";import{k as U,d as e,r as t,n as w,s as x,t as k}from"./mO2F3zLa.js";import{s as n}from"./eH5yZvH4.js";import{i as V}from"./tuD4s8Oc.js";import{a as b,s as B}from"./DhvLCtu-.js";import{p as C}from"./ECMuNRdJ.js";var D=I('<div class="group block p-6 bg-white rounded-2xl border border-gray-100 opacity-75"><div class="flex items-start justify-between mb-4"><div class="w-12 h-12 rounded-xl bg-gray-100 flex items-center justify-center"><span class="text-2xl grayscale"> </span></div> <span class="text-xs font-medium px-2 py-1 rounded-full bg-gray-100 text-gray-500">Coming Soon</span></div> <h3 class="text-lg font-semibold text-gray-400 mb-2"> </h3> <p class="text-gray-400 text-sm leading-relaxed"> </p></div>'),Z=I('<a class="group block p-6 bg-white rounded-2xl border border-gray-100 card-hover"><div class="flex items-start justify-between mb-4"><div class="w-12 h-12 rounded-xl bg-primary-50 flex items-center justify-center transition-transform group-hover:scale-110"><span class="text-2xl"> </span></div> <span> </span></div> <h3 class="text-lg font-semibold text-gray-900 mb-2 group-hover:text-primary-600 transition-colors"> </h3> <p class="text-gray-600 text-sm leading-relaxed"> </p> <div class="mt-4 flex items-center text-primary-600 text-sm font-medium"><span> </span> <svg class="w-4 h-4 ml-1 transition-transform group-hover:translate-x-1" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg></div></a>');function K(T,r){let j=C(r,"status",3,"live"),c=C(r,"external",3,!1);function A(s){switch(s.toUpperCase()){case"INTERACTIVE":return"bg-purple-100 text-purple-700";case"STATISTICS":return"bg-blue-100 text-blue-700";case"VISUALIZATION":return"bg-green-100 text-green-700";case"ML":return"bg-orange-100 text-orange-700";case"EDA":return"bg-teal-100 text-teal-700";case"TOOL":return"bg-indigo-100 text-indigo-700";default:return"bg-gray-100 text-gray-700"}}var _=N(),S=U(_);{var E=s=>{var a=D(),i=e(a),l=e(i),v=e(l),u=e(v,!0);t(v),t(l),w(2),t(i);var o=x(i,2),g=e(o,!0);t(o);var d=x(o,2),m=e(d,!0);t(d),t(a),k(()=>{n(u,r.icon),n(g,r.title),n(m,r.description)}),p(s,a)},O=s=>{var a=Z(),i=e(a),l=e(i),v=e(l),u=e(v,!0);t(v),t(l);var o=x(l,2),g=e(o,!0);t(o),t(i);var d=x(i,2),m=e(d,!0);t(d);var f=x(d,2),L=e(f,!0);t(f);var y=x(f,2),h=e(y),R=e(h,!0);t(h),w(2),t(y),t(a),k(M=>{b(a,"href",r.href),b(a,"target",c()?"_blank":void 0),b(a,"rel",c()?"noopener noreferrer":void 0),n(u,r.icon),B(o,1,`text-xs font-medium px-2 py-1 rounded-full ${M??""}`),n(g,r.category),n(m,r.title),n(L,r.description),n(R,c()?"Open":"Explore")},[()=>A(r.category)]),p(s,a)};V(S,s=>{j()==="coming-soon"?s(E):s(O,!1)})}p(T,_)}export{K as R};
