PageSourceSearch

https://www.app.lorka.ai/_next/static/chunks/3i5w872aaelic.js

js lorka.ai collected 2026-10-03 19:53:53 UTC 30,095 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,602159,e=>{"use strict";var t,n=e.i(298875),r=e.i(291967),i=e.i(824076),o=e.i(597637),l=e.i(752343),a=e.i(732617),s="dismissableLayer.update",f=n.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),u=n.forwardRef((e,u)=>{let{disableOutsidePointerEvents:p=!1,onEscapeKeyDown:m,onPointerDownOutside:h,onFocusOutside:g,onInteractOutside:y,onDismiss:v,...w}=e,x=n.useContext(f),[b,E]=n.useState(null),R=b?.ownerDocument??globalThis?.document,[,C]=n.useState({}),L=(0,o.useComposedRefs)(u,e=>E(e)),P=Array.from(x.layers),[A]=[...x.layersWithOutsidePointerEventsDisabled].slice(-1),O=P.indexOf(A),T=b?P.indexOf(b):-1,S=x.layersWithOutsidePointerEventsDisabled.size>0,D=T>=O,k=function(e,t=globalThis?.document){let r=(0,l.useCallbackRef)(e),i=n.useRef(!1),o=n.useRef(()=>{});return n.useEffect(()=>{let e=e=>{if(e.target&&!i.current){let n=function(){d("dismissableLayer.pointerDownOutside",r,i,{discrete:!0})},i={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=n,t.addEventListener("click",o.current,{once:!0})):n()}else t.removeEventListener("click",o.current);i.current=!1},n=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(n),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>i.current=!0}}(e=>{let t=e.target,n=[...x.branches].some(e=>e.contains(t));D&&!n&&(h?.(e),y?.(e),e.defaultPrevented||v?.())},R),H=function(e,t=globalThis?.document){let r=(0,l.useCallbackRef)(e),i=n.useRef(!1);return n.useEffect(()=>{let e=e=>{e.target&&!i.current&&d("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,r]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}(e=>{let t=e.target;![...x.branches].some(e=>e.contains(t))&&(g?.(e),y?.(e),e.defaultPrevented||v?.())},R);return!function(e,t=globalThis?.document){let r=(0,l.useCallbackRef)(e);n.useEffect(()=>{let e=e=>{"Escape"===e.key&&r(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[r,t])}(e=>{T===x.layers.size-1&&(m?.(e),!e.defaultPrevented&&v&&(e.preventDefault(),v()))},R),n.useEffect(()=>{if(b)return p&&(0===x.layersWithOutsidePointerEventsDisabled.size&&(t=R.body.style.pointerEvents,R.body.style.pointerEvents="none"),x.layersWithOutsidePointerEventsDisabled.add(b)),x.layers.add(b),c(),()=>{p&&1===x.layersWithOutsidePointerEventsDisabled.size&&(R.body.style.pointerEvents=t)}},[b,R,p,x]),n.useEffect(()=>()=>{b&&(x.layers.delete(b),x.layersWithOutsidePointerEventsDisabled.delete(b),c())},[b,x]),n.useEffect(()=>{let e=()=>C({});return document.addEventListener(s,e),()=>document.removeEventListener(s,e)},[]),(0,a.jsx)(i.Primitive.div,{...w,ref:L,style:{pointerEvents:S?D?"auto":"none":void 0,...e.style},onFocusCapture:(0,r.composeEventHandlers)(e.onFocusCapture,H.onFocusCapture),onBlurCapture:(0,r.composeEventHandlers)(e.onBlurCapture,H.onBlurCapture),onPointerDownCapture:(0,r.composeEventHandlers)(e.onPointerDownCapture,k.onPointerDownCapture)})});function c(){let e=new CustomEvent(s);document.dispatchEvent(e)}function d(e,t,n,{discrete:r}){let o=n.originalEvent.target,l=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?(0,i.dispatchDiscreteCustomEvent)(o,l):o.dispatchEvent(l)}u.displayName="DismissableLayer",n.forwardRef((e,t)=>{let r=n.useContext(f),l=n.useRef(null),s=(0,o.useComposedRefs)(t,l);return n.useEffect(()=>{let e=l.current;if(e)return r.branches.add(e),()=>{r.branches.delete(e)}},[r.branches]),(0,a.jsx)(i.Primitive.div,{...e,ref:s})}).displayName="DismissableLayerBranch",e.s(["DismissableLayer",0,u],602159)},670501,e=>{"use strict";let t;var n=e.i(298875);let r=["top","right","bottom","left"],i=Math.min,o=Math.max,l=Math.round,a=Math.floor,s=e=>({x:e,y:e}
1),f={left:"right",right:"left",bottom:"top",top:"bottom"};function u(e,t){return"function"==typeof e?e(t):e}function c(e){return e.split("-")[0]}function d(e){return e.split("-")[1]}function p(e){return"x"===e?"y":"x"}function m(e){return"y"===e?"height":"width"}function h(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function g(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let y=["left","right"],v=["right","left"],w=["top","bottom"],x=["bottom","top"];function b(e){let t=c(e);return f[t]+e.slice(t.length)}function E(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function R(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function C(e,t,n){let r,{reference:i,floating:o}=e,l=h(t),a=p(h(t)),s=m(a),f=c(t),u="y"===l,g=i.x+i.width/2-o.width/2,y=i.y+i.height/2-o.height/2,v=i[s]/2-o[s]/2;switch(f){case"top":r={x:g,y:i.y-o.height};break;case"bottom":r={x:g,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:y};break;case"left":r={x:i.x-o.width,y:y};break;default:r={x:i.x,y:i.y}}switch(d(t)){case"start":r[a]-=v*(n&&u?-1:1);break;case"end":r[a]+=v*(n&&u?-1:1)}return r}async function L(e,t){var n;void 0===t&&(t={});let{x:r,y:i,platform:o,rects:l,elements:a,strategy:s}=e,{boundary:f="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:p=!1,padding:m=0}=u(t,e),h=E(m),g=a[p?"floating"===d?"reference":"floating":d],y=R(await o.getClippingRect({element:null==(n=await (null==o.isElement?void 0:o.isElement(g)))||n?g:g.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(a.floating)),boundary:f,rootBoundary:c,strategy:s})),v="floating"===d?{x:r,y:i,width:l.floating.width,height:l.floating.height}:l.reference,w=await (null==o.getOffsetParent?void 0:o.getOffsetParent(a.floating)),x=await (null==o.isElement?void 0:o.isElement(w))&&await (null==o.getScale?void 0:o.getScale(w))||{x:1,y:1},b=R(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:w,strategy:s}):v);return{top:(y.top-b.top+h.top)/x.y,bottom:(b.bottom-y.bottom+h.bottom)/x.y,left:(y.left-b.left+h.left)/x.x,right:(b.right-y.right+h.right)/x.x}}let P=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:l}=n,a=l.detectOverflow?l:{...l,detectOverflow:L},s=await (null==l.isRTL?void 0:l.isRTL(t)),f=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:c}=C(f,r,s),d=r,p=0,m={};for(let n=0;n<o.length;n++){let h=o[n];if(!h)continue;let{name:g,fn:y}=h,{x:v,y:w,data:x,reset:b}=await y({x:u,y:c,initialPlacement:r,placement:d,strategy:i,middlewareData:m,rects:f,platform:a,elements:{reference:e,floating:t}});u=null!=v?v:u,c=null!=w?w:c,m[g]={...m[g],...x},b&&p<50&&(p++,"object"==typeof b&&(b.placement&&(d=b.placement),b.rects&&(f=!0===b.rects?await l.getElementRects({reference:e,floating:t,strategy:i}):b.rects),{x:u,y:c}=C(f,d,s)),n=-1)}return{x:u,y:c,placement:d,strategy:i,middlewareData:m}};function A(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function O(e){return r.some(t=>e[t]>=0)}let T=new Set(["left","top"]);async function S(e,t){let{placement:n,platform:r,elements:i}=e,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),l=c(n),a=d(n),s="y"===h(n),f=T.has(l)?-1:1,p=o&&s?-1:1,m=u(t,e),{mainAxis:g,crossAxis:y,alignmentAxis:v}="number"==typeof m?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return a&&"number"==typeof v&&(y="end"===a?-1*v:v),s?{x:y*p,y:g*f}:{x:g*f,y:y*p}}function D(){return"u">typeof window}function k(e){return F(e)?(e.nodeName||"").toLowerCase():"#document"}function H(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function W(e){var t;return null==(t=(F(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function F(e){return!!D()&&(e instanceof Node||e instanceof H(e).Node)}function j(e){return!!D()&&(e instanceof Element||e instanceof H(e).Element)}function $(e){return!!D()&&(e instanceof HTMLElement||e instanceof H(e).HTMLElement)}function B(e){return!(!D()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof H(e).ShadowRoot)}function M(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=q(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==i&&"contents"!==i}function N(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}let z=/transform|translate|scale|rotate|perspective|filter/,V=/paint|layout|strict|content/,_=e=>!!e&&"none"!==e;function I(e){let t=j(e)?q(e):e;return _(t.transform)||_(t.translate)||_(t.scale)||_(t.rotate)||_(t.perspective)||!Y()&&(_(t.backdropFilter)||_(t.filter))||z.test(t.willChange||"")||V.test(t.contain||"")}function Y(){return null==t&&(t="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),t}function X(e){return/^(html|body|#document)$/.test(k(e))}function q(e){return H(e).getComputedStyle(e)}function K(e){return j(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function U(e){if("html"===k(e))return e;let t=e.assignedSlot||e.parentNode||B(e)&&e.host||W(e);return B(t)?t.host:t}function G(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let i=function e(t){let n=U(t);return X(n)?t.ownerDocument?t.ownerDocument.body:t.body:$(n)&&M(n)?n:e(n)}(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),l=H(i);if(!o)return t.concat(i,G(i,[],n));{let e=J(l);
1return t.concat(l,l.visualViewport||[],M(i)?i:[],e&&n?G(e):[])}}function J(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Q(e){let t=q(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=$(e),o=i?e.offsetWidth:n,a=i?e.offsetHeight:r,s=l(n)!==o||l(r)!==a;return s&&(n=o,r=a),{width:n,height:r,$:s}}function Z(e){return j(e)?e:e.contextElement}function ee(e){let t=Z(e);if(!$(t))return s(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:o}=Q(t),a=(o?l(n.width):n.width)/r,f=(o?l(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),f&&Number.isFinite(f)||(f=1),{x:a,y:f}}let et=s(0);function en(e){let t=H(e);return Y()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:et}function er(e,t,n,r){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),l=Z(e),a=s(1);t&&(r?j(r)&&(a=ee(r)):a=ee(e));let f=(void 0===(i=n)&&(i=!1),r&&(!i||r===H(l))&&i)?en(l):s(0),u=(o.left+f.x)/a.x,c=(o.top+f.y)/a.y,d=o.width/a.x,p=o.height/a.y;if(l){let e=H(l),t=r&&j(r)?H(r):r,n=e,i=J(n);for(;i&&r&&t!==n;){let e=ee(i),t=i.getBoundingClientRect(),r=q(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,l=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;u*=e.x,c*=e.y,d*=e.x,p*=e.y,u+=o,c+=l,i=J(n=H(i))}}return R({width:d,height:p,x:u,y:c})}function ei(e,t){let n=K(e).scrollLeft;return t?t.left+n:er(W(e)).left+n}function eo(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-ei(e,n),y:n.top+t.scrollTop}}function el(e,t,n){var r;let i;if("viewport"===t)i=function(e,t){let n=H(e),r=W(e),i=n.visualViewport,o=r.clientWidth,l=r.clientHeight,a=0,s=0;if(i){o=i.width,l=i.height;let e=Y();(!e||e&&"fixed"===t)&&(a=i.offsetLeft,s=i.offsetTop)}let f=ei(r);if(f<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,l=Math.abs(r.clientWidth-t.clientWidth-i);l<=25&&(o-=l)}else f<=25&&(o+=f);return{width:o,height:l,x:a,y:s}}(e,n);else if("document"===t){let t,n,l,a,s,f,u;r=W(e),t=W(r),n=K(r),l=r.ownerDocument.body,a=o(t.scrollWidth,t.clientWidth,l.scrollWidth,l.clientWidth),s=o(t.scrollHeight,t.clientHeight,l.scrollHeight,l.clientHeight),f=-n.scrollLeft+ei(r),u=-n.scrollTop,"rtl"===q(l).direction&&(f+=o(t.clientWidth,l.clientWidth)-a),i={width:a,height:s,x:f,y:u}}else if(j(t)){let e,r,o,l,a,f;r=(e=er(t,!0,"fixed"===n)).top+t.clientTop,o=e.left+t.clientLeft,l=$(t)?ee(t):s(1),a=t.clientWidth*l.x,f=t.clientHeight*l.y,i={width:a,height:f,x:o*l.x,y:r*l.y}}else{let n=en(e);i={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return R(i)}function ea(e){return"static"===q(e).position}function es(e,t){if(!$(e)||"fixed"===q(e).position)return null;if(t)return t(e);let n=e.offsetParent;return W(e)===n&&(n=n.ownerDocument.body),n}function ef(e,t){var n;let r=H(e);if(N(e))return r;if(!$(e)){let t=U(e);for(;t&&!X(t);){if(j(t)&&!ea(t))return t;t=U(t)}return r}let i=es(e,t);for(;i&&(n=i,/^(table|td|th)$/.test(k(n)))&&ea(i);)i=es(i,t);return i&&X(i)&&ea(i)&&!I(i)?r:i||function(e){let t=U(e);for(;$(t)&&!X(t);){if(I(t))return t;if(N(t))break;t=U(t)}return null}(e)||r}let eu=async function(e){let t=this.getOffsetParent||ef,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=$(t),i=W(t),o="fixed"===n,l=er(e,!0,o,t),a={scrollLeft:0,scrollTop:0},f=s(0);if(r||!r&&!o)if(("body"!==k(t)||M(i))&&(a=K(t)),r){let e=er(t,!0,o,t);f.x=e.x+t.clientLeft,f.y=e.y+t.clientTop}else i&&(f.x=ei(i));o&&!r&&i&&(f.x=ei(i));let u=!i||r||o?s(0):eo(i,a);return{x:l.left+a.scrollLeft-f.x-u.x,y:l.top+a.scrollTop-f.y-u.y,width:l.width,height:l.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},ec={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,o="fixed"===i,l=W(r),a=!!t&&N(t.floating);if(r===l||a&&o)return n;let f={scrollLeft:0,scrollTop:0},u=s(1),c=s(0),d=$(r);if((d||!d&&!o)&&(("body"!==k(r)||M(l))&&(f=K(r)),d)){let e=er(r);u=ee(r),c.x=e.x+r.clientLeft,c.y=e.y+r.clientTop}let p=!l||d||o?s(0):eo(l,f);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-f.scrollLeft*u.x+c.x+p.x,y:n.y*u.y-f.scrollTop*u.y+c.y+p.y}},getDocumentElement:W,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:l}=e,a=[..."clippingAncestors"===n?N(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=G(e,[],!1).filter(e=>j(e)&&"body"!==k(e)),i=null,o="fixed"===q(e).position,l=o?U(e):e;for(;j(l)&&!X(l);){let t=q(l),n=I(l);n||"fixed"!==t.position||(i=null),(o?n||i:!(!n&&"static"===t.position&&i&&("absolute"===i.position||"fixed"===i.position)||M(l)&&!n&&function e(t,n){let r=U(t);return!(r===n||!j(r)||X(r))&&("fixed"===q(r).position||e(r,n))}(e,l)))?i=t:r=r.filter(e=>e!==l),l=U(l)}return t.set(e,r),r}(t,this._c):[].concat(n),r],s=el(t,a[0],l),f=s.top,u=s.right,c=s.bottom,d=s.left;for(let e=1;e<a.length;e++){let n=el(t,a[e],l);f=o(n.top,f),u=i(n.right,u),c=i(n.bottom,c),d=o(n.left,d)}return{width:u-d,height:c-f,x:d,y:f}},getOffsetParent:ef,getElementRects:eu,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=Q(e);return{width:t,height:n}},getScale:ee,isElement:j,isRTL:function(e){return"rtl"===q(e).direction}};function ed(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let ep=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:l,rects:a,platform:s,elements:f,middlewareData:c}=t,{element:g,padding:y=0}=u(e,t)||{};if(null==g)return{};let v=E(y),w={x:n,y:r}
1,x=p(h(l)),b=m(x),R=await s.getDimensions(g),C="y"===x,L=C?"clientHeight":"clientWidth",P=a.reference[b]+a.reference[x]-w[x]-a.floating[b],A=w[x]-a.reference[x],O=await (null==s.getOffsetParent?void 0:s.getOffsetParent(g)),T=O?O[L]:0;T&&await (null==s.isElement?void 0:s.isElement(O))||(T=f.floating[L]||a.floating[b]);let S=T/2-R[b]/2-1,D=i(v[C?"top":"left"],S),k=i(v[C?"bottom":"right"],S),H=T-R[b]-k,W=T/2-R[b]/2+(P/2-A/2),F=o(D,i(W,H)),j=!c.arrow&&null!=d(l)&&W!==F&&a.reference[b]/2-(W<D?D:k)-R[b]/2<0,$=j?W<D?W-D:W-H:0;return{[x]:w[x]+$,data:{[x]:F,centerOffset:W-F-$,...j&&{alignmentOffset:$}},reset:j}}});var em=e.i(567274),eh="u">typeof document?n.useLayoutEffect:function(){};function eg(e,t){let n,r,i;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!eg(e[r],t[r]))return!1;return!0}if((n=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!e.$$typeof)&&!eg(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function ey(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ev(e,t){let n=ey(e);return Math.round(t*n)/n}function ew(e){let t=n.useRef(e);return eh(()=>{t.current=e}),t}var ex=e.i(824076),eb=e.i(732617),eE=n.forwardRef((e,t)=>{let{children:n,width:r=10,height:i=5,...o}=e;return(0,eb.jsx)(ex.Primitive.svg,{...o,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,eb.jsx)("polygon",{points:"0,0 30,0 15,10"})})});eE.displayName="Arrow";var eR=e.i(597637),eC=e.i(877550),eL=e.i(752343),eP=e.i(699799),eA=e.i(650876),eO="Popper",[eT,eS]=(0,eC.createContextScope)(eO),[eD,ek]=eT(eO),eH=e=>{let{__scopePopper:t,children:r}=e,[i,o]=n.useState(null);return(0,eb.jsx)(eD,{scope:t,anchor:i,onAnchorChange:o,children:r})};eH.displayName=eO;var eW="PopperAnchor",eF=n.forwardRef((e,t)=>{let{__scopePopper:r,virtualRef:i,...o}=e,l=ek(eW,r),a=n.useRef(null),s=(0,eR.useComposedRefs)(t,a),f=n.useRef(null);return n.useEffect(()=>{let e=f.current;f.current=i?.current||a.current,e!==f.current&&l.onAnchorChange(f.current)}),i?null:(0,eb.jsx)(ex.Primitive.div,{...o,ref:s})});eF.displayName=eW;var ej="PopperContent",[e$,eB]=eT(ej),eM=n.forwardRef((e,t)=>{var r,l,s,f,E,R,C,L,D,k,H,F,j;let $,B,M,N,z,V,{__scopePopper:_,side:I="bottom",sideOffset:Y=0,align:X="center",alignOffset:q=0,arrowPadding:K=0,avoidCollisions:U=!0,collisionBoundary:J=[],collisionPadding:Q=0,sticky:ee="partial",hideWhenDetached:et=!1,updatePositionStrategy:en="optimized",onPlaced:ei,...eo}=e,el=ek(ej,_),[ea,es]=n.useState(null),ef=(0,eR.useComposedRefs)(t,e=>es(e)),[eu,eE]=n.useState(null),eC=(0,eA.useSize)(eu),eO=eC?.width??0,eT=eC?.height??0,eS="number"==typeof Q?Q:{top:0,right:0,bottom:0,left:0,...Q},eD=Array.isArray(J)?J:[J],eH=eD.length>0,eW={padding:eS,boundary:eD.filter(e_),altBoundary:eH},{refs:eF,floatingStyles:eB,placement:eM,isPositioned:eN,middlewareData:ez}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:r="absolute",middleware:i=[],platform:o,elements:{reference:l,floating:a}={},transform:s=!0,whileElementsMounted:f,open:u}=e,[c,d]=n.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[p,m]=n.useState(i);eg(p,i)||m(i);let[h,g]=n.useState(null),[y,v]=n.useState(null),w=n.useCallback(e=>{e!==R.current&&(R.current=e,g(e))},[]),x=n.useCallback(e=>{e!==C.current&&(C.current=e,v(e))},[]),b=l||h,E=a||y,R=n.useRef(null),C=n.useRef(null),L=n.useRef(c),A=null!=f,O=ew(f),T=ew(o),S=ew(u),D=n.useCallback(()=>{var e,n;let i,o,l;if(!R.current||!C.current)return;let a={placement:t,strategy:r,middleware:p};T.current&&(a.platform=T.current),(e=R.current,n=C.current,i=new Map,l={...(o={platform:ec,...a}).platform,_c:i},P(e,n,{...o,platform:l})).then(e=>{let t={...e,isPositioned:!1!==S.current};k.current&&!eg(L.current,t)&&(L.current=t,em.flushSync(()=>{d(t)}))})},[p,t,r,T,S]);eh(()=>{!1===u&&L.current.isPositioned&&(L.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[u]);let k=n.useRef(!1);eh(()=>(k.current=!0,()=>{k.current=!1}),[]),eh(()=>
1{if(b&&(R.current=b),E&&(C.current=E),b&&E){if(O.current)return O.current(b,E,D);D()}},[b,E,D,O,A]);let H=n.useMemo(()=>({reference:R,floating:C,setReference:w,setFloating:x}),[w,x]),W=n.useMemo(()=>({reference:b,floating:E}),[b,E]),F=n.useMemo(()=>{let e={position:r,left:0,top:0};if(!W.floating)return e;let t=ev(W.floating,c.x),n=ev(W.floating,c.y);return s?{...e,transform:"translate("+t+"px, "+n+"px)",...ey(W.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,s,W.floating,c.x,c.y]);return n.useMemo(()=>({...c,update:D,refs:H,elements:W,floatingStyles:F}),[c,D,H,W,F])}({strategy:"fixed",placement:I+("center"!==X?"-"+X:""),whileElementsMounted:(...e)=>(function(e,t,n,r){let l;void 0===r&&(r={});let{ancestorScroll:s=!0,ancestorResize:f=!0,elementResize:u="function"==typeof ResizeObserver,layoutShift:c="function"==typeof IntersectionObserver,animationFrame:d=!1}=r,p=Z(e),m=s||f?[...p?G(p):[],...t?G(t):[]]:[];m.forEach(e=>{s&&e.addEventListener("scroll",n,{passive:!0}),f&&e.addEventListener("resize",n)});let h=p&&c?function(e,t){let n,r=null,l=W(e);function s(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function f(u,c){void 0===u&&(u=!1),void 0===c&&(c=1),s();let d=e.getBoundingClientRect(),{left:p,top:m,width:h,height:g}=d;if(u||t(),!h||!g)return;let y={rootMargin:-a(m)+"px "+-a(l.clientWidth-(p+h))+"px "+-a(l.clientHeight-(m+g))+"px "+-a(p)+"px",threshold:o(0,i(1,c))||1},v=!0;function w(t){let r=t[0].intersectionRatio;if(r!==c){if(!v)return f();r?f(!1,r):n=setTimeout(()=>{f(!1,1e-7)},1e3)}1!==r||ed(d,e.getBoundingClientRect())||f(),v=!1}try{r=new IntersectionObserver(w,{...y,root:l.ownerDocument})}catch(e){r=new IntersectionObserver(w,y)}r.observe(e)}(!0),s}(p,n):null,g=-1,y=null;u&&(y=new ResizeObserver(e=>{let[r]=e;r&&r.target===p&&y&&t&&(y.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=y)||e.observe(t)})),n()}),p&&!d&&y.observe(p),t&&y.observe(t));let v=d?er(e):null;return d&&function t(){let r=er(e);v&&!ed(v,r)&&n(),v=r,l=requestAnimationFrame(t)}(),n(),()=>{var e;m.forEach(e=>{s&&e.removeEventListener("scroll",n),f&&e.removeEventListener("resize",n)}),null==h||h(),null==(e=y)||e.disconnect(),y=null,d&&cancelAnimationFrame(l)}})(...e,{animationFrame:"always"===en}),elements:{reference:el.anchor},middleware:[{name:($={name:"offset",options:l=r={mainAxis:Y+eT,alignmentAxis:q},async fn(e){var t,n;let{x:r,y:i,placement:o,middlewareData:a}=e,s=await S(e,l);return o===(null==(t=a.offset)?void 0:t.placement)&&null!=(n=a.arrow)&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:o}}}}).name,fn:$.fn,options:[r,void 0]},U&&{name:(B={name:"shift",options:E=f={mainAxis:!0,crossAxis:!1,limiter:"partial"===ee?{fn:(s=void 0,{options:s={},fn(e){let{x:t,y:n,placement:r,rects:i,middlewareData:o}=e,{offset:l=0,mainAxis:a=!0,crossAxis:f=!0}=u(s,e),d={x:t,y:n},m=h(r),g=p(m),y=d[g],v=d[m],w=u(l,e),x="number"==typeof w?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};if(a){let e="y"===g?"height":"width",t=i.reference[g]-i.floating[e]+x.mainAxis,n=i.reference[g]+i.reference[e]-x.mainAxis;y<t?y=t:y>n&&(y=n)}if(f){var b,E;let e="y"===g?"width":"height",t=T.has(c(r)),n=i.reference[m]-i.floating[e]+(t&&(null==(b=o.offset)?void 0:b[m])||0)+(t?0:x.crossAxis),l=i.reference[m]+i.reference[e]+(t?0:(null==(E=o.offset)?void 0:E[m])||0)-(t?x.crossAxis:0);v<n?v=n:v>l&&(v=l)}return{[g]:y,[m]:v}}}).fn,options:[void 0,void 0]}:void 0,...eW},async fn(e){let{x:t,y:n,placement:r,platform:l}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:f={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...d}=u(E,e),m={x:t,y:n},g=await l.detectOverflow(e,d),y=h(c(r)),v=p(y),w=m[v],x=m[y];if(a){let e="y"===v?"top":"left",t="y"===v?"bottom":"right",n=w+g[e],r=w-g[t];w=o(n,i(w,r))}if(s){let e="y"===y?"top":"left",t="y"===y?"bottom":"right",n=x+g[e],r=x-g[t];x=o(n,i(x,r))}let b=f.fn({...e,[v]:w,[y]:x});return{...b,data:{x:b.x-t,y:b.y-n,enabled:{[v]:a,[y]:s}}}}}).name,fn:B.fn,options:[f,void 0]},U&&{name:(M={name:"flip",options:C=R={...eW},async fn(e){var t,n,r,i,o,l,a,s;let f,E,R,{placement:L,middlewareData:P,rects:A,initialPlacement:O,platform:T,elements:S}=e,{mainAxis:D=!0,crossAxis:k=!0,fallbackPlacements:H,fallbackStrategy:W="bestFit",fallbackAxisSideDirection:F="none",flipAlignment:j=!0,...$}=u(C,e);if(null!=(t=P.arrow)&&t.alignmentOffset)return{};let B=c(L),M=h(O),N=c(O)===O,z=await (null==T.isRTL?void 0:T.isRTL(S.floating)),V=H||
1(N||!j?[b(O)]:(f=b(O),[g(O),f,g(f)])),_="none"!==F;!H&&_&&V.push(...(E=d(O),R=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?v:y;return t?y:v;case"left":case"right":return t?w:x;default:return[]}}(c(O),"start"===F,z),E&&(R=R.map(e=>e+"-"+E),j&&(R=R.concat(R.map(g)))),R));let I=[O,...V],Y=await T.detectOverflow(e,$),X=[],q=(null==(n=P.flip)?void 0:n.overflows)||[];if(D&&X.push(Y[B]),k){let e,t,n,r,i=(l=L,a=A,void 0===(s=z)&&(s=!1),e=d(l),n=m(t=p(h(l))),r="x"===t?e===(s?"end":"start")?"right":"left":"start"===e?"bottom":"top",a.reference[n]>a.floating[n]&&(r=b(r)),[r,b(r)]);X.push(Y[i[0]],Y[i[1]])}if(q=[...q,{placement:L,overflows:X}],!X.every(e=>e<=0)){let e=((null==(r=P.flip)?void 0:r.index)||0)+1,t=I[e];if(t&&("alignment"!==k||M===h(t)||q.every(e=>h(e.placement)!==M||e.overflows[0]>0)))return{data:{index:e,overflows:q},reset:{placement:t}};let n=null==(i=q.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:i.placement;if(!n)switch(W){case"bestFit":{let e=null==(o=q.filter(e=>{if(_){let t=h(e.placement);return t===M||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:o[0];e&&(n=e);break}case"initialPlacement":n=O}if(L!==n)return{reset:{placement:n}}}return{}}}).name,fn:M.fn,options:[R,void 0]},{name:(N={name:"size",options:D=L={...eW,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:i,height:o}=t.reference,l=e.floating.style;l.setProperty("--radix-popper-available-width",`${n}px`),l.setProperty("--radix-popper-available-height",`${r}px`),l.setProperty("--radix-popper-anchor-width",`${i}px`),l.setProperty("--radix-popper-anchor-height",`${o}px`)}},async fn(e){var t,n;let r,l,{placement:a,rects:s,platform:f,elements:p}=e,{apply:m=()=>{},...g}=u(D,e),y=await f.detectOverflow(e,g),v=c(a),w=d(a),x="y"===h(a),{width:b,height:E}=s.floating;"top"===v||"bottom"===v?(r=v,l=w===(await (null==f.isRTL?void 0:f.isRTL(p.floating))?"start":"end")?"left":"right"):(l=v,r="end"===w?"top":"bottom");let R=E-y.top-y.bottom,C=b-y.left-y.right,L=i(E-y[r],R),P=i(b-y[l],C),A=!e.middlewareData.shift,O=L,T=P;if(null!=(t=e.middlewareData.shift)&&t.enabled.x&&(T=C),null!=(n=e.middlewareData.shift)&&n.enabled.y&&(O=R),A&&!w){let e=o(y.left,0),t=o(y.right,0),n=o(y.top,0),r=o(y.bottom,0);x?T=b-2*(0!==e||0!==t?e+t:o(y.left,y.right)):O=E-2*(0!==n||0!==r?n+r:o(y.top,y.bottom))}await m({...e,availableWidth:T,availableHeight:O});let S=await f.getDimensions(p.floating);return b!==S.width||E!==S.height?{reset:{rects:!0}}:{}}}).name,fn:N.fn,options:[L,void 0]},eu&&{name:(z={name:"arrow",options:H=k={element:eu,padding:K},fn(e){let{element:t,padding:n}="function"==typeof H?H(e):H;return t&&({}).hasOwnProperty.call(t,"current")?null!=t.current?ep({element:t.current,padding:n}).fn(e):{}:t?ep({element:t,padding:n}).fn(e):{}}}).name,fn:z.fn,options:[k,void 0]},eI({arrowWidth:eO,arrowHeight:eT}),et&&{name:(V={name:"hide",options:j=F={strategy:"referenceHidden",...eW},async fn(e){let{rects:t,platform:n}=e,{strategy:r="referenceHidden",...i}=u(j,e);switch(r){case"referenceHidden":{let r=A(await n.detectOverflow(e,{...i,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:r,referenceHidden:O(r)}}}case"escaped":{let r=A(await n.detectOverflow(e,{...i,altBoundary:!0}),t.floating);return{data:{escapedOffsets:r,escaped:O(r)}}}default:return{}}}}).name,fn:V.fn,options:[F,void 0]}]}),[eV,eX]=eY(eM),eq=(0,eL.useCallbackRef)(ei);(0,eP.useLayoutEffect)(()=>{eN&&eq?.()},[eN,eq]);let eK=ez.arrow?.x,eU=ez.arrow?.y,eG=ez.arrow?.centerOffset!==0,[eJ,eQ]=n.useState();return(0,eP.useLayoutEffect)(()=>{ea&&eQ(window.getComputedStyle(ea).zIndex)},[ea]),(0,eb.jsx)("div",{ref:eF.setFloating,"data-radix-popper-content-wrapper":"",style:{...eB,transform:eN?eB.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:eJ,"--radix-popper-transform-origin":[ez.transformOrigin?.x,ez.transformOrigin?.y].join(" "),...ez.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,eb.jsx)(e$,{scope:_,placedSide:eV,onArrowChange:eE,arrowX:eK,arrowY:eU,shouldHideArrow:eG,children:(0,eb.jsx)(ex.Primitive.div,{"data-side":eV,"data-align":eX,...eo,ref:ef,style:{...eo.style,animation:eN?void 0:"none"}})})})});eM.displayName=ej;var eN="PopperArrow",ez={top:"bottom",right:"left",bottom:"top",left:"r
1ight"},eV=n.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,i=eB(eN,n),o=ez[i.placedSide];return(0,eb.jsx)("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:(0,eb.jsx)(eE,{...r,ref:t,style:{...r.style,display:"block"}})})});function e_(e){return null!==e}eV.displayName=eN;var eI=e=>({name:"transformOrigin",options:e,fn(t){let{placement:n,rects:r,middlewareData:i}=t,o=i.arrow?.centerOffset!==0,l=o?0:e.arrowWidth,a=o?0:e.arrowHeight,[s,f]=eY(n),u={start:"0%",center:"50%",end:"100%"}[f],c=(i.arrow?.x??0)+l/2,d=(i.arrow?.y??0)+a/2,p="",m="";return"bottom"===s?(p=o?u:`${c}px`,m=`${-a}px`):"top"===s?(p=o?u:`${c}px`,m=`${r.floating.height+a}px`):"right"===s?(p=`${-a}px`,m=o?u:`${d}px`):"left"===s&&(p=`${r.floating.width+a}px`,m=o?u:`${d}px`),{data:{x:p,y:m}}}});function eY(e){let[t,n="center"]=e.split("-");return[t,n]}e.s(["Anchor",0,eF,"Arrow",0,eV,"Content",0,eM,"Root",0,eH,"createPopperScope",0,eS],670501)},895071,e=>{"use strict";var t=e.i(298875),n=e.i(567274),r=e.i(824076),i=e.i(699799),o=e.i(732617),l=t.forwardRef((e,l)=>{let{container:a,...s}=e,[f,u]=t.useState(!1);(0,i.useLayoutEffect)(()=>u(!0),[]);let c=a||f&&globalThis?.document?.body;return c?n.default.createPortal((0,o.jsx)(r.Primitive.div,{...s,ref:l}),c):null});l.displayName="Portal",e.s(["Portal",0,l])}]);

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.