PageSourceSearch

https://triathlon.org/_nuxt/DXAWd_ef.js

js triathlon.org collected 2026-09-24 09:00:40 UTC 2,430 bytes, 1 lines download raw bytes

1import{a as x,C as p}from"./CuU4Bu7R.js";import{bd as P,b7 as o,b8 as d,bw as b,ba as g,bg as f,b9 as c,be as k,bf as v,bk as w,b6 as i}from"./fkuu-W5h.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="29b4e988-d322-433c-b61b-6b1449348d14",e._sentryDebugIdIdentifier="sentry-dbid-29b4e988-d322-433c-b61b-6b1449348d14")}catch{}})();const B={class:"flex items-center justify-center gap-2 my-8 px-4"},C=["disabled"],T={key:0,class:"px-3 py-2 text-primary"},L=["onClick"],D=["disabled"],E=P({__name:"PaginationComponent",props:{currentPage:{},totalPages:{},backLabel:{default:"BACK"},nextLabel:{default:"NEXT"}},emits:["page-changed"],setup(e,{emit:l}){const s=e,y=l,u=n=>{n>0&&n<=s.totalPages&&y("page-changed",n)},h=w(()=>{const n=[];n.push(1);for(let t=Math.max(2,s.currentPage-1);t<=Math.min(s.totalPages-1,s.currentPage+1);t++)n.push(t);s.totalPages>1&&n.push(s.totalPages);const a=[...new Set(n)].sort((t,m)=>t-m),r=[];for(let t=0;t<a.length;t++)t>0&&a[t]>a[t-1]+1&&r.push("..."),r.push(a[t]);return r});return(n,a)=>(i(),o("div",B,[d("button",{class:b(["flex items-center text-sm px-2 py-2 rounded-md border transition-colors",e.currentPage===1?"text-menuTitle border-border cursor-not-allowed":"text-menuTitle border-border hover:bg-menuTitle/10"]),disabled:e.currentPage===1,onClick:a[0]||(a[0]=r=>u(e.currentPage-1))},[g(f(x),{class:"w-4 h-4"}),d("span",null,c(e.backLabel),1)],10,C),(i(!0),o(k,null,v(h.value,(r,t)=>(i(),o("span",{key:t},[r==="..."?(i(),o("span",T,"...")):(i(),o("button",{key:1,class:b(["flex items-center text-sm justify-center rounded-md border transition-colors py-2 px-3.5",e.currentPage===r?"bg-primary-transitionBlue text-white border-primary-transitionBlue":"text-primary-transitionBlue border-border hover:bg-primary-transitionBlue/10"]),onClick:m=>u(Number(r))},c(r),11,L))]))),128)),d("button",{class:b(["flex items-center text-sm px-2 py-2 rounded-md border transition-colors",e.currentPage===e.totalPages?"text-menuTitle border-border cursor-not-allowed":"text-primary-transitionBlue border-primary-transitionBlue hover:bg-primary-transitionBlue/10"]),disabled:e.currentPage===e.totalPages,onClick:a[1]||(a[1]=r=>u(e.currentPage+1))},[d("span",null,c(e.nextLabel),1),g(f(p),{class:"w-4 h-4"})],10,D)]))}});export{E as _};

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.