PageSourceSearch

https://centerplatform.ai/build/assets/TestimonialsSection-SrBXpyJK.js

js centerplatform.ai collected 2026-10-05 14:57:02 UTC 10,459 bytes, 1 lines download raw bytes

1import{r as c,j as t}from"./app-BZMRTsuS.js";import{u as R}from"./useTranslateDict-CqG-Xn3N.js";import{A as w}from"./LandingTemplateRenderer-DNvKWuCw.js";import{F as E}from"./FadeInText-Bx23091Z.js";import{a as T}from"./NewChatFooter-BH1-9udj.js";import{b as M}from"./proxy-QBEyYEND.js";import F from"./chevron-left-DycWhMYO.js";import L from"./chevron-right-C3ibg8R9.js";import S from"./star-BrWGXDsd.js";/* empty css            */import"./LandingHeader-Bcs2eOwm.js";import"./LanguageSwitcher-fjBjBfPx.js";import"./KeyboardArrowDown-D9sN5Qh5.js";import"./createSvgIcon-CISW1gy7.js";import"./index-DBW4IqEz.js";import"./languages-WFWrV0qk.js";import"./createLucideIcon-COrS4lSy.js";import"./Menu-BCzWmKB1.js";import"./MenuItem-DHZynuzi.js";import"./listItemTextClasses-Dko_1TJd.js";import"./index-MKfvMb5v.js";import"./index-7GXKiMn0.js";import"./index-DIJxW5fU.js";import"./ChatTemplate-8jnUKCO0.js";import"./ScrollToBottonButton-BUk2vNG6.js";import"./x-DfnlLEeA.js";import"./IconButton-DQ9YpBSr.js";import"./arrow-down-CRj5ZlIX.js";import"./OfficeRenderer-CONd-yi_.js";import"./zoom-out-D8nXjtqZ.js";import"./zoom-in-BMmCbTk8.js";import"./printer-C0WzsPU7.js";import"./loader-circle-CFN9oPjn.js";import"./download-CPT4B3Jc.js";import"./logo-bNh9u0wR.js";import"./embla-carousel.esm-CMPFBS9o.js";import"./BranchOpeningProgressShared-DiCNT7td.js";import"./index-Co8Q3YKX.js";import"./popover-DujHa3Hh.js";import"./index-BYbEvXNw.js";import"./index-Ci9tDqVY.js";import"./index-B62CXf0_.js";import"./dialog-BP7s7Juo.js";import"./triangle-alert-BsxgWCAK.js";import"./check-N2ehAS7U.js";import"./DynamicIcon-CAfrJaUV.js";import"./DialogContent-C-XCzMq9.js";import"./chevron-up-rBMDYhe_.js";import"./NewChatMessage-BaVhroHf.js";import"./styled-DlUnb7Sr.js";import"./index-DBJH9z1X.js";import"./eye-CT2nFASd.js";import"./pencil-DBkSiSfr.js";import"./thumbs-down-sTeTvJWc.js";import"./thumbs-up-B58pjnar.js";import"./registrationOrigin-D5_3Etpw.js";import"./image-plus-C2sxRmjf.js";import"./file-search-C1oAAE03.js";import"./search-Dq0CtVli.js";import"./brain-Du5vr_Qw.js";import"./chevron-down-Bg91GIFX.js";import"./TextField-BB__fmZM.js";import"./useFormControl-C7GyD0k9.js";import"./formControlState-Dq1zat_P.js";import"./useControlled-BKFoDg_8.js";import"./Collapse-FWpsRXWN.js";import"./useChatStream-Dz45ozBK.js";import"./realtimeConnection-Bh608VBB.js";import"./PlayArrowRounded-DYCT9ODq.js";import"./LandingAdminStyles-C6dcfdpo.js";import"./hls-Cp2x8l1r.js";import"./videoService-Sf7E4KPS.js";import"./videoProcessingWaitRegistry-hDxulhKs.js";import"./v7-CElQ7RR-.js";import"./rng-Dsaz7ZGA.js";import"./CheckRounded-Bt_cZeKi.js";import"./DialogTitle-DKSgpIzm.js";import"./LinearProgress-0xsCikjF.js";import"./VisibilityOff-BEldWMsG.js";import"./use-transform-BtdFzeqv.js";import"./VolumeUpRounded-t1TFBUFM.js";import"./HomeBrandLogo-Cjy5cONf.js";import"./audio-lines-4mukf9i2.js";import"./menu-Xdct_srT.js";import"./DefaultTextfield-DWniaLDw.js";import"./EpisodePublishScheduleStep3-7BNJ0ZXD.js";import"./index.esm-CMlIDCOg.js";import"./index-1oQBK7g2.js";import"./visuallyHidden-Dan1xhjv.js";import"./InputAdornment-CqpZyCN8.js";import"./Popper-CLLvn2vZ.js";import"./DialogActions-BxaD9eZi.js";import"./ListItem-CWnbw1iL.js";import"./Chip-CxhJjHEG.js";import"./calendar-CXvYBmWn.js";import"./select-BCPECHhd.js";import"./index-C_tIeRss.js";
1import"./clock-DQ3XyQZR.js";import"./inputUtils-pIugqgmS.js";import"./constants-Bu6SZ1v9.js";import"./file-spreadsheet-DkgMfJRN.js";import"./file-text-B0tlMGS0.js";import"./file-image-B8D2KwYk.js";import"./button-yRSJ691e.js";import"./ClickAwayListener-Ckjd054_.js";import"./plus-Bd8ze_Bv.js";import"./image-up-fBe_--dA.js";import"./paperclip-tWocO18n.js";import"./square-CULr6ypi.js";import"./arrow-up-BBT9SzRj.js";const B="/build/assets/capterra-logo-C50ZHRPI.png",_=1e3;function v({testimonial:r}){return t.jsxs("article",{tabIndex:0,className:"flex min-h-[220px] w-[calc(100vw-4rem)] max-w-[320px] shrink-0 flex-col rounded-2xl border border-white/[0.05] bg-[linear-gradient(145deg,#202020,#191919)] px-4 py-3.5 shadow-[0_18px_50px_rgba(0,0,0,0.2)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#FEB000] sm:min-h-56 sm:w-[430px] sm:max-w-none sm:px-7 sm:py-6",children:[t.jsx("h3",{className:"text-[16px] font-semibold leading-5 text-white sm:leading-6",children:r.title}),t.jsxs("p",{className:"mt-2 flex-1 text-[14px] leading-[22px] text-[#CCCCCC] sm:mt-3 sm:text-[16px] sm:leading-7",children:["“",r.quote,"”"]}),t.jsxs("div",{className:"mt-3 flex items-center justify-between gap-4 text-sm sm:mt-5",children:[t.jsxs("div",{className:"flex items-center gap-2 text-white",children:[t.jsx("span",{className:"text-[14px] font-medium sm:text-[16px]",children:r.author}),t.jsx("span",{children:r.rating?.toFixed(1)??"4.8"}),t.jsx(S,{"aria-hidden":"true",className:"h-3 w-3 fill-[#FEB000] text-[#FEB000]"})]}),r.source&&(r.source.toLocaleLowerCase()==="capterra"?t.jsx("img",{src:B,alt:"Capterra",className:"h-5 w-auto object-contain sm:h-6",loading:"lazy",decoding:"async"}):t.jsx("span",{className:"font-semibold text-zinc-300",children:r.source}))]})]})}function I({testimonials:r,direction:u,manualMode:a}){const p=t.jsx("div",{className:"flex shrink-0 gap-3 pr-3",children:r.map((e,n)=>t.jsx(v,{testimonial:e},`${e.author}-${e.title}-${n}`))});return t.jsx("div",{className:`franchisor-testimonial-marquee ${a?"overflow-x-auto scroll-smooth [scrollbar-width:none] [&::-webkit-scrollbar]:hidden":"overflow-hidden"}`,style:{maskImage:"linear-gradient(to right, transparent 0%, rgba(0,0,0,0.18) 6%, black 12%, black 88%, rgba(0,0,0,0.18) 94%, transparent 100%)",WebkitMaskImage:"linear-gradient(to right, transparent 0%, rgba(0,0,0,0.18) 6%, black 12%, black 88%, rgba(0,0,0,0.18) 94%, transparent 100%)"},children:t.jsxs("div",{className:`flex w-max ${a?"":u==="right"?"franchisor-animate-marquee-right":"franchisor-animate-marquee-left"}`,children:[p,!a&&t.jsx("div",{"aria-hidden":"true",className:"flex shrink-0 gap-3 pr-3",children:r.map((e,n)=>t.jsx(v,{testimonial:e},`duplicate-${e.author}-${n}`))})]})})}function De({badge:r,title:u,subtitle:a,testimonials:p}){const e=R(),n=[{title:e("page.franchisor.testimonials.items.1.title"),quote:e("page.franchisor.testimonials.items.1.quote"),author:"Amanda",rating:4.8,source:"Capterra"},{title:e("page.franchisor.testimonials.items.2.title"),quote:e("page.franchisor.testimonials.items.2.quote"),author:"Francisco",rating:4.8,source:"Capterra"},{title:e("page.franchisor.testimonials.items.3.title"),quote:e("page.franchisor.testimonials.items.3.quote"),author:"José",rating:4.8,source:"Capterra"},{title:e("page.franchisor.testimonials.items.4.title"),quote:e("page.franchisor.testimonials.items.4.quote"),author:"Marina",rating:4.8,source:"Capterra"},{title:e("page.franchisor.testimonials.items.5.title"),quote:e("page.franchisor.testimonials.items.5.quote"),author:"João",rating:4.8,source:"Capterra"},{title:e("page.franchisor.testimonials.items.6.title"),quote:e("page.franchisor.testimonials.items.6.quote"),author:"Andressa",rating:4.8,source:"Capterra"}],j=r??e("page.franchisor.testimonials.badge"),q=u??e("page.franchisor.testimonials.title"),y=a??e("page.franchisor.testimonials.subtitle"),m=T(),f=c.useRef(null),s=c.useRef(null),[C,h]=c.useState(!1),N=!!m||C;c.useEffect(()=>()=>{s.current!==null&&window.clearTimeout(s.current)},[]);const d=o=>{f.current?.querySelectorAll(".franchisor-animate-marquee-left, .franchisor-animate-marquee-right")?.forEach(l=>
1{l.getAnimations().forEach(x=>{x.updatePlaybackRate(o)})})},g=o=>{h(!0),s.current!==null&&window.clearTimeout(s.current),m||(s.current=window.setTimeout(()=>{h(!1),s.current=null},_)),requestAnimationFrame(()=>{const i=f.current?.querySelector(".franchisor-testimonial-marquee"),l=i?.querySelector("article");if(!i)return;const x=(l?.offsetWidth??360)+12,b=i.scrollWidth-i.clientWidth;o<0&&i.scrollLeft<=1?i.scrollLeft=b:o>0&&i.scrollLeft>=b-1&&(i.scrollLeft=0),i.scrollBy({left:o*x,behavior:m?"auto":"smooth"})})},A=p?.length?p:n,k=(o=>Array.from({length:Math.max(12,o.length)},(i,l)=>o[l%o.length]))(A);return t.jsxs("section",{id:"depoimentos","aria-labelledby":"testimonials-title",className:"overflow-hidden bg-[#0A0A0A] pb-[80px] pt-[44px] text-white sm:py-[60px] xl:pb-32 xl:pt-24",children:[t.jsxs("header",{className:"mx-auto flex max-w-3xl flex-col items-center px-5 text-center sm:px-8",children:[t.jsx(M.div,{initial:m?!1:{opacity:0,y:20,filter:"blur(4px)"},whileInView:m?void 0:{opacity:1,y:0,filter:"blur(0px)"},viewport:{once:!0,amount:.35},transition:{duration:.55,ease:[.25,.1,.25,1]},className:"flex h-[40px] w-full max-w-[350px] items-center justify-center rounded-full",children:t.jsx(w,{as:"div",text:j,staggerDelay:.04,once:!0,className:"text-[13px] font-semibold uppercase tracking-[0.18em] text-[#FEB000]"})}),t.jsx(w,{id:"testimonials-title",as:"h2",text:q,staggerDelay:.055,delayChildren:.1,once:!0,className:"mt-4 text-balance font-sans text-[20px] font-semibold leading-[1.15] tracking-[-0.03em] sm:mt-3 sm:text-[30px]"}),t.jsx(E,{text:y,className:"mt-7 text-[16px] leading-6 text-[#CCCCCC] sm:mt-5 sm:text-[18px] sm:leading-8"})]}),t.jsx("div",{ref:f,className:"franchisor-testimonial-marquees mt-20 space-y-2 sm:space-y-3",onPointerEnter:()=>d(.3),onPointerLeave:()=>d(1),children:t.jsx(I,{testimonials:k,direction:"right",manualMode:N})}),t.jsxs("div",{className:"mx-auto mt-6 flex w-full max-w-7xl items-center justify-end gap-2 px-5 sm:px-8 lg:px-12",children:[t.jsx("button",{type:"button","aria-label":e("page.franchisor.testimonials.previous_aria"),onClick:()=>g(-1),className:"grid h-8 w-8 place-items-center rounded-full bg-[#2A2A2A] text-white/80 transition-colors hover:bg-[#383838] hover:text-white focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#FEB000] focus-visible:ring-offset-4 focus-visible:ring-offset-[#0A0A0A]",children:t.jsx(F,{"aria-hidden":"true",className:"h-4 w-4",strokeWidth:1.7})}),t.jsx("button",{type:"button","aria-label":e("page.franchisor.testimonials.next_aria"),onClick:()=>g(1),className:"grid h-8 w-8 place-items-center rounded-full bg-[#2A2A2A] text-white/80 transition-colors hover:bg-[#383838] hover:text-white focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#FEB000] focus-visible:ring-offset-4 focus-visible:ring-offset-[#0A0A0A]",children:t.jsx(L,{"aria-hidden":"true",className:"h-4 w-4",strokeWidth:1.7})})]})]})}export{De as TestimonialsSection};

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.