vendor: 4,844 bytes, line 1
1import{a9 as Qe,s as Je,o as it,a6 as at,R as we,aa as xt,ab as wt,ac as It,ad as Lt,A as xe,z as de,w as Et,y as Z,F as Tt,C as Xe,a as te,L as De,K as ne,a1 as Ye,a8 as ke,O as At,M as Ze,E as We,x as pe,ae as et,af as Ot,ag as tt,ah as ae}from"./BEdepSaR.js";function Pt(e){return Object.prototype.toString.call(e)==="[object Object]"}function nt(e){return Pt(e)||Array.isArray(e)}function Dt(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function qe(e,n){const s=Object.keys(e),t=Object.keys(n);if(s.length!==t.length)return!1;const a=JSON.stringify(Object.keys(e.breakpoints||{})),r=JSON.stringify(Object.keys(n.breakpoints||{}));return a!==r?!1:s.every(o=>{const c=e[o],i=n[o];return typeof c=="function"?`${c}`==`${i}`:!nt(c)||!nt(i)?c===i:qe(c,i)})}function ot(e){return e.concat().sort((n,s)=>n.name>s.name?1:-1).map(n=>n.options)}function kt(e,n){if(e.length!==n.length)return!1;const s=ot(e),t=ot(n);return s.every((a,r)=>{const o=t[r];return qe(a,o)})}function Ce(e){return typeof e=="number"}function Fe(e){return typeof e=="string"}function Le(e){return typeof e=="boolean"}function rt(e){return Object.prototype.toString.call(e)==="[object Object]"}function q(e){return Math.abs(e)}function Me(e){return Math.sign(e)}function ge(e,n){return q(e-n)}function Ft(e,n){if(e===0||n===0||q(e)<=q(n))return 0;const s=ge(q(e),q(n));return q(s/e)}function Bt(e){return Math.round(e*100)/100}function he(e){return ye(e).map(Number)}function R(e){return e[be(e)]}function be(e){return Math.max(0,e.length-1)}function Ne(e,n){return n===be(e)}function st(e,n=0){return Array.from(Array(e),(s,t)=>n+t)}function ye(e){return Object.keys(e)}function ct(e,n){return[e,n].reduce((s,t)=>(ye(t).forEach(a=>{const r=s[a],o=t[a],c=rt(r)&&rt(o);s[a]=c?ct(r,o):o}),s),{})}function Be(e,n){return typeof n.MouseEvent<"u"&&e instanceof n.MouseEvent}function qt(e,n){const s={start:t,center:a,end:r};function t(){return 0}function a(i){return r(i)/2}function r(i){return n-i}function o(i,u){return Fe(e)?s[e](i):e(n,i,u)}return{measure:o}}function ve(){let e=[];function n(a,r,o,c={passive:!0}){let i;if("addEventListener"in a)a.addEventListener(r,o,c),i=()=>a.removeEventListener(r,o,c);else{const u=a;u.addListener(o),i=()=>u.removeListener(o)}return e.push(i),t}function s(){e=e.filter(a=>a())}const t={add:n,clear:s};return t}function Ct(e,n,s,t){const a=ve(),r=1e3/60;let o=null,c=0,i=0;function u(){a.add(e,"visibilitychange",()=>{e.hidden&&d()})}function y(){v(),a.clear()}function l(p){if(!i)return;o||(o=p,s(),s());const f=p-o;for(o=p,c+=f;c>=r;)s(),c-=r;const h=c/r;t(h),i&&(i=n.requestAnimationFrame(l))}function m(){i||(i=n.requestAnimationFrame(l))}function v(){n.cancelAnimationFrame(i),o=null,c=0,i=0}function d(){o=null,c=0}return{init:u,destroy:y,start:m,stop:v,update:s,render:t}}function Mt(e,n){const s=n==="rtl",t=e==="y",a=t?"y":"x",r=t?"x":"y",o=!t&&s?-1:1,c=y(),i=l();function u(d){const{height:g,width:p}=d;return t?g:p}function y(){return t?"top":s?"right":"left"}function l(){return t?"bottom":s?"left":"right"}function m(d){return d*o}return{scroll:a,cross:r,startEdge:c,endEdge:i,measureSize:u,direction:m}}function oe(e=0,n=0){const s=q(e-n);function t(u){return u<e}function a(u){return u>n}function r(u){return t(u)||a(u)}function o(u){return r(u)?t(u)?e:n:u}function c(u){return s?u-s*Math.ceil((u-n)/s):u}return{length:s,max:n,min:e,constrain:o,reachedAny:r,reachedMax:a,reachedMin:t,removeOffset:c}}function ut(e,n,s){const{constrain:t}=oe(0,e),a=e+1;let r=o(n);function o(m){return s?q((a+m)%a):t(m)}function c(){return r}function i(m){return r=o(m),l}function u(m){return y().set(c()+m)}function y(){return ut(e,c(),s)}const l={get:c,set:i,add:u,clone:y};return l}function Nt(e,n,s,t,a,r,o,c,i,u,y,l,m,v,d,g,p,f,h){const{cross:S,direction:A}=e,P=["INPUT","SELECT","TEXTAREA"],T={passive:!1},x=ve(),I=ve(),L=oe(50,225).constrain(v.measure(20)),D={mouse:300,touch:400},O={mouse:500,touch:600},w=d?43:25;let k=!1,E=0,C=0,J=!1,X=!1,H=!1,$=!1;function ce(b){if(!h)return;function F(V){(Le(h)||h(b,V))&&le(V)}const M=n;x.add(M,"dragstart",V=>V.preventDefault(),T).add(M,"touchmove",()=>{},T).add(M,"touchend",()=>{}).add(M,"touchstart",F).add(M,"mousedown",F).add(M,"touchcancel",N).add(M,"contextmenu",N).add(M,"click",U,!0)}function _(){x.clear(),I.clear()}function re(){const b=$?s:n;I.add(b,"touchmove",j,T).add(b,"touchend",N).add(b,"mousemove",j,T).add(b,"mouseup",N)}function se(b){const F=b.nodeName||"";return P.includes(F)}function K(){return(d?O:D)[$?"mouse":"touch"]}function ue(b,F){const M=l.add(Me(b)*-1),V=y.byDistance(b,!d).distance;return d||q(b)<L?V:p&&F?V*.5:y.byIndex(M.get(),0).distance}function le(b){const F=Be(b,t);$=F,H=d&&F&&!b.buttons&&k,k=ge(a.get(),o.get())>=2,!(F&&b.button!==0)&&(se(b.target)||(J=!0,r.pointerDown(b),u.useFriction(0).useDuration(0),a.set(o),re
vendor: 12,153 bytes, line 1
1(),E=r.readPoint(b),C=r.readPoint(b,S),m.emit("pointerDown")))}function j(b){if(!Be(b,t)&&b.touches.length>=2)return N(b);const M=r.readPoint(b),V=r.readPoint(b,S),G=ge(M,E),Q=ge(V,C);if(!X&&!$&&(!b.cancelable||(X=G>Q,!X)))return N(b);const W=r.pointerMove(b);G>g&&(H=!0),u.useFriction(.3).useDuration(.75),c.start(),a.add(A(W)),b.preventDefault()}function N(b){const M=y.byDistance(0,!1).index!==l.get(),V=r.pointerUp(b)*K(),G=ue(A(V),M),Q=Ft(V,G),W=w-10*Q,Y=f+Q/50;X=!1,J=!1,I.clear(),u.useDuration(W).useFriction(Y),i.distance(G,!d),$=!1,m.emit("pointerUp")}function U(b){H&&(b.stopPropagation(),b.preventDefault(),H=!1)}function z(){return J}return{init:ce,destroy:_,pointerDown:z}}function Vt(e,n){let t,a;function r(l){return l.timeStamp}function o(l,m){const d=`client${(m||e.scroll)==="x"?"X":"Y"}`;return(Be(l,n)?l:l.touches[0])[d]}function c(l){return t=l,a=l,o(l)}function i(l){const m=o(l)-o(a),v=r(l)-r(t)>170;return a=l,v&&(t=l),m}function u(l){if(!t||!a)return 0;const m=o(a)-o(t),v=r(l)-r(t),d=r(l)-r(a)>170,g=m/v;return v&&!d&&q(g)>.1?g:0}return{pointerDown:c,pointerMove:i,pointerUp:u,readPoint:o}}function jt(){function e(s){const{offsetTop:t,offsetLeft:a,offsetWidth:r,offsetHeight:o}=s;return{top:t,right:a+r,bottom:t+o,left:a,width:r,height:o}}return{measure:e}}function zt(e){function n(t){return e*(t/100)}return{measure:n}}function Rt(e,n,s,t,a,r,o){const c=[e].concat(t);let i,u,y=[],l=!1;function m(p){return a.measureSize(o.measure(p))}function v(p){if(!r)return;u=m(e),y=t.map(m);function f(h){for(const S of h){if(l)return;const A=S.target===e,P=t.indexOf(S.target),T=A?u:y[P],x=m(A?e:t[P]);if(q(x-T)>=.5){p.reInit(),n.emit("resize");break}}}i=new ResizeObserver(h=>{(Le(r)||r(p,h))&&f(h)}),s.requestAnimationFrame(()=>{c.forEach(h=>i.observe(h))})}function d(){l=!0,i&&i.disconnect()}return{init:v,destroy:d}}function _t(e,n,s,t,a,r){let o=0,c=0,i=a,u=r,y=e.get(),l=0;function m(){const T=t.get()-e.get(),x=!i;let I=0;return x?(o=0,s.set(t),e.set(t),I=T):(s.set(e),o+=T/i,o*=u,y+=o,e.add(o),I=y-l),c=Me(I),l=y,P}function v(){const T=t.get()-n.get();return q(T)<.001}function d(){return i}function g(){return c}function p(){return o}function f(){return S(a)}function h(){return A(r)}function S(T){return i=T,P}function A(T){return u=T,P}const P={direction:g,duration:d,velocity:p,seek:m,settled:v,useBaseFriction:h,useBaseDuration:f,useFriction:A,useDuration:S};return P}function Gt(e,n,s,t,a){const r=a.measure(10),o=a.measure(50),c=oe(.1,.99);let i=!1;function u(){return!(i||!e.reachedAny(s.get())||!e.reachedAny(n.get()))}function y(v){if(!u())return;const d=e.reachedMin(n.get())?"min":"max",g=q(e[d]-n.get()),p=s.get()-n.get(),f=c.constrain(g/o);s.subtract(p*f),!v&&q(p)<r&&(s.set(e.constrain(s.get())),t.useDuration(25).useBaseFriction())}function l(v){i=!v}return{shouldConstrain:u,constrain:y,toggleActive:l}}function Ht(e,n,s,t,a){const r=oe(-n+e,0),o=l(),c=y(),i=m();function u(d,g){return ge(d,g)<=1}function y(){const d=o[0],g=R(o),p=o.lastIndexOf(d),f=o.indexOf(g)+1;return oe(p,f)}function l(){return s.map((d,g)=>{const{min:p,max:f}=r,h=r.constrain(d),S=!g,A=Ne(s,g);return S?f:A||u(p,h)?p:u(f,h)?f:h}).map(d=>parseFloat(d.toFixed(3)))}function m(){if(n<=e+a)return[r.max];if(t==="keepSnaps")return o;const{min:d,max:g}=c;return o.slice(d,g)}return{snapsContained:i,scrollContainLimit:c}}function $t(e,n,s){const t=n[0],a=s?t-e:R(n);return{limit:oe(a,t)}}function Kt(e,n,s,t){const r=n.min+.1,o=n.max+.1,{reachedMin:c,reachedMax:i}=oe(r,o);function u(m){return m===1?i(s.get()):m===-1?c(s.get()):!1}function y(m){if(!u(m))return;const v=e*(m*-1);t.forEach(d=>d.add(v))}return{loop:y}}function Ut(e){const{max:n,length:s}=e;function t(r){const o=r-n;return s?o/-s:0}return{get:t}}function Qt(e,n,s,t,a){const{startEdge:r,endEdge:o}=e,{groupSlides:c}=a,i=l().map(n.measure),u=m(),y=v();function l(){return c(t).map(g=>R(g)[o]-g[0][r]).map(q)}function m(){return t.map(g=>s[r]-g[r]).map(g=>-q(g))}function v(){return c(u).map(g=>g[0]).map((g,p)=>g+i[p])}return{snaps:u,snapsAligned:y}}function Jt(e,n,s,t,a,r){const{groupSlides:o}=a,{min:c,max:i}=t,u=y();function y(){const m=o(r),v=!e||n==="keepSnaps";return s.length===1?[r]:v?m:m.slice(c,i).map((d,g,p)=>{const f=!g,h=Ne(p,g);if(f){const S=R(p[0])+1;return st(S)}if(h){const S=be(r)-R(p)[0]+1;return st(S,R(p)[0])}return d})}return{slideRegistry:u}}function Xt(e,n,s,t,a){const{reachedAny:r,removeOffset:o,constrain:c}=t;function i(d){return d.concat().sort((g,p)=>q(g)-q(p))[0]}function u(d){const g=e?o(d):c(d),p=n.map((h,S)=>({diff:y(h-g,0),index:S})).sort((h,S)=>q(h.diff)-q(S.diff)),{index:f}=p[0];return{index:f,distance:g}}function y(d,g){const p=[d,d+s,d-s];if(!e)return d;if(!g)return i(p);const f=p.filter(h=>Me(h)===g);return f.length?i(f):R(p)-s}function l(d,g){const p=n[d]-a.get(),f=y(p,g);return{index:d,distance:f}}function m(d,g){const p=a.get()+d,{index:f,distance:h}=u(p),S=!e&&r(p);if(!g||S)return{index:f,distance:d};const A=n[f]-h,P=d+y(A,0);return{index:f,distance:P}}return{byDistance:m,byIndex:l,shortcut:y}}function Yt(e,n,s,t,a,r,o){function c(l){const m=l.distance,v=l.index!==n.get();r.add(m),m&&(t.duration()?e.start():(e.update(),e.render(1),e.update())),v&&(s.set(n.get()),n.set(l.index),o.emit("select"))}function i(l,m){const v=a.byDistance(l,m);c(v)}function u(l,m){const v=n.clone().set(l),d=a.byIndex(v.get(),m);c(d)}return{distance:i,index:u}}function Zt(e,n,s,t,a,r,o,c){const i={passive:!0,capture:!0};let u=0;function y(v){if(!c)return;function d(g){if(new Date().getTime()-u>10)return;o.emit("slideFocusStart"),e.scrollLeft=0;const h=s.findIndex(S=>S.includes(g));Ce(h)&&(a.useDuration(0),t.index(h,0),o.emit("slideFocus"))}r.add(document,"keydown",l,!1),n.forEach((g,p)=>{r.add(g,"focus",f=>{(Le(c)||c(v,f))&&d(p)},i)})}function l(v){v.code==="Tab"&&(u=new Date().getTime())}return{init:y}}function me(e){let n=e;function s(){return n}function t(i){n=o(i)}function a(i){n+=o(i)}function r(i){n-=o(i)}function o(i){return Ce(i)?i:i.get()}return{get:s,set:t,add:a,subtract:r}}function lt(e,n){const s=e.scroll==="x"?o:c,t=n.style;let a=null,r=!1;function o(m){return`translate3d(${m}px,0px,0px)`}function c(m){return`translate3d(0px,${m}px,0px)`}function i(m){if(r)return;const v=Bt(e.direction(m));v!==a&&(t.transform=s(v),a=v)}function u(m){r=!m}function y(){r||(t.transform="",n.getAttribute("style")||n.removeAttribute("style"))}return{clear:y,to:i,toggleActive:u}}function Wt(e,n,s,t,a,r,o,c,i){const y=he(a),l=he(a).reverse(),m=f().concat(h());function v(x,I){return x.reduce((L,D)=>L-a[D],I)}function d(x,I){return x.reduce((L,D)=>v(L,I)>0?L.concat([D]):L,[])}function g(x){return r.map((I,L)=>({start:I-t[L]+.5+x,end:I+n-.5+x}))}function p(x,I,L){const D=g(I);return x.map(O=>{const w=L?0:-s,k=L?s:0,E=L?"end":"start",C=D[O][E];return{index:O,loopPoint:C,slideLocation:me(-1),translate:lt(e,i[O]),target:()=>c.get()>C?w:k}})}function f(){const x=o[0],I=d(l,x);return p(I,s,!1)}function h(){const x=n-o[0]-1,I=d(y,x);return p(I,-s,!0)}function S(){return m.every(({index:x})=>{const I=y.filter(L=>L!==x);return v(I,n)<=.1})}function A(){m.forEach(x=>{const{target:I,translate:L,slideLocation:D}=x,O=I();O!==D.get()&&(L.to(O),D.set(O))})}function P(){m.forEach(x=>x.translate.clear())}return{canLoop:S,clear:P,loop:A,loopPoints:m}}function en(e,n,s){let t,a=!1;function r(i){if(!s)return;function u(y){for(const l of y)if(l.type==="childList"){i.reInit(),n.emit("slidesChanged");break}}t=new MutationObserver(y=>{a||(Le(s)||s(i,y))&&u(y)}),t.observe(e,{childList:!0})}function o(){t&&t.disconnect(),a=!0}return{init:r,destroy:o}}function tn(e,n,s,t){const a={};let r=null,o=null,c,i=!1;function u(){c=new IntersectionObserver(d=>{i||(d.forEach(g=>{const p=n.indexOf(g.target);a[p]=g}),r=null,o=null,s.emit("slidesInView"))},{root:e.parentElement,threshold:t}),n.forEach(d=>c.observe(d))}function y(){c&&c.disconnect(),i=!0}function l(d){return ye(a).reduce((g,p)=>{const f=parseInt(p),{isIntersecting:h}=a[f];return(d&&h||!d&&!h)&&g.push(f),g},[])}function m(d=!0){if(d&&r)return r;if(!d&&o)return o;const g=l(d);return d&&(r=g),d||(o=g),g}return{init:u,destroy:y,get:m}}function nn(e,n,s,t,a,r){const{measureSize:o,startEdge:c,endEdge:i}=e,u=s[0]&&a,y=d(),l=g(),m=s.map(o),v=p();function d(){if(!u)return 0;const h=s[0];return q(n[c]-h[c])}function g(){if(!u)return 0;const h=r.getComputedStyle(R(t));return parseFloat(h.getPropertyValue(`margin-${i}`))}function p(){return s.map((h,S,A)=>{const P=!S,T=Ne(A,S);return P?m[S]+y:T?m[S]+l:A[S+1][c]-h[c]}).map(q)}return{slideSizes:m,slideSizesWithGaps:v,startGap:y,endGap:l}}function on(e,n,s,t,a,r,o,c,i){const{startEdge:u,endEdge:y,direction:l}=e,m=Ce(s);function v(f,h){return he(f).filter(S=>S%h===0).map(S=>f.slice(S,S+h))}function d(f){return f.length?he(f).reduce((h,S,A)=>{const P=R(h)||0,T=P===0,x=S===be(f),I=a[u]-r[P][u],L=a[u]-r[S][y],D=!t&&T?l(o):0,O=!t&&x?l(c):0,w=q(L-O-(I+D));return A&&w>n+i&&h.push(S),x&&h.push(f.length),h},[]).map((h,S,A)=>{const P=Math.max(A[S-1]||0);return f.slice(P,h)}):[]}function g(f){return m?v(f,s):d(f)}return{groupSlides:g}}function rn(e,n,s,t,a,r,o){const{align:c,axis:i,direction:u,startIndex:y,loop:l,duration:m,dragFree:v,dragThreshold:d,inViewThreshold:g,slidesToScroll:p,skipSnaps:f,containScroll:h,watchResize:S,watchSlides:A,watchDrag:P,watchFocus:T}=r,x=2,I=jt(),L=I.measure(n),D=s.map(I.measure),O=Mt(i,u),w=O.measureSize(L),k=zt(w),E=qt(c,w),C=!l&&!!h,J=l||!!h,{slideSizes:X,slideSizesWithGaps:H,startGap:$,endGap:ce}=nn(O,L,D,s,J,a),_=on(O,w,p,l,L,D,$,ce,x),{snaps:re,snapsAligned:se}=Qt(O,E,L,D,_),K=-R(re)+R(H),{snapsContained:ue,scrollContainLimit:le}=Ht(w,K,se,h,x),j=C?ue:se,{limit:N}=$t(K,j,l),U=ut(be(j),y,l),z=U.clone(),B=he(s),b=({dragHandler:ie,scrollBody:Oe,scrollBounds:Pe,options:{loop:Se}})=>{Se||Pe.constrain(ie.pointerDown()),Oe.seek()},F=({scrollBody:ie,translate:Oe,location:Pe,offsetLocation:Se,previousLocation:pt,scrollLooper:mt,slideLooper:gt,dragHandler:ht,animation:yt,eventHandler:_e,scrollBounds:vt,options:{loop:Ge}},He)=>{const $e=ie.settled(),bt=!vt.shouldConstrain(),Ke=Ge?$e:$e&&bt,Ue=Ke&&!ht.pointerDown();Ue&&yt.stop();const St=Pe.get()*He+pt.get()*(1-He);Se.set(St),Ge&&(mt.loop(ie.direction()),gt.loop()),Oe.to(Se.get()),Ue&&_e.emit("settle"),Ke||_e.emit("scroll")},M=Ct(t,a,()=>b(Ae),ie=>F(Ae,ie)),V=.68,G=j[U.get()],Q=me(G),W=me(G),Y=me(G),ee=me(G),fe=_t(Q,Y,W,ee,m,V),Ee=Xt(l,j,K,N,ee),Te=Yt(M,U,z,fe,Ee,ee,o),je=Ut(N),ze=ve(),ft=tn(n,s,o,g),{slideRegistry:Re}=Jt(C,h,j,le,_,B),dt=Zt(e,s,Re,Te,fe,ze,o,T),Ae={ownerDocument:t,ownerWindow:a,eventHandler:o,containerRect:L,slideRects:D,animation:M,axis:O,dragHandler:Nt(O,e,t,a,ee,Vt(O,a),Q,M,Te,fe,Ee,U,o,k,v,d,f,V,P),eventStore:ze,percentOfView:k,index:U,indexPrevious:z,limit:N,location:Q,offsetLocation:Y,previousLocation:W,options:r,resizeHandler:Rt(n,o,a,s,O,S,I),scrollBody:fe,scrollBounds:Gt(N,Y,ee,fe,k),scrollLooper:Kt(K,N,Y,[Q,Y,W,ee]),scrollProgress:je,scrollSnapList:j.map(je.get),scrollSnaps:j,scrollTarget:Ee,scrollTo:Te,slideLooper:Wt(O,w,K,X,H,re,j,Y,s),slideFocus:dt,slidesHandler:en(n,o,A),slidesInView:ft,slideIndexes:B,slideRegistry:Re,slidesToScroll:_,target:ee,translate:lt(O,n)};return Ae}function sn(){let e={},n;function s(u){n=u}function t(u){return e[u]||[]}function a(u){return t(u).forEach(y=>y(n,u)),i}function r(u,y){return e[u]=t(u).concat([y]),i}function o(u,y){return e[u]=t(u).filter(l=>l!==y),i}function c(){e={}}const i={init:s,emit:a,off:o,on:r,clear:c};return i}const an={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function cn(e){function n(r,o){return ct(r,o||{})}function s(r){const o=r.breakpoints||{},c=ye(o).filter(i=>e.matchMedia(i).matches).map(i=>o[i]).reduce((i,u)=>n(i,u),{});return n(r,c)}function t(r){return r.map(o=>ye(o.breakpoints||{})).reduce((o,c)=>o.concat(c),[]).map(e.matchMedia)}return{mergeOptions:n,optionsAtMedia:s,optionsMediaQueries:t}}function un(e){let n=[];function s(r,o){return n=o.filter(({options:c})=>
1e.optionsAtMedia(c).active!==!1),n.forEach(c=>c.init(r,e)),o.reduce((c,i)=>Object.assign(c,{[i.name]:i}),{})}function t(){n=n.filter(r=>r.destroy())}return{init:s,destroy:t}}function Ie(e,n,s){const t=e.ownerDocument,a=t.defaultView,r=cn(a),o=un(r),c=ve(),i=sn(),{mergeOptions:u,optionsAtMedia:y,optionsMediaQueries:l}=r,{on:m,off:v,emit:d}=i,g=O;let p=!1,f,h=u(an,Ie.globalOptions),S=u(h),A=[],P,T,x;function I(){const{container:B,slides:b}=S;T=(Fe(B)?e.querySelector(B):B)||e.children[0];const M=Fe(b)?T.querySelectorAll(b):b;x=[].slice.call(M||T.children)}function L(B){const b=rn(e,T,x,t,a,B,i);if(B.loop&&!b.slideLooper.canLoop()){const F=Object.assign({},B,{loop:!1});return L(F)}return b}function D(B,b){p||(h=u(h,B),S=y(h),A=b||A,I(),f=L(S),l([h,...A.map(({options:F})=>F)]).forEach(F=>c.add(F,"change",O)),S.active&&(f.translate.to(f.location.get()),f.animation.init(),f.slidesInView.init(),f.slideFocus.init(z),f.eventHandler.init(z),f.resizeHandler.init(z),f.slidesHandler.init(z),f.options.loop&&f.slideLooper.loop(),T.offsetParent&&x.length&&f.dragHandler.init(z),P=o.init(z,A)))}function O(B,b){const F=_();w(),D(u({startIndex:F},B),b),i.emit("reInit")}function w(){f.dragHandler.destroy(),f.eventStore.clear(),f.translate.clear(),f.slideLooper.clear(),f.resizeHandler.destroy(),f.slidesHandler.destroy(),f.slidesInView.destroy(),f.animation.destroy(),o.destroy(),c.clear()}function k(){p||(p=!0,c.clear(),w(),i.emit("destroy"),i.clear())}function E(B,b,F){!S.active||p||(f.scrollBody.useBaseFriction().useDuration(b===!0?0:S.duration),f.scrollTo.index(B,F||0))}function C(B){const b=f.index.add(1).get();E(b,B,-1)}function J(B){const b=f.index.add(-1).get();E(b,B,1)}function X(){return f.index.add(1).get()!==_()}function H(){return f.index.add(-1).get()!==_()}function $(){return f.scrollSnapList}function ce(){return f.scrollProgress.get(f.offsetLocation.get())}function _(){return f.index.get()}function re(){return f.indexPrevious.get()}function se(){return f.slidesInView.get()}function K(){return f.slidesInView.get(!1)}function ue(){return P}function le(){return f}function j(){return e}function N(){return T}function U(){return x}const z={canScrollNext:X,canScrollPrev:H,containerNode:N,internalEngine:le,destroy:k,off:v,on:m,emit:d,plugins:ue,previousScrollSnap:re,reInit:g,rootNode:j,scrollNext:C,scrollPrev:J,scrollProgress:ce,scrollSnapList:$,scrollTo:E,selectedScrollSnap:_,slideNodes:U,slidesInView:se,slidesNotInView:K};return D(n,s),setTimeout(()=>i.emit("init"),0),z}Ie.globalOptions=void 0;function Ve(e={},n=[]){const s=Qe(e),t=Qe(n);let a=s?e.value:e,r=t?n.value:n;const o=Je(),c=Je();function i(){c.value&&c.value.reInit(a,r)}return it(()=>{!Dt()||!o.value||(Ie.globalOptions=Ve.globalOptions,c.value=Ie(o.value,a,r))}),at(()=>{c.value&&c.value.destroy()}),s&&we(e,u=>{qe(a,u)||(a=u,i())}),t&&we(n,u=>{kt(r,u)||(r=u,i())}),[o,c]}Ve.globalOptions=void 0;const ln={slots:{root:"relative focus:outline-none",viewport:"overflow-hidden",container:"flex items-start",item:"min-w-0 shrink-0 basis-full",controls:"",arrows:"",prev:"absolute rounded-full",next:"absolute rounded-full",dots:"absolute inset-x-0 -bottom-7 flex flex-wrap items-center justify-center gap-3",dot:["cursor-pointer size-3 bg-accented rounded-full","transition"]},variants:{orientation:{vertical:{container:"flex-col -mt-4",item:"pt-4",prev:"top-4 sm:-top-12 left-1/2 -translate-x-1/2 rotate-90 rtl:-rotate-90",next:"bottom-4 sm:-bottom-12 left-1/2 -translate-x-1/2 rotate-90 rtl:-rotate-90"},horizontal:{container:"flex-row -ms-4",item:"ps-4",prev:"start-4 sm:-start-12 top-1/2 -translate-y-1/2",next:"end-4 sm:-end-12 top-1/2 -translate-y-1/2"}},active:{true:{dot:"data-[state=active]:bg-inverted"}}}},fn=["aria-label"],dn=["aria-label","aria-selected","data-state","onClick"],mn={__name:"UCarousel",props:{as:{type:null,required:!1},prev:{type:Object,required:!1},prevIcon:{type:null,required:!1},next:{type:Object,required:!1},nextIcon:{type:null,required:!1},arrows:{type:Boolean,required:!1,default:!1},dots:{type:Boolean,required:!1,default:!1},orientation:{type:null,required:!1,default:"horizontal"},items:{type:Array,required:!1},autoplay:{type:[Boolean,Object],required:!1,default:!1},autoScroll:{type:[Boolean,Object],required:!1,default:!1},autoHeight:{type:[Boolean,Object],required:!1,default:!1},classNames:{type:[Boolean,Object],required:!1,default:!1},fade:{type:[Boolean,Object],required:!1,default:!1},wheelGestures:{type:[Boolean,Object],required:!1,default:!1},class:{type:null,required:!1},ui:{type:null,required:!1},align:{type:[String,Function],required:!1,default:"center"},containScroll:{type:[Boolean,String],required:!1,default:"trimSnaps"},slidesToScroll:{type:[String,Number],required:!1,default:1},dragFree:{type:Boolean,required:!1,default:!1},dragThreshold:{type:Number,required:!1,default:10},inViewThreshold:{type:null,required:!1,default:0},loop:{type:Boolean,required:!1,default:!1},skipSnaps:{type:Boolean,required:!1,default:!1},duration:{type:Number,required:!1,default:25},startIndex:{type:Number,required:!1,default:0},watchDrag:{type:[Boolean,Function],required:!1,default:!0},watchResize:{type:[Boolean,Function],required:!1,default:!0},watchSlides:{type:[Boolean,Function],required:!1,default:!0},watchFocus:{type:[Boolean,Function],required:!1,default:!0},active:{type:Boolean,required:!1,default:!0},breakpoints:{type:Object,required:!1,default:()=>({})}},emits:["select"],setup(e,{expose:n,emit:s}){const t=e,a=s,{dir:r,t:o}=xt(),c=wt(),i=It(Lt(t,"active","align","breakpoints","containScroll","dragFree","dragThreshold","duration","inViewThreshold","loop","skipSnaps","slidesToScroll","startIndex","watchDrag","watchResize","watchSlides","watchFocus")),u=xe(()=>t.prevIcon||(r.value==="rtl"?c.ui.icons.arrowRight:c.ui.icons.arrowLeft)),y=xe(()=>t.nextIcon||(r.value==="rtl"?c.ui.icons.arrowLeft:c.ui.icons.arrowRight)),l=xe(()=>tt({extend:tt(ln),...c.ui?.carousel||{}})({orientation:t.orientation})),m=xe(()=>({...t.fade?{align:"center",containScroll:!1}:{},...i.value,axis:t.orientation==="horizontal"?"x":"y",direction:r.value==="rtl"?"rtl":"ltr"})),v=de([]);async function d(){const w=[];
1if(t.autoplay){const k=await ae(()=>import("./Dtrtw0zj.js"),[],import.meta.url).then(E=>E.default);w.push(k(typeof t.autoplay=="boolean"?{}:t.autoplay))}if(t.autoScroll){const k=await ae(()=>import("./LVG_eY9u.js"),[],import.meta.url).then(E=>E.default);w.push(k(typeof t.autoScroll=="boolean"?{}:t.autoScroll))}if(t.autoHeight){const k=await ae(()=>import("./Ddyvc1_j.js"),[],import.meta.url).then(E=>E.default);w.push(k(typeof t.autoHeight=="boolean"?{}:t.autoHeight))}if(t.classNames){const k=await ae(()=>import("./mhJ-osCf.js"),[],import.meta.url).then(E=>E.default);w.push(k(typeof t.classNames=="boolean"?{}:t.classNames))}if(t.fade){const k=await ae(()=>import("./wrqBHFeW.js"),[],import.meta.url).then(E=>E.default);w.push(k(typeof t.fade=="boolean"?{}:t.fade))}if(t.wheelGestures){const{WheelGesturesPlugin:k}=await ae(async()=>{const{WheelGesturesPlugin:E}=await import("./DTS6Q5dF.js");return{WheelGesturesPlugin:E}},[],import.meta.url);w.push(k(typeof t.wheelGestures=="boolean"?{}:t.wheelGestures))}v.value=w}we(()=>[t.autoplay,t.autoScroll,t.autoHeight,t.classNames,t.fade,t.wheelGestures],async()=>{await d(),p.value?.reInit(m.value,v.value)},{immediate:!0});const[g,p]=Ve(m,v);we(m,()=>{p.value?.reInit(m.value,v.value)},{flush:"post"});function f(){p.value?.scrollPrev()}function h(){p.value?.scrollNext()}function S(w){p.value?.scrollTo(w)}function A(w){let k,E;if(t.orientation==="horizontal"?(k=r.value==="ltr"?"ArrowLeft":"ArrowRight",E=r.value==="ltr"?"ArrowRight":"ArrowLeft"):(k="ArrowUp",E="ArrowDown"),w.key===k){w.preventDefault(),f();return}w.key===E&&(w.preventDefault(),h())}const P=de(!1),T=de(!1),x=de(0),I=de([]);function L(w){I.value=w?.scrollSnapList()||[]}function D(w){P.value=w?.canScrollNext()||!1,T.value=w?.canScrollPrev()||!1,x.value=w?.selectedScrollSnap()||0,a("select",x.value)}function O(w){return typeof w=="object"&&w!==null}return it(()=>{p.value&&(p.value.on("init",L),p.value.on("init",D),p.value.on("reInit",L),p.value.on("reInit",D),p.value.on("select",D))}),at(()=>{p.value&&(p.value.off("init",L),p.value.off("init",D),p.value.off("reInit",L),p.value.off("reInit",D),p.value.off("select",D))}),n({emblaRef:g,emblaApi:p}),(w,k)=>(Z(),Et(pe(Ot),{as:e.as,role:"region","aria-roledescription":"carousel","data-orientation":e.orientation,tabindex:"0","data-slot":"root",class:ne(l.value.root({class:[t.ui?.root,t.class]})),onKeydown:A},{default:Tt(()=>[Xe("div",{ref_key:"emblaRef",ref:g,"data-slot":"viewport",class:ne(l.value.viewport({class:t.ui?.viewport}))},[Xe("div",{"data-slot":"container",class:ne(l.value.container({class:t.ui?.container}))},[(Z(!0),te(Ze,null,Ye(e.items,(E,C)=>(Z(),te("div",ke({key:C},{ref_for:!0},e.dots?{role:"tabpanel"}:{role:"group","aria-roledescription":"slide"},{"data-slot":"item",class:l.value.item({class:[t.ui?.item,O(E)&&E.ui?.item,O(E)&&E.class]})}),[At(w.$slots,"default",{item:E,index:C})],16))),128))],2)],2),e.arrows||e.dots?(Z(),te("div",{key:0,"data-slot":"controls",class:ne(l.value.controls({class:t.ui?.controls}))},[e.arrows?(Z(),te("div",{key:0,"data-slot":"arrows",class:ne(l.value.arrows({class:t.ui?.arrows}))},[We(et,ke({disabled:!T.value,icon:u.value,color:"neutral",variant:"outline","aria-label":pe(o)("carousel.prev")},typeof e.prev=="object"?e.prev:void 0,{"data-slot":"prev",class:l.value.prev({class:t.ui?.prev}),onClick:f}),null,16,["disabled","icon","aria-label","class"]),We(et,ke({disabled:!P.value,icon:y.value,color:"neutral",variant:"outline","aria-label":pe(o)("carousel.next")},typeof e.next=="object"?e.next:void 0,{"data-slot":"next",class:l.value.next({class:t.ui?.next}),onClick:h}),null,16,["disabled","icon","aria-label","class"])],2)):De("",!0),e.dots?(Z(),te("div",{key:1,role:"tablist","aria-label":pe(o)("carousel.dots"),"data-slot":"dots",class:ne(l.value.dots({class:t.ui?.dots}))},[(Z(!0),te(Ze,null,Ye(I.value,(E,C)=>(Z(),te("button",{key:C,type:"button",role:"tab","aria-label":pe(o)("carousel.goto",{slide:C+1}),"aria-selected":x.value===C,"data-slot":"dot",class:ne(l.value.dot({class:t.ui?.dot,active:x.value===C})),"data-state":x.value===C?"active":void 0,onClick:J=>S(C)},null,10,dn))),128))],10,fn)):De("",!0)],2)):De("",!0)]),_:3},8,["as","data-orientation","class"]))}};export{mn as _};
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.