1"use strict";(self.globalSSILoad=self.globalSSILoad||[]).push([[825],{968882055:(e,t,n)=>{n.d(t,{J:()=>s});var r=n(5748178711),a=n.n(r),o=n(6744921432);const i=e=>{const{size:t,icon:n,iconPosition:r}=e,i="left"===r,l="sm"===t,s="md"===t,c="lg"===t;return(0,o.Y)("span",{className:a()({"tw-w-8":l,"tw-w-10":s,"tw-w-12":c,"tw-mr-2":!c&&i,"tw-mr-4":c&&i,"tw-ml-2":!c&&!i,"tw-ml-4":c&&!i,"tw-order-first":i,"tw-order-last":!i},"tw-grid"),children:n})};function l(){return l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(this,arguments)}const s=e=>{const{backgroundColor:t,labelText:n,icon:r,iconPosition:s="left",size:c,capitalize:d,count:w,bold:u,className:f,fontColor:m}=e,p=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["backgroundColor","labelText","icon","iconPosition","size","capitalize","count","bold","className","fontColor"]),h="sm"===c,v="md"===c,g="lg"===c,x="left"===s,b=x?"tw-pl-4 tw-pr-6":"tw-pl-6 tw-pr-4",k=r?x?"tw-pl-2 tw-pr-4":"tw-pl-4 tw-pr-2":"tw-px-4",y=void 0!==w&&w.length>0;return(0,o.FD)("div",l({className:a()(f,t,"tw-flex tw-w-fit tw-cursor-default tw-items-center tw-rounded-lg tw-py-2 tw-tracking-wide initial:tw-mx-4 initial:tw-my-8",{"tw-h-8":h,"tw-h-12":v,"tw-h-16":g,"tw-py-0":h,[k]:h,"tw-px-6":v&&!r,[b]:(v||g)&&r,"tw-px-8":g&&!r}),"aria-label":n,role:"status"},p,{children:[(0,o.FD)("span",{className:a()({"tw-whitespace-nowrap initial:tw-text-form-text":!0,"tw-text-sm":h,"tw-text-md":v,"tw-text-[16
1px]":g,"tw-uppercase":d,"tw-font-medium":u},m),children:[n,y&&(0,o.FD)("span",{className:"tw-font-bold","aria-label":`${n} count is ${w}`,children:[" ",w]})]}),r&&(0,o.Y)(i,{icon:r,size:c,iconPosition:s})]}))}},4081694128:(e,t,n)=>{n.d(t,{W:()=>y});var r=n(6950451566),a=n(4811530411),o=n(9634450646),i=n(2321845876),l=n(5748178711),s=n.n(l),c=n(7784116035),d=n(5121007004);function w(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}const u=(e={})=>{const{id:t,role:n,"aria-expanded":r,"aria-haspopup":a,"aria-controls":o,"aria-activedescendant":i,className:l,onChange:s,onKeyDown:c,onBlur:d,disabled:u}=e;return w(e,["id","role","aria-expanded","aria-haspopup","aria-controls","aria-activedescendant","className","onChange","onKeyDown","onBlur","disabled"])},f=(e={})=>{const{className:t,id:n,ref:r,role:a,style:o}=e;return w(e,["className","id","ref","role","style"])},m=(e={})=>{const{id:t,role:n,tabIndex:r,className:a,"aria-orientation":o}=e;return w(e,["id","role","tabIndex","className","aria-orientation"])};var p=n(6744921432);function h(){return h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},h.apply(this,arguments)}const v=(0,r.forwardRef)(((e,t)=>{const{alignIcon:n="start",disabled:r,icon:o,id:i,nativeMenuItemProps:l,text:c}=e,d=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["alignIcon","disabled","icon","id","nativeMenuItemProps","text"]),w=(0,a.Bi)(),u=o&&"end"===n,f=o&&"start"===n;return(0,p.Y)("li",{className:s()("tw-mb-4 tw-text-left last:tw-mb-0 focus-within:tw-rounded-md focus-within:tw-bg-form-primary-100 focus-within:tw-text-form-text hover:tw-rounded-md hover:tw-bg-container-bg-light initial:tw-align-middle initial:tw-leading-[3rem]",{"hover:tw-text-form-text":!r,"tw-cursor-not-allowed tw-opacity-50 hover:tw-bg-form-bg":r}),children:(0,p.FD)("button",h({className:s()("preflight:tw-btn-reset tw-w-full tw-py-4 tw-px-8 tw-text-left focus:tw-outline-none",{"tw-flex tw-flex-1 tw-items-center":o,"tw-pointer-events-none":r},null==l?void 0:l.className),ref:t,role:"menuitem",id:w,"aria-disabled":r,"data-testid":`menu-item-${i}`},d,m(l),{children:[f&&(0,p.Y)(g,{alignIcon:n,disabled:r,icon:o}),(0,p.Y)("span",{className:"tw-line-clamp-3",children:c}),u&&(0,p.Y)(g,{alignIcon:n,disabled:r,icon:o})]}))})})),g=e=>{var t;const{alignIcon:n,disabled:a,icon:o}=e;if(o&&(0,r.isValidElement)(o)){const e=o;return(0,r.cloneElement)(e,{className:s()("preflight:tw-svg-reset initial:tw-h-8 initial:tw-w-8",{"initial:tw-mr-4":"start"===n||void 0===n,"initial:tw-ml-4":"end"===n,"!tw-text-neutral-400":a},null==(t=e.props)?void 0:t.className),"aria-hidden":!0,"data-testid":`menu-item-${null!=n?n:"start"}-icon`})}return null};function x(){return x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},x.apply(this,arguments)}const b=(0,r.forwardRef)(((e,t)=>{var n;const{autoUpdateMenuPosition:l=!1,disableTrigger:w=!1,loop:m=!0,menuItems:h,menuMaxHeight:g=304,menuPlacement:b="bottom-start",nativeMenuDropdownProps:k,onItemChange:y,trigger:E}=e,[M,O]=(0,r.useState)(!1),[j,N]=(0,r.useState)(null),[C,I]=(0,r.useState)(!1),P=(0,r.useRef)([]),R=(0,r.useRef)(h.map((({text:e})=>e))),z=(0,a.cq)(),L=(0,a.fI)(),{x:B,y:Y,reference:A,floating:F,strategy:H,refs:D,context:W}=(0,a.we)({open:M,onOpenChange:w?d.l:O,middleware:[(0,o.cY)({mainAxis:8}),(0,o.UU)(),(0,o.BN)(),(0,o.Ej)({apply({elements:e,availableWidth:t}){var n;Object.assign(null!=(n=e.floating.style)?n:{},{maxWidth:`${t}px`,maxHeight:`${g}px`})}})],placement:b,nodeId:L,whileElementsMounted:l?i.ll:void 0}),{getReferenceProps:S,getFloatingProps:V,getItemProps:$}=(0,a.bv)([(0,a.Mk)(W,{handleClose:(0,a.iB)({restMs:25}),enabled:C,delay:{open:50}}),(0,a.kp)(W,{event:"mousedown"}),(0,a.It)(W,{role:"menu"}),(0,a.s9)(W),(0,a.C1)(W,{listRef:P,activeIndex:j,onNavigate:N,loop:m}),(0,a.lY)(W,{listRef:R,onMatch:M?N:void 0,activeIndex:j,resetMs:200})]);(0,r.useLayoutEffect)((()=>{const e=requestAnimationFrame((()=>{var e;null!==j&&(null==(e=P.current[j])||e.scrollIntoView({block:"nearest",behavior:"smooth"}))}));return()=>cancelAnimationFrame(e)}),[j]),(0,r.useEffect)((()=>{const e=()=>{var e;O(!1),null==(e=D.reference.current)||e.focus()};return null==z||z.events.on("click",e),()=>{null==z||z.events.off("click",e)}}),[z,D]),(0,r.useEffect)((()=>{const e=()=>{I(!1)};return window.addEventListener("keydown",e,!0),()=>{window.removeEventListener("keydown",e,!0)}}),[C]);const T=(0,r.useMemo)((()=>(0,c.P)([t,A])),[A,t]);return(0,p.FD)(a.$c,{id:L,children:[(0,p.Y)(r.Fragment,{children:(0,r.isValidElement)(E)&&(0,r.cloneElement)(E,x({}
1,S({ref:T,onClick(e){e.stopPropagation(),e.currentTarget.focus()}}),{className:s()("preflight:tw-btn-reset",null==(n=E.props)?void 0:n.className),disabled:w},u(E.props),{"data-testid":"menu-trigger"}))},L),(0,p.Y)(a.XF,{children:M&&(0,p.Y)(a.s3,{context:W,modal:!0,returnFocus:!0,order:["reference","content"],children:(0,p.Y)("ul",x({},V({className:s()("preflight:tw-list-reset tw-overflow-auto tw-rounded-lg tw-bg-form-bg tw-ring-opacity-5 tw-leading-[4rem] tw-font-medium tw-text-form-text focus:tw-outline-none initial:tw-z-[1301] tw-p-4 initial:tw-text-md tw-shadow-lg",null==k?void 0:k.className),ref:F,style:{position:H,top:null!=Y?Y:0,left:null!=B?B:0},onKeyDown(e){"Tab"===e.key&&O(!1)}}),f(k),{children:h.map(((e,t)=>(0,r.createElement)(v,x({},e,{key:e.id},$({tabIndex:-1,role:"menuitem",ref(e){P.current[t]=e},onClick(t){if(!0===e.disabled)return void t.stopPropagation();null==z||z.events.emit("click");const n=(e=>{const{id:t,text:n}=e;return{id:t,text:n}})(e);y(n)},onPointerEnter(){C&&N(t)}})))))}))})})]})}));function k(){return k=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},k.apply(this,arguments)}const y=(0,r.forwardRef)(((e,t)=>(0,p.Y)(a.P6,{children:(0,p.Y)(b,k({},e,{ref:t}))})))},2319589597:(e,t,n)=>{n.d(t,{A:()=>a});var r=n(6950451566);const a=r.forwardRef((function(e,t){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"}))}))},7494414326:(e,t,n)=>{n.d(t,{A:()=>a});var r=n(6950451566);const a=r.forwardRef((function(e,t){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7 21a4 4 0 01-4-4V5a2 2 0 012-2h4a2 2 0 012 2v12a4 4 0 01-4 4zm0 0h12a2 2 0 002-2v-4a2 2 0 00-2-2h-2.343M11 7.343l1.657-1.657a2 2 0 012.828 0l2.829 2.829a2 2 0 010 2.828l-8.486 8.485M7 17h.01"}))}))},5826132023:(e,t,n)=>{n.d(t,{A:()=>a});var r=n(6950451566);const a=r.forwardRef((function(e,t){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 7v10a2 2 0 002 2h14a2 2 0 002-2V9a2 2 0 00-2-2h-6l-2-2H5a2 2 0 00-2 2z"}))}))},529250432:(e,t,n)=>{n.d(t,{A:()=>a});var r=n(6950451566);const a=r.forwardRef((function(e,t){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"}))}))},1040292695:(e,t,n)=>{n.d(t,{A:()=>a});var r=n(6950451566);const a=r.forwardRef((function(e,t){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 4v16m8-8H4"}))}))},862889432:(e,t,n)=>{n.d(t,{A:()=>a});var r=n(6950451566);const a=r.forwardRef((function(e,t){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),r.createElement("path",{fillRule:"evenodd",d:"M9.707 16.707a1 1 0 01-1.414 0l-6-6a1 1 0 010-1.414l6-6a1 1 0 011.414 1.414L5.414 9H17a1 1 0 110 2H5.414l4.293 4.293a1 1 0 010 1.414z",clipRule:"evenodd"}))}))}
1,7261871093:(e,t,n)=>{n.d(t,{A:()=>a});var r=n(6950451566);const a=r.forwardRef((function(e,t){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),r.createElement("path",{fillRule:"evenodd",d:"M10.293 3.293a1 1 0 011.414 0l6 6a1 1 0 010 1.414l-6 6a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-4.293-4.293a1 1 0 010-1.414z",clipRule:"evenodd"}))}))},9197203284:(e,t,n)=>{n.d(t,{A:()=>a});var r=n(6950451566);const a=r.forwardRef((function(e,t){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),r.createElement("path",{d:"M6 10a2 2 0 11-4 0 2 2 0 014 0zM12 10a2 2 0 11-4 0 2 2 0 014 0zM16 12a2 2 0 100-4 2 2 0 000 4z"}))}))},5118077662:(e,t,n)=>{n.d(t,{A:()=>a});var r=n(6950451566);const a=r.forwardRef((function(e,t){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),r.createElement("path",{d:"M3 4a1 1 0 011-1h12a1 1 0 011 1v2a1 1 0 01-1 1H4a1 1 0 01-1-1V4zM3 10a1 1 0 011-1h6a1 1 0 011 1v6a1 1 0 01-1 1H4a1 1 0 01-1-1v-6zM14 9a1 1 0 00-1 1v6a1 1 0 001 1h2a1 1 0 001-1v-6a1 1 0 00-1-1h-2z"}))}))}}]); 2//# sourceMappingURL=825.3ff80bfc756cf474c260.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.