PageSourceSearch

https://tadlo.ai/static/js/9620.fcf88b7c.chunk.js

js tadlo.ai collected 2026-10-05 14:37:56 UTC 20,544 bytes, 3 lines download raw bytes

1/*! For license information please see 9620.fcf88b7c.chunk.js.LICENSE.txt */
2"use strict";(globalThis.webpackChunkfrontend=globalThis.webpackChunkfrontend||[]).push([[9620],{15711(e,t,n){n.d(t,{A:()=>r});const r=(0,n(77784).A)("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]])},70962(e,t,n){n.d(t,{UC:()=>Be,YJ:()=>Fe,In:()=>He,q7:()=>qe,VF:()=>ze,p4:()=>Ue,JU:()=>Ge,ZL:()=>Ve,bL:()=>Le,wn:()=>Ye,PP:()=>Ze,wv:()=>$e,l9:()=>Me,WT:()=>Ae,LM:()=>We});var r=n(65043),o=n(97950),l=n(21664),i=n(30858),a=n(47103),s=n(82814),c=n(21862),d=n(14204),u=n(91184),p=n(86590),f=n(60276),h=n(54490),v=n(24874),m=n(33321),g=n(87914),w=n(70579);function y(e){const t=x(e),n=r.forwardRef((e,n)=>{const{children:o,...l}=e,i=r.Children.toArray(o),a=i.find(b);if(a){const e=a.props.children,o=i.map(t=>t===a?r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null:t);return(0,w.jsx)(t,{...l,ref:n,children:r.isValidElement(e)?r.cloneElement(e,void 0,o):null})}return(0,w.jsx)(t,{...l,ref:n,children:o})});return n.displayName=`${e}.Slot`,n}function x(e){const t=r.forwardRef((e,t)=>{const{children:n,...o}=e;if(r.isValidElement(n)){const e=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;if(n)return e.ref;if(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n)return e.props.ref;return e.props.ref||e.ref}(n),l=function(e,t){const n={...t};for(const r in t){const o=e[r],l=t[r];/^on[A-Z]/.test(r)?o&&l?n[r]=function(){const e=l(...arguments);return o(...arguments),e}:o&&(n[r]=o):"style"===r?n[r]={...o,...l}:"className"===r&&(n[r]=[o,l].filter(Boolean).join(" "))}return{...e,...n}}(o,n.props);return n.type!==r.Fragment&&(l.ref=t?(0,s.t)(t,e):e),r.cloneElement(n,l)}return r.Children.count(n)>1?r.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var S=Symbol("radix.slottable");function b(e){return r.isValidElement(e)&&"function"===typeof e.type&&"__radixId"in e.type&&e.type.__radixId===S}var C=n(87490),j=n(13642),R=n(70503),_=n(23168),P=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),N=r.forwardRef((e,t)=>(0,w.jsx)(g.sG.span,{...e,ref:t,style:{...P,...e.style}}));N.displayName="VisuallyHidden";var k=n(55754),I=n(1672),T=[" ","Enter","ArrowUp","ArrowDown"],E=[" ","Enter"],D="Select",[K,O,L]=(0,a.N)(D),[M,A]=(0,c.A)(D,[L,v.Bk]),H=(0,v.Bk)(),[V,B]=M(D),[W,F]=M(D),G=e=>{const{__scopeSelect:t,children:n,open:o,defaultOpen:l,onOpenChange:i,value:a,defaultValue:s,onValueChange:c,dir:u,name:p,autoComplete:f,disabled:m,required:g,form:y}=e,x=H(t),[S,b]=r.useState(null),[C,R]=r.useState(null),[_,P]=r.useState(!1),N=(0,d.jH)(u),[k,I]=(0,j.i)({prop:o,defaultProp:l??!1,onChange:i,caller:D}),[T,E]=(0,j.i)({prop:a,defaultProp:s,onChange:c,caller:D}),O=r.useRef(null),L=!S||(y||!!S.closest("form")),[M,A]=r.useState(new Set),B=Array.from(M).map(e=>e.props.value).join(";");return(0,w.jsx)(v.bL,{...x,children:(0,w.jsxs)(V,{required:g,scope:t,trigger:S,onTriggerChange:b,valueNode:C,onValueNodeChange:R,valueNodeHasChildren:_,onValueNodeHasChildrenChange:P,contentId:(0,h.B)(),value:T,onValueChange:E,open:k,onOpenChange:I,dir:N,triggerPointerDownPosRef:O,disabled:m,children:[(0,w.jsx)(K.Provider,{scope:t,children:(0,w.jsx)(W,{scope:e.__scopeSelect,onNativeOptionAdd:r.useCallback(e=>{A(t=>new Set(t).add(e))},[]),onNativeOptionRemove:r.useCallback(e=>{A(t=>{const n=new Set(t);return n.delete(e),n})},[]),children:n})}),L?(0,w.jsxs)(Ee,{"aria-hidden":!0,required:g,tabIndex:-1,name:p,autoComplete:f,value:T,onChange:e=>E(e.target.value),disabled:m,form:y,children:[void 0===T?(0,w.jsx)("option",{value:""}):null,Array.from(M)]},B):null]})})};G.displayName=D;var q="SelectTrigger",U=r.forwardRef((e,t)=>{const{__scopeSelect:n,disabled:o=!1,...l}=e,a=H(n),c=B(q,n),d=c.disabled||o,u=(0,s.s)(t,c.onTriggerChange),p=O(n),f=r.useRef("touch"),[h,m,y]=Ke(e=>{const t=p().filter(e=>!e.disabled),n=t.find(e=>e.value===c.value),r=Oe(t,e,n);void 0!==r&&c.onValueChange(r.value)}),x=e=>{d||(c.onOpenChange(!0),y()),e&&(c.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)})};return(0,w.jsx)(v.Mz,{asChild:!0,...a,children:(0,w.jsx)(g.sG.button,{type:"button",role:"combobox","aria-controls":c.contentId,"aria-expanded":c.open,"aria-required":c.required,"aria-autocomplete":"none",dir:c.dir,"data-state":c.open?"open":"closed",disabled:d,"data-disabled":d?"":void 0,"data-placeholder":De(c.value)?"":void 0,...l,ref:u,onClick:(0,i.mK)(l.onClick,e=>
2{e.currentTarget.focus(),"mouse"!==f.current&&x(e)}),onPointerDown:(0,i.mK)(l.onPointerDown,e=>{f.current=e.pointerType;const t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&"mouse"===e.pointerType&&(x(e),e.preventDefault())}),onKeyDown:(0,i.mK)(l.onKeyDown,e=>{const t=""!==h.current;e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||m(e.key),t&&" "===e.key||T.includes(e.key)&&(x(),e.preventDefault())})})})});U.displayName=q;var z="SelectValue",Z=r.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:o,children:l,placeholder:i="",...a}=e,c=B(z,n),{onValueNodeHasChildrenChange:d}=c,u=void 0!==l,p=(0,s.s)(t,c.onValueNodeChange);return(0,R.N)(()=>{d(u)},[d,u]),(0,w.jsx)(g.sG.span,{...a,ref:p,style:{pointerEvents:"none"},children:De(c.value)?(0,w.jsx)(w.Fragment,{children:i}):l})});Z.displayName=z;var Y=r.forwardRef((e,t)=>{const{__scopeSelect:n,children:r,...o}=e;return(0,w.jsx)(g.sG.span,{"aria-hidden":!0,...o,ref:t,children:r||"\u25bc"})});Y.displayName="SelectIcon";var $=e=>(0,w.jsx)(m.Z,{asChild:!0,...e});$.displayName="SelectPortal";var J="SelectContent",X=r.forwardRef((e,t)=>{const n=B(J,e.__scopeSelect),[l,i]=r.useState();if((0,R.N)(()=>{i(new DocumentFragment)},[]),!n.open){const t=l;return t?o.createPortal((0,w.jsx)(ee,{scope:e.__scopeSelect,children:(0,w.jsx)(K.Slot,{scope:e.__scopeSelect,children:(0,w.jsx)("div",{children:e.children})})}),t):null}return(0,w.jsx)(re,{...e,ref:t})});X.displayName=J;var Q=10,[ee,te]=M(J),ne=y("SelectContent.RemoveScroll"),re=r.forwardRef((e,t)=>{const{__scopeSelect:n,position:o="item-aligned",onCloseAutoFocus:l,onEscapeKeyDown:a,onPointerDownOutside:c,side:d,sideOffset:h,align:v,alignOffset:m,arrowPadding:g,collisionBoundary:y,collisionPadding:x,sticky:S,hideWhenDetached:b,avoidCollisions:C,...j}=e,R=B(J,n),[_,P]=r.useState(null),[N,T]=r.useState(null),E=(0,s.s)(t,e=>P(e)),[D,K]=r.useState(null),[L,M]=r.useState(null),A=O(n),[H,V]=r.useState(!1),W=r.useRef(!1);r.useEffect(()=>{if(_)return(0,k.Eq)(_)},[_]),(0,p.Oh)();const F=r.useCallback(e=>{const[t,...n]=A().map(e=>e.ref.current),[r]=n.slice(-1),o=document.activeElement;for(const l of e){if(l===o)return;if(l?.scrollIntoView({block:"nearest"}),l===t&&N&&(N.scrollTop=0),l===r&&N&&(N.scrollTop=N.scrollHeight),l?.focus(),document.activeElement!==o)return}},[A,N]),G=r.useCallback(()=>F([D,_]),[F,D,_]);r.useEffect(()=>{H&&G()},[H,G]);const{onOpenChange:q,triggerPointerDownPosRef:U}=R;r.useEffect(()=>{if(_){let e={x:0,y:0};const t=t=>{e={x:Math.abs(Math.round(t.pageX)-(U.current?.x??0)),y:Math.abs(Math.round(t.pageY)-(U.current?.y??0))}},n=n=>{e.x<=10&&e.y<=10?n.preventDefault():_.contains(n.target)||q(!1),document.removeEventListener("pointermove",t),U.current=null};return null!==U.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",n,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",n,{capture:!0})}}},[_,q,U]),r.useEffect(()=>{const e=()=>q(!1);return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}},[q]);const[z,Z]=Ke(e=>{const t=A().filter(e=>!e.disabled),n=t.find(e=>e.ref.current===document.activeElement),r=Oe(t,e,n);r&&setTimeout(()=>r.ref.current.focus())}),Y=r.useCallback((e,t,n)=>{const r=!W.current&&!n;(void 0!==R.value&&R.value===t||r)&&(K(e),r&&(W.current=!0))},[R.value]),$=r.useCallback(()=>_?.focus(),[_]),X=r.useCallback((e,t,n)=>{const r=!W.current&&!n;(void 0!==R.value&&R.value===t||r)&&M(e)},[R.value]),Q="popper"===o?le:oe,te=Q===le?{side:d,sideOffset:h,align:v,alignOffset:m,arrowPadding:g,collisionBoundary:y,collisionPadding:x,sticky:S,hideWhenDetached:b,avoidCollisions:C}:{};return(0,w.jsx)(ee,{scope:n,content:_,viewport:N,onViewportChange:T,itemRefCallback:Y,selectedItem:D,onItemLeave:$,itemTextRefCallback:X,focusSelectedItem:G,selectedItemText:L,position:o,isPositioned:H,searchRef:z,children:(0,w.jsx)(I.A,{as:ne,allowPinchZoom:!0,children:(0,w.jsx)(f.n,{asChild:!0,trapped:R.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:(0,i.mK)(l,e=>{R.trigger?.focus({preventScroll:!0}),e.preventDefault()}),children:(0,w.jsx)(u.qW,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:a,onPointerDownOutside:c,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>R.onOpenChange(!1),children:(0,w.jsx)(Q,{role:"listbox",id:R.contentId,"data-state":R.open?"open":"closed",dir:R.dir,onContextMenu:e=>e.preventDefault(),...j,...te,onPlaced:()=>V(!0),ref:E,style:{display:"flex",flexDirection:"column",outline:"none",...j.style},onKeyDown:(0,i.mK)(j.onKeyDown,e=>{const t=e.ctrlKey||e.altKey||e.metaKey;
2if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||Z(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=A().filter(e=>!e.disabled).map(e=>e.ref.current);if(["ArrowUp","End"].includes(e.key)&&(t=t.slice().reverse()),["ArrowUp","ArrowDown"].includes(e.key)){const n=e.target,r=t.indexOf(n);t=t.slice(r+1)}setTimeout(()=>F(t)),e.preventDefault()}})})})})})})});re.displayName="SelectContentImpl";var oe=r.forwardRef((e,t)=>{const{__scopeSelect:n,onPlaced:o,...i}=e,a=B(J,n),c=te(J,n),[d,u]=r.useState(null),[p,f]=r.useState(null),h=(0,s.s)(t,e=>f(e)),v=O(n),m=r.useRef(!1),y=r.useRef(!0),{viewport:x,selectedItem:S,selectedItemText:b,focusSelectedItem:C}=c,j=r.useCallback(()=>{if(a.trigger&&a.valueNode&&d&&p&&x&&S&&b){const e=a.trigger.getBoundingClientRect(),t=p.getBoundingClientRect(),n=a.valueNode.getBoundingClientRect(),r=b.getBoundingClientRect();if("rtl"!==a.dir){const o=r.left-t.left,i=n.left-o,a=e.left-i,s=e.width+a,c=Math.max(s,t.width),u=window.innerWidth-Q,p=(0,l.q)(i,[Q,Math.max(Q,u-c)]);d.style.minWidth=s+"px",d.style.left=p+"px"}else{const o=t.right-r.right,i=window.innerWidth-n.right-o,a=window.innerWidth-e.right-i,s=e.width+a,c=Math.max(s,t.width),u=window.innerWidth-Q,p=(0,l.q)(i,[Q,Math.max(Q,u-c)]);d.style.minWidth=s+"px",d.style.right=p+"px"}const i=v(),s=window.innerHeight-2*Q,c=x.scrollHeight,u=window.getComputedStyle(p),f=parseInt(u.borderTopWidth,10),h=parseInt(u.paddingTop,10),g=parseInt(u.borderBottomWidth,10),w=f+h+c+parseInt(u.paddingBottom,10)+g,y=Math.min(5*S.offsetHeight,w),C=window.getComputedStyle(x),j=parseInt(C.paddingTop,10),R=parseInt(C.paddingBottom,10),_=e.top+e.height/2-Q,P=s-_,N=S.offsetHeight/2,k=f+h+(S.offsetTop+N),I=w-k;if(k<=_){const e=i.length>0&&S===i[i.length-1].ref.current;d.style.bottom="0px";const t=p.clientHeight-x.offsetTop-x.offsetHeight,n=k+Math.max(P,N+(e?R:0)+t+g);d.style.height=n+"px"}else{const e=i.length>0&&S===i[0].ref.current;d.style.top="0px";const t=Math.max(_,f+x.offsetTop+(e?j:0)+N)+I;d.style.height=t+"px",x.scrollTop=k-_+x.offsetTop}d.style.margin=`${Q}px 0`,d.style.minHeight=y+"px",d.style.maxHeight=s+"px",o?.(),requestAnimationFrame(()=>m.current=!0)}},[v,a.trigger,a.valueNode,d,p,x,S,b,a.dir,o]);(0,R.N)(()=>j(),[j]);const[_,P]=r.useState();(0,R.N)(()=>{p&&P(window.getComputedStyle(p).zIndex)},[p]);const N=r.useCallback(e=>{e&&!0===y.current&&(j(),C?.(),y.current=!1)},[j,C]);return(0,w.jsx)(ie,{scope:n,contentWrapper:d,shouldExpandOnScrollRef:m,onScrollButtonChange:N,children:(0,w.jsx)("div",{ref:u,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:_},children:(0,w.jsx)(g.sG.div,{...i,ref:h,style:{boxSizing:"border-box",maxHeight:"100%",...i.style}})})})});oe.displayName="SelectItemAlignedPosition";var le=r.forwardRef((e,t)=>{const{__scopeSelect:n,align:r="start",collisionPadding:o=Q,...l}=e,i=H(n);return(0,w.jsx)(v.UC,{...i,...l,ref:t,align:r,collisionPadding:o,style:{boxSizing:"border-box",...l.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});le.displayName="SelectPopperPosition";var[ie,ae]=M(J,{}),se="SelectViewport",ce=r.forwardRef((e,t)=>{const{__scopeSelect:n,nonce:o,...l}=e,a=te(se,n),c=ae(se,n),d=(0,s.s)(t,a.onViewportChange),u=r.useRef(0);return(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:o}),(0,w.jsx)(K.Slot,{scope:n,children:(0,w.jsx)(g.sG.div,{"data-radix-select-viewport":"",role:"presentation",...l,ref:d,style:{position:"relative",flex:1,overflow:"hidden auto",...l.style},onScroll:(0,i.mK)(l.onScroll,e=>{const t=e.currentTarget,{contentWrapper:n,shouldExpandOnScrollRef:r}=c;if(r?.current&&n){const e=Math.abs(u.current-t.scrollTop);if(e>0){const r=window.innerHeight-2*Q,o=parseFloat(n.style.minHeight),l=parseFloat(n.style.height),i=Math.max(o,l);if(i<r){const o=i+e,l=Math.min(r,o),a=o-l;n.style.height=l+"px","0px"===n.style.bottom&&(t.scrollTop=a>0?a:0,n.style.justifyContent="flex-end")}}}u.current=t.scrollTop})})})]})});ce.displayName=se;var de="SelectGroup",[ue,pe]=M(de),fe=r.forwardRef((e,t)=>
2{const{__scopeSelect:n,...r}=e,o=(0,h.B)();return(0,w.jsx)(ue,{scope:n,id:o,children:(0,w.jsx)(g.sG.div,{role:"group","aria-labelledby":o,...r,ref:t})})});fe.displayName=de;var he="SelectLabel",ve=r.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=pe(he,n);return(0,w.jsx)(g.sG.div,{id:o.id,...r,ref:t})});ve.displayName=he;var me="SelectItem",[ge,we]=M(me),ye=r.forwardRef((e,t)=>{const{__scopeSelect:n,value:o,disabled:l=!1,textValue:a,...c}=e,d=B(me,n),u=te(me,n),p=d.value===o,[f,v]=r.useState(a??""),[m,y]=r.useState(!1),x=(0,s.s)(t,e=>u.itemRefCallback?.(e,o,l)),S=(0,h.B)(),b=r.useRef("touch"),C=()=>{l||(d.onValueChange(o),d.onOpenChange(!1))};if(""===o)throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return(0,w.jsx)(ge,{scope:n,value:o,disabled:l,textId:S,isSelected:p,onItemTextChange:r.useCallback(e=>{v(t=>t||(e?.textContent??"").trim())},[]),children:(0,w.jsx)(K.ItemSlot,{scope:n,value:o,disabled:l,textValue:f,children:(0,w.jsx)(g.sG.div,{role:"option","aria-labelledby":S,"data-highlighted":m?"":void 0,"aria-selected":p&&m,"data-state":p?"checked":"unchecked","aria-disabled":l||void 0,"data-disabled":l?"":void 0,tabIndex:l?void 0:-1,...c,ref:x,onFocus:(0,i.mK)(c.onFocus,()=>y(!0)),onBlur:(0,i.mK)(c.onBlur,()=>y(!1)),onClick:(0,i.mK)(c.onClick,()=>{"mouse"!==b.current&&C()}),onPointerUp:(0,i.mK)(c.onPointerUp,()=>{"mouse"===b.current&&C()}),onPointerDown:(0,i.mK)(c.onPointerDown,e=>{b.current=e.pointerType}),onPointerMove:(0,i.mK)(c.onPointerMove,e=>{b.current=e.pointerType,l?u.onItemLeave?.():"mouse"===b.current&&e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:(0,i.mK)(c.onPointerLeave,e=>{e.currentTarget===document.activeElement&&u.onItemLeave?.()}),onKeyDown:(0,i.mK)(c.onKeyDown,e=>{""!==u.searchRef?.current&&" "===e.key||(E.includes(e.key)&&C()," "===e.key&&e.preventDefault())})})})})});ye.displayName=me;var xe="SelectItemText",Se=r.forwardRef((e,t)=>{const{__scopeSelect:n,className:l,style:i,...a}=e,c=B(xe,n),d=te(xe,n),u=we(xe,n),p=F(xe,n),[f,h]=r.useState(null),v=(0,s.s)(t,e=>h(e),u.onItemTextChange,e=>d.itemTextRefCallback?.(e,u.value,u.disabled)),m=f?.textContent,y=r.useMemo(()=>(0,w.jsx)("option",{value:u.value,disabled:u.disabled,children:m},u.value),[u.disabled,u.value,m]),{onNativeOptionAdd:x,onNativeOptionRemove:S}=p;return(0,R.N)(()=>(x(y),()=>S(y)),[x,S,y]),(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(g.sG.span,{id:u.textId,...a,ref:v}),u.isSelected&&c.valueNode&&!c.valueNodeHasChildren?o.createPortal(a.children,c.valueNode):null]})});Se.displayName=xe;var be="SelectItemIndicator",Ce=r.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return we(be,n).isSelected?(0,w.jsx)(g.sG.span,{"aria-hidden":!0,...r,ref:t}):null});Ce.displayName=be;var je="SelectScrollUpButton",Re=r.forwardRef((e,t)=>{const n=te(je,e.__scopeSelect),o=ae(je,e.__scopeSelect),[l,i]=r.useState(!1),a=(0,s.s)(t,o.onScrollButtonChange);return(0,R.N)(()=>{if(n.viewport&&n.isPositioned){let e=function(){const e=t.scrollTop>0;i(e)};const t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[n.viewport,n.isPositioned]),l?(0,w.jsx)(Ne,{...e,ref:a,onAutoScroll:()=>{const{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}}):null});Re.displayName=je;var _e="SelectScrollDownButton",Pe=r.forwardRef((e,t)=>{const n=te(_e,e.__scopeSelect),o=ae(_e,e.__scopeSelect),[l,i]=r.useState(!1),a=(0,s.s)(t,o.onScrollButtonChange);return(0,R.N)(()=>{if(n.viewport&&n.isPositioned){let e=function(){const e=t.scrollHeight-t.clientHeight,n=Math.ceil(t.scrollTop)<e;i(n)};const t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[n.viewport,n.isPositioned]),l?(0,w.jsx)(Ne,{...e,ref:a,onAutoScroll:()=>{const{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}}):null});Pe.displayName=_e;var Ne=r.forwardRef((e,t)=>{const{__scopeSelect:n,onAutoScroll:o,...l}=e,a=te("SelectScrollButton",n),s=r.useRef(null),c=O(n),d=r.useCallback(()=>{null!==s.current&&(window.clearInterval(s.current),s.current=null)},[]);return r.useEffect(()=>()=>d(),[d]),(0,R.N)(()=>{const e=c().find(e=>e.ref.current===document.activeElement);e?.ref.current?.scrollIntoView({block:"nearest"})},[c]),(0,w.jsx)(g.sG.div,{"aria-hidden":!0,...l,ref:t,style:{flexShrink:0,...l.style},onPointerDown:(0,i.mK)(l.onPointerDown,()=>{null===s.current&&(s.current=window.setInterval(o,50))}),onPointerMove:(0,i.mK)(l.onPointerMove,()=>{a.onItemLeave?.(),null===s.current&&(s.current=window.setInterval(o,50))}),onPointerLeave:(0,i.mK)(l.onPointerLeave,()=>{d()})})}),ke=r.forwardRef((e,t)=>
2{const{__scopeSelect:n,...r}=e;return(0,w.jsx)(g.sG.div,{"aria-hidden":!0,...r,ref:t})});ke.displayName="SelectSeparator";var Ie="SelectArrow",Te=r.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=H(n),l=B(Ie,n),i=te(Ie,n);return l.open&&"popper"===i.position?(0,w.jsx)(v.i3,{...o,...r,ref:t}):null});Te.displayName=Ie;var Ee=r.forwardRef((e,t)=>{let{__scopeSelect:n,value:o,...l}=e;const i=r.useRef(null),a=(0,s.s)(t,i),c=(0,_.Z)(o);return r.useEffect(()=>{const e=i.current;if(!e)return;const t=window.HTMLSelectElement.prototype,n=Object.getOwnPropertyDescriptor(t,"value").set;if(c!==o&&n){const t=new Event("change",{bubbles:!0});n.call(e,o),e.dispatchEvent(t)}},[c,o]),(0,w.jsx)(g.sG.select,{...l,style:{...P,...l.style},ref:a,defaultValue:o})});function De(e){return""===e||void 0===e}function Ke(e){const t=(0,C.c)(e),n=r.useRef(""),o=r.useRef(0),l=r.useCallback(e=>{const r=n.current+e;t(r),function e(t){n.current=t,window.clearTimeout(o.current),""!==t&&(o.current=window.setTimeout(()=>e(""),1e3))}(r)},[t]),i=r.useCallback(()=>{n.current="",window.clearTimeout(o.current)},[]);return r.useEffect(()=>()=>window.clearTimeout(o.current),[]),[n,l,i]}function Oe(e,t,n){const r=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,o=n?e.indexOf(n):-1;let l=(i=e,a=Math.max(o,0),i.map((e,t)=>i[(a+t)%i.length]));var i,a;1===r.length&&(l=l.filter(e=>e!==n));const s=l.find(e=>e.textValue.toLowerCase().startsWith(r.toLowerCase()));return s!==n?s:void 0}Ee.displayName="SelectBubbleInput";var Le=G,Me=U,Ae=Z,He=Y,Ve=$,Be=X,We=ce,Fe=fe,Ge=ve,qe=ye,Ue=Se,ze=Ce,Ze=Re,Ye=Pe,$e=ke},23168(e,t,n){n.d(t,{Z:()=>o});var r=n(65043);function o(e){const t=r.useRef({value:e,previous:e});return r.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}}}]);
3//# sourceMappingURL=9620.fcf88b7c.chunk.js.map

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.