PageSourceSearch

https://www.app.lorka.ai/_next/static/chunks/2tq83yw0g-k47.js

js lorka.ai collected 2026-10-03 19:54:01 UTC 29,858 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,551444,323211,489678,e=>{"use strict";function t(){return(t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function n(e,t){if(e.length!==t.length)throw Error("vectors must be same length");return e.map(function(e,n){return e+t[n]})}function r(e){return Math.max.apply(Math,e.map(Math.abs))}function i(e){return Object.freeze(e),Object.values(e).forEach(function(e){null===e||"object"!=typeof e||Object.isFrozen(e)||i(e)}),e}var o=[1,18,"u">typeof window&&window.innerHeight||800],u=[-1,-1,-1],a=i({preventWheelAction:!0,reverseSign:[!0,!0,!1]});function s(){return{isStarted:!1,isStartPublished:!1,isMomentum:!1,startTime:0,lastAbsDelta:1/0,axisMovement:[0,0,0],axisVelocity:[0,0,0],accelerationFactors:[],scrollPoints:[],scrollPointsToMerge:[],willEndTimeout:400}}let c=function(e){void 0===e&&(e={});var c,l,f,d,m,p=function(){var e={};function t(t,n){e[t]=(e[t]||[]).filter(function(e){return e!==n})}return i({on:function(n,r){return e[n]=(e[n]||[]).concat(r),function(){return t(n,r)}},off:t,dispatch:function(t,n){t in e&&e[t].forEach(function(e){return e(n)})}})}(),h=p.on,g=p.off,v=p.dispatch,x=a,b=s(),y=!1,w=function(e){Array.isArray(e)?e.forEach(function(e){return D(e)}):D(e)},M=function(e){return(void 0===e&&(e={}),Object.values(e).some(function(e){return null==e}))?x:x=i(t({},a,x,e))},S=function(e){var r=t({event:d,isStart:!1,isEnding:!1,isMomentumCancel:!1,isMomentum:b.isMomentum,axisDelta:[0,0,0],axisVelocity:b.axisVelocity,axisMovement:b.axisMovement,get axisMovementProjection(){return n(r.axisMovement,r.axisVelocity.map(function(e){var t;return void 0===t&&(t=.996),e*t/(1-t)}))}},e);v("wheel",t({},r,{previous:m})),m=r},E=function(e,t){var n=x.preventWheelAction,r=t[0],i=t[1],o=t[2];if("boolean"==typeof n)return n;switch(n){case"x":return Math.abs(r)>=e;case"y":return Math.abs(i)>=e;case"z":return Math.abs(o)>=e;default:return!1}},D=function(e){var i,a,s,c,l=(c=function(e,n){if(!n)return e;var r=!0===n?u:n.map(function(e){return e?-1:1});return t({},e,{axisDelta:e.axisDelta.map(function(e,t){return e*r[t]})})}((i=e.deltaX*o[e.deltaMode],a=e.deltaY*o[e.deltaMode],s=(e.deltaZ||0)*o[e.deltaMode],{timeStamp:e.timeStamp,axisDelta:[i,a,s]}),x.reverseSign),t({},c,{axisDelta:c.axisDelta.map(function(e){return Math.min(Math.max(-700,e),700)})})),f=l.axisDelta,m=l.timeStamp,p=r(f);if(e.preventDefault&&E(p,f)&&e.preventDefault(),b.isStarted?b.isMomentum&&p>Math.max(2,2*b.lastAbsDelta)&&(N(!0),C()):C(),0===p&&Object.is&&Object.is(e.deltaX,-0)){y=!0;return}d=e,b.axisMovement=n(b.axisMovement,f),b.lastAbsDelta=p,b.scrollPointsToMerge.push({axisDelta:f,timeStamp:m}),P(),S({axisDelta:f,isStart:!b.isStartPublished}),b.isStartPublished=!0,I()},P=function(){if(2===b.scrollPointsToMerge.length){var e;b.scrollPoints.unshift({axisDeltaSum:b.scrollPointsToMerge.map(function(e){return e.axisDelta}).reduce(n),timeStamp:(e=b.scrollPointsToMerge.map(function(e){return e.timeStamp})).reduce(function(e,t){return e+t})/e.length}),j(),b.scrollPointsToMerge.length=0,b.scrollPoints.length=1,b.isMomentum||T()}else b.isStartPublished||O()},O=function(){var e;b.axisVelocity=(e=b.scrollPointsToMerge)[e.length-1].axisDelta.map(function(e){return e/b.willEndTimeout})},j=function(){var e=b.scrollPoints,t=e[0],n=e[1];if(n&&t){var r=t.timeStamp-n.timeStamp;if(r<=0)return;var i=t.axisDeltaSum.map(function(e){return e/r}),o=i.map(function(e,t){return e/(b.axisVelocity[t]||1)});b.axisVelocity=i,b.accelerationFactors.push(o),k(r)}},k=function(e){var t=10*Math.ceil(e/10)*1.2;b.isMomentum||(t=Math.max(100,2*t)),b.willEndTimeout=Math.min(1e3,Math.round(t))},A=function(e){return 0===e||e<=.96&&e>=.6},T=function(){if(b.accelerationFactors.length>=5){if(y&&(y=!1,r(b.axisVelocity)>=.2))return void L();var e=b.accelerationFactors.slice(-5);e.every(function(e){var t=!!e.reduce(function(e,t){return e&&e<1&&e===t?1:0}),n=e.filter(A).length===e.length;return t||n})&&L(),b.accelerationFactors=e}},L=function(){b.isMomentum=!0},C=function(){(b=s()).isStarted=!0,b.startTime=Date.now(),m=void 0,y=!1},I=function(){clearTimeout(c),c=setTimeout(N,b.willEndTimeout)},N=function(e){void 0===e&&(e=!1),b.isStarted&&(b.isMomentum&&e?S({isEnding:!0,isMomentumCancel:!0}):S({isEnding:!0}),b.isMomentum=!1,b.isStarted=!1)},F=(l=[],i({observe:function(e){return e.addEventListener("wheel",w,{passive:!1}),l.push(e),function(){return f(e)}},unobserve:f=function(e){e.removeEventListener("wheel",w),l=l.filter(function(t){return t!==e})},disconnect:function(){l.forEach(f)}}
1)),z=F.observe,V=F.unobserve,R=F.disconnect;return M(e),i({on:h,off:g,observe:z,unobserve:V,disconnect:R,feedWheel:w,updateOptions:M})};var l={active:!0,breakpoints:{},wheelDraggingClass:"is-wheel-dragging",forceWheelAxis:void 0,target:void 0};function f(e){void 0===e&&(e={});var t,n=function(){};return{name:"wheelGestures",options:e,init:function(r,i){var o,u,a,s=i.mergeOptions,d=i.optionsAtMedia,m=s(l,f.globalOptions);t=d(s(m,e));var p=r.internalEngine(),h=null!=(o=t.target)?o:r.containerNode().parentNode,g=null!=(u=t.forceWheelAxis)?u:p.options.axis,v=c({preventWheelAction:g,reverseSign:[!0,!0,!1]});function x(){S=("x"===g?p.containerRect.width:p.containerRect.height)/2}var b=v.observe(h),y=v.on("wheel",function(e){var r=e.axisDelta,i=r[0],o=r[1],u="x"===g?i:o,s="x"===g?o:i,c=e.isMomentum&&e.previous&&!e.previous.isMomentum,l=e.isEnding&&!e.isMomentum||c;!(Math.abs(u)>Math.abs(s))||w||e.isMomentum||E||function(e){try{a=new MouseEvent("mousedown",e.event),k(a)}catch(e){return n()}w=!0,M=0,document.documentElement.addEventListener("mousemove",O,!0),document.documentElement.addEventListener("mouseup",O,!0),document.documentElement.addEventListener("mousedown",O,!0),t.wheelDraggingClass&&h.classList.add(t.wheelDraggingClass)}(e),E&&e.isEnding&&(E=!1),w&&!function(e){var t=A(e),n=t.isAtBoundary,r=t.primaryAxisDelta;if(n&&!e.isMomentum){if((M+=Math.abs(r))>S)return E=!0,D(e),!0}else M=0;return!1}(e)&&(l?D(e):k(j("mousemove",e)))}),w=!1,M=0,S=0,E=!1;function D(e){w=!1,k(j("mouseup",e)),P(),t.wheelDraggingClass&&h.classList.remove(t.wheelDraggingClass)}function P(){document.documentElement.removeEventListener("mousemove",O,!0),document.documentElement.removeEventListener("mouseup",O,!0),document.documentElement.removeEventListener("mousedown",O,!0)}function O(e){w&&e.isTrusted&&e.stopImmediatePropagation()}function j(e,t){if(g===p.options.axis){var n,r,i=t.axisMovement;n=i[0],r=i[1]}else{var o=t.axisMovement;r=o[0],n=o[1]}if(A(t).isAtBoundary){var u=Math.min(M/S,1),s=M*(n>0?-1:1)*(.25+.5*u);n+=s,r+=s}if(!p.options.skipSnaps&&!p.options.dragFree){var c=p.containerRect.width,l=p.containerRect.height;n=n<0?Math.max(n,-c):Math.min(n,c),r=r<0?Math.max(r,-l):Math.min(r,l)}return new MouseEvent(e,{clientX:a.clientX+n,clientY:a.clientY+r,screenX:a.screenX+n,screenY:a.screenY+r,movementX:n,movementY:r,button:0,bubbles:!0,cancelable:!0,composed:!0})}function k(e){r.containerNode().dispatchEvent(e)}function A(e){var t=e.axisDelta,n=t[0],i=t[1],o=r.scrollProgress(),u="x"===g?n:i;return{isAtBoundary:u<0&&!(o<1)||u>0&&!(o>0),primaryAxisDelta:u}}x(),r.on("resize",x),n=function(){b(),y(),r.off("resize",x),P()}},destroy:function(){return n()}}}f.globalOptions=void 0,e.s(["WheelGesturesPlugin",0,f],551444);var d=e.i(732617),m=e.i(298875);function p(e){return"[object Object]"===Object.prototype.toString.call(e)||Array.isArray(e)}function h(e,t){let n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&JSON.stringify(Object.keys(e.breakpoints||{}))===JSON.stringify(Object.keys(t.breakpoints||{}))&&n.every(n=>{let r=e[n],i=t[n];return"function"==typeof r?`${r}`==`${i}`:p(r)&&p(i)?h(r,i):r===i})}function g(e){return e.concat().sort((e,t)=>e.name>t.name?1:-1).map(e=>e.options)}function v(e){return"number"==typeof e}function x(e){return"string"==typeof e}function b(e){return"boolean"==typeof e}function y(e){return"[object Object]"===Object.prototype.toString.call(e)}function w(e){return Math.abs(e)}function M(e){return Math.sign(e)}function S(e){return O(e).map(Number)}function E(e){return e[D(e)]}function D(e){return Math.max(0,e.length-1)}function P(e,t=0){return Array.from(Array(e),(e,n)=>t+n)}function O(e){return Object.keys(e)}function j(e,t){return void 0!==t.MouseEvent&&e instanceof t.MouseEvent}function k(){let e=[],t={add:function(n,r,i,o={passive:!0}){let u;return"addEventListener"in n?(n.addEventListener(r,i,o),u=()=>n.removeEventListener(r,i,o)):(n.addListener(i),u=()=>n.removeListener(i)),e.push(u),t},clear:function(){e=e.filter(e=>e())}};return t}function A(e=0,t=0){let n=w(e-t);function r(n){return n<e||n>t}return{length:n,max:t,min:e,constrain:function(n){return r(n)?n<e?e:t:n},reachedAny:r,reachedMax:function(e){return e>t},reachedMin:function(t){return t<e}
1,removeOffset:function(e){return n?e-n*Math.ceil((e-t)/n):e}}}function T(e){let t=e;function n(e){return v(e)?e:e.get()}return{get:function(){return t},set:function(e){t=n(e)},add:function(e){t+=n(e)},subtract:function(e){t-=n(e)}}}function L(e,t){let n="x"===e.scroll?function(e){return`translate3d(${e}px,0px,0px)`}:function(e){return`translate3d(0px,${e}px,0px)`},r=t.style,i=null,o=!1;return{clear:function(){!o&&(r.transform="",t.getAttribute("style")||t.removeAttribute("style"))},to:function(t){if(o)return;let u=Math.round(100*e.direction(t))/100;u!==i&&(r.transform=n(u),i=u)},toggleActive:function(e){o=!e}}}let C={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 I(e,t,n){let r,i,o,u,a,s,c,l,f=e.ownerDocument,d=f.defaultView,m=function(e){function t(e,t){return function e(t,n){return[t,n].reduce((t,n)=>(O(n).forEach(r=>{let i=t[r],o=n[r],u=y(i)&&y(o);t[r]=u?e(i,o):o}),t),{})}(e,t||{})}return{mergeOptions:t,optionsAtMedia:function(n){let r=n.breakpoints||{},i=O(r).filter(t=>e.matchMedia(t).matches).map(e=>r[e]).reduce((e,n)=>t(e,n),{});return t(n,i)},optionsMediaQueries:function(t){return t.map(e=>O(e.breakpoints||{})).reduce((e,t)=>e.concat(t),[]).map(e.matchMedia)}}}(d),p=(l=[],{init:function(e,t){return(l=t.filter(({options:e})=>!1!==m.optionsAtMedia(e).active)).forEach(t=>t.init(e,m)),t.reduce((e,t)=>Object.assign(e,{[t.name]:t}),{})},destroy:function(){l=l.filter(e=>e.destroy())}}),h=k(),g=(i={},o={init:function(e){r=e},emit:function(e){return(i[e]||[]).forEach(t=>t(r,e)),o},off:function(e,t){return i[e]=(i[e]||[]).filter(e=>e!==t),o},on:function(e,t){return i[e]=(i[e]||[]).concat([t]),o},clear:function(){i={}}}),{mergeOptions:N,optionsAtMedia:F,optionsMediaQueries:z}=m,{on:V,off:R,emit:B}=g,H=!1,$=N(C,I.globalOptions),X=N($),W=[];function Y(t,n){H||(X=F($=N($,t)),W=n||W,function(){let{container:t,slides:n}=X;s=(x(t)?e.querySelector(t):t)||e.children[0];let r=x(n)?s.querySelectorAll(n):n;c=[].slice.call(r||s.children)}(),u=function t(n){let r=function(e,t,n,r,i,o,u){var a,s;let c,l,f,d,m,p,h,g,y,C,I,N,F,z,{align:V,axis:R,direction:B,startIndex:H,loop:$,duration:X,dragFree:W,dragThreshold:Y,inViewThreshold:K,slidesToScroll:U,skipSnaps:q,containScroll:G,watchResize:J,watchSlides:Q,watchDrag:Z,watchFocus:_}=o,ee={measure:function(e){let{offsetTop:t,offsetLeft:n,offsetWidth:r,offsetHeight:i}=e;return{top:t,right:n+r,bottom:t+i,left:n,width:r,height:i}}},et=ee.measure(t),en=n.map(ee.measure),er=(l="rtl"===B,d=(f="y"===R)||!l?1:-1,m=f?"top":l?"right":"left",p=f?"bottom":l?"left":"right",{scroll:f?"y":"x",cross:f?"x":"y",startEdge:m,endEdge:p,measureSize:function(e){let{height:t,width:n}=e;return f?t:n},direction:function(e){return e*d}}),ei=er.measureSize(et),eo={measure:function(e){return e/100*ei}},eu=(a=V,s=ei,c={start:function(){return 0},center:function(e){return(s-e)/2},end:function(e){return s-e}},{measure:function(e,t){return x(a)?c[a](e):a(s,e,t)}}),ea=!$&&!!G,{slideSizes:es,slideSizesWithGaps:ec,startGap:el,endGap:ef}=function(e,t,n,r,i,o){let{measureSize:u,startEdge:a,endEdge:s}=e,c=n[0]&&i,l=function(){if(!c)return 0;let e=n[0];return w(t[a]-e[a])}(),f=c?parseFloat(o.getComputedStyle(E(r)).getPropertyValue(`margin-${s}`)):0,d=n.map(u),m=n.map((e,t,n)=>{let r=t===D(n);return t?r?d[t]+f:n[t+1][a]-e[a]:d[t]+l}).map(w);return{slideSizes:d,slideSizesWithGaps:m,startGap:l,endGap:f}}(er,et,en,n,$||!!G,i),ed=function(e,t,n,r,i,o,u,a){let{startEdge:s,endEdge:c,direction:l}=e,f=v(n);return{groupSlides:function(e){return f?S(e).filter(e=>e%n==0).map(t=>e.slice(t,t+n)):e.length?S(e).reduce((n,f,d)=>{let m=E(n)||0,p=f===D(e),h=i[s]-o[m][s],g=i[s]-o[f][c],v=r||0!==m?0:l(u),x=w(g-(!r&&p?l(a):0)-(h+v));return d&&x>t+2&&n.push(f),p&&n.push(e.length),n},[]).map((t,n,r)=>{let i=Math.max(r[n-1]||0);return e.slice(i,t)}):[]}}}(er,ei,U,$,et,en,el,ef),{snaps:em,snapsAligned:ep}=function(e,t,n,r,i){let{startEdge:o,endEdge:u}=e,{groupSlides:a}=i,s=a(r).map(e=>E(e)[u]-e[0][o]).map(w).map(t.measure),c=r.map(e=>n[o]-e[o]).map(e=>-w(e)),l=a(c).map(e=>e[0]).map((e,t)=>e+s[t]);return{snaps:c,snapsAligned:l}}
1(er,eu,et,en,ed),eh=-E(em)+E(ec),{snapsContained:eg,scrollContainLimit:ev}=function(e,t,n,r){let i,o,u=A(-t+e,0),a=n.map((e,t)=>{let{min:r,max:i}=u,o=u.constrain(e),a=t===D(n);return t?a||function(e,t){return 1>=w(e-t)}(r,o)?r:function(e,t){return 1>=w(e-t)}(i,o)?i:o:i}).map(e=>parseFloat(e.toFixed(3))),s=(i=a[0],o=E(a),A(a.lastIndexOf(i),a.indexOf(o)+1));return{snapsContained:function(){if(t<=e+2)return[u.max];if("keepSnaps"===r)return a;let{min:n,max:i}=s;return a.slice(n,i)}(),scrollContainLimit:s}}(ei,eh,ep,G),ex=ea?eg:ep,{limit:eb}=(h=ex[0],{limit:A($?h-eh:E(ex),h)}),ey=function e(t,n,r){let{constrain:i}=A(0,t),o=t+1,u=a(n);function a(e){return r?w((o+e)%o):i(e)}function s(){return e(t,u,r)}let c={get:function(){return u},set:function(e){return u=a(e),c},add:function(e){return s().set(u+e)},clone:s};return c}(D(ex),H,$),ew=ey.clone(),eM=S(n),eS=function(e,t,n,r){let i=k(),o=1e3/60,u=null,a=0,s=0;function c(e){if(!s)return;u||(u=e,n(),n());let i=e-u;for(u=e,a+=i;a>=o;)n(),a-=o;r(a/o),s&&(s=t.requestAnimationFrame(c))}function l(){t.cancelAnimationFrame(s),u=null,a=0,s=0}
1return{init:function(){i.add(e,"visibilitychange",()=>{e.hidden&&(u=null,a=0)})},destroy:function(){l(),i.clear()},start:function(){s||(s=t.requestAnimationFrame(c))},stop:l,update:n,render:r}}(r,i,()=>(({dragHandler:e,scrollBody:t,scrollBounds:n,options:{loop:r}})=>{r||n.constrain(e.pointerDown()),t.seek()})(ez),e=>(({scrollBody:e,translate:t,location:n,offsetLocation:r,previousLocation:i,scrollLooper:o,slideLooper:u,dragHandler:a,animation:s,eventHandler:c,scrollBounds:l,options:{loop:f}},d)=>{let m=e.settled(),p=!l.shouldConstrain(),h=f?m:m&&p,g=h&&!a.pointerDown();g&&s.stop();let v=n.get()*d+i.get()*(1-d);r.set(v),f&&(o.loop(e.direction()),u.loop()),t.to(r.get()),g&&c.emit("settle"),h||c.emit("scroll")})(ez,e)),eE=ex[ey.get()],eD=T(eE),eP=T(eE),eO=T(eE),ej=T(eE),ek=function(e,t,n,r,i){let o=0,u=0,a=i,s=.68,c=e.get(),l=0;function f(e){return a=e,m}function d(e){return s=e,m}let m={direction:function(){return u},duration:function(){return a},velocity:function(){return o},seek:function(){let t=r.get()-e.get(),i=0;return a?(n.set(e),o+=t/a,o*=s,c+=o,e.add(o),i=c-l):(o=0,n.set(r),e.set(r),i=t),u=M(i),l=c,m},settled:function(){return .001>w(r.get()-t.get())},useBaseFriction:function(){return d(.68)},useBaseDuration:function(){return f(i)},useFriction:d,useDuration:f};return m}(eD,eO,eP,ej,X),eA=function(e,t,n,r,i){let{reachedAny:o,removeOffset:u,constrain:a}=r;function s(e){return e.concat().sort((e,t)=>w(e)-w(t))[0]}function c(t,r){let i=[t,t+n,t-n];if(!e)return t;if(!r)return s(i);let o=i.filter(e=>M(e)===r);return o.length?s(o):E(i)-n}return{byDistance:function(n,r){let s=i.get()+n,{index:l,distance:f}=function(n){let r=e?u(n):a(n),{index:i}=t.map((e,t)=>({diff:c(e-r,0),index:t})).sort((e,t)=>w(e.diff)-w(t.diff))[0];return{index:i,distance:r}}(s),d=!e&&o(s);if(!r||d)return{index:l,distance:n};let m=n+c(t[l]-f,0);return{index:l,distance:m}},byIndex:function(e,n){let r=c(t[e]-i.get(),n);return{index:e,distance:r}},shortcut:c}}($,ex,eh,eb,ej),eT=function(e,t,n,r,i,o,u){function a(i){let a=i.distance,s=i.index!==t.get();
1o.add(a),a&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),s&&(n.set(t.get()),t.set(i.index),u.emit("select"))}return{distance:function(e,t){a(i.byDistance(e,t))},index:function(e,n){let r=t.clone().set(e);a(i.byIndex(r.get(),n))}}}(eS,ey,ew,ek,eA,ej,u),eL=function(e){let{max:t,length:n}=e;return{get:function(e){return n?-((e-t)/n):0}}}(eb),eC=k(),eI=(y={},C=null,I=null,N=!1,{init:function(){g=new IntersectionObserver(e=>{N||(e.forEach(e=>{y[n.indexOf(e.target)]=e}),C=null,I=null,u.emit("slidesInView"))},{root:t.parentElement,threshold:K}),n.forEach(e=>g.observe(e))},destroy:function(){g&&g.disconnect(),N=!0},get:function(e=!0){if(e&&C)return C;if(!e&&I)return I;let t=O(y).reduce((t,n)=>{let r=parseInt(n),{isIntersecting:i}=y[r];return(e&&i||!e&&!i)&&t.push(r),t},[]);return e&&(C=t),e||(I=t),t}}),{slideRegistry:eN}=function(e,t,n,r,i,o){let u,{groupSlides:a}=i,{min:s,max:c}=r;return{slideRegistry:(u=a(o),1===n.length?[o]:e&&"keepSnaps"!==t?u.slice(s,c).map((e,t,n)=>{let r=t===D(n);return t?r?P(D(o)-E(n)[0]+1,E(n)[0]):e:P(E(n[0])+1)}):u)}}(ea,G,ex,ev,ed,eM),eF=function(e,t,n,r,i,o,u,a){let s={passive:!0,capture:!0},c=0;function l(e){"Tab"===e.code&&(c=new Date().getTime())}return{init:function(f){a&&(o.add(document,"keydown",l,!1),t.forEach((t,l)=>{o.add(t,"focus",t=>{(b(a)||a(f,t))&&function(t){if(new Date().getTime()-c>10)return;u.emit("slideFocusStart"),e.scrollLeft=0;let o=n.findIndex(e=>e.includes(t));v(o)&&(i.useDuration(0),r.index(o,0),u.emit("slideFocus"))}(l)},s)}))}}}(e,n,eN,eT,ek,eC,u,_),ez={ownerDocument:r,ownerWindow:i,eventHandler:u,containerRect:et,slideRects:en,animation:eS,axis:er,dragHandler:function(e,t,n,r,i,o,u,a,s,c,l,f,d,m,p,h,g,v){let{cross:x,direction:y}=e,S=["INPUT","SELECT","TEXTAREA"],E={passive:!1},D=k(),P=k(),O=A(50,225).constrain(m.measure(20)),T={mouse:300,touch:400},L={mouse:500,touch:600},C=p?43:25,I=!1,N=0,F=0,z=!1,V=!1,R=!1,B=!1;function H(e){if(!j(e,r)&&e.touches.length>=2)return $(e);let t=o.readPoint(e),n=o.readPoint(e,x),u=w(t-N),s=w(n-F);if(!V&&!B&&(!e.cancelable||!(V=u>s)))return $(e);let l=o.pointerMove(e);u>h&&(R=!0),c.useFriction(.3).useDuration(.75),a.start(),i.add(y(l)),e.preventDefault()}function $(e){var t;let n,r,i=l.byDistance(0,!1).index!==f.get(),u=o.pointerUp(e)*(p?L:T)[B?"mouse":"touch"],a=(t=y(u),n=f.add(-1*M(t)),r=l.byDistance(t,!p).distance,p||w(t)<O?r:g&&i?.5*r:l.byIndex(n.get(),0).distance),m=function(e,t){var n,r;if(0===e||0===t||w(e)<=w(t))return 0;let i=(n=w(e),r=w(t),w(n-r));return w(i/e)}(u,a);V=!1,z=!1,P.clear(),c.useDuration(C-10*m).useFriction(.68+m/50),s.distance(a,!p),B=!1,d.emit("pointerUp")}function X(e){R&&(e.stopPropagation(),e.preventDefault(),R=!1)}return{init:function(e){v&&D.add(t,"dragstart",e=>e.preventDefault(),E).add(t,"touchmove",()=>void 0,E).add(t,"touchend",()=>void 0).add(t,"touchstart",a).add(t,"mousedown",a).add(t,"touchcancel",$).add(t,"contextmenu",$).add(t,"click",X,!0);function a(a){(b(v)||v(e,a))&&function(e){let a,s=j(e,r);if((B=s,R=p&&s&&!e.buttons&&I,I=w(i.get()-u.get())>=2,!s||0===e.button)&&(a=e.target.nodeName||"",!S.includes(a))){let r;z=!0,o.pointerDown(e),c.useFriction(0).useDuration(0),i.set(u),r=B?n:t,P.add(r,"touchmove",H,E).add(r,"touchend",$).add(r,"mousemove",H,E).add(r,"mouseup",$),N=o.readPoint(e),F=o.readPoint(e,x),d.emit("pointerDown")}}(a)}},destroy:function(){D.clear(),P.clear()},pointerDown:function(){return z}}}(er,e,r,i,ej,function(e,t){let n,r;function i(e){return e.timeStamp}function o(n,r){let i=r||e.scroll,o=`client${"x"===i?"X":"Y"}`;return(j(n,t)?n:n.touches[0])[o]}return{pointerDown:function(e){return n=e,r=e,o(e)},pointerMove:function(e){let t=o(e)-o(r),u=i(e)-i(n)>170;return r=e,u&&(n=e),t},pointerUp:function(e){if(!n||!r)return 0;let t=o(r)-o(n),u=i(e)-i(n),a=i(e)-i(r)>170,s=t/u;return u&&!a&&w(s)>.1?s:0},readPoint:o}}(er,i),eD,eS,eT,ek,eA,ey,u,eo,W,Y,q,Z),eventStore:eC,percentOfView:eo,index:ey,indexPrevious:ew,limit:eb,location:eD,offsetLocation:eO,previousLocation:eP,options:o,resizeHandler:function(e,t,n,r,i,o,u){let a,s,c=[e].concat(r),l=[],f=!1;function d(e){return i.measureSize(u.measure(e))}return{init:function(i){o&&(s=d(e),l=r.map(d),a=new ResizeObserver(n=>{(b(o)||o(i,n))&&function(n){for(let o of n){if(f)return;let n=o.target===e,u=r.indexOf(o.target),a=n?s:l[u];if(w(d(n?e:r[u])-a)>=.5){i.reInit(),t.emit("resize");break}}}(n)}),n.requestAnimationFrame(()=>
1{c.forEach(e=>a.observe(e))}))},destroy:function(){f=!0,a&&a.disconnect()}}}(t,u,i,n,er,J,ee),scrollBody:ek,scrollBounds:function(e,t,n,r,i){let o=i.measure(10),u=i.measure(50),a=A(.1,.99),s=!1;function c(){return!s&&!!e.reachedAny(n.get())&&!!e.reachedAny(t.get())}return{shouldConstrain:c,constrain:function(i){if(!c())return;let s=e.reachedMin(t.get())?"min":"max",l=w(e[s]-t.get()),f=n.get()-t.get(),d=a.constrain(l/u);n.subtract(f*d),!i&&w(f)<o&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())},toggleActive:function(e){s=!e}}}(eb,eO,ej,ek,eo),scrollLooper:function(e,t,n,r){let{reachedMin:i,reachedMax:o}=A(t.min+.1,t.max+.1);return{loop:function(t){if(!(1===t?o(n.get()):-1===t&&i(n.get())))return;let u=-1*t*e;r.forEach(e=>e.add(u))}}}(eh,eb,eO,[eD,eO,eP,ej]),scrollProgress:eL,scrollSnapList:ex.map(eL.get),scrollSnaps:ex,scrollTarget:eA,scrollTo:eT,slideLooper:function(e,t,n,r,i,o,u,a,s){let c=S(i),l=S(i).reverse(),f=p(m(l,u[0]),n,!1).concat(p(m(c,t-u[0]-1),-n,!0));function d(e,t){return e.reduce((e,t)=>e-i[t],t)}function m(e,t){return e.reduce((e,n)=>d(e,t)>0?e.concat([n]):e,[])}function p(i,u,c){let l=o.map((e,n)=>({start:e-r[n]+.5+u,end:e+t-.5+u}));return i.map(t=>{let r=c?0:-n,i=c?n:0,o=l[t][c?"end":"start"];return{index:t,loopPoint:o,slideLocation:T(-1),translate:L(e,s[t]),target:()=>a.get()>o?r:i}})}return{canLoop:function(){return f.every(({index:e})=>.1>=d(c.filter(t=>t!==e),t))},clear:function(){f.forEach(e=>e.translate.clear())},loop:function(){f.forEach(e=>{let{target:t,translate:n,slideLocation:r}=e,i=t();i!==r.get()&&(n.to(i),r.set(i))})},loopPoints:f}}(er,ei,eh,es,ec,em,ex,eO,n),slideFocus:eF,slidesHandler:(z=!1,{init:function(e){Q&&(F=new MutationObserver(t=>{!z&&(b(Q)||Q(e,t))&&function(t){for(let n of t)if("childList"===n.type){e.reInit(),u.emit("slidesChanged");break}}(t)})).observe(t,{childList:!0})},destroy:function(){F&&F.disconnect(),z=!0}}),slidesInView:eI,slideIndexes:eM,slideRegistry:eN,slidesToScroll:ed,target:ej,translate:L(er,t)};return ez}(e,s,c,f,d,n,g);return n.loop&&!r.slideLooper.canLoop()?t(Object.assign({},n,{loop:!1})):r}(X),z([$,...W.map(({options:e})=>e)]).forEach(e=>h.add(e,"change",K)),X.active&&(u.translate.to(u.location.get()),u.animation.init(),u.slidesInView.init(),u.slideFocus.init(J),u.eventHandler.init(J),u.resizeHandler.init(J),u.slidesHandler.init(J),u.options.loop&&u.slideLooper.loop(),s.offsetParent&&c.length&&u.dragHandler.init(J),a=p.init(J,W)))}function K(e,t){let n=G();U(),Y(N({startIndex:n},e),t),g.emit("reInit")}function U(){u.dragHandler.destroy(),u.eventStore.clear(),u.translate.clear(),u.slideLooper.clear(),u.resizeHandler.destroy(),u.slidesHandler.destroy(),u.slidesInView.destroy(),u.animation.destroy(),p.destroy(),h.clear()}function q(e,t,n){X.active&&!H&&(u.scrollBody.useBaseFriction().useDuration(!0===t?0:X.duration),u.scrollTo.index(e,n||0))}function G(){return u.index.get()}let J={canScrollNext:function(){return u.index.add(1).get()!==G()},canScrollPrev:function(){return u.index.add(-1).get()!==G()},containerNode:function(){return s},internalEngine:function(){return u},destroy:function(){H||(H=!0,h.clear(),U(),g.emit("destroy"),g.clear())},off:R,on:V,emit:B,plugins:function(){return a},previousScrollSnap:function(){return u.indexPrevious.get()},reInit:K,rootNode:function(){return e},scrollNext:function(e){q(u.index.add(1).get(),e,-1)},scrollPrev:function(e){q(u.index.add(-1).get(),e,1)},scrollProgress:function(){return u.scrollProgress.get(u.offsetLocation.get())},scrollSnapList:function(){return u.scrollSnapList},scrollTo:q,selectedScrollSnap:G,slideNodes:function(){return c},slidesInView:function(){return u.slidesInView.get()},slidesNotInView:function(){return u.slidesInView.get(!1)}};return Y(t,n),setTimeout(()=>g.emit("init"),0),J}function N(e={},t=[]){let n=(0,m.useRef)(e),r=(0,m.useRef)(t),[i,o]=(0,m.useState)(),[u,a]=(0,m.useState)(),s=(0,m.useCallback)(()=>{i&&i.reInit(n.current,r.current)},[i]);return(0,m.useEffect)(()=>{h(n.current,e)||(n.current=e,s())},[e,s]),(0,m.useEffect)(()=>{!function(e,t){if(e.length!==t.length)return!1;let n=g(e),r=g(t);return n.every((e,t)=>h(e,r[t]))}(r.current,t)&&(r.current=t,s())},[t,s]),(0,m.useEffect)(()=>
1{if("u">typeof window&&window.document&&window.document.createElement&&u){I.globalOptions=N.globalOptions;let e=I(u,n.current,r.current);return o(e),()=>e.destroy()}o(void 0)},[u,o]),[a,i]}I.globalOptions=void 0,N.globalOptions=void 0;var F=e.i(975157),z=e.i(519455),V=e.i(750201),R=e.i(239736);let B=m.createContext(null);function H(){let e=m.useContext(B);if(!e)throw Error("useCarousel must be used within a <Carousel />");return e}e.s(["Carousel",0,function({orientation:e="horizontal",opts:t,setApi:n,plugins:r,className:i,children:o,...u}){let[a,s]=N({...t,axis:"horizontal"===e?"x":"y"},r),[c,l]=m.useState(!1),[f,p]=m.useState(!1),h=m.useCallback(e=>{e&&(l(e.canScrollPrev()),p(e.canScrollNext()))},[]),g=m.useCallback(()=>{s?.scrollPrev()},[s]),v=m.useCallback(()=>{s?.scrollNext()},[s]),x=m.useCallback(e=>{"ArrowLeft"===e.key?(e.preventDefault(),g()):"ArrowRight"===e.key&&(e.preventDefault(),v())},[g,v]);return m.useEffect(()=>{s&&n&&n(s)},[s,n]),m.useEffect(()=>{if(s)return h(s),s.on("reInit",h),s.on("select",h),()=>{s?.off("select",h)}},[s,h]),(0,d.jsx)(B.Provider,{value:{carouselRef:a,api:s,opts:t,orientation:e||(t?.axis==="y"?"vertical":"horizontal"),scrollPrev:g,scrollNext:v,canScrollPrev:c,canScrollNext:f},children:(0,d.jsx)("div",{onKeyDownCapture:x,className:(0,F.cn)("relative",i),role:"region","aria-roledescription":"carousel","data-slot":"carousel",...u,children:o})})},"CarouselContent",0,function({className:e,...t}){let{carouselRef:n,orientation:r}=H();return(0,d.jsx)("div",{ref:n,className:"overflow-hidden","data-slot":"carousel-content",children:(0,d.jsx)("div",{className:(0,F.cn)("flex","horizontal"===r?"-ml-4":"-mt-4 flex-col",e),...t})})},"CarouselItem",0,function({className:e,...t}){let{orientation:n}=H();return(0,d.jsx)("div",{role:"group","aria-roledescription":"slide","data-slot":"carousel-item",className:(0,F.cn)("min-w-0 shrink-0 grow-0 basis-full","horizontal"===n?"pl-4":"pt-4",e),...t})},"CarouselNext",0,function({className:e,variant:t="outline",size:n="icon-sm",...r}){let{orientation:i,scrollNext:o,canScrollNext:u}=H();return(0,d.jsxs)(z.Button,{"data-slot":"carousel-next",variant:t,size:n,className:(0,F.cn)("absolute touch-manipulation rounded-full","horizontal"===i?"top-1/2 -right-12 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!u,onClick:o,...r,children:[(0,d.jsx)(R.ChevronRightIcon,{}),(0,d.jsx)("span",{className:"sr-only",children:"Next slide"})]})},"CarouselPrevious",0,function({className:e,variant:t="outline",size:n="icon-sm",...r}){let{orientation:i,scrollPrev:o,canScrollPrev:u}=H();return(0,d.jsxs)(z.Button,{"data-slot":"carousel-previous",variant:t,size:n,className:(0,F.cn)("absolute touch-manipulation rounded-full","horizontal"===i?"top-1/2 -left-12 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!u,onClick:o,...r,children:[(0,d.jsx)(V.ChevronLeftIcon,{}),(0,d.jsx)("span",{className:"sr-only",children:"Previous slide"})]})}],323211);var $=e.i(967837),X=e.i(20129),W=e.i(570850);let Y={chat:["write","ideas","explain","plan"],image:["lighthouse","portrait","poster","interior"],imageEdit:["background","mono","remove","style"],video:["waves","coffee","drone","city"],videoEdit:["slower","warmer","zoom","loop"]};e.s(["PromptInputSuggestion",0,function({set:e,placeholder:t,className:n,...r}){let i=(0,$.useTranslations)("promptInput.suggestions"),o=(0,$.useTranslations)("promptInput"),u=(0,X.useOptionalPromptInputController)(),a=(0,m.useRef)(null),[s,c]=(0,m.useState)(),[l]=(0,m.useState)(()=>{let t=Y[e];return t[Math.floor(Math.random()*t.length)]});(0,m.useLayoutEffect)(()=>{let e=a.current;if(!e)return;let t=()=>{let t=getComputedStyle(e);c({left:e.offsetLeft+Number.parseFloat(t.paddingLeft),top:e.offsetTop+Number.parseFloat(t.paddingTop),width:e.clientWidth-Number.parseFloat(t.paddingLeft)-Number.parseFloat(t.paddingRight)})};t();let n=new ResizeObserver(t);return n.observe(e),e.offsetParent&&n.observe(e.offsetParent),()=>n.disconnect()},[]);let f=!u?.textInput.value&&void 0!==s;return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(W.PromptInput.Textarea,{ref:a,className:(0,F.cn)(f&&"desktop-pointer:select-none desktop-pointer:placeholder:text-transparent",n),...r,onKeyDown:t=>{"Tab"!==t.key||t.shiftKey||!f||window.matchMedia("(hover: hover) and (pointer: fine)").matches&&(t.preventDefault(),u?.textInput.setInput(i(`${e}.${l}`)))},placeholder:t}
1),f&&(0,d.jsxs)("span",{"aria-hidden":!0,className:"pointer-events-none absolute hidden items-center gap-1.5 text-sm/5 text-muted-foreground select-none desktop-pointer:flex",style:s,children:[(0,d.jsx)("span",{className:"truncate",children:i(`${e}.${l}`)}),(0,d.jsx)("kbd",{className:"shrink-0 rounded-[5px] border border-border bg-background px-1 font-sans text-[11px]/4 text-muted-foreground",children:o("suggestionKey")})]})]})}],489678)}]);

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.