1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,19956,e=>{"use strict";var t=e.i(43476),r=e.i(71645),n=e.i(9264),a=e.i(46835),s=e.i(14777),l=e=>{if("touches"in e){let t=e.touches[0]??e.changedTouches[0];return t?{x:t.clientX,y:t.clientY}:void 0}return{x:e.clientX,y:e.clientY}};let i=(0,e.i(56420).default)("star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);var o=e.i(99676),u=e.i(52245);let c=r.forwardRef(function(e,t){let{className:r,render:n,orientation:a="horizontal",style:s,...l}=e;return(0,u.useRenderElement)("div",e,{state:{orientation:a},ref:t,props:[{role:"separator","aria-orientation":a},l]})});var d=e.i(51360);function f({className:e,orientation:r="horizontal",...n}){return(0,t.jsx)(c,{"data-slot":"separator",orientation:r,className:(0,d.cn)("shrink-0 bg-border data-horizontal:h-px data-horizontal:w-full data-vertical:w-px data-vertical:self-stretch",e),...n})}let m=[];e.s(["AnimatedTestimonials",0,function({title:e="ÐÑиÑоединÑйÑеÑÑ Ðº наÑÐµÐ¼Ñ ÑообÑеÑÑвÑ",subtitle:u="Ðе веÑÑÑе нам на Ñлово. ÐоÑмоÑÑиÑе, ÑÑо говоÑÑÑ Ð´ÑÑгие игÑоки о наÑем ÑообÑеÑÑве.",badgeText:c="Ðам довеÑÑÑÑ Ð¸Ð³Ñоки",testimonials:d=m,autoRotateInterval:h=6e3,className:v}){let[p,g]=(0,r.useState)({activeIndex:0,progress:0}),x=(0,r.useRef)(!1),w=(0,r.useRef)(0),b=p.activeIndex,j=p.progress,y=(0,r.useRef)(null),E=()=>{y.current&&(cancelAnimationFrame(y.current),y.current=null)},N=(0,r.useCallback)(()=>{if(E(),x.current||h<=0||d.length<=1)return;let e=performance.now()-w.current/100*h,t=r=>{if(x.current)return;let n=Math.min((r-e)/h*100,100);w.current=n,n>=100?(w.current=0,g(e=>({activeIndex:(e.activeIndex+1)%d.length,progress:0}))):(g(e=>({...e,progress:n})),y.current=requestAnimationFrame(t))};y.current=requestAnimationFrame(t)},[h,d.length]);(0,r.useEffect)(()=>(N(),()=>{E()}),[b,N]);let L=(0,r.useCallback)(e=>{d.length<=1||(w.current=0,g(t=>({activeIndex:(t.activeIndex+e+d.length)%d.length,progress:0})))},[d.length]),R=((...e)=>{let t=(0,n.isTarget)(e[0])?e[0]:void 0,i=t?"function"==typeof e[1]?{...e[2],onMove:e[1]}:e[1]:"function"==typeof e[0]?{...e[1],onMove:e[0]}:e[0],[o,u]=(0,r.useState)(!1),c=(0,a.useRefState)(),d=(0,r.useRef)({direction:"none",lengthX:0,lengthY:0}),f=(0,r.useRef)(!1),m=(0,r.useRef)(!1),h=(0,s.useRerender)(),v=(0,r.useRef)(i);v.current=i;let p=()=>(m.current=!0,d.current);return(0,r.useEffect)(()=>{if(!t&&!c.state)return;let e=t?n.isTarget.getElement(t):c.current;if(!e)return;let r,a=(e,t)=>{let r=Math.abs(e),n=Math.abs(t);return Math.max(r,n)<(v.current?.threshold??50)?"none":r>n?e>0?"left":"right":t>0?"up":"down"},s=e=>{if(f.current)return;let t=l(e);if(!t)return;r=t;let n={direction:"none",lengthX:0,lengthY:0};f.current=!0,u(!0),d.current=n,v.current?.onStart?.(n,e),m.current&&h()},i=e=>{if(!f.current||!r)return;let t=l(e);if(!t)return;let n=r.x-t.x,s=r.y-t.y;d.current={direction:a(n,s),lengthX:n,lengthY:s},v.current?.onMove?.(d.current,e),m.current&&h()},o=e=>{if(!f.current||!r)return;let t=l(e),n=t?r.x-t.x:d.current.lengthX,s=t?r.y-t.y:d.current.lengthY,i={direction:a(n,s),lengthX:n,lengthY:s};f.current=!1,u(!1),d.current=i,v.current?.onEnd?.(i,e),m.current&&h(),r=void 0},p=e=>{e.isPrimary&&s(e)},g=e=>i(e),x=e=>o(e),w=e=>s(e),b=e=>i(e),j=e=>o(e);return e.addEventListener("pointerdown",p),window.addEventListener("pointermove",g),window.addEventListener("pointerup",x),window.addEventListener("pointercancel",x),e.addEventListener("touchstart",w),window.addEventListener("touchmove",b),window.addEventListener("touchend",j),window.addEventListener("touchcancel",j),()=>{e.removeEventListener("pointerdown",p),window.removeEventListener("pointermove",g),window.removeEventListener("pointerup",x),window.removeEventListener("pointercancel",x),e.removeEventListener("touchstart",w),window.removeEventListener("touchmove",b),window.removeEventListener("touchend",j),window.removeEventListener("touchcancel",j)}},[t&&n.isTarget.getRawElement(t),c.state]),t?{swiping:o,snapshot:d.current,watch:p}:{ref:c,swiping:o,snapshot:d.current,watch:p}})({threshold:50,onEnd:e=>{"left"===e.direction?L(-1):"right"===e.direction&&L(1)}});return 0===d.length?null:(0,t.jsx)("section",{id:"testimonials",className:`overflow-hidden py-24 ${v||""}`,children:(0,t.jsx)("div",{className:"px-4 md:pr-6",children:(0,t.jsxs)("div",{className:"grid w-full grid-cols-1 gap-16 md:grid-cols-2 lg:gap-24",children:[(0,t.jsx)("div",{className:"flex flex-col justify-center",children:(0,t.jsxs)("div",{className:"space-y-6",children:[c&&(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:c}),(0,t.jsx)("h2",{className:"text-2xl font-semibold sm:text-3xl",children:e}),(0,t.jsx)("p",{className:"max-w-[600px] md:text-lg/relaxed",children:u}),(0,t.jsx)("div",{className:"flex items-center justify-center gap-3 pt-4 lg:justify-start",children:d.map((e,r)=>{let n=b===r;return(0,t.jsx)("button",{type:"button",onClick:()=>{w.current=0,g({activeIndex:r,progress:0})},className:`relative h-4 overflow-hidden rounded-full transition-all duration-300 ${n?"w-10 bg-muted-foreground
1/30":"w-4 bg-muted-foreground/30"}`,"aria-label":`ÐоÑмоÑÑеÑÑ Ð¾ÑзÑв ${r+1}`,children:n&&d.length>1&&h>0&&(0,t.jsx)("div",{className:"absolute top-0 left-0 h-full bg-primary",style:{width:`${j}%`}})},e.name)})})]})}),(0,t.jsxs)("div",{ref:R.ref,className:"relative h-fit w-full",style:{touchAction:"pan-y"},onMouseEnter:()=>{x.current=!0,E()},onMouseLeave:()=>{x.current=!1,N()},children:[d.map((e,r)=>(0,t.jsx)("div",{className:`transition-all duration-500 ease-in-out ${b===r?"translate-x-0 scale-100 opacity-100":"translate-x-6 scale-95 opacity-0"}`,style:{position:b===r?"relative":"absolute",inset:0,zIndex:10*(b===r),pointerEvents:b===r?"auto":"none"},children:(0,t.jsxs)("div",{className:"flex min-h-[280px] w-full flex-col rounded-xl bg-card p-6 shadow-lg transition-transform duration-500 md:min-h-[350px]",children:[(0,t.jsx)("div",{className:"mb-6 flex gap-2",children:Array.from({length:e.rating}).map((e,r)=>(0,t.jsx)(i,{className:"size-5 fill-yellow-500 text-yellow-500"},r))}),(0,t.jsx)("p",{className:"mb-6 text-base leading-relaxed font-medium wrap-break-word",children:e.content}),(0,t.jsxs)("div",{className:"mt-auto",children:[(0,t.jsx)(f,{className:"my-4"}),(0,t.jsxs)("div",{className:"flex items-center gap-4",children:[(0,t.jsxs)(o.Avatar,{className:"size-12 border border-border",children:[(0,t.jsx)(o.AvatarImage,{src:e.avatar,alt:e.name,fetchPriority:"low",loading:"lazy"}),(0,t.jsx)(o.AvatarFallback,{children:e.name.charAt(0)})]}),(0,t.jsx)("h3",{className:"font-semibold",children:e.name})]})]})]})},e.name)),(0,t.jsx)("div",{className:"absolute -bottom-6 -left-6 size-24 rounded-xl bg-primary/15"}),(0,t.jsx)("div",{className:"absolute -top-6 -right-6 size-24 rounded-xl bg-primary/15"})]})]})})})}],19956)},99676,e=>{"use strict";var t=e.i(43476);e.s([],4824),e.i(4824);var r=e.i(71645),n=e.i(52245),a=e.i(33332);let s=r.createContext(void 0);function l(){let e=r.useContext(s);if(void 0===e)throw Error((0,a.default)(13));return e}let i={imageLoadingStatus:()=>null},o=r.forwardRef(function(e,a){let{className:l,render:o,style:u,...c}=e,[d,f]=r.useState("idle"),m=r.useMemo(()=>({imageLoadingStatus:d,setImageLoadingStatus:f}),[d,f]),h=(0,n.useRenderElement)("span",e,{state:{imageLoadingStatus:d},ref:a,props:c,stateAttributesMapping:i});return(0,t.jsx)(s.Provider,{value:m,children:h})});var u=e.i(67865),c=e.i(46376),d=e.i(37584),f=e.i(9407),m=e.i(23910),h=e.i(56789);let v={...i,...f.transitionStatusMapping},p=r.forwardRef(function(e,t){let{className:a,render:s,onLoadingStatusChange:i,style:o,...f}=e,{setImageLoadingStatus:p}=l(),g=function(e,{referrerPolicy:t,crossOrigin:n,sizes:a,srcSet:s}){let[l,i]=r.useState("idle");return(0,c.useIsoLayoutEffect)(()=>{if(!e&&!s)return i("error"),h.NOOP;let r=!0,l=new window.Image,o=e=>()=>{r&&i(e)};return i("loading"),l.onload=o("loaded"),l.onerror=o("error"),t&&(l.referrerPolicy=t),l.crossOrigin=n??null,a&&(l.sizes=a),s&&(l.srcset=s),e&&(l.src=e),l.complete&&i(l.naturalWidth>0?"loaded":"error"),()=>{r=!1}},[e,s,a,n,t]),l}(f.src,f),x="loaded"===g,{mounted:w,transitionStatus:b,setMounted:j}=(0,m.useTransitionStatus)(x),y=r.useRef(null),E=(0,u.useStableCallback)(e=>{i?.(e),p(e)});(0,c.useIsoLayoutEffect)(()=>{"idle"!==g&&E(g)},[g,E]),(0,c.useIsoLayoutEffect)(()=>()=>p("idle"),[p]),(0,d.useOpenChangeComplete)({open:x,ref:y,onComplete(){x||j(!1)}});let N=(0,n.useRenderElement)("img",e,{state:{imageLoadingStatus:g,transitionStatus:b},ref:[t,y],props:f,stateAttributesMapping:v,enabled:w});return w?N:null});var g=e.i(39957);let x=r.forwardRef(function(e,t){let{className:a,render:s,delay:o=0,style:u,...c}=e,{imageLoadingStatus:d}=l(),[f,m]=r.useState(0===o),h=(0,g.useTimeout)();return r.useEffect(()=>(o>0?h.start(o,()=>m(!0)):m(!0),h.clear),[h,o]),(0,n.useRenderElement)("span",e,{state:{imageLoadingStatus:d},ref:t,props:c,stateAttributesMapping:i,enabled:"loaded"!==d&&(0===o||f)})});e.s(["Fallback",0,x,"Image",0,p,"Root",0,o],14751);var w=e.i(14751),w=w,b=e.i(51360);e.s(["Avatar",0,function({className:e,size:r="default",...n}){return(0,t.jsx)(w.Root,{"data-slot":"avatar","data-size":r,className:(0,b.cn)("group/avatar relative flex size-8 shrink-0 rounded-full select-none after:absolute after:inset-0 after:rounded-full after:border after:border-border after:mix-blend-darken data-[size=lg]:size-10 data-[size=sm]:size-6 dark:after:mix-blend-lighten",e),...n})},"AvatarFallback",0,function({className:e,...r}){return(0,t.jsx)(w.Fallback,{"data-slot":"avatar-fallback",className:(0,b.cn)("flex size-full items-center justify-center rounded-full bg-muted text-xs text-muted-foreground group-data-[size=sm]/avatar:text-xs",e),...r})},"AvatarImage",0,function({className:e,...r}){return(0,t.jsx)(w.Image,{"data-slot":"avatar-image",className:(0,b.cn)("aspect-square size-full rounded-full object-cover",e),...r})}],99676)}]);
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.