1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2311],{28727:function(e,l,t){t.d(l,{f:function(){return I}});var a=t(85893),n=t(48399),i=t(56896),r=t(11084),s=t(4382),o=t(67294),u=t(12361),c=t(61815),m=Object.defineProperty,d=Object.defineProperties,v=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,f=(e,l,t)=>l in e?m(e,l,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[l]=t,g=(e,l)=>{for(var t in l||(l={}))b.call(l,t)&&f(e,t,l[t]);if(p)for(var t of p(l))h.call(l,t)&&f(e,t,l[t]);return e},w=(e,l)=>d(e,v(l));let x=(0,o.forwardRef)((e,l)=>o.createElement(u.Z,w(g({ref:l},e),{weights:c.Z})));x.displayName="X";var y=t(13432),j=t(14307),C=t(32197),R=t(20268),N=t(96974);let S=({value:e,onRemove:l})=>{let t=(0,R.F)(),a=(0,N.Dv)(C.I),n=null!==t,i=null!==a&&"input"===a.variant;(0,o.useEffect)(()=>{i&&!n&&a&&a.updateValues(l=>l.includes(e)?l:[...l,e])},[i,n,e,a]);let r=(0,o.useCallback)(()=>{n&&t?t.removeValue(e):i&&a&&a.removeValue(e),null==l||l()},[n,t,i,a,e,l]);return{isInChipSelect:n,isInChipGroup:i,handleRemove:r}},I=({value:e,children:l,onRemove:t,className:o,themeConfig:u})=>{let{handleRemove:c}=S({value:e,onRemove:t}),{pressProps:m}=(0,y.r)({onPress:c}),{root:d,label:v,removeButton:p,removeIcon:b}=(0,s.tv)(u?(0,s.RH)(j.nP,u):j.nP)();return(0,a.jsxs)("span",{className:(0,n.cn)("ef-chip",d(),o),children:[(0,a.jsx)("span",{className:v(),children:l}),(0,a.jsx)(i.Button,{type:"button",variant:"ghost",shape:"round",size:"small",className:p(),themeConfig:{compoundVariants:[{variant:"secondary",mono:"dark",class:{root:"text-[--color-component-button-secondary-text,var(--color-mono-black-100)]",buttonBg:"shadow-none"}}]},"aria-label":`${e}`,...m,children:(0,a.jsx)(r.a,{children:(0,a.jsx)(x,{weight:"bold",className:b()})})})]})};I.displayName="ChipInput"},82311:function(e,l,t){t.r(l),t.d(l,{FiltersSelected:function(){return h}});var a=t(85893),n=t(48399),i=t(4382),r=t(28727),s=t(41424),o=t(29398),u=t(67294),c=t(73935);let m=({filter:e,staggerIndex:l,onRemove:t,onAnimationComplete:n,ariaLabel:i})=>{let s=`${e.filterId}-${e.value}`;return(0,a.jsx)("span",{role:"listitem",className:"inline-block animate-slideDownAndFade animation-fill-mode-both",style:{animationDelay:`${30*l}ms`,viewTransitionName:`chip-${s}`},onAnimationEnd:()=>{n&&n()},children:(0,a.jsx)(r.f,{value:String(e.value),onRemove:t,"aria-label":i,children:e.valueLabel})})};m.displayName="AnimatedChip";var d=t(58956),v=t(88446),p=t(56896),b=t(96974);let h=(0,u.forwardRef)((e,l)=>{let{onRemove:t,maxResultsVisible:h,moreLabel:f,selectedFiltersAriaLabel:g="Selected filters",removeFilterAriaLabel:w="Remove {label} filter",showMoreFiltersAriaLabel:x="Show {count} more filters",onMoreClick:y,className:j,themeConfig:C}=e,{breakpoint:R}=(0,o.G)(),{maxResultsVisible:N}=(0,s.D)({maxResultsVisible:h},R,{maxResultsVisible:{s:6,m:12}}),S=N??6,I=(0,b.Dv)(d.OX),[V,k]=(0,u.useState)(!1),[F,O]=(0,u.useState)(!1),L=C?(0,i.RH)(v.BU,C):v.BU,{selectedContainer:P,moreChip:$}=(0,i.tv)(L)({}),{visibleFilters:A,hiddenCount:T}=(0,u.useMemo)(()=>V||I.length<=S?{visibleFilters:I,hiddenCount:0}:{visibleFilters:I.slice(0,S),hiddenCount:I.length-S},[I,S,V]),B=f?f.replace("{count}",String(T)):`+${T} more`;return 0===I.length?null:(0,a.jsxs)("div",{ref:l,className:(0,n.cn)(P(),j),role:"list","aria-label":g,children:[A.map((e,l)=>{let n=`${e.filterId}-${e.value}`,i=w.replace("{label}",e.valueLabel),s=()=>{if(!document.startViewTransition){t(e.filterId,e.value);return}document.startViewTransition(()=>{(0,c.flushSync)(()=>{t(e.filterId,e.value)})})};if(F&&l>=S){let t=l===A.length-1;return(0,a.jsx)(m,{filter:e,staggerIndex:l-S,onRemove:s,onAnimationComplete:t?()=>O(!1):void 0,ariaLabel:i},n)}return(0,a.jsx)("span",{role:"listitem",style:{viewTransitionName:`chip-${n}`},children:(0,a.jsx)(r.f,{value:String(e.value),onRemove:s,"aria-label":i,children:e.valueLabel})},n)}),T>0&&!V?(0,a.jsx)("span",{role:"listitem",children:(0,a.jsx)(p.Button,{variant:"outlined",size:"small",className:(0,n.cn)($()),onClick:()=>
1{if("s"===R&&y){y();return}if(!document.startViewTransition){O(!0),k(!0);return}document.startViewTransition(()=>{(0,c.flushSync)(()=>{O(!0),k(!0)})})},"aria-label":x.replace("{count}",String(T)),style:{viewTransitionName:"filters-more-button"},children:B})}):null]})});h.displayName="FiltersSelected"}}]);
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.