1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,63174,e=>{"use strict";var t,r,n,l,i=e.i(91788);let a="carousel",o="controller",u="portal",s="toolbar",c="loading",d="error",f="complete",h=e=>`active-slide-${e}`;h(c),h("playing"),h(d),h(f);let p="flex_center",m="no_scroll_padding",g="slide",v="prev",x="next",w="swipe",b="close",E="onPointerDown",y="onPointerMove",N="onPointerUp",C="onPointerLeave",M="onPointerCancel",P="onKeyDown",L="onWheel",S="icon",j="contain",R="cover";var k=e.i(30943);let I="yarl__";function $(...e){return e.filter(Boolean).join(" ")}function A(e){return`${I}${e}`}function O(e){return`--${I}${e}`}function T(e,t){return`${e}${t?`_${t}`:""}`}function _(e){return t=>T(e,t)}function D(e,t){var r;return null!=(r=null==e?void 0:e[t])?r:t}function F(...e){return()=>{e.forEach(e=>{e()})}}function W(e,t,r){return()=>{let n=i.useContext(r);if(!n)throw Error(`${e} must be used within a ${t}.Provider`);return n}}function U(){return"u">typeof window}function B(e){return void 0===e.type||"image"===e.type}function z(e){return"string"==typeof e?Number.parseInt(e,10):e}function H(e){if("number"==typeof e)return{pixel:e};if("string"==typeof e){let t=z(e);return e.endsWith("%")?{percent:t}:{pixel:t}}return{pixel:0}}function X(e,t){return t>0?(e%t+t)%t:0}function V(e,t){return e[X(t,e.length)]}function G(e,t){return e.length>0?V(e,t):void 0}let K=Number(i.version.split(".")[0])>
1=19,Y={open:!1,close:()=>{},index:0,slides:[],render:{},plugins:[],toolbar:{buttons:[b]},labels:{},animation:{fade:250,swipe:500,easing:{fade:"ease",swipe:"ease-out",navigation:"ease-in-out"}},carousel:{finite:!1,preload:2,padding:"16px",spacing:"30%",imageFit:j,imageProps:{}},controller:{ref:null,focus:!0,aria:!1,touchAction:"none",closeOnPullUp:!1,closeOnPullDown:!1,closeOnBackdropClick:!1,closeOnEscape:!0,preventDefaultWheelX:!0,preventDefaultWheelY:!1,disableSwipeNavigation:!1},portal:{},noScroll:{disabled:!1},on:{},styles:{},className:""};function q(e,t){return{name:e,component:t}}function Z(e,t){return{module:e,children:t}}function J(e,t,r){return e.flatMap(e=>{var n;return null!=(n=function e(t,r,n){return t.module.name===r?n(t):t.children?[Z(t.module,t.children.flatMap(t=>{var l;return null!=(l=e(t,r,n))?l:[]}))]:[t]}(e,t,r))?n:[]})}let Q=i.createContext(null),ee=W("useA11yContext","A11yContext",Q);function et({children:e}){let[t,r]=i.useState(!1),[n,l]=i.useState(!1),a=i.useMemo(()=>({focusWithin:t,trackFocusWithin:(e,t)=>{let n=n=>l=>{var i;l.currentTarget.contains(l.relatedTarget)||r(n),null==(i=n?e:t)||i(l)};return{onFocus:n(!0),onBlur:n(!1)}},autoPlaying:n,setAutoPlaying:l}),[t,n]);return i.createElement(Q.Provider,{value:a},e)}let er=i.createContext(null),en=W("useDocument","DocumentContext",er);function el({nodeRef:e,children:t}){let r=i.useMemo(()=>{let t=t=>{var r;return(null==(r=t||e.current)?void 0:r.ownerDocument)||document};return{getOwnerDocument:t,getOwnerWindow:e=>{var r;return(null==(r=t(e))?void 0:r.defaultView)||window}}},[e]);return i.createElement(er.Provider,{value:r},t)}let ei=i.createContext(null),ea=W("useEvents","EventsContext",ei);function eo({children:e}){let[t]=i.useState({});i.useEffect(()=>()=>{Object.keys(t).forEach(e=>delete t[e])},[t]);let r=i.useMemo(()=>{let e=(e,r)=>{var n;null==(n=t[e])||n.splice(0,t[e].length,...t[e].filter(e=>e!==r))};return{publish:(...[e,r])=>{var n;null==(n=t[e])||n.forEach(e=>e(r))},subscribe:(r,n)=>(t[r]||(t[r]=[]),t[r].push(n),()=>e(r,n)),unsubscribe:e}},[t]);return i.createElement(ei.Provider,{value:r},e)}let eu=i.createContext(null),es=W("useLightboxProps","LightboxPropsContext",eu);function ec({children:e,...t}){return i.createElement(eu.Provider,{value:t},e)}let ed=i.createContext(null),ef=W("useLightboxState","LightboxStateContext",ed),eh=i.createContext(null),ep=W("useLightboxDispatch","LightboxDispatchContext",eh);function em(e,t){switch(t.type){case"swipe":{let{slides:r}=e,n=(null==t?void 0:t.increment)||0,l=e.globalIndex+n,i=X(l,r.length),a=G(r,i);return{slides:r,currentIndex:i,globalIndex:l,currentSlide:a,animation:n||void 0!==t.duration?{increment:n,duration:t.duration,easing:t.easing}:void 0}}case"update":if(t.slides!==e.slides||t.index!==e.currentIndex)return{slides:t.slides,currentIndex:t.index,globalIndex:t.index,currentSlide:G(t.slides,t.index)};return e;default:throw Error("Unknown action type")}}function eg({slides:e,index:t,children:r}){let[n,l]=i.useReducer(em,{slides:e,currentIndex:t,globalIndex:t,currentSlide:G(e,t)}),[a,o]=i.useState(e),[u,s]=i.useState(t);(e!==a||t!==u)&&(o(e),s(t),l({type:"update",slides:e,index:t}));let c=i.useMemo(()=>({...n,state:n,dispatch:l}),[n,l]);return i.createElement(eh.Provider,{value:l},i.createElement(ed.Provider,{value:c},r))}let ev=i.createContext(null),ex=W("useRTLContext","RTLContext",ev);function ew({isRTL:e,children:t}){let r=i.useMemo(()=>({isRTL:e}),[e]);return i.createElement(ev.Provider,{value:r},t)}let eb=i.createContext(null),eE=W("useTimeouts","TimeoutsContext",eb);function ey({children:e}){let[t]=i.useState([]);i.useEffect(()=>()=>{t.forEach(e=>window.clearTimeout(e)),t.splice(0,t.length)},[t]);let r=i.useMemo(()=>{let e=e=>{t.splice(0,t.length,...t.filter(t=>t!==e))};return{setTimeout:(r,n)=>{let l=window.setTimeout(()=>{e(l),r()},n);return t.push(l),l},clearTimeout:t=>{void 0!==t&&(e(t),window.clearTimeout(t))}}},[t]);return i.createElement(eb.Provider,{value:r},e)}let eN=i.forwardRef(function({label:e,className:t,icon:r,renderIcon:n,onClick:l,style:a,...o},u){let{styles:s,labels:c}=es(),d=D(c,e);return i.createElement("button",{ref:u,type:"button",title:d,"aria-label":d,className:$(A("button"),t),onClick:l,style:{...a,...s.button},...o},n?n():i.createElement(r,{className:A(S),style:s.icon}))});function eC(e,t){var r;let n;return r=i.createElement("g",{fill:"currentColor"},i.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),t),(n=e=>i.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true",focusable:"false",...e},r)).displayName=e,n}let eM=eC("Close",i.createElement("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})),eP=eC("Previous",i.createElement("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"})),eL=eC("Next",i.createElement("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"})),eS=eC("Loading",i.createElement(i.Fragment,null,Array.from({length:8}).map((e,t,r)=>i.createElement("line",{key:t,x1:"12",y1:"6.5",x2:"12",y2:"1.8",strokeLinecap:"round",strokeWidth:"2.6",stroke:"currentColor",strokeOpacity:1/r.length*(t+1),transform:`rotate(${360/r.length*t}, 12, 12)`})))),ej=eC("Error",i.createElement("path",{d:"M21.9,21.9l-8.49-8.49l0,0L3.59,3.59l0,0L2.1,2.1L0.69,3.51L3,5.83V19c0,1.1,0.9,2,2,2h13.17l2.31,2.31L21.9,21.9z M5,18 l3.5-4.5l2.5,3.01L12.17,15l3,3H5z M21,18.17L5.83,3H19c1.1,0,2,0.9,2,2V18.17z"})),eR=U()?i.useLayoutEffect:i.useEffect;function ek(){let[e,t]=i.useState(!1);return i.useEffect(()=>{var e,r;let n=null==(e=window.matchMedia)?void 0:e.call(window,"(prefers-reduced-motion: reduce)");t(null==n?void 0:n.matches);let l=e=>t(e.matches);return null==(r=null==n?void 0:n.addEventListener)||r.call(n,"change",l),()=>{var e;return null==(e=null==n?void 0:n.removeEventListener)?void 0:e.call(n,"change",l)}},[]),e}function eI(e,t){let r=i.useRef(void 0),n=i.useRef(void 0),l=ek();return eR(()=>{var i,a,o;if(e.current&&void 0!==r.current&&!l){let{keyframes:l,duration:u,easing:s,onfinish:c}=t(r.current,e.current.getBoundingClientRect(),function(e){let t=0,r=0,n=0,l=window.getComputedStyle(e).transform.match(/matrix.*\((.+)\)/);if(l){let e=l[1].split(",").map(z);6===e.length?(t=e[4],r=e[5]):16===e.length&&(t=e[12],r=e[13],n=e[14])}return{x:t,y:r,z:n}}(e.current))||{};if(l&&u){null==(i=n.current)||i.cancel(),n.current=void 0;try{n.current=null==(o=(a=e.current).animate)?void 0:o.call(a,l,{duration:u,easing:s})}catch(e){console.error(e)}n.current&&(n.current.onfinish=()=>{n.current=void 0,null==c||c()})}}r.current=void 0}),{prepareAnimation:e=>{r.current=e},isAnimationPlaying:()=>{var e;return(null==(e=n.current)?void 0:e.playState)==="running"}}}function e$(){let e=i.useRef(null),t=i.useRef(void 0),[r,n]=i.useState();return{setContainerRef:i.useCallback(r=>{e.current=r,t.current&&(t.current.disconnect(),t.current=void 0);let l=()=>{if(r){let e=window.getComputedStyle(r);n({width:Math.round(r.clientWidth-(parseFloat(e.paddingLeft)||0)-(parseFloat(e.paddingRight)||0)),height:Math.round(r.clientHeight-(parseFloat(e.paddingTop)||0)-(parseFloat(e.paddingBottom)||
10))})}else n(void 0)};l(),r&&"u">typeof ResizeObserver&&(t.current=new ResizeObserver(l),t.current.observe(r))},[]),containerRef:e,containerRect:r}}function eA(){let e=i.useRef(void 0),{setTimeout:t,clearTimeout:r}=eE();return i.useCallback((n,l)=>{r(e.current),e.current=t(n,l>0?l:0)},[t,r])}function eO(e){let t=i.useRef(e);return eR(()=>{t.current=e}),i.useCallback((...e)=>{var r;return null==(r=t.current)?void 0:r.call(t,...e)},[])}function eT(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function e_(e,t){return i.useMemo(()=>null==e&&null==t?null:r=>{eT(e,r),eT(t,r)},[e,t])}function eD(){return ex().isRTL}function eF(e,t){let r=i.useRef(0),n=eA(),l=eO((...t)=>{r.current=Date.now(),e(...t)});return i.useCallback((...e)=>{n(()=>{l(...e)},t-(Date.now()-r.current))},[t,l,n])}let eW=_("slide"),eU=_("slide_image");function eB({slide:e,offset:t,render:r,rect:n,imageFit:l,imageProps:a,onClick:o,onLoad:u,onError:s,style:p}){var m,g,v,x,w,b,E,y;let[N,C]=i.useState(c),{publish:M}=ea(),{setTimeout:P}=eE(),L=i.useRef(null);i.useEffect(()=>{0===t&&M(h(N))},[t,N,M]);let k=eO(e=>{("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{e.parentNode&&(C(f),P(()=>{null==u||u(e)},0))})}),I=i.useCallback(e=>{L.current=e,(null==e?void 0:e.complete)&&k(e)},[k]),O=i.useCallback(e=>{k(e.currentTarget)},[k]),T=eO(()=>{C(d),null==s||s()}),_=e.imageFit===R||e.imageFit!==j&&l===R,D=(e,t)=>Number.isFinite(e)?e:t,F=D(Math.max(...(null!=(g=null==(m=e.srcSet)?void 0:m.map(e=>e.width))?g:[]).concat(e.width?[e.width]:[]).filter(Boolean)),(null==(v=L.current)?void 0:v.naturalWidth)||0),W=D(Math.max(...(null!=(w=null==(x=e.srcSet)?void 0:x.map(e=>e.height))?w:[]).concat(e.height?[e.height]:[]).filter(Boolean)),(null==(b=L.current)?void 0:b.naturalHeight)||0),B=F&&W?{maxWidth:`min(${F}px, 100%)`,maxHeight:`min(${W}px, 100%)`}:{maxWidth:"100%",maxHeight:"100%"},z=null==(E=e.srcSet)?void 0:E.slice().sort((e,t)=>e.width-t.width).map(e=>`${e.src}
1 ${e.width}w`).join(", "),H=z&&n&&U()?`${Math.round(Math.min(n&&!_&&e.width&&e.height?n.height/e.height*e.width:Number.MAX_VALUE,n.width))}px`:void 0,{style:X,className:V,...G}=("function"==typeof a?a(e):a)||{};return i.createElement(i.Fragment,null,i.createElement("img",{ref:I,onLoad:O,onError:T,onClick:o,draggable:!1,className:$(A(eU()),_&&A(eU("cover")),N!==f&&A(eU("loading")),V),style:{...B,...p,...X},...G,alt:null!=(y=e.alt)?y:"",sizes:H,srcSet:z,src:e.src}),N!==f&&i.createElement("div",{className:A(eW("placeholder"))},N===c&&((null==r?void 0:r.iconLoading)?r.iconLoading():i.createElement(eS,{className:$(A(S),A(eW(c)))})),N===d&&((null==r?void 0:r.iconError)?r.iconError():i.createElement(ej,{className:$(A(S),A(eW(d)))}))))}let ez=i.forwardRef(function({className:e,children:t,onFocus:r,onBlur:n,...l},a){let o=i.useRef(null),[u,s]=i.useState(!1),{trackFocusWithin:c}=ee(),d=eO(()=>{if(o.current){let e="rtl"===window.getComputedStyle(o.current).direction;e!==u&&s(e)}});return i.useEffect(d),i.createElement(el,{nodeRef:o},i.createElement(ew,{isRTL:u},i.createElement("div",{ref:e_(a,o),className:$(A("root"),e),...c(r,n),...l},t)))});(t=n||(n={}))[t.NONE=0]="NONE",t[t.SWIPE=1]="SWIPE",t[t.PULL=2]="PULL",t[t.ANIMATION=3]="ANIMATION",(r=l||(l={}))[r.NONE=0]="NONE",r[r.SWIPE=1]="SWIPE",r[r.PULL=2]="PULL";let eH=_("container"),eX=i.createContext(null),eV=W("useController","ControllerContext",eX),eG=q(o,function({children:e,...t}){var r;let{carousel:a,animation:o,controller:s,on:c,styles:d,render:f}=t,{closeOnPullUp:h,closeOnPullDown:m,preventDefaultWheelX:S,preventDefaultWheelY:j}=s,[R,k]=i.useState(),I=ef(),T=ep(),[_,D]=i.useState(n.NONE),W=i.useRef(0),U=i.useRef(0),B=i.useRef(1),{registerSensors:z,subscribeSensors:X}=function(){let[e]=i.useState({}),t=i.useCallback((t,r)=>{var n;null==(n=e[t])||n.forEach(e=>{r.isPropagationStopped()||e(r)})},[e]);return{registerSensors:i.useMemo(()=>({onPointerDown:e=>t(E,e),onPointerMove:e=>t(y,e),onPointerUp:e=>t(N,e),onPointerLeave:e=>t(C,e),onPointerCancel:e=>t(M,e),onKeyDown:e=>t(P,e),onKeyUp:e=>t("onKeyUp",e),onWheel:e=>t(L,e)}),[t]),subscribeSensors:i.useCallback((t,r)=>(e[t]||(e[t]=[]),e[t].unshift(r),()=>{let n=e[t];n&&n.splice(0,n.length,...n.filter(e=>e!==r))}),[e])}}(),{subscribe:V,publish:G}=ea(),K=eA(),Y=eA(),q=eA(),{containerRef:Z,setContainerRef:J,containerRect:Q}=e$(),ee=e_(function({preventDefaultWheelX:e,preventDefaultWheelY:t}){let r=i.useRef(null),n=eO(r=>{let n=Math.abs(r.deltaX)>Math.abs(r.deltaY);(n&&e||!n&&t||r.ctrlKey)&&r.preventDefault()});return i.useCallback(e=>{var t;e?e.addEventListener("wheel",n,{passive:!1}):null==(t=r.current)||t.removeEventListener("wheel",n),r.current=e},[n])}({preventDefaultWheelX:S,preventDefaultWheelY:j}),J),et=i.useRef(null),er=e_(et,void 0),{getOwnerDocument:el}=en(),ei=eD(),eo=e=>(ei?-1:1)*("number"==typeof e?e:1),eu=eO(()=>{var e;return null==(e=Z.current)?void 0:e.focus()}),es=eO(()=>t),ec=eO(()=>I),ed=i.useCallback(e=>G(v,e),[G]),eh=i.useCallback(e=>G(x,e),[G]),em=i.useCallback(()=>G(b),[G]),eg=e=>!(a.finite&&(eo(e)>0&&0===I.currentIndex||0>eo(e)&&I.currentIndex===I.slides.length-1)),ev=e=>{var t;W.current=e,null==(t=Z.current)||t.style.setProperty(O("swipe_offset"),`${Math.round(e)}px`)},ex=e=>{var t,r;U.current=e,B.current=Math.min(Math.max(function(e,t=0){let r=10**t;return Math.round((e+Number.EPSILON)*r)/r}(1-(m&&e>0?e:h&&e<0?-e:0)/60*.5,2),.5),1),null==(t=Z.current)||t.style.setProperty(O("pull_offset"),`${Math.round(e)}px`),null==(r=Z.current)||r.style.setProperty(O("pull_opacity"),`${B.current}`)},{prepareAnimation:ew}=eI(et,(e,t,r)=>{if(et.current&&Q)return{keyframes:[{transform:`translate(0, ${e.rect.y-t.y+r.y}px)`,opacity:e.opacity},{transform:"translate(0, 0)",opacity:1}],duration:e.duration,easing:o.easing.fade}}),eb=(e,t)=>{if(h||m){ex(e);let r=0;et.current&&(r=o.fade*(t?2:1),ew({rect:et.current.getBoundingClientRect(),opacity:B.current,duration:r})),q(()=>{ex(0),D(n.NONE)},r),D(n.ANIMATION),t||em()}},{prepareAnimation:ey,isAnimationPlaying:eN}=eI(et,(e,t,r)=>{var n;if(et.current&&Q&&(null==(n=I.animation)?void 0:n.duration)){let n=H(a.spacing),l=(n.percent?n.percent*Q.width/100:n.pixel)||0;return{keyframes:[{transform:`translate(${eo(I.globalIndex-e.index)*(Q.width+l)+e.rect.x-t.x+r.x}px, 0)`},{transform:"translate(0, 0)"}],duration:I.animation.duration,easing:I.animation.easing}}}),eC=eO(e=>{var t,r;let l=e.offset||0,i=l?o.swipe:null!=(t=o.navigation)?t:o.swipe,a=l||eN()?o.easing.swipe:o.easing.navigation,{direction:u}=e,s=null!=(r=e.count)?r:1,c=n.ANIMATION,d=i*s;if(!u){let t=null==Q?void 0:Q.width,r=e.duration||0,n=t?i/t*Math.abs(l):i;0!==s?(r<n?d=d/n*Math.max(r,n/5):t&&(d=i/t*(t-Math.abs(l))),u=eo(l)>0?v:x):d=i/2}let f=0;u===v?eg(eo(1))?f=-s:(c=n.NONE,d=i):u===x&&(eg(eo(-1))?f=s:(c=n.NONE,d=i)),Y(()=>{ev(0),D(n.NONE)},d=Math.round(d)),et.current&&ey({rect:et.current.getBoundingClientRect(),index:I.globalIndex}),D(c),G(w,{type:"swipe",increment:f,duration:d,easing:a})});i.useEffect(()=>{var e,t;(null==(e=I.animation)?void 0:e.increment)&&(null==(t=I.animation)?void 0:t.duration)&&K(()=>T({type:"swipe",increment:0}),I.animation.duration)},[I.animation,T,K]);let eM=[X,eg,(null==Q?void 0:Q.width)||0,o.swipe,()=>D(n.SWIPE),e=>ev(e),(e,t)=>eC({offset:e,duration:t,count:1}),e=>eC({offset:e,count:0})],eP=[()=>{m&&D(n.PULL)},e=>ex(e),e=>eb(e),e=>eb(e,!0)];!function({disableSwipeNavigation:e,closeOnBackdropClick:t},r,n,a,o,u,s,c,d,f,h,p,m,v,x,w){let b=i.useRef(0),P=i.useRef([]),L=i.useRef(void 0),S=i.useRef(0),j=i.useRef(l.NONE),R=i.useCallback(e=>{L.current===e.pointerId&&(L.current=void 0,j.current=l.NONE);let t=P.current;t.splice(0,t.length,...t.filter(t=>t.pointerId!==e.pointerId))},[]),k=i.useCallback(e=>{R(e),e.persist(),P.current.push(e)},[R]),I=i.useCallback(e=>P.current.find(({pointerId:t})=>e.pointerId===t),[]),$=eO(e=>{k(e)}),O=(e,t)=>h&&e>t||f&&e<-t,T=eO(e=>{let r=I(e);if(r)if(L.current===e.pointerId){let e=Date.now()-S.current,t=b.current;j.current===l.SWIPE?Math.abs(t)>.3*a||Math.abs(t)>5&&e<o?c(t,e):d(t):j.current===l.PULL&&(O(t,60)?v(t,e):x(t)),b.current=0,j.current=l.NONE}else{let{target:n}=e;t&&n instanceof HTMLElement&&n===r.target&&(n.classList.contains(A(g))||n.classList.contains(A("slide_wrapper")))&&w()}R(e)}),_=eO(t=>{let r=I(t);if(r){let i=L.current===t.pointerId;if(0===t.buttons)return void(i&&0!==b.current?T(t):R(r));let a=t.clientX-r.clientX,o=t.clientY-r.clientY;if(void 0===L.current){let r=e=>{k(t),L.current=t.pointerId,S.current=Date.now(),j.current=e};Math.abs(a)>Math.abs(o)&&Math.abs(a)>
130&&n(a)?e||(r(l.SWIPE),u()):Math.abs(o)>Math.abs(a)&&O(o,30)&&(r(l.PULL),p())}else i&&(j.current===l.SWIPE?(b.current=a,s(a)):j.current===l.PULL&&(b.current=o,m(o)))}});i.useEffect(()=>F(r(E,$),r(y,_),r(N,T),r(C,T),r(M,T)),[r,$,_,T,void 0])}(s,...eM,h,m,...eP,em),function(e,t,r,l,a,o,u,s,c){let d=i.useRef(0),f=i.useRef(0),h=i.useRef(void 0),p=i.useRef(void 0),m=i.useRef(0),g=i.useRef(void 0),v=i.useRef(0),{setTimeout:x,clearTimeout:w}=eE(),b=i.useCallback(()=>{h.current&&(w(h.current),h.current=void 0)},[w]),E=i.useCallback(()=>{p.current&&(w(p.current),p.current=void 0)},[w]),y=eO(()=>{e!==n.SWIPE&&(d.current=0,v.current=0,b(),E())});i.useEffect(y,[e,y]);let N=eO(e=>{p.current=void 0,d.current===e&&c(d.current)}),C=eO(t=>{if(t.ctrlKey||Math.abs(t.deltaY)>Math.abs(t.deltaX))return;let i=e=>{m.current=e,w(g.current),g.current=e>0?x(()=>{m.current=0,g.current=void 0},300):void 0};if(e===n.NONE){if(Math.abs(t.deltaX)<=1.2*Math.abs(m.current))return void i(t.deltaX);if(!r(-t.deltaX))return;if(f.current+=t.deltaX,b(),Math.abs(f.current)>30)f.current=0,i(0),v.current=Date.now(),o();else{let e=f.current;h.current=x(()=>{h.current=void 0,e===f.current&&(f.current=0)},a)}}else if(e===n.SWIPE){let e=d.current-t.deltaX;if(d.current=e=Math.min(Math.abs(e),l)*Math.sign(e),u(e),E(),Math.abs(e)>.2*l){i(t.deltaX),s(e,Date.now()-v.current);return}p.current=x(()=>N(e),2*a)}else i(t.deltaX)});i.useEffect(()=>t(L,C),[t,C])}(_,...eM);let eL=eO(()=>{s.focus&&el().querySelector(`.${A(u)} .${A(eH())}`)&&eu()});i.useEffect(eL,[eL]);let eS=eO(()=>{var e;null==(e=c.view)||e.call(c,{index:I.currentIndex})});i.useEffect(eS,[I.globalIndex,eS]),i.useEffect(()=>F(V(v,e=>eC({direction:v,...e})),V(x,e=>eC({direction:x,...e})),V(w,e=>T(e))),[V,eC,T]);let ej=i.useMemo(()=>{let e,t;return{prev:ed,next:eh,close:em,focus:eu,slideRect:Q?(t=void 0!==(e=H(a.padding)).percent?Q.width/100*e.percent:e.pixel,{width:Math.max(Q.width-2*t,0),height:Math.max(Q.height-2*t,0)}):{width:0,height:0},containerRect:Q||{width:0,height:0},subscribeSensors:X,containerRef:Z,setCarouselRef:er,toolbarWidth:R,setToolbarWidth:k}},[ed,eh,em,eu,X,Q,Z,er,R,k,a.padding]);return i.useImperativeHandle(s.ref,()=>({prev:ed,next:eh,close:em,focus:eu,getLightboxProps:es,getLightboxState:ec}),[ed,eh,em,eu,es,ec]),i.createElement("div",{ref:ee,className:$(A(eH()),A(p)),style:{..._===n.SWIPE?{[O("swipe_offset")]:`${Math.round(W.current)}px`}:null,..._===n.PULL?{[O("pull_offset")]:`${Math.round(U.current)}px`,[O("pull_opacity")]:`${B.current}`}:null,..."none"!==s.touchAction?{[O("controller_touch_action")]:s.touchAction}:null,...d.container},tabIndex:-1,...z},Q&&i.createElement(eX.Provider,{value:ej},e,null==(r=f.controls)?void 0:r.call(f)))});function eK({slide:e,offset:t}){var r,n,l,a,o;let u,s=i.useRef(null),{currentIndex:c,slides:d}=ef(),{slideRect:f,focus:h}=eV(),{render:m,carousel:{imageFit:v,imageProps:x},on:{click:w},styles:{slide:b},labels:E}=es(),{getOwnerDocument:y}=en(),N=0!==t;return i.useEffect(()=>{var e;N&&(null==(e=s.current)?void 0:e.contains(y().activeElement))&&h()},[N,h,y]),i.createElement("div",{ref:s,className:$(A(T(g,void 0)),!N&&A(T(g,"current")),A(p)),...{inert:K?N:N?"":void 0},style:b,role:"group","aria-roledescription":D(E,"Slide"),"aria-label":(r=c+t,D(E,"{index} of {total}").replace(/\{index}/g,`${X(r,d.length)+1}`).replace(/\{total}/g,`${d.length}`))},(!(u=null==(n=m.slide)?void 0:n.call(m,{slide:e,offset:t,rect:f}))&&B(e)&&(u=i.createElement(eB,{slide:e,offset:t,render:m,rect:f,imageFit:v,imageProps:x,onClick:N?void 0:()=>null==w?void 0:w({index:c})})),u?i.createElement(i.Fragment,null,null==(l=m.slideHeader)?void 0:l.call(m,{slide:e}),(null!=(a=m.slideContainer)?a:({children:e})=>e)({slide:e,children:u}),null==(o=m.slideFooter)?void 0:o.call(m,{slide:e})):null))}function eY(){let e=es().styles.slide;return i.createElement("div",{className:A(g),style:e})}let eq=q(a,function({carousel:e,labels:t}){let{slides:r,currentIndex:n,globalIndex:l}=ef(),{setCarouselRef:o}=eV(),{autoPlaying:u,focusWithin:s}=ee(),c=H(e.spacing),d=H(e.padding),f=function(e,t,r=0){return Math.min(e.preload,Math.max(e.finite?t.length-1:Math.floor(t.length/2),r))}(e,r,1),h=[];if(r.length>0)for(let t=n-f;t<=n+f;t+=1){let i=V(r,t),a=l-n+t,o=e.finite&&(t<0||t>r.length-1);h.push(o?{key:a}:{key:[`${a}
1`,B(i)?i.src:void 0].filter(Boolean).join("|"),offset:t-n,slide:i})}return i.createElement("div",{ref:o,className:$(A(T(a,void 0)),h.length>0&&A(T(a,"with_slides"))),style:{[`${O(T(a,"slides_count"))}`]:h.length,[`${O(T(a,"spacing_px"))}`]:c.pixel||0,[`${O(T(a,"spacing_percent"))}`]:c.percent||0,[`${O(T(a,"padding_px"))}`]:d.pixel||0,[`${O(T(a,"padding_percent"))}`]:d.percent||0},role:"region","aria-live":u&&!s?"off":"polite","aria-roledescription":D(t,"Carousel"),"aria-label":D(t,"Photo gallery")},h.map(({key:e,slide:t,offset:r})=>t?i.createElement(eK,{key:e,slide:t,offset:r}):i.createElement(eY,{key:e})))});function eZ(){let{carousel:e}=es(),{slides:t,currentIndex:r}=ef();return{prevDisabled:0===t.length||e.finite&&0===r,nextDisabled:0===t.length||e.finite&&r===t.length-1}}function eJ({label:e,icon:t,renderIcon:r,action:n,onClick:l,disabled:a,style:o}){return i.createElement(eN,{label:e,icon:t,renderIcon:r,className:A(`navigation_${n}`),disabled:a,onClick:l,style:o,...function(e,t=!1){let r=i.useRef(!1);return eR(()=>{t&&r.current&&(r.current=!1,e())},[t,e]),{onFocus:i.useCallback(()=>{r.current=!0},[]),onBlur:i.useCallback(()=>{r.current=!1},[])}}(eV().focus,a)})}let eQ=q("navigation",function({render:{buttonPrev:e,buttonNext:t,iconPrev:r,iconNext:n},styles:l}){let{prev:a,next:o,subscribeSensors:u}=eV(),{prevDisabled:s,nextDisabled:c}=eZ();return!function(e){var t;let r=eD(),{publish:n}=ea(),{animation:l,controller:a}=es(),{prevDisabled:o,nextDisabled:u}=eZ(),s=(null!=(t=l.navigation)?t:l.swipe)/2,c=eF(()=>n(v),s),d=eF(()=>n(x),s),f=eO(e=>{switch(e.key){case"Escape":if(!a.closeOnEscape)return;n(b);break;case"ArrowLeft":(r?u:o)||(r?d:c)();break;case"ArrowRight":(r?o:u)||(r?c:d)();break;default:return}e.stopPropagation()});i.useEffect(()=>e(P,f),[e,f])}(u),i.createElement(i.Fragment,null,e?e():i.createElement(eJ,{label:"Previous",action:v,icon:eP,renderIcon:r,style:l.navigationPrev,disabled:s,onClick:a}),t?t():i.createElement(eJ,{label:"Next",action:x,icon:eL,renderIcon:n,style:l.navigationNext,disabled:c,onClick:o}))}),e0=A("no_scroll"),e1=A(m);function e2(e,t,r){let n=window.getComputedStyle(e),l=r?"padding-left":"padding-right",i=r?n.paddingLeft:n.paddingRight,a=e.style.getPropertyValue(l);return e.style.setProperty(l,`${(z(i)||0)+t}px`),()=>{a?e.style.setProperty(l,a):e.style.removeProperty(l)}}let e3=q("no-scroll",function({noScroll:{disabled:e},children:t}){let r=eD(),{getOwnerDocument:n,getOwnerWindow:l}=en();return i.useEffect(()=>{if(e)return()=>{};let t=[],i=l(),{body:a,documentElement:o}=n(),u=Math.round(i.innerWidth-o.clientWidth);if(u>0){t.push(e2(a,u,r));let e=a.getElementsByTagName("*");for(let n=0;n<e.length;n+=1){let l=e[n];"style"in l&&"fixed"===i.getComputedStyle(l).getPropertyValue("position")&&!l.classList.contains(e1)&&t.push(e2(l,u,r))}}return a.classList.add(e0),()=>{a.classList.remove(e0),t.forEach(e=>e())}},[r,e,n,l]),i.createElement(i.Fragment,null,t)});function e4(e,t,r){let n=e.getAttribute(t);return e.setAttribute(t,r),()=>{n?e.setAttribute(t,n):e.removeAttribute(t)}}let e5=q(u,function({portal:{root:e,container:{className:t,style:r,...n}={}},animation:l,styles:a,className:o,on:s,close:c,labels:d,children:f}){let[h,p]=i.useState(!1),[g,v]=i.useState(!1),x=i.useRef([]),w=i.useRef(null),{setTimeout:E}=eE(),{subscribe:y}=ea(),N=ek()?0:l.fade;i.useEffect(()=>(p(!0),()=>{p(!1),v(!1)}),[]);let C=eO(()=>{x.current.forEach(e=>e()),x.current=[]}),M=eO(()=>{var e;v(!1),C(),null==(e=s.exiting)||e.call(s),E(()=>{var e;null==(e=s.exited)||e.call(s),c()},N)});i.useEffect(()=>y(b,M),[y,M]);let P=eO(e=>{var t,r,n;e.scrollTop,v(!0),null==(t=s.entering)||t.call(s);let l=null!=(n=null==(r=e.parentNode)?void 0:r.children)?n:[];for(let t=0;t<l.length;t+=1){let r=l[t];-1===["TEMPLATE","SCRIPT","STYLE"].indexOf(r.tagName)&&r!==e&&(x.current.push(e4(r,"inert","")),x.current.push(e4(r,"aria-hidden","true")))}x.current.push(()=>{var e,t;null==(t=null==(e=w.current)?void 0:e.focus)||t.call(e)}),E(()=>{var e;null==(e=s.entered)||e.call(s)},N)}),L=i.useCallback(e=>{e?P(e):C()},[P,C]);return h?(0,k.createPortal)(i.createElement(ez,{ref:L,className:$(o,t,A(T(u,void 0)),A(m),g&&A(T(u,"open"))),"aria-modal":!0,role:"dialog","aria-label":D(d,"Lightbox"),style:{...l.fade!==Y.animation.fade?{[O("fade_animation_duration")]:`${N}ms`}:null,...l.easing.fade!==Y.animation.easing.fade?{[O("fade_animation_timing_function")]:l.easing.fade}:null,...a.root,...r},onFocus:e=>{w.current||(w.current=e.relatedTarget)},...n},f),("function"==typeof e?e():e)||document.body):null}),e6=q("root",function({children:e}){return i.createElement(i.Fragment,null,e)}),e9=q(s,function({toolbar:{buttons:e},render:{buttonClose:t,iconClose:r},styles:n}){let{close:l,setToolbarWidth:a}=eV(),{setContainerRef:o,containerRect:u}=e$();return eR(()=>{a(null==u?void 0:u.width)},[a,null==u?void 0:u.width]),i.createElement("div",{ref:o,style:n.toolbar,className:A(T(s,void 0))},null==e?void 0:e.map(e=>e===b?t?t():i.createElement(eN,{key:b,label:"Close",icon:eM,renderIcon:r,onClick:l}):e))});e.s(["default",0,function({carousel:e,animation:t,render:r,toolbar:n,controller:l,noScroll:a,on:u,plugins:s,slides:c,index:d,...f}){let{animation:h,carousel:p,render:m,toolbar:g,controller:v,noScroll:x,on:w,slides:b,index:E,plugins:y,...N}=Y,{config:C,augmentation:M}=function(e,t=[],r=[]){let n=e,l=e=>{let t=[...n];for(;t.length>0;){let r=t.pop();if((null==r?void 0:r.module.name)===e)return!0;
1(null==r?void 0:r.children)&&t.push(...r.children)}return!1},i=(e,t)=>{if(""===e){n=[Z(t,n)];return}n=J(n,e,e=>[Z(t,[e])])},a=(e,t)=>{n=J(n,e,e=>[Z(e.module,[Z(t,e.children)])])},u=(e,t,r)=>{n=J(n,e,e=>{var n;return[Z(e.module,[...r?[Z(t)]:[],...null!=(n=e.children)?n:[],...r?[]:[Z(t)]])]})},s=(e,t,r)=>{n=J(n,e,e=>[...r?[Z(t)]:[],e,...r?[]:[Z(t)]])},c=e=>{a(o,e)},d=(e,t)=>{n=J(n,e,e=>[Z(t,e.children)])},f=e=>{n=J(n,e,e=>e.children)},h=e=>{r.push(e)};return t.forEach(e=>{e({contains:l,addParent:i,append:a,addChild:u,addSibling:s,addModule:c,replace:d,remove:f,augment:h})}),{config:n,augmentation:e=>r.reduce((e,t)=>t(e),e)}}([Z(e5,[Z(e3,[Z(eG,[Z(eq),Z(e9),Z(eQ)])])])],s||y),P=M({animation:function(e,t={}){let{easing:r,...n}=e,{easing:l,...i}=t;return{easing:{...r,...l},...n,...i}}(h,t),carousel:{...p,...e},render:{...m,...r},toolbar:{...g,...n},controller:{...v,...l},noScroll:{...x,...a},on:{...w,...u},...N,...f});return P.open?i.createElement(ec,{...P},i.createElement(eg,{slides:c||b,index:z(d||E)},i.createElement(ey,null,i.createElement(eo,null,i.createElement(et,null,function e(t,r){var n;return i.createElement(t.module.component,{key:t.module.name,...r},null==(n=t.children)?void 0:n.map(t=>e(t,r)))}(Z(e6,C),P)))))):null}],63174)},94144,e=>{"use strict";var t=e.i(91398),r=e.i(91788);let n=["#5f6368","#0f9d58","#7e57c2","#e37400","#d93025","#111111","#188038"];function l({size:e=18}){return(0,t.jsx)("svg",{width:e,height:e,viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false",children:(0,t.jsx)("path",{fill:"#fbbc04",d:"M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"})})}function i({count:e=5,size:r=18}){return(0,t.jsx)("span",{className:"rs-google-stars","aria-hidden":"true",children:Array.from({length:e}).map((e,n)=>(0,t.jsx)(l,{size:r},n))})}function a(){return(0,t.jsxs)("span",{className:"rs-google-word","aria-hidden":"true",children:[(0,t.jsx)("span",{className:"rs-blue",children:"G"}),(0,t.jsx)("span",{className:"rs-red",children:"o"}),(0,t.jsx)("span",{className:"rs-yellow",children:"o"}),(0,t.jsx)("span",{className:"rs-blue",children:"g"}),(0,t.jsx)("span",{className:"rs-green",children:"l"}),(0,t.jsx)("span",{className:"rs-red",children:"e"})]})}function o(){return(0,t.jsxs)("svg",{className:"rs-google-g",width:"18",height:"18",viewBox:"0 0 48 48","aria-hidden":"true",focusable:"false",children:[(0,t.jsx)("path",{fill:"#FFC107",d:"M43.6 20.5H42V20H24v8h11.3C33.7 32.7 29.3 36 24 36c-6.6 0-12-5.4-12-12s5.4-12 12-12c3.1 0 5.8 1.2 8 3.1l5.7-5.7C34.2 6.1 29.4 4 24 4 12.9 4 4 12.9 4 24s8.9 20 20 20c11 0 19.7-8 19.7-20 0-1.2-.1-2.3-.3-3.5z"}),(0,t.jsx)("path",{fill:"#FF3D00",d:"M6.3 14.7 12.9 19.6C14.7 15.1 19 12 24 12c3.1 0 5.8 1.2 8 3.1l5.7-5.7C34.2 6.1 29.4 4 24 4 16.3 4 9.6 8.3 6.3 14.7z"}),(0,t.jsx)("path",{fill:"#4CAF50",d:"M24 44c5.2 0 10-2 13.6-5.2l-6.3-5.3C29.3 35.1 26.8 36 24 36c-5.3 0-9.7-3.3-11.3-7.9l-6.5 5C9.5 39.6 16.2 44 24 44z"}),(0,t.jsx)("path",{fill:"#1976D2",d:"M43.6 20.5H42V20H24v8h11.3c-1.1 3.2-3.5 5.8-6.7 7.4l6.3 5.3C38.2 37.3 43.7 32 43.7 24c0-1.2-.1-2.3-.3-3.5z"})]})}function u({review:e}){let[l,a]=(0,r.useState)(!1),s=e.text||"",c=s.length>
1150,d=l||!c?s:`${s.slice(0,150).trim()}...`,f=(e.author||"G").trim().charAt(0).toUpperCase();return(0,t.jsxs)("article",{className:"rs-google-review-card",children:[(0,t.jsxs)("div",{className:"rs-google-review-top",children:[(0,t.jsx)("span",{className:"rs-google-review-avatar",style:{background:function(e=""){let t=0;for(let r=0;r<e.length;r+=1)t=e.charCodeAt(r)+((t<<5)-t);return n[Math.abs(t)%n.length]}(e.author)},"aria-hidden":"true",children:f}),(0,t.jsxs)("div",{className:"rs-google-review-person",children:[e.authorUrl?(0,t.jsx)("h3",{children:(0,t.jsx)("a",{href:e.authorUrl,target:"_blank",rel:"noopener noreferrer",children:e.author})}):(0,t.jsx)("h3",{children:e.author}),e.time?(0,t.jsx)("small",{children:e.time}):null]}),(0,t.jsx)(o,{})]}),(0,t.jsxs)("div",{className:"rs-google-review-rating",children:[(0,t.jsx)(i,{count:5,size:16}),(0,t.jsx)("span",{className:"rs-google-verified","aria-label":"Verified",children:(0,t.jsx)("i",{className:"bi bi-check","aria-hidden":"true"})})]}),s?(0,t.jsxs)("p",{children:[d,c?(0,t.jsxs)(t.Fragment,{children:[" ",(0,t.jsx)("button",{type:"button",className:"rs-google-read-more",onClick:()=>a(e=>!e),children:l?"Read less":"Read more"})]}):null]}):null]})}e.s(["default",0,function({initialData:e=null}){let[n,l]=(0,r.useState)(e),s=(0,r.useRef)(null),c=(0,r.useRef)(null);(0,r.useEffect)(()=>{if(e)return void l(e);let t=!0;return fetch("/api/google-reviews/").then(e=>e.json()).then(e=>{t&&l(e)}).catch(()=>{}),()=>{t=!1}},[e]);let d=Number(n?.rating||4.9),f=Number(n?.total||0),h=n?.url||"https://share.google/Zmvt06D8A6xyIbCte",p=(Array.isArray(n?.reviews)?n.reviews:[]).slice(0,5),m=p.map(e=>e.author).join("|"),g=n?.available&&f?String(f):f?`${f}+`:"100+";return(0,r.useEffect)(()=>{let e;if(!p.length)return;let t=!1,r=()=>!t&&!!s.current&&"function"==typeof window.Swiper&&(c.current?.destroy&&c.current.destroy(!0,!0),c.current=new window.Swiper(s.current.querySelector(".rs-google-reviews-swiper"),{slidesPerView:1,spaceBetween:16,loop:!1,speed:550,autoplay:{delay:4500,disableOnInteraction:!1,pauseOnMouseEnter:!0},navigation:{nextEl:s.current.querySelector(".rs-google-reviews-next"),prevEl:s.current.querySelector(".rs-google-reviews-prev")},breakpoints:{768:{slidesPerView:2},1100:{slidesPerView:3}}}),!0);return r()||(e=setInterval(()=>{r()&&e&&clearInterval(e)},150)),()=>{t=!0,e&&clearInterval(e),c.current?.destroy&&(c.current.destroy(!0,!0),c.current=null)}},[m,p.length]),(0,t.jsx)("section",{id:"review-sec",className:"rs-google-reviews",children:(0,t.jsx)("div",{className:"container",children:(0,t.jsxs)("div",{className:"rs-google-reviews-widget",children:[(0,t.jsxs)("div",{className:"rs-google-reviews-summary",children:[(0,t.jsx)("p",{className:"rs-google-reviews-label",children:d>=4.5?"EXCELLENT":d>=4?"GREAT":d>=3.5?"GOOD":"AVERAGE"}),(0,t.jsx)(i,{count:5,size:28}),(0,t.jsxs)("p",{className:"rs-google-reviews-based",children:["Based on ",(0,t.jsxs)("strong",{children:[g," reviews"]})]}),(0,t.jsx)("a",{href:h,target:"_blank",rel:"noopener noreferrer","aria-label":"Read RedSpider Google reviews",children:(0,t.jsx)(a,{})})]}),p.length>0?(0,t.jsxs)("div",{className:"rs-google-reviews-carousel",ref:s,children:[(0,t.jsx)("button",{type:"button",className:"rs-google-reviews-prev","aria-label":"Previous reviews",children:(0,t.jsx)("i",{className:"bi bi-chevron-left","aria-hidden":"true"})}),(0,t.jsx)("div",{className:"swiper rs-google-reviews-swiper",children:(0,t.jsxs)("div",{className:"swiper-wrapper",children:[p.map((e,r)=>(0,t.jsx)("div",{className:"swiper-slide",children:(0,t.jsx)(u,{review:e})},`${e.author}-${r}`)),(0,t.jsx)("div",{className:"swiper-slide",children:(0,t.jsxs)("a",{className:"rs-google-review-card rs-google-read-more-card",href:h,target:"_blank",rel:"noopener noreferrer",children:[(0,t.jsx)(o,{}),(0,t.jsx)("strong",{children:"Read more"}),(0,t.jsxs)("span",{children:["See all ",g," Google reviews"]})]})})]})}),(0,t.jsx)("button",{type:"button",className:"rs-google-reviews-next","aria-label":"Next reviews",children:(0,t.jsx)("i",{className:"bi bi-chevron-right","aria-hidden":"true"})})]}):(0,t.jsx)("p",{className:"rs-google-reviews-empty",children:"Read the latest Google reviews for RedSpider Web & Art Design."})]})})})}])}]);
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.