1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[93670],{44385:(e,r,s)=>{"use strict";s.d(r,{al:()=>a});var t=s(12115);function a(){let[e,r]=t.useState(void 0);return t.useEffect(()=>{let e=window.matchMedia("(max-width: ".concat(767,"px)")),s=()=>{r(window.innerWidth<768)};return e.addEventListener("change",s),r(window.innerWidth<768),()=>e.removeEventListener("change",s)},[]),!!e}},46306:()=>{},93670:(e,r,s)=>{"use strict";s.r(r),s.d(r,{default:()=>h});var t=s(95155);s(46306);var a=s(12115),i=s(52619),n=s.n(i),l=s(15239),c=s(44385);let o=[{id:1,rating:5,reviewDate:"2025-11-12",title:"Best prop firm comparison site",content:"Finally found a reliable place to compare all the prop firms. The discount codes actually work and saved me 35% on my challenge fee. Highly recommend for any trader looking for funding.",authorName:"Michael T."},{id:2,rating:5,reviewDate:"2025-11-12",title:"Saved hours of research",content:"Used to spend days comparing prop firms manually. This site has everything in one place with real reviews...",authorName:"James M."},{id:3,rating:5,reviewDate:"2025-11-12",title:"Great for funded traders",content:"Perfect resource for anyone looking to get funded. The comparison table is super helpful for finding the best deals...",authorName:"Sarah K."}],d=e=>{let{isHalf:r=!1}=e;return(0,t.jsx)("div",{className:"trustpilot-star ".concat(r?"trustpilot-star--half":""),children:(0,t.jsx)("span",{})})};function h(){let{initialReviews:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[r,s]=(0,a.useState)(()=>e?e.length>0?e:o:[]),[i,h]=(0,a.useState)(0),[m,v]=(0,a.useState)(!e),[w,u]=(0,a.useState)(!1),p=(0,c.al)(),x=p?1:3;(0,a.useEffect)(()=>{e||r();async function r(){try{let e=await fetch("/api/trustpilot-reviews");if(e.ok){let r=await e.json();if(r.reviews&&r.reviews.length>0){let e=r.reviews;s(e)}else s(o)}else s(o)}catch(e){s(o)}finally{v(!1)}}},[e]);let f=Math.max(0,r.length-x),_=(0,a.useCallback)(()=>{w||(u(!0),h(e=>0===e?f:e-1),setTimeout(()=>u(!1),400))},[f,w]),j=(0,a.useCallback)(()=>{w||(u(!0),h(e=>e>=f?0:e+1),setTimeout(()=>u(!1),400))},[f,w]);return(0,a.useEffect)(()=>{h(0)},[p]),(0,t.jsx)("section",{className:"reviews",id:"reviews",children:(0,t.jsxs)("div",{className:"reviews__container",children:[(0,t.jsxs)("div",{className:"reviews__header",children:[(0,t.jsx)("h2",{className:"reviews__title",children:"Trusted By Professional Traders Worldwide"}),(0,t.jsx)("p",{className:"reviews__subtitle",children:"Read honest reviews from verified futures prop firm traders"}),(0,t.jsxs)("a",{href:"https://www.trustpilot.com/review/propfirm.compare",target:"_blank",rel:"noopener noreferrer",className:"reviews__trustpilot",children:[(0,t.jsx)("span",{className:"reviews__trustpilot-text",children:"Excellent"}),(0,t.jsxs)("div",{className:"reviews__trustpilot-stars",children:[(0,t.jsx)(d,{}),(0,t.jsx)(d,{}),(0,t.jsx)(d,{}),(0,t.jsx)(d,{}),(0,t.jsx)(d,{isHalf:!0})]}),(0,t.jsxs)("div",{className:"reviews__trustpilot-logo",children:[(0,t.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M15.8 6.1H9.9L8 0.5L6.1 6.1H0.2L4.9 9.5L3 15L8 11.5L13 15L11.1 9.5L15.8 6.1Z",fill:"#00B67A"})}),(0,t.jsx)("span",{children:"Trustpilot"})]})]}),(0,t.jsxs)(n(),{href:"/reviews",className:"inline-flex items-center gap-2 mt-4 text-sm text-[#07e88a] hover:text-[#07e88a]/80 transition-colors font-medium",children:["Read all prop firm reviews",(0,t.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 20 20",fill:"none",children:(0,t.jsx)("path",{d:"M7.5 15L12.5 10L7.5 5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})]})]}),(0,t.jsxs)("div",{className:"reviews__carousel",children:[(0,t.jsx)("button",{className:"reviews__nav reviews__nav--prev hidden md:flex","aria-label":"Previous reviews",onClick:_,disabled:m||r.length<=x,children:(0,t.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:(0,t.jsx)("path",{d:"M12.5 15L7.5 10L12.5 5",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,t.jsx)("div",{className:"reviews__cards-wrapper",children:(0,t.jsx)("div",{className:"reviews__cards-track ".concat(p?"reviews__cards-track--mobile":""),style:{transform:p?"translateX(calc(-".concat(100*i,"% - ").concat(20*i,"px)
1)"):"translateX(-".concat(100/x*i,"%)"),transition:"transform 0.4s ease-in-out"},children:m?Array.from({length:3}).map((e,r)=>(0,t.jsxs)("article",{className:"review-card",children:[(0,t.jsx)("div",{className:"review-card__header",children:(0,t.jsx)("div",{className:"review-card__stars opacity-30",children:Array.from({length:5}).map((e,r)=>(0,t.jsx)(d,{},r))})}),(0,t.jsxs)("div",{className:"review-card__content",children:[(0,t.jsx)("div",{className:"h-4 bg-[rgba(255,255,255,0.1)] rounded animate-pulse mb-2"}),(0,t.jsx)("div",{className:"h-16 bg-[rgba(255,255,255,0.05)] rounded animate-pulse"})]})]},r)):r.map(e=>{var r;return(0,t.jsxs)("article",{className:"review-card",children:[(0,t.jsxs)("div",{className:"review-card__header",children:[(0,t.jsx)("div",{className:"review-card__stars",children:Array.from({length:e.rating}).map((e,r)=>(0,t.jsx)(d,{},r))}),(0,t.jsx)("time",{className:"review-card__date",children:new Date(e.reviewDate).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric",timeZone:"UTC"})})]}),(0,t.jsxs)("div",{className:"review-card__content",children:[e.link?(0,t.jsx)("a",{href:"https://www.trustpilot.com/review/propfirm.compare",target:"_blank",rel:"noopener noreferrer",className:"review-card__title review-card__title--link",children:e.title}):(0,t.jsx)("h3",{className:"review-card__title",children:e.title}),(0,t.jsx)("p",{className:"review-card__text",children:e.content})]}),(0,t.jsxs)("div",{className:"review-card__author",children:[(0,t.jsx)("span",{className:"review-card__name",children:e.authorName}),e.country&&(0,t.jsx)(l.default,{src:(r=e.country,"https://flagcdn.com/w40/".concat(r.toLowerCase(),".png")),alt:"Flag of ".concat(e.country),className:"review-card__flag",width:20,height:15,onError:e=>{e.currentTarget.style.display="none"}})]})]},e.id)})})}),(0,t.jsx)("button",{className:"reviews__nav reviews__nav--next hidden md:flex","aria-label":"Next reviews",onClick:j,disabled:m||r.length<=x,children:(0,t.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:(0,t.jsx)("path",{d:"M7.5 15L12.5 10L7.5 5",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),p&&r.length>1&&(0,t.jsx)("div",{className:"flex items-center justify-center gap-2 mt-4 md:hidden",children:r.map((e,r)=>(0,t.jsx)("button",{"aria-label":"Go to review ".concat(r+1),className:"compact w-2 h-2 rounded-full transition-all duration-300 ".concat(r===i?"bg-[#07e88a] w-6":"bg-white/20 hover:bg-white/40"),onClick:()=>{w||(u(!0),h(r),setTimeout(()=>u(!1),400))}},r))})]})})}}}]);
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.