PageSourceSearch

https://aclipp.com/_next/static/immutable/chunks/3ldx8lsj62n54.js

js aclipp.com collected 2026-09-24 13:22:59 UTC 35,752 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,340904,e=>{"use strict";var t=e.i(418415);e.s([],472915),e.i(472915);var n=e.i(87192),r=e.i(226914),l=e.i(448367),o=e.i(882513),i=e.i(505939),s=e.i(736139),a=e.i(879783),u=e.i(813446),c=e.i(782338),d=e.i(519039),p=e.i(846822),f=e.i(282377),m=e.i(419724),g=e.i(249291),h=e.i(817142),x=e.i(354583),v=e.i(811082),b=e.i(847839);let S=n.createContext(void 0),y=n.createContext(void 0),R=n.createContext(void 0);function w(){let e=n.useContext(S);if(void 0===e)throw Error((0,b.default)(60));return e}function C(){let e=n.useContext(y);if(void 0===e)throw Error((0,b.default)(101));return e}function A(){let e=n.useContext(R);if(void 0===e)throw Error((0,b.default)(61));return e}var E=e.i(332709),I=e.i(168963),M=e.i(109279),T=e.i(631731),O=e.i(110937);let P=(e,t)=>Object.is(e,t);function V(e,t,n){return null==e||null==t?Object.is(e,t):n(e,t)}function j(e,t,n){return!!e&&e.some(e=>void 0!==e&&V(t,e,n))}function L(e,t,n){return e?e.findIndex(e=>void 0!==e&&V(e,t,n)):-1}function D(e,t,n,r){let l=r&&Array.isArray(t)?e.findIndex(function(e,t){if(t!==P)return n=>j(e,n,t);let n=new Set(e);return n.delete(void 0),t=>n.has(t)&&(0!==t||e.some(e=>Object.is(t,e)))}(t,n)):L(e,t,n);return -1===l?null:l}function N(e){if(null==e)return"";if("string"==typeof e)return e;try{return JSON.stringify(e)}catch{return String(e)}}function k(e){var t;return"object"==typeof(t=e?.[0])&&null!=t&&Array.isArray(t.items)}function H(e,t){if(t&&null!=e)return t(e)??"";if(e&&"object"==typeof e){if("label"in e&&null!=e.label)return String(e.label);if("value"in e)return String(e.value)}return N(e)}function U(e,t){return t&&null!=e?t(e)??"":e&&"object"==typeof e&&"value"in e&&"label"in e?N(e.value):N(e)}function B(e,t,n){if(n&&null!=e)return n(e);if(e&&"object"==typeof e&&"label"in e&&null!=e.label)return e.label;if(t&&!Array.isArray(t))return(Object.hasOwn(t,e)?t[e]:void 0)??H(e,n);if(Array.isArray(t)){let r=k(t)?t.flatMap(e=>e.items):t;if(null==e||"object"!=typeof e){let t=r.find(t=>t.value===e);return t&&null!=t.label?t.label:H(e,n)}if("value"in e){let t=r.find(t=>t&&t.value===e.value);if(t&&null!=t.label)return t.label}}return H(e,n)}let F={id:e=>e.id,labelId:e=>e.labelId,modal:e=>e.modal,items:e=>e.items,itemToStringLabel:e=>e.itemToStringLabel,isItemEqualToValue:e=>e.isItemEqualToValue,value:e=>e.value,hasSelectedValue:e=>{let{value:t,multiple:n,itemToStringValue:r}=e;return null!=t&&(n&&Array.isArray(t)?t.length>0:""!==U(t,r))},hasNullItemLabel:(e,t)=>!!t&&function(e){if(!Array.isArray(e))return null!=e&&"null"in e;if(k(e)){for(let t of e)for(let e of t.items)if(e&&null==e.value&&null!=e.label)return!0;return!1}for(let t of e)if(t&&null==t.value&&null!=t.label)return!0;return!1}(e.items),open:e=>e.open,mounted:e=>e.mounted,forceMount:e=>e.forceMount,transitionStatus:e=>e.transitionStatus,openMethod:e=>e.openMethod,activeIndex:e=>e.activeIndex,selectedIndex:e=>e.selectedIndex,isActive:(e,t)=>e.activeIndex===t,isSelected:(e,t)=>{let n=e.isItemEqualToValue,r=e.value;return e.multiple?Array.isArray(r)&&r.some(e=>V(t,e,n)):V(t,r,n)},isSelectedByFocus:(e,t)=>e.selectedIndex===t,popupProps:e=>e.popupProps,triggerProps:e=>e.triggerProps,triggerElement:e=>e.triggerElement,positionerElement:e=>e.positionerElement,listElement:e=>e.listElement,popupSide:e=>e.popupSide,scrollUpArrowVisible:e=>e.scrollUpArrowVisible,scrollDownArrowVisible:e=>e.scrollDownArrowVisible,hasScrollArrows:e=>e.hasScrollArrows};var z=e.i(666679),_=e.i(628203),Y=e.i(314288),W=e.i(868154),$=e.i(811415),q=e.i(92085),K=e.i(723447);function J(e,t){return Math.max(0,e-t)}function G(e,t){if(t<=0)return 0;let n=(0,K.clamp)(e,0,t),r=t-n,l=n<=1,o=r<=1;return l&&o?n<=r?0:t:l?0:o?t:n}var X=e.i(830887),Q=e.i(775462),Z=e.i(524848),ee=e.i(974188),et=e.i(887618),en=e.i(731283);let er=n.forwardRef(function(e,t){let{render:n,className:r,style:l,...o}=e;delete o.id;let i=(0,E.useFieldRootContext)(),s=w(),a=s.useState("triggerElement"),u=s.useState("id"),c=(0,en.getDefaultLabelId)(u),d=(0,et.useLabel)({id:c,fallbackControlId:a?.id??u,setLabelId(e){let t="function"==typeof e?e(s.state.labelId):e;s.set("labelId",t)}});return(0,Z.useRenderElement)("div",e,{ref:t,state:i.state,props:[d,o],stateAttributesMapping:ee.fieldValidityMapping})});var el=e.i(100503),eo=e.i(984445),ei=e.i(249317),es=e.i(167273),ea=e.i(528374),eu=e.i(443743),ec=e.i(565573),ed=e.i(444955),ep=e.i(177069);ep.CommonTriggerDataAttributes.popupOpen,ep.CommonTriggerDataAttributes.pressed;let ef={...es.pressableTriggerOpenStateMapping,...ee.fieldValidityMapping,popupSide:e=>e?{"data-popup-side":e}:null,value:()=>null},em=n.forwardRef(function(e,t){let{render:r,className:l,id:o,disabled:i=!1,nativeButton:s=!0,style:a,...u}
1=e,{setTouched:c,setFocused:p,validationMode:f,validation:m,state:g,disabled:h}=(0,E.useFieldRootContext)(),{labelId:x}=(0,ei.useLabelableContext)(),v=w(),{readOnly:b,required:S,disabled:y}=C(),R=h||y||i,A=v.useState("open"),I=v.useState("mounted"),T=v.useState("value"),O=v.useState("triggerProps"),P=v.useState("positionerElement"),V=v.useState("listElement"),j=v.useState("popupSide"),L=v.useState("id"),D=v.useState("labelId"),N=v.useState("hasSelectedValue"),k=I&&P?j:null,H=(0,en.resolveAriaLabelledBy)(x,D);(0,M.useLabelableId)({id:o});let U=(0,d.useValueAsRef)(P),B=n.useRef(null),{getButtonProps:F,buttonRef:Y}=(0,ed.useButton)({disabled:R,native:s}),W=v.useStateSetter("triggerElement"),$=(0,eo.useTimeout)(),q=(0,eo.useTimeout)(),K=(0,eo.useTimeout)();n.useEffect(()=>{if(A)return K.start(400,()=>{v.context.selectionRef.current.allowUnselectedMouseUp=!0,v.context.selectionRef.current.allowSelectedMouseUp=!0}),()=>{K.clear()};v.context.selectionRef.current={allowSelectedMouseUp:!1,allowUnselectedMouseUp:!1,dragY:0},q.clear()},[A,v,q,K]);let J=(0,Q.mergeProps)(O,{id:o??L,role:"combobox","aria-expanded":A,"aria-haspopup":"listbox","aria-controls":A?V?.id??(0,ec.getFloatingFocusElement)(P)?.id:void 0,"aria-labelledby":H,"aria-readonly":b||void 0,"aria-required":S||void 0,tabIndex:R?-1:0,onFocus(e){p(!0),A&&v.context.alignItemWithTriggerActiveRef.current&&v.context.setOpen(!1,(0,z.createChangeEventDetails)(_.REASONS.none,e.nativeEvent)),$.start(0,()=>{v.set("forceMount",!0)})},onBlur(e){(0,eu.contains)(P,e.relatedTarget)||(c(!0),p(!1),"onBlur"===f&&m.commit(T))},onMouseDown(e){if(A)return;let t=(0,el.ownerDocument)(e.currentTarget);function n(e){if(!B.current)return;let t=e.target;(0,eu.contains)(B.current,t)||(0,eu.contains)(U.current,t)||(0,ea.isMouseWithinBounds)(e,B.current)||v.context.setOpen(!1,(0,z.createChangeEventDetails)(_.REASONS.cancelOpen,e))}q.start(0,()=>{t.addEventListener("mouseup",n,{once:!0})})}},u,F),G=m.getValidationProps(R,J);G.role="combobox";let X={...g,open:A,disabled:R,value:T,readOnly:b,popupSide:k,placeholder:!N};return(0,Z.useRenderElement)("button",e,{ref:[t,B,Y,W],state:X,stateAttributesMapping:ef,props:G})}),eg={value:()=>null},eh=n.forwardRef(function(e,r){let{className:l,render:o,children:i,placeholder:s,style:a,...u}=e,c=w(),d=c.useState("value"),p=c.useState("items"),f=c.useState("itemToStringLabel"),m=c.useState("hasSelectedValue"),g=!m&&null!=s&&null==i,h=c.useState("hasNullItemLabel",g),x=null;if("function"==typeof i)x=i(d);else if(null!=i)x=i;else if(g&&!h)x=s;else if(Array.isArray(d))x=d.reduce((e,r,l)=>(l>0&&e.push(", "),e.push((0,t.jsx)(n.Fragment,{children:B(r,p,f)},l)),e),[]);else x=B(d,p,f);return(0,Z.useRenderElement)("span",e,{state:{value:d,placeholder:!m},ref:[r,c.context.valueRef],props:[{children:x},u],stateAttributesMapping:eg})}),ex=n.forwardRef(function(e,t){let{render:n,className:r,style:l,...o}=e,i=w().useState("open");return(0,Z.useRenderElement)("span",e,{state:{open:i},ref:t,props:[{"aria-hidden":!0,children:"▼"},o],stateAttributesMapping:es.triggerOpenStateMapping})});var ev=e.i(8447);let eb=n.forwardRef(function(e,n){let r=w(),l=r.useState("mounted"),o=r.useState("forceMount");return l||o?(0,t.jsx)(ev.FloatingPortal,{ref:n,...e}):null});var eS=e.i(58080);let ey={...es.popupStateMapping,...eS.transitionStatusMapping},eR=n.forwardRef(function(e,t){let{render:n,className:r,style:l,...o}=e,i=w(),s=i.useState("open"),a=i.useState("mounted"),u=i.useState("transitionStatus");return(0,Z.useRenderElement)("div",e,{state:{open:s,transitionStatus:u},ref:t,props:[{role:"presentation",hidden:!a,style:{userSelect:"none",WebkitUserSelect:"none"}},o],stateAttributesMapping:ey})});var ew=e.i(89260),eC=e.i(882408),eA=e.i(338820);let eE=n.createContext(void 0);function eI(){let e=n.useContext(eE);if(!e)throw Error((0,b.default)(59));return e}var eM=e.i(354168),eT=e.i(311232);function eO(e,t){e&&Object.assign(e.style,t)}let eP={position:"relative",maxHeight:"100%",overflowX:"hidden",overflowY:"auto"};var eV=e.i(796008),ej=e.i(442416);let eL={position:"fixed"},eD=n.forwardRef(function(e,r){let{anchor:l,className:o,render:i,positionMethod:s,side:a,align:d,sideOffset:p,alignOffset:f,collisionBoundary:m="clipping-ancestors",collisionPadding:g,arrowPadding:h,sticky:x,disableAnchorTracking:v,alignItemWithTrigger:b=!0,collisionAvoidance:S=eT.DROPDOWN_COLLISION_AVOIDANCE,style:y,...R}=e,C=w(),E=A(),I=C.useState("open"),M=C.useState("mounted"),T=C.useState("modal"),O=C.useState("value"),P=C.useState("openMethod"),V=C.useState("positionerElement"),j=C.useState("triggerElement"),D=C.useState("isItemEqualToValue"),N=C.useState("transitionStatus"),k=n.useRef(null),H=n.useRef(null),[U,B]=n.useState(b),F=M&&U&&"touch"!==P;M||U===b||B(b),n.useImperativeHandle(C.context.alignItemWithTriggerActiveRef,()=>F),(0,ej.useAnchoredPopupScrollLock)((F||T)&&I,"touch"===P,V,j);let Y=(0,eA.useAnchorPositioning)({anchor:l,floatingRootContext:E,positionMethod:s,mounted:M,side:a,sideOffset:p,align:d,alignOffset:f,arrowPadding:h,collisionBoundary:m,collisionPadding:g,sticky:x,disableAnchorTracking:v??F,collisionAvoidance:S,keepMounted:!0}),W=F?"none":Y.side,$=F?eL:Y.positionerStyles,q={open:I,side:W,align:Y.align,anchorHidden:Y.anchorHidden};(0,u.useIsoLayoutEffect)(()=>{C.set("popupSide",Y.side)},[C,Y.side]);let K=C.useStateSetter("positionerElement"),J=(0,eV.usePositioner)(e,q,{styles:$,transitionStatus:N,props:R,refs:[r,K],hidden:!M,inert:!I}),G=n.useRef(0),X=(0,c.useStableCallback)(e=>{if(0===C.context.valuesRef.current.length)return;let t=G.current;G.current=e.size;let n=(0,z.createChangeEventDetails)(_.REASONS.none);if(0!==t&&!C.state.multiple&&null!==O&&-1===L(C.context.valuesRef.current,O,D)){let e=C.context.
1initialValueRef.current,t=null!=e&&-1!==L(C.context.valuesRef.current,e,D)?e:null;C.context.setValue(t,n),null===t&&(C.set("selectedIndex",null),C.context.selectedItemTextRef.current=null)}if(0!==t&&C.state.multiple&&Array.isArray(O)){let e=O.filter(e=>-1!==L(C.context.valuesRef.current,e,D));e.length!==O.length&&(C.context.setValue(e,n),0===e.length&&(C.set("selectedIndex",null),C.context.selectedItemTextRef.current=null))}if(I&&F){C.update({scrollUpArrowVisible:!1,scrollDownArrowVisible:!1});let e={height:""};eO(V,e),eO(C.context.popupRef.current,e)}}),Q=n.useMemo(()=>({...Y,side:W,alignItemWithTriggerActive:F,setControlledAlignItemWithTrigger:B,scrollUpArrowRef:k,scrollDownArrowRef:H}),[Y,W,F,B]);return(0,t.jsx)(eC.CompositeList,{elementsRef:C.context.listRef,labelsRef:C.context.labelsRef,onMapChange:X,children:(0,t.jsxs)(eE.Provider,{value:Q,children:[M&&T&&(0,t.jsx)(eM.InternalBackdrop,{inert:(0,ew.inertValue)(!I),cutout:j}),J]})})});var eN=e.i(210242),ek=e.i(173406),eH=e.i(101522),eU=e.i(479995),eB=e.i(582847),eF=e.i(691803),ez=e.i(825339);let e_="base-ui-disable-scrollbar";var eY=e.i(666013),eW=e.i(147069),e$=e.i(630484),eq=e.i(341754),eK=e.i(970182);let eJ="--transform-origin",eG={...es.popupStateMapping,...eS.transitionStatusMapping},eX=n.forwardRef(function(e,r){let l,{render:o,className:i,style:s,finalFocus:a,...d}=e,p=w(),{multiple:f,readOnly:m,highlightItemOnHover:g}=C(),h=A(),{side:x,align:v,alignItemWithTriggerActive:b,isPositioned:S,setControlledAlignItemWithTrigger:y}=eI(),R=null!=(0,eY.useToolbarRootContext)(!0),E=(0,eK.useDirection)(),{nonce:I,disableStyleElements:M}=(0,eq.useCSPContext)(),T=p.useState("id"),O=p.useState("open"),P=p.useState("openMethod"),V=p.useState("mounted"),j=p.useState("popupProps"),L=p.useState("transitionStatus"),D=p.useState("triggerElement"),N=p.useState("positionerElement"),k=p.useState("listElement"),H=n.useRef(!1),U=n.useRef(!1),B=n.useRef({}),F=(0,eB.useAnimationFrame)(),W=(0,c.useStableCallback)(e=>{var t;if(!N||!p.context.popupRef.current||!U.current)return;let n="0px"===N.style.top,r="0px"===N.style.bottom;if(H.current||!b||!n&&!r)return void p.context.handleScrollArrowVisibility(e);let l=e0(N),o=(t=N.getBoundingClientRect().height,t/l.y),i=(0,el.ownerDocument)(N),s=(0,eU.ownerWindow)(N),a=s.getComputedStyle(N),u=parseFloat(a.marginTop),c=parseFloat(a.marginBottom),d=eQ(s.getComputedStyle(p.context.popupRef.current)),f=Math.min(i.documentElement.clientHeight-u-c,d),m=e.scrollTop,g=eZ(e),h=null,x=e=>{N.style.height=`${e}px`},v=n?g-m:m,S=Math.min(o+v,f);if(v<=1){let t=(0,K.clamp)(v,0,f-o);t>0&&x(o+t),e.scrollTop=n?g:0,f-(o+t)<=1&&(H.current=!0),p.context.handleScrollArrowVisibility(e);return}if(f-S>1)h=n?1/0:0;else if(r&&m<g){let e=o+v-f;h=m-(v-e)}let y=Math.ceil(S);if(0!==y&&x(y),null!=h){let t=(0,K.clamp)(h,0,eZ(e));Math.abs(e.scrollTop-t)>1&&(e.scrollTop=t)}y>=f-1&&(H.current=!0),p.context.handleScrollArrowVisibility(e)});n.useImperativeHandle(p.context.scrollHandlerRef,()=>W,[W]),(0,Y.useOpenChangeComplete)({open:O,ref:p.context.popupRef,onComplete(){O&&p.context.onOpenChangeComplete(!0)}}),(0,u.useIsoLayoutEffect)(()=>{N&&p.context.popupRef.current&&!Object.keys(B.current).length&&(B.current={top:N.style.top||"0",left:N.style.left||"0",right:N.style.right,height:N.style.height,bottom:N.style.bottom,minHeight:N.style.minHeight,maxHeight:N.style.maxHeight,marginTop:N.style.marginTop,marginBottom:N.style.marginBottom})},[p,N]),(0,u.useIsoLayoutEffect)(()=>{O||b||(U.current=!1,H.current=!1,eO(N,B.current))},[O,b,N]),(0,u.useIsoLayoutEffect)(()=>{let e=p.context.popupRef.current;if(!O||!D||!N||!e||b&&!S||"ending"===p.state.transitionStatus)return;if(U.current=!0,e.style.removeProperty(eJ),!b)return void F.request(()=>p.context.handleScrollArrowVisibility(k||e));let t=function(e){let{style:t}=e,n={};for(let[e,r]of e4)n[e]=t.getPropertyValue(e),t.setProperty(e,r,"important");return()=>{for(let[e]of e4){let r=n[e];r?t.setProperty(e,r):t.removeProperty(e)}}}(e);try{let t,n=p.context.selectedItemTextRef.current;n?.isConnected||(n=!p.select("hasSelectedValue")&&p.context.firstItemTextRef.current?.isConnected?p.context.firstItemTextRef.current:null);let r=p.context.valueRef.current,l=(0,eU.ownerWindow)(N),o=l.getComputedStyle(N),i=l.getComputedStyle(e),s=(0,el.ownerDocument)(D),a=e0(D),u=e1(D.getBoundingClientRect(),a),c=e1(N.getBoundingClientRect(),a),d=u.he
1ight,f=k||e,m=f.scrollHeight,h=parseFloat(i.borderBottomWidth),x=parseFloat(o.marginTop)||10,v=parseFloat(o.marginBottom)||10,b=parseFloat(o.minHeight)||100,S=eQ(i),R=s.documentElement.clientHeight-x-v,w=s.documentElement.clientWidth,C=R-u.bottom+d,A="rtl"===E?u.right-c.width:u.left,I=0;if(n&&r){let e=e1(r.getBoundingClientRect(),a);t=e1(n.getBoundingClientRect(),a),A=c.left+("rtl"===E?e.right-t.right:e.left-t.left);let l=e.top-u.top+e.height/2;I=t.top-c.top+t.height/2-l}let M=C+I+v+h,T=Math.min(R,M),O=R-x-v,P=M-T;N.style.left=`${(0,K.clamp)(A,5,w-5-c.width)}px`,N.style.height=`${T}px`,N.style.maxHeight="none",N.style.marginTop=`${x}px`,N.style.marginBottom=`${v}px`,e.style.height="100%";let V=eZ(f),j=P>=V-1;j&&(T=Math.min(R,c.height)-(P-V));let L=u.top<20||u.bottom>R-20||Math.ceil(T)+1<Math.min(m,b),U=(l.visualViewport?.scale??1)!==1&&eH.platform.engine.webkit;if(L||U){eO(N,B.current),y(!1);return}let F=Math.max(b,T);if(j){let e=Math.max(0,R-M);N.style.top=c.height>=O?"0":`${e}px`,N.style.height=`${T}px`,f.scrollTop=eZ(f)}else N.style.bottom="0",f.scrollTop=P;if(t){let n=c.top,r=c.height,l=t.top+t.height/2,o=(0,K.clamp)(r>0?(l-n)/r*100:50,0,100);e.style.setProperty(eJ,`50% ${o}%`)}(F===R||T>=S)&&(H.current=!0),p.context.handleScrollArrowVisibility(f),g&&null===p.state.selectedIndex&&null===p.state.activeIndex&&null!=p.context.listRef.current[0]&&p.set("activeIndex",0)}finally{t()}},[p,O,N,D,b,y,F,k,g,E,S]),n.useEffect(()=>{if(!b||!N||!O)return;let e=(0,eU.ownerWindow)(N);return(0,ek.addEventListener)(e,"resize",function(e){p.context.setOpen(!1,(0,z.createChangeEventDetails)(_.REASONS.windowResize,e))})},[p,b,N,O]);let $={...k?{role:"presentation"}:{role:"listbox","aria-multiselectable":f||void 0,"aria-readonly":m||void 0,id:`${T}-list`},onKeyDown(e){R&&eW.COMPOSITE_KEYS.has(e.key)&&e.stopPropagation()},onScroll(e){k||W(e.currentTarget)},...b&&{style:k?{height:"100%"}:eP},className:!k&&b?e_:void 0},q=(0,Z.useRenderElement)("div",e,{ref:[r,p.context.popupRef],state:{open:O,transitionStatus:L,side:x,align:v},stateAttributesMapping:eG,props:[j,$,(0,e$.getDisabledMountTransitionStyles)(L),d]});return(0,t.jsxs)(n.Fragment,{children:[!M&&(l=I,(0,t.jsx)("style",{nonce:l,href:e_,precedence:"base-ui:low",children:`.${e_}{scrollbar-width:none}.${e_}::-webkit-scrollbar{display:none}`})),(0,t.jsx)(eF.FloatingFocusManager,{context:h,modal:!1,disabled:!V,openInteractionType:P,returnFocus:a,restoreFocus:!0,children:q})]})});function eQ(e){let t=e.maxHeight;return t.endsWith("px")&&parseFloat(t)||1/0}function eZ(e){return J(e.scrollHeight,e.clientHeight)}function e0(e){return ez.platform.getScale(e)}function e1(e,t){return(0,eN.rectToClientRect)({x:e.x/t.x,y:e.y/t.y,width:e.width/t.x,height:e.height/t.y})}let e4=[["transform","none"],["scale","1"],["translate","0 0"]],e8=n.forwardRef(function(e,t){let{render:n,className:r,style:l,...o}=e,i=w(),{multiple:s,readOnly:a}=C(),{alignItemWithTriggerActive:u}=eI(),c=i.useState("hasScrollArrows"),d=i.useState("openMethod"),p=i.useState("id"),f={id:`${p}-list`,role:"listbox","aria-multiselectable":s||void 0,"aria-readonly":a||void 0,onScroll(e){i.context.scrollHandlerRef.current?.(e.currentTarget)},...u&&{style:eP},className:c&&"touch"!==d?e_:void 0},m=i.useStateSetter("listElement");return(0,Z.useRenderElement)("div",e,{ref:[t,m],props:[f,o]})});var e2=e.i(688993);let e5=n.createContext(void 0);function e3(){let e=n.useContext(e5);if(!e)throw Error((0,b.default)(57));return e}var e9=e.i(569079);let e7=n.memo(n.forwardRef(function(e,r){let{render:l,className:o,style:i,value:s=null,label:a,disabled:c=!1,nativeButton:d=!1,...p}=e,f=n.useRef(null),m=(0,e2.useCompositeListItem)({guess:!0,label:a,textRef:f}),g=w(),{itemProps:h,multiple:x,disabled:v,readOnly:b}=C(),S=v||c,y=g.useState("isActive",m.index),R=g.useState("open"),A=g.useState("isSelected",s),E=g.useState("isSelectedByFocus",m.index),I=g.useState("isItemEqualToValue"),M=m.index,T=n.useRef(null);(0,u.useIsoLayoutEffect)(()=>{let e=g.context.valuesRef.current;return e[M]=s,()=>{delete e[M]}},[M,s,g]),(0,u.useIsoLayoutEffect)(()=>{let e,t=g.state.value,n=g.state.selectedIndex,r=n;if(x&&Array.isArray(t)){var l;l=g.context.valuesRef.current,e=(r=j(t,s,I)?null!=n&&M>n&&j(t,l[n],I)?n:M:M===n?D(l,t,I,!0):n)===M,M!==n||e||(g.context.selectedItemTextRef.current=null)}else(e=void 0!==t&&V(s,t,I))&&(r=M);g.set("selectedIndex",r),e&&f.current&&(g.context.selectedItemTextRef.current=f.current)},[M,x,I,g,s]);let O=n.useRef("mouse"),P=n.useRef(!1),{getButtonProps:L,buttonRef:N}=(0,ed.useButton)({disabled:S,focusableWhenDisabled:!0,native:d,composite:!0});function k(){g.context.selectionRef.current.dragY=0}let H=(0,Z.useRenderElement)("div",e,{ref:[N,r,m.ref,T],state:{disabled:S,selected:A,highlighted:y},props:[h,{role:"option","aria-selected":A,tabIndex:R&&y?0:-1,onKeyDown(e){g.set("activeIndex",M)," "===e.key&&g.context.typingRef.current&&e.preventDefault()},onClick(e){let t="touch"!==O.current,n=e.nativeEvent.pointerType,r=t&&(0,e9.isVirtualClick)(e.nativeEvent)&&(void 0!==n||y),l=t&&!r&&!P.current;P.current=!1,S||l||function(e){if(v||b)return;let t=g.state.value;if(x){let n=Array.isArray(t)?t:[],r=A?n.filter(e=>!V(s,e,I)):[...n,s];g.context.setValue(r,(0,z.createChangeEventDetails)(_.REASONS.itemPress,e))}else g.context.setValue(s,(0,z.createChangeEventDetails)(_.REASONS.itemPress,e)),g.context.setOpen(!1,(0,z.createChangeEventDetails)(_.REASONS.itemPress,e))}(e.nativeEvent)},onPointerEnter(e){O.current=e.pointerType},onPointerMove(e){if("mouse"===e.pointerType&&1===e.buttons){let t=g.context.selectionRef.current;t.dragY+=e.movementY,t.dragY**2>=64&&(t.allowUnselectedMouseUp=!0)}},onPointerDown(e){O.current=e.pointerType,P.current=!0,k()},onMouseUp(){if(k(),S||"touch"===O.current||P.current)return;let e=!g.context.selectionRef.current.allowSelectedMouseUp&&A,t=!g.context.selectionRef.current.allowUnselectedMouseUp&&!A;e||t||(P.current=!0,T.current?.click(),P.current=!1)}},p,L]}),U=n.useMemo(()=>({selected:A,index:M,textRef:f,selectedByFocus:E}),[A,M,f,E]);return(0,t.jsx)(e5.Provider,{value:U,children:H})})),e6=n.forwardRef(function(e,n){let{selected:r}=e3();return e.keepMounted||r?(0,t.jsx)(te,{...e,ref:n}):null}),te=n.memo(n.forwardRef((e,t)=>
1{let{render:r,className:l,style:o,keepMounted:i,...s}=e,{selected:a}=e3(),u=n.useRef(null),{transitionStatus:c,setMounted:d}=(0,T.useTransitionStatus)(a),p=(0,Z.useRenderElement)("span",e,{ref:[t,u],state:{selected:a,transitionStatus:c},props:[{"aria-hidden":!0,children:"✔️"},s],stateAttributesMapping:eS.transitionStatusMapping});return(0,Y.useOpenChangeComplete)({batch:!0,enabled:!a,open:a,ref:u,onComplete(){a||d(!1)}}),p})),tt=n.memo(n.forwardRef(function(e,t){let{index:r,textRef:l,selectedByFocus:o}=e3(),i=w(),{render:s,className:a,style:u,...c}=e,d=n.useCallback(e=>{e&&(0===r&&(i.context.firstItemTextRef.current=e),o&&(i.context.selectedItemTextRef.current=e))},[i,r,o]);return(0,Z.useRenderElement)("div",e,{ref:[d,t,l],props:c})})),tn=n.forwardRef(function(e,t){let{render:n,className:r,style:l,...o}=e,i=w(),{side:s,align:a,arrowRef:u,arrowStyles:c,arrowUncentered:d,alignItemWithTriggerActive:p}=eI(),f=i.useState("open"),m=(0,Z.useRenderElement)("div",e,{state:{open:f,side:s,align:a,uncentered:d},ref:[u,t],props:[{style:c,"aria-hidden":!0},o],stateAttributesMapping:es.popupTransitionStateMapping});return p?null:m}),tr=n.forwardRef(function(e,t){let{render:n,className:r,style:l,direction:o,keepMounted:i,...s}=e,a="up"===o,c=w(),{side:d,scrollDownArrowRef:p,scrollUpArrowRef:f}=eI(),m=c.useState(a?"scrollUpArrowVisible":"scrollDownArrowVisible"),g=c.useState("openMethod"),h=m&&"touch"!==g,x=(0,eo.useTimeout)(),v=a?f:p,{mounted:b,transitionStatus:S,setMounted:y}=(0,T.useTransitionStatus)(h);(0,u.useIsoLayoutEffect)(()=>(c.context.scrollArrowsMountedCountRef.current+=1,c.set("hasScrollArrows",!0),()=>{c.context.scrollArrowsMountedCountRef.current=Math.max(0,c.context.scrollArrowsMountedCountRef.current-1),0===c.context.scrollArrowsMountedCountRef.current&&c.set("hasScrollArrows",!1)}),[c]),(0,Y.useOpenChangeComplete)({open:h,ref:v,onComplete(){h||y(!1)}});let R=(0,Z.useRenderElement)("div",e,{ref:[t,v],state:{direction:o,visible:h,side:d,transitionStatus:S},props:[{"aria-hidden":!0,children:a?"▲":"▼",style:{position:"absolute"},onMouseMove(e){0===e.movementX&&0===e.movementY||x.isStarted()||(c.set("activeIndex",null),x.start(40,function e(){let t=c.state.listElement??c.context.popupRef.current;if(!t)return;c.set("activeIndex",null),c.context.handleScrollArrowVisibility(t);let n=J(t.scrollHeight,t.clientHeight),r=G(t.scrollTop,n),l=r===(a?0:n),o=c.context.listRef.current;if(r!==t.scrollTop&&(t.scrollTop=r),l)return void x.clear();if(o.length>0){let e=v.current?.offsetHeight||0;t.scrollTop=function(e,t,n,r,l,o){if(t){let t=0,r=n+l-1;for(let n=0;n<e.length;n+=1){let l=e[n];if(l&&l.offsetTop>=r){t=n;break}}let i=Math.max(0,t-1),s=e[i];return i<t&&s?G(s.offsetTop-l,o):0}let i=e.length-1,s=n+r-l+1;for(let t=0;t<e.length;t+=1){let n=e[t];if(n&&n.offsetTop+n.offsetHeight>s){i=Math.max(0,t-1);break}}let a=Math.min(e.length-1,i+1),u=e[a];return a>i&&u?G(u.offsetTop+u.offsetHeight-r+l,o):o}(o,a,r,t.clientHeight,e,n)}x.start(40,e)}))},onMouseLeave(){x.clear()}},s],stateAttributesMapping:eS.transitionStatusMapping});return b||i?R:null}),tl=n.forwardRef(function(e,n){return(0,t.jsx)(tr,{...e,ref:n,direction:"down"})}),to=n.forwardRef(function(e,n){return(0,t.jsx)(tr,{...e,ref:n,direction:"up"})}),ti=n.createContext(void 0),ts=n.forwardRef(function(e,r){let{render:l,className:o,style:i,...s}=e,[a,u]=n.useState(),c=n.useMemo(()=>({labelId:a,setLabelId:u}),[a,u]),d=(0,Z.useRenderElement)("div",e,{ref:r,props:[{role:"group","aria-labelledby":a},s]});return(0,t.jsx)(ti.Provider,{value:c,children:d})});var ta=e.i(445886);let tu=n.forwardRef(function(e,t){let{render:r,className:l,style:o,id:i,...s}=e,{setLabelId:a}=function(){let e=n.useContext(ti);if(void 0===e)throw Error((0,b.default)(56));return e}(),c=(0,ta.useBaseUiId)(i);return(0,u.useIsoLayoutEffect)(()=>(a(c),()=>{a(e=>e===c?void 0:e)}),[c,a]),(0,Z.useRenderElement)("div",e,{ref:t,props:[{id:c,"aria-hidden":!0},s]})}),tc=n.forwardRef(function(e,t){let{className:n,render:r,orientation:l="horizontal",style:o,...i}=e;return(0,Z.useRenderElement)("div",e,{state:{orientation:l},ref:t,props:[{role:"presentation"},i]})});e.s(["Arrow",0,tn,"Backdrop",0,eR,"Group",0,ts,"GroupLabel",0,tu,"Icon",0,ex,"Item",0,e7,"ItemIndicator",0,e6,"ItemText",0,tt,"Label",0,er,"List",0,e8,"Po
1pup",0,eX,"Portal",0,eb,"Positioner",0,eD,"Root",0,function(e){let b,{id:w,value:C,defaultValue:A=null,onValueChange:j,open:L,defaultOpen:N=!1,onOpenChange:k,name:B,form:K,autoComplete:Z,disabled:ee=!1,readOnly:et=!1,required:en=!1,modal:er=!0,actionsRef:el,inputRef:eo,onOpenChangeComplete:ei,items:es,multiple:ea=!1,itemToStringLabel:eu,itemToStringValue:ec,isItemEqualToValue:ed=P,highlightItemOnHover:ep=!0,children:ef}=e,{clearErrors:em}=(0,W.useFormContext)(),{setDirty:eg,setTouched:eh,setFocused:ex,validityData:ev,setFilled:eb,name:eS,disabled:ey,validation:eR,validationMode:ew}=(0,E.useFieldRootContext)(),eC=(0,M.useLabelableId)({id:w}),eA=ey||ee,eE=eS??B,[eI,eM]=(0,a.useControlled)({controlled:C,default:ea?A??f.EMPTY_ARRAY:A,name:"Select",state:"value"}),[eT,eO]=(0,a.useControlled)({controlled:L,default:N,name:"Select",state:"open"}),eP=n.useRef([]),eV=n.useRef([]),ej=n.useRef(null),eL=n.useRef(null),eD=n.useRef(0),eN=n.useRef(null),ek=n.useRef([]),eH=n.useRef(!1),eU=n.useRef(null),eB=n.useRef(null),eF=n.useRef({allowSelectedMouseUp:!1,allowUnselectedMouseUp:!1,dragY:0}),ez=n.useRef(!1),e_=n.useRef(eI),{mounted:eY,setMounted:eW,transitionStatus:e$}=(0,T.useTransitionStatus)(eT),{openMethod:eq,triggerProps:eK}=(0,q.useOpenInteractionType)(eT),eJ=(0,o.useRefWithInit)(()=>new p.ReactStore({id:eC,labelId:void 0,modal:er,multiple:ea,itemToStringLabel:eu,itemToStringValue:ec,isItemEqualToValue:ed,value:eI,open:eT,mounted:eY,transitionStatus:e$,items:es,forceMount:!1,openMethod:null,activeIndex:null,selectedIndex:null,popupProps:f.EMPTY_OBJECT,triggerProps:f.EMPTY_OBJECT,triggerElement:null,positionerElement:null,listElement:null,popupSide:null,scrollUpArrowVisible:!1,scrollDownArrowVisible:!1,hasScrollArrows:!1},{setValue:f.NOOP,setOpen:f.NOOP,handleScrollArrowVisibility:f.NOOP,onOpenChangeComplete:f.NOOP,listRef:eP,popupRef:ej,scrollHandlerRef:eL,scrollArrowsMountedCountRef:eD,valueRef:eN,valuesRef:ek,labelsRef:eV,typingRef:eH,selectionRef:eF,firstItemTextRef:eU,selectedItemTextRef:eB,alignItemWithTriggerActiveRef:ez,initialValueRef:e_},F)).current,eG=eJ.useState("activeIndex"),eX=eJ.useState("selectedIndex"),eQ=eJ.useState("triggerElement"),eZ=eJ.useState("positionerElement"),e0=(0,i.usePreviousValue)(eq),e1=eq??e0,e4=n.useMemo(()=>ea?"":U(eI,ec),[ea,eI,ec]),e8=n.useMemo(()=>ea&&Array.isArray(eI)?eI.map(e=>U(e,ec)):U(eI,ec),[ea,eI,ec]),e2=(0,d.useValueAsRef)(eQ),e5=(0,c.useStableCallback)(()=>e8);(0,I.useRegisterFieldControl)(e2,eC,eI,e5,!eA,B);let e3=ea?Array.isArray(eI)&&eI.length>0:null!=eI&&""!==e4;(0,u.useIsoLayoutEffect)(()=>{eb(e3)},[e3,eb]),(0,u.useIsoLayoutEffect)(function(){let e=D(ek.current,eI,ed,ea);null===e&&(eB.current=null),eT||eJ.set("selectedIndex",e)},[ea,eT,eI,ed,eJ]),(0,$.useValueChanged)(eI,()=>{var e;em(eE),eg((e=ev.initialValue,Array.isArray(eI)&&Array.isArray(e)?!(0,O.areArraysEqual)(eI,e,(e,t)=>V(e,t,ed)):eI!==e)),eR.change(eI)});let e9=(0,c.useStableCallback)((e,t)=>{k?.(e,t),!t.isCanceled&&(eO(e),e||t.reason!==_.REASONS.focusOut&&t.reason!==_.REASONS.outsidePress||(eh(!0),ex(!1),"onBlur"===ew&&eR.commit(eI)))}),e7=(0,c.useStableCallback)(()=>{eW(!1),eJ.update({activeIndex:null,openMethod:null,scrollUpArrowVisible:!1,scrollDownArrowVisible:!1}),ei?.(!1)});(0,Y.useOpenChangeComplete)({enabled:!el,open:eT,ref:ej,onComplete(){eT||e7()}}),n.useImperativeHandle(el,()=>({unmount:e7}),[e7]);let e6=(0,c.useStableCallback)((e,t)=>{j?.(e,t),t.isCanceled||eM(e)}),te=(0,c.useStableCallback)(e=>{let t=J(e.scrollHeight,e.clientHeight),n=G(e.scrollTop,t);eJ.set("scrollUpArrowVisible",n>0),eJ.set("scrollDownArrowVisible",n<t)}),tt=(0,h.useFloatingRootContext)({open:eT,onOpenChange:e9,elements:{reference:eQ,floating:eZ}}),tn=(0,m.useClick)(tt,{enabled:!eA,event:"mousedown"}),tr=(0,g.useDismiss)(tt),tl=(0,x.useListNavigation)(tt,{enabled:!eA,listRef:eP,activeIndex:eG,selectedIndex:eX,disabledIndices:f.EMPTY_ARRAY,onNavigate(e){(null!==e||eT)&&eJ.set("activeIndex",e)},focusItemOnHover:ep}),to=(0,v.useTypeahead)(tt,{enabled:!eA&&(eT||!et&&!ea),listRef:eV,activeIndex:eG,selectedIndex:eX,disabledIndices:e=>(0,s.isElementDisabled)(eP.current[e]),onMatch(e){eT?eJ.set("activeIndex",e):e6(ek.current[e],(0,z.createChangeEventDetails)(_.REASONS.none))},onTyping(e){eH.current=e}}),ti=n.useMemo(()=>(0,Q.mergeProps)(to.reference,tl.reference,tr.reference,tn.reference,eK),[tn.reference,to.reference,tl.reference,tr.reference,eK]),ts=n.useMemo(()=>(0,Q.mergeProps)(X.FOCUSABLE_POPUP_PROPS,to.floating,tl.floating,tr.floating),[to.floating,tl.floating,tr.floating]),ta=tl.item??f.EMPTY_OBJECT;eJ.useContextCallback("setValue",e6),eJ.useContextCallback("setOpen",e9),eJ.useContextCallback("handleScrollArrowVisibility",te),eJ.useContextCallback("onOpenChangeComplete",ei),(b=n.useRef(!0)).current&&(b.current=!1,(()=>{eJ.update({popupProps:ts,triggerProps:ti})})()),eJ.useSyncedValues({id:eC,modal:er,multiple:ea,value:eI,open:eT,mounted:eY,transitionStatus:e$,popupProps:ts,triggerProps:ti,items:es,itemToStringLabel:eu,itemToStringValue:ec,isItemEqualToValue:ed,openMethod:e1});let tu=n.useMemo(()=>({disabled:eA,readOnly:et,required:en,multiple:ea,highlightItemOnHover:ep,itemProps:ta}),[eA,et,en,ea,ep,ta]),tc=(0,l.useMergedRefs)(eo,eR.inputRef),td=ea?void 0:eE,tp=n.useMemo(()=>ea&&Array.isArray(eI)&&eE?eI.map(e=>{let n=U(e,ec);return(0,t.jsx)("input",{type:"hidden",form:K,name:eE,value:n,disabled:eA},n)}):null,[ea,eI,K,eE,ec,eA]);return(0,t.jsxs)(S.Provider,{value:eJ,children:[(0,t.jsx)(y.Provider,{value:tu,children:(0,t.jsx)(R.Provider,{value:tt,children:ef})}),(0,t.jsx)("input",{...eR.getValidationProps(eA,{onFocus(){eJ.state.triggerElement?.focus({focusVisible:!0})},onChange(e){if(e.nativeEvent.defaultPrevented||eA||et)return;let t=e.currentTarget.value,n=(0,z.createChangeEventDetails)(_.REASONS.none,e.nativeEvent);eJ.set("forceMount",!0),queueMicrotask(function(){if(ea)return;let e=t.toLowerCase(),r=ek.current.findIndex(t=>U(t,ec).toLowerCase()===e||H(t,eu).toLowerCase()===e);-1===r&&(r=ek.current.findIndex((t,n)=>{let r=eV.current[n];return null!=r&&r.toLowerCase()===e}));let l=ek.current[r];null!=l&&e6(l,n)})}}),id:eC&&null==td?`${eC}-hidden-input`:void 0,form:K,name:td,autoComplete:Z,value:e4,disabled:eA,required:en&&!(ea&&e3),readOnly:et,ref:tc,style:eE?r.visuallyHiddenInput:r.visuallyHidden,tabIndex:-1,"aria-hidden":!0,suppressHydrationWarning:!0}),tp]})},"ScrollDownArrow",0,tl,"ScrollUpArrow",0,to,"Separator",0,tc,"Trigger",0,em,"Value",0,eh],581554);var td=e.i(581554),td=td,tp=e.i(591653),tf=e.i(11518);let tm=(0,e.i(54864).default)("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);var tg=e.i(310869),th=e.i(78829);let tx=Symbol.for("aclipp.ui.select-item");function tv({className:e,children:n,...r}){return(0,t.jsxs)(td.Item,{"data-slot":"select-item",className:(0,th.cn)("relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-highlighted:bg-accent data-highlighted:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground",e),...r,children:[(0,t.jsx)("span",{className:"absolute right-2 flex size-3.5 items-center justify-center",children:(0,t.jsx)(td.ItemIndicator,{children:(0,t.jsx)(tp.CheckIcon,{className:"size-4"})})}),(0,t.jsx)(td.ItemText,{className:"flex items-center gap-2",children:n})]})}function tb({className:e,...n}){return(0,t.jsx)(td.ScrollUpArrow,{"data-slot":"select-scroll-up-button",className:(0,th.cn)("flex cursor-default items-center justify-center py-1",e),...n,children:(0,t.jsx)(tm,{className:"size-4"})})}function tS({className:e,...n}){return(0,t.jsx)(td.ScrollDownArrow,{"data-slot":"select-scroll-down-button",className:(0,th.cn)("flex cursor-default items-center justify-center py-1",e),...n,children:(0,t.jsx)(tf.ChevronDownIcon,{className:"size-4"})})}Object.assign(tv,{[tx]:!0}),e.s(["Select",0,function({children:e,items:r,onValueChange:l,...o}
1){let i=r??function e(t,r){return n.Children.forEach(t,t=>{if(n.isValidElement(t)){var l;if("function"==typeof(l=t.type)&&tx in l&&"string"==typeof t.props.value){r[t.props.value]=t.props.children;return}t.props.children&&e(t.props.children,r)}}),r}(e,{}),s=n.useCallback(e=>{null!==e&&l?.(e)},[l]);return(0,t.jsx)(td.Root,{"data-slot":"select",items:i,onValueChange:s,...o,children:e})},"SelectContent",0,function({className:e,children:n,align:r="start",alignOffset:l=0,side:o,sideOffset:i=4,...s}){return(0,t.jsx)(td.Portal,{children:(0,t.jsx)(td.Positioner,{align:r,alignOffset:l,side:o,sideOffset:i,alignItemWithTrigger:!1,className:"isolate z-(--z-layer)",children:(0,t.jsxs)(td.Popup,{"data-slot":"select-content",className:(0,th.cn)("relative max-h-(--available-height) min-w-[8rem] origin-(--transform-origin) overflow-x-hidden overflow-y-auto rounded-md border bg-popover text-popover-foreground shadow-md",tg.popupMotion,"duration-150 ease-out",e),...s,children:[(0,t.jsx)(tb,{}),(0,t.jsx)(td.List,{className:"w-full min-w-(--anchor-width) scroll-my-1 p-1",children:n}),(0,t.jsx)(tS,{})]})})})},"SelectItem",0,tv,"SelectTrigger",0,function({className:e,size:n="default",children:r,...l}){return(0,t.jsxs)(td.Trigger,{"data-slot":"select-trigger","data-size":n,className:(0,th.cn)("flex w-fit items-center justify-between gap-2 rounded-md border border-input bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 data-disabled:cursor-not-allowed data-disabled:opacity-50 data-[placeholder]:text-muted-foreground data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground",e),...l,children:[r,(0,t.jsx)(td.Icon,{render:(0,t.jsx)(tf.ChevronDownIcon,{className:"size-4 opacity-50"})})]})},"SelectValue",0,function({...e}){return(0,t.jsx)(td.Value,{"data-slot":"select-value",...e})}],340904)}]);

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.