PageSourceSearch

https://delphigrc.org/assets/index-C_oSc_qP.js

js delphigrc.org collected 2026-09-25 20:47:55 UTC 408,965 bytes, 4 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-DhmtBasA.js","assets/vendor-react-BH6F5oQJ.js","assets/exports-C9FZZXUj.js","assets/ResearchManagingMoscow-K9FCVJTi.js","assets/FullWidthArticleCard-nxhNbr7L.js","assets/vendor-icons-CaI5__By.js","assets/vendor-ui-B4WC06Sp.js","assets/vendor-query-CC4VRGyP.js","assets/vendor-supabase-COwyE4EW.js","assets/ResearchRussiaChina-K01pL8pF.js","assets/ResearchBlackSea-7Ppc1cXM.js","assets/ResearchBalticSea-BkqUkYbO.js","assets/ResearchCentralAsia-DedzMG1O.js","assets/ResearchArctic-DpgeHXrB.js","assets/ResearchNATOEurope-q9zeiavd.js","assets/ResearchRussiaUkraineWar--ARPjIgQ.js","assets/Research-BAumvRzd.js","assets/usePages-DATyJ6bv.js","assets/LazyRichTextEditor-CXLEt1G2.js","assets/ResearchDetail-DCftOkvh.js","assets/ogImage-5aQVhhu0.js","assets/PersonCard-Dhs6VyeD.js","assets/dropdown-menu-YTVGj1XK.js","assets/index-D5Ei2fSx.js","assets/Combination-DzDAyqvK.js","assets/sentry-DuxL6QJr.js","assets/socialSharing-lIC7LEty.js","assets/Publications-BGrNcWuc.js","assets/Articles-C5jbWtpa.js","assets/Reports-CRW_8H-9.js","assets/Opinion-D6nR_zXN.js","assets/Announcements-BHezZiP8.js","assets/AudioVideo-D--8FkNg.js","assets/youtube-CvM_n7CG.js","assets/NewsMedia-CdxYdZj0.js","assets/EventDetail-DdgYNB-l.js","assets/EventShareMenu-D_pFae9X.js","assets/Events-CXX3LAb0.js","assets/useEventsHero-BWH5HzKL.js","assets/FellowDetail-B2qr3gpj.js","assets/slugRedirects-DIYTZ-hA.js","assets/tabs-m_pU4RZL.js","assets/ScholarMetrics-f3PYMzgm.js","assets/Fellows-Byh2ma4w.js","assets/LeadershipDetail-6t8hm-cK.js","assets/useLeadership-C6Qu9TbH.js","assets/Leadership-o5BZAlNo.js","assets/AuthorDetail-DS8DWSTy.js","assets/format-hXGQLsWs.js","assets/en-US-DUAJ-5Wt.js","assets/Partners-QwjN0LwY.js","assets/usePartners-ChblYue0.js","assets/About-CZefDoBN.js","assets/Contact-CKm6d7MU.js","assets/textarea-BWP5M5Bk.js","assets/label-s7VY6HWn.js","assets/types-BnfuoFvn.js","assets/CrisisManagementCourse-vrd7f0Sl.js","assets/CourseDetail-DfG6mFxv.js","assets/ScholarLeaderboard-hFyJ5IT_.js","assets/EventProgram-D1Ze3RZ5.js","assets/EventAgenda-CPU_oumR.js","assets/useEventAgenda-BDQp-wRk.js","assets/select-DR0VJVi7.js","assets/index-B3FPD4RS.js","assets/EventAgendaSession-BpvHjv2L.js","assets/UserProfile-3stO5Zru.js","assets/separator-Cc2qsRsv.js","assets/Login-BFqvdiqi.js","assets/validations-CCZ89lfg.js","assets/slug-D4LuRHo0.js","assets/Register-Bd-2Lob5.js","assets/alert-gJEfE0zA.js","assets/PendingApproval-1XRbI4wM.js","assets/NotFound-CuoH_fuW.js","assets/useRedirects-HaWTrCuo.js","assets/ServerError-ZX4OMcUR.js","assets/ServiceUnavailable-D7Dyh2zw.js","assets/Unauthorized-DIP30ZwK.js","assets/SlugResolver-BcTAMnkU.js","assets/AdminDashboard-1DKNpDon.js","assets/AdminLayout-DnnQLcVN.js","assets/index-CCdGLatk.js","assets/calendar-BfYv_R1n.js","assets/useActivityLogs-B1EDBSIl.js","assets/useAdminActivityNotifications-COZyAecB.js","assets/analyticsMerge-CWJmYNAk.js","assets/BarChart-CX-mGFkN.js","assets/index-DE-eAtGG.js","assets/AdminResearch-DxV5-zcc.js","assets/AdminAbout-BoVWPk70.js","assets/alert-dialog-CVco_Hni.js","assets/AdminLeadership-CI0hZ4-P.js","assets/switch-DwTQPZ7F.js","assets/table-BexhSyg2.js","assets/dialog-D-Ed7GOQ.js","assets/useActivityLogger-C6jwQw68.js","assets/AdminPublications-D8qnfvhR.js","assets/checkbox-BMU5ZBBh.js","assets/AdminAnnouncements-t6tDwheS.js","assets/AdminNewsMedia-Br_5QlM1.js","assets/AdminInvitations-CeUfeRRw.js","assets/AdminPendingApprovals-BgEJDmxF.js","assets/AdminFellows-DeVrZd5Z.js","assets/useFellows-DMaMaGGo.js","assets/AdminEducation-DCXrv7j9.js","assets/AdminAnalytics-ByyXfPL2.js","assets/AdminSettings-mqHUHTfW.js","assets/AdminPages-CvuuBJd_.js","assets/AdminNewsletterSubscribers-CCY9F8u_.js","assets/AdminContactSubmissions-aociYqjQ.js","assets/AdminEvents-CtVAoSrF.js","assets/AdminEventAgenda-BFe7cJaT.js","assets/AdminPartners-CCJSoVJd.js","assets/Admin404Logs-CYEY97mm.js","assets/AdminScholarImport-u0kzzi0b.js","assets/AdminActivityLogs-BVbcvQeg.js","assets/AdminDatabaseCheck-BFgRz1J2.js","assets/AdminUserManagement-DRpSTVjR.js"])))=>i.map(i=>d[i]);
2var e,t,a=Object.defineProperty,r=(e,t,r)=>((e,t,r)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r)(e,"symbol"!=typeof t?t+"":t,r);import{r as s,j as n,a as i,f as o,h as l,g as c,d,L as u,b as h,N as p,i as m,k as f,l as g,m as b}from"./vendor-react-BH6F5oQJ.js";import{P as y,a as v,c as w,u as x,B as _,d as j,j as k,f as T,e as S,s as N,k as E,r as A,i as R,o as C,D as I,C as O,t as D,g as P,R as q,A as z,S as L}from"./vendor-ui-B4WC06Sp.js";import{X as M,H as U,R as F,K as $,B,F as W,d as V,b2 as G,s as H,m as Y,C as K,M as J,b3 as Q,b4 as X,y as Z,b5 as ee,b6 as te,ag as ae,u as re,Y as se,g as ne,h as ie,v as oe,aB as le,k as ce,b7 as de,a as ue,c as he,A as pe,U as me,b8 as fe,E as ge}from"./vendor-icons-CaI5__By.js";import{u as be,a as ye,b as ve,Q as we,c as xe}from"./vendor-query-CC4VRGyP.js";import{c as _e}from"./vendor-supabase-COwyE4EW.js";!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver(e=>{for(const a of e)if("childList"===a.type)for(const e of a.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)}).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}();const je={},ke=function(e,t,a){let r=Promise.resolve();if(t&&t.length>0){document.getElementsByTagName("link");const e=document.querySelector("meta[property=csp-nonce]"),a=(null==e?void 0:e.nonce)||(null==e?void 0:e.getAttribute("nonce"));r=Promise.allSettled(t.map(e=>{if((e=function(e){return"/"+e}(e))in je)return;je[e]=!0;const t=e.endsWith(".css"),r=t?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${e}"]${r}`))return;const s=document.createElement("link");return s.rel=t?"stylesheet":"modulepreload",t||(s.as="script"),s.crossOrigin="",s.href=e,a&&s.setAttribute("nonce",a),document.head.appendChild(s),t?new Promise((t,a)=>{s.addEventListener("load",t),s.addEventListener("error",()=>
2a(new Error(`Unable to preload CSS for ${e}`)))}):void 0}))}function s(e){const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(const e of t||[])"rejected"===e.status&&s(e.reason);return e().catch(s)})};let Te=0;const Se=new Map,Ne=e=>{if(Se.has(e))return;const t=setTimeout(()=>{Se.delete(e),Ce({type:"REMOVE_TOAST",toastId:e})},1e6);Se.set(e,t)},Ee=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{const{toastId:a}=t;return a?Ne(a):e.toasts.forEach(e=>{Ne(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===a||void 0===a?{...e,open:!1}:e)}}case"REMOVE_TOAST":return void 0===t.toastId?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},Ae=[];let Re={toasts:[]};function Ce(e){Re=Ee(Re,e),Ae.forEach(e=>{e(Re)})}function Ie({...e}){const t=(Te=(Te+1)%Number.MAX_SAFE_INTEGER,Te.toString()),a=()=>Ce({type:"DISMISS_TOAST",toastId:t});return Ce({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:e=>{e||a()}}}),{id:t,dismiss:a,update:e=>Ce({type:"UPDATE_TOAST",toast:{...e,id:t}})}}function Oe(){const[e,t]=s.useState(Re);return s.useEffect(()=>(Ae.push(t),()=>{const e=Ae.indexOf(t);e>-1&&Ae.splice(e,1)}),[e]),{...e,toast:Ie,dismiss:e=>Ce({type:"DISMISS_TOAST",toastId:e})}}var De=Object.defineProperty,Pe=(e,t)=>De(e,"name",{value:t,configurable:!0}),qe=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),ze=s.forwardRef(Pe(function(e,t){return n.jsx(y.span,{...e,ref:t,style:{...qe,...e.style}})},"VisuallyHidden")),Le=ze,Me=Object.defineProperty,Ue=(e,t)=>Me(e,"name",{value:t,configurable:!0}),[Fe,$e,Be]=v("Toast"),[We,Ve]=w("Toast",[Be]),[Ge,He]=We("ToastProvider"),Ye=Ue(e=>{const{__scopeToast:t,label:a="Notification",duration:r=5e3,swipeDirection:i="right",swipeThreshold:o=50,announcerContainer:l,children:c}=e,[d,u]=s.useState(null),[h,p]=s.useState(0),m=s.useRef(!1);return a.trim(),n.jsx(Fe.Provider,{scope:t,children:n.jsx(Ge,{scope:t,label:a,duration:r,swipeDirection:i,swipeThreshold:o,toastCount:h,viewport:d,onViewportChange:u,onToastAdd:s.useCallback(()=>p(e=>e+1),[]),onToastRemove:s.useCallback(()=>p(e=>e-1),[]),isClosePausedRef:m,announcerContainer:l,children:c})})},"ToastProvider"),Ke=["F8"],Je="toast.viewportPause",Qe="toast.viewportResume",Xe=s.forwardRef(Ue(function(e,t){const{__scopeToast:a,hotkey:r=Ke,label:i="Notifications ({hotkey})",...o}=e,l=He("ToastViewport",a),c=$e(a),d=s.useRef(null),u=s.useRef(null),h=s.useRef(null),p=s.useRef(null),m=x(t,p,l.onViewportChange),f=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),g=l.toastCount>0;s.useEffect(()=>{const e=Ue(e=>{var t;0!==r.length&&r.every(t=>e[t]||e.code===t)&&(null==(t=p.current)||t.focus())},"handleKeyDown");return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[r]),s.useEffect(()=>{const e=d.current,t=p.current;if(g&&e&&t){const a=Ue(()=>{if(!l.isClosePausedRef.current){const e=new CustomEvent(Je);t.dispatchEvent(e),l.isClosePausedRef.current=!0}},"handlePause"),r=Ue(()=>{if(l.isClosePausedRef.current){const e=new CustomEvent(Qe);t.dispatchEvent(e),l.isClosePausedRef.current=!1}},"handleResume"),s=Ue(t=>{!e.contains(t.relatedTarget)&&r()},"handleFocusOutResume"),n=Ue(()=>{e.contains(document.activeElement)||r()},"handlePointerLeaveResume");return e.addEventListener("focusin",a),e.addEventListener("focusout",s),e.addEventListener("pointermove",a),e.addEventListener("pointerleave",n),window.addEventListener("blur",a),window.addEventListener("focus",r),()=>{e.removeEventListener("focusin",a),e.removeEventListener("focusout",s),e.removeEventListener("pointermove",a),e.removeEventListener("pointerleave",n),window.removeEventListener("blur",a),window.removeEventListener("focus",r)}}},[g,l.isClosePausedRef]);const b=s.useCallback(({tabbingDirection:e})=>{const t=c().map(t=>{const a=t.ref.current,r=[a,...gt(a)];return"forwards"===e?r:r.reverse()});return("forwards"===e?t.reverse():t).flat()},[c]);return s.useEffect(()=>{const e=p.current;if(e){const t=Ue(t=>{var a,r,s;const n=t.altKey||t.ctrlKey||t.metaKey;if("Tab"===t.key&&!n){const n=document.activeElement,i=t.shiftKey;if(t.target===e&&i)return void(null==(a=u.current)||a.focus());const o=b({tabbingDirection:i?"backwards":"forwards"}),l=o.findIndex(e=>e===n);bt(o.slice(l+1))?t.preventDefault():i?null==(r=u.current)||r.focus():null==(s=h.current)||s.focus()}},"handleKeyDown");return e.addEventListener("keydown",t),()=>e.removeEventListener("keydown",t)}},[c,b]),n.jsxs(_,{ref:d,role:"region","aria-label":i.replace("{hotkey}",f),tabIndex:-1,style:{pointerEvents:g?void 0:"none"},children:[g&&n.jsx(Ze,{ref:u,onFocusFromOutsideViewport:()=>{bt(b({tabbingDirection:"forwards"}))}}),n.jsx(Fe.Slot,{scope:a,children:n.jsx(y.ol,{tabIndex:-1,...o,ref:m})}),g&&n.jsx(Ze,{ref:h,onFocusFromOutsideViewport:()=>{bt(b({tabbingDirection:"backwards"}))}})]})},"ToastViewport")),Ze=s.forwardRef(Ue(function(e,t){const{__scopeToast:a,onFocusFromOutsideViewport:r,...s}=e,i=He("ToastFocusProxy",a);return n.jsx(ze,{tabIndex:0,...s,ref:t,style:{position:"fixed"},onFocus:e=>{var t;const a=e.relatedTarget;!(null==(t=i.viewport)?void 0:t.contains(a))&&r()}})},"ToastFocusProxy")),et="Toast",tt=s.forwardRef(Ue(function(e,t){const{forceMount:a,open:r,defaultOpen:s,onOpenChange:i,...o}=e,[l,c]=j({prop:r,defaultProp:s??!0,onChange:i,caller:et});return n.jsx(k,{present:a||l,children:n.jsx(st,{open:l,...o,ref:t,onClose:()=>c(!1),onPause:S(e.onPause),onResume:S(e.onResume),onSwipeStart:T(e.onSwipeStart,e=>{e.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:T(e.onSwipeMove,e=>{const{x:t,y:a}=e.detail.delta;e.currentTarget.setAttribute("data-swipe","move"),e.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${t}px`),e.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${a}px`)}),onSwipeCancel:T(e.onSwipeCancel,e=>{e.currentTarget.setAttribute("data-swipe","cancel"),e.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),e.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),e.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),e.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:T(e.onSwipeEnd,e=>{const{x:t,y:a}=e.detail.delta;e.currentTarget.setAttribute("data-swipe","end"),e.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),e.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),e.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${t}px`),e.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${a}px`),c(!1)})})})},"Toast")),[at,rt]=We(et,{onClose(){}}),st=s.forwardRef(Ue(function(e,t){const{__scopeToast:a,type:r="foreground",duration:o,open:l,onClose:c,onEscapeKeyDown:d,onPause:u,onResume:h,onSwipeStart:p,onSwipeMove:m,onSwipeCancel:f,onSwipeEnd:g,...b}
2=e,v=He(et,a),w=$e(a),[_,j]=s.useState(null),k=x(t,j),E=s.useRef(null),A=s.useRef(null),R=o||v.duration,C=s.useRef(0),I=s.useRef(R),O=s.useRef(0),{onToastAdd:D,onToastRemove:P}=v,q=S(()=>{var e;(null==_?void 0:_.contains(document.activeElement))&&(null==(e=v.viewport)||e.focus()),c()}),z=s.useCallback(e=>{e&&e!==1/0&&(window.clearTimeout(O.current),C.current=(new Date).getTime(),O.current=window.setTimeout(q,e))},[q]);s.useEffect(()=>{const e=v.viewport;if(e){const t=Ue(()=>{z(I.current),null==h||h()},"handleResume"),a=Ue(()=>{const e=(new Date).getTime()-C.current;I.current=I.current-e,window.clearTimeout(O.current),null==u||u()},"handlePause");return e.addEventListener(Je,a),e.addEventListener(Qe,t),()=>{e.removeEventListener(Je,a),e.removeEventListener(Qe,t)}}},[v.viewport,R,u,h,z]),s.useEffect(()=>{l&&!v.isClosePausedRef.current&&z(R)},[l,R,v.isClosePausedRef,z]),s.useEffect(()=>()=>{window.clearTimeout(O.current)},[]),s.useEffect(()=>(D(),()=>P()),[D,P]);const L=s.useMemo(()=>_?ut(_):null,[_]);return v.viewport?n.jsxs(n.Fragment,{children:[L&&n.jsx(nt,{__scopeToast:a,role:"status","aria-live":"foreground"===r?"assertive":"polite",children:L}),n.jsx(at,{scope:a,onClose:q,children:i.createPortal(n.jsx(Fe.ItemSlot,{scope:a,children:n.jsx(N,{asChild:!0,onEscapeKeyDown:T(d,e=>{w().some(t=>{var a;return null==(a=t.ref.current)?void 0:a.contains(e.target)})||q()}),children:n.jsx(y.li,{tabIndex:0,"data-state":l?"open":"closed","data-swipe-direction":v.swipeDirection,...b,ref:k,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:T(e.onKeyDown,e=>{"Escape"===e.key&&(null==d||d(e.nativeEvent),e.nativeEvent.defaultPrevented||q())}),onPointerDown:T(e.onPointerDown,e=>{0===e.button&&(E.current={x:e.clientX,y:e.clientY})}),onPointerMove:T(e.onPointerMove,e=>{if(!E.current)return;const t=e.clientX-E.current.x,a=e.clientY-E.current.y,r=Boolean(A.current),s=["left","right"].includes(v.swipeDirection),n=["left","up"].includes(v.swipeDirection)?Math.min:Math.max,i=s?n(0,t):0,o=s?0:n(0,a),l="touch"===e.pointerType?10:2,c={x:i,y:o},d={originalEvent:e,delta:c};r?(A.current=c,ht("toast.swipeMove",m,d,{discrete:!1})):pt(c,v.swipeDirection,l)?(A.current=c,ht("toast.swipeStart",p,d,{discrete:!1}),e.target.setPointerCapture(e.pointerId)):(Math.abs(t)>l||Math.abs(a)>l)&&(E.current=null)}),onPointerUp:T(e.onPointerUp,e=>{const t=A.current,a=e.target;if(a.hasPointerCapture(e.pointerId)&&a.releasePointerCapture(e.pointerId),A.current=null,E.current=null,t){const a=e.currentTarget,r={originalEvent:e,delta:t};pt(t,v.swipeDirection,v.swipeThreshold)?ht("toast.swipeEnd",g,r,{discrete:!0}):ht("toast.swipeCancel",f,r,{discrete:!0}),a.addEventListener("click",e=>e.preventDefault(),{once:!0})}})})})}),v.viewport)})]}):null},"ToastImpl")),nt=Ue(e=>{const{__scopeToast:t,children:a,...r}=e,i=He(et,t),[o,l]=s.useState(!1),[c,d]=s.useState(!1);return mt(()=>l(!0)),s.useEffect(()=>{const e=window.setTimeout(()=>d(!0),1e3);return()=>window.clearTimeout(e)},[]),c?null:n.jsx(E,{asChild:!0,container:i.announcerContainer||void 0,children:n.jsx(ze,{...r,children:o&&n.jsxs(n.Fragment,{children:[i.label," ",a]})})})},"ToastAnnounce"),it=s.forwardRef(Ue(function(e,t){const{__scopeToast:a,...r}=e;return n.jsx(y.div,{...r,ref:t})},"ToastTitle")),ot=s.forwardRef(Ue(function(e,t){const{__scopeToast:a,...r}=e;return n.jsx(y.div,{...r,ref:t})},"ToastDescription")),lt=s.forwardRef(Ue(function(e,t){const{altText:a,...r}=e;return a.trim()?n.jsx(dt,{altText:a,asChild:!0,children:n.jsx(ct,{...r,ref:t})}):null},"ToastAction")),ct=s.forwardRef(Ue(function(e,t){const{__scopeToast:a,...r}=e,s=rt("ToastClose",a);return n.jsx(dt,{asChild:!0,children:n.jsx(y.button,{type:"button",...r,ref:t,onClick:T(e.onClick,s.onClose)})})},"ToastClose")),dt=s.forwardRef(Ue(function(e,t){const{__scopeToast:a,altText:r,...s}=e;return n.jsx(y.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...s,ref:t})},"ToastAnnounceExclude"));function ut(e){const t=[];return Array.from(e.childNodes).forEach(e=>{if(e.nodeType===e.TEXT_NODE&&e.textContent&&t.push(e.textContent),ft(e)){const a=e.ariaHidden||e.hidden||"none"===e.style.display,r=""===e.dataset.radixToastAnnounceExclude;if(!a)if(r){const a=e.dataset.radixToastAnnounceAlt;a&&t.push(a)}else t.push(...ut(e))}}),t}function ht(e,t,a,{discrete:r}){const s=a.originalEvent.currentTarget,n=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:a});t&&s.addEventListener(e,t,{once:!0}),r?A(s,n):s.dispatchEvent(n)}Ue(ut,"getAnnounceTextContent"),Ue(ht,"handleAndDispatchCustomEvent");var pt=Ue((e,t,a=0)=>{const r=Math.abs(e.x),s=Math.abs(e.y),n=r>s;return"left"===t||"right"===t?n&&r>a:!n&&s>a},"isDeltaInDirection");function mt(e=()=>{}){const t=S(e);R(()=>{let e=0,a=0;return e=window.requestAnimationFrame(()=>a=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(e),window.cancelAnimationFrame(a)}},[t])}
vendor: 4,279 bytes, line 2
2function ft(e){return e.nodeType===e.ELEMENT_NODE}function gt(e){const t=[],a=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:Ue(e=>{const t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;a.nextNode();)t.push(a.currentNode);return t}function bt(e){const t=document.activeElement;return e.some(e=>e===t||(e.focus(),document.activeElement!==t))}Ue(mt,"useNextFrame"),Ue(ft,"isHTMLElement"),Ue(gt,"getTabbableCandidates"),Ue(bt,"focusFirst");var yt=Ye,vt=Xe,wt=tt,xt=it,_t=ot,jt=lt,kt=ct;function Tt(e){var t,a,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(a=Tt(e[t]))&&(r&&(r+=" "),r+=a)}else for(a in e)e[a]&&(r&&(r+=" "),r+=a);return r}function St(){for(var e,t,a=0,r="",s=arguments.length;a<s;a++)(e=arguments[a])&&(t=Tt(e))&&(r&&(r+=" "),r+=t);return r}const Nt=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,Et=St,At=(e,t)=>a=>{var r;if(null==(null==t?void 0:t.variants))return Et(e,null==a?void 0:a.class,null==a?void 0:a.className);const{variants:s,defaultVariants:n}=t,i=Object.keys(s).map(e=>{const t=null==a?void 0:a[e],r=null==n?void 0:n[e];if(null===t)return null;const i=Nt(t)||Nt(r);return s[e][i]}),o=a&&Object.entries(a).reduce((e,t)=>{let[a,r]=t;return void 0===r||(e[a]=r),e},{}),l=null==t||null===(r=t.compoundVariants)||void 0===r?void 0:r.reduce((e,t)=>{let{class:a,className:r,...s}=t;return Object.entries(s).every(e=>{let[t,a]=e;return Array.isArray(a)?a.includes({...n,...o}[t]):{...n,...o}[t]===a})?[...e,a,r]:e},[]);return Et(e,i,l,null==a?void 0:a.class,null==a?void 0:a.className)},Rt=e=>{const t=Dt(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{const a=e.split("-");return""===a[0]&&1!==a.length&&a.shift(),Ct(a,t)||Ot(e)},getConflictingClassGroupIds:(e,t)=>{const s=a[e]||[];return t&&r[e]?[...s,...r[e]]:s}}},Ct=(e,t)=>{var a;if(0===e.length)return t.classGroupId;const r=e[0],s=t.nextPart.get(r),n=s?Ct(e.slice(1),s):void 0;if(n)return n;if(0===t.validators.length)return;const i=e.join("-");return null==(a=t.validators.find(({validator:e})=>e(i)))?void 0:a.classGroupId},It=/^\[(.+)\]$/,Ot=e=>{if(It.test(e)){const t=It.exec(e)[1],a=null==t?void 0:t.substring(0,t.indexOf(":"));if(a)return"arbitrary.."+a}},Dt=e=>{const{theme:t,prefix:a}=e,r={nextPart:new Map,validators:[]};return Lt(Object.entries(e.classGroups),a).forEach(([e,a])=>{Pt(a,r,e,t)}),r},Pt=(e,t,a,r)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?t:qt(t,e)).classGroupId=a)}if("function"==typeof e)return zt(e)?void Pt(e(r),t,a,r):void t.validators.push({validator:e,classGroupId:a});Object.entries(e).forEach(([e,s])=>{Pt(s,qt(t,e),a,r)})})},qt=(e,t)=>{let a=e;return t.split("-").forEach(e=>{a.nextPart.has(e)||a.nextPart.set(e,{nextPart:new Map,validators:[]}),a=a.nextPart.get(e)}),a},zt=e=>e.isThemeGetter,Lt=(e,t)=>t?e.map(([e,a])=>[e,a.map(e=>"string"==typeof e?t+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map(([e,a])=>[t+e,a])):e)]):e,Mt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,a=new Map,r=new Map;const s=(s,n)=>{a.set(s,n),t++,t>e&&(t=0,r=a,a=new Map)};return{get(e){let t=a.get(e);return void 0!==t?t:void 0!==(t=r.get(e))?(s(e,t),t):void 0},set(e,t){a.has(e)?a.set(e,t):s(e,t)}}},Ut=e=>{const{separator:t,experimentalParseClassName:a}=e,r=1===t.length,s=t[0],n=t.length,i=e=>{const a=[];let i,o=0,l=0;for(let u=0;u<e.length;u++){let c=e[u];if(0===o){if(c===s&&(r||e.slice(u,u+n)===t)){a.push(e.slice(l,u)),l=u+n;continue}if("/"===c){i=u;continue}}"["===c?o++:"]"===c&&o--}const c=0===a.length?e:e.substring(l),d=c.startsWith("!");return{modifiers:a,hasImportantModifier:d,baseClassName:d?c.substring(1):c,maybePostfixModifierPosition:i&&i>l?i-l:void 0}};return a?e=>a({className:e,parseClassName:i}):i},Ft=e=>{if(e.length<=1)return e;const t=[];let a=[];return e.forEach(e=>{"["===e[0]?(t.push(...a.sort(),e),a=[]):a.push(e)}),t.push(...a.sort()),t},$t=/\s+/;function Bt(){let e,t,a=0,r="";for(;a<arguments.length;)(e=arguments[a++])&&(t=Wt(e))&&(r&&(r+=" "),r+=t);return r}const Wt=e=>{if("string"==typeof e)return e;let t,a="";for(let r=0;r<e.length;
vendor: 4,729 bytes, line 2
2r++)e[r]&&(t=Wt(e[r]))&&(a&&(a+=" "),a+=t);return a};function Vt(e,...t){let a,r,s,n=function(o){const l=t.reduce((e,t)=>t(e),e());return a=(e=>({cache:Mt(e.cacheSize),parseClassName:Ut(e),...Rt(e)}))(l),r=a.cache.get,s=a.cache.set,n=i,i(o)};function i(e){const t=r(e);if(t)return t;const n=((e,t)=>{const{parseClassName:a,getClassGroupId:r,getConflictingClassGroupIds:s}=t,n=[],i=e.trim().split($t);let o="";for(let l=i.length-1;l>=0;l-=1){const e=i[l],{modifiers:t,hasImportantModifier:c,baseClassName:d,maybePostfixModifierPosition:u}=a(e);let h=Boolean(u),p=r(h?d.substring(0,u):d);if(!p){if(!h){o=e+(o.length>0?" "+o:o);continue}if(p=r(d),!p){o=e+(o.length>0?" "+o:o);continue}h=!1}const m=Ft(t).join(":"),f=c?m+"!":m,g=f+p;if(n.includes(g))continue;n.push(g);const b=s(p,h);for(let a=0;a<b.length;++a){const e=b[a];n.push(f+e)}o=e+(o.length>0?" "+o:o)}return o})(e,a);return s(e,n),n}return function(){return n(Bt.apply(null,arguments))}}const Gt=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},Ht=/^\[(?:([a-z-]+):)?(.+)\]$/i,Yt=/^\d+\/\d+$/,Kt=new Set(["px","full","screen"]),Jt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Qt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Xt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Zt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ea=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ta=e=>ra(e)||Kt.has(e)||Yt.test(e),aa=e=>ga(e,"length",ba),ra=e=>Boolean(e)&&!Number.isNaN(Number(e)),sa=e=>ga(e,"number",ra),na=e=>Boolean(e)&&Number.isInteger(Number(e)),ia=e=>e.endsWith("%")&&ra(e.slice(0,-1)),oa=e=>Ht.test(e),la=e=>Jt.test(e),ca=new Set(["length","size","percentage"]),da=e=>ga(e,ca,ya),ua=e=>ga(e,"position",ya),ha=new Set(["image","url"]),pa=e=>ga(e,ha,wa),ma=e=>ga(e,"",va),fa=()=>!0,ga=(e,t,a)=>{const r=Ht.exec(e);return!!r&&(r[1]?"string"==typeof t?r[1]===t:t.has(r[1]):a(r[2]))},ba=e=>Qt.test(e)&&!Xt.test(e),ya=()=>!1,va=e=>Zt.test(e),wa=e=>ea.test(e),xa=Vt(()=>{const e=Gt("colors"),t=Gt("spacing"),a=Gt("blur"),r=Gt("brightness"),s=Gt("borderColor"),n=Gt("borderRadius"),i=Gt("borderSpacing"),o=Gt("borderWidth"),l=Gt("contrast"),c=Gt("grayscale"),d=Gt("hueRotate"),u=Gt("invert"),h=Gt("gap"),p=Gt("gradientColorStops"),m=Gt("gradientColorStopPositions"),f=Gt("inset"),g=Gt("margin"),b=Gt("opacity"),y=Gt("padding"),v=Gt("saturate"),w=Gt("scale"),x=Gt("sepia"),_=Gt("skew"),j=Gt("space"),k=Gt("translate"),T=()=>["auto",oa,t],S=()=>[oa,t],N=()=>["",ta,aa],E=()=>["auto",ra,oa],A=()=>["","0",oa],R=()=>[ra,oa];return{cacheSize:500,separator:":",theme:{colors:[fa],spacing:[ta,aa],blur:["none","",la,oa],brightness:R(),borderColor:[e],borderRadius:["none","","full",la,oa],borderSpacing:S(),borderWidth:N(),contrast:R(),grayscale:A(),hueRotate:R(),invert:A(),gap:S(),gradientColorStops:[e],gradientColorStopPositions:[ia,aa],inset:T(),margin:T(),opacity:R(),padding:S(),saturate:R(),scale:R(),sepia:A(),skew:R(),space:S(),translate:S()},classGroups:{aspect:[{aspect:["auto","square","video",oa]}],container:["container"],columns:[{columns:[la]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",oa]}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[f]}],"inset-x":[{"inset-x":[f]}],"inset-y":[{"inset-y":[f]}],start:[{start:[f]}],end:[{end:[f]}],top:[{top:[f]}
vendor: 5,048 bytes, line 2
2],right:[{right:[f]}],bottom:[{bottom:[f]}],left:[{left:[f]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",na,oa]}],basis:[{basis:T()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",oa]}],grow:[{grow:A()}],shrink:[{shrink:A()}],order:[{order:["first","last","none",na,oa]}],"grid-cols":[{"grid-cols":[fa]}],"col-start-end":[{col:["auto",{span:["full",na,oa]},oa]}],"col-start":[{"col-start":E()}],"col-end":[{"col-end":E()}],"grid-rows":[{"grid-rows":[fa]}],"row-start-end":[{row:["auto",{span:[na,oa]},oa]}],"row-start":[{"row-start":E()}],"row-end":[{"row-end":E()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",oa]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",oa]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal","start","end","center","between","around","evenly","stretch"]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[j]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[j]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",oa,t]}],"min-w":[{"min-w":[oa,t,"min","max","fit"]}],"max-w":[{"max-w":[oa,t,"none","full","min","max","fit","prose",{screen:[la]},la]}],h:[{h:[oa,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[oa,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[oa,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[oa,t,"auto","min","max","fit"]}],"font-size":[{text:["base",la,aa]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",sa]}],"font-family":[{font:[fa]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",oa]}],"line-clamp":[{"line-clamp":["none",ra,sa]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",ta,oa]}],"list-image":[{"list-image":["none",oa]}],"list-style-type":[{list:["none","disc","decimal",oa]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[b]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[b]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","none","wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",ta,aa]}],"underline-offset":[{"underline-offset":["auto",ta,oa]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:S()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",oa]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",oa]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[b]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",ua]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",da]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},pa]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[m]}
vendor: 4,377 bytes, line 2
2],"gradient-via-pos":[{via:[m]}],"gradient-to-pos":[{to:[m]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[n]}],"rounded-s":[{"rounded-s":[n]}],"rounded-e":[{"rounded-e":[n]}],"rounded-t":[{"rounded-t":[n]}],"rounded-r":[{"rounded-r":[n]}],"rounded-b":[{"rounded-b":[n]}],"rounded-l":[{"rounded-l":[n]}],"rounded-ss":[{"rounded-ss":[n]}],"rounded-se":[{"rounded-se":[n]}],"rounded-ee":[{"rounded-ee":[n]}],"rounded-es":[{"rounded-es":[n]}],"rounded-tl":[{"rounded-tl":[n]}],"rounded-tr":[{"rounded-tr":[n]}],"rounded-br":[{"rounded-br":[n]}],"rounded-bl":[{"rounded-bl":[n]}],"border-w":[{border:[o]}],"border-w-x":[{"border-x":[o]}],"border-w-y":[{"border-y":[o]}],"border-w-s":[{"border-s":[o]}],"border-w-e":[{"border-e":[o]}],"border-w-t":[{"border-t":[o]}],"border-w-r":[{"border-r":[o]}],"border-w-b":[{"border-b":[o]}],"border-w-l":[{"border-l":[o]}],"border-opacity":[{"border-opacity":[b]}],"border-style":[{border:["solid","dashed","dotted","double","none","hidden"]}],"divide-x":[{"divide-x":[o]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[o]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[b]}],"divide-style":[{divide:["solid","dashed","dotted","double","none"]}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["","solid","dashed","dotted","double","none"]}],"outline-offset":[{"outline-offset":[ta,oa]}],"outline-w":[{outline:[ta,aa]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:N()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[b]}],"ring-offset-w":[{"ring-offset":[ta,aa]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",la,ma]}],"shadow-color":[{shadow:[fa]}],opacity:[{opacity:[b]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],filter:[{filter:["","none"]}],blur:[{blur:[a]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",la,oa]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[u]}],saturate:[{saturate:[v]}],sepia:[{sepia:[x]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[a]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[u]}],"backdrop-opacity":[{"backdrop-opacity":[b]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[x]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",oa]}],duration:[{duration:R()}],ease:[{ease:["linear","in","out","in-out",oa]}],delay:[{delay:R()}],animate:[{animate:["none","spin","ping","pulse","bounce",oa]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[w]}],"scale-x":[{"scale-x":[w]}],"scale-y":[{"scale-y":[w]}],rotate:[{rotate:[na,oa]}],"translate-x":[{"translate-x":[k]}],"translate-y":[{"translate-y":[k]}],"skew-x":[{"skew-x":[_]}],"skew-y":[{"skew-y":[_]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",oa]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","
2none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",oa]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":S()}],"scroll-mx":[{"scroll-mx":S()}],"scroll-my":[{"scroll-my":S()}],"scroll-ms":[{"scroll-ms":S()}],"scroll-me":[{"scroll-me":S()}],"scroll-mt":[{"scroll-mt":S()}],"scroll-mr":[{"scroll-mr":S()}],"scroll-mb":[{"scroll-mb":S()}],"scroll-ml":[{"scroll-ml":S()}],"scroll-p":[{"scroll-p":S()}],"scroll-px":[{"scroll-px":S()}],"scroll-py":[{"scroll-py":S()}],"scroll-ps":[{"scroll-ps":S()}],"scroll-pe":[{"scroll-pe":S()}],"scroll-pt":[{"scroll-pt":S()}],"scroll-pr":[{"scroll-pr":S()}],"scroll-pb":[{"scroll-pb":S()}],"scroll-pl":[{"scroll-pl":S()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",oa]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[ta,aa,sa]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}});function _a(...e){return xa(St(e))}function ja(e,t=225){if(!e)return"1 min read";const a=e.replace(/<[^>]*>/g," ").replace(/&nbsp;/g," ").replace(/&[a-z]+;/gi," ").replace(/\s+/g," ").trim().split(/\s+/).filter(e=>e.length>0).length;return`${Math.max(1,Math.ceil(a/t))} min read`}const ka=yt,Ta=s.forwardRef(({className:e,...t},a)=>n.jsx(vt,{ref:a,className:_a("print-hide fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));Ta.displayName=vt.displayName;const Sa=At("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),Na=s.forwardRef(({className:e,variant:t,...a},r)=>n.jsx(wt,{ref:r,className:_a(Sa({variant:t}),e),...a}));Na.displayName=wt.displayName;s.forwardRef(({className:e,...t},a)=>n.jsx(jt,{ref:a,className:_a("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors group-[.destructive]:border-muted/40 hover:bg-secondary group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 group-[.destructive]:focus:ring-destructive disabled:pointer-events-none disabled:opacity-50",e),...t})).displayName=jt.displayName;const Ea=s.forwardRef(({className:e,...t},a)=>n.jsx(kt,{ref:a,className:_a("absolute right-2 top-2 rounded-md p-1 text-foreground
2/50 opacity-0 transition-opacity group-hover:opacity-100 group-[.destructive]:text-red-300 hover:text-foreground group-[.destructive]:hover:text-red-50 focus:opacity-100 focus:outline-none focus:ring-2 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:n.jsx(M,{className:"h-4 w-4"})}));Ea.displayName=kt.displayName;const Aa=s.forwardRef(({className:e,...t},a)=>n.jsx(xt,{ref:a,className:_a("text-sm font-semibold",e),...t}));Aa.displayName=xt.displayName;const Ra=s.forwardRef(({className:e,...t},a)=>n.jsx(_t,{ref:a,className:_a("text-sm opacity-90",e),...t}));function Ca(){const{toasts:e}=Oe();return n.jsxs(ka,{children:[e.map(function({id:e,title:t,description:a,action:r,...s}){return n.jsxs(Na,{...s,children:[n.jsxs("div",{className:"grid gap-1",children:[t&&n.jsx(Aa,{children:t}),a&&n.jsx(Ra,{children:a})]}),r,n.jsx(Ea,{})]},e)}),n.jsx(Ta,{})]})}Ra.displayName=_t.displayName;var Ia=["light","dark"],Oa=s.createContext(void 0),Da={setTheme:e=>{},themes:[]};s.memo(({forcedTheme:e,storageKey:t,attribute:a,enableSystem:r,enableColorScheme:n,defaultTheme:i,value:o,attrs:l,nonce:c})=>{let d="system"===i,u="class"===a?`var d=document.documentElement,c=d.classList;c.remove(${l.map(e=>`'${e}'`).join(",")});`:`var d=document.documentElement,n='${a}',s='setAttribute';`,h=n?Ia.includes(i)&&i?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${i}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",p=(e,t=!1,r=!0)=>{let s=o?o[e]:e,i=t?e+"|| ''":`'${s}'`,l="";return n&&r&&!t&&Ia.includes(e)&&(l+=`d.style.colorScheme = '${e}';`),"class"===a?l+=t||s?`c.add(${i})`:"null":s&&(l+=`d[s](n,${i})`),l},m=e?`!function(){${u}${p(e)}}()`:r?`!function(){try{${u}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${d})){var t='(prefers-color-scheme: dark)',m=window.matchMedia(t);if(m.media!==t||m.matches){${p("dark")}}else{${p("light")}}}else if(e){${o?`var x=${JSON.stringify(o)};`:""}${p(o?"x[e]":"e",!0)}}${d?"":"else{"+p(i,!1,!1)+"}"}${h}}catch(e){}}()`:`!function(){try{${u}var e=localStorage.getItem('${t}');if(e){${o?`var x=${JSON.stringify(o)};`:""}${p(o?"x[e]":"e",!0)}}else{${p(i,!1,!1)};}${h}}catch(t){}}();`;return s.createElement("script",{nonce:c,dangerouslySetInnerHTML:{__html:m}})});var Pa=Array(12).fill(0),qa=({visible:e,className:t})=>o.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},o.createElement("div",{className:"sonner-spinner"},Pa.map((e,t)=>o.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${t}`})))),za=o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},o.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),La=o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},o.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),Ma=o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},o.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),Ua=o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},o.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),Fa=o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},o.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),o.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),$a=1,Ba=new class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>
2{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:a,...r}=e,s="number"==typeof(null==e?void 0:e.id)||(null==(t=e.id)?void 0:t.length)>0?e.id:$a++,n=this.toasts.find(e=>e.id===s),i=void 0===e.dismissible||e.dismissible;return this.dismissedToasts.has(s)&&this.dismissedToasts.delete(s),n?this.toasts=this.toasts.map(t=>t.id===s?(this.publish({...t,...e,id:s,title:a}),{...t,...e,id:s,dismissible:i,title:a}):t):this.addToast({title:a,...r,dismissible:i,id:s}),s},this.dismiss=e=>(this.dismissedToasts.add(e),e||this.toasts.forEach(e=>{this.subscribers.forEach(t=>t({id:e.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>
2this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let a;void 0!==t.loading&&(a=this.create({...t,promise:e,type:"loading",message:t.loading,description:"function"!=typeof t.description?t.description:void 0}));let r,s=e instanceof Promise?e:e(),n=void 0!==a,i=s.then(async e=>{if(r=["resolve",e],o.isValidElement(e))n=!1,this.create({id:a,type:"default",message:e});else if(Wa(e)&&!e.ok){n=!1;let r="function"==typeof t.error?await t.error(`HTTP error! status: ${e.status}`):t.error,s="function"==typeof t.description?await t.description(`HTTP error! status: ${e.status}`):t.description;this.create({id:a,type:"error",message:r,description:s})}else if(void 0!==t.success){n=!1;let r="function"==typeof t.success?await t.success(e):t.success,s="function"==typeof t.description?await t.description(e):t.description;this.create({id:a,type:"success",message:r,description:s})}}).catch(async e=>{if(r=["reject",e],void 0!==t.error){n=!1;let r="function"==typeof t.error?await t.error(e):t.error,s="function"==typeof t.description?await t.description(e):t.description;this.create({id:a,type:"error",message:r,description:s})}}).finally(()=>{var e;n&&(this.dismiss(a),a=void 0),null==(e=t.finally)||e.call(t)}),l=()=>new Promise((e,t)=>i.then(()=>"reject"===r[0]?t(r[1]):e(r[1])).catch(t));return"string"!=typeof a&&"number"!=typeof a?{unwrap:l}:Object.assign(a,{unwrap:l})},this.custom=(e,t)=>{let a=(null==t?void 0:t.id)||$a++;return this.create({jsx:e(a),id:a,...t}),a},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},Wa=e=>e&&"object"==typeof e&&"ok"in e&&"boolean"==typeof e.ok&&"status"in e&&"number"==typeof e.status,Va=(e,t)=>{let a=(null==t?void 0:t.id)||$a++;return Ba.addToast({title:e,...t,id:a}),a},Ga=Object.assign(Va,{success:Ba.success,info:Ba.info,warning:Ba.warning,error:Ba.error,custom:Ba.custom,message:Ba.message,promise:Ba.promise,dismiss:Ba.dismiss,loading:Ba.loading},{getHistory:()=>Ba.toasts,getToasts:()=>Ba.getActiveToasts()});function Ha(e){return void 0!==e.label}!function(e,{insertAt:t}={}){if("undefined"==typeof document)return;let a=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css","top"===t&&a.firstChild?a.insertBefore(r,a.firstChild):a.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}(':where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted="true"]){transform:translateY(-10px)}@media (hover: none) and (pointer: coarse){:where([data-sonner-toaster][data-lifted="true"]){transform:none}}:where([data-sonner-toaster][data-x-position="right"]){right:var(--offset-right)}:where([data-sonner-toaster][data-x-position="left"]){left:var(--offset-left)}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:var(--offset-top)}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:var(--offset-bottom)}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;
2left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:-50%;right:-50%;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}
2:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y, 0px)) translate(var(--swipe-amount-x, 0px));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-bg-hover: hsl(0, 0%, 12%);--normal-border: hsl(0, 0%, 20%);--normal-border-hover: hsl(0, 0%, 25%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);
2--error-text: hsl(358, 100%, 81%)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}\n');var Ya=3,Ka=14;function Ja(...e){return e.filter(Boolean).join(" ")}var Qa=e=>{var t,a,r,n,i,l,c,d,u,h,p;let{invert:m,toast:f,unstyled:g,interacting:b,setHeights:y,visibleToasts:v,heights:w,index:x,toasts:_,expanded:j,removeToast:k,defaultRichColors:T,closeButton:S,style:N,cancelButtonStyle:E,actionButtonStyle:A,className:R="",descriptionClassName:C="",duration:I,position:O,gap:D,loadingIcon:P,expandByDefault:q,classNames:z,icons:L,closeButtonAriaLabel:M="Close toast",pauseWhenPageIsHidden:U}=e,[F,$]=o.useState(null),[B,W]=o.useState(null),[V,G]=o.useState(!1),[H,Y]=o.useState(!1),[K,J]=o.useState(!1),[Q,X]=o.useState(!1),[Z,ee]=o.useState(!1),[te,ae]=o.useState(0),[re,se]=o.useState(0),ne=o.useRef(f.duration||I||4e3),ie=o.useRef(null),oe=o.useRef(null),le=0===x,ce=x+1<=v,de=f.type,ue=!1!==f.dismissible,he=f.className||"",pe=f.descriptionClassName||"",me=o.useMemo(()=>w.findIndex(e=>e.toastId===f.id)||0,[w,f.id]),fe=o.useMemo(()=>{var e;return null!=(e=f.closeButton)?e:S},[f.closeButton,S]),ge=o.useMemo(()=>f.duration||I||4e3,[f.duration,I]),be=o.useRef(0),ye=o.useRef(0),ve=o.useRef(0),we=o.useRef(null),[xe,_e]=O.split("-"),je=o.useMemo(()=>w.reduce((e,t,a)=>a>=me?e:e+t.height,0),[w,me]),ke=(()=>{let[e,t]=o.useState(document.hidden);return o.useEffect(()=>{let e=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",e),()=>window.removeEventListener("visibilitychange",e)},[]),e})(),Te=f.invert||m,Se="loading"===de;ye.current=o.useMemo(()=>
2me*D+je,[me,je]),o.useEffect(()=>{ne.current=ge},[ge]),o.useEffect(()=>{G(!0)},[]),o.useEffect(()=>{let e=oe.current;if(e){let t=e.getBoundingClientRect().height;return se(t),y(e=>[{toastId:f.id,height:t,position:f.position},...e]),()=>y(e=>e.filter(e=>e.toastId!==f.id))}},[y,f.id]),o.useLayoutEffect(()=>{if(!V)return;let e=oe.current,t=e.style.height;e.style.height="auto";let a=e.getBoundingClientRect().height;e.style.height=t,se(a),y(e=>e.find(e=>e.toastId===f.id)?e.map(e=>e.toastId===f.id?{...e,height:a}:e):[{toastId:f.id,height:a,position:f.position},...e])},[V,f.title,f.description,y,f.id]);let Ne=o.useCallback(()=>{Y(!0),ae(ye.current),y(e=>e.filter(e=>e.toastId!==f.id)),setTimeout(()=>{k(f)},200)},[f,k,y,ye]);return o.useEffect(()=>{if(f.promise&&"loading"===de||f.duration===1/0||"loading"===f.type)return;let e;return j||b||U&&ke?(()=>{if(ve.current<be.current){let e=(new Date).getTime()-be.current;ne.current=ne.current-e}ve.current=(new Date).getTime()})():ne.current!==1/0&&(be.current=(new Date).getTime(),e=setTimeout(()=>{var e;null==(e=f.onAutoClose)||e.call(f,f),Ne()},ne.current)),()=>clearTimeout(e)},[j,b,f,de,U,ke,Ne]),o.useEffect(()=>{f.delete&&Ne()},[Ne,f.delete]),o.createElement("li",{tabIndex:0,ref:oe,className:Ja(R,he,null==z?void 0:z.toast,null==(t=null==f?void 0:f.classNames)?void 0:t.toast,null==z?void 0:z.default,null==z?void 0:z[de],null==(a=null==f?void 0:f.classNames)?void 0:a[de]),"data-sonner-toast":"","data-rich-colors":null!=(r=f.richColors)?r:T,"data-styled":!(f.jsx||f.unstyled||g),"data-mounted":V,"data-promise":!!f.promise,"data-swiped":Z,"data-removed":H,"data-visible":ce,"data-y-position":xe,"data-x-position":_e,"data-index":x,"data-front":le,"data-swiping":K,"data-dismissible":ue,"data-type":de,"data-invert":Te,"data-swipe-out":Q,"data-swipe-direction":B,"data-expanded":!!(j||q&&V),style:{"--index":x,"--toasts-before":x,"--z-index":_.length-x,"--offset":`${H?te:ye.current}px`,"--initial-height":q?"auto":`${re}px`,...N,...f.style},onDragEnd:()=>{J(!1),$(null),we.current=null},onPointerDown:e=>{Se||!ue||(ie.current=new Date,ae(ye.current),e.target.setPointerCapture(e.pointerId),"BUTTON"!==e.target.tagName&&(J(!0),we.current={x:e.clientX,y:e.clientY}))},onPointerUp:()=>{var e,t,a,r;if(Q||!ue)return;we.current=null;let s=Number((null==(e=oe.current)?void 0:e.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),n=Number((null==(t=oe.current)?void 0:t.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),i=(new Date).getTime()-(null==(a=ie.current)?void 0:a.getTime()),o="x"===F?s:n,l=Math.abs(o)/i;if(Math.abs(o)>=20||l>.11)return ae(ye.current),null==(r=f.onDismiss)||r.call(f,f),W("x"===F?s>0?"right":"left":n>0?"down":"up"),Ne(),X(!0),void ee(!1);J(!1),$(null)},onPointerMove:t=>{var a,r,s,n;if(!we.current||!ue||(null==(a=window.getSelection())?void 0:a.toString().length)>0)return;let i=t.clientY-we.current.y,o=t.clientX-we.current.x,l=null!=(r=e.swipeDirections)?r:function(e){let[t,a]=e.split("-"),r=[];return t&&r.push(t),a&&r.push(a),r}(O);!F&&(Math.abs(o)>1||Math.abs(i)>1)&&$(Math.abs(o)>Math.abs(i)?"x":"y");let c={x:0,y:0};"y"===F?(l.includes("top")||l.includes("bottom"))&&(l.includes("top")&&i<0||l.includes("bottom")&&i>0)&&(c.y=i):"x"===F&&(l.includes("left")||l.includes("right"))&&(l.includes("left")&&o<0||l.includes("right")&&o>0)&&(c.x=o),(Math.abs(c.x)>0||Math.abs(c.y)>0)&&ee(!0),null==(s=oe.current)||s.style.setProperty("--swipe-amount-x",`${c.x}px`),null==(n=oe.current)||n.style.setProperty("--swipe-amount-y",`${c.y}px`)}},fe&&!f.jsx?o.createElement("button",{"aria-label":M,"data-disabled":Se,"data-close-button":!0,onClick:Se||!ue?()=>{}:()=>{var e;Ne(),null==(e=f.onDismiss)||e.call(f,f)},className:Ja(null==z?void 0:z.closeButton,null==(n=null==f?void 0:f.classNames)?void 0:n.closeButton)},null!=(i=null==L?void 0:L.close)?i:Fa):null,f.jsx||s.isValidElement(f.title)?f.jsx?f.jsx:"function"==typeof f.title?f.title():f.title:o.createElement(o.Fragment,null,de||f.icon||f.promise?o.createElement("div",{"data-icon":"",className:Ja(null==z?void 0:z.icon,null==(l=null==f?void 0:f.classNames)?void 0:l.icon)},f.promise||"loading"===f.type&&!f.icon?f.icon||(null!=L&&L.loading?o.createElement("div",{className:Ja(null==z?void 0:z.loader,null==(Ee=null==f?void 0:f.classNames)?void 0:Ee.loader,"sonner-loader"),"data-visible":"loading"===de},L.loading):P?o.createElement("div",{className:Ja(null==z?void 0:z.loader,null==(Ae=null==f?void 0:f.classNames)?void 0:Ae.loader,"sonner-loader"),"data-visible":"loading"===de},P):o.createElement(qa,{className:Ja(null==z?void 0:z.loader,null==(Re=null==f?void 0:f.classNames)?void 0:Re.loader),visible:"loading"===de})):null,"loading"!==f.type?f.icon||(null==L?void 0:L[de])||(e=>{switch(e){case"success":return za;case"info":return Ma;case"warning":return La;case"error":return Ua;default:return null}})(de):null):null,o.createElement("div",{"data-content":"",className:Ja(null==z?void 0:z.content,null==(c=null==f?void 0:f.classNames)?void 0:c.content)},o.createElement("div",{"data-title":"",className:Ja(null==z?void 0:z.title,null==(d=null==f?void 0:f.classNames)?void 0:d.title)},"function"==typeof f.title?f.title():f.title),f.description?o.createElement("div",{"data-description":"",className:Ja(C,pe,null==z?void 0:z.description,null==(u=null==f?void 0:f.classNames)?void 0:u.description)},"function"==typeof f.description?f.description():f.description):null),s.isValidElement(f.cancel)?f.cancel:f.cancel&&Ha(f.cancel)?o.createElement("button",{"data-button":!0,"data-cancel":!0,style:f.cancelButtonStyle||E,onClick:e=>{var t,a;Ha(f.cancel)&&ue&&(null==(a=(t=f.cancel).onClick)||a.call(t,e),Ne())},className:Ja(null==z?void 0:z.cancelButton,null==(h=null==f?void 0:f.classNames)?void 0:h.cancelButton)},f.cancel.label):null,s.isValidElement(f.action)?f.action:f.action&&Ha(f.action)?o.createElement("button",{"data-button":!0,"data-action":!0,style:f.actionButtonStyle||A,onClick:e=>{var t,a;Ha(f.action)&&(null==(a=(t=f.action).onClick)||a.call(t,e),!e.defaultPrevented&&Ne())},className:Ja(null==z?void 0:z.actionButton,null==(p=null==f?void 0:f.classNames)?void 0:p.actionButton)},f.action.label):null));var Ee,Ae,Re};function Xa(){if("undefined"==typeof window||"undefined"==typeof document)return"ltr";let e=document.documentElement.getAttribute("dir");return"auto"!==e&&e?e:window.getComputedStyle(document.documentElement).direction}function Za(e,t){let a={};return[e,t].forEach((e,t)=>{let r=1===t,s=r?"--mobile-offset":"--offset",n=r?"16px":"32px";function i(e){["top","right","bottom","left"].forEach(t=>{a[`${s}-${t}`]="number"==typeof e?`${e}px`:e})}"number"==typeof e||"string"==typeof e?i(e):"object"==typeof e?["top","right","bottom","left"].forEach(t=>{void 0===e[t]?a[`${s}-${t}`]=n:a[`${s}-${t}`]="number"==typeof e[t]?`${e[t]}px`:e[t]}):i(n)}),a}var er=s.forwardRef(function(e,t){let{invert:a,position:r="bottom-right",hotkey:s=["altKey","KeyT"],expand:n,closeButton:i,className:c,offset:d,mobileOffset:u,theme:h="light",richColors:p,duration:m,style:f,visibleToasts:g=Ya,toastOptions:b,dir:y=Xa(),gap:v=Ka,loadingIcon:w,icons:x,containerAriaLabel:_="Notifications",pauseWhenPageIsHidden:j}=e,[k,T]=o.useState([]),S=o.useMemo(()=>Array.from(new Set([r].concat(k.filter(e=>e.position).map(e=>
2e.position)))),[k,r]),[N,E]=o.useState([]),[A,R]=o.useState(!1),[C,I]=o.useState(!1),[O,D]=o.useState("system"!==h?h:"undefined"!=typeof window&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),P=o.useRef(null),q=s.join("+").replace(/Key/g,"").replace(/Digit/g,""),z=o.useRef(null),L=o.useRef(!1),M=o.useCallback(e=>{T(t=>{var a;return null!=(a=t.find(t=>t.id===e.id))&&a.delete||Ba.dismiss(e.id),t.filter(({id:t})=>t!==e.id)})},[]);return o.useEffect(()=>Ba.subscribe(e=>{e.dismiss?T(t=>t.map(t=>t.id===e.id?{...t,delete:!0}:t)):setTimeout(()=>{l.flushSync(()=>{T(t=>{let a=t.findIndex(t=>t.id===e.id);return-1!==a?[...t.slice(0,a),{...t[a],...e},...t.slice(a+1)]:[e,...t]})})})}),[]),o.useEffect(()=>{if("system"!==h)return void D(h);if("system"===h&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?D("dark"):D("light")),"undefined"==typeof window)return;let e=window.matchMedia("(prefers-color-scheme: dark)");try{e.addEventListener("change",({matches:e})=>{D(e?"dark":"light")})}catch(t){e.addListener(({matches:e})=>{try{D(e?"dark":"light")}catch(t){}})}},[h]),o.useEffect(()=>{k.length<=1&&R(!1)},[k]),o.useEffect(()=>{let e=e=>{var t,a;s.every(t=>e[t]||e.code===t)&&(R(!0),null==(t=P.current)||t.focus()),"Escape"===e.code&&(document.activeElement===P.current||null!=(a=P.current)&&a.contains(document.activeElement))&&R(!1)};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[s]),o.useEffect(()=>{if(P.current)return()=>{z.current&&(z.current.focus({preventScroll:!0}),z.current=null,L.current=!1)}},[P.current]),o.createElement("section",{ref:t,"aria-label":`${_} ${q}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},S.map((t,r)=>{var s;let[l,h]=t.split("-");return k.length?o.createElement("ol",{key:t,dir:"auto"===y?Xa():y,tabIndex:-1,ref:P,className:c,"data-sonner-toaster":!0,"data-theme":O,"data-y-position":l,"data-lifted":A&&k.length>1&&!n,"data-x-position":h,style:{"--front-toast-height":`${(null==(s=N[0])?void 0:s.height)||0}px`,"--width":"356px","--gap":`${v}px`,...f,...Za(d,u)},onBlur:e=>{L.current&&!e.currentTarget.contains(e.relatedTarget)&&(L.current=!1,z.current&&(z.current.focus({preventScroll:!0}),z.current=null))},onFocus:e=>{e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||L.current||(L.current=!0,z.current=e.relatedTarget)},onMouseEnter:()=>R(!0),onMouseMove:()=>R(!0),onMouseLeave:()=>{C||R(!1)},onDragEnd:()=>R(!1),onPointerDown:e=>{e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||I(!0)},onPointerUp:()=>I(!1)},k.filter(e=>!e.position&&0===r||e.position===t).map((r,s)=>{var l,c;return o.createElement(Qa,{key:r.id,icons:x,index:s,toast:r,defaultRichColors:p,duration:null!=(l=null==b?void 0:b.duration)?l:m,className:null==b?void 0:b.className,descriptionClassName:null==b?void 0:b.descriptionClassName,invert:a,visibleToasts:g,closeButton:null!=(c=null==b?void 0:b.closeButton)?c:i,interacting:C,position:t,style:null==b?void 0:b.style,unstyled:null==b?void 0:b.unstyled,classNames:null==b?void 0:b.classNames,cancelButtonStyle:null==b?void 0:b.cancelButtonStyle,actionButtonStyle:null==b?void 0:b.actionButtonStyle,removeToast:M,toasts:k.filter(e=>e.position==r.position),heights:N.filter(e=>e.position==r.position),setHeights:E,expandByDefault:n,gap:v,loadingIcon:w,expanded:A,pauseWhenPageIsHidden:j,swipeDirections:e.swipeDirections})})):null}))});const tr=({...e})=>{const{theme:t="system"}=null!=(a=s.useContext(Oa))?a:Da;var a;return n.jsx(er,{theme:t,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...e})};var ar=Object.defineProperty,rr=(e,t)=>ar(e,"name",{value:t,configurable:!0}),[sr,nr]=w("Tooltip",[C]),ir=C(),or=700,lr="tooltip.open",[cr,dr]=sr("TooltipProvider"),ur=rr(e=>{const{__scopeTooltip:t,delayDuration:a=or,skipDelayDuration:r=300,disableHoverableContent:i=!1,children:o}=e,l=s.useRef(!0),c=s.useRef(!1),d=s.useRef(0);return s.useEffect(()=>{const e=d.current;return()=>window.clearTimeout(e)},[]),n.jsx(cr,{scope:t,isOpenDelayedRef:l,delayDuration:a,onOpen:s.useCallback(()=>{r<=0||(window.clearTimeout(d.current),l.current=!1)},[r]),onClose:s.useCallback(()=>{r<=0||(window.clearTimeout(d.current),d.current=window.setTimeout(()=>l.current=!0,r))},[r]),isPointerInTransitRef:c,onPointerInTransitChange:s.useCallback(e=>{c.current=e}
vendor: 6,050 bytes, line 2
2,[]),disableHoverableContent:i,children:o})},"TooltipProvider"),hr="Tooltip",[pr,mr]=sr(hr),fr=rr(e=>{const{__scopeTooltip:t,children:a,open:r,defaultOpen:i,onOpenChange:o,disableHoverableContent:l,delayDuration:c}=e,d=dr(hr,e.__scopeTooltip),u=ir(t),[h,p]=s.useState(null),[m,f]=s.useState(void 0),g=P(),b=s.useRef(0),y=l??d.disableHoverableContent,v=c??d.delayDuration,w=s.useRef(!1),[x,_]=j({prop:r,defaultProp:i??!1,onChange:rr(e=>{e?(d.onOpen(),document.dispatchEvent(new CustomEvent(lr))):d.onClose(),null==o||o(e)},"onChange"),caller:hr}),k=s.useMemo(()=>x?w.current?"delayed-open":"instant-open":"closed",[x]),T=s.useCallback(()=>{window.clearTimeout(b.current),b.current=0,w.current=!1,_(!0)},[_]),S=s.useCallback(()=>{window.clearTimeout(b.current),b.current=0,_(!1)},[_]),N=s.useCallback(()=>{window.clearTimeout(b.current),b.current=window.setTimeout(()=>{w.current=!0,_(!0),b.current=0},v)},[v,_]);s.useEffect(()=>()=>{b.current&&(window.clearTimeout(b.current),b.current=0)},[]);const E=m??g;return n.jsx(q,{...u,children:n.jsx(pr,{scope:t,contentId:E,setContentId:f,open:x,stateAttribute:k,trigger:h,onTriggerChange:p,onTriggerEnter:s.useCallback(()=>{d.isOpenDelayedRef.current?N():T()},[d.isOpenDelayedRef,N,T]),onTriggerLeave:s.useCallback(()=>{y?S():(window.clearTimeout(b.current),b.current=0)},[S,y]),onOpen:T,onClose:S,disableHoverableContent:y,children:a})})},"Tooltip"),gr="TooltipTrigger",br=s.forwardRef(rr(function(e,t){const{__scopeTooltip:a,...r}=e,i=mr(gr,a),o=dr(gr,a),l=ir(a),c=s.useRef(null),d=x(t,c,i.onTriggerChange),u=s.useRef(!1),h=s.useRef(!1),p=s.useCallback(()=>u.current=!1,[]);return s.useEffect(()=>()=>document.removeEventListener("pointerup",p),[p]),n.jsx(z,{asChild:!0,...l,children:n.jsx(y.button,{"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute,...r,ref:d,onPointerMove:T(e.onPointerMove,e=>{"touch"!==e.pointerType&&(h.current||o.isPointerInTransitRef.current||(i.onTriggerEnter(),h.current=!0))}),onPointerLeave:T(e.onPointerLeave,()=>{i.onTriggerLeave(),h.current=!1}),onPointerDown:T(e.onPointerDown,()=>{i.open&&i.onClose(),u.current=!0,document.addEventListener("pointerup",p,{once:!0})}),onFocus:T(e.onFocus,()=>{u.current||i.onOpen()}),onBlur:T(e.onBlur,i.onClose),onClick:T(e.onClick,i.onClose)})})},"TooltipTrigger")),[yr,vr]=sr("TooltipPortal",{forceMount:void 0}),wr="TooltipContent",xr=s.forwardRef(rr(function(e,t){const a=vr(wr,e.__scopeTooltip),{forceMount:r=a.forceMount,side:s="top",...i}=e,o=mr(wr,e.__scopeTooltip);return n.jsx(k,{present:r||o.open,children:o.disableHoverableContent?n.jsx(kr,{side:s,...i,ref:t}):n.jsx(_r,{side:s,...i,ref:t})})},"TooltipContent")),_r=s.forwardRef(rr(function(e,t){const a=mr(wr,e.__scopeTooltip),r=dr(wr,e.__scopeTooltip),i=s.useRef(null),o=x(t,i),[l,c]=s.useState(null),{trigger:d,onClose:u}=a,h=i.current,{onPointerInTransitChange:p}=r,m=s.useCallback(()=>{c(null),p(!1)},[p]),f=s.useCallback((e,t)=>{const a=e.currentTarget,r={x:e.clientX,y:e.clientY},s=Ar([...Sr(r,Tr(r,a.getBoundingClientRect())),...Nr(t.getBoundingClientRect())]);c(s),p(!0)},[p]);return s.useEffect(()=>()=>m(),[m]),s.useEffect(()=>{if(d&&h){const e=rr(e=>f(e,h),"handleTriggerLeave"),t=rr(e=>f(e,d),"handleContentLeave");return d.addEventListener("pointerleave",e),h.addEventListener("pointerleave",t),()=>{d.removeEventListener("pointerleave",e),h.removeEventListener("pointerleave",t)}}},[d,h,f,m]),s.useEffect(()=>{if(l){const e=rr(e=>{const t=e.target,a={x:e.clientX,y:e.clientY},r=(null==d?void 0:d.contains(t))||(null==h?void 0:h.contains(t)),s=!Er(a,l);r?m():s&&(m(),u())},"handleTrackPointerGrace");return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}},[d,h,l,u,m]),n.jsx(kr,{...e,ref:o})},"TooltipContentHoverable")),jr=D("TooltipContent"),kr=s.forwardRef(rr(function(e,t){const{__scopeTooltip:a,children:r,"aria-label":i,id:o,onEscapeKeyDown:l,onPointerDownOutside:c,...d}=e,u=mr(wr,a),h=ir(a),{onClose:p}=u;s.useEffect(()=>(document.addEventListener(lr,p),()=>document.removeEventListener(lr,p)),[p]),s.useEffect(()=>{if(u.trigger){const e=rr(e=>{e.target instanceof Node&&e.target.contains(u.trigger)&&p()},"handleScroll");return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}},[u.trigger,p]);const{setContentId:m}=u;return R(()=>(m(o),()=>{m(void 0)}),[o,m]),n.jsx(I,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:l,onPointerDownOutside:c,onFocusOutside:e=>e.preventDefault(),onDismiss:p,children:n.jsxs(O,{"data-state":u.stateAttribute,role:i?void 0:"tooltip",id:i?void 0:u.contentId,...h,...d,ref:t,style:{...d.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[n.jsx(jr,{children:r}),i?n.jsx(Le,{id:u.contentId,role:"tooltip",children:i}):null]})})},"TooltipContentImpl"));function Tr(e,t){const a=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),s=Math.abs(t.right-e.x),n=Math.abs(t.left-e.x);switch(Math.min(a,r,s,n)){case n:return"left";case s:return"right";case a:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function Sr(e,t,a=5){const r=[];switch(t){case"top":r.push({x:e.x-a,y:e.y+a},{x:e.x+a,y:e.y+a});break;case"bottom":r.push({x:e.x-a,y:e.y-a},{x:e.x+a,y:e.y-a});break;case"left":r.push({x:e.x+a,y:e.y-a},{x:e.x+a,y:e.y+a});break;case"right":r.push({x:e.x-a,y:e.y-a},{x:e.x-a,y:e.y+a})}return r}function Nr(e){const{top:t,right:a,bottom:r,left:s}=e;return[{x:s,y:t},{x:a,y:t},{x:a,y:r},{x:s,y:r}]}function Er(e,t){const{x:a,y:r}=e;let s=!1;for(let n=0,i=t.length-1;n<t.length;i=n++){const e=t[n],o=t[i],l=e.x,c=e.y,d=o.x,u=o.y;c>r!=u>r&&a<(d-l)*(r-c)/(u-c)+l&&(s=!s)}return s}function Ar(e){const t=e.slice();return t.sort((e,t)=>
2e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:e.y>t.y?1:0),Rr(t)}function Rr(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const a=e[r];for(;t.length>=2;){const e=t[t.length-1],r=t[t.length-2];if(!((e.x-r.x)*(a.y-r.y)>=(e.y-r.y)*(a.x-r.x)))break;t.pop()}t.push(a)}t.pop();const a=[];for(let r=e.length-1;r>=0;r--){const t=e[r];for(;a.length>=2;){const e=a[a.length-1],r=a[a.length-2];if(!((e.x-r.x)*(t.y-r.y)>=(e.y-r.y)*(t.x-r.x)))break;a.pop()}a.push(t)}return a.pop(),1===t.length&&1===a.length&&t[0].x===a[0].x&&t[0].y===a[0].y?t:t.concat(a)}rr(Tr,"getExitSideFromRect"),rr(Sr,"getPaddedExitPoints"),rr(Nr,"getPointsFromRect"),rr(Er,"isPointInPolygon"),rr(Ar,"getHull"),rr(Rr,"getHullPresorted");var Cr=xr;const Ir=ur,Or=fr,Dr=br,Pr=s.forwardRef(({className:e,sideOffset:t=4,...a},r)=>n.jsx(Cr,{ref:r,sideOffset:t,className:_a("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-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",e),...a}));Pr.displayName=Cr.displayName;var qr="undefined"!=typeof Element,zr="function"==typeof Map,Lr="function"==typeof Set,Mr="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function Ur(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){if(e.constructor!==t.constructor)return!1;var a,r,s,n;if(Array.isArray(e)){if((a=e.length)!=t.length)return!1;for(r=a;0!==r--;)if(!Ur(e[r],t[r]))return!1;return!0}if(zr&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(n=e.entries();!(r=n.next()).done;)if(!t.has(r.value[0]))return!1;for(n=e.entries();!(r=n.next()).done;)if(!Ur(r.value[1],t.get(r.value[0])))return!1;return!0}if(Lr&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(n=e.entries();!(r=n.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(Mr&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if((a=e.length)!=t.length)return!1;for(r=a;0!==r--;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof t.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof t.toString)return e.toString()===t.toString();if((a=(s=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=a;0!==r--;)if(!Object.prototype.hasOwnProperty.call(t,s[r]))return!1;if(qr&&e instanceof Element)return!1;for(r=a;0!==r--;)if(("_owner"!==s[r]&&"__v"!==s[r]&&"__o"!==s[r]||!e.$$typeof)&&!Ur(e[s[r]],t[s[r]]))return!1;return!0}return e!=e&&t!=t}const Fr=c(function(e,t){try{return Ur(e,t)}catch(a){if((a.message||"").match(/stack|recursion/i))return!1;throw a}});const $r=c(function(e,t,a,r,s,n,i,o){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[a,r,s,n,i,o],d=0;(l=new Error(t.replace(/%s/g,function(){return c[d++]}))).name="Invariant Violation"}throw l.framesToPop=1,l}});const Br=c(function(e,t,a,r){var s=a?a.call(r,e,t):void 0;if(void 0!==s)return!!s;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(var o=Object.prototype.hasOwnProperty.bind(t),l=0;l<n.length;l++){var c=n[l];if(!o(c))return!1;var d=e[c],u=t[c];if(!1===(s=a?a.call(r,d,u,c):void 0)||void 0===s&&d!==u)return!1}return!0});var Wr=(e=>(e.BASE="base",e.BODY="body",e.HEAD="head",e.HTML="html",e.LINK="link",e.META="meta",e.NOSCRIPT="noscript",e.SCRIPT="script",e.STYLE="style",e.TITLE="title",e.FRAGMENT="Symbol(react.fragment)",e))(Wr||{}),Vr={rel:["amphtml","canonical","alternate"]},Gr={type:["application/ld+json"]},Hr={charset:"",name:["generator","robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]}
2,Yr=Object.values(Wr),Kr={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},Jr=Object.entries(Kr).reduce((e,[t,a])=>(e[a]=t,e),{}),Qr="data-rh",Xr="defaultTitle",Zr="defer",es="encodeSpecialCharacters",ts="onChangeClientState",as="titleTemplate",rs="prioritizeSeoTags",ss=(e,t)=>{for(let a=e.length-1;a>=0;a-=1){const r=e[a];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},ns=e=>{let t=ss(e,"title");const a=ss(e,as);if(Array.isArray(t)&&(t=t.join("")),a&&t)return a.replace(/%s/g,()=>t);const r=ss(e,Xr);return t||r||void 0},is=e=>ss(e,ts)||(()=>{}),os=(e,t)=>t.filter(t=>void 0!==t[e]).map(t=>t[e]).reduce((e,t)=>({...e,...t}),{}),ls=(e,t)=>t.filter(e=>void 0!==e.base).map(e=>e.base).reverse().reduce((t,a)=>{if(!t.length){const r=Object.keys(a);for(let s=0;s<r.length;s+=1){const n=r[s].toLowerCase();if(-1!==e.indexOf(n)&&a[n])return t.concat(a)}}return t},[]),cs=(e,t,a)=>{const r={};return a.filter(t=>!!Array.isArray(t[e])||(void 0!==t[e]&&(t[e],console&&console.warn),!1)).map(t=>t[e]).reverse().reduce((e,a)=>{const s={};a.filter(e=>{let a;const n=Object.keys(e);for(let r=0;r<n.length;r+=1){const s=n[r],i=s.toLowerCase();-1===t.indexOf(i)||"rel"===a&&"canonical"===e[a].toLowerCase()||"rel"===i&&"stylesheet"===e[i].toLowerCase()||(a=i),-1===t.indexOf(s)||"innerHTML"!==s&&"cssText"!==s&&"itemprop"!==s||(a=s)}if(!a||!e[a])return!1;const i=e[a].toLowerCase();return r[a]||(r[a]={}),s[a]||(s[a]={}),!r[a][i]&&(s[a][i]=!0,!0)}).reverse().forEach(t=>e.push(t));const n=Object.keys(s);for(let t=0;t<n.length;t+=1){const e=n[t],a={...r[e],...s[e]};r[e]=a}return e},[]).reverse()},ds=(e,t)=>{if(Array.isArray(e)&&e.length)for(let a=0;a<e.length;a+=1){if(e[a][t])return!0}return!1},us=e=>Array.isArray(e)?e.join(""):e,hs=(e,t)=>Array.isArray(e)?e.reduce((e,a)=>(((e,t)=>{const a=Object.keys(e);for(let r=0;r<a.length;r+=1)if(t[a[r]]&&t[a[r]].includes(e[a[r]]))return!0;return!1})(a,t)?e.priority.push(a):e.default.push(a),e),{priority:[],default:[]}):{default:e,priority:[]},ps=(e,t)=>({...e,[t]:void 0}),ms=["noscript","script","style"],fs=(e,t=!0)=>!1===t?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;"),gs=e=>Object.keys(e).reduce((t,a)=>{const r=void 0!==e[a]?`${a}="${e[a]}"`:`${a}`;return t?`${t} ${r}`:r},""),bs=(e,t={})=>Object.keys(e).reduce((t,a)=>(t[Kr[a]||a]=e[a],t),t),ys=(e,t)=>t.map((t,a)=>{const r={key:a,[Qr]:!0};return Object.keys(t).forEach(e=>{const a=Kr[e]||e;if("innerHTML"===a||"cssText"===a){const e=t.innerHTML||t.cssText;r.dangerouslySetInnerHTML={__html:e}}else r[a]=t[e]}),o.createElement(e,r)}),vs=(e,t,a=!0)=>{switch(e){case"title":return{toComponent:()=>((e,t,a)=>{const r=bs(a,{key:t,[Qr]:!0});return[o.createElement("title",r,t)]})(0,t.title,t.titleAttributes),toString:()=>((e,t,a,r)=>{const s=gs(a),n=us(t);return s?`<${e} ${Qr}="true" ${s}>${fs(n,r)}</${e}>`:`<${e} ${Qr}="true">${fs(n,r)}</${e}>`})(e,t.title,t.titleAttributes,a)};case"bodyAttributes":case"htmlAttributes":return{toComponent:()=>bs(t),toString:()=>gs(t)};default:return{toComponent:()=>ys(e,t),toString:()=>((e,t,a=!0)=>t.reduce((t,r)=>{const s=r,n=Object.keys(s).filter(e=>!("innerHTML"===e||"cssText"===e)).reduce((e,t)=>{const r=void 0===s[t]?t:`${t}="${fs(s[t],a)}"`;return e?`${e} ${r}`:r},""),i=s.innerHTML||s.cssText||"",o=-1===ms.indexOf(e);return`${t}<${e} ${Qr}="true" ${n}${o?"/>":`>${i}</${e}>`}`},""))(e,t,a)}}},ws=e=>{const{baseTag:t,bodyAttributes:a,encode:r=!0,htmlAttributes:s,noscriptTags:n,styleTags:i,title:o="",titleAttributes:l,prioritizeSeoTags:c}=e;let{linkTags:d,metaTags:u,scriptTags:h}=e,p={toComponent:()=>{},toString:()=>""};return c&&({priorityMethods:p,linkTags:d,metaTags:u,scriptTags:h}=(({metaTags:e,linkTags:t,scriptTags:a,encode:r})=>{const s=hs(e,Hr),n=hs(t,Vr),i=hs(a,Gr);return{priorityMethods:{toComponent:()=>[...ys("meta",s.priority),...ys("link",n.priority),...ys("script",i.priority)],toString:()=>`${vs("meta",s.priority,r)} ${vs("link",n.priority,r)} ${vs("script",i.priority,r)}`},metaTags:s.default,linkTags:n.default,scriptTags:i.default}})(e)),{priority:p,base:vs("base",t,r),bodyAttributes:vs("bodyAttributes",a,r),htmlAttributes:vs("htmlAttributes",s,r),link:vs("link",d,r),meta:vs("meta",u,r),noscript:vs("noscript",n,r),script:vs("script",h,r),style:vs("style",i,r),title:vs("title",{title:o,titleAttributes:l},r)}},xs=[],_s=!("undefined"==typeof window||!window.document||!window.document.createElement),js=class{constructor(e,t){r(this,"instances",[]),r(this,"canUseDOM",_s),r(this,"context"),r(this,"value",{setHelmet:e=>{this.context.helmet=e},helmetInstances:{get:()=>this.canUseDOM?xs:this.instances,add:e=>{(this.canUseDOM?xs:this.instances).push(e)},remove:e=>{const t=(this.canUseDOM?xs:this.instances).indexOf(e);(this.canUseDOM?xs:this.instances).splice(t,1)}}}),this.context=e,this.canUseDOM=t||!1,t||(e.helmet=ws({baseTag:[],bodyAttributes:{},htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}},ks=o.createContext({}),Ts=(e=class extends s.Component{constructor(t){super(t),r(this,"helmetData"),this.helmetData=new js(this.props.context||{},e.canUseDOM)}render(){return o.createElement(ks.Provider,{value:this.helmetData.value},this.props.children)}},r(e,"canUseDOM",_s),e),Ss=(e,t)=>{const a=document.head||document.querySelector("head"),r=a.querySelectorAll(`${e}[${Qr}]`),s=[].slice.call(r),n=[];let i;return t&&t.length&&t.forEach(t=>{const a=document.createElement(e);for(const e in t)if(Object.prototype.hasOwnProperty.call(t,e))if("innerHTML"===e)a.innerHTML=t.innerHTML;else if("cssText"===e)a.styleSheet?a.styleSheet.cssText=t.cssText:a.appendChild(document.createTextNode(t.cssText));else{const r=e,s=void 0===t[r]?"":t[r];a.setAttribute(e,s)}a.setAttribute(Qr,"true"),s.some((e,t)=>(i=t,a.isEqualNode(e)))?s.splice(i,1):n.push(a)}
2),s.forEach(e=>{var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),n.forEach(e=>a.appendChild(e)),{oldTags:s,newTags:n}},Ns=(e,t)=>{const a=document.getElementsByTagName(e)[0];if(!a)return;const r=a.getAttribute(Qr),s=r?r.split(","):[],n=[...s],i=Object.keys(t);for(const o of i){const e=t[o]||"";a.getAttribute(o)!==e&&a.setAttribute(o,e),-1===s.indexOf(o)&&s.push(o);const r=n.indexOf(o);-1!==r&&n.splice(r,1)}for(let o=n.length-1;o>=0;o-=1)a.removeAttribute(n[o]);s.length===n.length?a.removeAttribute(Qr):a.getAttribute(Qr)!==i.join(",")&&a.setAttribute(Qr,i.join(","))},Es=(e,t)=>{const{baseTag:a,bodyAttributes:r,htmlAttributes:s,linkTags:n,metaTags:i,noscriptTags:o,onChangeClientState:l,scriptTags:c,styleTags:d,title:u,titleAttributes:h}=e;Ns("body",r),Ns("html",s),((e,t)=>{void 0!==e&&document.title!==e&&(document.title=us(e)),Ns("title",t)})(u,h);const p={baseTag:Ss("base",a),linkTags:Ss("link",n),metaTags:Ss("meta",i),noscriptTags:Ss("noscript",o),scriptTags:Ss("script",c),styleTags:Ss("style",d)},m={},f={};Object.keys(p).forEach(e=>{const{newTags:t,oldTags:a}=p[e];t.length&&(m[e]=t),a.length&&(f[e]=p[e].oldTags)}),t&&t(),l(e,m,f)},As=null,Rs=e=>{As&&cancelAnimationFrame(As),e.defer?As=requestAnimationFrame(()=>{Es(e,()=>{As=null})}):(Es(e),As=null)},Cs=class extends s.Component{constructor(){super(...arguments),r(this,"rendered",!1)}shouldComponentUpdate(e){return!Br(e,this.props)}componentDidUpdate(){this.emitChange()}componentWillUnmount(){const{helmetInstances:e}=this.props.context;e.remove(this),this.emitChange()}emitChange(){const{helmetInstances:e,setHelmet:t}=this.props.context;let a=null;const r=(s=e.get().map(e=>{const t={...e.props};return delete t.context,t}),{baseTag:ls(["href"],s),bodyAttributes:os("bodyAttributes",s),defer:ss(s,Zr),encode:ss(s,es),htmlAttributes:os("htmlAttributes",s),linkTags:cs("link",["rel","href"],s),metaTags:cs("meta",["name","charset","http-equiv","property","itemprop"],s),noscriptTags:cs("noscript",["innerHTML"],s),onChangeClientState:is(s),scriptTags:cs("script",["src","innerHTML"],s),styleTags:cs("style",["cssText"],s),title:ns(s),titleAttributes:os("titleAttributes",s),prioritizeSeoTags:ds(s,rs)});var s;Ts.canUseDOM?Rs(r):ws&&(a=ws(r)),t(a)}init(){if(this.rendered)return;this.rendered=!0;const{helmetInstances:e}=this.props.context;e.add(this),this.emitChange()}render(){return this.init(),null}},Is=(t=class extends s.Component{shouldComponentUpdate(e){return!Fr(ps(this.props,"helmetData"),ps(e,"helmetData"))}mapNestedChildrenToProps(e,t){if(!t)return null;switch(e.type){case"script":case"noscript":return{innerHTML:t};case"style":return{cssText:t};default:throw new Error(`<${e.type} /> elements are self-closing and can not contain children. Refer to our API for more information.`)}}flattenArrayTypeChildren(e,t,a,r){return{...t,[e.type]:[...t[e.type]||[],{...a,...this.mapNestedChildrenToProps(e,r)}]}}mapObjectTypeChildren(e,t,a,r){switch(e.type){case"title":return{...t,[e.type]:r,titleAttributes:{...a}};case"body":return{...t,bodyAttributes:{...a}};case"html":return{...t,htmlAttributes:{...a}};default:return{...t,[e.type]:{...a}}}}mapArrayTypeChildrenToProps(e,t){let a={...t};return Object.keys(e).forEach(t=>{a={...a,[t]:e[t]}}),a}warnOnInvalidChildren(e,t){return $r(Yr.some(t=>e.type===t),"function"==typeof e.type?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":`Only elements types ${Yr.join(", ")} are allowed. Helmet does not support rendering <${e.type}> elements. Refer to our API for more information.`),$r(!t||"string"==typeof t||Array.isArray(t)&&!t.some(e=>"string"!=typeof e),`Helmet expects a string as a child of <${e.type}>. Did you forget to wrap your children in braces? ( <${e.type}>{\`\`}</${e.type}> ) Refer to our API for more information.`),!0}mapChildrenToProps(e,t){let a={};return o.Children.forEach(e,e=>{if(!e||!e.props)return;const{children:r,...s}=e.props,n=Object.keys(s).reduce((e,t)=>(e[Jr[t]||t]=s[t],e),{});let{type:i}=e;
2switch("symbol"==typeof i?i=i.toString():this.warnOnInvalidChildren(e,r),i){case"Symbol(react.fragment)":t=this.mapChildrenToProps(r,t);break;case"link":case"meta":case"noscript":case"script":case"style":a=this.flattenArrayTypeChildren(e,a,n,r);break;default:t=this.mapObjectTypeChildren(e,t,n,r)}}),this.mapArrayTypeChildrenToProps(a,t)}render(){const{children:e,...t}=this.props;let a={...t},{helmetData:r}=t;if(e&&(a=this.mapChildrenToProps(e,a)),r&&!(r instanceof js)){r=new js(r.context,!0),delete a.helmetData}return r?o.createElement(Cs,{...a,context:r.value}):o.createElement(ks.Consumer,null,e=>o.createElement(Cs,{...a,context:e}))}},r(t,"defaultProps",{defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1}),t);const Os=_e("https://ypsdkqazkbvieilcqyke.supabase.co","eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Inlwc2RrcWF6a2J2aWVpbGNxeWtlIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NTQ4NjI0NzcsImV4cCI6MjA3MDQzODQ3N30.MD6P8-02u5LeT3m1C7vv44qcvZmq-A_gpUht0MdksE0",{auth:"undefined"!=typeof window?{storage:window.localStorage,persistSession:!0,autoRefreshToken:!0}:{persistSession:!1,autoRefreshToken:!1}}),Ds=[{label:"Managing Moscow",path:"/research/managing-moscow",aliases:[]},{label:"The Russia-China Relationship",path:"/research/russia-china",aliases:["Russia-China"]},{label:"The Black Sea Region",path:"/research/black-sea",aliases:["Black Sea"]},{label:"The Baltic Sea Region",path:"/research/baltic-sea",aliases:["Baltic Sea"]},{label:"NATO and Europe",path:"/research/nato-europe",aliases:["NATO Europe","NATO & Europe"]},{label:"The Russia-Ukraine War",path:"/research/russia-ukraine-war",aliases:[]},{label:"The Arctic",path:"/research/arctic",aliases:["Arctic"]},{label:"Central Asia",path:"/research/central-asia",aliases:[]}],Ps=["All",...Ds.map(e=>e.label)],qs=e=>e.toLowerCase().replace(/^the\s+/,"").replace(/\s+(and|&)\s+/g," ").trim(),zs=new Map(Ds.flatMap(e=>[e.label,...e.aliases].map(t=>[qs(t),e]))),Ls=e=>e?zs.get(qs(e)):void 0,Ms=e=>{var t;return(null==(t=Ls(e))?void 0:t.label)??e},Us=(e,t)=>{if(!e)return!1;const a=Array.isArray(e)?e:[e],r=qs(Ms(t));return a.some(e=>"string"==typeof e&&qs(Ms(e))===r)},Fs="announcement",$s=e=>e!==Fs,Bs=Object.fromEntries(Ds.map(e=>[e.label,e.path])),Ws={"ca3e2d2b-dccd-4d71-97af-b6114953b04b":{id:"ca3e2d2b-dccd-4d71-97af-b6114953b04b",slug:"delphi-global-and-asu-barrett-o-connor-center-host-a-panel-discussion-statecraft-and-imagination-in-search-of-ukraine-s-geopolitical-future",title:"Delphi Global and ASU Barrett-O'Connor Center Host a Panel Discussion \"Statecraft and Imagination: In Search of Ukraine's Geopolitical Future\"",summary:"Delphi Global Research Center in Washington, DC.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/hyfizhadies_1786039568879.jpeg",category:null,published_at:"2026-08-06T18:05:33.713+00:00"},"delphi-global-and-asu-barrett-o-connor-center-host-a-panel-discussion-statecraft-and-imagination-in-search-of-ukraine-s-geopolitical-future":{id:"ca3e2d2b-dccd-4d71-97af-b6114953b04b",slug:"delphi-global-and-asu-barrett-o-connor-center-host-a-panel-discussion-statecraft-and-imagination-in-search-of-ukraine-s-geopolitical-future",title:"Delphi Global and ASU Barrett-O'Connor Center Host a Panel Discussion \"Statecraft and Imagination: In Search of Ukraine's Geopolitical Future\"",summary:"Delphi Global Research Center in Washington, DC.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/hyfizhadies_1786039568879.jpeg",category:null,published_at:"2026-08-06T18:05:33.713+00:00"},"b913d37c-180a-4aea-8aea-5af21e03cc95":{id:"b913d37c-180a-4aea-8aea-5af21e03cc95",slug:"shaping-the-security-landscape-how-russia-and-china-approach-the-issue-of-security-in-africa",title:"Shaping the Security Landscape: How Russia and China Approach the Issue of Security in Africa",summary:"China and Russia have increasingly been grouped together as revisionist powers interested and intent on expanding influence across Africa. Both challenge Western political influence, cultivate relationships with authoritarian governments, and present themselves as alternatives to Western partnership models. ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/eal8fluydod_1775500857924.jpg",category:null,published_at:"2026-04-06T18:23:41.515+00:00"},"shaping-the-security-landscape-how-russia-and-china-approach-the-issue-of-security-in-africa":{id:"b913d37c-180a-4aea-8aea-5af21e03cc95",slug:"shaping-the-security-landscape-how-russia-and-china-approach-the-issue-of-security-in-africa",title:"Shaping the Security Landscape: How Russia and China Approach the Issue of Security in Africa",summary:"China and Russia have increasingly been grouped together as revisionist powers interested and intent on expanding influence across Africa. Both challenge Western political influence, cultivate relationships with authoritarian governments, and present themselves as alternatives to Western partnership models. ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/eal8fluydod_1775500857924.jpg",category:null,published_at:"2026-04-06T18:23:41.515+00:00"},"cba9d38c-9cb3-4d97-911b-1c5153f48b2d":{id:"cba9d38c-9cb3-4d97-911b-1c5153f48b2d",slug:"glavnoe-the-past-month-in-russia-march-2026",title:"GLAVNOE: The Past Month in Russia, March 2026",summary:"Your monthly overview of major recent developments in Russian politics, economy, and society. March 2026 Issue.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/o5yh4fb2mhm_1774618711320.jpeg",category:null,published_at:"2026-03-27T13:36:49.56+00:00"},"glavnoe-the-past-month-in-russia-march-2026":{id:"cba9d38c-9cb3-4d97-911b-1c5153f48b2d",slug:"glavnoe-the-past-month-in-russia-march-2026",title:"GLAVNOE: The Past Month in Russia, March 2026",summary:"Your monthly overview of major recent developments in Russian politics, economy, and society. March 2026 Issue.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/o5yh4fb2mhm_1774618711320.jpeg",category:null,published_at:"2026-03-27T13:36:49.56+00:00"},"6b7415e3-f22e-47e9-9be9-988744ad8fb9":{id:"6b7415e3-f22e-47e9-9be9-988744ad8fb9",slug:"russian-mobilization-in-2026-the-odds-are-even",title:"Russian Mobilization in 2026: The Odds Are Even",summary:"How likely is Russia to organize a large-scale military mobilization this year? ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/gzs94ch2qh5_1784815039096.png",category:null,published_at:"2026-07-23T13:56:57.53+00:00"},"russian-mobilization-in-2026-the-odds-are-even":{id:"6b7415e3-f22e-47e9-9be9-988744ad8fb9",slug:"russian-mobilization-in-2026-the-odds-are-even",title:"Russian Mobilization in 2026: The Odds Are Even",summary:"How likely is Russia to organize a large-scale military mobilization this year? ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/gzs94ch2qh5_1784815039096.png",category:null,published_at:"2026-07-23T13:56:57.53+00:00"},"4112976b-d094-4f39-9e99-cf255a8df9e2":{id:"4112976b-d094-4f39-9e99-cf255a8df9e2",slug:"what-we-should-worry-about-when-we-worry-about-the-arctic",title:"What We Should Worry About When We Worry About the Arctic",summary:"The US N
2ational Security Strategy, released in December 2025, contains around 10,000 words but none of them are “Arctic.” The strategy also omits references to similar words like polar or what NATO typically refers to as the High North. Nevertheless, it is increasingly difficult to engage with national security and defense professionals today when worries about threats and challenges emanating from the Arctic do not feature prominently.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/sdy3qmc8a6_1773743820277.jpg",category:null,published_at:"2026-03-17T10:36:02.806+00:00"},"what-we-should-worry-about-when-we-worry-about-the-arctic":{id:"4112976b-d094-4f39-9e99-cf255a8df9e2",slug:"what-we-should-worry-about-when-we-worry-about-the-arctic",title:"What We Should Worry About When We Worry About the Arctic",summary:"The US National Security Strategy, released in December 2025, contains around 10,000 words but none of them are “Arctic.” The strategy also omits references to similar words like polar or what NATO typically refers to as the High North. Nevertheless, it is increasingly difficult to engage with national security and defense professionals today when worries about threats and challenges emanating from the Arctic do not feature prominently.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/sdy3qmc8a6_1773743820277.jpg",category:null,published_at:"2026-03-17T10:36:02.806+00:00"},"c8dbec7d-44dc-478c-8ece-5d803c3dcd0c":{id:"c8dbec7d-44dc-478c-8ece-5d803c3dcd0c",slug:"glavnoe-the-past-month-in-russia-june-2026",title:"GLAVNOE: The Past Month in Russia, June 2026",summary:"Your monthly overview of major recent developments in Russian politics, economy, and society. June 2026 Issue.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/2cixxcz6dsr_1783541252731.jpeg",category:null,published_at:"2026-07-01T18:13:47.76+00:00"},"glavnoe-the-past-month-in-russia-june-2026":{id:"c8dbec7d-44dc-478c-8ece-5d803c3dcd0c",slug:"glavnoe-the-past-month-in-russia-june-2026",title:"GLAVNOE: The Past Month in Russia, June 2026",summary:"Your monthly overview of major recent developments in Russian politics, economy, and society. June 2026 Issue.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/2cixxcz6dsr_1783541252731.jpeg",category:null,published_at:"2026-07-01T18:13:47.76+00:00"},"0ba471bf-fb18-4fc1-b1d7-6b3930d3de43":{id:"0ba471bf-fb18-4fc1-b1d7-6b3930d3de43",slug:"how-uzbekistan-s-plastics-gamble-offers-insights-into-the-country-and-region-s-future",title:"How Uzbekistan’s Plastics Gamble Offers Insights Into the Country and Region’s Future",summary:"As investments and technology continue to pour into deep processing gas, Uzbekistan is increasingly poised to be a regional leader in production capabilities. Watching how Tashkent navigates these challenges will reveal clues about the country’s direction for years to come. ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/hqcafobm49g_1769007793153.jpg",category:null,published_at:"2026-01-21T14:52:14.138+00:00"},"how-uzbekistan-s-plastics-gamble-offers-insights-into-the-country-and-region-s-future":{id:"0ba471bf-fb18-4fc1-b1d7-6b3930d3de43",slug:"how-uzbekistan-s-plastics-gamble-offers-insights-into-the-country-and-region-s-future",title:"How Uzbekistan’s Plastics Gamble Offers Insights Into the Country and Region’s Future",summary:"As investments and technology continue to pour into deep processing gas, Uzbekistan is increasingly poised to be a regional leader in production capabilities. Watching how Tashkent navigates these challenges will reveal clues about the country’s direction for years to come. ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/hqcafobm49g_1769007793153.jpg",category:null,published_at:"2026-01-21T14:52:14.138+00:00"},"760dbeb8-e975-4f19-b451-5a4995d76b2c":{id:"760dbeb8-e975-4f19-b451-5a4995d76b2c",slug:"the-soft-center-of-nato-s-eastern-flank",title:"The Soft Center of NATO's Eastern Flank",summary:"Are the Czech Republic, Slovakia, and Hungary up to the task of deterring Russian aggression in NATO's Eastern Flank?",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/wbacgqgkxi_1784220659148.png",category:null,published_at:"2026-07-01T19:20:05.583+00:00"},"the-soft-center-of-nato-s-eastern-flank":{id:"760dbeb8-e975-4f19-b451-5a4995d76b2c",slug:"the-soft-center-of-nato-s-eastern-flank",title:"The Soft Center of NATO's Eastern Flank",summary:"Are the Czech Republic, Slovakia, and Hungary up to the task of deterring Russian aggression in NATO's Eastern Flank?",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/wbacgqgkxi_1784220659148.png",category:null,published_at:"2026-07-01T19:20:05.583+00:00"},"7695bd68-13a6-4eac-af95-a290fd5606de":{id:"7695bd68-13a6-4eac-af95-a290fd5606de",slug:"escalation-dynamics-and-narrative-signaling-in-the-baltic-black-sea-corridor",title:"Escalation Dynamics and Narrative Signaling in the Baltic–Black Sea Corridor",summary:"How Russian Signals Are Read, Misread, and Fed into Alliance Response",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/3f5wbpwwxl4_1789664743700.JPG",category:null,published_at:"2026-09-17T17:01:13.522+00:00"},"escalation-dynamics-and-narrative-signaling-in-the-baltic-black-sea-corridor":{id:"7695bd68-13a6-4eac-af95-a290fd5606de",slug:"escalation-dynamics-and-narrative-signaling-in-the-baltic-black-sea-corridor",title:"Escalation Dynamics and Narrative Signaling in the Baltic–Black Sea Corridor",summary:"How Russian Signals Are Read, Misread, and Fed into Alliance Response",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/3f5wbpwwxl4_1789664743700.JPG",category:null,published_at:"2026-09-17T17:01:13.522+00:00"},"eec9ca3a-9810-41ad-9fd3-9a6043a86b35":{id:"eec9ca3a-9810-41ad-9fd3-9a6043a86b35",slug:"russia-s-arctic-lack-of-ground-forces-a-manageable-problem-for-now",title:"Russia’s Arctic: Lack of Ground Forces a Manageable Problem, for Now",summary:"Russia’s military planners probably want their counterparts in NATO countries to believe that Moscow is building significant ground force capacity in the Arctic both to deter attacks and to have more conventional military options in the event of war. ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/tun7wwo264s_1775150958052.png",category:null,published_at:"2026-04-02T17:28:20.014+00:00"},"russia-s-arctic-lack-of-ground-forces-a-manageable-problem-for-now":{id:"eec9ca3a-9810-41ad-9fd3-9a6043a86b35",slug:"russia-s-arctic-lack-of-ground-forces-a-manageable-problem-for-now",title:"Russia’s Arctic: Lack of Ground Forces a Manageable Problem, for Now",summary:"Russia’s military planners probably want their counterparts in NATO countries to believe that Moscow is building significant ground force capacity in the Arctic both to deter attacks and to have more conventional military options in the event of war. ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/tun7wwo264s_1775150958052.png",category:null,published_at:"2026-04-02T17:28:20.014+00:00"},"77d0a33b-3c24-4d8e-873b-4fd99bb9db1e":{id:"77d0a33b-3c24-4d8e-873b-4fd99bb9db1e",slug:"nato-s-eastern-flank-key-priorities-for-developing-regional-infrastru
2cture-to-address-critical-weaknesses",title:"Nothing Happens Until Something Moves: Infrastructure Development Priorities on NATO’s Eastern Flank",summary:"NATO’s eastern periphery remains volatile and exposed to critical weaknesses in regional infrastructure. This continues to hinder military integration and rapid reinforcement.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/ke31n9gogw_1762715896121.jpg",category:null,published_at:"2025-08-07T04:00:00+00:00"},"nato-s-eastern-flank-key-priorities-for-developing-regional-infrastructure-to-address-critical-weaknesses":{id:"77d0a33b-3c24-4d8e-873b-4fd99bb9db1e",slug:"nato-s-eastern-flank-key-priorities-for-developing-regional-infrastructure-to-address-critical-weaknesses",title:"Nothing Happens Until Something Moves: Infrastructure Development Priorities on NATO’s Eastern Flank",summary:"NATO’s eastern periphery remains volatile and exposed to critical weaknesses in regional infrastructure. This continues to hinder military integration and rapid reinforcement.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/ke31n9gogw_1762715896121.jpg",category:null,published_at:"2025-08-07T04:00:00+00:00"},"74c1283a-24f8-4e7c-895a-ab906b02233a":{id:"74c1283a-24f8-4e7c-895a-ab906b02233a",slug:"the-future-of-chinese-and-russian-interests-in-africa-key-areas-of-convergence-and-divergence-and-likely-outcomes",title:"The Future of Chinese and Russian Interests in Africa: Key Areas of Convergence and Divergence and Likely Outcomes",summary:"At the systemic level, China and Russia continue to share important interests. However, beneath this shared strategic outlook lies a growing divergence in how each country engages Africa.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/i56tbvg2jqm_1786041728801.jpg",category:null,published_at:"2026-08-04T16:30:34.411+00:00"},"the-future-of-chinese-and-russian-interests-in-africa-key-areas-of-convergence-and-divergence-and-likely-outcomes":{id:"74c1283a-24f8-4e7c-895a-ab906b02233a",slug:"the-future-of-chinese-and-russian-interests-in-africa-key-areas-of-convergence-and-divergence-and-likely-outcomes",title:"The Future of Chinese and Russian Interests in Africa: Key Areas of Convergence and Divergence and Likely Outcomes",summary:"At the systemic level, China and Russia continue to share important interests. However, beneath this shared strategic outlook lies a growing divergence in how each country engages Africa.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/i56tbvg2jqm_1786041728801.jpg",category:null,published_at:"2026-08-04T16:30:34.411+00:00"},"2af4c7f5-9d0a-4295-8e15-df9f103eb8cf":{id:"2af4c7f5-9d0a-4295-8e15-df9f103eb8cf",slug:"from-risk-premium-to-real-disruption-iran-hormuz-and-energy-prices",title:"From Risk Premium to Real Disruption: Iran, Hormuz, and Energy Prices",summary:"The Strait of Hormuz is virtually closed. Tanker traffic has slowed sharply, vessels are pooling on both sides, and war risk insurance has become the binding constraint for physical trade. This is where a geopolitical story meets a market mechanics story.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/5m86skudhfp_1773159910071.jpg",category:null,published_at:"2026-03-10T16:21:53.717+00:00"},"from-risk-premium-to-real-disruption-iran-hormuz-and-energy-prices":{id:"2af4c7f5-9d0a-4295-8e15-df9f103eb8cf",slug:"from-risk-premium-to-real-disruption-iran-hormuz-and-energy-prices",title:"From Risk Premium to Real Disruption: Iran, Hormuz, and Energy Prices",summary:"The Strait of Hormuz is virtually closed. Tanker traffic has slowed sharply, vessels are pooling on both sides, and war risk insurance has become the binding constraint for physical trade. This is where a geopolitical story meets a market mechanics story.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/5m86skudhfp_1773159910071.jpg",category:null,published_at:"2026-03-10T16:21:53.717+00:00"},"49ae5522-4020-4931-8999-12174f6c6833":{id:"49ae5522-4020-4931-8999-12174f6c6833",slug:"crimea-and-the-dniester-region-the-reconfigured-world-2025-2075",title:"Crimea and the Dnie
2ster Region: The Reconfigured World, 2025–2075",summary:"This is part II of four-part series on historical perspectives on Crimea and the Dniester. Geoeconomic, demographic, corridor, and technology vectors — and what they mean for the deprivation thesis. ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/up7nmc06hw_1779816169413.png",category:null,published_at:"2026-05-20T14:42:18.942+00:00"},"crimea-and-the-dniester-region-the-reconfigured-world-2025-2075":{id:"49ae5522-4020-4931-8999-12174f6c6833",slug:"crimea-and-the-dniester-region-the-reconfigured-world-2025-2075",title:"Crimea and the Dniester Region: The Reconfigured World, 2025–2075",summary:"This is part II of four-part series on historical perspectives on Crimea and the Dniester. Geoeconomic, demographic, corridor, and technology vectors — and what they mean for the deprivation thesis. ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/up7nmc06hw_1779816169413.png",category:null,published_at:"2026-05-20T14:42:18.942+00:00"},"9c28d2af-5cb4-492a-bf55-d8e142fc3916":{id:"9c28d2af-5cb4-492a-bf55-d8e142fc3916",slug:"greenland-and-u-s-arctic-security-what-s-really-at-risk",title:"Greenland and US Arctic Security: What’s Really at Risk",summary:"President Donald Trump and his acolytes have argued that the US needs to absorb the island of Greenland for its raw materials, to ensure US security, and to prevent aggressive powers like China and Russia from taking it first.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/2ucuijxfprk_1769526614512.avif",category:null,published_at:"2026-01-27T15:07:37.88+00:00"},"greenland-and-u-s-arctic-security-what-s-really-at-risk":{id:"9c28d2af-5cb4-492a-bf55-d8e142fc3916",slug:"greenland-and-u-s-arctic-security-what-s-really-at-risk",title:"Greenland and US Arctic Security: What’s Really at Risk",summary:"President Donald Trump and his acolytes have argued that the US needs to absorb the island of Greenland for its raw materials, to ensure US security, and to prevent aggressive powers like China and Russia from taking it first.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/2ucuijxfprk_1769526614512.avif",category:null,published_at:"2026-01-27T15:07:37.88+00:00"},"3cb12e81-9adb-4df4-88ab-968c2205af6f":{id:"3cb12e81-9adb-4df4-88ab-968c2205af6f",slug:"the-war-has-reached-moscow-and-russian-propaganda-seems-lost",title:"The War Has Reached Moscow, and the Russian Propaganda Machine Seems Lost",summary:"History shows that Russia rarely changes its behavior out of goodwill. But it has repeatedly changed its calculations when confronted with sufficiently strong and persistent pressure. ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/hlwu6fnh8n_1783541336941.jpeg",category:null,published_at:"2026-06-30T15:10:59.509+00:00"},"the-war-has-reached-moscow-and-russian-propaganda-seems-lost":{id:"3cb12e81-9adb-4df4-88ab-968c2205af6f",slug:"the-war-has-reached-moscow-and-russian-propaganda-seems-lost",title:"The War Has Reached Moscow, and the Russian Propaganda Machine Seems Lost",summary:"History shows that Russia rarely changes its behavior out of goodwill. But it has repeatedly changed its calculations when confronted with sufficiently strong and persistent pressure. ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/hlwu6fnh8n_1783541336941.jpeg",category:null,published_at:"2026-06-30T15:10:59.509+00:00"},"6d019fa4-7584-412e-9e14-1965d949ce1c":{id:"6d019fa4-7584-412e-9e14-1965d949ce1c",slug:"russia-is-not-collapsing-yet-but-we-should-prepare-for-the-moment-when-it-becomes-possible",title:"Russia Is Not Collapsing Yet. But We Should Prepare for the Moment When It Becomes Possible",summary:"In recent years, Russia has most often been viewed through the prism of the war in Ukraine. That is understandable, but this limited view of Russia can obscure important things happening there. The global noise contributes to this as well: US domestic politics, the increasingly transactional stance of Donald Trump, changes in Europe, rising tensions in the Middle East, and so on. All of this overshadows one essential question: What is actually happening inside Russia itself?",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/ntlgc4dc1i_1776186078117.png",category:null,published_at:"2026-04-14T16:55:06.708+00:00"},"russia-is-not-collapsing-yet-but-we-should-prepare-for-the-moment-when-it-becomes-possible":{id:"6d019fa4-7584-412e-9e14-1965d949ce1c",slug:"russia-is-not-collapsing-yet-but-we-should-prepare-for-the-moment-when-it-becomes-possible",title:"Russia Is Not Collapsing Yet. But We Should Prepare for the Moment When It Becomes Possible",summary:"In recent years, Russia has most often been viewed through the prism of the war in Ukraine. That is understandable, but this limited view of Russia can obscure important things happening there. The global noise contributes to this as well: US domestic politics, the increasingly transactional stance of Donald Trump, changes in Europe, rising tensions in the Middle East, and so on. All of this overshadows one essential question: What is actually happening inside Russia itself?",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/ntlgc4dc1i_1776186078117.png",category:null,published_at:"2026-04-14T16:55:06.708+00:00"},"427634c1-6e90-4b74-8645-3ba2d8f70db5":{id:"427634c1-6e90-4b74-8645-3ba2d8f70db5",slug:"comrades-in-ice-a-what-if-discussion-of-sino-russian-arctic-basing",title:"Comrades In Ice: A “What If” Discu
2ssion of Sino-Russian Arctic Basing",summary:"Is it possible for Russia and China to establish a joint base in the Arctic?",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/g5yd1m8xmc_1778497108049.jpeg",category:null,published_at:"2026-05-11T10:51:14.011+00:00"},"comrades-in-ice-a-what-if-discussion-of-sino-russian-arctic-basing":{id:"427634c1-6e90-4b74-8645-3ba2d8f70db5",slug:"comrades-in-ice-a-what-if-discussion-of-sino-russian-arctic-basing",title:"Comrades In Ice: A “What If” Discussion of Sino-Russian Arctic Basing",summary:"Is it possible for Russia and China to establish a joint base in the Arctic?",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/g5yd1m8xmc_1778497108049.jpeg",category:null,published_at:"2026-05-11T10:51:14.011+00:00"},"be121eed-5916-4aff-bbde-3b504578425d":{id:"be121eed-5916-4aff-bbde-3b504578425d",slug:"glavnoe-the-past-month-in-russia-july-2026",title:"GLAVNOE: The Past Month in Russia – July 2026",summary:"Your monthly overview of major recent developments in Russian politics, economy, and society. July 2026 Issue.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/90en6efknjq_1785439052959.jpg",category:null,published_at:"2026-07-30T04:00:00+00:00"},"glavnoe-the-past-month-in-russia-july-2026":{id:"be121eed-5916-4aff-bbde-3b504578425d",slug:"glavnoe-the-past-month-in-russia-july-2026",title:"GLAVNOE: The Past Month in Russia – July 2026",summary:"Your monthly overview of major recent developments in Russian politics, economy, and society. July 2026 Issue.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/90en6efknjq_1785439052959.jpg",category:null,published_at:"2026-07-30T04:00:00+00:00"},"5972d135-4e22-4125-b7a3-269ec90e4c82":{id:"5972d135-4e22-4125-b7a3-269ec90e4c82",slug:"targeting-as-strategy-civilian-harm-in-ukraine-as-a-forward-indicator-of-russian-intent",title:"Targeting as Strategy: Civilian Harm in Ukraine as a Forward Indicator of Russian Intent",summary:"This report explores Russia's use of war crimes as part of its strategy in Ukraine. It aims to understand what Russian civilian targeting behavior tells us about Moscow's strategic logic. ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/zgnpn6zfgg_1773836483941.jpg",category:null,published_at:"2026-03-18T12:19:12.076+00:00"},"targeting-as-strategy-civilian-harm-in-ukraine-as-a-forward-indicator-of-russian-intent":{id:"5972d135-4e22-4125-b7a3-269ec90e4c82",slug:"targeting-as-strategy-civilian-harm-in-ukraine-as-a-forward-indicator-of-russian-intent",title:"Targeting as Strategy: Civilian Harm in Ukraine as a Forward Indicator of Russian Intent",summary:"This report explores Russia's use of war crimes as part of its strategy in Ukraine. It aims to understand what Russian civilian targeting behavior tells us about Moscow's strategic logic. ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/zgnpn6zfgg_1773836483941.jpg",category:null,published_at:"2026-03-18T12:19:12.076+00:00"},"7298a79b-0053-4023-9fab-5b6862eaf283":{id:"7298a79b-0053-4023-9fab-5b6862eaf283",slug:"from-commitments-to-corridors-nato-s-eastern-flank-infrastructure",title:"From Commitments to Corridors: NATO’s Eastern Flank Infrastructure",summary:"On its Eastern Flank NATO still faces major vulnerabilities and infrastructure challenges. Did this year's Ankara summit address this sufficiently? ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/bq6jrx9hi2_1784829821005.jpeg",category:null,published_at:"2026-07-23T18:02:13.751+00:00"},"from-commitments-to-corridors-nato-s-eastern-flank-infrastructure":{id:"7298a79b-0053-4023-9fab-5b6862eaf283",slug:"from-commitments-to-corridors-nato-s-eastern-flank-infrastructure",title:"From Commitments to Corridors: NATO’s Eastern Flank Infrastructure",summary:"On its Eastern Flank NATO still faces major vulnerabilities and infrastru
2cture challenges. Did this year's Ankara summit address this sufficiently? ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/bq6jrx9hi2_1784829821005.jpeg",category:null,published_at:"2026-07-23T18:02:13.751+00:00"},"20337281-0956-48f2-88be-f2e5d1f8c475":{id:"20337281-0956-48f2-88be-f2e5d1f8c475",slug:"crimea-and-the-dniester-four-scenario-narratives-to-2035",title:"Crimea and the Dniester: Four Scenario Narratives to 2035",summary:"This is part III of four-part series on historical perspectives on Crimea and the Dniester: What 120 contemporary factors and 2,500 years of historical evidence imply about combined deprivation. ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/3lz4qhs9wug_1779836776040.jpeg",category:null,published_at:"2026-05-26T22:48:15.214+00:00"},"crimea-and-the-dniester-four-scenario-narratives-to-2035":{id:"20337281-0956-48f2-88be-f2e5d1f8c475",slug:"crimea-and-the-dniester-four-scenario-narratives-to-2035",title:"Crimea and the Dniester: Four Scenario Narratives to 2035",summary:"This is part III of four-part series on historical perspectives on Crimea and the Dniester: What 120 contemporary factors and 2,500 years of historical evidence imply about combined deprivation. ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/3lz4qhs9wug_1779836776040.jpeg",category:null,published_at:"2026-05-26T22:48:15.214+00:00"},"7a5584cf-bf3e-464d-97b3-5e58f3b5355e":{id:"7a5584cf-bf3e-464d-97b3-5e58f3b5355e",slug:"resilience-and-fragility-of-russian-domestic-order",title:"Resilience and Fragility of Russian Domestic Order",summary:"If war sustains legitimacy, what would peace mean for the regime? This article examines how Russia’s internal resilience architecture shapes its strategic behavior, and where its vulnerabilities lie.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/ahm0ncfzpyw_1772480657323.jpg",category:null,published_at:"2026-03-02T19:36:56.343+00:00"},"resilience-and-fragility-of-russian-domestic-order":{id:"7a5584cf-bf3e-464d-97b3-5e58f3b5355e",slug:"resilience-and-fragility-of-russian-domestic-order",title:"Resilience and Fragility of Russian Domestic Order",summary:"If war sustains legitimacy, what would peace mean for the regime? This article examines how Russia’s internal resilience architecture shapes its strategic behavior, and where its vulnerabilities lie.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/ahm0ncfzpyw_1772480657323.jpg",category:null,published_at:"2026-03-02T19:36:56.343+00:00"},"ae844e0a-82f4-41cd-a8ac-c79a0b6b8354":{id:"ae844e0a-82f4-41cd-a8ac-c79a0b6b8354",slug:"swaggering-toward-sicily-american-hubris-under-trump-invites-catastrophe",title:"Swaggering Toward Sicily: American Hubris Under Trump Invites Catastrophe",summary:"Donald Trump and those around him are drunk on the elixir of American military power; it is only  a matter of time before they plunge the US - and the world - into a catastrophe.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/wl7qa9simlf_1768243658489.jpg",category:null,published_at:"2026-01-12T18:45:53.432+00:00"},"swaggering-toward-sicily-american-hubris-under-trump-invites-catastrophe":{id:"ae844e0a-82f4-41cd-a8ac-c79a0b6b8354",slug:"swaggering-toward-sicily-american-hubris-under-trump-invites-catastrophe",title:"Swaggering Toward Sicily: American Hubris Under Trump Invites Catastrophe",summary:"Donald Trump and those around him are drunk on the elixir of American military power; it is only  a matter of time before they plunge the US - and the world - into a catastrophe.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/wl7qa9simlf_1768243658489.jpg",category:null,published_at:"2026-01-12T18:45:53.432+00:00"},"68c41986-7e0d-4881-b7cd-77cc9e358cf4":{id:"68c41986-7e0d-4881-b7cd-77cc9e358cf4",slug:"crimea-and-the-dniester-region-a-single-historical-system",title:"Crimea and the Dnie
2ster Region: A Single Historical System",summary:"This is part I of four-part series on historical perspectives on Crimea and the Dniester.\nWhat 2,500 years of evidence tells us about combined deprivation. \n",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/sv5aspydju8_1778500242611.jpeg",category:null,published_at:"2026-05-11T11:35:14.278+00:00"},"crimea-and-the-dniester-region-a-single-historical-system":{id:"68c41986-7e0d-4881-b7cd-77cc9e358cf4",slug:"crimea-and-the-dniester-region-a-single-historical-system",title:"Crimea and the Dniester Region: A Single Historical System",summary:"This is part I of four-part series on historical perspectives on Crimea and the Dniester.\nWhat 2,500 years of evidence tells us about combined deprivation. \n",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/sv5aspydju8_1778500242611.jpeg",category:null,published_at:"2026-05-11T11:35:14.278+00:00"},"94ecd4e1-7950-4e99-a4da-eafc8b2d7258":{id:"94ecd4e1-7950-4e99-a4da-eafc8b2d7258",slug:"glavnoe-the-past-month-in-russia",title:"GLAVNOE: The past month in Russia, January 2026",summary:"Your monthly overview of major recent developments in Russian politics, economy, and society. January 2026 Issue.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/ej82td080pm_1769792161108.jpg",category:null,published_at:"2026-01-30T16:57:46.166+00:00"},"glavnoe-the-past-month-in-russia":{id:"94ecd4e1-7950-4e99-a4da-eafc8b2d7258",slug:"glavnoe-the-past-month-in-russia",title:"GLAVNOE: The past month in Russia, January 2026",summary:"Your monthly overview of major recent developments in Russian politics, economy, and society. January 2026 Issue.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/ej82td080pm_1769792161108.jpg",category:null,published_at:"2026-01-30T16:57:46.166+00:00"},"98587620-a7b9-4660-bdd8-87f5d3308d45":{id:"98587620-a7b9-4660-bdd8-87f5d3308d45",slug:"russia-keeps-escalating-in-the-black-sea-what-is-moscow-plotting-next",title:"Russia Keeps Escalating In the Black Sea: What Is Moscow Plotting Next?",summary:"This is an update on an earlier version of this article published by NSC Romania.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/3y7zaecm1ye_1787685351284.jpg",category:null,published_at:"2026-08-25T19:14:54.709+00:00"},"russia-keeps-escalating-in-the-black-sea-what-is-moscow-plotting-next":{id:"98587620-a7b9-4660-bdd8-87f5d3308d45",slug:"russia-keeps-escalating-in-the-black-sea-what-is-moscow-plotting-next",title:"Russia Keeps Escalating In the Black Sea: What Is Moscow Plotting Next?",summary:"This is an update on an earlier version of this article published by NSC Romania.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/3y7zaecm1ye_1787685351284.jpg",category:null,published_at:"2026-08-25T19:14:54.709+00:00"},"6e3e68ab-b352-46ec-85fe-6e5fa3d78e69":{id:"6e3e68ab-b352-46ec-85fe-6e5fa3d78e69",slug:"the-weight-of-inheritance-post-soviet-institutional-and-operational-legacies-in-russian-warfighting",title:"The Weight of Inheritance: Post-Soviet Institutional and Operational Legacies in Russian Warfighting ",summary:"Why the Russian Military Fights the Way It Does",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/tqwfj00oj08_1781015707839.png",category:null,published_at:"2026-06-08T12:42:45.497+00:00"},"the-weight-of-inheritance-post-soviet-institutional-and-operational-legacies-in-russian-warfighting":{id:"6e3e68ab-b352-46ec-85fe-6e5fa3d78e69",slug:"the-weight-of-inheritance-post-soviet-institutional-and-operational-legacies-in-russian-warfighting",title:"The Weight of Inheritance: Post-Soviet Institutional and Operational Legacies in Russian Warfighting ",summary:"Why the Russian Military Fights the Way It Does",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/tqwfj00oj08_1781015707839.png",category:null,published_at:"2026-06-08T12:42:45.497+00:00"},"03cc9e7e-5c70-4892-9b26-fe50ba3b922c":{id:"03cc9e7e-5c70-4892-9b26-fe50ba3b922c",slug:"sino-russian-unlimited-partnership-or-hierarchical-friendship",title:"Sino-Russian Unlimited Partnership or Hierarchical Friendship?",summary:"For Russia and China, beneath the surface of the diplomatic pleasantries, joint military exercises, and staged leadership summits lie deep incompatibilities and increasingly widening contradictions in several domains- territorial, geopolitical, economic, technological, and military. These historical fractures and grievances challenge the sustainability of their alliance while revealing their underlying rivalry.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/w4kybhbqifn_1762713037444.jpg",category:null,published_at:"2025-08-19T04:00:00+00:00"},"sino-russian-unlimited-partnership-or-hierarchical-friendship":{id:"03cc9e7e-5c70-4892-9b26-fe50ba3b922c",slug:"sino-russian-unlimited-partnership-or-hierarchical-friendship",title:"Sino-Russian Unlimited Partnership or Hierarchical Friendship?",summary:"For Russia and China, beneath the surface of the diplomatic pleasantries, joint military exercises, and staged leadership summits lie deep incompatibilities and increasingly widening contradictions in several domains- territorial, geopolitical, economic, technological, and military. These historical fractures and grievances challenge the sustainability of their alliance while revealing their underlying rivalry.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/w4kybhbqifn_1762713037444.jpg",category:null,published_at:"2025-08-19T04:00:00+00:00"},"4dda9f1d-4f3c-4add-a0e7-7a90c5dcb9d8":{id:"4dda9f1d-4f3c-4add-a0e7-7a90c5dcb9d8",slug:"russia-s-hollow-promises-mali-s-fuel-blockade-exposes-the-myth-of-moscow-s-power",title:"Russia’s Hollow Promises: Mali’s Fuel Blockade Exposes the Myth of Moscow’s Power",summary:"Mali’s junta has been caught on the back foot by the al-Qaeda affiliate known as JNIM (Jama’at Nusrat al-Islam wal-Muslimin) and by public opinion in the capital, Bamako, leading to a growing chorus of reports that Bamako might fall. Amongst a host of concerns, this outcome would mean that al-Qaeda would take de facto control of a key Sahelian state and could increase the pressure on Mali’s neighbors, Niger and Burkina Faso, to succumb as well.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/5kabbmum9c6_1762965885937.jpg",category:null,published_at:"2025-11-12T05:00:00+00:00"},"russia-s-hollow-promises-mali-s-fuel-blockade-exposes-the-myth-of-moscow-s-power":{id:"4dda9f1d-4f3c-4add-a0e7-7a90c5dcb9d8",slug:"russia-s-hollow-promises-mali-s-fuel-blockade-exposes-the-myth-of-moscow-s-power",title:"Russia’s Hollow Promises: Mali’s Fuel Blockade Exposes the Myth of Moscow’s Power",summary:"Mali’s junta has been caught on the back foot by the al-Qaeda affiliate known as JNIM (Jama’at Nusrat al-Islam wal-Muslimin) and by public opinion in the capital, Bamako, leading to a growing chorus of reports that Bamako might fall. Amongst a host of concerns, this outcome would mean that al-Qaeda would take de facto control of a key Sahelian state and could increase the pressure on Mali’s neighbors, Niger and Burkina Faso, to succumb as well.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/5kabbmum9c6_1762965885937.jpg",category:null,published_at:"2025-11-12T05:00:00+00:00"},"4ac28fd2-d1c8-4161-8a20-b32c91c2381d":{id:"4ac28fd2-d1c8-4161-8a20-b32c91c2381d",slug:"tajikistan-after-the-afghan-war",title:"Tajikistan After the Afghan War",summary:"As Afghanistan Stabilizes, Tajikistan Risks Losing the Strategic Importance That Sustained It for Three Decades. ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/vzq3ee0gmwf_1785951390275.jpeg",category:null,published_at:"2026-08-05T17:36:02.703+00:00"},"tajikistan-after-the-afghan-war":{id:"4ac28fd2-d1c8-4161-8a20-b32c91c2381d",slug:"tajikistan-after-the-afghan-war",title:"Tajikistan After the Afghan War",summary:"As Afghanistan Stabilizes, Tajikistan Risks Losing the Strategic Importance That Sustained It for Three Decades. ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/vzq3ee0gmwf_1785951390275.jpeg",category:null,published_at:"2026-08-05T17:36:02.703+00:00"},"ebd344fd-2e87-4752-b473-27182c383962":{id:"ebd344fd-2e87-4752-b473-27182c383962",slug:"the-turkic-corridor-a-likely-new-force-in-the-eurasian-continent",title:"The Turkic Corridor: A Likely New Force in the Eurasian Continent",summary:"On November 12, 2021, a group of Turkic states that had been meeting regularly for 30 years reorganized itself into the Organization of Turkic States (OTS). Three months later, Russia launched its full-scale invasion of Ukraine.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/2xitu12uda6_1768908776452.jpg",category:null,published_at:"2026-01-20T11:26:48.878+00:00"},"the-turkic-corridor-a-likely-new-force-in-the-eurasian-continent":{id:"ebd344fd-2e87-4752-b473-27182c383962",slug:"the-turkic-corridor-a-likely-new-force-in-the-eurasian-continent",title:"The Turkic Corridor: A Likely New Force in the Eurasian Continent",summary:"On November 12, 2021, a group of Turkic states that had been meeting regularly for 30 years reorganized itself into the Organization of Turkic States (OTS). Three months later, Russia launched its full-scale invasion of Ukraine.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/2xitu12uda6_1768908776452.jpg",category:null,published_at:"2026-01-20T11:26:48.878+00:00"},"d7b58712-bd45-46a1-bd9d-c6e83c6c0b87":{id:"d7b58712-bd45-46a1-bd9d-c6e83c6c0b87",slug:"importance-of-defense-industry-development-insights-from-finland-and-latvia",title:"Importance of Defense Industry Development: Insights from Finland and Latvia",summary:"It is undeniable that the defense industries of most European states have seen rapid growth and development over the past four years. These changes are most evident in the states bordering Russia and Belarus—the Baltic states, Poland, and Finland. However, despite a shared history and geopolitical challenges since the dissolution of the Soviet Union, these states have pursued very different approaches to defense policy. ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/7cqx0eqcsyy_1771456194929.jpg",category:null,published_at:"2026-02-18T23:08:51.042+00:00"},"importance-of-defense-industry-development-insights-from-finland-and-latvia":{id:"d7b58712-bd45-46a1-bd9d-c6e83c6c0b87",slug:"importance-of-defense-industry-development-insights-from-finland-and-latvia",title:"Importance of Defense Industry Development: Insights from Finland and Latvia",summary:"It is undeniable that the defense industries of most European states have seen rapid growth and development over the past four years. These changes are most evident in the states bordering Russia and Belarus—the Baltic states, Poland, and Finland. However, despite a shared history and geopolitical challenges since the dissolution of the Soviet Union, these states have pursued very different approaches to defense policy. ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/7cqx0eqcsyy_1771456194929.jpg",category:null,published_at:"2026-02-18T23:08:51.042+00:00"},"fd31e253-0c34-4353-a205-202c8a0098ab":{id:"fd31e253-0c34-4353-a205-202c8a0098ab",slug:"announcing-the-2026-statecraft-and-imagination-fellows",title:"Announcing the 2026 Statecraft and Imagination Fellows ",summary:"Fellowship Program for Emerging Ukrainian Leaders\nat Delphi Global Research Center\n",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/3hnttlaitcy_1786117748314.png",category:null,published_at:"2026-06-30T18:13:39.005+00:00"},"announcing-the-2026-statecraft-and-imagination-fellows":{id:"fd31e253-0c34-4353-a205-202c8a0098ab",slug:"announcing-the-2026-statecraft-and-imagination-fellows",title:"Announcing the 2026 Statecraft and Imagination Fellows ",summary:"Fellowship Program for Emerging Ukrainian Leaders\nat Delphi Global Research Center\n",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/3hnttlaitcy_1786117748314.png",category:null,published_at:"2026-06-30T18:13:39.005+00:00"},"6e9bf511-b32d-43c0-90dd-c3625bde02b6":{id:"6e9bf511-b32d-43c0-90dd-c3625bde02b6",slug:"lithuania-and-trump-2-0-the-economic-dimension",title:"Lithuania and Trump 2.0 - The Economic Dimension",summary:"Lithuania passed the test posed by the first Trump administration with flying colors. At a time when most European allies were rattled by the president’s brusque style and criticisms of European free-riding, Lithuania more than doubled its defense spending between President Trump’s election in 2016 and his departure from office in 2021. ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/4d0hbwsrccf_1764016825582.png",category:null,published_at:"2025-11-24T20:44:03.75+00:00"},"lithuania-and-trump-2-0-the-economic-dimension":{id:"6e9bf511-b32d-43c0-90dd-c3625bde02b6",slug:"lithuania-and-trump-2-0-the-economic-dimension",title:"Lithuania and Trump 2.0 - The Economic Dimension",summary:"Lithuania passed the test posed by the first Trump administration with flying colors. At a time when most European allies were rattled by the president’s brusque style and criticisms of European free-riding, Lithuania more than doubled its defense spending between President Trump’s election in 2016 and his departure from office in 2021. ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/4d0hbwsrccf_1764016825582.png",category:null,published_at:"2025-11-24T20:44:03.75+00:00"},"be0c0880-c53e-4a8c-8059-c929b25e220e":{id:"be0c0880-c53e-4a8c-8059-c929b25e220e",slug:"the-us-iran-war-and-the-future-of-tr
2ipp-in-the-south-caucasus",title:"The US-Iran War and the Future of TRIPP in the South Caucasus",summary:"Any long-term U.S. strategy toward Tehran must recognize that the stakes extend well beyond the Arab world or the Persian Gulf. They also encompass the geopolitical future of the South Caucasus and the broader contest over power, influence, and connectivity across Eurasia.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/vs38hcyu15d_1780077104266.png",category:null,published_at:"2026-05-28T10:27:14.596+00:00"},"the-us-iran-war-and-the-future-of-tripp-in-the-south-caucasus":{id:"be0c0880-c53e-4a8c-8059-c929b25e220e",slug:"the-us-iran-war-and-the-future-of-tripp-in-the-south-caucasus",title:"The US-Iran War and the Future of TRIPP in the South Caucasus",summary:"Any long-term U.S. strategy toward Tehran must recognize that the stakes extend well beyond the Arab world or the Persian Gulf. They also encompass the geopolitical future of the South Caucasus and the broader contest over power, influence, and connectivity across Eurasia.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/vs38hcyu15d_1780077104266.png",category:null,published_at:"2026-05-28T10:27:14.596+00:00"},"5b570b9d-e643-4a1a-9eb5-a0888820a112":{id:"5b570b9d-e643-4a1a-9eb5-a0888820a112",slug:"delphi-global-research-center-year-in-review-2025-2026",title:"Delphi Global Research Center: Year in Review 2025-2026",summary:"Reflecting on the past 12 months of activities at Delphi Global Research Center. ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/ra4pfvjdgca_1785956958424.jpg",category:null,published_at:"2026-08-05T19:08:35.57+00:00"},"delphi-global-research-center-year-in-review-2025-2026":{id:"5b570b9d-e643-4a1a-9eb5-a0888820a112",slug:"delphi-global-research-center-year-in-review-2025-2026",title:"Delphi Global Research Center: Year in Review 2025-2026",summary:"Reflecting on the past 12 months of activities at Delphi Global Research Center. ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/ra4pfvjdgca_1785956958424.jpg",category:null,published_at:"2026-08-05T19:08:35.57+00:00"},"5b85281b-b6f7-4803-8153-311cb5dba1a8":{id:"5b85281b-b6f7-4803-8153-311cb5dba1a8",slug:"rearm-europe-one-year-later-between-expectations-and-reality",title:"ReArm Europe One Year Later - Between Expectations and Reality",summary:"The ReArm Europe / Readiness 2030 went into effect a year ago with an ambitious arms production plan. Looking ahead, however, the key question still remains: is Europe capable of defending itself and producing that much equipment in such a short time?",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/5nt2e2k2v05_1784214511125.jpg",category:null,published_at:"2026-07-16T14:41:04.993+00:00"},"rearm-europe-one-year-later-between-expectations-and-reality":{id:"5b85281b-b6f7-4803-8153-311cb5dba1a8",slug:"rearm-europe-one-year-later-between-expectations-and-reality",title:"ReArm Europe One Year Later - Between Expectations and Reality",summary:"The ReArm Europe / Readiness 2030 went into effect a year ago with an ambitious arms production plan. Looking ahead, however, the key question still remains: is Europe capable of defending itself and producing that much equipment in such a short time?",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/5nt2e2k2v05_1784214511125.jpg",category:null,published_at:"2026-07-16T14:41:04.993+00:00"},"338cabab-f1c6-47f9-8e68-a45f78552e6c":{id:"338cabab-f1c6-47f9-8e68-a45f78552e6c",slug:"donald-trump-ukraine-and-european-security-a-second-munich",title:"Donald Trump, Ukraine, and European Security: A Second Munich",summary:"By the end of 2025, it became clear that the Trump administration is prepared to sacrifice both Ukraine and Transatlanticism to the quest for better ties with Moscow.  President Trump’s recent interview with Politico and the administration’s National Security Strategy espouse a view of a Europe where leaders are weak, societies are decadent and at risk of “civilizational erasure,” and values must be resisted by Washington along with far-right European parties. ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/xiua358hrnj_1767808660640.jpg",category:null,published_at:"2026-01-07T05:00:00+00:00"},"donald-trump-ukraine-and-european-security-a-second-munich":{id:"338cabab-f1c6-47f9-8e68-a45f78552e6c",slug:"donald-trump-ukraine-and-european-security-a-second-munich",title:"Donald Trump, Ukraine, and European Security: A Second Munich",summary:"By the end of 2025, it became clear that the Trump administration is prepared to sacrifice both Ukraine and Transatlanticism to the quest for better ties with Moscow.  President Trump’s re
2cent interview with Politico and the administration’s National Security Strategy espouse a view of a Europe where leaders are weak, societies are decadent and at risk of “civilizational erasure,” and values must be resisted by Washington along with far-right European parties. ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/xiua358hrnj_1767808660640.jpg",category:null,published_at:"2026-01-07T05:00:00+00:00"},"3ef0bee0-57ab-4e87-81df-bab316a53a7a":{id:"3ef0bee0-57ab-4e87-81df-bab316a53a7a",slug:"a-movie-we-ve-seen-before-russia-s-pitch-for-africa",title:"A Movie We’ve Seen Before: Russia’s Pitch for Africa",summary:"It came as no surprise last month to learn that the Russian Federation was luring able-bodied Africans to come, fight, and die at the front in Ukraine. Duped by promises of training and professional advancement, young Africans grab for the few available life rafts, even when chimerical. ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/dpswor00j2_1768251155557.jpeg",category:null,published_at:"2026-01-12T18:13:31.674+00:00"},"a-movie-we-ve-seen-before-russia-s-pitch-for-africa":{id:"3ef0bee0-57ab-4e87-81df-bab316a53a7a",slug:"a-movie-we-ve-seen-before-russia-s-pitch-for-africa",title:"A Movie We’ve Seen Before: Russia’s Pitch for Africa",summary:"It came as no surprise last month to learn that the Russian Federation was luring able-bodied Africans to come, fight, and die at the front in Ukraine. Duped by promises of training and professional advancement, young Africans grab for the few available life rafts, even when chimerical. ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/dpswor00j2_1768251155557.jpeg",category:null,published_at:"2026-01-12T18:13:31.674+00:00"},"135ec81d-708c-4c9f-8212-f7a6e1646e8f":{id:"135ec81d-708c-4c9f-8212-f7a6e1646e8f",slug:"the-parade-in-moscow-to-be-or-not-to-be",title:"The Parade in Moscow: To Be or Not to Be?",summary:"A sharp analysis of how Russia’s Victory Day parade has evolved from a symbol of historical remembrance into a tool of ideological control and geopolitical messaging under Vladimir Putin. Ambassador Eitvydas Bajarūnas examines how the Kremlin’s growing reliance on World War II mythology reveals both the strengths and deepening insecurities of the Russian regime amid the war against Ukraine.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/n025dn5pdse_1779835381582.png",category:null,published_at:"2026-05-26T22:42:26.205+00:00"},"the-parade-in-moscow-to-be-or-not-to-be":{id:"135ec81d-708c-4c9f-8212-f7a6e1646e8f",slug:"the-parade-in-moscow-to-be-or-not-to-be",title:"The Parade in Moscow: To Be or Not to Be?",summary:"A sharp analysis of how Russia’s Victory Day parade has evolved from a symbol of historical remembrance into a tool of ideological control and geopolitical messaging under Vladimir Putin. Ambassador Eitvydas Bajarūnas examines how the Kremlin’s growing reliance on World War II mythology reveals both the strengths and deepening insecurities of the Russian regime amid the war against Ukraine.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/n025dn5pdse_1779835381582.png",category:null,published_at:"2026-05-26T22:42:26.205+00:00"},"16bb762f-e25e-4d71-a239-28a1e2a82e4d":{id:"16bb762f-e25e-4d71-a239-28a1e2a82e4d",slug:"a-long-and-winding-road-to-nowhere-georgia-s-perennial-quest-for-security-and-belonging",title:"A Long and Winding Road to Nowhere? Georgia’s Perennial Quest for Security and Belonging",summary:"Georgia’s latest crisis continues a centuries old pattern for the ancient South Caucasus nation. As a small country in an unstable but strategically important region, finding sustainable security and a geopolitical “home” was always going to be a challenge for Georgia. ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/cdmtz81ew2_1762713506432.jpeg",category:null,published_at:"2025-08-10T04:00:00+00:00"},"a-long-and-winding-road-to-nowhere-georgia-s-perennial-quest-for-security-and-belonging":{id:"16bb762f-e25e-4d71-a239-28a1e2a82e4d",slug:"a-long-and-winding-road-to-nowhere-georgia-s-perennial-quest-for-security-and-belonging",title:"A Long and Winding Road to Nowhere? Georgia’s Perennial Quest for Security and Belonging",summary:"Georgia’s latest crisis continues a centuries old pattern for the ancient South Caucasus nation. As a small country in an unstable but strategically important region, finding sustainable security and a geopolitical “home” was always going to be a challenge for Georgia. ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/cdmtz81ew2_1762713506432.jpeg",category:null,published_at:"2025-08-10T04:00:00+00:00"},"108a8268-d7e6-408d-b66e-5c03f4cfe0bf":{id:"108a8268-d7e6-408d-b66e-5c03f4cfe0bf",slug:"the-strategic-crossroads-of-the-south-caucasus-shades-of-gray-of-iranian-influence-in-georgia",title:"The Strategic Crossroads of the South Caucasus: Shades of Gray of Iranian Influence in Georgia",summary:"Why the West has Strategic Stakes in Restoring Georgian Democracy.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/0ojn2aumjqmd_1776102184599.jpg",category:null,published_at:"2026-04-13T17:41:55.497+00:00"},"the-strategic-crossroads-of-the-south-caucasus-shades-of-gray-of-iranian-influence-in-georgia":{id:"108a8268-d7e6-408d-b66e-5c03f4cfe0bf",slug:"the-strategic-crossroads-of-the-south-caucasus-shades-of-gray-of-iranian-influence-in-georgia",title:"The Strategic Crossroads of the South Caucasus: Shades of Gray of Iranian Influence in Georgia",summary:"Why the West has Strategic Stakes in Restoring Georgian Democracy.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/0ojn2aumjqmd_1776102184599.jpg",category:null,published_at:"2026-04-13T17:41:55.497+00:00"},"4a6cb482-2bd1-48bd-bc31-549b67f5b9c1":{id:"4a6cb482-2bd1-48bd-bc31-549b67f5b9c1",slug:"the-burden-of-return",title:"The Burden of Return: Russia’s Veterans, Regional Strain, and the Politics of Reintegration",summary:"When it comes to veteran reintegration, the Kremlin centralizes political control and loyalty-building while decentralizing the costs and responsibility for actual service delivery.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/bxgyb7h8twt_1784153510920.png",category:null,published_at:"2026-07-15T22:11:23.847+00:00"},"the-burden-of-return":{id:"4a6cb482-2bd1-48bd-bc31-549b67f5b9c1",slug:"the-burden-of-return",title:"The Burden of Return: Russia’s Veterans, Regional Strain, and the Politics of Reintegration",summary:"When it comes to veteran reintegration, the Kremlin centralizes political control and loyalty-building while decentralizing the costs and responsibility for actual service delivery.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/bxgyb7h8twt_1784153510920.png",category:null,published_at:"2026-07-15T22:11:23.847+00:00"},"f4c359b2-8718-4003-864e-16577eb67102":{id:"f4c359b2-8718-4003-864e-16577eb67102",slug:"the-strategic-contest-behind-the-middle-corridor-digital-power-and-the-future-of-the-south-caucasus",title:"The Strategic Contest Behind the Middle Corridor: Digital Power and the Future of the South Caucasus",summary:"American strategy in the South Caucasus and greater Eurasia must look beyond traditional infrastru
2cture. Investing in ports and railways is no longer enough. The US must also invest in secure telecom networks, cloud storage, cybersecurity, digital governance, online finance, and artificial intelligence.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/ym6m9yi7wq_1782155229940.png",category:null,published_at:"2026-06-22T19:02:20.215+00:00"},"the-strategic-contest-behind-the-middle-corridor-digital-power-and-the-future-of-the-south-caucasus":{id:"f4c359b2-8718-4003-864e-16577eb67102",slug:"the-strategic-contest-behind-the-middle-corridor-digital-power-and-the-future-of-the-south-caucasus",title:"The Strategic Contest Behind the Middle Corridor: Digital Power and the Future of the South Caucasus",summary:"American strategy in the South Caucasus and greater Eurasia must look beyond traditional infrastructure. Investing in ports and railways is no longer enough. The US must also invest in secure telecom networks, cloud storage, cybersecurity, digital governance, online finance, and artificial intelligence.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/ym6m9yi7wq_1782155229940.png",category:null,published_at:"2026-06-22T19:02:20.215+00:00"},"232baa32-fe10-485d-91d8-2331d77954d8":{id:"232baa32-fe10-485d-91d8-2331d77954d8",slug:"negotiating-with-putin-thoughts-on-the-witkof-kushner-meetings-in-moscow-and-kyiv",title:"Negotiating with Putin: Thoughts on the Witkof-Kushner Meetings in Moscow and Kyiv",summary:"An ironclad security guarantee is the only kind of “steel” that can deter Putin. Without it, he will continue to probe with a bayonet.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/71hpsa4re3_1789142053673.jpeg",category:null,published_at:"2026-09-11T15:53:25.534+00:00"},"negotiating-with-putin-thoughts-on-the-witkof-kushner-meetings-in-moscow-and-kyiv":{id:"232baa32-fe10-485d-91d8-2331d77954d8",slug:"negotiating-with-putin-thoughts-on-the-witkof-kushner-meetings-in-moscow-and-kyiv",title:"Negotiating with Putin: Thoughts on the Witkof-Kushner Meetings in Moscow and Kyiv",summary:"An ironclad security guarantee is the only kind of “steel” that can deter Putin. Without it, he will continue to probe with a bayonet.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/71hpsa4re3_1789142053673.jpeg",category:null,published_at:"2026-09-11T15:53:25.534+00:00"},"2b7c67bf-f95b-46e4-9184-97768d823cdf":{id:"2b7c67bf-f95b-46e4-9184-97768d823cdf",slug:"exiled-russian-philosopher-ivan-ilyin-is-really-putin-s-brain",title:"Exiled Russian Philosopher Ivan Ilyin Is Really “Putin’s Brain”",summary:"What makes Vladimir Putin tick? Many Russian analysts focus on what he is going to do next, what his health is like, and who would seize power if he were incapacitated. Others opine about Putin’s desire for peace or war, the war crimes he committed during the occupation of Ukraine, or how he gets along with President Donald Trump.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/z7g2q1l1yy_1772733687384.png",category:null,published_at:"2026-03-05T17:57:47.246+00:00"},"exiled-russian-philosopher-ivan-ilyin-is-really-putin-s-brain":{id:"2b7c67bf-f95b-46e4-9184-97768d823cdf",slug:"exiled-russian-philosopher-ivan-ilyin-is-really-putin-s-brain",title:"Exiled Russian Philosopher Ivan Ilyin Is Really “Putin’s Brain”",summary:"What makes Vladimir Putin tick? Many Russian analysts focus on what he is going to do next, what his health is like, and who would seize power if he were incapacitated. Others opine about Putin’s desire for peace or war, the war crimes he committed during the occupation of Ukraine, or how he gets along with President Donald Trump.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/z7g2q1l1yy_1772733687384.png",category:null,published_at:"2026-03-05T17:57:47.246+00:00"},"473e9bd9-5337-428e-842c-3626f2d08a35":{id:"473e9bd9-5337-428e-842c-3626f2d08a35",slug:"the-viktoria-bonya-phenomenon-how-an-influencer-became-a-stress-test-for-the-kremlin-system",title:"The 
2Viktoria Bonya Phenomenon: How an Influencer Became a Stress Test for the Kremlin System",summary:"Russian social media influencer Viktoria Bonya’s unexpected appeal to Vladimir Putin revealed a new form of discontent emerging not from opposition circles, but from Russia’s apolitical mass audience.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/0u0m5ga52hc_1777668190958.png",category:null,published_at:"2026-05-01T20:36:26.706+00:00"},"the-viktoria-bonya-phenomenon-how-an-influencer-became-a-stress-test-for-the-kremlin-system":{id:"473e9bd9-5337-428e-842c-3626f2d08a35",slug:"the-viktoria-bonya-phenomenon-how-an-influencer-became-a-stress-test-for-the-kremlin-system",title:"The Viktoria Bonya Phenomenon: How an Influencer Became a Stress Test for the Kremlin System",summary:"Russian social media influencer Viktoria Bonya’s unexpected appeal to Vladimir Putin revealed a new form of discontent emerging not from opposition circles, but from Russia’s apolitical mass audience.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/0u0m5ga52hc_1777668190958.png",category:null,published_at:"2026-05-01T20:36:26.706+00:00"},"539d1eba-2aa7-498c-8385-39cf6fa9a6f3":{id:"539d1eba-2aa7-498c-8385-39cf6fa9a6f3",slug:"as-winter-comes-to-ukraine-s-frontlines-zelensky-is-betting-on-a-miracle",title:"As Winter Comes to Ukraine's Frontlines, Zelensky is Betting on a Miracle",summary:"Autumn is fading to winter in Ukraine’s east. The battle lines with Russia are soon to freeze over, though Russia is squeezing out some last-minute victories in key fortress cities.\nThe situation leaves Ukraine tallying the results of the past year. Despite critical hits to the Russian economy, Ukraine’s situation is only bleaker.\n",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/mzzbh99vk2g_1763153068467.jpg",category:null,published_at:"2025-11-14T20:32:59.336+00:00"},"as-winter-comes-to-ukraine-s-frontlines-zelensky-is-betting-on-a-miracle":{id:"539d1eba-2aa7-498c-8385-39cf6fa9a6f3",slug:"as-winter-comes-to-ukraine-s-frontlines-zelensky-is-betting-on-a-miracle",title:"As Winter Comes to Ukraine's Frontlines, Zelensky is Betting on a Miracle",summary:"Autumn is fading to winter in Ukraine’s east. The battle lines with Russia are soon to freeze over, though Russia is squeezing out some last-minute victories in key fortress cities.\nThe situation leaves Ukraine tallying the results of the past year. Despite critical hits to the Russian economy, Ukraine’s situation is only bleaker.\n",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/mzzbh99vk2g_1763153068467.jpg",category:null,published_at:"2025-11-14T20:32:59.336+00:00"},"2f6df489-842e-485c-8cc9-61fe1cdf09cb":{id:"2f6df489-842e-485c-8cc9-61fe1cdf09cb",slug:"gulliver-and-the-drones-what-lilliput-can-teach-the-giants",title:"Gulliver and the Drones: What Lilliput Can Teach the Giants",summary:"Inexpensive, expendable drones are changing the balance between small states and great powers. But is asymmetric leverage the same as strategic equality?",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/e823n1hplha_1789141305969.jpeg",category:null,published_at:"2026-09-11T15:41:49.191+00:00"},"gulliver-and-the-drones-what-lilliput-can-teach-the-giants":{id:"2f6df489-842e-485c-8cc9-61fe1cdf09cb",slug:"gulliver-and-the-drones-what-lilliput-can-teach-the-giants",title:"Gulliver and the Drones: What Lilliput Can Teach the Giants",summary:"Inexpensive, expendable drones are changing the balance between small states and great powers. But is asymmetric leverage the same as strategic equality?",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/e823n1hplha_1789141305969.jpeg",category:null,published_at:"2026-09-11T15:41:49.191+00:00"},"d4e79ce4-ffa0-49b0-836e-5453177efc10":{id:"d4e79ce4-ffa0-49b0-836e-5453177efc10",slug:"the-us-50-billion-era-loan-to-ukraine-how-russia-s-frozen-assets-were-turned-into-ukraine-s-financial-bedrock",title:"The $50 billion ERA Loan to Ukraine: How Russia’s Frozen Assets Were Turned into Ukraine’s Financial Bedrock ",summary:"This report aims to describe a microcosm of the overarching economic war between Western states and the Russian Federation. ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/qt5hm9vkdpq_1773746037150.jpg",category:null,published_at:"2026-03-17T11:12:52.08+00:00"},"the-us-50-billion-era-loan-to-ukraine-how-russia-s-frozen-assets-were-turned-into-ukraine-s-financial-bedrock":{id:"d4e79ce4-ffa0-49b0-836e-5453177efc10",slug:"the-us-50-billion-era-loan-to-ukraine-how-russia-s-frozen-assets-were-turned-into-ukraine-s-financial-bedrock",title:"The $50 billion ERA Loan to Ukraine: How Russia’s Frozen Assets Were Turned into Ukraine’s Financial Bedrock ",summary:"This report aims to describe a microcosm of the overarching economic war between Western states and the Russian Federation. ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/qt5hm9vkdpq_1773746037150.jpg",category:null,published_at:"2026-03-17T11:12:52.08+00:00"},"d8c0fc89-0078-41b4-830a-1849f1880327":{id:"d8c0fc89-0078-41b4-830a-1849f1880327",slug:"the-critical-infrastru
2cture-gambit-how-the-us-is-securing-the-balkans",title:'The "Critical Infrastructure" Gambit: How the US is Securing the Balkans',summary:"The Western Balkans’ geographical proximity to Ukraine, coupled with its cost-effective labor force and existing logistics networks, positions the region as an ideal manufacturing hub for the Ukrainian war effort. ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/l944uhnptc_1770144552950.jpg",category:null,published_at:"2026-02-03T18:47:45.443+00:00"},"the-critical-infrastructure-gambit-how-the-us-is-securing-the-balkans":{id:"d8c0fc89-0078-41b4-830a-1849f1880327",slug:"the-critical-infrastructure-gambit-how-the-us-is-securing-the-balkans",title:'The "Critical Infrastructure" Gambit: How the US is Securing the Balkans',summary:"The Western Balkans’ geographical proximity to Ukraine, coupled with its cost-effective labor force and existing logistics networks, positions the region as an ideal manufacturing hub for the Ukrainian war effort. ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/l944uhnptc_1770144552950.jpg",category:null,published_at:"2026-02-03T18:47:45.443+00:00"},"fe8eb0e4-850c-49e2-9068-2e7b4fe33f9e":{id:"fe8eb0e4-850c-49e2-9068-2e7b4fe33f9e",slug:"delphi-global-at-the-2026-riga-conference",title:"Delphi Global at the 2026 Riga Conference ",summary:"The view from Riga. ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/skj06y1pb4n_1789147237409.jpg",category:null,published_at:"2026-09-11T17:19:48.813+00:00"},"delphi-global-at-the-2026-riga-conference":{id:"fe8eb0e4-850c-49e2-9068-2e7b4fe33f9e",slug:"delphi-global-at-the-2026-riga-conference",title:"Delphi Global at the 2026 Riga Conference ",summary:"The view from Riga. ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/skj06y1pb4n_1789147237409.jpg",category:null,published_at:"2026-09-11T17:19:48.813+00:00"},"9d137571-b362-4b80-953b-f0390214640d":{id:"9d137571-b362-4b80-953b-f0390214640d",slug:"two-wars-countless-consequences-us-policy-on-israel-and-ukraine-could-make-the-world-an-uglier-place",title:"Two Wars, Countless Consequences  US Policy on Israel and Ukraine Could Make the World an Uglier Place",summary:"US policy toward the wars in Europe and the Middle East could make war crimes and nuclear blackmail more common, to the detriment of US national security and global stability.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/3mt4i3nswc7_1762713482917.jpg",category:null,published_at:"2025-07-23T04:00:00+00:00"},"two-wars-countless-consequences-us-policy-on-israel-and-ukraine-could-make-the-world-an-uglier-place":{id:"9d137571-b362-4b80-953b-f0390214640d",slug:"two-wars-countless-consequences-us-policy-on-israel-and-ukraine-could-make-the-world-an-uglier-place",title:"Two Wars, Countless Consequences  US Policy on Israel and Ukraine Could Make the World an Uglier Place",summary:"US policy toward the wars in Europe and the Middle East could make war crimes and nuclear blackmail more common, to the detriment of US national security and global stability.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/3mt4i3nswc7_1762713482917.jpg",category:null,published_at:"2025-07-23T04:00:00+00:00"},"d9b3dd19-af67-468e-a1f6-66b5083df224":{id:"d9b3dd19-af67-468e-a1f6-66b5083df224",slug:"glavnoe-the-past-month-in-russia-august-2026",title:"GLAVNOE: The past month in Russia - August 2026",summary:"Your monthly overview of major recent developments in Russian politics, economy, and society. August 2026 Issue.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/l44h7y3inyb_1788196157069.png",category:null,published_at:"2026-08-31T12:15:30.874+00:00"},"glavnoe-the-past-month-in-russia-august-2026":{id:"d9b3dd19-af67-468e-a1f6-66b5083df224",slug:"glavnoe-the-past-month-in-russia-august-2026",title:"GLAVNOE: The past month in Russia - August 2026",summary:"Your monthly overview of major recent developments in Russian politics, economy, and society. August 2026 Issue.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/l44h7y3inyb_1788196157069.png",category:null,published_at:"2026-08-31T12:15:30.874+00:00"},"4283f7cd-59c7-44b9-8081-90f1e0be4590":{id:"4283f7cd-59c7-44b9-8081-90f1e0be4590",slug:"from-frozen-conflict-to-strategic-asset-transnistria-as-part-of-russia-s-pressure-point-strategy-against-the-west",title:"From “Frozen Conflict” to Strategic Asset:  Transnistria as Part of Russia’s Pressure Point Strategy  against the West ",summary:"Transnistria represents not a frozen conflict but a weaponized platform demonstrating Russia's strategic innovation: achieving exhaustion-based victory through patient accumulation of positional advantages that, when activated synchronously, overwhelm Western consensus-based security structures without triggering decisive response.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/8hk2vz9leo_1762710584962.jpg",category:null,published_at:"2025-09-20T04:00:00+00:00"},"from-frozen-conflict-to-strategic-asset-transnistria-as-part-of-russia-s-pressure-point-strategy-against-the-west":{id:"4283f7cd-59c7-44b9-8081-90f1e0be4590",slug:"from-frozen-conflict-to-strategic-asset-transnistria-as-part-of-russia-s-pressure-point-strategy-against-the-west",title:"From “Frozen Conflict” to Strategic Asset:  Transnistria as Part of Russia’s Pressure Point Strategy  against the West ",summary:"Transnistria represents not a frozen conflict but a weaponized platform demonstrating Russia's strategic innovation: achieving exhaustion-based victory through patient accumulation of positional advantages that, when activated synchronously, overwhelm Western consensus-based security structures without triggering decisive response.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/8hk2vz9leo_1762710584962.jpg",category:null,published_at:"2025-09-20T04:00:00+00:00"},"c7c1d8b7-3127-4300-8ed1-37aa20bb8c03":{id:"c7c1d8b7-3127-4300-8ed1-37aa20bb8c03",slug:"glavnoe-the-past-month-in-russia-september-2026",title:"GLAVNOE: The past month in Russia - September 2026",summary:"Your monthly overview of major recent developments in Russian politics, economy, and society. September 2026 Issue.",featured_image_url:null,category:null,published_at:"2026-09-24T17:47:20.099+00:00"},"glavnoe-the-past-month-in-russia-september-2026":{id:"c7c1d8b7-3127-4300-8ed1-37aa20bb8c03",slug:"glavnoe-the-past-month-in-russia-september-2026",title:"GLAVNOE: The past month in Russia - September 2026",summary:"Your monthly overview of major recent developments in Russian politics, economy, and society. September 2026 Issue.",featured_image_url:null,category:null,published_at:"2026-09-24T17:47:20.099+00:00"},"26b4098b-e1cb-484e-b707-945b771c6fd4":{id:"26b4098b-e1cb-484e-b707-945b771c6fd4",slug:"the-kill-chain-comes-to-nato-a-fictional-crisis-with-real-lessons",title:"The Kill Chain Comes to NATO: A Fictional Crisis with Real Lessons",summary:"Breaking Russia’s kill chain requires making escalation ineffective rather than trying to manage it or wait it out. The aim is to ensure that each step of a hybrid campaign, up to and including controlled military escalation, produces strategic losses for Moscow instead of gains. This is where resilience and all domain defense become operational concepts that directly deny the Kremlin’s expectation that pressure and blackmail will eventually pay off.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/ma2v3r9ht2_1769009618785.jpg",category:null,published_at:"2026-01-21T15:30:03.972+00:00"},"the-kill-chain-comes-to-nato-a-fictional-crisis-with-real-lessons":{id:"26b4098b-e1cb-484e-b707-945b771c6fd4",slug:"the-kill-chain-comes-to-nato-a-fictional-crisis-with-real-lessons",title:"The Kill Chain Comes to NATO: A Fictional Crisis with Real Lessons",summary:"Breaking Russia’s kill chain requires making escalation ineffective rather than trying to manage it or wait it out. The aim is to ensure that each step of a hybrid campaign, up to and including controlled military escalation, produces strategic losses for Moscow instead of gains. This is where resilience and all domain defense become operational concepts that directly deny the Kremlin’s expectation that pressure and blackmail will eventually pay off.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/ma2v3r9ht2_1769009618785.jpg",category:null,published_at:"2026-01-21T15:30:03.972+00:00"},"5249755a-13f7-47b1-8268-99fde433f6d2":{id:"5249755a-13f7-47b1-8268-99fde433f6d2",slug:"the-techopolar-dilemma-why-technological-dependence-is-europe-s-ultimate-test",title:"The Techopolar Dilemma: Why Technological Dependence is Europe’s Ultimate Test",summary:" Europe has already demonstrated its ability to exercise global influence through regulation-from the GDPR to the Digital Act and the AI Act. The next test is whether it can translate this regulatory influence into technological capabilities and lead through both innovation and rulemaking. The outcome will shape not only Europe’s strategic position but also the distribution of technological and geopolitical power in the twenty-first century.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/sjrtseaaabs_1788773922137.jpeg",category:null,published_at:"2026-09-07T09:36:10.271+00:00"},"the-techopolar-dilemma-why-technological-dependence-is-europe-s-ultimate-test":{id:"5249755a-13f7-47b1-8268-99fde433f6d2",slug:"the-techopolar-dilemma-why-technological-dependence-is-europe-s-ultimate-test",title:"The Techopolar Dilemma: Why Technological Dependence is Europe’s Ultimate Test",summary:" Europe has already demonstrated its ability to exercise global influence through regulation-from the GDPR to the Digital Act and the AI Act. The next test is whether it can translate this regulatory influence into technological capabilities and lead through both innovation and rulemaking. The outcome will shape not only Europe’s strategic position but also the distribution of technological and geopolitical power in the twenty-first century.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/sjrtseaaabs_1788773922137.jpeg",category:null,published_at:"2026-09-07T09:36:10.271+00:00"},"a362cc26-6023-41dd-bd5b-48db85ddd01d":{id:"a362cc26-6023-41dd-bd5b-48db85ddd01d",slug:"china-and-russia-tech-partnerships-and-geopolitical-leverage-in-latin-america",title:"China and Russia: Tech Partnerships and Geopolitical Leverage in Latin America",summary:"Latin America has become a central arena of technological and geopolitical competition between China, Russia, and the United States. China has dramatically expanded its influence through trade, infrastru
2cture, telecom networks, and digital technologies, while Russia has pursued a more limited strategy focused on military cooperation, information operations, and authoritarian partnerships.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/yykkyrgsjn_1779464167198.jpeg",category:null,published_at:"2026-05-22T15:34:09.894+00:00"},"china-and-russia-tech-partnerships-and-geopolitical-leverage-in-latin-america":{id:"a362cc26-6023-41dd-bd5b-48db85ddd01d",slug:"china-and-russia-tech-partnerships-and-geopolitical-leverage-in-latin-america",title:"China and Russia: Tech Partnerships and Geopolitical Leverage in Latin America",summary:"Latin America has become a central arena of technological and geopolitical competition between China, Russia, and the United States. China has dramatically expanded its influence through trade, infrastructure, telecom networks, and digital technologies, while Russia has pursued a more limited strategy focused on military cooperation, information operations, and authoritarian partnerships.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/yykkyrgsjn_1779464167198.jpeg",category:null,published_at:"2026-05-22T15:34:09.894+00:00"},"ec339ebb-15dd-46bb-b21c-e75cea8febbd":{id:"ec339ebb-15dd-46bb-b21c-e75cea8febbd",slug:"the-deep-state-theory-from-russia-s-propaganda-playbook-to-georgia-s-political-narrative",title:"The “Deep State” Theory: From Russia’s Propaganda Playbook to Georgia’s Political Narrative",summary:'The term "Deep State" in the Russian context describes a purported shadow global governing structure that is believed to have an impact on international affairs, including US and EU decision-making. Russia uses this narrative to justify its own geopolitical goals, sow discord within pro-Western cultures, and undermine confidence in democratic governance both at home and in targeted states. ',featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/n5mpjtotug_1763153838643.jpg",category:null,published_at:"2025-11-14T20:56:10.424+00:00"},"the-deep-state-theory-from-russia-s-propaganda-playbook-to-georgia-s-political-narrative":{id:"ec339ebb-15dd-46bb-b21c-e75cea8febbd",slug:"the-deep-state-theory-from-russia-s-propaganda-playbook-to-georgia-s-political-narrative",title:"The “Deep State” Theory: From Russia’s Propaganda Playbook to Georgia’s Political Narrative",summary:'The term "Deep State" in the Russian context describes a purported shadow global governing structure that is believed to have an impact on international affairs, including US and EU decision-making. Russia uses this narrative to justify its own geopolitical goals, sow discord within pro-Western cultures, and undermine confidence in democratic governance both at home and in targeted states. ',featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/n5mpjtotug_1763153838643.jpg",category:null,published_at:"2025-11-14T20:56:10.424+00:00"},"52bc0c32-9718-4a39-971d-f75d5bc4627d":{id:"52bc0c32-9718-4a39-971d-f75d5bc4627d",slug:"lessons-from-russia-s-shahed-fleets-for-us-long-range-drones-and-air-defenses",title:"Lessons from Russia’s Shahed fleets for US long-range drones and air defenses",summary:"When a flock of Shaheds crossed the border into Poland on Sept. 10, 2025, NATO forces had two choices. The first was to send up NATO-supplied F-16 fighters armed with $500,000 apiece Sidewinder air-to-air missiles. The second was to ignore the Russian drones and pretend nothing was wrong — the choice that Romania made in response to a similar Russian incursion days later.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/waks37j8cu_1767825133794.jpg",category:null,published_at:"2026-01-07T05:00:00+00:00"},"lessons-from-russia-s-shahed-fleets-for-us-long-range-drones-and-air-defenses":{id:"52bc0c32-9718-4a39-971d-f75d5bc4627d",slug:"lessons-from-russia-s-shahed-fleets-for-us-long-range-drones-and-air-defenses",title:"Lessons from Russia’s Shahed fleets for US long-range drones and air defenses",summary:"When a flock of Shaheds crossed the border into Poland on Sept. 10, 2025, NATO forces had two choices. The first was to send up NATO-supplied F-16 fighters armed with $500,000 apiece Sidewinder air-to-air missiles. The second w
2as to ignore the Russian drones and pretend nothing was wrong — the choice that Romania made in response to a similar Russian incursion days later.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/waks37j8cu_1767825133794.jpg",category:null,published_at:"2026-01-07T05:00:00+00:00"},"6de44547-a7b1-4c88-9889-e6efeac231c2":{id:"6de44547-a7b1-4c88-9889-e6efeac231c2",slug:"borderlines-and-battlelines-assessing-regional-security-in-the-south-caucasus",title:"Borderlines and Battlelines: Assessing Regional Security in the South Caucasus",summary:"This multi-author report is a collaboration among experts from Armenia, Azerbaijan, Georgia, Germany, Romania, and the United States. ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/m3tpck2yjg8_1781208589799.jpg",category:null,published_at:"2026-06-11T20:09:17.692+00:00"},"borderlines-and-battlelines-assessing-regional-security-in-the-south-caucasus":{id:"6de44547-a7b1-4c88-9889-e6efeac231c2",slug:"borderlines-and-battlelines-assessing-regional-security-in-the-south-caucasus",title:"Borderlines and Battlelines: Assessing Regional Security in the South Caucasus",summary:"This multi-author report is a collaboration among experts from Armenia, Azerbaijan, Georgia, Germany, Romania, and the United States. ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/m3tpck2yjg8_1781208589799.jpg",category:null,published_at:"2026-06-11T20:09:17.692+00:00"},"9ca1ed70-7032-43c9-97c4-77ba8ec83cd4":{id:"9ca1ed70-7032-43c9-97c4-77ba8ec83cd4",slug:"delphi-global-at-the-2026-sarajevo-security-conference",title:"Delphi Global at the 2026 Sarajevo Security Conference ",summary:"The view from the Western Balkans. ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/r9zydi2j2g9_1788774953031.jpeg",category:null,published_at:"2026-09-07T09:54:26.495+00:00"},"delphi-global-at-the-2026-sarajevo-security-conference":{id:"9ca1ed70-7032-43c9-97c4-77ba8ec83cd4",slug:"delphi-global-at-the-2026-sarajevo-security-conference",title:"Delphi Global at the 2026 Sarajevo Security Conference ",summary:"The view from the Western Balkans. ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/r9zydi2j2g9_1788774953031.jpeg",category:null,published_at:"2026-09-07T09:54:26.495+00:00"},"2ba92e26-a83a-4dd3-b2f1-0fd7b50082cc":{id:"2ba92e26-a83a-4dd3-b2f1-0fd7b50082cc",slug:"russia-s-western-aggression-pathways-baltic-or-danube-corridor",title:"Russia’s Western Aggression Pathways: Baltic or Danube Corridor?",summary:"The brief assesses Russia’s strategic options for continued westward aggression, concluding that the Danube Mouth axis represents the most rewarding, probable, and operationally realistic path. Since 2022, the US has strengthened its security posture in Romania, recognizing the region's strategic vulnerability, while the EU maintains its conflict-averse posture, emphasizing negotiation over deterrence",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/l94lpm2h0ci_1762810902546.jpg",category:null,published_at:"2025-07-28T04:00:00+00:00"},"russia-s-western-aggression-pathways-baltic-or-danube-corridor":{id:"2ba92e26-a83a-4dd3-b2f1-0fd7b50082cc",slug:"russia-s-western-aggression-pathways-baltic-or-danube-corridor",title:"Russia’s Western Aggression Pathways: Baltic or Danube Corridor?",summary:"The brief assesses Russia’s strategic options for continued westward aggression, concluding that the Danube Mouth axis represents the most rewarding, probable, and operationally realistic path. Since 2022, the US has strengthened its security posture in Romania, recognizing the region's strategic vulnerability, while the EU maintains its conflict-averse posture, emphasizing negotiation over deterrence",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/l94lpm2h0ci_1762810902546.jpg",category:null,published_at:"2025-07-28T04:00:00+00:00"},"a31af35d-9dcc-408f-95c2-33feefa88d53":{id:"a31af35d-9dcc-408f-95c2-33feefa88d53",slug:"delphi-global-research-center-hosts-an-evening-of-geopolitics-and-theater",title:"Delphi Global Research Center Hosts an Evening of Geopolitics and Theater",summary:"Delphi Global Research Center in Washington, DC",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/victo6ermgg_1786723361918.JPG",category:null,published_at:"2026-08-14T16:04:11.077+00:00"},"delphi-global-research-center-hosts-an-evening-of-geopolitics-and-theater":{id:"a31af35d-9dcc-408f-95c2-33feefa88d53",slug:"delphi-global-research-center-hosts-an-evening-of-geopolitics-and-theater",title:"Delphi Global Research Center Hosts an Evening of Geopolitics and Theater",summary:"Delphi Global Research Center in Washington, DC",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/victo6ermgg_1786723361918.JPG",category:null,published_at:"2026-08-14T16:04:11.077+00:00"},"6d1d51b8-8bb7-4f37-97aa-5129db083e33":{id:"6d1d51b8-8bb7-4f37-97aa-5129db083e33",slug:"four-years-on-still-far-from-peace-in-ukraine",title:"Four Years On: Still Far From Peace In Ukraine ",summary:"Despite the momentum gained at the end of 2025 in negotiations to end the war in Ukraine, driven by President Donald Trump, there is no sign of a compromise acceptable to both sides. ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/96bt1720a55_1768435188014.jpg",category:null,published_at:"2026-01-14T23:53:48.892+00:00"}
2,"four-years-on-still-far-from-peace-in-ukraine":{id:"6d1d51b8-8bb7-4f37-97aa-5129db083e33",slug:"four-years-on-still-far-from-peace-in-ukraine",title:"Four Years On: Still Far From Peace In Ukraine ",summary:"Despite the momentum gained at the end of 2025 in negotiations to end the war in Ukraine, driven by President Donald Trump, there is no sign of a compromise acceptable to both sides. ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/96bt1720a55_1768435188014.jpg",category:null,published_at:"2026-01-14T23:53:48.892+00:00"},"3e7e166f-f560-4fa4-b7f6-65e7344fe8cd":{id:"3e7e166f-f560-4fa4-b7f6-65e7344fe8cd",slug:"when-the-state-rewrites-its-own-history-georgian-dream-s-dangerous-alignment-with-russian-propaganda",title:"When the State Rewrites Its Own History: Georgian Dream’s Dangerous Alignment with Russian Propaganda",summary:"Georgia needs an honest discussion of its history—including the errors of Georgian governments. But honesty requires examining the full historical and strategic context. It cannot mean transforming Russian imperial betrayal into salvation or Russian military aggression into Georgian guilt.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/ywkgs74dli9_1788772894654.jpg",category:null,published_at:"2026-09-07T09:20:51.2+00:00"},"when-the-state-rewrites-its-own-history-georgian-dream-s-dangerous-alignment-with-russian-propaganda":{id:"3e7e166f-f560-4fa4-b7f6-65e7344fe8cd",slug:"when-the-state-rewrites-its-own-history-georgian-dream-s-dangerous-alignment-with-russian-propaganda",title:"When the State Rewrites Its Own History: Georgian Dream’s Dangerous Alignment with Russian Propaganda",summary:"Georgia needs an honest discussion of its history—including the errors of Georgian governments. But honesty requires examining the full historical and strategic context. It cannot mean transforming Russian imperial betrayal into salvation or Russian military aggression into Georgian guilt.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/ywkgs74dli9_1788772894654.jpg",category:null,published_at:"2026-09-07T09:20:51.2+00:00"},"5ade9fb1-09e2-4003-8c66-e4b524b857c8":{id:"5ade9fb1-09e2-4003-8c66-e4b524b857c8",slug:"american-military-posture-in-the-black-sea-how-the-pentagon-can-prevent-a-strategic-mistake",title:"American Military Posture in the Black Sea: How the Pentagon Can Prevent a Strategic Mistake",summary:"A withdrawal of American troops from Romania at a critical time in negotiations on Ukraine would be a serious mistake. Russia would take it as the U.S. giving it a free hand to act in the Black Sea, region which would increase tensions and the risk of escalation.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/lt8bqq43io_1762541441186.jpg",category:null,published_at:"2025-10-29T04:00:00+00:00"},"american-military-posture-in-the-black-sea-how-the-pentagon-can-prevent-a-strategic-mistake":{i
2d:"5ade9fb1-09e2-4003-8c66-e4b524b857c8",slug:"american-military-posture-in-the-black-sea-how-the-pentagon-can-prevent-a-strategic-mistake",title:"American Military Posture in the Black Sea: How the Pentagon Can Prevent a Strategic Mistake",summary:"A withdrawal of American troops from Romania at a critical time in negotiations on Ukraine would be a serious mistake. Russia would take it as the U.S. giving it a free hand to act in the Black Sea, region which would increase tensions and the risk of escalation.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/lt8bqq43io_1762541441186.jpg",category:null,published_at:"2025-10-29T04:00:00+00:00"},"1607d587-480f-4f30-bea4-83328b4eadcf":{id:"1607d587-480f-4f30-bea4-83328b4eadcf",slug:"geo-economics-of-russia-and-china-in-africa",title:"Geo-Economics of Russia and China in Africa",summary:"This report is part III of Delphi Global's ongoing report series on the Russia-China dynamic in Africa ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/epg1dqi71hn_1780921215369.png",category:null,published_at:"2026-06-08T12:17:54.101+00:00"},"geo-economics-of-russia-and-china-in-africa":{id:"1607d587-480f-4f30-bea4-83328b4eadcf",slug:"geo-economics-of-russia-and-china-in-africa",title:"Geo-Economics of Russia and China in Africa",summary:"This report is part III of Delphi Global's ongoing report series on the Russia-China dynamic in Africa ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/epg1dqi71hn_1780921215369.png",category:null,published_at:"2026-06-08T12:17:54.101+00:00"},"564c7645-efc5-4f56-99d8-8f28e506f031":{id:"564c7645-efc5-4f56-99d8-8f28e506f031",slug:"managing-the-transatlantic-trade-and-investment-relationship",title:"Managing the Transatlantic Trade and Investment Relationship",summary:"The second Trump administration has rapidly upended US–EU economic relations, replacing decades of low tariffs and open investment with sweeping protectionism driven by President Trump’s long-standing zero-sum, mercantilist worldview. Although Europe initially hoped for negotiated, reciprocal liberalization, it instead accepted a highly unbalanced arrangement largely because its dependence on US security guarantees constrained its ability to retaliate. ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/q7mrouqyn9_1767823916036.jpg",category:null,published_at:"2026-01-07T05:00:00+00:00"},"managing-the-transatlantic-trade-and-investment-relationship":{id:"564c7645-efc5-4f56-99d8-8f28e506f031",slug:"managing-the-transatlantic-trade-and-investment-relationship",title:"Managing the Transatlantic Trade and Investment Relationship",summary:"The second Trump administration has rapidly upended US–EU economic relations, replacing decades of low tariffs and open investment with sweeping protectionism driven by President Trump’s long-standing zero-sum, mercantilist worldview. Although Europe initially hoped for negotiated, reciprocal liberalization, it instead accepted a highly unbalanced arrangement largely because its dependence on US security guarantees constrained its ability to retaliate. ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/q7mrouqyn9_1767823916036.jpg",category:null,published_at:"2026-01-07T05:00:00+00:00"},"ccb587c0-1f81-4056-ba67-7ef4c0ca87f1":{id:"ccb587c0-1f81-4056-ba67-7ef4c0ca87f1",slug:"russia-and-china-in-africa-interests-influence-and-instruments-of-power",title:"Russia and China in Africa: Interests, Influence, and Instruments of Power",summary:"Africa matters to both Russia and China now more than at any time in recent decades. For Russia to blunt isolation and profit from insecurity; for China to consolidate an alternative global order and protect long-term investments. ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/0mvmre9nak9q_1771518080550.jpg",category:null,published_at:"2026-02-19T16:19:45.883+00:00"},"russia-and-china-in-africa-interests-influence-and-instruments-of-power":{id:"ccb587c0-1f81-4056-ba67-7ef4c0ca87f1",slug:"russia-and-china-in-africa-interests-influence-and-instruments-of-power",title:"Russia and China in Africa: Interests, Influence, and Instruments of Power",summary:"Africa matters to both Russia and China now more than at any time in recent decades. For Russia to blunt isolation and profit from insecurity; for China to consolidate an alternative global order and protect long-term investments. ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/0mvmre9nak9q_1771518080550.jpg",category:null,published_at:"2026-02-19T16:19:45.883+00:00"}
2,"bb1438ce-8423-445d-b546-5cb36e3219ba":{id:"bb1438ce-8423-445d-b546-5cb36e3219ba",slug:"rethinking-us-military-aid-to-georgia-or-how-to-stop-rewarding-democratic-backsliding",title:"Rethinking US Military Aid to Georgia or How to Stop Rewarding Democratic Backsliding",summary:"Georgia is becoming a test case for whether US security assistance can be made responsive to both strategic and democratic concerns.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/f18se9w7r2t_1762709403255.jpg",category:null,published_at:"2025-08-21T04:00:00+00:00"},"rethinking-us-military-aid-to-georgia-or-how-to-stop-rewarding-democratic-backsliding":{id:"bb1438ce-8423-445d-b546-5cb36e3219ba",slug:"rethinking-us-military-aid-to-georgia-or-how-to-stop-rewarding-democratic-backsliding",title:"Rethinking US Military Aid to Georgia or How to Stop Rewarding Democratic Backsliding",summary:"Georgia is becoming a test case for whether US security assistance can be made responsive to both strategic and democratic concerns.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/f18se9w7r2t_1762709403255.jpg",category:null,published_at:"2025-08-21T04:00:00+00:00"},"0b734620-5923-48b1-a209-7f411db42ee2":{id:"0b734620-5923-48b1-a209-7f411db42ee2",slug:"delphi-global-research-center-welcomes-eight-ukrainian-fellows-for-a-two-week-residency-in-washington-dc",title:"Delphi Global Research Center Welcomes Eight Ukrainian Fellows for a Two-Week Residency in Washington, DC",summary:"On August 1, 2026, Delphi Global welcomed the first cohort of its Fellowship Program for Emerging Ukrainian Leaders — a six-month program anchored by a two-week residency in Washington, DC.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/p2efqedshe_1786724902998.jpeg",category:null,published_at:"2026-08-14T16:27:12.123+00:00"},"delphi-global-research-center-welcomes-eight-ukrainian-fellows-for-a-two-week-residency-in-washington-dc":{id:"0b734620-5923-48b1-a209-7f411db42ee2",slug:"delphi-global-research-center-welcomes-eight-ukrainian-fellows-for-a-two-week-residency-in-washington-dc",title:"Delphi Global Research Center Welcomes Eight Ukrainian Fellows for a Two-Week Residency in Washington, DC",summary:"On August 1, 2026, Delphi Global welcomed the first cohort of its Fellowship Program for Emerging Ukrainian Leaders — a six-month program anchored by a two-week residency in Washington, DC.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/p2efqedshe_1786724902998.jpeg",category:null,published_at:"2026-08-14T16:27:12.123+00:00"},"fb0e9eae-89da-4092-a016-cd9c24ef3c82":{id:"fb0e9eae-89da-4092-a016-cd9c24ef3c82",slug:"russia-s-arctic-major-obstacles-challenge-moscow-s-vision-and-future-profitability",title:"Russia’s Arctic: Major Obstacles Challenge Moscow’s Vision and Future Profitability",summary:"In attempting to persuade the United States to support Russia’s objectives in Ukraine, lift sanctions, and rebuild a bilateral relationship, Moscow is enticing the Trump administration with the lure of untapped resources of the Russian Arctic. ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/r0cbacy1b8_1770916164187.jpg",category:null,published_at:"2026-02-12T17:08:07.039+00:00"},"russia-s-arctic-major-obstacles-challenge-moscow-s-vision-and-future-profitability":{id:"fb0e9eae-89da-4092-a016-cd9c24ef3c82",slug:"russia-s-arctic-major-obstacles-challenge-moscow-s-vision-and-future-profitability",title:"Russia’s Arctic: Major Obstacles Challenge Moscow’s Vision and Future Profitability",summary:"In attempting to persuade the United States to support Russia’s objectives in Ukraine, lift sanctions, and rebuild a bilateral relationship, Moscow is enticing the Trump administration with the lure of untapped resources of the Russian Arctic. ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/r0cbacy1b8_1770916164187.jpg",category:null,published_at:"2026-02-12T17:08:07.039+00:00"},"d7b2658c-d772-47ef-af37-13372c758cd4":{id:"d7b2658c-d772-47ef-af37-13372c758cd4",slug:"crimea-and-the-dniester-from-foundation-to-action",title:"Crimea and the Dnie
2ster: From Foundation to Action",summary:"This is part IV of four-part series on historical perspectives on Crimea and the Dniester: What 120 contemporary factors and 2,500 years of historical evidence imply about combined deprivation. ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/yfgb1iwsdc_1779836738748.jpeg",category:null,published_at:"2026-05-26T22:56:11.686+00:00"},"crimea-and-the-dniester-from-foundation-to-action":{id:"d7b2658c-d772-47ef-af37-13372c758cd4",slug:"crimea-and-the-dniester-from-foundation-to-action",title:"Crimea and the Dniester: From Foundation to Action",summary:"This is part IV of four-part series on historical perspectives on Crimea and the Dniester: What 120 contemporary factors and 2,500 years of historical evidence imply about combined deprivation. ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/yfgb1iwsdc_1779836738748.jpeg",category:null,published_at:"2026-05-26T22:56:11.686+00:00"},"406ad54e-1000-45ed-8fd1-77b410ce8d31":{id:"406ad54e-1000-45ed-8fd1-77b410ce8d31",slug:"glavnoe-the-past-month-in-russia-may-2026",title:"GLAVNOE: The Past Month in Russia, May 2026",summary:"Your monthly overview of major recent developments in Russian politics, economy, and society. May 2026 Issue.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/1nbngkmn3f4_1780432248877.png",category:null,published_at:"2026-06-01T21:19:01.55+00:00"},"glavnoe-the-past-month-in-russia-may-2026":{id:"406ad54e-1000-45ed-8fd1-77b410ce8d31",slug:"glavnoe-the-past-month-in-russia-may-2026",title:"GLAVNOE: The Past Month in Russia, May 2026",summary:"Your monthly overview of major recent developments in Russian politics, economy, and society. May 2026 Issue.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/1nbngkmn3f4_1780432248877.png",category:null,published_at:"2026-06-01T21:19:01.55+00:00"},"6959369b-8af3-4aec-90a9-0b774944abfc":{id:"6959369b-8af3-4aec-90a9-0b774944abfc",slug:"why-resilience-became-the-word-no-one-in-ukraine-likes-and-what-should-replace-it",title:"Why “Resilience” Became the Word No One in Ukraine Likes — And What Should Replace It",summary:"In this article the author writes about the experience of Russia's war in Ukraine from her personal perspective. The views expressed in this article are author’s own. ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/wbk0j423ffo_1772053124748.jpg",category:null,published_at:"2026-02-25T20:56:07.58+00:00"},"why-resilience-became-the-word-no-one-in-ukraine-likes-and-what-should-replace-it":{id:"6959369b-8af3-4aec-90a9-0b774944abfc",slug:"why-resilience-became-the-word-no-one-in-ukraine-likes-and-what-should-replace-it",title:"Why “Resilience” Became the Word No One in Ukraine Likes — And What Should Replace It",summary:"In this article the author writes about the experience of Russia's war in Ukraine from her personal perspective. The views expressed in this article are author’s own. ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/wbk0j423ffo_1772053124748.jpg",category:null,published_at:"2026-02-25T20:56:07.58+00:00"},"112840a7-45e4-47b4-baef-4bb24649443d":{id:"112840a7-45e4-47b4-baef-4bb24649443d",slug:"what-we-get-wrong-about-russia",title:"What We Get Wrong About Russia",summary:"The United States and Russia have fundamentally different models of how the world works. If this remains to be the case, Russia will continue to be a problem for the US – if not an outright threat – and the US will be the same for Russia.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/kws290pc1e_1762810882369.jpg",category:null,published_at:"2025-08-22T04:00:00+00:00"},"what-we-get-wrong-about-russia":{id:"112840a7-45e4-47b4-baef-4bb24649443d",slug:"what-we-get-wrong-about-russia",title:"What We Get Wrong About Russia",summary:"The United States and Russia have fundamentally different models of how the world works. If this remains to be the case, Russia will continue to be a problem for the US – if not an outright threat – and the US will be the same for Russia.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/kws290pc1e_1762810882369.jpg",category:null,published_at:"2025-08-22T04:00:00+00:00"},"445a48fc-390a-47dd-8383-c4e86bea4fbc":{id:"445a48fc-390a-47dd-8383-c4e86bea4fbc",slug:"ukraine-s-sea-denial-strategy-lessons-for-the-persian-gulf",title:"Ukraine’s Sea Denial Strategy: Lessons for the Persian Gulf",summary:"Russia’s and Ukraine’s battles in the Black Sea following Russia’s 2022 invasion of Ukraine will intrigue military historians for decades as they marked a major change in naval warfare. ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/hsv07u7xhnt_1775509094406.png",category:null,published_at:"2026-04-06T19:36:03.848+00:00"},"ukraine-s-sea-denial-strategy-lessons-for-the-persian-gulf":{id:"445a48fc-390a-47dd-8383-c4e86bea4fbc",slug:"ukraine-s-sea-denial-strategy-lessons-for-the-persian-gulf",title:"Ukraine’s Sea Denial Strategy: Lessons for the Persian Gulf",summary:"Russia’s and Ukraine’s battles in the Black Sea following Russia’s 2022 invasion of Ukraine will intrigue military historians for decades as they marked a major change in naval warfare. ",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/hsv07u7xhnt_1775509094406.png",category:null,published_at:"2026-04-06T19:36:03.848+00:00"},"03655574-833f-443d-a980-d9961fc230dc":{id:"03655574-833f-443d-a980-d9961fc230dc",slug:"glavnoe-the-past-month-in-russia-april-2026",title:"GLAVNOE: The Past Month in Russia, April 2026",summary:"Your monthly overview of major recent developments in Russian politics, economy, and society. April 2026 Issue.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/bzyxd2usgfi_1777392390242.jpeg",category:null,published_at:"2026-04-28T16:04:44.679+00:00"},"glavnoe-the-past-month-in-russia-april-2026":{id:"03655574-833f-443d-a980-d9961fc230dc",slug:"glavnoe-the-past-month-in-russia-april-2026",title:"GLAVNOE: The Past Month in Russia, April 2026",summary:"Your monthly overview of major recent developments in Russian politics, economy, and society. April 2026 Issue.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/bzyxd2usgfi_1777392390242.jpeg",category:null,published_at:"2026-04-28T16:04:44.679+00:00"},"5c72637e-abd7-47d3-8513-5fed7811353e":{id:"5c72637e-abd7-47d3-8513-5fed7811353e",slug:"glavnoe-the-past-month-in-russia-february-2026",title:"GLAVNOE: The Past Month in Russia, February 2026",summary:"Your monthly overview of major recent developments in Russian politics, economy, and society. February 2026 Issue.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/tv5eh3399t_1772208747135.jpg",category:null,published_at:"2026-02-27T16:17:51.295+00:00"},"glavnoe-the-past-month-in-russia-february-2026":{id:"5c72637e-abd7-47d3-8513-5fed7811353e",slug:"glavnoe-the-past-month-in-russia-february-2026",title:"GLAVNOE: The Past Month in Russia, February 2026",summary:"Your monthly overview of major recent developments in Russian politics, economy, and society. February 2026 Issue.",featured_image_url:"https://ypsdkqazkbvieilcqyke.supabase.co/storage/v1/object/public/article-images/tv5eh3399t_1772208747135.jpg",category:null,published_at:"2026-02-27T16:17:51.295+00:00"}};function Vs(...e){}function Gs(...e){}function Hs(){const e=s.useCallback((e,t)=>!!Ws[t]||!!Ws[e],[]),t=s.useCallback(async(e,t="download",a)=>{try{const{data:{user:r}}
2=await Os.auth.getUser();if(!r)return;await Os.from("metadata_sync_logs").insert({synced_by:r.id,articles_count:e,action_type:t,notes:a||null})}catch(r){}},[]),a=s.useCallback(async()=>{try{const{data:e,error:a}=await Os.from("articles").select("id, slug, title, summary, featured_image_url, category, published_at").eq("status","published");if(a)throw a;const r={};null==e||e.forEach(e=>{var t;const a=(null==(t=e.title)?void 0:t.replace(/[\u201C\u201D]/g,'"').replace(/[\u2018\u2019]/g,"'"))||"",s={id:e.id,slug:e.slug,title:a,summary:e.summary,featured_image_url:e.featured_image_url,category:e.category,published_at:e.published_at};r[e.id]=s,r[e.slug]=s});const s=JSON.stringify(r,null,2),n=new Blob([s],{type:"application/json"}),i=URL.createObjectURL(n),o=document.createElement("a");return o.href=i,o.download="article-metadata.json",document.body.appendChild(o),o.click(),document.body.removeChild(o),URL.revokeObjectURL(i),await t((null==e?void 0:e.length)||0,"download"),!0}catch(e){return!1}},[t]),r=s.useCallback(async(t,r,s)=>{e(t,r)||Ga.warning(`"${s}" გამოქვეყნდა, მაგრამ ჯერ არ არის სინქრონიზებული სოციალური გაზიარებისთვის.`,{duration:1e4,description:"დააჭირეთ ღილაკს მეტადატის ჩამოსატვირთად",action:{label:"ჩამოტვირთვა",onClick:async()=>{await a()?Ga.success("მეტადატა ჩამოიტვირთა! ჩაანაცვლეთ src/data/article-metadata.json და გამოაქვეყნეთ."):Ga.error("მეტადატის გენერაცია ვერ მოხერხდა")}}})},[e,a]),n=s.useCallback(async()=>{try{const{data:t,error:a}=await Os.from("articles").select("id, slug").eq("status","published");if(a)throw a;return(t||[]).filter(t=>!e(t.id,t.slug)).length}catch(t){return 0}},[e]);return{isArticleInMetadata:e,generateAndDownloadMetadata:a,syncAfterPublish:r,getOutOfSyncCount:n}}const Ys="id,title,slug,subtitle,summary,content,template_type,layout_type,publication_type,author_id,editor_id,status,featured,featured_image_url,featured_image_alt,gallery_images,template_settings,seo_settings,view_count,published_at,created_at,updated_at",Ks=(e,t)=>{const a=(e=>{const t=Ls(e);return t?[t.label,...t.aliases]:[e]})(t),r=a.flatMap(e=>{const t=e.replace(/,/g,"\\,").replace(/"/g,'\\"');return[`template_settings->>category.eq.${t}`,`template_settings->category.cs.["${t}"]`]});return e.or(r.join(","))},Js=e=>{const t=(null==e?void 0:e.mode)??"full",a=null==e?void 0:e.filters,r=be(),{syncAfterPublish:n}=Hs(),{data:i=[],isLoading:o,refetch:l}=ye({queryKey:["articles",t,a],queryFn:async()=>{try{let e=Os.from("articles").select("light"===t?"id,title,slug,subtitle,summary,template_type,layout_type,publication_type,author_id,status,featured,featured_image_url,featured_image_alt,template_settings,view_count,published_at,created_at,updated_at":Ys);(null==a?void 0:a.status)&&(e=e.eq("status",a.status)),void 0!==(null==a?void 0:a.featured)&&(e=e.eq("featured",a.featured)),(null==a?void 0:a.category)&&(e=Ks(e,a.category)),e=e.order("published_at",{ascending:!1}),(null==a?void 0:a.limit)&&(e=e.limit(a.limit));const{data:r,error:s}=await e;return s?(s.message,[]):r??[]}catch(e){return[]}},staleTime:3e5});s.useEffect(()=>{if("light"===t)return;const e=Os.channel("articles-changes").on("postgres_changes",{event:"*",schema:"public",table:"articles"},()=>{r.invalidateQueries({queryKey:["articles"]})}).subscribe();return()=>{Os.removeChannel(e)}},[t,r]);const c=ve({mutationFn:async e=>{var t;const{data:{user:a}}=await Os.auth.getUser();if(!a)throw new Error("You must be logged in to create articles");const r=(null==(t=e.title)?void 0:t.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/(^-|-$)/g,""))||"",{data:s,error:n}=await Os.from("articles").insert([{title:e.title||"",slug:r,subtitle:e.subtitle,summary:e.summary,content:e.content||{},template_type:e.template_type||"research",layout_type:e.layout_type||"hero",publication_type:e.publication_type||"article",author_id:a.id,editor_id:e.editor_id,status:"draft",featured:e.featured||!1,featured_image_url:e.featured_image_url,featured_image_alt:e.featured_image_alt,gallery_images:e.gallery_images||[],template_settings:e.template_settings||{},seo_settings:e.seo_settings||{}}]).select(Ys).maybeSingle();if(n)throw n;return s},onSuccess:()=>{r.invalidateQueries({queryKey:["articles"]}),Ie({title:"Success",description:"Article created successfully"})},onError:e=>{Ie({title:"Error",description:e.message||"Failed to create article",variant:"destructive"})}}),d=ve({mutationFn:async({id:e,updates:t})=>{const a=Object.fromEntries(Object.entries(t).filter(([e,t])=>null!=t)),{data:r,error:s}
2=await Os.from("articles").update(a).eq("id",e).select(Ys).maybeSingle();if(s)throw s;return r},onSuccess:()=>{r.invalidateQueries({queryKey:["articles"]}),Ie({title:"Success",description:"Article updated successfully"})},onError:e=>{Ie({title:"Error",description:e.message||"Failed to update article",variant:"destructive"})}}),u=ve({mutationFn:async e=>{const{error:t}=await Os.from("articles").delete().eq("id",e);if(t)throw t;return!0},onSuccess:()=>{r.invalidateQueries({queryKey:["articles"]}),Ie({title:"Success",description:"Article deleted successfully"})},onError:e=>{Ie({title:"Error",description:e.message||"Failed to delete article",variant:"destructive"})}}),h=s.useCallback(async(e,t,a)=>{const r=await d.mutateAsync({id:e,updates:{status:"published",published_at:(new Date).toISOString()}});if(r&&t&&a)await n(e,a,t);else if(r){const t=i.find(t=>t.id===e);t&&await n(e,t.slug,t.title)}return r},[d,n,i]);return{articles:i,loading:o,createArticle:c.mutateAsync,updateArticle:(e,t)=>d.mutateAsync({id:e,updates:t}),deleteArticle:u.mutateAsync,publishArticle:h,unpublishArticle:async e=>await d.mutateAsync({id:e,updates:{status:"draft"}}),getArticleById:e=>i.find(t=>t.id===e),getArticleBySlug:e=>i.find(t=>t.slug===e),refetch:l}},Qs=e=>e&&"object"==typeof e&&!Array.isArray(e)?e:{},Xs=e=>/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i.test(e),Zs=e=>{const t=(e=>"string"==typeof e?{text:e}:e&&"object"==typeof e&&!Array.isArray(e)?e:{})(e.content),a="string"==typeof e.content?e.content:t.text||"",r=Qs(e.template_settings),s=r.readTime||ja(a),n="announcement"===e.publication_type?"Announcement":"Research",i=(Array.isArray(r.category)?r.category[0]:r.category)||n,o=r.author||"Delphi Global Research Center",l=r.authorBio||"",c="string"==typeof(r.designrrUrl??r.flippingbookUrl)&&String(r.designrrUrl??r.flippingbookUrl).trim()?String(r.designrrUrl??r.flippingbookUrl).trim():void 0;return{id:e.id,slug:e.slug||e.id,title:e.title,excerpt:e.summary||e.subtitle||"",content:a,category:i,author:o,authorBio:l,date:(d=e.published_at||e.created_at,d?new Date(d).toISOString():(new Date).toISOString()),readTime:s,featured:e.featured,imageUrl:e.featured_image_url,designrrUrl:c,publication_type:e.publication_type};var d},en=s.createContext(void 0),tn=e=>({title:e.title||"",subtitle:e.excerpt,summary:e.excerpt,content:{text:e.content||""},template_type:"research",layout_type:"hero",featured:e.featured||!1,featured_image_url:e.imageUrl,template_settings:{category:e.category,author:e.author,authorBio:e.authorBio,readTime:e.readTime}}),an=({children:e,mode:t="full"})=>{const{articles:a,loading:r,createArticle:i,updateArticle:o,deleteArticle:l,getArticleById:c,getArticleBySlug:d}=Js({filters:{status:"published"},mode:t}),u=s.useMemo(()=>a.filter(e=>"published"===e.status).map(Zs),[a]);return n.jsx(en.Provider,{value:{papers:u,addPaper:async e=>{const t=tn(e),a=await i(t);a&&await o(a.id,{status:"published",published_at:(new Date).toISOString()})},updatePaper:async(e,t)=>{const a=tn(t);await o(e,a)},deletePaper:async e=>{await l(e)},getPaperById:e=>{const t=c(e);return t?Zs(t):void 0},getPaperBySlug:e=>{const t=d(e);return t?Zs(t):void 0},loading:r},children:e})},rn=()=>{const e=s.useContext(en);if(!e)throw new Error("useResearch must be used within ResearchProvider");return e},sn="id,title,description,category,url,thumbnail_url,aspect_ratio,author_id,date,featured,created_at,updated_at",nn=e=>{const t=!1!==(null==e?void 0:e.fetchList),{toast:a}=Oe(),r=be(),{data:s=[],isLoading:n}=ye({queryKey:["media-items"],enabled:t,queryFn:async()=>{const{data:e,error:t}=await Os.from("media_items").select(`\n          ${sn},\n          author:authors(id, name, avatar_url)\n          media_item_authors(author_id, author_order)\n        `).order("created_at",{ascending:!1});if(t)throw t;const a=e??[],r=Array.from(new Set(a.flatMap(e=>{var t;return[...(null==(t=e.media_item_authors)?void 0:t.map(e=>e.author_id))??[],...e.author_id?[e.author_id]:[]]}))),[s,n]=await Promise.all([r.length?Os.from("authors_public").select("id, name, avatar_url").in("id",r):Promise.resolve({data:[],error:null}),r.length?Os.from("fellows_public").select("id, name, avatar_url").in("id",r):Promise.resolve({data:[],error:null})]);if(s.error)throw s.error;if(n.error)throw n.error;const i=new Map;
2return(s.data??[]).forEach(e=>i.set(e.id,e)),(n.data??[]).forEach(e=>{i.has(e.id)||i.set(e.id,e)}),a.map(e=>{const t=Array.isArray(e.author)?e.author[0]:e.author,a=(e.media_item_authors??[]).sort((e,t)=>e.author_order-t.author_order).map(e=>i.get(e.author_id)).filter(e=>!!e),r=a[0]??t??(e.author_id?i.get(e.author_id):void 0)??void 0;return{id:e.id,title:e.title,description:e.description,category:e.category,url:e.url??void 0,thumbnail_url:e.thumbnail_url??void 0,aspect_ratio:e.aspect_ratio??void 0,author_id:e.author_id??void 0,date:e.date,featured:e.featured??!1,created_at:e.created_at,updated_at:e.updated_at,author:r,authors:a.length>0?a:r?[r]:[]}})}}),i=ve({mutationFn:async e=>{const{author_ids:t,...a}=e,{data:r,error:s}=await Os.from("media_items").insert([a]).select(sn).maybeSingle();if(s)throw s;if(r&&t&&t.length>0){const e=t.map((e,t)=>({media_item_id:r.id,author_id:e,author_order:t}));await Os.from("media_item_authors").insert(e)}return r},onSuccess:()=>{r.invalidateQueries({queryKey:["media-items"]}),r.invalidateQueries({queryKey:["admin-media-items-list"]}),a({title:"Successfully Added",description:"New media item has been added successfully."})},onError:e=>{a({title:"Error",description:`Failed to add: ${e.message}`,variant:"destructive"})}}),o=ve({mutationFn:async({id:e,author_ids:t,...a})=>{const{data:r,error:s}=await Os.from("media_items").update(a).eq("id",e).select(sn).maybeSingle();if(s)throw s;if(void 0!==t&&(await Os.from("media_item_authors").delete().eq("media_item_id",e),t.length>0)){const a=t.map((t,a)=>({media_item_id:e,author_id:t,author_order:a}));await Os.from("media_item_authors").insert(a)}return r},onSuccess:()=>{r.invalidateQueries({queryKey:["media-items"]}),r.invalidateQueries({queryKey:["admin-media-items-list"]}),a({title:"Successfully Updated",description:"Media item has been updated successfully."})},onError:e=>{a({title:"Error",description:`Failed to update: ${e.message}`,variant:"destructive"})}}),l=ve({mutationFn:async e=>{const{data:t}=await Os.from("media_items").select("thumbnail_url").eq("id",e).maybeSingle();if(null==t?void 0:t.thumbnail_url){const e=t.thumbnail_url.split("/").pop();e&&await Os.storage.from("media-thumbnails").remove([e])}const{error:a}=await Os.from("media_items").delete().eq("id",e);if(a)throw a},onSuccess:()=>{r.invalidateQueries({queryKey:["media-items"]}),r.invalidateQueries({queryKey:["admin-media-items-list"]}),a({title:"Successfully Deleted",description:"Media item has been deleted successfully."})},onError:e=>{a({title:"Error",description:`Failed to delete: ${e.message}`,variant:"destructive"})}});return{items:s,isLoading:n,addItem:i.mutateAsync,updateItem:o.mutateAsync,deleteItem:l.mutateAsync,uploadThumbnail:async e=>{const t=e.name.split(".").pop(),a=`${Math.random().toString(36).substring(2)}.${t}`,{error:r}=await Os.storage.from("media-thumbnails").upload(a,e,{cacheControl:"3600",upsert:!1});if(r)throw r;const{data:{publicUrl:s}}=Os.storage.from("media-thumbnails").getPublicUrl(a);return s}}},on=s.createContext(void 0),ln=({children:e})=>{const{items:t,isLoading:a,addItem:r,updateItem:s,deleteItem:i}=nn();return n.jsx(on.Provider,{value:{items:t,isLoading:a,addItem:r,updateItem:s,deleteItem:i,getItemById:e=>t.find(t=>t.id===e)},children:e})},cn=()=>{const e=s.useContext(on);if(!e)throw new Error("useMedia must be used within MediaProvider");return e}
2,dn=At("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium 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 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),un=s.forwardRef(({className:e,variant:t,size:a,asChild:r=!1,...s},i)=>{const o=r?L:"button";return n.jsx(o,{className:_a(dn({variant:t,size:a,className:e})),ref:i,...s})});un.displayName="Button";const hn=s.forwardRef(({className:e,...t},a)=>n.jsx("div",{ref:a,className:_a("rounded-lg border bg-card text-card-foreground shadow-sm",e),...t}));hn.displayName="Card";const pn=s.forwardRef(({className:e,...t},a)=>n.jsx("div",{ref:a,className:_a("flex flex-col space-y-1.5 p-6",e),...t}));pn.displayName="CardHeader";const mn=s.forwardRef(({className:e,...t},a)=>n.jsx("h3",{ref:a,className:_a("text-2xl font-semibold leading-none tracking-tight",e),...t}));mn.displayName="CardTitle";const fn=s.forwardRef(({className:e,...t},a)=>n.jsx("p",{ref:a,className:_a("text-sm text-muted-foreground",e),...t}));fn.displayName="CardDescription";const gn=s.forwardRef(({className:e,...t},a)=>n.jsx("div",{ref:a,className:_a("p-6 pt-0",e),...t}));gn.displayName="CardContent";const bn=s.forwardRef(({className:e,...t},a)=>n.jsx("div",{ref:a,className:_a("flex items-center p-6 pt-0",e),...t}));bn.displayName="CardFooter";class yn extends o.Component{constructor(e){super(e),r(this,"handleReset",()=>{this.setState({hasError:!1,error:null,errorInfo:null})}),r(this,"handleGoHome",()=>{window.location.href="/"}),this.state={hasError:!1,error:null,errorInfo:null}}static getDerivedStateFromError(e){return{hasError:!0,error:e,errorInfo:null}}componentDidCatch(e,t){this.setState({error:e,errorInfo:t}),ke(async()=>{const{captureException:e}=await import("./index-DhmtBasA.js");return{captureException:e}},__vite__mapDeps([0,1,2])).then(({captureException:a})=>{a(e,{contexts:{react:{componentStack:t.componentStack}}})}),"undefined"!=typeof window&&(e.message,e.stack,t.componentStack)}render(){return this.state.hasError?n.jsx("div",{className:"min-h-screen flex items-center justify-center bg-background p-4",children:n.jsxs(hn,{className:"max-w-2xl w-full",children:[n.jsxs(pn,{className:"text-center",children:[n.jsx("div",{className:"flex justify-center mb-4",children:n.jsx(U,{className:"h-16 w-16 text-destructive"})}),n.jsx(mn,{className:"text-2xl",children:"Something went wrong"}),n.jsx(fn,{children:"We're sorry for the inconvenience. An unexpected error has occurred."})]}),n.jsxs(gn,{className:"space-y-4",children:[this.state.error&&n.jsxs("div",{className:"rounded-lg bg-muted p-4 space-y-2",children:[n.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:"Error Details:"}),n.jsx("p",{className:"text-sm font-mono text-foreground break-all",children:this.state.error.message}),!1]}),n.jsxs("div",{className:"flex flex-col sm:flex-row gap-3 justify-center pt-4",children:[n.jsxs(un,{onClick:this.handleReset,variant:"default",className:"flex items-center gap-2",children:[n.jsx(F,{className:"h-4 w-4"}),"Try Again"]}),n.jsxs(un,{onClick:this.handleGoHome,variant:"outline",className:"flex items-center gap-2",children:[n.jsx($,{className:"h-4 w-4"}),"Go Home"]})]}),n.jsx("p",{className:"text-xs text-center text-muted-foreground pt-4",children:"If this problem persists, please contact support."})]})]})}):this.props.children}}var vn={};function wn(){return"undefined"!=typeof window}function xn(){try{}catch(e){}return"production"}function _n(){return"development"===((wn()?window.vam:xn())||"production")}function jn(e={debug:!0}){var t;if(!wn())return;!function(e="auto"){window.vam="auto"!==e?e:xn()}(e.mode),window.va||(window.va=function(...e){(window.vaq=window.vaq||[]).push(e)}),e.beforeSend&&(null==(t=window.va)||t.call(window,"beforeSend",e.beforeSend));const a=function(e){return e.scriptSrc?e.scriptSrc:_n()?"https://va.vercel-scripts.com/v1/script.debug.js":e.basePath?`${e.basePath}
2/insights/script.js`:"/_vercel/insights/script.js"}(e);if(document.head.querySelector(`script[src*="${a}"]`))return;const r=document.createElement("script");r.src=a,r.defer=!0,r.dataset.sdkn="@vercel/analytics"+(e.framework?`/${e.framework}`:""),r.dataset.sdkv="1.6.1",e.disableAutoTrack&&(r.dataset.disableAutoTrack="1"),e.endpoint?r.dataset.endpoint=e.endpoint:e.basePath&&(r.dataset.endpoint=`${e.basePath}/insights`),e.dsn&&(r.dataset.dsn=e.dsn),r.onerror=()=>{_n()},_n()&&!1===e.debug&&(r.dataset.debug="false"),document.head.appendChild(r)}function kn(){if("undefined"!=typeof process)return vn.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}function Tn(e){return s.useEffect(()=>{var t;e.beforeSend&&(null==(t=window.va)||t.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]),s.useEffect(()=>{jn({framework:e.framework||"react",basePath:e.basePath??kn(),...void 0!==e.route&&{disableAutoTrack:!0},...e})},[]),s.useEffect(()=>{e.route&&e.path&&function({route:e,path:t}){var a;null==(a=window.va)||a.call(window,"pageview",{route:e,path:t})}({route:e.route,path:e.path})},[e.route,e.path]),null}function Sn(){return n.jsx(Tn,{})}var Nn={};function En(e){return e.scriptSrc?An(e.scriptSrc):e.dsn?"https://va.vercel-scripts.com/v1/speed-insights/script.js":e.basePath?An(`${e.basePath}/speed-insights/script.js`):"/_vercel/speed-insights/script.js"}function An(e){return e.startsWith("http://")||e.startsWith("https://")||e.startsWith("/")?e:`/${e}`}function Rn(e={},t){var a;if("undefined"==typeof window||null===e.route)return null;window.si||(window.si=function(...e){window.siq=window.siq||[],window.siq.push(e)});const{beforeSend:r,src:s,dataset:n}=function(e,t){var a;let r=e;if(t)try{r={...null==(a=JSON.parse(t))?void 0:a.speedInsights,...e}}catch{}const s={sdkn:"@vercel/speed-insights"+(r.framework?`/${r.framework}`:""),sdkv:"2.0.0"};
2return r.sampleRate&&(s.sampleRate=r.sampleRate.toString()),r.route&&(s.route=r.route),r.dsn&&(s.dsn=r.dsn),r.endpoint?s.endpoint=An(r.endpoint):r.basePath&&(s.endpoint=An(`${r.basePath}/speed-insights/vitals`)),{src:En(r),beforeSend:r.beforeSend,dataset:s}}(e,t);if(document.head.querySelector(`script[src*="${s}"]`))return null;r&&(null==(a=window.si)||a.call(window,"beforeSend",r));const i=document.createElement("script");i.src=s,i.defer=!0;for(const[o,l]of Object.entries(n))i.dataset[o]=l;return i.onerror=()=>{},document.head.appendChild(i),{setRoute:e=>{i.dataset.route=e??void 0}}}function Cn(){if("undefined"!=typeof process)return Nn.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}function In(e){s.useEffect(()=>{var t;e.beforeSend&&(null==(t=window.si)||t.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]);const t=s.useRef(null);return s.useEffect(()=>{if(!t.current){const a=Rn({framework:e.framework??"react",basePath:e.basePath??Cn(),...e},e.configString??function(){if("undefined"!=typeof process)return Nn.REACT_APP_VERCEL_OBSERVABILITY_CLIENT_CONFIG}());a&&(t.current=a.setRoute)}},[e]),s.useEffect(()=>{t.current&&e.route&&t.current(e.route)},[e.route]),null}function On(){return n.jsx(In,{})}function Dn(){return n.jsx("div",{className:"container py-16 md:py-20","aria-busy":"true","aria-label":"Loading page content",children:n.jsxs("div",{className:"mx-auto max-w-3xl space-y-4 animate-pulse",children:[n.jsx("div",{className:"h-10 w-2/3 rounded-md bg-muted"}),n.jsx("div",{className:"h-4 w-full rounded bg-muted/70"}),n.jsx("div",{className:"h-4 w-5/6 rounded bg-muted/70"}),n.jsx("div",{className:"mt-8 h-48 w-full rounded-lg bg-muted/50 md:h-64"})]})})}const Pn=[{label:"Home",to:"/",icon:$,isActive:e=>"/"===e},{label:"Research",to:"/research",icon:B,isActive:e=>e.startsWith("/research")},{label:"Papers",to:"/analysis",icon:W,isActive:e=>["/analysis","/articles","/reports","/opinion","/announcements","/publications"].some(t=>e.startsWith(t))},{label:"Events",to:"/events",icon:V,isActive:e=>e.startsWith("/events")}],qn=e=>_a("flex min-h-14 w-full flex-col items-center justify-center gap-1 text-[11px] transition-colors",e?"text-white font-medium":"text-white/70 hover:text-white");function zn(){const{pathname:e}=d(),[t,a]=s.useState(!1);return s.useEffect(()=>{const e=e=>{var t;a(!!(null==(t=e.detail)?void 0:t.open))};return window.addEventListener("delphi:mobile-menu-toggle",e),()=>window.removeEventListener("delphi:mobile-menu-toggle",e)},[]),e.startsWith("/admin")||t?null:n.jsx("nav",{"aria-label":"Primary",className:"print-hide fixed inset-x-0 bottom-0 z-40 border-t border-white/10 bg-gradient-hero pb-[env(safe-area-inset-bottom)] lg:hidden",children:n.jsxs("ul",{className:"flex items-stretch justify-around",children:[Pn.map(t=>{const a=t.isActive(e),r=t.icon;return n.jsx("li",{className:"flex-1",children:n.jsxs(u,{to:t.to,"aria-current":a?"page":void 0,className:qn(a),children:[n.jsx(r,{className:"h-5 w-5","aria-hidden":"true"}),t.label]})},t.label)}),n.jsx("li",{className:"flex-1",children:n.jsxs("button",{type:"button",onClick:()=>window.dispatchEvent(new Event("delphi:open-mobile-menu")),className:qn(!1),children:[n.jsx(G,{className:"h-5 w-5","aria-hidden":"true"}),"More"]})})]})})}var Ln=Object.defineProperty,Mn=(e,t)=>Ln(e,"name",{value:t,configurable:!0}),Un="Avatar",[Fn,$n]=w(Un),Bn=[0,()=>{}],[Wn,Vn]=Fn(Un),Gn=s.forwardRef(Mn(function(e,t){const{__scopeAvatar:a,...r}=e,[i,o]=s.useState("idle"),[l,c]=Qn();return n.jsx(Wn,{scope:a,imageLoadingStatus:i,setImageLoadingStatus:o,imageCount:l,setImageCount:c,children:n.jsx(y.span,{...r,ref:t})})},"Avatar")),Hn=s.forwardRef(Mn(function(e,t){const{__scopeAvatar:a,src:r,onLoadingStatusChange:i,...o}=e,l=Vn("AvatarImage",a);l.setImageCount;const c=Kn(r,{referrerPolicy:o.referrerPolicy,crossOrigin:o.crossOrigin,loadingStatus:l.imageLoadingStatus,setLoadingStatus:l.setImageLoadingStatus}),d=S(e=>{null==i||i(e)}),u=s.useRef(c);return R(()=>{const e=u.current;u.current=c,c!==e&&d(c)},[c,d]),"loaded"===c?n.jsx(y.img,{...o,ref:t,src:r}):null},"AvatarImage")),Yn=s.forwardRef(Mn(function(e,t){const{__scopeAvatar:a,delayMs:r,...i}=e,o=Vn("AvatarFallback",a),[l,c]=s.useState(void 0===r);return s.useEffect(()=>{if(void 0!==r){const e=window.setTimeout(()=>c(!0),r);return()=>window.clearTimeout(e)}},[r]),l&&"loaded"!==o.imageLoadingStatus?n.jsx(y.span,{...i,ref:t}):null},"AvatarFallback"));function Kn(e,{loadingStatus:t,setLoadingStatus:a,referrerPolicy:r,crossOrigin:s}){return R(()=>
2{if(!e)return void a("error");const t=new window.Image,n=Mn(e=>{const t=e.currentTarget;a(Jn(t))},"handleLoad"),i=Mn(()=>a("error"),"handleError");return t.addEventListener("load",n),t.addEventListener("error",i),r&&(t.referrerPolicy=r),t.crossOrigin=s??null,t.src=e,a(Jn(t)),()=>{t.removeEventListener("load",n),t.removeEventListener("error",i),a("idle")}},[e,s,r,a]),t}function Jn(e){return e.complete?e.naturalWidth>0?"loaded":"error":"loading"}function Qn(){return Bn}function Xn(e){}Mn(Kn,"useImageLoadingStatus"),Mn(Jn,"getImageLoadingStatus"),Mn(Qn,"useImageCount"),Mn(Xn,"useUpdateImageCount");const Zn="https://delphigrc.org";function ei(){var e;if("undefined"!=typeof window&&(null==(e=window.location)?void 0:e.origin))return window.location.origin;return String("https://delphigrc.org").replace(/\/$/,"")}function ti(e){return{fetchpriority:e?"high":"auto"}}function ai(e){if(!e)return null;if(function(e){return e.includes("/assets/")&&!!e.match(/[-_][A-Za-z0-9]{6,}\.\w+$/)}(e))return null;if(e.startsWith("https://"))return e;if(e.startsWith("http://"))return e.replace("http://","https://");if(e.includes("hero-research"))return null;return`${ei()}${e.startsWith("/")?"":"/"}${e}`}const ri={carousel:920,card:640,wideCard:960,listThumb:512,avatar:192,avatarLarge:384,hero:1600,articleBody:1600};function si(e,t={}){if(!e)return;const{width:a=920,quality:r=75,resize:s="contain"}=t,n="/storage/v1/object/public/",i=e.indexOf(n);if(-1===i)return e;return`/img/${e.slice(i+26)}?${new URLSearchParams({width:String(a),quality:String(r),resize:s,format:"webp"}).toString()}`}function ni(e,t,a={}){if(e&&e.includes("/storage/v1/object/public/"))return t.map(t=>`${si(e,{...a,width:t})} ${t}w`).join(", ")}const ii={card:[400,640,960],wideCard:[480,960,1440],listThumb:[320,512,768],hero:[960,1600,2400],carousel:[460,640,920]},oi="(max-width: 768px) calc(100vw - 6rem), 460px";const li=s.forwardRef(({className:e,...t},a)=>n.jsx(Gn,{ref:a,className:_a("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",e),...t}));li.displayName=Gn.displayName;const ci=s.forwardRef(({className:e,src:t,transformWidth:a=ri.avatar,...r},s)=>n.jsx(Hn,{ref:s,src:si(t,{width:a}),className:_a("aspect-square h-full w-full object-cover",e),...r}));ci.displayName=Hn.displayName;const di=s.forwardRef(({className:e,...t},a)=>n.jsx(Yn,{ref:a,className:_a("flex h-full w-full items-center justify-center rounded-full bg-muted",e),...t}));di.displayName=Yn.displayName;const ui="/assets/main-logo-B_mHWXGp.webp",hi="/assets/bsky-icon-DrWUnhhv.webp",pi=e=>{const t=!1!==(null==e?void 0:e.fetchList),{toast:a}=Oe(),r=be(),{data:s=[],isLoading:n}=ye({queryKey:["courses","nav"],enabled:t,staleTime:18e5,queryFn:async()=>{const{data:e,error:t}=await Os.from("courses").select("id, slug, title, is_active, display_order").eq("is_active",!0).order("display_order",{ascending:!0});if(t)throw t;return e??[]}});return{courses:s,isLoading:n,addCourse:ve({mutationFn:async e=>{const{data:t,error:a}=await Os.from("courses").insert(e).select().maybeSingle();if(a)throw a;return t},onSuccess:()=>{r.invalidateQueries({queryKey:["courses"]}),r.invalidateQueries({queryKey:["admin-courses-list"]}),a({title:"Success",description:"Course added successfully"})},onError:e=>{a({title:"Error",description:e.message,variant:"destructive"})}}),updateCourse:ve({mutationFn:async({id:e,...t})=>{const{data:a,error:r}=await Os.from("courses").update(t).eq("id",e).select().maybeSingle();if(r)throw r;return a},onSuccess:()=>{r.invalidateQueries({queryKey:["courses"]}),r.invalidateQueries({queryKey:["admin-courses-list"]}),a({title:"Success",description:"Course updated successfully"})},onError:e=>{a({title:"Error",description:e.message,variant:"destructive"})}}),deleteCourse:ve({mutationFn:async e=>{const{error:t}=await Os.from("courses").delete().eq("id",e);if(t)throw t},onSuccess:()=>{r.invalidateQueries({queryKey:["courses"]}),r.invalidateQueries({queryKey:["admin-courses-list"]}),a({title:"Success",description:"Course deleted successfully"})},onError:e=>{a({title:"Error",description:e.message,variant:"destructive"})}})}},mi=s.forwardRef(({className:e,type:t,...a},r)=>n.jsx("input",{type:t,className:_a("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:r,...a}));mi.displayName="Input";function fi(e,t={}){const{enabled:a=!0}=t,[r,n]=s.useState([]),[i,o]=s.useState(!1),l=s.useRef(0);return s.useEffect(()=>{const t=e.trim();if(!a||!t)return n([]),void o(!1);const r=new AbortController,s=++l.current;return o(!0),async function(e,t){var a,r,s,n,i,o,l;const c=`%${e}%`,[d,u,h,p,m,f,g]=await Promise.all([Os.from("articles").select("id,title,slug,category,summary,template_type,featured_image_url,publication_type").eq("status","published").or(`title.ilike.${c},summary.ilike.${c}`).limit(5).abortSignal(t),Os.from("pages").select("id,title,slug").or(`title.ilike.${c}`).limit(5).abortSignal(t),Os.from("fellows_public").select("id,name,slug,title,bio,avatar_url").eq("is_active",!0).or(`name.ilike.${c},title.ilike.${c},bio.ilike.${c}`).limit(5).abortSignal(t),Os.from("leadership").select("id,name,slug,title,bio,avatar_url").eq("is_active",!0).or(`name.ilike.${c},title.ilike.${c},bio.ilike.${c}`).limit(5).abortSignal(t),Os.from("courses").select("id,title,slug,description,subtitle").eq("is_active",!0).or(`title.ilike.${c},description.ilike.${c},subtitle.ilike.${c}`).limit(5).abortSignal(t),Os.from("partners").select("id,name,description").eq("is_active",!0).or(`name.ilike.${c},description.ilike.${c}`).limit(5).abortSignal(t),Os.from("media_items").select("id,title,de
2scription,category,thumbnail_url").or(`title.ilike.${c},description.ilike.${c}`).limit(5).abortSignal(t)]),b=[];return null==(a=d.data)||a.forEach(e=>{var t;const a=null==(t=e.publication_type)?void 0:t.toLowerCase(),r="announcement"===a?"announcement":"opinion"===a?"opinion":"research"===e.template_type?"research":"article";b.push({id:e.id,title:e.title,slug:e.slug,type:r,category:e.category,summary:e.summary,thumbnail:e.featured_image_url||void 0})}),null==(r=u.data)||r.forEach(e=>{b.push({id:e.id,title:e.title,slug:e.slug,type:"page"})}),null==(s=h.data)||s.forEach(e=>{b.push({id:e.id,title:e.name,slug:`/fellows/${e.slug}`,type:"fellow",description:e.title,summary:e.bio||void 0,thumbnail:e.avatar_url||void 0})}),null==(n=p.data)||n.forEach(e=>{b.push({id:e.id,title:e.name,slug:`/leadership/${e.slug}`,type:"leadership",description:e.title,summary:e.bio||void 0,thumbnail:e.avatar_url||void 0})}),null==(i=m.data)||i.forEach(e=>{b.push({id:e.id,title:e.title,slug:`/education/${e.slug}`,type:"course",description:e.subtitle||void 0,summary:e.description})}),null==(o=f.data)||o.forEach(e=>{b.push({id:e.id,title:e.name,slug:"/partners",type:"partner",summary:e.description||void 0})}),null==(l=g.data)||l.forEach(e=>{b.push({id:e.id,title:e.title,slug:"audio"===e.category?"/audio-video":"/news-media",type:"media",category:e.category,summary:e.description,thumbnail:e.thumbnail_url||void 0})}),b}(t,r.signal).then(e=>{s===l.current&&n(e)}).catch(e=>{s===l.current&&(e instanceof Error&&"AbortError"===e.name||n([]))}).finally(()=>{s===l.current&&o(!1)}),()=>{r.abort()}},[e,a]),{results:r,isFetching:i}}const gi="search_history",bi=({isOpen:e,onClose:t})=>{const[a,r]=s.useState(""),i=function(e,t){const[a,r]=s.useState(e);return s.useEffect(()=>{const a=setTimeout(()=>r(e),t);return()=>clearTimeout(a)},[e,t]),a}(a,400),{results:o,isFetching:l}=fi(i,{enabled:e}),[c,d]=s.useState(-1),[u,p]=s.useState([]),m=h(),f=s.useRef(null),g=s.useRef(null),b=a.trim(),y=i.trim(),v=b.length>0&&b!==y,w=v||l,x=b.length>0||u.length>0,_=y.length>0&&!v;s.useEffect(()=>{const e=localStorage.getItem(gi);if(e)try{p(JSON.parse(e))}catch(t){}},[]);const j=s.useCallback(e=>{e.trim()&&p(t=>{const a=[e,...t.filter(t=>t!==e)].slice(0,5);return localStorage.setItem(gi,JSON.stringify(a)),a})},[]),k=s.useCallback(()=>{p([]),localStorage.removeItem(gi)},[]);s.useEffect(()=>{e&&g.current&&g.current.focus()},[e]),s.useEffect(()=>{e||(r(""),d(-1))},[e]),s.useEffect(()=>{d(-1)},[i,o]),s.useEffect(()=>{const a=e=>{f.current&&!f.current.contains(e.target)&&t()};return e&&document.addEventListener("mousedown",a),()=>{document.removeEventListener("mousedown",a)}},[e,t]);const T=e=>{j(e.title);let a="";switch(e.type){case"research":a=`/research/${e.slug}`;break;case"article":a=`/articles/${e.slug}`;break;case"opinion":a=`/opinion/${e.slug}`;break;case"announcement":a=`/announcements/${e.slug}`;break;case"page":default:a=`/${e.slug}`;break;case"fellow":case"leadership":case"course":case"partner":case"media":a=e.slug}m(a),r(""),t()},S=e=>{switch(e){case"research":case"course":return n.jsx(B,{className:"h-4 w-4 mt-1 flex-shrink-0 text-muted-foreground"});default:return n.jsx(W,{className:"h-4 w-4 mt-1 flex-shrink-0 text-muted-foreground"})}},N=e=>{switch(e){case"research":return"Research";case"article":return"Article";case"opinion":return"Opinion";case"announcement":return"Announcement";case"page":return"Page";case"fellow":return"Fellow";case"leadership":return"Leadership";case"course":return"Course";case"partner":return"Partner";case"media":return"Media";default:return""}},E=e=>{switch(e){case"research":return"Research Papers";case"article":return"Articles";case"opinion":return"Opinion";case"announcement":return"Announcements";case"page":return"Pages";case"fellow":return"Fellows";case"leadership":return"Leadership";case"course":return"Courses";case"partner":return"Partners";case"media":return"Media";default:return""}};return s.useEffect(()=>{const a=a=>{e&&("Escape"===a.key?t():"ArrowDown"===a.key?(a.preventDefault(),d(e=>e<o.length-1?e+1:e)):"ArrowUp"===a.key?(a.preventDefault(),d(e=>e>0?e-1:-1)):"Enter"===a.key&&c>=0&&o[c]&&(a.preventDefault(),T(o[c])))};return document.addEventListener("keydown",a),()=>document.removeEventListener("keydown",a)},[e,o,c,t]),e?n.jsxs("div",{className:"relative w-full h-full lg:h-auto pointer-events-auto",ref:f,children:[n.jsxs("div",{className:"flex items-center gap-2 lg:bg-background lg:border lg:border-border lg:backdrop-blur-md bg-white/10 backdrop-blur-sm rounded-lg px-3 py-2.5 w-full lg:sh
2adow-lg",onMouseDown:e=>e.stopPropagation(),children:[n.jsx(H,{className:"h-5 w-5 lg:text-muted-foreground text-white/70 flex-shrink-0"}),n.jsx(mi,{ref:g,type:"search",enterKeyHint:"search",autoComplete:"off",placeholder:"Search the site...",value:a,onChange:e=>r(e.target.value),className:"border-0 focus-visible:ring-0 focus-visible:ring-offset-0 bg-transparent lg:text-foreground text-white lg:placeholder:text-muted-foreground placeholder:text-white/60 h-9 p-0 text-base","aria-busy":w,"aria-expanded":x}),w&&n.jsx(Y,{className:"h-5 w-5 animate-spin lg:text-muted-foreground text-white/70 flex-shrink-0","aria-hidden":!0}),n.jsx("button",{type:"button",onClick:t,className:"lg:text-muted-foreground lg:hover:text-foreground text-white/70 hover:text-white transition-colors flex-shrink-0","aria-label":"Close search",children:n.jsx(M,{className:"h-5 w-5"})})]}),x&&n.jsxs("div",{className:"absolute top-full left-0 right-0 mt-2 bg-card border border-border rounded-lg shadow-2xl z-[9999] w-full max-h-[60vh] lg:max-h-[500px] overflow-hidden pointer-events-auto",onMouseDown:e=>e.stopPropagation(),onClick:e=>e.stopPropagation(),children:[!b&&u.length>0&&n.jsxs("div",{className:"p-2 sm:p-3",children:[n.jsxs("div",{className:"flex items-center justify-between px-2 py-1 mb-1",children:[n.jsx("div",{className:"text-xs font-semibold text-foreground",children:"Recent Searches"}),n.jsx("button",{type:"button",onClick:k,className:"text-xs text-muted-foreground hover:text-foreground transition-colors",children:"Clear"})]}),u.map((e,t)=>n.jsxs("button",{type:"button",onClick:()=>{r(e)},className:"w-full flex items-center gap-2 sm:gap-3 p-2 rounded-md text-left transition-colors hover:bg-accent/50",children:[n.jsx(K,{className:"h-4 w-4 text-muted-foreground flex-shrink-0"}),n.jsx("div",{className:"flex-1 min-w-0 text-sm text-foreground truncate",children:e})]},t))]}),b&&v&&n.jsx("div",{className:"p-4 text-center text-sm text-muted-foreground",children:"Searching…"}),_&&!l&&0===o.length&&n.jsx("div",{className:"p-4 text-center text-sm text-foreground",children:"No results found."}),_&&o.length>0&&n.jsx("div",{className:"max-h-[calc(100dvh-12rem)] lg:max-h-[400px] overflow-y-auto",children:["research","article","opinion","announcement","page","fellow","leadership","course","partner","media"].map(e=>{const t=o.filter(t=>t.type===e);if(0===t.length)return null;const a=o.slice(0,o.findIndex(t=>t.type===e)).length;return n.jsxs("div",{className:"border-t first:border-t-0",children:[n.jsx("div",{className:"px-4 py-2 bg-muted/30 sticky top-0 z-10",children:n.jsx("div",{className:"text-xs font-semibold text-muted-foreground uppercase tracking-wide",children:E(e)})}),n.jsx("div",{className:"p-2 sm:p-3 space-y-1",children:t.map((e,t)=>{const r=a+t;return n.jsxs("button",{type:"button",onClick:t=>{t.preventDefault(),t.stopPropagation(),T(e)},className:_a("w-full flex items-start gap-3 p-3 rounded-lg text-left transition-all cursor-pointer group",c===r?"bg-accent shadow-sm":"hover:bg-accent/50 hover:shadow-sm"),children:[e.thumbnail?n.jsx("div",{className:"flex-shrink-0 w-16 h-16 rounded-md overflow-hidden bg-muted",children:n.jsx("img",{src:si(e.thumbnail,{width:ri.avatar}),alt:"",loading:"lazy",decoding:"async",className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-300"})}):n.jsx("div",{className:"flex-shrink-0 w-16 h-16 rounded-md bg-muted flex items-center justify-center",children:S(e.type)}),n.jsxs("div",{className:"flex-1 min-w-0",children:[n.jsx("div",{className:"font-semibold text-sm line-clamp-2 group-hover:text-primary transition-colors mb-1",children:e.title}),n.jsxs("div",{className:"flex items-center gap-2 text-xs text-muted-foreground mb-1",children:[n.jsx("span",{className:"font-medium",children:N(e.type)}),e.category&&n.jsxs(n.Fragment,{children:[n.jsx("span",{children:"•"}),n.jsx("span",{children:e.category})]})]}),e.description&&n.jsx("div",{className:"text-xs text-muted-foreground line-clamp-1 mb-0.5",children:e.description}),e.summary&&n.jsx("div",{className:"text-xs text-muted-foreground line-clamp-2",children:e.summary})]})]},e.id)})})]},e)})})]})]}):null},yi={"/research/managing-moscow":ae,"/research/russia-china":ae,"/research/black-sea":te,"/research/baltic-sea":ee,"/research/nato-europe":Z,"/research/russia-ukraine-war":X,"/research/arctic":Q,"/research/central-asia":J},vi=Ds.map(({label:e,path:t})=>({categoryKey:e,path:t,label:e,Icon:yi[t]??ae})),wi=s.memo(function({onClose:e}){return n.jsx(n.Fragment,{children:vi.map(({categoryKey:t,path:a,label:r,Icon:s})=>n.jsxs(u,{to:a,className:"flex items-center gap-3 px-4 py-3 text-sm text-white hover:bg-white/10 transition-colors",onClick:e,children:[n.jsx(s,{className:"h-4 w-4 shrink-0 text-white/80"}),n.jsx("span",{children:r})]},t))})}),xi=s.memo(function({pathname:e,aboutDropdownOpen:t,researchDropdownOpen:a,publicationsDropdownOpen:r,educationDropdownOpen:s,aboutDropdownRef:i,researchDropdownRef:o,publicationsDropdownRef:l,educationDropdownRef:c,onAboutMouseEnter:d,onAboutMouseLeave:h,onResearchMouseEnter:p,onResearchMouseLeave:m,onPublicationsMouseEnter:f,onPublicationsMouseLeave:g,onEducationMouseEnter:b,onEducationMouseLeave:y,onCloseAbout:v,onCloseResearch:w,onClosePublications:x,onCloseEducation:_,activeCourses:j}){return n.jsxs("div",{className:"hidden items-center space-x-5 lg:flex xl:space-x-8",children:[n.jsxs("div",{className:"relative about-dropdown",ref:i,onMouseEnter:d,onMouseLeave:h,children:[n.jsx("button",{className:_a("relative text-base font-medium transition-all duration-300 xl:text-lg","after:content-[''] after:absolute after:w-full after:h-0.5 after:bottom-[-4px] after:left-0","after:bg-white after:scale-x-0 after:origin-center after:transition-transform after:duration-300","hover:after:scale-x-100","/about"===e?"text-white after:scale-x-100":"text-white/80 hover:text-white"),children:"About"}),t&&n.jsx("div",{className:"absolute top-full left-0 mt-1 w-48 bg-gradient-hero rounded-lg shadow-lg z-50 overflow-hidden border border-white/10",onMouseEnter:d,onMouseLeave:h,children:n.jsxs("div",{className:"p-4",children:[n.jsx(u,{to:"/about#mission",className:"block px-4 py-3 text-sm text-white hover:bg-white/10 transition-colors rounded",onClick:v,children:"Our Mission"}),n.jsx(u,{to:"/leadership",className:"block px-4 py-3 text-sm text-white hover:bg-white/10 transition-colors rounded",onClick:v,children:"Leadership"}),n.jsx(u,{to:"/announcements",className:"block px-4 py-3 text-sm text-white hover:bg-white/10 transition-colors rounded",onClick:v,children:"Announcements"}),n.jsx(u,{to:"/news-media",className:"block px-4 py-3 text-sm text-white hover:bg-white/10 transition-colors rounded",onClick:v,children:"News & Media"}),n.jsx(u,{to:"/events",className:"block px-4 py-3 text-sm text-white hover:bg-white/10 transition-colors rounded",onClick:v,children:"Events"}),n.jsx(u,{to:"/contact",className:"block px-4 py-3 text-sm text-white hover:bg-white/10 transition-colors rounded",onClick:v,children:"Contact"})]})})]}),n.jsx(u,{to:"/fellows",className:_a("relative text-base font-medium transition-all duration-300 xl:text-lg","after:content-[''] after:absolute after:w-full after:h-0.5 after:bottom-[-4px] after:left-0","after:bg-white after:scale-x-0 after:origin-center after:transition-transform after:duration-300","hover:after:scale-x-100","/fellows"===e?"text-white after:scale-x-100":"text-white/80 hover:text-white"),children:"Experts"}),n.jsxs("div",{className:"relative research-dropdown",ref:o,onMouseEnter:p,onMouseLeave:m,children:[n.jsx("button",{className:_a("relative text-base font-medium transition-all duration-300 xl:text-lg","after:content-[''] after:absolute after:w-full after:h-0.5 after:bottom-[-4px] after:left-0","after:bg-white after:scale-x-0 after:origin-center after:transition-transform after:duration-300","hover:after:scale-x-100",e.startsWith("/research")?"text-white after:scale-x-100":"text-white/80 hover:text-white"),children:"Research"}),a&&n.jsx("div",{className:"absolute top-full left-0 mt-1 w-72 bg-gradient-hero rounded-lg shadow-lg z-50 overflow-hidden border border-white/10",onMouseEnter:p,onMouseLeave:m,children:n.jsx(wi,{onClose:w})})]}),n.jsxs("div",{className:"relative publications-dropdown",ref:l,onMouseEnter:f,onMouseLeave:g,children:[n.jsx("button",{className:_a("relative text-base font-medium transition-all duration-300 xl:text-lg","after:content-[''] after:absolute after:w-full after:h-0.5 after:bottom-[-4px] after:left-0","after:bg-white after:scale-x-0 after:origin-center after:transition-transform after:duration-300","hover:after:scale-x-100","/analysis"===e?"text-white after:scale-x-100":"text-white/80 hover:text-white"),children:"Publications"}),r&&n.jsxs("div",{className:"absolute top-full left-0 mt-1 w-56 bg-gradient-hero rounded-lg shadow-lg z-50 overflow-hidden border border-white/10",onMouseEnter:f,onMouseLeave:g,children:[n.jsx(u,{to:"/articles",className:"block px-4 py-3 text-sm text-white hover:bg-white/10 transition-colors",onClick:x,children:"Articles"}),n.jsx(u,{to:"/reports",className:"block px-4 py-3 text-sm text-white hover:bg-white/10 transition-colors",onClick:x,children:"Reports"}),n.jsx(u,{to:"/opinion",className:"block px-4 py-3 text-sm text-white hover:bg-white/10 transition-colors",onClick:x,children:"Opinion"}),n.jsx(u,{to:"/audio-video",className:"block px-4 py-3 text-sm text-white hover:bg-white/10 transition-colors",onClick:x,children:"Audio/Video"})]})]}),n.jsxs("div",{className:"relative education-dropdown",ref:c,onMouseEnter:b,onMouseLeave:y,children:[n.jsx("button",{className:_a("relative text-base font-medium transition-all duration-300 xl:text-lg","after:content-[''] after:absolute after:w-full after:h-0.5 after:bottom-[-4px] after:left-0","after:bg-white after:scale-x-0 after:origin-center after:transition-transform after:duration-300","hover:after:scale-x-100","/crisis-management-course"===e?"text-white after:scale-x-100":"text-white/80 hover:text-white"),children:"Education"}),s&&n.jsx("div",{className:"absolute top-full left-0 mt-1 w-72 bg-gradient-hero rounded-lg shadow-lg z-50 overflow-hidden border border-white/10",onMouseEnter:b,onMouseLeave:y,children:j.length>0?j.map(e=>n.jsx(u,{to:`/${e.slug}`,className:"block px-4 py-3 text-sm text-white hover:bg-white/10 transition-colors",onClick:_,children:e.title},e.id)):n.jsx("div",{className:"px-4 py-3 text-sm text-white/70",children:"No courses available"})})]})]})}),_i=s.memo(function({onNavigate:e}){return n.jsx(n.Fragment,{children:vi.map(({categoryKey:t,path:a,label:r})=>n.jsx(u,{to:a,className:"block min-h-11 rounded-md px-3 py-2 text-base font-semibold text-white hover:bg-white/10",onClick:e,children:r},t))})});var ji=Object.defineProperty,ki=(e,t)=>ji(e,"name",{value:t,configurable:!0}),Ti="Collapsible",[Si,Ni]=w(Ti),[Ei,Ai]=Si(Ti),Ri=s.forwardRef(ki(function(e,t){const{__scopeCollapsible:a,open:r,defaultOpen:i,disabled:o,onOpenChange:l,...c}=e,[d,u]=j({prop:r,defaultProp:i??!1,onChange:l,caller:Ti});return n.jsx(Ei,{scope:a,disabled:o,contentId:P(),open:d,onOpenToggle:s.useCallback(()=>u(e=>!e),[u]),children:n.jsx(y.div,{"data-state":Pi(d),"data-disabled":o?"":void 0,...c,ref:t})})},"Collapsible")),Ci=s.forwardRef(ki(function(e,t){const{__scopeCollapsible:a,...r}=e,s=Ai("CollapsibleTrigger",a);return n.jsx(y.button,{type:"button","aria-controls":s.open?s.contentId:void 0,"aria-expanded":s.open||!1,"data-state":Pi(s.open),"data-disabled":s.disabled?"":void 0,disabled:s.disabled,...r,ref:t,onClick:T(e.onClick,s.onOpenToggle)})},"CollapsibleTrigger")),Ii="CollapsibleContent",Oi=s.forwardRef(ki(function(e,t){const{forceMount:a,...r}=e,s=Ai(Ii,e.__scopeCollapsible);return n.jsx(k,{present:a||s.open,children:({present:e})=>n.jsx(Di,{...r,ref:t,present:e})})},"CollapsibleContent")),Di=s.forwardRef(ki(function(e,t){const{__scopeCollapsible:a,present:r,children:i,...o}=e,l=Ai(Ii,a),[c,d]=s.useState(r),u=s.useRef(null),h=x(t,u),p=s.useRef(0),m=p.current,f=s.useRef(0),g=f.current,b=l.open||c,v=s.useRef(b),w=s.useRef(void 0);return s.useEffect(()=>{const e=requestAnimationFrame(()=>v.current=!1);return()=>cancelAnimationFrame(e)},[]),R(()=>{const e=u.current;if(e){w.current=w.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";const t=e.getBoundingClientRect();p.current=t.height,f.current=t.width,v.current||(e.style.transitionDuration=w.current.transitionDuration,e.style.animationName=w.current.animationName),d(r)}},[l.open,r]),n.jsx(y.div,{"data-state":Pi(l.open),"data-disabled":l.disabled?"":void 0,id:l.contentId,hidden:!b,...o,ref:h,style:{"--radix-collapsible-content-height":m?`${m}px`:void 0,"--radix-collapsible-content-width":g?`${g}px`:void 0,...e.style},children:b&&i})},"CollapsibleContentImpl"));function Pi(e){return e?"open":"closed"}ki(Pi,"getState");const qi=Ri,zi=Ci,Li=Oi,Mi=s.memo(function({open:e,onToggle:t,label:a,active:r=!1,
2contentClassName:s,children:i}){return n.jsxs(qi,{open:e,children:[n.jsxs("button",{type:"button",onClick:t,className:_a("flex w-full min-h-11 items-center justify-between rounded-md px-3 py-2 text-lg font-medium",r?"bg-white/20 text-white":"text-white/90 hover:bg-white/10 hover:text-white"),children:[n.jsx("span",{children:a}),n.jsx(re,{className:_a("h-4 w-4 shrink-0 transition-transform duration-200",e&&"rotate-180"),"aria-hidden":!0})]}),n.jsx(Li,{className:_a("mt-1 space-y-1 overflow-hidden data-[state=closed]:hidden",s),children:i})]})}),Ui="block min-h-11 rounded-md px-3 py-2 text-base text-white/80 hover:bg-white/10 hover:text-white",Fi=s.memo(function({pathname:e,mobileAboutOpen:t,mobileResearchOpen:a,mobilePublicationsOpen:r,mobileEducationOpen:s,onToggleAbout:i,onToggleResearch:o,onTogglePublications:l,onToggleEducation:c,onCloseMenu:d,onOpenSearch:h,onNavigateProfile:p,onLogout:m,activeCourses:f,isAuthenticated:g}){return n.jsx("div",{className:"fixed right-0 top-14 z-[80] flex max-h-[calc(100dvh-3.5rem)] w-[min(100%,20rem)] max-w-sm flex-col overflow-hidden bg-gradient-hero shadow-2xl animate-in slide-in-from-right duration-200 lg:hidden rounded-bl-2xl",children:n.jsxs("div",{className:"flex-1 space-y-1 overflow-y-auto overscroll-contain py-4 px-4",children:[n.jsx("div",{className:"mb-2 flex justify-end",children:n.jsx(un,{variant:"ghost",size:"icon",onClick:d,className:"h-11 w-11 text-white/80 hover:bg-white/10 hover:text-white","aria-label":"Close menu",children:n.jsx(M,{className:"h-5 w-5"})})}),n.jsxs(Mi,{open:t,onToggle:i,label:"About",active:"/about"===e,children:[n.jsx(u,{to:"/about",className:Ui,onClick:d,children:"About Us"}),n.jsx(u,{to:"/about#mission",className:Ui,onClick:d,children:"Our Mission"}),n.jsx(u,{to:"/leadership",className:Ui,onClick:d,children:"Leadership"}),n.jsx(u,{to:"/announcements",className:Ui,onClick:d,children:"Announcements"}),n.jsx(u,{to:"/news-media",className:Ui,onClick:d,children:"News & Media"}),n.jsx(u,{to:"/events",className:Ui,onClick:d,children:"Events"}),n.jsx(u,{to:"/contact",className:Ui,onClick:d,children:"Contact"})]}),n.jsx(u,{to:"/fellows",className:_a("flex min-h-11 items-center rounded-md px-3 py-2 text-lg font-medium","/fellows"===e?"bg-white/20 text-white":"text-white/90 hover:bg-white/10 hover:text-white"),onClick:d,children:"Experts"}),n.jsx(Mi,{open:a,onToggle:o,label:"Research",active:e.startsWith("/research"),contentClassName:"ml-0 pl-0",children:n.jsx(_i,{onNavigate:d})}),n.jsxs(Mi,{open:r,onToggle:l,label:"Publications",active:e.includes("/articles")||e.includes("/reports")||e.includes("/opinion"),children:[n.jsx(u,{to:"/articles",className:Ui,onClick:d,children:"Articles"}),n.jsx(u,{to:"/reports",className:Ui,onClick:d,children:"Reports"}),n.jsx(u,{to:"/opinion",className:Ui,onClick:d,children:"Opinion"}),n.jsx(u,{to:"/audio-video",className:Ui,onClick:d,children:"Audio/Video"})]}),n.jsx(Mi,{open:s,onToggle:c,label:"Education",active:e.includes("/crisis-management"),children:f.length>0?f.map(e=>n.jsx(u,{to:`/${e.slug}`,className:Ui,onClick:d,children:e.title},e.id)):n.jsx("p",{className:"px-3 py-2 text-sm text-white/60",children:"No courses available"})}),n.jsxs("div",{className:"flex gap-3 border-t border-white/10 px-3 py-4",children:[n.jsx("a",{href:"https://www.youtube.com/@DelphiGlobalResearchCenter",className:"flex h-11 w-11 items-center justify-center text-white/80 hover:text-white","aria-label":"YouTube",children:n.jsx(se,{className:"h-5 w-5"})}),n.jsx("a",{href:"https://www.facebook.com/p/Delphi-Global-Research-Center-61579325342621/",className:"flex h-11 w-11 items-center justify-center text-white/80 hover:text-white","aria-label":"Facebook",children:n.jsx(ne,{className:"h-5 w-5"})}),n.jsx("a",{href:"https://www.linkedin.com/company/108312309/",className:"flex h-11 w-11 items-center justify-center text-white/80 hover:text-white","aria-label":"LinkedIn",children:n.jsx(ie,{className:"h-5 w-5"})}),n.jsx("a",{href:"https://bsky.app/profile/delphigrc.bsky.social",className:"flex h-11 w-11 items-center justify-center text-white/80 hover:text-white","aria-label":"Bluesky",children:n.jsx("img",{src:hi,alt:"",className:"h-5 w-5 object-contain",width:20,height:20})})]}),n.jsxs("div",{className:"px-3 pb-4",children:[n.jsx(un,{size:"sm",className:"h-11 w-full bg-[hsl(230,60%,45%)] text-white hover:bg-[hsl(230,60%,50%)]",asChild:!0,children:n.jsx("a",{href:"https://www.zeffy.com/en-US/donation-form/donate-to-support-independent-scholarship",target:"_blank",rel:"noopener noreferrer",children:"Support Our Work"})}),n.jsxs(un,{size:"sm",variant:"ghost",className:"mt-2 h-11 w-full justify-start text-white hover:bg-white/10",onClick:h,children:[n.jsx(H,{className:"mr-2 h-4 w-4"}),"Search"]}),g&&n.jsxs(n.Fragment,{children:[n.jsxs(un,{size:"sm",variant:"ghost",className:"mt-2 h-11 w-full justify-start text-white hover:bg-white/10",onClick:p,children:[n.jsx(oe,{className:"mr-2 h-4 w-4"}),"My Profile"]}),n.jsxs(un,{size:"sm",variant:"ghost",className:"mt-2 h-11 w-full justify-start text-white hover:bg-white/10",onClick:m,children:[n.jsx(le,{className:"mr-2 h-4 w-4"}),"Logout"]})]})]})]})})}),$i=()=>{var e;const t=h(),a=d().pathname,[r,i]=s.useState(!1),[o,l]=s.useState(!1),[c,p]=s.useState(!1),[m,f]=s.useState(!1),[g,b]=s.useState(!1),[y,v]=s.useState(!1),[w,x]=s.useState(!1),[_,j]=s.useState(null),[k,T]=s.useState(null),[S,N]=s.useState(!1),[E,A]=s.useState(!1),[R,C]=s.useState(!1),[I,O]=s.useState(!1),[D,P]=s.useState(!1),q=s.useRef(null),z=s.useRef(null),L=s.useRef(null),M=s.useRef(null),U=s.useRef(null),F=s.useRef(null),$=s.useRef(null),B=s.useRef(null),W=s.useRef(null),{courses:V}=pi(),Y=s.useMemo(()=>V.filter(e=>e.is_active),[V]);s.useEffect(()=>{(async()=>{const{data:{user:e}}
2=await Os.auth.getUser();if(j(e),e){const{data:t}=await Os.from("profiles").select("avatar_url, display_name").eq("id",e.id).single();T(t)}})();const{data:{subscription:e}}=Os.auth.onAuthStateChange((e,t)=>{j((null==t?void 0:t.user)??null),(null==t?void 0:t.user)?Os.from("profiles").select("avatar_url, display_name").eq("id",t.user.id).single().then(({data:e})=>T(e)):T(null)});return()=>e.unsubscribe()},[]);const K=s.useCallback(async()=>{await Os.auth.signOut(),x(!1),t("/")},[t]),J=s.useCallback(()=>{F.current&&clearTimeout(F.current),l(!0)},[]),Q=s.useCallback(()=>{U.current&&clearTimeout(U.current),p(!0)},[]),X=s.useCallback(()=>{$.current&&clearTimeout($.current),f(!0)},[]),Z=s.useCallback(()=>{F.current=setTimeout(()=>{l(!1)},300)},[]),ee=s.useCallback(()=>{U.current=setTimeout(()=>{p(!1)},300)},[]),te=s.useCallback(()=>{$.current=setTimeout(()=>{f(!1)},300)},[]),ae=s.useCallback(()=>{B.current&&clearTimeout(B.current),b(!0)},[]),re=s.useCallback(()=>{B.current=setTimeout(()=>{b(!1)},300)},[]),ce=s.useCallback(()=>p(!1),[]),de=s.useCallback(()=>b(!1),[]),ue=s.useCallback(()=>f(!1),[]),he=s.useCallback(()=>l(!1),[]),pe=s.useCallback(()=>i(!1),[]),me=s.useCallback(()=>v(!0),[]),fe=s.useCallback(()=>v(!1),[]),ge=s.useCallback(()=>i(e=>!e),[]),be=s.useCallback(()=>x(e=>!e),[]),ye=s.useCallback(()=>x(!1),[]),ve=s.useCallback(()=>N(e=>!e),[]),we=s.useCallback(()=>A(e=>!e),[]),xe=s.useCallback(()=>C(e=>!e),[]),_e=s.useCallback(()=>O(e=>!e),[]),je=s.useCallback(()=>{v(!0),i(!1)},[]),ke=s.useCallback(()=>{t("/profile"),i(!1)},[t]);return s.useEffect(()=>{const e=e=>{q.current&&!q.current.contains(e.target)&&l(!1),z.current&&!z.current.contains(e.target)&&p(!1),L.current&&!L.current.contains(e.target)&&f(!1),M.current&&!M.current.contains(e.target)&&b(!1)};return(o||c||m||g)&&document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[o,c,m,g]),s.useEffect(()=>{const e=e=>{(e.metaKey||e.ctrlKey)&&"k"===e.key&&(e.preventDefault(),v(!0))};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[]),s.useEffect(()=>{i(!1),N(!1),A(!1),C(!1),O(!1)},[a]),s.useEffect(()=>{const e=()=>{P(window.scrollY>10)};return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[]),s.useEffect(()=>(document.body.style.overflow=r?"hidden":"",window.dispatchEvent(new CustomEvent("delphi:mobile-menu-toggle",{detail:{open:r}})),()=>{document.body.style.overflow=""}),[r]),s.useEffect(()=>{const e=()=>i(!0);return window.addEventListener("delphi:open-mobile-menu",e),()=>window.removeEventListener("delphi:open-mobile-menu",e)},[]),n.jsxs("header",{className:_a("sticky top-0 z-50 w-full bg-gradient-hero transition-shadow duration-300",D&&"shadow-lg shadow-primary/10"),children:[n.jsxs("nav",{className:"container relative flex h-14 items-center justify-between md:h-32",children:[n.jsx(u,{to:"/",className:"flex shrink-0 items-center",children:n.jsx("img",{src:ui,alt:"Delphi Global Research Center",className:"h-10 w-auto md:h-48 lg:h-36 xl:h-48",width:192,height:192})}),n.jsx(xi,{pathname:a,aboutDropdownOpen:c,researchDropdownOpen:g,publicationsDropdownOpen:m,educationDropdownOpen:o,aboutDropdownRef:z,researchDropdownRef:M,publicationsDropdownRef:L,educationDropdownRef:q,onAboutMouseEnter:Q,onAboutMouseLeave:ee,onResearchMouseEnter:ae,onResearchMouseLeave:re,onPublicationsMouseEnter:X,onPublicationsMouseLeave:te,onEducationMouseEnter:J,onEducationMouseLeave:Z,onCloseAbout:ce,onCloseResearch:de,onClosePublications:ue,onCloseEducation:he,activeCourses:Y}),n.jsxs("div",{className:"hidden items-center gap-3 lg:flex xl:gap-4",children:[n.jsxs("div",{className:"hidden items-center gap-3 xl:flex",children:[n.jsxs("a",{href:"https://www.youtube.com/@DelphiGlobalResearchCenter",target:"_blank",rel:"noopener noreferrer",className:"text-white/80 transition-all duration-300 hover:text-white hover:scale-110",children:[n.jsx(se,{className:"h-4 w-4"}),n.jsx("span",{className:"sr-only",children:"YouTube"})]}),n.jsxs("a",{href:"https://www.facebook.com/p/Delphi-Global-Research-Center-61579325342621/",target:"_blank",rel:"noopener noreferrer",className:"text-white/80 transition-all duration-300 hover:text-white hover:scale-110",children:[n.jsx(ne,{className:"h-4 w-4"}),n.jsx("span",{className:"sr-only",children:"Facebook"})]}),n.jsxs("a",{href:"https://www.linkedin.com/company/108312309/",target:"_blank",rel:"noopener noreferrer",className:"text-white/80 transition-all duration-300 hover:text-white hover:scale-110",children:[n.jsx(ie,{className:"h-4 w-4"}),n.jsx("span",{className:"sr-only",children:"LinkedIn"})]}),n.jsxs("a",{href:"https://bsky.app/profile/delphigrc.bsky.social",target:"_blank",rel:"noopener noreferrer",className:"text-white/80 transition-all duration-300 hover:text-white hover:scale-110",children:[n.jsx("img",{src:hi,alt:"Bluesky",className:"h-4 w-4 object-contain",width:16,height:16}),n.jsx("span",{className:"sr-only",children:"Bluesky"})]})]}),n.jsx(un,{size:"sm",className:"bg-[hsl(230,60%,45%)] text-white hover:bg-[hsl(230,60%,50%)] border-0",asChild:!0,children:n.jsx("a",{href:"https://www.zeffy.com/en-US/donation-form/donate-to-support-independent-scholarship",target:"_blank",rel:"noopener noreferrer",children:"Support Our Work"})}),n.jsxs(un,{size:"sm",variant:"ghost",className:"text-white hover:bg-white/10",onClick:me,children:[n.jsx(H,{className:"h-4 w-4"}),n.jsx("span",{className:"sr-only",children:"Search"})]}),_&&n.jsxs("div",{className:"relative",ref:W,children:[n.jsxs(un,{variant:"ghost",size:"sm",className:"text-white hover:bg-white/10 p-1",onClick:be,children:[n.jsxs(li,{className:"h-7 w-7",children:[n.jsx(ci,{src:(null==k?void 0:k.avatar_url)??void 0,alt:(null==k?void 0:k.display_name)||_.email}),n.jsx(di,{className:"text-xs bg-primary/20 text-white",children:null==(e=(null==k?void 0:k.display_name)||_.email)?void 0:e.charAt(0).toUpperCase()})]}),n.jsx("span",{className:"sr-only",children:"User menu"})]}),w&&n.jsxs("div",{className:"absolute right-0 top-full mt-1 w-48 bg-gradient-hero rounded-lg shadow-lg z-50 overflow-hidden border border-white/10",children:[n.jsxs("div",{className:"px-4 py-3 border-b border-white/10",children:[n.jsx("p",{className:"text-sm text-white font-medium truncate",children:(null==k?void 0:k.display_name)||_.email}),n.jsx("p",{className:"text-xs text-white/60 truncate",children:_.email})]}),n.jsx(u,{to:"/profile",className:"block px-4 py-3 text-sm text-white hover:bg-white/10 transition-colors",onClick:ye,children:n.jsxs("div",{className:"flex items-center gap-2",children:[n.jsx(oe,{className:"h-4 w-4"}),"My Profile"]})}),n.jsx("button",{onClick:K,className:"w-full text-left block px-4 py-3 text-sm text-white hover:bg-white/10 transition-colors",children:n.jsxs("div",{className:"flex items-center gap-2",children:[n.jsx(le,{className:"h-4 w-4"}),"Logout"]})})]})]})]}),n.jsxs("div",{className:"flex items-center gap-2 lg:hidden",children:[!y&&n.jsxs(un,{variant:"ghost",size:"sm",className:"text-white hover:bg-white/10",onClick:me,children:[n.jsx(H,{className:"h-4 w-4"}),n.jsx("span",{className:"sr-only",children:"Search"})]}),n.jsxs(un,{variant:"ghost",size:"sm",className:"text-white hover:bg-white/10",onClick:ge,children:[n.jsx(G,{className:"h-5 w-5"}),n.jsx("span",{className:"sr-only",children:"Toggle menu"})]})]})]}),y&&n.jsx("div",{className:"hidden lg:block fixed inset-0 bg-black/50 z-[55] pointer-events-none"}),y&&n.jsx("div",{className:"hidden lg:block fixed left-1/2 -translate-x-1/2 top-36 z-[70] w-full max-w-2xl px-4 pointer-events-auto",children:n.jsx(bi,{isOpen:y,onClose:fe})}),y&&n.jsxs(n.Fragment,{children:[n.jsx("div",{className:"lg:hidden fixed inset-0 bg-black/80 z-[60]",onClick:fe}),n.jsx("div",{className:"lg:hidden fixed inset-x-0 top-0 z-[70] p-4 pointer-events-auto",children:n.jsx(bi,{isOpen:y,onClose:fe})})]}),r&&n.jsx("div",{className:"fixed inset-0 bg-black/50 z-[75] lg:hidden",onClick:pe}),r&&n.jsx(Fi,{pathname:a,mobileAboutOpen:S,mobileResearchOpen:E,mobilePublicationsOpen:R,mobileEducationOpen:I,onToggleAbout:ve,onToggleResearch:we,onTogglePublications:xe,onToggleEducation:_e,onCloseMenu:pe,onOpenSearch:je,onNavigateProfile:ke,onLogout:K,activeCourses:Y,isAuthenticated:Bo
2olean(_)})]})},Bi=()=>n.jsxs("footer",{className:"relative border-t border-border bg-gradient-to-br from-card via-card to-secondary/20 overflow-hidden",children:[n.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(circle_at_top_right,hsl(var(--primary)/0.1),transparent_50%)]"}),n.jsxs("div",{className:"container relative py-12",children:[n.jsxs("div",{className:"grid gap-8 md:grid-cols-4",children:[n.jsxs("div",{className:"space-y-4",children:[n.jsx(u,{to:"/",className:"inline-block",children:n.jsx("img",{src:ui,alt:"Delphi Global Research Center",className:"h-10 w-auto",width:40,height:40})}),n.jsx("p",{className:"text-sm text-muted-foreground",children:"International think tank focused on Eurasian security and regional analysis."})]}),n.jsxs("div",{className:"space-y-4",children:[n.jsx("h3",{className:"text-sm font-heading font-semibold text-foreground",children:"Research"}),n.jsxs("ul",{className:"space-y-2 text-sm",children:[n.jsx("li",{children:n.jsx(u,{to:"/analysis",className:"text-muted-foreground transition-colors hover:text-primary",children:"All Publications"})}),n.jsx("li",{children:n.jsx(u,{to:"/research/nato-europe",className:"text-muted-foreground transition-colors hover:text-primary",children:"NATO & Europe"})}),n.jsx("li",{children:n.jsx(u,{to:"/research/black-sea",className:"text-muted-foreground transition-colors hover:text-primary",children:"The Black Sea Region"})}),n.jsx("li",{children:n.jsx(u,{to:"/research/russia-china",className:"text-muted-foreground transition-colors hover:text-primary",children:"The Russia-China Relationship"})})]})]}),n.jsxs("div",{className:"space-y-4",children:[n.jsx("h3",{className:"text-sm font-heading font-semibold text-foreground",children:"About"}),n.jsxs("ul",{className:"space-y-2 text-sm",children:[n.jsx("li",{children:n.jsx(u,{to:"/about",className:"text-muted-foreground transition-colors hover:text-primary",children:"Mission & Vision"})}),n.jsx("li",{children:n.jsx(u,{to:"/leadership",className:"text-muted-foreground transition-colors hover:text-primary",children:"Our Team"})}),n.jsx("li",{children:n.jsx(u,{to:"/fellows",className:"text-muted-foreground transition-colors hover:text-primary",children:"Experts"})})]})]}),n.jsxs("div",{className:"space-y-4",children:[n.jsx("h3",{className:"text-sm font-heading font-semibold text-foreground",children:"Connect"}),n.jsxs("div",{className:"flex space-x-3",children:[n.jsxs("a",{href:"https://linkedin.com",target:"_blank",rel:"noopener noreferrer",className:"group flex h-9 w-9 items-center justify-center rounded-lg bg-secondary/80 text-foreground transition-all duration-300 hover:bg-primary hover:text-primary-foreground hover:scale-110 hover:shadow-lg hover:shadow-primary/25",children:[n.jsx(ie,{className:"h-4 w-4 transition-transform duration-300 group-hover:rotate-6"}),n.jsx("span",{className:"sr-only",children:"LinkedIn"})]}),n.jsxs("a",{href:"https://youtube.com",target:"_blank",rel:"noopener noreferrer",className:"group flex h-9 w-9 items-center justify-center rounded-lg bg-secondary/80 text-foreground transition-all duration-300 hover:bg-primary hover:text-primary-foreground hover:scale-110 hover:shadow-lg hover:shadow-primary/25",children:[n.jsx(se,{className:"h-4 w-4 transition-transform duration-300 group-hover:scale-110"}),n.jsx("span",{className:"sr-only",children:"YouTube"})]}),n.jsxs("a",{href:"mailto:[email protected]",className:"group flex h-9 w-9 items-center justify-center rounded-lg bg-secondary/80 text-foreground transition-all duration-300 hover:bg-primary hover:text-primary-foreground hover:scale-110 hover:shadow-lg hover:shadow-primary/25",children:[n.jsx(ce,{className:"h-4 w-4 transition-transform duration-300 group-hover:-rotate-12"}),n.jsx("span",{className:"sr-only",children:"Email"})]}),n.jsxs("a",{href:"/rss.xml",target:"_blank",rel:"noopener noreferrer",className:"group flex h-9 w-9 items-center justify-center rounded-lg bg-secondary/80 text-foreground transition-all duration-300 hover:bg-primary hover:text-primary-foreground hover:scale-110 hover:shadow-lg hover:shadow-primary/25",title:"Subscribe to RSS Feed",children:[n.jsx(de,{className:"h-4 w-4 transition-transform duration-300 group-hover:rotate-12"}),n.jsx("span",{className:"sr-only",children:"RSS Feed"})]})]})]})]}),n.jsxs("div",{className:"mt-12 border-t border-border pt-8 text-center space-y-3",children:[n.jsx("p",{className:"text-sm text-muted-foreground",children:"901 N Market St • Ste 100 • Wilmington, DE 19801"}),n.jsx("p",{className:"text-sm text-muted-foreground",children:"[email protected]"}),n.jsx("p",{className:"text-sm text-muted-foreground",children:"The Delphi Global Research Center is a 501c3 nonprofit research organization."}),n.jsx("p",{className:"text-sm text-muted-foreground",children:"© 2026 Delphi Global Research Center. All rights reserved."})]})]})]});function Wi(e={}){const{immediate:t=!0,onNeedReload:a,onNeedRefresh:r,onOfflineReady:n,onRegistered:i,onRegisteredSW:o,onRegisterError:l}=e,[c,d]=s.useState(!1),[u,h]=s.useState(!1),[p]=s.useState(()=>function(e={}){const{immediate:t=!1,onNeedReload:a,onNeedRefresh:r,onOfflineReady:s,onRegistered:n,onRegisteredSW:i,onRegisterError:o}=e;let l,c,d;
2return c=async function(){if("serviceWorker"in navigator){if(l=await ke(async()=>{const{Workbox:e}=await import("./workbox-window.prod.es5-CVj4lb2z.js");return{Workbox:e}},[]).then(({Workbox:e})=>new e("/sw.js",{scope:"/",type:"classic"})).catch(e=>{null==o||o(e)}),!l)return;d=()=>{null==l||l.messageSkipWaiting()};{let e=!1;const t=()=>{e=!0,null==l||l.addEventListener("controlling",e=>{e.isUpdate&&(a?a():window.location.reload())}),null==r||r()};l.addEventListener("installed",a=>{void 0===a.isUpdate?void 0!==a.isExternal&&a.isExternal?t():!e&&(null==s||s()):a.isUpdate||null==s||s()}),l.addEventListener("waiting",t)}l.register({immediate:t}).then(e=>{i?i("/sw.js",e):null==n||n(e)}).catch(e=>{null==o||o(e)})}}(),async(e=!0)=>{await c,null==d||d()}}({immediate:t,onNeedReload:a,onOfflineReady(){h(!0),null==n||n()},onNeedRefresh(){d(!0),null==r||r()},onRegistered:i,onRegisteredSW:o,onRegisterError:l}));return{needRefresh:[c,d],offlineReady:[u,h],updateServiceWorker:p}}function Vi(){const{needRefresh:[e],updateServiceWorker:t}=Wi(),{pathname:a}=d(),r=s.useRef(null);return s.useEffect(()=>{e&&(null!==r.current?a!==r.current&&t(!0):r.current=a)},[e,a,t]),null}const Gi=s.createContext(void 0),Hi=({children:e})=>{const[t,a]=s.useState([]),r=s.useCallback(e=>{const t={...e,id:`notif-${Date.now()}-${Math.random()}`,timestamp:new Date,read:!1};a(e=>[t,...e].slice(0,50))},[]),i=s.useCallback(e=>{a(t=>t.map(t=>t.id===e?{...t,read:!0}:t))},[]),o=s.useCallback(()=>{a(e=>e.map(e=>({...e,read:!0})))},[]),l=s.useCallback(()=>{a([])},[]),c=t.filter(e=>!e.read).length;return n.jsx(Gi.Provider,{value:{notifications:t,unreadCount:c,addNotification:r,markAsRead:i,markAllAsRead:o,clearNotifications:l},children:e})},Yi=()=>{const e=s.useContext(Gi);if(!e)throw new Error("useNotifications must be used within NotificationProvider");return e};function Ki({children:e,fallback:t=null}){const[a,r]=s.useState(!1);return s.useEffect(()=>r(!0),[]),a?n.jsx(n.Fragment,{children:e}):n.jsx(n.Fragment,{children:t})}const Ji=({children:e,requireAdmin:t=!1,requireSuperAdmin:a=!1})=>{const r=t||a,[i,o]=s.useState(null),[l,c]=s.useState(null),[d,u]=s.useState(!0),h=s.useRef(!1),m=s.useRef(null);return s.useEffect(()=>{let e=!1;const t=async(t,s)=>{var n;const i=(null==(n=null==t?void 0:t.user)?void 0:n.id)??null,l=i!==m.current,d=(null==s?void 0:s.showLoading)??(!h.current||l&&!!i);if(d&&!e&&u(!0),e||o(!!t),!r)return void(e||(c(!0),u(!1),m.current=i,h.current=!0));if(!t)return void(e||(c(!1),u(!1),m.current=null,h.current=!0));if(h.current&&!l&&!d)return void(e||u(!1));const{data:p}=await Os.from("user_roles").select("role").eq("user_id",t.user.id).in("role",["super_admin","admin"]);e||(c((e=>{const t=new Set((e??[]).map(e=>e.role)),r=t.has("super_admin"),s=r||t.has("admin");return a?r:s})(p)),u(!1),m.current=i,h.current=!0)};Os.auth.getSession().then(({data:{session:e}})=>{t(e,{showLoading:!0})});const{data:{subscription:s}}=Os.auth.onAuthStateChange((a,r)=>{var s;"TOKEN_REFRESHED"!==a?"INITIAL_SESSION"===a&&h.current||("SIGNED_OUT"!==a?t(r,{showLoading:!1}):e||(o(!1),c(!1),u(!1),m.current=null)):e||(o(!!r),m.current=(null==(s=null==r?void 0:r.user)?void 0:s.id)??null)});return()=>{e=!0,s.unsubscribe()}},[r,a]),d||null===i?n.jsx("div",{className:"flex h-screen items-center justify-center",children:n.jsxs("div",{className:"text-center",children:[n.jsx("div",{className:"h-8 w-8 animate-spin rounded-full border-4 border-primary border-t-transparent mx-auto mb-4"}),n.jsx("p",{className:"text-muted-foreground",children:"Loading..."})]})}):i?r&&!l?n.jsx(p,{to:"/unauthorized",replace:!0}):r?n.jsx(Ki,{fallback:n.jsx("div",{className:"flex h-screen items-center justify-center",children:n.jsx("div",{className:"h-8 w-8 animate-spin rounded-full border-4 border-primary border-t-transparent"})}),children:n.jsx(Hi,{children:e})}):n.jsx(n.Fragment,{children:e}):n.jsx(p,{to:"/admin/login",replace:!0})};const Qi=new we({defaultOptions:{queries:{staleTime:3e5,gcTime:18e5,refetchOnWindowFocus:!1,retry:1}}}),Xi=[[/^\/research\/managing-moscow$/,()=>ke(()=>import("./ResearchManagingMoscow-K9FCVJTi.js"),__vite__mapDeps([3,1,4,5,6,7,8]))],[/^\/research\/russia-china$/,()=>ke(()=>import("./ResearchRussiaChina-K01pL8pF.js"),__vite__mapDeps([9,1,4,5,6,7,8]))],[/^\/research\/black-sea$/,()=>ke(()=>import("./ResearchBlackSea-7Ppc1cXM.js"),__vite__mapDeps([10,1,4,5,6,7,8]))],[/^\/research\/balt
2ic-sea$/,()=>ke(()=>import("./ResearchBalticSea-BkqUkYbO.js"),__vite__mapDeps([11,1,4,5,6,7,8]))],[/^\/research\/central-asia$/,()=>ke(()=>import("./ResearchCentralAsia-DedzMG1O.js"),__vite__mapDeps([12,1,4,5,6,7,8]))],[/^\/research\/arctic$/,()=>ke(()=>import("./ResearchArctic-DpgeHXrB.js"),__vite__mapDeps([13,1,4,5,6,7,8]))],[/^\/research\/nato-europe$/,()=>ke(()=>import("./ResearchNATOEurope-q9zeiavd.js"),__vite__mapDeps([14,1,4,5,6,7,8]))],[/^\/research\/russia-ukraine-war$/,()=>ke(()=>import("./ResearchRussiaUkraineWar--ARPjIgQ.js"),__vite__mapDeps([15,1,4,5,6,7,8]))],[/^\/research$/,()=>ke(()=>import("./Research-BAumvRzd.js"),__vite__mapDeps([16,1,17,7,18,5,6,8]))],[/^\/(research|articles|analysis|reports|opinion|publications)\/[^/]+$/,()=>ke(()=>import("./ResearchDetail-DCftOkvh.js"),__vite__mapDeps([19,1,20,21,7,22,6,23,24,8,5,25,0,2,26]))],[/^\/analysis$/,()=>ke(()=>import("./Publications-BGrNcWuc.js"),__vite__mapDeps([27,1,5,6,7,8]))],[/^\/articles$/,()=>ke(()=>import("./Articles-C5jbWtpa.js"),__vite__mapDeps([28,1,6,5,7,8]))],[/^\/reports$/,()=>ke(()=>import("./Reports-CRW_8H-9.js"),__vite__mapDeps([29,1,6,5,7,8]))],[/^\/opinion$/,()=>ke(()=>import("./Opinion-D6nR_zXN.js"),__vite__mapDeps([30,1,6,5,7,8]))],[/^\/announcements$/,()=>ke(()=>import("./Announcements-BHezZiP8.js"),__vite__mapDeps([31,1,6,5,7,8]))],[/^\/audio-video$/,()=>ke(()=>import("./AudioVideo-D--8FkNg.js"),__vite__mapDeps([32,1,17,7,33,5,6,8]))],[/^\/news-media$/,()=>ke(()=>import("./NewsMedia-CdxYdZj0.js"),__vite__mapDeps([34,1,5,6,7,8]))],[/^\/events\/[^/]+$/,()=>ke(()=>import("./EventDetail-DdgYNB-l.js"),__vite__mapDeps([35,1,36,22,6,23,24,8,5,26,20,21,7]))],[/^\/events$/,()=>ke(()=>import("./Events-CXX3LAb0.js"),__vite__mapDeps([37,1,38,7,22,6,23,24,8,5,26,36,33,20]))],[/^\/fellows\/[^/]+$/,()=>ke(()=>import("./FellowDetail-B2qr3gpj.js"),__vite__mapDeps([39,1,40,41,6,23,42,5,7,8]))],[/^\/fellows$/,()=>ke(()=>import("./Fellows-Byh2ma4w.js"),__vite__mapDeps([43,1,5,6,7,8]))],[/^\/leadership\/[^/]+$/,()=>ke(()=>import("./LeadershipDetail-6t8hm-cK.js"),__vite__mapDeps([44,1,40,45,7,5,6,8]))],[/^\/leadership$/,()=>ke(()=>import("./Leadership-o5BZAlNo.js"),__vite__mapDeps([46,1,45,7,5,6,8]))],[/^\/authors\/[^/]+$/,()=>ke(()=>import("./AuthorDetail-DS8DWSTy.js"),__vite__mapDeps([47,1,42,5,48,49,6,7,8]))],[/^\/partners$/,()=>ke(()=>import("./Partners-QwjN0LwY.js"),__vite__mapDeps([50,1,51,7,5,6,8]))],[/^\/about$/,()=>ke(()=>import("./About-CZefDoBN.js"),__vite__mapDeps([52,1,17,7,5,6,8]))],[/^\/contact$/,()=>ke(()=>import("./Contact-CKm6d7MU.js"),__vite__mapDeps([53,1,17,7,54,6,55,56,5,8]))]],Zi=new Set;function eo(){if("undefined"==typeof document)return()=>{};const e=e=>{var t;const a=e.target,r=null==(t=null==a?void 0:a.closest)?void 0:t.call(a,"a");if(!r)return;const s=r.getAttribute("href");s&&s.startsWith("/")&&!s.startsWith("//")&&function(e){if(Zi.has(e))return;const t=Xi.find(([t])=>t.test(e));t&&(Zi.add(e),t[1]().catch(()=>{}))}(s.split(/[?#]/)[0])};return document.addEventListener("pointerenter",e,!0),document.addEventListener("focusin",e),()=>{document.removeEventListener("pointerenter",e,!0),document.removeEventListener("focusin",e)}}const to="undefined"!=typeof window,ao=[/googlebot/i,/bingbot/i,/yandexbot/i,/baiduspider/i,/duckduckbot/i,/slurp/i,/facebot/i,/ia_archiver/i,/m
2j12bot/i,/ahrefsbot/i,/semrushbot/i,/dotbot/i,/rogerbot/i,/seznambot/i,/exabot/i,/twitterbot/i,/linkedinbot/i,/pinterestbot/i,/whatsapp/i,/telegrambot/i,/discordbot/i,/slackbot/i,/facebookexternalhit/i,/uptimerobot/i,/pingdom/i,/gtmetrix/i,/pagespeed/i,/lighthouse/i,/screaming frog/i,/crawler/i,/spider/i,/scraper/i,/headlesschrome/i,/phantomjs/i,/puppeteer/i,/selenium/i,/playwright/i,/cypress/i,/webdriver/i,/bot/i,/crawl/i,/fetch/i,/archive/i,/monitor/i,/preview/i,/http/i,/curl/i,/wget/i,/python/i,/java\//i,/libwww/i,/perl/i,/ruby/i,/php/i,/axios/i,/node-fetch/i],ro=["bot","crawl","spider","slurp","fetch","scrape","headless","phantom","selenium","webdriver","puppet"],so="analytics_session_page_count",no="analytics_session_start_time",io=()=>{if(!to)return!0;const e=navigator.userAgent;if(!e||e.length<20)return!0;if(ao.some(t=>t.test(e)))return!0;const t=e.toLowerCase();return!!ro.some(e=>t.includes(e))||(!navigator.language||(!0===navigator.webdriver||(!!(window._phantom||window.__nightmare||window.callPhantom)||!!window.document.documentElement.getAttribute("webdriver"))))},oo=()=>{if(!to)return"";let e=sessionStorage.getItem("analytics_session_id");return e||(e=crypto.randomUUID(),sessionStorage.setItem("analytics_session_id",e),sessionStorage.setItem(no,Date.now().toString()),sessionStorage.setItem(so,"0")),e},lo=()=>{if(!to)return"desktop";const e=navigator.userAgent.toLowerCase();return/(ipad|tablet|playbook|silk)/.test(e)||/(android)/.test(e)&&!/(mobile)/.test(e)?"tablet":/(mobile|iphone|ipod|blackberry|iemobile|kindle|silk-accelerated|webos|opera mini)/.test(e)||/(android)/.test(e)&&/(mobile)/.test(e)?"mobile":"desktop"},co=async(e,t,a)=>{if(to&&!io()&&!(()=>{if(!to)return!0;try{const e=Date.now(),t=parseInt(sessionStorage.getItem(no)||"0",10),a=parseInt(sessionStorage.getItem(so)||"0",10);if(e-t>18e5)return sessionStorage.setItem(no,e.toString()),sessionStorage.setItem(so,"1"),!1;const r=a+1;return sessionStorage.setItem(so,r.toString()),r>50}catch(e){return!1}})())try{const{data:{user:r}}=await Os.auth.getUser(),s=await(async()=>{if(!to)return null;try{const e=sessionStorage.getItem("analytics_location");if(e)return JSON.parse(e);const t=await fetch("/api/geo");if(!t.ok)return null;const a=await t.json(),r={country:a.country||null,region:a.region||null};return sessionStorage.setItem("analytics_location",JSON.stringify(r)),r}catch(e){return null}})();await Os.from("analytics_events").insert({event_type:e,event_data:t||{},page_path:window.location.pathname,user_id:null==r?void 0:r.id,session_id:oo(),referrer:document.referrer||null,user_agent:navigator.userAgent,device_type:lo(),country:(null==a?void 0:a.country)||(null==s?void 0:s.country)||null,region:(null==a?void 0:a.region)||(null==s?void 0:s.region)||null,gender:(null==a?void 0:a.gender)||null})}catch(r){}},uo=async e=>{if(!to||!io())try{const{error:t}=await Os.rpc("increment_view_count",{row_id:e})}catch(t){}},ho={active:!0,breakpoints:{},delay:4e3,jump:!1,playOnInit:!0,stopOnFocusIn:!0,stopOnInteraction:!0,stopOnMouseEnter:!1,stopOnLastSnap:!1,rootNode:null};function po(e={}){let t,a,r,s,n=null,i=0,o=!1,l=!1,c=!1,d=!1;function u(){r||(m()?c=!0:(o||a.emit("autoplay:play"),function(){const{ownerWindow:e}=a.internalEngine();e.clearTimeout(i),i=e.setTimeout(v,s[a.selectedScrollSnap()]),n=(new Date).getTime(),a.emit("autoplay:timerset")}(),o=!0))}function h(){r||(o&&a.emit("autoplay:stop"),function(){const{ownerWindow:e}=a.internalEngine();e.clearTimeout(i),i=0,n=null,a.emit("autoplay:timerstopped")}(),o=!1)}function p(){if(m())return c=o,h();c&&u()}function m(){const{ownerDocument:e}=a.internalEngine();return"hidden"===e.visibilityState}function f(){l||h()}function g(){l||u()}function b(){l=!0,h()}function y(){l=!1,u()}function v(){const{index:e}=a.internalEngine(),r=e.clone().add(1).get(),s=a.scrollSnapList().length-1,n=t.stopOnLastSnap&&r===s;if(a.canScrollNext()?a.scrollNext(d):a.scrollTo(0,d),a.emit("autoplay:select"),n)return h();u()}return{name:"autoplay",options:e,init:function(n,i){a=n;const{mergeOptions:o,optionsAtMedia:l}=i,c=o(ho,po.globalOptions),m=o(c,e);if(t=l(m),a.scrollSnapList().length<=1)return;d=t.jump,r=!1,s=function(e,t){const a=e.scrollSnapList();return"number"==typeof t?a.map(()=>t):t(a,e)}(a,t.delay);const{eventStore:v,ownerDocument:w}=a.internalEngine(),x=!!a.internalEngine().options.watchDrag,_=function(e,t){const a=e.rootNode();return t&&t(a)||a}(a,t.rootNode);v.add(w,"visibilitychange",p),x&&a.on("pointerDown",f),x&&!t.stopOn
2Interaction&&a.on("pointerUp",g),t.stopOnMouseEnter&&v.add(_,"mouseenter",b),t.stopOnMouseEnter&&!t.stopOnInteraction&&v.add(_,"mouseleave",y),t.stopOnFocusIn&&a.on("slideFocusStart",h),t.stopOnFocusIn&&!t.stopOnInteraction&&v.add(a.containerNode(),"focusout",u),t.playOnInit&&u()},destroy:function(){a.off("pointerDown",f).off("pointerUp",g).off("slideFocusStart",h),h(),r=!0,o=!1},play:function(e){void 0!==e&&(d=e),u()},stop:function(){o&&h()},reset:function(){o&&u()},isPlaying:function(){return o},timeUntilNext:function(){return n?s[a.selectedScrollSnap()]-((new Date).getTime()-n):null}}}po.globalOptions=void 0;const mo=At("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",accent:"border-transparent bg-accent text-accent-foreground hover:bg-accent/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function fo({className:e,variant:t,...a}){return n.jsx("div",{className:_a(mo({variant:t}),e),...a})}function go({date:e,locale:t="en-US",options:a,className:r}){const[i,o]=s.useState("");return s.useEffect(()=>{if(!e)return;const r=new Date(e);if(Number.isNaN(r.getTime()))o("string"==typeof e?e:"");else try{const e=a?new Intl.DateTimeFormat(t,a).format(r):r.toLocaleDateString(t);o(e)}catch{try{o(r.toISOString().split("T")[0])}catch{o("string"==typeof e?e:"")}}},[e,t,a]),i?n.jsx("span",{className:r,children:i}):null}const bo=s.memo(({id:e,slug:t,title:a,excerpt:r,category:i,publicationType:o,author:l,date:c,imageUrl:d,priority:h=!1})=>{const p=s.useMemo(()=>Ms(Array.isArray(i)?i[0]:i),[i]),m="opinion"===(null==o?void 0:o.toLowerCase()),f=t?`/research/${t}`:`/research/${e}`;return n.jsxs("div",{className:"group flex flex-col overflow-hidden rounded-lg bg-transparent shadow-card transition-all hover:shadow-elevated md:flex-row",children:[n.jsx("div",{className:"relative w-full shrink-0 overflow-hidden rounded-lg bg-muted/40 md:w-[460px] h-[220px] md:h-[280px]",children:d?n.jsx("img",{sizes:oi,srcSet:ni(d,ii.carousel),src:si(d,{width:ri.carousel}),alt:a,loading:h?"eager":"lazy",decoding:"async",...ti(!!h),width:460,height:280,className:"h-full w-full object-cover object-center"}):n.jsx("div",{className:"flex h-full w-full items-center justify-center rounded-lg bg-gradient-hero",children:n.jsx("span",{className:"text-4xl font-bold text-primary-foreground/20",children:p.charAt(0)})})}),n.jsxs("div",{className:"flex flex-1 flex-col overflow-hidden p-7",children:[n.jsxs("div",{className:"mb-3 flex flex-wrap items-center gap-2",children:[m&&n.jsx(fo,{variant:"accent",className:"font-medium uppercase tracking-wide",children:"Opinion"}),n.jsx(fo,{variant:"secondary",className:"font-medium",children:p})]}),n.jsx(u,{to:f,className:"group/title",children:n.jsx("h3",{className:"mb-3 font-heading text-2xl font-bold leading-tight text-primary-foreground transition-colors group-hover:text-[rgb(242,183,31)] md:text-3xl",children:a})}),n.jsx("p",{className:"mb-4 flex-1 text-base font-medium text-primary-foreground/90 transition-colors group-hover:text-[rgb(242,183,31)] line-clamp-2 overflow-hidden",children:r}),n.jsxs("div",{className:"flex flex-wrap items-center gap-x-4 gap-y-1 text-xs font-medium text-primary-foreground/80",children:[n.jsxs("div",{className:"flex min-w-0 items-center gap-1",children:[n.jsx(oe,{className:"h-3 w-3 shrink-0"}),n.jsx("span",{className:"truncate",children:l})]}),n.jsxs("div",{className:"flex shrink-0 items-center gap-1 whitespace-nowrap",children:[n.jsx(ue,{className:"h-3 w-3 shrink-0"}),n.jsx(go,{date:c,locale:"en-US",options:{year:"numeric",month:"long",day:"numeric"}})]})]})]})]})},(e,t)=>e.id===t.id&&e.slug===t.slug&&e.title===t.title&&e.excerpt===t.excerpt&&JSON.stringify(e.category)===JSON.stringify(t.category)&&e.publicationType===t.publicationType&&e.author===t.author&&e.date===t.date&&e.imageUrl===t.imageUrl&&e.priority===t.priority);bo.displayName="FeaturedResearchCard";const yo=e=>
2new Date(e).toLocaleDateString("en-GB",{day:"numeric",month:"long",year:"numeric",timeZone:"UTC"}),vo=e=>e?String(e).slice(0,5):"",wo=s.memo(({title:e,description:t,event_date:a,end_date:r,event_time:s,end_time:i,location:o,imageUrl:l,priority:c=!1})=>{const d=vo(s),h=vo(i),p=!(!d&&!h),m=a||r;let f;if(m||p)if(!m&&p){const e=[d,h].filter(Boolean);f=e.length?`${e.join(" – ")} ET`:"—"}else{const e=yo(m),t=d?`${e}, ${d}`:e,a=r&&r!==m?yo(r):"",s=h?a?`${a}, ${h}`:h:a,n=s?`${t} – ${s}`:t;f=p?`${n} ET`:n}else f="—";return n.jsxs("div",{className:"group flex flex-col overflow-hidden rounded-lg bg-transparent shadow-card transition-all hover:shadow-elevated md:flex-row",children:[n.jsx("div",{className:"relative w-full shrink-0 overflow-hidden rounded-lg bg-muted/40 md:w-[460px] h-[220px] md:h-[280px]",children:l?n.jsx("img",{sizes:oi,srcSet:ni(l,ii.carousel),src:si(l,{width:ri.carousel}),alt:e,loading:c?"eager":"lazy",decoding:"async",...ti(!!c),width:460,height:280,className:"h-full w-full object-cover object-center"}):n.jsx("div",{className:"flex h-full w-full items-center justify-center rounded-lg bg-gradient-hero",children:n.jsx("span",{className:"text-4xl font-bold text-primary-foreground/20",children:"E"})})}),n.jsxs("div",{className:"flex flex-1 flex-col overflow-hidden p-7",children:[n.jsx("div",{className:"mb-3 flex items-center gap-2",children:n.jsx(fo,{variant:"secondary",className:"font-medium",children:"Event"})}),n.jsx(u,{to:"/events",className:"group/title",children:n.jsx("h3",{className:"mb-3 font-heading text-2xl font-bold leading-tight text-primary-foreground transition-colors group-hover:text-[rgb(242,183,31)] md:text-3xl line-clamp-2 overflow-hidden",children:e})}),t&&n.jsx("p",{className:"mb-4 flex-1 text-base font-medium text-primary-foreground/90 transition-colors group-hover:text-[rgb(242,183,31)] line-clamp-2 overflow-hidden",children:t}),n.jsxs("div",{className:"flex flex-wrap items-center gap-x-4 gap-y-1 text-xs font-medium text-primary-foreground/80",children:[n.jsxs("div",{className:"flex min-w-0 items-center gap-1",children:[n.jsx(ue,{className:"h-3 w-3 shrink-0"}),n.jsx("span",{className:"truncate",children:f})]}),o&&n.jsx("span",{className:"truncate max-w-[180px]",title:o,children:o})]})]})]})});function xo(e){return function(e){return"[object Object]"===Object.prototype.toString.call(e)}(e)||Array.isArray(e)}function _o(e,t){const a=Object.keys(e),r=Object.keys(t);if(a.length!==r.length)return!1;return JSON.stringify(Object.keys(e.breakpoints||{}))===JSON.stringify(Object.keys(t.breakpoints||{}))&&a.every(a=>{const r=e[a],s=t[a];return"function"==typeof r?`${r}`==`${s}`:xo(r)&&xo(s)?_o(r,s):r===s})}function jo(e){return e.concat().sort((e,t)=>e.name>t.name?1:-1).map(e=>e.options)}function ko(e){return"number"==typeof e}function To(e){return"string"==typeof e}function So(e){return"boolean"==typeof e}function No(e){return"[object Object]"===Object.prototype.toString.call(e)}function Eo(e){return Math.abs(e)}function Ao(e){return Math.sign(e)}function Ro(e,t){return Eo(e-t)}function Co(e){return qo(e).map(Number)}function Io(e){return e[Oo(e)]}function Oo(e){return Math.max(0,e.length-1)}function Do(e,t){return t===Oo(e)}function Po(e,t=0){return Array.from(Array(e),(e,a)=>t+a)}function qo(e){return Object.keys(e)}function zo(e,t){return[e,t].reduce((e,t)=>(qo(t).forEach(a=>{const r=e[a],s=t[a],n=No(r)&&No(s);e[a]=n?zo(r,s):s}),e),{})}function Lo(e,t){return void 0!==t.MouseEvent&&e instanceof t.MouseEvent}function Mo(){let e=[];const t={add:function(a,r,s,n={passive:!0}){let i;if("addEventListener"in a)a.addEventListener(r,s,n),i=()=>a.removeEventListener(r,s,n);else{const e=a;e.addListener(s),i=()=>e.removeListener(s)}return e.push(i),t},clear:function(){e=e.filter(e=>e())}};return t}function Uo(e,t,a,r){const s=Mo(),n=1e3/60;let i=null,o=0,l=0;function c(e){if(!l)return;i||(i=e,a(),a());const s=e-i;for(i=e,o+=s;o>=n;)a(),o-=n;r(o/n),l&&(l=t.requestAnimationFrame(c))}function d(){t.cancelAnimationFrame(l),i=null,o=0,l=0}return{init:function(){s.add(e,"visibilitychange",()=>{e.hidden&&(i=null,o=0)})},destroy:function(){d(),s.clear()},start:function(){l||(l=t.requestAnimationFrame(c))},stop:d,update:a,render:r}}function Fo(e=0,t=0){const a=Eo(e-t);function r(t){return t<e}function s(e){return e>t}function n(e){return r(e)||s(e)}return{length:a,max:t,min:e,constrain:function(a){return n(a)?r(a)?e:t:a},reachedAny:n,reachedMax:s,reachedMin:r,removeOffset:function(e){return a?e-a*Math.ceil((e-t)/a):e}}}function $o(e,t,a){const{constrain:r}
vendor: 5,539 bytes, line 2
2=Fo(0,e),s=e+1;let n=i(t);function i(e){return a?Eo((s+e)%s):r(e)}function o(){return n}function l(){return $o(e,o(),a)}const c={get:o,set:function(e){return n=i(e),c},add:function(e){return l().set(o()+e)},clone:l};return c}function Bo(e,t,a,r,s,n,i,o,l,c,d,u,h,p,m,f,g,b,y){const{cross:v,direction:w}=e,x=["INPUT","SELECT","TEXTAREA"],_={passive:!1},j=Mo(),k=Mo(),T=Fo(50,225).constrain(p.measure(20)),S={mouse:300,touch:400},N={mouse:500,touch:600},E=m?43:25;let A=!1,R=0,C=0,I=!1,O=!1,D=!1,P=!1;function q(e){if(!Lo(e,r)&&e.touches.length>=2)return z(e);const t=n.readPoint(e),a=n.readPoint(e,v),i=Ro(t,R),l=Ro(a,C);if(!O&&!P){if(!e.cancelable)return z(e);if(O=i>l,!O)return z(e)}const d=n.pointerMove(e);i>f&&(D=!0),c.useFriction(.3).useDuration(.75),o.start(),s.add(w(d)),e.preventDefault()}function z(e){const t=d.byDistance(0,!1).index!==u.get(),a=n.pointerUp(e)*(m?N:S)[P?"mouse":"touch"],r=function(e,t){const a=u.add(-1*Ao(e)),r=d.byDistance(e,!m).distance;return m||Eo(e)<T?r:g&&t?.5*r:d.byIndex(a.get(),0).distance}(w(a),t),s=function(e,t){if(0===e||0===t)return 0;if(Eo(e)<=Eo(t))return 0;const a=Ro(Eo(e),Eo(t));return Eo(a/e)}(a,r),i=E-10*s,o=b+s/50;O=!1,I=!1,k.clear(),c.useDuration(i).useFriction(o),l.distance(r,!m),P=!1,h.emit("pointerUp")}function L(e){D&&(e.stopPropagation(),e.preventDefault(),D=!1)}return{init:function(e){if(!y)return;function o(o){(So(y)||y(e,o))&&function(e){const o=Lo(e,r);if(P=o,D=m&&o&&!e.buttons&&A,A=Ro(s.get(),i.get())>=2,o&&0!==e.button)return;if(function(e){const t=e.nodeName||"";return x.includes(t)}(e.target))return;I=!0,n.pointerDown(e),c.useFriction(0).useDuration(0),s.set(i),function(){const e=P?a:t;k.add(e,"touchmove",q,_).add(e,"touchend",z).add(e,"mousemove",q,_).add(e,"mouseup",z)}(),R=n.readPoint(e),C=n.readPoint(e,v),h.emit("pointerDown")}(o)}const l=t;j.add(l,"dragstart",e=>e.preventDefault(),_).add(l,"touchmove",()=>{},_).add(l,"touchend",()=>{}).add(l,"touchstart",o).add(l,"mousedown",o).add(l,"touchcancel",z).add(l,"contextmenu",z).add(l,"click",L,!0)},destroy:function(){j.clear(),k.clear()},pointerDown:function(){return I}}}function Wo(e,t){let a,r;function s(e){return e.timeStamp}function n(a,r){const s="client"+("x"===(r||e.scroll)?"X":"Y");return(Lo(a,t)?a:a.touches[0])[s]}return{pointerDown:function(e){return a=e,r=e,n(e)},pointerMove:function(e){const t=n(e)-n(r),i=s(e)-s(a)>170;return r=e,i&&(a=e),t},pointerUp:function(e){if(!a||!r)return 0;const t=n(r)-n(a),i=s(e)-s(a),o=s(e)-s(r)>170,l=t/i;return i&&!o&&Eo(l)>.1?l:0},readPoint:n}}function Vo(e,t,a,r,s,n,i){const o=[e].concat(r);let l,c,d=[],u=!1;function h(e){return s.measureSize(i.measure(e))}return{init:function(s){n&&(c=h(e),d=r.map(h),l=new ResizeObserver(a=>{(So(n)||n(s,a))&&function(a){for(const n of a){if(u)return;const a=n.target===e,i=r.indexOf(n.target),o=a?c:d[i];if(Eo(h(a?e:r[i])-o)>=.5){s.reInit(),t.emit("resize");break}}}(a)}),a.requestAnimationFrame(()=>{o.forEach(e=>l.observe(e))}))},destroy:function(){u=!0,l&&l.disconnect()}}}function Go(e,t,a,r,s){const n=s.measure(10),i=s.measure(50),o=Fo(.1,.99);let l=!1;function c(){return!l&&(!!e.reachedAny(a.get())&&!!e.reachedAny(t.get()))}return{shouldConstrain:c,constrain:function(s){if(!c())return;const l=e.reachedMin(t.get())?"min":"max",d=Eo(e[l]-t.get()),u=a.get()-t.get(),h=o.constrain(d/i);a.subtract(u*h),!s&&Eo(u)<n&&(a.set(e.constrain(a.get())),r.useDuration(25).useBaseFriction())},toggleActive:function(e){l=!e}}}function Ho(e,t,a,r){const s=t.min+.1,n=t.max+.1,{reachedMin:i,reachedMax:o}=Fo(s,n);return{loop:function(t){if(!function(e){return 1===e?o(a.get()):-1===e&&i(a.get())}(t))return;const s=e*(-1*t);r.forEach(e=>e.add(s))}}}function Yo(e,t,a,r,s){const{reachedAny:n,removeOffset:i,constrain:o}=r;function l(e){return e.concat().sort((e,t)=>Eo(e)-Eo(t))[0]}function c(t,r){const s=[t,t+a,t-a];if(!e)return t;if(!r)return l(s);const n=s.filter(e=>Ao(e)===r);return n.length?l(n):Io(s)-a}return{byDistance:function(a,r){const l=s.get()+a,{index:d,distance:u}=function(a){const r=e?i(a):o(a),s=t.map((e,t)=>({diff:c(e-r,0),index:t})).sort((e,t)=>Eo(e.diff)-Eo(t.diff)),{index:n}=s[0];return{index:n,distance:r}}(l),h=!e&&n(l);return!r||h?{index:d,distance:a}:{index:d,distance:a+c(t[d]-u,0)}},byIndex:function(e,a){return{index:e,distance:c(t[e]-s.get(),a)}},shortcut:c}}function Ko(e,t,a,r,s,n,i,o){const l={passive:!0,capture:!0};let c=0;function d(e){"Tab"===e.code&&(c=(new Date).getTime())}return{init:function(u){o&&(n.add(document,"keydown",d,!1),t.forEach((t,d)=>{n.add(t,"focus",t=>{(So(o)||o(u,t))&&function(t){if((new Date).getTime()-c>10)return;i.emit("slideFocusStart"),e.scrollLeft=0;const n=a.findIndex(e=>e.includes(t));ko(n)&&(s.useDuration(0),r.index(n,0),i.emit("slideFocus"))}(d)},l)}))}}}function Jo(e){let t=e;function a(e){return ko(e)?e:e.get()}return{get:function(){return t},set:function(e){t=a(e)},add:function(e){t+=a(e)},subtract:function(e){t-=a(e)}}}function Qo(e,t){const a="x"===e.scroll?function(e){return`translate3d(${e}px,0px,0px)`}:function(e){return`translate3d(0px,${e}px,0px)`},r=t.style;let s=null,n=!1;return{clear:function(){n||(r.transform="",t.getAttribute("style")||t.removeAttribute("style"))},to:function(t){if(n)return;const i=(o=e.direction(t),Math.round(100*o)/100);var o;i!==s&&(r.transform=a(i),s=i)},toggleActive:function(e){n=!e}}}function Xo(e,t,a,r,s,n,i,o,l){const c=Co(s),d=Co(s).reverse(),u=function(){const e=i[0];return m(p(d,e),a,!1)}().concat(function(){const e=t-i[0]-1;return m(p(c,e),-a,!0)}());function h(e,t){return e.reduce((e,t)=>
2e-s[t],t)}function p(e,t){return e.reduce((e,a)=>h(e,t)>0?e.concat([a]):e,[])}function m(s,i,c){const d=function(e){return n.map((a,s)=>({start:a-r[s]+.5+e,end:a+t-.5+e}))}(i);return s.map(t=>{const r=c?0:-a,s=c?a:0,n=c?"end":"start",i=d[t][n];return{index:t,loopPoint:i,slideLocation:Jo(-1),translate:Qo(e,l[t]),target:()=>o.get()>i?r:s}})}return{canLoop:function(){return u.every(({index:e})=>h(c.filter(t=>t!==e),t)<=.1)},clear:function(){u.forEach(e=>e.translate.clear())},loop:function(){u.forEach(e=>{const{target:t,translate:a,slideLocation:r}=e,s=t();s!==r.get()&&(a.to(s),r.set(s))})},loopPoints:u}}function Zo(e,t,a){let r,s=!1;return{init:function(n){a&&(r=new MutationObserver(e=>{s||(So(a)||a(n,e))&&function(e){for(const a of e)if("childList"===a.type){n.reInit(),t.emit("slidesChanged");break}}(e)}),r.observe(e,{childList:!0}))},destroy:function(){r&&r.disconnect(),s=!0}}}function el(e,t,a,r){const s={};let n,i=null,o=null,l=!1;return{init:function(){n=new IntersectionObserver(e=>{l||(e.forEach(e=>{const a=t.indexOf(e.target);s[a]=e}),i=null,o=null,a.emit("slidesInView"))},{root:e.parentElement,threshold:r}),t.forEach(e=>n.observe(e))},destroy:function(){n&&n.disconnect(),l=!0},get:function(e=!0){if(e&&i)return i;if(!e&&o)return o;const t=function(e){return qo(s).reduce((t,a)=>{const r=parseInt(a),{isIntersecting:n}=s[r];return(e&&n||!e&&!n)&&t.push(r),t},[])}(e);return e&&(i=t),e||(o=t),t}}}function tl(e,t,a,r,s,n,i,o,l){const{startEdge:c,endEdge:d,direction:u}=e,h=ko(a);return{groupSlides:function(e){return h?function(e,t){return Co(e).filter(e=>e%t===0).map(a=>e.slice(a,a+t))}(e,a):function(e){return e.length?Co(e).reduce((a,h,p)=>{const m=Io(a)||0,f=0===m,g=h===Oo(e),b=s[c]-n[m][c],y=s[c]-n[h][d],v=!r&&f?u(i):0,w=Eo(y-(!r&&g?u(o):0)-(b+v));return p&&w>t+l&&a.push(h),g&&a.push(e.length),a},[]).map((t,a,r)=>{const s=Math.max(r[a-1]||0);return e.slice(s,t)}):[]}(e)}}}function al(e,t,a,r,s,n,i){const{align:o,axis:l,direction:c,startIndex:d,loop:u,duration:h,dragFree:p,dragThreshold:m,inViewThreshold:f,slidesToScroll:g,skipSnaps:b,containScroll:y,watchResize:v,watchSlides:w,watchDrag:x,watchFocus:_}=n,j={measure:function(e){const{offsetTop:t,offsetLeft:a,offsetWidth:r,offsetHeight:s}=e;return{top:t,right:a+r,bottom:t+s,left:a,width:r,height:s}}},k=j.measure(t),T=a.map(j.measure),S=function(e,t){const a="rtl"===t,r="y"===e,s=!r&&a?-1:1;return{scroll:r?"y":"x",cross:r?"x":"y",startEdge:r?"top":a?"right":"left",endEdge:r?"bottom":a?"left":"right",measureSize:function(e){const{height:t,width:a}=e;return r?t:a},direction:function(e){return e*s}}}(l,c),N=S.measureSize(k),E=function(e){return{measure:function(t){return e*(t/100)}}}(N),A=function(e,t){const a={start:function(){return 0},center:function(e){return r(e)/2},end:r};function r(e){return t-e}return{measure:function(r,s){return To(e)?a[e](r):e(t,r,s)}}}(o,N),R=!u&&!!y,C=u||!!y,{slideSizes:I,slideSizesWithGaps:O,startGap:D,endGap:P}=function(e,t,a,r,s,n){const{measureSize:i,startEdge:o,endEdge:l}=e,c=a[0]&&s,d=function(){if(!c)return 0;const e=a[0];return Eo(t[o]-e[o])}(),u=function(){if(!c)return 0;const e=n.getComputedStyle(Io(r));return parseFloat(e.getPropertyValue(`margin-${l}`))}(),h=a.map(i),p=a.map((e,t,a)=>{const r=!t,s=Do(a,t);return r?h[t]+d:s?h[t]+u:a[t+1][o]-e[o]}).map(Eo);return{slideSizes:h,slideSizesWithGaps:p,startGap:d,endGap:u}}(S,k,T,a,C,s),q=tl(S,N,g,u,k,T,D,P,2),{snaps:z,snapsAligned:L}=function(e,t,a,r,s){const{startEdge:n,endEdge:i}=e,{groupSlides:o}=s,l=o(r).map(e=>Io(e)[i]-e[0][n]).map(Eo).map(t.measure),c=r.map(e=>a[n]-e[n]).map(e=>-Eo(e)),d=o(c).map(e=>e[0]).map((e,t)=>e+l[t]);return{snaps:c,snapsAligned:d}}(S,A,k,T,q),M=-Io(z)+Io(O),{snapsContained:U,scrollContainLimit:F}=function(e,t,a,r,s){const n=Fo(-t+e,0),i=a.map((e,t)=>{const{min:r,max:s}=n,i=n.constrain(e),o=!t,c=Do(a,t);return o?s:c||l(r,i)?r:l(s,i)?s:i}).map(e=>parseFloat(e.toFixed(3))),o=function(){const e=i[0],t=Io(i);return Fo(i.lastIndexOf(e),i.indexOf(t)+1)}();function l(e,t){return Ro(e,t)<=1}return{snapsContained:function(){if(t<=e+s)return[n.max];if("keepSnaps"===r)return i;const{min:a,max:l}=o;return i.slice(a,l)}(),scrollContainLimit:o}}
vendor: 6,874 bytes, line 2
2(N,M,L,y,2),$=R?U:L,{limit:B}=function(e,t,a){const r=t[0];return{limit:Fo(a?r-e:Io(t),r)}}(M,$,u),W=$o(Oo($),d,u),V=W.clone(),G=Co(a),H=Uo(r,s,()=>(({dragHandler:e,scrollBody:t,scrollBounds:a,options:{loop:r}})=>{r||a.constrain(e.pointerDown()),t.seek()})(oe),e=>(({scrollBody:e,translate:t,location:a,offsetLocation:r,previousLocation:s,scrollLooper:n,slideLooper:i,dragHandler:o,animation:l,eventHandler:c,scrollBounds:d,options:{loop:u}},h)=>{const p=e.settled(),m=!d.shouldConstrain(),f=u?p:p&&m,g=f&&!o.pointerDown();g&&l.stop();const b=a.get()*h+s.get()*(1-h);r.set(b),u&&(n.loop(e.direction()),i.loop()),t.to(r.get()),g&&c.emit("settle"),f||c.emit("scroll")})(oe,e)),Y=$[W.get()],K=Jo(Y),J=Jo(Y),Q=Jo(Y),X=Jo(Y),Z=function(e,t,a,r,s,n){let i=0,o=0,l=s,c=n,d=e.get(),u=0;function h(e){return l=e,m}function p(e){return c=e,m}const m={direction:function(){return o},duration:function(){return l},velocity:function(){return i},seek:function(){const t=r.get()-e.get();let s=0;return l?(a.set(e),i+=t/l,i*=c,d+=i,e.add(i),s=d-u):(i=0,a.set(r),e.set(r),s=t),o=Ao(s),u=d,m},settled:function(){return Eo(r.get()-t.get())<.001},useBaseFriction:function(){return p(n)},useBaseDuration:function(){return h(s)},useFriction:p,useDuration:h};return m}(K,Q,J,X,h,.68),ee=Yo(u,$,M,B,X),te=function(e,t,a,r,s,n,i){function o(s){const o=s.distance,l=s.index!==t.get();n.add(o),o&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),l&&(a.set(t.get()),t.set(s.index),i.emit("select"))}return{distance:function(e,t){o(s.byDistance(e,t))},index:function(e,a){const r=t.clone().set(e);o(s.byIndex(r.get(),a))}}}(H,W,V,Z,ee,X,i),ae=function(e){const{max:t,length:a}=e;return{get:function(e){return a?(e-t)/-a:0}}}(B),re=Mo(),se=el(t,a,i,f),{slideRegistry:ne}=function(e,t,a,r,s,n){const{groupSlides:i}=s,{min:o,max:l}=r;return{slideRegistry:function(){const r=i(n),s=!e||"keepSnaps"===t;return 1===a.length?[n]:s?r:r.slice(o,l).map((e,t,a)=>{const r=!t,s=Do(a,t);return r?Po(Io(a[0])+1):s?Po(Oo(n)-Io(a)[0]+1,Io(a)[0]):e})}()}}(R,y,$,F,q,G),ie=Ko(e,a,ne,te,Z,re,i,_),oe={ownerDocument:r,ownerWindow:s,eventHandler:i,containerRect:k,slideRects:T,animation:H,axis:S,dragHandler:Bo(S,e,r,s,X,Wo(S,s),K,H,te,Z,ee,W,i,E,p,m,b,.68,x),eventStore:re,percentOfView:E,index:W,indexPrevious:V,limit:B,location:K,offsetLocation:Q,previousLocation:J,options:n,resizeHandler:Vo(t,i,s,a,S,v,j),scrollBody:Z,scrollBounds:Go(B,Q,X,Z,E),scrollLooper:Ho(M,B,Q,[K,Q,J,X]),scrollProgress:ae,scrollSnapList:$.map(ae.get),scrollSnaps:$,scrollTarget:ee,scrollTo:te,slideLooper:Xo(S,N,M,I,O,z,$,Q,a),slideFocus:ie,slidesHandler:Zo(t,i,w),slidesInView:se,slideIndexes:G,slideRegistry:ne,slidesToScroll:q,target:X,translate:Qo(S,t)};return oe}wo.displayName="FeaturedEventCard";const rl={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function sl(e){function t(e,t){return zo(e,t||{})}return{mergeOptions:t,optionsAtMedia:function(a){const r=a.breakpoints||{},s=qo(r).filter(t=>e.matchMedia(t).matches).map(e=>r[e]).reduce((e,a)=>t(e,a),{});return t(a,s)},optionsMediaQueries:function(t){return t.map(e=>qo(e.breakpoints||{})).reduce((e,t)=>e.concat(t),[]).map(e.matchMedia)}}}function nl(e,t,a){const r=e.ownerDocument,s=r.defaultView,n=sl(s),i=function(e){let t=[];return{init:function(a,r){return t=r.filter(({options:t})=>!1!==e.optionsAtMedia(t).active),t.forEach(t=>t.init(a,e)),r.reduce((e,t)=>Object.assign(e,{[t.name]:t}),{})},destroy:function(){t=t.filter(e=>e.destroy())}}}(n),o=Mo(),l=function(){let e,t={};function a(e){return t[e]||[]}const r={init:function(t){e=t},emit:function(t){return a(t).forEach(a=>a(e,t)),r},off:function(e,s){return t[e]=a(e).filter(e=>e!==s),r},on:function(e,s){return t[e]=a(e).concat([s]),r},clear:function(){t={}}};return r}(),{mergeOptions:c,optionsAtMedia:d,optionsMediaQueries:u}=n,{on:h,off:p,emit:m}=l,f=S;let g,b,y,v,w=!1,x=c(rl,nl.globalOptions),_=c(x),j=[];function k(t){const a=al(e,y,v,r,s,t,l);if(t.loop&&!a.slideLooper.canLoop()){return k(Object.assign({},t,{loop:!1}))}return a}function T(t,a){w||(x=c(x,t),_=d(x),j=a||j,function(){const{container:t,slides:a}=_,r=To(t)?e.querySelector(t):t;y=r||e.children[0];const s=To(a)?y.querySelectorAll(a):a;v=[].slice.call(s||y.children)}(),g=k(_),u([x,...j.map(({options:e})=>e)]).forEach(e=>o.add(e,"change",S)),_.active&&(g.translate.to(g.location.get()),g.animation.init(),g.slidesInView.init(),g.slideFocus.init(R),g.eventHandler.init(R),g.resizeHandler.init(R),g.slidesHandler.init(R),g.options.loop&&g.slideLooper.loop(),y.offsetParent&&v.length&&g.dragHandler.init(R),b=i.init(R,j)))}function S(e,t){const a=A();N(),T(c({startIndex:a},e),t),l.emit("reInit")}function N(){g.dragHandler.destroy(),g.eventStore.clear(),g.translate.clear(),g.slideLooper.clear(),g.resizeHandler.destroy(),g.slidesHandler.destroy(),g.slidesInView.destroy(),g.animation.destroy(),i.destroy(),o.clear()}function E(e,t,a){_.active&&!w&&(g.scrollBody.useBaseFriction().useDuration(!0===t?0:_.duration),g.scrollTo.index(e,a||0))}function A(){return g.index.get()}const R={canScrollNext:function(){return g.index.add(1).get()!==A()},canScrollPrev:function(){return g.index.add(-1).get()!==A()},containerNode:function(){return y},internalEngine:function(){return g},destroy:function(){w||(w=!0,o.clear(),N(),l.emit("destroy"),l.clear())},off:p,on:h,emit:m,plugins:function(){return b},previousScrollSnap:function(){return g.indexPrevious.get()},reInit:f,rootNode:function(){return e},scrollNext:function(e){E(g.index.add(1).get(),e,-1)},scrollPrev:function(e){E(g.index.add(-1).get(),e,1)},scrollProgress:function(){return g.scrollProgress.get(g.offsetLocation.get())},scrollSnapList:function(){return g.scrollSnapList},scrollTo:E,selectedScrollSnap:A,slideNodes:function(){return v},slidesInView:function(){return g.slidesInView.get()},slidesNotInView:function(){return g.slidesInView.get(!1)}};return T(t,a),setTimeout(()=>l.emit("init"),0),R}function il(e={},t=[]){const a=s.useRef(e),r=s.useRef(t),[n,i]=s.useState(),[o,l]=s.useState(),c=s.useCallback(()=>{n&&n.reInit(a.current,r.current)},[n]);return s.useEffect(()=>{_o(a.current,e)||(a.current=e,c())},[e,c]),s.useEffect(()=>{(function(e,t){if(e.length!==t.length)return!1;const a=jo(e),r=jo(t);return a.every((e,t)=>_o(e,r[t]))})(r.current,t)||(r.current=t,c())},[t,c]),s.useEffect(()=>{if("undefined"!=typeof window&&window.document&&window.document.createElement&&o){nl.globalOptions=il.globalOptions;const e=nl(o,a.current,r.current);return i(e),()=>e.destroy()}i(void 0)},[o,i]),[l,n]}nl.globalOptions=void 0,il.globalOptions=void 0;const ol=s.createContext(null),ll=s.createContext(null);function cl(){const e=s.useContext(ol);
2if(!e)throw new Error("useCarousel must be used within a <Carousel />");return e}function dl(){const e=s.useContext(ll);if(!e)throw new Error("useCarousel must be used within a <Carousel />");return e}function ul({api:e}){const[t,a]=s.useState(0),[r,i]=s.useState(0),o=s.useCallback(e=>{e&&(a(e.selectedScrollSnap()),i(e.scrollSnapList().length))},[]);return s.useEffect(()=>{if(e)return o(e),e.on("reInit",o),e.on("select",o),()=>{e.off("reInit",o),e.off("select",o)}},[e,o]),n.jsxs("div",{className:"sr-only",role:"status","aria-live":"polite","aria-atomic":"true",children:["Slide ",t+1," of ",r]})}const hl=s.forwardRef(({orientation:e="horizontal",opts:t,setApi:a,plugins:r,className:i,children:o,...l},c)=>{const[d,u]=il({...t,axis:"horizontal"===e?"x":"y"},r),[h,p]=s.useState(!1),[m,f]=s.useState(!1),g=e||("y"===(null==t?void 0:t.axis)?"vertical":"horizontal"),b=s.useCallback(e=>{e&&(p(e.canScrollPrev()),f(e.canScrollNext()))},[]),y=s.useCallback(()=>{null==u||u.scrollPrev()},[u]),v=s.useCallback(()=>{null==u||u.scrollNext()},[u]),w=s.useCallback(e=>{if("ArrowLeft"===e.key)e.preventDefault(),y();else if("ArrowRight"===e.key)e.preventDefault(),v();else if("Home"===e.key)e.preventDefault(),null==u||u.scrollTo(0);else if("End"===e.key){e.preventDefault();const t=(null==u?void 0:u.scrollSnapList().length)??0;null==u||u.scrollTo(t-1)}},[y,v,u]);s.useEffect(()=>{u&&a&&a(u)},[u,a]),s.useEffect(()=>{if(u)return b(u),u.on("reInit",b),u.on("select",b),()=>{u.off("select",b),u.off("reInit",b)}},[u,b]);const x=s.useMemo(()=>({carouselRef:d,api:u,opts:t,orientation:g,scrollPrev:y,scrollNext:v}),[d,u,t,g,y,v]),_=s.useMemo(()=>({canScrollPrev:h,canScrollNext:m}),[h,m]);return n.jsx(ol.Provider,{value:x,children:n.jsx(ll.Provider,{value:_,children:n.jsxs("div",{ref:c,onKeyDownCapture:w,className:_a("relative",i),role:"region","aria-roledescription":"carousel",...l,children:[o,n.jsx(ul,{api:u})]})})})});hl.displayName="Carousel";const pl=s.forwardRef(({className:e,...t},a)=>{const{carouselRef:r,orientation:s}=cl();return n.jsx("div",{ref:r,className:"overflow-hidden",children:n.jsx("div",{ref:a,className:_a("flex","horizontal"===s?"-ml-4":"-mt-4 flex-col",e),...t})})});pl.displayName="CarouselContent";const ml=s.forwardRef(({className:e,...t},a)=>{const{orientation:r}=cl();return n.jsx("div",{ref:a,role:"group","aria-roledescription":"slide",className:_a("min-w-0 shrink-0 grow-0 basis-full","horizontal"===r?"pl-4":"pt-4",e),...t})});ml.displayName="CarouselItem";const fl=s.forwardRef(({className:e,variant:t="outline",size:a="icon",...r},s)=>{const{orientation:i,scrollPrev:o}=cl(),{canScrollPrev:l}=dl();return n.jsxs(un,{ref:s,variant:t,size:a,className:_a("absolute h-8 w-8 rounded-full","horizontal"===i?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!l,onClick:o,...r,children:[n.jsx(he,{className:"h-4 w-4"}),n.jsx("span",{className:"sr-only",children:"Previous slide"})]})});fl.displayName="CarouselPrevious";const gl=s.forwardRef(({className:e,variant:t="outline",size:a="icon",...r},s)=>{const{orientation:i,scrollNext:o}=cl(),{canScrollNext:l}=dl();return n.jsxs(un,{ref:s,variant:t,size:a,className:_a("absolute h-8 w-8 rounded-full","horizontal"===i?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!l,onClick:o,...r,children:[n.jsx(pe,{className:"h-4 w-4"}),n.jsx("span",{className:"sr-only",children:"Next slide"})]})});gl.displayName="CarouselNext";const bl=s.forwardRef(({className:e,...t},a)=>{const{api:r}=cl(),[i,o]=s.useState(0),[l,c]=s.useState([]),d=s.useCallback(e=>{r&&r.scrollTo(e)},[r]),u=s.useCallback(e=>{e&&c(e.scrollSnapList())},[]),h=s.useCallback(e=>{e&&o(e.selectedScrollSnap())},[]);return s.useEffect(()=>{if(r)return u(r),h(r),r.on("reInit",u),r.on("reInit",h),r.on("select",h),()=>{r.off("reInit",u),r.off("reInit",h),r.off("select",h)}},[r,u,h]),n.jsx("div",{ref:a,className:_a("flex justify-center items-center gap-2 mt-4 min-h-[8px]",e),...t,children:l.map((e,t)=>n.jsx("button",{type:"button",className:_a("h-2 w-2 rounded-full transition-all duration-300",t===i?"bg-primary w-8":"bg-muted-foreground
2/30 hover:bg-muted-foreground/50"),onClick:()=>d(t),"aria-label":`Go to slide ${t+1}`},t))})});function yl({className:e,...t}){return n.jsx("div",{className:_a("animate-pulse rounded-md bg-muted",e),...t})}bl.displayName="CarouselDots";const vl={align:"center",loop:!0,dragFree:!1,containScroll:"trimSnaps"},wl=()=>n.jsxs("div",{className:"flex flex-col overflow-hidden rounded-lg bg-white/5 md:flex-row",children:[n.jsx("div",{className:"w-full md:w-[460px] h-[200px] md:h-[280px]",children:n.jsx(yl,{className:"h-full w-full rounded-lg"})}),n.jsxs("div",{className:"flex flex-1 flex-col overflow-hidden p-7 space-y-3",children:[n.jsx(yl,{className:"h-6 w-24 rounded"}),n.jsx(yl,{className:"h-8 w-3/4 rounded"}),n.jsx(yl,{className:"h-8 w-1/2 rounded"}),n.jsx(yl,{className:"h-5 w-full rounded"}),n.jsx(yl,{className:"h-5 w-2/3 rounded"}),n.jsxs("div",{className:"flex gap-4 pt-2",children:[n.jsx(yl,{className:"h-4 w-28 rounded"}),n.jsx(yl,{className:"h-4 w-32 rounded"})]})]})]}),xl=s.memo(function({item:e,isLcpSlide:t}){if("research"===e.type){const{paper:a}=e;return n.jsx("div",{className:"px-4",children:n.jsx(bo,{id:a.id,slug:a.slug,title:a.title,excerpt:a.excerpt,category:a.category,publicationType:a.publication_type,author:a.author,date:a.date,imageUrl:a.imageUrl,priority:t})})}const{event:a}=e;return n.jsx("div",{className:"px-4",children:n.jsx(wo,{id:a.id,title:a.title,description:a.description,event_date:a.event_date,end_date:a.end_date,event_time:a.event_time,end_time:a.end_time,location:a.location,imageUrl:a.image_url,priority:t})})}),_l=s.memo(function({items:e,isLoading:t}){const a=s.useRef(po({delay:5e3,stopOnInteraction:!0,stopOnMouseEnter:!0})),r=s.useMemo(()=>[a.current],[]),i=e.length>0;return t||!i?n.jsxs("div",{className:"w-full max-w-5xl mx-auto px-4",children:[n.jsx(wl,{}),n.jsxs("div",{className:"flex justify-center gap-2 mt-4",children:[n.jsx("div",{className:"h-2 w-8 rounded-full bg-muted-foreground/20"}),n.jsx("div",{className:"h-2 w-2 rounded-full bg-muted-foreground/10"}),n.jsx("div",{className:"h-2 w-2 rounded-full bg-muted-foreground/10"})]})]}):n.jsxs(hl,{opts:vl,plugins:r,className:"w-full max-w-5xl mx-auto touch-pan-y",children:[n.jsx(pl,{children:e.map((e,t)=>n.jsx(ml,{children:n.jsx(xl,{item:e,isLcpSlide:0===t})},"research"===e.type?`paper-${e.paper.id}`:`event-${e.event.id}`))}),n.jsx(fl,{}),n.jsx(gl,{}),n.jsx(bl,{})]})});function jl(e,t){const a=[];for(let r=0;r<e.length;r+=t)a.push(e.slice(r,r+t));return a}let kl=new Map,Tl=!1;async function Sl(){const e=kl;kl=new Map,Tl=!1;const t=Array.from(e.keys());if(0===t.length)return;const a=t=>{for(const[a,r]of e){const e=t(a);for(const t of r)t.resolve(e)}};try{const e=(await Promise.all(jl(t,100).map(async e=>{const{data:t,error:a}=await Os.from("article_authors").select("article_id, author_id, author_order").in("article_id",e).order("author_order",{ascending:!0});if(a)throw a;return t??[]}))).flat();if(0===e.length)return void a(()=>[]);const r=jl(function(e){return Array.from(new Set(e.map(e=>e.author_id)))}(e),100),[s,n]=await Promise.all([Promise.all(r.map(async e=>{const{data:t,error:a}=await Os.from("authors").select("id, name, role, avatar_url").in("id",e);if(a)throw a;return t??[]})),Promise.all(r.map(async e=>{const{data:t,error:a}=await Os.from("fellows").select("id, slug, name, title, avatar_url").in("id",e);if(a)throw a;return t??[]}))]),i=s.flat(),o=n.flat(),l=function(e){const t=new Map;for(const a of e){const e=t.get(a.article_id);e?e.push(a):t.set(a.article_id,[a])}return t}(e);a(e=>function(e,t,a){const r=new Map(t.map(e=>[e.id,e])),s=new Map(a.map(e=>[e.id,e])),n=[];for(const i of e){const e=s.get(i.author_id);if(e){n.push({id:e.id,name:e.name,role:e.title??"",avatar_url:e.avatar_url??void 0,type:"fellow",slug:e.slug??void 0,author_order:i.author_order});continue}const t=r.get(i.author_id);t&&n.push({id:t.id,name:t.name,role:t.role??"",avatar_url:t.avatar_url??void 0,type:"author",author_order:i.author_order})}return n.sort((e,t)=>e.author_order-t.author_order)}(l.get(e)??[],i,o))}catch(r){for(const[,t]of e)for(const e of t)e.reject(r)}}const Nl=e=>{const{data:t,isPending:a}=ye({queryKey:["article-authors",e],queryFn:()=>function(e){return new Promise((t,a)=>{const r=kl.get(e);r?r.push({resolve:t,reject:a}):kl.set(e,[{resolve:t,reject:a}]),Tl||(Tl=!0,setTimeout(()=>{Sl()}
2,0))})}(e),enabled:Boolean(e),staleTime:3e5});return{authors:t??[],loading:Boolean(e)&&a}},El=s.memo(({articleId:e,className:t="",separator:a=", "})=>{const{authors:r,loading:s}=Nl(e);return s?n.jsx("span",{className:t,children:"Loading..."}):0===r.length?n.jsx("span",{className:t,title:"No authors found for this article",children:"Delphi Research"}):n.jsx("span",{className:t,children:r.map((e,t)=>n.jsxs("span",{children:[n.jsx(u,{to:"fellow"===e.type?e.slug?`/fellows/${e.slug}`:`/fellows/${e.id}`:`/authors/${e.id}`,className:"text-foreground hover:text-primary transition-colors font-medium hover:underline cursor-pointer",title:`View ${e.name}'s profile`,children:e.name}),t<r.length-1&&a]},`${e.id}-${e.slug??"author"}`))})}),Al=s.memo(({id:e,slug:t,title:a,excerpt:r,category:s,publicationType:i,author:o,date:l,readTime:c,imageUrl:d})=>{const h=Ms(Array.isArray(s)?s[0]:s),p="opinion"===(null==i?void 0:i.toLowerCase()),m=t||e;return n.jsxs(hn,{className:"group h-full overflow-hidden shadow-card transition-all hover:shadow-elevated",children:[d&&n.jsx("div",{className:"aspect-video w-full overflow-hidden bg-muted/40",children:n.jsx("img",{sizes:"(max-width: 640px) 100vw, (max-width: 1024px) 50vw, 33vw",srcSet:ni(d,ii.card),src:si(d,{width:ri.card}),alt:a,loading:"lazy",decoding:"async",width:640,height:360,className:"h-full w-full object-cover object-center"})}),n.jsxs(pn,{className:"space-y-3 pb-4",children:[n.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[p&&n.jsx(fo,{variant:"accent",className:"font-medium uppercase tracking-wide",children:"Opinion"}),Bs[h]?n.jsx(u,{to:Bs[h],children:n.jsx(fo,{variant:"secondary",className:"font-medium cursor-pointer hover:bg-secondary/80 transition-colors",children:h})}):n.jsx(fo,{variant:"secondary",className:"font-medium",children:h}),n.jsx("span",{className:"text-xs text-muted-foreground",children:c})]}),n.jsx(u,{to:`/research/${m}`,children:n.jsx("h3",{className:"font-heading text-xl font-bold leading-tight text-foreground transition-colors group-hover:text-primary",children:a})})]}),n.jsx(gn,{className:"pb-4",children:n.jsx("p",{className:"text-sm text-muted-foreground line-clamp-3",children:r})}),n.jsxs(bn,{className:"flex items-center justify-between border-t border-border pt-4",children:[n.jsxs("div",{className:"flex items-center gap-4 text-xs text-muted-foreground",children:[n.jsxs("div",{className:"flex items-center gap-1",children:[n.jsx(me,{className:"h-3 w-3"}),n.jsx(El,{articleId:e})]}),n.jsxs("div",{className:"flex items-center gap-1",children:[n.jsx(ue,{className:"h-3 w-3"}),n.jsx(go,{date:l,locale:"en-US",options:{year:"numeric",month:"long",day:"numeric"}})]})]}),n.jsxs(u,{to:`/research/${m}`,className:"flex items-center gap-1 text-xs font-medium text-primary transition-all hover:gap-2",children:["Read more",n.jsxs("span",{className:"sr-only",children:[" about ",a]}),n.jsx(pe,{className:"h-3 w-3"})]})]})]})},(e,t)=>e.id===t.id&&e.slug===t.slug&&e.title===t.title&&e.excerpt===t.excerpt&&JSON.stringify(e.category)===JSON.stringify(t.category)&&e.publicationType===t.publicationType&&e.author===t.author&&e.date===t.date&&e.readTime===t.readTime&&e.imageUrl===t.imageUrl);Al.displayName="ResearchCard";const Rl=e=>new Date(e).toLocaleDateString("en-GB",{day:"numeric",month:"long",year:"numeric",timeZone:"UTC"}),Cl=e=>e?String(e).slice(0,5):"",Il=(e,t,a,r)=>{if(!e&&!t)return"";const s=e||t,n=Rl(s),i=Cl(a),o=Cl(r),l=!!i||!!o,c=i?`${n}, ${i}`:n;let d;if(t&&t!==s){d=`${c} – ${o?`${Rl(t)}, ${o}`:Rl(t)}`}else d=r&&r!==a?`${c} – ${Cl(r)}`:c;return l?`${d} ET`:d},Ol=s.memo(({event:e})=>{const t=Il(e.event_date,e.end_date,e.event_time,e.end_time);return n.jsxs(u,{to:`/events/${e.slug||e.id}`,className:"group flex flex-col overflow-hidden rounded-xl border border-border bg-card transition-all hover:border-primary/30 hover:shadow-lg focus:outline-none focus-visible:ring-2 focus-visible:ring-primary sm:flex-row",children:[n.jsx("div",{className:"relative h-44 w-full flex-shrink-0 overflow-hidden bg-muted sm:h-auto sm:w-[40%] sm:min-h-[180px]",children:e.image_url?n.jsx("img",{sizes:oi,srcSet:ni(e.image_url,
2ii.carousel),src:si(e.image_url,{width:ri.carousel}),alt:"",loading:"lazy",decoding:"async",width:640,height:360,className:"h-full w-full object-cover object-center"}):n.jsx("div",{className:"flex h-full w-full items-center justify-center bg-gradient-hero",children:n.jsx(V,{className:"h-10 w-10 text-primary-foreground/30"})})}),n.jsxs("div",{className:"flex flex-1 flex-col p-5 md:p-6",children:[n.jsx("div",{className:"mb-2",children:n.jsx(fo,{variant:"secondary",className:"text-xs font-medium",children:"Featured Event"})}),n.jsx("h3",{className:"mb-2 font-heading text-xl font-bold leading-tight text-foreground transition-colors group-hover:text-primary line-clamp-2",children:e.title}),t&&n.jsxs("div",{className:"mb-1.5 flex items-center gap-2 text-sm text-muted-foreground",children:[n.jsx(V,{className:"h-4 w-4 flex-shrink-0"}),n.jsx("span",{className:"truncate",children:t})]}),e.location&&n.jsxs("div",{className:"mb-3 flex items-center gap-2 text-sm text-muted-foreground",children:[n.jsx(J,{className:"h-4 w-4 flex-shrink-0"}),n.jsx("span",{className:"truncate",children:e.location})]}),e.description&&n.jsx("p",{className:"text-sm text-muted-foreground line-clamp-2",children:e.description})]})]})});function Dl(e,t){const a=null==t?void 0:t.toLowerCase();return"report"===a?`/reports/${e}`:"article"===a?`/articles/${e}`:"opinion"===a?`/opinion/${e}`:"announcement"===a?`/announcements/${e}`:`/research/${e}`}function Pl(e){switch(e){case"report":return"/reports";case"opinion":return"/opinion";case"announcement":return"/announcements";default:return"/articles"}}Ol.displayName="EventHighlightCard";const ql="*, event_speakers(fellow_id, fellows(id, name, title, slug, avatar_url)), event_moderators(fellow_id, fellows(id, name, title, slug, avatar_url)), event_publications(article_id, articles(id, title, slug))",zl=()=>ye({queryKey:["events"],queryFn:async()=>{const{data:e,error:t}=await Os.from("events").select("*, event_speakers(fellow_id, fellows(id, name, title, slug, avatar_url)), event_moderators(fellow_id, fellows(id, name, title, slug, avatar_url))").eq("is_active",!0).order("event_date",{ascending:!1}).order("display_order",{ascending:!0});if(t)throw t;const a=e??[];return a.forEach(e=>{e.event_speakers=(e.event_speakers||[]).map(e=>({...e,fellows:e.fellows??e.fellow??null})),e.event_moderators=(e.event_moderators||[]).map(e=>({...e,fellows:e.fellows??e.fellow??null}))}),a}});function Ll(e){return e?(e.event_speakers=(e.event_speakers||[]).map(e=>({...e,fellows:e.fellows??e.fellow??null})),e.event_moderators=(e.event_moderators||[]).map(e=>({...e,fellows:e.fellows??e.fellow??null})),e.related_publications=(e.event_publications||[]).map(e=>({article_id:e.article_id,articles:e.articles??e.article??null})),e):e}function Ml(e){return!(!e||"PGRST204"!==e.code||"string"!=typeof e.message)&&(e.message.includes("agenda_enabled")||e.message.includes("agenda_timezone")||e.message.includes("is_past_manual"))}const Ul=e=>ye({queryKey:["events",e],queryFn:async()=>{if(!e)return null;const t=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i.test(e)?Os.from("events").select(ql).eq("id",e):Os.from("events").select(ql).eq("slug",e);const{data:a,error:r}=await t.eq("is_active",!0).maybeSingle();if(r)throw r;return a?Ll({...a}):null},enabled:!!e}),Fl=()=>{const e=be();return ve({mutationFn:async e=>{const{data:t,error:a}=await Os.from("events").insert(e).select().maybeSingle();if(a&&Ml(a)){const t={...e};delete t.agenda_enabled,delete t.agenda_timezone,delete t.is_past_manual;const a=await Os.from("events").insert(t).select().maybeSingle();if(a.error)throw a.error;return a.data}if(a)throw a;return t},onSuccess:()=>{e.invalidateQueries({queryKey:["events"]}),e.invalidateQueries({queryKey:["admin-events-list"]}),Ga.success("Event created successfully")},onError:e=>{const t=null==e?void 0:e.message;Ga.error(t?`Failed to create event: ${t}`:"Failed to create event")}})},$l=()=>{const e=be();return ve({mutationFn:async({id:e,...t})=>{const a={...t};delete a.event_speakers,delete a.event_moderators,delete a.related_publications,delete a.event_publications;const{data:r,error:s}
2=await Os.from("events").update(a).eq("id",e).select().maybeSingle();if(s&&Ml(s)){delete a.agenda_enabled,delete a.agenda_timezone,delete a.is_past_manual;const t=await Os.from("events").update(a).eq("id",e).select().maybeSingle();if(t.error)throw t.error;return t.data}if(s)throw s;return r},onSuccess:()=>{e.invalidateQueries({queryKey:["events"]}),e.invalidateQueries({queryKey:["admin-events-list"]}),Ga.success("Event updated successfully")},onError:e=>{const t=null==e?void 0:e.message;Ga.error(t?`Failed to update event: ${t}`:"Failed to update event")}})},Bl=()=>{const e=be();return ve({mutationFn:async e=>{const{error:t}=await Os.from("events").delete().eq("id",e);if(t)throw t},onSuccess:()=>{e.invalidateQueries({queryKey:["events"]}),e.invalidateQueries({queryKey:["admin-events-list"]}),Ga.success("Event deleted successfully")},onError:e=>{Ga.error("Failed to delete event")}})};async function Wl(e,t){await Os.from("event_speakers").delete().eq("event_id",e),0!==t.length&&await Os.from("event_speakers").insert(t.map((t,a)=>({event_id:e,fellow_id:t,display_order:a})))}async function Vl(e,t){await Os.from("event_moderators").delete().eq("event_id",e),0!==t.length&&await Os.from("event_moderators").insert(t.map((t,a)=>({event_id:e,fellow_id:t,display_order:a})))}async function Gl(e,t){await Os.from("event_publications").delete().eq("event_id",e),0!==t.length&&await Os.from("event_publications").insert(t.map((t,a)=>({event_id:e,article_id:t,display_order:a})))}const Hl=(e,t)=>new Date(t.date).getTime()-new Date(e.date).getTime();
3/*! @license DOMPurify 3.4.13 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.13/LICENSE */
4function Yl(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,r=Array(t);a<t;a++)r[a]=e[a];return r}function Kl(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var r,s,n,i,o=[],l=!0,c=!1;try{if(n=(a=a.call(e)).next,0===t);else for(;!(l=(r=n.call(a)).done)&&(o.push(r.value),o.length!==t);l=!0);}catch(d){c=!0,s=d}finally{try{if(!l&&null!=a.return&&(i=a.return(),Object(i)!==i))return}finally{if(c)throw s}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Yl(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?Yl(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}const Jl=Object.entries,Ql=Object.setPrototypeOf,Xl=Object.isFrozen,Zl=Object.getPrototypeOf,ec=Object.getOwnPropertyDescriptor;let tc=Object.freeze,ac=Object.seal,rc=Object.create,sc="undefined"!=typeof Reflect&&Reflect,nc=sc.apply,ic=sc.construct;tc||(tc=function(e){return e}),ac||(ac=function(e){return e}),nc||(nc=function(e,t){for(var a=arguments.length,r=new Array(a>2?a-2:0),s=2;s<a;s++)r[s-2]=arguments[s];return e.apply(t,r)}),ic||(ic=function(e){for(var t=arguments.length,a=new Array(t>1?t-1:0),r=1;r<t;r++)a[r-1]=arguments[r];return new e(...a)});const oc=Ec(Array.prototype.forEach),lc=Ec(Array.prototype.lastIndexOf),cc=Ec(Array.prototype.pop),dc=Ec(Array.prototype.push),uc=Ec(Array.prototype.splice),hc=Array.isArray,pc=Ec(String.prototype.toLowerCase),mc=Ec(String.prototype.toString),fc=Ec(String.prototype.match),gc=Ec(String.prototype.replace),bc=Ec(String.prototype.indexOf),yc=Ec(String.prototype.trim),vc=Ec(Number.prototype.toString),wc=Ec(Boolean.prototype.toString),xc="undefined"==typeof BigInt?null:Ec(BigInt.prototype.toString),_c="undefined"==typeof Symbol?null:Ec(Symbol.prototype.toString),jc=Ec(Object.prototype.hasOwnProperty),kc=Ec(Object.prototype.toString),Tc=Ec(RegExp.prototype.test),Sc=(Nc=TypeError,function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];return ic(Nc,t)});var Nc;function Ec(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var a=arguments.length,r=new Array(a>1?a-1:0),s=1;s<a;s++)r[s-1]=arguments[s];return nc(e,t,r)}}function Ac(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:pc;if(Ql&&Ql(e,null),!hc(t))return e;let r=t.length;for(;r--;){let s=t[r];
vendor: 6,954 bytes, line 4
4if("string"==typeof s){const e=a(s);e!==s&&(Xl(t)||(t[r]=e),s=e)}e[s]=!0}return e}function Rc(e){for(let t=0;t<e.length;t++){jc(e,t)||(e[t]=null)}return e}function Cc(e){const t=rc(null);for(const r of Jl(e)){var a=Kl(r,2);const s=a[0],n=a[1];jc(e,s)&&(hc(n)?t[s]=Rc(n):n&&"object"==typeof n&&n.constructor===Object?t[s]=Cc(n):t[s]=n)}return t}function Ic(e,t){for(;null!==e;){const a=ec(e,t);if(a){if(a.get)return Ec(a.get);if("function"==typeof a.value)return Ec(a.value)}e=Zl(e)}return function(){return null}}const Oc=tc(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Dc=tc(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Pc=tc(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),qc=tc(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),zc=tc(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Lc=tc(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Mc=tc(["#text"]),Uc=tc(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),Fc=tc(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dominant-baseline","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-orientation","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),$c=tc(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","
4subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Bc=tc(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Wc=ac(/{{[\w\W]*|^[\w\W]*}}/g),Vc=ac(/<%[\w\W]*|^[\w\W]*%>/g),Gc=ac(/\${[\w\W]*/g),Hc=ac(/^data-[\-\w.\u00B7-\uFFFF]+$/),Yc=ac(/^aria-[\-\w]+$/),Kc=ac(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Jc=ac(/^(?:\w+script|data):/i),Qc=ac(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Xc=ac(/^html$/i),Zc=ac(/^[a-z][.\w]*(-[.\w]+)+$/i),ed=ac(/<[/\w!]/g),td=ac(/<[/\w]/g),ad=ac(/<\/no(script|embed|frames)/i),rd=ac(/\/>/i),sd=1,nd=3,id=7,od=8,ld=9,cd=11,dd=function(e,t,a,r){return jc(e,t)&&hc(e[t])?Ac(r.base?Cc(r.base):{},e[t],r.transform):a};var ud=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window;const a=t=>e(t);if(a.version="3.4.13",a.removed=[],!t||!t.document||t.document.nodeType!==ld||!t.Element)return a.isSupported=!1,a;let r=t.document;const s=r,n=s.currentScript;t.DocumentFragment;const i=t.HTMLTemplateElement,o=t.Node,l=t.Element,c=t.NodeFilter,d=t.NamedNodeMap;void 0===d&&(t.NamedNodeMap||t.MozNamedAttrMap),t.HTMLFormElement;const u=t.DOMParser,h=t.trustedTypes,p=l.prototype,m=Ic(p,"cloneNode"),f=Ic(p,"remove"),g=Ic(p,"nextSibling"),b=Ic(p,"childNodes"),y=Ic(p,"parentNode"),v=Ic(p,"shadowRoot"),w=Ic(p,"attributes"),x=o&&o.prototype?Ic(o.prototype,"nodeType"):null,_=o&&o.prototype?Ic(o.prototype,"nodeName"):null,j=o&&o.prototype?Ic(o.prototype,"ownerDocument"):null;if("function"==typeof i){const e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let k,T,S="",N=!1,E=0;const A=function(){if(E>0)throw Sc('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},R=function(e){A(),E++;try{return k.createHTML(e)}finally{E--}},C=r,I=C.implementation,O=C.createNodeIterator,D=C.createDocumentFragment,P=C.getElementsByTagName,q=s.importNode;let z={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};a.isSupported="function"==typeof Jl&&"function"==typeof y&&I&&void 0!==I.createHTMLDocument;const L=Wc,M=Vc,U=Gc,F=Hc,$=Yc,B=Jc,W=Qc,V=Zc;let G=Kc,H=null;const Y=Ac({},[...Oc,...Dc,...Pc,...zc,...Mc]);let K=null;const J=Ac({},[...Uc,...Fc,...$c,...Bc]);let Q=Object.seal(rc(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),X=null,Z=null;const ee=Object.seal(rc(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let te=!0,ae=!0,re=!1,se=!0,ne=!1,ie=!0,oe=!1,le=!1,ce=null,de=null,ue=!1,he=!1,pe=!1,me=!1,fe=!0,ge=!1;const be="user-content-";let ye=!0,ve=!1,we={},xe=null;const _e=Ac({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let je=null;const ke=Ac({},["audio","video","img","source","image","track"]);let Te=null;const Se=Ac({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ne="http://www.w3.org/1998/Math/MathML",Ee="http://www.w3.org/2000/svg",Ae="http://www.w3.org/1999/xhtml";let Re=Ae,Ce=!1,Ie=null;const Oe=Ac({},[Ne,Ee,Ae],mc),De=tc(["mi","mo","mn","ms","mtext"]);let Pe=Ac({},De);const qe=tc(["annotation-xml"]);let ze=Ac({},qe);const Le=Ac({},["title","style","font","a","script"]);let Me=null;const Ue=["application/xhtml+xml","text/html"];let Fe=null,$e=null;const Be=r.createElement("form"),We=function(e){return e instanceof RegExp||e instanceof Function},Ve=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if($e&&$e===e)return;e&&"object"==typeof e||(e={}
vendor: 4,259 bytes, line 4
4),e=Cc(e),Me=-1===Ue.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Fe="application/xhtml+xml"===Me?mc:pc,H=dd(e,"ALLOWED_TAGS",Y,{transform:Fe}),K=dd(e,"ALLOWED_ATTR",J,{transform:Fe}),Ie=dd(e,"ALLOWED_NAMESPACES",Oe,{transform:mc}),Te=dd(e,"ADD_URI_SAFE_ATTR",Se,{transform:Fe,base:Se}),je=dd(e,"ADD_DATA_URI_TAGS",ke,{transform:Fe,base:ke}),xe=dd(e,"FORBID_CONTENTS",_e,{transform:Fe}),X=dd(e,"FORBID_TAGS",Cc({}),{transform:Fe}),Z=dd(e,"FORBID_ATTR",Cc({}),{transform:Fe}),we=!!jc(e,"USE_PROFILES")&&(e.USE_PROFILES&&"object"==typeof e.USE_PROFILES?Cc(e.USE_PROFILES):e.USE_PROFILES),te=!1!==e.ALLOW_ARIA_ATTR,ae=!1!==e.ALLOW_DATA_ATTR,re=e.ALLOW_UNKNOWN_PROTOCOLS||!1,se=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,ne=e.SAFE_FOR_TEMPLATES||!1,ie=!1!==e.SAFE_FOR_XML,oe=e.WHOLE_DOCUMENT||!1,he=e.RETURN_DOM||!1,pe=e.RETURN_DOM_FRAGMENT||!1,me=e.RETURN_TRUSTED_TYPE||!1,ue=e.FORCE_BODY||!1,fe=!1!==e.SANITIZE_DOM,ge=e.SANITIZE_NAMED_PROPS||!1,ye=!1!==e.KEEP_CONTENT,ve=e.IN_PLACE||!1,G=function(e){try{return Tc(e,""),!0}catch(t){return!1}}(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:Kc,Re="string"==typeof e.NAMESPACE?e.NAMESPACE:Ae,Pe=jc(e,"MATHML_TEXT_INTEGRATION_POINTS")&&e.MATHML_TEXT_INTEGRATION_POINTS&&"object"==typeof e.MATHML_TEXT_INTEGRATION_POINTS?Cc(e.MATHML_TEXT_INTEGRATION_POINTS):Ac({},De),ze=jc(e,"HTML_INTEGRATION_POINTS")&&e.HTML_INTEGRATION_POINTS&&"object"==typeof e.HTML_INTEGRATION_POINTS?Cc(e.HTML_INTEGRATION_POINTS):Ac({},qe);const t=jc(e,"CUSTOM_ELEMENT_HANDLING")&&e.CUSTOM_ELEMENT_HANDLING&&"object"==typeof e.CUSTOM_ELEMENT_HANDLING?Cc(e.CUSTOM_ELEMENT_HANDLING):rc(null);if(Q=rc(null),jc(t,"tagNameCheck")&&We(t.tagNameCheck)&&(Q.tagNameCheck=t.tagNameCheck),jc(t,"attributeNameCheck")&&We(t.attributeNameCheck)&&(Q.attributeNameCheck=t.attributeNameCheck),jc(t,"allowCustomizedBuiltInElements")&&"boolean"==typeof t.allowCustomizedBuiltInElements&&(Q.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements),ac(Q),ne&&(ae=!1),pe&&(he=!0),we&&(H=Ac({},Mc),K=rc(null),!0===we.html&&(Ac(H,Oc),Ac(K,Uc)),!0===we.svg&&(Ac(H,Dc),Ac(K,Fc),Ac(K,Bc)),!0===we.svgFilters&&(Ac(H,Pc),Ac(K,Fc),Ac(K,Bc)),!0===we.mathMl&&(Ac(H,zc),Ac(K,$c),Ac(K,Bc))),ee.tagCheck=null,ee.attributeCheck=null,jc(e,"ADD_TAGS")&&("function"==typeof e.ADD_TAGS?ee.tagCheck=e.ADD_TAGS:hc(e.ADD_TAGS)&&(H===Y&&(H=Cc(H)),Ac(H,e.ADD_TAGS,Fe))),jc(e,"ADD_ATTR")&&("function"==typeof e.ADD_ATTR?ee.attributeCheck=e.ADD_ATTR:hc(e.ADD_ATTR)&&(K===J&&(K=Cc(K)),Ac(K,e.ADD_ATTR,Fe))),jc(e,"ADD_URI_SAFE_ATTR")&&hc(e.ADD_URI_SAFE_ATTR)&&Ac(Te,e.ADD_URI_SAFE_ATTR,Fe),jc(e,"FORBID_CONTENTS")&&hc(e.FORBID_CONTENTS)&&(xe===_e&&(xe=Cc(xe)),Ac(xe,e.FORBID_CONTENTS,Fe)),jc(e,"ADD_FORBID_CONTENTS")&&hc(e.ADD_FORBID_CONTENTS)&&(xe===_e&&(xe=Cc(xe)),Ac(xe,e.ADD_FORBID_CONTENTS,Fe)),ye&&(H["#text"]=!0),oe&&Ac(H,["html","head","body"]),H.table&&(Ac(H,["tbody"]),delete X.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw Sc('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw Sc('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const t=k;k=e.TRUSTED_TYPES_POLICY;try{S=R("")}catch(a){throw k=t,a}}else null===e.TRUSTED_TYPES_POLICY?(k=void 0,S=""):(void 0===k&&(N||(T=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let a=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(a=t.getAttribute(r));const s="dompurify"+(a?"#"+a:"");try{return e.createPolicy(s,{createHTML:e=>e,createScriptURL:e=>e})}catch(n){return null}}(h,n),N=!0),k=T),k&&"string"==typeof S&&(S=R("")));tc&&tc(e),$e=e},Ge=Ac({},[...Dc,...Pc,...qc]),He=Ac({},[...zc,...Lc]),Ye=function(e){let t=y(e);t&&t.tagName||(t={namespaceURI:Re,tagName:"template"});const a=pc(e.tagName),r=pc(t.tagName);return!!Ie[e.namespaceURI]&&(e.namespaceURI===Ee?function(e,t,a){return t.namespaceURI===Ae?"svg"===e:t.namespaceURI===Ne?"svg"===e&&("annotation-xml"===a||Pe[a]):Boolean(Ge[e])}(a,t,r):e.namespaceURI===Ne?function(e,t,a){return t.namespaceURI===Ae?"math"===e:t.namespaceURI===Ee?"math"===e&&ze[a]:Boolean(He[e])}(a,t,r):e.namespaceURI===Ae?function(e,t,a){return!(t.namespaceURI===Ee&&!ze[a
vendor: 4,479 bytes, line 4
4])&&!(t.namespaceURI===Ne&&!Pe[a])&&!He[e]&&(Le[e]||!Ge[e])}(a,t,r):!("application/xhtml+xml"!==Me||!Ie[e.namespaceURI]))},Ke=function(e){dc(a.removed,{element:e});try{y(e).removeChild(e)}catch(t){if(f(e),!y(e))throw Sc("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},Je=function(e){Ze(e);const t=b(e);if(t){const e=[];oc(t,t=>{dc(e,t)}),oc(e,e=>{try{f(e)}catch(t){}})}const a=w(e);if(a)for(let s=a.length-1;s>=0;--s){const t=a[s],n=t&&t.name;if("string"==typeof n)try{e.removeAttribute(n)}catch(r){}}},Qe=function(e,t){try{dc(a.removed,{attribute:t.getAttributeNode(e),from:t})}catch(r){dc(a.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(he||pe)try{Ke(t)}catch(r){}else try{t.setAttribute(e,"")}catch(r){}},Xe=function(e){const t=w(e);if(t)for(let r=t.length-1;r>=0;--r){const s=t[r],n=s&&s.name;if("string"==typeof n&&!K[Fe(n)])try{e.removeAttribute(n)}catch(a){}}},Ze=function(e){const t=[e];for(;t.length>0;){const e=t.pop();(x?x(e):e.nodeType)===sd&&Xe(e);const a=b(e);if(a)for(let r=a.length-1;r>=0;--r)t.push(a[r])}},et=function(e){let t=null,a=null;if(ue)e="<remove></remove>"+e;else{const t=fc(e,/^[\r\n\t ]+/);a=t&&t[0]}"application/xhtml+xml"===Me&&Re===Ae&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const s=k?R(e):e;if(Re===Ae)try{t=(new u).parseFromString(s,Me)}catch(i){}if(!t||!t.documentElement){t=I.createDocument(Re,"template",null);try{t.documentElement.innerHTML=Ce?S:s}catch(i){}}const n=t.body||t.documentElement;return e&&a&&n.insertBefore(r.createTextNode(a),n.childNodes[0]||null),Re===Ae?P.call(t,oe?"html":"body")[0]:oe?t.documentElement:n},tt=function(e){const t=j?j(e):e.ownerDocument;return O.call(t||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},at=function(e){return e=gc(e,L," "),e=gc(e,M," "),e=gc(e,U," ")},rt=function(e){var t;e.normalize();const a=j?j(e):e.ownerDocument,r=O.call(a||e,e,c.SHOW_TEXT|c.SHOW_COMMENT|c.SHOW_CDATA_SECTION|c.SHOW_PROCESSING_INSTRUCTION,null);let s=r.nextNode();for(;s;)s.data=at(s.data),s=r.nextNode();const n=null===(t=e.querySelectorAll)||void 0===t?void 0:t.call(e,"template");n&&oc(n,e=>{nt(e.content)&&rt(e.content)})},st=function(e){const t=_?_(e):null;return"string"==typeof t&&("form"===Fe(t)&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||e.attributes!==w(e)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes||e.nodeType!==x(e)||e.childNodes!==b(e)))},nt=function(e){if(!x||"object"!=typeof e||null===e)return!1;try{return x(e)===cd}catch(t){return!1}},it=function(e){if(!x||"object"!=typeof e||null===e)return!1;try{return"number"==typeof x(e)}catch(t){return!1}};function ot(e,t,r){0!==e.length&&oc(e,e=>{e.call(a,t,r,$e)})}const lt=function(e,t,a,r){return 0===e.length?t:t===a||t===r?Cc(t):t},ct=function(e,t){if(ot(z.beforeSanitizeElements,e,null),e!==t&&null===y(e))return ve&&Ze(e),!0;if(st(e))return Ke(e),!0;const r=Fe(_?_(e):e.nodeName);if(H=lt(z.uponSanitizeElement,H,Y,ce),ot(z.uponSanitizeElement,e,{tagName:r,allowedTags:H}),e!==t&&null===y(e))return ve&&Ze(e),!0;if(function(e,t){return!!(ie&&e.hasChildNodes()&&!it(e.firstElementChild)&&Tc(ed,e.textContent)&&Tc(ed,e.innerHTML))||!(!ie||e.namespaceURI!==Ae||"style"!==t||!it(e.firstElementChild))||e.nodeType===id||!(!ie||e.nodeType!==od||!Tc(td,e.data))}(e,r))return Ke(e),!0;if(X[r]||!(ee.tagCheck instanceof Function&&ee.tagCheck(r))&&!H[r]){const a=function(e,t,a){if(!X[t]&&ht(t)){if(Q.tagNameCheck instanceof RegExp&&Tc(Q.tagNameCheck,t))return!1;if(Q.tagNameCheck instanceof Function&&Q.tagNameCheck(t))return!1}if(ye&&!xe[t]){const t=y(e),r=b(e);if(r&&t)for(let s=r.length-1;s>=0;--s){const n=e===a?m(r[s],!0):r[s];t.insertBefore(n,g(e))}}return Ke(e),!0}(e,r,t);return!1===a&&ot(z.afterSanitizeElements,e,null),a}if((x?x(e):e.nodeType)===sd&&!Ye(e))return Ke(e),!0;if(("noscript"===r||"noembed"===r||"noframes"===r)&&Tc(ad,e.innerHTML))return Ke(e),!0;if(ne&&e.nodeType===nd){const t=at(e.textContent);e.textContent!==t&&(dc(a.removed,{element:e.cloneNode()}),e.textContent=t)}return ot(z.afterSanitizeElements,e,null),!1},dt=function(e,t,a){if(Z[t])return!1;if(ie&&"patchsrc"===t)return!1;if(ie&&"for"===t&&"label"!==e&&"output"!==e)return!1;
vendor: 8,033 bytes, line 4
4if(fe&&("id"===t||"name"===t)&&(a in r||a in Be))return!1;const s=K[t]||ee.attributeCheck instanceof Function&&ee.attributeCheck(t,e);if(ae&&Tc(F,t));else if(te&&Tc($,t));else if(s)if(Te[t]);else if(Tc(G,gc(a,W,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==bc(a,"data:")||!je[e]){if(re&&!Tc(B,gc(a,W,"")));else if(a)return!1}else;else if(!(ht(e)&&(Q.tagNameCheck instanceof RegExp&&Tc(Q.tagNameCheck,e)||Q.tagNameCheck instanceof Function&&Q.tagNameCheck(e))&&(Q.attributeNameCheck instanceof RegExp&&Tc(Q.attributeNameCheck,t)||Q.attributeNameCheck instanceof Function&&Q.attributeNameCheck(t,e))||"is"===t&&Q.allowCustomizedBuiltInElements&&(Q.tagNameCheck instanceof RegExp&&Tc(Q.tagNameCheck,a)||Q.tagNameCheck instanceof Function&&Q.tagNameCheck(a))))return!1;return!0},ut=Ac({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),ht=function(e){return!ut[pc(e)]&&Tc(V,e)},pt=function(e,t,a,r){if(k&&"object"==typeof h&&"function"==typeof h.getAttributeType&&!a)switch(h.getAttributeType(e,t)){case"TrustedHTML":return R(r);case"TrustedScriptURL":return function(e){A(),E++;try{return k.createScriptURL(e)}finally{E--}}(r)}return r},mt=function(e,t,r,s){try{r?e.setAttributeNS(r,t,s):e.setAttribute(t,s),st(e)?Ke(e):cc(a.removed)}catch(n){Qe(t,e)}},ft=function(e){ot(z.beforeSanitizeAttributes,e,null);const t=e.attributes;if(!t||st(e))return;K=lt(z.uponSanitizeAttribute,K,J,de);const a={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:K,forceKeepAttr:void 0};let r=t.length;const s=Fe(e.nodeName);for(;r--;){const n=t[r],i=n.name,o=n.namespaceURI,l=n.value,c=Fe(i),d=l;let u="value"===i?d:yc(d);a.attrName=c,a.attrValue=u,a.keepAttr=!0,a.forceKeepAttr=void 0,ot(z.uponSanitizeAttribute,e,a),u=a.attrValue,!ge||"id"!==c&&"name"!==c||0===bc(u,be)||(Qe(i,e),u=be+u),ie&&Tc(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,u)?Qe(i,e):"attributename"===c&&fc(u,"href")?Qe(i,e):a.forceKeepAttr||(a.keepAttr&&(se||!Tc(rd,u))?(ne&&(u=at(u)),dt(s,c,u)?(u=pt(s,c,o,u),u!==d&&mt(e,i,o,u)):Qe(i,e)):Qe(i,e))}ot(z.afterSanitizeAttributes,e,null)},gt=function(e){let t=null;const a=tt(e);for(ot(z.beforeSanitizeShadowDOM,e,null);t=a.nextNode();){ot(z.uponSanitizeShadowNode,t,null),ct(t,e),ft(t),nt(t.content)&&gt(t.content);if((x?x(t):t.nodeType)===sd){const e=v(t);nt(e)&&(bt(e),gt(e))}}ot(z.afterSanitizeShadowDOM,e,null)},bt=function(e){const t=[{node:e,shadow:null}];for(;t.length>0;){const e=t.pop();if(e.shadow){gt(e.shadow);continue}const a=e.node,r=(x?x(a):a.nodeType)===sd,s=b(a);if(s)for(let n=s.length-1;n>=0;--n)t.push({node:s[n],shadow:null});if(r){const e=_?_(a):null;if("string"==typeof e&&"template"===Fe(e)){const e=a.content;nt(e)&&t.push({node:e,shadow:null})}}if(r){const e=v(a);nt(e)&&t.push({node:null,shadow:e},{node:e,shadow:null})}}};return a.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,n=null,i=null,o=null;if(Ce=!e,Ce&&(e="\x3c!--\x3e"),"string"!=typeof e&&!it(e)&&"string"!=typeof(e=function(e){switch(typeof e){case"string":return e;case"number":return vc(e);case"boolean":return wc(e);case"bigint":return xc?xc(e):"0";case"symbol":return _c?_c(e):"Symbol()";case"undefined":default:return kc(e);case"function":case"object":{if(null===e)return kc(e);const t=e,a=Ic(t,"toString");if("function"==typeof a){const e=a(t);return"string"==typeof e?e:kc(e)}return kc(e)}}}(e)))throw Sc("dirty is not a string, aborting");if(!a.isSupported)return e;le?(H=ce,K=de):Ve(t),(z.uponSanitizeElement.length>0||z.uponSanitizeAttribute.length>0)&&(H=Cc(H)),z.uponSanitizeAttribute.length>0&&(K=Cc(K)),a.removed=[];const l=ve&&"string"!=typeof e&&it(e);if(l){!function(e){if(!ie)return;const t=[e];for(;t.length>0;){const e=t.pop(),r=x?x(e):e.nodeType;if(r===id||r===od&&Tc(td,e.data)){try{f(e)}catch(a){}continue}if(r===sd){const t=e,r=Fe(_?_(e):e.nodeName);try{t.hasAttribute&&t.hasAttribute("patchsrc")&&t.removeAttribute("patchsrc"),t.hasAttribute&&t.hasAttribute("for")&&"label"!==r&&"output"!==r&&t.removeAttribute("for")}catch(a){}}const s=b(e);if(s)for(let a=s.length-1;a>=0;--a)t.push(s[a])}}(e);const t=_?_(e):e.nodeName;if("string"==typeof t){const a=Fe(t);if(!H[a]||X[a])throw Je(e),Sc("root node is forbidden and cannot be sanitized in-place")}if(st(e))throw Je(e),Sc("root node is clobbered and cannot be sanitized in-place");try{bt(e)}catch(u){throw Je(e),u}}else if(it(e))r=et("\x3c!----\x3e"),n=r.ownerDocument.importNode(e,!0),n.nodeType===sd&&"BODY"===n.nodeName||"HTML"===n.nodeName?r=n:r.appendChild(n),bt(n);else{if(!he&&!ne&&!oe&&-1===e.indexOf("<"))return k&&me?R(e):e;if(r=et(e),!r)return he?null:me?S:""}r&&ue&&Ke(r.firstChild);const c=l?e:r;try{const e=tt(c);for(;i=e.nextNode();)ct(i,c),ft(i),nt(i.content)&&gt(i.content)}catch(u){throw l&&(Je(e),oc(a.removed,e=>{e.element&&Ze(e.element)})),u}if(l)return oc(a.removed,e=>{e.element&&Ze(e.element)}),ne&&rt(e),e;if(he){if(ne&&rt(r),pe)for(o=D.call(r.ownerDocument);r.firstChild;)o.appendChild(r.firstChild);else o=r;return(K.shadowroot||K.shadowrootmode)&&(o=q.call(s,o,!0)),o}let d=oe?r.outerHTML:r.innerHTML;return oe&&H["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&Tc(Xc,r.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+d),ne&&(d=at(d)),k&&me?R(d):d},a.setConfig=function(){Ve(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),le=!0,ce=H,de=K},a.clearConfig=function(){$e=null,le=!1,ce=null,de=null,k=T,S=""},a.isValidAttribute=function(e,t,a){$e||Ve({});const r=Fe(e),s=Fe(t);return dt(r,s,a)},a.addHook=function(e,t){"function"==typeof t&&jc(z,e)&&dc(z[e],t)},a.removeHook=function(e,t){if(jc(z,e)){if(void 0!==t){const a=lc(z[e],t);return-1===a?void 0:uc(z[e],a,1)[0]}return cc(z[e])}},a.removeHooks=function(e){jc(z,e)&&(z[e]=[])},a.removeAllHooks=function(){z={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},a}();const hd="undefined"!=typeof window&&"function"==typeof ud.addHook,pd=(e,t)=>{hd&&ud.addHook(e,t)},md=["youtube.com","youtube-nocookie.com","youtu.be","google.com","maps.google.com","googleusercontent.com","vimeo.com","player.vimeo.com","dailymotion.com","soundcloud.com","spotify.com","designrr.page","flippingbook.com","online.flippingbook.com"],fd=new Set(["float","clear","display","margin","margin-left","margin-right","margin-top","margin-bottom","padding","padding-left","padding-right","padding-top","padding-bottom","width","min-width","max-width","height","min-height","max-height","box-sizing","aspect-ratio","object-fit","object-position","text-align","line-height","letter-spacing","white-space","word-break","overflow-wrap","hyphens","text-wrap","word-spacing","text-shadow","font-size","font-weight","font-style","font-family","text-transform","text-decoration","text-decoration-color","text-decoration-thickness","text-decoration-style","text-underline-offset","color","background","background-color","background-image","background-size","background-position","background-repeat","background-attachment","background-origin","background-blend-mode","background-clip","border","border-top","border-right","border-bottom","border-left","border-color","border-style","border-width","border-radius","border-collapse","table-layout","vertical-align","box-shadow","opacity","filter","backdrop-filter","transform","overflow","overflow-x","overflow-y","gap","row-gap","column-gap","justify-content","align-items","align-self","justify-items","justify-self","align-content","place-self","flex","flex-direction","flex-wrap","order","grid-template-columns","grid-column","grid-row","place-items","place-content","position","top","right","bottom","left","inset","z-index","pointer-events","cursor","mix-blend-mode","clip-path","mask-image","mask-size","mask-
4position","mask-repeat","outline","outline-color","outline-style","outline-width","list-style","list-style-type","list-style-position","border-radius"]);pd("uponSanitizeAttribute",(e,t)=>{if("style"===t.attrName&&"string"==typeof t.attrValue){const e=t.attrValue.split(";").map(e=>e.trim()).filter(Boolean).filter(e=>{const[t]=e.split(":");return t&&fd.has(t.trim().toLowerCase())}).join("; ");t.attrValue=e}}),pd("uponSanitizeElement",(e,t)=>{var a,r;if("iframe"===t.tagName){const t=e.getAttribute("src")||"";try{const r=new URL(t,"https://delphigrc.org"),s=r.hostname.toLowerCase();if(!md.some(e=>s===e||s.endsWith(`.${e}`))||!["https:","http:"].includes(r.protocol))return void(null==(a=e.parentNode)||a.removeChild(e));e.setAttribute("loading","lazy"),e.setAttribute("referrerpolicy","no-referrer"),e.setAttribute("sandbox","allow-scripts allow-same-origin allow-popups")}catch(s){null==(r=e.parentNode)||r.removeChild(e)}}}),pd("afterSanitizeAttributes",e=>{if("IMG"!==e.tagName)return;const t=e.getAttribute("src");if(!t)return;const a=si(t,{width:ri.articleBody});a&&a!==t&&e.setAttribute("src",a),e.hasAttribute("loading")||e.setAttribute("loading","lazy"),e.hasAttribute("decoding")||e.setAttribute("decoding","async")});const gd=e=>hd?ud.sanitize(e,{ALLOWED_TAGS:["p","br","strong","em","u","s","del","mark","sub","sup","h1","h2","h3","h4","h5","h6","ul","ol","li","a","img","blockquote","code","pre","hr","table","thead","tbody","tr","th","td","span","div","figure","figcaption","iframe","section","article"],ALLOWED_ATTR:["href","src","alt","title","class","style","target","rel","width","height","loading","referrerpolicy","frameborder","allow","allowfullscreen","sandbox","data-float","data-align","data-image-wrapper","data-background-section","data-background-url","data-overlay-color","data-background-opacity","data-width","data-opacity","data-filter","colspan","rowspan","cellpadding","cellspacing"],ALLOW_DATA_ATTR:!0,ADD_ATTR:["style"],KEEP_CONTENT:!0,RETURN_DOM:!1,RETURN_DOM_FRAGMENT:!1,FORBID_ATTR:[],FORBID_TAGS:[]}):"",bd="/hero-research.jpg",yd=({hasImage:e=!0})=>n.jsxs("div",{className:"rounded-lg border border-border bg-card overflow-hidden "+(e?"flex flex-col sm:flex-row":""),children:[e&&n.jsx("div",{className:"w-full aspect-[16/9] flex-shrink-0 sm:w-[35%] sm:aspect-auto",children:n.jsx(yl,{className:"h-full min-h-[100px] w-full"})}),n.jsxs("div",{className:"p-4 flex-1 space-y-3",children:[n.jsx(yl,{className:"h-5 w-3/4"}),n.jsx(yl,{className:"h-4 w-full"}),n.jsx(yl,{className:"h-4 w-2/3"}),n.jsxs("div",{className:"flex items-center justify-between pt-2",children:[n.jsx(yl,{className:"h-3 w-20"}),n.jsx(yl,{className:"h-8 w-8 rounded"})]})]})]}),vd=()=>n.jsxs("div",{className:"rounded-lg border border-border bg-card overflow-hidden",children:[n.jsx(yl,{className:"aspect-video w-full"}),n.jsxs("div",{className:"p-4 space-y-3",children:[n.jsx(yl,{className:"h-5 w-3/4"}),n.jsx(yl,{className:"h-4 w-full"}),n.jsxs("div",{className:"flex items-center justify-between pt-2",children:[n.jsx(yl,{className:"h-3 w-20"}),n.jsx(yl,{className:"h-8 w-8 rounded"})]})]})]}),wd=()=>n.jsxs("div",{className:"h-full overflow-hidden rounded-lg border border-border bg-card shadow-card",children:[n.jsx(yl,{className:"aspect-video w-full"}),n.jsxs("div",{className:"p-6 space-y-3",children:[n.jsxs("div",{className:"flex items-center gap-2",children:[n.jsx(yl,{className:"h-5 w-20 rounded"}),n.jsx(yl,{className:"h-4 w-16 rounded"})]}),n.jsx(yl,{className:"h-6 w-3/4 rounded"}),n.jsx(yl,{className:"h-4 w-full rounded"}),n.jsx(yl,{className:"h-4 w-full rounded"}),n.jsx(yl,{className:"h-4 w-2/3 rounded"}),n.jsxs("div",{className:"flex items-center justify-between pt-2 border-t border-border",children:[n.jsxs("div",{className:"flex items-center gap-4",children:[n.jsx(yl,{className:"h-3 w-24 rounded"}),n.jsx(yl,{className:"h-3 w-28 rounded"})]}),n.jsx(yl,{className:"h-3 w-16 rounded"})]})]})]}),xd=()=>{const[e,t]=s.useState(""),[a,r]=s.useState(!1),{toast:i}=Oe(),{papers:o,loading:l}=rn(),{items:c,isLoading:d}=cn(),{data:h}=zl(),p=s.useMemo(()=>o.filter(e=>e.featured),[o]),m=s.useMemo(()=>function(e,t=6){return e.filter(e=>!e.featured&&$s(e.publication_type)).sort(Hl).slice(0,t)}(o),[o]),f=s.useMemo(()=>function(e,t=3){return e.filter(e=>e.publication_type===Fs).sort(Hl).slice(0,t)}(o),[o]),g=s.useMemo(()=>c.filter(e=>"press"===e.category&&e.featured),[c]),b=s.useMemo(()=>c.filter(e=>"audio_video"===e.category&&e.featured),[c]),y=s.useMemo(()=>p.length>0?p:o.slice(0,3),[p,o]),v=s.useMemo(()=>(h??[]).filter(e=>e.is_featured),[h]),w=s.useMemo(()=>[...y.map(e=>({type:"research",paper:e})),...v.map(e=>({type:"event",event:e}))],[y,v]),x=s.useMemo(()=>w.map(e=>{const t="research"===e.type?e.paper.imageUrl:e.event.image_url,a=si(t,{width:ri.carousel})??null;return a?{src:a,srcSet:ni(t,ii.carousel),sizes:oi}:null}),[w]);s.useEffect(()=>{!function(e,t=3){"undefined"!=typeof window&&e.filter(e=>!!(null==e?void 0:e.src)).slice(0,t).forEach(({src:e,srcSet:t,sizes:a})=>{const r=new Image;r.decoding="async",a&&(r.sizes=a),t&&(r.srcset=t),r.src=e})}(x,3)},[x]);const _=s.useCallback(async a=>{a.preventDefault();if(e&&/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e)){r(!0);try{const{data:a,error:r}
4=await Os.functions.invoke("newsletter-subscribe",{body:{email:e.toLowerCase().trim()}});if(r)throw new Error(r.message||"Subscription failed");i({title:"Success!",description:a.message||"Thank you for subscribing!"}),t("")}catch(s){i({title:"Error",description:"Subscription failed. Please try again.",variant:"destructive"})}finally{r(!1)}}else i({title:"Error",description:"Please enter a valid email address",variant:"destructive"})},[e,i]),j={"@context":"https://schema.org","@type":"ResearchOrganization",name:"Delphi Global Research Center",alternateName:"Delphi GRC",url:"https://delphigrc.org",logo:ui,description:"Leading independent think tank specializing in Eurasian security, regional dynamics, the Russia-China relationship, the Russia-Ukraine war, and NATO.",foundingDate:"2020",sameAs:["https://twitter.com/DelphiGRC","https://www.linkedin.com/company/delphi-global-research-center"],areaServed:"International",knowsAbout:["Eurasian Security","Regional Analysis","The Russia-China Relationship","The Russia-Ukraine War","NATO Strategy","Baltic Sea Security","Black Sea Security","Arctic Strategy","Central Asia"]};return n.jsxs("div",{className:"flex min-h-screen flex-col",children:[n.jsxs(Is,{children:[x[0]?n.jsx("link",{rel:"preload",as:"image",href:x[0].src,imageSrcSet:x[0].srcSet,imageSizes:x[0].sizes,fetchPriority:"high"}):null,x[1]?n.jsx("link",{rel:"preload",as:"image",href:x[1].src,imageSrcSet:x[1].srcSet,imageSizes:x[1].sizes}):null,n.jsx("title",{children:"Delphi Global Research Center | Expert Think Tank on Eurasian Security & Regional Analysis"}),n.jsx("meta",{name:"description",content:"Leading independent think tank specializing in Eurasian security, Russia-China relations, NATO strategy, and regional dynamics. Expert research, analysis, and multimedia content from top scholars."}),n.jsx("meta",{name:"keywords",content:"think tank, Eurasian security, international relations, Russia analysis, China relations, Russia-Ukraine war, NATO, Baltic Sea, Black Sea, Arctic, Central Asia, research center"}),n.jsx("meta",{property:"og:type",content:"website"}),n.jsx("meta",{property:"og:title",content:"Delphi Global Research Center | Expert Think Tank on Eurasian Security"}),n.jsx("meta",{property:"og:description",content:"Leading independent think tank focused on Eurasian security and regional analysis. Expert research, policy briefs, and multimedia content."}),n.jsx("meta",{property:"og:url",content:"https://delphigrc.org/"}),n.jsx("meta",{property:"og:site_name",content:"Delphi Global Research Center"}),n.jsx("meta",{property:"og:image",content:`https://delphigrc.org${bd}`}),n.jsx("meta",{property:"og:image:width",content:"1200"}),n.jsx("meta",{property:"og:image:height",content:"630"}),n.jsx("meta",{property:"og:image:alt",content:"Delphi Global Research Center - Expert Think Tank on Eurasian Security"}),n.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),n.jsx("meta",{name:"twitter:title",content:"Delphi Global Research Center | Expert Think Tank"}),n.jsx("meta",{name:"twitter:description",content:"Leading independent think tank on Eurasian security and regional analysis."}),n.jsx("meta",{name:"twitter:image",content:`https://delphigrc.org${bd}`}),n.jsx("link",{rel:"canonical",href:"https://delphigrc.org/"}),n.jsx("link",{rel:"alternate",hrefLang:"en",href:"https://delphigrc.org/"}),n.jsx("link",{rel:"alternate",hrefLang:"x-default",href:"https://delphigrc.org/"}),n.jsx("link",{rel:"alternate",type:"application/rss+xml",title:"Delphi Global Research Center RSS Feed",href:"https://delphigrc.org/rss.xml"}),n.jsx("script",{type:"application/ld+json",children:JSON.stringify(j)}),n.jsx("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"WebSite",name:"Delphi Global Research Center",url:"https://delphigrc.org",potentialAction:{"@type":"SearchAction",target:"https://delphigrc.org/search?q={search_term_string}","query-input":"required name=search_term_string"}})}),n.jsx("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:"https://delphigrc.org"}]})})]}),n.jsxs("main",{children:[n.jsxs("section",{className:"relative overflow-hidden bg-gradient-hero",children:[n.jsxs("picture",{children:[n.jsx("source",{media:"(max-width: 768px)",type:"image/webp",srcSet:"/hero-research-mobile.webp",width:600,height:338}),n.jsx("source",{media:"(min-width: 769px)",type:"image/webp",srcSet:"/hero-research.webp",width:1600,height:900}),n.jsx("source",{media:"(max-width: 768px)",srcSet:"/hero-research-mobile.jpg",width:600,height:338}),n.jsx("source",{media:"(min-width: 769px)",srcSet:bd,width:1600,height:900}),n.jsx("img",{src:bd,alt:"",role:"presentation",className:"absolute inset-0 h-full w-full object-cover opacity-20",width:1600,height:900,...ti(!0),loading:"eager",decoding:"sync"})]}),n.jsxs("div",{className:"container relative py-16 md:py-24",children:[n.jsx("div",{className:"mb-[19px] text-center overflow-hidden",children:n.jsx("p",{className:"text-2xl font-bold text-primary-foreground
4/90 leading-tight",children:"Latest Insights and Analysis"})}),n.jsx("div",{className:"relative overflow-hidden min-h-[380px] md:min-h-[340px]",children:n.jsx(_l,{items:w,isLoading:l})})]})]}),n.jsx("nav",{"aria-label":"Research regions",className:"border-b border-border bg-background lg:hidden",children:n.jsx("div",{className:"container py-3",children:n.jsx("ul",{className:"flex gap-2 overflow-x-auto pb-1 [-ms-overflow-style:none] [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",children:Object.entries(Bs).map(([e,t])=>n.jsx("li",{className:"shrink-0",children:n.jsx(u,{to:t,className:"inline-flex items-center whitespace-nowrap rounded-full border border-border bg-card px-4 py-2 text-sm text-foreground transition-colors hover:border-primary/40 hover:text-primary",children:e})},t))})})}),n.jsx("section",{className:"py-8 bg-background",children:n.jsxs("div",{className:"container",children:[n.jsx("div",{className:"grid gap-6 md:grid-cols-2 lg:grid-cols-3",children:l||0===m.length?n.jsxs(n.Fragment,{children:[n.jsx(wd,{}),n.jsx(wd,{}),n.jsx(wd,{}),n.jsx(wd,{}),n.jsx(wd,{}),n.jsx(wd,{})]}):m.map(e=>n.jsx(Al,{id:e.id,slug:e.slug,title:e.title,excerpt:e.excerpt,category:e.category,publicationType:e.publication_type,author:e.author,date:e.date,readTime:e.readTime,imageUrl:e.imageUrl},e.id))}),n.jsx("div",{className:"flex justify-center mt-8",children:n.jsx(u,{to:"/analysis",children:n.jsxs(un,{variant:"default",size:"lg",className:"group",children:["View All Publications",n.jsx(pe,{className:"ml-2 h-4 w-4 transition-transform group-hover:translate-x-1"})]})})})]})}),n.jsx("section",{className:"py-8 bg-background",children:n.jsx("div",{className:"container",children:v.length>0?n.jsxs("div",{className:"rounded-xl border border-border bg-card p-6 md:p-8",children:[n.jsxs("div",{className:"mb-6",children:[n.jsxs("div",{className:"flex items-center justify-between gap-4",children:[n.jsxs("div",{className:"flex items-center gap-3",children:[n.jsx("div",{className:"flex-shrink-0 w-12 h-12 rounded-full bg-primary/10 flex items-center justify-center",children:n.jsx(V,{className:"h-6 w-6 text-primary"})}),n.jsx("h2",{className:"font-heading text-2xl md:text-3xl font-bold text-foreground uppercase tracking-wide",children:"Our Events"})]}),n.jsxs(u,{to:"/events",className:"group inline-flex items-center gap-1 text-sm font-medium text-primary hover:underline whitespace-nowrap",children:["View all",n.jsx(pe,{className:"h-4 w-4 transition-transform group-hover:translate-x-1","aria-hidden":!0})]})]}),n.jsx("p",{className:"mt-3 text-muted-foreground",children:"Conferences, workshops, and public events hosted or co-hosted by Delphi Global Research Center on Eurasian security and regional dynamics."})]}),n.jsx("div",{className:v.length>1?"grid gap-6 md:grid-cols-2":"grid gap-6",children:v.slice(0,4).map(e=>n.jsx(Ol,{event:e},e.id))})]}):n.jsx(u,{to:"/events",className:"group block rounded-xl border border-border bg-card p-8 md:p-10 transition-all hover:shadow-lg hover:border-primary/30 focus:outline-none focus-visible:ring-2 focus-visible:ring-primary",children:n.jsxs("div",{className:"flex flex-col sm:flex-row items-center gap-6 text-center sm:text-left",children:[n.jsx("div",{className:"flex-shrink-0 w-14 h-14 rounded-full bg-primary/10 flex items-center justify-center",children:n.jsx(V,{className:"h-7 w-7 text-primary"})}),n.jsxs("div",{className:"flex-1",children:[n.jsx("h2",{className:"font-heading text-2xl md:text-3xl font-bold text-foreground uppercase tracking-wide mb-2",children:"Our Events"}),n.jsx("p",{className:"text-muted-foreground text-lg",children:"Conferences, workshops, and public events hosted or co-hosted by Delphi Global Research Center on Eurasian security and regional dynamics."})]}),n.jsx(pe,{className:"h-6 w-6 text-primary flex-shrink-0 transition-transform group-hover:translate-x-1","aria-hidden":!0})]})})})}),f.length>0&&n.jsx("section",{className:"py-8 bg-background",children:n.jsx("div",{className:"container",children:n.jsxs("div",{className:"rounded-xl border border-border bg-card p-6 md:p-8",children:[n.jsx("div",{className:"mb-6",children:n.jsxs("div",{className:"flex items-center justify-between gap-4",children:[n.jsxs("div",{className:"flex items-center gap-3",children:[n.jsx("div",{className:"flex-shrink-0 w-12 h-12 rounded-full bg-primary/10 flex items-center justify-center",children:n.jsx(fe,{className:"h-6 w-6 text-primary"})}),n.jsx("h2",{className:"font-heading text-2xl md:text-3xl font-bold text-foreground uppercase tracking-wide",children:"Announcements"})]}),n.jsxs(u,{to:"/announcements",className:"group inline-flex items-center gap-1 text-sm font-medium text-primary hover:underline whitespace-nowrap",children:["View all",n.jsx(pe,{className:"h-4 w-4 transition-transform group-hover:translate-x-1","aria-hidden":!0})]})]})}),n.jsx("div",{className:"grid gap-6 md:grid-cols-3",children:f.map(e=>{const t=Dl(e.slug,"announcement");return n.jsxs("div",{className:"group flex h-full flex-col overflow-hidden rounded-lg border border-border bg-background transition-shadow hover:shadow-md",children:[e.imageUrl&&n.jsx(u,{to:t,className:"block aspect-video w-full overflow-hidden bg-muted/40",tabIndex:-1,"aria-hidden":!0,
4children:n.jsx("img",{sizes:"(max-width: 640px) 100vw, (max-width: 1024px) 50vw, 33vw",srcSet:ni(e.imageUrl,ii.card),src:si(e.imageUrl,{width:ri.card}),alt:"",loading:"lazy",decoding:"async",width:640,height:360,className:"h-full w-full object-cover transition-transform duration-300 group-hover:scale-105"})}),n.jsxs("div",{className:"flex flex-1 flex-col p-4",children:[n.jsx(u,{to:t,children:n.jsx("h3",{className:"mb-2 font-heading text-lg font-semibold text-foreground transition-colors group-hover:text-primary",children:e.title})}),e.excerpt&&n.jsx("p",{className:"mb-3 text-sm text-muted-foreground line-clamp-2",children:e.excerpt}),n.jsxs("div",{className:"mt-auto flex items-center justify-between pt-2 text-xs text-muted-foreground",children:[n.jsx(go,{date:e.date,locale:"en-US",options:{year:"numeric",month:"long",day:"numeric"}}),n.jsxs(u,{to:t,className:"flex items-center gap-1 font-medium text-primary transition-all hover:gap-2",children:["Read more",n.jsxs("span",{className:"sr-only",children:[" about ",e.title]}),n.jsx(pe,{className:"h-3 w-3"})]})]})]})]},e.id)})})]})})}),n.jsx("section",{className:"py-10",children:n.jsx("div",{className:"container",children:n.jsxs("div",{className:"grid gap-8 lg:grid-cols-[1.5fr,1fr]",children:[n.jsxs("div",{children:[n.jsx("div",{className:"mb-6 border-b border-border pb-2",children:n.jsx("h2",{className:"font-heading text-2xl font-bold text-foreground uppercase tracking-wide",children:"NEWS & PRESS"})}),n.jsx("div",{className:"space-y-6",children:d?n.jsxs(n.Fragment,{children:[n.jsx(yd,{hasImage:!0}),n.jsx(yd,{hasImage:!1}),n.jsx(yd,{hasImage:!0})]}):g.length>0?g.map(e=>n.jsxs("div",{className:"rounded-lg border border-border bg-card overflow-hidden transition-shadow hover:shadow-md animate-fade-in "+(e.thumbnail_url?"flex flex-col sm:flex-row":""),children:[e.thumbnail_url&&n.jsx("div",{className:"w-full aspect-[16/9] flex-shrink-0 overflow-hidden sm:w-[35%]",children:n.jsx("img",{sizes:"(max-width: 639px) calc(100vw - 3rem), (max-width: 1023px) calc((100vw - 3rem) * 0.35), 250px",srcSet:ni(e.thumbnail_url,ii.listThumb),src:si(e.thumbnail_url,{width:ri.listThumb}),alt:`${e.title} - News and press content`,className:"h-full w-full object-cover transition-transform duration-300 hover:scale-105",loading:"lazy",decoding:"async",width:320,height:180})}),n.jsxs("div",{className:"p-4 flex-1",children:[n.jsx("h3",{className:"font-heading text-lg font-semibold text-foreground mb-2",children:e.title}),n.jsx("p",{className:"text-sm text-muted-foreground mb-3",dangerouslySetInnerHTML:{__html:gd(e.description)}}),n.jsxs("div",{className:"flex items-center justify-between",children:[n.jsx("span",{className:"text-xs text-muted-foreground",children:e.date}),e.url&&n.jsx(un,{variant:"ghost",size:"sm",asChild:!0,children:n.jsx("a",{href:e.url,target:"_blank",rel:"noopener noreferrer","aria-label":`Open: ${e.title}`,children:n.jsx(ge,{className:"h-4 w-4","aria-hidden":"true"})})})]})]})]},e.id)):n.jsx("div",{className:"rounded-lg border border-border bg-card p-6 text-center",children:n.jsx("p",{className:"text-sm text-muted-foreground",children:"Press materials coming soon"})})})]}),n.jsxs("div",{children:[n.jsx("div",{className:"mb-6 border-b border-border pb-2",children:n.jsx("h2",{className:"font-heading text-2xl font-bold text-foreground uppercase tracking-wide",children:"Featured Audio & Video"})}),n.jsx("div",{className:"space-y-6",children:d?n.jsxs(n.Fragment,{children:[n.jsx(vd,{}),n.jsx(vd,{})]}):b.length>0?b.map(e=>{const{width:t,height:a}="square"===(r=e.aspect_ratio)?{width:400,height:400}:"portrait"===r?{width:360,height:480}:{width:640,height:360};var r;return n.jsxs("div",{className:"rounded-lg border border-border bg-card overflow-hidden transition-shadow hover:shadow-md animate-fade-in",children:[e.thumbnail_url&&n.jsx("div",{className:"w-full overflow-hidden "+("square"===e.aspect_ratio?"aspect-square":"portrait"===e.aspect_ratio?"aspect-[3/4]":"aspect-video"),children:n.jsx("img",{sizes:"(max-width: 1023px) calc(100vw - 3rem), 480px",srcSet:ni(e.thumbnail_url,ii.card),src:si(e.thumbnail_url,{width:ri.card}),alt:`${e.title} - Featured audio and video content`,className:"h-full w-full object-cover transition-transform duration-300 hover:scale-105",loading:"lazy",decoding:"async",width:t,height:a})}),n.jsxs("div",{className:"p-4",children:[n.jsx("h3",{className:"font-heading text-lg font-semibold text-foreground mb-2",children:e.title}),n.jsx("p",{className:"text-sm text-muted-foreground mb-3",dangerouslySetInnerHTML:{__html:gd(e.description)}}),n.jsxs("div",{className:"flex items-center justify-between",children:[n.jsx("span",{className:"text-xs text-muted-foreground",children:e.date}),e.url&&n.jsx(un,{variant:"ghost",size:"sm",asChild:!0,children:n.jsx("a",{href:e.url,target:"_blank",rel:"noopener noreferrer","aria-label":`Open: ${e.t
4itle}`,children:n.jsx(ge,{className:"h-4 w-4","aria-hidden":"true"})})})]})]})]},e.id)}):n.jsx("div",{className:"rounded-lg border border-border bg-card p-6 text-center",children:n.jsx("p",{className:"text-sm text-muted-foreground",children:"Audio & Video content coming soon"})})})]})]})})}),n.jsx("section",{className:"border-t border-border bg-secondary py-16",children:n.jsx("div",{className:"container",children:n.jsxs("div",{className:"mx-auto max-w-2xl text-center",children:[n.jsx("h2",{className:"mb-4 font-heading text-3xl font-bold text-foreground",children:"Stay Informed"}),n.jsx("p",{className:"mb-8 text-secondary-foreground/90",children:"Subscribe to our newsletter and receive our latest research, analysis, and policy briefs directly to your email."}),n.jsxs("form",{onSubmit:_,className:"flex flex-col gap-3 sm:flex-row sm:justify-center",children:[n.jsx("input",{type:"email",placeholder:"Your email",value:e,onChange:e=>t(e.target.value),disabled:a,required:!0,className:"flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm r
4ing-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 sm:max-w-sm"}),n.jsx(un,{type:"submit",disabled:a,className:"bg-primary hover:bg-primary/90",children:a?"Subscribing...":"Subscribe"})]})]})})})]})]})},_d=()=>n.jsx(an,{mode:"light",children:n.jsx(ln,{children:n.jsx(xd,{})})});const jd=(e=window.location.pathname)=>`chunk-reload:${e}`;function kd(e){try{return"1"===sessionStorage.getItem(jd(e))}catch{return!0}}function Td(e){return!(kd()||!navigator.onLine)&&(function(e){try{sessionStorage.setItem(jd(e),"1")}catch{}}(),async function(){try{if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistrations();await Promise.all(e.map(e=>e.unregister()))}if("caches"in window){const e=await caches.keys();await Promise.all(e.map(e=>caches.delete(e)))}}catch(e){}window.location.reload()}(),!0)}const Sd={default:function(){return n.jsxs("div",{className:"container flex min-h-[50vh] flex-col items-center justify-center py-16 text-center",children:[n.jsx("h1",{className:"mb-3 font-heading text-2xl font-bold text-foreground",children:"The page could not be loaded"}),n.jsx("p",{className:"mb-6 max-w-md text-muted-foreground",children:"The site was probably updated while this tab was open, or the connection dropped. Refreshing the page should fix it."}),n.jsxs(un,{onClick:()=>window.location.reload(),className:"flex items-center gap-2",children:[n.jsx(F,{className:"h-4 w-4"}),"Refresh the page"]})]})}};async function Nd(e){let t;try{t=await e()}catch(r){if(!navigator.onLine)throw r;return kd()||Td(),Sd}return"object"==typeof(a=t)&&null!==a&&"default"in a?(function(e){try{sessionStorage.removeItem(jd(e))}catch{}}(),t):(!kd()&&navigator.onLine&&Td(),Sd);var a}function Ed(e){return s.lazy(()=>Nd(e))}const Ad=Ed(()=>ke(()=>import("./Research-BAumvRzd.js"),__vite__mapDeps([16,1,17,7,18,5,6,8]))),Rd=Ed(()=>ke(()=>import("./ResearchDetail-DCftOkvh.js"),__vite__mapDeps([19,1,20,21,7,22,6,23,24,8,5,25,0,2,26]))),Cd=Ed(()=>ke(()=>import("./ResearchManagingMoscow-K9FCVJTi.js"),__vite__mapDeps([3,1,4,5,6,7,8]))),Id=Ed(()=>ke(()=>import("./ResearchRussiaChina-K01pL8pF.js"),__vite__mapDeps([9,1,4,5,6,7,8]))),Od=Ed(()=>ke(()=>import("./ResearchBlackSea-7Ppc1cXM.js"),__vite__mapDeps([10,1,4,5,6,7,8]))),Dd=Ed(()=>ke(()=>import("./ResearchBalticSea-BkqUkYbO.js"),__vite__mapDeps([11,1,4,5,6,7,8]))),Pd=Ed(()=>ke(()=>import("./ResearchCentralAsia-DedzMG1O.js"),__vite__mapDeps([12,1,4,5,6,7,8]))),qd=Ed(()=>ke(()=>import("./ResearchArctic-DpgeHXrB.js"),__vite__mapDeps([13,1,4,5,6,7,8]))),zd=Ed(()=>ke(()=>import("./ResearchNATOEurope-q9zeiavd.js"),__vite__mapDeps([14,1,4,5,6,7,8]))),Ld=Ed(()=>ke(()=>import("./ResearchRussiaUkraineWar--ARPjIgQ.js"),__vite__mapDeps([15,1,4,5,6,7,8]))),Md=Ed(()=>ke(()=>import("./Publications-BGrNcWuc.js"),__vite__mapDeps([27,1,5,6,7,8]))),Ud=Ed(()=>ke(()=>import("./Articles-C5jbWtpa.js"),__vite__mapDeps([28,1,6,5,7,8]))),Fd=Ed(()=>ke(()=>import("./Reports-CRW_8H-9.js"),__vite__mapDeps([29,1,6,5,7,8]))),$d=Ed(()=>ke(()=>import("./Opinion-D6nR_zXN.js"),__vite__mapDeps([30,1,6,5,7,8]))),Bd=Ed(()=>ke(()=>import("./Announcements-BHezZiP8.js"),__vite__mapDeps([31,1,6,5,7,8]))),Wd=Ed(()=>ke(()=>import("./AudioVideo-D--8FkNg.js"),__vite__mapDeps([32,1,17,7,33,5,6,8]))),Vd=Ed(()=>ke(()=>import("./CrisisManagementCourse-vrd7f0Sl.js"),__vite__mapDeps([57,1,6,5,7,8])));Ed(()=>ke(()=>import("./CourseDetail-DfG6mFxv.js"),__vite__mapDeps([58,1,7,5,6,8])));const Gd=Ed(()=>ke(()=>import("./About-CZefDoBN.js"),__vite__mapDeps([52,1,17,7,5,6,8]))),Hd=Ed(()=>ke(()=>import("./Leadership-o5BZAlNo.js"),__vite__mapDeps([46,1,45,7,5,6,8]))),Yd=Ed(()=>ke(()=>import("./LeadershipDetail-6t8hm-cK.js"),__vite__mapDeps([44,1,40,45,7,5,6,8]))),Kd=Ed(()=>ke(()=>import("./Fellows-Byh2ma4w.js"),__vite__mapDeps([43,1,5,6,7,8]))),Jd=Ed(()=>ke(()=>import("./FellowDetail-B2qr3gpj.js"),__vite__mapDeps([39,1,40,41,6,23,42,5,7,8]))),Qd=Ed(()=>ke(()=>import("./AuthorDetail-DS8DWSTy.js"),__vite__mapDeps([47,1,42,5,48,49,6,7,8]))),Xd=Ed(()=>ke(()=>import("./ScholarLeaderboard-hFyJ5IT_.js"),__vite__mapDeps([59,1,7,5,6,8]))),Zd=Ed(()=>ke(()=>import("./NewsMedia-CdxYdZj0.js"),__vite__mapDeps([34,1,5,6,7,8]))),eu=Ed(()=>ke(()=>import("./Events-CXX3LAb0.js"),__vite__mapDeps([37,1,38,7,22,6,23,24,8,5,26,36,33,20]))),tu=Ed(()=>ke(()=>import("./EventDetail-DdgYNB-l.js"),__vite__mapDeps([35,1,36,22,6,23,24,8,5,26,20,21,7]))),au=Ed(()=>ke(()=>import("./EventProgram-D1Ze3RZ5.js"),__vite__mapDeps([60,1,22,6,23,24,8,5,26,7]))),ru=Ed(()=>ke(()=>import("./EventAgenda-CPU_oumR.js"),__vite__mapDeps([61,1,62,7,41,6,23,63,64,24,8,5]))),su=Ed(()=>ke(()=>import("./EventAgendaSession-BpvHjv2L.js"),__vite__mapDeps([65,1,7,62,5,6,8]))),nu=Ed(()=>ke(()=>import("./Partners-QwjN0LwY.js"),__vite__mapDeps([50,1,51,7,5,6,8]))),iu=Ed(()=>ke(()=>import("./Contact-CKm6d7MU.js"),__vite__mapDeps([53,1,17,7,54,6,55,56,5,8]))),ou=Ed(()=>ke(()=>import("./UserProfile-3stO5Zru.js"),__vite__mapDeps([66,1,55,6,67,5,7,8]))),lu=Ed(()=>ke(()=>import("./Login-BFqvdiqi.js"),__vite__mapDeps([68,1,55,6,69,70,56,5,7,8]))),cu=Ed(()=>ke(()=>import("./Register-Bd-2Lob5.js"),__vite__mapDeps([71,1,55,6,72,5,56,7,8]))),du=Ed(()=>ke(()=>import("./PendingApproval-1XRbI4wM.js"),__vite__mapDeps([73,1,7,5,6,8]))),uu=Ed(()=>ke(()=>import("./NotFound-CuoH_fuW.js"),__vite__mapDeps([74,1,75,7,2,5,6,8]))),hu=Ed(()=>ke(()=>import("./ServerError-ZX4OMcUR.js"),__vite__mapDeps([76,1,5,6,7,8]))),pu=Ed(()=>ke(()=>import("./ServiceUnavailable-D7Dyh2zw.js"),__vite__mapDeps([77,1,5,6,7,8]))),mu=Ed(()=>ke(()=>import("./Unauthorized-DIP30ZwK.js"),__vite__mapDeps([78,1,5,6,7,8]))),fu=Ed(()=>ke(()=>import("./SlugResolver-BcTAMnkU.js"),__vite__mapDeps([79,1,7,6,5,8]))),gu=Ed(()=>ke(()=>import("./AdminDashboard-1DKNpDon.js"),__vite__mapDeps([80,1,81,6,67,82,24,8,5,64,49,63,83,48,7,84,85,86,87,88]))),bu=Ed(()=>ke(()=>import("./AdminResearch-DxV5-zcc.js"),__vite__mapDeps([89,1,81,6,67,82,24,8,5,64,49,18,55,41,23,17,7]))),yu=Ed(()=>ke(()=>
4import("./AdminAbout-BoVWPk70.js"),__vite__mapDeps([90,1,17,7,81,6,67,82,24,8,5,64,49,55,41,23,18,91]))),vu=Ed(()=>ke(()=>import("./AdminLeadership-CI0hZ4-P.js"),__vite__mapDeps([92,1,70,7,45,93,6,94,5,81,67,82,24,8,64,49,55,54,63,95,96,85]))),wu=Ed(()=>ke(()=>import("./AdminPublications-D8qnfvhR.js"),__vite__mapDeps([97,1,70,81,6,67,82,24,8,5,64,49,18,69,56,94,95,55,54,63,41,23,98,7,83,48,96,85]))),xu=Ed(()=>ke(()=>import("./AdminAnnouncements-t6tDwheS.js"),__vite__mapDeps([99,1,97,70,81,6,67,82,24,8,5,64,49,18,69,56,94,95,55,54,63,41,23,98,7,83,48,96,85]))),_u=Ed(()=>ke(()=>import("./AdminNewsMedia-Br_5QlM1.js"),__vite__mapDeps([100,1,7,94,5,81,6,67,82,24,8,64,49,18,55,98,95,63,96,85]))),ju=Ed(()=>ke(()=>import("./AdminInvitations-CeUfeRRw.js"),__vite__mapDeps([101,1,81,6,67,82,24,8,5,64,49,55,94,63,7,91,48]))),ku=Ed(()=>ke(()=>import("./AdminPendingApprovals-BgEJDmxF.js"),__vite__mapDeps([102,1,81,6,67,82,24,8,5,64,49,94,95,54,55,7,48]))),Tu=Ed(()=>ke(()=>import("./AdminFellows-DeVrZd5Z.js"),__vite__mapDeps([103,1,70,81,6,67,82,24,8,5,64,49,104,7,93,94,69,56,18,55,96,85,95,91,63]))),Su=Ed(()=>ke(()=>import("./AdminEducation-DCXrv7j9.js"),__vite__mapDeps([105,1,54,55,6,94,95,82,24,8,5,63,64,93,81,67,49,18,7,69,70,56,96,85]))),Nu=Ed(()=>ke(()=>import("./AdminAnalytics-ByyXfPL2.js"),__vite__mapDeps([106,1,81,6,67,82,24,8,5,64,49,86,7,63,41,23,83,48,87,88]))),Eu=Ed(()=>ke(()=>import("./AdminSettings-mqHUHTfW.js"),__vite__mapDeps([107,1,81,6,67,82,24,8,5,64,49,55,54,93,7,48]))),Au=Ed(()=>ke(()=>import("./AdminPages-CvuuBJd_.js"),__vite__mapDeps([108,1,81,6,67,82,24,8,5,64,49,17,7,41,23,18,96,85]))),Ru=Ed(()=>ke(()=>import("./AdminNewsletterSubscribers-CCY9F8u_.js"),__vite__mapDeps([109,1,7,81,6,67,82,24,8,5,64,49,94,93,91]))),Cu=Ed(()=>ke(()=>import("./AdminContactSubmissions-aociYqjQ.js"),__vite__mapDeps([110,1,81,6,67,82,24,8,5,64,49,7,94,95,54,63,48]))),Iu=Ed(()=>ke(()=>import("./AdminEvents-CtVAoSrF.js"),__vite__mapDeps([111,1,81,6,67,82,24,8,5,64,49,55,54,93,95,94,96,85,7,38,104,98,91]))),Ou=Ed(()=>ke(()=>import("./AdminEventAgenda-BFe7cJaT.js"),__vite__mapDeps([112,1,7,81,6,67,82,24,8,5,64,49,55,54,95,63,93,62,104]))),Du=Ed(()=>ke(()=>import("./AdminPartners-CCJSoVJd.js"),__vite__mapDeps([113,1,81,6,67,82,24,8,5,64,49,55,54,93,95,94,96,85,51,7,91]))),Pu=Ed(()=>ke(()=>import("./Admin404Logs-CYEY97mm.js"),__vite__mapDeps([114,1,55,6,63,64,24,8,5,94,95,82,75,7,81,67,49,72,48]))),qu=Ed(()=>ke(()=>import("./AdminScholarImport-u0kzzi0b.js"),__vite__mapDeps([115,1,70,81,6,67,82,24,8,5,64,49,98,7]))),zu=Ed(()=>ke(()=>import("./AdminActivityLogs-BVbcvQeg.js"),__vite__mapDeps([116,1,81,6,67,82,24,8,5,64,49,63,94,84,7,95,22,23,87,88,48])));Ed(()=>ke(()=>import("./AdminDatabaseCheck-BFgRz1J2.js"),__vite__mapDeps([117,1,81,6,67,82,24,8,5,64,49,7])));const Lu=Ed(()=>ke(()=>import("./AdminUserManagement-DRpSTVjR.js"),__vite__mapDeps([118,1,81,6,67,82,24,8,5,64,49,94,63,7])));function Mu(){const{pathname:e}=d();return s.useEffect(()=>{window.scrollTo(0,0)},[e]),null}function Uu(){const{pathname:e}=d();return s.useEffect(()=>{var e;co("page_view",void 0,e)},[e]),null}function Fu({children:e,withContentData:t=!1,contentDataMode:a="full",chrome:r}){!function(){const e=d(),t=m();s.useEffect(()=>{"undefined"!=typeof window&&ke(async()=>{const{trackRouteNavigation:e}=await import("./sentry-DuxL6QJr.js");return{trackRouteNavigation:e}},__vite__mapDeps([25,0,1,2,6,5,7,8])).then(({trackRouteNavigation:a})=>{a(e.pathname,t)})},[e.pathname,t])}();const{pathname:i}=d(),o=r??!i.startsWith("/admin");s.useEffect(()=>eo(),[]);const l=t?n.jsx(an,{mode:a,children:n.jsx(ln,{children:e})}):e;return n.jsx(yn,{children:n.jsx(xe,{client:Qi,children:n.jsx(Ir,{children:n.jsxs(Ts,{children:[n.jsx(Mu,{}),n.jsx(Uu,{}),n.jsx(Ca,{}),n.jsx(tr,{}),n.jsx(Sn,{}),n.jsx(On,{}),n.jsx("a",{href:"#main-content",className:"sr-only focus:not-sr-only focus:absolute focus:left-4 focus:top-4 focus:z-[100] focus:rounded-md focus:bg-primary focus:px-4 focus:py-2 focus:font-medium focus:text-primary-foreground focus:shadow-lg",children:"Skip to content"}),o?n.jsxs("div",{className:"flex min-h-screen flex-col",children:[n.jsx($i,{}
4),n.jsx("div",{id:"main-content",tabIndex:-1,className:"min-h-screen flex-1 outline-none",children:l}),n.jsx(Bi,{})]}):n.jsx("div",{id:"main-content",tabIndex:-1,className:"outline-none",children:l}),n.jsx(zn,{}),n.jsx(Vi,{})]})})})})}const $u=[{path:"/",element:n.jsx(Fu,{children:n.jsx(_d,{})})},{path:"/research",element:n.jsx(Fu,{children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(Ad,{})})})},{path:"/research/managing-moscow",element:n.jsx(Fu,{children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(Cd,{})})})},{path:"/research/russia-china",element:n.jsx(Fu,{children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(Id,{})})})},{path:"/research/black-sea",element:n.jsx(Fu,{children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(Od,{})})})},{path:"/research/baltic-sea",element:n.jsx(Fu,{children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(Dd,{})})})},{path:"/research/central-asia",element:n.jsx(Fu,{children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(Pd,{})})})},{path:"/research/arctic",element:n.jsx(Fu,{children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(qd,{})})})},{path:"/research/nato-europe",element:n.jsx(Fu,{children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(zd,{})})})},{path:"/research/russia-ukraine-war",element:n.jsx(Fu,{children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(Ld,{})})})},{path:"/research/:id",element:n.jsx(Fu,{children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(Rd,{})})})},{path:"/analysis",element:n.jsx(Fu,{children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(Md,{})})})},{path:"/analysis/:slug",element:n.jsx(Fu,{children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(Rd,{})})})},{path:"/articles",element:n.jsx(Fu,{children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(Ud,{})})})},{path:"/articles/:slug",element:n.jsx(Fu,{children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(Rd,{})})})},{path:"/reports",element:n.jsx(Fu,{children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(Fd,{})})})},{path:"/reports/:slug",element:n.jsx(Fu,{children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(Rd,{})})})},{path:"/opinion",element:n.jsx(Fu,{children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx($d,{})})})},{path:"/opinion/:slug",element:n.jsx(Fu,{children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(Rd,{})})})},{path:"/publications/:slug",element:n.jsx(Fu,{children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(Rd,{})})})},{path:"/announcements",element:n.jsx(Fu,{children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(Bd,{})})})},{path:"/announcements/:slug",element:n.jsx(Fu,{children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(Rd,{})})})},{path:"/audio-video",element:n.jsx(Fu,{withContentData:!0,contentDataMode:"light",children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(Wd,{})})})},{path:"/about",element:n.jsx(Fu,{children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(Gd,{})})})},{path:"/leadership",element:n.jsx(Fu,{children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(Hd,{})})})},{path:"/leadership/:slug",element:n.jsx(Fu,{children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(Yd,{})})})},{path:"/fellows",element:n.jsx(Fu,{children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(Kd,{})})})},{path:"/fellows/:slug",element:n.jsx(Fu,{children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(Jd,{})})})},{path:"/authors/:id",element:n.jsx(Fu,{children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(Qd,{})})})},{path:"/scholar-leaderboard",element:n.jsx(Fu,{children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(Xd,{})})})},{path:"/news-media",element:n.jsx(Fu,{withContentData:!0,contentDataMode:"light",children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(Zd,{})})})},{path:"/events",element:n.jsx(Fu,{children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(eu,{})})})},{path:"/events/:id/agenda/sessions/:sessionId",element:n.jsx(Fu,{children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(su,{})})})},{path:"/events/:id/agenda",element:n.jsx(Fu,{children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(ru,{})})})},{path:"/events/:id/program",element:n.jsx(Fu,{children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(au,{})})})},{path:"/events/:id",element:n.jsx(Fu,{children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(tu,{})})})},{path:"/partners",element:n.jsx(Fu,{children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(nu,{})})})},{path:"/contact",element:n.jsx(Fu,{children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(iu,{})})})},{path:"/profile",element:n.jsx(Fu,{children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(ou,{})})})},{path:"/crisis-management-course",element:n.jsx(Fu,{children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(Vd,{})})})},{path:"/:slug",element:n.jsx(Fu,{children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(fu,{})})})},{path:"/admin/login",element:n.jsx(Fu,{children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(lu,{})})})},{path:"/admin/register",element:n.jsx(Fu,{children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(cu,{})})})},{path:"/admin/pending-approval",element:n.jsx(Fu,{children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(du,{})})})},{path:"/unauthorized",element:n.jsx(Fu,{children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(mu,{})})})},{path:"/admin",element:n.jsx(Fu,{withContentData:!0,contentDataMode:"light",children:n.jsx(Ji,{requireAdmin:!0,children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(gu,{})})})})},{path:"/admin/dashboard",element:n.jsx(p,{to:"/admin",replace:!0})},{path:"/admin/analytics",element:n.jsx(Fu,{children:n.jsx(Ji,{requireAdmin:!0,children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(Nu,{})})})})},{path:"/admin/research",element:n.jsx(Fu,{children:n.jsx(Ji,{requireAdmin:!0,children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(bu,{})})})})},{path:"/admin/about",element:n.jsx(Fu,{children:n.jsx(Ji,{requireSuperAdmin:!0,children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(yu,{})})})})},{path:"/admin/leadership",element:n.jsx(Fu,{children:n.jsx(Ji,{requireSuperAdmin:!0,children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(vu,{})})})})},{path:"/admin/announcements",element:n.jsx(Fu,{children:n.jsx(Ji,{requireAdmin:!0,children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(xu,{})})})})},{path:"/admin/publications",element:n.jsx(Fu,{children:n.jsx(Ji,{requireAdmin:!0,children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(wu,{})})})})},{path:"/admin/scholar-import",element:n.jsx(Fu,{children:n.jsx(Ji,{requireAdmin:!0,children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(qu,{})})})})},{path:"/admin/news-media",element:n.jsx(Fu,{children:n.jsx(Ji,{requireSuperAdmin:!0,children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(_u,{})})})})},{path:"/admin/events",element:n.jsx(Fu,{children:n.jsx(Ji,{requireSuperAdmin:!0,children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(Iu,{})})})})},{path:"/admin/events/:eventId/agenda",element:n.jsx(Fu,{children:n.jsx(Ji,{requireSuperAdmin:!0,children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(Ou,{})})})})},{path:"/admin/education",element:n.jsx(Fu,{children:n.jsx(Ji,{requireSuperAdmin:!0,children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(Su,{})})})})},{path:"/admin/fellows",element:n.jsx(Fu,{children:n.jsx(Ji,{requireSuperAdmin:!0,children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(Tu,{})})})})},{path:"/admin/settings",element:n.jsx(Fu,{children:n.jsx(Ji,{requireAdmin:!0,children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(Eu,{})})})})},{path:"/admin/pages",element:n.jsx(Fu,{children:n.jsx(Ji,{requireSuperAdmin:!0,children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(Au,{})})})})},{path:"/admin/newsletter-subscribers",element:n.jsx(Fu,{children:n.jsx(Ji,{requireSuperAdmin:!0,children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(Ru,{})})})})},{path:"/admin/contact-submissions",element:n.jsx(Fu,{children:n.jsx(Ji,{requireSuperAdmin:!0,children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(Cu,{})})})})},{path:"/admin/partners",element:n.jsx(Fu,{children:n.jsx(Ji,{requireSuperAdmin:!0,children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(Du,{})})})})},{path:"/admin/404-logs",element:n.jsx(Fu,{children:n.jsx(Ji,{requireAdmin:!0,children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(Pu,{})})})})},{path:"/admin/activity-logs",element:n.jsx(Fu,{children:n.jsx(Ji,{requireAdmin:!0,children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(zu,{})})})})},{path:"/admin/invitations",element:n.jsx(Fu,{children:n.jsx(Ji,{requireSuperAdmin:!0,children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(ju,{})})})})},{path:"/admin/pending-approvals",element:n.jsx(Fu,{children:n.jsx(Ji,{requireSuperAdmin:!0,children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(ku,{})})})})},{path:"/admin/user-management",element:n.jsx(Fu,{children:n.jsx(Ji,{requireSuperAdmin:!0,children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(Lu,{})})})})},{path:"/500",element:n.jsx(Fu,{children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(hu,{})})})},{path:"/503",element:n.jsx(Fu,{children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(pu,{})})})},{path:"*",element:n.jsx(Fu,{children:n.jsx(s.Suspense,{fallback:n.jsx(Dn,{}),children:n.jsx(uu,{})})})}];!function(){if("undefined"==typeof window)return()=>{};const e=e=>{e.payload,Td()&&e.preventDefault()};window.addEventListener("vite:preloadError",e)}();const Bu=e=>{"undefined"!=typeof window&&("function"==typeof requestIdleCallback?requestIdleCallback(e):setTimeout(e,1))};if(Bu(()=>{ke(async()=>{const{initSentry:e}=await import("./sentry-DuxL6QJr.js");return{initSentry:e}},__vite__mapDeps([25,0,1,2,6,5,7,8])).then(({initSentry:e})=>e())}),Bu(()=>{ke(async()=>{const{initBotId:e}=await import("./index-ZB078Zki.js");return{initBotId:e}},[]).then(({initBotId:e})=>{e({protect:[{path:"/functions/v1/contact-form",method:"POST"},{path:"/functions/v1/newsletter-subscribe",method:"POST"},{path:"/functions/v1/grammar-check",method:"POST"},{path:"/functions/v1/admin-user-management",method:"POST"},{path:"/functions/v1/scholar-search",method:"POST"},{path:"/functions/v1/scholar-author",method:"POST"},{path:"/functions/v1/scholar-sync-cron",method:"POST"}]})})}),window.location.pathname.includes("//")){const e=window.location.pathname.replace(/\/{2,}/g,"/");window.history.replaceState(null,"",e+window.location.search+window.location.hash)}const Wu=f($u,{basename:"/"});
4g(document.getElementById("root")).render(n.jsx(b,{router:Wu}));export{nn as $,El as A,fo as B,hn as C,Ie as D,Zn as E,Ga as F,mi as G,Is as H,ri as I,qi as J,zi as K,Li as L,pn as M,mn as N,fn as O,At as P,Yi as Q,Vs as R,yl as S,kd as T,Xs as U,qe as V,Dn as W,dn as X,$s as Y,Al as Z,ke as _,Us as a,pi as a0,ja as a1,hi as a2,ai as a3,Hs as a4,Qs as a5,Ds as a6,Ll as a7,Fl as a8,$l as a9,Bl as aa,Wl as ab,Vl as ac,Gl as ad,Zs as ae,Ws as af,uo as ag,ti as ah,ui as ai,Pl as aj,St as ak,rn as al,Ir as am,Or as an,Dr as ao,Pr as ap,Hi as aq,ni as b,Ms as c,ii as d,Bs as e,un as f,si as g,Ps as h,go as i,cn as j,gd as k,Ul as l,gn as m,li as n,ci as o,ud as p,di as q,Dl as r,Os as s,_a as t,Js as u,zl as v,Oe as w,Il as x,ei as y,Gs as z};

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.