PageSourceSearch

https://www.legaljobs.ai/_next/static/chunks/0a4pbovq_tmb7.js?dpl=d920d580ea0a4231fe9052ba53a58f72f6443d03

js legaljobs.ai collected 2026-10-05 13:43:37 UTC 27,601 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,574906,e=>{"use strict";var t=e.i(638007);let r=({size:e=24,color:r="currentColor",...o})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:r,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},t.createElement("path",{d:"M14 11H8m2 4H8m8-8H8m12-.2v10.4c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C17.72 22 16.88 22 15.2 22H8.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C4 19.72 4 18.88 4 17.2V6.8c0-1.68 0-2.52.327-3.162a3 3 0 0 1 1.311-1.311C6.28 2 7.12 2 8.8 2h6.4c1.68 0 2.52 0 3.162.327a3 3 0 0 1 1.311 1.311C20 4.28 20 5.12 20 6.8Z"}));r.displayName="File02",e.s(["File02",0,r])},232252,e=>{"use strict";var t=e.i(638007);let r=({size:e=24,color:r="currentColor",...o})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:r,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},t.createElement("path",{d:"M21 15v1.2c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C18.72 21 17.88 21 16.2 21H7.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C3 18.72 3 17.88 3 16.2V15m14-7-5-5m0 0L7 8m5-5v12"}));r.displayName="Upload01",e.s(["Upload01",0,r])},43470,e=>{"use strict";var t=e.i(272704),r=e.i(408321),o=e.i(789610),a=e.i(321833),i=e.i(997637),l=e.i(190567),n=e.i(645732),s=e.i(278642),d=e.i(400414),c=e.i(171594),u=e.i(102898);let p=new WeakMap;function g(e,t){var r;let{id:o}=p.get(e)??{};if(!o)throw Error("Unknown list");return`${o}-${"string"==typeof(r=t)?r.replace(/\s*/g,""):""+r}`}var f=e.i(239189),m=e.i(910439),v=e.i(460714),x=e.i(857117),h=e.i(122476),y=e.i(291615),b=e.i(479184),w=e.i(734012),D=e.i(258690),k=e.i(751227),C=e.i(587367),P=e.i(20613),N=e.i(971304),j=e.i(679912),S=e.i(2968),E=e.i(455312),M=e.i(638007);let T={ltr:"ArrowRight",rtl:"ArrowLeft"},I={ltr:"ArrowLeft",rtl:"ArrowRight"};function z(e){let t=null,r=null;do(r=e.lastChild())&&(t=r);while(r)return t}var L=e.i(563907),A=(e.i(804844),e.i(760914)),R=e.i(144283),K=e.i(995520),F=e.i(715042),B=e.i(351319),V=e.i(749213),H=e.i(562534),U=e.i(49400),O=e.i(218041),G=e.i(110820),W=e.i(359252);let $=(0,M.createContext)(null),_=(0,M.forwardRef)(function(e,t){return[e,t]=(0,o.useContextProps)(e,t,$),M.default.createElement(A.CollectionBuilder,{content:M.default.createElement(A.Collection,e)},r=>M.default.createElement(Z,{props:e,collection:r,gridListRef:t}))});function Z({props:e,collection:t,gridListRef:r}){let s,c,g;[e,r]=(0,o.useContextProps)(e,r,l.SelectableCollectionContext);let{shouldUseVirtualFocus:b,filter:w,disallowTypeAhead:D,...C}=e,{dragAndDropHooks:P,keyboardNavigationBehavior:N="arrow",layout:j="stack",orientation:E="vertical"}=e,{CollectionRoot:T,isVirtualized:I,layoutDelegate:z,dropTargetDelegate:L}=(0,M.useContext)(a.CollectionRendererContext),A=(0,B.useListState)({...C,collection:t,children:void 0,layoutDelegate:z}),R=(0,B.UNSTABLE_useFilteredListState)(A,w),K=(0,H.useCollator)({usage:"search",sensitivity:"base"}),{disabledBehavior:V,disabledKeys:O}=R.selectionManager,{direction:G}=(0,S.useLocale)(),W=(0,M.useMemo)(()=>new(0,F.ListKeyboardDelegate)({collection:R.collection,collator:K,ref:r,disabledKeys:O,disabledBehavior:V,layoutDelegate:z,layout:j,orientation:E,direction:G}),[R.collection,r,j,E,O,V,z,K,G]),{gridProps:$}=function(e,t,r){let{isVirtualized:o,keyboardDelegate:a,layoutDelegate:i,onAction:l,disallowTypeAhead:n,linkBehavior:s="action",keyboardNavigationBehavior:d="arrow",escapeKeyBehavior:c="clearSelection",shouldSelectOnPressUp:g}=e;e["aria-label"]||e["aria-labelledby"]||console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let{listProps:b}=(0,y.useSelectableList)({selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,ref:r,keyboardDelegate:a,layoutDelegate:i,isVirtualized:o,selectOnFocus:"replace"===t.selectionManager.selectionBehavior,shouldFocusWrap:e.shouldFocusWrap,linkBehavior:s,disallowTypeAhead:n,autoFocus:e.autoFocus,escapeKeyBehavior:c}),w=(0,h.useId)(e.id);p.set(t,{id:w,onAction:l,linkBehavior:s,keyboardNavigationBehavior:d,shouldSelectOnPressUp:g});let D=(0,x.useHighlightSelectionDescription)({selectionManager:t.selectionManager,hasItemActions:!!l}),k=(0,v.useHasTabbableChild)(r,{isDisabled:0!==t.collection.size}),C=(0,u.filterDOMProps)(e,{labelable:!0}),P=(0,f.mergeProps)(C,{role:"grid",id:w,"aria-multiselectable":"multiple"===t.selectionManager.selectionMode?"true":void 0},0===t.collection.size?{tabIndex:k?-1:0}:b,D);return o&&(P["aria-rowcount"]=t.collection.size,P["aria-colcount"]=1),(0,m.useGridSelectionAnnouncement)({},t),{gridProps:P}}({...C,keyboardDelegate:W,keyboardNavigationBehavior:"grid"===j?"tab":N,isVirtualized:I,shouldSelectOnPressUp:e.shouldSelectOnPressUp,disallowTypeAhead:D},R,r),_=R.selectionManager,q=!!P?.useDraggableCollectionState,Y=!!P?.useDroppableCollectionState;(0,M.useRef)(q),(0,M.useRef)(Y),(0,M.useEffect)(()=>{},[q,Y]);let Q=!1,ee=null,et=(0,M.useRef)(null);if(q&&P){s=P.useDraggableCollectionState({collection:R.collection,selectionManager:_,preview:P.renderDragPreview?et:void 0}),P.useDraggableCollection({},s,r);let e=P.DragPreview;ee=P.renderDragPreview?M.default.createElement(e,{ref:et},P.renderDragPreview):null}if(Y&&P){c=P.useDroppableCollectionState({collection:R.collection,selectionManager:_});let e=P.dropTargetDelegate||L||new P.ListDropTargetDelegate(t,r,{layout:j,direction:G,orientation:E});g=P.useDroppableCollection({keyboardDelegate:W,dropTargetDelegate:e},c,r),Q=c.isDropTarget({type:"root"})}let{focusProps:er,isFocused:eo,isFocusVisible:ea}=(0,U.useFocusRing)(),ei=0===R.collection.size,el={isDropTarget:Q,orientation:E,isEmpty:ei,isFocused:eo,isFocusVisible:ea,layout:j,state:R},en=(0,o.useRenderProps)({...e,children:void 0,defaultClassName:"react-aria-GridList",values:el}),es=null;if(ei&&e.renderEmptyState){let t=e.renderEmptyState(el);es=M.default.createElement("div",{role:"row","aria-rowindex":1,style:{display:"contents"}},M.default.createElement("div",{role:"gridcell",style:{display:"contents"}},t))}let ed=(0,u.filterDOMProps)(e,{global:!0});return M.default.createElement(k.FocusScope,null,M.default.createElement(o.dom.div,{...(0,f.mergeProps)(ed,en,$,er,g?.collectionProps,null),ref:r,slot:e.slot||void 0,onScroll:e.onScroll,"data-drop-target":Q||void 0,"data-empty":ei||void 0,"data-focused":eo||void 0,"data-focus-visible":ea||void 0,"data-layout":j,"data-orientation":E},M.default.createElement(o.Provider,{values:[[n.ListStateContext,R],[i.DragAndDropContext,{dragAndDropHooks:P,dragState:s,dropState:c}],[i.DropIndicatorContext,{render:X}]]},Y&&M.default.createElement(J,null),M.default.createElement(d.SharedElementTransition,null,M.default.createElement(T,{collection:R.collection,scrollRef:r,persistedKeys:(0,i.useDndPer
1sistedKeys)(_,P,c),renderDropIndicator:(0,i.useRenderDropIndicator)(P,c)}))),es,ee))}let q=(0,A.createLeafComponent)(R.ItemNode,function(e,d,m){let v=(0,M.useContext)(n.ListStateContext),{dragAndDropHooks:x,dragState:y,dropState:A}=(0,M.useContext)(i.DragAndDropContext),R=(0,G.useObjectRef)(d),{isVirtualized:K}=(0,M.useContext)(a.CollectionRendererContext),{rowProps:F,gridCellProps:B,descriptionProps:V,...H}=function(e,t,r){let{node:o,isVirtualized:a}=e,{direction:i}=(0,S.useLocale)(),{onAction:l,linkBehavior:n,keyboardNavigationBehavior:s,shouldSelectOnPressUp:d}=p.get(t),c=(0,h.useSlotId)(),u=(0,M.useRef)(null),m={},v=e.hasChildItems,x=t.selectionManager.isLink(o.key);if(null!=o&&"expandedKeys"in t){let e=t.collection.getChildren?.(o.key);v=v||[...e??[]].length>1,null==l&&!x&&"none"===t.selectionManager.selectionMode&&v&&(l=()=>t.toggleKey(o.key));let r=v?t.expandedKeys.has(o.key):void 0,a=1,i=o.index;if(o.level>=0&&o?.parentKey!=null){let e=t.collection.getItem(o.parentKey);if(e){let r=function(e,t){let r=t.getChildren?.(e.key),o=r?Array.from(r):[],a=o.length>0?o[0]:null,i=[];for(;a;)i.push(a),a=null!=a.nextKey?t.getItem(a.nextKey):null;return i}(e,t.collection);a=[...r].filter(e=>"item"===e.type).length,i>0&&"item"!==r[0].type&&(i-=1)}}else a=[...t.collection].filter(e=>0===e.level&&"item"===e.type).length;m={"aria-expanded":r,"aria-level":o.level+1,"aria-posinset":i+1,"aria-setsize":a}}let{itemProps:y,...L}=(0,j.useSelectableItem)({selectionManager:t.selectionManager,key:o.key,ref:r,isVirtualized:a,shouldSelectOnPressUp:e.shouldSelectOnPressUp||d,onAction:l||o.props?.onAction?(0,b.chain)(o.props?.onAction,l?()=>l(o.key):void 0):void 0,focus:()=>{null===r.current||(null==u.current||o.key===u.current)&&(0,D.isFocusWithin)(r.current)||(0,w.focusSafely)(r.current)},linkBehavior:n}),A=(0,E.useSyntheticLinkProps)(o.props),R=L.hasAction?A:{},K=(0,f.mergeProps)(y,R,{role:"row",onKeyDownCapture:e=>{let a=(0,D.getActiveElement)();if(!(0,D.nodeContains)(e.currentTarget,(0,D.getEventTarget)(e))||!r.current||!a)return;let l=(0,k.getFocusableTreeWalker)(r.current);if(l.currentNode=a,"expandedKeys"in t&&a===r.current){if(e.key===T[i]&&t.selectionManager.focusedKey===o.key&&v&&!t.expandedKeys.has(o.key)){t.toggleKey(o.key),e.stopPropagation();return}else if(e.key===I[i]&&t.selectionManager.focusedKey===o.key){if(v&&t.expandedKeys.has(o.key)){t.toggleKey(o.key),e.stopPropagation();return}else if(!t.expandedKeys.has(o.key)&&o.parentKey){t.selectionManager.setFocusedKey(o.parentKey),e.stopPropagation();return}}}switch(e.key){case"ArrowLeft":if("arrow"===s){let t="rtl"===i?l.nextNode():l.previousNode();if(t)e.preventDefault(),e.stopPropagation(),(0,w.focusSafely)(t),(0,N.scrollIntoViewport)(t,{containingElement:(0,C.getScrollParent)(r.current)});else if(e.preventDefault(),e.stopPropagation(),"rtl"===i)(0,w.focusSafely)(r.current),(0,N.scrollIntoViewport)(r.current,{containingElement:(0,C.getScrollParent)(r.current)});else{l.currentNode=r.current;let e=z(l);e&&((0,w.focusSafely)(e),(0,N.scrollIntoViewport)(e,{containingElement:(0,C.getScrollParent)(r.current)}))}}break;case"ArrowRight":if("arrow"===s){let t="rtl"===i?l.previousNode():l.nextNode();if(t)e.preventDefault(),e.stopPropagation(),(0,w.focusSafely)(t),(0,N.scrollIntoViewport)(t,{containingElement:(0,C.getScrollParent)(r.current)});else if(e.preventDefault(),e.stopPropagation(),"ltr"===i)(0,w.focusSafely)(r.current),(0,N.scrollIntoViewport)(r.current,{containingElement:(0,C.getScrollParent)(r.current)});else{l.currentNode=r.current;let e=z(l);e&&((0,w.focusSafely)(e),(0,N.scrollIntoViewport)(e,{containingElement:(0,C.getScrollParent)(r.current)}))}}break;case"ArrowUp":case"ArrowDown":!e.altKey&&(0,D.nodeContains)(r.current,(0,D.getEventTarget)(e))&&(e.stopPropagation(),e.preventDefault(),r.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type,e.nativeEvent)))}},onKeyDown:e=>{let t=(0,D.getActiveElement)();if((0,D.nodeContains)(e.currentTarget,(0,D.getEventTarget)(e))&&r.current&&t&&"Tab"===e.key&&"tab"===s){let o=(0,k.getFocusableTreeWalker)(r.current,{tabbable:!0});o.currentNode=t,(e.shiftKey?o.previousNode():o.nextNode())&&e.stopPropagation()}},onFocus:e=>{if(u.current=o.key,(0,D.getEventTarget)(e)!==r.current){(0,P.isFocusVisible)()||t.selectionManager.setFocusedKey(o.key);return}},"aria-label":o["aria-label"]||o.textValue||void 0,"aria-selected":t.selectionManager.canSelectItem(o.key)?t.selectionManager.isSelected(o.key):void 0,"aria-disabled":t.selectionManager.isDisabled(o.key)||void 0,"aria-labelledby":c&&(o["aria-label"]||o.textValue)?`${g(t,o.key)} ${c}`:void 0,id:g(t,o.key)});if(a){let{collection:e}=t,r=[...e];K["aria-rowindex"]=r.find(e=>"section"===e.type)?[...e.getKeys()].filter(t=>e.getItem(t)?.type!=="section").findIndex(e=>e===o.key)+1:o.index+1}return{rowProps:{...(0,f.mergeProps)(K,m)},gridCellProps:{role:"gridcell","aria-colindex":1},descriptionProps:{id:c},...L}}({node:m,shouldSelectOnPressUp:!!y,isVirtualized:K},v,R),{hoverProps:$,isHovered:_}=(0,O.useHover)({isDisabled:!H.allowsSelection&&!H.hasAction,onHoverStart:m.props.onHoverStart,onHoverChange:m.props.onHoverChange,onHoverEnd:m.props.onHoverEnd}),{isFocusVisible:Z,focusProps:q}=(0,U.useFocusRing)(),{checkboxProps:X}=function(e,t){let{key:r}=e,{checkboxProps:o}=(0,L.useGridSelectionCheckbox)(e,t);return{checkboxProps:{...o,"aria-labelledby":`${o.id} ${g(t,r)}`}}}({key:m.key},v),Y="all"===v.selectionManager.disabledBehavior&&H.isDisabled?{isDisabled:!0}:{},J=null;y&&x&&(J=x.useDraggableItem({key:m.key,hasDragButton:!0},y));let Q=null,ee=(0,M.useRef)(null),{visuallyHiddenProps:et}=(0,W.useVisuallyHidden)();A&&x&&(Q=x.useDropIndicator({target:{type:"item",key:m.key,dropPosition:"on"}},A,ee));let er=y&&y.isDragging(m.key),eo=(0,o.useRenderProps)({...e,id:void 0,children:m.rendered,defaultClassName:"react-aria-GridListItem",values:{...H,isHovered:_,isFocusVisible:Z,selectionMode:v.selectionManager.selectionMode,selectionBehavior:v.selectionManager.selectionBehavior,allowsDragging:!!y,isDragging:er,isDropTarget:Q?.isDropTarget,id:m.key,state:v}}),ea=(0,M.useRef)(null);(0,M.useEffect)(()=>
1{y&&!ea.current&&console.warn('Draggable items in a GridList must contain a <Button slot="drag"> element so that keyboard and screen reader users can drag them.')},[]),(0,M.useEffect)(()=>{},[m.textValue]);let ei=(0,u.filterDOMProps)(e,{global:!0});return delete ei.id,delete ei.onClick,M.default.createElement(M.default.Fragment,null,Q&&!Q.isHidden&&M.default.createElement("div",{role:"row",style:{position:"absolute"}},M.default.createElement("div",{role:"gridcell"},M.default.createElement("div",{role:"button",...et,...Q?.dropIndicatorProps,ref:ee}))),M.default.createElement(o.dom.div,{...(0,f.mergeProps)(ei,eo,F,q,$,J?.dragProps),ref:R,"data-selected":H.isSelected||void 0,"data-disabled":H.isDisabled||void 0,"data-hovered":_||void 0,"data-focused":H.isFocused||void 0,"data-focus-visible":Z||void 0,"data-pressed":H.isPressed||void 0,"data-allows-dragging":!!y||void 0,"data-dragging":er||void 0,"data-drop-target":Q?.isDropTarget||void 0,"data-selection-mode":"none"===v.selectionManager.selectionMode?void 0:v.selectionManager.selectionMode},M.default.createElement("div",{...B,style:{display:"contents"}},M.default.createElement(o.Provider,{values:[[r.CheckboxContext,{slots:{[o.DEFAULT_SLOT]:{},selection:X}}],[t.ButtonContext,{slots:{[o.DEFAULT_SLOT]:Y,drag:{...J?.dragButtonProps,ref:ea,style:{pointerEvents:"none"}}}}],[c.TextContext,{slots:{[o.DEFAULT_SLOT]:{},description:V}}],[a.CollectionRendererContext,a.DefaultCollectionRenderer],[n.ListStateContext,null],[l.SelectableCollectionContext,null],[l.FieldInputContext,null],[s.SelectionIndicatorContext,{isSelected:H.isSelected}]]},eo.children))))});function X(e,t){t=(0,G.useObjectRef)(t);let{dragAndDropHooks:r,dropState:o}=(0,M.useContext)(i.DragAndDropContext),a=(0,M.useRef)(null),{dropIndicatorProps:l,isHidden:n,isDropTarget:s}=r.useDropIndicator(e,o,a);return n?null:M.default.createElement(Y,{...e,dropIndicatorProps:l,isDropTarget:s,buttonRef:a,ref:t})}let Y=(0,M.forwardRef)(function(e,t){let{dropIndicatorProps:r,isDropTarget:a,buttonRef:i,...l}=e,{visuallyHiddenProps:n}=(0,W.useVisuallyHidden)(),s=(0,o.useRenderProps)({...l,defaultClassName:"react-aria-DropIndicator",values:{isDropTarget:a}});return M.default.createElement(o.dom.div,{...s,role:"row",ref:t,"data-drop-target":a||void 0},M.default.createElement("div",{role:"gridcell"},M.default.createElement("div",{...n,role:"button",...r,ref:i}),s.children))});function J(){let{dragAndDropHooks:e,dropState:t}=(0,M.useContext)(i.DragAndDropContext),r=(0,M.useRef)(null),{dropIndicatorProps:o}=e.useDropIndicator({target:{type:"root"}},t,r),a=t.isDropTarget({type:"root"}),{visuallyHiddenProps:l}=(0,W.useVisuallyHidden)();return!a&&o["aria-hidden"]?null:M.default.createElement("div",{role:"row","aria-hidden":o["aria-hidden"],style:{position:"absolute"}},M.default.createElement("div",{role:"gridcell"},M.default.createElement("div",{role:"button",...l,...o,ref:r})))}(0,A.createLeafComponent)(R.LoaderNode,function(e,t,r){let i=(0,M.useContext)(n.ListStateContext),{isVirtualized:l}=(0,M.useContext)(a.CollectionRendererContext),{isLoading:s,onLoadMore:d,scrollOffset:c,...p}=e,g=(0,M.useRef)(null),f=(0,M.useMemo)(()=>({onLoadMore:d,collection:i?.collection,sentinelRef:g,scrollOffset:c}),[d,c,i?.collection]);(0,V.useLoadMoreSentinel)(f,g);let m=(0,o.useRenderProps)({...p,id:void 0,children:r.rendered,defaultClassName:"react-aria-GridListLoadingIndicator",values:void 0});return M.default.createElement(M.default.Fragment,null,M.default.createElement("div",{style:{position:"relative",width:0,height:0},inert:(0,K.inertValue)(!0)},M.default.createElement("div",{"data-testid":"loadMoreSentinel",ref:g,style:{position:"absolute",height:1,width:1}})),s&&m.children&&M.default.createElement(o.dom.div,{...m,...(0,u.filterDOMProps)(e,{global:!0}),role:"row",ref:t},M.default.createElement("div",{"aria-colindex":l?1:void 0,role:"gridcell"},m.children)))}),R.SectionNode,R.HeaderNode,e.s(["GridList",0,_,"GridListItem",0,q],43470)},534552,459414,e=>{"use strict";var t=e.i(29446),r=e.i(638007),o=e.i(29852),a=e.i(108389);let i=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M21 15v1.2c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C18.72 21 17.88 21 16.2 21H7.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C3 18.72 3 17.88 3 16.2V15m14-5-5 5m0 0-5-5m5 5V3"}));i.displayName="Download01",e.s(["Download01",0,i],459414);var l=e.i(574906),n=e.i(101289),s=e.i(232252),d=e.i(942270);e.i(516154);var c=e.i(315543),u=e.i(318203);e.i(613553);var p=e.i(270078);e.i(990916);var g=e.i(379945),f=e.i(762481),m=e.i(687123);let v=(e,t=2,r)=>{let o=["bytes","KB","MB","GB","TB","PB","EB","ZB","YB"];if(0===e||void 0===e)return void 0!==r?`0 ${r}`:"0 bytes";let a=void 0!==r?o.indexOf(r):Math.floor(Math.log(e)/Math.log(1e3));return parseFloat((e/Math.pow(1e3,a)).toFixed(t<0?0:t))+" "+o[a]},x=(0,r.createContext)(void 0);function h({file:e,fileError:r,isSuccessfullyUploaded:o,loading:a,maxFileSize:i}){let{t:l}=(0,c.useTranslation)();return e.errors.length>0?(0,t.jsx)("p",{className:"text-destructive truncate text-[12px] leading-[1.6] font-normal",children:e.errors.map(t=>t.message.startsWith("File is larger than")?l("common:dropzone.errorMessageFileSizeTooLarge",{size:v(e.size,2),maxSize:v(i,2)}):t.message).join(", ")}):a&&!o?(0,t.jsx)("p",{className:"text-ui-fg-interactive truncate text-[12px] leading-[1.6] font-normal",children:(0,t.jsx)(m.Trans,{i18nKey:"common:dropzone.uploading"})}):r?(0,t.jsx)("p",{className:"text-destructive truncate text-[12px] leading-[1.6] font-normal",children:(0,t.jsx)(m.Trans,{i18nKey:"common:dropzone.errorMessage",values:{message:r.message}})}):o?(0,t.jsx)("p",{className:"text-primary truncate text-[12px] leading-[1.6] font-normal",children:(0,t.jsx)(m.Trans,{i18nKey:"common:dropzone.success"})}):(0,t.jsx)("p",{className:"text-ui-fg-muted truncate text-[12px] leading-[1.6] font-normal",children:v(e.size,2)})}function y({file:e}){return(0,t.jsx)("div",{className:"bg-ui-bg-subtle border-ui-border-base flex h-8 w-8 flex-shrink-0 items-center justify-center overflow-hidden rounded-md border",children:e.type.startsWith("image/")?(0,t.jsx)("img",{alt:e.name,className:"h-full w-full flex-shrink-0 object-cover",decoding:"async",src:e.preview}):(0,t.jsx)(l.File02,{className:"text-ui-fg-muted h-3.5 w-3.5"})})}
1function b(){return(0,t.jsx)("div",{"aria-hidden":!0,className:"grid h-7 w-7 shrink-0 grid-cols-2 content-center justify-center gap-[3px] rounded-md p-2",children:Array.from({length:8}).map((e,r)=>(0,t.jsx)("span",{className:(0,u.cn)("bg-ui-fg-base h-0.5 w-0.5 rounded-full",r<4?"opacity-65":"opacity-20")},r))})}let w=()=>{let e=(0,r.useContext)(x);if(!e)throw Error("useDropzoneContext must be used within a Dropzone");return e};e.s(["Dropzone",0,({className:e,children:r,getRootProps:o,getInputProps:a,"data-test":i,...l})=>{let n=l.isSuccess,s=l.isDragActive,d=l.isDragActive&&l.isDragReject||l.errors.length>0&&!l.isSuccess||l.files.some(e=>0!==e.errors.length),c=l.files.length>0,p=!c&&!n,g=!c||n;return(0,t.jsx)(x.Provider,{value:{...l},children:(0,t.jsxs)("div",{...o({className:(0,u.cn)("text-ui-fg-base rounded-lg transition-colors duration-300 outline-none",g&&"bg-ui-bg-component border-ui-border-strong border p-8 text-center",g&&(n?"border-solid":"border-dashed"),g&&!n&&"hover:border-ui-border-interactive focus-visible:border-ui-border-interactive focus-visible:shadow-borders-focus focus-visible:border-solid",p&&"cursor-pointer",e,g&&s&&"border-ui-border-interactive shadow-borders-focus",g&&d&&"border-ui-border-error"),"data-test":i}),children:[(0,t.jsx)("input",{...a()}),r]})})},"DropzoneContent",0,({className:e,hideUploadButton:l=!1})=>{let{files:c,setFiles:v,onUpload:x,loading:D,successes:k,errors:C,maxFileSize:P,maxFiles:N,isSuccess:j}=w(),S=c.length>N,E=(0,r.useCallback)(e=>{v(c.filter(t=>t.name!==e))},[c,v]);return j?(0,t.jsxs)("div",{className:(0,u.cn)("flex flex-row items-center justify-center gap-x-2",e),children:[(0,t.jsx)(a.CheckCircle,{className:"text-primary h-4 w-4"}),(0,t.jsx)("p",{className:"text-primary text-sm",children:(0,t.jsx)(m.Trans,{i18nKey:"common:dropzone.success",values:{count:c.length}})})]}):(0,t.jsxs)("div",{className:(0,u.cn)("flex flex-col gap-y-2",e),children:[c.map((e,r)=>{let l=C.find(t=>t.name===e.name),n=!!k.find(t=>t===e.name);return(0,t.jsxs)("div",{className:(0,u.cn)("bg-ui-bg-component shadow-elevation-card-rest flex h-14 items-center gap-x-3 rounded-lg px-3 py-2 text-left"),children:[(0,t.jsx)(y,{file:e}),(0,t.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col items-start justify-center",children:[(0,t.jsx)("p",{title:e.name,className:"text-ui-fg-base max-w-full truncate text-[13px] leading-[1.6] font-normal",children:e.name}),(0,t.jsx)(h,{file:e,fileError:l,isSuccessfullyUploaded:n,loading:D,maxFileSize:P})]}),(0,t.jsxs)("div",{className:"flex shrink-0 items-center gap-x-1",children:[D&&!n?(0,t.jsx)(b,{}):n?(0,t.jsx)(a.CheckCircle,{className:"text-primary h-4 w-4 shrink-0"}):e.errors.length>0||l?(0,t.jsx)(o.AlertCircle,{className:"text-destructive h-4 w-4 shrink-0"}):(0,t.jsx)("a",{"aria-label":`Download ${e.name}`,className:(0,f.iconButtonVariants)({size:"xsmall",variant:"transparent"}),download:e.name,href:e.preview,onClick:e=>{e.stopPropagation()},children:(0,t.jsx)(i,{className:"h-4 w-4"})}),!D&&!n&&(0,t.jsx)(g.IconButton,{"aria-label":`Remove ${e.name}`,size:"xsmall",type:"button",variant:"transparent",onClick:t=>{t.stopPropagation(),E(e.name)},children:(0,t.jsx)(d.XClose,{className:"h-4 w-4"})})]})]},`${e.name}-${r}`)}),S&&(0,t.jsx)("p",{className:"text-destructive mt-2 text-left text-sm",children:(0,t.jsx)(m.Trans,{i18nKey:"common:dropzone.errorMaxFiles",values:{count:N,files:c.length-N}})}),c.length>0&&!S&&!l&&(0,t.jsx)("div",{className:"mt-3 flex justify-end",children:(0,t.jsx)(p.Button,{variant:"outline",size:"sm",onClick:x,isDisabled:c.some(e=>0!==e.errors.length)||D,children:D?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.Loading01,{className:"h-4 w-4 animate-spin"}),(0,t.jsx)(m.Trans,{i18nKey:"common:dropzone.uploading"})]}):(0,t.jsxs)("span",{className:"flex items-center",children:[(0,t.jsx)(s.Upload01,{className:"h-4 w-4"}),(0,t.jsx)(m.Trans,{i18nKey:"common:dropzone.upload",defaults:"Upload"})]})})})]})},"DropzoneEmptyState",0,({className:e,title:r,description:o})=>{let{files:a,isSuccess:i}=w();if(i||a.length>0)return null;let l=o??(0,t.jsx)(m.Trans,{i18nKey:"common:dropzone.uploadFilesDescription",defaults:"Drag and drop files here or click to upload"});return(0,t.jsxs)("div",{className:(0,u.cn)("flex flex-col items-center gap-y-2",e),children:[(0,t.jsxs)("div",{className:"flex items-center gap-x-1.5",children:[(0,t.jsx)(s.Upload01,{className:"text-ui-fg-subtle h-3.5 w-3.5"}),(0,t.jsx)("p",{className:"text-ui-fg-base text-xs font-medium",children:r??(0,t.jsx)(m.Trans,{i18nKey:"common:dropzone.uploadFilesLabel",defaults:"Upload files"})})]}),l?(0,t.jsx)("p",{className:"text-ui-fg-muted text-xs",children:l}):null]})},"formatBytes",0,v],534552)},220808,e=>{"use strict";var t=e.i(29446),r=e.i(638007),o=e.i(294237),a=e.i(482815),i=e.i(318203),l=e.i(322622),n=(e.i(444142),e.i(512114));let s=(0,o.cva)("group/item-group flex flex-col",{variants:{gap:{none:"",sm:"gap-2"}},defaultVariants:{gap:"none"}}),d=r.forwardRef(({className:e,role:r="list",gap:o="none",...a},l)=>(0,t.jsx)("div",{ref:l,role:r,"data-slot":"item-group",className:(0,i.cn)(s({gap:o}),e),...a}));d.displayName="ItemGroup";
1let c=(0,o.cva)("group/item text-ui-fg-base focus-visible:ring-ring focus-visible:ring-offset-background flex w-full flex-wrap items-center rounded-lg border border-transparent text-base transition-shadow duration-200 outline-none focus-visible:ring-2 focus-visible:ring-offset-2 lg:text-sm",{variants:{variant:{default:"bg-ui-bg-base shadow-elevation-card-rest hover:shadow-elevation-card-hover focus-visible:shadow-elevation-card-hover",outline:"bg-ui-bg-base border-ui-border-base shadow-none",muted:"bg-ui-bg-component text-ui-fg-muted shadow-none"},size:{default:"gap-4 px-6 py-4",sm:"gap-2.5 px-4 py-3"}},defaultVariants:{variant:"default",size:"default"}}),u=r.forwardRef(({className:e,variant:r="default",size:o="default",asChild:l=!1,...n},s)=>{let d=l?a.Slot.Root:"div";return(0,t.jsx)(d,{ref:s,"data-slot":"item","data-variant":r,"data-size":o,className:(0,i.cn)(c({variant:r,size:o,className:e})),...n})});u.displayName="Item";let p=(0,o.cva)("text-ui-fg-base flex shrink-0 items-center justify-center gap-2 group-has-[[data-slot=item-description]]/item:translate-y-0.5 group-has-[[data-slot=item-description]]/item:self-start [&_svg]:pointer-events-none",{variants:{variant:{default:"bg-transparent",icon:"bg-ui-bg-component text-ui-fg-base shadow-borders-base border-ui-border-base size-10 rounded-md border [&_svg:not([class*='size-'])]:size-4",image:"size-12 overflow-hidden rounded-md border border-transparent [&_img]:size-full [&_img]:object-cover"}},defaultVariants:{variant:"default"}}),g=r.forwardRef(({className:e,variant:r="default",...o},a)=>(0,t.jsx)("div",{ref:a,"data-slot":"item-media","data-variant":r,className:(0,i.cn)(p({variant:r,className:e})),...o}));g.displayName="ItemMedia";let f=r.forwardRef(({className:e,...r},o)=>(0,t.jsx)("div",{ref:o,"data-slot":"item-content",className:(0,i.cn)("text-ui-fg-base flex min-w-0 flex-1 flex-col gap-1 [&+[data-slot=item-content]]:flex-none",e),...r}));function m({className:e,level:r=3,...o}){return(0,t.jsx)(l.Heading,{level:r,"data-slot":"item-title",className:e,...o})}function v({className:e,as:r="p",...o}){return(0,t.jsx)(n.Text,{as:r,"data-slot":"item-description",className:e,...o})}f.displayName="ItemContent",m.displayName="ItemTitle",v.displayName="ItemDescription";let x=r.forwardRef(({className:e,...r},o)=>(0,t.jsx)("div",{ref:o,"data-slot":"item-actions",className:(0,i.cn)("text-ui-fg-base flex items-center gap-3",e),...r}));x.displayName="ItemActions";let h=r.forwardRef(({className:e,...r},o)=>(0,t.jsx)("div",{ref:o,"data-slot":"item-header",className:(0,i.cn)("flex w-full items-center justify-between gap-3",e),...r}));h.displayName="ItemHeader",r.forwardRef(({className:e,...r},o)=>(0,t.jsx)("div",{ref:o,"data-slot":"item-footer",className:(0,i.cn)("flex w-full items-center justify-between gap-3",e),...r})).displayName="ItemFooter",e.s(["Item",0,u,"ItemActions",0,x,"ItemContent",0,f,"ItemDescription",0,v,"ItemGroup",0,d,"ItemHeader",0,h,"ItemMedia",0,g,"ItemTitle",0,m])}]);

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.