@zydon/common 2.5.26 → 2.5.28

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.
Files changed (66) hide show
  1. package/dist/{chunk-AX66JBSX.js → chunk-2ZUP7PZ5.js} +1 -1
  2. package/dist/{chunk-6X6FSO7N.js → chunk-3S5SGWRS.js} +1 -1
  3. package/dist/{chunk-XMLCGKXY.js → chunk-4W4MN5ZB.js} +1 -1
  4. package/dist/{chunk-64OC67LL.js → chunk-5AJROVJD.js} +1 -1
  5. package/dist/{chunk-G6LNPTHX.js → chunk-77NPRDOB.js} +1 -1
  6. package/dist/{chunk-C7P42JRX.js → chunk-7AL772IM.js} +3 -3
  7. package/dist/{chunk-EBVGO3XU.js → chunk-H4V45IZF.js} +1 -1
  8. package/dist/{chunk-4NTDQ5M4.js → chunk-HO4XDY7B.js} +2 -2
  9. package/dist/{chunk-7IV6PF7P.js → chunk-IHCCEDHS.js} +1 -1
  10. package/dist/{chunk-7VNJC7M4.js → chunk-KZKIZOY3.js} +1 -1
  11. package/dist/{chunk-CWYI53IN.js → chunk-PNFJN3EE.js} +1 -1
  12. package/dist/{chunk-RF3KO472.js → chunk-PVFZ7PBA.js} +1 -1
  13. package/dist/{chunk-GAM26ZZE.js → chunk-RPE2GB7J.js} +2 -2
  14. package/dist/chunk-TZTQU4RZ.js +9 -0
  15. package/dist/{chunk-RK37ZTAU.js → chunk-UM466R7L.js} +2 -2
  16. package/dist/chunk-YRQGL6TR.js +9 -0
  17. package/dist/{chunk-SCLJVYKM.js → chunk-YTFGIQHB.js} +1 -1
  18. package/dist/components/ActionButton/index.js +3 -3
  19. package/dist/components/Autocomplete/index.js +3 -3
  20. package/dist/components/BuilderLayout/index.js +3 -3
  21. package/dist/components/BuilderSidebar/index.js +2 -2
  22. package/dist/components/Common/index.js +2 -2
  23. package/dist/components/DataView/index.js +3 -3
  24. package/dist/components/DragButton/index.js +3 -3
  25. package/dist/components/Drawer/index.js +2 -2
  26. package/dist/components/EasyCropModal/index.js +4 -4
  27. package/dist/components/Error/index.js +2 -2
  28. package/dist/components/ExpandableGroup/index.js +2 -2
  29. package/dist/components/FileUpload/index.d.ts +2 -1
  30. package/dist/components/FileUpload/index.js +14 -14
  31. package/dist/components/FrameSkeleton/index.js +2 -2
  32. package/dist/components/HelpButton/index.js +3 -3
  33. package/dist/components/Icon/index.js +2 -2
  34. package/dist/components/IconButton/index.js +3 -3
  35. package/dist/components/ImageCropModal/index.js +4 -4
  36. package/dist/components/Incrementer/index.js +3 -3
  37. package/dist/components/InfoCircle/index.js +2 -2
  38. package/dist/components/ListBundles/index.js +3 -3
  39. package/dist/components/MenuItem/index.js +2 -2
  40. package/dist/components/Modal/index.js +3 -3
  41. package/dist/components/MoreMenu/index.js +2 -2
  42. package/dist/components/PasswordRules/index.js +2 -2
  43. package/dist/components/PopoverSelect/index.js +2 -2
  44. package/dist/components/SearchInput/index.js +3 -3
  45. package/dist/components/SelectableCards/index.js +4 -4
  46. package/dist/components/SeoPreview/index.js +2 -2
  47. package/dist/components/Steps/index.js +2 -2
  48. package/dist/components/StyledTab/index.js +2 -2
  49. package/dist/components/SwapList/index.js +3 -3
  50. package/dist/components/WebhookCard/index.js +2 -2
  51. package/dist/components/carousel/index.js +3 -3
  52. package/dist/components/form/Address/index.js +4 -4
  53. package/dist/components/form/Autocomplete/index.js +4 -4
  54. package/dist/components/form/Incrementer/index.js +3 -3
  55. package/dist/components/form/Password/index.js +2 -2
  56. package/dist/components/form/SelectableCards/index.js +4 -4
  57. package/dist/components/form/UploadAvatarWithCrop/index.js +5 -5
  58. package/dist/components/form/UploadWithCrop/index.js +6 -6
  59. package/dist/components/form/Webhook/index.js +5 -5
  60. package/dist/components/lightbox/index.js +2 -2
  61. package/dist/components/upload/index.js +7 -7
  62. package/dist/types/icon.d.ts +1 -0
  63. package/dist/types/icon.js +1 -1
  64. package/package.json +2 -1
  65. package/dist/chunk-5OEO64FI.js +0 -11
  66. package/dist/chunk-CPYSURDN.js +0 -9
@@ -1,3 +1,3 @@
1
- var _=(E=>(E.AI_08_SOLID_ROUND="AI_08_SOLID_ROUND",E.WALLET_03_SOLID_ROUNDED="WALLET_03_SOLID_ROUNDED",E.CHECK_CIRCLE="CHECK_CIRCLE",E.USER_MULTIPLY="USER_MULTIPLY",E.LIST_BULLET_LEFT_TO_RIGHT="LIST_BULLET_LEFT_TO_RIGHT",E.USER_QUESTION_MARK="USER_QUESTION_MARK",E.HOME_START="HOME_START",E.SORTING_ASC="SORTING_ASC",E.SORTING_DESC="SORTING_DESC",E.REPEATE_ONE_02="REPEATE_ONE_02",E.SORTING_1_9="SORTING_1_9",E.SORTING_9_1="SORTING_9_1",E.BLOCKCHAIN="BLOCKCHAIN",E.CHART_LINE="CHART_LINE",E.COLUMN_CHART="COLUMN_CHART",E.ARROW_LEFT_RIGHT="ARROW_LEFT_RIGHT",E.ARROW_MOVE_DOWN_RIGHT="ARROW_MOVE_DOWN_RIGHT",E.MINUS_CIRCLE="MINUS_CIRCLE",E.SUBNODE_ADD="SUBNODE_ADD",E.CLEAN="CLEAN",E.BANK="BANK",E.ADD_CIRCLE="ADD_CIRCLE",E.EDIT_FILE="EDIT_FILE",E.DIRECTIONS="DIRECTIONS",E.DOLLAR_MONEY_CIPHER="DOLLAR_MONEY_CIPHER",E.CIRCLE_ARROW_UP_RIGHT="CIRCLE_ARROW_UP_RIGHT",E.CIRCLE_ARROW_DOWN_LEFT="CIRCLE_ARROW_DOWN_LEFT",E.MONEY_BAG_02="MONEY_BAG_02",E.MONEY_SECURITY="MONEY_SECURITY",E.DOLLAR_RECEIVE_01="DOLLAR_RECEIVE_01",E.PAYMENT_01="PAYMENT_01",E.TAXES="TAXES",E.CART_SHOPPING="CART_SHOPPING",E.SHOPPING_CART_ADD="SHOPPING_CART_ADD",E.SHOPPING_CART_CHECK_IN="SHOPPING_CART_CHECK_IN",E.SIMPLE_CHECK="SIMPLE_CHECK",E.REVERSE_WITHDRAWAL_01="REVERSE_WITHDRAWAL_01",E.ACCOUNT_SETTING_03="ACCOUNT_SETTING_03",E.SIMPLE_ADD="SIMPLE_ADD",E.CHECK_MARK_BADGE="CHECK_MARK_BADGE",E.SAVE_MARK="SAVE_MARK",E.SETTINGS="SETTINGS",E.PENCIL_EDIT="PENCIL_EDIT",E.DELETE_MARK_BUTTON_02="DELETE_MARK_BUTTON_02",E.SHARE_BUTTON_MARK="SHARE_BUTTON_MARK",E.CHEVRON_LEFT="CHEVRON_LEFT",E.CHEVRON_RIGHT="CHEVRON_RIGHT",E.SQUARE_FILL="SQUARE_FILL",E.CLOSE_MARK_BUTTON="CLOSE_MARK_BUTTON",E.ARROW_DOWN_CICLE="ARROW_DOWN_CICLE",E.HELP_CIRCLE="HELP_CIRCLE",E.VIEW_OFF="VIEW_OFF",E.VIEW_ON="VIEW_ON",E.INTERNET="INTERNET",E.DELETE_BUTTON_MARK="DELETE_BUTTON_MARK",E.SEARCH_IMAGE="SEARCH_IMAGE",E.MINUS_SIGN="MINUS_SIGN",E.WARNING_TRIANGULE="WARNING_TRIANGULE",E.WARNING_TRIANGLE="WARNING_TRIANGLE",E.WARNING_TRIANGLE_SOLID="WARNING_TRIANGLE_SOLID",E.SEARCH_MAGNIFYING_GLASS="SEARCH_MAGNIFYING_GLASS",E.ADD_IMAGE="ADD_IMAGE",E.CLOUD_UPLOAD="CLOUD_UPLOAD",E.CLOUD_EXPORT="CLOUD_EXPORT",E.INFO="INFO",E.INFO_CIRCLE="INFO_CIRCLE",E.COPY_CONTENT="COPY_CONTENT",E.MESSAGE_QUESTION="MESSAGE_QUESTION",E.COMPUTER_PROGRAMMING_02="COMPUTER_PROGRAMMING_02",E.ALERT_CIRCLE="ALERT_CIRCLE",E.WALLET="WALLET",E.WALLET_02="WALLET_02",E.WALLET_03="WALLET_03",E.TASK_ADD_01="TASK_ADD_01",E.PACKAGE="PACKAGE",E.PAINT_BOARD="PAINT_BOARD",E.CREATIVE_MARKET="CREATIVE_MARKET",E.RULER="RULER",E.ARROW_DOWN_SIMPLE="ARROW_DOWN_SIMPLE",E.ARROW_UP_SIMPLE="ARROW_UP_SIMPLE",E.ARROW_RIGHT_SIMPLE="ARROW_RIGHT_SIMPLE",E.ARROW_LEFT_SIMPLE="ARROW_LEFT_SIMPLE",E.DRAG_DROP_VERTICAL="DRAG_DROP_VERTICAL",E.COMPUTER="COMPUTER",E.SMART_PHONE_01="SMART_PHONE_01",E.PLAY_SIMPLE="PLAY_SIMPLE",E.CHEVRON_UP="CHEVRON_UP",E.TEXT_FIELDS_SMALL_CAPS="TEXT_FIELDS_SMALL_CAPS",E.LICENSE_ARTICLE="LICENSE_ARTICLE",E.CALENDAR_MINUS_02="CALENDAR_MINUS_02",E.LAYOUT_TABLE_02="LAYOUT_TABLE_02",E.PERCENT_CIRCLE="PERCENT_CIRCLE",E.PERCENT="PERCENT",E.CAROUSEL_HORIZONTAL="CAROUSEL_HORIZONTAL",E.BUBBLE_CHAT_QUESTION="BUBBLE_CHAT_QUESTION",E.BUBBLE_CHAT_USER="BUBBLE_CHAT_USER",E.USER_LIST="USER_LIST",E.USER_GROUP="USER_GROUP",E.USER_ACCOUNT="USER_ACCOUNT",E.HOME_START_04="HOME_START_04",E.MENU_01="MENU_01",E.MENU_07="MENU_07",E.CALENDAR_TODAY="CALENDAR_TODAY",E.SELECT_HOUR_CLOCK="SELECT_HOUR_CLOCK",E.COUNTER_CLOCK="COUNTER_CLOCK",E.SQUARE_LOCK_01="SQUARE_LOCK_01",E.TOGGLE_OFF="TOGGLE_OFF",E.TOGGLE_ON="TOGGLE_ON",E.TEXT_NUMBER_SIGN="TEXT_NUMBER_SIGN",E.INTERVAL_DATE="INTERVAL_DATE",E.LOCATION_SIMPLE_01="LOCATION_SIMPLE_01",E.USER_REQUEST_ACCESS="USER_REQUEST_ACCESS",E.FILTER_HORIZONTAL="FILTER_HORIZONTAL",E.EARTH_PUBLIC="EARTH_PUBLIC",E.FILTER_SIMPLE="FILTER_SIMPLE",E.CALCULATE_SIGNS="CALCULATE_SIGNS",E.LINK_HORIZONTAL="LINK_HORIZONTAL",E.ARROW_UP_DOWN="ARROW_UP_DOWN",E.ARROW_UP_02="ARROW_UP_02",E.PRINTER="PRINTER",E.DASHBOARD_WEB_01="DASHBOARD_WEB_01",E.CURSOR_IN_WINDOW="CURSOR_IN_WINDOW",E.FILTER_VERTICAL="FILTER_VERTICAL",E.WHATSAPP="WHATSAPP",E.MORE_OPTIONS_VERTICAL="MORE_OPTIONS_VERTICAL",E.MORE_03="MORE_03",E.FOLDER_01="FOLDER_01",E.ARROW_DOWN_02="ARROW_DOWN_02",E.DATABASE_SYMBOL="DATABASE_SYMBOL",E.RELOAD_REFRESH="RELOAD_REFRESH",E.LAYOUT_05="LAYOUT_05",E.LAYOUT_07="LAYOUT_07",E.DOWNLOAD_EXPORT_04="DOWNLOAD_EXPORT_04",E.REFRESH_CHANGE="REFRESH_CHANGE",E.PROFILE="PROFILE",E.HAND_BAG_BRIEFCASE="HAND_BAG_BRIEFCASE",E.SHOPPING_BASKET_ADD="SHOPPING_BASKET_ADD",E.SHOPPING_BASKET_03="SHOPPING_BASKET_03",E.SHARE_ANOTHER_MEANS="SHARE_ANOTHER_MEANS",E.CREDIT_CARD_INCLINED="CREDIT_CARD_INCLINED",E.OFFICE="OFFICE",E.CREDIT_CARD="CREDIT_CARD",E.CORPORATE="CORPORATE",E.MAIL="MAIL",E.ADD_USER_02="ADD_USER_02",E.DOLLAR_CIRCLE="DOLLAR_CIRCLE",E.CANCEL_CIRCLE="CANCEL_CIRCLE",E.CANCEL_CIRCLE_HALF_DOT="CANCEL_CIRCLE_HALF_DOT",E.SALE_TAG_02="SALE_TAG_02",E.SHOPPING_CART_REMOVE="SHOPPING_CART_REMOVE",E.ARROW_BACK="ARROW_BACK",E.MAIL_SEND_01="MAIL_SEND_01",E.DATABASE="DATABASE",E.TEXT_UNDERLINE="TEXT_UNDERLINE",E.ARROW_RELOAD_HORIZONTAL="ARROW_RELOAD_HORIZONTAL",E.DATABASE_SYNC="DATABASE_SYNC",E.EXPAND_FULL_SCREEN="EXPAND_FULL_SCREEN",E.PLAY_EXECUTE="PLAY_EXECUTE",E.SUMMATION="SUMMATION",E.TEXT_FORMAT="TEXT_FORMAT",E.LAYERS="LAYERS",E.SQL="SQL",E.LOGOUT_02="LOGOUT_02",E.AI_INNOVATION_02="AI_INNOVATION_02",E.SHOPPING_CART_02="SHOPPING_CART_02",E.XML_FILE_01="XML_FILE_01",E.INVOICE_01="INVOICE_01",E.INVOICE_02="INVOICE_02",E.INVOICE="INVOICE",E.USER="USER",E.USER_REMOVE_01="USER_REMOVE_01",E.TRUCK_DELIVERY="TRUCK_DELIVERY",E.OPEN_IN_NEW_TAB="OPEN_IN_NEW_TAB",E.NUMBER_ONE_OUTLINE="NUMBER_ONE_OUTLINE",E.DECIMAL_INCREASE="DECIMAL_INCREASE",E.FILE="FILE",E.DATE_TIME="DATE_TIME",E.TEXT="TEXT",E.TEXT_CREATION="TEXT_CREATION",E.RADIO_BUTTON_CHECKED="RADIO_BUTTON_CHECKED",E.CHECK_BOX="CHECK_BOX",E.DECIMAL="DECIMAL",E.CALENDAR_CLOCK="CALENDAR_CLOCK",E.INTEGER_NUMBER="INTEGER_NUMBER",E.LOW_PRIORITY="LOW_PRIORITY",E.FILTER_LIST="FILTER_LIST",E.CURRENCY_EXCHANGE="CURRENCY_EXCHANGE",E.CURRENCY_EXCHANGE_03="CURRENCY_EXCHANGE_03",E.ACCOUNT_BOX="ACCOUNT_BOX",E.FOLDER_OPEN="FOLDER_OPEN",E.HOURS_FILL="HOURS_FILL",E.FORM_SELECT="FORM_SELECT",E.ARROW_GO_BACK="ARROW_GO_BACK",E.ARROW_GO_FORWARD="ARROW_GO_FORWARD",E.VIEW_COLUMN="VIEW_COLUMN",E.BAR="BAR",E.COMPARE_ARROWS="COMPARE_ARROWS",E.DOT="DOT",E.HTML="HTML",E.DROPDOWN="DROPDOWN",E.ZOOM_IN="ZOOM_IN",E.ZOOM_OUT="ZOOM_OUT",E.PAUSE="PAUSE",E.MAXIMIZE_SCREEN="MAXIMIZE_SCREEN",E.MINIMIZE_SCREEN="MINIMIZE_SCREEN",E.JSON="JSON",E.SOURCE_CODE="SOURCE_CODE",E.BOX="BOX",E.GOOGLE="GOOGLE",E.DATABASE_BACKUP="DATABASE_BACKUP",E.PROPERTY_DELETE="PROPERTY_DELETE",E.DELIVERY_BOX="DELIVERY_BOX",E.DELIVERY_RETURN_01="DELIVERY_RETURN_01",E.DOCUMENT_CODE="DOCUMENT_CODE",E.ANALYTICS_UP="ANALYTICS_UP",E.ARROW_TURN_BACKWARD="ARROW_TURN_BACKWARD",E.ARROW_TURN_FORWARD="ARROW_TURN_FORWARD",E.COLUMN_INSERT="COLUMN_INSERT",E.INSERT_ROW="INSERT_ROW",E.USER_SWITCH="USER_SWITCH",E.ARTIFICIAL_INTELLIGENCE_04="ARTIFICIAL_INTELLIGENCE_04",E.ARTIFICIAL_INTELLIGENCE_08="ARTIFICIAL_INTELLIGENCE_08",E.FLOW="FLOW",E.FLOW_SQUARE="FLOW_SQUARE",E.FLOW_CHART_02="FLOW_CHART_02",E.HOT_PRICE="HOT_PRICE",E.TROLLEY="TROLLEY",E.STAR="STAR",E.STAR_02="STAR_02",E.BAR_CODE="BAR_CODE",E.PIX="PIX",E.TRADE_UP="TRADE_UP",E.TRADE_DOWN="TRADE_DOWN",E.HOURGLASS="HOURGLASS",E.USER_SQUARE="USER_SQUARE",E.ALIGN_BOX_MIDDLE_CENTER="ALIGN_BOX_MIDDLE_CENTER",E.ALIGN_BOX_MIDDLE_LEFT="ALIGN_BOX_MIDDLE_LEFT",E.WHATSAPP_ICON="WHATSAPP_ICON",E.PDF_ICON="PDF_ICON",E.FACTORY_02="FACTORY_02",E.DISTRIBUTION="DISTRIBUTION",E.MORE="MORE",E.BONE="BONE",E.BLENDER="BLENDER",E.VEGETARIAN_FOOD="VEGETARIAN_FOOD",E.AUTOMOTIVE_BATTERY_01="AUTOMOTIVE_BATTERY_01",E.LAPTOP="LAPTOP",E.NECKLACE="NECKLACE",E.VYNIL_02="VYNIL_02",E.GAMEBOY="GAMEBOY",E.BLUSH_BRUSH_01="BLUSH_BRUSH_01",E.RUNNING_SHOES="RUNNING_SHOES",E.WRENCH_01="WRENCH_01",E.BABY_BOY_DRESS="BABY_BOY_DRESS",E.MEDICINE_02="MEDICINE_02",E.CRANE="CRANE",E.WARDROBE_04="WARDROBE_04",E.PERFUME="PERFUME",E.LAMP_04="LAMP_04",E.STATIONERY="STATIONERY",E.SLIDERS_HORIZONTAL="SLIDERS_HORIZONTAL",E.SHIPPING_LOADING="SHIPPING_LOADING",E.LOCATION_05="LOCATION_05",E.ARROW_HORIZONTAL="ARROW_HORIZONTAL",E.ARROW_RIGHT="ARROW_RIGHT",E.DISCOUNT_TAG_01="DISCOUNT_TAG_01",E.CIRCLE="CIRCLE",E.PREFERENCE_HORIZONTAL="PREFERENCE_HORIZONTAL",E.FAVOURITE="FAVOURITE",E.TICKET_BAR_CODE="TICKET_BAR_CODE",E.FAVOURITE_ROUNDED="FAVOURITE_ROUNDED",E.BANNER="BANNER",E.MINI_BANNER="MINI_BANNER",E.PRODUCTS="PRODUCTS",E.ORDERS="ORDERS",E.CARDS="CARDS",E.PASSPORT_EXPIRED="PASSPORT_EXPIRED",E.PASSPORT_VALID="PASSPORT_VALID",E.FILE_02="FILE_02",E.SEND_FILE="SEND_FILE",E.CHECKED_FILE="CHECKED_FILE",E.ADD_FILE="ADD_FILE",E.SHARE_FILE="SHARE_FILE",E.ANNEXED_FILE="ANNEXED_FILE",E.SEARCH_FILE="SEARCH_FILE",E.BUILDING="BUILDING",E.AI_07="AI_07",E.AI_05="AI_05",E.ATTACHMENT="ATTACHMENT",E.FILE_PDF="FILE_PDF",E.FILE_XML="FILE_XML",E.NOTIFICATION="NOTIFICATION",E.DISCOUNT_01="DISCOUNT_01",E.MORE_BOLD="MORE_BOLD",E.MORE_GRID="MORE_GRID",E.QR_CODE="QR_CODE",E.MAGIC_AI="MAGIC_AI",E.CHATTING="CHATTING",E.SEARCH_VISUAL="SEARCH_VISUAL",E.GOOGLE_SHEET="GOOGLE_SHEET",E.SENT="SENT",E.DASHBOARD_SQUARE_02="DASHBOARD_SQUARE_02",E.DASHBOARD_SQUARE_ADD="DASHBOARD_SQUARE_ADD",E.PLUG_SOCKET="PLUG_SOCKET",E.PUZZLE_STROKE_ROUNDED_01="PUZZLE_STROKE_ROUNDED_01",E.COMPUTER_SETTINGS_STROKE_ROUNDED_O1="COMPUTER_SETTINGS_STROKE_ROUNDED_O1",E.CHART_RELATIONSHIP_STROKE_ROUNDED_01="CHART_RELATIONSHIP_STROKE_ROUNDED_01",E.FLASH_ROUNDED="FLASH_ROUNDED",E.FLASH_STROKE_ROUNDED="FLASH_STROKE_ROUNDED",E.MENTORING="MENTORING",E.PROMOTION="PROMOTION",E.MESSAGE_MULTIPLE="MESSAGE_MULTIPLE",E.ARROW_SHRINK="ARROW_SHRINK",E.DASHBOARD_SQUARE_01="DASHBOARD_SQUARE_01",E.GRID_VIEW="GRID_VIEW",E.CREDIT_CARD_ADD="CREDIT_CARD_ADD",E.TABLE="TABLE",E.PACKAGE_ADD="PACKAGE_ADD",E.PLAY_CIRCLE="PLAY_CIRCLE",E.MIC_01="MIC_01",E.COINS_DOLLAR="COINS_DOLLAR",E.STORE_02="STORE_02",E.STORE_REMOVE_02="STORE_REMOVE_02",E.HEADSET="HEADSET",E.MANAGER="MANAGER",E.COMPUTER_DOLLAR="COMPUTER_DOLLAR",E.DISCORD="DISCORD",E.YOUTUBE="YOUTUBE",E.CODE_FOLDER="CODE_FOLDER",E.TOUCH_INTERACTION="TOUCH_INTERACTION",E.WEBHOOK="WEBHOOK",E.MAIL_AT_SIGN="MAIL_AT_SIGN",E.TIME_SETTING="TIME_SETTING",E.SECURITY_LOCK="SECURITY_LOCK",E.FLAG_02="FLAG_02",E.DASHBOARD_CIRCLE_SETTINGS="DASHBOARD_CIRCLE_SETTINGS",E.IDEA="IDEA",E.ARROW_DOWN_LEFT_01="ARROW_DOWN_LEFT_01",E.ARROW_DOWN_RIGHT_01="ARROW_DOWN_RIGHT_01",E.ARROW_UP_RIGHT_01="ARROW_UP_RIGHT_01",E.MONEY_03="MONEY_03",E.CVC="CVC",E.PACKAGE_MOVING="PACKAGE_MOVING",E.INSERT_CENTER_IMAGE="INSERT_CENTER_IMAGE",E.FILTER_MAIL_SQUARE="FILTER_MAIL_SQUARE",E.LAYOUT_04="LAYOUT_04",E.LIST_SETTING="LIST_SETTING",E.SEARCHING="SEARCHING",E.SORTING_03="SORTING_03",E.NOTE_01="NOTE_01",E.NOTE_ADD="NOTE_ADD",E.FILE_STAR="FILE_STAR",E.INVOICE_03="INVOICE_03",E.DRAG_AND_DROP="DRAG_AND_DROP",E.FACEBOOK_02="FACEBOOK_02",E.INSTAGRAM="INSTAGRAM",E.TIKTOK="TIKTOK",E.TELEPHONE="TELEPHONE",E.SIDEBAR_LEFT="SIDEBAR_LEFT",E.SIMPLE_LIST="SIMPLE_LIST",E.COLUMNS="COLUMNS",E.CUSTOMIZE="CUSTOMIZE",E.HORIZONTAL_LIST_ICON="HORIZONTAL_LIST_ICON",E.HORIZONTAL_LINES_ICON="HORIZONTAL_LINES_ICON",E.DOUBLE_CHAT_BUBBLE="DOUBLE_CHAT_BUBBLE",E.FILTER_PERSONALIZATION="FILTER_PERSONALIZATION",E.ZAP_ICON="ZAP_ICON",E.SAVE_DISK="SAVE_DISK",E.AI_SCREEN="AI_SCREEN",E.AI_IDEA="AI_IDEA",E.REVERSE="REVERSE",E.INBOX_DOWNLOAD="INBOX_DOWNLOAD",E.CHECKMARK_CIRCLE="CHECKMARK_CIRCLE",E.CHECKMARK_CIRCLE_ROUNDED="CHECKMARK_CIRCLE_ROUNDED",E.THUMBS_DOWN="THUMBS_DOWN",E.THUMBS_UP="THUMBS_UP",E.THUMBS_DOWN_ROUNDED="THUMBS_DOWN_ROUNDED",E.THUMBS_UP_ROUNDED="THUMBS_UP_ROUNDED",E.MAIL_AT_SIGN_01="MAIL_AT_SIGN_01",E.LOCK_PASSWORD="LOCK_PASSWORD",E.ACCESS="ACCESS",E.CHART="CHART",E.UNFOLD_MORE="UNFOLD_MORE",E.PLAY_SOLID="PLAY_SOLID",E.PAUSE_SOLID="PAUSE_SOLID",E.PERSON_CHAT_BUBBLE="PERSON_CHAT_BUBBLE",E.AI_CHAT_BUBBLE="AI_CHAT_BUBBLE",E.USER_CIRCLE_02="USER_CIRCLE_02",E.TASK_01="TASK_01",E.ADD_TO_LIST="ADD_TO_LIST",E.USER_GRANT_ACCESS="USER_GRANT_ACCESS",E.USER_DENIED_ACCESS="USER_DENIED_ACCESS",E.HEXAGON_WARNING="HEXAGON_WARNING",E.ZOE_AI="ZOE_AI",E.ZYDON_PAY="ZYDON_PAY",E.ROCKET="ROCKET",E.PRODUCT_BOX="PRODUCT_BOX",E.KEY_ACCESS="KEY_ACCESS",E.ORDENATING="ORDENATING",E.PRODUCT_SEARCH_BOX="PRODUCT_SEARCH_BOX",E.LIST_SQUARE="LIST_SQUARE",E.SIZE_BOX="SIZE_BOX",E.OPENED_BOX="OPENED_BOX",E.MEDIA_VIDEO_FILES="MEDIA_VIDEO_FILES",E.MEDIA_IMAGE_FILES="MEDIA_IMAGE_FILES",E.MEDIA_PDF_FILES="MEDIA_PDF_FILES",E.MEDIA_SHEET_FILES="MEDIA_SHEET_FILES",E.MEDIA_PPSX_FILES="MEDIA_PPSX_FILES",E.MEDIA_DOC_FILES="MEDIA_DOC_FILES",E.MEDIA_AUDIO_FILES="MEDIA_AUDIO_FILES",E.MEDIA_ZIP_FILES="MEDIA_ZIP_FILES",E.MEDIA_TXT_FILES="MEDIA_TXT_FILES",E.MEDIA_GENERIC_FILES="MEDIA_GENERIC_FILES",E.IC_AI="IC_AI",E.IC_AUDIO="IC_AUDIO",E.IC_DOCUMENT="IC_DOCUMENT",E.IC_EXCEL="IC_EXCEL",E.IC_FILE="IC_FILE",E.IC_FOLDER="IC_FOLDER",E.IC_IMG="IC_IMG",E.IC_JS="IC_JS",E.IC_PDF="IC_PDF",E.IC_POWER_POINT="IC_POWER_POINT",E.IC_PTS="IC_PTS",E.IC_TXT="IC_TXT",E.IC_VIDEO="IC_VIDEO",E.IC_WORD="IC_WORD",E.IC_ZIP="IC_ZIP",E))(_||{});
1
+ var _=(E=>(E.AI_08_SOLID_ROUND="AI_08_SOLID_ROUND",E.WALLET_03_SOLID_ROUNDED="WALLET_03_SOLID_ROUNDED",E.CHECK_CIRCLE="CHECK_CIRCLE",E.USER_MULTIPLY="USER_MULTIPLY",E.LIST_BULLET_LEFT_TO_RIGHT="LIST_BULLET_LEFT_TO_RIGHT",E.USER_QUESTION_MARK="USER_QUESTION_MARK",E.HOME_START="HOME_START",E.SORTING_ASC="SORTING_ASC",E.SORTING_DESC="SORTING_DESC",E.REPEATE_ONE_02="REPEATE_ONE_02",E.SORTING_1_9="SORTING_1_9",E.SORTING_9_1="SORTING_9_1",E.BLOCKCHAIN="BLOCKCHAIN",E.CHART_LINE="CHART_LINE",E.COLUMN_CHART="COLUMN_CHART",E.ARROW_LEFT_RIGHT="ARROW_LEFT_RIGHT",E.ARROW_MOVE_DOWN_RIGHT="ARROW_MOVE_DOWN_RIGHT",E.MINUS_CIRCLE="MINUS_CIRCLE",E.SUBNODE_ADD="SUBNODE_ADD",E.CLEAN="CLEAN",E.BANK="BANK",E.ADD_CIRCLE="ADD_CIRCLE",E.EDIT_FILE="EDIT_FILE",E.DIRECTIONS="DIRECTIONS",E.DOLLAR_MONEY_CIPHER="DOLLAR_MONEY_CIPHER",E.CIRCLE_ARROW_UP_RIGHT="CIRCLE_ARROW_UP_RIGHT",E.CIRCLE_ARROW_DOWN_LEFT="CIRCLE_ARROW_DOWN_LEFT",E.MONEY_BAG_02="MONEY_BAG_02",E.MONEY_SECURITY="MONEY_SECURITY",E.DOLLAR_RECEIVE_01="DOLLAR_RECEIVE_01",E.PAYMENT_01="PAYMENT_01",E.TAXES="TAXES",E.CART_SHOPPING="CART_SHOPPING",E.SHOPPING_CART_ADD="SHOPPING_CART_ADD",E.SHOPPING_CART_CHECK_IN="SHOPPING_CART_CHECK_IN",E.SIMPLE_CHECK="SIMPLE_CHECK",E.REVERSE_WITHDRAWAL_01="REVERSE_WITHDRAWAL_01",E.ACCOUNT_SETTING_03="ACCOUNT_SETTING_03",E.SIMPLE_ADD="SIMPLE_ADD",E.CHECK_MARK_BADGE="CHECK_MARK_BADGE",E.SAVE_MARK="SAVE_MARK",E.SETTINGS="SETTINGS",E.PENCIL_EDIT="PENCIL_EDIT",E.DELETE_MARK_BUTTON_02="DELETE_MARK_BUTTON_02",E.SHARE_BUTTON_MARK="SHARE_BUTTON_MARK",E.CHEVRON_LEFT="CHEVRON_LEFT",E.CHEVRON_RIGHT="CHEVRON_RIGHT",E.SQUARE_FILL="SQUARE_FILL",E.CLOSE_MARK_BUTTON="CLOSE_MARK_BUTTON",E.ARROW_DOWN_CICLE="ARROW_DOWN_CICLE",E.HELP_CIRCLE="HELP_CIRCLE",E.VIEW_OFF="VIEW_OFF",E.VIEW_ON="VIEW_ON",E.INTERNET="INTERNET",E.DELETE_BUTTON_MARK="DELETE_BUTTON_MARK",E.SEARCH_IMAGE="SEARCH_IMAGE",E.MINUS_SIGN="MINUS_SIGN",E.WARNING_TRIANGULE="WARNING_TRIANGULE",E.WARNING_TRIANGLE="WARNING_TRIANGLE",E.WARNING_TRIANGLE_SOLID="WARNING_TRIANGLE_SOLID",E.SEARCH_MAGNIFYING_GLASS="SEARCH_MAGNIFYING_GLASS",E.ADD_IMAGE="ADD_IMAGE",E.CLOUD_UPLOAD="CLOUD_UPLOAD",E.CLOUD_EXPORT="CLOUD_EXPORT",E.INFO="INFO",E.INFO_CIRCLE="INFO_CIRCLE",E.COPY_CONTENT="COPY_CONTENT",E.MESSAGE_QUESTION="MESSAGE_QUESTION",E.COMPUTER_PROGRAMMING_02="COMPUTER_PROGRAMMING_02",E.ALERT_CIRCLE="ALERT_CIRCLE",E.WALLET="WALLET",E.WALLET_02="WALLET_02",E.WALLET_03="WALLET_03",E.TASK_ADD_01="TASK_ADD_01",E.PACKAGE="PACKAGE",E.PAINT_BOARD="PAINT_BOARD",E.CREATIVE_MARKET="CREATIVE_MARKET",E.RULER="RULER",E.ARROW_DOWN_SIMPLE="ARROW_DOWN_SIMPLE",E.ARROW_UP_SIMPLE="ARROW_UP_SIMPLE",E.ARROW_RIGHT_SIMPLE="ARROW_RIGHT_SIMPLE",E.ARROW_LEFT_SIMPLE="ARROW_LEFT_SIMPLE",E.DRAG_DROP_VERTICAL="DRAG_DROP_VERTICAL",E.COMPUTER="COMPUTER",E.SMART_PHONE_01="SMART_PHONE_01",E.PLAY_SIMPLE="PLAY_SIMPLE",E.CHEVRON_UP="CHEVRON_UP",E.TEXT_FIELDS_SMALL_CAPS="TEXT_FIELDS_SMALL_CAPS",E.LICENSE_ARTICLE="LICENSE_ARTICLE",E.CALENDAR_MINUS_02="CALENDAR_MINUS_02",E.LAYOUT_TABLE_02="LAYOUT_TABLE_02",E.PERCENT_CIRCLE="PERCENT_CIRCLE",E.PERCENT="PERCENT",E.CAROUSEL_HORIZONTAL="CAROUSEL_HORIZONTAL",E.BUBBLE_CHAT_QUESTION="BUBBLE_CHAT_QUESTION",E.BUBBLE_CHAT_USER="BUBBLE_CHAT_USER",E.USER_LIST="USER_LIST",E.USER_GROUP="USER_GROUP",E.USER_ACCOUNT="USER_ACCOUNT",E.HOME_START_04="HOME_START_04",E.MENU_01="MENU_01",E.MENU_07="MENU_07",E.CALENDAR_TODAY="CALENDAR_TODAY",E.SELECT_HOUR_CLOCK="SELECT_HOUR_CLOCK",E.COUNTER_CLOCK="COUNTER_CLOCK",E.SQUARE_LOCK_01="SQUARE_LOCK_01",E.TOGGLE_OFF="TOGGLE_OFF",E.TOGGLE_ON="TOGGLE_ON",E.TEXT_NUMBER_SIGN="TEXT_NUMBER_SIGN",E.INTERVAL_DATE="INTERVAL_DATE",E.LOCATION_SIMPLE_01="LOCATION_SIMPLE_01",E.USER_REQUEST_ACCESS="USER_REQUEST_ACCESS",E.FILTER_HORIZONTAL="FILTER_HORIZONTAL",E.EARTH_PUBLIC="EARTH_PUBLIC",E.FILTER_SIMPLE="FILTER_SIMPLE",E.CALCULATE_SIGNS="CALCULATE_SIGNS",E.LINK_HORIZONTAL="LINK_HORIZONTAL",E.ARROW_UP_DOWN="ARROW_UP_DOWN",E.ARROW_UP_02="ARROW_UP_02",E.PRINTER="PRINTER",E.DASHBOARD_WEB_01="DASHBOARD_WEB_01",E.CURSOR_IN_WINDOW="CURSOR_IN_WINDOW",E.FILTER_VERTICAL="FILTER_VERTICAL",E.WHATSAPP="WHATSAPP",E.MORE_OPTIONS_VERTICAL="MORE_OPTIONS_VERTICAL",E.MORE_03="MORE_03",E.FOLDER_01="FOLDER_01",E.ARROW_DOWN_02="ARROW_DOWN_02",E.DATABASE_SYMBOL="DATABASE_SYMBOL",E.RELOAD_REFRESH="RELOAD_REFRESH",E.LAYOUT_05="LAYOUT_05",E.LAYOUT_07="LAYOUT_07",E.DOWNLOAD_EXPORT_04="DOWNLOAD_EXPORT_04",E.REFRESH_CHANGE="REFRESH_CHANGE",E.PROFILE="PROFILE",E.HAND_BAG_BRIEFCASE="HAND_BAG_BRIEFCASE",E.SHOPPING_BASKET_ADD="SHOPPING_BASKET_ADD",E.SHOPPING_BASKET_03="SHOPPING_BASKET_03",E.SHARE_ANOTHER_MEANS="SHARE_ANOTHER_MEANS",E.CREDIT_CARD_INCLINED="CREDIT_CARD_INCLINED",E.OFFICE="OFFICE",E.CREDIT_CARD="CREDIT_CARD",E.CORPORATE="CORPORATE",E.MAIL="MAIL",E.ADD_USER_02="ADD_USER_02",E.DOLLAR_CIRCLE="DOLLAR_CIRCLE",E.CANCEL_CIRCLE="CANCEL_CIRCLE",E.CANCEL_CIRCLE_HALF_DOT="CANCEL_CIRCLE_HALF_DOT",E.SALE_TAG_02="SALE_TAG_02",E.SHOPPING_CART_REMOVE="SHOPPING_CART_REMOVE",E.ARROW_BACK="ARROW_BACK",E.MAIL_SEND_01="MAIL_SEND_01",E.DATABASE="DATABASE",E.TEXT_UNDERLINE="TEXT_UNDERLINE",E.ARROW_RELOAD_HORIZONTAL="ARROW_RELOAD_HORIZONTAL",E.DATABASE_SYNC="DATABASE_SYNC",E.EXPAND_FULL_SCREEN="EXPAND_FULL_SCREEN",E.PLAY_EXECUTE="PLAY_EXECUTE",E.SUMMATION="SUMMATION",E.TEXT_FORMAT="TEXT_FORMAT",E.LAYERS="LAYERS",E.SQL="SQL",E.LOGOUT_02="LOGOUT_02",E.AI_INNOVATION_02="AI_INNOVATION_02",E.SHOPPING_CART_02="SHOPPING_CART_02",E.XML_FILE_01="XML_FILE_01",E.INVOICE_01="INVOICE_01",E.INVOICE_02="INVOICE_02",E.INVOICE="INVOICE",E.USER="USER",E.USER_REMOVE_01="USER_REMOVE_01",E.TRUCK_DELIVERY="TRUCK_DELIVERY",E.OPEN_IN_NEW_TAB="OPEN_IN_NEW_TAB",E.NUMBER_ONE_OUTLINE="NUMBER_ONE_OUTLINE",E.DECIMAL_INCREASE="DECIMAL_INCREASE",E.FILE="FILE",E.DATE_TIME="DATE_TIME",E.TEXT="TEXT",E.TEXT_CREATION="TEXT_CREATION",E.RADIO_BUTTON_CHECKED="RADIO_BUTTON_CHECKED",E.CHECK_BOX="CHECK_BOX",E.DECIMAL="DECIMAL",E.CALENDAR_CLOCK="CALENDAR_CLOCK",E.INTEGER_NUMBER="INTEGER_NUMBER",E.LOW_PRIORITY="LOW_PRIORITY",E.FILTER_LIST="FILTER_LIST",E.CURRENCY_EXCHANGE="CURRENCY_EXCHANGE",E.CURRENCY_EXCHANGE_03="CURRENCY_EXCHANGE_03",E.ACCOUNT_BOX="ACCOUNT_BOX",E.FOLDER_OPEN="FOLDER_OPEN",E.HOURS_FILL="HOURS_FILL",E.FORM_SELECT="FORM_SELECT",E.ARROW_GO_BACK="ARROW_GO_BACK",E.ARROW_GO_FORWARD="ARROW_GO_FORWARD",E.VIEW_COLUMN="VIEW_COLUMN",E.BAR="BAR",E.COMPARE_ARROWS="COMPARE_ARROWS",E.DOT="DOT",E.HTML="HTML",E.DROPDOWN="DROPDOWN",E.ZOOM_IN="ZOOM_IN",E.ZOOM_OUT="ZOOM_OUT",E.PAUSE="PAUSE",E.MAXIMIZE_SCREEN="MAXIMIZE_SCREEN",E.MINIMIZE_SCREEN="MINIMIZE_SCREEN",E.JSON="JSON",E.SOURCE_CODE="SOURCE_CODE",E.BOX="BOX",E.GOOGLE="GOOGLE",E.DATABASE_BACKUP="DATABASE_BACKUP",E.PROPERTY_DELETE="PROPERTY_DELETE",E.DELIVERY_BOX="DELIVERY_BOX",E.DELIVERY_RETURN_01="DELIVERY_RETURN_01",E.DOCUMENT_CODE="DOCUMENT_CODE",E.ANALYTICS_UP="ANALYTICS_UP",E.ARROW_TURN_BACKWARD="ARROW_TURN_BACKWARD",E.ARROW_TURN_FORWARD="ARROW_TURN_FORWARD",E.COLUMN_INSERT="COLUMN_INSERT",E.INSERT_ROW="INSERT_ROW",E.USER_SWITCH="USER_SWITCH",E.ARTIFICIAL_INTELLIGENCE_04="ARTIFICIAL_INTELLIGENCE_04",E.ARTIFICIAL_INTELLIGENCE_08="ARTIFICIAL_INTELLIGENCE_08",E.FLOW="FLOW",E.FLOW_SQUARE="FLOW_SQUARE",E.FLOW_CHART_02="FLOW_CHART_02",E.HOT_PRICE="HOT_PRICE",E.TROLLEY="TROLLEY",E.STAR="STAR",E.STAR_02="STAR_02",E.BAR_CODE="BAR_CODE",E.PIX="PIX",E.TRADE_UP="TRADE_UP",E.TRADE_DOWN="TRADE_DOWN",E.HOURGLASS="HOURGLASS",E.USER_SQUARE="USER_SQUARE",E.ALIGN_BOX_MIDDLE_CENTER="ALIGN_BOX_MIDDLE_CENTER",E.ALIGN_BOX_MIDDLE_LEFT="ALIGN_BOX_MIDDLE_LEFT",E.WHATSAPP_ICON="WHATSAPP_ICON",E.PDF_ICON="PDF_ICON",E.FACTORY_02="FACTORY_02",E.DISTRIBUTION="DISTRIBUTION",E.MORE="MORE",E.BONE="BONE",E.BLENDER="BLENDER",E.VEGETARIAN_FOOD="VEGETARIAN_FOOD",E.AUTOMOTIVE_BATTERY_01="AUTOMOTIVE_BATTERY_01",E.LAPTOP="LAPTOP",E.NECKLACE="NECKLACE",E.VYNIL_02="VYNIL_02",E.GAMEBOY="GAMEBOY",E.BLUSH_BRUSH_01="BLUSH_BRUSH_01",E.RUNNING_SHOES="RUNNING_SHOES",E.WRENCH_01="WRENCH_01",E.BABY_BOY_DRESS="BABY_BOY_DRESS",E.MEDICINE_02="MEDICINE_02",E.CRANE="CRANE",E.WARDROBE_04="WARDROBE_04",E.PERFUME="PERFUME",E.LAMP_04="LAMP_04",E.STATIONERY="STATIONERY",E.SLIDERS_HORIZONTAL="SLIDERS_HORIZONTAL",E.SHIPPING_LOADING="SHIPPING_LOADING",E.LOCATION_05="LOCATION_05",E.ARROW_HORIZONTAL="ARROW_HORIZONTAL",E.ARROW_RIGHT="ARROW_RIGHT",E.DISCOUNT_TAG_01="DISCOUNT_TAG_01",E.CIRCLE="CIRCLE",E.PREFERENCE_HORIZONTAL="PREFERENCE_HORIZONTAL",E.FAVOURITE="FAVOURITE",E.TICKET_BAR_CODE="TICKET_BAR_CODE",E.FAVOURITE_ROUNDED="FAVOURITE_ROUNDED",E.BANNER="BANNER",E.MINI_BANNER="MINI_BANNER",E.PRODUCTS="PRODUCTS",E.ORDERS="ORDERS",E.CARDS="CARDS",E.PASSPORT_EXPIRED="PASSPORT_EXPIRED",E.PASSPORT_VALID="PASSPORT_VALID",E.FILE_02="FILE_02",E.SEND_FILE="SEND_FILE",E.CHECKED_FILE="CHECKED_FILE",E.ADD_FILE="ADD_FILE",E.SHARE_FILE="SHARE_FILE",E.ANNEXED_FILE="ANNEXED_FILE",E.SEARCH_FILE="SEARCH_FILE",E.BUILDING="BUILDING",E.AI_07="AI_07",E.AI_05="AI_05",E.ATTACHMENT="ATTACHMENT",E.FILE_PDF="FILE_PDF",E.FILE_XML="FILE_XML",E.NOTIFICATION="NOTIFICATION",E.DISCOUNT_01="DISCOUNT_01",E.MORE_BOLD="MORE_BOLD",E.MORE_GRID="MORE_GRID",E.QR_CODE="QR_CODE",E.MAGIC_AI="MAGIC_AI",E.CHATTING="CHATTING",E.SEARCH_VISUAL="SEARCH_VISUAL",E.GOOGLE_SHEET="GOOGLE_SHEET",E.SENT="SENT",E.DASHBOARD_SQUARE_02="DASHBOARD_SQUARE_02",E.DASHBOARD_SQUARE_ADD="DASHBOARD_SQUARE_ADD",E.PLUG_SOCKET="PLUG_SOCKET",E.PUZZLE_STROKE_ROUNDED_01="PUZZLE_STROKE_ROUNDED_01",E.COMPUTER_SETTINGS_STROKE_ROUNDED_O1="COMPUTER_SETTINGS_STROKE_ROUNDED_O1",E.CHART_RELATIONSHIP_STROKE_ROUNDED_01="CHART_RELATIONSHIP_STROKE_ROUNDED_01",E.FLASH_ROUNDED="FLASH_ROUNDED",E.FLASH_STROKE_ROUNDED="FLASH_STROKE_ROUNDED",E.MENTORING="MENTORING",E.PROMOTION="PROMOTION",E.MESSAGE_MULTIPLE="MESSAGE_MULTIPLE",E.ARROW_SHRINK="ARROW_SHRINK",E.DASHBOARD_SQUARE_01="DASHBOARD_SQUARE_01",E.GRID_VIEW="GRID_VIEW",E.CREDIT_CARD_ADD="CREDIT_CARD_ADD",E.TABLE="TABLE",E.PACKAGE_ADD="PACKAGE_ADD",E.PLAY_CIRCLE="PLAY_CIRCLE",E.MIC_01="MIC_01",E.COINS_DOLLAR="COINS_DOLLAR",E.STORE_02="STORE_02",E.STORE_REMOVE_02="STORE_REMOVE_02",E.HEADSET="HEADSET",E.MANAGER="MANAGER",E.COMPUTER_DOLLAR="COMPUTER_DOLLAR",E.DISCORD="DISCORD",E.YOUTUBE="YOUTUBE",E.CODE_FOLDER="CODE_FOLDER",E.TOUCH_INTERACTION="TOUCH_INTERACTION",E.WEBHOOK="WEBHOOK",E.MAIL_AT_SIGN="MAIL_AT_SIGN",E.TIME_SETTING="TIME_SETTING",E.SECURITY_LOCK="SECURITY_LOCK",E.FLAG_02="FLAG_02",E.DASHBOARD_CIRCLE_SETTINGS="DASHBOARD_CIRCLE_SETTINGS",E.IDEA="IDEA",E.ARROW_DOWN_LEFT_01="ARROW_DOWN_LEFT_01",E.ARROW_DOWN_RIGHT_01="ARROW_DOWN_RIGHT_01",E.ARROW_UP_RIGHT_01="ARROW_UP_RIGHT_01",E.MONEY_03="MONEY_03",E.CVC="CVC",E.PACKAGE_MOVING="PACKAGE_MOVING",E.INSERT_CENTER_IMAGE="INSERT_CENTER_IMAGE",E.FILTER_MAIL_SQUARE="FILTER_MAIL_SQUARE",E.LAYOUT_04="LAYOUT_04",E.LIST_SETTING="LIST_SETTING",E.SEARCHING="SEARCHING",E.SORTING_03="SORTING_03",E.NOTE_01="NOTE_01",E.NOTE_ADD="NOTE_ADD",E.FILE_STAR="FILE_STAR",E.INVOICE_03="INVOICE_03",E.DRAG_AND_DROP="DRAG_AND_DROP",E.FACEBOOK_02="FACEBOOK_02",E.INSTAGRAM="INSTAGRAM",E.TIKTOK="TIKTOK",E.TELEPHONE="TELEPHONE",E.SIDEBAR_LEFT="SIDEBAR_LEFT",E.SIMPLE_LIST="SIMPLE_LIST",E.COLUMNS="COLUMNS",E.CUSTOMIZE="CUSTOMIZE",E.HORIZONTAL_LIST_ICON="HORIZONTAL_LIST_ICON",E.HORIZONTAL_LINES_ICON="HORIZONTAL_LINES_ICON",E.DOUBLE_CHAT_BUBBLE="DOUBLE_CHAT_BUBBLE",E.FILTER_PERSONALIZATION="FILTER_PERSONALIZATION",E.ZAP_ICON="ZAP_ICON",E.SAVE_DISK="SAVE_DISK",E.AI_SCREEN="AI_SCREEN",E.AI_IDEA="AI_IDEA",E.REVERSE="REVERSE",E.INBOX_DOWNLOAD="INBOX_DOWNLOAD",E.CHECKMARK_CIRCLE="CHECKMARK_CIRCLE",E.CHECKMARK_CIRCLE_ROUNDED="CHECKMARK_CIRCLE_ROUNDED",E.THUMBS_DOWN="THUMBS_DOWN",E.THUMBS_UP="THUMBS_UP",E.THUMBS_DOWN_ROUNDED="THUMBS_DOWN_ROUNDED",E.THUMBS_UP_ROUNDED="THUMBS_UP_ROUNDED",E.MAIL_AT_SIGN_01="MAIL_AT_SIGN_01",E.LOCK_PASSWORD="LOCK_PASSWORD",E.ACCESS="ACCESS",E.CHART="CHART",E.UNFOLD_MORE="UNFOLD_MORE",E.PLAY_SOLID="PLAY_SOLID",E.PAUSE_SOLID="PAUSE_SOLID",E.PERSON_CHAT_BUBBLE="PERSON_CHAT_BUBBLE",E.AI_CHAT_BUBBLE="AI_CHAT_BUBBLE",E.USER_CIRCLE_02="USER_CIRCLE_02",E.TASK_01="TASK_01",E.ADD_TO_LIST="ADD_TO_LIST",E.USER_GRANT_ACCESS="USER_GRANT_ACCESS",E.USER_DENIED_ACCESS="USER_DENIED_ACCESS",E.HEXAGON_WARNING="HEXAGON_WARNING",E.ZOE_AI="ZOE_AI",E.ZYDON_PAY="ZYDON_PAY",E.ROCKET="ROCKET",E.PRODUCT_BOX="PRODUCT_BOX",E.KEY_ACCESS="KEY_ACCESS",E.ORDENATING="ORDENATING",E.PRODUCT_SEARCH_BOX="PRODUCT_SEARCH_BOX",E.LIST_SQUARE="LIST_SQUARE",E.SIZE_BOX="SIZE_BOX",E.OPENED_BOX="OPENED_BOX",E.INFORMATIONS="INFORMATIONS",E.MEDIA_VIDEO_FILES="MEDIA_VIDEO_FILES",E.MEDIA_IMAGE_FILES="MEDIA_IMAGE_FILES",E.MEDIA_PDF_FILES="MEDIA_PDF_FILES",E.MEDIA_SHEET_FILES="MEDIA_SHEET_FILES",E.MEDIA_PPSX_FILES="MEDIA_PPSX_FILES",E.MEDIA_DOC_FILES="MEDIA_DOC_FILES",E.MEDIA_AUDIO_FILES="MEDIA_AUDIO_FILES",E.MEDIA_ZIP_FILES="MEDIA_ZIP_FILES",E.MEDIA_TXT_FILES="MEDIA_TXT_FILES",E.MEDIA_GENERIC_FILES="MEDIA_GENERIC_FILES",E.IC_AI="IC_AI",E.IC_AUDIO="IC_AUDIO",E.IC_DOCUMENT="IC_DOCUMENT",E.IC_EXCEL="IC_EXCEL",E.IC_FILE="IC_FILE",E.IC_FOLDER="IC_FOLDER",E.IC_IMG="IC_IMG",E.IC_JS="IC_JS",E.IC_PDF="IC_PDF",E.IC_POWER_POINT="IC_POWER_POINT",E.IC_PTS="IC_PTS",E.IC_TXT="IC_TXT",E.IC_VIDEO="IC_VIDEO",E.IC_WORD="IC_WORD",E.IC_ZIP="IC_ZIP",E))(_||{});
2
2
 
3
3
  export { _ as a };
@@ -1,3 +1,3 @@
1
- export { a as default } from '../../chunk-CWYI53IN.js';
2
- import '../../chunk-CPYSURDN.js';
3
- import '../../chunk-SCLJVYKM.js';
1
+ export { a as default } from '../../chunk-PNFJN3EE.js';
2
+ import '../../chunk-YRQGL6TR.js';
3
+ import '../../chunk-YTFGIQHB.js';
@@ -1,3 +1,3 @@
1
- export { a as default } from '../../chunk-7IV6PF7P.js';
2
- import '../../chunk-CPYSURDN.js';
3
- import '../../chunk-SCLJVYKM.js';
1
+ export { a as default } from '../../chunk-IHCCEDHS.js';
2
+ import '../../chunk-YRQGL6TR.js';
3
+ import '../../chunk-YTFGIQHB.js';
@@ -1,6 +1,6 @@
1
- import { a as a$1 } from '../../chunk-6X6FSO7N.js';
2
- import '../../chunk-CPYSURDN.js';
3
- import '../../chunk-SCLJVYKM.js';
1
+ import { a as a$1 } from '../../chunk-3S5SGWRS.js';
2
+ import '../../chunk-YRQGL6TR.js';
3
+ import '../../chunk-YTFGIQHB.js';
4
4
  import a from '@mui/material/Stack';
5
5
  import { styled, alpha } from '@mui/material/styles';
6
6
  import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
@@ -1,5 +1,5 @@
1
- import { a as a$2 } from '../../chunk-CPYSURDN.js';
2
- import '../../chunk-SCLJVYKM.js';
1
+ import { a as a$2 } from '../../chunk-YRQGL6TR.js';
2
+ import '../../chunk-YTFGIQHB.js';
3
3
  import { a as a$1 } from '../../chunk-W3MYAMTH.js';
4
4
  import a from '@mui/material/Stack';
5
5
  import { styled, alpha } from '@mui/material/styles';
@@ -5,8 +5,8 @@ import '../../chunk-OSDHZZEM.js';
5
5
  import '../../chunk-CFVUZ4S5.js';
6
6
  import '../../chunk-FDP5MHVS.js';
7
7
  import { i } from '../../chunk-D27ND54J.js';
8
- import { a as a$1 } from '../../chunk-CPYSURDN.js';
9
- import '../../chunk-SCLJVYKM.js';
8
+ import { a as a$1 } from '../../chunk-YRQGL6TR.js';
9
+ import '../../chunk-YTFGIQHB.js';
10
10
  import { LazyMotion, domMax } from 'framer-motion';
11
11
  import { jsx, jsxs } from 'react/jsx-runtime';
12
12
  import h from '@mui/material/Portal';
@@ -1,4 +1,4 @@
1
- import { a as a$5 } from '../../chunk-7VNJC7M4.js';
1
+ import { a as a$5 } from '../../chunk-KZKIZOY3.js';
2
2
  import { a as a$2 } from '../../chunk-5YJTSVA2.js';
3
3
  import { a as a$6 } from '../../chunk-TWGGHTU5.js';
4
4
  import { a as a$4 } from '../../chunk-HOMGLSVS.js';
@@ -9,8 +9,8 @@ import '../../chunk-U26IUEAG.js';
9
9
  import { a as a$7 } from '../../chunk-FK7DDO5L.js';
10
10
  import '../../chunk-D27ND54J.js';
11
11
  import { a as a$8 } from '../../chunk-26GV7WKC.js';
12
- import { a as a$1 } from '../../chunk-CPYSURDN.js';
13
- import '../../chunk-SCLJVYKM.js';
12
+ import { a as a$1 } from '../../chunk-YRQGL6TR.js';
13
+ import '../../chunk-YTFGIQHB.js';
14
14
  import { a as a$3 } from '../../chunk-ORYAES3Q.js';
15
15
  import { b } from '../../chunk-ILHUUK4X.js';
16
16
  import { forwardRef, useState } from 'react';
@@ -1,3 +1,3 @@
1
- export { a as default } from '../../chunk-AX66JBSX.js';
2
- import '../../chunk-CPYSURDN.js';
3
- import '../../chunk-SCLJVYKM.js';
1
+ export { a as default } from '../../chunk-2ZUP7PZ5.js';
2
+ import '../../chunk-YRQGL6TR.js';
3
+ import '../../chunk-YTFGIQHB.js';
@@ -1,6 +1,6 @@
1
1
  import { a as a$2 } from '../../chunk-26GV7WKC.js';
2
- import { a as a$1 } from '../../chunk-CPYSURDN.js';
3
- import '../../chunk-SCLJVYKM.js';
2
+ import { a as a$1 } from '../../chunk-YRQGL6TR.js';
3
+ import '../../chunk-YTFGIQHB.js';
4
4
  import g from '@mui/material/Drawer';
5
5
  import x from '@mui/material/IconButton';
6
6
  import a from '@mui/material/Stack';
@@ -1,6 +1,6 @@
1
- export { a as default } from '../../chunk-64OC67LL.js';
1
+ export { a as default } from '../../chunk-5AJROVJD.js';
2
2
  import '../../chunk-7AZX7L27.js';
3
- import '../../chunk-RF3KO472.js';
4
- import '../../chunk-CPYSURDN.js';
5
- import '../../chunk-SCLJVYKM.js';
3
+ import '../../chunk-PVFZ7PBA.js';
4
+ import '../../chunk-YRQGL6TR.js';
5
+ import '../../chunk-YTFGIQHB.js';
6
6
  import '../../chunk-ILHUUK4X.js';
@@ -1,5 +1,5 @@
1
- import { a } from '../../chunk-CPYSURDN.js';
2
- import '../../chunk-SCLJVYKM.js';
1
+ import { a } from '../../chunk-YRQGL6TR.js';
2
+ import '../../chunk-YTFGIQHB.js';
3
3
  import f from '@mui/material/Button';
4
4
  import l from '@mui/material/Stack';
5
5
  import e from '@mui/material/Typography';
@@ -1,5 +1,5 @@
1
- import { a as a$1 } from '../../chunk-CPYSURDN.js';
2
- import '../../chunk-SCLJVYKM.js';
1
+ import { a as a$1 } from '../../chunk-YRQGL6TR.js';
2
+ import '../../chunk-YTFGIQHB.js';
3
3
  import { a } from '../../chunk-W3MYAMTH.js';
4
4
  import s from '@mui/material/IconButton';
5
5
  import n from '@mui/material/Stack';
@@ -383,5 +383,6 @@ declare const _default: react.MemoExoticComponent<({ error, name, disabled, sx,
383
383
 
384
384
  declare const isImageFile: (mimeType: string) => boolean;
385
385
  declare const convertToWebP: (file: File, quality?: number) => Promise<File>;
386
+ declare const getFileNameFromContentDisposition: (contentDisposition: string) => string;
386
387
 
387
- export { ContentType, CreateFilesMutation, CropSize, DropZoneProps, ExtendFile, FileContentType, FileCreateRequest, FileCreateResponse, FileDetails, FileGetResponse, FileQueryRequest, FileQueryResponse, FileThumbnail, FileThumbnailProps, FileUpload, FileUploadProps, _default$8 as HelperText, HelperTextProps, LoadingPreviewImageProps, _default$7 as MultiFilePreview, MultiFilePreviewProps, MultiFileUploadProps, MultiImageUploadProps, _default$5 as MultipleFileUpload, _default$4 as MultipleImageUpload, PlaceholderProps, RejectionFilesProps, _default$6 as SingleFilePreview, SingleFilePreviewProps, _default$3 as SingleFileUpload, SingleFileUploadProps, _default$2 as SingleImageUpload, SingleImageUploadProps, SortableItemProps, StyledDropZoneProps, StyledDropZonePropsType, ThumbnailBadgeProps, _default$1 as UploadAvatar, _default as UploadSimpleBox, UseDropzoneUploaderProps, UseDropzoneUploaderReturn, convertToWebP, fileFormat, fileNameByUrl, fileThumb, fileThumbnailClasses, fileTypeByUrl, isImageFile, useDropzoneUploader, useFileUploadService };
388
+ export { ContentType, CreateFilesMutation, CropSize, DropZoneProps, ExtendFile, FileContentType, FileCreateRequest, FileCreateResponse, FileDetails, FileGetResponse, FileQueryRequest, FileQueryResponse, FileThumbnail, FileThumbnailProps, FileUpload, FileUploadProps, _default$8 as HelperText, HelperTextProps, LoadingPreviewImageProps, _default$7 as MultiFilePreview, MultiFilePreviewProps, MultiFileUploadProps, MultiImageUploadProps, _default$5 as MultipleFileUpload, _default$4 as MultipleImageUpload, PlaceholderProps, RejectionFilesProps, _default$6 as SingleFilePreview, SingleFilePreviewProps, _default$3 as SingleFileUpload, SingleFileUploadProps, _default$2 as SingleImageUpload, SingleImageUploadProps, SortableItemProps, StyledDropZoneProps, StyledDropZonePropsType, ThumbnailBadgeProps, _default$1 as UploadAvatar, _default as UploadSimpleBox, UseDropzoneUploaderProps, UseDropzoneUploaderReturn, convertToWebP, fileFormat, fileNameByUrl, fileThumb, fileThumbnailClasses, fileTypeByUrl, getFileNameFromContentDisposition, isImageFile, useDropzoneUploader, useFileUploadService };
@@ -1,21 +1,21 @@
1
1
  import { a as a$5 } from '../../chunk-H5L4ARDB.js';
2
- import { a } from '../../chunk-5OEO64FI.js';
2
+ import { a } from '../../chunk-TZTQU4RZ.js';
3
3
  import { e } from '../../chunk-ANAHA3L6.js';
4
4
  import { a as a$3 } from '../../chunk-2FXBVVBD.js';
5
- import { a as a$6 } from '../../chunk-64OC67LL.js';
5
+ import { a as a$6 } from '../../chunk-5AJROVJD.js';
6
6
  import '../../chunk-7AZX7L27.js';
7
- import '../../chunk-RF3KO472.js';
8
- import { a as a$2 } from '../../chunk-AX66JBSX.js';
7
+ import '../../chunk-PVFZ7PBA.js';
8
+ import { a as a$2 } from '../../chunk-2ZUP7PZ5.js';
9
9
  import { x } from '../../chunk-2P4CXK3O.js';
10
10
  import { a as a$7 } from '../../chunk-FK7DDO5L.js';
11
11
  import { j } from '../../chunk-DMQW3LDF.js';
12
- import { a as a$4 } from '../../chunk-CPYSURDN.js';
13
- import '../../chunk-SCLJVYKM.js';
12
+ import { a as a$4 } from '../../chunk-YRQGL6TR.js';
13
+ import '../../chunk-YTFGIQHB.js';
14
14
  import '../../chunk-ILHUUK4X.js';
15
15
  import { a as a$1 } from '../../chunk-S7QQBC4I.js';
16
16
  import { a as a$8 } from '../../chunk-GFJT57TO.js';
17
17
  import { memo, forwardRef, useMemo, useLayoutEffect, useCallback, useRef, useState, useEffect } from 'react';
18
- import No from '@mui/material/FormHelperText';
18
+ import Bo from '@mui/material/FormHelperText';
19
19
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
20
20
  import { useSensors, useSensor, PointerSensor, KeyboardSensor, DndContext, closestCenter } from '@dnd-kit/core';
21
21
  import { restrictToHorizontalAxis, restrictToParentElement, restrictToWindowEdges } from '@dnd-kit/modifiers';
@@ -24,15 +24,15 @@ import { m, AnimatePresence } from 'framer-motion';
24
24
  import ge from '@mui/material/Stack';
25
25
  import qe from '@mui/material/Typography';
26
26
  import Ee from '@mui/material/Box';
27
- import Go from '@mui/material/IconButton';
28
- import jo from '@mui/material/Paper';
27
+ import jo from '@mui/material/IconButton';
28
+ import Zo from '@mui/material/Paper';
29
29
  import { styled, alpha } from '@mui/material/styles';
30
30
  import $o from '@mui/material/Badge';
31
- import Lr from '@mui/material/ButtonBase';
32
- import kr from '@mui/material/Tooltip';
31
+ import Mr from '@mui/material/ButtonBase';
32
+ import zr from '@mui/material/Tooltip';
33
33
  import { useDropzone } from 'react-dropzone';
34
- import yt from '@mui/material/CircularProgress';
34
+ import Lt from '@mui/material/CircularProgress';
35
35
 
36
- var Bo=({helperText:e,disabled:o,isError:r})=>e?jsx(No,{error:r,sx:t=>({mx:"14px",color:o?t.palette.grey[500]:void 0}),children:e}):null,_=memo(Bo);var ye=styled(ge)({position:"relative",width:"100%",borderRadius:8,overflow:"hidden","&:hover .actions":{display:"flex"}}),Le=styled(ge)({position:"absolute",top:4,right:4,gap:.5,"& svg":{width:16,height:16}}),ro=styled(Ee,{shouldForwardProp:e=>!["isDragActive","isError","disabled"].includes(e)})(({theme:e,isDragActive:o,isError:r,disabled:t})=>({outline:"none",cursor:"pointer",overflow:"hidden",position:"relative",padding:e.spacing(5),borderRadius:e.shape.borderRadius,transition:e.transitions.create("padding"),backgroundColor:e.palette.background.neutral,border:`1px dashed ${alpha(e.palette.grey[500],.32)}`,...o&&{opacity:.72},...r&&{color:e.palette.error.main,backgroundColor:e.palette.error.lighter,borderColor:e.palette.error.light},...t&&{opacity:.48,pointerEvents:"none"},"&:hover":{opacity:.72}}));styled(ge)(({theme:e})=>({display:"none",position:"absolute",alignItems:"center",justifyContent:"center",flexDirection:"row",gap:12,width:"100%",height:"100%",backgroundColor:alpha(e.palette.primary.main,.9),zIndex:999,button:{"&, &:hover, &:focus":{backgroundColor:"#fff"}}}));var to=styled(Go)(({theme:e})=>({position:"relative",zIndex:999,pointerEvents:"auto",color:e.palette.grey[700],backgroundColor:e.palette.grey[100],"&:hover":{color:e.palette.grey[900],backgroundColor:e.palette.grey[300]}})),Ge=styled("div")({position:"relative",zIndex:1,userSelect:"none","&:hover":{zIndex:2}}),io=styled(ge,{shouldForwardProp:e=>!["isDragging"].includes(e)})(({theme:e,width:o,isDragging:r})=>({width:o,height:100,alignItems:"center",display:"inline-flex",justifyContent:"center",margin:e.spacing(.5),padding:e.spacing(2,1,2,1),gap:e.spacing(1),borderRadius:e.spacing(1.25),overflow:"hidden",position:"relative",border:`solid 1px ${e.palette.divider}`,backgroundColor:e.palette.common.white,zIndex:1,transition:"box-shadow 150ms ease-in-out",boxShadow:r?`0 0 0 2px ${e.palette.primary.main}, ${e.customShadows.z8}, inset 0 0 0 1000px ${alpha(e.palette.primary.main,.06)}`:"0px 0px 0px 0px rgba(0, 0, 0, 0)"})),ao=styled(m.div)(({theme:e,width:o,isDragging:r})=>({width:o,height:60,alignItems:"center",display:"inline-flex",justifyContent:"center",margin:e.spacing(.5),padding:e.spacing(2),borderRadius:e.spacing(1.25),overflow:"hidden",position:"relative",border:`solid 1px ${e.palette.divider}`,backgroundColor:e.palette.common.white,zIndex:1,transition:"box-shadow 150ms ease-in-out",boxShadow:r?`0 0 0 2px ${e.palette.primary.main}, ${e.customShadows.z8}, inset 0 0 0 1000px ${alpha(e.palette.primary.main,.06)}`:"0px 0px 0px 0px rgba(0, 0, 0, 0)"})),no=styled(a)(({theme:e})=>({top:16,right:16,zIndex:9,position:"absolute",color:e.palette.common.white,backgroundColor:alpha(e.palette.grey[900],.72),"&:hover":{backgroundColor:alpha(e.palette.grey[900],.48)}})),so=styled(Ee,{shouldForwardProp:e=>e!=="isDragActive"&&e!=="disabled"&&e!=="hasError"})(({theme:e,isDragActive:o,disabled:r,hasError:t})=>({width:64,height:64,flexShrink:0,display:"flex",borderRadius:1,cursor:"pointer",alignItems:"center",color:e.palette.text.disabled,justifyContent:"center",backgroundColor:alpha(e.palette.grey[500],.08),border:`dashed 1px ${alpha(e.palette.grey[500],.16)}`,...o&&{opacity:.72},...r&&{opacity:.48,pointerEvents:"none"},...t&&{color:e.palette.error.main,borderColor:e.palette.error.main,backgroundColor:alpha(e.palette.error.main,.08)},"&:hover":{opacity:.72}})),lo=styled(Ee)(({theme:e})=>({padding:e.spacing(1),top:0,left:0,width:"100%",height:"100%",position:"absolute",display:"flex",justifyContent:"center",alignItems:"center",transition:"all 0.3s ease-in-out",filter:"blur(0)","&:hover":{filter:"blur(3px)"}})),po=styled("img",{shouldForwardProp:e=>e!=="aspectRatio"&&e!=="isLoading"&&e!=="isUploading"&&e!=="maxWidth"&&e!=="maxHeight"&&e!=="cropSize"})(({theme:e,aspectRatio:o,maxWidth:r,maxHeight:t,isLoading:a,isUploading:s})=>({borderRadius:e.shape.borderRadius,objectFit:"cover",position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%) scale(1)",filter:"blur(0)",zIndex:1,maxWidth:r,maxHeight:t,backgroundColor:e.palette.background.paper,aspectRatio:Math.abs(o),...Math.abs(o)>1?{width:"calc(100% - 16px)",height:void 0}:{width:void 0,height:"calc(100% - 16px)"},transition:"all 0.5s ease-in-out",...a||s?{opacity:0,filter:"blur(1.5rem)",transform:"translate(-50%, -50%) scale(0.7)"}:{},"&:hover":{transition:"all 0.2s ease-in-out"}})),mo=styled("img",{shouldForwardProp:e=>e!=="isLoading"&&e!=="isUploading"})(({isLoading:e,isUploading:o})=>({width:"100%",height:"100%",objectFit:"cover",top:0,left:0,filter:"blur(1.5rem)",transform:"scale(1.1)",position:"absolute",zIndex:0,transition:"opacity 0.3s ease-in-out",...e&&{opacity:0},...o&&{opacity:.7,filter:"blur(2rem)"}})),co=styled(ge)({width:"100%",height:"100%",position:"relative",overflow:"hidden",borderRadius:"50%",justifyContent:"center",alignItems:"center"});styled(jo)(({theme:e})=>({py:1,px:2,mt:3,textAlign:"left",borderStyle:"dashed",borderColor:"error.main",backgroundColor:alpha(e.palette.error.main,.08)}));var je=styled(Ee,{shouldForwardProp:e=>e!=="isError"&&e!=="hasFile"})(({theme:e,isError:o,hasFile:r})=>({top:0,gap:e.spacing(1),left:0,width:"100%",height:"100%",zIndex:9,display:"flex",borderRadius:"50%",position:"absolute",alignItems:"center",color:e.palette.text.disabled,flexDirection:"column",justifyContent:"center",backgroundColor:alpha(e.palette.grey[500],.08),transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.shorter}),"&:hover":{opacity:.92},...o&&{color:e.palette.error.main},...r&&{zIndex:9,opacity:0,color:e.palette.common.white,backgroundColor:alpha(e.palette.common.black,.54)}})),go=styled(ge)({top:0,left:0,right:0,bottom:0,position:"absolute",zIndex:10,alignItems:"center",justifyContent:"center",opacity:.8});styled(ge)(({theme:e})=>({padding:20,justifyContent:"center",alignItems:"center",gap:4,alignSelf:"stretch",borderRadius:12,background:e.palette.grey[200],color:e.palette.text.disabled,height:160}));var uo=styled(Ee,{shouldForwardProp:e=>e!=="isDragActive"&&e!=="isError"&&e!=="hasFile"})(({theme:e,isDragActive:o,disabled:r,isError:t,hasFile:a})=>({padding:e.spacing(1),margin:"auto",width:144,height:144,cursor:"pointer",overflow:"hidden",borderRadius:"50%",border:`1px dashed ${alpha(e.palette.grey[500],.2)}`,...o&&{opacity:.72},...r&&{opacity:.48,pointerEvents:"none"},...t&&{borderColor:"error.main"},...a&&{...t&&{bgcolor:alpha(e.palette.error.main,.08)},"&:hover .upload-placeholder":{opacity:1},"& img":{filter:"blur(0)"},"&:hover img":{filter:"blur(3px)"}}})),fo=styled("img")({width:"100%",height:"100%",borderRadius:"50%",objectFit:"cover",transition:"all 0.3s ease-in-out"}),xo=styled(a)(({theme:e})=>({backgroundColor:alpha(e.palette.grey[900],.72),color:e.palette.common.white,"&:hover":{backgroundColor:alpha(e.palette.grey[600],.64),color:e.palette.common.white},"& svg":{width:14,height:14}}));var Xo=({onRemove:e,sx:o,file:r,disableDrag:t,attributes:a,listeners:s,innerWidth:n,isDragging:p})=>{let l=r?.id;return l?jsx($o,{anchorOrigin:{vertical:"top",horizontal:"left"},children:jsxs(ao,{width:n,isDragging:p,"data-testid":`preview-multi-img-${l}`,...j().inUp,sx:o,children:[jsx(a$2,{disableDrag:t,...a,...s}),jsx(Pe,{imageView:!0,file:r}),jsx(Le,{sx:{position:"absolute",right:3,top:3,zIndex:1},children:e&&jsx(xo,{size:"small",label:"Remover arquivo",onClick:()=>e(r),icon:"DELETE_MARK_BUTTON_02"})})]})},`badge-${l}`):null},ho=memo(Xo);var Qo=({file:e$1,thumbnail:o,onRemove:r,sx:t,disableDrag:a$1=!1})=>{let s=e$1.size||0,n=e$1.name||e$1.id,p=e$1.id,l=typeof e$1=="string",x$1=a$1?70:80,{attributes:d,listeners:g,setNodeRef:I,transform:E,transition:A,isDragging:b}=useSortable({id:p,disabled:a$1}),C={transform:x.Transform.toString(E),transition:A,display:"inline-block",alignItems:"center",justifyContent:"center",width:`${x$1+8}px`,height:"68px"};return o&&e$1?jsx(Ge,{ref:I,style:C,children:jsx(ho,{innerWidth:x$1,isDragging:b,sx:t,file:e$1,disableDrag:a$1,attributes:d,listeners:g,onRemove:r})}):jsx(Ge,{ref:I,style:{...C,height:"80px",width:`${x$1+38}px`},children:jsxs(io,{width:x$1+30,isDragging:b,"data-testid":`preview-multi-img-${p}`,...j().inUp,sx:t,children:[jsx(a$2,{disableDrag:a$1,...d,...g}),e$1&&jsx(Pe,{file:e$1}),jsxs(ge,{flexGrow:1,sx:{width:"100%"},children:[jsx(a$3,{title:n,children:jsx(qe,{variant:"subtitle2",noWrap:!0,children:n})}),jsx(qe,{variant:"caption",sx:{color:"text.secondary"},children:l?"":e(s)})]}),jsx(Le,{children:r&&jsx(a,{size:"small",label:"Remover arquivo",onClick:()=>r(e$1),icon:"DELETE_MARK_BUTTON_02"})})]})})},bo=memo(Qo);var gr=({thumbnail:e,files:o,onRemove:r,onReorder:t,sx:a})=>{let s=useSensors(useSensor(PointerSensor,{activationConstraint:{distance:8}}),useSensor(KeyboardSensor,{coordinateGetter:sortableKeyboardCoordinates})),n=useCallback(l=>{let{active:x,over:d}=l;if(!(!x||!d||x.id===d.id)&&t){let g=o.findIndex(({id:E})=>E===x.id),I=o.findIndex(({id:E})=>E===d.id);g!==-1&&I!==-1&&t(g,I,o);}},[o,t]),p=jsx(AnimatePresence,{initial:!1,children:o.map(l=>jsx(bo,{sx:a,id:`preview-file-${l.id}`,file:l,onRemove:r,thumbnail:e,disableDrag:!t},`preview-file-${l.id}`))});return t?jsx(DndContext,{sensors:s,collisionDetection:closestCenter,onDragEnd:n,modifiers:[restrictToHorizontalAxis,restrictToParentElement,restrictToWindowEdges],children:jsx(SortableContext,{items:o.map(l=>l.id),strategy:horizontalListSortingStrategy,children:p})}):p},Fe=memo(gr);var Eo=forwardRef(({onLoading:e,aspectRatio:o,cropSize:r,...t},a)=>{let{maxWidth:s,maxHeight:n}=useMemo(()=>r&&typeof r=="object"?{maxWidth:r.width,maxHeight:r.height}:r&&typeof r=="number"?{maxWidth:r,maxHeight:r}:{maxWidth:"100%",maxHeight:"100%"},[r]);a$1(()=>{e?.(!0);}),useLayoutEffect(()=>{typeof a=="object"&&a?.current?e?.(!a.current.complete):e?.(!1);},[a,e]);function p(){e?.(!1);}return jsx(po,{...t,maxWidth:s,maxHeight:n,ref:a,aspectRatio:o,onLoad:p,onError:p})});Eo.displayName="LoadingPreviewImage";var Ao=Eo;var br=({file:e,aspectRatio:o=1,isUploading:r,isLoading:t,onLoading:a,cropSize:s,maxWidth:n,maxHeight:p})=>{let l=useRef(null),x=e?.id||"",d=e?.name||"",g=URL.createObjectURL(e);return x?jsxs(lo,{className:"single-file-preview-box",children:[jsx(Ao,{className:"single-file-preview-img",aspectRatio:o,cropSize:s,isLoading:t,isUploading:r,alt:d,src:g,ref:l,loading:"lazy",onLoading:a,onLoad:()=>a?.(!1),onError:()=>a?.(!1),maxWidth:n,maxHeight:p},`image-preview-${x}`),jsx(mo,{className:"single-file-preview-bg",alt:d,src:g,isLoading:t,isUploading:r})]}):null},Ze=memo(br);var Er=["pdf"],Ar=["txt"],Fr=["psd"],wr=["doc","docx"],Dr=["xls","xlsx"],Rr=["zip","rar","iso"],_r=["ai","eps"],Sr=["ppt","pptx"],Tr=["wav","aif","mp3","aac"],Or=["jpg","jpeg","gif","bmp","png","svg","webp"],Ur=["m4v","avi","mpg","mp4","webm"];function He(e){let o,r=wo(e);return Ar.includes(r)?o="txt":Rr.includes(r)?o="zip":Tr.includes(r)?o="audio":Or.includes(r)?o="image":Ur.includes(r)?o="video":wr.includes(r)?o="word":Dr.includes(r)?o="excel":Sr.includes(r)?o="powerpoint":Er.includes(r)?o="pdf":Fr.includes(r)?o="photoshop":_r.includes(r)?o="illustrator":e?.startsWith("http")?o="image":o=wo(e),o}function Do(e){let o;switch(He(e)){case"folder":o="IC_FOLDER";break;case"txt":o="IC_TXT";break;case"zip":o="IC_ZIP";break;case"audio":o="IC_AUDIO";break;case"video":o="IC_VIDEO";break;case"word":o="IC_WORD";break;case"excel":o="IC_EXCEL";break;case"powerpoint":o="IC_POWER_POINT";break;case"pdf":o="IC_PDF";break;case"photoshop":o="IC_PTS";break;case"illustrator":o="IC_AI";break;case"image":o="IC_IMG";break;default:o="IC_FILE";}return o}function wo(e){return e&&e.split(".").pop()||""}function qi(e){return e.split("/").pop()}var Ce={root:"mnl__file__thumbnail__root",img:"mnl__file__thumbnail__img",icon:"mnl__file__thumbnail__icon",removeBtn:"mnl__file__thumbnail__remove__button",downloadBtn:"mnl__file__thumbnail__download__button"},Pe=({sx:e,file:o,tooltip:r,onRemove:t,imageView:a,slotProps:s,onDownload:n,...p})=>{let l=URL.createObjectURL(o),x=o?.name||"",g=o.type.startsWith("image/")?"image":He(l),I=jsx(Ee,{component:"img",src:l,className:Ce.img,sx:{width:1,height:1,objectFit:"cover",borderRadius:"inherit",...s?.img}}),E=jsx(a$4,{icon:Do(g),sx:{width:32,height:32,flexShrink:0,...e}}),A=jsxs(ge,{component:"span",className:Ce.root,sx:{width:36,height:36,flexShrink:0,borderRadius:1.25,alignItems:"center",position:"relative",display:"inline-flex",justifyContent:"center",...e},...p,children:[g==="image"&&a?I:E,t&&jsx(Lr,{onClick:t,className:Ce.removeBtn,sx:s?.removeBtn,children:jsx(a$4,{icon:"CLOSE_MARK_BUTTON",width:24})}),n&&jsx(Go,{onClick:n,className:Ce.downloadBtn,sx:s?.downloadBtn,size:"small",children:jsx(a$4,{icon:"ARROW_DOWN_CICLE",width:12})})]});return r?jsx(kr,{arrow:!0,title:x,slotProps:{popper:{modifiers:[{name:"offset",options:{offset:[0,-12]}}]}},children:A}):A};var aa=e=>e.startsWith("image/"),Ro=(e,o=.8)=>new Promise((r,t)=>{let a=document.createElement("canvas"),s=a.getContext("2d"),n=new Image;n.onload=()=>{a.width=n.width,a.height=n.height,s?(s.drawImage(n,0,0),a.toBlob(p=>{if(p){let l=new File([p],e.name.replace(/\.[^/.]+$/,".webp"),{type:"image/webp",lastModified:Date.now()});r(l);}else t(new Error("Falha ao converter para WebP"));},"image/webp",o)):t(new Error("N\xE3o foi poss\xEDvel obter contexto do canvas"));},n.onerror=()=>t(new Error("Falha ao carregar imagem")),n.src=URL.createObjectURL(e);});var jr=({onFilesSelect:e$1,onFileSelect:o,onReorder:r,onRemove:t,uploadFiles:a,filesPreview:s,dropzoneOptions:n,enableCrop:p=!1,customAspectRatio:l,convertToWebp:x=!0,cropSize:d,maxFiles:g})=>{let{showErrorMessage:I}=a$8(),E=useMemo(()=>l||(d&&typeof d!="number"?d.width/d.height:1),[l,d]),[A,b]=useState([]),[C,M]=useState(!1),[c,F]=useState(null),[P,T]=useState(null),[U,O]=useState(""),[u,m]=useState(!1),[w,v]=useState([]),[y,R]=useState(0),[N,z]=useState(0),ee=f=>{if(f.length<1)return;let h=f[0];F(h),R(L=>L+1);let D=new FileReader;D.onload=()=>{O(D.result),M(!0);},D.readAsDataURL(h);},oe=(f,h)=>{T(h);},ae=async f=>!c||!P?null:new Promise(h=>{let D=document.createElement("canvas"),L=D.getContext("2d"),H=new Image;H.onload=async()=>{let{width:fe,height:we,x:De,y:Mo}=P,Co=Math.abs(E),Re=fe,_e=we;d&&typeof d=="object"?(Re=d.width,_e=d.height):d&&typeof d=="number"&&(Re=d,_e=d/Co),D.width=Re,D.height=_e,L?(L.drawImage(H,De,Mo,fe,we,0,0,Re,_e),D.toBlob(async Je=>{if(Je){let We=new File([Je],c.name,{type:c.type,lastModified:Date.now()});if(x)try{We=await Ro(We);}catch(ko){I(ko,"Erro ao converter para WebP");}let Qe=We;Qe.id=f,h(Qe);}else h(null);},"image/png")):h(null);},H.src=U;}),pe=async()=>{if(!(!c||!P||w.length===0)){m(!0);try{let f=w[0],h=await ae(f.id);if(h){let L=await a([h]);L&&(!e$1&&!o&&b(H=>[...H,...L]),e$1?.([...s||[],...L]),o?.(h));}M(!1),m(!1),O(""),F(null);let D=w.slice(1);v(D),ee(D);}catch(f){I(f,"Erro ao processar imagem"),m(!1);}}},de=()=>{M(!1),m(!1),O(""),F(null),v([]),R(0),z(0);},me=async f=>{if(f.length===0)return;let h=Object.keys(n?.accept||{}).some(L=>L.includes("image/")),D=A.length+f.length;if(g&&D>g){I(new Error(`M\xE1ximo de ${g} arquivos`),"Erro ao fazer upload");return}try{if(h&&p){let H=f.filter(fe=>fe.type.startsWith("image/")).map((fe,we)=>{let De=fe;return De.id=`temp-crop-${Date.now()}-${we}`,De});z(H.length),R(0),v(H),ee(H);}else {let L=await a(f);L&&(!e$1&&!o&&b(H=>[...H,...L]),e$1?.([...s||[],...L]),o?.(L[0]));}}catch(L){I(L,"Erro ao processar arquivos");}},ce=f=>{if(!f.length)return;let h=f[0]?.errors[0]?.code,D=n?.maxSize||3145728;I(h==="file-too-large"?new Error(`O arquivo excede o tamanho m\xE1ximo de ${e(D)}`):h==="file-invalid-type"?new Error("Formato de arquivo n\xE3o suportado"):f[0]?.errors[0]||new Error("Erro ao enviar arquivo"),"Erro ao fazer upload");},{getRootProps:W,getInputProps:V,isDragActive:K,isDragReject:re,fileRejections:G}=useDropzone({onDrop:me,onDropRejected:ce,...n}),i=f=>{if(!f){t||b([]),t?.(void 0);return}let h=A.filter(D=>D.id!==f.id);t||b(h),t?.(f);},j=(f,h,D)=>{r?.(f,h,D);},Z=useRef("");return useEffect(()=>{let f=s?.map(h=>h.id).join(",")||"";f!==Z.current&&(Z.current=f,b(s||[]));},[s]),{file:A?.[0],files:A,aspectRatio:E,dropzoneProps:{getRootProps:W,getInputProps:V,isDragActive:K,isDragReject:re,fileRejections:G},cropState:{cropModalOpen:C,imagePreview:U,cropLoading:u,setCropModalOpen:M,onCropInitialized:oe,handleCropSave:pe,handleCropCancel:de,currentImageIndex:y,totalPendingImages:N},setInitialFiles:b,handleRemove:i,handleReorder:j}},X=jr;var $e=(i=>(i.APPLICATION_OCTET_STREAM="application/octet-stream",i.IMAGE_JPEG="image/jpeg",i.IMAGE_JPG="image/jpg",i.IMAGE_PNG="image/png",i.IMAGE_GIF="image/gif",i.IMAGE_WEBP="image/webp",i.IMAGE_SVG="image/svg+xml",i.IMAGE_BMP="image/bmp",i.IMAGE_TIFF="image/tiff",i.IMAGE_ICO="image/x-icon",i.IMAGE_AVIF="image/avif",i.APPLICATION_PDF="application/pdf",i.TEXT_PLAIN="text/plain",i.TEXT_CSV="text/csv",i.APPLICATION_RTF="application/rtf",i.APPLICATION_MSWORD="application/msword",i.APPLICATION_DOCX="application/vnd.openxmlformats-officedocument.wordprocessingml.document",i.APPLICATION_MSEXCEL="application/vnd.ms-excel",i.APPLICATION_XLSX="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",i.APPLICATION_MSPOWERPOINT="application/vnd.ms-powerpoint",i.APPLICATION_PPTX="application/vnd.openxmlformats-officedocument.presentationml.presentation",i.APPLICATION_ODT="application/vnd.oasis.opendocument.text",i.APPLICATION_ODS="application/vnd.oasis.opendocument.spreadsheet",i.APPLICATION_ODP="application/vnd.oasis.opendocument.presentation",i.APPLICATION_XML="application/xml",i.TEXT_XML="text/xml",i.TEXT_HTML="text/html",i.TEXT_CSS="text/css",i.APPLICATION_JSON="application/json",i.TEXT_JAVASCRIPT="text/javascript",i.APPLICATION_ZIP="application/zip",i.APPLICATION_GZIP="application/gzip",i.APPLICATION_RAR="application/vnd.rar",i.APPLICATION_7Z="application/x-7z-compressed",i.AUDIO_MPEG="audio/mpeg",i.AUDIO_WAV="audio/wav",i.AUDIO_OGG="audio/ogg",i.AUDIO_WEBM="audio/webm",i.AUDIO_AAC="audio/aac",i.VIDEO_MP4="video/mp4",i.VIDEO_MPEG="video/mpeg",i.VIDEO_OGG="video/ogg",i.VIDEO_WEBM="video/webm",i.VIDEO_QUICKTIME="video/quicktime",i))($e||{}),ke=(e=>(e["application/octet-stream"]="APPLICATION_OCTET_STREAM",e["image/jpeg"]="IMAGE_JPEG",e["image/jpg"]="IMAGE_JPG",e["image/png"]="IMAGE_PNG",e["image/gif"]="IMAGE_GIF",e["image/webp"]="IMAGE_WEBP",e["image/svg+xml"]="IMAGE_SVG",e["image/bmp"]="IMAGE_BMP",e["image/tiff"]="IMAGE_TIFF",e["image/x-icon"]="IMAGE_ICO",e["image/avif"]="IMAGE_AVIF",e["application/pdf"]="APPLICATION_PDF",e["text/plain"]="TEXT_PLAIN",e["text/csv"]="TEXT_CSV",e["application/rtf"]="APPLICATION_RTF",e["application/msword"]="APPLICATION_MSWORD",e["application/vnd.openxmlformats-officedocument.wordprocessingml.document"]="APPLICATION_DOCX",e["application/vnd.ms-excel"]="APPLICATION_MSEXCEL",e["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"]="APPLICATION_XLSX",e["application/vnd.ms-powerpoint"]="APPLICATION_MSPOWERPOINT",e["application/vnd.openxmlformats-officedocument.presentationml.presentation"]="APPLICATION_PPTX",e["application/vnd.oasis.opendocument.text"]="APPLICATION_ODT",e["application/vnd.oasis.opendocument.spreadsheet"]="APPLICATION_ODS",e["application/vnd.oasis.opendocument.presentation"]="APPLICATION_ODP",e["application/xml"]="APPLICATION_XML",e["text/xml"]="TEXT_XML",e["text/html"]="TEXT_HTML",e["text/css"]="TEXT_CSS",e["application/json"]="APPLICATION_JSON",e["text/javascript"]="TEXT_JAVASCRIPT",e["application/zip"]="APPLICATION_ZIP",e["application/gzip"]="APPLICATION_GZIP",e["application/vnd.rar"]="APPLICATION_RAR",e["application/x-7z-compressed"]="APPLICATION_7Z",e["audio/mpeg"]="AUDIO_MPEG",e["audio/wav"]="AUDIO_WAV",e["audio/ogg"]="AUDIO_OGG",e["audio/webm"]="AUDIO_WEBM",e["audio/aac"]="AUDIO_AAC",e["video/mp4"]="VIDEO_MP4",e["video/mpeg"]="VIDEO_MPEG",e["video/ogg"]="VIDEO_OGG",e["video/webm"]="VIDEO_WEBM",e["video/quicktime"]="VIDEO_QUICKTIME",e))(ke||{});var Xr=({createFilesMutation:e,filesDetails:o})=>{let{showErrorMessage:r,showSuccessMessage:t}=a$8(),[a,s]=useState(!1),[n,p]=useState(!1),[l,x]=useState(null),[d,g]=useState([]),I=useMemo(()=>d?.[0],[d]),E=n||a,A=useCallback(async c=>{if(!c.length){g([]),p(!1);return}p(!0);try{let P=(await Promise.all(c.map(async({url:T,id:U,name:O})=>{try{if(!T)return null;let u=await fetch(T);if(!u.ok)throw new Error(u.statusText);let m=await u.blob(),w=null;if(!O){let R=u.headers.get("content-disposition")||void 0;if(R){let N=R.match(/filename\*=UTF-8''([^;]+)|filename="?([^";]+)"?/i),z=N?.[1]||N?.[2];if(z)try{w=decodeURIComponent(z);}catch{w=z;}}}let v=w||O||U,y=new File([m],v,{type:m.type});return y.id=U,y.url=T,y}catch{return null}}))).filter(Boolean);g(P),p(!1);}catch(F){r(F,"Erro ao carregar arquivos"),g([]),p(!1);}},[r]),b=useRef("");useEffect(()=>{let c=o?.map(({id:F})=>F).join(",")||"";c!==b.current&&(async()=>(b.current=c,await A(o)))();},[o,A]);let C=async c=>{if(!c||!Array.isArray(c))throw new Error("Arquivos inv\xE1lidos");let F=c.filter(P=>P instanceof File);if(F?.length){s(!0);try{let P=F.map(u=>{let m=u.type||"application/octet-stream",w=ke[m];if(!w)throw new Error(`Tipo de arquivo n\xE3o suportado: ${m}`);return {file:u,mimeType:m,contentTypeEnum:w}}),T=await e({files:P.map(({file:u,contentTypeEnum:m})=>({content_type:m,name:u.name}))}).unwrap(),U=T.files.map((u,m)=>{let v=P[m].file;return v.id=u.id,v.url=u.url,v});return (await Promise.all(T.files.map((u,m)=>{let{mimeType:w}=P[m],v=U[m];return fetch(u.url,{method:"PUT",headers:{"Content-Type":w,"Content-Disposition":`inline; filename="${v.name}"`,"X-File-Id":u.id},body:v})}))).forEach(u=>{if(!u.ok)throw new Error(`Erro no upload: ${u.statusText}`)}),t("Imagem adicionada com sucesso"),U}catch(P){throw x(P),r(P,"Erro no upload"),P}finally{s(!1);}}},M=useMemo(()=>l&&l instanceof Error?l.message:l,[l]);return {setFilesPreview:g,uploadFiles:C,filesPreview:d,filePreview:I,isLoadingPreview:n,isUploadingFiles:a,isUploadOrLoadingFiles:E,uploadErrorText:M}},q=Xr;var Vr=({sx:e,id:o,name:r,tabIndex:t,uploading:a,getRootProps:s,getInputProps:n,isDragActive:p,isError:l,disabled:x,dropZoneSxProps:d,dropZoneContent:g,children:I,...E})=>jsxs(ye,{children:[a&&jsx(a$7,{"data-testid":"uploading-progress-bar",sx:{zIndex:1}}),jsxs(Ee,{sx:{width:1,position:"relative",...e},children:[jsxs(ro,{...s(),"data-testid":"drop-zone-styled-area",isError:l,isDragActive:p,disabled:!!x,sx:d,...E,children:[jsx("input",{...n(),id:o,tabIndex:t,name:r}),g]}),I]})]}),ne=Vr;var Qr=({header:e,description:o,sx:r,...t})=>jsxs(ge,{spacing:5,alignItems:"center",justifyContent:"center",direction:{xs:"column",md:"row"},sx:{width:1,textAlign:{xs:"center",md:"left"},...r},...t,children:[jsx(a$5,{sx:{width:220}}),jsxs("div",{children:[jsx(qe,{gutterBottom:!0,variant:"h5",children:e||"Soltar ou selecionar arquivos"}),jsx(qe,{variant:"body2",sx:{color:"text.secondary"},children:o||jsxs(Fragment,{children:["Solte os arquivos aqui ou clique",jsx(qe,{variant:"body2",component:"span",sx:{mx:.5,color:"primary.main",textDecoration:"underline"},children:"procurar"}),"na sua m\xE1quina"]})})]})]}),se=memo(Qr);var tt=({onRemove:e,onReorder:o,onFilesSelect:r,createFilesMutation:t,filesDetails:a=[],id:s,disabled:n,error:p,helperText:l,thumbnail:x,dropZoneSxProps:d,uploading:g,tabIndex:I,maxFiles:E,placeholderAlt:A,placeholderProps:b,...C})=>{let{filesPreview:M,isUploadOrLoadingFiles:c,uploadErrorText:F,uploadFiles:P}=q({createFilesMutation:t,filesDetails:a}),{files:T,dropzoneProps:U,handleRemove:O,handleReorder:u}=X({onFilesSelect:r,onReorder:o,onRemove:e,filesPreview:M,dropzoneOptions:{multiple:!0,disabled:n,...C},maxFiles:E,uploadFiles:P}),{getRootProps:m,getInputProps:w,isDragActive:v,isDragReject:y}=U,R=!!T?.filter(z=>!!z.id).length,N=y||!!p||!!F;return jsxs(ne,{id:s,uploading:g||c,disabled:n,dropZoneSxProps:d,tabIndex:I,getRootProps:m,getInputProps:w,isDragActive:v,isError:N,dropZoneContent:jsx(Fragment,{children:A?jsx(ge,{children:A}):jsx(se,{header:b?.header,description:b?.description})}),children:[jsx(_,{disabled:n,helperText:l,isError:N}),p?jsx(_,{helperText:p,isError:!0}):null,F?jsx(_,{helperText:F,isError:!0}):null,R&&jsx(Ee,{sx:{my:3},children:jsx(Fe,{files:T,thumbnail:!!x,onRemove:e?O:void 0,onReorder:o?u:void 0})})]})},it=memo(tt);var mt=({onRemove:e,onReorder:o,onFilesSelect:r,createFilesMutation:t,filesDetails:a=[],id:s,disabled:n,error:p,helperText:l,dropZoneSxProps:x,placeholderProps:d,placeholderAlt:g,uploading:I,tabIndex:E,maxFiles:A,aspectRatio:b,enableCrop:C=!0,convertToWebp:M=!0,cropSize:c,name:F,label:P,...T})=>{let{filesPreview:U,isUploadOrLoadingFiles:O,uploadErrorText:u,uploadFiles:m}=q({createFilesMutation:t,filesDetails:a}),w=I||O,{files:v,dropzoneProps:y,cropState:R,aspectRatio:N,handleRemove:z,handleReorder:ee}=X({onFilesSelect:r,onReorder:o,onRemove:e,filesPreview:U,dropzoneOptions:{accept:{"image/*":[".jpeg",".jpg",".png",".gif",".webp"]},multiple:!0,disabled:n,...T},enableCrop:C,customAspectRatio:b,convertToWebp:M,maxFiles:A,cropSize:c,uploadFiles:m}),{getRootProps:oe,getInputProps:ae,isDragActive:pe,isDragReject:de}=y,{cropModalOpen:me,imagePreview:ce,cropLoading:W,onCropInitialized:V,handleCropSave:K,handleCropCancel:re,currentImageIndex:G,totalPendingImages:i}=R,j=!!v?.filter(h=>!!h.id).length,Z=de||!!p||!!u,f=useMemo(()=>{let h=P??"Ajustar Imagem",D=i>1||G>1?` (${G} de ${i})`:"";return `${h}${D}`},[P,i,G]);return jsxs(ne,{id:s,name:F,uploading:w,disabled:n,dropZoneSxProps:x,tabIndex:E,getRootProps:oe,getInputProps:ae,isDragActive:pe,isError:Z,dropZoneContent:jsx(Fragment,{children:g?jsx(ge,{children:g}):jsx(se,{header:d?.header,description:d?.description})}),children:[jsx(_,{disabled:n,helperText:l,isError:Z}),p?jsx(_,{helperText:p,isError:!0}):null,u?jsx(_,{helperText:u,isError:!0}):null,j&&jsx(Ee,{sx:{my:3,ml:.5},children:jsx(Fe,{files:v,thumbnail:!0,onRemove:z,onReorder:o?ee:void 0})}),jsx(a$6,{open:me,onClose:re,label:f,imageSrc:ce,aspectRatio:N,onInitialized:V,onSave:K,loading:W,cropSize:c})]})},ct=memo(mt);var It=({onFileSelect:e$1,onRemove:o,createFilesMutation:r,fileDetails:t,id:a,disabled:s,error:n,helperText:p,sx:l,dropZoneSxProps:x,uploading:d,tabIndex:g,...I})=>{let{filesPreview:E,isUploadOrLoadingFiles:A,uploadErrorText:b,uploadFiles:C}=q({createFilesMutation:r,filesDetails:t?[t]:[]}),M=A||d,{file:c,dropzoneProps:F,handleRemove:P}=X({uploadFiles:C,onFileSelect:e$1,onRemove:o,filesPreview:E,dropzoneOptions:{multiple:!1,disabled:s,...I}}),{getRootProps:T,getInputProps:U,isDragActive:O,isDragReject:u}=F,m$1=useCallback(R=>{R.stopPropagation(),P(c||void 0);},[c,P]),w=!!c,v=typeof c=="string",y=u||!!n||!!b;return jsxs(ne,{id:a,uploading:M,disabled:s,dropZoneSxProps:x,tabIndex:g,getRootProps:T,getInputProps:U,isDragActive:O,isError:y,dropZoneContent:jsxs(Fragment,{children:[!w&&jsx(se,{}),w&&jsxs(ge,{component:m.div,...j().inUp,spacing:2,direction:"row",alignItems:"center",sx:{my:1,px:1,py:.75,borderRadius:.75,border:R=>`solid 1px ${R.palette.divider}`,...l},children:[jsx(Pe,{file:c}),jsxs(ge,{flexGrow:1,sx:{minWidth:0},children:[jsx(qe,{variant:"subtitle2",noWrap:!0,children:v?c:c.name}),jsx(qe,{variant:"caption",sx:{color:"text.secondary"},children:v?"":e(c.size)})]}),o&&jsx(a$3,{title:"Remover arquivo",children:jsx(to,{edge:"end",size:"small",disabled:s,"aria-label":"Remover arquivo",onClick:m$1,children:jsx(a$4,{icon:"DELETE_MARK_BUTTON_02",width:16})})})]})]}),children:[jsx(_,{disabled:s,helperText:p,isError:y}),n?jsx(_,{helperText:n,isError:!0}):null,b?jsx(_,{helperText:b,isError:!0}):null]})},Pt=memo(It);var Dt=({onRemove:e,onFileSelect:o,createFilesMutation:r,fileDetails:t,id:a,disabled:s,error:n,helperText:p,dropZoneSxProps:l,placeholderProps:x,placeholderAlt:d,uploading:g,tabIndex:I,aspectRatio:E,enableCrop:A=!0,convertToWebp:b=!0,name:C,label:M,cropSize:c,sx:F,maxWidth:P,maxHeight:T,...U})=>{let{filesPreview:O,isUploadOrLoadingFiles:u,uploadErrorText:m,uploadFiles:w}=q({createFilesMutation:r,filesDetails:t?[t]:[]}),[v,y]=useState(!1),{file:R,dropzoneProps:N,cropState:z,handleRemove:ee,aspectRatio:oe}=X({onFileSelect:o,onRemove:e,dropzoneOptions:{accept:{"image/*":[".jpeg",".jpg",".png",".gif",".webp"]},multiple:!1,disabled:s,...U},filesPreview:O,enableCrop:A,customAspectRatio:E,convertToWebp:b,cropSize:c,uploadFiles:w}),{getRootProps:ae,getInputProps:pe,isDragActive:de,isDragReject:me}=N,{cropModalOpen:ce,imagePreview:W,cropLoading:V,onCropInitialized:K,handleCropSave:re,handleCropCancel:G}=z,i=useCallback(()=>{ee(R||void 0);},[R,ee]),j=!!R,Z=me||!!n||!!m,f=g||u,h=j?{opacity:0}:{opacity:1},D=l?.width;return useEffect(()=>{j||y(!1);},[j]),jsxs(ye,{sx:{...F,...D&&{width:D}},children:[(f||v)&&jsx(a$7,{}),jsxs(ne,{id:a,uploading:f,disabled:s,dropZoneSxProps:l,tabIndex:I,getRootProps:ae,getInputProps:pe,isDragActive:de,isError:Z,name:C,dropZoneContent:jsxs(Fragment,{children:[d?jsx(ge,{sx:h,children:d}):jsx(se,{sx:h,header:x?.title,description:x?.description}),j&&jsx(Ze,{file:R,cropSize:c,isLoading:v,isUploading:f,onLoading:y,aspectRatio:oe,maxWidth:P,maxHeight:T})]}),children:[jsx(_,{disabled:s,helperText:p,isError:Z}),n?jsx(_,{helperText:n,isError:!0}):null,m?jsx(_,{helperText:m,isError:!0}):null,j&&e&&jsx(no,{size:"small",onClick:i,disabled:s,label:"Remover arquivo",children:jsx(a$4,{icon:"DELETE_MARK_BUTTON_02",width:16})}),jsx(a$6,{open:ce,onClose:G,label:M??"Ajustar Imagem",imageSrc:W,aspectRatio:oe,onInitialized:K,onSave:re,loading:V,cropSize:c})]})]})},Rt=memo(Dt);var Lt=({onRemove:e,onFileSelect:o,createFilesMutation:r,fileDetails:t,disabled:a,label:s,id:n,tabIndex:p,error:l,helperText:x,sx:d,name:g,maxSize:I,uploading:E,aspectRatio:A=1,enableCrop:b=!0,convertToWebp:C=!0,cropSize:M,...c})=>{let[F,P]=useState(!1),{filesPreview:T,isUploadOrLoadingFiles:U,uploadErrorText:O,uploadFiles:u}=q({createFilesMutation:r,filesDetails:t?[t]:[]}),{file:m,dropzoneProps:w,cropState:v,handleRemove:y}=X({filesPreview:T,onFileSelect:o,onRemove:e,dropzoneOptions:{accept:{"image/*":[".jpeg",".jpg",".png",".gif",".webp"]},multiple:!1,disabled:a,maxSize:I,...c},enableCrop:b,customAspectRatio:A,convertToWebp:C,cropSize:M,uploadFiles:u}),{getRootProps:R,getInputProps:N,isDragActive:z,isDragReject:ee}=w,{cropModalOpen:oe,imagePreview:ae,cropLoading:pe,onCropInitialized:de,handleCropSave:me,handleCropCancel:ce}=v,W=ee||!!l||!!O,V=F||U||E,K=!!e,re=useRef(t?.url||""),G=useRef();useEffect(()=>{if(!m){re.current="",G.current=void 0;return}if(G.current===m.id)return;G.current=m.id,P(!0);let Z=URL.createObjectURL(m);return re.current=Z,()=>{URL.revokeObjectURL(Z);}},[m]);let i=()=>{P(!1);},j=useCallback(()=>K&&m?()=>y(m):R().onClick,[K,m,R,y]);return jsxs(Fragment,{children:[jsxs(ge,{sx:{alignItems:"center"},children:[jsxs(uo,{sx:d,isError:W,isDragActive:z,hasFile:!!m,...R(),onClick:j(),children:[jsxs(co,{children:[V&&jsx(go,{children:jsx(yt,{size:135,thickness:2,color:"primary"})}),m&&jsx(fo,{alt:"Avatar Preview",src:re.current,onLoad:i,...V&&{sx:{filter:"blur(5px) !important",scale:1.2,opacity:.7}}}),!m&&!V&&jsxs(je,{isError:W,hasFile:!1,children:[jsx(a$4,{icon:"ADD_IMAGE",width:32}),jsx(qe,{variant:"caption",textAlign:"center",sx:{color:W?"error.main":"text.disabled"},children:"Adicionar foto"})]}),m&&!V&&jsxs(je,{isError:W,hasFile:!0,children:[jsx(a$4,{icon:K?"DELETE_MARK_BUTTON_02":"ADD_IMAGE",width:32}),jsx(qe,{variant:"caption",textAlign:"center",sx:{color:W?"error.main":"common.white"},children:K?"Remover foto":"Alterar foto"})]})]}),jsx("input",{name:g,id:n,tabIndex:p,...N()})]}),jsx(ge,{sx:{alignItems:"center",mt:-.5},children:jsx(_,{helperText:x,disabled:a,isError:W})}),O?jsx(_,{helperText:O,isError:!0}):null,l?jsx(_,{helperText:l,isError:!0}):null]}),oe&&ae&&jsx(a$6,{open:oe,onClose:ce,label:s??"Ajustar Imagem",imageSrc:ae,aspectRatio:A,onInitialized:de,onSave:me,loading:pe,cropSize:M,cropShape:"round"})]})},Mt=memo(Lt);var Nt=({error:e,name:o,disabled:r,sx:t,...a})=>{let{getRootProps:s,getInputProps:n,isDragActive:p,isDragReject:l}=useDropzone({disabled:r,...a}),x=l||e;return jsxs(so,{...s(),isDragActive:p,hasError:!!x,disabled:!!r,sx:t,"data-testid":"upload-box",children:[jsx("input",{name:o,...n()}),"Selecionar arquivo"]})},Bt=memo(Nt);
36
+ var Wo=({helperText:e,disabled:o,isError:r})=>e?jsx(Bo,{error:r,sx:t=>({mx:"14px",color:o?t.palette.grey[500]:void 0}),children:e}):null,S=memo(Wo);var ye=styled(ge)({position:"relative",width:"100%",borderRadius:8,overflow:"hidden","&:hover .actions":{display:"flex"}}),Le=styled(ge)({position:"absolute",top:4,right:4,gap:.5,"& svg":{width:16,height:16}}),ro=styled(Ee,{shouldForwardProp:e=>!["isDragActive","isError","disabled"].includes(e)})(({theme:e,isDragActive:o,isError:r,disabled:t})=>({outline:"none",cursor:"pointer",overflow:"hidden",position:"relative",padding:e.spacing(5),borderRadius:e.shape.borderRadius,transition:e.transitions.create("padding"),backgroundColor:e.palette.background.neutral,border:`1px dashed ${alpha(e.palette.grey[500],.32)}`,...o&&{opacity:.72},...r&&{color:e.palette.error.main,backgroundColor:e.palette.error.lighter,borderColor:e.palette.error.light},...t&&{opacity:.48,pointerEvents:"none"},"&:hover":{opacity:.72}}));styled(ge)(({theme:e})=>({display:"none",position:"absolute",alignItems:"center",justifyContent:"center",flexDirection:"row",gap:12,width:"100%",height:"100%",backgroundColor:alpha(e.palette.primary.main,.9),zIndex:999,button:{"&, &:hover, &:focus":{backgroundColor:"#fff"}}}));var to=styled(jo)(({theme:e})=>({position:"relative",zIndex:999,pointerEvents:"auto",color:e.palette.grey[700],backgroundColor:e.palette.grey[100],"&:hover":{color:e.palette.grey[900],backgroundColor:e.palette.grey[300]}})),Ge=styled("div")({position:"relative",zIndex:1,userSelect:"none","&:hover":{zIndex:2}}),io=styled(ge,{shouldForwardProp:e=>!["isDragging"].includes(e)})(({theme:e,width:o,isDragging:r})=>({width:o,height:100,alignItems:"center",display:"inline-flex",justifyContent:"center",margin:e.spacing(.5),padding:e.spacing(2,1,2,1),gap:e.spacing(1),borderRadius:e.spacing(1.25),overflow:"hidden",position:"relative",border:`solid 1px ${e.palette.divider}`,backgroundColor:e.palette.common.white,zIndex:1,transition:"box-shadow 150ms ease-in-out",boxShadow:r?`0 0 0 2px ${e.palette.primary.main}, ${e.customShadows.z8}, inset 0 0 0 1000px ${alpha(e.palette.primary.main,.06)}`:"0px 0px 0px 0px rgba(0, 0, 0, 0)"})),ao=styled(m.div)(({theme:e,width:o,isDragging:r})=>({width:o,height:60,alignItems:"center",display:"inline-flex",justifyContent:"center",margin:e.spacing(.5),padding:e.spacing(2),borderRadius:e.spacing(1.25),overflow:"hidden",position:"relative",border:`solid 1px ${e.palette.divider}`,backgroundColor:e.palette.common.white,zIndex:1,transition:"box-shadow 150ms ease-in-out",boxShadow:r?`0 0 0 2px ${e.palette.primary.main}, ${e.customShadows.z8}, inset 0 0 0 1000px ${alpha(e.palette.primary.main,.06)}`:"0px 0px 0px 0px rgba(0, 0, 0, 0)"})),no=styled(a)(({theme:e})=>({top:16,right:16,zIndex:9,position:"absolute",color:e.palette.common.white,backgroundColor:alpha(e.palette.grey[900],.72),"&:hover":{backgroundColor:alpha(e.palette.grey[900],.48)}})),so=styled(Ee,{shouldForwardProp:e=>e!=="isDragActive"&&e!=="disabled"&&e!=="hasError"})(({theme:e,isDragActive:o,disabled:r,hasError:t})=>({width:64,height:64,flexShrink:0,display:"flex",borderRadius:1,cursor:"pointer",alignItems:"center",color:e.palette.text.disabled,justifyContent:"center",backgroundColor:alpha(e.palette.grey[500],.08),border:`dashed 1px ${alpha(e.palette.grey[500],.16)}`,...o&&{opacity:.72},...r&&{opacity:.48,pointerEvents:"none"},...t&&{color:e.palette.error.main,borderColor:e.palette.error.main,backgroundColor:alpha(e.palette.error.main,.08)},"&:hover":{opacity:.72}})),lo=styled(Ee)(({theme:e})=>({padding:e.spacing(1),top:0,left:0,width:"100%",height:"100%",position:"absolute",display:"flex",justifyContent:"center",alignItems:"center",transition:"all 0.3s ease-in-out",filter:"blur(0)","&:hover":{filter:"blur(3px)"}})),po=styled("img",{shouldForwardProp:e=>e!=="aspectRatio"&&e!=="isLoading"&&e!=="isUploading"&&e!=="maxWidth"&&e!=="maxHeight"&&e!=="cropSize"})(({theme:e,aspectRatio:o,maxWidth:r,maxHeight:t,isLoading:n,isUploading:s})=>({borderRadius:e.shape.borderRadius,objectFit:"cover",position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%) scale(1)",filter:"blur(0)",zIndex:1,maxWidth:r,maxHeight:t,backgroundColor:e.palette.background.paper,aspectRatio:Math.abs(o),...Math.abs(o)>1?{width:"calc(100% - 16px)",height:void 0}:{width:void 0,height:"calc(100% - 16px)"},transition:"all 0.5s ease-in-out",...n||s?{opacity:0,filter:"blur(1.5rem)",transform:"translate(-50%, -50%) scale(0.7)"}:{},"&:hover":{transition:"all 0.2s ease-in-out"}})),mo=styled("img",{shouldForwardProp:e=>e!=="isLoading"&&e!=="isUploading"})(({isLoading:e,isUploading:o})=>({width:"100%",height:"100%",objectFit:"cover",top:0,left:0,filter:"blur(1.5rem)",transform:"scale(1.1)",position:"absolute",zIndex:0,transition:"opacity 0.3s ease-in-out",...e&&{opacity:0},...o&&{opacity:.7,filter:"blur(2rem)"}})),co=styled(ge)({width:"100%",height:"100%",position:"relative",overflow:"hidden",borderRadius:"50%",justifyContent:"center",alignItems:"center"});styled(Zo)(({theme:e})=>({py:1,px:2,mt:3,textAlign:"left",borderStyle:"dashed",borderColor:"error.main",backgroundColor:alpha(e.palette.error.main,.08)}));var je=styled(Ee,{shouldForwardProp:e=>e!=="isError"&&e!=="hasFile"})(({theme:e,isError:o,hasFile:r})=>({top:0,gap:e.spacing(1),left:0,width:"100%",height:"100%",zIndex:9,display:"flex",borderRadius:"50%",position:"absolute",alignItems:"center",color:e.palette.text.disabled,flexDirection:"column",justifyContent:"center",backgroundColor:alpha(e.palette.grey[500],.08),transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.shorter}),"&:hover":{opacity:.92},...o&&{color:e.palette.error.main},...r&&{zIndex:9,opacity:0,color:e.palette.common.white,backgroundColor:alpha(e.palette.common.black,.54)}})),go=styled(ge)({top:0,left:0,right:0,bottom:0,position:"absolute",zIndex:10,alignItems:"center",justifyContent:"center",opacity:.8});styled(ge)(({theme:e})=>({padding:20,justifyContent:"center",alignItems:"center",gap:4,alignSelf:"stretch",borderRadius:12,background:e.palette.grey[200],color:e.palette.text.disabled,height:160}));var uo=styled(Ee,{shouldForwardProp:e=>e!=="isDragActive"&&e!=="isError"&&e!=="hasFile"})(({theme:e,isDragActive:o,disabled:r,isError:t,hasFile:n})=>({padding:e.spacing(1),margin:"auto",width:144,height:144,cursor:"pointer",overflow:"hidden",borderRadius:"50%",border:`1px dashed ${alpha(e.palette.grey[500],.2)}`,...o&&{opacity:.72},...r&&{opacity:.48,pointerEvents:"none"},...t&&{borderColor:"error.main"},...n&&{...t&&{bgcolor:alpha(e.palette.error.main,.08)},"&:hover .upload-placeholder":{opacity:1},"& img":{filter:"blur(0)"},"&:hover img":{filter:"blur(3px)"}}})),fo=styled("img")({width:"100%",height:"100%",borderRadius:"50%",objectFit:"cover",transition:"all 0.3s ease-in-out"}),xo=styled(a)(({theme:e})=>({backgroundColor:alpha(e.palette.grey[900],.72),color:e.palette.common.white,"&:hover":{backgroundColor:alpha(e.palette.grey[600],.64),color:e.palette.common.white},"& svg":{width:14,height:14}}));var qo=({onRemove:e,sx:o,file:r,disableDrag:t,attributes:n,listeners:s,innerWidth:a,isDragging:l})=>{let p=r?.id;return p?jsx($o,{anchorOrigin:{vertical:"top",horizontal:"left"},children:jsxs(ao,{width:a,isDragging:l,"data-testid":`preview-multi-img-${p}`,...j().inUp,sx:o,children:[jsx(a$2,{disableDrag:t,...n,...s}),jsx(Pe,{imageView:!0,file:r}),jsx(Le,{sx:{position:"absolute",right:3,top:3,zIndex:1},children:e&&jsx(xo,{size:"small",label:"Remover arquivo",onClick:()=>e(r),icon:"DELETE_MARK_BUTTON_02"})})]})},`badge-${p}`):null},ho=memo(qo);var Yo=({file:e$1,thumbnail:o,onRemove:r,sx:t,disableDrag:n=!1})=>{let s=e$1.size||0,a$1=e$1.name||e$1.id,l=e$1.id,p=typeof e$1=="string",c=n?70:80,{attributes:d,listeners:x$1,setNodeRef:I,transform:v,transition:F,isDragging:A}=useSortable({id:l,disabled:n}),M={transform:x.Transform.toString(v),transition:F,display:"inline-block",alignItems:"center",justifyContent:"center",width:`${c+8}px`,height:"68px"};return o&&e$1?jsx(Ge,{ref:I,style:M,children:jsx(ho,{innerWidth:c,isDragging:A,sx:t,file:e$1,disableDrag:n,attributes:d,listeners:x$1,onRemove:r})}):jsx(Ge,{ref:I,style:{...M,height:"80px",width:`${c+38}px`},children:jsxs(io,{width:c+30,isDragging:A,"data-testid":`preview-multi-img-${l}`,...j().inUp,sx:t,children:[jsx(a$2,{disableDrag:n,...d,...x$1}),e$1&&jsx(Pe,{file:e$1}),jsxs(ge,{flexGrow:1,sx:{width:"100%"},children:[jsx(a$3,{title:a$1,children:jsx(qe,{variant:"subtitle2",noWrap:!0,children:a$1})}),jsx(qe,{variant:"caption",sx:{color:"text.secondary"},children:p?"":e(s)})]}),jsx(Le,{children:r&&jsx(a,{size:"small",label:"Remover arquivo",onClick:()=>r(e$1),icon:"DELETE_MARK_BUTTON_02"})})]})})},bo=memo(Yo);var ur=({thumbnail:e,files:o,onRemove:r,onReorder:t,sx:n})=>{let s=useSensors(useSensor(PointerSensor,{activationConstraint:{distance:8}}),useSensor(KeyboardSensor,{coordinateGetter:sortableKeyboardCoordinates})),a=useCallback(p=>{let{active:c,over:d}=p;if(!(!c||!d||c.id===d.id)&&t){let x=o.findIndex(({id:v})=>v===c.id),I=o.findIndex(({id:v})=>v===d.id);x!==-1&&I!==-1&&t(x,I,o);}},[o,t]),l=jsx(AnimatePresence,{initial:!1,children:o.map(p=>jsx(bo,{sx:n,id:`preview-file-${p.id}`,file:p,onRemove:r,thumbnail:e,disableDrag:!t},`preview-file-${p.id}`))});return t?jsx(DndContext,{sensors:s,collisionDetection:closestCenter,onDragEnd:a,modifiers:[restrictToHorizontalAxis,restrictToParentElement,restrictToWindowEdges],children:jsx(SortableContext,{items:o.map(p=>p.id),strategy:horizontalListSortingStrategy,children:l})}):l},Ae=memo(ur);var Eo=forwardRef(({onLoading:e,aspectRatio:o,cropSize:r,...t},n)=>{let{maxWidth:s,maxHeight:a}=useMemo(()=>r&&typeof r=="object"?{maxWidth:r.width,maxHeight:r.height}:r&&typeof r=="number"?{maxWidth:r,maxHeight:r}:{maxWidth:"100%",maxHeight:"100%"},[r]);a$1(()=>{e?.(!0);}),useLayoutEffect(()=>{typeof n=="object"&&n?.current?e?.(!n.current.complete):e?.(!1);},[n,e]);function l(){e?.(!1);}return jsx(po,{...t,maxWidth:s,maxHeight:a,ref:n,aspectRatio:o,onLoad:l,onError:l})});Eo.displayName="LoadingPreviewImage";var Fo=Eo;var vr=({file:e,aspectRatio:o=1,isUploading:r,isLoading:t,onLoading:n,cropSize:s,maxWidth:a,maxHeight:l})=>{let p=useRef(null),c=e?.id||"",d=e?.name||"",x=URL.createObjectURL(e);return c?jsxs(lo,{className:"single-file-preview-box",children:[jsx(Fo,{className:"single-file-preview-img",aspectRatio:o,cropSize:s,isLoading:t,isUploading:r,alt:d,src:x,ref:p,loading:"lazy",onLoading:n,onLoad:()=>n?.(!1),onError:()=>n?.(!1),maxWidth:a,maxHeight:l},`image-preview-${c}`),jsx(mo,{className:"single-file-preview-bg",alt:d,src:x,isLoading:t,isUploading:r})]}):null},Ze=memo(vr);var Fr=["pdf"],Ar=["txt"],wr=["psd"],Dr=["doc","docx"],Rr=["xls","xlsx"],_r=["zip","rar","iso"],Sr=["ai","eps"],Tr=["ppt","pptx"],Or=["wav","aif","mp3","aac"],Ur=["jpg","jpeg","gif","bmp","png","svg","webp"],yr=["m4v","avi","mpg","mp4","webm"];function He(e){let o,r=wo(e);return Ar.includes(r)?o="txt":_r.includes(r)?o="zip":Or.includes(r)?o="audio":Ur.includes(r)?o="image":yr.includes(r)?o="video":Dr.includes(r)?o="word":Rr.includes(r)?o="excel":Tr.includes(r)?o="powerpoint":Fr.includes(r)?o="pdf":wr.includes(r)?o="photoshop":Sr.includes(r)?o="illustrator":e?.startsWith("http")?o="image":o=wo(e),o}function Do(e){let o;switch(He(e)){case"folder":o="IC_FOLDER";break;case"txt":o="IC_TXT";break;case"zip":o="IC_ZIP";break;case"audio":o="IC_AUDIO";break;case"video":o="IC_VIDEO";break;case"word":o="IC_WORD";break;case"excel":o="IC_EXCEL";break;case"powerpoint":o="IC_POWER_POINT";break;case"pdf":o="IC_PDF";break;case"photoshop":o="IC_PTS";break;case"illustrator":o="IC_AI";break;case"image":o="IC_IMG";break;default:o="IC_FILE";}return o}function wo(e){return e&&e.split(".").pop()||""}function Vi(e){return e.split("/").pop()}var Ce={root:"mnl__file__thumbnail__root",img:"mnl__file__thumbnail__img",icon:"mnl__file__thumbnail__icon",removeBtn:"mnl__file__thumbnail__remove__button",downloadBtn:"mnl__file__thumbnail__download__button"},Pe=({sx:e,file:o,tooltip:r,onRemove:t,imageView:n,slotProps:s,onDownload:a,...l})=>{let p=URL.createObjectURL(o),c=o?.name||"",x=o.type.startsWith("image/")?"image":He(p),I=jsx(Ee,{component:"img",src:p,className:Ce.img,sx:{width:1,height:1,objectFit:"cover",borderRadius:"inherit",...s?.img}}),v=jsx(a$4,{icon:Do(x),sx:{width:32,height:32,flexShrink:0,...e}}),F=jsxs(ge,{component:"span",className:Ce.root,sx:{width:36,height:36,flexShrink:0,borderRadius:1.25,alignItems:"center",position:"relative",display:"inline-flex",justifyContent:"center",...e},...l,children:[x==="image"&&n?I:v,t&&jsx(Mr,{onClick:t,className:Ce.removeBtn,sx:s?.removeBtn,children:jsx(a$4,{icon:"CLOSE_MARK_BUTTON",width:24})}),a&&jsx(jo,{onClick:a,className:Ce.downloadBtn,sx:s?.downloadBtn,size:"small",children:jsx(a$4,{icon:"ARROW_DOWN_CICLE",width:12})})]});return r?jsx(zr,{arrow:!0,title:c,slotProps:{popper:{modifiers:[{name:"offset",options:{offset:[0,-12]}}]}},children:F}):F};var na=e=>e.startsWith("image/"),Ro=(e,o=.8)=>new Promise((r,t)=>{let n=document.createElement("canvas"),s=n.getContext("2d"),a=new Image;a.onload=()=>{n.width=a.width,n.height=a.height,s?(s.drawImage(a,0,0),n.toBlob(l=>{if(l){let p=new File([l],e.name.replace(/\.[^/.]+$/,".webp"),{type:"image/webp",lastModified:Date.now()});r(p);}else t(new Error("Falha ao converter para WebP"));},"image/webp",o)):t(new Error("N\xE3o foi poss\xEDvel obter contexto do canvas"));},a.onerror=()=>t(new Error("Falha ao carregar imagem")),a.src=URL.createObjectURL(e);}),_o=e=>{let o=e.match(/filename\*=UTF-8''([^;]+)|filename="?([^";]+)"?/i);return o?.[1]||o?.[2]||""};var Zr=({onFilesSelect:e$1,onFileSelect:o,onReorder:r,onRemove:t,uploadFiles:n,filesPreview:s,dropzoneOptions:a,enableCrop:l=!1,customAspectRatio:p,convertToWebp:c=!0,cropSize:d,maxFiles:x})=>{let{showErrorMessage:I}=a$8(),v=useMemo(()=>p||(d&&typeof d!="number"?d.width/d.height:1),[p,d]),[F,A]=useState([]),[M,E]=useState(!1),[g,P]=useState(null),[R,U]=useState(null),[C,u]=useState(""),[b,m]=useState(!1),[_,O]=useState([]),[L,w]=useState(0),[$,q]=useState(0),ee=f=>{if(f.length<1)return;let h=f[0];P(h),w(y=>y+1);let D=new FileReader;D.onload=()=>{u(D.result),E(!0);},D.readAsDataURL(h);},oe=(f,h)=>{U(h);},ae=async f=>!g||!R?null:new Promise(h=>{let D=document.createElement("canvas"),y=D.getContext("2d"),j=new Image;j.onload=async()=>{let{width:fe,height:we,x:De,y:Co}=R,ko=Math.abs(v),Re=fe,_e=we;d&&typeof d=="object"?(Re=d.width,_e=d.height):d&&typeof d=="number"&&(Re=d,_e=d/ko),D.width=Re,D.height=_e,y?(y.drawImage(j,De,Co,fe,we,0,0,Re,_e),D.toBlob(async Je=>{if(Je){let We=new File([Je],g.name,{type:g.type,lastModified:Date.now()});if(c)try{We=await Ro(We);}catch(zo){I(zo,"Erro ao converter para WebP");}let Qe=We;Qe.id=f,h(Qe);}else h(null);},"image/png")):h(null);},j.src=C;}),pe=async()=>{if(!(!g||!R||_.length===0)){m(!0);try{let f=_[0],h=await ae(f.id);if(h){let y=await n([h]);y&&(!e$1&&!o&&A(j=>[...j,...y]),e$1?.([...s||[],...y]),o?.(h));}E(!1),m(!1),u(""),P(null);let D=_.slice(1);O(D),ee(D);}catch(f){I(f,"Erro ao processar imagem"),m(!1);}}},de=()=>{E(!1),m(!1),u(""),P(null),O([]),w(0),q(0);},me=async f=>{if(f.length===0)return;let h=Object.keys(a?.accept||{}).some(y=>y.includes("image/")),D=F.length+f.length;if(x&&D>x){I(new Error(`M\xE1ximo de ${x} arquivos`),"Erro ao fazer upload");return}try{if(h&&l){let j=f.filter(fe=>fe.type.startsWith("image/")).map((fe,we)=>{let De=fe;return De.id=`temp-crop-${Date.now()}-${we}`,De});q(j.length),w(0),O(j),ee(j);}else {let y=await n(f);y&&(!e$1&&!o&&A(j=>[...j,...y]),e$1?.([...s||[],...y]),o?.(y[0]));}}catch(y){I(y,"Erro ao processar arquivos");}},ce=f=>{if(!f.length)return;let h=f[0]?.errors[0]?.code,D=a?.maxSize||3145728;I(h==="file-too-large"?new Error(`O arquivo excede o tamanho m\xE1ximo de ${e(D)}`):h==="file-invalid-type"?new Error("Formato de arquivo n\xE3o suportado"):f[0]?.errors[0]||new Error("Erro ao enviar arquivo"),"Erro ao fazer upload");},{getRootProps:N,getInputProps:V,isDragActive:K,isDragReject:re,fileRejections:B}=useDropzone({onDrop:me,onDropRejected:ce,...a}),i=f=>{if(!f){t||A([]),t?.(void 0);return}let h=F.filter(D=>D.id!==f.id);t||A(h),t?.(f);},W=(f,h,D)=>{r?.(f,h,D);},G=useRef("");return useEffect(()=>{let f=s?.map(h=>h.id).join(",")||"";f!==G.current&&(G.current=f,A(s||[]));},[s]),{file:F?.[0],files:F,aspectRatio:v,dropzoneProps:{getRootProps:N,getInputProps:V,isDragActive:K,isDragReject:re,fileRejections:B},cropState:{cropModalOpen:M,imagePreview:C,cropLoading:b,setCropModalOpen:E,onCropInitialized:oe,handleCropSave:pe,handleCropCancel:de,currentImageIndex:L,totalPendingImages:$},setInitialFiles:A,handleRemove:i,handleReorder:W}},H=Zr;var Xe=(i=>(i.APPLICATION_OCTET_STREAM="application/octet-stream",i.IMAGE_JPEG="image/jpeg",i.IMAGE_JPG="image/jpg",i.IMAGE_PNG="image/png",i.IMAGE_GIF="image/gif",i.IMAGE_WEBP="image/webp",i.IMAGE_SVG="image/svg+xml",i.IMAGE_BMP="image/bmp",i.IMAGE_TIFF="image/tiff",i.IMAGE_ICO="image/x-icon",i.IMAGE_AVIF="image/avif",i.APPLICATION_PDF="application/pdf",i.TEXT_PLAIN="text/plain",i.TEXT_CSV="text/csv",i.APPLICATION_RTF="application/rtf",i.APPLICATION_MSWORD="application/msword",i.APPLICATION_DOCX="application/vnd.openxmlformats-officedocument.wordprocessingml.document",i.APPLICATION_MSEXCEL="application/vnd.ms-excel",i.APPLICATION_XLSX="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",i.APPLICATION_MSPOWERPOINT="application/vnd.ms-powerpoint",i.APPLICATION_PPTX="application/vnd.openxmlformats-officedocument.presentationml.presentation",i.APPLICATION_ODT="application/vnd.oasis.opendocument.text",i.APPLICATION_ODS="application/vnd.oasis.opendocument.spreadsheet",i.APPLICATION_ODP="application/vnd.oasis.opendocument.presentation",i.APPLICATION_XML="application/xml",i.TEXT_XML="text/xml",i.TEXT_HTML="text/html",i.TEXT_CSS="text/css",i.APPLICATION_JSON="application/json",i.TEXT_JAVASCRIPT="text/javascript",i.APPLICATION_ZIP="application/zip",i.APPLICATION_GZIP="application/gzip",i.APPLICATION_RAR="application/vnd.rar",i.APPLICATION_7Z="application/x-7z-compressed",i.AUDIO_MPEG="audio/mpeg",i.AUDIO_WAV="audio/wav",i.AUDIO_OGG="audio/ogg",i.AUDIO_WEBM="audio/webm",i.AUDIO_AAC="audio/aac",i.VIDEO_MP4="video/mp4",i.VIDEO_MPEG="video/mpeg",i.VIDEO_OGG="video/ogg",i.VIDEO_WEBM="video/webm",i.VIDEO_QUICKTIME="video/quicktime",i))(Xe||{}),ke=(e=>(e["application/octet-stream"]="APPLICATION_OCTET_STREAM",e["image/jpeg"]="IMAGE_JPEG",e["image/jpg"]="IMAGE_JPG",e["image/png"]="IMAGE_PNG",e["image/gif"]="IMAGE_GIF",e["image/webp"]="IMAGE_WEBP",e["image/svg+xml"]="IMAGE_SVG",e["image/bmp"]="IMAGE_BMP",e["image/tiff"]="IMAGE_TIFF",e["image/x-icon"]="IMAGE_ICO",e["image/avif"]="IMAGE_AVIF",e["application/pdf"]="APPLICATION_PDF",e["text/plain"]="TEXT_PLAIN",e["text/csv"]="TEXT_CSV",e["application/rtf"]="APPLICATION_RTF",e["application/msword"]="APPLICATION_MSWORD",e["application/vnd.openxmlformats-officedocument.wordprocessingml.document"]="APPLICATION_DOCX",e["application/vnd.ms-excel"]="APPLICATION_MSEXCEL",e["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"]="APPLICATION_XLSX",e["application/vnd.ms-powerpoint"]="APPLICATION_MSPOWERPOINT",e["application/vnd.openxmlformats-officedocument.presentationml.presentation"]="APPLICATION_PPTX",e["application/vnd.oasis.opendocument.text"]="APPLICATION_ODT",e["application/vnd.oasis.opendocument.spreadsheet"]="APPLICATION_ODS",e["application/vnd.oasis.opendocument.presentation"]="APPLICATION_ODP",e["application/xml"]="APPLICATION_XML",e["text/xml"]="TEXT_XML",e["text/html"]="TEXT_HTML",e["text/css"]="TEXT_CSS",e["application/json"]="APPLICATION_JSON",e["text/javascript"]="TEXT_JAVASCRIPT",e["application/zip"]="APPLICATION_ZIP",e["application/gzip"]="APPLICATION_GZIP",e["application/vnd.rar"]="APPLICATION_RAR",e["application/x-7z-compressed"]="APPLICATION_7Z",e["audio/mpeg"]="AUDIO_MPEG",e["audio/wav"]="AUDIO_WAV",e["audio/ogg"]="AUDIO_OGG",e["audio/webm"]="AUDIO_WEBM",e["audio/aac"]="AUDIO_AAC",e["video/mp4"]="VIDEO_MP4",e["video/mpeg"]="VIDEO_MPEG",e["video/ogg"]="VIDEO_OGG",e["video/webm"]="VIDEO_WEBM",e["video/quicktime"]="VIDEO_QUICKTIME",e))(ke||{});var qr=({createFilesMutation:e,filesDetails:o})=>{let{showErrorMessage:r}=a$8(),[t,n]=useState(!1),[s,a]=useState(!1),[l,p]=useState(null),[c,d]=useState([]),x=useMemo(()=>c?.[0],[c]),I=s||t,v=useCallback(async E=>{if(!E.length){d([]),a(!1);return}a(!0);try{let P=(await Promise.all(E.map(async({url:R,id:U,name:C})=>{try{if(!R)return null;let u=await fetch(R);if(!u.ok)throw new Error(u.statusText);let b=await u.blob(),m=null;if(!C){let L=u.headers.get("content-disposition")||void 0;if(L){let w=_o(L);if(w)try{m=decodeURIComponent(w);}catch{m=w;}}}let _=m||C||U,O=new File([b],_,{type:b.type});return O.id=U,O.url=R,O}catch{return null}}))).filter(Boolean);d(P),a(!1);}catch(g){r(g,"Erro ao carregar arquivos"),d([]),a(!1);}},[r]),F=useRef("");useEffect(()=>{let E=o?.map(({id:g})=>g).join(",")||"";E!==F.current&&(async()=>(F.current=E,await v(o)))();},[o,v]);let A=async E=>{if(!E||!Array.isArray(E))throw new Error("Arquivos inv\xE1lidos");let g=E.filter(P=>P instanceof File);if(g?.length){n(!0);try{let P=g.map(u=>{let b=u.type||"application/octet-stream",m=ke[b];if(!m)throw new Error(`Tipo de arquivo n\xE3o suportado: ${b}`);return {file:u,mimeType:b,contentTypeEnum:m}}),R=await e({files:P.map(({file:u,contentTypeEnum:b})=>({content_type:b,name:u.name}))}).unwrap(),U=R.files.map((u,b)=>{let m=P[b].file,_=m;return _.id=u.id,_.url=URL.createObjectURL(m),_});return await(await Promise.all(R.files.map((u,b)=>{let{mimeType:m}=P[b],_=U[b];return fetch(u.url,{method:"PUT",headers:{"Content-Type":m,"Content-Disposition":`inline; filename="${_.name}"`,"X-File-Id":u.id},body:_})}))).forEach(async u=>{if(!u.ok)throw new Error("Erro no upload do arquivo.")}),U}catch(P){throw p(P),r(P,"Erro no upload"),P}finally{n(!1);}}},M=useMemo(()=>l&&l instanceof Error?l.message:l,[l]);return {setFilesPreview:d,uploadFiles:A,filesPreview:c,filePreview:x,isLoadingPreview:s,isUploadingFiles:t,isUploadOrLoadingFiles:I,uploadErrorText:M}},X=qr;var Kr=({sx:e,id:o,name:r,tabIndex:t,uploading:n,getRootProps:s,getInputProps:a,isDragActive:l,isError:p,disabled:c,dropZoneSxProps:d,dropZoneContent:x,children:I,...v})=>jsxs(ye,{children:[n&&jsx(a$7,{"data-testid":"uploading-progress-bar",sx:{zIndex:1}}),jsxs(Ee,{sx:{width:1,position:"relative",...e},children:[jsxs(ro,{...s(),"data-testid":"drop-zone-styled-area",isError:p,isDragActive:l,disabled:!!c,sx:d,...v,children:[jsx("input",{...a(),id:o,tabIndex:t,name:r}),x]}),I]})]}),ne=Kr;var Yr=({header:e,description:o,sx:r,...t})=>jsxs(ge,{spacing:5,alignItems:"center",justifyContent:"center",direction:{xs:"column",md:"row"},sx:{width:1,textAlign:{xs:"center",md:"left"},...r},...t,children:[jsx(a$5,{sx:{width:220}}),jsxs("div",{children:[jsx(qe,{gutterBottom:!0,variant:"h5",children:e||"Soltar ou selecionar arquivos"}),jsx(qe,{variant:"body2",sx:{color:"text.secondary"},children:o||jsxs(Fragment,{children:["Solte os arquivos aqui ou clique",jsx(qe,{variant:"body2",component:"span",sx:{mx:.5,color:"primary.main",textDecoration:"underline"},children:"procurar"}),"na sua m\xE1quina"]})})]})]}),se=memo(Yr);var it=({onRemove:e,onReorder:o,onFilesSelect:r,createFilesMutation:t,filesDetails:n=[],id:s,disabled:a,error:l,helperText:p,thumbnail:c,dropZoneSxProps:d,uploading:x,tabIndex:I,maxFiles:v,placeholderAlt:F,placeholderProps:A,...M})=>{let{filesPreview:E,isUploadOrLoadingFiles:g,uploadErrorText:P,uploadFiles:R}=X({createFilesMutation:t,filesDetails:n}),{files:U,dropzoneProps:C,handleRemove:u,handleReorder:b}=H({onFilesSelect:r,onReorder:o,onRemove:e,filesPreview:E,dropzoneOptions:{multiple:!0,disabled:a,...M},maxFiles:v,uploadFiles:R}),{getRootProps:m,getInputProps:_,isDragActive:O,isDragReject:L}=C,w=!!U?.filter(q=>!!q.id).length,$=L||!!l||!!P;return jsxs(ne,{id:s,uploading:x||g,disabled:a,dropZoneSxProps:d,tabIndex:I,getRootProps:m,getInputProps:_,isDragActive:O,isError:$,dropZoneContent:jsx(Fragment,{children:F?jsx(ge,{children:F}):jsx(se,{header:A?.header,description:A?.description})}),children:[jsx(S,{disabled:a,helperText:p,isError:$}),l?jsx(S,{helperText:l,isError:!0}):null,P?jsx(S,{helperText:P,isError:!0}):null,w&&jsx(Ee,{sx:{my:3},children:jsx(Ae,{files:U,thumbnail:!!c,onRemove:e?u:void 0,onReorder:o?b:void 0})})]})},at=memo(it);var ct=({onRemove:e,onReorder:o,onFilesSelect:r,createFilesMutation:t,filesDetails:n=[],id:s,disabled:a,error:l,helperText:p,dropZoneSxProps:c,placeholderProps:d,placeholderAlt:x,uploading:I,tabIndex:v,maxFiles:F,aspectRatio:A,enableCrop:M=!0,convertToWebp:E=!0,cropSize:g,name:P,label:R,...U})=>{let{filesPreview:C,isUploadOrLoadingFiles:u,uploadErrorText:b,uploadFiles:m}=X({createFilesMutation:t,filesDetails:n}),_=I||u,{files:O,dropzoneProps:L,cropState:w,aspectRatio:$,handleRemove:q,handleReorder:ee}=H({onFilesSelect:r,onReorder:o,onRemove:e,filesPreview:C,dropzoneOptions:{accept:{"image/*":[".jpeg",".jpg",".png",".gif",".webp"]},multiple:!0,disabled:a,...U},enableCrop:M,customAspectRatio:A,convertToWebp:E,maxFiles:F,cropSize:g,uploadFiles:m}),{getRootProps:oe,getInputProps:ae,isDragActive:pe,isDragReject:de}=L,{cropModalOpen:me,imagePreview:ce,cropLoading:N,onCropInitialized:V,handleCropSave:K,handleCropCancel:re,currentImageIndex:B,totalPendingImages:i}=w,W=!!O?.filter(h=>!!h.id).length,G=de||!!l||!!b,f=useMemo(()=>{let h=R??"Ajustar Imagem",D=i>1||B>1?` (${B} de ${i})`:"";return `${h}${D}`},[R,i,B]);return jsxs(ne,{id:s,name:P,uploading:_,disabled:a,dropZoneSxProps:c,tabIndex:v,getRootProps:oe,getInputProps:ae,isDragActive:pe,isError:G,dropZoneContent:jsx(Fragment,{children:x?jsx(ge,{children:x}):jsx(se,{header:d?.header,description:d?.description})}),children:[jsx(S,{disabled:a,helperText:p,isError:G}),l?jsx(S,{helperText:l,isError:!0}):null,b?jsx(S,{helperText:b,isError:!0}):null,W&&jsx(Ee,{sx:{my:3,ml:.5},children:jsx(Ae,{files:O,thumbnail:!0,onRemove:q,onReorder:o?ee:void 0})}),jsx(a$6,{open:me,onClose:re,label:f,imageSrc:ce,aspectRatio:$,onInitialized:V,onSave:K,loading:N,cropSize:g})]})},gt=memo(ct);var Pt=({onFileSelect:e$1,onRemove:o,createFilesMutation:r,fileDetails:t,id:n,disabled:s,error:a,helperText:l,sx:p,dropZoneSxProps:c,uploading:d,tabIndex:x,...I})=>{let{filesPreview:v,isUploadOrLoadingFiles:F,uploadErrorText:A,uploadFiles:M}=X({createFilesMutation:r,filesDetails:t?[t]:[]}),E=F||d,{file:g,dropzoneProps:P,handleRemove:R}=H({uploadFiles:M,onFileSelect:e$1,onRemove:o,filesPreview:v,dropzoneOptions:{multiple:!1,disabled:s,...I}}),{getRootProps:U,getInputProps:C,isDragActive:u,isDragReject:b}=P,m$1=useCallback(w=>{w.stopPropagation(),R(g||void 0);},[g,R]),_=!!g,O=typeof g=="string",L=b||!!a||!!A;return jsxs(ne,{id:n,uploading:E,disabled:s,dropZoneSxProps:c,tabIndex:x,getRootProps:U,getInputProps:C,isDragActive:u,isError:L,dropZoneContent:jsxs(Fragment,{children:[!_&&jsx(se,{}),_&&jsxs(ge,{component:m.div,...j().inUp,spacing:2,direction:"row",alignItems:"center",sx:{my:1,px:1,py:.75,borderRadius:.75,border:w=>`solid 1px ${w.palette.divider}`,...p},children:[jsx(Pe,{file:g}),jsxs(ge,{flexGrow:1,sx:{minWidth:0},children:[jsx(qe,{variant:"subtitle2",noWrap:!0,children:O?g:g.name}),jsx(qe,{variant:"caption",sx:{color:"text.secondary"},children:O?"":e(g.size)})]}),o&&jsx(a$3,{title:"Remover arquivo",children:jsx(to,{edge:"end",size:"small",disabled:s,"aria-label":"Remover arquivo",onClick:m$1,children:jsx(a$4,{icon:"DELETE_MARK_BUTTON_02",width:16})})})]})]}),children:[jsx(S,{disabled:s,helperText:l,isError:L}),a?jsx(S,{helperText:a,isError:!0}):null,A?jsx(S,{helperText:A,isError:!0}):null]})},bt=memo(Pt);var Rt=({onRemove:e,onFileSelect:o,createFilesMutation:r,fileDetails:t,id:n,disabled:s,error:a,helperText:l,dropZoneSxProps:p,placeholderProps:c,placeholderAlt:d,uploading:x,tabIndex:I,aspectRatio:v,enableCrop:F=!0,convertToWebp:A=!0,name:M,label:E,cropSize:g,sx:P,maxWidth:R,maxHeight:U,...C})=>{let{filesPreview:u,isUploadOrLoadingFiles:b,uploadErrorText:m,uploadFiles:_}=X({createFilesMutation:r,filesDetails:t?[t]:[]}),[O,L]=useState(!1),{file:w,dropzoneProps:$,cropState:q,handleRemove:ee,aspectRatio:oe}=H({onFileSelect:o,onRemove:e,dropzoneOptions:{accept:{"image/*":[".jpeg",".jpg",".png",".gif",".webp"]},multiple:!1,disabled:s,...C},filesPreview:u,enableCrop:F,customAspectRatio:v,convertToWebp:A,cropSize:g,uploadFiles:_}),{getRootProps:ae,getInputProps:pe,isDragActive:de,isDragReject:me}=$,{cropModalOpen:ce,imagePreview:N,cropLoading:V,onCropInitialized:K,handleCropSave:re,handleCropCancel:B}=q,i=useCallback(()=>{ee(w||void 0);},[w,ee]),W=!!w,G=me||!!a||!!m,f=x||b,h=W?{opacity:0}:{opacity:1},D=p?.width;return useEffect(()=>{W||L(!1);},[W]),jsxs(ye,{sx:{...P,...D&&{width:D}},children:[(f||O)&&jsx(a$7,{}),jsxs(ne,{id:n,uploading:f,disabled:s,dropZoneSxProps:p,tabIndex:I,getRootProps:ae,getInputProps:pe,isDragActive:de,isError:G,name:M,dropZoneContent:jsxs(Fragment,{children:[d?jsx(ge,{sx:h,children:d}):jsx(se,{sx:h,header:c?.title,description:c?.description}),W&&jsx(Ze,{file:w,cropSize:g,isLoading:O,isUploading:f,onLoading:L,aspectRatio:oe,maxWidth:R,maxHeight:U})]}),children:[jsx(S,{disabled:s,helperText:l,isError:G}),a?jsx(S,{helperText:a,isError:!0}):null,m?jsx(S,{helperText:m,isError:!0}):null,W&&e&&jsx(no,{size:"small",onClick:i,disabled:s,label:"Remover arquivo",children:jsx(a$4,{icon:"DELETE_MARK_BUTTON_02",width:16})}),jsx(a$6,{open:ce,onClose:B,label:E??"Ajustar Imagem",imageSrc:N,aspectRatio:oe,onInitialized:K,onSave:re,loading:V,cropSize:g})]})]})},_t=memo(Rt);var Mt=({onRemove:e,onFileSelect:o,createFilesMutation:r,fileDetails:t,disabled:n,label:s,id:a,tabIndex:l,error:p,helperText:c,sx:d,name:x,maxSize:I,uploading:v,aspectRatio:F=1,enableCrop:A=!0,convertToWebp:M=!0,cropSize:E,...g})=>{let[P,R]=useState(!1),{filesPreview:U,isUploadOrLoadingFiles:C,uploadErrorText:u,uploadFiles:b}=X({createFilesMutation:r,filesDetails:t?[t]:[]}),{file:m,dropzoneProps:_,cropState:O,handleRemove:L}=H({filesPreview:U,onFileSelect:o,onRemove:e,dropzoneOptions:{accept:{"image/*":[".jpeg",".jpg",".png",".gif",".webp"]},multiple:!1,disabled:n,maxSize:I,...g},enableCrop:A,customAspectRatio:F,convertToWebp:M,cropSize:E,uploadFiles:b}),{getRootProps:w,getInputProps:$,isDragActive:q,isDragReject:ee}=_,{cropModalOpen:oe,imagePreview:ae,cropLoading:pe,onCropInitialized:de,handleCropSave:me,handleCropCancel:ce}=O,N=ee||!!p||!!u,V=P||C||v,K=!!e,re=useRef(t?.url||""),B=useRef();useEffect(()=>{if(!m){re.current="",B.current=void 0;return}if(B.current===m.id)return;B.current=m.id,R(!0);let G=URL.createObjectURL(m);return re.current=G,()=>{URL.revokeObjectURL(G);}},[m]);let i=()=>{R(!1);},W=useCallback(()=>K&&m?()=>L(m):w().onClick,[K,m,w,L]);return jsxs(Fragment,{children:[jsxs(ge,{sx:{alignItems:"center"},children:[jsxs(uo,{sx:d,isError:N,isDragActive:q,hasFile:!!m,...w(),onClick:W(),children:[jsxs(co,{children:[V&&jsx(go,{children:jsx(Lt,{size:135,thickness:2,color:"primary"})}),m&&jsx(fo,{alt:"Avatar Preview",src:re.current,onLoad:i,...V&&{sx:{filter:"blur(5px) !important",scale:1.2,opacity:.7}}}),!m&&!V&&jsxs(je,{isError:N,hasFile:!1,children:[jsx(a$4,{icon:"ADD_IMAGE",width:32}),jsx(qe,{variant:"caption",textAlign:"center",sx:{color:N?"error.main":"text.disabled"},children:"Adicionar foto"})]}),m&&!V&&jsxs(je,{isError:N,hasFile:!0,children:[jsx(a$4,{icon:K?"DELETE_MARK_BUTTON_02":"ADD_IMAGE",width:32}),jsx(qe,{variant:"caption",textAlign:"center",sx:{color:N?"error.main":"common.white"},children:K?"Remover foto":"Alterar foto"})]})]}),jsx("input",{name:x,id:a,tabIndex:l,...$()})]}),jsx(ge,{sx:{alignItems:"center",mt:-.5},children:jsx(S,{helperText:c,disabled:n,isError:N})}),u?jsx(S,{helperText:u,isError:!0}):null,p?jsx(S,{helperText:p,isError:!0}):null]}),oe&&ae&&jsx(a$6,{open:oe,onClose:ce,label:s??"Ajustar Imagem",imageSrc:ae,aspectRatio:F,onInitialized:de,onSave:me,loading:pe,cropSize:E,cropShape:"round"})]})},Ct=memo(Mt);var Bt=({error:e,name:o,disabled:r,sx:t,...n})=>{let{getRootProps:s,getInputProps:a,isDragActive:l,isDragReject:p}=useDropzone({disabled:r,...n}),c=p||e;return jsxs(so,{...s(),isDragActive:l,hasError:!!c,disabled:!!r,sx:t,"data-testid":"upload-box",children:[jsx("input",{name:o,...a()}),"Selecionar arquivo"]})},Wt=memo(Bt);
37
37
 
38
- export { $e as ContentType, ke as FileContentType, Pe as FileThumbnail, _ as HelperText, Fe as MultiFilePreview, it as MultipleFileUpload, ct as MultipleImageUpload, Ze as SingleFilePreview, Pt as SingleFileUpload, Rt as SingleImageUpload, Mt as UploadAvatar, Bt as UploadSimpleBox, Ro as convertToWebP, He as fileFormat, qi as fileNameByUrl, Do as fileThumb, Ce as fileThumbnailClasses, wo as fileTypeByUrl, aa as isImageFile, X as useDropzoneUploader, q as useFileUploadService };
38
+ export { Xe as ContentType, ke as FileContentType, Pe as FileThumbnail, S as HelperText, Ae as MultiFilePreview, at as MultipleFileUpload, gt as MultipleImageUpload, Ze as SingleFilePreview, bt as SingleFileUpload, _t as SingleImageUpload, Ct as UploadAvatar, Wt as UploadSimpleBox, Ro as convertToWebP, He as fileFormat, Vi as fileNameByUrl, Do as fileThumb, Ce as fileThumbnailClasses, wo as fileTypeByUrl, _o as getFileNameFromContentDisposition, na as isImageFile, H as useDropzoneUploader, X as useFileUploadService };
@@ -1,7 +1,7 @@
1
1
  import { a } from '../../chunk-CFD2VTQ3.js';
2
2
  import { a as a$1 } from '../../chunk-26GV7WKC.js';
3
- import { a as a$2 } from '../../chunk-CPYSURDN.js';
4
- import '../../chunk-SCLJVYKM.js';
3
+ import { a as a$2 } from '../../chunk-YRQGL6TR.js';
4
+ import '../../chunk-YTFGIQHB.js';
5
5
  import H from '@mui/material/IconButton';
6
6
  import r from '@mui/material/Stack';
7
7
  import d from '@mui/material/Typography';
@@ -1,3 +1,3 @@
1
- export { a as default } from '../../chunk-6X6FSO7N.js';
2
- import '../../chunk-CPYSURDN.js';
3
- import '../../chunk-SCLJVYKM.js';
1
+ export { a as default } from '../../chunk-3S5SGWRS.js';
2
+ import '../../chunk-YRQGL6TR.js';
3
+ import '../../chunk-YTFGIQHB.js';
@@ -1,2 +1,2 @@
1
- export { a as default } from '../../chunk-CPYSURDN.js';
2
- import '../../chunk-SCLJVYKM.js';
1
+ export { a as default } from '../../chunk-YRQGL6TR.js';
2
+ import '../../chunk-YTFGIQHB.js';
@@ -1,3 +1,3 @@
1
- export { a as default } from '../../chunk-5OEO64FI.js';
2
- import '../../chunk-CPYSURDN.js';
3
- import '../../chunk-SCLJVYKM.js';
1
+ export { a as default } from '../../chunk-TZTQU4RZ.js';
2
+ import '../../chunk-YRQGL6TR.js';
3
+ import '../../chunk-YTFGIQHB.js';
@@ -1,5 +1,5 @@
1
- export { a as default } from '../../chunk-GAM26ZZE.js';
1
+ export { a as default } from '../../chunk-RPE2GB7J.js';
2
2
  import '../../chunk-T7I256S6.js';
3
- import '../../chunk-RF3KO472.js';
4
- import '../../chunk-CPYSURDN.js';
5
- import '../../chunk-SCLJVYKM.js';
3
+ import '../../chunk-PVFZ7PBA.js';
4
+ import '../../chunk-YRQGL6TR.js';
5
+ import '../../chunk-YTFGIQHB.js';
@@ -1,5 +1,5 @@
1
- export { a as default } from '../../chunk-G6LNPTHX.js';
1
+ export { a as default } from '../../chunk-77NPRDOB.js';
2
2
  import '../../chunk-2FXXN6VA.js';
3
3
  import '../../chunk-ANAHA3L6.js';
4
- import '../../chunk-CPYSURDN.js';
5
- import '../../chunk-SCLJVYKM.js';
4
+ import '../../chunk-YRQGL6TR.js';
5
+ import '../../chunk-YTFGIQHB.js';
@@ -1,6 +1,6 @@
1
1
  import { a } from '../../chunk-2FXBVVBD.js';
2
- import { a as a$1 } from '../../chunk-CPYSURDN.js';
3
- import '../../chunk-SCLJVYKM.js';
2
+ import { a as a$1 } from '../../chunk-YRQGL6TR.js';
3
+ import '../../chunk-YTFGIQHB.js';
4
4
  import { jsx } from 'react/jsx-runtime';
5
5
 
6
6
  var f=({text:i,icon:l="INFO_CIRCLE",width:p,color:c="text.secondary",...e})=>jsx(a,{title:i,...e,children:jsx(a$1,{icon:l,width:p,color:c})}),m=f;
@@ -1,9 +1,9 @@
1
1
  import { a as a$2 } from '../../chunk-Q7HPO5OB.js';
2
2
  import { a as a$1 } from '../../chunk-TWGGHTU5.js';
3
- import { o, a, f, k as k$1 } from '../../chunk-EBVGO3XU.js';
3
+ import { o, a, f, k as k$1 } from '../../chunk-H4V45IZF.js';
4
4
  import '../../chunk-D27ND54J.js';
5
- import '../../chunk-CPYSURDN.js';
6
- import '../../chunk-SCLJVYKM.js';
5
+ import '../../chunk-YRQGL6TR.js';
6
+ import '../../chunk-YTFGIQHB.js';
7
7
  import { Fragment } from 'react';
8
8
  import k from '@mui/material/Stack';
9
9
  import { styled } from '@mui/material/styles';
@@ -1,5 +1,5 @@
1
- import { a } from '../../chunk-CPYSURDN.js';
2
- import '../../chunk-SCLJVYKM.js';
1
+ import { a } from '../../chunk-YRQGL6TR.js';
2
+ import '../../chunk-YTFGIQHB.js';
3
3
  import c from '@mui/material/CircularProgress';
4
4
  import d from '@mui/material/MenuItem';
5
5
  import p from '@mui/material/Stack';
@@ -1,3 +1,3 @@
1
- export { a as default } from '../../chunk-RF3KO472.js';
2
- import '../../chunk-CPYSURDN.js';
3
- import '../../chunk-SCLJVYKM.js';
1
+ export { a as default } from '../../chunk-PVFZ7PBA.js';
2
+ import '../../chunk-YRQGL6TR.js';
3
+ import '../../chunk-YTFGIQHB.js';
@@ -1,6 +1,6 @@
1
1
  import { a as a$3 } from '../../chunk-HOMGLSVS.js';
2
- import { a as a$2 } from '../../chunk-CPYSURDN.js';
3
- import '../../chunk-SCLJVYKM.js';
2
+ import { a as a$2 } from '../../chunk-YRQGL6TR.js';
3
+ import '../../chunk-YTFGIQHB.js';
4
4
  import { a } from '../../chunk-ORYAES3Q.js';
5
5
  import f from '@mui/material/IconButton';
6
6
  import M from '@mui/material/Stack';
@@ -1,6 +1,6 @@
1
1
  import { d } from '../../chunk-KOELUX3V.js';
2
- import { a as a$1 } from '../../chunk-CPYSURDN.js';
3
- import '../../chunk-SCLJVYKM.js';
2
+ import { a as a$1 } from '../../chunk-YRQGL6TR.js';
3
+ import '../../chunk-YTFGIQHB.js';
4
4
  import a from '@mui/material/Typography';
5
5
  import i from '@mui/material/Stack';
6
6
  import { styled, alpha } from '@mui/material/styles';
@@ -1,6 +1,6 @@
1
1
  import { a as a$3 } from '../../chunk-HOMGLSVS.js';
2
- import { a as a$1 } from '../../chunk-CPYSURDN.js';
3
- import '../../chunk-SCLJVYKM.js';
2
+ import { a as a$1 } from '../../chunk-YRQGL6TR.js';
3
+ import '../../chunk-YTFGIQHB.js';
4
4
  import { a as a$2 } from '../../chunk-ORYAES3Q.js';
5
5
  import S from '@mui/material/MenuItem';
6
6
  import a from '@mui/material/Box';
@@ -1,3 +1,3 @@
1
- export { a as default } from '../../chunk-7VNJC7M4.js';
2
- import '../../chunk-CPYSURDN.js';
3
- import '../../chunk-SCLJVYKM.js';
1
+ export { a as default } from '../../chunk-KZKIZOY3.js';
2
+ import '../../chunk-YRQGL6TR.js';
3
+ import '../../chunk-YTFGIQHB.js';
@@ -1,8 +1,8 @@
1
- export { a as default } from '../../chunk-4NTDQ5M4.js';
1
+ export { a as default } from '../../chunk-HO4XDY7B.js';
2
2
  import '../../chunk-4ZBE3RNR.js';
3
- import '../../chunk-7VNJC7M4.js';
3
+ import '../../chunk-KZKIZOY3.js';
4
4
  import '../../chunk-TWGGHTU5.js';
5
5
  import '../../chunk-U26IUEAG.js';
6
6
  import '../../chunk-26GV7WKC.js';
7
- import '../../chunk-CPYSURDN.js';
8
- import '../../chunk-SCLJVYKM.js';
7
+ import '../../chunk-YRQGL6TR.js';
8
+ import '../../chunk-YTFGIQHB.js';