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