1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84],{22411:(e,t,n)=>{"use strict";var r=n(37811);n(32202);var l=n(55944),o=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(l),a=void 0!==r&&r.env&&!0,i=function(e){return"[object String]"===Object.prototype.toString.call(e)},s=function(){function e(e){var t=void 0===e?{}:e,n=t.name,r=void 0===n?"stylesheet":n,l=t.optimizeForSpeed,o=void 0===l?a:l;u(i(r),"`name` must be a string"),this._name=r,this._deletedRulePlaceholder="#"+r+"-deleted-rule____{}",u("boolean"==typeof o,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=o,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var s="undefined"!=typeof window&&document.querySelector('meta[property="csp-nonce"]');this._nonce=s?s.getAttribute("content"):null}var t,n=e.prototype;return n.setOptimizeForSpeed=function(e){u("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),u(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},n.isOptimizeForSpeed=function(){return this._optimizeForSpeed},n.inject=function(){var e=this;if(u(!this._injected,"sheet already injected"),this._injected=!0,"undefined"!=typeof window&&this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.getSheet(),this._optimizeForSpeed||(a||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,n){return"number"==typeof n?e._serverSheet.cssRules[n]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),n},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},n.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]},n.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},n.insertRule=function(e,t){if(u(i(e),"`insertRule` accepts only strings"),"undefined"==typeof window)return"number"!=typeof t&&(t=this._serverSheet.cssRules.length),this._serverSheet.insertRule(e,t),this._rulesCount++;if(this._optimizeForSpeed){var n=this.getSheet();"number"!=typeof t&&(t=n.cssRules.length);try{n.insertRule(e,t)}catch(t){return a||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var r=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,r))}return this._rulesCount++},n.replaceRule=function(e,t){if(this._optimizeForSpeed||"undefined"==typeof window){var n="undefined"!=typeof window?this.getSheet():this._serverSheet;if(t.trim()||(t=this._deletedRulePlaceholder),!n.cssRules[e])return e;n.deleteRule(e);try{n.insertRule(t,e)}catch(r){a||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),n.insertRule(this._deletedRulePlaceholder,e)}}else{var r=this._tags[e];u(r,"old rule at index `"+e+"` not found"),r.textContent=t}return e},n.deleteRule=function(e){if("undefined"==typeof window)return void this._serverSheet.deleteRule(e);if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];u(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}},n.flush=function(){this._injected=!1,this._rulesCount=0,"undefined"!=typeof window?(this._tags.forEac
1h(function(e){return e&&e.parentNode.removeChild(e)}),this._tags=[]):this._serverSheet.cssRules=[]},n.cssRules=function(){var e=this;return"undefined"==typeof window?this._serverSheet.cssRules:this._tags.reduce(function(t,n){return n?t=t.concat(Array.prototype.map.call(e.getSheetForTag(n).cssRules,function(t){return t.cssText===e._deletedRulePlaceholder?null:t})):t.push(null),t},[])},n.makeStyleTag=function(e,t,n){t&&u(i(t),"makeStyleTag accepts only strings as second parameter");var r=document.createElement("style");this._nonce&&r.setAttribute("nonce",this._nonce),r.type="text/css",r.setAttribute("data-"+e,""),t&&r.appendChild(document.createTextNode(t));var l=document.head||document.getElementsByTagName("head")[0];return n?l.insertBefore(r,n):l.appendChild(r),r},t=[{key:"length",get:function(){return this._rulesCount}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}();function u(e,t){if(!e)throw Error("StyleSheet: "+t+".")}var d=function(e){for(var t=5381,n=e.length;n;)t=33*t^e.charCodeAt(--n);return t>>>0},c={};function p(e,t){if(!t)return"jsx-"+e;var n=String(t),r=e+n;return c[r]||(c[r]="jsx-"+d(e+"-"+n)),c[r]}function m(e,t){"undefined"==typeof window&&(t=t.replace(/\/style/gi,"\\/style"));var n=e+t;return c[n]||(c[n]=t.replace(/__jsx-style-dynamic-selector/g,e)),c[n]}var h=function(){function e(e){var t=void 0===e?{}:e,n=t.styleSheet,r=void 0===n?null:n,l=t.optimizeForSpeed,o=void 0!==l&&l;this._sheet=r||new s({name:"styled-jsx",optimizeForSpeed:o}),this._sheet.inject(),r&&"boolean"==typeof o&&(this._sheet.setOptimizeForSpeed(o),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),"undefined"==typeof window||this._fromServer||(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var n=this.getIdAndRules(e),r=n.styleId,l=n.rules;if(r in this._instancesCounts){this._instancesCounts[r]+=1;return}var o=l.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[r]=o,this._instancesCounts[r]=1},t.remove=function(e){var t=this,n=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}(n in this._instancesCounts,"styleId: `"+n+"` not found"),this._instancesCounts[n]-=1,this._instancesCounts[n]<1){var r=this._fromServer&&this._fromServer[n];r?(r.parentNode.removeChild(r),delete this._fromServer[n]):(this._indices[n].forEach(function(e){return t._sheet.deleteRule(e)}),delete this._indices[n]),delete this._instancesCounts[n]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],n=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return n[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){var t,n;return t=this.cssRules(),void 0===(n=e)&&(n={}),t.map(function(e){var t=e[0],r=e[1];return o.default.createElement("style",{id:"__"+t,key:"__"+t,nonce:n.nonce?n.nonce:void 0,dangerouslySetInnerHTML:{__html:r}})})},t.getIdAndRules=function(e){var t=e.children,n=e.dynamic,r=e.id;if(n){var l=p(r,n);return{styleId:l,rules:Array.isArray(t)?t.map(function(e){return m(l,e)}):[m(l,t)]}}return{styleId:p(r),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}(),f=l.createContext(null);f.displayName="StyleSheetContext";var v=o.default.useInsertionEffect||o.default.useLayoutEffect,y="undefined"!=typeof window?new h:void 0;function b(e){var t=y||l.useContext(f);return t&&("undefined"==typeof window?t.add(e):v(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)])),null}b.dynamic=function(e){return e.map(function(e){return p(e[0],e[1])}).join(" ")},t.style=b},25584:(e,t,n)=>{"use strict";e.exports=n(22411).style},31240:(e,t,n)=>{"use strict";n.d(t,{K:()=>r});let r=(0,n(61649).A)("IcImage",[["path",{d:"M21.21 1.31H2.77C1.23 1.31 0 2.56 0 4.09V19.9c0 1.54 1.25 2.79 2.79 2.79h18.42c1.54 0 2.79-1.25 2.79-2.79V4.09c0-1.54-1.25-2.79-2.79-2.79ZM2.76 2.93h18.45c.64 0 1.17.52 1.17 1.17v13.86l-5.12-5.12-3.29 3.29-5.27-5.27-7.11 7.11V4.09c0-.64.52-1.17 1.17-1.17ZM8.7 13.15l5.27 5.27 3.29-3.29 5.07 5.07c-.13.52-.58.89-1.11.89H2.77c-.52 0-.98-.37-1.11-.89l7.04-7.04Zm8.56-2.32c1.54 0 2.79-1.25 2.79-2.79s-1.25-2.79-2.79-2.79-2.79 1.25-2.79 2.79 1.25 2.79 2.79 2.79m0-3.95c.64 0 1.17.52 1.17 1.17s-.52 1.17-1.17 1.17-1.17-.52-1.
117-1.17.52-1.17 1.17-1.17",key:"w7xvlb"}]])},32202:()=>{},49113:(e,t,n)=>{"use strict";n.d(t,{rI:()=>q,SQ:()=>et,mv:()=>Y,_2:()=>ei,dc:()=>W,ty:()=>H,ig:()=>X});var r=n(55944),l=n(37801),o=n(64329),a=n(91186),i=n(68723),s=n(52184),u=n(21881),d=n(46182),c=n(89666),p={primary:"ds-checkbox-primary",secondary:"ds-checkbox-secondary",indicator:"ds-checkbox-indicator","check-mark":"ds-checkbox-check-mark",label:"ds-checkbox-label"};let m="Checkbox",[h,f]=(0,o.AP)(m),[v,y]=h(m),b=e=>{let{ref:t,disabled:n,children:l,...o}=e;return r.createElement(c.s.label,{...o,"data-disabled":n,ref:t},l)};b.displayName="CheckboxLabel";let w=e=>{let{ref:t,__scopeCheckbox:n,name:l,defaultChecked:a,checked:i,required:s,disabled:u,value:d="on",onCheckedChange:p,...m}=e,[h,f]=r.useState(null),[y=!1,b]=(0,o.ic)({prop:i,defaultProp:a,onChange:p}),w=(0,o.sC)(t,e=>f(e)),g=r.useRef(!1),S=!h||!!h.closest("form"),C=r.useRef(y);return r.useEffect(()=>{let e=null==h?void 0:h.form;if(e){let t=()=>b(C.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[h,b]),r.createElement(v,{scope:n,checked:y,disabled:u},r.createElement(c.s.button,{type:"button",role:"checkbox","aria-checked":E(y)?"mixed":y,"aria-required":s,"data-state":k(y),"data-disabled":u,disabled:u,value:d,...m,ref:w,onKeyDown:(0,o.mK)(e.onKeyDown,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:(0,o.mK)(e.onClick,e=>{b(e=>!!E(e)||!e),S&&(g.current=e.isPropagationStopped(),g.current||e.stopPropagation())})}),S&&r.createElement(_,{bubbles:!g.current,name:l,value:d,checked:y,required:s,disabled:u,style:{transform:"translateX(-100%)"}}))},g=e=>{let{ref:t,__scopeCheckbox:n,...l}=e,{disabled:o,checked:a}=y(m,n);return r.createElement(c.s.span,{"data-disabled":o,"data-state":k(a),...l,ref:t},r.createElement("span",{className:p["check-mark"]}))};function _(e){let{checked:t,bubbles:n=!0,...l}=e,a=r.useRef(null),i=(0,o.ZC)(t);return r.useEffect(()=>{let e=a.current,r=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(i!==t&&r){let l=new Event("click",{bubbles:n});e.indeterminate=E(t),r.call(e,!E(t)&&t),e.dispatchEvent(l)}},[i,t,n]),r.createElement("input",{type:"checkbox","aria-hidden":!0,defaultChecked:!E(t)&&t,...l,tabIndex:-1,ref:a,style:{...e.style,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})}g.displayName="CheckboxIndicator";let S=e=>{let{ref:t,disabled:n,variant:l="primary",children:a,className:s,...u}=e,d=(0,o.Bi)(),c="".concat(d,"-label");return r.createElement(b,{id:c,disabled:n,className:(0,i.A)(p.label,s)},r.createElement(w,{ref:t,disabled:n,className:p[l],"aria-labelledby":c,...u},r.createElement(g,{className:p.indicator})),a)},E=e=>"indeterminate"===e,k=e=>E(e)?"indeterminate":e?"checked":"unchecked";var C=n(85432),x=n(91872),N=n(9698),A=n(8074),R={"form-control":"ds-dropdown-menu-form-control",fieldset:"ds-dropdown-menu-fieldset",label:"ds-dropdown-menu-label","floating-label":"ds-dropdown-menu-floating-label","input-container":"ds-dropdown-menu-input-container",input:"ds-dropdown-menu-input",feedback:"ds-dropdown-menu-feedback","helper-text":"ds-dropdown-menu-helper-text",helper:"ds-dropdown-menu-helper",icon:"ds-dropdown-menu-icon","icon-status":"ds-dropdown-menu-icon-status",container:"ds-dropdown-menu-container",trigger:"ds-dropdown-menu-trigger",value:"ds-dropdown-menu-value","floating-label-active":"ds-dropdown-menu-floating-label-active","legend-active":"ds-dropdown-menu-legend-active","checkbox-indicator":"ds-dropdown-menu-checkbox-indicator",outlined:"ds-dropdown-menu-outlined",disabled:"ds-dropdown-menu-disabled","bottom-line":"ds-dropdown-menu-bottom-line",item:"ds-dropdown-menu-item",content:"ds-dropdown-menu-content"};let D=[" ","Enter","ArrowUp","ArrowDown"],F=[" ","Enter"],I="DropdownMenu",[M,z,P]=(0,s.N)(I),[T,j]=(0,o.AP)(I,[P,u.Bk]),K=(0,u.Bk)(),[L,O]=T(I),[B,V]=T(I),q=e=>{let{__scopeDropdownMenu:t,children:n,label:l,invalid:a=!1,open:s,defaultOpen:p,onOpenChange:m,value:h,defaultValue:f,onValueChange:v,name:y,helperText:b,autoComplete:w,disabled:g,required:_,multiple:S=!1,full:E=!1,className:k,variant:C="outlined"}=e,x=K(t),[N,A]=r.useState(null),[D,F]=r.useState(null),[I,z]=r.useState(!1),[P,T]=r.useState([]),[j,O]=r.useState(!1),[V=!1,q]=(0,o.ic)({prop:s,defaultProp:p,onChange:m}),U=S?[]:"",[H=U,Z]=(0,o.ic)({prop:h,defaultProp:f,onChange:v}),X=r.useMemo(()=>"string"==typeof H?H?[H]:[]:H,[H]),Y=r.useRef(null),G=!N||!!N.closest("form"),[Q,W]=r.useState(new Set),J=Array.from(Q).map(e=>e.props.value).join(";"),$=(0,i.A)(R.container,{[R.disabled]:!!g,[R[C]]:!!C},k),ee=r.useCallback((e,t)=>{let n=X.includes(e.value),r=null==t?void 0:t.map(e=>e.value);Z(()=>
1{if(S){let t=[...X].filter(e=>!(null==r?void 0:r.includes(e)));return n?t.filter(t=>t!==e.value):[...t,e.value]}return e.value}),T(t=>{if(S){let r=[...t];return n?r.filter(t=>t!==e.label):[...r,e.label]}return[e.label]}),S||window.setTimeout(()=>{q(!1)},50)},[X,Z,S,q]),et=(0,o.Bi)(),en="".concat(et,"-label"),er=H&&H.length>0||V,{fontSizeChanged:el}=(0,o.Am)({});return r.createElement(u.ND,{...x},el&&r.createElement(d.cn,{"data-disabled":g,"data-active":er,id:en,htmlFor:et,"data-size":el,className:(0,i.A)(R.label,R["floating-label"])},l),r.createElement(c.s.div,{className:$,"data-state":V?"open":"closed","data-full":E,"data-invalid":a,"data-disabled":g},r.createElement(L,{required:_,scope:t,trigger:N,onTriggerChange:A,valueNode:D,onValueNodeChange:F,valueNodeHasChildren:I,onValueNodeHasChildrenChange:z,contentId:(0,o.Bi)(),value:X,labels:P,multipleLabels:e=>{T(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e])},onValueChange:ee,open:V,label:l,onOpenChange:q,multiple:S,triggerPointerDownPosRef:Y,disabled:g,initialized:j,setInitialized:O},r.createElement(M.Provider,{scope:t},r.createElement(B,{scope:e.__scopeDropdownMenu,onNativeOptionAdd:r.useCallback(e=>{W(t=>new Set(t).add(e))},[]),onNativeOptionRemove:r.useCallback(e=>{W(t=>{let n=new Set(t);return n.delete(e),n})},[])},n)),G?r.createElement(eu,{key:J,"aria-hidden":!0,required:_,tabIndex:-1,name:y,autoComplete:w,value:H,onChange:e=>Z(e.target.value),disabled:g},void 0===H?r.createElement("option",{value:""}):null,Array.from(Q)):null)),b&&r.createElement(d.F_,{disabled:g,invalid:a,helperText:b,className:R.helper}))};q.displayName=I;let U="DropdownMenuTrigger",H=e=>{let{ref:t,__scopeDropdownMenu:n,disabled:l=!1,className:a,...s}=e,p=K(n),m=O(U,n),h=m.disabled||l,f=(0,o.sC)(t,m.onTriggerChange),v=z(n),[y,b,w]=ed(e=>{let t=v().filter(e=>!e.disabled),n=t.find(e=>{var t;return null==(t=m.value)?void 0:t.includes(e.value)}),r=ec(t,e,n);void 0!==r&&m.onValueChange({value:r.value,label:r.label})}),g=()=>{h||(m.onOpenChange(!0),w())},_=(0,o.Bi)(),S=m.value&&m.value.length>0||m.open,{fontSizeChanged:E}=(0,o.Am)({});return r.createElement(u.A,{asChild:!0,...p},r.createElement("div",null,r.createElement(c.s.button,{className:R.trigger,"data-active":S,type:"button",role:"combobox",id:m.contentId,"aria-haspopup":"listbox","aria-controls":m.contentId,"aria-expanded":m.open,"aria-required":m.required,"aria-autocomplete":"none","data-state":m.open?"open":"closed",disabled:h,"data-disabled":h?"":void 0,"data-placeholder":es(m.value)?"":void 0,...s,ref:f,onClick:(0,o.mK)(s.onClick,e=>{e.currentTarget.focus()}),onPointerDown:(0,o.mK)(s.onPointerDown,e=>{let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&(g(),m.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)},e.preventDefault())}),onKeyDown:(0,o.mK)(s.onKeyDown,e=>{let t=""!==y.current;e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||b(e.key),(!t||" "!==e.key)&&D.includes(e.key)&&(g(),e.preventDefault())})}),!E&&r.createElement(d.cn,{"data-disabled":h,"data-active":S,id:"".concat(_,"-label"),htmlFor:m.contentId,className:(0,i.A)(R.label,R["floating-label"])},m.label),r.createElement(d.UE,{"data-disabled":h,"data-active":S,className:(0,i.A)(R.fieldset),"data-visible":!m.label,label:m.label})))};H.displayName=U;let Z="DropdownMenuValue",X=e=>{let{ref:t,__scopeDropdownMenu:n,className:l,style:a,label:s,children:u,placeholder:d="",...p}=e,m=O(Z,n),{onValueNodeHasChildrenChange:h}=m,f=void 0!==u,v=(0,o.sC)(t,m.onValueNodeChange),y=z(n);(0,o.Nf)(()=>{h(f)},[h,f]);let b=[];y().forEach(e=>{b.push({label:e.label,value:e.value,disabled:e.disabled})});let w=null==b?void 0:b.filter(e=>{var t;return null==m||null==(t=m.value)?void 0:t.includes(e.value)}).map(e=>e.label),g=null==b?void 0:b.filter(e=>{var t;return null==m||null==(t=m.value)?void 0:t.includes(e.value)}).some(e=>e.disabled),_=(e=>!(Array.isArray(e)&&0===e.length)&&""!==e[0])(w)?w:m.labels,S=es(m.value)?d:null==_?void 0:_.join(", "),E=(0,i.A)(R.value,l);return r.createElement(c.s.span,{"data-disabled":g,...p,ref:v,style:{pointerEvents:"none"},className:E},S)};X.displayName=Z;let Y=e=>{let{ref:t,__scopeDropdownMenu:n,children:l,className:o,label:a,...s}=e,u=(0,i.A)(R.icon,o);return r.createElement(c.s.span,{"aria-hidden":!0,...s,ref:t,className:u},null!=l?l:"â¼")};Y.displayName="DropdownMenuIcon";let G=e=>{let{ref:t,children:n,className:l,...o}=e,a=(0,i.A)(R.icon,l);return r.createElement(c.s.span,{"aria-hidden":!0,...o,ref:t,className:a},n)};G.displayName="DropdownMenuItemIcon";let Q=e=>{let{ref:t,...n}=e;return r.createElement(S,{ref:t,...n})};Q.displayName="DropdownMenuCheckboxItem";let W=e=>r.createElement(C.Z,{asChild:!0,...e});W.displayName="DropdownMenuPortal";let J="DropdownMenuContent",[$,ee]=T(J),et=e=>{let t=O(J,e.__scopeDropdownMenu),[n,a]=r.useState();return((0,o.Nf)(()=>{a(new DocumentFragment)},[]),t.open)?r.createElement(en,{...e,ref:e.ref}):n?l.createPortal(r.createElement($,{scope:e.__scopeDropdownMenu},r.createElement(M.Slot,{scope:e.__scopeDropdownMenu},r.createElement("div",null,e.children))),n):null};et.displayName=J;let en=e=>{let{ref:t,__scopeDropdownMenu:n,onCloseAutoFocus:l,onEscapeKeyDown:s,onPointerDownOutside:u,side:d,sideOffset:c=2,align:p,alignOffset:m,arrowPadding:h,collisionBoundary:f,collisionPadding:v,sticky:y,hideWhenDetached:b,avoidCollisions:w,className:g,..._}=e,S=O(J,n),[E,k]=r.useState(null),C=(0,o.sC)(t,e=>k(e)),[A,D]=r.useState(null),[F,I]=r.useState(null),P=z(n),[T,j]=r.useState(!1),K=r.useRef(!1);r.useEffect(()=>{if(E)return(0,a.Eq)(E)},[E]);let L=r.useCallback(e=>{let t=document.activeElement;for(let n of e)if(n===t||(null==n||n.scrollIntoView({block:"nearest"}),null==n||n.focus(),document.activeElement!==t))return},[]),B=r.useCallback(()=>L([A,E]),[L,E]);r.useEffect(()=>{T&&B()},[T,B]);let{onOpenChange:V,triggerPointerDownPosRef:q}=S;r.useEffect(()=>{if(E){let e={x:0,y:0},t=t=>{var n,r,l,o;e={x:Math.abs(Math.round(t.pageX)-(null!=(l=null==(n=q.current)?void 0:n.x)?l:0)),y:Math.abs(Math.round(t.pageY)-(null!=(o=null==(r=q.current)?void 0:r.y
1)?o:0))}},n=n=>{e.x<=10&&e.y<=10?n.preventDefault():E.contains(n.target)||V(!1),document.removeEventListener("pointermove",t),q.current=null};return null!==q.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",n,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",n,{capture:!0})}}},[E,V,q]),r.useEffect(()=>{let e=()=>V(!1);return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}},[V]);let[U,H]=ed(e=>{let t=P().filter(e=>!e.disabled),n=t.find(e=>e.ref.current===document.activeElement),r=ec(t,e,n);r&&setTimeout(()=>r.ref.current.focus())}),Z=r.useCallback((e,t,n)=>{let r=!K.current&&!n;(void 0!==S.value&&S.value.includes(t)||r)&&!S.multiple&&(D(e),r&&(K.current=!0))},[S.multiple,S.value]),X=r.useCallback(()=>null==E?void 0:E.focus(),[E]),Y=r.useCallback((e,t,n)=>{let r=!K.current&&!n;(void 0!==S.value&&S.value.includes(t)||r)&&I(e)},[S.value]),G=(0,i.A)(R.content,g);return r.createElement($,{scope:n,content:E,itemRefCallback:Z,selectedItem:A,onItemLeave:X,itemTextRefCallback:Y,focusDropdownMenuedItem:B,selectedItemText:F,isPositioned:T,searchRef:U},r.createElement(M.Slot,{scope:n},r.createElement(x.n,{asChild:!0,trapped:S.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:(0,o.mK)(l,e=>{var t;null==(t=S.trigger)||t.focus({preventScroll:!0}),e.preventDefault()})},r.createElement(N.q,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:s,onPointerDownOutside:u,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>S.onOpenChange(!1)},r.createElement(er,{className:G,role:"listbox",id:S.contentId,"data-state":S.open?"open":"closed",onContextMenu:e=>e.preventDefault(),..._,...{side:d,sideOffset:c,align:p,alignOffset:m,arrowPadding:h,collisionBoundary:f,collisionPadding:v,sticky:y,hideWhenDetached:b,avoidCollisions:w},onPlaced:()=>j(!0),ref:C,style:{display:"flex",flexDirection:"column",outline:"none",..._.style},onKeyDown:(0,o.mK)(_.onKeyDown,e=>{let t=e.ctrlKey||e.altKey||e.metaKey;if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||H(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=P().filter(e=>!e.disabled).map(e=>e.ref.current);if(["ArrowUp","End"].includes(e.key)&&(t=t.slice().reverse()),["ArrowUp","ArrowDown"].includes(e.key)){let n=e.target,r=t.indexOf(n);t=t.slice(r+1)}setTimeout(()=>L(t)),e.preventDefault()}})})))))};en.displayName="DropdownMenuContentBase";let er=e=>{let{ref:t,__scopeDropdownMenu:n,align:l="start",collisionPadding:o=10,...a}=e,i=K(n);return r.createElement(u.GO,{...i,...a,ref:t,align:l,collisionPadding:o,style:{boxSizing:"border-box",...a.style}})};er.displayName="DropdownMenuPopper";let el="DropdownMenuItem",[eo,ea]=T(el),ei=e=>{let{ref:t,__scopeDropdownMenu:n,value:l,className:a,children:s,leftIcon:u,disabled:d=!1,label:p,...m}=e,h=O(el,n),f=ee(el,n),v=h.value.includes(l),y="string"==typeof s&&s||"",[b,w]=r.useState(null!=p?p:y),[g,_]=r.useState(!1),S=(0,o.sC)(t,e=>{var t;return null==(t=f.itemRefCallback)?void 0:t.call(f,e,l,d)}),E=(0,o.Bi)(),k=z(n),C=r.useCallback(()=>{if(!d){let e=k().filter(e=>e.disabled);h.onValueChange({value:l,label:b||y},e)}},[y,h,d,b,l,k]);r.useEffect(()=>{if(v&&!h.initialized){var e;let t=b||y;h.multipleLabels&&h.multipleLabels(t),null==(e=h.setInitialized)||e.call(h,!0)}},[v,h.value]);let x=(0,i.A)(R.item,a);if(""===l)throw Error("A <DropdownMenu.Item /> must have a value prop that is not an empty string. This is because the DropdownMenu value can be set to an empty string to clear the selection and show the placeholder.");return r.createElement(eo,{scope:n,value:l,disabled:d,textId:E,isSelected:v,onItemTextChange:r.useCallback(e=>!p&&w(t=>{var n;return t||(null!=(n=null==e?void 0:e.textContent)?n:"").trim()}),[p])},r.createElement(M.ItemSlot,{scope:n,value:l,disabled:d,label:b},r.createElement(c.s.div,{className:x,role:"option","aria-labelledby":E,"data-highlighted":g?"":void 0,"aria-selected":v&&g,"data-state":v?"checked":"unchecked","aria-disabled":d||void 0,"data-disabled":d?"":void 0,tabIndex:d?void 0:-1,...m,ref:S,onFocus:(0,o.mK)(m.onFocus,()=>_(!0)),onBlur:(0,o.mK)(m.onBlur,()=>_(!1)),onPointerUp:(0,o.mK)(m.onPointerUp,C),onPointerMove:(0,o.mK)(m.onPointerMove,e=>{if(d){var t;null==(t=f.onItemLeave)||t.call(f)}
1else e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:(0,o.mK)(m.onPointerLeave,e=>{if(e.currentTarget===document.activeElement){var t;null==(t=f.onItemLeave)||t.call(f)}}),onKeyDown:(0,o.mK)(m.onKeyDown,e=>{var t;((null==(t=f.searchRef)?void 0:t.current)===""||" "!==e.key)&&(F.includes(e.key)&&C()," "===e.key&&e.preventDefault())})},u&&!h.multiple&&r.createElement(G,null,u),h.multiple&&r.createElement(Q,{value:h.value,checked:v,disabled:d}),null!=s?s:b)))};function es(e){return""===e||(null==e?void 0:e.length)===0||void 0===e}ei.displayName=el;let eu=e=>{let{ref:t,value:n,...l}=e,a=r.useRef(null),i=(0,o.sC)(t,a),s=(0,o.ZC)(n);return r.useEffect(()=>{let e=a.current,t=Object.getOwnPropertyDescriptor(window.HTMLSelectElement.prototype,"value").set;if(s!==n&&t){let r=new Event("change",{bubbles:!0});t.call(e,n),e.dispatchEvent(r)}},[s,n]),r.createElement(A.s,{asChild:!0},r.createElement("select",{...l,ref:i}))};function ed(e){let t=(0,o.c9)(e),n=r.useRef(""),l=r.useRef(0),a=r.useCallback(e=>{let r=n.current+e;t(r),function e(t){n.current=t,window.clearTimeout(l.current),""!==t&&(l.current=window.setTimeout(()=>e(""),1e3))}(r)},[t]),i=r.useCallback(()=>{n.current="",window.clearTimeout(l.current)},[]);return r.useEffect(()=>()=>window.clearTimeout(l.current),[]),[n,a,i]}function ec(e,t,n){var r,l;let o=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,a=n?e.indexOf(n):-1,i=(r=e,l=Math.max(a,0),r.map((e,t)=>r[(l+t)%r.length]));1===o.length&&(i=i.filter(e=>e!==n));let s=i.find(e=>e.label.toLowerCase().startsWith(o.toLowerCase()));return s!==n?s:void 0}eu.displayName="BubbleDropdownMenu"},52686:(e,t,n)=>{"use strict";n.d(t,{M_:()=>s,jl:()=>u});var r=n(55944),l=n(68723),o=n(89666),a={skeleton:"ds-skeleton-skeleton",pulse:"ds-skeleton-pulse",wave:"ds-skeleton-wave",rectangle:"ds-skeleton-rectangle",line:"ds-skeleton-line",circle:"ds-skeleton-circle",none:"ds-skeleton-none"};let i=e=>{let{ref:t,height:n,width:i,animation:s="wave",className:u,...d}=e;return r.createElement(o.s.div,{className:(0,l.A)(a.skeleton,a[s],u),style:{height:n,width:i},ref:t,...d})},s=e=>r.createElement(i,{className:(0,l.A)(a.rectangle,e.className),ref:e.ref,...e}),u=e=>r.createElement(i,{className:(0,l.A)(a.circle,e.className),ref:e.ref,...e})}}]);
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.