@producteca/producteca-ui-kit 1.93.0 → 1.94.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,10 +9,16 @@ export interface ModelContextInputSchema {
9
9
  properties?: Record<string, unknown>;
10
10
  required?: string[];
11
11
  }
12
+ export interface ModelContextToolAnnotations {
13
+ readOnlyHint?: boolean;
14
+ untrustedContentHint?: boolean;
15
+ }
12
16
  export interface ModelContextTool<TArgs = Record<string, unknown>> {
13
17
  name: string;
18
+ title?: string;
14
19
  description: string;
15
20
  inputSchema: ModelContextInputSchema;
21
+ annotations?: ModelContextToolAnnotations;
16
22
  execute: (args: TArgs) => ModelContextToolResult | Promise<ModelContextToolResult>;
17
23
  }
18
24
  export interface UseModelContextToolOptions {
@@ -21,4 +27,4 @@ export interface UseModelContextToolOptions {
21
27
  export interface UseModelContextToolResult {
22
28
  isSupported: boolean;
23
29
  }
24
- export declare const useModelContextTool: <TArgs = Record<string, unknown>>({ name, description, inputSchema, execute }: ModelContextTool<TArgs>, { enabled }?: UseModelContextToolOptions) => UseModelContextToolResult;
30
+ export declare const useModelContextTool: <TArgs = Record<string, unknown>>({ name, title, description, inputSchema, annotations, execute }: ModelContextTool<TArgs>, { enabled }?: UseModelContextToolOptions) => UseModelContextToolResult;
@@ -7161,4 +7161,4 @@ droppable:false};}return{draggable:(_localDisabled$dragga=localDisabled==null?vo
7161
7161
  * Either a string to use a HTML element or a component.
7162
7162
  */component:PropTypes.elementType,/**
7163
7163
  * The system prop that allows defining system overrides as well as additional CSS styles.
7164
- */sx:PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func,PropTypes.object,PropTypes.bool])),PropTypes.func,PropTypes.object])}:void 0;var DragIndicator=createSvgIcon(/* @__PURE__ */jsx$1("path",{d:"M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2m-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"}),"DragIndicator");var DraggableRow=/* @__PURE__ */React__default.memo(function(_ref3){var item2=_ref3.item,isAdding=_ref3.isAdding,onRemove=_ref3.onRemove,canRemove=_ref3.canRemove,_ref$showRemoveAction=_ref3.showRemoveAction,showRemoveAction=_ref$showRemoveAction===void 0?true:_ref$showRemoveAction,component=_ref3.component,isRemoving=_ref3.isRemoving,onSelectValue=_ref3.onSelectValue,componentProps=_ref3.componentProps;var resolvedDisabled=Boolean(componentProps===null||componentProps===void 0?void 0:componentProps.disabled);var canRemoveItem=canRemove?canRemove(item2):true;var _useSortable=useSortable({id:item2.id,disabled:resolvedDisabled}),attributes=_useSortable.attributes,listeners=_useSortable.listeners,setActivatorNodeRef=_useSortable.setActivatorNodeRef,setNodeRef=_useSortable.setNodeRef,transform=_useSortable.transform,transition=_useSortable.transition,isDragging=_useSortable.isDragging;var _handleRemove=useCallback(function(){if(!canRemoveItem){return;}onRemove(item2.id);},[canRemoveItem,item2.id,onRemove]);var Component2=component;return/* @__PURE__ */jsxs(Paper,{ref:setNodeRef,className:clsx(styles$3["draggable-list--item"],_defineProperty$2(_defineProperty$2(_defineProperty$2({},styles$3["draggable-list--item--dragging"],isDragging),styles$3["draggable-list--item--adding"],isAdding),styles$3["draggable-list--item--removing"],isRemoving)),elevation:0,style:{transform:CSS$1.Transform.toString(transform),transition:transition},children:[/* @__PURE__ */jsx$1("span",_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({ref:setActivatorNodeRef,"aria-label":locale("a11y.reorder")},attributes),listeners),{},{children:/* @__PURE__ */jsx$1(CustomIcon,{size:"16",children:/* @__PURE__ */jsx$1(DragIndicator,{})})})),Component2?/* @__PURE__ */jsx$1(Component2,_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({},componentProps),item2),{},{item:item2,disabled:resolvedDisabled,onItemChange:function onItemChange(value){return onSelectValue(item2.id,value);}})):null,showRemoveAction&&/* @__PURE__ */jsx$1(CustomIcon,{size:"8",role:"button","aria-label":locale("a11y.remove"),onClick:_handleRemove,disabled:resolvedDisabled||!canRemoveItem,color:getColor("primary","500"),children:/* @__PURE__ */jsx$1(TrashIcon,{})})]});});DraggableRow.displayName="DraggableRow";var _excluded$5=["label","addLabel","onChange","canRemove","showRemoveAction","itemComponent","value","componentProps","input"];var ITEM_ID_PREFIX="draggable-item";var _isStringArray=function _isStringArray2(value){return Array.isArray(value)&&(value.length===0||typeof value[0]==="string");};var _normalizeToItems=function _normalizeToItems2(value){if(!Array.isArray(value)){return[];}if(_isStringArray(value)){return value.map(function(val,index2){return{id:"".concat(ITEM_ID_PREFIX,"-string-").concat(index2,"-").concat(val),value:val};});}return value;};var _buildItem=function _buildItem2(currentLength){return{id:"".concat(ITEM_ID_PREFIX,"-").concat(currentLength,"-").concat(Date.now()),value:""};};var DraggableListBase=function DraggableListBase2(_ref3){var _ref22,_input$value;var label2=_ref3.label,addLabel=_ref3.addLabel,_onChange=_ref3.onChange,canRemove=_ref3.canRemove,_ref$showRemoveAction=_ref3.showRemoveAction,showRemoveAction=_ref$showRemoveAction===void 0?true:_ref$showRemoveAction,itemComponent=_ref3.itemComponent,_ref$value=_ref3.value,controlledItems=_ref$value===void 0?[]:_ref$value,componentProps=_ref3.componentProps,input2=_ref3.input,props=_objectWithoutProperties$1(_ref3,_excluded$5);if(!itemComponent){return null;}var rawValue=(_ref22=(_input$value=input2===null||input2===void 0?void 0:input2.value)!==null&&_input$value!==void 0?_input$value:controlledItems)!==null&&_ref22!==void 0?_ref22:[];var resolvedItems=useMemo(function(){return _normalizeToItems(rawValue);},[rawValue]);var outputFormatRef=useRef(_isStringArray(rawValue)?"strings":"objects");var _useState=useState(resolvedItems),_useState2=_slicedToArray$1(_useState,2),items=_useState2[0],setItems=_useState2[1];var _useState3=useState(/* @__PURE__ */new Set()),_useState4=_slicedToArray$1(_useState3,2),addingItems=_useState4[0],setAddingItems=_useState4[1];var _useState5=useState(/* @__PURE__ */new Set()),_useState6=_slicedToArray$1(_useState5,2),removingItems=_useState6[0],setRemovingItems=_useState6[1];var sensors=useSensors(useSensor(PointerSensor));var itemIds=useMemo(function(){return items.map(function(item2){return item2.id;});},[items]);useEffect(function(){outputFormatRef.current=_isStringArray(rawValue)?"strings":"objects";setItems(resolvedItems);},[resolvedItems,rawValue]);var _valueToOutput=useCallback(function(nextItems){return outputFormatRef.current==="strings"?nextItems.map(function(item2){var _item$value;return(_item$value=item2.value)!==null&&_item$value!==void 0?_item$value:"";}):nextItems;},[]);var _useReduxFormField=useReduxFormField({input:input2,onChange:function onChange2(nextItems){var _ref32,_input$name;if(!_onChange){return;}var value=_valueToOutput(nextItems);var resolvedName=(_ref32=(_input$name=input2===null||input2===void 0?void 0:input2.name)!==null&&_input$name!==void 0?_input$name:componentProps===null||componentProps===void 0?void 0:componentProps.name)!==null&&_ref32!==void 0?_ref32:"draggableList";var event={target:{name:resolvedName,value:value}};_onChange(event);},transformValue:function transformValue(nextItems){return _valueToOutput(nextItems);}}),_handleItemsChange=_useReduxFormField.handleChange;var _syncItems=useCallback(function(updater){setItems(function(prev2){var next2=typeof updater==="function"?updater(prev2):updater;_handleItemsChange(next2);return next2;});},[_handleItemsChange]);var _handleRemove=useCallback(function(id){setRemovingItems(function(prev2){return new Set(prev2).add(id);});setTimeout(function(){_syncItems(function(prev2){return prev2.filter(function(item2){return item2.id!==id;});});setRemovingItems(function(prev2){var next2=new Set(prev2);next2.delete(id);return next2;});},300);},[_syncItems]);var _handleSelectValue=useCallback(function(id,value){_syncItems(function(prev2){return prev2.map(function(item2){return item2.id===id?_objectSpread2$1(_objectSpread2$1({},item2),{},{value:value}):item2;});});},[_syncItems]);var _handleAdd=useCallback(function(){_syncItems(function(prev2){var newItem=_buildItem(prev2.length);setAddingItems(function(adding){return new Set(adding).add(newItem.id);});setTimeout(function(){setAddingItems(function(adding){var next2=new Set(adding);next2.delete(newItem.id);return next2;});},300);return[].concat(_toConsumableArray$1(prev2),[newItem]);});},[_syncItems]);var _handleDragEnd=useCallback(function(event){var active2=event.active,over=event.over;if(!over||active2.id===over.id)return;_syncItems(function(prev2){var oldIndex=prev2.findIndex(function(item2){return item2.id===active2.id;});var newIndex=prev2.findIndex(function(item2){return item2.id===over.id;});if(oldIndex===-1||newIndex===-1){return prev2;}return arrayMove(prev2,oldIndex,newIndex);});},[_syncItems]);return/* @__PURE__ */jsxs("div",_objectSpread2$1(_objectSpread2$1({className:clsx(styles$3["draggable-list"])},props),{},{children:[label2&&/* @__PURE__ */jsx$1("div",{className:styles$3["draggable-list--label"],children:label2}),/* @__PURE__ */jsx$1(DndContext,{sensors:sensors,collisionDetection:closestCenter,onDragEnd:_handleDragEnd,children:/* @__PURE__ */jsx$1(SortableContext,{items:itemIds,strategy:verticalListSortingStrategy,children:items.map(function(item2){return/* @__PURE__ */jsx$1(DraggableRow,{item:item2,component:itemComponent,canRemove:canRemove,showRemoveAction:showRemoveAction,onRemove:_handleRemove,componentProps:componentProps,onSelectValue:_handleSelectValue,isAdding:addingItems.has(item2.id),isRemoving:removingItems.has(item2.id)},item2.id);})})}),/* @__PURE__ */jsx$1("div",{className:clsx(styles$3["draggable-list--add-button"]),children:/* @__PURE__ */jsx$1(Link,{href:"#",size:"sm",onClick:function onClick(event){event.preventDefault();_handleAdd();},children:addLabel||locale("addPlus")})})]}));};var DraggableList=withDebugHandlers(DraggableListBase,"DraggableList");var dropzone="dropzone-module_dropzone_s6uiA";var label$1="dropzone-module_label_LGKwn";var input="dropzone-module_input_W4Rty";var area="dropzone-module_area_24Xf3";var error="dropzone-module_error_c-jB-";var instructions="dropzone-module_instructions_Q21KZ";var action="dropzone-module_action_zulkw";var hint="dropzone-module_hint_aTyPQ";var loading="dropzone-module_loading_zmnqc";var invalid="dropzone-module_invalid_dnk8R";var disabled="dropzone-module_disabled_2ajiy";var styles$2={dropzone:dropzone,label:label$1,input:input,area:area,error:error,instructions:instructions,action:action,hint:hint,"drag-active":"dropzone-module_drag-active_f00v1",loading:loading,invalid:invalid,disabled:disabled};var CloudUploadIcon=createSvgIcon(/* @__PURE__ */jsx$1("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M14 13v4h-4v-4H7l5-5 5 5z"}),"CloudUpload");var fileTypes={PDF:{mime:"application/pdf",extensions:[".pdf"]},XML:{mime:"text/xml",extensions:[".xml"]},XLSX:{mime:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",extensions:[".xlsx"]},XLS:{mime:"application/vnd.ms-excel",extensions:[".xls"]},CSV:{mime:"text/csv",extensions:[".csv"]},PNG:{mime:"image/png",extensions:[".png"]},JPEG:{mime:"image/jpeg",extensions:[".jpeg",".jpg"]},IMAGE:{mime:"image/*",extensions:[]}};var megabytesToBytes=function megabytesToBytes2(megabytes){return megabytes*1024*1024;};var matchesMime=function matchesMime2(fileMime,acceptedMime){return acceptedMime.endsWith("/*")?fileMime.startsWith(acceptedMime.replace("/*","/")):fileMime===acceptedMime;};var matchesExtension=function matchesExtension2(fileName,extensions){return extensions.some(function(extension){return fileName.toLowerCase().endsWith(extension);});};var buildAcceptAttribute=function buildAcceptAttribute2(accept){if(!(accept!==null&&accept!==void 0&&accept.length))return void 0;var tokens=accept.reduce(function(current2,type){var definition=fileTypes[type];if(!definition)return current2;return current2.concat(definition.mime,definition.extensions);},[]);return Array.from(new Set(tokens)).join(",");};var isAcceptedType=function isAcceptedType2(file,accept){if(!(accept!==null&&accept!==void 0&&accept.length))return true;return accept.some(function(type){var definition=fileTypes[type];if(!definition)return false;return matchesMime(file.type,definition.mime)||matchesExtension(file.name,definition.extensions);});};var partitionFiles=function partitionFiles2(files,_ref3){var accept=_ref3.accept,maxSize=_ref3.maxSize,maxFiles=_ref3.maxFiles;var withinLimit=files.slice(0,maxFiles);var exceeding=files.slice(maxFiles);var accepted=[];var rejected=exceeding.map(function(file){return{file:file,reason:"tooManyFiles"};});withinLimit.forEach(function(file){if(!isAcceptedType(file,accept)){rejected.push({file:file,reason:"invalidType"});return;}if(maxSize&&file.size>megabytesToBytes(maxSize)){rejected.push({file:file,reason:"tooLarge"});return;}accepted.push(file);});return{accepted:accepted,rejected:rejected};};var useDropzone=function useDropzone2(_ref3){var onDrop=_ref3.onDrop,_ref$onReject=_ref3.onReject,onReject=_ref$onReject===void 0?void 0:_ref$onReject,_ref$accept=_ref3.accept,accept=_ref$accept===void 0?void 0:_ref$accept,_ref$maxSize=_ref3.maxSize,maxSize=_ref$maxSize===void 0?void 0:_ref$maxSize,_ref$maxFiles=_ref3.maxFiles,maxFiles=_ref$maxFiles===void 0?1:_ref$maxFiles,_ref$disabled=_ref3.disabled,disabled2=_ref$disabled===void 0?false:_ref$disabled;var _useState=useState(false),_useState2=_slicedToArray$1(_useState,2),isDragActive=_useState2[0],setIsDragActive=_useState2[1];var dragDepth=useRef(0);var acceptAttribute=useMemo(function(){return buildAcceptAttribute(accept);},[accept]);var processFiles=useCallback(function(fileList){var files=Array.from(fileList!==null&&fileList!==void 0?fileList:[]);if(!files.length)return;var _partitionFiles=partitionFiles(files,{accept:accept,maxSize:maxSize,maxFiles:maxFiles}),accepted=_partitionFiles.accepted,rejected=_partitionFiles.rejected;if(rejected.length)onReject===null||onReject===void 0||onReject(rejected);if(accepted.length)onDrop(accepted);},[accept,maxSize,maxFiles,onDrop,onReject]);var handleDragEnter=useCallback(function(event){event.preventDefault();if(disabled2)return;dragDepth.current+=1;setIsDragActive(true);},[disabled2]);var handleDragOver=useCallback(function(event){event.preventDefault();},[]);var handleDragLeave=useCallback(function(event){event.preventDefault();dragDepth.current=Math.max(0,dragDepth.current-1);if(!dragDepth.current)setIsDragActive(false);},[]);var handleDrop=useCallback(function(event){var _event$dataTransfer$f,_event$dataTransfer;event.preventDefault();dragDepth.current=0;setIsDragActive(false);if(disabled2)return;processFiles((_event$dataTransfer$f=(_event$dataTransfer=event.dataTransfer)===null||_event$dataTransfer===void 0?void 0:_event$dataTransfer.files)!==null&&_event$dataTransfer$f!==void 0?_event$dataTransfer$f:null);},[disabled2,processFiles]);var handleInputChange2=useCallback(function(event){processFiles(event.target.files);event.target.value="";},[processFiles]);var dragHandlers=useMemo(function(){return{onDragEnter:handleDragEnter,onDragOver:handleDragOver,onDragLeave:handleDragLeave,onDrop:handleDrop};},[handleDragEnter,handleDragOver,handleDragLeave,handleDrop]);return{isDragActive:isDragActive,acceptAttribute:acceptAttribute,dragHandlers:dragHandlers,handleInputChange:handleInputChange2,isMultiple:maxFiles>1};};var _excluded$4=["onDrop","onReject","accept","maxSize","maxFiles","label","error","isLoading","loadingText","disabled","name"];var DropzoneBase=function DropzoneBase2(_ref3){var onDrop=_ref3.onDrop,_ref$onReject=_ref3.onReject,onReject=_ref$onReject===void 0?void 0:_ref$onReject,_ref$accept=_ref3.accept,accept=_ref$accept===void 0?void 0:_ref$accept,_ref$maxSize=_ref3.maxSize,maxSize=_ref$maxSize===void 0?void 0:_ref$maxSize,_ref$maxFiles=_ref3.maxFiles,maxFiles=_ref$maxFiles===void 0?1:_ref$maxFiles,_ref$label=_ref3.label,label2=_ref$label===void 0?void 0:_ref$label,_ref$error=_ref3.error,error2=_ref$error===void 0?void 0:_ref$error,_ref$isLoading=_ref3.isLoading,isLoading=_ref$isLoading===void 0?false:_ref$isLoading,_ref$loadingText=_ref3.loadingText,loadingText=_ref$loadingText===void 0?void 0:_ref$loadingText,_ref$disabled=_ref3.disabled,disabled2=_ref$disabled===void 0?false:_ref$disabled,_ref$name=_ref3.name,name2=_ref$name===void 0?void 0:_ref$name,props=_objectWithoutProperties$1(_ref3,_excluded$4);var generatedId=useId$2();var inputId=name2!==null&&name2!==void 0?name2:generatedId;var isDisabled=disabled2||isLoading;var _useDropzone=useDropzone({onDrop:onDrop,onReject:onReject,accept:accept,maxSize:maxSize,maxFiles:maxFiles,disabled:isDisabled}),isDragActive=_useDropzone.isDragActive,acceptAttribute=_useDropzone.acceptAttribute,dragHandlers=_useDropzone.dragHandlers,handleInputChange2=_useDropzone.handleInputChange,isMultiple=_useDropzone.isMultiple;return/* @__PURE__ */jsxs("div",{className:styles$2.dropzone,children:[!!label2&&/* @__PURE__ */jsx$1("label",{htmlFor:inputId,className:styles$2.label,children:label2}),/* @__PURE__ */jsx$1("input",_objectSpread2$1({id:inputId,name:name2,type:"file",className:styles$2.input,accept:acceptAttribute,multiple:isMultiple,disabled:isDisabled,"aria-describedby":error2?"".concat(inputId,"-error"):void 0,onChange:handleInputChange2},props)),/* @__PURE__ */jsx$1("label",_objectSpread2$1(_objectSpread2$1({htmlFor:inputId,"aria-busy":isLoading||void 0,className:clsx(styles$2.area,_defineProperty$2(_defineProperty$2(_defineProperty$2(_defineProperty$2({},styles$2["drag-active"],isDragActive&&!isDisabled),styles$2.loading,isLoading),styles$2.invalid,!!error2),styles$2.disabled,isDisabled))},dragHandlers),{},{children:isLoading?/* @__PURE__ */jsxs(Fragment$1,{children:[/* @__PURE__ */jsx$1(Spinner,{size:"sm"}),/* @__PURE__ */jsx$1("p",{className:styles$2.instructions,children:loadingText!==null&&loadingText!==void 0?loadingText:locale("dropzone.uploadingFile")})]}):/* @__PURE__ */jsxs(Fragment$1,{children:[/* @__PURE__ */jsx$1(CustomIcon,{size:"24",color:getColor("primary","500"),children:/* @__PURE__ */jsx$1(CloudUploadIcon,{"data-testid":"CloudUploadIcon"})}),/* @__PURE__ */jsxs("p",{className:styles$2.instructions,children:[locale("dropzone.dropFiles")," ",/* @__PURE__ */jsx$1("span",{className:styles$2.action,children:locale("dropzone.clickHere")})]}),!!maxSize&&/* @__PURE__ */jsx$1("span",{className:styles$2.hint,children:locale("dropzone.maxSize",{maxSize:maxSize})})]})})),!!error2&&/* @__PURE__ */jsx$1("span",{id:"".concat(inputId,"-error"),role:"alert",className:styles$2.error,children:error2})]});};var Dropzone=withDebugHandlers(DropzoneBase,"Dropzone");var baseKeys=_baseKeys,getTag=_getTag,isArrayLike=isArrayLike_1,isString=isString_1,stringSize=_stringSize;var mapTag="[object Map]",setTag="[object Set]";function size(collection){if(collection==null){return 0;}if(isArrayLike(collection)){return isString(collection)?stringSize(collection):collection.length;}var tag=getTag(collection);if(tag==mapTag||tag==setTag){return collection.size;}return baseKeys(collection).length;}var size_1=size;var size$1=/* @__PURE__ */getDefaultExportFromCjs(size_1);var CheckRoundedIcon=createSvgIcon(/* @__PURE__ */jsx$1("path",{d:"M9 16.17 5.53 12.7a.996.996 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41l4.18 4.18c.39.39 1.02.39 1.41 0L20.29 7.71c.39-.39.39-1.02 0-1.41a.996.996 0 0 0-1.41 0z"}),"CheckRounded");var stepper="stepper-module_stepper_gHKwd";var step="stepper-module_step_Azhew";var circle="stepper-module_circle_Bke9b";var circleNumber="stepper-module_circleNumber_B5iiB";var checkIcon="stepper-module_checkIcon_FBwCT";var completed="stepper-module_completed_v-jTa";var current="stepper-module_current_-39vJ";var pending="stepper-module_pending_HgdCr";var label="stepper-module_label_-YviU";var separator="stepper-module_separator_8n-wG";var styles$1={stepper:stepper,step:step,circle:circle,circleNumber:circleNumber,checkIcon:checkIcon,"stepper-check-in":"stepper-module_stepper-check-in_ebuuV",completed:completed,"stepper-pop":"stepper-module_stepper-pop_HEFCF",current:current,pending:pending,label:label,separator:separator};var _excluded$3=["label","status"],_excluded2$1=["steps","activeStep"];var resolveStatus=function resolveStatus2(index2,activeStep,explicitStatus){if(explicitStatus)return explicitStatus;if(index2<activeStep)return"completed";if(index2===activeStep)return"current";return"pending";};var StepCircle=function StepCircle2(_ref3){var status=_ref3.status,index2=_ref3.index;return/* @__PURE__ */jsx$1("span",{className:clsx(styles$1.circle,styles$1[status]),children:status==="completed"?/* @__PURE__ */jsx$1(CheckRoundedIcon,{"data-testid":"CheckRoundedIcon",className:styles$1.checkIcon}):/* @__PURE__ */jsx$1("span",{className:styles$1.circleNumber,children:index2+1})});};var StepItemComponent=function StepItemComponent2(_ref22){var step2=_ref22.step,index2=_ref22.index,isLast=_ref22.isLast,activeStep=_ref22.activeStep;var label2=step2.label,explicitStatus=step2.status,stepProps=_objectWithoutProperties$1(step2,_excluded$3);var status=resolveStatus(index2,activeStep,explicitStatus);return/* @__PURE__ */jsxs(Fragment$1,{children:[/* @__PURE__ */jsxs("div",_objectSpread2$1(_objectSpread2$1({className:clsx(styles$1.step,styles$1[status])},stepProps),{},{children:[/* @__PURE__ */jsx$1(StepCircle,{status:status,index:index2}),/* @__PURE__ */jsx$1("span",{className:styles$1.label,children:label2})]})),!isLast&&/* @__PURE__ */jsx$1("span",{className:clsx(styles$1.separator,status==="completed"&&styles$1.completed),"aria-hidden":"true"})]});};var Stepper=function Stepper2(_ref3){var steps=_ref3.steps,_ref3$activeStep=_ref3.activeStep,activeStep=_ref3$activeStep===void 0?0:_ref3$activeStep,otherProps=_objectWithoutProperties$1(_ref3,_excluded2$1);var total=size$1(steps);return/* @__PURE__ */jsx$1("nav",_objectSpread2$1(_objectSpread2$1({className:styles$1.stepper,"aria-label":"Stepper"},otherProps),{},{children:map$2(steps,function(step2,index2){return/* @__PURE__ */jsx$1(StepItemComponent,{step:step2,index:index2,activeStep:activeStep,isLast:index2===total-1},index2);})}));};var TableContext=/* @__PURE__ */createContext([]);var table="table-module_table_NUX-V";var styles={"table-wrapper":"table-module_table-wrapper_vhMx4",table:table,"header-row":"table-module_header-row_ry6Lv","body-row":"table-module_body-row_OMOX0","header-cell":"table-module_header-cell_0FEWz","body-cell":"table-module_body-cell_p4019","body-async":"table-module_body-async_21Z7L"};var _excluded$2=["data","isLoading","error","empty","success"];var TableBody=function TableBody2(_ref3){var data=_ref3.data,isLoading=_ref3.isLoading,error2=_ref3.error,empty=_ref3.empty,success2=_ref3.success,props=_objectWithoutProperties$1(_ref3,_excluded$2);var columns=useContext(TableContext);var showContent=!isLoading&&!(error2!==null&&error2!==void 0&&error2.value)&&!(success2!==null&&success2!==void 0&&success2.value)&&data.length>0;if(!showContent){return/* @__PURE__ */jsx$1("tbody",_objectSpread2$1(_objectSpread2$1({},props),{},{children:/* @__PURE__ */jsx$1("tr",{children:/* @__PURE__ */jsx$1("td",{colSpan:columns.length,className:styles["body-async"],children:/* @__PURE__ */jsx$1(AsyncContent,{isLoading:isLoading,error:error2,success:success2,empty:_objectSpread2$1(_objectSpread2$1({},empty),{},{items:data}),children:/* @__PURE__ */jsx$1(Fragment$1,{})})})})}));}return/* @__PURE__ */jsx$1("tbody",_objectSpread2$1(_objectSpread2$1({},props),{},{children:data.map(function(row,rowIndex){return/* @__PURE__ */jsx$1("tr",{className:styles["body-row"],children:columns.map(function(col){var value=row[col.key];return/* @__PURE__ */jsx$1(Box,{sx:col.sx,component:"td",className:styles["body-cell"],children:col.render?col.render(row,rowIndex):String(value!==null&&value!==void 0?value:"")},col.key);})},rowIndex);})}));};var _excluded$1=["columns"],_excluded2=["key","header","sx","render"];var TableHeader=function TableHeader2(_ref3){var columnsProp=_ref3.columns,props=_objectWithoutProperties$1(_ref3,_excluded$1);var contextColumns=useContext(TableContext);var columns=columnsProp!==null&&columnsProp!==void 0?columnsProp:contextColumns;return/* @__PURE__ */jsx$1("thead",_objectSpread2$1(_objectSpread2$1({},props),{},{children:/* @__PURE__ */jsx$1("tr",{className:styles["header-row"],children:columns.map(function(_ref22){var key=_ref22.key,header2=_ref22.header,sx=_ref22.sx;_ref22.render;var columnProps=_objectWithoutProperties$1(_ref22,_excluded2);return/* @__PURE__ */jsx$1(Box,_objectSpread2$1(_objectSpread2$1({sx:sx,component:"th",className:styles["header-cell"]},columnProps),{},{children:header2||/* @__PURE__ */jsx$1(Box,{component:"span",sx:visuallyHidden,children:key})}),key);})})}));};var _excluded=["columns","children","className"];var Table$1=function Table(_ref3){var columns=_ref3.columns,children=_ref3.children,className=_ref3.className,props=_objectWithoutProperties$1(_ref3,_excluded);return/* @__PURE__ */jsx$1(TableContext.Provider,{value:columns,children:/* @__PURE__ */jsx$1("div",_objectSpread2$1(_objectSpread2$1({className:clsx(styles["table-wrapper"],className)},props),{},{children:/* @__PURE__ */jsx$1("table",{className:styles.table,children:children})}))});};var Table2=Table$1;Table2.Header=TableHeader;Table2.Body=TableBody;var getProvider=function getProvider2(){if(typeof document!=="undefined"){var fromDocument=document.modelContext;if(fromDocument)return fromDocument;}if(typeof navigator!=="undefined"){return navigator.modelContext;}return void 0;};var useModelContextTool=function useModelContextTool2(_ref3){var name2=_ref3.name,description2=_ref3.description,inputSchema=_ref3.inputSchema,execute=_ref3.execute;var _ref22=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},_ref2$enabled=_ref22.enabled,enabled=_ref2$enabled===void 0?true:_ref2$enabled;var isSupported=getProvider()!==void 0;var executeRef=useRef(execute);var inputSchemaRef=useRef(inputSchema);var schemaKey=JSON.stringify(inputSchema);useEffect(function(){executeRef.current=execute;inputSchemaRef.current=inputSchema;});useEffect(function(){if(!enabled)return;var provider=getProvider();if(!provider)return;var controller=new AbortController();provider.registerTool({name:name2,description:description2,inputSchema:inputSchemaRef.current,execute:function execute2(args){return Promise.resolve(executeRef.current(args));}},{signal:controller.signal}).catch(function(error2){if(controller.signal.aborted)return;logWarning('useModelContextTool: could not register the tool "'.concat(name2,'" (').concat(String(error2),")"));});return function(){return controller.abort();};},[enabled,name2,description2,schemaKey]);return{isSupported:isSupported};};export{ActionBar,Alert,AsyncContent,Breadcrumb,Button$2 as Button,Card,Categories,CheckIcon,CheckboxInput as Checkbox,CheckboxInputGroup as CheckboxGroup,CheckboxInput,CheckboxInputGroup,Chip$1 as Chip,ClearComponent,ColorOptions,ColorValues,Colors,ConditionalOperator,CopyButton,CustomIcon,DatePicker2 as DatePicker,DatePickerInput,DateRangePicker,DateRangePickerInput,DraggableList,Dropdown,Dropzone,EmptyState,EmptyStateIcon,ErrorStateIcon,FileIcon,FileRow,FormField,GeneratingState,GeneratingStateIcon,HeaderSection,HelpArticleLink,IconWithIdentifier,Image,Link,LinkWithIcon,MailIcon,Maintenance,MaintenanceIcon,MenuAction,MenuItemComponent,Modal2 as Modal,ModalBody,ModalFooter,ModalTitle,NewStateIcon,Option$1 as Option,OverflowChecker,PermissionOption,PermissionSelector,PickChannelModal,PriceCloseIcon,PriceDownIcon,ProductecaIcon,Progressbar,SearchComponent,SearchPublication,Searcher,SelectField,Shades,AppSidebar as Sidebar,SingleValue2 as SingleValue,Spinner,Stepper,SuccessStateIcon,SwitchInput as Switch,SwitchInputGroup as SwitchGroup,SwitchInput,SwitchInputGroup,Table2 as Table,TableBody,TableHeader,Tabs2 as Tabs,TextInput,TrashIcon,VALUE_AND,VALUE_OR,WarningModal,WithOverflowTooltip,WithTooltip,allColors,configureLocale,datePickerDayStyles,datePickerDigitalClockStyles,datePickerInputStyles,datePickerLayoutStyles,datePickerPopperStyles,datePickerYearStyles,formatDate,getActiveLocale,getColor,isValidColor,useAutoloadProgress,useDropzone,useModelContextTool,useReduxFormField};
7164
+ */sx:PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func,PropTypes.object,PropTypes.bool])),PropTypes.func,PropTypes.object])}:void 0;var DragIndicator=createSvgIcon(/* @__PURE__ */jsx$1("path",{d:"M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2m-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"}),"DragIndicator");var DraggableRow=/* @__PURE__ */React__default.memo(function(_ref3){var item2=_ref3.item,isAdding=_ref3.isAdding,onRemove=_ref3.onRemove,canRemove=_ref3.canRemove,_ref$showRemoveAction=_ref3.showRemoveAction,showRemoveAction=_ref$showRemoveAction===void 0?true:_ref$showRemoveAction,component=_ref3.component,isRemoving=_ref3.isRemoving,onSelectValue=_ref3.onSelectValue,componentProps=_ref3.componentProps;var resolvedDisabled=Boolean(componentProps===null||componentProps===void 0?void 0:componentProps.disabled);var canRemoveItem=canRemove?canRemove(item2):true;var _useSortable=useSortable({id:item2.id,disabled:resolvedDisabled}),attributes=_useSortable.attributes,listeners=_useSortable.listeners,setActivatorNodeRef=_useSortable.setActivatorNodeRef,setNodeRef=_useSortable.setNodeRef,transform=_useSortable.transform,transition=_useSortable.transition,isDragging=_useSortable.isDragging;var _handleRemove=useCallback(function(){if(!canRemoveItem){return;}onRemove(item2.id);},[canRemoveItem,item2.id,onRemove]);var Component2=component;return/* @__PURE__ */jsxs(Paper,{ref:setNodeRef,className:clsx(styles$3["draggable-list--item"],_defineProperty$2(_defineProperty$2(_defineProperty$2({},styles$3["draggable-list--item--dragging"],isDragging),styles$3["draggable-list--item--adding"],isAdding),styles$3["draggable-list--item--removing"],isRemoving)),elevation:0,style:{transform:CSS$1.Transform.toString(transform),transition:transition},children:[/* @__PURE__ */jsx$1("span",_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({ref:setActivatorNodeRef,"aria-label":locale("a11y.reorder")},attributes),listeners),{},{children:/* @__PURE__ */jsx$1(CustomIcon,{size:"16",children:/* @__PURE__ */jsx$1(DragIndicator,{})})})),Component2?/* @__PURE__ */jsx$1(Component2,_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({},componentProps),item2),{},{item:item2,disabled:resolvedDisabled,onItemChange:function onItemChange(value){return onSelectValue(item2.id,value);}})):null,showRemoveAction&&/* @__PURE__ */jsx$1(CustomIcon,{size:"8",role:"button","aria-label":locale("a11y.remove"),onClick:_handleRemove,disabled:resolvedDisabled||!canRemoveItem,color:getColor("primary","500"),children:/* @__PURE__ */jsx$1(TrashIcon,{})})]});});DraggableRow.displayName="DraggableRow";var _excluded$5=["label","addLabel","onChange","canRemove","showRemoveAction","itemComponent","value","componentProps","input"];var ITEM_ID_PREFIX="draggable-item";var _isStringArray=function _isStringArray2(value){return Array.isArray(value)&&(value.length===0||typeof value[0]==="string");};var _normalizeToItems=function _normalizeToItems2(value){if(!Array.isArray(value)){return[];}if(_isStringArray(value)){return value.map(function(val,index2){return{id:"".concat(ITEM_ID_PREFIX,"-string-").concat(index2,"-").concat(val),value:val};});}return value;};var _buildItem=function _buildItem2(currentLength){return{id:"".concat(ITEM_ID_PREFIX,"-").concat(currentLength,"-").concat(Date.now()),value:""};};var DraggableListBase=function DraggableListBase2(_ref3){var _ref22,_input$value;var label2=_ref3.label,addLabel=_ref3.addLabel,_onChange=_ref3.onChange,canRemove=_ref3.canRemove,_ref$showRemoveAction=_ref3.showRemoveAction,showRemoveAction=_ref$showRemoveAction===void 0?true:_ref$showRemoveAction,itemComponent=_ref3.itemComponent,_ref$value=_ref3.value,controlledItems=_ref$value===void 0?[]:_ref$value,componentProps=_ref3.componentProps,input2=_ref3.input,props=_objectWithoutProperties$1(_ref3,_excluded$5);if(!itemComponent){return null;}var rawValue=(_ref22=(_input$value=input2===null||input2===void 0?void 0:input2.value)!==null&&_input$value!==void 0?_input$value:controlledItems)!==null&&_ref22!==void 0?_ref22:[];var resolvedItems=useMemo(function(){return _normalizeToItems(rawValue);},[rawValue]);var outputFormatRef=useRef(_isStringArray(rawValue)?"strings":"objects");var _useState=useState(resolvedItems),_useState2=_slicedToArray$1(_useState,2),items=_useState2[0],setItems=_useState2[1];var _useState3=useState(/* @__PURE__ */new Set()),_useState4=_slicedToArray$1(_useState3,2),addingItems=_useState4[0],setAddingItems=_useState4[1];var _useState5=useState(/* @__PURE__ */new Set()),_useState6=_slicedToArray$1(_useState5,2),removingItems=_useState6[0],setRemovingItems=_useState6[1];var sensors=useSensors(useSensor(PointerSensor));var itemIds=useMemo(function(){return items.map(function(item2){return item2.id;});},[items]);useEffect(function(){outputFormatRef.current=_isStringArray(rawValue)?"strings":"objects";setItems(resolvedItems);},[resolvedItems,rawValue]);var _valueToOutput=useCallback(function(nextItems){return outputFormatRef.current==="strings"?nextItems.map(function(item2){var _item$value;return(_item$value=item2.value)!==null&&_item$value!==void 0?_item$value:"";}):nextItems;},[]);var _useReduxFormField=useReduxFormField({input:input2,onChange:function onChange2(nextItems){var _ref32,_input$name;if(!_onChange){return;}var value=_valueToOutput(nextItems);var resolvedName=(_ref32=(_input$name=input2===null||input2===void 0?void 0:input2.name)!==null&&_input$name!==void 0?_input$name:componentProps===null||componentProps===void 0?void 0:componentProps.name)!==null&&_ref32!==void 0?_ref32:"draggableList";var event={target:{name:resolvedName,value:value}};_onChange(event);},transformValue:function transformValue(nextItems){return _valueToOutput(nextItems);}}),_handleItemsChange=_useReduxFormField.handleChange;var _syncItems=useCallback(function(updater){setItems(function(prev2){var next2=typeof updater==="function"?updater(prev2):updater;_handleItemsChange(next2);return next2;});},[_handleItemsChange]);var _handleRemove=useCallback(function(id){setRemovingItems(function(prev2){return new Set(prev2).add(id);});setTimeout(function(){_syncItems(function(prev2){return prev2.filter(function(item2){return item2.id!==id;});});setRemovingItems(function(prev2){var next2=new Set(prev2);next2.delete(id);return next2;});},300);},[_syncItems]);var _handleSelectValue=useCallback(function(id,value){_syncItems(function(prev2){return prev2.map(function(item2){return item2.id===id?_objectSpread2$1(_objectSpread2$1({},item2),{},{value:value}):item2;});});},[_syncItems]);var _handleAdd=useCallback(function(){_syncItems(function(prev2){var newItem=_buildItem(prev2.length);setAddingItems(function(adding){return new Set(adding).add(newItem.id);});setTimeout(function(){setAddingItems(function(adding){var next2=new Set(adding);next2.delete(newItem.id);return next2;});},300);return[].concat(_toConsumableArray$1(prev2),[newItem]);});},[_syncItems]);var _handleDragEnd=useCallback(function(event){var active2=event.active,over=event.over;if(!over||active2.id===over.id)return;_syncItems(function(prev2){var oldIndex=prev2.findIndex(function(item2){return item2.id===active2.id;});var newIndex=prev2.findIndex(function(item2){return item2.id===over.id;});if(oldIndex===-1||newIndex===-1){return prev2;}return arrayMove(prev2,oldIndex,newIndex);});},[_syncItems]);return/* @__PURE__ */jsxs("div",_objectSpread2$1(_objectSpread2$1({className:clsx(styles$3["draggable-list"])},props),{},{children:[label2&&/* @__PURE__ */jsx$1("div",{className:styles$3["draggable-list--label"],children:label2}),/* @__PURE__ */jsx$1(DndContext,{sensors:sensors,collisionDetection:closestCenter,onDragEnd:_handleDragEnd,children:/* @__PURE__ */jsx$1(SortableContext,{items:itemIds,strategy:verticalListSortingStrategy,children:items.map(function(item2){return/* @__PURE__ */jsx$1(DraggableRow,{item:item2,component:itemComponent,canRemove:canRemove,showRemoveAction:showRemoveAction,onRemove:_handleRemove,componentProps:componentProps,onSelectValue:_handleSelectValue,isAdding:addingItems.has(item2.id),isRemoving:removingItems.has(item2.id)},item2.id);})})}),/* @__PURE__ */jsx$1("div",{className:clsx(styles$3["draggable-list--add-button"]),children:/* @__PURE__ */jsx$1(Link,{href:"#",size:"sm",onClick:function onClick(event){event.preventDefault();_handleAdd();},children:addLabel||locale("addPlus")})})]}));};var DraggableList=withDebugHandlers(DraggableListBase,"DraggableList");var dropzone="dropzone-module_dropzone_s6uiA";var label$1="dropzone-module_label_LGKwn";var input="dropzone-module_input_W4Rty";var area="dropzone-module_area_24Xf3";var error="dropzone-module_error_c-jB-";var instructions="dropzone-module_instructions_Q21KZ";var action="dropzone-module_action_zulkw";var hint="dropzone-module_hint_aTyPQ";var loading="dropzone-module_loading_zmnqc";var invalid="dropzone-module_invalid_dnk8R";var disabled="dropzone-module_disabled_2ajiy";var styles$2={dropzone:dropzone,label:label$1,input:input,area:area,error:error,instructions:instructions,action:action,hint:hint,"drag-active":"dropzone-module_drag-active_f00v1",loading:loading,invalid:invalid,disabled:disabled};var CloudUploadIcon=createSvgIcon(/* @__PURE__ */jsx$1("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M14 13v4h-4v-4H7l5-5 5 5z"}),"CloudUpload");var fileTypes={PDF:{mime:"application/pdf",extensions:[".pdf"]},XML:{mime:"text/xml",extensions:[".xml"]},XLSX:{mime:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",extensions:[".xlsx"]},XLS:{mime:"application/vnd.ms-excel",extensions:[".xls"]},CSV:{mime:"text/csv",extensions:[".csv"]},PNG:{mime:"image/png",extensions:[".png"]},JPEG:{mime:"image/jpeg",extensions:[".jpeg",".jpg"]},IMAGE:{mime:"image/*",extensions:[]}};var megabytesToBytes=function megabytesToBytes2(megabytes){return megabytes*1024*1024;};var matchesMime=function matchesMime2(fileMime,acceptedMime){return acceptedMime.endsWith("/*")?fileMime.startsWith(acceptedMime.replace("/*","/")):fileMime===acceptedMime;};var matchesExtension=function matchesExtension2(fileName,extensions){return extensions.some(function(extension){return fileName.toLowerCase().endsWith(extension);});};var buildAcceptAttribute=function buildAcceptAttribute2(accept){if(!(accept!==null&&accept!==void 0&&accept.length))return void 0;var tokens=accept.reduce(function(current2,type){var definition=fileTypes[type];if(!definition)return current2;return current2.concat(definition.mime,definition.extensions);},[]);return Array.from(new Set(tokens)).join(",");};var isAcceptedType=function isAcceptedType2(file,accept){if(!(accept!==null&&accept!==void 0&&accept.length))return true;return accept.some(function(type){var definition=fileTypes[type];if(!definition)return false;return matchesMime(file.type,definition.mime)||matchesExtension(file.name,definition.extensions);});};var partitionFiles=function partitionFiles2(files,_ref3){var accept=_ref3.accept,maxSize=_ref3.maxSize,maxFiles=_ref3.maxFiles;var withinLimit=files.slice(0,maxFiles);var exceeding=files.slice(maxFiles);var accepted=[];var rejected=exceeding.map(function(file){return{file:file,reason:"tooManyFiles"};});withinLimit.forEach(function(file){if(!isAcceptedType(file,accept)){rejected.push({file:file,reason:"invalidType"});return;}if(maxSize&&file.size>megabytesToBytes(maxSize)){rejected.push({file:file,reason:"tooLarge"});return;}accepted.push(file);});return{accepted:accepted,rejected:rejected};};var useDropzone=function useDropzone2(_ref3){var onDrop=_ref3.onDrop,_ref$onReject=_ref3.onReject,onReject=_ref$onReject===void 0?void 0:_ref$onReject,_ref$accept=_ref3.accept,accept=_ref$accept===void 0?void 0:_ref$accept,_ref$maxSize=_ref3.maxSize,maxSize=_ref$maxSize===void 0?void 0:_ref$maxSize,_ref$maxFiles=_ref3.maxFiles,maxFiles=_ref$maxFiles===void 0?1:_ref$maxFiles,_ref$disabled=_ref3.disabled,disabled2=_ref$disabled===void 0?false:_ref$disabled;var _useState=useState(false),_useState2=_slicedToArray$1(_useState,2),isDragActive=_useState2[0],setIsDragActive=_useState2[1];var dragDepth=useRef(0);var acceptAttribute=useMemo(function(){return buildAcceptAttribute(accept);},[accept]);var processFiles=useCallback(function(fileList){var files=Array.from(fileList!==null&&fileList!==void 0?fileList:[]);if(!files.length)return;var _partitionFiles=partitionFiles(files,{accept:accept,maxSize:maxSize,maxFiles:maxFiles}),accepted=_partitionFiles.accepted,rejected=_partitionFiles.rejected;if(rejected.length)onReject===null||onReject===void 0||onReject(rejected);if(accepted.length)onDrop(accepted);},[accept,maxSize,maxFiles,onDrop,onReject]);var handleDragEnter=useCallback(function(event){event.preventDefault();if(disabled2)return;dragDepth.current+=1;setIsDragActive(true);},[disabled2]);var handleDragOver=useCallback(function(event){event.preventDefault();},[]);var handleDragLeave=useCallback(function(event){event.preventDefault();dragDepth.current=Math.max(0,dragDepth.current-1);if(!dragDepth.current)setIsDragActive(false);},[]);var handleDrop=useCallback(function(event){var _event$dataTransfer$f,_event$dataTransfer;event.preventDefault();dragDepth.current=0;setIsDragActive(false);if(disabled2)return;processFiles((_event$dataTransfer$f=(_event$dataTransfer=event.dataTransfer)===null||_event$dataTransfer===void 0?void 0:_event$dataTransfer.files)!==null&&_event$dataTransfer$f!==void 0?_event$dataTransfer$f:null);},[disabled2,processFiles]);var handleInputChange2=useCallback(function(event){processFiles(event.target.files);event.target.value="";},[processFiles]);var dragHandlers=useMemo(function(){return{onDragEnter:handleDragEnter,onDragOver:handleDragOver,onDragLeave:handleDragLeave,onDrop:handleDrop};},[handleDragEnter,handleDragOver,handleDragLeave,handleDrop]);return{isDragActive:isDragActive,acceptAttribute:acceptAttribute,dragHandlers:dragHandlers,handleInputChange:handleInputChange2,isMultiple:maxFiles>1};};var _excluded$4=["onDrop","onReject","accept","maxSize","maxFiles","label","error","isLoading","loadingText","disabled","name"];var DropzoneBase=function DropzoneBase2(_ref3){var onDrop=_ref3.onDrop,_ref$onReject=_ref3.onReject,onReject=_ref$onReject===void 0?void 0:_ref$onReject,_ref$accept=_ref3.accept,accept=_ref$accept===void 0?void 0:_ref$accept,_ref$maxSize=_ref3.maxSize,maxSize=_ref$maxSize===void 0?void 0:_ref$maxSize,_ref$maxFiles=_ref3.maxFiles,maxFiles=_ref$maxFiles===void 0?1:_ref$maxFiles,_ref$label=_ref3.label,label2=_ref$label===void 0?void 0:_ref$label,_ref$error=_ref3.error,error2=_ref$error===void 0?void 0:_ref$error,_ref$isLoading=_ref3.isLoading,isLoading=_ref$isLoading===void 0?false:_ref$isLoading,_ref$loadingText=_ref3.loadingText,loadingText=_ref$loadingText===void 0?void 0:_ref$loadingText,_ref$disabled=_ref3.disabled,disabled2=_ref$disabled===void 0?false:_ref$disabled,_ref$name=_ref3.name,name2=_ref$name===void 0?void 0:_ref$name,props=_objectWithoutProperties$1(_ref3,_excluded$4);var generatedId=useId$2();var inputId=name2!==null&&name2!==void 0?name2:generatedId;var isDisabled=disabled2||isLoading;var _useDropzone=useDropzone({onDrop:onDrop,onReject:onReject,accept:accept,maxSize:maxSize,maxFiles:maxFiles,disabled:isDisabled}),isDragActive=_useDropzone.isDragActive,acceptAttribute=_useDropzone.acceptAttribute,dragHandlers=_useDropzone.dragHandlers,handleInputChange2=_useDropzone.handleInputChange,isMultiple=_useDropzone.isMultiple;return/* @__PURE__ */jsxs("div",{className:styles$2.dropzone,children:[!!label2&&/* @__PURE__ */jsx$1("label",{htmlFor:inputId,className:styles$2.label,children:label2}),/* @__PURE__ */jsx$1("input",_objectSpread2$1({id:inputId,name:name2,type:"file",className:styles$2.input,accept:acceptAttribute,multiple:isMultiple,disabled:isDisabled,"aria-describedby":error2?"".concat(inputId,"-error"):void 0,onChange:handleInputChange2},props)),/* @__PURE__ */jsx$1("label",_objectSpread2$1(_objectSpread2$1({htmlFor:inputId,"aria-busy":isLoading||void 0,className:clsx(styles$2.area,_defineProperty$2(_defineProperty$2(_defineProperty$2(_defineProperty$2({},styles$2["drag-active"],isDragActive&&!isDisabled),styles$2.loading,isLoading),styles$2.invalid,!!error2),styles$2.disabled,isDisabled))},dragHandlers),{},{children:isLoading?/* @__PURE__ */jsxs(Fragment$1,{children:[/* @__PURE__ */jsx$1(Spinner,{size:"sm"}),/* @__PURE__ */jsx$1("p",{className:styles$2.instructions,children:loadingText!==null&&loadingText!==void 0?loadingText:locale("dropzone.uploadingFile")})]}):/* @__PURE__ */jsxs(Fragment$1,{children:[/* @__PURE__ */jsx$1(CustomIcon,{size:"24",color:getColor("primary","500"),children:/* @__PURE__ */jsx$1(CloudUploadIcon,{"data-testid":"CloudUploadIcon"})}),/* @__PURE__ */jsxs("p",{className:styles$2.instructions,children:[locale("dropzone.dropFiles")," ",/* @__PURE__ */jsx$1("span",{className:styles$2.action,children:locale("dropzone.clickHere")})]}),!!maxSize&&/* @__PURE__ */jsx$1("span",{className:styles$2.hint,children:locale("dropzone.maxSize",{maxSize:maxSize})})]})})),!!error2&&/* @__PURE__ */jsx$1("span",{id:"".concat(inputId,"-error"),role:"alert",className:styles$2.error,children:error2})]});};var Dropzone=withDebugHandlers(DropzoneBase,"Dropzone");var baseKeys=_baseKeys,getTag=_getTag,isArrayLike=isArrayLike_1,isString=isString_1,stringSize=_stringSize;var mapTag="[object Map]",setTag="[object Set]";function size(collection){if(collection==null){return 0;}if(isArrayLike(collection)){return isString(collection)?stringSize(collection):collection.length;}var tag=getTag(collection);if(tag==mapTag||tag==setTag){return collection.size;}return baseKeys(collection).length;}var size_1=size;var size$1=/* @__PURE__ */getDefaultExportFromCjs(size_1);var CheckRoundedIcon=createSvgIcon(/* @__PURE__ */jsx$1("path",{d:"M9 16.17 5.53 12.7a.996.996 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41l4.18 4.18c.39.39 1.02.39 1.41 0L20.29 7.71c.39-.39.39-1.02 0-1.41a.996.996 0 0 0-1.41 0z"}),"CheckRounded");var stepper="stepper-module_stepper_gHKwd";var step="stepper-module_step_Azhew";var circle="stepper-module_circle_Bke9b";var circleNumber="stepper-module_circleNumber_B5iiB";var checkIcon="stepper-module_checkIcon_FBwCT";var completed="stepper-module_completed_v-jTa";var current="stepper-module_current_-39vJ";var pending="stepper-module_pending_HgdCr";var label="stepper-module_label_-YviU";var separator="stepper-module_separator_8n-wG";var styles$1={stepper:stepper,step:step,circle:circle,circleNumber:circleNumber,checkIcon:checkIcon,"stepper-check-in":"stepper-module_stepper-check-in_ebuuV",completed:completed,"stepper-pop":"stepper-module_stepper-pop_HEFCF",current:current,pending:pending,label:label,separator:separator};var _excluded$3=["label","status"],_excluded2$1=["steps","activeStep"];var resolveStatus=function resolveStatus2(index2,activeStep,explicitStatus){if(explicitStatus)return explicitStatus;if(index2<activeStep)return"completed";if(index2===activeStep)return"current";return"pending";};var StepCircle=function StepCircle2(_ref3){var status=_ref3.status,index2=_ref3.index;return/* @__PURE__ */jsx$1("span",{className:clsx(styles$1.circle,styles$1[status]),children:status==="completed"?/* @__PURE__ */jsx$1(CheckRoundedIcon,{"data-testid":"CheckRoundedIcon",className:styles$1.checkIcon}):/* @__PURE__ */jsx$1("span",{className:styles$1.circleNumber,children:index2+1})});};var StepItemComponent=function StepItemComponent2(_ref22){var step2=_ref22.step,index2=_ref22.index,isLast=_ref22.isLast,activeStep=_ref22.activeStep;var label2=step2.label,explicitStatus=step2.status,stepProps=_objectWithoutProperties$1(step2,_excluded$3);var status=resolveStatus(index2,activeStep,explicitStatus);return/* @__PURE__ */jsxs(Fragment$1,{children:[/* @__PURE__ */jsxs("div",_objectSpread2$1(_objectSpread2$1({className:clsx(styles$1.step,styles$1[status])},stepProps),{},{children:[/* @__PURE__ */jsx$1(StepCircle,{status:status,index:index2}),/* @__PURE__ */jsx$1("span",{className:styles$1.label,children:label2})]})),!isLast&&/* @__PURE__ */jsx$1("span",{className:clsx(styles$1.separator,status==="completed"&&styles$1.completed),"aria-hidden":"true"})]});};var Stepper=function Stepper2(_ref3){var steps=_ref3.steps,_ref3$activeStep=_ref3.activeStep,activeStep=_ref3$activeStep===void 0?0:_ref3$activeStep,otherProps=_objectWithoutProperties$1(_ref3,_excluded2$1);var total=size$1(steps);return/* @__PURE__ */jsx$1("nav",_objectSpread2$1(_objectSpread2$1({className:styles$1.stepper,"aria-label":"Stepper"},otherProps),{},{children:map$2(steps,function(step2,index2){return/* @__PURE__ */jsx$1(StepItemComponent,{step:step2,index:index2,activeStep:activeStep,isLast:index2===total-1},index2);})}));};var TableContext=/* @__PURE__ */createContext([]);var table="table-module_table_NUX-V";var styles={"table-wrapper":"table-module_table-wrapper_vhMx4",table:table,"header-row":"table-module_header-row_ry6Lv","body-row":"table-module_body-row_OMOX0","header-cell":"table-module_header-cell_0FEWz","body-cell":"table-module_body-cell_p4019","body-async":"table-module_body-async_21Z7L"};var _excluded$2=["data","isLoading","error","empty","success"];var TableBody=function TableBody2(_ref3){var data=_ref3.data,isLoading=_ref3.isLoading,error2=_ref3.error,empty=_ref3.empty,success2=_ref3.success,props=_objectWithoutProperties$1(_ref3,_excluded$2);var columns=useContext(TableContext);var showContent=!isLoading&&!(error2!==null&&error2!==void 0&&error2.value)&&!(success2!==null&&success2!==void 0&&success2.value)&&data.length>0;if(!showContent){return/* @__PURE__ */jsx$1("tbody",_objectSpread2$1(_objectSpread2$1({},props),{},{children:/* @__PURE__ */jsx$1("tr",{children:/* @__PURE__ */jsx$1("td",{colSpan:columns.length,className:styles["body-async"],children:/* @__PURE__ */jsx$1(AsyncContent,{isLoading:isLoading,error:error2,success:success2,empty:_objectSpread2$1(_objectSpread2$1({},empty),{},{items:data}),children:/* @__PURE__ */jsx$1(Fragment$1,{})})})})}));}return/* @__PURE__ */jsx$1("tbody",_objectSpread2$1(_objectSpread2$1({},props),{},{children:data.map(function(row,rowIndex){return/* @__PURE__ */jsx$1("tr",{className:styles["body-row"],children:columns.map(function(col){var value=row[col.key];return/* @__PURE__ */jsx$1(Box,{sx:col.sx,component:"td",className:styles["body-cell"],children:col.render?col.render(row,rowIndex):String(value!==null&&value!==void 0?value:"")},col.key);})},rowIndex);})}));};var _excluded$1=["columns"],_excluded2=["key","header","sx","render"];var TableHeader=function TableHeader2(_ref3){var columnsProp=_ref3.columns,props=_objectWithoutProperties$1(_ref3,_excluded$1);var contextColumns=useContext(TableContext);var columns=columnsProp!==null&&columnsProp!==void 0?columnsProp:contextColumns;return/* @__PURE__ */jsx$1("thead",_objectSpread2$1(_objectSpread2$1({},props),{},{children:/* @__PURE__ */jsx$1("tr",{className:styles["header-row"],children:columns.map(function(_ref22){var key=_ref22.key,header2=_ref22.header,sx=_ref22.sx;_ref22.render;var columnProps=_objectWithoutProperties$1(_ref22,_excluded2);return/* @__PURE__ */jsx$1(Box,_objectSpread2$1(_objectSpread2$1({sx:sx,component:"th",className:styles["header-cell"]},columnProps),{},{children:header2||/* @__PURE__ */jsx$1(Box,{component:"span",sx:visuallyHidden,children:key})}),key);})})}));};var _excluded=["columns","children","className"];var Table$1=function Table(_ref3){var columns=_ref3.columns,children=_ref3.children,className=_ref3.className,props=_objectWithoutProperties$1(_ref3,_excluded);return/* @__PURE__ */jsx$1(TableContext.Provider,{value:columns,children:/* @__PURE__ */jsx$1("div",_objectSpread2$1(_objectSpread2$1({className:clsx(styles["table-wrapper"],className)},props),{},{children:/* @__PURE__ */jsx$1("table",{className:styles.table,children:children})}))});};var Table2=Table$1;Table2.Header=TableHeader;Table2.Body=TableBody;var getProvider=function getProvider2(){if(typeof document!=="undefined"){var fromDocument=document.modelContext;if(fromDocument)return fromDocument;}if(typeof navigator!=="undefined"){return navigator.modelContext;}return void 0;};var useModelContextTool=function useModelContextTool2(_ref3){var name2=_ref3.name,title2=_ref3.title,description2=_ref3.description,inputSchema=_ref3.inputSchema,annotations=_ref3.annotations,execute=_ref3.execute;var _ref22=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},_ref2$enabled=_ref22.enabled,enabled=_ref2$enabled===void 0?true:_ref2$enabled;var isSupported=getProvider()!==void 0;var executeRef=useRef(execute);var inputSchemaRef=useRef(inputSchema);var annotationsRef=useRef(annotations);var schemaKey=JSON.stringify(inputSchema);var annotationsKey=JSON.stringify(annotations);useEffect(function(){executeRef.current=execute;inputSchemaRef.current=inputSchema;annotationsRef.current=annotations;});useEffect(function(){if(!enabled)return;var provider=getProvider();if(!provider)return;var controller=new AbortController();provider.registerTool(_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({name:name2},title2!==void 0&&{title:title2}),{},{description:description2,inputSchema:inputSchemaRef.current},annotationsRef.current!==void 0&&{annotations:annotationsRef.current}),{},{execute:function execute2(args){return Promise.resolve(executeRef.current(args));}}),{signal:controller.signal}).catch(function(error2){if(controller.signal.aborted)return;logWarning('useModelContextTool: could not register the tool "'.concat(name2,'" (').concat(String(error2),")"));});return function(){return controller.abort();};},[enabled,name2,title2,description2,schemaKey,annotationsKey]);return{isSupported:isSupported};};export{ActionBar,Alert,AsyncContent,Breadcrumb,Button$2 as Button,Card,Categories,CheckIcon,CheckboxInput as Checkbox,CheckboxInputGroup as CheckboxGroup,CheckboxInput,CheckboxInputGroup,Chip$1 as Chip,ClearComponent,ColorOptions,ColorValues,Colors,ConditionalOperator,CopyButton,CustomIcon,DatePicker2 as DatePicker,DatePickerInput,DateRangePicker,DateRangePickerInput,DraggableList,Dropdown,Dropzone,EmptyState,EmptyStateIcon,ErrorStateIcon,FileIcon,FileRow,FormField,GeneratingState,GeneratingStateIcon,HeaderSection,HelpArticleLink,IconWithIdentifier,Image,Link,LinkWithIcon,MailIcon,Maintenance,MaintenanceIcon,MenuAction,MenuItemComponent,Modal2 as Modal,ModalBody,ModalFooter,ModalTitle,NewStateIcon,Option$1 as Option,OverflowChecker,PermissionOption,PermissionSelector,PickChannelModal,PriceCloseIcon,PriceDownIcon,ProductecaIcon,Progressbar,SearchComponent,SearchPublication,Searcher,SelectField,Shades,AppSidebar as Sidebar,SingleValue2 as SingleValue,Spinner,Stepper,SuccessStateIcon,SwitchInput as Switch,SwitchInputGroup as SwitchGroup,SwitchInput,SwitchInputGroup,Table2 as Table,TableBody,TableHeader,Tabs2 as Tabs,TextInput,TrashIcon,VALUE_AND,VALUE_OR,WarningModal,WithOverflowTooltip,WithTooltip,allColors,configureLocale,datePickerDayStyles,datePickerDigitalClockStyles,datePickerInputStyles,datePickerLayoutStyles,datePickerPopperStyles,datePickerYearStyles,formatDate,getActiveLocale,getColor,isValidColor,useAutoloadProgress,useDropzone,useModelContextTool,useReduxFormField};
@@ -36,4 +36,4 @@ var n=null!=(a=Wl[_c2])?a:(Zl[0]=_c2,Zl),o=e[_c2];El(l,e.theme,o,function(e,t){v
36
36
  Licensed under the MIT License (MIT), see
37
37
  http://jedwatson.github.io/classnames
38
38
  */!function(e){!function(){var t={}.hasOwnProperty;function n(){for(var e=[],o=0;o<arguments.length;o++){var r=arguments[o];if(r){var a=_typeof(r);if("string"===a||"number"===a)e.push(r);else if(Array.isArray(r)){if(r.length){var i=n.apply(null,r);i&&e.push(i);}}else if("object"===a){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){e.push(r.toString());continue;}for(var s in r)t.call(r,s)&&r[s]&&e.push(s);}}}return e.join(" ");}e.exports?(n.default=n,e.exports=n):window.classNames=n;}();}(e1);var t1,n1,o1,r1,a1,i1,s1,l1,c1,u1,d1,p1,f1,m1,h1=e1.exports,g1=n.createContext(void 0),b1="ps-sidebar-root",v1="ps-sidebar-container",y1="ps-sidebar-image",x1="ps-sidebar-backdrop",w1="ps-collapsed",C1="ps-toggled",S1="ps-rtl",k1="ps-broken",O1="ps-menu-root",I1="ps-menuitem-root",M1="ps-submenu-root",T1="ps-menu-button",E1="ps-menu-prefix",D1="ps-menu-suffix",N1="ps-menu-label",P1="ps-menu-icon",j1="ps-submenu-content",R1="ps-submenu-expand-icon",A1="ps-disabled",L1="ps-active",V1="ps-open",F1=Q0.div(t1||(t1=IK(["\n position: fixed;\n top: 0px;\n right: 0px;\n bottom: 0px;\n left: 0px;\n z-index: 1;\n background-color: rgb(0, 0, 0, 0.3);\n"],["\n position: fixed;\n top: 0px;\n right: 0px;\n bottom: 0px;\n left: 0px;\n z-index: 1;\n background-color: rgb(0, 0, 0, 0.3);\n"]))),_1={xs:"480px",sm:"576px",md:"768px",lg:"992px",xl:"1200px",xxl:"1600px",always:"always",all:"all"},B1=Q0.aside(n1||(n1=IK(["\n position: relative;\n border-right-width: 1px;\n border-right-style: solid;\n border-color: #efefef;\n\n transition: ",";\n\n width: ",";\n min-width: ",";\n\n &."," {\n width: ",";\n min-width: ",";\n }\n\n &."," {\n direction: rtl;\n border-right-width: none;\n border-left-width: 1px;\n border-right-style: none;\n border-left-style: solid;\n }\n\n &."," {\n position: fixed;\n height: 100%;\n top: 0px;\n z-index: 100;\n\n ","\n\n &."," {\n ","\n }\n\n &."," {\n ","\n }\n\n &."," {\n right: -",";\n\n &."," {\n right: -",";\n }\n\n &."," {\n right: 0;\n }\n }\n }\n\n ","\n"],["\n position: relative;\n border-right-width: 1px;\n border-right-style: solid;\n border-color: #efefef;\n\n transition: ",";\n\n width: ",";\n min-width: ",";\n\n &."," {\n width: ",";\n min-width: ",";\n }\n\n &."," {\n direction: rtl;\n border-right-width: none;\n border-left-width: 1px;\n border-right-style: none;\n border-left-style: solid;\n }\n\n &."," {\n position: fixed;\n height: 100%;\n top: 0px;\n z-index: 100;\n\n ","\n\n &."," {\n ","\n }\n\n &."," {\n ","\n }\n\n &."," {\n right: -",";\n\n &."," {\n right: -",";\n }\n\n &."," {\n right: 0;\n }\n }\n }\n\n ","\n"])),function(e){var t=e.transitionDuration;return"width, left, right, ".concat(t,"ms");},function(e){return e.width;},function(e){return e.width;},w1,function(e){return e.collapsedWidth;},function(e){return e.collapsedWidth;},S1,k1,function(e){var t=e.rtl,n=e.width;return t?"":"left: -".concat(n,";");},w1,function(e){var t=e.rtl,n=e.collapsedWidth;return t?"":"left: -".concat(n,"; ");},C1,function(e){return e.rtl?"":"left: 0;";},S1,function(e){return e.width;},w1,function(e){return e.collapsedWidth;},C1,function(e){return e.rootStyles;}),W1=Q0.div(o1||(o1=IK(["\n position: relative;\n height: 100%;\n overflow-y: auto;\n overflow-x: hidden;\n z-index: 3;\n\n ","\n"],["\n position: relative;\n height: 100%;\n overflow-y: auto;\n overflow-x: hidden;\n z-index: 3;\n\n ","\n"])),function(e){var t=e.backgroundColor;return t?"background-color:".concat(t,";"):"";}),z1=Q0.img(r1||(r1=IK(["\n &."," {\n width: 100%;\n height: 100%;\n object-fit: cover;\n object-position: center;\n position: absolute;\n left: 0;\n top: 0;\n z-index: 2;\n }\n"],["\n &."," {\n width: 100%;\n height: 100%;\n object-fit: cover;\n object-position: center;\n position: absolute;\n left: 0;\n top: 0;\n z-index: 2;\n }\n"])),y1),H1=n.createContext({collapsed:!1,toggled:!1,rtl:!1,transitionDuration:300}),$1=n.forwardRef(function(e,t){var o,r=e.collapsed,a=e.toggled,i=e.onBackdropClick,s=e.onBreakPoint,l=e.width,c=void 0===l?"250px":l,u=e.collapsedWidth,d=void 0===u?"80px":u,p=e.defaultCollapsed,f=e.className,m=e.children,h=e.breakPoint,g=e.customBreakPoint,b=e.backgroundColor,v=void 0===b?"rgb(249, 249, 249, 0.7)":b,y=e.transitionDuration,x=void 0===y?300:y,w=e.image,C=e.rtl,S=e.rootStyles,k=OK(e,["collapsed","toggled","onBackdropClick","onBreakPoint","width","collapsedWidth","defaultCollapsed","className","children","breakPoint","customBreakPoint","backgroundColor","transitionDuration","image","rtl","rootStyles"]),O=n.useRef();O.current=function(e){null==s||s(e);};var I=function(e){var t=n.useState(!!e&&"undefined"!=typeof window&&window.matchMedia(e).matches),o=t[0],r=t[1];return n.useEffect(function(){if(e){var t=window.matchMedia(e),n=function n(){t.matches!==o&&r(t.matches);};return n(),t.addEventListener("change",n),function(){return t.removeEventListener("change",n);};}},[o,e]),o;}(g?"(max-width: ".concat(g,")"):h?["xs","sm","md","lg","xl","xxl"].includes(h)?"(max-width: ".concat(_1[h],")"):"always"===h||"all"===h?("always"===h&&console.warn('The "always" breakPoint is deprecated and will be removed in future release. Please use the "all" breakPoint instead.'),"screen"):"(max-width: ".concat(h,")"):void 0),M=n.useState(!1),T=M[0],E=M[1],D=n.useContext(g1),N=null!=r?r:!(T||!p)||(null==D?void 0:D.collapsed),P=null!=a?a:null==D?void 0:D.toggled,j=function j(){null==i||i(),null==D||D.updateSidebarState({toggled:!1});};return n.useEffect(function(){var e;null===(e=O.current)||void 0===e||e.call(O,I);},[I]),n.useEffect(function(){null==D||D.updateSidebarState({broken:I,rtl:C,transitionDuration:x});},[I,null==D?void 0:D.updateSidebarState,C,x]),n.useEffect(function(){T||(null==D||D.updateSidebarState({collapsed:p}),E(!0));},[p,T,null==D?void 0:D.updateSidebarState]),n.createElement(H1.Provider,{value:{collapsed:N,toggled:P,rtl:C,transitionDuration:x}},n.createElement(B1,_kK({ref:t,"data-testid":"".concat(b1,"-test-id"),rtl:C,rootStyles:S,width:c,collapsedWidth:d,transitionDuration:x,className:h1(b1,(o={},o[w1]=N,o[C1]=P,o[k1]=I,o[S1]=C,o),f)},k),n.createElement(W1,{"data-testid":"".concat(v1,"-test-id"),className:v1,backgroundColor:v},m),w&&n.createElement(z1,{"data-testid":"".concat(y1,"-test-id"),src:w,alt:"sidebar background",className:y1}),I&&P&&n.createElement(F1,{"data-testid":"".concat(x1,"-test-id"),role:"button",tabIndex:0,"aria-label":"backdrop",onClick:j,onKeyPress:j,className:x1})));}),G1=Q0.ul(a1||(a1=IK(["\n list-style-type: none;\n padding: 0;\n margin: 0;\n"],["\n list-style-type: none;\n padding: 0;\n margin: 0;\n"]))),Y1=Q0.nav(i1||(i1=IK(["\n &."," {\n ","\n }\n"],["\n &."," {\n ","\n }\n"])),O1,function(e){return e.rootStyles;}),X1=n.createContext(void 0),Z1=n.createContext(0),U1=n.forwardRef(function(e,t){var o=e.children,r=e.className,a=e.transitionDuration,i=void 0===a?300:a,s=e.closeOnClick,l=void 0!==s&&s,c=e.rootStyles,u=e.menuItemStyles,d=e.renderExpandIcon,p=OK(e,["children","className","transitionDuration","closeOnClick","rootStyles","menuItemStyles","renderExpandIcon"]),f=n.useMemo(function(){return{transitionDuration:i,closeOnClick:l,menuItemStyles:u,renderExpandIcon:d};},[i,l,u,d]);return n.createElement(X1.Provider,{value:f},n.createElement(Z1.Provider,{value:0},n.createElement(Y1,_kK({ref:t,className:h1(O1,r),rootStyles:c},p),n.createElement(G1,null,o))));}),q1=function q1(){var e=n.useContext(X1);if(void 0===e)throw new Error("Menu Component is required!");return e;},J1=Q0.div(s1||(s1=IK(["\n height: 0px;\n overflow: hidden;\n z-index: 999;\n transition: height ","ms;\n box-sizing: border-box;\n background-color: white;\n\n ","\n\n ","\n\n ",";\n\n ",";\n"],["\n height: 0px;\n overflow: hidden;\n z-index: 999;\n transition: height ","ms;\n box-sizing: border-box;\n background-color: white;\n\n ","\n\n ","\n\n ",";\n\n ",";\n"])),function(e){return e.transitionDuration;},function(e){var t=e.firstLevel,n=e.collapsed;return t&&n&&"\n background-color: white;\n box-shadow: 0 3px 6px -4px #0000001f, 0 6px 16px #00000014, 0 9px 28px 8px #0000000d;\n ";},function(e){return e.defaultOpen&&"height: auto;display: block;";},function(e){var t=e.collapsed,n=e.firstLevel,o=e.openWhenCollapsed;return t&&n?"\n position: fixed;\n padding-left: 0px;\n width: 200px;\n border-radius: 4px;\n height: auto!important;\n display: block!important; \n transition: none!important; \n visibility: ".concat(o?"visible":"hidden",";\n "):"\n position: static!important;\n transform: none!important;\n ";},function(e){return e.rootStyles;}),K1=n.forwardRef(function(e,t){var o=e.children,r=e.open,a=e.openWhenCollapsed,i=e.firstLevel,s=e.collapsed,l=e.defaultOpen,c=OK(e,["children","open","openWhenCollapsed","firstLevel","collapsed","defaultOpen"]),u=q1().transitionDuration,d=n.useState(l)[0];return n.createElement(J1,_kK({"data-testid":"".concat(j1,"-test-id"),ref:t,firstLevel:i,collapsed:s,open:r,openWhenCollapsed:a,transitionDuration:u,defaultOpen:d},c),n.createElement(G1,null,o));}),Q1=Q0.span(l1||(l1=IK(["\n flex-grow: 1;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n\n ",";\n"],["\n flex-grow: 1;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n\n ",";\n"])),function(e){return e.rootStyles;}),e2=Q0.span(c1||(c1=IK(["\n width: 35px;\n min-width: 35px;\n height: 35px;\n line-height: 35px;\n text-align: center;\n display: inline-block;\n border-radius: 2px;\n display: flex;\n align-items: center;\n justify-content: center;\n\n ","\n\n ",";\n"],["\n width: 35px;\n min-width: 35px;\n height: 35px;\n line-height: 35px;\n text-align: center;\n display: inline-block;\n border-radius: 2px;\n display: flex;\n align-items: center;\n justify-content: center;\n\n ","\n\n ",";\n"])),function(e){return e.rtl?"margin-left: 10px;":"margin-right: 10px;";},function(e){return e.rootStyles;}),t2=Q0.span(u1||(u1=IK(["\n ","\n opacity: ",";\n transition: opacity ","ms;\n\n ",";\n"],["\n ","\n opacity: ",";\n transition: opacity ","ms;\n\n ",";\n"])),function(e){return e.rtl?"margin-left: 5px;":"margin-right: 5px;";},function(e){var t=e.firstLevel,n=e.collapsed;return t&&n?"0":"1";},function(e){return e.transitionDuration;},function(e){return e.rootStyles;}),n2=Q0.span(d1||(d1=IK(["\n margin-right: 5px;\n margin-left: 5px;\n opacity: ",";\n transition: opacity ","ms;\n\n ",";\n"],["\n margin-right: 5px;\n margin-left: 5px;\n opacity: ",";\n transition: opacity ","ms;\n\n ",";\n"])),function(e){var t=e.firstLevel,n=e.collapsed;return t&&n?"0":"1";},function(e){return e.transitionDuration;},function(e){return e.rootStyles;}),o2=Q0.span(p1||(p1=IK(["\n ","\n\n ",";\n"],["\n ","\n\n ",";\n"])),function(e){var t=e.collapsed,n=e.level,o=e.rtl;return t&&0===n&&"\n position: absolute;\n ".concat(o?"left: 10px;":"right: 10px;","\n top: 50%;\n transform: translateY(-50%);\n \n ");},function(e){return e.rootStyles;}),r2=Q0.span(f1||(f1=IK(["\n display: inline-block;\n transition: transform 0.3s;\n ","\n\n width: 5px;\n height: 5px;\n transform: rotate(",");\n"],["\n display: inline-block;\n transition: transform 0.3s;\n ","\n\n width: 5px;\n height: 5px;\n transform: rotate(",");\n"])),function(e){return e.rtl?"\n border-left: 2px solid currentcolor;\n border-top: 2px solid currentcolor;\n ":" border-right: 2px solid currentcolor;\n border-bottom: 2px solid currentcolor;\n ";},function(e){var t=e.open,n=e.rtl;return t?n?"-135deg":"45deg":"-45deg";}),a2=Q0.span(m1||(m1=IK(["\n width: 5px;\n height: 5px;\n background-color: currentcolor;\n border-radius: 50%;\n display: inline-block;\n"],["\n width: 5px;\n height: 5px;\n background-color: currentcolor;\n border-radius: 50%;\n display: inline-block;\n"]))),i2="top",s2="bottom",l2="right",c2="left",u2="auto",d2=[i2,s2,l2,c2],p2="start",f2="end",m2="viewport",h2="popper",g2=d2.reduce(function(e,t){return e.concat([t+"-"+p2,t+"-"+f2]);},[]),b2=[].concat(d2,[u2]).reduce(function(e,t){return e.concat([t,t+"-"+p2,t+"-"+f2]);},[]),v2=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function y2(e){return e?(e.nodeName||"").toLowerCase():null;}function x2(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window;}return e;}function w2(e){return e instanceof x2(e).Element||e instanceof Element;}function C2(e){return e instanceof x2(e).HTMLElement||e instanceof HTMLElement;}function S2(e){return"undefined"!=typeof ShadowRoot&&(e instanceof x2(e).ShadowRoot||e instanceof ShadowRoot);}var k2={name:"applyStyles",enabled:!0,phase:"write",fn:function fn(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},o=t.attributes[e]||{},r=t.elements[e];C2(r)&&y2(r)&&(Object.assign(r.style,n),Object.keys(o).forEach(function(e){var t=o[e];!1===t?r.removeAttribute(e):r.setAttribute(e,!0===t?"":t);}));});},effect:function effect(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var o=t.elements[e],r=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e;},{});C2(o)&&y2(o)&&(Object.assign(o.style,a),Object.keys(r).forEach(function(e){o.removeAttribute(e);}));});};},requires:["computeStyles"]};function O2(e){return e.split("-")[0];}var I2=Math.max,M2=Math.min,T2=Math.round;function E2(){var e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map(function(e){return e.brand+"/"+e.version;}).join(" "):navigator.userAgent;}function D2(){return!/^((?!chrome|android).)*safari/i.test(E2());}function N2(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var o=e.getBoundingClientRect(),r=1,a=1;t&&C2(e)&&(r=e.offsetWidth>0&&T2(o.width)/e.offsetWidth||1,a=e.offsetHeight>0&&T2(o.height)/e.offsetHeight||1);var i=(w2(e)?x2(e):window).visualViewport,s=!D2()&&n,l=(o.left+(s&&i?i.offsetLeft:0))/r,c=(o.top+(s&&i?i.offsetTop:0))/a,u=o.width/r,d=o.height/a;return{width:u,height:d,top:c,right:l+u,bottom:c+d,left:l,x:l,y:c};}function P2(e){var t=N2(e),n=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:o};}function j2(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&S2(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host;}while(o);}return!1;}function R2(e){return x2(e).getComputedStyle(e);}function A2(e){return["table","td","th"].indexOf(y2(e))>=0;}function L2(e){return((w2(e)?e.ownerDocument:e.document)||window.document).documentElement;}function V2(e){return"html"===y2(e)?e:e.assignedSlot||e.parentNode||(S2(e)?e.host:null)||L2(e);}function F2(e){return C2(e)&&"fixed"!==R2(e).position?e.offsetParent:null;}function _2(e){for(var t=x2(e),n=F2(e);n&&A2(n)&&"static"===R2(n).position;)n=F2(n);return n&&("html"===y2(n)||"body"===y2(n)&&"static"===R2(n).position)?t:n||function(e){var t=/firefox/i.test(E2());if(/Trident/i.test(E2())&&C2(e)&&"fixed"===R2(e).position)return null;var n=V2(e);for(S2(n)&&(n=n.host);C2(n)&&["html","body"].indexOf(y2(n))<0;){var o=R2(n);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||t&&"filter"===o.willChange||t&&o.filter&&"none"!==o.filter)return n;n=n.parentNode;}return null;}(e)||t;}function B2(e){return["top","bottom"].indexOf(e)>=0?"x":"y";}function W2(e,t,n){return I2(e,M2(t,n));}function z2(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e);}function H2(e,t){return t.reduce(function(t,n){return t[n]=e,t;},{});}function $2(e){return e.split("-")[1];}var G2={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Y2(e){var t,n=e.popper,o=e.popperRect,r=e.placement,a=e.variation,i=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,p=i.x,f=void 0===p?0:p,m=i.y,h=void 0===m?0:m,g="function"==typeof u?u({x:f,y:h}):{x:f,y:h};f=g.x,h=g.y;var b=i.hasOwnProperty("x"),v=i.hasOwnProperty("y"),y=c2,x=i2,w=window;if(c){var C=_2(n),S="clientHeight",k="clientWidth";if(C===x2(n)&&"static"!==R2(C=L2(n)).position&&"absolute"===s&&(S="scrollHeight",k="scrollWidth"),r===i2||(r===c2||r===l2)&&a===f2)x=s2,h-=(d&&C===w&&w.visualViewport?w.visualViewport.height:C[S])-o.height,h*=l?1:-1;if(r===c2||(r===i2||r===s2)&&a===f2)y=l2,f-=(d&&C===w&&w.visualViewport?w.visualViewport.width:C[k])-o.width,f*=l?1:-1;}var O,I=Object.assign({position:s},c&&G2),M=!0===u?function(e){var t=e.x,n=e.y,o=window.devicePixelRatio||1;return{x:T2(t*o)/o||0,y:T2(n*o)/o||0};}({x:f,y:h}):{x:f,y:h};return f=M.x,h=M.y,l?Object.assign({},I,((O={})[x]=v?"0":"",O[y]=b?"0":"",O.transform=(w.devicePixelRatio||1)<=1?"translate("+f+"px, "+h+"px)":"translate3d("+f+"px, "+h+"px, 0)",O)):Object.assign({},I,((t={})[x]=v?h+"px":"",t[y]=b?f+"px":"",t.transform="",t));}var X2={passive:!0};var Z2={left:"right",right:"left",bottom:"top",top:"bottom"};function U2(e){return e.replace(/left|right|bottom|top/g,function(e){return Z2[e];});}var q2={start:"end",end:"start"};function J2(e){return e.replace(/start|end/g,function(e){return q2[e];});}function K2(e){var t=x2(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset};}function Q2(e){return N2(L2(e)).left+K2(e).scrollLeft;}function e5(e){var t=R2(e),n=t.overflow,o=t.overflowX,r=t.overflowY;return /auto|scroll|overlay|hidden/.test(n+r+o);}function t5(e){return["html","body","#document"].indexOf(y2(e))>=0?e.ownerDocument.body:C2(e)&&e5(e)?e:t5(V2(e));}function n5(e,t){var n;void 0===t&&(t=[]);var o=t5(e),r=o===(null==(n=e.ownerDocument)?void 0:n.body),a=x2(o),i=r?[a].concat(a.visualViewport||[],e5(o)?o:[]):o,s=t.concat(i);return r?s:s.concat(n5(V2(i)));}function o5(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height});}function r5(e,t,n){return t===m2?o5(function(e,t){var n=x2(e),o=L2(e),r=n.visualViewport,a=o.clientWidth,i=o.clientHeight,s=0,l=0;if(r){a=r.width,i=r.height;var c=D2();(c||!c&&"fixed"===t)&&(s=r.offsetLeft,l=r.offsetTop);}return{width:a,height:i,x:s+Q2(e),y:l};}(e,n)):w2(t)?function(e,t){var n=N2(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n;}(t,n):o5(function(e){var t,n=L2(e),o=K2(e),r=null==(t=e.ownerDocument)?void 0:t.body,a=I2(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),i=I2(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),s=-o.scrollLeft+Q2(e),l=-o.scrollTop;return"rtl"===R2(r||n).direction&&(s+=I2(n.clientWidth,r?r.clientWidth:0)-a),{width:a,height:i,x:s,y:l};}(L2(e)));}function a5(e,t,n,o){var r="clippingParents"===t?function(e){var t=n5(V2(e)),n=["absolute","fixed"].indexOf(R2(e).position)>=0&&C2(e)?_2(e):e;return w2(n)?t.filter(function(e){return w2(e)&&j2(e,n)&&"body"!==y2(e);}):[];}(e):[].concat(t),a=[].concat(r,[n]),i=a[0],s=a.reduce(function(t,n){var r=r5(e,n,o);return t.top=I2(r.top,t.top),t.right=M2(r.right,t.right),t.bottom=M2(r.bottom,t.bottom),t.left=I2(r.left,t.left),t;},r5(e,i,o));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s;}function i5(e){var t,n=e.reference,o=e.element,r=e.placement,a=r?O2(r):null,i=r?$2(r):null,s=n.x+n.width/2-o.width/2,l=n.y+n.height/2-o.height/2;switch(a){case i2:t={x:s,y:n.y-o.height};break;case s2:t={x:s,y:n.y+n.height};break;case l2:t={x:n.x+n.width,y:l};break;case c2:t={x:n.x-o.width,y:l};break;default:t={x:n.x,y:n.y};}var c=a?B2(a):null;if(null!=c){var u="y"===c?"height":"width";switch(i){case p2:t[c]=t[c]-(n[u]/2-o[u]/2);break;case f2:t[c]=t[c]+(n[u]/2-o[u]/2);}}return t;}function s5(e,t){void 0===t&&(t={});var n=t,o=n.placement,r=void 0===o?e.placement:o,a=n.strategy,i=void 0===a?e.strategy:a,s=n.boundary,l=void 0===s?"clippingParents":s,c=n.rootBoundary,u=void 0===c?m2:c,d=n.elementContext,p=void 0===d?h2:d,f=n.altBoundary,m=void 0!==f&&f,h=n.padding,g=void 0===h?0:h,b=z2("number"!=typeof g?g:H2(g,d2)),v=p===h2?"reference":h2,y=e.rects.popper,x=e.elements[m?v:p],w=a5(w2(x)?x:x.contextElement||L2(e.elements.popper),l,u,i),C=N2(e.elements.reference),S=i5({reference:C,element:y,placement:r}),k=o5(Object.assign({},y,S)),O=p===h2?k:C,I={top:w.top-O.top+b.top,bottom:O.bottom-w.bottom+b.bottom,left:w.left-O.left+b.left,right:O.right-w.right+b.right},M=e.modifiersData.offset;if(p===h2&&M){var T=M[r];Object.keys(I).forEach(function(e){var t=[l2,s2].indexOf(e)>=0?1:-1,n=[i2,s2].indexOf(e)>=0?"y":"x";I[e]+=T[n]*t;});}return I;}function l5(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x};}function c5(e){return[i2,l2,s2,c2].some(function(t){return e[t]>=0;});}function u5(e,t,n){void 0===n&&(n=!1);var o,r,a=C2(t),i=C2(t)&&function(e){var t=e.getBoundingClientRect(),n=T2(t.width)/e.offsetWidth||1,o=T2(t.height)/e.offsetHeight||1;return 1!==n||1!==o;}(t),s=L2(t),l=N2(e,i,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(a||!a&&!n)&&(("body"!==y2(t)||e5(s))&&(c=(o=t)!==x2(o)&&C2(o)?{scrollLeft:(r=o).scrollLeft,scrollTop:r.scrollTop}:K2(o)),C2(t)?((u=N2(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):s&&(u.x=Q2(s))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height};}function d5(e){var t=new Map(),n=new Set(),o=[];function r(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!n.has(e)){var o=t.get(e);o&&r(o);}}),o.push(e);}return e.forEach(function(e){t.set(e.name,e);}),e.forEach(function(e){n.has(e.name)||r(e);}),o;}function p5(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return[].concat(n).reduce(function(e,t){return e.replace(/%s/,t);},e);}var f5='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',m5=["name","enabled","phase","fn","effect","requires","options"];var h5="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",g5={placement:"bottom",modifiers:[],strategy:"absolute"};function b5(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect);});}function v5(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,o=void 0===n?[]:n,r=t.defaultOptions,a=void 0===r?g5:r;return function(e,t,n){void 0===n&&(n=a);var r,i,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},g5,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,u={state:s,setOptions:function setOptions(n){var r="function"==typeof n?n(s.options):n;d(),s.options=Object.assign({},a,s.options,r),s.scrollParents={reference:w2(e)?n5(e):e.contextElement?n5(e.contextElement):[],popper:n5(t)};var i,c,p,f=function(e){var t=d5(e);return v2.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n;}));},[]);}(function(e){var t=e.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e;},{});return Object.keys(t).map(function(e){return t[e];});}([].concat(o,s.options.modifiers)));if(s.orderedModifiers=f.filter(function(e){return e.enabled;}),"production"!==process.env.NODE_ENV){if(function(e){e.forEach(function(t){[].concat(Object.keys(t),m5).filter(function(e,t,n){return n.indexOf(e)===t;}).forEach(function(n){switch(n){case"name":"string"!=typeof t.name&&console.error(p5(f5,String(t.name),'"name"','"string"','"'+String(t.name)+'"'));break;case"enabled":"boolean"!=typeof t.enabled&&console.error(p5(f5,t.name,'"enabled"','"boolean"','"'+String(t.enabled)+'"'));break;case"phase":v2.indexOf(t.phase)<0&&console.error(p5(f5,t.name,'"phase"',"either "+v2.join(", "),'"'+String(t.phase)+'"'));break;case"fn":"function"!=typeof t.fn&&console.error(p5(f5,t.name,'"fn"','"function"','"'+String(t.fn)+'"'));break;case"effect":null!=t.effect&&"function"!=typeof t.effect&&console.error(p5(f5,t.name,'"effect"','"function"','"'+String(t.fn)+'"'));break;case"requires":null==t.requires||Array.isArray(t.requires)||console.error(p5(f5,t.name,'"requires"','"array"','"'+String(t.requires)+'"'));break;case"requiresIfExists":Array.isArray(t.requiresIfExists)||console.error(p5(f5,t.name,'"requiresIfExists"','"array"','"'+String(t.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+t.name+'" modifier, valid properties are '+m5.map(function(e){return'"'+e+'"';}).join(", ")+'; but "'+n+'" was provided.');}t.requires&&t.requires.forEach(function(n){null==e.find(function(e){return e.name===n;})&&console.error(p5('Popper: modifier "%s" requires "%s", but "%s" modifier is not available',String(t.name),n,n));});});});}((i=[].concat(f,s.options.modifiers),c=function c(e){return e.name;},p=new Set(),i.filter(function(e){var t=c(e);if(!p.has(t))return p.add(t),!0;}))),O2(s.options.placement)===u2)s.orderedModifiers.find(function(e){return"flip"===e.name;})||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" "));var m=R2(t);[m.marginTop,m.marginRight,m.marginBottom,m.marginLeft].some(function(e){return parseFloat(e);})&&console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" "));}return s.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,o=void 0===n?{}:n,r=e.effect;if("function"==typeof r){var a=r({state:s,name:t,instance:u,options:o}),i=function i(){};l.push(a||i);}}),u.update();},forceUpdate:function forceUpdate(){if(!c){var e=s.elements,t=e.reference,n=e.popper;if(b5(t,n)){s.rects={reference:u5(t,_2(n),"fixed"===s.options.strategy),popper:P2(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach(function(e){return s.modifiersData[e.name]=Object.assign({},e.data);});for(var o=0,r=0;r<s.orderedModifiers.length;r++){if("production"!==process.env.NODE_ENV&&(o+=1)>100){console.error("Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.");break;}if(!0!==s.reset){var a=s.orderedModifiers[r],i=a.fn,l=a.options,d=void 0===l?{}:l,p=a.name;"function"==typeof i&&(s=i({state:s,options:d,name:p,instance:u})||s);}else s.reset=!1,r=-1;}}else"production"!==process.env.NODE_ENV&&console.error(h5);}},update:(r=function r(){return new Promise(function(e){u.forceUpdate(),e(s);});},function(){return i||(i=new Promise(function(e){Promise.resolve().then(function(){i=void 0,e(r());});})),i;}),destroy:function destroy(){d(),c=!0;}};if(!b5(e,t))return"production"!==process.env.NODE_ENV&&console.error(h5),u;function d(){l.forEach(function(e){return e();}),l=[];}return u.setOptions(n).then(function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e);}),u;};}var y5,x5=v5({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function fn(){},effect:function effect(e){var t=e.state,n=e.instance,o=e.options,r=o.scroll,a=void 0===r||r,i=o.resize,s=void 0===i||i,l=x2(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach(function(e){e.addEventListener("scroll",n.update,X2);}),s&&l.addEventListener("resize",n.update,X2),function(){a&&c.forEach(function(e){e.removeEventListener("scroll",n.update,X2);}),s&&l.removeEventListener("resize",n.update,X2);};},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function fn(e){var t=e.state,n=e.name;t.modifiersData[n]=i5({reference:t.rects.reference,element:t.rects.popper,placement:t.placement});},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function fn(e){var t=e.state,n=e.options,o=n.gpuAcceleration,r=void 0===o||o,a=n.adaptive,i=void 0===a||a,s=n.roundOffsets,l=void 0===s||s;if("production"!==process.env.NODE_ENV){var c=R2(t.elements.popper).transitionProperty||"";i&&["transform","top","right","bottom","left"].some(function(e){return c.indexOf(e)>=0;})&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',"\n\n",'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.","\n\n","We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "));}var u={placement:O2(t.placement),variation:$2(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Y2(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Y2(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement});},data:{}},k2,{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function fn(e){var t=e.state,n=e.options,o=e.name,r=n.offset,a=void 0===r?[0,0]:r,i=b2.reduce(function(e,n){return e[n]=function(e,t,n){var o=O2(e),r=[c2,i2].indexOf(o)>=0?-1:1,a="function"==typeof n?n(Object.assign({},t,{placement:e})):n,i=a[0],s=a[1];return i=i||0,s=(s||0)*r,[c2,l2].indexOf(o)>=0?{x:s,y:i}:{x:i,y:s};}(n,t.rects,a),e;},{}),s=i[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[o]=i;}},{name:"flip",enabled:!0,phase:"main",fn:function fn(e){var t=e.state,n=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var r=n.mainAxis,a=void 0===r||r,i=n.altAxis,s=void 0===i||i,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,p=n.altBoundary,f=n.flipVariations,m=void 0===f||f,h=n.allowedAutoPlacements,g=t.options.placement,b=O2(g),v=l||(b===g||!m?[U2(g)]:function(e){if(O2(e)===u2)return[];var t=U2(e);return[J2(e),t,J2(t)];}(g)),y=[g].concat(v).reduce(function(e,n){return e.concat(O2(n)===u2?function(e,t){void 0===t&&(t={});var n=t,o=n.placement,r=n.boundary,a=n.rootBoundary,i=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?b2:l,u=$2(o),d=u?s?g2:g2.filter(function(e){return $2(e)===u;}):d2,p=d.filter(function(e){return c.indexOf(e)>=0;});0===p.length&&(p=d,"production"!==process.env.NODE_ENV&&console.error(["Popper: The `allowedAutoPlacements` option did not allow any","placements. Ensure the `placement` option matches the variation","of the allowed placements.",'For example, "auto" cannot be used to allow "bottom-start".','Use "auto-start" instead.'].join(" ")));var f=p.reduce(function(t,n){return t[n]=s5(e,{placement:n,boundary:r,rootBoundary:a,padding:i})[O2(n)],t;},{});return Object.keys(f).sort(function(e,t){return f[e]-f[t];});}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:m,allowedAutoPlacements:h}):n);},[]),x=t.rects.reference,w=t.rects.popper,C=new Map(),S=!0,k=y[0],O=0;O<y.length;O++){var I=y[O],M=O2(I),T=$2(I)===p2,E=[i2,s2].indexOf(M)>=0,D=E?"width":"height",N=s5(t,{placement:I,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),P=E?T?l2:c2:T?s2:i2;x[D]>w[D]&&(P=U2(P));var j=U2(P),R=[];if(a&&R.push(N[M]<=0),s&&R.push(N[P]<=0,N[j]<=0),R.every(function(e){return e;})){k=I,S=!1;break;}C.set(I,R);}if(S)for(var A=function A(e){var t=y.find(function(t){var n=C.get(t);if(n)return n.slice(0,e).every(function(e){return e;});});if(t)return k=t,"break";},L=m?3:1;L>0;L--){if("break"===A(L))break;}t.placement!==k&&(t.modifiersData[o]._skip=!0,t.placement=k,t.reset=!0);}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function fn(e){var t=e.state,n=e.options,o=e.name,r=n.mainAxis,a=void 0===r||r,i=n.altAxis,s=void 0!==i&&i,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,p=n.tether,f=void 0===p||p,m=n.tetherOffset,h=void 0===m?0:m,g=s5(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),b=O2(t.placement),v=$2(t.placement),y=!v,x=B2(b),w="x"===x?"y":"x",C=t.modifiersData.popperOffsets,S=t.rects.reference,k=t.rects.popper,O="function"==typeof h?h(Object.assign({},t.rects,{placement:t.placement})):h,I="number"==typeof O?{mainAxis:O,altAxis:O}:Object.assign({mainAxis:0,altAxis:0},O),M=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,T={x:0,y:0};if(C){if(a){var E,D="y"===x?i2:c2,N="y"===x?s2:l2,P="y"===x?"height":"width",j=C[x],R=j+g[D],A=j-g[N],L=f?-k[P]/2:0,V=v===p2?S[P]:k[P],F=v===p2?-k[P]:-S[P],_=t.elements.arrow,B=f&&_?P2(_):{width:0,height:0},W=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},z=W[D],H=W[N],$=W2(0,S[P],B[P]),G=y?S[P]/2-L-$-z-I.mainAxis:V-$-z-I.mainAxis,Y=y?-S[P]/2+L+$+H+I.mainAxis:F+$+H+I.mainAxis,X=t.elements.arrow&&_2(t.elements.arrow),Z=X?"y"===x?X.clientTop||0:X.clientLeft||0:0,U=null!=(E=null==M?void 0:M[x])?E:0,q=j+Y-U,J=W2(f?M2(R,j+G-U-Z):R,j,f?I2(A,q):A);C[x]=J,T[x]=J-j;}if(s){var K,Q="x"===x?i2:c2,ee="x"===x?s2:l2,te=C[w],ne="y"===w?"height":"width",oe=te+g[Q],re=te-g[ee],ae=-1!==[i2,c2].indexOf(b),ie=null!=(K=null==M?void 0:M[w])?K:0,se=ae?oe:te-S[ne]-k[ne]-ie+I.altAxis,le=ae?te+S[ne]+k[ne]-ie-I.altAxis:re,ce=f&&ae?(de=W2(se,te,ue=le))>ue?ue:de:W2(f?se:oe,te,f?le:re);C[w]=ce,T[w]=ce-te;}var ue,de;t.modifiersData[o]=T;}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function fn(e){var t,n=e.state,o=e.name,r=e.options,a=n.elements.arrow,i=n.modifiersData.popperOffsets,s=O2(n.placement),l=B2(s),c=[c2,l2].indexOf(s)>=0?"height":"width";if(a&&i){var u=function(e,t){return z2("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:H2(e,d2));}(r.padding,n),d=P2(a),p="y"===l?i2:c2,f="y"===l?s2:l2,m=n.rects.reference[c]+n.rects.reference[l]-i[l]-n.rects.popper[c],h=i[l]-n.rects.reference[l],g=_2(a),b=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,v=m/2-h/2,y=u[p],x=b-d[c]-u[f],w=b/2-d[c]/2+v,C=W2(y,w,x),S=l;n.modifiersData[o]=((t={})[S]=C,t.centerOffset=C-w,t);}},effect:function effect(e){var t=e.state,n=e.options.element,o=void 0===n?"[data-popper-arrow]":n;null!=o&&("string"!=typeof o||(o=t.elements.popper.querySelector(o)))&&("production"!==process.env.NODE_ENV&&(C2(o)||console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).',"To use an SVG arrow, wrap it in an HTMLElement that will be used as","the arrow."].join(" "))),j2(t.elements.popper,o)?t.elements.arrow=o:"production"!==process.env.NODE_ENV&&console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper',"element."].join(" ")));},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function fn(e){var t=e.state,n=e.name,o=t.rects.reference,r=t.rects.popper,a=t.modifiersData.preventOverflow,i=s5(t,{elementContext:"reference"}),s=s5(t,{altBoundary:!0}),l=l5(i,o),c=l5(s,r,a),u=c5(l),d=c5(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d});}}]}),w5=function w5(e){var t=e.rtl,n=e.level,o=e.collapsed,r=e.disabled,a=e.active;return"\n display: flex;\n align-items: center;\n height: 50px;\n text-decoration: none;\n color: inherit;\n box-sizing: border-box;\n cursor: pointer;\n\n ".concat(t?"padding-left: 20px;\n padding-right: ".concat(0===n?20:20*(o?n:n+1),"px;\n "):"padding-right: 20px;\n padding-left: ".concat(0===n?20:20*(o?n:n+1),"px;\n "),"\n\n &:hover {\n background-color: #f3f3f3;\n }\n\n ").concat(r&&" \n pointer-events: none;\n cursor: default;\n color:#adadad;\n ","\n\n ").concat(a&&"background-color: #e2eef9;","\n \n ");},C5=n.forwardRef(function(e,t){var o=e.className,r=e.component,a=e.children,i=OK(e,["className","component","children"]);if(r){if("string"==typeof r)return n.createElement(r,_kK(_kK({className:h1(o)},i),{ref:t}),a);var s=r.props,l=s.className,c=OK(s,["className"]);return n.cloneElement(r,_kK(_kK(_kK({className:h1(o,l)},i),c),{ref:t}),a);}return n.createElement("a",_kK({ref:t,className:h1(o)},i),a);}),S5=Q0.li(y5||(y5=IK(["\n position: relative;\n width: 100%;\n\n ",";\n\n ",";\n\n > ."," {\n ",";\n\n ",";\n }\n"],["\n position: relative;\n width: 100%;\n\n ",";\n\n ",";\n\n > ."," {\n ",";\n\n ",";\n }\n"])),function(e){return e.menuItemStyles;},function(e){return e.rootStyles;},T1,function(e){var t=e.level,n=e.disabled,o=e.active,r=e.collapsed,a=e.rtl;return w5({level:t,disabled:n,active:o,collapsed:r,rtl:a});},function(e){return e.buttonStyles;});n.forwardRef(function(e,t){var o,r=e.children,a=e.className,i=e.label,s=e.icon,l=e.title,c=e.prefix,u=e.suffix,d=e.open,p=e.defaultOpen,f=e.active,m=void 0!==f&&f,h=e.disabled,g=void 0!==h&&h,b=e.rootStyles,v=e.component,y=e.onOpenChange,x=e.onClick,w=e.onKeyUp,C=OK(e,["children","className","label","icon","title","prefix","suffix","open","defaultOpen","active","disabled","rootStyles","component","onOpenChange","onClick","onKeyUp"]),S=n.useContext(Z1),k=n.useContext(H1),O=k.collapsed,I=k.rtl,M=k.transitionDuration,T=q1(),E=T.renderExpandIcon,D=T.closeOnClick,N=T.menuItemStyles,P=T.transitionDuration,j=n.useState(!!p),R=j[0],A=j[1],L=n.useState(!1),V=L[0],F=L[1],_=n.useState(!1),B=_[0],W=_[1],z=n.useRef(null),H=n.useRef(null),$=n.useRef(),G=function(e){var t=e.level,o=e.buttonRef,r=e.contentRef,a=n.useContext(H1),i=a.collapsed,s=a.toggled,l=a.transitionDuration,c=n.useRef();return n.useEffect(function(){return 0===t&&i&&r.current&&o.current&&(c.current=x5(o.current,r.current,{placement:"right",strategy:"fixed",modifiers:[{name:"offset",options:{offset:[0,5]}}]})),function(){var e;return null===(e=c.current)||void 0===e?void 0:e.destroy();};},[t,i,r,o]),n.useEffect(function(){if(r.current&&o.current){var e=new ResizeObserver(function(){var e;null===(e=c.current)||void 0===e||e.update();});e.observe(r.current),e.observe(o.current);}setTimeout(function(){var e;null===(e=c.current)||void 0===e||e.update();},l);},[l,s,r,o]),{popperInstance:c.current};}({level:S,buttonRef:z,contentRef:H}).popperInstance,Y=n.useCallback(function(){var e,t=H.current;if(t){var n=null===(e=null==t?void 0:t.querySelector(".".concat(j1," > ul")))||void 0===e?void 0:e.clientHeight;t.style.overflow="hidden",t.style.height="".concat(n,"px"),$.current=setTimeout(function(){t.style.overflow="auto",t.style.height="auto";},P);}},[P]),X=function X(){var e,t=H.current;if(t){var n=null===(e=null==t?void 0:t.querySelector(".".concat(j1," > ul")))||void 0===e?void 0:e.clientHeight;t.style.overflow="hidden",t.style.height="".concat(n,"px"),t.offsetHeight,t.style.height="0px";}},Z=function Z(){0===S&&O||(void 0===d?(clearTimeout(Number($.current)),R?X():Y(),null==y||y(!R),A(!R)):null==y||y(!d));};n.useEffect(function(){0===S&&O||void 0===d||!B||(clearTimeout(Number($.current)),d?Y():X());},[O,Y,i,S,y,d]);var U=function U(e){if(N){var t={level:S,disabled:g,active:m,isSubmenu:!0,open:null!=d?d:R},n=N.root,o=N.button,r=N.label,a=N.icon,i=N.prefix,s=N.suffix,l=N.subMenuContent,c=N.SubMenuExpandIcon;switch(e){case"root":return"function"==typeof n?n(t):n;case"button":return"function"==typeof o?o(t):o;case"label":return"function"==typeof r?r(t):r;case"icon":return"function"==typeof a?a(t):a;case"prefix":return"function"==typeof i?i(t):i;case"suffix":return"function"==typeof s?s(t):s;case"SubMenuExpandIcon":return"function"==typeof c?c(t):c;case"subMenuContent":return"function"==typeof l?l(t):l;default:return;}}};n.useEffect(function(){setTimeout(function(){return null==G?void 0:G.update();},M),O&&0===S&&F(!1);},[O,S,I,M,G]),n.useEffect(function(){var e=function e(_e129){var t,n,o;!V&&(null===(t=z.current)||void 0===t?void 0:t.contains(_e129))?F(!0):(D&&!(null===(n=_e129.closest(".".concat(I1)))||void 0===n?void 0:n.classList.contains(M1))||!(null===(o=H.current)||void 0===o?void 0:o.contains(_e129))&&V)&&F(!1);},t=function t(_t161){e(_t161.target);},n=function n(t){"Enter"===t.key?e(t.target):"Escape"===t.key&&F(!1);},o=function o(){document.removeEventListener("click",t),document.removeEventListener("keyup",n);};return o(),O&&0===S&&(document.addEventListener("click",t,!1),document.addEventListener("keyup",n,!1)),function(){o();};},[O,S,D,V]),n.useEffect(function(){W(!0);},[]);var q=((o={})[L1]=m,o[A1]=g,o[V1]=null!=d?d:R,o);return n.createElement(S5,{ref:t,className:h1(I1,M1,q,a),menuItemStyles:U("root"),level:S,collapsed:O,rtl:I,disabled:g,active:m,buttonStyles:U("button"),rootStyles:b},n.createElement(C5,_kK({"data-testid":"".concat(T1,"-test-id"),ref:z,title:l,className:h1(T1,q),onClick:function onClick(e){null==x||x(e),Z();},onKeyUp:function onKeyUp(e){null==w||w(e),"Enter"===e.key&&Z();},component:v,tabIndex:0},C),s&&n.createElement(e2,{rtl:I,className:h1(P1,q),rootStyles:U("icon")},s),c&&n.createElement(t2,{collapsed:O,transitionDuration:M,firstLevel:0===S,className:h1(E1,q),rtl:I,rootStyles:U("prefix")},c),n.createElement(Q1,{className:h1(N1,q),rootStyles:U("label")},i),u&&n.createElement(n2,{collapsed:O,transitionDuration:M,firstLevel:0===S,className:h1(D1,q),rootStyles:U("suffix")},u),n.createElement(o2,{rtl:I,className:h1(R1,q),collapsed:O,level:S,rootStyles:U("SubMenuExpandIcon")},E?E({level:S,disabled:g,active:m,open:null!=d?d:R}):O&&0===S?n.createElement(a2,null):n.createElement(r2,{rtl:I,open:null!=d?d:R}))),n.createElement(K1,{ref:H,openWhenCollapsed:V,open:null!=d?d:R,firstLevel:0===S,collapsed:O,defaultOpen:d&&!B||p,className:h1(j1,q),rootStyles:U("subMenuContent")},n.createElement(Z1.Provider,{value:S+1},r)));});var k5,O5=Q0.li(k5||(k5=IK(["\n width: 100%;\n position: relative;\n\n ",";\n\n ",";\n\n > ."," {\n ",";\n\n ",";\n }\n"],["\n width: 100%;\n position: relative;\n\n ",";\n\n ",";\n\n > ."," {\n ",";\n\n ",";\n }\n"])),function(e){return e.menuItemStyles;},function(e){return e.rootStyles;},T1,function(e){var t=e.level,n=e.disabled,o=e.active,r=e.collapsed,a=e.rtl;return w5({level:t,disabled:n,active:o,collapsed:r,rtl:a});},function(e){return e.buttonStyles;}),I5=n.forwardRef(function(e,t){var o,r=e.children,a=e.icon,i=e.className,s=e.prefix,l=e.suffix,c=e.active,u=void 0!==c&&c,d=e.disabled,p=void 0!==d&&d,f=e.component,m=e.rootStyles,h=OK(e,["children","icon","className","prefix","suffix","active","disabled","component","rootStyles"]),g=n.useContext(Z1),b=n.useContext(H1),v=b.collapsed,y=b.rtl,x=b.transitionDuration,w=q1().menuItemStyles,C=function C(e){if(w){var t={level:g,disabled:p,active:u,isSubmenu:!1},n=w.root,o=w.button,r=w.label,a=w.icon,i=w.prefix,s=w.suffix;switch(e){case"root":return"function"==typeof n?n(t):n;case"button":return"function"==typeof o?o(t):o;case"label":return"function"==typeof r?r(t):r;case"icon":return"function"==typeof a?a(t):a;case"prefix":return"function"==typeof i?i(t):i;case"suffix":return"function"==typeof s?s(t):s;default:return;}}},S=((o={})[L1]=u,o[A1]=p,o);return n.createElement(O5,{ref:t,className:h1(I1,S,i),menuItemStyles:C("root"),level:g,collapsed:v,rtl:y,disabled:p,active:u,buttonStyles:C("button"),rootStyles:m},n.createElement(C5,_kK({className:h1(T1,S),"data-testid":"".concat(T1,"-test-id"),component:f,tabIndex:0},h),a&&n.createElement(e2,{rtl:y,className:h1(P1,S),rootStyles:C("icon")},a),s&&n.createElement(t2,{collapsed:v,transitionDuration:x,firstLevel:0===g,className:h1(E1,S),rtl:y,rootStyles:C("prefix")},s),n.createElement(Q1,{className:h1(N1,S),rootStyles:C("label")},r),l&&n.createElement(n2,{collapsed:v,transitionDuration:x,firstLevel:0===g,className:h1(D1,S),rootStyles:C("suffix")},l)));});var M5=wm(t.jsx("path",{d:"M14.91 6.71a.996.996 0 0 0-1.41 0L8.91 11.3c-.39.39-.39 1.02 0 1.41l4.59 4.59c.39.39 1.02.39 1.41 0s.39-1.02 0-1.41L11.03 12l3.88-3.88c.38-.39.38-1.03 0-1.41"}),"NavigateBeforeRounded"),T5=wm(t.jsx("path",{d:"M9.31 6.71c-.39.39-.39 1.02 0 1.41L13.19 12l-3.88 3.88c-.39.39-.39 1.02 0 1.41s1.02.39 1.41 0l4.59-4.59c.39-.39.39-1.02 0-1.41L10.72 6.7c-.38-.38-1.02-.38-1.41.01"}),"NavigateNextRounded"),E5="sidebar-module_wrapper_95E2r",D5="sidebar-module_sidebar_ruXSQ",N5="sidebar-module_collapsed_ao92g",P5="sidebar-module_header_CtrBP",j5="sidebar-module_header-collapsed_9W08L",R5="sidebar-module_title_JDKYR",A5="sidebar-module_toggleButton_uZtkz",L5="sidebar-module_menuItem_KMpOd",V5="sidebar-module_menu-item-collapsed_-Gz6l",F5="sidebar-module_active_spFmu",_5="sidebar-module_disabled_pdNq1";var B5=["label","icon","onClick","isActive","disabled","tooltipProps","collapsed"],W5=["content","placement","shouldShowTooltip"],z5=["title","items"],H5=n.forwardRef(function(e,o){var r=n.useCallback(function(e){var t,n=null!==(t=null==e?void 0:e.querySelector("a"))&&void 0!==t?t:e;"function"==typeof o?o(n):o&&(o.current=n);},[o]);return t.jsx(I5,k(k({},e),{},{ref:r}));});H5.displayName="TooltipAnchoredMenuItem";var $5=function $5(e){var n=e.label,o=e.icon,r=e.onClick,a=e.isActive,i=e.disabled,s=e.tooltipProps,l=e.collapsed,c=O(e,B5),u=null!=s?s:{},d=u.content,p=u.placement,f=void 0===p?"right":p,m=u.shouldShowTooltip,h=void 0===m||m,g=O(u,W5),b=null!=d?d:l?n:void 0,v=!!b&&h,y=t.jsx(H5,k(k({icon:o,role:"button","aria-label":n,"aria-disabled":i,tabIndex:i?-1:0,onClick:i?void 0:r,className:N(L5,C(C(C({},V5,l),F5,a),_5,i))},c),{},{children:!l&&n}));return v?t.jsx(wU,k(k({},g),{},{content:b,placement:f,children:y})):y;},G5=B(function(e){var o=e.title,r=e.items,a=O(e,z5),i=I(n.useState(!1),2),s=i[0],l=i[1];return t.jsx("div",k(k({className:E5},a),{},{children:t.jsxs($1,{collapsed:!1,className:N(D5,C({},N5,s)),children:[t.jsxs("div",{className:N(P5,C({},j5,s)),children:[!!o&&t.jsx("span",{className:R5,children:o}),t.jsx("button",{"aria-label":NS("a11y.toggleSidebar"),onClick:function onClick(){return l(function(e){return!e;});},className:A5,children:s?t.jsx(T5,{}):t.jsx(M5,{})})]}),t.jsx(U1,{"aria-label":NS("a11y.navigation"),children:Wm(r,function(e){return t.jsx($5,k(k({},e),{},{collapsed:s}),e.label);})})]})}));},"AppSidebar");var Y5=wm(t.jsx("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"}),"KeyboardArrowDown");var X5=im(lW,{shouldForwardProp:function shouldForwardProp(e){return"elevation"!==e;}})(function(e){return e.theme,{"& .MuiPaper-root":{borderRadius:4,marginTop:1,boxShadow:"var(--shadow-md)","& .MuiMenu-list":{padding:"4px 0"},"& .MuiMenuItem-root":{"& .MuiTouchRipple-root":{display:"none"}}}};}),Z5=im(SE)(function(){return{"& .MuiTouchRipple-root":{display:"none"}};});var U5={dropdown:"dropdown-module_dropdown_G8lk1",button:"dropdown-module_button_heFOx",lg:"dropdown-module_lg_BSjtT",sm:"dropdown-module_sm_4wstH","MuiButton-endIcon":"dropdown-module_MuiButton-endIcon_h9XM7"};var q5=["label","items","disabled","open","onToggle","onItemSelect","anchorOrigin","transformOrigin","className","size"],J5=["id","label","icon","disabled","divider","onClick","size"],K5=B(function(e){var n=e.label,o=e.items,r=e.disabled,a=void 0!==r&&r,i=e.open,s=e.onToggle,l=e.onItemSelect,c=e.anchorOrigin,u=void 0===c?{vertical:"bottom",horizontal:"right"}:c,d=e.transformOrigin,p=void 0===d?{vertical:"top",horizontal:"right"}:d,f=e.className,m=e.size,h=void 0===m?"sm":m,g=O(e,q5),b=I(y.useState(!1),2),v=b[0],x=b[1],w=I(y.useState(null),2),C=w[0],S=w[1],M=!uK(i),T=M?i:v,E=function E(){S(null),M?null==s||s(!1):x(!1);};return t.jsxs("div",{className:"".concat(U5.dropdown," ").concat(f||""),children:[t.jsx(Z5,k(k({id:"dropdown-button","aria-controls":T?"dropdown-menu":void 0,"aria-haspopup":"true","aria-expanded":T?"true":void 0,disabled:a,disableElevation:!0,onClick:function onClick(e){if(e.preventDefault(),!a){S(e.currentTarget);var t=!T;M?null==s||s(t):x(t);}},endIcon:t.jsx(Y5,{}),className:N(U5.button,U5[h])},g),{},{children:n})),t.jsx(X5,{id:"dropdown-menu",slotProps:{list:{"aria-labelledby":"dropdown-button"}},anchorEl:C,open:T,onClose:E,anchorOrigin:u,transformOrigin:p,disableScrollLock:!0,children:Wm(o,function(e,n){var o=e.id,r=e.label,a=e.icon,i=e.disabled,s=e.divider;e.onClick;var c=e.size,u=O(e,J5);return t.jsxs(y.Fragment,{children:[s&&n>0&&t.jsx(_R,{sx:{my:.5}}),t.jsx($J,k({label:r,icon:a,disabled:i,onClick:function onClick(){return function(e){var t;e.disabled||(null===(t=e.onClick)||void 0===t||t.call(e),null==l||l(e),E());}(e);},onClose:E,size:null!=c?c:h},u))]},o);})})]});},"Dropdown");var Q5="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function e3(e){var t=Object.prototype.toString.call(e);return"[object Window]"===t||"[object global]"===t;}function t3(e){return"nodeType"in e;}function n3(e){var t,n;return e?e3(e)?e:t3(e)&&null!=(t=null==(n=e.ownerDocument)?void 0:n.defaultView)?t:window:window;}function o3(e){var _n88=n3(e),t=_n88.Document;return e instanceof t;}function r3(e){return!e3(e)&&e instanceof n3(e).HTMLElement;}function a3(e){return e instanceof n3(e).SVGElement;}function i3(e){return e?e3(e)?e.document:t3(e)?o3(e)?e:r3(e)||a3(e)?e.ownerDocument:document:document:document;}var s3=Q5?n.useLayoutEffect:n.useEffect;function l3(e){var t=n.useRef(e);return s3(function(){t.current=e;}),n.useCallback(function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];return null==t.current?void 0:t.current.apply(t,n);},[]);}function c3(e,t){void 0===t&&(t=[e]);var o=n.useRef(e);return s3(function(){o.current!==e&&(o.current=e);},t),o;}function u3(e,t){var o=n.useRef();return n.useMemo(function(){var t=e(o.current);return o.current=t,t;},_toConsumableArray(t));}function d3(e){var t=l3(e),o=n.useRef(null),r=n.useCallback(function(e){e!==o.current&&(null==t||t(e,o.current)),o.current=e;},[]);return[o,r];}function p3(e){var t=n.useRef();return n.useEffect(function(){t.current=e;},[e]),t.current;}var f3={};function m3(e,t){return n.useMemo(function(){if(t)return t;var n=null==f3[e]?0:f3[e]+1;return f3[e]=n,e+"-"+n;},[e,t]);}function h3(e){return function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return o.reduce(function(t,n){var o=Object.entries(n);for(var _i22=0,_o56=o;_i22<_o56.length;_i22++){var _ref416=_o56[_i22];var _ref417=_slicedToArray(_ref416,2);var _r41=_ref417[0];var _a25=_ref417[1];{var _n89=t[_r41];null!=_n89&&(t[_r41]=_n89+e*_a25);}}return t;},p({},t));};}var g3=h3(1),b3=h3(-1);function v3(e){if(!e)return!1;var _n90=n3(e.target),t=_n90.KeyboardEvent;return t&&e instanceof t;}function y3(e){if(function(e){if(!e)return!1;var _n91=n3(e.target),t=_n91.TouchEvent;return t&&e instanceof t;}(e)){if(e.touches&&e.touches.length){var _e$touches$=e.touches[0],_t162=_e$touches$.clientX,_n92=_e$touches$.clientY;return{x:_t162,y:_n92};}if(e.changedTouches&&e.changedTouches.length){var _e$changedTouches$=e.changedTouches[0],_t163=_e$changedTouches$.clientX,_n93=_e$changedTouches$.clientY;return{x:_t163,y:_n93};}}return function(e){return"clientX"in e&&"clientY"in e;}(e)?{x:e.clientX,y:e.clientY}:null;}var x3=Object.freeze({Translate:{toString:function toString(e){if(!e)return;var t=e.x,n=e.y;return"translate3d("+(t?Math.round(t):0)+"px, "+(n?Math.round(n):0)+"px, 0)";}},Scale:{toString:function toString(e){if(!e)return;var t=e.scaleX,n=e.scaleY;return"scaleX("+t+") scaleY("+n+")";}},Transform:{toString:function toString(e){if(e)return[x3.Translate.toString(e),x3.Scale.toString(e)].join(" ");}},Transition:{toString:function toString(e){var t=e.property,n=e.duration,o=e.easing;return t+" "+n+"ms "+o;}}}),w3="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function C3(e){return e.matches(w3)?e:e.querySelector(w3);}var S3={display:"none"};function k3(e){var t=e.id,o=e.value;return n.createElement("div",{id:t,style:S3},o);}function O3(e){var t=e.id,o=e.announcement,_e$ariaLiveType=e.ariaLiveType,r=_e$ariaLiveType===void 0?"assertive":_e$ariaLiveType;return n.createElement("div",{id:t,style:{position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"},role:"status","aria-live":r,"aria-atomic":!0},o);}var I3=n.createContext(null);var M3={draggable:"\n To pick up a draggable item, press the space bar.\n While dragging, use the arrow keys to move the item.\n Press space again to drop the item in its new position, or press escape to cancel.\n "},T3={onDragStart:function onDragStart(e){var t=e.active;return"Picked up draggable item "+t.id+".";},onDragOver:function onDragOver(e){var t=e.active,n=e.over;return n?"Draggable item "+t.id+" was moved over droppable area "+n.id+".":"Draggable item "+t.id+" is no longer over a droppable area.";},onDragEnd:function onDragEnd(e){var t=e.active,n=e.over;return n?"Draggable item "+t.id+" was dropped over droppable area "+n.id:"Draggable item "+t.id+" was dropped.";},onDragCancel:function onDragCancel(e){var t=e.active;return"Dragging was cancelled. Draggable item "+t.id+" was dropped.";}};function E3(e){var _e$announcements=e.announcements,t=_e$announcements===void 0?T3:_e$announcements,r=e.container,a=e.hiddenTextDescribedById,_e$screenReaderInstru=e.screenReaderInstructions,i=_e$screenReaderInstru===void 0?M3:_e$screenReaderInstru;var _ref418=function(){var _n$useState9=n.useState(""),_n$useState0=_slicedToArray(_n$useState9,2),e=_n$useState0[0],t=_n$useState0[1];return{announce:n.useCallback(function(e){null!=e&&t(e);},[]),announcement:e};}(),s=_ref418.announce,l=_ref418.announcement,c=m3("DndLiveRegion"),_n$useState7=n.useState(!1),_n$useState8=_slicedToArray(_n$useState7,2),u=_n$useState8[0],d=_n$useState8[1];if(n.useEffect(function(){d(!0);},[]),function(e){var t=n.useContext(I3);n.useEffect(function(){if(!t)throw new Error("useDndMonitor must be used within a children of <DndContext>");return t(e);},[e,t]);}(n.useMemo(function(){return{onDragStart:function onDragStart(e){var n=e.active;s(t.onDragStart({active:n}));},onDragMove:function onDragMove(e){var n=e.active,o=e.over;t.onDragMove&&s(t.onDragMove({active:n,over:o}));},onDragOver:function onDragOver(e){var n=e.active,o=e.over;s(t.onDragOver({active:n,over:o}));},onDragEnd:function onDragEnd(e){var n=e.active,o=e.over;s(t.onDragEnd({active:n,over:o}));},onDragCancel:function onDragCancel(e){var n=e.active,o=e.over;s(t.onDragCancel({active:n,over:o}));}};},[s,t])),!u)return null;var p=n.createElement(n.Fragment,null,n.createElement(k3,{id:a,value:i.draggable}),n.createElement(O3,{id:c,announcement:l}));return r?o.createPortal(p,r):p;}var D3,N3;function P3(){}(N3=D3||(D3={})).DragStart="dragStart",N3.DragMove="dragMove",N3.DragEnd="dragEnd",N3.DragCancel="dragCancel",N3.DragOver="dragOver",N3.RegisterDroppable="registerDroppable",N3.SetDroppableDisabled="setDroppableDisabled",N3.UnregisterDroppable="unregisterDroppable";var j3=Object.freeze({x:0,y:0});function R3(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2));}function A3(e,t){var n=e.data.value,o=t.data.value;return n-o;}function L3(e,t){var n=e.data.value,o=t.data.value;return o-n;}function V3(e,t,n){return void 0===t&&(t=e.left),void 0===n&&(n=e.top),{x:t+.5*e.width,y:n+.5*e.height};}var F3=function F3(e){var t=e.collisionRect,n=e.droppableRects,o=e.droppableContainers;var r=V3(t,t.left,t.top),a=[];var _iterator1=_createForOfIteratorHelper(o),_step1;try{for(_iterator1.s();!(_step1=_iterator1.n()).done;){var _i23=_step1.value;var _e130=_i23.id,_t164=n.get(_e130);if(_t164){var _n94=R3(V3(_t164),r);a.push({id:_e130,data:{droppableContainer:_i23,value:_n94}});}}}catch(err){_iterator1.e(err);}finally{_iterator1.f();}return a.sort(A3);};function _3(e,t){var n=Math.max(t.top,e.top),o=Math.max(t.left,e.left),r=Math.min(t.left+t.width,e.left+e.width),a=Math.min(t.top+t.height,e.top+e.height),i=r-o,s=a-n;if(o<r&&n<a){var _n95=t.width*t.height,_o57=e.width*e.height,_r42=i*s;return Number((_r42/(_n95+_o57-_r42)).toFixed(4));}return 0;}var B3=function B3(e){var t=e.collisionRect,n=e.droppableRects,o=e.droppableContainers;var r=[];var _iterator10=_createForOfIteratorHelper(o),_step10;try{for(_iterator10.s();!(_step10=_iterator10.n()).done;){var _a26=_step10.value;var _e131=_a26.id,_o58=n.get(_e131);if(_o58){var _n96=_3(_o58,t);_n96>0&&r.push({id:_e131,data:{droppableContainer:_a26,value:_n96}});}}}catch(err){_iterator10.e(err);}finally{_iterator10.f();}return r.sort(L3);};function W3(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:j3;}function z3(e){return function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return o.reduce(function(t,n){return f(p({},t),{top:t.top+e*n.y,bottom:t.bottom+e*n.y,left:t.left+e*n.x,right:t.right+e*n.x});},p({},t));};}var H3=z3(1);var $3={ignoreTransform:!1};function G3(e,t){void 0===t&&(t=$3);var n=e.getBoundingClientRect();if(t.ignoreTransform){var _n3$getComputedStyle=n3(e).getComputedStyle(e),_t165=_n3$getComputedStyle.transform,_o59=_n3$getComputedStyle.transformOrigin;_t165&&(n=function(e,t,n){var o=function(e){if(e.startsWith("matrix3d(")){var _t166=e.slice(9,-1).split(/, /);return{x:+_t166[12],y:+_t166[13],scaleX:+_t166[0],scaleY:+_t166[5]};}if(e.startsWith("matrix(")){var _t167=e.slice(7,-1).split(/, /);return{x:+_t167[4],y:+_t167[5],scaleX:+_t167[0],scaleY:+_t167[3]};}return null;}(t);if(!o)return e;var r=o.scaleX,a=o.scaleY,i=o.x,s=o.y,l=e.left-i-(1-r)*parseFloat(n),c=e.top-s-(1-a)*parseFloat(n.slice(n.indexOf(" ")+1)),u=r?e.width/r:e.width,d=a?e.height/a:e.height;return{width:u,height:d,top:c,right:l+u,bottom:c+d,left:l};}(n,_t165,_o59));}var _n97=n,o=_n97.top,r=_n97.left,a=_n97.width,i=_n97.height,s=_n97.bottom,l=_n97.right;return{top:o,left:r,width:a,height:i,bottom:s,right:l};}function Y3(e){return G3(e,{ignoreTransform:!0});}function X3(e,t){var n=[];return e?function o(r){if(null!=t&&n.length>=t)return n;if(!r)return n;if(o3(r)&&null!=r.scrollingElement&&!n.includes(r.scrollingElement))return n.push(r.scrollingElement),n;if(!r3(r)||a3(r))return n;if(n.includes(r))return n;var a=n3(e).getComputedStyle(r);return r!==e&&function(e,t){void 0===t&&(t=n3(e).getComputedStyle(e));var n=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(function(e){var o=t[e];return"string"==typeof o&&n.test(o);});}(r,a)&&n.push(r),function(e,t){return void 0===t&&(t=n3(e).getComputedStyle(e)),"fixed"===t.position;}(r,a)?n:o(r.parentNode);}(e):n;}function Z3(e){var _X2=X3(e,1),_X3=_slicedToArray(_X2,1),t=_X3[0];return null!=t?t:null;}function U3(e){return Q5&&e?e3(e)?e:t3(e)?o3(e)||e===i3(e).scrollingElement?window:r3(e)?e:null:null:null;}function q3(e){return e3(e)?e.scrollX:e.scrollLeft;}function J3(e){return e3(e)?e.scrollY:e.scrollTop;}function K3(e){return{x:q3(e),y:J3(e)};}var Q3,e4;function t4(e){return!(!Q5||!e)&&e===document.scrollingElement;}function n4(e){var t={x:0,y:0},n=t4(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},o={x:e.scrollWidth-n.width,y:e.scrollHeight-n.height};return{isTop:e.scrollTop<=t.y,isLeft:e.scrollLeft<=t.x,isBottom:e.scrollTop>=o.y,isRight:e.scrollLeft>=o.x,maxScroll:o,minScroll:t};}(e4=Q3||(Q3={}))[e4.Forward=1]="Forward",e4[e4.Backward=-1]="Backward";var o4={x:.2,y:.2};function r4(e,t,n,o,r){var a=n.top,i=n.left,s=n.right,l=n.bottom;void 0===o&&(o=10),void 0===r&&(r=o4);var _n98=n4(e),c=_n98.isTop,u=_n98.isBottom,d=_n98.isLeft,p=_n98.isRight,f={x:0,y:0},m={x:0,y:0},h=t.height*r.y,g=t.width*r.x;return!c&&a<=t.top+h?(f.y=Q3.Backward,m.y=o*Math.abs((t.top+h-a)/h)):!u&&l>=t.bottom-h&&(f.y=Q3.Forward,m.y=o*Math.abs((t.bottom-h-l)/h)),!p&&s>=t.right-g?(f.x=Q3.Forward,m.x=o*Math.abs((t.right-g-s)/g)):!d&&i<=t.left+g&&(f.x=Q3.Backward,m.x=o*Math.abs((t.left+g-i)/g)),{direction:f,speed:m};}function a4(e){if(e===document.scrollingElement){var _window=window,_e132=_window.innerWidth,_t168=_window.innerHeight;return{top:0,left:0,right:_e132,bottom:_t168,width:_e132,height:_t168};}var _e$getBoundingClientR=e.getBoundingClientRect(),t=_e$getBoundingClientR.top,n=_e$getBoundingClientR.left,o=_e$getBoundingClientR.right,r=_e$getBoundingClientR.bottom;return{top:t,left:n,right:o,bottom:r,width:e.clientWidth,height:e.clientHeight};}function i4(e){return e.reduce(function(e,t){return g3(e,K3(t));},j3);}var s4=[["x",["left","right"],function(e){return e.reduce(function(e,t){return e+q3(t);},0);}],["y",["top","bottom"],function(e){return e.reduce(function(e,t){return e+J3(t);},0);}]];var l4=/*#__PURE__*/_createClass(function l4(e,t){var _this36=this;_classCallCheck(this,l4);this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;var n=X3(t),o=i4(n);this.rect=p({},e),this.width=e.width,this.height=e.height;var _loop7=function _loop7(){var _ref419=_s11[_i24];_ref420=_slicedToArray(_ref419,3);var r=_ref420[0];var a=_ref420[1];var i=_ref420[2];var _iterator11=_createForOfIteratorHelper(a),_step11;try{var _loop8=function _loop8(){var e=_step11.value;Object.defineProperty(_this36,e,{get:function get(){var t=i(n),a=o[r]-t;return _this36.rect[e]+a;},enumerable:!0});};for(_iterator11.s();!(_step11=_iterator11.n()).done;){_loop8();}}catch(err){_iterator11.e(err);}finally{_iterator11.f();}},_ref420;for(var _i24=0,_s11=s4;_i24<_s11.length;_i24++){_loop7();}Object.defineProperty(this,"rect",{enumerable:!1});});var c4=/*#__PURE__*/function(){function c4(e){var _this37=this;_classCallCheck(this,c4);this.target=void 0,this.listeners=[],this.removeAll=function(){_this37.listeners.forEach(function(e){var _t169;var t;return null==(t=_this37.target)?void 0:(_t169=t).removeEventListener.apply(_t169,_toConsumableArray(e));});},this.target=e;}return _createClass(c4,[{key:"add",value:function add(e,t,n){var o;null==(o=this.target)||o.addEventListener(e,t,n),this.listeners.push([e,t,n]);}}]);}();function u4(e,t){var n=Math.abs(e.x),o=Math.abs(e.y);return"number"==typeof t?Math.sqrt(u(n,2)+u(o,2))>t:"x"in t&&"y"in t?n>t.x&&o>t.y:"x"in t?n>t.x:"y"in t&&o>t.y;}var d4,p4,f4,m4;function h4(e){e.preventDefault();}function g4(e){e.stopPropagation();}(p4=d4||(d4={})).Click="click",p4.DragStart="dragstart",p4.Keydown="keydown",p4.ContextMenu="contextmenu",p4.Resize="resize",p4.SelectionChange="selectionchange",p4.VisibilityChange="visibilitychange",(m4=f4||(f4={})).Space="Space",m4.Down="ArrowDown",m4.Right="ArrowRight",m4.Left="ArrowLeft",m4.Up="ArrowUp",m4.Esc="Escape",m4.Enter="Enter",m4.Tab="Tab";var b4={start:[f4.Space,f4.Enter],cancel:[f4.Esc],end:[f4.Space,f4.Enter,f4.Tab]},v4=function v4(e,t){var n=t.currentCoordinates;switch(e.code){case f4.Right:return f(p({},n),{x:n.x+25});case f4.Left:return f(p({},n),{x:n.x-25});case f4.Down:return f(p({},n),{y:n.y+25});case f4.Up:return f(p({},n),{y:n.y-25});}};var y4=/*#__PURE__*/function(){function y4(e){_classCallCheck(this,y4);this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=e;var t=e.event.target;this.props=e,this.listeners=new c4(i3(t)),this.windowListeners=new c4(n3(t)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach();}return _createClass(y4,[{key:"attach",value:function attach(){var _this38=this;this.handleStart(),this.windowListeners.add(d4.Resize,this.handleCancel),this.windowListeners.add(d4.VisibilityChange,this.handleCancel),setTimeout(function(){return _this38.listeners.add(d4.Keydown,_this38.handleKeyDown);});}},{key:"handleStart",value:function handleStart(){var _this$props=this.props,e=_this$props.activeNode,t=_this$props.onStart,n=e.node.current;n&&function(e,t){if(void 0===t&&(t=G3),!e)return;var _t170=t(e),n=_t170.top,o=_t170.left,r=_t170.bottom,a=_t170.right;Z3(e)&&(r<=0||a<=0||n>=window.innerHeight||o>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"});}(n),t(j3);}},{key:"handleKeyDown",value:function handleKeyDown(e){if(v3(e)){var _this$props2=this.props,_t171=_this$props2.active,_n99=_this$props2.context,_o60=_this$props2.options,_o$keyboardCodes=_o60.keyboardCodes,_r43=_o$keyboardCodes===void 0?b4:_o$keyboardCodes,_o$coordinateGetter=_o60.coordinateGetter,_a27=_o$coordinateGetter===void 0?v4:_o$coordinateGetter,_o$scrollBehavior=_o60.scrollBehavior,_i25=_o$scrollBehavior===void 0?"smooth":_o$scrollBehavior,_s12=e.code;if(_r43.end.includes(_s12))return void this.handleEnd(e);if(_r43.cancel.includes(_s12))return void this.handleCancel(e);var _l7=_n99.current.collisionRect,_c7=_l7?{x:_l7.left,y:_l7.top}:j3;this.referenceCoordinates||(this.referenceCoordinates=_c7);var _u3=_a27(e,{active:_t171,context:_n99.current,currentCoordinates:_c7});if(_u3){var _t172=b3(_u3,_c7),_o61={x:0,y:0},_r44=_n99.current.scrollableAncestors;var _iterator12=_createForOfIteratorHelper(_r44),_step12;try{for(_iterator12.s();!(_step12=_iterator12.n()).done;){var _n100=_step12.value;var _r45=e.code,_n101=n4(_n100),_a28=_n101.isTop,_s13=_n101.isRight,_l8=_n101.isLeft,_c8=_n101.isBottom,_d3=_n101.maxScroll,_p5=_n101.minScroll,_f12=a4(_n100),_m3={x:Math.min(_r45===f4.Right?_f12.right-_f12.width/2:_f12.right,Math.max(_r45===f4.Right?_f12.left:_f12.left+_f12.width/2,_u3.x)),y:Math.min(_r45===f4.Down?_f12.bottom-_f12.height/2:_f12.bottom,Math.max(_r45===f4.Down?_f12.top:_f12.top+_f12.height/2,_u3.y))},_h3=_r45===f4.Right&&!_s13||_r45===f4.Left&&!_l8,_g3=_r45===f4.Down&&!_c8||_r45===f4.Up&&!_a28;if(_h3&&_m3.x!==_u3.x){var _e133=_n100.scrollLeft+_t172.x,_a29=_r45===f4.Right&&_e133<=_d3.x||_r45===f4.Left&&_e133>=_p5.x;if(_a29&&!_t172.y)return void _n100.scrollTo({left:_e133,behavior:_i25});_o61.x=_a29?_n100.scrollLeft-_e133:_r45===f4.Right?_n100.scrollLeft-_d3.x:_n100.scrollLeft-_p5.x,_o61.x&&_n100.scrollBy({left:-_o61.x,behavior:_i25});break;}if(_g3&&_m3.y!==_u3.y){var _e134=_n100.scrollTop+_t172.y,_a30=_r45===f4.Down&&_e134<=_d3.y||_r45===f4.Up&&_e134>=_p5.y;if(_a30&&!_t172.x)return void _n100.scrollTo({top:_e134,behavior:_i25});_o61.y=_a30?_n100.scrollTop-_e134:_r45===f4.Down?_n100.scrollTop-_d3.y:_n100.scrollTop-_p5.y,_o61.y&&_n100.scrollBy({top:-_o61.y,behavior:_i25});break;}}}catch(err){_iterator12.e(err);}finally{_iterator12.f();}this.handleMove(e,g3(b3(_u3,this.referenceCoordinates),_o61));}}}},{key:"handleMove",value:function handleMove(e,t){var n=this.props.onMove;e.preventDefault(),n(t);}},{key:"handleEnd",value:function handleEnd(e){var t=this.props.onEnd;e.preventDefault(),this.detach(),t();}},{key:"handleCancel",value:function handleCancel(e){var t=this.props.onCancel;e.preventDefault(),this.detach(),t();}},{key:"detach",value:function detach(){this.listeners.removeAll(),this.windowListeners.removeAll();}}]);}();function x4(e){return Boolean(e&&"distance"in e);}function w4(e){return Boolean(e&&"delay"in e);}y4.activators=[{eventName:"onKeyDown",handler:function handler(e,t,n){var _t$keyboardCodes=t.keyboardCodes,o=_t$keyboardCodes===void 0?b4:_t$keyboardCodes,r=t.onActivation,a=n.active;var i=e.nativeEvent.code;if(o.start.includes(i)){var _t173=a.activatorNode.current;return(!_t173||e.target===_t173)&&(e.preventDefault(),null==r||r({event:e.nativeEvent}),!0);}return!1;}}];var C4=/*#__PURE__*/function(){function C4(e,t,n){_classCallCheck(this,C4);var o;void 0===n&&(n=function(e){var _n102=n3(e),t=_n102.EventTarget;return e instanceof t?e:i3(e);}(e.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=e,this.events=t;var r=e.event,a=r.target;this.props=e,this.events=t,this.document=i3(a),this.documentListeners=new c4(this.document),this.listeners=new c4(n),this.windowListeners=new c4(n3(a)),this.initialCoordinates=null!=(o=y3(r))?o:j3,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach();}return _createClass(C4,[{key:"attach",value:function attach(){var e=this.events,_this$props$options=this.props.options,t=_this$props$options.activationConstraint,n=_this$props$options.bypassActivationConstraint;if(this.listeners.add(e.move.name,this.handleMove,{passive:!1}),this.listeners.add(e.end.name,this.handleEnd),e.cancel&&this.listeners.add(e.cancel.name,this.handleCancel),this.windowListeners.add(d4.Resize,this.handleCancel),this.windowListeners.add(d4.DragStart,h4),this.windowListeners.add(d4.VisibilityChange,this.handleCancel),this.windowListeners.add(d4.ContextMenu,h4),this.documentListeners.add(d4.Keydown,this.handleKeydown),t){if(null!=n&&n({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(w4(t))return this.timeoutId=setTimeout(this.handleStart,t.delay),void this.handlePending(t);if(x4(t))return void this.handlePending(t);}this.handleStart();}},{key:"detach",value:function detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null);}},{key:"handlePending",value:function handlePending(e,t){var _this$props3=this.props,n=_this$props3.active,o=_this$props3.onPending;o(n,e,this.initialCoordinates,t);}},{key:"handleStart",value:function handleStart(){var e=this.initialCoordinates,t=this.props.onStart;e&&(this.activated=!0,this.documentListeners.add(d4.Click,g4,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(d4.SelectionChange,this.removeTextSelection),t(e));}},{key:"handleMove",value:function handleMove(e){var t;var n=this.activated,o=this.initialCoordinates,r=this.props,a=r.onMove,i=r.options.activationConstraint;if(!o)return;var s=null!=(t=y3(e))?t:j3,l=b3(o,s);if(!n&&i){if(x4(i)){if(null!=i.tolerance&&u4(l,i.tolerance))return this.handleCancel();if(u4(l,i.distance))return this.handleStart();}return w4(i)&&u4(l,i.tolerance)?this.handleCancel():void this.handlePending(i,l);}e.cancelable&&e.preventDefault(),a(s);}},{key:"handleEnd",value:function handleEnd(){var _this$props4=this.props,e=_this$props4.onAbort,t=_this$props4.onEnd;this.detach(),this.activated||e(this.props.active),t();}},{key:"handleCancel",value:function handleCancel(){var _this$props5=this.props,e=_this$props5.onAbort,t=_this$props5.onCancel;this.detach(),this.activated||e(this.props.active),t();}},{key:"handleKeydown",value:function handleKeydown(e){e.code===f4.Esc&&this.handleCancel();}},{key:"removeTextSelection",value:function removeTextSelection(){var e;null==(e=this.document.getSelection())||e.removeAllRanges();}}]);}();var S4={cancel:{name:"pointercancel"},move:{name:"pointermove"},end:{name:"pointerup"}};var k4=/*#__PURE__*/function(_C3){function k4(e){_classCallCheck(this,k4);var t=e.event,n=i3(t.target);return _callSuper(this,k4,[e,S4,n]);}_inherits(k4,_C3);return _createClass(k4);}(C4);k4.activators=[{eventName:"onPointerDown",handler:function handler(e,t){var n=e.nativeEvent,o=t.onActivation;return!(!n.isPrimary||0!==n.button)&&(null==o||o({event:n}),!0);}}];var O4={move:{name:"mousemove"},end:{name:"mouseup"}};var I4,M4;(M4=I4||(I4={}))[M4.RightClick=2]="RightClick";/*#__PURE__*/(function(_C4){function _class3(e){_classCallCheck(this,_class3);return _callSuper(this,_class3,[e,O4,i3(e.event.target)]);}_inherits(_class3,_C4);return _createClass(_class3);})(C4).activators=[{eventName:"onMouseDown",handler:function handler(e,t){var n=e.nativeEvent,o=t.onActivation;return n.button!==I4.RightClick&&(null==o||o({event:n}),!0);}}];var T4={cancel:{name:"touchcancel"},move:{name:"touchmove"},end:{name:"touchend"}};var E4,D4,N4,P4;function j4(e){var t=e.acceleration,_e$activator=e.activator,o=_e$activator===void 0?E4.Pointer:_e$activator,r=e.canScroll,a=e.draggingRect,i=e.enabled,_e$interval=e.interval,s=_e$interval===void 0?5:_e$interval,_e$order=e.order,l=_e$order===void 0?N4.TreeOrder:_e$order,c=e.pointerCoordinates,u=e.scrollableAncestors,d=e.scrollableAncestorRects,p=e.delta,f=e.threshold;var m=function(e){var t=e.delta,n=e.disabled;var o=p3(t);return u3(function(e){if(n||!o||!e)return R4;var r={x:Math.sign(t.x-o.x),y:Math.sign(t.y-o.y)};return{x:_defineProperty(_defineProperty({},Q3.Backward,e.x[Q3.Backward]||-1===r.x),Q3.Forward,e.x[Q3.Forward]||1===r.x),y:_defineProperty(_defineProperty({},Q3.Backward,e.y[Q3.Backward]||-1===r.y),Q3.Forward,e.y[Q3.Forward]||1===r.y)};},[n,t,o]);}({delta:p,disabled:!i}),_ref421=function(){var e=n.useRef(null);return[n.useCallback(function(t,n){e.current=setInterval(t,n);},[]),n.useCallback(function(){null!==e.current&&(clearInterval(e.current),e.current=null);},[])];}(),_ref422=_slicedToArray(_ref421,2),h=_ref422[0],g=_ref422[1],b=n.useRef({x:0,y:0}),v=n.useRef({x:0,y:0}),y=n.useMemo(function(){switch(o){case E4.Pointer:return c?{top:c.y,bottom:c.y,left:c.x,right:c.x}:null;case E4.DraggableRect:return a;}},[o,a,c]),x=n.useRef(null),w=n.useCallback(function(){var e=x.current;if(!e)return;var t=b.current.x*v.current.x,n=b.current.y*v.current.y;e.scrollBy(t,n);},[]),C=n.useMemo(function(){return l===N4.TreeOrder?_toConsumableArray(u).reverse():u;},[l,u]);n.useEffect(function(){if(i&&u.length&&y){var _iterator13=_createForOfIteratorHelper(C),_step13;try{for(_iterator13.s();!(_step13=_iterator13.n()).done;){var _e135=_step13.value;if(!1===(null==r?void 0:r(_e135)))continue;var _n103=u.indexOf(_e135),_o62=d[_n103];if(!_o62)continue;var _r46=r4(_e135,_o62,y,t,f),_a31=_r46.direction,_i26=_r46.speed;for(var _i27=0,_arr=["x","y"];_i27<_arr.length;_i27++){var _e136=_arr[_i27];m[_e136][_a31[_e136]]||(_i26[_e136]=0,_a31[_e136]=0);}if(_i26.x>0||_i26.y>0)return g(),x.current=_e135,h(w,s),b.current=_i26,void(v.current=_a31);}}catch(err){_iterator13.e(err);}finally{_iterator13.f();}b.current={x:0,y:0},v.current={x:0,y:0},g();}else g();},[t,w,r,g,i,s,JSON.stringify(y),JSON.stringify(m),h,u,C,d,JSON.stringify(f)]);}/*#__PURE__*/(function(_C5){function _class4(e){_classCallCheck(this,_class4);return _callSuper(this,_class4,[e,T4]);}_inherits(_class4,_C5);return _createClass(_class4,null,[{key:"setup",value:function setup(){return window.addEventListener(T4.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(T4.move.name,e);};function e(){}}}]);})(C4).activators=[{eventName:"onTouchStart",handler:function handler(e,t){var n=e.nativeEvent,o=t.onActivation;var r=n.touches;return!(r.length>1)&&(null==o||o({event:n}),!0);}}],(D4=E4||(E4={}))[D4.Pointer=0]="Pointer",D4[D4.DraggableRect=1]="DraggableRect",(P4=N4||(N4={}))[P4.TreeOrder=0]="TreeOrder",P4[P4.ReversedTreeOrder=1]="ReversedTreeOrder";var R4={x:_defineProperty(_defineProperty({},Q3.Backward,!1),Q3.Forward,!1),y:_defineProperty(_defineProperty({},Q3.Backward,!1),Q3.Forward,!1)};var A4,L4,V4;(L4=A4||(A4={}))[L4.Always=0]="Always",L4[L4.BeforeDragging=1]="BeforeDragging",L4[L4.WhileDragging=2]="WhileDragging",(V4||(V4={})).Optimized="optimized";var F4=new Map();function _4(e,t){return u3(function(n){return e?n||("function"==typeof t?t(e):e):null;},[t,e]);}function B4(e){var t=e.callback,o=e.disabled;var r=l3(t),a=n.useMemo(function(){if(o||"undefined"==typeof window||void 0===window.ResizeObserver)return;var _window2=window,e=_window2.ResizeObserver;return new e(r);},[o]);return n.useEffect(function(){return function(){return null==a?void 0:a.disconnect();};},[a]),a;}function W4(e){return new l4(G3(e),e);}function z4(e,t,o){void 0===t&&(t=W4);var _n$useState1=n.useState(null),_n$useState10=_slicedToArray(_n$useState1,2),r=_n$useState10[0],a=_n$useState10[1];function i(){a(function(n){if(!e)return null;var r;if(!1===e.isConnected)return null!=(r=null!=n?n:o)?r:null;var a=t(e);return JSON.stringify(n)===JSON.stringify(a)?n:a;});}var s=function(e){var t=e.callback,o=e.disabled;var r=l3(t),a=n.useMemo(function(){if(o||"undefined"==typeof window||void 0===window.MutationObserver)return;var _window3=window,e=_window3.MutationObserver;return new e(r);},[r,o]);return n.useEffect(function(){return function(){return null==a?void 0:a.disconnect();};},[a]),a;}({callback:function callback(t){if(e){var _iterator14=_createForOfIteratorHelper(t),_step14;try{for(_iterator14.s();!(_step14=_iterator14.n()).done;){var _n104=_step14.value;var _t174=_n104.type,_o63=_n104.target;if("childList"===_t174&&_o63 instanceof HTMLElement&&_o63.contains(e)){i();break;}}}catch(err){_iterator14.e(err);}finally{_iterator14.f();}}}}),l=B4({callback:i});return s3(function(){i(),e?(null==l||l.observe(e),null==s||s.observe(document.body,{childList:!0,subtree:!0})):(null==l||l.disconnect(),null==s||s.disconnect());},[e]),r;}var H4=[];function $4(e,t){void 0===t&&(t=[]);var o=n.useRef(null);return n.useEffect(function(){o.current=null;},t),n.useEffect(function(){var t=e!==j3;t&&!o.current&&(o.current=e),!t&&o.current&&(o.current=null);},[e]),o.current?b3(e,o.current):j3;}function G4(e){return n.useMemo(function(){return e?function(e){var t=e.innerWidth,n=e.innerHeight;return{top:0,left:0,right:t,bottom:n,width:t,height:n};}(e):null;},[e]);}var Y4=[];function X4(e){var t=e.measure;var _n$useState11=n.useState(null),_n$useState12=_slicedToArray(_n$useState11,2),o=_n$useState12[0],r=_n$useState12[1],a=B4({callback:n.useCallback(function(e){var _iterator15=_createForOfIteratorHelper(e),_step15;try{var _loop9=function _loop9(){var _ref423=_step15.value;var n=_ref423.target;if(r3(n)){r(function(e){var o=t(n);return e?f(p({},e),{width:o.width,height:o.height}):o;});return 1;// break
39
- }};for(_iterator15.s();!(_step15=_iterator15.n()).done;){if(_loop9())break;}}catch(err){_iterator15.e(err);}finally{_iterator15.f();}},[t])}),i=n.useCallback(function(e){var n=function(e){if(!e)return null;if(e.children.length>1)return e;var t=e.children[0];return r3(t)?t:e;}(e);null==a||a.disconnect(),n&&(null==a||a.observe(n)),r(n?t(n):null);},[t,a]),_d4=d3(i),_d5=_slicedToArray(_d4,2),s=_d5[0],l=_d5[1];return n.useMemo(function(){return{nodeRef:s,rect:o,setRef:l};},[o,s,l]);}var Z4=[{sensor:k4,options:{}},{sensor:y4,options:{}}],U4={current:{}},q4={draggable:{measure:Y3},droppable:{measure:Y3,strategy:A4.WhileDragging,frequency:V4.Optimized},dragOverlay:{measure:G3}};var J4=/*#__PURE__*/function(_Map){function J4(){_classCallCheck(this,J4);return _callSuper(this,J4,arguments);}_inherits(J4,_Map);return _createClass(J4,[{key:"get",value:function get(e){var t;return null!=e&&null!=(t=_superPropGet(J4,"get",this,3)([e]))?t:void 0;}},{key:"toArray",value:function toArray(){return Array.from(this.values());}},{key:"getEnabled",value:function getEnabled(){return this.toArray().filter(function(e){var t=e.disabled;return!t;});}},{key:"getNodeFor",value:function getNodeFor(e){var t,n;return null!=(t=null==(n=this.get(e))?void 0:n.node.current)?t:void 0;}}]);}(/*#__PURE__*/_wrapNativeSuper(Map));var K4={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map(),droppableRects:new Map(),droppableContainers:new J4(),over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:P3},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:q4,measureDroppableContainers:P3,windowRect:null,measuringScheduled:!1},Q4={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:P3,draggableNodes:new Map(),over:null,measureDroppableContainers:P3},e9=n.createContext(Q4),t9=n.createContext(K4);function n9(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map(),translate:{x:0,y:0}},droppable:{containers:new J4()}};}function o9(e,t){switch(t.type){case D3.DragStart:return f(p({},e),{draggable:f(p({},e.draggable),{initialCoordinates:t.initialCoordinates,active:t.active})});case D3.DragMove:return null==e.draggable.active?e:f(p({},e),{draggable:f(p({},e.draggable),{translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}})});case D3.DragEnd:case D3.DragCancel:return f(p({},e),{draggable:f(p({},e.draggable),{active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}})});case D3.RegisterDroppable:{var _n105=t.element,_o64=_n105.id,_r47=new J4(e.droppable.containers);return _r47.set(_o64,_n105),f(p({},e),{droppable:f(p({},e.droppable),{containers:_r47})});}case D3.SetDroppableDisabled:{var _n106=t.id,_o65=t.key,_r48=t.disabled,_a32=e.droppable.containers.get(_n106);if(!_a32||_o65!==_a32.key)return e;var _i28=new J4(e.droppable.containers);return _i28.set(_n106,f(p({},_a32),{disabled:_r48})),f(p({},e),{droppable:f(p({},e.droppable),{containers:_i28})});}case D3.UnregisterDroppable:{var _n107=t.id,_o66=t.key,_r49=e.droppable.containers.get(_n107);if(!_r49||_o66!==_r49.key)return e;var _a33=new J4(e.droppable.containers);return _a33.delete(_n107),f(p({},e),{droppable:f(p({},e.droppable),{containers:_a33})});}default:return e;}}function r9(e){var t=e.disabled;var _n$useContext=n.useContext(e9),o=_n$useContext.active,r=_n$useContext.activatorEvent,a=_n$useContext.draggableNodes,i=p3(r),s=p3(null==o?void 0:o.id);return n.useEffect(function(){if(!t&&!r&&i&&null!=s){if(!v3(i))return;if(document.activeElement===i.target)return;var _e137=a.get(s);if(!_e137)return;var _t175=_e137.activatorNode,_n108=_e137.node;if(!_t175.current&&!_n108.current)return;requestAnimationFrame(function(){for(var _i29=0,_arr2=[_t175.current,_n108.current];_i29<_arr2.length;_i29++){var _e138=_arr2[_i29];if(!_e138)continue;var _t176=C3(_e138);if(_t176){_t176.focus();break;}}});}},[r,t,a,s,i]),null;}var a9=n.createContext(f(p({},j3),{scaleX:1,scaleY:1}));var i9,s9;(s9=i9||(i9={}))[s9.Uninitialized=0]="Uninitialized",s9[s9.Initializing=1]="Initializing",s9[s9.Initialized=2]="Initialized";var l9=n.memo(function(e){var t,r,a,i;var s=e,l=s.id,c=s.accessibility,_s$autoScroll=s.autoScroll,u=_s$autoScroll===void 0?!0:_s$autoScroll,d=s.children,_s$sensors=s.sensors,m=_s$sensors===void 0?Z4:_s$sensors,_s$collisionDetection=s.collisionDetection,g=_s$collisionDetection===void 0?B3:_s$collisionDetection,v=s.measuring,y=s.modifiers,x=h(s,["id","accessibility","autoScroll","children","sensors","collisionDetection","measuring","modifiers"]);var w=n.useReducer(o9,void 0,n9),_w3=_slicedToArray(w,2),C=_w3[0],S=_w3[1],_ref424=function(){var _n$useState19=n.useState(function(){return new Set();}),_n$useState20=_slicedToArray(_n$useState19,1),e=_n$useState20[0],t=n.useCallback(function(t){return e.add(t),function(){return e.delete(t);};},[e]);return[n.useCallback(function(t){var n=t.type,o=t.event;e.forEach(function(e){var t;return null==(t=e[n])?void 0:t.call(e,o);});},[e]),t];}(),_ref425=_slicedToArray(_ref424,2),k=_ref425[0],O=_ref425[1],_n$useState13=n.useState(i9.Uninitialized),_n$useState14=_slicedToArray(_n$useState13,2),I=_n$useState14[0],M=_n$useState14[1],T=I===i9.Initialized,_C$draggable=C.draggable,E=_C$draggable.active,D=_C$draggable.nodes,N=_C$draggable.translate,P=C.droppable.containers,j=null!=E?D.get(E):null,R=n.useRef({initial:null,translated:null}),A=n.useMemo(function(){var e;return null!=E?{id:E,data:null!=(e=null==j?void 0:j.data)?e:U4,rect:R}:null;},[E,j]),L=n.useRef(null),_n$useState15=n.useState(null),_n$useState16=_slicedToArray(_n$useState15,2),V=_n$useState16[0],F=_n$useState16[1],_n$useState17=n.useState(null),_n$useState18=_slicedToArray(_n$useState17,2),_=_n$useState18[0],B=_n$useState18[1],W=c3(x,Object.values(x)),z=m3("DndDescribedBy",l),H=n.useMemo(function(){return P.getEnabled();},[P]),$=function(e){return n.useMemo(function(){return{draggable:p(p({},q4.draggable),null==e?void 0:e.draggable),droppable:p(p({},q4.droppable),null==e?void 0:e.droppable),dragOverlay:p(p({},q4.dragOverlay),null==e?void 0:e.dragOverlay)};},[null==e?void 0:e.draggable,null==e?void 0:e.droppable,null==e?void 0:e.dragOverlay]);}(v),_ref426=function(e,t){var o=t.dragging,r=t.dependencies,a=t.config;var _n$useState21=n.useState(null),_n$useState22=_slicedToArray(_n$useState21,2),i=_n$useState22[0],s=_n$useState22[1],l=a.frequency,c=a.measure,u=a.strategy,d=n.useRef(e),p=function(){switch(u){case A4.Always:return!1;case A4.BeforeDragging:return o;default:return!o;}}(),f=c3(p),m=n.useCallback(function(e){void 0===e&&(e=[]),f.current||s(function(t){return null===t?e:t.concat(e.filter(function(e){return!t.includes(e);}));});},[f]),h=n.useRef(null),g=u3(function(t){if(p&&!o)return F4;if(!t||t===F4||d.current!==e||null!=i){var _t177=new Map();var _iterator16=_createForOfIteratorHelper(e),_step16;try{for(_iterator16.s();!(_step16=_iterator16.n()).done;){var _n109=_step16.value;if(!_n109)continue;if(i&&i.length>0&&!i.includes(_n109.id)&&_n109.rect.current){_t177.set(_n109.id,_n109.rect.current);continue;}var _e139=_n109.node.current,_o67=_e139?new l4(c(_e139),_e139):null;_n109.rect.current=_o67,_o67&&_t177.set(_n109.id,_o67);}}catch(err){_iterator16.e(err);}finally{_iterator16.f();}return _t177;}return t;},[e,i,o,p,c]);return n.useEffect(function(){d.current=e;},[e]),n.useEffect(function(){p||m();},[o,p]),n.useEffect(function(){i&&i.length>0&&s(null);},[JSON.stringify(i)]),n.useEffect(function(){p||"number"!=typeof l||null!==h.current||(h.current=setTimeout(function(){m(),h.current=null;},l));},[l,p,m].concat(_toConsumableArray(r))),{droppableRects:g,measureDroppableContainers:m,measuringScheduled:null!=i};}(H,{dragging:T,dependencies:[N.x,N.y],config:$.droppable}),G=_ref426.droppableRects,Y=_ref426.measureDroppableContainers,X=_ref426.measuringScheduled,Z=function(e,t){var n=null!=t?e.get(t):void 0,o=n?n.node.current:null;return u3(function(e){var n;return null==t?null:null!=(n=null!=o?o:e)?n:null;},[o,t]);}(D,E),U=n.useMemo(function(){return _?y3(_):null;},[_]),q=function(){var e=!1===(null==V?void 0:V.autoScrollEnabled),t="object"==_typeof(u)?!1===u.enabled:!1===u,n=T&&!e&&!t;if("object"==_typeof(u))return f(p({},u),{enabled:n});return{enabled:n};}(),J=function(e,t){return _4(e,t);}(Z,$.draggable.measure);!function(e){var t=e.activeNode,o=e.measure,r=e.initialRect,_e$config=e.config,a=_e$config===void 0?!0:_e$config;var i=n.useRef(!1),_ref427="boolean"==typeof a?{x:a,y:a}:a,s=_ref427.x,l=_ref427.y;s3(function(){if(!s&&!l||!t)return void(i.current=!1);if(i.current||!r)return;var e=null==t?void 0:t.node.current;if(!e||!1===e.isConnected)return;var n=W3(o(e),r);if(s||(n.x=0),l||(n.y=0),i.current=!0,Math.abs(n.x)>0||Math.abs(n.y)>0){var _t178=Z3(e);_t178&&_t178.scrollBy({top:n.y,left:n.x});}},[t,s,l,r,o]);}({activeNode:null!=E?D.get(E):null,config:q.layoutShiftCompensation,initialRect:J,measure:$.draggable.measure});var K=z4(Z,$.draggable.measure,J),Q=z4(Z?Z.parentElement:null),ee=n.useRef({activatorEvent:null,active:null,activeNode:Z,collisionRect:null,collisions:null,droppableRects:G,draggableNodes:D,draggingNode:null,draggingNodeRect:null,droppableContainers:P,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),te=P.getNodeFor(null==(t=ee.current.over)?void 0:t.id),ne=X4({measure:$.dragOverlay.measure}),oe=null!=(r=ne.nodeRef.current)?r:Z,re=T?null!=(a=ne.rect)?a:K:null,ae=Boolean(ne.nodeRef.current&&ne.rect),ie=W3(se=ae?null:K,_4(se));var se;var le=G4(oe?n3(oe):null),ce=function(e){var t=n.useRef(e),o=u3(function(n){return e?n&&n!==H4&&e&&t.current&&e.parentNode===t.current.parentNode?n:X3(e):H4;},[e]);return n.useEffect(function(){t.current=e;},[e]),o;}(T?null!=te?te:Z:null),ue=function(e,t){void 0===t&&(t=G3);var _e140=_slicedToArray(e,1),o=_e140[0],r=G4(o?n3(o):null),_n$useState25=n.useState(Y4),_n$useState26=_slicedToArray(_n$useState25,2),a=_n$useState26[0],i=_n$useState26[1];function s(){i(function(){return e.length?e.map(function(e){return t4(e)?r:new l4(t(e),e);}):Y4;});}var l=B4({callback:s});return s3(function(){null==l||l.disconnect(),s(),e.forEach(function(e){return null==l?void 0:l.observe(e);});},[e]),a;}(ce),de=function(e,t){var n=t,o=n.transform,r=h(n,["transform"]);return null!=e&&e.length?e.reduce(function(e,t){return t(p({transform:e},r));},o):o;}(y,{transform:{x:N.x-ie.x,y:N.y-ie.y,scaleX:1,scaleY:1},activatorEvent:_,active:A,activeNodeRect:K,containerNodeRect:Q,draggingNodeRect:re,over:ee.current.over,overlayNodeRect:ne.rect,scrollableAncestors:ce,scrollableAncestorRects:ue,windowRect:le}),pe=U?g3(U,N):null,fe=function(e){var _n$useState27=n.useState(null),_n$useState28=_slicedToArray(_n$useState27,2),t=_n$useState28[0],o=_n$useState28[1],r=n.useRef(e),a=n.useCallback(function(e){var t=U3(e.target);t&&o(function(e){return e?(e.set(t,K3(t)),new Map(e)):null;});},[]);return n.useEffect(function(){var t=r.current;if(e!==t){n(t);var _i30=e.map(function(e){var t=U3(e);return t?(t.addEventListener("scroll",a,{passive:!0}),[t,K3(t)]):null;}).filter(function(e){return null!=e;});o(_i30.length?new Map(_i30):null),r.current=e;}return function(){n(e),n(t);};function n(e){e.forEach(function(e){var t=U3(e);null==t||t.removeEventListener("scroll",a);});}},[a,e]),n.useMemo(function(){return e.length?t?Array.from(t.values()).reduce(function(e,t){return g3(e,t);},j3):i4(e):j3;},[e,t]);}(ce),me=$4(fe),he=$4(fe,[K]),ge=g3(de,me),be=re?H3(re,de):null,ve=A&&be?g({active:A,collisionRect:be,droppableRects:G,droppableContainers:H,pointerCoordinates:pe}):null,ye=function(e,t){if(!e||0===e.length)return null;var _e141=_slicedToArray(e,1),n=_e141[0];return n[t];}(ve,"id"),_n$useState23=n.useState(null),_n$useState24=_slicedToArray(_n$useState23,2),xe=_n$useState24[0],we=_n$useState24[1],Ce=function(e,t,n){return f(p({},e),{scaleX:t&&n?t.width/n.width:1,scaleY:t&&n?t.height/n.height:1});}(ae?de:g3(de,he),null!=(i=null==xe?void 0:xe.rect)?i:null,K),Se=n.useRef(null),ke=n.useCallback(function(e,t){var n=t.sensor,r=t.options;if(null==L.current)return;var a=D.get(L.current);if(!a)return;var i=e.nativeEvent,s=new n({active:L.current,activeNode:a,event:i,options:r,context:ee,onAbort:function onAbort(e){if(!D.get(e))return;var t=W.current.onDragAbort,n={id:e};null==t||t(n),k({type:"onDragAbort",event:n});},onPending:function onPending(e,t,n,o){if(!D.get(e))return;var r=W.current.onDragPending,a={id:e,constraint:t,initialCoordinates:n,offset:o};null==r||r(a),k({type:"onDragPending",event:a});},onStart:function onStart(e){var t=L.current;if(null==t)return;var n=D.get(t);if(!n)return;var r=W.current.onDragStart,a={activatorEvent:i,active:{id:t,data:n.data,rect:R}};o.unstable_batchedUpdates(function(){null==r||r(a),M(i9.Initializing),S({type:D3.DragStart,initialCoordinates:e,active:t}),k({type:"onDragStart",event:a}),F(Se.current),B(i);});},onMove:function onMove(e){S({type:D3.DragMove,coordinates:e});},onEnd:l(D3.DragEnd),onCancel:l(D3.DragCancel)});function l(e){return function(){return b(this,null,/*#__PURE__*/_regenerator().m(function _callee1(){var _ee$current,t,n,r,a,s,_o68,_t179;return _regenerator().w(function(_context1){while(1)switch(_context1.n){case 0:_ee$current=ee.current,t=_ee$current.active,n=_ee$current.collisions,r=_ee$current.over,a=_ee$current.scrollAdjustedTranslate;s=null;if(!(t&&a)){_context1.n=2;break;}_o68=W.current.cancelDrop;if(!(s={activatorEvent:i,active:t,collisions:n,delta:a,over:r},e===D3.DragEnd&&"function"==typeof _o68)){_context1.n=2;break;}_context1.n=1;return Promise.resolve(_o68(s));case 1:_t179=_context1.v;if(!_t179){_context1.n=2;break;}e=D3.DragCancel;case 2:L.current=null,o.unstable_batchedUpdates(function(){S({type:e}),M(i9.Uninitialized),we(null),F(null),B(null),Se.current=null;var t=e===D3.DragEnd?"onDragEnd":"onDragCancel";if(s){var _e142=W.current[t];null==_e142||_e142(s),k({type:t,event:s});}});case 3:return _context1.a(2);}},_callee1);}));};}Se.current=s;},[D]),Oe=function(e,t){return n.useMemo(function(){return e.reduce(function(e,n){var o=n.sensor;return[].concat(_toConsumableArray(e),_toConsumableArray(o.activators.map(function(e){return{eventName:e.eventName,handler:t(e.handler,n)};})));},[]);},[e,t]);}(m,n.useCallback(function(e,t){return function(n,o){var r=n.nativeEvent,a=D.get(o);if(null!==L.current||!a||r.dndKit||r.defaultPrevented)return;var i={active:a};!0===e(n,t.options,i)&&(r.dndKit={capturedBy:t.sensor},L.current=o,ke(n,t));};},[D,ke]));!function(e){n.useEffect(function(){if(!Q5)return;var t=e.map(function(e){var t=e.sensor;return null==t.setup?void 0:t.setup();});return function(){var _iterator17=_createForOfIteratorHelper(t),_step17;try{for(_iterator17.s();!(_step17=_iterator17.n()).done;){var _e143=_step17.value;null==_e143||_e143();}}catch(err){_iterator17.e(err);}finally{_iterator17.f();}};},e.map(function(e){var t=e.sensor;return t;}));}(m),s3(function(){K&&I===i9.Initializing&&M(i9.Initialized);},[K,I]),n.useEffect(function(){var e=W.current.onDragMove,_ee$current2=ee.current,t=_ee$current2.active,n=_ee$current2.activatorEvent,r=_ee$current2.collisions,a=_ee$current2.over;if(!t||!n)return;var i={active:t,activatorEvent:n,collisions:r,delta:{x:ge.x,y:ge.y},over:a};o.unstable_batchedUpdates(function(){null==e||e(i),k({type:"onDragMove",event:i});});},[ge.x,ge.y]),n.useEffect(function(){var _ee$current3=ee.current,e=_ee$current3.active,t=_ee$current3.activatorEvent,n=_ee$current3.collisions,r=_ee$current3.droppableContainers,a=_ee$current3.scrollAdjustedTranslate;if(!e||null==L.current||!t||!a)return;var i=W.current.onDragOver,s=r.get(ye),l=s&&s.rect.current?{id:s.id,rect:s.rect.current,data:s.data,disabled:s.disabled}:null,c={active:e,activatorEvent:t,collisions:n,delta:{x:a.x,y:a.y},over:l};o.unstable_batchedUpdates(function(){we(l),null==i||i(c),k({type:"onDragOver",event:c});});},[ye]),s3(function(){ee.current={activatorEvent:_,active:A,activeNode:Z,collisionRect:be,collisions:ve,droppableRects:G,draggableNodes:D,draggingNode:oe,draggingNodeRect:re,droppableContainers:P,over:xe,scrollableAncestors:ce,scrollAdjustedTranslate:ge},R.current={initial:re,translated:be};},[A,Z,ve,be,D,oe,re,G,P,xe,ce,ge]),j4(f(p({},q),{delta:N,draggingRect:be,pointerCoordinates:pe,scrollableAncestors:ce,scrollableAncestorRects:ue}));var Ie=n.useMemo(function(){return{active:A,activeNode:Z,activeNodeRect:K,activatorEvent:_,collisions:ve,containerNodeRect:Q,dragOverlay:ne,draggableNodes:D,droppableContainers:P,droppableRects:G,over:xe,measureDroppableContainers:Y,scrollableAncestors:ce,scrollableAncestorRects:ue,measuringConfiguration:$,measuringScheduled:X,windowRect:le};},[A,Z,K,_,ve,Q,ne,D,P,G,xe,Y,ce,ue,$,X,le]),Me=n.useMemo(function(){return{activatorEvent:_,activators:Oe,active:A,activeNodeRect:K,ariaDescribedById:{draggable:z},dispatch:S,draggableNodes:D,over:xe,measureDroppableContainers:Y};},[_,Oe,A,K,S,z,D,xe,Y]);return n.createElement(I3.Provider,{value:O},n.createElement(e9.Provider,{value:Me},n.createElement(t9.Provider,{value:Ie},n.createElement(a9.Provider,{value:Ce},d)),n.createElement(r9,{disabled:!1===(null==c?void 0:c.restoreFocus)})),n.createElement(E3,f(p({},c),{hiddenTextDescribedById:z})));}),c9=n.createContext(null),u9="button";function d9(e){var t=e.id,o=e.data,_e$disabled=e.disabled,r=_e$disabled===void 0?!1:_e$disabled,a=e.attributes;var i=m3("Draggable"),_n$useContext2=n.useContext(e9),s=_n$useContext2.activators,l=_n$useContext2.activatorEvent,c=_n$useContext2.active,u=_n$useContext2.activeNodeRect,d=_n$useContext2.ariaDescribedById,p=_n$useContext2.draggableNodes,f=_n$useContext2.over,_ref428=null!=a?a:{},_ref428$role=_ref428.role,m=_ref428$role===void 0?u9:_ref428$role,_ref428$roleDescripti=_ref428.roleDescription,h=_ref428$roleDescripti===void 0?"draggable":_ref428$roleDescripti,_ref428$tabIndex=_ref428.tabIndex,g=_ref428$tabIndex===void 0?0:_ref428$tabIndex,b=(null==c?void 0:c.id)===t,v=n.useContext(b?a9:c9),_d6=d3(),_d7=_slicedToArray(_d6,2),y=_d7[0],x=_d7[1],_d8=d3(),_d9=_slicedToArray(_d8,2),w=_d9[0],C=_d9[1],S=function(e,t){return n.useMemo(function(){return e.reduce(function(e,n){var o=n.eventName,r=n.handler;return e[o]=function(e){r(e,t);},e;},{});},[e,t]);}(s,t),k=c3(o);s3(function(){return p.set(t,{id:t,key:i,node:y,activatorNode:w,data:k}),function(){var e=p.get(t);e&&e.key===i&&p.delete(t);};},[p,t]);return{active:c,activatorEvent:l,activeNodeRect:u,attributes:n.useMemo(function(){return{role:m,tabIndex:g,"aria-disabled":r,"aria-pressed":!(!b||m!==u9)||void 0,"aria-roledescription":h,"aria-describedby":d.draggable};},[r,m,g,b,h,d.draggable]),isDragging:b,listeners:r?void 0:S,node:y,over:f,setNodeRef:x,setActivatorNodeRef:C,transform:v};}var p9={timeout:25};function f9(e,t,n){var o=e.slice();return o.splice(n<0?o.length+n:n,0,o.splice(t,1)[0]),o;}function m9(e,t){return e.reduce(function(e,n,o){var r=t.get(n);return r&&(e[o]=r),e;},Array(e.length));}function h9(e){return null!==e&&e>=0;}var g9=function g9(e){var t=e.rects,n=e.activeIndex,o=e.overIndex,r=e.index;var a=f9(t,o,n),i=t[r],s=a[r];return s&&i?{x:s.left-i.left,y:s.top-i.top,scaleX:s.width/i.width,scaleY:s.height/i.height}:null;},b9={scaleX:1,scaleY:1},v9=function v9(e){var t;var n=e.activeIndex,o=e.activeNodeRect,r=e.index,a=e.rects,i=e.overIndex;var s=null!=(t=a[n])?t:o;if(!s)return null;if(r===n){var _e144=a[i];return _e144?p({x:0,y:n<i?_e144.top+_e144.height-(s.top+s.height):_e144.top-s.top},b9):null;}var l=function(e,t,n){var o=e[t],r=e[t-1],a=e[t+1];if(!o)return 0;if(n<t)return r?o.top-(r.top+r.height):a?a.top-(o.top+o.height):0;return a?a.top-(o.top+o.height):r?o.top-(r.top+r.height):0;}(a,r,n);return p(r>n&&r<=i?{x:0,y:-s.height-l}:r<n&&r>=i?{x:0,y:s.height+l}:{x:0,y:0},b9);};var y9="Sortable",x9=n.createContext({activeIndex:-1,containerId:y9,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:g9,disabled:{draggable:!1,droppable:!1}});function w9(e){var t=e.children,o=e.id,r=e.items,_e$strategy=e.strategy,a=_e$strategy===void 0?g9:_e$strategy,_e$disabled2=e.disabled,i=_e$disabled2===void 0?!1:_e$disabled2;var _n$useContext3=n.useContext(t9),s=_n$useContext3.active,l=_n$useContext3.dragOverlay,c=_n$useContext3.droppableRects,u=_n$useContext3.over,d=_n$useContext3.measureDroppableContainers,p=m3(y9,o),f=Boolean(null!==l.rect),m=n.useMemo(function(){return r.map(function(e){return"object"==_typeof(e)&&"id"in e?e.id:e;});},[r]),h=null!=s,g=s?m.indexOf(s.id):-1,b=u?m.indexOf(u.id):-1,v=n.useRef(m),y=!function(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(var _n110=0;_n110<e.length;_n110++)if(e[_n110]!==t[_n110])return!1;return!0;}(m,v.current),x=-1!==b&&-1===g||y,w=function(e){return"boolean"==typeof e?{draggable:e,droppable:e}:e;}(i);s3(function(){y&&h&&d(m);},[y,m,h,d]),n.useEffect(function(){v.current=m;},[m]);var C=n.useMemo(function(){return{activeIndex:g,containerId:p,disabled:w,disableTransforms:x,items:m,overIndex:b,useDragOverlay:f,sortedRects:m9(m,c),strategy:a};},[g,p,w.draggable,w.droppable,x,m,b,c,f,a]);return n.createElement(x9.Provider,{value:C},t);}var C9=function C9(e){var t=e.id,n=e.items,o=e.activeIndex,r=e.overIndex;return f9(n,o,r).indexOf(t);},S9=function S9(e){var t=e.containerId,n=e.isSorting,o=e.wasDragging,r=e.index,a=e.items,i=e.newIndex,s=e.previousItems,l=e.previousContainerId,c=e.transition;return!(!c||!o)&&(s===a||r!==i)&&(!!n||i!==r&&t===l);},k9={duration:200,easing:"ease"},O9="transform",I9=x3.Transition.toString({property:O9,duration:0,easing:"linear"}),M9={roleDescription:"sortable"};function T9(e){var _e$animateLayoutChang=e.animateLayoutChanges,t=_e$animateLayoutChang===void 0?S9:_e$animateLayoutChang,o=e.attributes,r=e.disabled,a=e.data,_e$getNewIndex=e.getNewIndex,i=_e$getNewIndex===void 0?C9:_e$getNewIndex,s=e.id,l=e.strategy,c=e.resizeObserverConfig,_e$transition=e.transition,u=_e$transition===void 0?k9:_e$transition;var _n$useContext4=n.useContext(x9),d=_n$useContext4.items,m=_n$useContext4.containerId,h=_n$useContext4.activeIndex,g=_n$useContext4.disabled,b=_n$useContext4.disableTransforms,v=_n$useContext4.sortedRects,y=_n$useContext4.overIndex,x=_n$useContext4.useDragOverlay,w=_n$useContext4.strategy,C=function(e,t){var n,o;if("boolean"==typeof e)return{draggable:e,droppable:!1};return{draggable:null!=(n=null==e?void 0:e.draggable)?n:t.draggable,droppable:null!=(o=null==e?void 0:e.droppable)?o:t.droppable};}(r,g),S=d.indexOf(s),k=n.useMemo(function(){return p({sortable:{containerId:m,index:S,items:d}},a);},[m,a,S,d]),O=n.useMemo(function(){return d.slice(d.indexOf(s));},[d,s]),_ref429=function(e){var t=e.data,_e$disabled3=e.disabled,o=_e$disabled3===void 0?!1:_e$disabled3,r=e.id,a=e.resizeObserverConfig;var i=m3("Droppable"),_n$useContext5=n.useContext(e9),s=_n$useContext5.active,l=_n$useContext5.dispatch,c=_n$useContext5.over,u=_n$useContext5.measureDroppableContainers,d=n.useRef({disabled:o}),f=n.useRef(!1),m=n.useRef(null),h=n.useRef(null),_p6=p(p({},p9),a),g=_p6.disabled,b=_p6.updateMeasurementsFor,v=_p6.timeout,y=c3(null!=b?b:r),x=B4({callback:n.useCallback(function(){f.current?(null!=h.current&&clearTimeout(h.current),h.current=setTimeout(function(){u(Array.isArray(y.current)?y.current:[y.current]),h.current=null;},v)):f.current=!0;},[v]),disabled:g||!s}),w=n.useCallback(function(e,t){x&&(t&&(x.unobserve(t),f.current=!1),e&&x.observe(e));},[x]),_d1=d3(w),_d10=_slicedToArray(_d1,2),C=_d10[0],S=_d10[1],k=c3(t);return n.useEffect(function(){x&&C.current&&(x.disconnect(),f.current=!1,x.observe(C.current));},[C,x]),n.useEffect(function(){return l({type:D3.RegisterDroppable,element:{id:r,key:i,disabled:o,node:C,rect:m,data:k}}),function(){return l({type:D3.UnregisterDroppable,key:i,id:r});};},[r]),n.useEffect(function(){o!==d.current.disabled&&(l({type:D3.SetDroppableDisabled,id:r,key:i,disabled:o}),d.current.disabled=o);},[r,i,o,l]),{active:s,rect:m,isOver:(null==c?void 0:c.id)===r,node:C,over:c,setNodeRef:S};}({id:s,data:k,disabled:C.droppable,resizeObserverConfig:p({updateMeasurementsFor:O},c)}),I=_ref429.rect,M=_ref429.node,T=_ref429.isOver,E=_ref429.setNodeRef,_d0=d9({id:s,data:k,attributes:p(p({},M9),o),disabled:C.draggable}),D=_d0.active,N=_d0.activatorEvent,P=_d0.activeNodeRect,j=_d0.attributes,R=_d0.setNodeRef,A=_d0.listeners,L=_d0.isDragging,V=_d0.over,F=_d0.setActivatorNodeRef,_=_d0.transform,B=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return n.useMemo(function(){return function(e){t.forEach(function(t){return t(e);});};},t);}(E,R),W=Boolean(D),z=W&&!b&&h9(h)&&h9(y),H=!x&&L,$=H&&z?_:null,G=z?null!=$?$:(null!=l?l:w)({rects:v,activeNodeRect:P,activeIndex:h,overIndex:y,index:S}):null,Y=h9(h)&&h9(y)?i({id:s,items:d,activeIndex:h,overIndex:y}):S,X=null==D?void 0:D.id,Z=n.useRef({activeId:X,items:d,newIndex:Y,containerId:m}),U=d!==Z.current.items,q=t({active:D,containerId:m,isDragging:L,isSorting:W,id:s,index:S,items:d,newIndex:Z.current.newIndex,previousItems:Z.current.items,previousContainerId:Z.current.containerId,transition:u,wasDragging:null!=Z.current.activeId}),J=function(e){var t=e.disabled,o=e.index,r=e.node,a=e.rect;var _n$useState29=n.useState(null),_n$useState30=_slicedToArray(_n$useState29,2),i=_n$useState30[0],s=_n$useState30[1],l=n.useRef(o);return s3(function(){if(!t&&o!==l.current&&r.current){var _e145=a.current;if(_e145){var _t180=G3(r.current,{ignoreTransform:!0}),_n111={x:_e145.left-_t180.left,y:_e145.top-_t180.top,scaleX:_e145.width/_t180.width,scaleY:_e145.height/_t180.height};(_n111.x||_n111.y)&&s(_n111);}}o!==l.current&&(l.current=o);},[t,o,r,a]),n.useEffect(function(){i&&s(null);},[i]),i;}({disabled:!q,index:S,node:M,rect:I});return n.useEffect(function(){W&&Z.current.newIndex!==Y&&(Z.current.newIndex=Y),m!==Z.current.containerId&&(Z.current.containerId=m),d!==Z.current.items&&(Z.current.items=d);},[W,Y,m,d]),n.useEffect(function(){if(X===Z.current.activeId)return;if(null!=X&&null==Z.current.activeId)return void(Z.current.activeId=X);var e=setTimeout(function(){Z.current.activeId=X;},50);return function(){return clearTimeout(e);};},[X]),{active:D,activeIndex:h,attributes:j,data:k,rect:I,index:S,newIndex:Y,items:d,isOver:T,isSorting:W,isDragging:L,listeners:A,node:M,overIndex:y,over:V,setNodeRef:B,setActivatorNodeRef:F,setDroppableNodeRef:E,setDraggableNodeRef:R,transform:null!=J?J:G,transition:function(){if(J||U&&Z.current.newIndex===S)return I9;if(H&&!v3(N)||!u)return;if(W||q)return x3.Transition.toString(f(p({},u),{property:O9}));return;}()};}f4.Down,f4.Right,f4.Up,f4.Left;var E9="draggableList-module_draggable-list_NI1GQ",D9="draggableList-module_draggable-list--label_z7uQR",N9="draggableList-module_draggable-list--add-button_ouYIE",P9="draggableList-module_draggable-list--item_GfOt1",j9="draggableList-module_draggable-list--item--dragging_oUPMU",R9="draggableList-module_draggable-list--item--adding_hhlcL",A9="draggableList-module_draggable-list--item--removing_WsP1H",L9=Wd("MuiBox",["root"]),V9=Qf(),F9=function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var n=e.themeId,o=e.defaultTheme,_e$defaultClassName=e.defaultClassName,r=_e$defaultClassName===void 0?"MuiBox-root":_e$defaultClassName,a=e.generateClassName,i=Od("div",{shouldForwardProp:function shouldForwardProp(e){return"theme"!==e&&"sx"!==e&&"as"!==e;}})(Mc);return y.forwardRef(function(e,s){var l=Rd(o),c=e,u=c.className,_c$component=c.component,d=_c$component===void 0?"div":_c$component,f=h(c,["className","component"]);return t.jsx(i,p({as:d,ref:s,className:N(u,a?a(r):r),theme:n&&l[n]||l},f));});}({themeId:tm,defaultTheme:V9,defaultClassName:L9.root,generateClassName:Fd.generate});"production"!==process.env.NODE_ENV&&(F9.propTypes={children:Ss.node,component:Ss.elementType,sx:Ss.oneOfType([Ss.arrayOf(Ss.oneOfType([Ss.func,Ss.object,Ss.bool])),Ss.func,Ss.object])});var _9=wm(t.jsx("path",{d:"M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2m-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"}),"DragIndicator");var B9=n.memo(function(e){var o=e.item,r=e.isAdding,a=e.onRemove,i=e.canRemove,s=e.showRemoveAction,l=void 0===s||s,c=e.component,u=e.isRemoving,d=e.onSelectValue,p=e.componentProps,f=Boolean(null==p?void 0:p.disabled),m=!i||i(o),h=T9({id:o.id,disabled:f}),g=h.attributes,b=h.listeners,v=h.setActivatorNodeRef,y=h.setNodeRef,x=h.transform,w=h.transition,S=h.isDragging,O=n.useCallback(function(){m&&a(o.id);},[m,o.id,a]),I=c;return t.jsxs(MI,{ref:y,className:N(P9,C(C(C({},j9,S),R9,r),A9,u)),elevation:0,style:{transform:x3.Transform.toString(x),transition:w},children:[t.jsx("span",k(k(k({ref:v,"aria-label":NS("a11y.reorder")},g),b),{},{children:t.jsx(wh,{size:"16",children:t.jsx(_9,{})})})),I?t.jsx(I,k(k(k({},p),o),{},{item:o,disabled:f,onItemChange:function onItemChange(e){return d(o.id,e);}})):null,l&&t.jsx(wh,{size:"8",role:"button","aria-label":NS("a11y.remove"),onClick:O,disabled:f||!m,color:ph("primary","500"),children:t.jsx(Lh,{})})]});});B9.displayName="DraggableRow";var W9=["label","addLabel","onChange","canRemove","showRemoveAction","itemComponent","value","componentProps","input"],z9="draggable-item",H9=function H9(e){return Array.isArray(e)&&(0===e.length||"string"==typeof e[0]);},$9=B(function(e){var o,r,a=e.label,i=e.addLabel,s=e.onChange,l=e.canRemove,c=e.showRemoveAction,u=void 0===c||c,d=e.itemComponent,p=e.value,f=void 0===p?[]:p,m=e.componentProps,h=e.input,g=O(e,W9);if(!d)return null;var b,v,y=null!==(o=null!==(r=null==h?void 0:h.value)&&void 0!==r?r:f)&&void 0!==o?o:[],x=n.useMemo(function(){return e=y,Array.isArray(e)?H9(e)?e.map(function(e,t){return{id:"".concat(z9,"-string-").concat(t,"-").concat(e),value:e};}):e:[];var e;},[y]),w=n.useRef(H9(y)?"strings":"objects"),C=I(n.useState(x),2),S=C[0],T=C[1],E=I(n.useState(new Set()),2),D=E[0],P=E[1],j=I(n.useState(new Set()),2),R=j[0],A=j[1],L=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return n.useMemo(function(){return[].concat(t).filter(function(e){return null!=e;});},[].concat(t));}((b=k4,n.useMemo(function(){return{sensor:b,options:{}};},[b,v]))),V=n.useMemo(function(){return S.map(function(e){return e.id;});},[S]);n.useEffect(function(){w.current=H9(y)?"strings":"objects",T(x);},[x,y]);var F=n.useCallback(function(e){return"strings"===w.current?e.map(function(e){var t;return null!==(t=e.value)&&void 0!==t?t:"";}):e;},[]),_=PS({input:h,onChange:function onChange(e){var t,n;if(s){var o=F(e),r=null!==(t=null!==(n=null==h?void 0:h.name)&&void 0!==n?n:null==m?void 0:m.name)&&void 0!==t?t:"draggableList";s({target:{name:r,value:o}});}},transformValue:function transformValue(e){return F(e);}}).handleChange,B=n.useCallback(function(e){T(function(t){var n="function"==typeof e?e(t):e;return _(n),n;});},[_]),W=n.useCallback(function(e){A(function(t){return new Set(t).add(e);}),setTimeout(function(){B(function(t){return t.filter(function(t){return t.id!==e;});}),A(function(t){var n=new Set(t);return n.delete(e),n;});},300);},[B]),z=n.useCallback(function(e,t){B(function(n){return n.map(function(n){return n.id===e?k(k({},n),{},{value:t}):n;});});},[B]),H=n.useCallback(function(){B(function(e){var t,n=(t=e.length,{id:"".concat(z9,"-").concat(t,"-").concat(Date.now()),value:""});return P(function(e){return new Set(e).add(n.id);}),setTimeout(function(){P(function(e){var t=new Set(e);return t.delete(n.id),t;});},300),[].concat(M(e),[n]);});},[B]),$=n.useCallback(function(e){var t=e.active,n=e.over;n&&t.id!==n.id&&B(function(e){var o=e.findIndex(function(e){return e.id===t.id;}),r=e.findIndex(function(e){return e.id===n.id;});return-1===o||-1===r?e:f9(e,o,r);});},[B]);return t.jsxs("div",k(k({className:N(E9)},g),{},{children:[a&&t.jsx("div",{className:D9,children:a}),t.jsx(l9,{sensors:L,collisionDetection:F3,onDragEnd:$,children:t.jsx(w9,{items:V,strategy:v9,children:S.map(function(e){return t.jsx(B9,{item:e,component:d,canRemove:l,showRemoveAction:u,onRemove:W,componentProps:m,onSelectValue:z,isAdding:D.has(e.id),isRemoving:R.has(e.id)},e.id);})})}),t.jsx("div",{className:N(N9),children:t.jsx(bZ,{href:"#",size:"sm",onClick:function onClick(e){e.preventDefault(),H();},children:i||NS("addPlus")})})]}));},"DraggableList");var G9="dropzone-module_dropzone_s6uiA",Y9="dropzone-module_label_LGKwn",X9="dropzone-module_input_W4Rty",Z9="dropzone-module_area_24Xf3",U9="dropzone-module_error_c-jB-",q9="dropzone-module_instructions_Q21KZ",J9="dropzone-module_action_zulkw",K9="dropzone-module_hint_aTyPQ",Q9="dropzone-module_drag-active_f00v1",e6="dropzone-module_loading_zmnqc",t6="dropzone-module_invalid_dnk8R",n6="dropzone-module_disabled_2ajiy",o6=wm(t.jsx("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M14 13v4h-4v-4H7l5-5 5 5z"}),"CloudUpload");var r6={PDF:{mime:"application/pdf",extensions:[".pdf"]},XML:{mime:"text/xml",extensions:[".xml"]},XLSX:{mime:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",extensions:[".xlsx"]},XLS:{mime:"application/vnd.ms-excel",extensions:[".xls"]},CSV:{mime:"text/csv",extensions:[".csv"]},PNG:{mime:"image/png",extensions:[".png"]},JPEG:{mime:"image/jpeg",extensions:[".jpeg",".jpg"]},IMAGE:{mime:"image/*",extensions:[]}},a6=function a6(e,t){var n=t.accept,o=t.maxSize,r=t.maxFiles,a=e.slice(0,r),i=e.slice(r),s=[],l=i.map(function(e){return{file:e,reason:"tooManyFiles"};});return a.forEach(function(e){(function(e,t){return null==t||!t.length||t.some(function(t){var n,o,r,a=r6[t];return!!a&&(o=e.type,((r=a.mime).endsWith("/*")?o.startsWith(r.replace("/*","/")):o===r)||(n=e.name,a.extensions.some(function(e){return n.toLowerCase().endsWith(e);})));});})(e,n)?o&&e.size>1024*o*1024?l.push({file:e,reason:"tooLarge"}):s.push(e):l.push({file:e,reason:"invalidType"});}),{accepted:s,rejected:l};},i6=function i6(e){var t=e.onDrop,o=e.onReject,r=void 0===o?void 0:o,a=e.accept,i=void 0===a?void 0:a,s=e.maxSize,l=void 0===s?void 0:s,c=e.maxFiles,u=void 0===c?1:c,d=e.disabled,p=void 0!==d&&d,f=I(n.useState(!1),2),m=f[0],h=f[1],g=n.useRef(0),b=n.useMemo(function(){return function(e){if(null!=e&&e.length){var t=e.reduce(function(e,t){var n=r6[t];return n?e.concat(n.mime,n.extensions):e;},[]);return Array.from(new Set(t)).join(",");}}(i);},[i]),v=n.useCallback(function(e){var n=Array.from(null!=e?e:[]);if(n.length){var o=a6(n,{accept:i,maxSize:l,maxFiles:u}),a=o.accepted,s=o.rejected;s.length&&(null==r||r(s)),a.length&&t(a);}},[i,l,u,t,r]),y=n.useCallback(function(e){e.preventDefault(),p||(g.current+=1,h(!0));},[p]),x=n.useCallback(function(e){e.preventDefault();},[]),w=n.useCallback(function(e){e.preventDefault(),g.current=Math.max(0,g.current-1),g.current||h(!1);},[]),C=n.useCallback(function(e){var t,n;e.preventDefault(),g.current=0,h(!1),p||v(null!==(t=null===(n=e.dataTransfer)||void 0===n?void 0:n.files)&&void 0!==t?t:null);},[p,v]),S=n.useCallback(function(e){v(e.target.files),e.target.value="";},[v]);return{isDragActive:m,acceptAttribute:b,dragHandlers:n.useMemo(function(){return{onDragEnter:y,onDragOver:x,onDragLeave:w,onDrop:C};},[y,x,w,C]),handleInputChange:S,isMultiple:u>1};},s6=["onDrop","onReject","accept","maxSize","maxFiles","label","error","isLoading","loadingText","disabled","name"],l6=B(function(e){var o=e.onDrop,r=e.onReject,a=void 0===r?void 0:r,i=e.accept,s=void 0===i?void 0:i,l=e.maxSize,c=void 0===l?void 0:l,u=e.maxFiles,d=void 0===u?1:u,p=e.label,f=void 0===p?void 0:p,m=e.error,h=void 0===m?void 0:m,g=e.isLoading,b=void 0!==g&&g,v=e.loadingText,y=void 0===v?void 0:v,x=e.disabled,w=void 0!==x&&x,S=e.name,I=void 0===S?void 0:S,M=O(e,s6),T=n.useId(),E=null!=I?I:T,D=w||b,P=i6({onDrop:o,onReject:a,accept:s,maxSize:c,maxFiles:d,disabled:D}),j=P.isDragActive,R=P.acceptAttribute,A=P.dragHandlers,L=P.handleInputChange,V=P.isMultiple;return t.jsxs("div",{className:G9,children:[!!f&&t.jsx("label",{htmlFor:E,className:Y9,children:f}),t.jsx("input",k({id:E,name:I,type:"file",className:X9,accept:R,multiple:V,disabled:D,"aria-describedby":h?"".concat(E,"-error"):void 0,onChange:L},M)),t.jsx("label",k(k({htmlFor:E,"aria-busy":b||void 0,className:N(Z9,C(C(C(C({},Q9,j&&!D),e6,b),t6,!!h),n6,D))},A),{},{children:b?t.jsxs(t.Fragment,{children:[t.jsx(GX,{size:"sm"}),t.jsx("p",{className:q9,children:null!=y?y:NS("dropzone.uploadingFile")})]}):t.jsxs(t.Fragment,{children:[t.jsx(wh,{size:"24",color:ph("primary","500"),children:t.jsx(o6,{"data-testid":"CloudUploadIcon"})}),t.jsxs("p",{className:q9,children:[NS("dropzone.dropFiles")," ",t.jsx("span",{className:J9,children:NS("dropzone.clickHere")})]}),!!c&&t.jsx("span",{className:K9,children:NS("dropzone.maxSize",{maxSize:c})})]})})),!!h&&t.jsx("span",{id:"".concat(E,"-error"),role:"alert",className:U9,children:h})]});},"Dropzone"),c6=go,u6=Uo,d6=yo,p6=Qm,f6=TY;var m6=z(function(e){if(null==e)return 0;if(d6(e))return p6(e)?f6(e):e.length;var t=u6(e);return"[object Map]"==t||"[object Set]"==t?e.size:c6(e).length;}),h6=wm(t.jsx("path",{d:"M9 16.17 5.53 12.7a.996.996 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41l4.18 4.18c.39.39 1.02.39 1.41 0L20.29 7.71c.39-.39.39-1.02 0-1.41a.996.996 0 0 0-1.41 0z"}),"CheckRounded"),g6={stepper:"stepper-module_stepper_gHKwd",step:"stepper-module_step_Azhew",circle:"stepper-module_circle_Bke9b",circleNumber:"stepper-module_circleNumber_B5iiB",checkIcon:"stepper-module_checkIcon_FBwCT","stepper-check-in":"stepper-module_stepper-check-in_ebuuV",completed:"stepper-module_completed_v-jTa","stepper-pop":"stepper-module_stepper-pop_HEFCF",current:"stepper-module_current_-39vJ",pending:"stepper-module_pending_HgdCr",label:"stepper-module_label_-YviU",separator:"stepper-module_separator_8n-wG"};var b6=["label","status"],v6=["steps","activeStep"],y6=function y6(e){var n=e.status,o=e.index;return t.jsx("span",{className:N(g6.circle,g6[n]),children:"completed"===n?t.jsx(h6,{"data-testid":"CheckRoundedIcon",className:g6.checkIcon}):t.jsx("span",{className:g6.circleNumber,children:o+1})});},x6=function x6(e){var n=e.step,o=e.index,r=e.isLast,a=e.activeStep,i=n.label,s=n.status,l=O(n,b6),c=function(e,t,n){return n||(e<t?"completed":e===t?"current":"pending");}(o,a,s);return t.jsxs(t.Fragment,{children:[t.jsxs("div",k(k({className:N(g6.step,g6[c])},l),{},{children:[t.jsx(y6,{status:c,index:o}),t.jsx("span",{className:g6.label,children:i})]})),!r&&t.jsx("span",{className:N(g6.separator,"completed"===c&&g6.completed),"aria-hidden":"true"})]});},w6=n.createContext([]);var C6="table-module_table-wrapper_vhMx4",S6="table-module_table_NUX-V",k6="table-module_header-row_ry6Lv",O6="table-module_body-row_OMOX0",I6="table-module_header-cell_0FEWz",M6="table-module_body-cell_p4019",T6="table-module_body-async_21Z7L";var E6=["data","isLoading","error","empty","success"],D6=function D6(e){var o=e.data,r=e.isLoading,a=e.error,i=e.empty,s=e.success,l=O(e,E6),c=n.useContext(w6);return!(r||null!=a&&a.value||null!=s&&s.value||!(o.length>0))?t.jsx("tbody",k(k({},l),{},{children:o.map(function(e,n){return t.jsx("tr",{className:O6,children:c.map(function(o){var r=e[o.key];return t.jsx(F9,{sx:o.sx,component:"td",className:M6,children:o.render?o.render(e,n):String(null!=r?r:"")},o.key);})},n);})})):t.jsx("tbody",k(k({},l),{},{children:t.jsx("tr",{children:t.jsx("td",{colSpan:c.length,className:T6,children:t.jsx(TZ,{isLoading:r,error:a,success:s,empty:k(k({},i),{},{items:o}),children:t.jsx(t.Fragment,{})})})})}));},N6=["columns"],P6=["key","header","sx","render"],j6=function j6(e){var o=e.columns,r=O(e,N6),a=n.useContext(w6),i=null!=o?o:a;return t.jsx("thead",k(k({},r),{},{children:t.jsx("tr",{className:k6,children:i.map(function(e){var n=e.key,o=e.header,r=e.sx;e.render;var a=O(e,P6);return t.jsx(F9,k(k({sx:r,component:"th",className:I6},a),{},{children:o||t.jsx(F9,{component:"span",sx:yN,children:n})}),n);})})}));},R6=["columns","children","className"],A6=function A6(e){var n=e.columns,o=e.children,r=e.className,a=O(e,R6);return t.jsx(w6.Provider,{value:n,children:t.jsx("div",k(k({className:N(C6,r)},a),{},{children:t.jsx("table",{className:S6,children:o})}))});};A6.Header=j6,A6.Body=D6;var L6=function L6(){if("undefined"!=typeof document){var e=document.modelContext;if(e)return e;}if("undefined"!=typeof navigator)return navigator.modelContext;};e.ActionBar=jZ,e.Alert=DJ,e.AsyncContent=TZ,e.Breadcrumb=LJ,e.Button=Qi,e.Card=Oq,e.Categories=bh,e.CheckIcon=function(e){var n=e.size,o=void 0===n?10:n,r=e.color,a=void 0===r?ag:r,i=O(e,rg),s=vh(a)||a===ag?a:ag;return t.jsx("svg",k(k({},i),{},{width:o,height:o,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:t.jsx("path",{d:"M8.84843 1.00018C8.20766 2.13177 7.60452 3.15733 6.83007 4.44044C5.17131 7.18215 3.92252 8.94485 3.92252 8.94485L0.999993 5.8593",stroke:s,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}));},e.Checkbox=DX,e.CheckboxGroup=TX,e.CheckboxInput=DX,e.CheckboxInputGroup=TX,e.Chip=kh,e.ClearComponent=$S,e.ColorOptions=mh,e.ColorValues=hh,e.Colors=dh,e.ConditionalOperator=oU,e.CopyButton=FZ,e.CustomIcon=wh,e.DatePicker=function(e){var n=e.label,o=e.rightAdornment,r=O(e,fH);return t.jsx(wX,k({type:"date",label:n,rightAdornment:o},r));},e.DatePickerInput=mH,e.DateRangePicker=function(e){var n=e.label,o=e.rightAdornment,r=e.value,a=O(e,vX);return t.jsx(wX,k({type:"dateRange",label:n,rightAdornment:o,value:r},a));},e.DateRangePickerInput=yX,e.DraggableList=$9,e.Dropdown=K5,e.Dropzone=l6,e.EmptyState=xZ,e.EmptyStateIcon=Xh,e.ErrorStateIcon=og,e.FileIcon=function(e){var n=e.size,o=void 0===n?24:n,r=e.color,a=void 0===r?Dh:r,i=O(e,Eh),s=vh(a)?a:Dh;return t.jsxs("svg",k(k({},i),{},{width:o,height:"100%",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[t.jsx("path",{d:"M13 2H6C5.46957 2 4.96086 2.21071 4.58579 2.58579C4.21071 2.96086 4 3.46957 4 4V20C4 20.5304 4.21071 21.0391 4.58579 21.4142C4.96086 21.7893 5.46957 22 6 22H18C18.5304 22 19.0391 21.7893 19.4142 21.4142C19.7893 21.0391 20 20.5304 20 20V9L13 2Z",stroke:s,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),t.jsx("path",{d:"M13 2V9H20",stroke:s,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}));},e.FileRow=aJ,e.FormField=wX,e.GeneratingState=function(e){var n=e.highlight,o=e.icon,r=void 0===o?FU:o,a=e.text,i=void 0===a?NS("generatingState.text"):a,s=e.description,l=void 0===s?NS("generatingState.description"):s,c=O(e,VU),u=n?t.jsxs(t.Fragment,{children:[i," ",t.jsx("strong",{className:AU,children:n})]}):i;return t.jsxs("div",k(k({className:NU,role:"status"},c),{},{children:[r,t.jsxs("div",{className:PU,children:[t.jsx("p",{className:RU,children:u}),t.jsx("p",{className:LU,children:l})]}),t.jsx("div",{className:jU,children:t.jsx(GX,{size:"sm"})})]}));},e.GeneratingStateIcon=Ag,e.HeaderSection=function(e){var n=e.breadcrumb,o=e.image,r=e.dense,a=void 0!==r&&r,i=e.title,s=e.subtitle,l=e.link,c=e.menuAction,u=O(e,$Z);return t.jsxs("div",k(k({className:N(_Z,C({},BZ,a))},u),{},{children:[!!n&&n,t.jsxs("div",{className:WZ,children:[!!o&&o,t.jsxs("div",{className:zZ,children:[i&&t.jsx("h3",{className:HZ,children:i}),!!s&&s,!!l&&l]}),!!c&&c]})]}));},e.HelpArticleLink=kU,e.IconWithIdentifier=function(e){var n=e.text,o=e.icon,r=e.color,a=e.size,i=void 0===a?"md":a,s=e.showDivider,l=void 0===s||s,c=O(e,qZ);return t.jsxs("div",k(k({className:N(UZ["icon-with-identifier"],UZ[i])},c),{},{children:[!!o&&o,l&&t.jsx("div",{className:UZ.divider}),!!n&&t.jsx("span",{className:UZ.identifier,style:{color:r},children:n})]}));},e.Image=bq,e.Link=bZ,e.LinkWithIcon=function(e){var n=e.text,o=e.icon,r=e.onClick,a=e.className,i=e.size,s=void 0===i?"md":i,l=e.otherProps,c=void 0===l?{}:l,u=O(e,YZ),d=I(Zi(c),2)[1];return t.jsxs("div",{className:N(GZ,a),onClick:r,children:[o&&t.jsx(wh,k(k({color:ph("primary","500")},d),{},{size:ZZ(s),children:o})),t.jsx(Qi,k(k({variant:"link",label:n,size:s},c),u))]});},e.MailIcon=function(e){var n=e.size,o=void 0===n?24:n,r=e.color,a=void 0===r?Th:r,i=O(e,Mh),s=vh(a)?a:Th;return t.jsxs("svg",k(k({},i),{},{width:o,height:"100%",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[t.jsx("path",{d:"M4 4H20C21.1 4 22 4.9 22 6V18C22 19.1 21.1 20 20 20H4C2.9 20 2 19.1 2 18V6C2 4.9 2.9 4 4 4Z",stroke:s,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),t.jsx("path",{d:"M22 6L12 13L2 6",stroke:s,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}));},e.Maintenance=function(e){var n=e.title,o=void 0===n?NS("maintenance.title"):n,r=e.description,a=void 0===r?NS("maintenance.description"):r,i=e.subtitle,s=void 0===i?NS("maintenance.subtitle"):i,l=O(e,DU);return t.jsx("div",k(k({className:OU},l),{},{children:t.jsxs("div",{className:IU,children:[t.jsx("div",{className:MU,children:t.jsx(Zg,{})}),t.jsx("h1",{className:TU,children:o}),t.jsxs("div",{className:EU,children:[t.jsx("p",{children:a}),t.jsx("p",{children:s})]})]})}));},e.MaintenanceIcon=Zg,e.MenuAction=function(e){var o=e.items,r=e.id,a=void 0===r?"menu-action-button":r,i=e.maxItemsVisible,s=void 0===i?6:i,l=e.icon,c=e.size,u=void 0===c?"md":c,d=e.disableRipple,p=void 0!==d&&d,f=e.iconButtonSx,m=O(e,GJ),h=I(n.useState(null),2),g=h[0],b=h[1],v=Boolean(g),y=I(Zi(m),2),x=y[0],w=y[1],C=function C(){b(null);};return t.jsxs("div",{children:[t.jsx(AD,k(k({id:a,"aria-label":NS("a11y.moreActions"),"aria-controls":v?"".concat(a,"-menu"):void 0,"aria-expanded":v?"true":void 0,"aria-haspopup":"true",onClick:function onClick(e){b(e.currentTarget);},disableRipple:p,sx:f},x),{},{children:null!=l?l:t.jsx(wh,{color:ph("grey","900"),children:t.jsx(VJ,{})})})),t.jsx(lW,k(k({id:"".concat(a,"-menu"),anchorEl:g,open:v,onClose:C,disableScrollLock:!0,slotProps:{list:{"aria-labelledby":a}},anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},sx:FJ(u,s)},w),{},{children:Wm(o,function(e,n){var o;return t.jsx($J,k(k({},e),{},{size:null!==(o=e.size)&&void 0!==o?o:u,onClose:C}),n);})}))]});},e.MenuItemComponent=$J,e.Modal=uq,e.ModalBody=lq,e.ModalFooter=cq,e.ModalTitle=rq,e.NewStateIcon=Mg,e.Option=_S,e.OverflowChecker=vU,e.PermissionOption=bJ,e.PermissionSelector=SJ,e.PickChannelModal=Dq,e.PriceCloseIcon=function(e){var n=e.size,o=void 0===n?24:n,r=e.color,a=void 0===r?jh:r,i=O(e,Ph),s=vh(a)?a:jh;return t.jsxs("svg",k(k({},i),{},{width:o,height:"100%",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[t.jsx("path",{d:"M22.6371 18.2207H22.1451V17.2905C22.1505 16.9818 22.0908 16.675 21.9697 16.3883C21.8485 16.1015 21.6681 15.8404 21.4392 15.6203C21.2103 15.4001 20.9373 15.2252 20.6362 15.1059C20.3351 14.9865 20.0119 14.925 19.6854 14.925C19.3589 14.925 19.0357 14.9865 18.7346 15.1059C18.4335 15.2252 18.1605 15.4001 17.9316 15.6203C17.7026 15.8404 17.5223 16.1015 17.4011 16.3883C17.2799 16.675 17.2203 16.9818 17.2257 17.2905V18.2207H16.7337C16.4724 18.2214 16.2221 18.3201 16.0377 18.495C15.8532 18.67 15.7496 18.907 15.7496 19.1541V23.8077C15.7503 24.0543 15.8542 24.2907 16.0386 24.4651C16.223 24.6395 16.4729 24.7378 16.7337 24.7385H22.6405C22.9012 24.7378 23.1511 24.6395 23.3355 24.4651C23.5199 24.2907 23.6238 24.0543 23.6245 23.8077V19.1541C23.6245 19.0315 23.5989 18.9101 23.5493 18.7968C23.4997 18.6835 23.4269 18.5806 23.3352 18.4939C23.2435 18.4072 23.1347 18.3385 23.0149 18.2916C22.8951 18.2447 22.7667 18.2207 22.6371 18.2207ZM19.6837 22.4114C19.4891 22.4114 19.2988 22.3568 19.137 22.2545C18.9752 22.1523 18.8491 22.0069 18.7746 21.8368C18.7001 21.6667 18.6806 21.4795 18.7186 21.299C18.7566 21.1184 18.8503 20.9526 18.9879 20.8224C19.1255 20.6922 19.3008 20.6035 19.4917 20.5676C19.6826 20.5317 19.8805 20.5501 20.0603 20.6206C20.2401 20.691 20.3938 20.8104 20.5019 20.9634C20.61 21.1165 20.6677 21.2965 20.6677 21.4806C20.6665 21.7267 20.5625 21.9624 20.3785 22.1364C20.1945 22.3103 19.9452 22.4085 19.685 22.4095L19.6837 22.4114ZM21.2087 18.2207H18.16V17.2905C18.16 16.9079 18.3207 16.541 18.6067 16.2705C18.8927 15.9999 19.2806 15.8479 19.685 15.8479C20.0895 15.8479 20.4774 15.9999 20.7634 16.2705C21.0494 16.541 21.2101 16.9079 21.2101 17.2905L21.2087 18.2207Z",fill:s}),t.jsx("mask",{id:"path-2-inside-1_1_970",fill:"white",children:t.jsx("path",{d:"M21.4995 11.6539C22.0518 11.6539 22.5044 11.2052 22.4523 10.6553C22.2811 8.8512 21.6481 7.11114 20.6036 5.596C19.3675 3.80287 17.6105 2.4053 15.5549 1.58001C13.4992 0.75472 11.2373 0.538787 9.05505 0.959515C6.87281 1.38024 4.86829 2.41874 3.29498 3.94367C1.72167 5.4686 0.650236 7.41148 0.216161 9.52663C-0.217914 11.6418 0.00486931 13.8342 0.856338 15.8266C1.70781 17.819 3.14972 19.522 4.99973 20.7201C6.57173 21.7382 8.3784 22.3529 10.251 22.5147C10.8012 22.5622 11.2498 22.11 11.2498 21.5577V21.1638C11.2498 20.6115 10.8007 20.1695 10.2518 20.1087C8.86847 19.9553 7.53753 19.4845 6.37192 18.7296C4.92807 17.7945 3.80272 16.4655 3.13819 14.9105C2.47366 13.3555 2.29979 11.6444 2.63856 9.99366C2.97734 8.34289 3.81354 6.82656 5.04144 5.63642C6.26933 4.44628 7.83376 3.63579 9.5369 3.30743C11.24 2.97907 13.0054 3.1476 14.6097 3.7917C16.214 4.4358 17.5853 5.52654 18.55 6.92599C19.323 8.04726 19.8072 9.32637 19.9692 10.6563C20.0359 11.2045 20.4774 11.6539 21.0297 11.6539H21.4995Z"})}),t.jsx("path",{d:"M21.4995 11.6539C22.0518 11.6539 22.5044 11.2052 22.4523 10.6553C22.2811 8.8512 21.6481 7.11114 20.6036 5.596C19.3675 3.80287 17.6105 2.4053 15.5549 1.58001C13.4992 0.75472 11.2373 0.538787 9.05505 0.959515C6.87281 1.38024 4.86829 2.41874 3.29498 3.94367C1.72167 5.4686 0.650236 7.41148 0.216161 9.52663C-0.217914 11.6418 0.00486931 13.8342 0.856338 15.8266C1.70781 17.819 3.14972 19.522 4.99973 20.7201C6.57173 21.7382 8.3784 22.3529 10.251 22.5147C10.8012 22.5622 11.2498 22.11 11.2498 21.5577V21.1638C11.2498 20.6115 10.8007 20.1695 10.2518 20.1087C8.86847 19.9553 7.53753 19.4845 6.37192 18.7296C4.92807 17.7945 3.80272 16.4655 3.13819 14.9105C2.47366 13.3555 2.29979 11.6444 2.63856 9.99366C2.97734 8.34289 3.81354 6.82656 5.04144 5.63642C6.26933 4.44628 7.83376 3.63579 9.5369 3.30743C11.24 2.97907 13.0054 3.1476 14.6097 3.7917C16.214 4.4358 17.5853 5.52654 18.55 6.92599C19.323 8.04726 19.8072 9.32637 19.9692 10.6563C20.0359 11.2045 20.4774 11.6539 21.0297 11.6539H21.4995Z",fill:"white",stroke:s,strokeWidth:"4",mask:"url(#path-2-inside-1_1_970)"}),t.jsx("path",{d:"M10.9086 18.2035V5.47624H11.7239V18.2035H10.9086ZM13.0712 9.67723C13.0315 9.27619 12.8608 8.96464 12.5592 8.74258C12.2575 8.52051 11.8482 8.40948 11.3312 8.40948C10.9798 8.40948 10.6832 8.45919 10.4413 8.55863C10.1993 8.65474 10.0137 8.78898 9.88444 8.96133C9.7585 9.13367 9.69552 9.32922 9.69552 9.54797C9.68889 9.73027 9.72701 9.88936 9.80987 10.0252C9.89604 10.1611 10.0137 10.2788 10.1629 10.3782C10.312 10.4743 10.4843 10.5589 10.6799 10.6318C10.8754 10.7014 11.0843 10.761 11.3063 10.8108L12.2211 11.0295C12.6652 11.1289 13.0729 11.2615 13.4441 11.4272C13.8153 11.593 14.1368 11.7968 14.4086 12.0387C14.6804 12.2807 14.8908 12.5657 15.04 12.8939C15.1924 13.222 15.2703 13.5982 15.2736 14.0224C15.2703 14.6455 15.1112 15.1858 14.7964 15.6431C14.4848 16.0972 14.0341 16.4502 13.4441 16.7021C12.8575 16.9507 12.1498 17.075 11.3212 17.075C10.4993 17.075 9.78335 16.949 9.1735 16.6971C8.56697 16.4452 8.09301 16.0724 7.75163 15.5785C7.41356 15.0814 7.23624 14.4665 7.21967 13.7341H9.30277C9.32597 14.0754 9.42374 14.3605 9.59609 14.5892C9.77175 14.8145 10.0054 14.9852 10.2971 15.1012C10.5921 15.2139 10.9252 15.2703 11.2964 15.2703C11.661 15.2703 11.9775 15.2172 12.2459 15.1112C12.5177 15.0051 12.7282 14.8576 12.8773 14.6687C13.0265 14.4798 13.1011 14.2627 13.1011 14.0174C13.1011 13.7887 13.0331 13.5965 12.8972 13.4407C12.7647 13.285 12.5691 13.1524 12.3106 13.043C12.0554 12.9336 11.7422 12.8342 11.3709 12.7447L10.2623 12.4663C9.40386 12.2575 8.72606 11.931 8.2289 11.4869C7.73174 11.0428 7.48482 10.4445 7.48814 9.69215C7.48482 9.07567 7.64888 8.53708 7.98032 8.07638C8.31508 7.61568 8.77412 7.25607 9.35745 6.99755C9.94079 6.73902 10.6037 6.60976 11.3461 6.60976C12.1018 6.60976 12.7613 6.73902 13.3248 6.99755C13.8915 7.25607 14.3324 7.61568 14.6472 8.07638C14.9621 8.53708 15.1245 9.0707 15.1344 9.67723H13.0712Z",fill:s})]}));},e.PriceDownIcon=function(e){var n=e.size,o=void 0===n?24:n,r=e.color,a=O(e,Nh),i=r&&vh(r)?r:void 0;return t.jsxs("svg",k(k({},a),{},{width:o,height:"100%",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:i?{color:i}:void 0,children:[t.jsx("path",{d:"M19.012 23.8615C19.2082 24.0664 19.5353 24.0672 19.7325 23.8633L23.2885 20.1866C23.595 19.8697 23.3712 19.3401 22.9303 19.339L15.8363 19.3217C15.3955 19.3206 15.1691 19.8492 15.474 20.1676L19.012 23.8615Z",fill:"currentColor"}),t.jsx("mask",{id:"path-2-inside-1_1_1191",fill:"white",children:t.jsx("path",{d:"M21.651 11.1531C22.2033 11.1531 22.6557 10.7044 22.6051 10.1544C22.4392 8.35049 21.8256 6.61063 20.8131 5.09564C19.6148 3.30264 17.9116 1.90517 15.9188 1.07995C13.9261 0.254719 11.7334 0.0388023 9.61795 0.459499C7.50249 0.880196 5.55932 1.91861 4.03417 3.44343C2.50901 4.96825 1.47036 6.91099 1.04957 9.02598C0.628782 11.141 0.844747 13.3332 1.67016 15.3255C2.49557 17.3177 3.89335 19.0206 5.68674 20.2186C7.20212 21.2309 8.94246 21.8444 10.7469 22.0103C11.2969 22.0609 11.7455 21.6084 11.7455 21.0561V20.6624C11.7455 20.1101 11.2962 19.6684 10.7478 19.6037C9.41766 19.4467 8.13837 18.9775 7.01693 18.2283C5.61727 17.2933 4.52637 15.9643 3.88217 14.4094C3.23798 12.8546 3.06943 11.1436 3.39784 9.49297C3.72624 7.84233 4.53686 6.32611 5.72717 5.13606C6.91748 3.94601 8.43404 3.13558 10.085 2.80724C11.7361 2.47891 13.4474 2.64742 15.0026 3.29147C16.5578 3.93552 17.8871 5.02618 18.8223 6.42553C19.5716 7.54666 20.041 8.82559 20.198 10.1553C20.2628 10.7038 20.7044 11.1531 21.2567 11.1531H21.651Z"})}),t.jsx("path",{d:"M21.651 11.1531C22.2033 11.1531 22.6557 10.7044 22.6051 10.1544C22.4392 8.35049 21.8256 6.61063 20.8131 5.09564C19.6148 3.30264 17.9116 1.90517 15.9188 1.07995C13.9261 0.254719 11.7334 0.0388023 9.61795 0.459499C7.50249 0.880196 5.55932 1.91861 4.03417 3.44343C2.50901 4.96825 1.47036 6.91099 1.04957 9.02598C0.628782 11.141 0.844747 13.3332 1.67016 15.3255C2.49557 17.3177 3.89335 19.0206 5.68674 20.2186C7.20212 21.2309 8.94246 21.8444 10.7469 22.0103C11.2969 22.0609 11.7455 21.6084 11.7455 21.0561V20.6624C11.7455 20.1101 11.2962 19.6684 10.7478 19.6037C9.41766 19.4467 8.13837 18.9775 7.01693 18.2283C5.61727 17.2933 4.52637 15.9643 3.88217 14.4094C3.23798 12.8546 3.06943 11.1436 3.39784 9.49297C3.72624 7.84233 4.53686 6.32611 5.72717 5.13606C6.91748 3.94601 8.43404 3.13558 10.085 2.80724C11.7361 2.47891 13.4474 2.64742 15.0026 3.29147C16.5578 3.93552 17.8871 5.02618 18.8223 6.42553C19.5716 7.54666 20.041 8.82559 20.198 10.1553C20.2628 10.7038 20.7044 11.1531 21.2567 11.1531H21.651Z",fill:"white",stroke:"currentColor",strokeWidth:"4",mask:"url(#path-2-inside-1_1_1191)"}),t.jsx("path",{d:"M19.3793 14.424V23.1464",stroke:"currentColor",strokeWidth:"2"}),t.jsx("path",{d:"M11.4043 17.7033V4.97607H12.2197V17.7033H11.4043ZM13.567 9.17707C13.5272 8.77603 13.3565 8.46447 13.0549 8.24241C12.7533 8.02034 12.344 7.90931 11.8269 7.90931C11.4756 7.90931 11.179 7.95903 10.937 8.05846C10.6951 8.15458 10.5095 8.28881 10.3802 8.46116C10.2543 8.63351 10.1913 8.82906 10.1913 9.04781C10.1847 9.2301 10.2228 9.38919 10.3056 9.52508C10.3918 9.66097 10.5095 9.77863 10.6586 9.87806C10.8078 9.97418 10.9801 10.0587 11.1757 10.1316C11.3712 10.2012 11.58 10.2609 11.8021 10.3106L12.7168 10.5293C13.161 10.6288 13.5686 10.7613 13.9399 10.9271C14.3111 11.0928 14.6326 11.2966 14.9043 11.5386C15.1761 11.7805 15.3866 12.0656 15.5357 12.3937C15.6882 12.7218 15.7661 13.098 15.7694 13.5222C15.7661 14.1453 15.607 14.6856 15.2921 15.143C14.9806 15.597 14.5298 15.95 13.9399 16.2019C13.3532 16.4505 12.6456 16.5748 11.817 16.5748C10.995 16.5748 10.2791 16.4488 9.66926 16.197C9.06273 15.9451 8.58877 15.5722 8.24739 15.0783C7.90932 14.5812 7.732 13.9664 7.71543 13.2339H9.79852C9.82172 13.5753 9.9195 13.8603 10.0918 14.089C10.2675 14.3144 10.5012 14.4851 10.7928 14.6011C11.0878 14.7138 11.4209 14.7701 11.7921 14.7701C12.1567 14.7701 12.4732 14.7171 12.7417 14.611C13.0135 14.505 13.2239 14.3575 13.3731 14.1685C13.5222 13.9796 13.5968 13.7625 13.5968 13.5173C13.5968 13.2886 13.5289 13.0963 13.393 12.9406C13.2604 12.7848 13.0649 12.6522 12.8063 12.5428C12.5511 12.4335 12.2379 12.334 11.8667 12.2445L10.758 11.9661C9.89961 11.7573 9.22182 11.4309 8.72466 10.9867C8.2275 10.5426 7.98058 9.94435 7.98389 9.19198C7.98058 8.5755 8.14464 8.03692 8.47608 7.57622C8.81083 7.11551 9.26988 6.7559 9.85321 6.49738C10.4365 6.23886 11.0994 6.1096 11.8418 6.1096C12.5975 6.1096 13.2571 6.23886 13.8205 6.49738C14.3873 6.7559 14.8281 7.11551 15.143 7.57622C15.4579 8.03692 15.6203 8.57053 15.6302 9.17707H13.567Z",fill:"currentColor"})]}));},e.ProductecaIcon=function(e){var n=e.size,o=void 0===n?18:n,r=e.color,a=void 0===r?qg:r,i=O(e,Ug),s=vh(a)?a:qg;return t.jsxs("svg",k(k({},i),{},{width:o,height:o,viewBox:"0 0 18 19",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[t.jsx("path",{d:"M17.9815 8.42273C18.3248 13.8588 13.8468 18.3406 8.41534 17.9971C3.93617 17.7139 0.301517 14.0761 0.0184965 9.59294C-0.324648 4.15676 4.15312 -0.325041 9.58453 0.0185242C14.0638 0.301699 17.6983 3.93943 17.9815 8.42273Z",fill:s}),t.jsx("path",{d:"M10.6357 9.88816H8.69854V8.04858C8.69854 7.12373 7.94951 6.37405 7.02557 6.37405C6.65095 6.37405 6.34715 6.07014 6.34715 5.69521C6.34715 5.32026 6.65095 5.01619 7.02557 5.01619L10.6357 5.01526C11.9801 5.01526 13.07 6.10609 13.07 7.45158C13.07 8.79736 11.9801 9.88816 10.6357 9.88816ZM7.70509 13.1196H7.70286C7.70286 13.4945 7.39915 13.7986 7.02455 13.7986C6.64984 13.7986 6.34612 13.4945 6.34612 13.1196L6.3451 11.5624C6.3451 11.1875 6.64984 10.8834 7.02455 10.8834L7.70509 10.8825V13.1196ZM10.6357 4.02094H7.02557C6.10171 4.02094 5.35268 4.77053 5.35268 5.69521C5.35268 6.61989 6.10171 7.36958 7.02557 7.36958C7.40026 7.36958 7.70397 7.67336 7.70397 8.04858H7.70509L7.70509 9.88816H7.02455C6.10059 9.88816 5.35156 10.6379 5.35156 11.5624V13.1196C5.35156 14.0443 6.10059 14.7939 7.02455 14.7939C7.94839 14.7939 8.69742 14.0443 8.69742 13.1196H8.69854V10.8825H10.6357C12.5289 10.8825 14.0636 9.3468 14.0636 7.45187C14.0636 5.55684 12.5289 4.02094 10.6357 4.02094Z",fill:"#FFFFFF"})]}));},e.Progressbar=nJ,e.SearchComponent=zS,e.SearchPublication=function(e){var n=e.size,o=void 0===n?100:n,r=e.color,a=void 0===r?Ih:r,i=O(e,Oh),s=vh(a)?a:Ih;return t.jsx("svg",k(k({},i),{},{id:"Capa_1","data-name":"Capa 1",xmlns:"http://www.w3.org/2000/svg",width:o,height:"100%",viewBox:"0 0 95 95",children:t.jsxs("g",{id:"Grupo_1315","data-name":"Grupo 1315",children:[t.jsx("path",{id:"Trazado_2280","data-name":"Trazado 2280",style:{fill:s},d:"M0,13.62c.09-.37.16-.76.26-1.14a7.22,7.22,0,0,1,7-5.28H24.3c.23,0,.3,0,.29-.29a7,7,0,0,1,.58-3.25A6.37,6.37,0,0,1,33.63.6a6.47,6.47,0,0,1,1.75,1.22,6.2,6.2,0,0,1,1.89,4.53c0,.22,0,.43,0,.65s0,.2.21.2H54.63a7.21,7.21,0,0,1,7.24,7.18V34.23a1.45,1.45,0,0,1-1.33,1.55h-.16A1.44,1.44,0,0,1,59,34.5c0-.12,0-.25,0-.37V14.55a4.33,4.33,0,0,0-4.2-4.46H7.4A4.34,4.34,0,0,0,3,13.44a4.07,4.07,0,0,0-.12,1V79.22a4.33,4.33,0,0,0,4.32,4.32H54.44a1.5,1.5,0,0,1,1.49.83,1.45,1.45,0,0,1-.68,1.93,1.39,1.39,0,0,1-.53.14,2.62,2.62,0,0,1-.28,0H7.29A7.25,7.25,0,0,1,.06,80.26c0-.1,0-.21-.06-.3ZM30.91,7.2h3.23c.17,0,.23,0,.22-.22s0-.47,0-.7A3.43,3.43,0,0,0,28,4.62a4.27,4.27,0,0,0-.45,2.3c0,.22,0,.29.27.29,1,0,2.09,0,3.14,0Z"}),t.jsx("path",{id:"Trazado_2281","data-name":"Trazado 2281",style:{fill:s},d:"M54.79,38.4c8.35-.94,15.22,1.7,20.36,8.46A19.94,19.94,0,0,1,79.1,57a20.86,20.86,0,0,1-2,11.63.24.24,0,0,0,.05.34h0L92.23,82.66a5.82,5.82,0,1,1-7.83,8.62l-.07-.06Q76.76,84.37,69.2,77.47c-.15-.13-.23-.09-.37,0a21.24,21.24,0,0,1-7,2.6,21.08,21.08,0,0,1-21-8.55,20.4,20.4,0,0,1-3.79-10A21.15,21.15,0,0,1,51.26,39.31,23.75,23.75,0,0,1,54.79,38.4Zm21.72,18A18.62,18.62,0,1,0,61,77.68h0A18.64,18.64,0,0,0,76.51,56.39Zm15.08,30a3.31,3.31,0,0,0-1.12-2L75.89,71.17c-.16-.14-.23-.14-.36,0a20.4,20.4,0,0,1-4.16,4.49c-.2.15-.19.23,0,.39,1.78,1.6,3.56,3.22,5.34,4.84l9.39,8.52a3.32,3.32,0,0,0,5.5-3Z"}),t.jsx("path",{id:"Trazado_2282","data-name":"Trazado 2282",style:{fill:s},d:"M31,19.9H20.38A5.76,5.76,0,0,1,14.57,15a3.12,3.12,0,0,1,0-1.1,1.45,1.45,0,0,1,2.88.22,2.85,2.85,0,0,0,1.74,2.68A2.54,2.54,0,0,0,20.3,17H42a2.9,2.9,0,0,0,2.89-2.85,1.46,1.46,0,0,1,2.91-.07v.1a5.8,5.8,0,0,1-5.72,5.72Z"}),t.jsx("path",{id:"Trazado_2283","data-name":"Trazado 2283",style:{fill:s},d:"M13.22,68V66.07A1.86,1.86,0,0,1,15,64.15c1.36,0,2.73,0,4.09,0A1.86,1.86,0,0,1,20.88,66q0,2,0,3.93A1.91,1.91,0,0,1,19,71.83c-1.28,0-2.57,0-3.85,0a1.91,1.91,0,0,1-1.91-1.9V68Zm2.24,0v.76a.77.77,0,0,0,.71.85.28.28,0,0,0,.13,0c.5,0,1,0,1.49,0a.78.78,0,0,0,.85-.73v-.09c0-.51,0-1,0-1.54a.76.76,0,0,0-.72-.8h0a12.2,12.2,0,0,0-1.71,0,.76.76,0,0,0-.72.79h0V68Z"}),t.jsx("path",{id:"Trazado_2284","data-name":"Trazado 2284",style:{fill:s},d:"M13.22,52.67V50.75a1.87,1.87,0,0,1,1.83-1.9q2,0,4,0a1.88,1.88,0,0,1,1.84,1.81c0,1.35,0,2.71,0,4.06a1.84,1.84,0,0,1-1.77,1.79,39.85,39.85,0,0,1-4.09,0,1.85,1.85,0,0,1-1.81-1.89.19.19,0,0,1,0-.08ZM17,54.27h.76a.79.79,0,0,0,.84-.73v-.07c0-.52,0-1,0-1.57a.76.76,0,0,0-.71-.79c-.6,0-1.2,0-1.79,0a.74.74,0,0,0-.68.75q0,.83,0,1.65a.77.77,0,0,0,.77.75Z"}),t.jsx("path",{id:"Trazado_2285","data-name":"Trazado 2285",style:{fill:s},d:"M13.22,37.38v-2a1.88,1.88,0,0,1,1.86-1.87q2,0,3.93,0a1.85,1.85,0,0,1,1.86,1.78c0,1.37,0,2.74,0,4.12A1.85,1.85,0,0,1,19,41.23q-2,0-4,0a1.88,1.88,0,0,1-1.85-1.9ZM17.05,39h.75a.8.8,0,0,0,.84-.74v-.06c0-.53,0-1,0-1.57a.77.77,0,0,0-.75-.8H16.2a.77.77,0,0,0-.74.76c0,.55,0,1.1,0,1.66a.77.77,0,0,0,.77.75c.27,0,.54,0,.81,0Z"}),t.jsx("path",{id:"Trazado_2286","data-name":"Trazado 2286",style:{fill:s},d:"M30.54,38.84h-5a1.45,1.45,0,0,1-1.47-1.43A1.48,1.48,0,0,1,25.26,36a2,2,0,0,1,.35,0h9.87a1.45,1.45,0,0,1,.11,2.9H30.54Z"}),t.jsx("path",{id:"Trazado_2287","data-name":"Trazado 2287",style:{fill:s},d:"M28.44,54.14H25.59a1.44,1.44,0,0,1-1.49-1.39s0,0,0-.06a1.48,1.48,0,0,1,1.47-1.46h5.73a1.45,1.45,0,0,1,1.52,1.38,1.44,1.44,0,0,1-1.37,1.52h-3Z"}),t.jsx("path",{id:"Trazado_2288","data-name":"Trazado 2288",style:{fill:s},d:"M27.36,66.54c.63,0,1.26,0,1.9,0a1.44,1.44,0,0,1,1.36,1.27,1.47,1.47,0,0,1-1,1.56,1.6,1.6,0,0,1-.54.07H25.64a1.46,1.46,0,0,1-.17-2.91.43.43,0,0,1,.16,0h1.73Z"}),t.jsx("path",{id:"Trazado_2289","data-name":"Trazado 2289",style:{fill:s},d:"M54.49,47.45a13.8,13.8,0,0,1,8.82,1.95,12.64,12.64,0,0,1,4.62,5.36,18.36,18.36,0,0,1,1.44,4.33,1.24,1.24,0,0,1-1,1.45h0A1.22,1.22,0,0,1,67,59.63a16.4,16.4,0,0,0-1.56-4.37A9.91,9.91,0,0,0,57,49.91a11.82,11.82,0,0,0-2.59.08,1.23,1.23,0,0,1-1.47-.94v0a1.23,1.23,0,0,1,1-1.47H54Z"})]})}));},e.Searcher=UX,e.SelectField=YS,e.Shades=gh,e.Sidebar=G5,e.SingleValue=WS,e.Spinner=GX,e.Stepper=function(e){var n=e.steps,o=e.activeStep,r=void 0===o?0:o,a=O(e,v6),i=m6(n);return t.jsx("nav",k(k({className:g6.stepper,"aria-label":"Stepper"},a),{},{children:Wm(n,function(e,n){return t.jsx(x6,{step:e,index:n,activeStep:r,isLast:n===i-1},n);})}));},e.SuccessStateIcon=hg,e.Switch=tZ,e.SwitchGroup=QX,e.SwitchInput=tZ,e.SwitchInputGroup=QX,e.Table=A6,e.TableBody=D6,e.TableHeader=j6,e.Tabs=SK,e.TextInput=US,e.TrashIcon=Lh,e.VALUE_AND=eU,e.VALUE_OR=QZ,e.WarningModal=eK,e.WithOverflowTooltip=function(e){var o=e.content,r=e.children,a=O(e,xU);return t.jsx(vU,{children:function children(e,i){var s=n.cloneElement(r,{ref:e});return i&&o?t.jsx(wU,k(k({content:o},a),{},{children:s})):s;}});},e.WithTooltip=wU,e.allColors=fh,e.configureLocale=function(e){!function(e){return Object.prototype.hasOwnProperty.call(ES,e);}(e)?R('Locale "'.concat(e,'" no está registrado. Se mantiene "').concat(Uz,'".')):(Uz=e,Rw.changeLanguage(ES[e].i18n));},e.datePickerDayStyles=tH,e.datePickerDigitalClockStyles=nH,e.datePickerInputStyles=eH,e.datePickerLayoutStyles=Qz,e.datePickerPopperStyles=rH,e.datePickerYearStyles=oH,e.formatDate=fX,e.getActiveLocale=function(){return Uz;},e.getColor=ph,e.isValidColor=vh,e.useAutoloadProgress=oJ,e.useDropzone=i6,e.useModelContextTool=function(e){var t=e.name,o=e.description,r=e.inputSchema,a=e.execute,i=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).enabled,s=void 0===i||i,l=void 0!==L6(),c=n.useRef(a),u=n.useRef(r),d=JSON.stringify(r);return n.useEffect(function(){c.current=a,u.current=r;}),n.useEffect(function(){if(s){var e=L6();if(e){var n=new AbortController();return e.registerTool({name:t,description:o,inputSchema:u.current,execute:function execute(e){return Promise.resolve(c.current(e));}},{signal:n.signal}).catch(function(e){n.signal.aborted||R('useModelContextTool: could not register the tool "'.concat(t,'" (').concat(String(e),")"));}),function(){return n.abort();};}}},[s,t,o,d]),{isSupported:l};},e.useReduxFormField=PS,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});});
39
+ }};for(_iterator15.s();!(_step15=_iterator15.n()).done;){if(_loop9())break;}}catch(err){_iterator15.e(err);}finally{_iterator15.f();}},[t])}),i=n.useCallback(function(e){var n=function(e){if(!e)return null;if(e.children.length>1)return e;var t=e.children[0];return r3(t)?t:e;}(e);null==a||a.disconnect(),n&&(null==a||a.observe(n)),r(n?t(n):null);},[t,a]),_d4=d3(i),_d5=_slicedToArray(_d4,2),s=_d5[0],l=_d5[1];return n.useMemo(function(){return{nodeRef:s,rect:o,setRef:l};},[o,s,l]);}var Z4=[{sensor:k4,options:{}},{sensor:y4,options:{}}],U4={current:{}},q4={draggable:{measure:Y3},droppable:{measure:Y3,strategy:A4.WhileDragging,frequency:V4.Optimized},dragOverlay:{measure:G3}};var J4=/*#__PURE__*/function(_Map){function J4(){_classCallCheck(this,J4);return _callSuper(this,J4,arguments);}_inherits(J4,_Map);return _createClass(J4,[{key:"get",value:function get(e){var t;return null!=e&&null!=(t=_superPropGet(J4,"get",this,3)([e]))?t:void 0;}},{key:"toArray",value:function toArray(){return Array.from(this.values());}},{key:"getEnabled",value:function getEnabled(){return this.toArray().filter(function(e){var t=e.disabled;return!t;});}},{key:"getNodeFor",value:function getNodeFor(e){var t,n;return null!=(t=null==(n=this.get(e))?void 0:n.node.current)?t:void 0;}}]);}(/*#__PURE__*/_wrapNativeSuper(Map));var K4={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map(),droppableRects:new Map(),droppableContainers:new J4(),over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:P3},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:q4,measureDroppableContainers:P3,windowRect:null,measuringScheduled:!1},Q4={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:P3,draggableNodes:new Map(),over:null,measureDroppableContainers:P3},e9=n.createContext(Q4),t9=n.createContext(K4);function n9(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map(),translate:{x:0,y:0}},droppable:{containers:new J4()}};}function o9(e,t){switch(t.type){case D3.DragStart:return f(p({},e),{draggable:f(p({},e.draggable),{initialCoordinates:t.initialCoordinates,active:t.active})});case D3.DragMove:return null==e.draggable.active?e:f(p({},e),{draggable:f(p({},e.draggable),{translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}})});case D3.DragEnd:case D3.DragCancel:return f(p({},e),{draggable:f(p({},e.draggable),{active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}})});case D3.RegisterDroppable:{var _n105=t.element,_o64=_n105.id,_r47=new J4(e.droppable.containers);return _r47.set(_o64,_n105),f(p({},e),{droppable:f(p({},e.droppable),{containers:_r47})});}case D3.SetDroppableDisabled:{var _n106=t.id,_o65=t.key,_r48=t.disabled,_a32=e.droppable.containers.get(_n106);if(!_a32||_o65!==_a32.key)return e;var _i28=new J4(e.droppable.containers);return _i28.set(_n106,f(p({},_a32),{disabled:_r48})),f(p({},e),{droppable:f(p({},e.droppable),{containers:_i28})});}case D3.UnregisterDroppable:{var _n107=t.id,_o66=t.key,_r49=e.droppable.containers.get(_n107);if(!_r49||_o66!==_r49.key)return e;var _a33=new J4(e.droppable.containers);return _a33.delete(_n107),f(p({},e),{droppable:f(p({},e.droppable),{containers:_a33})});}default:return e;}}function r9(e){var t=e.disabled;var _n$useContext=n.useContext(e9),o=_n$useContext.active,r=_n$useContext.activatorEvent,a=_n$useContext.draggableNodes,i=p3(r),s=p3(null==o?void 0:o.id);return n.useEffect(function(){if(!t&&!r&&i&&null!=s){if(!v3(i))return;if(document.activeElement===i.target)return;var _e137=a.get(s);if(!_e137)return;var _t175=_e137.activatorNode,_n108=_e137.node;if(!_t175.current&&!_n108.current)return;requestAnimationFrame(function(){for(var _i29=0,_arr2=[_t175.current,_n108.current];_i29<_arr2.length;_i29++){var _e138=_arr2[_i29];if(!_e138)continue;var _t176=C3(_e138);if(_t176){_t176.focus();break;}}});}},[r,t,a,s,i]),null;}var a9=n.createContext(f(p({},j3),{scaleX:1,scaleY:1}));var i9,s9;(s9=i9||(i9={}))[s9.Uninitialized=0]="Uninitialized",s9[s9.Initializing=1]="Initializing",s9[s9.Initialized=2]="Initialized";var l9=n.memo(function(e){var t,r,a,i;var s=e,l=s.id,c=s.accessibility,_s$autoScroll=s.autoScroll,u=_s$autoScroll===void 0?!0:_s$autoScroll,d=s.children,_s$sensors=s.sensors,m=_s$sensors===void 0?Z4:_s$sensors,_s$collisionDetection=s.collisionDetection,g=_s$collisionDetection===void 0?B3:_s$collisionDetection,v=s.measuring,y=s.modifiers,x=h(s,["id","accessibility","autoScroll","children","sensors","collisionDetection","measuring","modifiers"]);var w=n.useReducer(o9,void 0,n9),_w3=_slicedToArray(w,2),C=_w3[0],S=_w3[1],_ref424=function(){var _n$useState19=n.useState(function(){return new Set();}),_n$useState20=_slicedToArray(_n$useState19,1),e=_n$useState20[0],t=n.useCallback(function(t){return e.add(t),function(){return e.delete(t);};},[e]);return[n.useCallback(function(t){var n=t.type,o=t.event;e.forEach(function(e){var t;return null==(t=e[n])?void 0:t.call(e,o);});},[e]),t];}(),_ref425=_slicedToArray(_ref424,2),k=_ref425[0],O=_ref425[1],_n$useState13=n.useState(i9.Uninitialized),_n$useState14=_slicedToArray(_n$useState13,2),I=_n$useState14[0],M=_n$useState14[1],T=I===i9.Initialized,_C$draggable=C.draggable,E=_C$draggable.active,D=_C$draggable.nodes,N=_C$draggable.translate,P=C.droppable.containers,j=null!=E?D.get(E):null,R=n.useRef({initial:null,translated:null}),A=n.useMemo(function(){var e;return null!=E?{id:E,data:null!=(e=null==j?void 0:j.data)?e:U4,rect:R}:null;},[E,j]),L=n.useRef(null),_n$useState15=n.useState(null),_n$useState16=_slicedToArray(_n$useState15,2),V=_n$useState16[0],F=_n$useState16[1],_n$useState17=n.useState(null),_n$useState18=_slicedToArray(_n$useState17,2),_=_n$useState18[0],B=_n$useState18[1],W=c3(x,Object.values(x)),z=m3("DndDescribedBy",l),H=n.useMemo(function(){return P.getEnabled();},[P]),$=function(e){return n.useMemo(function(){return{draggable:p(p({},q4.draggable),null==e?void 0:e.draggable),droppable:p(p({},q4.droppable),null==e?void 0:e.droppable),dragOverlay:p(p({},q4.dragOverlay),null==e?void 0:e.dragOverlay)};},[null==e?void 0:e.draggable,null==e?void 0:e.droppable,null==e?void 0:e.dragOverlay]);}(v),_ref426=function(e,t){var o=t.dragging,r=t.dependencies,a=t.config;var _n$useState21=n.useState(null),_n$useState22=_slicedToArray(_n$useState21,2),i=_n$useState22[0],s=_n$useState22[1],l=a.frequency,c=a.measure,u=a.strategy,d=n.useRef(e),p=function(){switch(u){case A4.Always:return!1;case A4.BeforeDragging:return o;default:return!o;}}(),f=c3(p),m=n.useCallback(function(e){void 0===e&&(e=[]),f.current||s(function(t){return null===t?e:t.concat(e.filter(function(e){return!t.includes(e);}));});},[f]),h=n.useRef(null),g=u3(function(t){if(p&&!o)return F4;if(!t||t===F4||d.current!==e||null!=i){var _t177=new Map();var _iterator16=_createForOfIteratorHelper(e),_step16;try{for(_iterator16.s();!(_step16=_iterator16.n()).done;){var _n109=_step16.value;if(!_n109)continue;if(i&&i.length>0&&!i.includes(_n109.id)&&_n109.rect.current){_t177.set(_n109.id,_n109.rect.current);continue;}var _e139=_n109.node.current,_o67=_e139?new l4(c(_e139),_e139):null;_n109.rect.current=_o67,_o67&&_t177.set(_n109.id,_o67);}}catch(err){_iterator16.e(err);}finally{_iterator16.f();}return _t177;}return t;},[e,i,o,p,c]);return n.useEffect(function(){d.current=e;},[e]),n.useEffect(function(){p||m();},[o,p]),n.useEffect(function(){i&&i.length>0&&s(null);},[JSON.stringify(i)]),n.useEffect(function(){p||"number"!=typeof l||null!==h.current||(h.current=setTimeout(function(){m(),h.current=null;},l));},[l,p,m].concat(_toConsumableArray(r))),{droppableRects:g,measureDroppableContainers:m,measuringScheduled:null!=i};}(H,{dragging:T,dependencies:[N.x,N.y],config:$.droppable}),G=_ref426.droppableRects,Y=_ref426.measureDroppableContainers,X=_ref426.measuringScheduled,Z=function(e,t){var n=null!=t?e.get(t):void 0,o=n?n.node.current:null;return u3(function(e){var n;return null==t?null:null!=(n=null!=o?o:e)?n:null;},[o,t]);}(D,E),U=n.useMemo(function(){return _?y3(_):null;},[_]),q=function(){var e=!1===(null==V?void 0:V.autoScrollEnabled),t="object"==_typeof(u)?!1===u.enabled:!1===u,n=T&&!e&&!t;if("object"==_typeof(u))return f(p({},u),{enabled:n});return{enabled:n};}(),J=function(e,t){return _4(e,t);}(Z,$.draggable.measure);!function(e){var t=e.activeNode,o=e.measure,r=e.initialRect,_e$config=e.config,a=_e$config===void 0?!0:_e$config;var i=n.useRef(!1),_ref427="boolean"==typeof a?{x:a,y:a}:a,s=_ref427.x,l=_ref427.y;s3(function(){if(!s&&!l||!t)return void(i.current=!1);if(i.current||!r)return;var e=null==t?void 0:t.node.current;if(!e||!1===e.isConnected)return;var n=W3(o(e),r);if(s||(n.x=0),l||(n.y=0),i.current=!0,Math.abs(n.x)>0||Math.abs(n.y)>0){var _t178=Z3(e);_t178&&_t178.scrollBy({top:n.y,left:n.x});}},[t,s,l,r,o]);}({activeNode:null!=E?D.get(E):null,config:q.layoutShiftCompensation,initialRect:J,measure:$.draggable.measure});var K=z4(Z,$.draggable.measure,J),Q=z4(Z?Z.parentElement:null),ee=n.useRef({activatorEvent:null,active:null,activeNode:Z,collisionRect:null,collisions:null,droppableRects:G,draggableNodes:D,draggingNode:null,draggingNodeRect:null,droppableContainers:P,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),te=P.getNodeFor(null==(t=ee.current.over)?void 0:t.id),ne=X4({measure:$.dragOverlay.measure}),oe=null!=(r=ne.nodeRef.current)?r:Z,re=T?null!=(a=ne.rect)?a:K:null,ae=Boolean(ne.nodeRef.current&&ne.rect),ie=W3(se=ae?null:K,_4(se));var se;var le=G4(oe?n3(oe):null),ce=function(e){var t=n.useRef(e),o=u3(function(n){return e?n&&n!==H4&&e&&t.current&&e.parentNode===t.current.parentNode?n:X3(e):H4;},[e]);return n.useEffect(function(){t.current=e;},[e]),o;}(T?null!=te?te:Z:null),ue=function(e,t){void 0===t&&(t=G3);var _e140=_slicedToArray(e,1),o=_e140[0],r=G4(o?n3(o):null),_n$useState25=n.useState(Y4),_n$useState26=_slicedToArray(_n$useState25,2),a=_n$useState26[0],i=_n$useState26[1];function s(){i(function(){return e.length?e.map(function(e){return t4(e)?r:new l4(t(e),e);}):Y4;});}var l=B4({callback:s});return s3(function(){null==l||l.disconnect(),s(),e.forEach(function(e){return null==l?void 0:l.observe(e);});},[e]),a;}(ce),de=function(e,t){var n=t,o=n.transform,r=h(n,["transform"]);return null!=e&&e.length?e.reduce(function(e,t){return t(p({transform:e},r));},o):o;}(y,{transform:{x:N.x-ie.x,y:N.y-ie.y,scaleX:1,scaleY:1},activatorEvent:_,active:A,activeNodeRect:K,containerNodeRect:Q,draggingNodeRect:re,over:ee.current.over,overlayNodeRect:ne.rect,scrollableAncestors:ce,scrollableAncestorRects:ue,windowRect:le}),pe=U?g3(U,N):null,fe=function(e){var _n$useState27=n.useState(null),_n$useState28=_slicedToArray(_n$useState27,2),t=_n$useState28[0],o=_n$useState28[1],r=n.useRef(e),a=n.useCallback(function(e){var t=U3(e.target);t&&o(function(e){return e?(e.set(t,K3(t)),new Map(e)):null;});},[]);return n.useEffect(function(){var t=r.current;if(e!==t){n(t);var _i30=e.map(function(e){var t=U3(e);return t?(t.addEventListener("scroll",a,{passive:!0}),[t,K3(t)]):null;}).filter(function(e){return null!=e;});o(_i30.length?new Map(_i30):null),r.current=e;}return function(){n(e),n(t);};function n(e){e.forEach(function(e){var t=U3(e);null==t||t.removeEventListener("scroll",a);});}},[a,e]),n.useMemo(function(){return e.length?t?Array.from(t.values()).reduce(function(e,t){return g3(e,t);},j3):i4(e):j3;},[e,t]);}(ce),me=$4(fe),he=$4(fe,[K]),ge=g3(de,me),be=re?H3(re,de):null,ve=A&&be?g({active:A,collisionRect:be,droppableRects:G,droppableContainers:H,pointerCoordinates:pe}):null,ye=function(e,t){if(!e||0===e.length)return null;var _e141=_slicedToArray(e,1),n=_e141[0];return n[t];}(ve,"id"),_n$useState23=n.useState(null),_n$useState24=_slicedToArray(_n$useState23,2),xe=_n$useState24[0],we=_n$useState24[1],Ce=function(e,t,n){return f(p({},e),{scaleX:t&&n?t.width/n.width:1,scaleY:t&&n?t.height/n.height:1});}(ae?de:g3(de,he),null!=(i=null==xe?void 0:xe.rect)?i:null,K),Se=n.useRef(null),ke=n.useCallback(function(e,t){var n=t.sensor,r=t.options;if(null==L.current)return;var a=D.get(L.current);if(!a)return;var i=e.nativeEvent,s=new n({active:L.current,activeNode:a,event:i,options:r,context:ee,onAbort:function onAbort(e){if(!D.get(e))return;var t=W.current.onDragAbort,n={id:e};null==t||t(n),k({type:"onDragAbort",event:n});},onPending:function onPending(e,t,n,o){if(!D.get(e))return;var r=W.current.onDragPending,a={id:e,constraint:t,initialCoordinates:n,offset:o};null==r||r(a),k({type:"onDragPending",event:a});},onStart:function onStart(e){var t=L.current;if(null==t)return;var n=D.get(t);if(!n)return;var r=W.current.onDragStart,a={activatorEvent:i,active:{id:t,data:n.data,rect:R}};o.unstable_batchedUpdates(function(){null==r||r(a),M(i9.Initializing),S({type:D3.DragStart,initialCoordinates:e,active:t}),k({type:"onDragStart",event:a}),F(Se.current),B(i);});},onMove:function onMove(e){S({type:D3.DragMove,coordinates:e});},onEnd:l(D3.DragEnd),onCancel:l(D3.DragCancel)});function l(e){return function(){return b(this,null,/*#__PURE__*/_regenerator().m(function _callee1(){var _ee$current,t,n,r,a,s,_o68,_t179;return _regenerator().w(function(_context1){while(1)switch(_context1.n){case 0:_ee$current=ee.current,t=_ee$current.active,n=_ee$current.collisions,r=_ee$current.over,a=_ee$current.scrollAdjustedTranslate;s=null;if(!(t&&a)){_context1.n=2;break;}_o68=W.current.cancelDrop;if(!(s={activatorEvent:i,active:t,collisions:n,delta:a,over:r},e===D3.DragEnd&&"function"==typeof _o68)){_context1.n=2;break;}_context1.n=1;return Promise.resolve(_o68(s));case 1:_t179=_context1.v;if(!_t179){_context1.n=2;break;}e=D3.DragCancel;case 2:L.current=null,o.unstable_batchedUpdates(function(){S({type:e}),M(i9.Uninitialized),we(null),F(null),B(null),Se.current=null;var t=e===D3.DragEnd?"onDragEnd":"onDragCancel";if(s){var _e142=W.current[t];null==_e142||_e142(s),k({type:t,event:s});}});case 3:return _context1.a(2);}},_callee1);}));};}Se.current=s;},[D]),Oe=function(e,t){return n.useMemo(function(){return e.reduce(function(e,n){var o=n.sensor;return[].concat(_toConsumableArray(e),_toConsumableArray(o.activators.map(function(e){return{eventName:e.eventName,handler:t(e.handler,n)};})));},[]);},[e,t]);}(m,n.useCallback(function(e,t){return function(n,o){var r=n.nativeEvent,a=D.get(o);if(null!==L.current||!a||r.dndKit||r.defaultPrevented)return;var i={active:a};!0===e(n,t.options,i)&&(r.dndKit={capturedBy:t.sensor},L.current=o,ke(n,t));};},[D,ke]));!function(e){n.useEffect(function(){if(!Q5)return;var t=e.map(function(e){var t=e.sensor;return null==t.setup?void 0:t.setup();});return function(){var _iterator17=_createForOfIteratorHelper(t),_step17;try{for(_iterator17.s();!(_step17=_iterator17.n()).done;){var _e143=_step17.value;null==_e143||_e143();}}catch(err){_iterator17.e(err);}finally{_iterator17.f();}};},e.map(function(e){var t=e.sensor;return t;}));}(m),s3(function(){K&&I===i9.Initializing&&M(i9.Initialized);},[K,I]),n.useEffect(function(){var e=W.current.onDragMove,_ee$current2=ee.current,t=_ee$current2.active,n=_ee$current2.activatorEvent,r=_ee$current2.collisions,a=_ee$current2.over;if(!t||!n)return;var i={active:t,activatorEvent:n,collisions:r,delta:{x:ge.x,y:ge.y},over:a};o.unstable_batchedUpdates(function(){null==e||e(i),k({type:"onDragMove",event:i});});},[ge.x,ge.y]),n.useEffect(function(){var _ee$current3=ee.current,e=_ee$current3.active,t=_ee$current3.activatorEvent,n=_ee$current3.collisions,r=_ee$current3.droppableContainers,a=_ee$current3.scrollAdjustedTranslate;if(!e||null==L.current||!t||!a)return;var i=W.current.onDragOver,s=r.get(ye),l=s&&s.rect.current?{id:s.id,rect:s.rect.current,data:s.data,disabled:s.disabled}:null,c={active:e,activatorEvent:t,collisions:n,delta:{x:a.x,y:a.y},over:l};o.unstable_batchedUpdates(function(){we(l),null==i||i(c),k({type:"onDragOver",event:c});});},[ye]),s3(function(){ee.current={activatorEvent:_,active:A,activeNode:Z,collisionRect:be,collisions:ve,droppableRects:G,draggableNodes:D,draggingNode:oe,draggingNodeRect:re,droppableContainers:P,over:xe,scrollableAncestors:ce,scrollAdjustedTranslate:ge},R.current={initial:re,translated:be};},[A,Z,ve,be,D,oe,re,G,P,xe,ce,ge]),j4(f(p({},q),{delta:N,draggingRect:be,pointerCoordinates:pe,scrollableAncestors:ce,scrollableAncestorRects:ue}));var Ie=n.useMemo(function(){return{active:A,activeNode:Z,activeNodeRect:K,activatorEvent:_,collisions:ve,containerNodeRect:Q,dragOverlay:ne,draggableNodes:D,droppableContainers:P,droppableRects:G,over:xe,measureDroppableContainers:Y,scrollableAncestors:ce,scrollableAncestorRects:ue,measuringConfiguration:$,measuringScheduled:X,windowRect:le};},[A,Z,K,_,ve,Q,ne,D,P,G,xe,Y,ce,ue,$,X,le]),Me=n.useMemo(function(){return{activatorEvent:_,activators:Oe,active:A,activeNodeRect:K,ariaDescribedById:{draggable:z},dispatch:S,draggableNodes:D,over:xe,measureDroppableContainers:Y};},[_,Oe,A,K,S,z,D,xe,Y]);return n.createElement(I3.Provider,{value:O},n.createElement(e9.Provider,{value:Me},n.createElement(t9.Provider,{value:Ie},n.createElement(a9.Provider,{value:Ce},d)),n.createElement(r9,{disabled:!1===(null==c?void 0:c.restoreFocus)})),n.createElement(E3,f(p({},c),{hiddenTextDescribedById:z})));}),c9=n.createContext(null),u9="button";function d9(e){var t=e.id,o=e.data,_e$disabled=e.disabled,r=_e$disabled===void 0?!1:_e$disabled,a=e.attributes;var i=m3("Draggable"),_n$useContext2=n.useContext(e9),s=_n$useContext2.activators,l=_n$useContext2.activatorEvent,c=_n$useContext2.active,u=_n$useContext2.activeNodeRect,d=_n$useContext2.ariaDescribedById,p=_n$useContext2.draggableNodes,f=_n$useContext2.over,_ref428=null!=a?a:{},_ref428$role=_ref428.role,m=_ref428$role===void 0?u9:_ref428$role,_ref428$roleDescripti=_ref428.roleDescription,h=_ref428$roleDescripti===void 0?"draggable":_ref428$roleDescripti,_ref428$tabIndex=_ref428.tabIndex,g=_ref428$tabIndex===void 0?0:_ref428$tabIndex,b=(null==c?void 0:c.id)===t,v=n.useContext(b?a9:c9),_d6=d3(),_d7=_slicedToArray(_d6,2),y=_d7[0],x=_d7[1],_d8=d3(),_d9=_slicedToArray(_d8,2),w=_d9[0],C=_d9[1],S=function(e,t){return n.useMemo(function(){return e.reduce(function(e,n){var o=n.eventName,r=n.handler;return e[o]=function(e){r(e,t);},e;},{});},[e,t]);}(s,t),k=c3(o);s3(function(){return p.set(t,{id:t,key:i,node:y,activatorNode:w,data:k}),function(){var e=p.get(t);e&&e.key===i&&p.delete(t);};},[p,t]);return{active:c,activatorEvent:l,activeNodeRect:u,attributes:n.useMemo(function(){return{role:m,tabIndex:g,"aria-disabled":r,"aria-pressed":!(!b||m!==u9)||void 0,"aria-roledescription":h,"aria-describedby":d.draggable};},[r,m,g,b,h,d.draggable]),isDragging:b,listeners:r?void 0:S,node:y,over:f,setNodeRef:x,setActivatorNodeRef:C,transform:v};}var p9={timeout:25};function f9(e,t,n){var o=e.slice();return o.splice(n<0?o.length+n:n,0,o.splice(t,1)[0]),o;}function m9(e,t){return e.reduce(function(e,n,o){var r=t.get(n);return r&&(e[o]=r),e;},Array(e.length));}function h9(e){return null!==e&&e>=0;}var g9=function g9(e){var t=e.rects,n=e.activeIndex,o=e.overIndex,r=e.index;var a=f9(t,o,n),i=t[r],s=a[r];return s&&i?{x:s.left-i.left,y:s.top-i.top,scaleX:s.width/i.width,scaleY:s.height/i.height}:null;},b9={scaleX:1,scaleY:1},v9=function v9(e){var t;var n=e.activeIndex,o=e.activeNodeRect,r=e.index,a=e.rects,i=e.overIndex;var s=null!=(t=a[n])?t:o;if(!s)return null;if(r===n){var _e144=a[i];return _e144?p({x:0,y:n<i?_e144.top+_e144.height-(s.top+s.height):_e144.top-s.top},b9):null;}var l=function(e,t,n){var o=e[t],r=e[t-1],a=e[t+1];if(!o)return 0;if(n<t)return r?o.top-(r.top+r.height):a?a.top-(o.top+o.height):0;return a?a.top-(o.top+o.height):r?o.top-(r.top+r.height):0;}(a,r,n);return p(r>n&&r<=i?{x:0,y:-s.height-l}:r<n&&r>=i?{x:0,y:s.height+l}:{x:0,y:0},b9);};var y9="Sortable",x9=n.createContext({activeIndex:-1,containerId:y9,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:g9,disabled:{draggable:!1,droppable:!1}});function w9(e){var t=e.children,o=e.id,r=e.items,_e$strategy=e.strategy,a=_e$strategy===void 0?g9:_e$strategy,_e$disabled2=e.disabled,i=_e$disabled2===void 0?!1:_e$disabled2;var _n$useContext3=n.useContext(t9),s=_n$useContext3.active,l=_n$useContext3.dragOverlay,c=_n$useContext3.droppableRects,u=_n$useContext3.over,d=_n$useContext3.measureDroppableContainers,p=m3(y9,o),f=Boolean(null!==l.rect),m=n.useMemo(function(){return r.map(function(e){return"object"==_typeof(e)&&"id"in e?e.id:e;});},[r]),h=null!=s,g=s?m.indexOf(s.id):-1,b=u?m.indexOf(u.id):-1,v=n.useRef(m),y=!function(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(var _n110=0;_n110<e.length;_n110++)if(e[_n110]!==t[_n110])return!1;return!0;}(m,v.current),x=-1!==b&&-1===g||y,w=function(e){return"boolean"==typeof e?{draggable:e,droppable:e}:e;}(i);s3(function(){y&&h&&d(m);},[y,m,h,d]),n.useEffect(function(){v.current=m;},[m]);var C=n.useMemo(function(){return{activeIndex:g,containerId:p,disabled:w,disableTransforms:x,items:m,overIndex:b,useDragOverlay:f,sortedRects:m9(m,c),strategy:a};},[g,p,w.draggable,w.droppable,x,m,b,c,f,a]);return n.createElement(x9.Provider,{value:C},t);}var C9=function C9(e){var t=e.id,n=e.items,o=e.activeIndex,r=e.overIndex;return f9(n,o,r).indexOf(t);},S9=function S9(e){var t=e.containerId,n=e.isSorting,o=e.wasDragging,r=e.index,a=e.items,i=e.newIndex,s=e.previousItems,l=e.previousContainerId,c=e.transition;return!(!c||!o)&&(s===a||r!==i)&&(!!n||i!==r&&t===l);},k9={duration:200,easing:"ease"},O9="transform",I9=x3.Transition.toString({property:O9,duration:0,easing:"linear"}),M9={roleDescription:"sortable"};function T9(e){var _e$animateLayoutChang=e.animateLayoutChanges,t=_e$animateLayoutChang===void 0?S9:_e$animateLayoutChang,o=e.attributes,r=e.disabled,a=e.data,_e$getNewIndex=e.getNewIndex,i=_e$getNewIndex===void 0?C9:_e$getNewIndex,s=e.id,l=e.strategy,c=e.resizeObserverConfig,_e$transition=e.transition,u=_e$transition===void 0?k9:_e$transition;var _n$useContext4=n.useContext(x9),d=_n$useContext4.items,m=_n$useContext4.containerId,h=_n$useContext4.activeIndex,g=_n$useContext4.disabled,b=_n$useContext4.disableTransforms,v=_n$useContext4.sortedRects,y=_n$useContext4.overIndex,x=_n$useContext4.useDragOverlay,w=_n$useContext4.strategy,C=function(e,t){var n,o;if("boolean"==typeof e)return{draggable:e,droppable:!1};return{draggable:null!=(n=null==e?void 0:e.draggable)?n:t.draggable,droppable:null!=(o=null==e?void 0:e.droppable)?o:t.droppable};}(r,g),S=d.indexOf(s),k=n.useMemo(function(){return p({sortable:{containerId:m,index:S,items:d}},a);},[m,a,S,d]),O=n.useMemo(function(){return d.slice(d.indexOf(s));},[d,s]),_ref429=function(e){var t=e.data,_e$disabled3=e.disabled,o=_e$disabled3===void 0?!1:_e$disabled3,r=e.id,a=e.resizeObserverConfig;var i=m3("Droppable"),_n$useContext5=n.useContext(e9),s=_n$useContext5.active,l=_n$useContext5.dispatch,c=_n$useContext5.over,u=_n$useContext5.measureDroppableContainers,d=n.useRef({disabled:o}),f=n.useRef(!1),m=n.useRef(null),h=n.useRef(null),_p6=p(p({},p9),a),g=_p6.disabled,b=_p6.updateMeasurementsFor,v=_p6.timeout,y=c3(null!=b?b:r),x=B4({callback:n.useCallback(function(){f.current?(null!=h.current&&clearTimeout(h.current),h.current=setTimeout(function(){u(Array.isArray(y.current)?y.current:[y.current]),h.current=null;},v)):f.current=!0;},[v]),disabled:g||!s}),w=n.useCallback(function(e,t){x&&(t&&(x.unobserve(t),f.current=!1),e&&x.observe(e));},[x]),_d1=d3(w),_d10=_slicedToArray(_d1,2),C=_d10[0],S=_d10[1],k=c3(t);return n.useEffect(function(){x&&C.current&&(x.disconnect(),f.current=!1,x.observe(C.current));},[C,x]),n.useEffect(function(){return l({type:D3.RegisterDroppable,element:{id:r,key:i,disabled:o,node:C,rect:m,data:k}}),function(){return l({type:D3.UnregisterDroppable,key:i,id:r});};},[r]),n.useEffect(function(){o!==d.current.disabled&&(l({type:D3.SetDroppableDisabled,id:r,key:i,disabled:o}),d.current.disabled=o);},[r,i,o,l]),{active:s,rect:m,isOver:(null==c?void 0:c.id)===r,node:C,over:c,setNodeRef:S};}({id:s,data:k,disabled:C.droppable,resizeObserverConfig:p({updateMeasurementsFor:O},c)}),I=_ref429.rect,M=_ref429.node,T=_ref429.isOver,E=_ref429.setNodeRef,_d0=d9({id:s,data:k,attributes:p(p({},M9),o),disabled:C.draggable}),D=_d0.active,N=_d0.activatorEvent,P=_d0.activeNodeRect,j=_d0.attributes,R=_d0.setNodeRef,A=_d0.listeners,L=_d0.isDragging,V=_d0.over,F=_d0.setActivatorNodeRef,_=_d0.transform,B=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return n.useMemo(function(){return function(e){t.forEach(function(t){return t(e);});};},t);}(E,R),W=Boolean(D),z=W&&!b&&h9(h)&&h9(y),H=!x&&L,$=H&&z?_:null,G=z?null!=$?$:(null!=l?l:w)({rects:v,activeNodeRect:P,activeIndex:h,overIndex:y,index:S}):null,Y=h9(h)&&h9(y)?i({id:s,items:d,activeIndex:h,overIndex:y}):S,X=null==D?void 0:D.id,Z=n.useRef({activeId:X,items:d,newIndex:Y,containerId:m}),U=d!==Z.current.items,q=t({active:D,containerId:m,isDragging:L,isSorting:W,id:s,index:S,items:d,newIndex:Z.current.newIndex,previousItems:Z.current.items,previousContainerId:Z.current.containerId,transition:u,wasDragging:null!=Z.current.activeId}),J=function(e){var t=e.disabled,o=e.index,r=e.node,a=e.rect;var _n$useState29=n.useState(null),_n$useState30=_slicedToArray(_n$useState29,2),i=_n$useState30[0],s=_n$useState30[1],l=n.useRef(o);return s3(function(){if(!t&&o!==l.current&&r.current){var _e145=a.current;if(_e145){var _t180=G3(r.current,{ignoreTransform:!0}),_n111={x:_e145.left-_t180.left,y:_e145.top-_t180.top,scaleX:_e145.width/_t180.width,scaleY:_e145.height/_t180.height};(_n111.x||_n111.y)&&s(_n111);}}o!==l.current&&(l.current=o);},[t,o,r,a]),n.useEffect(function(){i&&s(null);},[i]),i;}({disabled:!q,index:S,node:M,rect:I});return n.useEffect(function(){W&&Z.current.newIndex!==Y&&(Z.current.newIndex=Y),m!==Z.current.containerId&&(Z.current.containerId=m),d!==Z.current.items&&(Z.current.items=d);},[W,Y,m,d]),n.useEffect(function(){if(X===Z.current.activeId)return;if(null!=X&&null==Z.current.activeId)return void(Z.current.activeId=X);var e=setTimeout(function(){Z.current.activeId=X;},50);return function(){return clearTimeout(e);};},[X]),{active:D,activeIndex:h,attributes:j,data:k,rect:I,index:S,newIndex:Y,items:d,isOver:T,isSorting:W,isDragging:L,listeners:A,node:M,overIndex:y,over:V,setNodeRef:B,setActivatorNodeRef:F,setDroppableNodeRef:E,setDraggableNodeRef:R,transform:null!=J?J:G,transition:function(){if(J||U&&Z.current.newIndex===S)return I9;if(H&&!v3(N)||!u)return;if(W||q)return x3.Transition.toString(f(p({},u),{property:O9}));return;}()};}f4.Down,f4.Right,f4.Up,f4.Left;var E9="draggableList-module_draggable-list_NI1GQ",D9="draggableList-module_draggable-list--label_z7uQR",N9="draggableList-module_draggable-list--add-button_ouYIE",P9="draggableList-module_draggable-list--item_GfOt1",j9="draggableList-module_draggable-list--item--dragging_oUPMU",R9="draggableList-module_draggable-list--item--adding_hhlcL",A9="draggableList-module_draggable-list--item--removing_WsP1H",L9=Wd("MuiBox",["root"]),V9=Qf(),F9=function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var n=e.themeId,o=e.defaultTheme,_e$defaultClassName=e.defaultClassName,r=_e$defaultClassName===void 0?"MuiBox-root":_e$defaultClassName,a=e.generateClassName,i=Od("div",{shouldForwardProp:function shouldForwardProp(e){return"theme"!==e&&"sx"!==e&&"as"!==e;}})(Mc);return y.forwardRef(function(e,s){var l=Rd(o),c=e,u=c.className,_c$component=c.component,d=_c$component===void 0?"div":_c$component,f=h(c,["className","component"]);return t.jsx(i,p({as:d,ref:s,className:N(u,a?a(r):r),theme:n&&l[n]||l},f));});}({themeId:tm,defaultTheme:V9,defaultClassName:L9.root,generateClassName:Fd.generate});"production"!==process.env.NODE_ENV&&(F9.propTypes={children:Ss.node,component:Ss.elementType,sx:Ss.oneOfType([Ss.arrayOf(Ss.oneOfType([Ss.func,Ss.object,Ss.bool])),Ss.func,Ss.object])});var _9=wm(t.jsx("path",{d:"M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2m-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"}),"DragIndicator");var B9=n.memo(function(e){var o=e.item,r=e.isAdding,a=e.onRemove,i=e.canRemove,s=e.showRemoveAction,l=void 0===s||s,c=e.component,u=e.isRemoving,d=e.onSelectValue,p=e.componentProps,f=Boolean(null==p?void 0:p.disabled),m=!i||i(o),h=T9({id:o.id,disabled:f}),g=h.attributes,b=h.listeners,v=h.setActivatorNodeRef,y=h.setNodeRef,x=h.transform,w=h.transition,S=h.isDragging,O=n.useCallback(function(){m&&a(o.id);},[m,o.id,a]),I=c;return t.jsxs(MI,{ref:y,className:N(P9,C(C(C({},j9,S),R9,r),A9,u)),elevation:0,style:{transform:x3.Transform.toString(x),transition:w},children:[t.jsx("span",k(k(k({ref:v,"aria-label":NS("a11y.reorder")},g),b),{},{children:t.jsx(wh,{size:"16",children:t.jsx(_9,{})})})),I?t.jsx(I,k(k(k({},p),o),{},{item:o,disabled:f,onItemChange:function onItemChange(e){return d(o.id,e);}})):null,l&&t.jsx(wh,{size:"8",role:"button","aria-label":NS("a11y.remove"),onClick:O,disabled:f||!m,color:ph("primary","500"),children:t.jsx(Lh,{})})]});});B9.displayName="DraggableRow";var W9=["label","addLabel","onChange","canRemove","showRemoveAction","itemComponent","value","componentProps","input"],z9="draggable-item",H9=function H9(e){return Array.isArray(e)&&(0===e.length||"string"==typeof e[0]);},$9=B(function(e){var o,r,a=e.label,i=e.addLabel,s=e.onChange,l=e.canRemove,c=e.showRemoveAction,u=void 0===c||c,d=e.itemComponent,p=e.value,f=void 0===p?[]:p,m=e.componentProps,h=e.input,g=O(e,W9);if(!d)return null;var b,v,y=null!==(o=null!==(r=null==h?void 0:h.value)&&void 0!==r?r:f)&&void 0!==o?o:[],x=n.useMemo(function(){return e=y,Array.isArray(e)?H9(e)?e.map(function(e,t){return{id:"".concat(z9,"-string-").concat(t,"-").concat(e),value:e};}):e:[];var e;},[y]),w=n.useRef(H9(y)?"strings":"objects"),C=I(n.useState(x),2),S=C[0],T=C[1],E=I(n.useState(new Set()),2),D=E[0],P=E[1],j=I(n.useState(new Set()),2),R=j[0],A=j[1],L=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return n.useMemo(function(){return[].concat(t).filter(function(e){return null!=e;});},[].concat(t));}((b=k4,n.useMemo(function(){return{sensor:b,options:{}};},[b,v]))),V=n.useMemo(function(){return S.map(function(e){return e.id;});},[S]);n.useEffect(function(){w.current=H9(y)?"strings":"objects",T(x);},[x,y]);var F=n.useCallback(function(e){return"strings"===w.current?e.map(function(e){var t;return null!==(t=e.value)&&void 0!==t?t:"";}):e;},[]),_=PS({input:h,onChange:function onChange(e){var t,n;if(s){var o=F(e),r=null!==(t=null!==(n=null==h?void 0:h.name)&&void 0!==n?n:null==m?void 0:m.name)&&void 0!==t?t:"draggableList";s({target:{name:r,value:o}});}},transformValue:function transformValue(e){return F(e);}}).handleChange,B=n.useCallback(function(e){T(function(t){var n="function"==typeof e?e(t):e;return _(n),n;});},[_]),W=n.useCallback(function(e){A(function(t){return new Set(t).add(e);}),setTimeout(function(){B(function(t){return t.filter(function(t){return t.id!==e;});}),A(function(t){var n=new Set(t);return n.delete(e),n;});},300);},[B]),z=n.useCallback(function(e,t){B(function(n){return n.map(function(n){return n.id===e?k(k({},n),{},{value:t}):n;});});},[B]),H=n.useCallback(function(){B(function(e){var t,n=(t=e.length,{id:"".concat(z9,"-").concat(t,"-").concat(Date.now()),value:""});return P(function(e){return new Set(e).add(n.id);}),setTimeout(function(){P(function(e){var t=new Set(e);return t.delete(n.id),t;});},300),[].concat(M(e),[n]);});},[B]),$=n.useCallback(function(e){var t=e.active,n=e.over;n&&t.id!==n.id&&B(function(e){var o=e.findIndex(function(e){return e.id===t.id;}),r=e.findIndex(function(e){return e.id===n.id;});return-1===o||-1===r?e:f9(e,o,r);});},[B]);return t.jsxs("div",k(k({className:N(E9)},g),{},{children:[a&&t.jsx("div",{className:D9,children:a}),t.jsx(l9,{sensors:L,collisionDetection:F3,onDragEnd:$,children:t.jsx(w9,{items:V,strategy:v9,children:S.map(function(e){return t.jsx(B9,{item:e,component:d,canRemove:l,showRemoveAction:u,onRemove:W,componentProps:m,onSelectValue:z,isAdding:D.has(e.id),isRemoving:R.has(e.id)},e.id);})})}),t.jsx("div",{className:N(N9),children:t.jsx(bZ,{href:"#",size:"sm",onClick:function onClick(e){e.preventDefault(),H();},children:i||NS("addPlus")})})]}));},"DraggableList");var G9="dropzone-module_dropzone_s6uiA",Y9="dropzone-module_label_LGKwn",X9="dropzone-module_input_W4Rty",Z9="dropzone-module_area_24Xf3",U9="dropzone-module_error_c-jB-",q9="dropzone-module_instructions_Q21KZ",J9="dropzone-module_action_zulkw",K9="dropzone-module_hint_aTyPQ",Q9="dropzone-module_drag-active_f00v1",e6="dropzone-module_loading_zmnqc",t6="dropzone-module_invalid_dnk8R",n6="dropzone-module_disabled_2ajiy",o6=wm(t.jsx("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M14 13v4h-4v-4H7l5-5 5 5z"}),"CloudUpload");var r6={PDF:{mime:"application/pdf",extensions:[".pdf"]},XML:{mime:"text/xml",extensions:[".xml"]},XLSX:{mime:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",extensions:[".xlsx"]},XLS:{mime:"application/vnd.ms-excel",extensions:[".xls"]},CSV:{mime:"text/csv",extensions:[".csv"]},PNG:{mime:"image/png",extensions:[".png"]},JPEG:{mime:"image/jpeg",extensions:[".jpeg",".jpg"]},IMAGE:{mime:"image/*",extensions:[]}},a6=function a6(e,t){var n=t.accept,o=t.maxSize,r=t.maxFiles,a=e.slice(0,r),i=e.slice(r),s=[],l=i.map(function(e){return{file:e,reason:"tooManyFiles"};});return a.forEach(function(e){(function(e,t){return null==t||!t.length||t.some(function(t){var n,o,r,a=r6[t];return!!a&&(o=e.type,((r=a.mime).endsWith("/*")?o.startsWith(r.replace("/*","/")):o===r)||(n=e.name,a.extensions.some(function(e){return n.toLowerCase().endsWith(e);})));});})(e,n)?o&&e.size>1024*o*1024?l.push({file:e,reason:"tooLarge"}):s.push(e):l.push({file:e,reason:"invalidType"});}),{accepted:s,rejected:l};},i6=function i6(e){var t=e.onDrop,o=e.onReject,r=void 0===o?void 0:o,a=e.accept,i=void 0===a?void 0:a,s=e.maxSize,l=void 0===s?void 0:s,c=e.maxFiles,u=void 0===c?1:c,d=e.disabled,p=void 0!==d&&d,f=I(n.useState(!1),2),m=f[0],h=f[1],g=n.useRef(0),b=n.useMemo(function(){return function(e){if(null!=e&&e.length){var t=e.reduce(function(e,t){var n=r6[t];return n?e.concat(n.mime,n.extensions):e;},[]);return Array.from(new Set(t)).join(",");}}(i);},[i]),v=n.useCallback(function(e){var n=Array.from(null!=e?e:[]);if(n.length){var o=a6(n,{accept:i,maxSize:l,maxFiles:u}),a=o.accepted,s=o.rejected;s.length&&(null==r||r(s)),a.length&&t(a);}},[i,l,u,t,r]),y=n.useCallback(function(e){e.preventDefault(),p||(g.current+=1,h(!0));},[p]),x=n.useCallback(function(e){e.preventDefault();},[]),w=n.useCallback(function(e){e.preventDefault(),g.current=Math.max(0,g.current-1),g.current||h(!1);},[]),C=n.useCallback(function(e){var t,n;e.preventDefault(),g.current=0,h(!1),p||v(null!==(t=null===(n=e.dataTransfer)||void 0===n?void 0:n.files)&&void 0!==t?t:null);},[p,v]),S=n.useCallback(function(e){v(e.target.files),e.target.value="";},[v]);return{isDragActive:m,acceptAttribute:b,dragHandlers:n.useMemo(function(){return{onDragEnter:y,onDragOver:x,onDragLeave:w,onDrop:C};},[y,x,w,C]),handleInputChange:S,isMultiple:u>1};},s6=["onDrop","onReject","accept","maxSize","maxFiles","label","error","isLoading","loadingText","disabled","name"],l6=B(function(e){var o=e.onDrop,r=e.onReject,a=void 0===r?void 0:r,i=e.accept,s=void 0===i?void 0:i,l=e.maxSize,c=void 0===l?void 0:l,u=e.maxFiles,d=void 0===u?1:u,p=e.label,f=void 0===p?void 0:p,m=e.error,h=void 0===m?void 0:m,g=e.isLoading,b=void 0!==g&&g,v=e.loadingText,y=void 0===v?void 0:v,x=e.disabled,w=void 0!==x&&x,S=e.name,I=void 0===S?void 0:S,M=O(e,s6),T=n.useId(),E=null!=I?I:T,D=w||b,P=i6({onDrop:o,onReject:a,accept:s,maxSize:c,maxFiles:d,disabled:D}),j=P.isDragActive,R=P.acceptAttribute,A=P.dragHandlers,L=P.handleInputChange,V=P.isMultiple;return t.jsxs("div",{className:G9,children:[!!f&&t.jsx("label",{htmlFor:E,className:Y9,children:f}),t.jsx("input",k({id:E,name:I,type:"file",className:X9,accept:R,multiple:V,disabled:D,"aria-describedby":h?"".concat(E,"-error"):void 0,onChange:L},M)),t.jsx("label",k(k({htmlFor:E,"aria-busy":b||void 0,className:N(Z9,C(C(C(C({},Q9,j&&!D),e6,b),t6,!!h),n6,D))},A),{},{children:b?t.jsxs(t.Fragment,{children:[t.jsx(GX,{size:"sm"}),t.jsx("p",{className:q9,children:null!=y?y:NS("dropzone.uploadingFile")})]}):t.jsxs(t.Fragment,{children:[t.jsx(wh,{size:"24",color:ph("primary","500"),children:t.jsx(o6,{"data-testid":"CloudUploadIcon"})}),t.jsxs("p",{className:q9,children:[NS("dropzone.dropFiles")," ",t.jsx("span",{className:J9,children:NS("dropzone.clickHere")})]}),!!c&&t.jsx("span",{className:K9,children:NS("dropzone.maxSize",{maxSize:c})})]})})),!!h&&t.jsx("span",{id:"".concat(E,"-error"),role:"alert",className:U9,children:h})]});},"Dropzone"),c6=go,u6=Uo,d6=yo,p6=Qm,f6=TY;var m6=z(function(e){if(null==e)return 0;if(d6(e))return p6(e)?f6(e):e.length;var t=u6(e);return"[object Map]"==t||"[object Set]"==t?e.size:c6(e).length;}),h6=wm(t.jsx("path",{d:"M9 16.17 5.53 12.7a.996.996 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41l4.18 4.18c.39.39 1.02.39 1.41 0L20.29 7.71c.39-.39.39-1.02 0-1.41a.996.996 0 0 0-1.41 0z"}),"CheckRounded"),g6={stepper:"stepper-module_stepper_gHKwd",step:"stepper-module_step_Azhew",circle:"stepper-module_circle_Bke9b",circleNumber:"stepper-module_circleNumber_B5iiB",checkIcon:"stepper-module_checkIcon_FBwCT","stepper-check-in":"stepper-module_stepper-check-in_ebuuV",completed:"stepper-module_completed_v-jTa","stepper-pop":"stepper-module_stepper-pop_HEFCF",current:"stepper-module_current_-39vJ",pending:"stepper-module_pending_HgdCr",label:"stepper-module_label_-YviU",separator:"stepper-module_separator_8n-wG"};var b6=["label","status"],v6=["steps","activeStep"],y6=function y6(e){var n=e.status,o=e.index;return t.jsx("span",{className:N(g6.circle,g6[n]),children:"completed"===n?t.jsx(h6,{"data-testid":"CheckRoundedIcon",className:g6.checkIcon}):t.jsx("span",{className:g6.circleNumber,children:o+1})});},x6=function x6(e){var n=e.step,o=e.index,r=e.isLast,a=e.activeStep,i=n.label,s=n.status,l=O(n,b6),c=function(e,t,n){return n||(e<t?"completed":e===t?"current":"pending");}(o,a,s);return t.jsxs(t.Fragment,{children:[t.jsxs("div",k(k({className:N(g6.step,g6[c])},l),{},{children:[t.jsx(y6,{status:c,index:o}),t.jsx("span",{className:g6.label,children:i})]})),!r&&t.jsx("span",{className:N(g6.separator,"completed"===c&&g6.completed),"aria-hidden":"true"})]});},w6=n.createContext([]);var C6="table-module_table-wrapper_vhMx4",S6="table-module_table_NUX-V",k6="table-module_header-row_ry6Lv",O6="table-module_body-row_OMOX0",I6="table-module_header-cell_0FEWz",M6="table-module_body-cell_p4019",T6="table-module_body-async_21Z7L";var E6=["data","isLoading","error","empty","success"],D6=function D6(e){var o=e.data,r=e.isLoading,a=e.error,i=e.empty,s=e.success,l=O(e,E6),c=n.useContext(w6);return!(r||null!=a&&a.value||null!=s&&s.value||!(o.length>0))?t.jsx("tbody",k(k({},l),{},{children:o.map(function(e,n){return t.jsx("tr",{className:O6,children:c.map(function(o){var r=e[o.key];return t.jsx(F9,{sx:o.sx,component:"td",className:M6,children:o.render?o.render(e,n):String(null!=r?r:"")},o.key);})},n);})})):t.jsx("tbody",k(k({},l),{},{children:t.jsx("tr",{children:t.jsx("td",{colSpan:c.length,className:T6,children:t.jsx(TZ,{isLoading:r,error:a,success:s,empty:k(k({},i),{},{items:o}),children:t.jsx(t.Fragment,{})})})})}));},N6=["columns"],P6=["key","header","sx","render"],j6=function j6(e){var o=e.columns,r=O(e,N6),a=n.useContext(w6),i=null!=o?o:a;return t.jsx("thead",k(k({},r),{},{children:t.jsx("tr",{className:k6,children:i.map(function(e){var n=e.key,o=e.header,r=e.sx;e.render;var a=O(e,P6);return t.jsx(F9,k(k({sx:r,component:"th",className:I6},a),{},{children:o||t.jsx(F9,{component:"span",sx:yN,children:n})}),n);})})}));},R6=["columns","children","className"],A6=function A6(e){var n=e.columns,o=e.children,r=e.className,a=O(e,R6);return t.jsx(w6.Provider,{value:n,children:t.jsx("div",k(k({className:N(C6,r)},a),{},{children:t.jsx("table",{className:S6,children:o})}))});};A6.Header=j6,A6.Body=D6;var L6=function L6(){if("undefined"!=typeof document){var e=document.modelContext;if(e)return e;}if("undefined"!=typeof navigator)return navigator.modelContext;};e.ActionBar=jZ,e.Alert=DJ,e.AsyncContent=TZ,e.Breadcrumb=LJ,e.Button=Qi,e.Card=Oq,e.Categories=bh,e.CheckIcon=function(e){var n=e.size,o=void 0===n?10:n,r=e.color,a=void 0===r?ag:r,i=O(e,rg),s=vh(a)||a===ag?a:ag;return t.jsx("svg",k(k({},i),{},{width:o,height:o,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:t.jsx("path",{d:"M8.84843 1.00018C8.20766 2.13177 7.60452 3.15733 6.83007 4.44044C5.17131 7.18215 3.92252 8.94485 3.92252 8.94485L0.999993 5.8593",stroke:s,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}));},e.Checkbox=DX,e.CheckboxGroup=TX,e.CheckboxInput=DX,e.CheckboxInputGroup=TX,e.Chip=kh,e.ClearComponent=$S,e.ColorOptions=mh,e.ColorValues=hh,e.Colors=dh,e.ConditionalOperator=oU,e.CopyButton=FZ,e.CustomIcon=wh,e.DatePicker=function(e){var n=e.label,o=e.rightAdornment,r=O(e,fH);return t.jsx(wX,k({type:"date",label:n,rightAdornment:o},r));},e.DatePickerInput=mH,e.DateRangePicker=function(e){var n=e.label,o=e.rightAdornment,r=e.value,a=O(e,vX);return t.jsx(wX,k({type:"dateRange",label:n,rightAdornment:o,value:r},a));},e.DateRangePickerInput=yX,e.DraggableList=$9,e.Dropdown=K5,e.Dropzone=l6,e.EmptyState=xZ,e.EmptyStateIcon=Xh,e.ErrorStateIcon=og,e.FileIcon=function(e){var n=e.size,o=void 0===n?24:n,r=e.color,a=void 0===r?Dh:r,i=O(e,Eh),s=vh(a)?a:Dh;return t.jsxs("svg",k(k({},i),{},{width:o,height:"100%",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[t.jsx("path",{d:"M13 2H6C5.46957 2 4.96086 2.21071 4.58579 2.58579C4.21071 2.96086 4 3.46957 4 4V20C4 20.5304 4.21071 21.0391 4.58579 21.4142C4.96086 21.7893 5.46957 22 6 22H18C18.5304 22 19.0391 21.7893 19.4142 21.4142C19.7893 21.0391 20 20.5304 20 20V9L13 2Z",stroke:s,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),t.jsx("path",{d:"M13 2V9H20",stroke:s,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}));},e.FileRow=aJ,e.FormField=wX,e.GeneratingState=function(e){var n=e.highlight,o=e.icon,r=void 0===o?FU:o,a=e.text,i=void 0===a?NS("generatingState.text"):a,s=e.description,l=void 0===s?NS("generatingState.description"):s,c=O(e,VU),u=n?t.jsxs(t.Fragment,{children:[i," ",t.jsx("strong",{className:AU,children:n})]}):i;return t.jsxs("div",k(k({className:NU,role:"status"},c),{},{children:[r,t.jsxs("div",{className:PU,children:[t.jsx("p",{className:RU,children:u}),t.jsx("p",{className:LU,children:l})]}),t.jsx("div",{className:jU,children:t.jsx(GX,{size:"sm"})})]}));},e.GeneratingStateIcon=Ag,e.HeaderSection=function(e){var n=e.breadcrumb,o=e.image,r=e.dense,a=void 0!==r&&r,i=e.title,s=e.subtitle,l=e.link,c=e.menuAction,u=O(e,$Z);return t.jsxs("div",k(k({className:N(_Z,C({},BZ,a))},u),{},{children:[!!n&&n,t.jsxs("div",{className:WZ,children:[!!o&&o,t.jsxs("div",{className:zZ,children:[i&&t.jsx("h3",{className:HZ,children:i}),!!s&&s,!!l&&l]}),!!c&&c]})]}));},e.HelpArticleLink=kU,e.IconWithIdentifier=function(e){var n=e.text,o=e.icon,r=e.color,a=e.size,i=void 0===a?"md":a,s=e.showDivider,l=void 0===s||s,c=O(e,qZ);return t.jsxs("div",k(k({className:N(UZ["icon-with-identifier"],UZ[i])},c),{},{children:[!!o&&o,l&&t.jsx("div",{className:UZ.divider}),!!n&&t.jsx("span",{className:UZ.identifier,style:{color:r},children:n})]}));},e.Image=bq,e.Link=bZ,e.LinkWithIcon=function(e){var n=e.text,o=e.icon,r=e.onClick,a=e.className,i=e.size,s=void 0===i?"md":i,l=e.otherProps,c=void 0===l?{}:l,u=O(e,YZ),d=I(Zi(c),2)[1];return t.jsxs("div",{className:N(GZ,a),onClick:r,children:[o&&t.jsx(wh,k(k({color:ph("primary","500")},d),{},{size:ZZ(s),children:o})),t.jsx(Qi,k(k({variant:"link",label:n,size:s},c),u))]});},e.MailIcon=function(e){var n=e.size,o=void 0===n?24:n,r=e.color,a=void 0===r?Th:r,i=O(e,Mh),s=vh(a)?a:Th;return t.jsxs("svg",k(k({},i),{},{width:o,height:"100%",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[t.jsx("path",{d:"M4 4H20C21.1 4 22 4.9 22 6V18C22 19.1 21.1 20 20 20H4C2.9 20 2 19.1 2 18V6C2 4.9 2.9 4 4 4Z",stroke:s,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),t.jsx("path",{d:"M22 6L12 13L2 6",stroke:s,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}));},e.Maintenance=function(e){var n=e.title,o=void 0===n?NS("maintenance.title"):n,r=e.description,a=void 0===r?NS("maintenance.description"):r,i=e.subtitle,s=void 0===i?NS("maintenance.subtitle"):i,l=O(e,DU);return t.jsx("div",k(k({className:OU},l),{},{children:t.jsxs("div",{className:IU,children:[t.jsx("div",{className:MU,children:t.jsx(Zg,{})}),t.jsx("h1",{className:TU,children:o}),t.jsxs("div",{className:EU,children:[t.jsx("p",{children:a}),t.jsx("p",{children:s})]})]})}));},e.MaintenanceIcon=Zg,e.MenuAction=function(e){var o=e.items,r=e.id,a=void 0===r?"menu-action-button":r,i=e.maxItemsVisible,s=void 0===i?6:i,l=e.icon,c=e.size,u=void 0===c?"md":c,d=e.disableRipple,p=void 0!==d&&d,f=e.iconButtonSx,m=O(e,GJ),h=I(n.useState(null),2),g=h[0],b=h[1],v=Boolean(g),y=I(Zi(m),2),x=y[0],w=y[1],C=function C(){b(null);};return t.jsxs("div",{children:[t.jsx(AD,k(k({id:a,"aria-label":NS("a11y.moreActions"),"aria-controls":v?"".concat(a,"-menu"):void 0,"aria-expanded":v?"true":void 0,"aria-haspopup":"true",onClick:function onClick(e){b(e.currentTarget);},disableRipple:p,sx:f},x),{},{children:null!=l?l:t.jsx(wh,{color:ph("grey","900"),children:t.jsx(VJ,{})})})),t.jsx(lW,k(k({id:"".concat(a,"-menu"),anchorEl:g,open:v,onClose:C,disableScrollLock:!0,slotProps:{list:{"aria-labelledby":a}},anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},sx:FJ(u,s)},w),{},{children:Wm(o,function(e,n){var o;return t.jsx($J,k(k({},e),{},{size:null!==(o=e.size)&&void 0!==o?o:u,onClose:C}),n);})}))]});},e.MenuItemComponent=$J,e.Modal=uq,e.ModalBody=lq,e.ModalFooter=cq,e.ModalTitle=rq,e.NewStateIcon=Mg,e.Option=_S,e.OverflowChecker=vU,e.PermissionOption=bJ,e.PermissionSelector=SJ,e.PickChannelModal=Dq,e.PriceCloseIcon=function(e){var n=e.size,o=void 0===n?24:n,r=e.color,a=void 0===r?jh:r,i=O(e,Ph),s=vh(a)?a:jh;return t.jsxs("svg",k(k({},i),{},{width:o,height:"100%",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[t.jsx("path",{d:"M22.6371 18.2207H22.1451V17.2905C22.1505 16.9818 22.0908 16.675 21.9697 16.3883C21.8485 16.1015 21.6681 15.8404 21.4392 15.6203C21.2103 15.4001 20.9373 15.2252 20.6362 15.1059C20.3351 14.9865 20.0119 14.925 19.6854 14.925C19.3589 14.925 19.0357 14.9865 18.7346 15.1059C18.4335 15.2252 18.1605 15.4001 17.9316 15.6203C17.7026 15.8404 17.5223 16.1015 17.4011 16.3883C17.2799 16.675 17.2203 16.9818 17.2257 17.2905V18.2207H16.7337C16.4724 18.2214 16.2221 18.3201 16.0377 18.495C15.8532 18.67 15.7496 18.907 15.7496 19.1541V23.8077C15.7503 24.0543 15.8542 24.2907 16.0386 24.4651C16.223 24.6395 16.4729 24.7378 16.7337 24.7385H22.6405C22.9012 24.7378 23.1511 24.6395 23.3355 24.4651C23.5199 24.2907 23.6238 24.0543 23.6245 23.8077V19.1541C23.6245 19.0315 23.5989 18.9101 23.5493 18.7968C23.4997 18.6835 23.4269 18.5806 23.3352 18.4939C23.2435 18.4072 23.1347 18.3385 23.0149 18.2916C22.8951 18.2447 22.7667 18.2207 22.6371 18.2207ZM19.6837 22.4114C19.4891 22.4114 19.2988 22.3568 19.137 22.2545C18.9752 22.1523 18.8491 22.0069 18.7746 21.8368C18.7001 21.6667 18.6806 21.4795 18.7186 21.299C18.7566 21.1184 18.8503 20.9526 18.9879 20.8224C19.1255 20.6922 19.3008 20.6035 19.4917 20.5676C19.6826 20.5317 19.8805 20.5501 20.0603 20.6206C20.2401 20.691 20.3938 20.8104 20.5019 20.9634C20.61 21.1165 20.6677 21.2965 20.6677 21.4806C20.6665 21.7267 20.5625 21.9624 20.3785 22.1364C20.1945 22.3103 19.9452 22.4085 19.685 22.4095L19.6837 22.4114ZM21.2087 18.2207H18.16V17.2905C18.16 16.9079 18.3207 16.541 18.6067 16.2705C18.8927 15.9999 19.2806 15.8479 19.685 15.8479C20.0895 15.8479 20.4774 15.9999 20.7634 16.2705C21.0494 16.541 21.2101 16.9079 21.2101 17.2905L21.2087 18.2207Z",fill:s}),t.jsx("mask",{id:"path-2-inside-1_1_970",fill:"white",children:t.jsx("path",{d:"M21.4995 11.6539C22.0518 11.6539 22.5044 11.2052 22.4523 10.6553C22.2811 8.8512 21.6481 7.11114 20.6036 5.596C19.3675 3.80287 17.6105 2.4053 15.5549 1.58001C13.4992 0.75472 11.2373 0.538787 9.05505 0.959515C6.87281 1.38024 4.86829 2.41874 3.29498 3.94367C1.72167 5.4686 0.650236 7.41148 0.216161 9.52663C-0.217914 11.6418 0.00486931 13.8342 0.856338 15.8266C1.70781 17.819 3.14972 19.522 4.99973 20.7201C6.57173 21.7382 8.3784 22.3529 10.251 22.5147C10.8012 22.5622 11.2498 22.11 11.2498 21.5577V21.1638C11.2498 20.6115 10.8007 20.1695 10.2518 20.1087C8.86847 19.9553 7.53753 19.4845 6.37192 18.7296C4.92807 17.7945 3.80272 16.4655 3.13819 14.9105C2.47366 13.3555 2.29979 11.6444 2.63856 9.99366C2.97734 8.34289 3.81354 6.82656 5.04144 5.63642C6.26933 4.44628 7.83376 3.63579 9.5369 3.30743C11.24 2.97907 13.0054 3.1476 14.6097 3.7917C16.214 4.4358 17.5853 5.52654 18.55 6.92599C19.323 8.04726 19.8072 9.32637 19.9692 10.6563C20.0359 11.2045 20.4774 11.6539 21.0297 11.6539H21.4995Z"})}),t.jsx("path",{d:"M21.4995 11.6539C22.0518 11.6539 22.5044 11.2052 22.4523 10.6553C22.2811 8.8512 21.6481 7.11114 20.6036 5.596C19.3675 3.80287 17.6105 2.4053 15.5549 1.58001C13.4992 0.75472 11.2373 0.538787 9.05505 0.959515C6.87281 1.38024 4.86829 2.41874 3.29498 3.94367C1.72167 5.4686 0.650236 7.41148 0.216161 9.52663C-0.217914 11.6418 0.00486931 13.8342 0.856338 15.8266C1.70781 17.819 3.14972 19.522 4.99973 20.7201C6.57173 21.7382 8.3784 22.3529 10.251 22.5147C10.8012 22.5622 11.2498 22.11 11.2498 21.5577V21.1638C11.2498 20.6115 10.8007 20.1695 10.2518 20.1087C8.86847 19.9553 7.53753 19.4845 6.37192 18.7296C4.92807 17.7945 3.80272 16.4655 3.13819 14.9105C2.47366 13.3555 2.29979 11.6444 2.63856 9.99366C2.97734 8.34289 3.81354 6.82656 5.04144 5.63642C6.26933 4.44628 7.83376 3.63579 9.5369 3.30743C11.24 2.97907 13.0054 3.1476 14.6097 3.7917C16.214 4.4358 17.5853 5.52654 18.55 6.92599C19.323 8.04726 19.8072 9.32637 19.9692 10.6563C20.0359 11.2045 20.4774 11.6539 21.0297 11.6539H21.4995Z",fill:"white",stroke:s,strokeWidth:"4",mask:"url(#path-2-inside-1_1_970)"}),t.jsx("path",{d:"M10.9086 18.2035V5.47624H11.7239V18.2035H10.9086ZM13.0712 9.67723C13.0315 9.27619 12.8608 8.96464 12.5592 8.74258C12.2575 8.52051 11.8482 8.40948 11.3312 8.40948C10.9798 8.40948 10.6832 8.45919 10.4413 8.55863C10.1993 8.65474 10.0137 8.78898 9.88444 8.96133C9.7585 9.13367 9.69552 9.32922 9.69552 9.54797C9.68889 9.73027 9.72701 9.88936 9.80987 10.0252C9.89604 10.1611 10.0137 10.2788 10.1629 10.3782C10.312 10.4743 10.4843 10.5589 10.6799 10.6318C10.8754 10.7014 11.0843 10.761 11.3063 10.8108L12.2211 11.0295C12.6652 11.1289 13.0729 11.2615 13.4441 11.4272C13.8153 11.593 14.1368 11.7968 14.4086 12.0387C14.6804 12.2807 14.8908 12.5657 15.04 12.8939C15.1924 13.222 15.2703 13.5982 15.2736 14.0224C15.2703 14.6455 15.1112 15.1858 14.7964 15.6431C14.4848 16.0972 14.0341 16.4502 13.4441 16.7021C12.8575 16.9507 12.1498 17.075 11.3212 17.075C10.4993 17.075 9.78335 16.949 9.1735 16.6971C8.56697 16.4452 8.09301 16.0724 7.75163 15.5785C7.41356 15.0814 7.23624 14.4665 7.21967 13.7341H9.30277C9.32597 14.0754 9.42374 14.3605 9.59609 14.5892C9.77175 14.8145 10.0054 14.9852 10.2971 15.1012C10.5921 15.2139 10.9252 15.2703 11.2964 15.2703C11.661 15.2703 11.9775 15.2172 12.2459 15.1112C12.5177 15.0051 12.7282 14.8576 12.8773 14.6687C13.0265 14.4798 13.1011 14.2627 13.1011 14.0174C13.1011 13.7887 13.0331 13.5965 12.8972 13.4407C12.7647 13.285 12.5691 13.1524 12.3106 13.043C12.0554 12.9336 11.7422 12.8342 11.3709 12.7447L10.2623 12.4663C9.40386 12.2575 8.72606 11.931 8.2289 11.4869C7.73174 11.0428 7.48482 10.4445 7.48814 9.69215C7.48482 9.07567 7.64888 8.53708 7.98032 8.07638C8.31508 7.61568 8.77412 7.25607 9.35745 6.99755C9.94079 6.73902 10.6037 6.60976 11.3461 6.60976C12.1018 6.60976 12.7613 6.73902 13.3248 6.99755C13.8915 7.25607 14.3324 7.61568 14.6472 8.07638C14.9621 8.53708 15.1245 9.0707 15.1344 9.67723H13.0712Z",fill:s})]}));},e.PriceDownIcon=function(e){var n=e.size,o=void 0===n?24:n,r=e.color,a=O(e,Nh),i=r&&vh(r)?r:void 0;return t.jsxs("svg",k(k({},a),{},{width:o,height:"100%",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:i?{color:i}:void 0,children:[t.jsx("path",{d:"M19.012 23.8615C19.2082 24.0664 19.5353 24.0672 19.7325 23.8633L23.2885 20.1866C23.595 19.8697 23.3712 19.3401 22.9303 19.339L15.8363 19.3217C15.3955 19.3206 15.1691 19.8492 15.474 20.1676L19.012 23.8615Z",fill:"currentColor"}),t.jsx("mask",{id:"path-2-inside-1_1_1191",fill:"white",children:t.jsx("path",{d:"M21.651 11.1531C22.2033 11.1531 22.6557 10.7044 22.6051 10.1544C22.4392 8.35049 21.8256 6.61063 20.8131 5.09564C19.6148 3.30264 17.9116 1.90517 15.9188 1.07995C13.9261 0.254719 11.7334 0.0388023 9.61795 0.459499C7.50249 0.880196 5.55932 1.91861 4.03417 3.44343C2.50901 4.96825 1.47036 6.91099 1.04957 9.02598C0.628782 11.141 0.844747 13.3332 1.67016 15.3255C2.49557 17.3177 3.89335 19.0206 5.68674 20.2186C7.20212 21.2309 8.94246 21.8444 10.7469 22.0103C11.2969 22.0609 11.7455 21.6084 11.7455 21.0561V20.6624C11.7455 20.1101 11.2962 19.6684 10.7478 19.6037C9.41766 19.4467 8.13837 18.9775 7.01693 18.2283C5.61727 17.2933 4.52637 15.9643 3.88217 14.4094C3.23798 12.8546 3.06943 11.1436 3.39784 9.49297C3.72624 7.84233 4.53686 6.32611 5.72717 5.13606C6.91748 3.94601 8.43404 3.13558 10.085 2.80724C11.7361 2.47891 13.4474 2.64742 15.0026 3.29147C16.5578 3.93552 17.8871 5.02618 18.8223 6.42553C19.5716 7.54666 20.041 8.82559 20.198 10.1553C20.2628 10.7038 20.7044 11.1531 21.2567 11.1531H21.651Z"})}),t.jsx("path",{d:"M21.651 11.1531C22.2033 11.1531 22.6557 10.7044 22.6051 10.1544C22.4392 8.35049 21.8256 6.61063 20.8131 5.09564C19.6148 3.30264 17.9116 1.90517 15.9188 1.07995C13.9261 0.254719 11.7334 0.0388023 9.61795 0.459499C7.50249 0.880196 5.55932 1.91861 4.03417 3.44343C2.50901 4.96825 1.47036 6.91099 1.04957 9.02598C0.628782 11.141 0.844747 13.3332 1.67016 15.3255C2.49557 17.3177 3.89335 19.0206 5.68674 20.2186C7.20212 21.2309 8.94246 21.8444 10.7469 22.0103C11.2969 22.0609 11.7455 21.6084 11.7455 21.0561V20.6624C11.7455 20.1101 11.2962 19.6684 10.7478 19.6037C9.41766 19.4467 8.13837 18.9775 7.01693 18.2283C5.61727 17.2933 4.52637 15.9643 3.88217 14.4094C3.23798 12.8546 3.06943 11.1436 3.39784 9.49297C3.72624 7.84233 4.53686 6.32611 5.72717 5.13606C6.91748 3.94601 8.43404 3.13558 10.085 2.80724C11.7361 2.47891 13.4474 2.64742 15.0026 3.29147C16.5578 3.93552 17.8871 5.02618 18.8223 6.42553C19.5716 7.54666 20.041 8.82559 20.198 10.1553C20.2628 10.7038 20.7044 11.1531 21.2567 11.1531H21.651Z",fill:"white",stroke:"currentColor",strokeWidth:"4",mask:"url(#path-2-inside-1_1_1191)"}),t.jsx("path",{d:"M19.3793 14.424V23.1464",stroke:"currentColor",strokeWidth:"2"}),t.jsx("path",{d:"M11.4043 17.7033V4.97607H12.2197V17.7033H11.4043ZM13.567 9.17707C13.5272 8.77603 13.3565 8.46447 13.0549 8.24241C12.7533 8.02034 12.344 7.90931 11.8269 7.90931C11.4756 7.90931 11.179 7.95903 10.937 8.05846C10.6951 8.15458 10.5095 8.28881 10.3802 8.46116C10.2543 8.63351 10.1913 8.82906 10.1913 9.04781C10.1847 9.2301 10.2228 9.38919 10.3056 9.52508C10.3918 9.66097 10.5095 9.77863 10.6586 9.87806C10.8078 9.97418 10.9801 10.0587 11.1757 10.1316C11.3712 10.2012 11.58 10.2609 11.8021 10.3106L12.7168 10.5293C13.161 10.6288 13.5686 10.7613 13.9399 10.9271C14.3111 11.0928 14.6326 11.2966 14.9043 11.5386C15.1761 11.7805 15.3866 12.0656 15.5357 12.3937C15.6882 12.7218 15.7661 13.098 15.7694 13.5222C15.7661 14.1453 15.607 14.6856 15.2921 15.143C14.9806 15.597 14.5298 15.95 13.9399 16.2019C13.3532 16.4505 12.6456 16.5748 11.817 16.5748C10.995 16.5748 10.2791 16.4488 9.66926 16.197C9.06273 15.9451 8.58877 15.5722 8.24739 15.0783C7.90932 14.5812 7.732 13.9664 7.71543 13.2339H9.79852C9.82172 13.5753 9.9195 13.8603 10.0918 14.089C10.2675 14.3144 10.5012 14.4851 10.7928 14.6011C11.0878 14.7138 11.4209 14.7701 11.7921 14.7701C12.1567 14.7701 12.4732 14.7171 12.7417 14.611C13.0135 14.505 13.2239 14.3575 13.3731 14.1685C13.5222 13.9796 13.5968 13.7625 13.5968 13.5173C13.5968 13.2886 13.5289 13.0963 13.393 12.9406C13.2604 12.7848 13.0649 12.6522 12.8063 12.5428C12.5511 12.4335 12.2379 12.334 11.8667 12.2445L10.758 11.9661C9.89961 11.7573 9.22182 11.4309 8.72466 10.9867C8.2275 10.5426 7.98058 9.94435 7.98389 9.19198C7.98058 8.5755 8.14464 8.03692 8.47608 7.57622C8.81083 7.11551 9.26988 6.7559 9.85321 6.49738C10.4365 6.23886 11.0994 6.1096 11.8418 6.1096C12.5975 6.1096 13.2571 6.23886 13.8205 6.49738C14.3873 6.7559 14.8281 7.11551 15.143 7.57622C15.4579 8.03692 15.6203 8.57053 15.6302 9.17707H13.567Z",fill:"currentColor"})]}));},e.ProductecaIcon=function(e){var n=e.size,o=void 0===n?18:n,r=e.color,a=void 0===r?qg:r,i=O(e,Ug),s=vh(a)?a:qg;return t.jsxs("svg",k(k({},i),{},{width:o,height:o,viewBox:"0 0 18 19",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[t.jsx("path",{d:"M17.9815 8.42273C18.3248 13.8588 13.8468 18.3406 8.41534 17.9971C3.93617 17.7139 0.301517 14.0761 0.0184965 9.59294C-0.324648 4.15676 4.15312 -0.325041 9.58453 0.0185242C14.0638 0.301699 17.6983 3.93943 17.9815 8.42273Z",fill:s}),t.jsx("path",{d:"M10.6357 9.88816H8.69854V8.04858C8.69854 7.12373 7.94951 6.37405 7.02557 6.37405C6.65095 6.37405 6.34715 6.07014 6.34715 5.69521C6.34715 5.32026 6.65095 5.01619 7.02557 5.01619L10.6357 5.01526C11.9801 5.01526 13.07 6.10609 13.07 7.45158C13.07 8.79736 11.9801 9.88816 10.6357 9.88816ZM7.70509 13.1196H7.70286C7.70286 13.4945 7.39915 13.7986 7.02455 13.7986C6.64984 13.7986 6.34612 13.4945 6.34612 13.1196L6.3451 11.5624C6.3451 11.1875 6.64984 10.8834 7.02455 10.8834L7.70509 10.8825V13.1196ZM10.6357 4.02094H7.02557C6.10171 4.02094 5.35268 4.77053 5.35268 5.69521C5.35268 6.61989 6.10171 7.36958 7.02557 7.36958C7.40026 7.36958 7.70397 7.67336 7.70397 8.04858H7.70509L7.70509 9.88816H7.02455C6.10059 9.88816 5.35156 10.6379 5.35156 11.5624V13.1196C5.35156 14.0443 6.10059 14.7939 7.02455 14.7939C7.94839 14.7939 8.69742 14.0443 8.69742 13.1196H8.69854V10.8825H10.6357C12.5289 10.8825 14.0636 9.3468 14.0636 7.45187C14.0636 5.55684 12.5289 4.02094 10.6357 4.02094Z",fill:"#FFFFFF"})]}));},e.Progressbar=nJ,e.SearchComponent=zS,e.SearchPublication=function(e){var n=e.size,o=void 0===n?100:n,r=e.color,a=void 0===r?Ih:r,i=O(e,Oh),s=vh(a)?a:Ih;return t.jsx("svg",k(k({},i),{},{id:"Capa_1","data-name":"Capa 1",xmlns:"http://www.w3.org/2000/svg",width:o,height:"100%",viewBox:"0 0 95 95",children:t.jsxs("g",{id:"Grupo_1315","data-name":"Grupo 1315",children:[t.jsx("path",{id:"Trazado_2280","data-name":"Trazado 2280",style:{fill:s},d:"M0,13.62c.09-.37.16-.76.26-1.14a7.22,7.22,0,0,1,7-5.28H24.3c.23,0,.3,0,.29-.29a7,7,0,0,1,.58-3.25A6.37,6.37,0,0,1,33.63.6a6.47,6.47,0,0,1,1.75,1.22,6.2,6.2,0,0,1,1.89,4.53c0,.22,0,.43,0,.65s0,.2.21.2H54.63a7.21,7.21,0,0,1,7.24,7.18V34.23a1.45,1.45,0,0,1-1.33,1.55h-.16A1.44,1.44,0,0,1,59,34.5c0-.12,0-.25,0-.37V14.55a4.33,4.33,0,0,0-4.2-4.46H7.4A4.34,4.34,0,0,0,3,13.44a4.07,4.07,0,0,0-.12,1V79.22a4.33,4.33,0,0,0,4.32,4.32H54.44a1.5,1.5,0,0,1,1.49.83,1.45,1.45,0,0,1-.68,1.93,1.39,1.39,0,0,1-.53.14,2.62,2.62,0,0,1-.28,0H7.29A7.25,7.25,0,0,1,.06,80.26c0-.1,0-.21-.06-.3ZM30.91,7.2h3.23c.17,0,.23,0,.22-.22s0-.47,0-.7A3.43,3.43,0,0,0,28,4.62a4.27,4.27,0,0,0-.45,2.3c0,.22,0,.29.27.29,1,0,2.09,0,3.14,0Z"}),t.jsx("path",{id:"Trazado_2281","data-name":"Trazado 2281",style:{fill:s},d:"M54.79,38.4c8.35-.94,15.22,1.7,20.36,8.46A19.94,19.94,0,0,1,79.1,57a20.86,20.86,0,0,1-2,11.63.24.24,0,0,0,.05.34h0L92.23,82.66a5.82,5.82,0,1,1-7.83,8.62l-.07-.06Q76.76,84.37,69.2,77.47c-.15-.13-.23-.09-.37,0a21.24,21.24,0,0,1-7,2.6,21.08,21.08,0,0,1-21-8.55,20.4,20.4,0,0,1-3.79-10A21.15,21.15,0,0,1,51.26,39.31,23.75,23.75,0,0,1,54.79,38.4Zm21.72,18A18.62,18.62,0,1,0,61,77.68h0A18.64,18.64,0,0,0,76.51,56.39Zm15.08,30a3.31,3.31,0,0,0-1.12-2L75.89,71.17c-.16-.14-.23-.14-.36,0a20.4,20.4,0,0,1-4.16,4.49c-.2.15-.19.23,0,.39,1.78,1.6,3.56,3.22,5.34,4.84l9.39,8.52a3.32,3.32,0,0,0,5.5-3Z"}),t.jsx("path",{id:"Trazado_2282","data-name":"Trazado 2282",style:{fill:s},d:"M31,19.9H20.38A5.76,5.76,0,0,1,14.57,15a3.12,3.12,0,0,1,0-1.1,1.45,1.45,0,0,1,2.88.22,2.85,2.85,0,0,0,1.74,2.68A2.54,2.54,0,0,0,20.3,17H42a2.9,2.9,0,0,0,2.89-2.85,1.46,1.46,0,0,1,2.91-.07v.1a5.8,5.8,0,0,1-5.72,5.72Z"}),t.jsx("path",{id:"Trazado_2283","data-name":"Trazado 2283",style:{fill:s},d:"M13.22,68V66.07A1.86,1.86,0,0,1,15,64.15c1.36,0,2.73,0,4.09,0A1.86,1.86,0,0,1,20.88,66q0,2,0,3.93A1.91,1.91,0,0,1,19,71.83c-1.28,0-2.57,0-3.85,0a1.91,1.91,0,0,1-1.91-1.9V68Zm2.24,0v.76a.77.77,0,0,0,.71.85.28.28,0,0,0,.13,0c.5,0,1,0,1.49,0a.78.78,0,0,0,.85-.73v-.09c0-.51,0-1,0-1.54a.76.76,0,0,0-.72-.8h0a12.2,12.2,0,0,0-1.71,0,.76.76,0,0,0-.72.79h0V68Z"}),t.jsx("path",{id:"Trazado_2284","data-name":"Trazado 2284",style:{fill:s},d:"M13.22,52.67V50.75a1.87,1.87,0,0,1,1.83-1.9q2,0,4,0a1.88,1.88,0,0,1,1.84,1.81c0,1.35,0,2.71,0,4.06a1.84,1.84,0,0,1-1.77,1.79,39.85,39.85,0,0,1-4.09,0,1.85,1.85,0,0,1-1.81-1.89.19.19,0,0,1,0-.08ZM17,54.27h.76a.79.79,0,0,0,.84-.73v-.07c0-.52,0-1,0-1.57a.76.76,0,0,0-.71-.79c-.6,0-1.2,0-1.79,0a.74.74,0,0,0-.68.75q0,.83,0,1.65a.77.77,0,0,0,.77.75Z"}),t.jsx("path",{id:"Trazado_2285","data-name":"Trazado 2285",style:{fill:s},d:"M13.22,37.38v-2a1.88,1.88,0,0,1,1.86-1.87q2,0,3.93,0a1.85,1.85,0,0,1,1.86,1.78c0,1.37,0,2.74,0,4.12A1.85,1.85,0,0,1,19,41.23q-2,0-4,0a1.88,1.88,0,0,1-1.85-1.9ZM17.05,39h.75a.8.8,0,0,0,.84-.74v-.06c0-.53,0-1,0-1.57a.77.77,0,0,0-.75-.8H16.2a.77.77,0,0,0-.74.76c0,.55,0,1.1,0,1.66a.77.77,0,0,0,.77.75c.27,0,.54,0,.81,0Z"}),t.jsx("path",{id:"Trazado_2286","data-name":"Trazado 2286",style:{fill:s},d:"M30.54,38.84h-5a1.45,1.45,0,0,1-1.47-1.43A1.48,1.48,0,0,1,25.26,36a2,2,0,0,1,.35,0h9.87a1.45,1.45,0,0,1,.11,2.9H30.54Z"}),t.jsx("path",{id:"Trazado_2287","data-name":"Trazado 2287",style:{fill:s},d:"M28.44,54.14H25.59a1.44,1.44,0,0,1-1.49-1.39s0,0,0-.06a1.48,1.48,0,0,1,1.47-1.46h5.73a1.45,1.45,0,0,1,1.52,1.38,1.44,1.44,0,0,1-1.37,1.52h-3Z"}),t.jsx("path",{id:"Trazado_2288","data-name":"Trazado 2288",style:{fill:s},d:"M27.36,66.54c.63,0,1.26,0,1.9,0a1.44,1.44,0,0,1,1.36,1.27,1.47,1.47,0,0,1-1,1.56,1.6,1.6,0,0,1-.54.07H25.64a1.46,1.46,0,0,1-.17-2.91.43.43,0,0,1,.16,0h1.73Z"}),t.jsx("path",{id:"Trazado_2289","data-name":"Trazado 2289",style:{fill:s},d:"M54.49,47.45a13.8,13.8,0,0,1,8.82,1.95,12.64,12.64,0,0,1,4.62,5.36,18.36,18.36,0,0,1,1.44,4.33,1.24,1.24,0,0,1-1,1.45h0A1.22,1.22,0,0,1,67,59.63a16.4,16.4,0,0,0-1.56-4.37A9.91,9.91,0,0,0,57,49.91a11.82,11.82,0,0,0-2.59.08,1.23,1.23,0,0,1-1.47-.94v0a1.23,1.23,0,0,1,1-1.47H54Z"})]})}));},e.Searcher=UX,e.SelectField=YS,e.Shades=gh,e.Sidebar=G5,e.SingleValue=WS,e.Spinner=GX,e.Stepper=function(e){var n=e.steps,o=e.activeStep,r=void 0===o?0:o,a=O(e,v6),i=m6(n);return t.jsx("nav",k(k({className:g6.stepper,"aria-label":"Stepper"},a),{},{children:Wm(n,function(e,n){return t.jsx(x6,{step:e,index:n,activeStep:r,isLast:n===i-1},n);})}));},e.SuccessStateIcon=hg,e.Switch=tZ,e.SwitchGroup=QX,e.SwitchInput=tZ,e.SwitchInputGroup=QX,e.Table=A6,e.TableBody=D6,e.TableHeader=j6,e.Tabs=SK,e.TextInput=US,e.TrashIcon=Lh,e.VALUE_AND=eU,e.VALUE_OR=QZ,e.WarningModal=eK,e.WithOverflowTooltip=function(e){var o=e.content,r=e.children,a=O(e,xU);return t.jsx(vU,{children:function children(e,i){var s=n.cloneElement(r,{ref:e});return i&&o?t.jsx(wU,k(k({content:o},a),{},{children:s})):s;}});},e.WithTooltip=wU,e.allColors=fh,e.configureLocale=function(e){!function(e){return Object.prototype.hasOwnProperty.call(ES,e);}(e)?R('Locale "'.concat(e,'" no está registrado. Se mantiene "').concat(Uz,'".')):(Uz=e,Rw.changeLanguage(ES[e].i18n));},e.datePickerDayStyles=tH,e.datePickerDigitalClockStyles=nH,e.datePickerInputStyles=eH,e.datePickerLayoutStyles=Qz,e.datePickerPopperStyles=rH,e.datePickerYearStyles=oH,e.formatDate=fX,e.getActiveLocale=function(){return Uz;},e.getColor=ph,e.isValidColor=vh,e.useAutoloadProgress=oJ,e.useDropzone=i6,e.useModelContextTool=function(e){var t=e.name,o=e.title,r=e.description,a=e.inputSchema,i=e.annotations,s=e.execute,l=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).enabled,c=void 0===l||l,u=void 0!==L6(),d=n.useRef(s),p=n.useRef(a),f=n.useRef(i),m=JSON.stringify(a),h=JSON.stringify(i);return n.useEffect(function(){d.current=s,p.current=a,f.current=i;}),n.useEffect(function(){if(c){var e=L6();if(e){var n=new AbortController();return e.registerTool(k(k(k({name:t},void 0!==o&&{title:o}),{},{description:r,inputSchema:p.current},void 0!==f.current&&{annotations:f.current}),{},{execute:function execute(e){return Promise.resolve(d.current(e));}}),{signal:n.signal}).catch(function(e){n.signal.aborted||R('useModelContextTool: could not register the tool "'.concat(t,'" (').concat(String(e),")"));}),function(){return n.abort();};}}},[c,t,o,r,m,h]),{isSupported:u};},e.useReduxFormField=PS,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@producteca/producteca-ui-kit",
3
- "version": "1.93.0",
3
+ "version": "1.94.0",
4
4
  "type": "module",
5
5
  "main": "./dist/producteca-ui-kit.umd.js",
6
6
  "types": "./dist/index.d.ts",