vendor: 20,876 bytes, line 1
1import{n as t}from"./rolldown-runtime-Cko4QHwX.js";import{r as n}from"./react-core-zlQElS7x.js";var e=t(n()),r=(...t)=>t.filter((t,n,e)=>Boolean(t)&&""!==t.trim()&&e.indexOf(t)===n).join(" ").trim(),o=t=>{const n=(t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,e)=>e?e.toUpperCase():n.toLowerCase()))(t);return n.charAt(0).toUpperCase()+n.slice(1)},i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},c=t=>{for(const n in t)if(n.startsWith("aria-")||"role"===n||"title"===n)return!0;return!1},s=(0,e.forwardRef)(({color:t="currentColor",size:n=24,strokeWidth:o=2,absoluteStrokeWidth:s,className:u="",children:a,iconNode:d,...l},f)=>(0,e.createElement)("svg",{ref:f,...i,width:n,height:n,stroke:t,strokeWidth:s?24*Number(o)/Number(n):o,className:r("lucide",u),...!a&&!c(l)&&{"aria-hidden":"true"},...l},[...d.map(([t,n])=>(0,e.createElement)(t,n)),...Array.isArray(a)?a:[a]])),u=(t,n)=>{const i=(0,e.forwardRef)(({className:i,...c},u)=>{return(0,e.createElement)(s,{ref:u,iconNode:n,className:r(`lucide-${a=o(t),a.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${t}`,i),...c});var a});return i.displayName=o(t),i},a=u("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]),d=u("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]),l=u("brain",[["path",{d:"M12 18V5",key:"adv99a"}],["path",{d:"M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4",key:"1e3is1"}],["path",{d:"M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5",key:"1gqd8o"}],["path",{d:"M17.997 5.125a4 4 0 0 1 2.526 5.77",key:"iwvgf7"}],["path",{d:"M18 18a4 4 0 0 0 2-7.464",key:"efp6ie"}],["path",{d:"M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517",key:"1gq6am"}],["path",{d:"M6 18a4 4 0 0 1-2-7.464",key:"k1g0md"}],["path",{d:"M6.003 5.125a4 4 0 0 0-2.526 5.77",key:"q97ue3"}]]),f=u("code-xml",[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]]),p=u("house",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]]),m=u("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]),g=u("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]),h=u("server",[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]]),y=u("shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]),x=u("terminal",[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]]),v=u("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function w(t){return function(t){return"[object Object]"===Object.prototype.toString.call(t)}(t)||Array.isArray(t)}function k(t,n){const e=Object.keys(t),r=Object.keys(n);return e.length===r.length&&JSON.stringify(Object.keys(t.breakpoints||{}))===JSON.stringify(Object.keys(n.breakpoints||{}))&&e.every(e=>{const r=t[e],o=n[e];return"function"==typeof r?`${r}`==`${o}`:w(r)&&w(o)?k(r,o):r===o})}function b(t){return t.concat().sort((t,n)=>t.name>n.name?1:-1).map(t=>t.options)}function S(t){return"number"==typeof t}function M(t){return"string"==typeof t}function E(t){return"boolean"==typeof t}function L(t){return"[object Object]"===Object.prototype.toString.call(t)}function A(t){return Math.abs(t)}function O(t){return Math.sign(t)}function D(t,n){return A(t-n)}function I(t){return T(t).map(Number)}function z(t){return t[j(t)]}function j(t){return Math.max(0,t.length-1)}function F(t,n){return n===j(t)}function N(t,n=0){return Array.from(Array(t),(t,e)=>n+e)}function T(t){return Object.keys(t)}function C(t,n){return[t,n].reduce((t,n)=>(T(n).forEach(e=>{const r=t[e],o=n[e];t[e]=L(r)&&L(o)?C(r,o):o}),t),{})}function P(t,n){return void 0!==n.MouseEvent&&t instanceof n.MouseEvent}function H(){let t=[];const n={add:function(e,r,o,i={passive:!0}){let c;if("addEventListener"in e)e.addEventListener(r,o,i),c=()=>e.removeEventListener(r,o,i);else{const t=e;t.addListener(o),c=()=>t.removeListener(o)}return t.push(c),n},clear:function(){t=t.filter(t=>t())}};return n}function V(t=0,n=0){const e=A(t-n);function r(n){return n<t}function o(t){return t>n}function i(t){return r(t)||o(t)}return{length:e,max:n,min:t,constrain:function(e){return i(e)?r(e)?t:n:e},reachedAny:i,reachedMax:o,reachedMin:r,removeOffset:function(t){return e?t-e*Math.ceil((t-n)/e):t}}}function B(t,n,e){const{constrain:r}=V(0,t),o=t+1;let i=c(n);function c(t){return e?A((o+t)%o):r(t)}function s(){return i}function u(){return B(t,s(),e)}const a={get:s,set:function(t){return i=c(t),a},add:function(t){return u().set(s()+t)},clone:u};return a}function R(t,n,e,r,o,i,c,s,u,a,d,l,f,p,m,g,h,y,x){const{cross:v,direction:w}=t,k=["INPUT","SELECT","TEXTAREA"],b={passive:!1},S=H(),M=H(),L=V(50,225).constrain(p.measure(20)),I={mouse:300,touch:400},z={mouse:500,touch:600},j=m?43:25;let F=!1,N=0,T=0,C=!1,B=!1,R=!1,q=!1;function W(t){if(!P(t,r)&&t.touches.length>=2)return $(t);const n=i.readPoint(t),e=i.readPoint(t,v),c=D(n,N),u=D(e,T);if(!B&&!q){if(!t.cancelable)return $(t);if(B=c>u,!B)return $(t)}const d=i.pointerMove(t);c>g&&(R=!0),a.useFriction(.3).useDuration(.75),s.start(),o.add(w(d)),t.preventDefault()}function $(t){const n=d.byDistance(0,!1).index!==l.get(),e=i.pointerUp(t)*(m?z:I)[q?"mouse":"touch"],r=function(t,n){const e=l.add(-1*O(t)),r=d.byDistance(t,!m).distance;return m||A(t)<L?r:h&&n?.5*r:d.byIndex(e.get(),0).distance}(w(e),n),o=(s=r,0===(c=e)||0===s||A(c)<=A(s)?0:A(D(A(c),A(s))/c));var c,s;const p=j-10*o,g=y+o/50;B=!1,C=!1,M.clear(),a.useDuration(p).useFriction(g),u.distance(r,!m),q=!1,f.emit("pointerUp")}function G(t){R&&(t.stopPropagation(),t.preventDefault(),R=!1)}return{init:function(t){if(!x)return;function s(s){(E(x)||x(t,s))&&function(t){const s=P(t,r);q=s,R=m&&s&&!t.buttons&&F,F=D(o.get(),c.get())>=2,s&&0!==t.button||function(t){const n=t.nodeName||"";return k.includes(n)}(t.target)||(C=!0,i.pointerDown(t),a.useFriction(0).useDuration(0),o.set(c),function(){const t=q?e:n;M.add(t,"touchmove",W,b).add(t,"touchend",$).add(t,"mousemove",W,b).add(t,"mouseup",$)}(),N=i.readPoint(t),T=i.readPoint(t,v),f.emit("pointerDown"))}(s)}const u=n;S.add(u,"dragstart",t=>t.preventDefault(),b).add(u,"touchmove",()=>{},b).add(u,"touchend",()=>{}).add(u,"touchstart",s).add(u,"mousedown",s).add(u,"touchcancel",$).add(u,"contextmenu",$).add(u,"click",G,!0)},destroy:function(){S.clear(),M.clear()},pointerDown:function(){return C}}}function q(t,n){let e,r;function o(t){return t.timeStamp}function i(e,r){const o="client"+("x"===(r||t.scroll)?"X":"Y");return(P(e,n)?e:e.touches[0])[o]}return{pointerDown:function(t){return e=t,r=t,i(t)},pointerMove:function(t){const n=i(t)-i(r),c=o(t)-o(e)>170;return r=t,c&&(e=t),n},pointerUp:function(t){if(!e||!r)return 0;const n=i(r)-i(e),c=o(t)-o(e),s=o(t)-o(r)>170,u=n/c;return c&&!s&&A(u)>.1?u:0},readPoint:i}}function W(t,n,e,r,o,i,c){const s=[t].concat(r);let u,a,d=[],l=!1;function f(t){return o.measureSize(c.measure(t))}return{init:function(o){i&&(a=f(t),d=r.map(f),u=new ResizeObserver(e=>{(E(i)||i(o,e))&&function(e){for(const i of e){if(l)return;const e=i.target===t,c=r.indexOf(i.target),s=e?a:d[c];if(A(f(e?t:r[c])-s)>=.5){o.reInit(),n.emit("resize");break}}}(e)}),e.requestAnimationFrame(()=>{s.forEach(t=>u.observe(t))}))},destroy:function(){l=!0,u&&u.disconnect()}}}function $(t,n,e,r,o){const i=o.measure(10),c=o.measure(50),s=V(.1,.99);let u=!1;function a(){return!u&&!!t.reachedAny(e.get())&&!!t.reachedAny(n.get())}return{shouldConstrain:a,constrain:function(o){if(!a())return;const u=A(t[t.reachedMin(n.get())?"min":"max"]-n.get()),d=e.get()-n.get(),l=s.constrain(u/c);e.subtract(d*l),!o&&A(d)<i&&(e.set(t.constrain(e.get())),r.useDuration(25).useBaseFriction())},toggleActive:function(t){u=!t}}}function G(t,n,e,r){const{reachedMin:o,reachedMax:i}=V(n.min+.1,n.max+.1);return{loop:function(n){if(!function(t){return 1===t?i(e.get()):-1===t&&o(e.get())}(n))return;const c=t*(-1*n);r.forEach(t=>t.add(c))}}}function U(t){let n=t;function e(t){return S(t)?t:t.get()}return{get:function(){return n},set:function(t){n=e(t)},add:function(t){n+=e(t)},subtract:function(t){n-=e(t)}}}function J(t,n){const e="x"===t.scroll?function(t){return`translate3d(${t}px,0px,0px)`}:function(t){return`translate3d(0px,${t}px,0px)`},r=n.style;let o=null,i=!1;return{clear:function(){i||(r.transform="",n.getAttribute("style")||n.removeAttribute("style"))},to:function(n){if(i)return;const c=(s=t.direction(n),Math.round(100*s)/100);var s;c!==o&&(r.transform=e(c),o=c)},toggleActive:function(t){i=!t}}}function Q(t,n,e,r,o,i,c,s,u){const a=I(o),d=I(o).reverse(),l=function(){const t=c[0];return m(p(d,t),e,!1)}().concat(function(){const t=n-c[0]-1;return m(p(a,t),-e,!0)}());function f(t,n){return t.reduce((t,n)=>t-o[n],n)}function p(t,n){return t.reduce((t,e)=>f(t,n)>0?t.concat([e]):t,[])}function m(o,c,a){const d=function(t){return i.map((e,o)=>({start:e-r[o]+.5+t,end:e+n-.5+t}))}(c);return o.map(n=>{const r=a?0:-e,o=a?e:0,i=a?"end":"start",c=d[n][i];return{index:n,loopPoint:c,slideLocation:U(-1),translate:J(t,u[n]),target:()=>s.get()>c?r:o}})}return{canLoop:function(){return l.every(({index:t})=>f(a.filter(n=>n!==t),n)<=.1)},clear:function(){l.forEach(t=>t.translate.clear())},loop:function(){l.forEach(t=>{const{target:n,translate:e,slideLocation:r}=t,o=n();o!==r.get()&&(e.to(o),r.set(o))})},loopPoints:l}}function X(t,n,e){let r,o=!1;return{init:function(i){e&&(r=new MutationObserver(t=>{o||(E(e)||e(i,t))&&function(t){for(const e of t)if("childList"===e.type){i.reInit(),n.emit("slidesChanged");break}}(t)}),r.observe(t,{childList:!0}))},destroy:function(){r&&r.disconnect(),o=!0}}}function Z(t,n,e,r,o,i,c){const{align:s,axis:u,direction:a,startIndex:d,loop:l,duration:f,dragFree:p,dragThreshold:m,inViewThreshold:g,slidesToScroll:h,skipSnaps:y,containScroll:x,watchResize:v,watchSlides:w,watchDrag:k,watchFocus:b}=i,L={measure:function(t){const{offsetTop:n,offsetLeft:e,offsetWidth:r,offsetHeight:o}=t;return{top:n,right:e+r,bottom:n+o,left:e,width:r,height:o}}},C=L.measure(n),P=e.map(L.measure),Z=function(t,n){const e="rtl"===n,r="y"===t,o=!r&&e?-1:1;return{scroll:r?"y":"x",cross:r?"x":"y",startEdge:r?"top":e?"right":"left",endEdge:r?"bottom":e?"left":"right",measureSize:function(t){const{height:n,width:e}=t;return r?n:e},direction:function(t){return t*o}}}(u,a),Y=Z.measureSize(C),_=function(t){return{measure:function(n){return t*(n/100)}}}(Y),K=function(t,n){const e={start:function(){return 0},center:function(t){return r(t)/2},end:r};function r(t){return n-t}return{measure:function(r,o){return M(t)?e[t](r):t(n,r,o)}}}(s,Y),tt=!l&&!!x,{slideSizes:nt,slideSizesWithGaps:et,startGap:rt,endGap:ot}=function(t,n,e,r,o,i){const{measureSize:c,startEdge:s,endEdge:u}=t,a=e[0]&&o,d=function(){if(!a)return 0;const t=e[0];return A(n[s]-t[s])}(),l=function(){if(!a)return 0;const t=i.getComputedStyle(z(r));return parseFloat(t.getPropertyValue(`margin-${u}`))}(),f=e.map(c),p=e.map((t,n,e)=>{const r=!n,o=F(e,n);return r?f[n]+d:o?f[n]+l:e[n+1][s]-t[s]}).map(A);return{slideSizes:f,slideSizesWithGaps:p,startGap:d,endGap:l}}(Z,C,P,e,l||!!x,o),it=function(t,n,e,r,o,i,c,s,u){const{startEdge:a,endEdge:d,direction:l}=t,f=S(e);return{groupSlides:function(t){return f?function(t,n){return I(t).filter(t=>t%n===0).map(e=>t.slice(e,e+n))}(t,e):function(t){return t.length?I(t).reduce((e,f,p)=>{const m=z(e)||0,g=0===m,h=f===j(t),y=o[a]-i[m][a],x=o[a]-i[f][d],v=!r&&g?l(c):0,w=A(x-(!r&&h?l(s):0)-(y+v));return p&&w>n+u&&e.push(f),h&&e.push(t.length),e},[]).map((n,e,r)=>{const o=Math.max(r[e-1]||0);return t.slice(o,n)}):[]}(t)}}}(Z,Y,h,l,C,P,rt,ot,2),{snaps:ct,snapsAligned:st}=function(t,n,e,r,o){const{startEdge:i,endEdge:c}=t,{groupSlides:s}=o,u=s(r).map(t=>z(t)[c]-t[0][i]).map(A).map(n.measure),a=r.map(t=>e[i]-t[i]).map(t=>-A(t)),d=s(a).map(t=>t[0]).map((t,n)=>t+u[n]);return{snaps:a,snapsAligned:d}}(Z,K,C,P,it),ut=-z(ct)+z(et),{snapsContained:at,scrollContainLimit:dt}=function(t,n,e,r){const o=V(-n+t,0),i=e.map((t,n)=>{const{min:r,max:i}=o,c=o.constrain(t),u=!n,a=F(e,n);return u?i:a||s(r,c)?r:s(i,c)?i:c}).map(t=>parseFloat(t.toFixed(3))),c=function(){const t=i[0],n=z(i);return V(i.lastIndexOf(t),i.indexOf(n)+1)}();function s(t,n){return D(t,n)<=1}return{snapsContained:function(){if(n<=t+2)return[o.max];if("keepSnaps"===r)return i;const{min:e,max:s}=c;return i.slice(e,s)}(),scrollContainLimit:c}}(Y,ut,st,x),lt=tt?at:st,{limit:ft}=function(t,n,e){const r=n[0];return{limit:V(e?r-t:z(n),r)}}(ut,lt,l),pt=B(j(lt),d,l),mt=pt.clone(),gt=I(e),ht=function(t,n,e,r){const o=H(),i=1e3/60;let c=null,s=0,u=0;function a(t){if(!u)return;c||(c=t,e(),e());const o=t-c;for(c=t,s+=o;s>=i;)e(),s-=i;r(s/i),u&&(u=n.requestAnimationFrame(a))}function d(){n.cancelAnimationFrame(u),c=null,s=0,u=0}return{init:function(){o.add(t,"visibilitychange",()=>{t.hidden&&(c=null,s=0)})},destroy:function(){d(),o.clear()},start:function(){u||(u=n.requestAnimationFrame(a))},stop:d,update:e,render:r}}(r,o,()=>(({dragHandler:t,scrollBody:n,scrollBounds:e,options:{loop:r}})=>{r||e.constrain(t.pointerDown()),n.seek()})(It),t=>(({scrollBody:t,translate:n,location:e,offsetLocation:r,previousLocation:o,scrollLooper:i,slideLooper:c,dragHandler:s,animation:u,eventHandler:a,scrollBounds:d,options:{loop:l}},f)=>{const p=t.settled(),m=!d.shouldConstrain(),g=l?p:p&&m,h=g&&!s.pointerDown();h&&u.stop();const y=e.get()*f+o.get()*(1-f);r.set(y),l&&(i.loop(t.direction()),c.loop()),n.to(r.get()),h&&a.emit("settle"),g||a.emit("scroll")})(It,t)),yt=lt[pt.get()],xt=U(yt),vt=U(yt),wt=U(yt),kt=U(yt),bt=function(t,n,e,r,o){let i=0,c=0,s=o,u=.68,a=t.get(),d=0;function l(t){return s=t,p}function f(t){return u=t,p}const p={direction:function(){return c},duration:function(){return s},velocity:function(){return i},seek:function(){const n=r.get()-t.get();let o=0;return s?(e.set(t),i+=n/s,i*=u,a+=i,t.add(i),o=a-d):(i=0,e.set(r),t.set(r),o=n),c=O(o),d=a,p},settled:function(){return A(r.get()-n.get())<.001},useBaseFriction:function(){return f(.68)},useBaseDuration:function(){return l(o)},useFriction:f,useDuration:l};return p}(xt,wt,vt,kt,f),St=function(t,n,e,r,o){const{reachedAny:i,removeOffset:c,constrain:s}=r;function u(t){return t.concat().sort((t,n)=>A(t)-A(n))[0]}function a(n,r){const o=[n,n+e,n-e];if(!t)return n;if(!r)return u(o);const i=o.filter(t=>O(t)===r);return i.length?u(i):z(o)-e}return{byDistance:function(e,r){const u=o.get()+e,{index:d,distance:l}=function(e){const r=t?c(e):s(e),{index:o}=n.map((t,n)=>({diff:a(t-r,0),index:n})).sort((t,n)=>A(t.diff)-A(n.diff))[0];return{index:o,distance:r}}(u),f=!t&&i(u);return!r||f?{index:d,distance:e}:{index:d,distance:e+a(n[d]-l,0)}},byIndex:function(t,e){return{index:t,distance:a(n[t]-o.get(),e)}},shortcut:a}}(l,lt,ut,ft,kt),Mt=function(t,n,e,r,o,i,c){function s(o){const s=o.distance,u=o.index!==n.get();i.add(s),s&&(r.duration()?t.start():(t.update(),t.render(1),t.update())),u&&(e.set(n.get()),n.set(o.index),c.emit("select"))}return{distance:function(t,n){s(o.byDistance(t,n))},index:function(t,e){const r=n.clone().set(t);s(o.byIndex(r.get(),e))}}}(ht,pt,mt,bt,St,kt,c),Et=function(t){const{max:n,length:e}=t;return{get:function(t){return e?(t-n)/-e:0}}}(ft),Lt=H(),At=function(t,n,e,r){const o={};let i,c=null,s=null,u=!1;return{init:function(){i=new IntersectionObserver(t=>{u||(t.forEach(t=>{const e=n.indexOf(t.target);o[e]=t}),c=null,s=null,e.emit("slidesInView"))},{root:t.parentElement,threshold:r}),n.forEach(t=>i.observe(t))},destroy:function(){i&&i.disconnect(),u=!0},get:function(t=!0){if(t&&c)return c;if(!t&&s)return s;const n=function(t){return T(o).reduce((n,e)=>{const r=parseInt(e),{isIntersecting:i}=o[r];return(t&&i||!t&&!i)&&n.push(r),n},[])}(t);return t&&(c=n),t||(s=n),n}}}(n,e,c,g),{slideRegistry:Ot}=function(t,n,e,r,o,i){const{groupSlides:c}=o,{min:s,max:u}=r;return{slideRegistry:function(){const r=c(i),o=!t||"keepSnaps"===n;return 1===e.length?[i]:o?r:r.slice(s,u).map((t,n,e)=>{const r=!n,o=F(e,n);return r?N(z(e[0])+1):o?N(j(i)-z(e)[0]+1,z(e)[0]):t})}()}}(tt,x,lt,dt,it,gt),Dt=function(t,n,e,r,o,i,c,s){const u={passive:!0,capture:!0};let a=0;function d(t){"Tab"===t.code&&(a=(new Date).getTime())}return{init:function(l){s&&(i.add(document,"keydown",d,!1),n.forEach((n,d)=>{i.add(n,"focus",n=>{(E(s)||s(l,n))&&function(n){if((new Date).getTime()-a>10)return;c.emit("slideFocusStart"),t.scrollLeft=0;const i=e.findIndex(t=>t.includes(n));S(i)&&(o.useDuration(0),r.index(i,0),c.emit("slideFocus"))}(d)},u)}))}}}(t,e,Ot,Mt,bt,Lt,c,b),It={ownerDocument:r,ownerWindow:o,eventHandler:c,containerRect:C,slideRects:P,animation:ht,axis:Z,dragHandler:R(Z,t,r,o,kt,q(Z,o),xt,ht,Mt,bt,St,pt,c,_,p,m,y,.68,k),eventStore:Lt,percentOfView:_,index:pt,indexPrevious:mt,limit:ft,location:xt,offsetLocation:wt,previousLocation:vt,options:i,resizeHandler:W(n,c,o,e,Z,v,L),scrollBody:bt,scrollBounds:$(ft,wt,kt,bt,_),scrollLooper:G(ut,ft,wt,[xt,wt,vt,kt]),scrollProgress:Et,scrollSnapList:lt.map(Et.get),scrollSnaps:lt,scrollTarget:St,scrollTo:Mt,slideLooper:Q(Z,Y,ut,nt,et,ct,lt,wt,e),slideFocus:Dt,slidesHandler:X(n,c,w),slidesInView:At,slideIndexes:gt,slideRegistry:Ot,slidesToScroll:it,target:kt,translate:J(Z,n)};return It}var Y={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 _(t){function n(t,n){return C(t,n||{})}return{mergeOptions:n,optionsAtMedia:function(e){const r=e.breakpoints||{};return n(e,T(r).filter(n=>t.matchMedia(n).matches).map(t=>r[t]).reduce((t,e)=>n(t,e),{}))},optionsMediaQueries:function(n){return n.map(t=>T(t.breakpoints||{})).reduce((t,n)=>t.concat(n),[]).map(t.matchMedia)}}}function K(t,n,e){const r=t.ownerDocument,o=r.defaultView,i=_(o),c=function(t){let n=[];return{init:function(e,r){return n=r.filter(({options:n})=>!1!==t.optionsAtMedia(n).active),n.forEach(n=>n.init(e,t)),r.reduce((t,n)=>Object.assign(t,{[n.name]:n}),{})},destroy:function(){n=n.filter(t=>t.destroy())}}}(i),s=H(),u=function(){let t,n={};function e(t){return n[t]||[]}const r={init:function(n){t=n},emit:function(n){return e(n).forEach(e=>e(t,n)),r},off:function(t,o){return n[t]=e(t).filter(t=>t!==o),r},on:function(t,o){return n[t]=e(t).concat([o]),r},clear:function(){n={}}};return r}(),{mergeOptions:a,optionsAtMedia:d,optionsMediaQueries:l}=i,{on:f,off:p,emit:m}=u,g=A;let h,y,x,v,w=!1,k=a(Y,K.globalOptions),b=a(k),S=[];function E(n){const e=Z(t,x,v,r,o,n,u);return n.loop&&!e.slideLooper.canLoop()?E(Object.assign({},n,{loop:!1})):e}function L(n,e){w||(k=a(k,n),b=d(k),S=e||S,function(){const{container:n,slides:e}=b;x=(M(n)?t.querySelector(n):n)||t.children[0];const r=M(e)?x.querySelectorAll(e):e;v=[].slice.call(r||x.children)}(),h=E(b),l([k,...S.map(({options:t})=>t)]).forEach(t=>s.add(t,"change",A)),b.active&&(h.translate.to(h.location.get()),h.animation.init(),h.slidesInView.init(),h.slideFocus.init(z),h.eventHandler.init(z),h.resizeHandler.init(z),h.slidesHandler.init(z),h.options.loop&&h.slideLooper.loop(),x.offsetParent&&v.length&&h.dragHandler.init(z),y=c.init(z,S)))}function A(t,n){const e=I();O(),L(a({startIndex:e},t),n),u.emit("reInit")}function O(){h.dragHandler.destroy(),h.eventStore.clear(),h.translate.clear(),h.slideLooper.clear(),h.resizeHandler.destroy(),h.slidesHandler.destroy(),h.slidesInView.destroy(),h.animation.destroy(),c.destroy(),s.clear()}function D(t,n,e){b.active&&!w&&(h.scrollBody.useBaseFriction().useDuration(!0===n?0:b.duration),h.scrollTo.index(t,e||0))}function I(){return h.index.get()}const z={canScrollNext:function(){return h.index.add(1).get()!==I()},canScrollPrev:function(){return h.index.add(-1).get()!==I()},containerNode:function(){return x},internalEngine:function(){return h},destroy:function(){w||(w=!0,s.clear(),O(),u.emit("destroy"),u.clear())},off:p,on:f,emit:m,plugins:function(){return y},previousScrollSnap:function(){return h.indexPrevious.get()},reInit:g,rootNode:function(){return t},scrollNext:function(t){D(h.index.add(1).get(),t,-1)},scrollPrev:function(t){D(h.index.add(-1).get(),t,1)},scrollProgress:function(){return h.scrollProgress.get(h.offsetLocation.get())},scrollSnapList:function(){return h.scrollSnapList}
vendor: 989 bytes, line 1
1,scrollTo:D,selectedScrollSnap:I,slideNodes:function(){return v},slidesInView:function(){return h.slidesInView.get()},slidesNotInView:function(){return h.slidesInView.get(!1)}};return L(n,e),setTimeout(()=>u.emit("init"),0),z}function tt(t={},n=[]){const r=(0,e.useRef)(t),o=(0,e.useRef)(n),[i,c]=(0,e.useState)(),[s,u]=(0,e.useState)(),a=(0,e.useCallback)(()=>{i&&i.reInit(r.current,o.current)},[i]);return(0,e.useEffect)(()=>{k(r.current,t)||(r.current=t,a())},[t,a]),(0,e.useEffect)(()=>{(function(t,n){if(t.length!==n.length)return!1;const e=b(t),r=b(n);return e.every((t,n)=>k(t,r[n]))})(o.current,n)||(o.current=n,a())},[n,a]),(0,e.useEffect)(()=>{if("undefined"!=typeof window&&window.document&&window.document.createElement&&s){K.globalOptions=tt.globalOptions;const t=K(s,r.current,o.current);return c(t),()=>t.destroy()}c(void 0)},[s,c]),[u,i]}K.globalOptions=void 0,tt.globalOptions=void 0;export{h as a,p as c,d,a as f,y as i,f as l,v as n,g as o,x as r,m as s,tt as t,l as u};
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.