Deprecated: Function get_magic_quotes_gpc() is deprecated in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 99

Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 619

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 832

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
import{X as $,c as o,d as N,I as T,j as z,aR as B,f,o as g,O as C,P as D,R,L as S,Q as n,J as m,x as E,M as y,N as F,aq as V,aK as j,T as k,S as L,ar as O,az as A,_ as q}from"#entry";import{u as J}from"./useCheckIfMobile.CEIr8BUd.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"57aa97b202b9654e46931f0e969e06e4c530112e"}}catch{}})();try{(function(){var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="8813be2f-5eaf-4e13-ad18-2636492d0365",e._sentryDebugIdIdentifier="sentry-dbid-8813be2f-5eaf-4e13-ad18-2636492d0365")})()}catch{}const K=e=>{const{path:r}=$(),b=r.replace(/^(.*?\/)page\/\d+\/?$/,"$1"),v=t=>{const a=t<=1?b:`${b.endsWith("/")?b:b+"/"}page/${t}/`;return e.anchorId?`${a}#${e.anchorId}`:a},h=o(()=>{const t=r.replace(/\/+$/,"").split("/").filter(Boolean),a=t.findIndex(u=>u==="page"),s=a!==-1?Number(t[a+1]):1;return Number.isFinite(s)&&s>0?s:1}),_=o(()=>e.items?.length??e.itemsCount??0),d=o(()=>Math.max(1,Math.ceil(_.value/Math.max(1,e.pageSize)))),l=o(()=>Math.min(Math.max(1,h.value),d.value)),c=o(()=>(l.value-1)*e.pageSize),I=o(()=>e.pageSize),w=o(()=>l.value>1?v(l.value-1):null),P=o(()=>l.valueh.value===1),p=o(()=>h.value===d.value),M=o(()=>e.items?e.items.slice(c.value,c.value+I.value):[]),i=o(()=>Array.from({length:d.value},(t,a)=>({number:a+1,href:v(a+1),isCurrent:a+1===l.value})));return{currentPage:l,pageCount:d,offset:c,limit:I,linkFor:v,prevLink:w,nextLink:P,pages:i,isInFirstPage:x,isInLastPage:p,paginatedItems:M,totalItemsCount:_}},Q={class:"pagination","aria-labelledby":"pagination"},W={key:0},X={class:"pagination__btn-text"},Y={key:1},G={key:2},H={key:3},U={class:"pagination__btn-text"},Z=N({__name:"Pagination",props:{itemsCount:{},pageSize:{},anchorId:{}},setup(e){const{t:r}=T(),{path:b}=$(),{isMobile:v}=J(),h=z(!1),_=z(!1),{pages:d,currentPage:l,pageCount:c,prevLink:I,nextLink:w,isInFirstPage:P,isInLastPage:x}=K({itemsCount:e.itemsCount,anchorId:e.anchorId,pageSize:e.pageSize||10}),p=o(()=>v.value?5:10),M=o(()=>{const i=d.value.length;let a=l.value-Math.floor(p.value/2),s=a+p.value-1;return a<1&&(a=1,s=Math.min(i,p.value)),s>i&&(s=i,a=Math.max(1,i-p.value+1)),d.value.slice(a-1,s)});return B(()=>{const i=Math.max(1,l.value-Math.floor(p.value/2)),t=Math.min(c.value,i+p.value-1);h.value=i>1,_.value=t{const a=E("SlpIcon"),s=E("SlpButton");return g(),f("div",Q,[t[2]||(t[2]=C("h2",{id:"pagination"},"Pagination",-1)),D(C("ul",null,[!n(P)&&n(c)!==0?(g(),f("li",W,[m(s,{variant:"secondary",disabled:n(P),href:n(I),"data-ga-name":"pagination previous","data-ga-location":"pagination"},{default:y(()=>[m(a,{class:"slp-mr-8",icon:n(j),variant:"product"},null,8,["icon"]),C("span",X,k(n(r)("common.previous")),1)]),_:1},8,["disabled","href"])])):S("",!0),n(h)?(g(),f("li",Y,[m(s,{variant:"secondary",disabled:!0},{default:y(()=>[...t[0]||(t[0]=[L(" ... ",-1)])]),_:1})])):S("",!0),(g(!0),f(F,null,V(n(M),u=>(g(),f("li",{key:u.number},[m(s,{variant:"secondary",href:u.href,disabled:u.isCurrent,class:O({"pagination--active":u.isCurrent}),"aria-current":u.isCurrent?"page":void 0,"data-ga-name":`pagination page ${u.number}`,"data-ga-location":"pagination"},{default:y(()=>[L(k(u.number),1)]),_:2},1032,["href","disabled","class","aria-current","data-ga-name"])]))),128)),n(_)?(g(),f("li",G,[m(s,{variant:"secondary",disabled:!0},{default:y(()=>[...t[1]||(t[1]=[L(" ... ",-1)])]),_:1})])):S("",!0),!n(x)&&n(c)!==0?(g(),f("li",H,[m(s,{variant:"secondary",disabled:n(x),href:n(w),"data-ga-name":"pagination next","data-ga-location":"pagination"},{default:y(()=>[C("span",U,k(n(r)("common.next")),1),m(a,{class:"slp-ml-8",icon:n(A),variant:"product"},null,8,["icon"])]),_:1},8,["disabled","href"])])):S("",!0)],512),[[R,i.itemsCount>0]])])}}}),ee=q(Z,[["__scopeId","data-v-a5f7ae65"]]),ne=Object.freeze(Object.defineProperty({__proto__:null,default:ee},Symbol.toStringTag,{value:"Module"}));export{ne as P,ee as _,K as u};